Documentation ¶
Index ¶
- Variables
- type Book
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetBook() *Book
- func (x *Message) GetMessageId() string
- func (x *Message) GetName() string
- func (x *Message) GetPageSize() int32
- func (x *Message) GetPageToken() string
- func (x *Message) GetSubMessage() *SubMessage
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type SubMessage
- func (*SubMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SubMessage) GetAddress() string
- func (x *SubMessage) GetSubSubMessage() *SubSubMessage
- func (*SubMessage) ProtoMessage()
- func (x *SubMessage) ProtoReflect() protoreflect.Message
- func (x *SubMessage) Reset()
- func (x *SubMessage) String() string
- type SubSubMessage
- func (*SubSubMessage) Descriptor() ([]byte, []int)deprecated
- func (x *SubSubMessage) GetText() string
- func (x *SubSubMessage) GetTitle() string
- func (*SubSubMessage) ProtoMessage()
- func (x *SubSubMessage) ProtoReflect() protoreflect.Message
- func (x *SubSubMessage) Reset()
- func (x *SubSubMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_tests_demo_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Book ¶
type Book struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Book) Descriptor
deprecated
func (*Book) ProtoMessage ¶
func (*Book) ProtoMessage()
func (*Book) ProtoReflect ¶
func (x *Book) ProtoReflect() protoreflect.Message
type Message ¶
type Message struct { MessageId string `protobuf:"bytes,1,opt,name=message_id,json=messageId,proto3" json:"message_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` SubMessage *SubMessage `protobuf:"bytes,5,opt,name=sub_message,json=subMessage,proto3" json:"sub_message,omitempty"` Book *Book `protobuf:"bytes,7,opt,name=book,proto3" json:"book,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetMessageId ¶
func (*Message) GetPageSize ¶
func (*Message) GetPageToken ¶
func (*Message) GetSubMessage ¶
func (x *Message) GetSubMessage() *SubMessage
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type SubMessage ¶
type SubMessage struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` SubSubMessage *SubSubMessage `protobuf:"bytes,2,opt,name=sub_sub_message,json=subSubMessage,proto3" json:"sub_sub_message,omitempty"` // contains filtered or unexported fields }
func (*SubMessage) Descriptor
deprecated
func (*SubMessage) Descriptor() ([]byte, []int)
Deprecated: Use SubMessage.ProtoReflect.Descriptor instead.
func (*SubMessage) GetAddress ¶
func (x *SubMessage) GetAddress() string
func (*SubMessage) GetSubSubMessage ¶
func (x *SubMessage) GetSubSubMessage() *SubSubMessage
func (*SubMessage) ProtoMessage ¶
func (*SubMessage) ProtoMessage()
func (*SubMessage) ProtoReflect ¶
func (x *SubMessage) ProtoReflect() protoreflect.Message
func (*SubMessage) Reset ¶
func (x *SubMessage) Reset()
func (*SubMessage) String ¶
func (x *SubMessage) String() string
type SubSubMessage ¶
type SubSubMessage struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*SubSubMessage) Descriptor
deprecated
func (*SubSubMessage) Descriptor() ([]byte, []int)
Deprecated: Use SubSubMessage.ProtoReflect.Descriptor instead.
func (*SubSubMessage) GetText ¶
func (x *SubSubMessage) GetText() string
func (*SubSubMessage) GetTitle ¶
func (x *SubSubMessage) GetTitle() string
func (*SubSubMessage) ProtoMessage ¶
func (*SubSubMessage) ProtoMessage()
func (*SubSubMessage) ProtoReflect ¶
func (x *SubSubMessage) ProtoReflect() protoreflect.Message
func (*SubSubMessage) Reset ¶
func (x *SubSubMessage) Reset()
func (*SubSubMessage) String ¶
func (x *SubSubMessage) String() string
Click to show internal directories.
Click to hide internal directories.