Documentation ¶
Index ¶
- Variables
- type Book
- func (*Book) Descriptor() ([]byte, []int)deprecated
- func (x *Book) GetBookAuthor() string
- func (x *Book) GetBookID() string
- func (x *Book) GetBookIsbn() string
- func (x *Book) GetBookPublishDate() string
- func (x *Book) GetBookTitle() string
- func (*Book) ProtoMessage()
- func (x *Book) ProtoReflect() protoreflect.Message
- func (x *Book) Reset()
- func (x *Book) String() string
- type Books
- func (*Books) Descriptor() ([]byte, []int)deprecated
- func (x *Books) GetOperation() Stacking
- func (x *Books) GetPublish() *Book
- func (x *Books) GetResult() Results
- func (*Books) ProtoMessage()
- func (x *Books) ProtoReflect() protoreflect.Message
- func (x *Books) Reset()
- func (x *Books) String() string
- type EmptyRequest
- type Results
- type StackedBook
- type Stacking
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Stacking_name = map[int32]string{ 0: "Up", 1: "Down", 2: "On", } Stacking_value = map[string]int32{ "Up": 0, "Down": 1, "On": 2, } )
Enum value maps for Stacking.
View Source
var ( Results_name = map[int32]string{ 0: "Ok", 1: "Err", } Results_value = map[string]int32{ "Ok": 0, "Err": 1, } )
Enum value maps for Results.
View Source
var File_serialization_encode_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct { BookID string `protobuf:"bytes,1,opt,name=bookID,proto3" json:"bookID,omitempty"` BookTitle string `protobuf:"bytes,2,opt,name=bookTitle,proto3" json:"bookTitle,omitempty"` BookIsbn string `protobuf:"bytes,3,opt,name=bookIsbn,proto3" json:"bookIsbn,omitempty"` BookAuthor string `protobuf:"bytes,4,opt,name=bookAuthor,proto3" json:"bookAuthor,omitempty"` BookPublishDate string `protobuf:"bytes,5,opt,name=bookPublishDate,proto3" json:"bookPublishDate,omitempty"` // contains filtered or unexported fields }
func (*Book) Descriptor
deprecated
func (*Book) GetBookAuthor ¶
func (*Book) GetBookIsbn ¶
func (*Book) GetBookPublishDate ¶
func (*Book) GetBookTitle ¶
func (*Book) ProtoMessage ¶
func (*Book) ProtoMessage()
func (*Book) ProtoReflect ¶
func (x *Book) ProtoReflect() protoreflect.Message
type Books ¶
type Books struct { Publish *Book `protobuf:"bytes,1,opt,name=publish,proto3" json:"publish,omitempty"` Result Results `protobuf:"varint,2,opt,name=result,proto3,enum=serialization.Results" json:"result,omitempty"` Operation Stacking `protobuf:"varint,3,opt,name=Operation,proto3,enum=serialization.Stacking" json:"Operation,omitempty"` // contains filtered or unexported fields }
func (*Books) Descriptor
deprecated
func (*Books) GetOperation ¶
func (*Books) GetPublish ¶
func (*Books) ProtoMessage ¶
func (*Books) ProtoMessage()
func (*Books) ProtoReflect ¶
func (x *Books) ProtoReflect() protoreflect.Message
type EmptyRequest ¶
type EmptyRequest struct {
// contains filtered or unexported fields
}
func (*EmptyRequest) Descriptor
deprecated
func (*EmptyRequest) Descriptor() ([]byte, []int)
Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
func (*EmptyRequest) ProtoMessage ¶
func (*EmptyRequest) ProtoMessage()
func (*EmptyRequest) ProtoReflect ¶
func (x *EmptyRequest) ProtoReflect() protoreflect.Message
func (*EmptyRequest) Reset ¶
func (x *EmptyRequest) Reset()
func (*EmptyRequest) String ¶
func (x *EmptyRequest) String() string
type Results ¶
type Results int32
func (Results) Descriptor ¶
func (Results) Descriptor() protoreflect.EnumDescriptor
func (Results) EnumDescriptor
deprecated
func (Results) Number ¶
func (x Results) Number() protoreflect.EnumNumber
func (Results) Type ¶
func (Results) Type() protoreflect.EnumType
type StackedBook ¶
type StackedBook struct { Stackedover *Book `protobuf:"bytes,1,opt,name=stackedover,proto3" json:"stackedover,omitempty"` // contains filtered or unexported fields }
func (*StackedBook) Descriptor
deprecated
func (*StackedBook) Descriptor() ([]byte, []int)
Deprecated: Use StackedBook.ProtoReflect.Descriptor instead.
func (*StackedBook) GetStackedover ¶
func (x *StackedBook) GetStackedover() *Book
func (*StackedBook) ProtoMessage ¶
func (*StackedBook) ProtoMessage()
func (*StackedBook) ProtoReflect ¶
func (x *StackedBook) ProtoReflect() protoreflect.Message
func (*StackedBook) Reset ¶
func (x *StackedBook) Reset()
func (*StackedBook) String ¶
func (x *StackedBook) String() string
type Stacking ¶
type Stacking int32
func (Stacking) Descriptor ¶
func (Stacking) Descriptor() protoreflect.EnumDescriptor
func (Stacking) EnumDescriptor
deprecated
func (Stacking) Number ¶
func (x Stacking) Number() protoreflect.EnumNumber
func (Stacking) Type ¶
func (Stacking) Type() protoreflect.EnumType
Click to show internal directories.
Click to hide internal directories.