Documentation ¶
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetBoolField() bool
- func (x *Message) GetBoolOneofField() bool
- func (x *Message) GetBytesField() []byte
- func (x *Message) GetFixed32Field() uint32
- func (x *Message) GetFixed32OneofField() uint32
- func (x *Message) GetFixed64Field() uint64
- func (x *Message) GetFixed64OneofField() uint64
- func (x *Message) GetInt32Field() int32
- func (x *Message) GetInt32OneofField() int32
- func (x *Message) GetInt64Field() int64
- func (x *Message) GetInt64OneofField() int64
- func (x *Message) GetMapBoolBytesField() map[bool][]byte
- func (x *Message) GetMapBoolMessageField() map[bool]*Message
- func (x *Message) GetMapBoolStringField() map[bool]string
- func (x *Message) GetMapFixed32BytesField() map[uint32][]byte
- func (x *Message) GetMapFixed32MessageField() map[uint32]*Message
- func (x *Message) GetMapFixed32StringField() map[uint32]string
- func (x *Message) GetMapFixed64BytesField() map[uint64][]byte
- func (x *Message) GetMapFixed64MessageField() map[uint64]*Message
- func (x *Message) GetMapFixed64StringField() map[uint64]string
- func (x *Message) GetMapInt32BytesField() map[int32][]byte
- func (x *Message) GetMapInt32MessageField() map[int32]*Message
- func (x *Message) GetMapInt32StringField() map[int32]string
- func (x *Message) GetMapInt64BytesField() map[int64][]byte
- func (x *Message) GetMapInt64MessageField() map[int64]*Message
- func (x *Message) GetMapInt64StringField() map[int64]string
- func (x *Message) GetMapSint32BytesField() map[int32][]byte
- func (x *Message) GetMapSint32MessageField() map[int32]*Message
- func (x *Message) GetMapSint32StringField() map[int32]string
- func (x *Message) GetMapSint64BytesField() map[int64][]byte
- func (x *Message) GetMapSint64MessageField() map[int64]*Message
- func (x *Message) GetMapSint64StringField() map[int64]string
- func (x *Message) GetMapStringBytesField() map[string][]byte
- func (x *Message) GetMapStringMessageField() map[string]*Message
- func (x *Message) GetMapStringStringField() map[string]string
- func (x *Message) GetMapUint32BytesField() map[uint32][]byte
- func (x *Message) GetMapUint32MessageField() map[uint32]*Message
- func (x *Message) GetMapUint32StringField() map[uint32]string
- func (x *Message) GetMapUint64BytesField() map[uint64][]byte
- func (x *Message) GetMapUint64MessageField() map[uint64]*Message
- func (x *Message) GetMapUint64StringField() map[uint64]string
- func (x *Message) GetMessageField() *Message
- func (x *Message) GetMessageOneofField() *Message
- func (m *Message) GetOneofField() isMessage_OneofField
- func (x *Message) GetRepeatedBoolField() []bool
- func (x *Message) GetRepeatedBytesField() [][]byte
- func (x *Message) GetRepeatedFixed32Field() []uint32
- func (x *Message) GetRepeatedFixed64Field() []uint64
- func (x *Message) GetRepeatedInt32Field() []int32
- func (x *Message) GetRepeatedInt64Field() []int64
- func (x *Message) GetRepeatedMessageField() []*Message
- func (x *Message) GetRepeatedSint32Field() []int32
- func (x *Message) GetRepeatedSint64Field() []int64
- func (x *Message) GetRepeatedStringField() []string
- func (x *Message) GetRepeatedUint32Field() []uint32
- func (x *Message) GetRepeatedUint64Field() []uint64
- func (x *Message) GetSint32Field() int32
- func (x *Message) GetSint32OneofField() int32
- func (x *Message) GetSint64Field() int64
- func (x *Message) GetSint64OneofField() int64
- func (x *Message) GetStringField() string
- func (x *Message) GetStringOneofField() string
- func (x *Message) GetUint32Field() uint32
- func (x *Message) GetUint32OneofField() uint32
- func (x *Message) GetUint64Field() uint64
- func (x *Message) GetUint64OneofField() uint64
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Message_BoolOneofField
- type Message_Fixed32OneofField
- type Message_Fixed64OneofField
- type Message_Int32OneofField
- type Message_Int64OneofField
- type Message_MessageOneofField
- type Message_Sint32OneofField
- type Message_Sint64OneofField
- type Message_StringOneofField
- type Message_Uint32OneofField
- type Message_Uint64OneofField
Constants ¶
This section is empty.
Variables ¶
View Source
var File_internal_testpb_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { BoolField bool `protobuf:"varint,1,opt,name=bool_field,json=boolField,proto3" json:"bool_field,omitempty"` StringField string `protobuf:"bytes,2,opt,name=string_field,json=stringField,proto3" json:"string_field,omitempty"` Int32Field int32 `protobuf:"varint,3,opt,name=int32_field,json=int32Field,proto3" json:"int32_field,omitempty"` Int64Field int64 `protobuf:"varint,4,opt,name=int64_field,json=int64Field,proto3" json:"int64_field,omitempty"` Sint32Field int32 `protobuf:"zigzag32,5,opt,name=sint32_field,json=sint32Field,proto3" json:"sint32_field,omitempty"` Sint64Field int64 `protobuf:"zigzag64,6,opt,name=sint64_field,json=sint64Field,proto3" json:"sint64_field,omitempty"` Uint32Field uint32 `protobuf:"varint,7,opt,name=uint32_field,json=uint32Field,proto3" json:"uint32_field,omitempty"` Uint64Field uint64 `protobuf:"varint,8,opt,name=uint64_field,json=uint64Field,proto3" json:"uint64_field,omitempty"` Fixed32Field uint32 `protobuf:"fixed32,9,opt,name=fixed32_field,json=fixed32Field,proto3" json:"fixed32_field,omitempty"` Fixed64Field uint64 `protobuf:"fixed64,10,opt,name=fixed64_field,json=fixed64Field,proto3" json:"fixed64_field,omitempty"` MessageField *Message `protobuf:"bytes,11,opt,name=message_field,json=messageField,proto3" json:"message_field,omitempty"` BytesField []byte `protobuf:"bytes,12,opt,name=bytes_field,json=bytesField,proto3" json:"bytes_field,omitempty"` // Types that are assignable to OneofField: // // *Message_BoolOneofField // *Message_StringOneofField // *Message_Int32OneofField // *Message_Int64OneofField // *Message_Sint32OneofField // *Message_Sint64OneofField // *Message_Uint32OneofField // *Message_Uint64OneofField // *Message_Fixed32OneofField // *Message_Fixed64OneofField // *Message_MessageOneofField OneofField isMessage_OneofField `protobuf_oneof:"oneof_field"` RepeatedBoolField []bool `protobuf:"varint,201,rep,packed,name=repeated_bool_field,json=repeatedBoolField,proto3" json:"repeated_bool_field,omitempty"` RepeatedStringField []string `protobuf:"bytes,202,rep,name=repeated_string_field,json=repeatedStringField,proto3" json:"repeated_string_field,omitempty"` RepeatedInt32Field []int32 `` /* 127-byte string literal not displayed */ RepeatedInt64Field []int64 `` /* 127-byte string literal not displayed */ RepeatedSint32Field []int32 `` /* 132-byte string literal not displayed */ RepeatedSint64Field []int64 `` /* 132-byte string literal not displayed */ RepeatedUint32Field []uint32 `` /* 130-byte string literal not displayed */ RepeatedUint64Field []uint64 `` /* 130-byte string literal not displayed */ RepeatedFixed32Field []uint32 `` /* 134-byte string literal not displayed */ RepeatedFixed64Field []uint64 `` /* 134-byte string literal not displayed */ RepeatedMessageField []*Message `protobuf:"bytes,211,rep,name=repeated_message_field,json=repeatedMessageField,proto3" json:"repeated_message_field,omitempty"` RepeatedBytesField [][]byte `protobuf:"bytes,212,rep,name=repeated_bytes_field,json=repeatedBytesField,proto3" json:"repeated_bytes_field,omitempty"` MapBoolStringField map[bool]string `` /* 210-byte string literal not displayed */ MapStringStringField map[string]string `` /* 215-byte string literal not displayed */ MapInt32StringField map[int32]string `` /* 213-byte string literal not displayed */ MapInt64StringField map[int64]string `` /* 213-byte string literal not displayed */ MapSint32StringField map[int32]string `` /* 218-byte string literal not displayed */ MapSint64StringField map[int64]string `` /* 218-byte string literal not displayed */ MapUint32StringField map[uint32]string `` /* 216-byte string literal not displayed */ MapUint64StringField map[uint64]string `` /* 216-byte string literal not displayed */ MapFixed32StringField map[uint32]string `` /* 220-byte string literal not displayed */ MapFixed64StringField map[uint64]string `` /* 220-byte string literal not displayed */ MapBoolBytesField map[bool][]byte `` /* 207-byte string literal not displayed */ MapStringBytesField map[string][]byte `` /* 212-byte string literal not displayed */ MapInt32BytesField map[int32][]byte `` /* 210-byte string literal not displayed */ MapInt64BytesField map[int64][]byte `` /* 210-byte string literal not displayed */ MapSint32BytesField map[int32][]byte `` /* 215-byte string literal not displayed */ MapSint64BytesField map[int64][]byte `` /* 215-byte string literal not displayed */ MapUint32BytesField map[uint32][]byte `` /* 213-byte string literal not displayed */ MapUint64BytesField map[uint64][]byte `` /* 213-byte string literal not displayed */ MapFixed32BytesField map[uint32][]byte `` /* 217-byte string literal not displayed */ MapFixed64BytesField map[uint64][]byte `` /* 217-byte string literal not displayed */ MapBoolMessageField map[bool]*Message `` /* 213-byte string literal not displayed */ MapStringMessageField map[string]*Message `` /* 218-byte string literal not displayed */ MapInt32MessageField map[int32]*Message `` /* 216-byte string literal not displayed */ MapInt64MessageField map[int64]*Message `` /* 216-byte string literal not displayed */ MapSint32MessageField map[int32]*Message `` /* 221-byte string literal not displayed */ MapSint64MessageField map[int64]*Message `` /* 221-byte string literal not displayed */ MapUint32MessageField map[uint32]*Message `` /* 219-byte string literal not displayed */ MapUint64MessageField map[uint64]*Message `` /* 219-byte string literal not displayed */ MapFixed32MessageField map[uint32]*Message `` /* 223-byte string literal not displayed */ MapFixed64MessageField map[uint64]*Message `` /* 223-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetBoolField ¶
func (*Message) GetBoolOneofField ¶
func (*Message) GetBytesField ¶
func (*Message) GetFixed32Field ¶
func (*Message) GetFixed32OneofField ¶
func (*Message) GetFixed64Field ¶
func (*Message) GetFixed64OneofField ¶
func (*Message) GetInt32Field ¶
func (*Message) GetInt32OneofField ¶
func (*Message) GetInt64Field ¶
func (*Message) GetInt64OneofField ¶
func (*Message) GetMapBoolBytesField ¶
func (*Message) GetMapBoolMessageField ¶
func (*Message) GetMapBoolStringField ¶
func (*Message) GetMapFixed32BytesField ¶
func (*Message) GetMapFixed32MessageField ¶
func (*Message) GetMapFixed32StringField ¶
func (*Message) GetMapFixed64BytesField ¶
func (*Message) GetMapFixed64MessageField ¶
func (*Message) GetMapFixed64StringField ¶
func (*Message) GetMapInt32BytesField ¶
func (*Message) GetMapInt32MessageField ¶
func (*Message) GetMapInt32StringField ¶
func (*Message) GetMapInt64BytesField ¶
func (*Message) GetMapInt64MessageField ¶
func (*Message) GetMapInt64StringField ¶
func (*Message) GetMapSint32BytesField ¶
func (*Message) GetMapSint32MessageField ¶
func (*Message) GetMapSint32StringField ¶
func (*Message) GetMapSint64BytesField ¶
func (*Message) GetMapSint64MessageField ¶
func (*Message) GetMapSint64StringField ¶
func (*Message) GetMapStringBytesField ¶
func (*Message) GetMapStringMessageField ¶
func (*Message) GetMapStringStringField ¶
func (*Message) GetMapUint32BytesField ¶
func (*Message) GetMapUint32MessageField ¶
func (*Message) GetMapUint32StringField ¶
func (*Message) GetMapUint64BytesField ¶
func (*Message) GetMapUint64MessageField ¶
func (*Message) GetMapUint64StringField ¶
func (*Message) GetMessageField ¶
func (*Message) GetMessageOneofField ¶
func (*Message) GetOneofField ¶
func (m *Message) GetOneofField() isMessage_OneofField
func (*Message) GetRepeatedBoolField ¶
func (*Message) GetRepeatedBytesField ¶
func (*Message) GetRepeatedFixed32Field ¶
func (*Message) GetRepeatedFixed64Field ¶
func (*Message) GetRepeatedInt32Field ¶
func (*Message) GetRepeatedInt64Field ¶
func (*Message) GetRepeatedMessageField ¶
func (*Message) GetRepeatedSint32Field ¶
func (*Message) GetRepeatedSint64Field ¶
func (*Message) GetRepeatedStringField ¶
func (*Message) GetRepeatedUint32Field ¶
func (*Message) GetRepeatedUint64Field ¶
func (*Message) GetSint32Field ¶
func (*Message) GetSint32OneofField ¶
func (*Message) GetSint64Field ¶
func (*Message) GetSint64OneofField ¶
func (*Message) GetStringField ¶
func (*Message) GetStringOneofField ¶
func (*Message) GetUint32Field ¶
func (*Message) GetUint32OneofField ¶
func (*Message) GetUint64Field ¶
func (*Message) GetUint64OneofField ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Message_BoolOneofField ¶
type Message_BoolOneofField struct {
BoolOneofField bool `protobuf:"varint,101,opt,name=bool_oneof_field,json=boolOneofField,proto3,oneof"`
}
type Message_Fixed32OneofField ¶
type Message_Fixed32OneofField struct {
Fixed32OneofField uint32 `protobuf:"fixed32,109,opt,name=fixed32_oneof_field,json=fixed32OneofField,proto3,oneof"`
}
type Message_Fixed64OneofField ¶
type Message_Fixed64OneofField struct {
Fixed64OneofField uint64 `protobuf:"fixed64,110,opt,name=fixed64_oneof_field,json=fixed64OneofField,proto3,oneof"`
}
type Message_Int32OneofField ¶
type Message_Int32OneofField struct {
Int32OneofField int32 `protobuf:"varint,103,opt,name=int32_oneof_field,json=int32OneofField,proto3,oneof"`
}
type Message_Int64OneofField ¶
type Message_Int64OneofField struct {
Int64OneofField int64 `protobuf:"varint,104,opt,name=int64_oneof_field,json=int64OneofField,proto3,oneof"`
}
type Message_MessageOneofField ¶
type Message_MessageOneofField struct {
MessageOneofField *Message `protobuf:"bytes,111,opt,name=message_oneof_field,json=messageOneofField,proto3,oneof"`
}
type Message_Sint32OneofField ¶
type Message_Sint32OneofField struct {
Sint32OneofField int32 `protobuf:"zigzag32,105,opt,name=sint32_oneof_field,json=sint32OneofField,proto3,oneof"`
}
type Message_Sint64OneofField ¶
type Message_Sint64OneofField struct {
Sint64OneofField int64 `protobuf:"zigzag64,106,opt,name=sint64_oneof_field,json=sint64OneofField,proto3,oneof"`
}
type Message_StringOneofField ¶
type Message_StringOneofField struct {
StringOneofField string `protobuf:"bytes,102,opt,name=string_oneof_field,json=stringOneofField,proto3,oneof"`
}
type Message_Uint32OneofField ¶
type Message_Uint32OneofField struct {
Uint32OneofField uint32 `protobuf:"varint,107,opt,name=uint32_oneof_field,json=uint32OneofField,proto3,oneof"`
}
type Message_Uint64OneofField ¶
type Message_Uint64OneofField struct {
Uint64OneofField uint64 `protobuf:"varint,108,opt,name=uint64_oneof_field,json=uint64OneofField,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.