Documentation ¶
Index ¶
- Variables
- type Book
- type CreateBookRequest
- func (*CreateBookRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateBookRequest) GetBook() *Book
- func (x *CreateBookRequest) GetParent() string
- func (*CreateBookRequest) ProtoMessage()
- func (x *CreateBookRequest) ProtoReflect() protoreflect.Message
- func (x *CreateBookRequest) Reset()
- func (x *CreateBookRequest) String() string
- type GetBookRequest
Constants ¶
This section is empty.
Variables ¶
View Source
var File_any_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct { // Resource name of the book. It must have the format of "shelves/*/books/*". // For example: "shelves/shelf1/books/book2". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Age *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=age,proto3" json:"age,omitempty"` // ... other properties // contains filtered or unexported fields }
func (*Book) Descriptor
deprecated
func (*Book) GetAge ¶
func (x *Book) GetAge() *wrapperspb.Int64Value
func (*Book) ProtoMessage ¶
func (*Book) ProtoMessage()
func (*Book) ProtoReflect ¶
func (x *Book) ProtoReflect() protoreflect.Message
type CreateBookRequest ¶
type CreateBookRequest struct { // Resource name of the parent resource where to create the book. // For example: "shelves/shelf1". Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // The Book resource to be created. Client must not set the `Book.name` field. Book *Book `protobuf:"bytes,2,opt,name=book,proto3" json:"book,omitempty"` // contains filtered or unexported fields }
func (*CreateBookRequest) Descriptor
deprecated
func (*CreateBookRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateBookRequest.ProtoReflect.Descriptor instead.
func (*CreateBookRequest) GetBook ¶
func (x *CreateBookRequest) GetBook() *Book
func (*CreateBookRequest) GetParent ¶
func (x *CreateBookRequest) GetParent() string
func (*CreateBookRequest) ProtoMessage ¶
func (*CreateBookRequest) ProtoMessage()
func (*CreateBookRequest) ProtoReflect ¶
func (x *CreateBookRequest) ProtoReflect() protoreflect.Message
func (*CreateBookRequest) Reset ¶
func (x *CreateBookRequest) Reset()
func (*CreateBookRequest) String ¶
func (x *CreateBookRequest) String() string
type GetBookRequest ¶
type GetBookRequest struct { // Resource name of a book. For example: "shelves/shelf1/books/book2". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetBookRequest) Descriptor
deprecated
func (*GetBookRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBookRequest.ProtoReflect.Descriptor instead.
func (*GetBookRequest) GetName ¶
func (x *GetBookRequest) GetName() string
func (*GetBookRequest) ProtoMessage ¶
func (*GetBookRequest) ProtoMessage()
func (*GetBookRequest) ProtoReflect ¶
func (x *GetBookRequest) ProtoReflect() protoreflect.Message
func (*GetBookRequest) Reset ¶
func (x *GetBookRequest) Reset()
func (*GetBookRequest) String ¶
func (x *GetBookRequest) String() string
Click to show internal directories.
Click to hide internal directories.