Documentation ¶
Index ¶
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetMapBoolBool() map[bool]bool
- func (m *Message) GetMapBoolBytes() map[bool][]byte
- func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum
- func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage
- func (m *Message) GetMapBoolDouble() map[bool]float64
- func (m *Message) GetMapBoolFixed32() map[bool]uint32
- func (m *Message) GetMapBoolFixed64() map[bool]uint64
- func (m *Message) GetMapBoolFloat() map[bool]float32
- func (m *Message) GetMapBoolInt32() map[bool]int32
- func (m *Message) GetMapBoolInt64() map[bool]int64
- func (m *Message) GetMapBoolSfixed32() map[bool]int32
- func (m *Message) GetMapBoolSfixed64() map[bool]int64
- func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum
- func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage
- func (m *Message) GetMapBoolSint32() map[bool]int32
- func (m *Message) GetMapBoolSint64() map[bool]int64
- func (m *Message) GetMapBoolString() map[bool]string
- func (m *Message) GetMapBoolUint32() map[bool]uint32
- func (m *Message) GetMapBoolUint64() map[bool]uint64
- func (m *Message) GetMapFixed32Bool() map[uint32]bool
- func (m *Message) GetMapInt32Bool() map[int32]bool
- func (m *Message) GetMapInt64Bool() map[int64]bool
- func (m *Message) GetMapSint32Bool() map[int32]bool
- func (m *Message) GetMapSint64Bool() map[int64]bool
- func (m *Message) GetMapStringBool() map[string]bool
- func (m *Message) GetMapUint32Bool() map[uint32]bool
- func (m *Message) GetMapUint64Bool() map[uint64]bool
- func (m *Message) GetOneofBool() bool
- func (m *Message) GetOneofBytes() []byte
- func (m *Message) GetOneofChildEnum() Message_ChildEnum
- func (m *Message) GetOneofChildMessage() *Message_ChildMessage
- func (m *Message) GetOneofDouble() float64
- func (m *Message) GetOneofFixed32() uint32
- func (m *Message) GetOneofFixed64() uint64
- func (m *Message) GetOneofFloat() float32
- func (m *Message) GetOneofInt32() int32
- func (m *Message) GetOneofInt64() int64
- func (m *Message) GetOneofSfixed32() int32
- func (m *Message) GetOneofSfixed64() int64
- func (m *Message) GetOneofSiblingEnum() SiblingEnum
- func (m *Message) GetOneofSiblingMessage() *SiblingMessage
- func (m *Message) GetOneofSint32() int32
- func (m *Message) GetOneofSint64() int64
- func (m *Message) GetOneofString() string
- func (m *Message) GetOneofString1() string
- func (m *Message) GetOneofString2() string
- func (m *Message) GetOneofString3() string
- func (m *Message) GetOneofUint32() uint32
- func (m *Message) GetOneofUint64() uint64
- func (m *Message) GetOneofUnion() isMessage_OneofUnion
- func (m *Message) GetOptionalBool() bool
- func (m *Message) GetOptionalBytes() []byte
- func (m *Message) GetOptionalChildEnum() Message_ChildEnum
- func (m *Message) GetOptionalChildMessage() *Message_ChildMessage
- func (m *Message) GetOptionalDouble() float64
- func (m *Message) GetOptionalFixed32() uint32
- func (m *Message) GetOptionalFixed64() uint64
- func (m *Message) GetOptionalFloat() float32
- func (m *Message) GetOptionalInt32() int32
- func (m *Message) GetOptionalInt64() int64
- func (m *Message) GetOptionalSfixed32() int32
- func (m *Message) GetOptionalSfixed64() int64
- func (m *Message) GetOptionalSiblingEnum() SiblingEnum
- func (m *Message) GetOptionalSiblingMessage() *SiblingMessage
- func (m *Message) GetOptionalSint32() int32
- func (m *Message) GetOptionalSint64() int64
- func (m *Message) GetOptionalString() string
- func (m *Message) GetOptionalUint32() uint32
- func (m *Message) GetOptionalUint64() uint64
- func (m *Message) GetRepeatedBool() []bool
- func (m *Message) GetRepeatedBytes() [][]byte
- func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum
- func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage
- func (m *Message) GetRepeatedDouble() []float64
- func (m *Message) GetRepeatedFixed32() []uint32
- func (m *Message) GetRepeatedFixed64() []uint64
- func (m *Message) GetRepeatedFloat() []float32
- func (m *Message) GetRepeatedInt32() []int32
- func (m *Message) GetRepeatedInt64() []int64
- func (m *Message) GetRepeatedSfixed32() []int32
- func (m *Message) GetRepeatedSfixed64() []int64
- func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum
- func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage
- func (m *Message) GetRepeatedSint32() []int32
- func (m *Message) GetRepeatedSint64() []int64
- func (m *Message) GetRepeatedString() []string
- func (m *Message) GetRepeatedUint32() []uint32
- func (m *Message) GetRepeatedUint64() []uint64
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Message) XXX_Merge(src proto.Message)
- func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type Message_ChildEnum
- type Message_ChildMessage
- func (*Message_ChildMessage) Descriptor() ([]byte, []int)
- func (m *Message_ChildMessage) GetF1() string
- func (m *Message_ChildMessage) GetF2() []string
- func (m *Message_ChildMessage) GetF3() *Message
- func (*Message_ChildMessage) ProtoMessage()
- func (m *Message_ChildMessage) Reset()
- func (m *Message_ChildMessage) String() string
- func (m *Message_ChildMessage) XXX_DiscardUnknown()
- func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Message_ChildMessage) XXX_Merge(src proto.Message)
- func (m *Message_ChildMessage) XXX_Size() int
- func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error
- type Message_OneofBool
- type Message_OneofBytes
- type Message_OneofChildEnum
- type Message_OneofChildMessage
- type Message_OneofDouble
- type Message_OneofFixed32
- type Message_OneofFixed64
- type Message_OneofFloat
- type Message_OneofInt32
- type Message_OneofInt64
- type Message_OneofSfixed32
- type Message_OneofSfixed64
- type Message_OneofSiblingEnum
- type Message_OneofSiblingMessage
- type Message_OneofSint32
- type Message_OneofSint64
- type Message_OneofString
- type Message_OneofString1
- type Message_OneofString2
- type Message_OneofString3
- type Message_OneofUint32
- type Message_OneofUint64
- type SiblingEnum
- type SiblingMessage
- func (*SiblingMessage) Descriptor() ([]byte, []int)
- func (m *SiblingMessage) GetF1() string
- func (m *SiblingMessage) GetF2() []string
- func (m *SiblingMessage) GetF3() *Message
- func (*SiblingMessage) ProtoMessage()
- func (m *SiblingMessage) Reset()
- func (m *SiblingMessage) String() string
- func (m *SiblingMessage) XXX_DiscardUnknown()
- func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SiblingMessage) XXX_Merge(src proto.Message)
- func (m *SiblingMessage) XXX_Size() int
- func (m *SiblingMessage) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var Message_ChildEnum_name = map[int32]string{
0: "ALPHA",
1: "BRAVO",
2: "CHARLIE",
}
View Source
var Message_ChildEnum_value = map[string]int32{
"ALPHA": 0,
"BRAVO": 1,
"CHARLIE": 2,
}
View Source
var SiblingEnum_name = map[int32]string{
0: "ALPHA",
10: "BRAVO",
200: "CHARLIE",
}
View Source
var SiblingEnum_value = map[string]int32{
"ALPHA": 0,
"BRAVO": 10,
"CHARLIE": 200,
}
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { // Optional fields. OptionalBool bool `protobuf:"varint,100,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"` OptionalInt32 int32 `protobuf:"varint,101,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"` OptionalSint32 int32 `protobuf:"zigzag32,102,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"` OptionalUint32 uint32 `protobuf:"varint,103,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"` OptionalInt64 int64 `protobuf:"varint,104,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"` OptionalSint64 int64 `protobuf:"zigzag64,105,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"` OptionalUint64 uint64 `protobuf:"varint,106,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"` OptionalFixed32 uint32 `protobuf:"fixed32,107,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"` OptionalSfixed32 int32 `protobuf:"fixed32,108,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"` OptionalFloat float32 `protobuf:"fixed32,109,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"` OptionalFixed64 uint64 `protobuf:"fixed64,110,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"` OptionalSfixed64 int64 `protobuf:"fixed64,111,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"` OptionalDouble float64 `protobuf:"fixed64,112,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"` OptionalString string `protobuf:"bytes,113,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"` OptionalBytes []byte `protobuf:"bytes,114,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"` OptionalChildEnum Message_ChildEnum `` /* 167-byte string literal not displayed */ OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"` OptionalSiblingEnum SiblingEnum `` /* 167-byte string literal not displayed */ OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,118,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"` // Repeated fields. RepeatedBool []bool `protobuf:"varint,200,rep,packed,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"` RepeatedInt32 []int32 `protobuf:"varint,201,rep,packed,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"` RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,packed,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,203,rep,packed,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,204,rep,packed,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"` RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,packed,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"` RepeatedUint64 []uint64 `protobuf:"varint,206,rep,packed,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"` RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,packed,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"` RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"` RepeatedFloat []float32 `protobuf:"fixed32,209,rep,packed,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"` RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,packed,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"` RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"` RepeatedDouble []float64 `protobuf:"fixed64,212,rep,packed,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"` RepeatedString []string `protobuf:"bytes,213,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"` RepeatedBytes [][]byte `protobuf:"bytes,214,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"` RepeatedChildEnum []Message_ChildEnum `` /* 174-byte string literal not displayed */ RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"` RepeatedSiblingEnum []SiblingEnum `` /* 174-byte string literal not displayed */ RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"` // Map fields. MapBoolBool map[bool]bool `` /* 167-byte string literal not displayed */ MapBoolInt32 map[bool]int32 `` /* 170-byte string literal not displayed */ MapBoolSint32 map[bool]int32 `` /* 175-byte string literal not displayed */ MapBoolUint32 map[bool]uint32 `` /* 173-byte string literal not displayed */ MapBoolInt64 map[bool]int64 `` /* 170-byte string literal not displayed */ MapBoolSint64 map[bool]int64 `` /* 175-byte string literal not displayed */ MapBoolUint64 map[bool]uint64 `` /* 173-byte string literal not displayed */ MapBoolFixed32 map[bool]uint32 `` /* 177-byte string literal not displayed */ MapBoolSfixed32 map[bool]int32 `` /* 180-byte string literal not displayed */ MapBoolFloat map[bool]float32 `` /* 171-byte string literal not displayed */ MapBoolFixed64 map[bool]uint64 `` /* 177-byte string literal not displayed */ MapBoolSfixed64 map[bool]int64 `` /* 180-byte string literal not displayed */ MapBoolDouble map[bool]float64 `` /* 174-byte string literal not displayed */ MapBoolString map[bool]string `` /* 172-byte string literal not displayed */ MapBoolBytes map[bool][]byte `` /* 176-byte string literal not displayed */ MapBoolChildEnum map[bool]Message_ChildEnum `` /* 241-byte string literal not displayed */ MapBoolChildMessage map[bool]*Message_ChildMessage `` /* 192-byte string literal not displayed */ MapBoolSiblingEnum map[bool]SiblingEnum `` /* 241-byte string literal not displayed */ MapBoolSiblingMessage map[bool]*SiblingMessage `` /* 198-byte string literal not displayed */ MapInt32Bool map[int32]bool `` /* 170-byte string literal not displayed */ MapSint32Bool map[int32]bool `` /* 175-byte string literal not displayed */ MapUint32Bool map[uint32]bool `` /* 173-byte string literal not displayed */ MapInt64Bool map[int64]bool `` /* 170-byte string literal not displayed */ MapSint64Bool map[int64]bool `` /* 175-byte string literal not displayed */ MapUint64Bool map[uint64]bool `` /* 173-byte string literal not displayed */ MapFixed32Bool map[uint32]bool `` /* 177-byte string literal not displayed */ MapStringBool map[string]bool `` /* 172-byte string literal not displayed */ // Oneof fields. // // Types that are valid to be assigned to OneofUnion: // *Message_OneofBool // *Message_OneofInt32 // *Message_OneofSint32 // *Message_OneofUint32 // *Message_OneofInt64 // *Message_OneofSint64 // *Message_OneofUint64 // *Message_OneofFixed32 // *Message_OneofSfixed32 // *Message_OneofFloat // *Message_OneofFixed64 // *Message_OneofSfixed64 // *Message_OneofDouble // *Message_OneofString // *Message_OneofBytes // *Message_OneofChildEnum // *Message_OneofChildMessage // *Message_OneofSiblingEnum // *Message_OneofSiblingMessage // *Message_OneofString1 // *Message_OneofString2 // *Message_OneofString3 OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Message) Descriptor ¶
func (*Message) GetMapBoolBool ¶
func (*Message) GetMapBoolBytes ¶
func (*Message) GetMapBoolChildEnum ¶
func (m *Message) GetMapBoolChildEnum() map[bool]Message_ChildEnum
func (*Message) GetMapBoolChildMessage ¶
func (m *Message) GetMapBoolChildMessage() map[bool]*Message_ChildMessage
func (*Message) GetMapBoolDouble ¶
func (*Message) GetMapBoolFixed32 ¶
func (*Message) GetMapBoolFixed64 ¶
func (*Message) GetMapBoolFloat ¶
func (*Message) GetMapBoolInt32 ¶
func (*Message) GetMapBoolInt64 ¶
func (*Message) GetMapBoolSfixed32 ¶
func (*Message) GetMapBoolSfixed64 ¶
func (*Message) GetMapBoolSiblingEnum ¶
func (m *Message) GetMapBoolSiblingEnum() map[bool]SiblingEnum
func (*Message) GetMapBoolSiblingMessage ¶
func (m *Message) GetMapBoolSiblingMessage() map[bool]*SiblingMessage
func (*Message) GetMapBoolSint32 ¶
func (*Message) GetMapBoolSint64 ¶
func (*Message) GetMapBoolString ¶
func (*Message) GetMapBoolUint32 ¶
func (*Message) GetMapBoolUint64 ¶
func (*Message) GetMapFixed32Bool ¶
func (*Message) GetMapInt32Bool ¶
func (*Message) GetMapInt64Bool ¶
func (*Message) GetMapSint32Bool ¶
func (*Message) GetMapSint64Bool ¶
func (*Message) GetMapStringBool ¶
func (*Message) GetMapUint32Bool ¶
func (*Message) GetMapUint64Bool ¶
func (*Message) GetOneofBool ¶
func (*Message) GetOneofBytes ¶
func (*Message) GetOneofChildEnum ¶
func (m *Message) GetOneofChildEnum() Message_ChildEnum
func (*Message) GetOneofChildMessage ¶
func (m *Message) GetOneofChildMessage() *Message_ChildMessage
func (*Message) GetOneofDouble ¶
func (*Message) GetOneofFixed32 ¶
func (*Message) GetOneofFixed64 ¶
func (*Message) GetOneofFloat ¶
func (*Message) GetOneofInt32 ¶
func (*Message) GetOneofInt64 ¶
func (*Message) GetOneofSfixed32 ¶
func (*Message) GetOneofSfixed64 ¶
func (*Message) GetOneofSiblingEnum ¶
func (m *Message) GetOneofSiblingEnum() SiblingEnum
func (*Message) GetOneofSiblingMessage ¶
func (m *Message) GetOneofSiblingMessage() *SiblingMessage
func (*Message) GetOneofSint32 ¶
func (*Message) GetOneofSint64 ¶
func (*Message) GetOneofString ¶
func (*Message) GetOneofString1 ¶
func (*Message) GetOneofString2 ¶
func (*Message) GetOneofString3 ¶
func (*Message) GetOneofUint32 ¶
func (*Message) GetOneofUint64 ¶
func (*Message) GetOneofUnion ¶
func (m *Message) GetOneofUnion() isMessage_OneofUnion
func (*Message) GetOptionalBool ¶
func (*Message) GetOptionalBytes ¶
func (*Message) GetOptionalChildEnum ¶
func (m *Message) GetOptionalChildEnum() Message_ChildEnum
func (*Message) GetOptionalChildMessage ¶
func (m *Message) GetOptionalChildMessage() *Message_ChildMessage
func (*Message) GetOptionalDouble ¶
func (*Message) GetOptionalFixed32 ¶
func (*Message) GetOptionalFixed64 ¶
func (*Message) GetOptionalFloat ¶
func (*Message) GetOptionalInt32 ¶
func (*Message) GetOptionalInt64 ¶
func (*Message) GetOptionalSfixed32 ¶
func (*Message) GetOptionalSfixed64 ¶
func (*Message) GetOptionalSiblingEnum ¶
func (m *Message) GetOptionalSiblingEnum() SiblingEnum
func (*Message) GetOptionalSiblingMessage ¶
func (m *Message) GetOptionalSiblingMessage() *SiblingMessage
func (*Message) GetOptionalSint32 ¶
func (*Message) GetOptionalSint64 ¶
func (*Message) GetOptionalString ¶
func (*Message) GetOptionalUint32 ¶
func (*Message) GetOptionalUint64 ¶
func (*Message) GetRepeatedBool ¶
func (*Message) GetRepeatedBytes ¶
func (*Message) GetRepeatedChildEnum ¶
func (m *Message) GetRepeatedChildEnum() []Message_ChildEnum
func (*Message) GetRepeatedChildMessage ¶
func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage
func (*Message) GetRepeatedDouble ¶
func (*Message) GetRepeatedFixed32 ¶
func (*Message) GetRepeatedFixed64 ¶
func (*Message) GetRepeatedFloat ¶
func (*Message) GetRepeatedInt32 ¶
func (*Message) GetRepeatedInt64 ¶
func (*Message) GetRepeatedSfixed32 ¶
func (*Message) GetRepeatedSfixed64 ¶
func (*Message) GetRepeatedSiblingEnum ¶
func (m *Message) GetRepeatedSiblingEnum() []SiblingEnum
func (*Message) GetRepeatedSiblingMessage ¶
func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage
func (*Message) GetRepeatedSint32 ¶
func (*Message) GetRepeatedSint64 ¶
func (*Message) GetRepeatedString ¶
func (*Message) GetRepeatedUint32 ¶
func (*Message) GetRepeatedUint64 ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_OneofFuncs ¶
func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Message) XXX_Unmarshal ¶
type Message_ChildEnum ¶
type Message_ChildEnum int32
const ( Message_ALPHA Message_ChildEnum = 0 Message_BRAVO Message_ChildEnum = 1 Message_CHARLIE Message_ChildEnum = 2 )
func (Message_ChildEnum) EnumDescriptor ¶
func (Message_ChildEnum) EnumDescriptor() ([]byte, []int)
func (Message_ChildEnum) String ¶
func (x Message_ChildEnum) String() string
type Message_ChildMessage ¶
type Message_ChildMessage struct { F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"` F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"` F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Message_ChildMessage) Descriptor ¶
func (*Message_ChildMessage) Descriptor() ([]byte, []int)
func (*Message_ChildMessage) GetF1 ¶
func (m *Message_ChildMessage) GetF1() string
func (*Message_ChildMessage) GetF2 ¶
func (m *Message_ChildMessage) GetF2() []string
func (*Message_ChildMessage) GetF3 ¶
func (m *Message_ChildMessage) GetF3() *Message
func (*Message_ChildMessage) ProtoMessage ¶
func (*Message_ChildMessage) ProtoMessage()
func (*Message_ChildMessage) Reset ¶
func (m *Message_ChildMessage) Reset()
func (*Message_ChildMessage) String ¶
func (m *Message_ChildMessage) String() string
func (*Message_ChildMessage) XXX_DiscardUnknown ¶
func (m *Message_ChildMessage) XXX_DiscardUnknown()
func (*Message_ChildMessage) XXX_Marshal ¶
func (m *Message_ChildMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Message_ChildMessage) XXX_Merge ¶
func (dst *Message_ChildMessage) XXX_Merge(src proto.Message)
func (*Message_ChildMessage) XXX_Size ¶
func (m *Message_ChildMessage) XXX_Size() int
func (*Message_ChildMessage) XXX_Unmarshal ¶
func (m *Message_ChildMessage) XXX_Unmarshal(b []byte) error
type Message_OneofBool ¶
type Message_OneofBool struct {
OneofBool bool `protobuf:"varint,400,opt,name=oneof_bool,json=oneofBool,oneof"`
}
type Message_OneofBytes ¶
type Message_OneofBytes struct {
OneofBytes []byte `protobuf:"bytes,414,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
}
type Message_OneofChildEnum ¶
type Message_OneofChildEnum struct {
OneofChildEnum Message_ChildEnum `` /* 130-byte string literal not displayed */
}
type Message_OneofChildMessage ¶
type Message_OneofChildMessage struct {
OneofChildMessage *Message_ChildMessage `protobuf:"bytes,416,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
}
type Message_OneofDouble ¶
type Message_OneofDouble struct {
OneofDouble float64 `protobuf:"fixed64,412,opt,name=oneof_double,json=oneofDouble,oneof"`
}
type Message_OneofFixed32 ¶
type Message_OneofFixed32 struct {
OneofFixed32 uint32 `protobuf:"fixed32,407,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
}
type Message_OneofFixed64 ¶
type Message_OneofFixed64 struct {
OneofFixed64 uint64 `protobuf:"fixed64,410,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
}
type Message_OneofFloat ¶
type Message_OneofFloat struct {
OneofFloat float32 `protobuf:"fixed32,409,opt,name=oneof_float,json=oneofFloat,oneof"`
}
type Message_OneofInt32 ¶
type Message_OneofInt32 struct {
OneofInt32 int32 `protobuf:"varint,401,opt,name=oneof_int32,json=oneofInt32,oneof"`
}
type Message_OneofInt64 ¶
type Message_OneofInt64 struct {
OneofInt64 int64 `protobuf:"varint,404,opt,name=oneof_int64,json=oneofInt64,oneof"`
}
type Message_OneofSfixed32 ¶
type Message_OneofSfixed32 struct {
OneofSfixed32 int32 `protobuf:"fixed32,408,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
}
type Message_OneofSfixed64 ¶
type Message_OneofSfixed64 struct {
OneofSfixed64 int64 `protobuf:"fixed64,411,opt,name=oneof_sfixed64,json=oneofSfixed64,oneof"`
}
type Message_OneofSiblingEnum ¶
type Message_OneofSiblingEnum struct {
OneofSiblingEnum SiblingEnum `` /* 128-byte string literal not displayed */
}
type Message_OneofSiblingMessage ¶
type Message_OneofSiblingMessage struct {
OneofSiblingMessage *SiblingMessage `protobuf:"bytes,418,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
}
type Message_OneofSint32 ¶
type Message_OneofSint32 struct {
OneofSint32 int32 `protobuf:"zigzag32,402,opt,name=oneof_sint32,json=oneofSint32,oneof"`
}
type Message_OneofSint64 ¶
type Message_OneofSint64 struct {
OneofSint64 int64 `protobuf:"zigzag64,405,opt,name=oneof_sint64,json=oneofSint64,oneof"`
}
type Message_OneofString ¶
type Message_OneofString struct {
OneofString string `protobuf:"bytes,413,opt,name=oneof_string,json=oneofString,oneof"`
}
type Message_OneofString1 ¶
type Message_OneofString1 struct {
OneofString1 string `protobuf:"bytes,419,opt,name=oneof_string1,json=oneofString1,oneof"`
}
type Message_OneofString2 ¶
type Message_OneofString2 struct {
OneofString2 string `protobuf:"bytes,420,opt,name=oneof_string2,json=oneofString2,oneof"`
}
type Message_OneofString3 ¶
type Message_OneofString3 struct {
OneofString3 string `protobuf:"bytes,421,opt,name=oneof_string3,json=oneofString3,oneof"`
}
type Message_OneofUint32 ¶
type Message_OneofUint32 struct {
OneofUint32 uint32 `protobuf:"varint,403,opt,name=oneof_uint32,json=oneofUint32,oneof"`
}
type Message_OneofUint64 ¶
type Message_OneofUint64 struct {
OneofUint64 uint64 `protobuf:"varint,406,opt,name=oneof_uint64,json=oneofUint64,oneof"`
}
type SiblingEnum ¶
type SiblingEnum int32
const ( SiblingEnum_ALPHA SiblingEnum = 0 SiblingEnum_BRAVO SiblingEnum = 10 SiblingEnum_CHARLIE SiblingEnum = 200 )
func (SiblingEnum) EnumDescriptor ¶
func (SiblingEnum) EnumDescriptor() ([]byte, []int)
func (SiblingEnum) String ¶
func (x SiblingEnum) String() string
type SiblingMessage ¶
type SiblingMessage struct { F1 string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"` F2 []string `protobuf:"bytes,2,rep,name=f2" json:"f2,omitempty"` F3 *Message `protobuf:"bytes,3,opt,name=f3" json:"f3,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SiblingMessage) Descriptor ¶
func (*SiblingMessage) Descriptor() ([]byte, []int)
func (*SiblingMessage) GetF1 ¶
func (m *SiblingMessage) GetF1() string
func (*SiblingMessage) GetF2 ¶
func (m *SiblingMessage) GetF2() []string
func (*SiblingMessage) GetF3 ¶
func (m *SiblingMessage) GetF3() *Message
func (*SiblingMessage) ProtoMessage ¶
func (*SiblingMessage) ProtoMessage()
func (*SiblingMessage) Reset ¶
func (m *SiblingMessage) Reset()
func (*SiblingMessage) String ¶
func (m *SiblingMessage) String() string
func (*SiblingMessage) XXX_DiscardUnknown ¶
func (m *SiblingMessage) XXX_DiscardUnknown()
func (*SiblingMessage) XXX_Marshal ¶
func (m *SiblingMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SiblingMessage) XXX_Merge ¶
func (dst *SiblingMessage) XXX_Merge(src proto.Message)
func (*SiblingMessage) XXX_Size ¶
func (m *SiblingMessage) XXX_Size() int
func (*SiblingMessage) XXX_Unmarshal ¶
func (m *SiblingMessage) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.