package proto3_20160225_2fc053c5
import "google.golang.org/protobuf/internal/testprotos/legacy/proto3_20160225_2fc053c5"
Package proto3_20160225_2fc053c5 is a generated protocol buffer package.
It is generated from these files:
proto3_20160225_2fc053c5/test.proto
It has these top-level messages:
SiblingMessage Message
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) GetOptionalChildMessage() *Message_ChildMessage
- func (m *Message) GetOptionalSiblingMessage() *SiblingMessage
- func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage
- func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- 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{})
- type Message_ChildEnum
- func (Message_ChildEnum) EnumDescriptor() ([]byte, []int)
- func (x Message_ChildEnum) String() string
- type Message_ChildMessage
- func (*Message_ChildMessage) Descriptor() ([]byte, []int)
- func (m *Message_ChildMessage) GetF3() *Message
- func (*Message_ChildMessage) ProtoMessage()
- func (m *Message_ChildMessage) Reset()
- func (m *Message_ChildMessage) String() string
- 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
Variables ¶
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 `protobuf:"varint,115,opt,name=optional_child_enum,json=optionalChildEnum,enum=google.golang.org.proto3_20160225.Message_ChildEnum" json:"optional_child_enum,omitempty"` OptionalChildMessage *Message_ChildMessage `protobuf:"bytes,116,opt,name=optional_child_message,json=optionalChildMessage" json:"optional_child_message,omitempty"` OptionalSiblingEnum SiblingEnum `protobuf:"varint,117,opt,name=optional_sibling_enum,json=optionalSiblingEnum,enum=google.golang.org.proto3_20160225.SiblingEnum" json:"optional_sibling_enum,omitempty"` 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,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"` RepeatedInt32 []int32 `protobuf:"varint,201,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"` RepeatedSint32 []int32 `protobuf:"zigzag32,202,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,203,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,204,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"` RepeatedSint64 []int64 `protobuf:"zigzag64,205,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"` RepeatedUint64 []uint64 `protobuf:"varint,206,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"` RepeatedFixed32 []uint32 `protobuf:"fixed32,207,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"` RepeatedSfixed32 []int32 `protobuf:"fixed32,208,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"` RepeatedFloat []float32 `protobuf:"fixed32,209,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"` RepeatedFixed64 []uint64 `protobuf:"fixed64,210,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"` RepeatedSfixed64 []int64 `protobuf:"fixed64,211,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"` RepeatedDouble []float64 `protobuf:"fixed64,212,rep,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 `protobuf:"varint,215,rep,name=repeated_child_enum,json=repeatedChildEnum,enum=google.golang.org.proto3_20160225.Message_ChildEnum" json:"repeated_child_enum,omitempty"` RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,216,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"` RepeatedSiblingEnum []SiblingEnum `protobuf:"varint,217,rep,name=repeated_sibling_enum,json=repeatedSiblingEnum,enum=google.golang.org.proto3_20160225.SiblingEnum" json:"repeated_sibling_enum,omitempty"` RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,218,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"` // Map fields. MapBoolBool map[bool]bool `protobuf:"bytes,300,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapBoolInt32 map[bool]int32 `protobuf:"bytes,301,rep,name=map_bool_int32,json=mapBoolInt32" json:"map_bool_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapBoolSint32 map[bool]int32 `protobuf:"bytes,302,rep,name=map_bool_sint32,json=mapBoolSint32" json:"map_bool_sint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"` MapBoolUint32 map[bool]uint32 `protobuf:"bytes,303,rep,name=map_bool_uint32,json=mapBoolUint32" json:"map_bool_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapBoolInt64 map[bool]int64 `protobuf:"bytes,304,rep,name=map_bool_int64,json=mapBoolInt64" json:"map_bool_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapBoolSint64 map[bool]int64 `protobuf:"bytes,305,rep,name=map_bool_sint64,json=mapBoolSint64" json:"map_bool_sint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"` MapBoolUint64 map[bool]uint64 `protobuf:"bytes,306,rep,name=map_bool_uint64,json=mapBoolUint64" json:"map_bool_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapBoolFixed32 map[bool]uint32 `protobuf:"bytes,307,rep,name=map_bool_fixed32,json=mapBoolFixed32" json:"map_bool_fixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` MapBoolSfixed32 map[bool]int32 `protobuf:"bytes,308,rep,name=map_bool_sfixed32,json=mapBoolSfixed32" json:"map_bool_sfixed32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` MapBoolFloat map[bool]float32 `protobuf:"bytes,309,rep,name=map_bool_float,json=mapBoolFloat" json:"map_bool_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"` MapBoolFixed64 map[bool]uint64 `protobuf:"bytes,310,rep,name=map_bool_fixed64,json=mapBoolFixed64" json:"map_bool_fixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` MapBoolSfixed64 map[bool]int64 `protobuf:"bytes,311,rep,name=map_bool_sfixed64,json=mapBoolSfixed64" json:"map_bool_sfixed64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` MapBoolDouble map[bool]float64 `protobuf:"bytes,312,rep,name=map_bool_double,json=mapBoolDouble" json:"map_bool_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"` MapBoolString map[bool]string `protobuf:"bytes,313,rep,name=map_bool_string,json=mapBoolString" json:"map_bool_string,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` MapBoolBytes map[bool][]byte `protobuf:"bytes,314,rep,name=map_bool_bytes,json=mapBoolBytes" json:"map_bool_bytes,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value,proto3"` MapBoolChildEnum map[bool]Message_ChildEnum `protobuf:"bytes,315,rep,name=map_bool_child_enum,json=mapBoolChildEnum" json:"map_bool_child_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20160225.Message_ChildEnum"` MapBoolChildMessage map[bool]*Message_ChildMessage `protobuf:"bytes,316,rep,name=map_bool_child_message,json=mapBoolChildMessage" json:"map_bool_child_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` MapBoolSiblingEnum map[bool]SiblingEnum `protobuf:"bytes,317,rep,name=map_bool_sibling_enum,json=mapBoolSiblingEnum" json:"map_bool_sibling_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=google.golang.org.proto3_20160225.SiblingEnum"` MapBoolSiblingMessage map[bool]*SiblingMessage `protobuf:"bytes,318,rep,name=map_bool_sibling_message,json=mapBoolSiblingMessage" json:"map_bool_sibling_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` MapInt32Bool map[int32]bool `protobuf:"bytes,319,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapSint32Bool map[int32]bool `protobuf:"bytes,320,rep,name=map_sint32_bool,json=mapSint32Bool" json:"map_sint32_bool,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapUint32Bool map[uint32]bool `protobuf:"bytes,321,rep,name=map_uint32_bool,json=mapUint32Bool" json:"map_uint32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapInt64Bool map[int64]bool `protobuf:"bytes,322,rep,name=map_int64_bool,json=mapInt64Bool" json:"map_int64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapSint64Bool map[int64]bool `protobuf:"bytes,323,rep,name=map_sint64_bool,json=mapSint64Bool" json:"map_sint64_bool,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapUint64Bool map[uint64]bool `protobuf:"bytes,324,rep,name=map_uint64_bool,json=mapUint64Bool" json:"map_uint64_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapFixed32Bool map[uint32]bool `protobuf:"bytes,325,rep,name=map_fixed32_bool,json=mapFixed32Bool" json:"map_fixed32_bool,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` MapStringBool map[string]bool `protobuf:"bytes,326,rep,name=map_string_bool,json=mapStringBool" json:"map_string_bool,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` // 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"` }
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) GetOptionalChildMessage ¶
func (m *Message) GetOptionalChildMessage() *Message_ChildMessage
func (*Message) GetOptionalSiblingMessage ¶
func (m *Message) GetOptionalSiblingMessage() *SiblingMessage
func (*Message) GetRepeatedChildMessage ¶
func (m *Message) GetRepeatedChildMessage() []*Message_ChildMessage
func (*Message) GetRepeatedSiblingMessage ¶
func (m *Message) GetRepeatedSiblingMessage() []*SiblingMessage
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) Reset ¶
func (m *Message) Reset()
func (*Message) String ¶
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.
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"` }
func (*Message_ChildMessage) Descriptor ¶
func (*Message_ChildMessage) Descriptor() ([]byte, []int)
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
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 `protobuf:"varint,415,opt,name=oneof_child_enum,json=oneofChildEnum,enum=google.golang.org.proto3_20160225.Message_ChildEnum,oneof"` }
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 `protobuf:"varint,417,opt,name=oneof_sibling_enum,json=oneofSiblingEnum,enum=google.golang.org.proto3_20160225.SiblingEnum,oneof"` }
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"` }
func (*SiblingMessage) Descriptor ¶
func (*SiblingMessage) Descriptor() ([]byte, []int)
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
Source Files ¶
test.pb.go
- Version
- v1.36.5 (latest)
- Published
- Feb 6, 2025
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 10 hours ago –
Tools for package owners.