Documentation ¶
Index ¶
- Variables
- type BasicMessage
- func (*BasicMessage) Descriptor() ([]byte, []int)deprecated
- func (x *BasicMessage) GetFixed64() uint64
- func (x *BasicMessage) GetInt64() int64
- func (x *BasicMessage) GetSomeBytes() []byte
- func (x *BasicMessage) GetSomeString() string
- func (x *BasicMessage) GetUInt64() uint64
- func (*BasicMessage) ProtoMessage()
- func (x *BasicMessage) ProtoReflect() protoreflect.Message
- func (x *BasicMessage) Reset()
- func (x *BasicMessage) String() string
- type BasicMessageRep
- type MessageComplexFields
- func (*MessageComplexFields) Descriptor() ([]byte, []int)deprecated
- func (x *MessageComplexFields) GetMapToMsg() map[string]*BasicMessage
- func (x *MessageComplexFields) GetMapToMsgs() map[string]*BasicMessageRep
- func (x *MessageComplexFields) GetPrimitiveMap() map[string]int64
- func (*MessageComplexFields) ProtoMessage()
- func (x *MessageComplexFields) ProtoReflect() protoreflect.Message
- func (x *MessageComplexFields) Reset()
- func (x *MessageComplexFields) String() string
- type MessageRepeatedFields
- func (*MessageRepeatedFields) Descriptor() ([]byte, []int)deprecated
- func (x *MessageRepeatedFields) GetFixed64() []uint64
- func (x *MessageRepeatedFields) GetInt64() []int64
- func (x *MessageRepeatedFields) GetSomeBytes() [][]byte
- func (x *MessageRepeatedFields) GetSomeString() []string
- func (x *MessageRepeatedFields) GetUInt64() []uint64
- func (*MessageRepeatedFields) ProtoMessage()
- func (x *MessageRepeatedFields) ProtoReflect() protoreflect.Message
- func (x *MessageRepeatedFields) Reset()
- func (x *MessageRepeatedFields) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_messages_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BasicMessage ¶
type BasicMessage struct { Int64 int64 `protobuf:"varint,1,opt,name=int64,proto3" json:"int64,omitempty"` UInt64 uint64 `protobuf:"varint,3,opt,name=u_int64,json=uInt64,proto3" json:"u_int64,omitempty"` Fixed64 uint64 `protobuf:"fixed64,5,opt,name=fixed64,proto3" json:"fixed64,omitempty"` SomeString string `protobuf:"bytes,6,opt,name=some_string,json=someString,proto3" json:"some_string,omitempty"` SomeBytes []byte `protobuf:"bytes,7,opt,name=some_bytes,json=someBytes,proto3" json:"some_bytes,omitempty"` // contains filtered or unexported fields }
func (*BasicMessage) Descriptor
deprecated
func (*BasicMessage) Descriptor() ([]byte, []int)
Deprecated: Use BasicMessage.ProtoReflect.Descriptor instead.
func (*BasicMessage) GetFixed64 ¶
func (x *BasicMessage) GetFixed64() uint64
func (*BasicMessage) GetInt64 ¶
func (x *BasicMessage) GetInt64() int64
func (*BasicMessage) GetSomeBytes ¶
func (x *BasicMessage) GetSomeBytes() []byte
func (*BasicMessage) GetSomeString ¶
func (x *BasicMessage) GetSomeString() string
func (*BasicMessage) GetUInt64 ¶
func (x *BasicMessage) GetUInt64() uint64
func (*BasicMessage) ProtoMessage ¶
func (*BasicMessage) ProtoMessage()
func (*BasicMessage) ProtoReflect ¶
func (x *BasicMessage) ProtoReflect() protoreflect.Message
func (*BasicMessage) Reset ¶
func (x *BasicMessage) Reset()
func (*BasicMessage) String ¶
func (x *BasicMessage) String() string
type BasicMessageRep ¶
type BasicMessageRep struct { BasicMessage []*BasicMessage `protobuf:"bytes,1,rep,name=basic_message,json=basicMessage,proto3" json:"basic_message,omitempty"` // contains filtered or unexported fields }
func (*BasicMessageRep) Descriptor
deprecated
func (*BasicMessageRep) Descriptor() ([]byte, []int)
Deprecated: Use BasicMessageRep.ProtoReflect.Descriptor instead.
func (*BasicMessageRep) GetBasicMessage ¶
func (x *BasicMessageRep) GetBasicMessage() []*BasicMessage
func (*BasicMessageRep) ProtoMessage ¶
func (*BasicMessageRep) ProtoMessage()
func (*BasicMessageRep) ProtoReflect ¶
func (x *BasicMessageRep) ProtoReflect() protoreflect.Message
func (*BasicMessageRep) Reset ¶
func (x *BasicMessageRep) Reset()
func (*BasicMessageRep) String ¶
func (x *BasicMessageRep) String() string
type MessageComplexFields ¶
type MessageComplexFields struct { MapToMsg map[string]*BasicMessage `` /* 157-byte string literal not displayed */ MapToMsgs map[string]*BasicMessageRep `` /* 159-byte string literal not displayed */ PrimitiveMap map[string]int64 `` /* 166-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MessageComplexFields) Descriptor
deprecated
func (*MessageComplexFields) Descriptor() ([]byte, []int)
Deprecated: Use MessageComplexFields.ProtoReflect.Descriptor instead.
func (*MessageComplexFields) GetMapToMsg ¶
func (x *MessageComplexFields) GetMapToMsg() map[string]*BasicMessage
func (*MessageComplexFields) GetMapToMsgs ¶
func (x *MessageComplexFields) GetMapToMsgs() map[string]*BasicMessageRep
func (*MessageComplexFields) GetPrimitiveMap ¶
func (x *MessageComplexFields) GetPrimitiveMap() map[string]int64
func (*MessageComplexFields) ProtoMessage ¶
func (*MessageComplexFields) ProtoMessage()
func (*MessageComplexFields) ProtoReflect ¶
func (x *MessageComplexFields) ProtoReflect() protoreflect.Message
func (*MessageComplexFields) Reset ¶
func (x *MessageComplexFields) Reset()
func (*MessageComplexFields) String ¶
func (x *MessageComplexFields) String() string
type MessageRepeatedFields ¶
type MessageRepeatedFields struct { Int64 []int64 `protobuf:"varint,1,rep,packed,name=int64,proto3" json:"int64,omitempty"` UInt64 []uint64 `protobuf:"varint,3,rep,packed,name=u_int64,json=uInt64,proto3" json:"u_int64,omitempty"` Fixed64 []uint64 `protobuf:"fixed64,5,rep,packed,name=fixed64,proto3" json:"fixed64,omitempty"` SomeString []string `protobuf:"bytes,6,rep,name=some_string,json=someString,proto3" json:"some_string,omitempty"` SomeBytes [][]byte `protobuf:"bytes,7,rep,name=some_bytes,json=someBytes,proto3" json:"some_bytes,omitempty"` // contains filtered or unexported fields }
func (*MessageRepeatedFields) Descriptor
deprecated
func (*MessageRepeatedFields) Descriptor() ([]byte, []int)
Deprecated: Use MessageRepeatedFields.ProtoReflect.Descriptor instead.
func (*MessageRepeatedFields) GetFixed64 ¶
func (x *MessageRepeatedFields) GetFixed64() []uint64
func (*MessageRepeatedFields) GetInt64 ¶
func (x *MessageRepeatedFields) GetInt64() []int64
func (*MessageRepeatedFields) GetSomeBytes ¶
func (x *MessageRepeatedFields) GetSomeBytes() [][]byte
func (*MessageRepeatedFields) GetSomeString ¶
func (x *MessageRepeatedFields) GetSomeString() []string
func (*MessageRepeatedFields) GetUInt64 ¶
func (x *MessageRepeatedFields) GetUInt64() []uint64
func (*MessageRepeatedFields) ProtoMessage ¶
func (*MessageRepeatedFields) ProtoMessage()
func (*MessageRepeatedFields) ProtoReflect ¶
func (x *MessageRepeatedFields) ProtoReflect() protoreflect.Message
func (*MessageRepeatedFields) Reset ¶
func (x *MessageRepeatedFields) Reset()
func (*MessageRepeatedFields) String ¶
func (x *MessageRepeatedFields) String() string
Click to show internal directories.
Click to hide internal directories.