Documentation ¶
Overview ¶
Package github_com_golang_protobuf_v2_internal_testprotos_legacy_proto2_v0_0_0_20160225_2fc053c5 is a generated protocol buffer package.
It is generated from these files:
proto2.v0.0.0-20160225-2fc053c5/test.proto
It has these top-level messages:
SiblingMessage Message
Index ¶
- Constants
- Variables
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) ExtensionMap() map[int32]proto.Extension
- func (*Message) ExtensionRangeArray() []proto.ExtensionRange
- func (m *Message) GetDefaultedBool() bool
- func (m *Message) GetDefaultedBytes() []byte
- func (m *Message) GetDefaultedChildEnum() Message_ChildEnum
- func (m *Message) GetDefaultedDouble() float64
- func (m *Message) GetDefaultedFixed32() uint32
- func (m *Message) GetDefaultedFixed64() uint64
- func (m *Message) GetDefaultedFloat() float32
- func (m *Message) GetDefaultedInt32() int32
- func (m *Message) GetDefaultedInt64() int64
- func (m *Message) GetDefaultedSfixed32() int32
- func (m *Message) GetDefaultedSfixed64() int64
- func (m *Message) GetDefaultedSiblingEnum() SiblingEnum
- func (m *Message) GetDefaultedSint32() int32
- func (m *Message) GetDefaultedSint64() int64
- func (m *Message) GetDefaultedString() string
- func (m *Message) GetDefaultedUint32() uint32
- func (m *Message) GetDefaultedUint64() uint64
- 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) GetMapBoolNamedGroup() map[bool]*Message_NamedGroup
- 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) GetNamedgroup() *Message_NamedGroup
- 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) GetOneofDefaultedBool() bool
- func (m *Message) GetOneofDefaultedBytes() []byte
- func (m *Message) GetOneofDefaultedChildEnum() Message_ChildEnum
- func (m *Message) GetOneofDefaultedDouble() float64
- func (m *Message) GetOneofDefaultedFixed32() uint32
- func (m *Message) GetOneofDefaultedFixed64() uint64
- func (m *Message) GetOneofDefaultedFloat() float32
- func (m *Message) GetOneofDefaultedInt32() int32
- func (m *Message) GetOneofDefaultedInt64() int64
- func (m *Message) GetOneofDefaultedSfixed32() int32
- func (m *Message) GetOneofDefaultedSfixed64() int64
- func (m *Message) GetOneofDefaultedSiblingEnum() SiblingEnum
- func (m *Message) GetOneofDefaultedSint32() int32
- func (m *Message) GetOneofDefaultedSint64() int64
- func (m *Message) GetOneofDefaultedString() string
- func (m *Message) GetOneofDefaultedUint32() uint32
- func (m *Message) GetOneofDefaultedUint64() uint64
- func (m *Message) GetOneofDefaultedUnion() isMessage_OneofDefaultedUnion
- 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) GetOneofNamedGroup() *Message_NamedGroup
- 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) GetOneofgroup() *Message_OneofGroup
- 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) GetOptionalNamedGroup() *Message_NamedGroup
- 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) GetOptionalgroup() *Message_OptionalGroup
- 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) GetRepeatedNamedGroup() []*Message_NamedGroup
- 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 (m *Message) GetRepeatedgroup() []*Message_RepeatedGroup
- func (m *Message) GetRequiredBool() bool
- func (m *Message) GetRequiredBytes() []byte
- func (m *Message) GetRequiredChildEnum() Message_ChildEnum
- func (m *Message) GetRequiredChildMessage() *Message_ChildMessage
- func (m *Message) GetRequiredDefaultedBool() bool
- func (m *Message) GetRequiredDefaultedBytes() []byte
- func (m *Message) GetRequiredDefaultedChildEnum() Message_ChildEnum
- func (m *Message) GetRequiredDefaultedDouble() float64
- func (m *Message) GetRequiredDefaultedFixed32() uint32
- func (m *Message) GetRequiredDefaultedFixed64() uint64
- func (m *Message) GetRequiredDefaultedFloat() float32
- func (m *Message) GetRequiredDefaultedInt32() int32
- func (m *Message) GetRequiredDefaultedInt64() int64
- func (m *Message) GetRequiredDefaultedSfixed32() int32
- func (m *Message) GetRequiredDefaultedSfixed64() int64
- func (m *Message) GetRequiredDefaultedSiblingEnum() SiblingEnum
- func (m *Message) GetRequiredDefaultedSint32() int32
- func (m *Message) GetRequiredDefaultedSint64() int64
- func (m *Message) GetRequiredDefaultedString() string
- func (m *Message) GetRequiredDefaultedUint32() uint32
- func (m *Message) GetRequiredDefaultedUint64() uint64
- func (m *Message) GetRequiredDouble() float64
- func (m *Message) GetRequiredFixed32() uint32
- func (m *Message) GetRequiredFixed64() uint64
- func (m *Message) GetRequiredFloat() float32
- func (m *Message) GetRequiredInt32() int32
- func (m *Message) GetRequiredInt64() int64
- func (m *Message) GetRequiredNamedGroup() *Message_NamedGroup
- func (m *Message) GetRequiredSfixed32() int32
- func (m *Message) GetRequiredSfixed64() int64
- func (m *Message) GetRequiredSiblingEnum() SiblingEnum
- func (m *Message) GetRequiredSiblingMessage() *SiblingMessage
- func (m *Message) GetRequiredSint32() int32
- func (m *Message) GetRequiredSint64() int64
- func (m *Message) GetRequiredString() string
- func (m *Message) GetRequiredUint32() uint32
- func (m *Message) GetRequiredUint64() uint64
- func (m *Message) GetRequiredgroup() *Message_RequiredGroup
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- func (*Message) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) 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() []string
- func (m *Message_ChildMessage) GetF4() *Message
- func (*Message_ChildMessage) ProtoMessage()
- func (m *Message_ChildMessage) Reset()
- func (m *Message_ChildMessage) String() string
- type Message_ExtensionOptionalGroup
- func (*Message_ExtensionOptionalGroup) Descriptor() ([]byte, []int)
- func (m *Message_ExtensionOptionalGroup) GetF1() string
- func (m *Message_ExtensionOptionalGroup) GetF2() string
- func (m *Message_ExtensionOptionalGroup) GetF3() []string
- func (*Message_ExtensionOptionalGroup) ProtoMessage()
- func (m *Message_ExtensionOptionalGroup) Reset()
- func (m *Message_ExtensionOptionalGroup) String() string
- type Message_ExtensionRepeatedGroup
- func (*Message_ExtensionRepeatedGroup) Descriptor() ([]byte, []int)
- func (m *Message_ExtensionRepeatedGroup) GetF1() string
- func (m *Message_ExtensionRepeatedGroup) GetF2() string
- func (m *Message_ExtensionRepeatedGroup) GetF3() []string
- func (*Message_ExtensionRepeatedGroup) ProtoMessage()
- func (m *Message_ExtensionRepeatedGroup) Reset()
- func (m *Message_ExtensionRepeatedGroup) String() string
- type Message_NamedGroup
- func (*Message_NamedGroup) Descriptor() ([]byte, []int)
- func (m *Message_NamedGroup) GetF1() string
- func (m *Message_NamedGroup) GetF2() string
- func (m *Message_NamedGroup) GetF3() []string
- func (m *Message_NamedGroup) GetF4() *Message
- func (*Message_NamedGroup) ProtoMessage()
- func (m *Message_NamedGroup) Reset()
- func (m *Message_NamedGroup) String() string
- type Message_OneofBool
- type Message_OneofBytes
- type Message_OneofChildEnum
- type Message_OneofChildMessage
- type Message_OneofDefaultedBool
- type Message_OneofDefaultedBytes
- type Message_OneofDefaultedChildEnum
- type Message_OneofDefaultedDouble
- type Message_OneofDefaultedFixed32
- type Message_OneofDefaultedFixed64
- type Message_OneofDefaultedFloat
- type Message_OneofDefaultedInt32
- type Message_OneofDefaultedInt64
- type Message_OneofDefaultedSfixed32
- type Message_OneofDefaultedSfixed64
- type Message_OneofDefaultedSiblingEnum
- type Message_OneofDefaultedSint32
- type Message_OneofDefaultedSint64
- type Message_OneofDefaultedString
- type Message_OneofDefaultedUint32
- type Message_OneofDefaultedUint64
- type Message_OneofDouble
- type Message_OneofFixed32
- type Message_OneofFixed64
- type Message_OneofFloat
- type Message_OneofGroup
- func (*Message_OneofGroup) Descriptor() ([]byte, []int)
- func (m *Message_OneofGroup) GetF1() string
- func (m *Message_OneofGroup) GetF2() string
- func (m *Message_OneofGroup) GetF3() []string
- func (*Message_OneofGroup) ProtoMessage()
- func (m *Message_OneofGroup) Reset()
- func (m *Message_OneofGroup) String() string
- type Message_OneofInt32
- type Message_OneofInt64
- type Message_OneofNamedGroup
- 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 Message_Oneofgroup
- type Message_OptionalGroup
- func (*Message_OptionalGroup) Descriptor() ([]byte, []int)
- func (m *Message_OptionalGroup) GetF1() string
- func (m *Message_OptionalGroup) GetF2() string
- func (m *Message_OptionalGroup) GetF3() []string
- func (*Message_OptionalGroup) ProtoMessage()
- func (m *Message_OptionalGroup) Reset()
- func (m *Message_OptionalGroup) String() string
- type Message_RepeatedGroup
- func (*Message_RepeatedGroup) Descriptor() ([]byte, []int)
- func (m *Message_RepeatedGroup) GetF1() string
- func (m *Message_RepeatedGroup) GetF2() string
- func (m *Message_RepeatedGroup) GetF3() []string
- func (*Message_RepeatedGroup) ProtoMessage()
- func (m *Message_RepeatedGroup) Reset()
- func (m *Message_RepeatedGroup) String() string
- type Message_RequiredGroup
- func (*Message_RequiredGroup) Descriptor() ([]byte, []int)
- func (m *Message_RequiredGroup) GetF1() string
- func (m *Message_RequiredGroup) GetF2() string
- func (m *Message_RequiredGroup) GetF3() []string
- func (*Message_RequiredGroup) ProtoMessage()
- func (m *Message_RequiredGroup) Reset()
- func (m *Message_RequiredGroup) String() string
- type SiblingEnum
- type SiblingMessage
- func (*SiblingMessage) Descriptor() ([]byte, []int)
- func (m *SiblingMessage) GetF1() string
- func (m *SiblingMessage) GetF2() string
- func (m *SiblingMessage) GetF3() []string
- func (m *SiblingMessage) GetF4() *Message
- func (*SiblingMessage) ProtoMessage()
- func (m *SiblingMessage) Reset()
- func (m *SiblingMessage) String() string
Constants ¶
View Source
const Default_Message_DefaultedBool bool = true
View Source
const Default_Message_DefaultedDouble float64 = 3.14159265359
View Source
const Default_Message_DefaultedFixed32 uint32 = 320000
View Source
const Default_Message_DefaultedFixed64 uint64 = 640000
View Source
const Default_Message_DefaultedFloat float32 = 3.14159
View Source
const Default_Message_DefaultedInt32 int32 = -12345
View Source
const Default_Message_DefaultedInt64 int64 = -123456789
View Source
const Default_Message_DefaultedSfixed32 int32 = -320000
View Source
const Default_Message_DefaultedSfixed64 int64 = -640000
View Source
const Default_Message_DefaultedSint32 int32 = -3200
View Source
const Default_Message_DefaultedSint64 int64 = -6400
View Source
const Default_Message_DefaultedString string = "hello, \"world!\"\n"
View Source
const Default_Message_DefaultedUint32 uint32 = 3200
View Source
const Default_Message_DefaultedUint64 uint64 = 6400
View Source
const Default_Message_OneofDefaultedBool bool = true
View Source
const Default_Message_OneofDefaultedDouble float64 = 3.14159265359
View Source
const Default_Message_OneofDefaultedFixed32 uint32 = 320000
View Source
const Default_Message_OneofDefaultedFixed64 uint64 = 640000
View Source
const Default_Message_OneofDefaultedFloat float32 = 3.14159
View Source
const Default_Message_OneofDefaultedInt32 int32 = -12345
View Source
const Default_Message_OneofDefaultedInt64 int64 = -123456789
View Source
const Default_Message_OneofDefaultedSfixed32 int32 = -320000
View Source
const Default_Message_OneofDefaultedSfixed64 int64 = -640000
View Source
const Default_Message_OneofDefaultedSint32 int32 = -3200
View Source
const Default_Message_OneofDefaultedSint64 int64 = -6400
View Source
const Default_Message_OneofDefaultedString string = "hello, \"world!\"\n"
View Source
const Default_Message_OneofDefaultedUint32 uint32 = 3200
View Source
const Default_Message_OneofDefaultedUint64 uint64 = 6400
View Source
const Default_Message_RequiredDefaultedBool bool = true
View Source
const Default_Message_RequiredDefaultedDouble float64 = 3.14159265359
View Source
const Default_Message_RequiredDefaultedFixed32 uint32 = 320000
View Source
const Default_Message_RequiredDefaultedFixed64 uint64 = 640000
View Source
const Default_Message_RequiredDefaultedFloat float32 = 3.14159
View Source
const Default_Message_RequiredDefaultedInt32 int32 = -12345
View Source
const Default_Message_RequiredDefaultedInt64 int64 = -123456789
View Source
const Default_Message_RequiredDefaultedSfixed32 int32 = -320000
View Source
const Default_Message_RequiredDefaultedSfixed64 int64 = -640000
View Source
const Default_Message_RequiredDefaultedSint32 int32 = -3200
View Source
const Default_Message_RequiredDefaultedSint64 int64 = -6400
View Source
const Default_Message_RequiredDefaultedString string = "hello, \"world!\"\n"
View Source
const Default_Message_RequiredDefaultedUint32 uint32 = 3200
View Source
const Default_Message_RequiredDefaultedUint64 uint64 = 6400
Variables ¶
View Source
var Default_Message_DefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
View Source
var Default_Message_OneofDefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
View Source
var Default_Message_RequiredDefaultedBytes []byte = []byte("dead\\336\\255\\276\\357beef")
View Source
var E_Message_ExtensionDefaultedBool = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*bool)(nil), Field: 20000, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_bool", Tag: "varint,20000,opt,name=extension_defaulted_bool,json=extensionDefaultedBool,def=1", }
View Source
var E_Message_ExtensionDefaultedBytes = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]byte)(nil), Field: 20014, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_bytes", Tag: "bytes,20014,opt,name=extension_defaulted_bytes,json=extensionDefaultedBytes,def=dead\\336\\255\\276\\357beef", }
View Source
var E_Message_ExtensionDefaultedChildEnum = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*Message_ChildEnum)(nil), Field: 20015, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_child_enum", Tag: "varint,20015,opt,name=extension_defaulted_child_enum,json=extensionDefaultedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum,def=0", }
View Source
var E_Message_ExtensionDefaultedDouble = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*float64)(nil), Field: 20012, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_double", Tag: "fixed64,20012,opt,name=extension_defaulted_double,json=extensionDefaultedDouble,def=3.14159265359", }
View Source
var E_Message_ExtensionDefaultedFixed32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*uint32)(nil), Field: 20007, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_fixed32", Tag: "fixed32,20007,opt,name=extension_defaulted_fixed32,json=extensionDefaultedFixed32,def=320000", }
View Source
var E_Message_ExtensionDefaultedFixed64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*uint64)(nil), Field: 20010, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_fixed64", Tag: "fixed64,20010,opt,name=extension_defaulted_fixed64,json=extensionDefaultedFixed64,def=640000", }
View Source
var E_Message_ExtensionDefaultedFloat = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*float32)(nil), Field: 20009, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_float", Tag: "fixed32,20009,opt,name=extension_defaulted_float,json=extensionDefaultedFloat,def=3.14159", }
View Source
var E_Message_ExtensionDefaultedInt32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*int32)(nil), Field: 20001, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_int32", Tag: "varint,20001,opt,name=extension_defaulted_int32,json=extensionDefaultedInt32,def=-12345", }
View Source
var E_Message_ExtensionDefaultedInt64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*int64)(nil), Field: 20004, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_int64", Tag: "varint,20004,opt,name=extension_defaulted_int64,json=extensionDefaultedInt64,def=-123456789", }
View Source
var E_Message_ExtensionDefaultedSfixed32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*int32)(nil), Field: 20008, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sfixed32", Tag: "fixed32,20008,opt,name=extension_defaulted_sfixed32,json=extensionDefaultedSfixed32,def=-320000", }
View Source
var E_Message_ExtensionDefaultedSfixed64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*int64)(nil), Field: 20011, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sfixed64", Tag: "fixed64,20011,opt,name=extension_defaulted_sfixed64,json=extensionDefaultedSfixed64,def=-640000", }
View Source
var E_Message_ExtensionDefaultedSiblingEnum = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*SiblingEnum)(nil), Field: 20016, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sibling_enum", Tag: "varint,20016,opt,name=extension_defaulted_sibling_enum,json=extensionDefaultedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum,def=0", }
View Source
var E_Message_ExtensionDefaultedSint32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*int32)(nil), Field: 20002, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sint32", Tag: "zigzag32,20002,opt,name=extension_defaulted_sint32,json=extensionDefaultedSint32,def=-3200", }
View Source
var E_Message_ExtensionDefaultedSint64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*int64)(nil), Field: 20005, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_sint64", Tag: "zigzag64,20005,opt,name=extension_defaulted_sint64,json=extensionDefaultedSint64,def=-6400", }
View Source
var E_Message_ExtensionDefaultedString = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*string)(nil), Field: 20013, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_string", Tag: "bytes,20013,opt,name=extension_defaulted_string,json=extensionDefaultedString,def=hello, \"world!\"\n", }
View Source
var E_Message_ExtensionDefaultedUint32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*uint32)(nil), Field: 20003, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_uint32", Tag: "varint,20003,opt,name=extension_defaulted_uint32,json=extensionDefaultedUint32,def=3200", }
View Source
var E_Message_ExtensionDefaultedUint64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*uint64)(nil), Field: 20006, Name: "google.golang.org.proto2_20160225.Message.extension_defaulted_uint64", Tag: "varint,20006,opt,name=extension_defaulted_uint64,json=extensionDefaultedUint64,def=6400", }
View Source
var E_Message_ExtensionOptionalBool = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*bool)(nil), Field: 10000, Name: "google.golang.org.proto2_20160225.Message.extension_optional_bool", Tag: "varint,10000,opt,name=extension_optional_bool,json=extensionOptionalBool", }
View Source
var E_Message_ExtensionOptionalBytes = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]byte)(nil), Field: 10014, Name: "google.golang.org.proto2_20160225.Message.extension_optional_bytes", Tag: "bytes,10014,opt,name=extension_optional_bytes,json=extensionOptionalBytes", }
View Source
var E_Message_ExtensionOptionalChildEnum = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*Message_ChildEnum)(nil), Field: 10015, Name: "google.golang.org.proto2_20160225.Message.extension_optional_child_enum", Tag: "varint,10015,opt,name=extension_optional_child_enum,json=extensionOptionalChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum", }
View Source
var E_Message_ExtensionOptionalChildMessage = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*Message_ChildMessage)(nil), Field: 10016, Name: "google.golang.org.proto2_20160225.Message.extension_optional_child_message", Tag: "bytes,10016,opt,name=extension_optional_child_message,json=extensionOptionalChildMessage", }
View Source
var E_Message_ExtensionOptionalDouble = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*float64)(nil), Field: 10012, Name: "google.golang.org.proto2_20160225.Message.extension_optional_double", Tag: "fixed64,10012,opt,name=extension_optional_double,json=extensionOptionalDouble", }
View Source
var E_Message_ExtensionOptionalFixed32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*uint32)(nil), Field: 10007, Name: "google.golang.org.proto2_20160225.Message.extension_optional_fixed32", Tag: "fixed32,10007,opt,name=extension_optional_fixed32,json=extensionOptionalFixed32", }
View Source
var E_Message_ExtensionOptionalFixed64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*uint64)(nil), Field: 10010, Name: "google.golang.org.proto2_20160225.Message.extension_optional_fixed64", Tag: "fixed64,10010,opt,name=extension_optional_fixed64,json=extensionOptionalFixed64", }
View Source
var E_Message_ExtensionOptionalFloat = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*float32)(nil), Field: 10009, Name: "google.golang.org.proto2_20160225.Message.extension_optional_float", Tag: "fixed32,10009,opt,name=extension_optional_float,json=extensionOptionalFloat", }
View Source
var E_Message_ExtensionOptionalInt32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*int32)(nil), Field: 10001, Name: "google.golang.org.proto2_20160225.Message.extension_optional_int32", Tag: "varint,10001,opt,name=extension_optional_int32,json=extensionOptionalInt32", }
View Source
var E_Message_ExtensionOptionalInt64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*int64)(nil), Field: 10004, Name: "google.golang.org.proto2_20160225.Message.extension_optional_int64", Tag: "varint,10004,opt,name=extension_optional_int64,json=extensionOptionalInt64", }
View Source
var E_Message_ExtensionOptionalNamedGroup = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*Message_NamedGroup)(nil), Field: 10017, Name: "google.golang.org.proto2_20160225.Message.extension_optional_named_group", Tag: "bytes,10017,opt,name=extension_optional_named_group,json=extensionOptionalNamedGroup", }
View Source
var E_Message_ExtensionOptionalSfixed32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*int32)(nil), Field: 10008, Name: "google.golang.org.proto2_20160225.Message.extension_optional_sfixed32", Tag: "fixed32,10008,opt,name=extension_optional_sfixed32,json=extensionOptionalSfixed32", }
View Source
var E_Message_ExtensionOptionalSfixed64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*int64)(nil), Field: 10011, Name: "google.golang.org.proto2_20160225.Message.extension_optional_sfixed64", Tag: "fixed64,10011,opt,name=extension_optional_sfixed64,json=extensionOptionalSfixed64", }
View Source
var E_Message_ExtensionOptionalSiblingEnum = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*SiblingEnum)(nil), Field: 10018, Name: "google.golang.org.proto2_20160225.Message.extension_optional_sibling_enum", Tag: "varint,10018,opt,name=extension_optional_sibling_enum,json=extensionOptionalSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum", }
View Source
var E_Message_ExtensionOptionalSiblingMessage = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*SiblingMessage)(nil), Field: 10019, Name: "google.golang.org.proto2_20160225.Message.extension_optional_sibling_message", Tag: "bytes,10019,opt,name=extension_optional_sibling_message,json=extensionOptionalSiblingMessage", }
View Source
var E_Message_ExtensionOptionalSint32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*int32)(nil), Field: 10002, Name: "google.golang.org.proto2_20160225.Message.extension_optional_sint32", Tag: "zigzag32,10002,opt,name=extension_optional_sint32,json=extensionOptionalSint32", }
View Source
var E_Message_ExtensionOptionalSint64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*int64)(nil), Field: 10005, Name: "google.golang.org.proto2_20160225.Message.extension_optional_sint64", Tag: "zigzag64,10005,opt,name=extension_optional_sint64,json=extensionOptionalSint64", }
View Source
var E_Message_ExtensionOptionalString = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*string)(nil), Field: 10013, Name: "google.golang.org.proto2_20160225.Message.extension_optional_string", Tag: "bytes,10013,opt,name=extension_optional_string,json=extensionOptionalString", }
View Source
var E_Message_ExtensionOptionalUint32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*uint32)(nil), Field: 10003, Name: "google.golang.org.proto2_20160225.Message.extension_optional_uint32", Tag: "varint,10003,opt,name=extension_optional_uint32,json=extensionOptionalUint32", }
View Source
var E_Message_ExtensionOptionalUint64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*uint64)(nil), Field: 10006, Name: "google.golang.org.proto2_20160225.Message.extension_optional_uint64", Tag: "varint,10006,opt,name=extension_optional_uint64,json=extensionOptionalUint64", }
View Source
var E_Message_ExtensionRepeatedBool = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]bool)(nil), Field: 30000, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_bool", Tag: "varint,30000,rep,name=extension_repeated_bool,json=extensionRepeatedBool", }
View Source
var E_Message_ExtensionRepeatedBytes = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([][]byte)(nil), Field: 30014, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_bytes", Tag: "bytes,30014,rep,name=extension_repeated_bytes,json=extensionRepeatedBytes", }
View Source
var E_Message_ExtensionRepeatedChildEnum = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]Message_ChildEnum)(nil), Field: 30015, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_child_enum", Tag: "varint,30015,rep,name=extension_repeated_child_enum,json=extensionRepeatedChildEnum,enum=google.golang.org.proto2_20160225.Message_ChildEnum", }
View Source
var E_Message_ExtensionRepeatedChildMessage = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]*Message_ChildMessage)(nil), Field: 30016, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_child_message", Tag: "bytes,30016,rep,name=extension_repeated_child_message,json=extensionRepeatedChildMessage", }
View Source
var E_Message_ExtensionRepeatedDouble = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]float64)(nil), Field: 30012, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_double", Tag: "fixed64,30012,rep,name=extension_repeated_double,json=extensionRepeatedDouble", }
View Source
var E_Message_ExtensionRepeatedFixed32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]uint32)(nil), Field: 30007, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_fixed32", Tag: "fixed32,30007,rep,name=extension_repeated_fixed32,json=extensionRepeatedFixed32", }
View Source
var E_Message_ExtensionRepeatedFixed64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]uint64)(nil), Field: 30010, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_fixed64", Tag: "fixed64,30010,rep,name=extension_repeated_fixed64,json=extensionRepeatedFixed64", }
View Source
var E_Message_ExtensionRepeatedFloat = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]float32)(nil), Field: 30009, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_float", Tag: "fixed32,30009,rep,name=extension_repeated_float,json=extensionRepeatedFloat", }
View Source
var E_Message_ExtensionRepeatedInt32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]int32)(nil), Field: 30001, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_int32", Tag: "varint,30001,rep,name=extension_repeated_int32,json=extensionRepeatedInt32", }
View Source
var E_Message_ExtensionRepeatedInt64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]int64)(nil), Field: 30004, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_int64", Tag: "varint,30004,rep,name=extension_repeated_int64,json=extensionRepeatedInt64", }
View Source
var E_Message_ExtensionRepeatedNamedGroup = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]*Message_NamedGroup)(nil), Field: 30017, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_named_group", Tag: "bytes,30017,rep,name=extension_repeated_named_group,json=extensionRepeatedNamedGroup", }
View Source
var E_Message_ExtensionRepeatedSfixed32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]int32)(nil), Field: 30008, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sfixed32", Tag: "fixed32,30008,rep,name=extension_repeated_sfixed32,json=extensionRepeatedSfixed32", }
View Source
var E_Message_ExtensionRepeatedSfixed64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]int64)(nil), Field: 30011, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sfixed64", Tag: "fixed64,30011,rep,name=extension_repeated_sfixed64,json=extensionRepeatedSfixed64", }
View Source
var E_Message_ExtensionRepeatedSiblingEnum = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]SiblingEnum)(nil), Field: 30018, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sibling_enum", Tag: "varint,30018,rep,name=extension_repeated_sibling_enum,json=extensionRepeatedSiblingEnum,enum=google.golang.org.proto2_20160225.SiblingEnum", }
View Source
var E_Message_ExtensionRepeatedSiblingMessage = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]*SiblingMessage)(nil), Field: 30019, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sibling_message", Tag: "bytes,30019,rep,name=extension_repeated_sibling_message,json=extensionRepeatedSiblingMessage", }
View Source
var E_Message_ExtensionRepeatedSint32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]int32)(nil), Field: 30002, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sint32", Tag: "zigzag32,30002,rep,name=extension_repeated_sint32,json=extensionRepeatedSint32", }
View Source
var E_Message_ExtensionRepeatedSint64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]int64)(nil), Field: 30005, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_sint64", Tag: "zigzag64,30005,rep,name=extension_repeated_sint64,json=extensionRepeatedSint64", }
View Source
var E_Message_ExtensionRepeatedString = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]string)(nil), Field: 30013, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_string", Tag: "bytes,30013,rep,name=extension_repeated_string,json=extensionRepeatedString", }
View Source
var E_Message_ExtensionRepeatedUint32 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]uint32)(nil), Field: 30003, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_uint32", Tag: "varint,30003,rep,name=extension_repeated_uint32,json=extensionRepeatedUint32", }
View Source
var E_Message_ExtensionRepeatedUint64 = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]uint64)(nil), Field: 30006, Name: "google.golang.org.proto2_20160225.Message.extension_repeated_uint64", Tag: "varint,30006,rep,name=extension_repeated_uint64,json=extensionRepeatedUint64", }
View Source
var E_Message_Extensionoptionalgroup = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: (*Message_ExtensionOptionalGroup)(nil), Field: 10020, Name: "google.golang.org.proto2_20160225.Message.extensionoptionalgroup", Tag: "group,10020,opt,name=ExtensionOptionalGroup,json=extensionoptionalgroup", }
View Source
var E_Message_Extensionrepeatedgroup = &proto.ExtensionDesc{ ExtendedType: (*Message)(nil), ExtensionType: ([]*Message_ExtensionRepeatedGroup)(nil), Field: 30020, Name: "google.golang.org.proto2_20160225.Message.extensionrepeatedgroup", Tag: "group,30020,rep,name=ExtensionRepeatedGroup,json=extensionrepeatedgroup", }
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 { Namedgroup *Message_NamedGroup `protobuf:"group,1,opt,name=NamedGroup,json=namedgroup" json:"namedgroup,omitempty"` // 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" 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"` OptionalNamedGroup *Message_NamedGroup `protobuf:"bytes,117,opt,name=optional_named_group,json=optionalNamedGroup" json:"optional_named_group,omitempty"` OptionalSiblingEnum *SiblingEnum `` /* 167-byte string literal not displayed */ OptionalSiblingMessage *SiblingMessage `protobuf:"bytes,119,opt,name=optional_sibling_message,json=optionalSiblingMessage" json:"optional_sibling_message,omitempty"` Optionalgroup *Message_OptionalGroup `protobuf:"group,120,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"` // Optional default fields. DefaultedBool *bool `protobuf:"varint,200,opt,name=defaulted_bool,json=defaultedBool,def=1" json:"defaulted_bool,omitempty"` DefaultedInt32 *int32 `protobuf:"varint,201,opt,name=defaulted_int32,json=defaultedInt32,def=-12345" json:"defaulted_int32,omitempty"` DefaultedSint32 *int32 `protobuf:"zigzag32,202,opt,name=defaulted_sint32,json=defaultedSint32,def=-3200" json:"defaulted_sint32,omitempty"` DefaultedUint32 *uint32 `protobuf:"varint,203,opt,name=defaulted_uint32,json=defaultedUint32,def=3200" json:"defaulted_uint32,omitempty"` DefaultedInt64 *int64 `protobuf:"varint,204,opt,name=defaulted_int64,json=defaultedInt64,def=-123456789" json:"defaulted_int64,omitempty"` DefaultedSint64 *int64 `protobuf:"zigzag64,205,opt,name=defaulted_sint64,json=defaultedSint64,def=-6400" json:"defaulted_sint64,omitempty"` DefaultedUint64 *uint64 `protobuf:"varint,206,opt,name=defaulted_uint64,json=defaultedUint64,def=6400" json:"defaulted_uint64,omitempty"` DefaultedFixed32 *uint32 `protobuf:"fixed32,207,opt,name=defaulted_fixed32,json=defaultedFixed32,def=320000" json:"defaulted_fixed32,omitempty"` DefaultedSfixed32 *int32 `protobuf:"fixed32,208,opt,name=defaulted_sfixed32,json=defaultedSfixed32,def=-320000" json:"defaulted_sfixed32,omitempty"` DefaultedFloat *float32 `protobuf:"fixed32,209,opt,name=defaulted_float,json=defaultedFloat,def=3.14159" json:"defaulted_float,omitempty"` DefaultedFixed64 *uint64 `protobuf:"fixed64,210,opt,name=defaulted_fixed64,json=defaultedFixed64,def=640000" json:"defaulted_fixed64,omitempty"` DefaultedSfixed64 *int64 `protobuf:"fixed64,211,opt,name=defaulted_sfixed64,json=defaultedSfixed64,def=-640000" json:"defaulted_sfixed64,omitempty"` DefaultedDouble *float64 `protobuf:"fixed64,212,opt,name=defaulted_double,json=defaultedDouble,def=3.14159265359" json:"defaulted_double,omitempty"` DefaultedString *string `protobuf:"bytes,213,opt,name=defaulted_string,json=defaultedString,def=hello, \"world!\"\n" json:"defaulted_string,omitempty"` DefaultedBytes []byte `` /* 131-byte string literal not displayed */ DefaultedChildEnum *Message_ChildEnum `` /* 176-byte string literal not displayed */ DefaultedSiblingEnum *SiblingEnum `` /* 176-byte string literal not displayed */ // Required fields. RequiredBool *bool `protobuf:"varint,300,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"` RequiredInt32 *int32 `protobuf:"varint,301,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"` RequiredSint32 *int32 `protobuf:"zigzag32,302,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"` RequiredUint32 *uint32 `protobuf:"varint,303,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"` RequiredInt64 *int64 `protobuf:"varint,304,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"` RequiredSint64 *int64 `protobuf:"zigzag64,305,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"` RequiredUint64 *uint64 `protobuf:"varint,306,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"` RequiredFixed32 *uint32 `protobuf:"fixed32,307,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"` RequiredSfixed32 *int32 `protobuf:"fixed32,308,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"` RequiredFloat *float32 `protobuf:"fixed32,309,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"` RequiredFixed64 *uint64 `protobuf:"fixed64,310,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"` RequiredSfixed64 *int64 `protobuf:"fixed64,311,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"` RequiredDouble *float64 `protobuf:"fixed64,312,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"` RequiredString *string `protobuf:"bytes,313,req,name=required_string,json=requiredString" json:"required_string,omitempty"` RequiredBytes []byte `protobuf:"bytes,314,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"` RequiredChildEnum *Message_ChildEnum `` /* 167-byte string literal not displayed */ RequiredChildMessage *Message_ChildMessage `protobuf:"bytes,316,req,name=required_child_message,json=requiredChildMessage" json:"required_child_message,omitempty"` RequiredNamedGroup *Message_NamedGroup `protobuf:"bytes,317,req,name=required_named_group,json=requiredNamedGroup" json:"required_named_group,omitempty"` RequiredSiblingEnum *SiblingEnum `` /* 167-byte string literal not displayed */ RequiredSiblingMessage *SiblingMessage `protobuf:"bytes,319,req,name=required_sibling_message,json=requiredSiblingMessage" json:"required_sibling_message,omitempty"` Requiredgroup *Message_RequiredGroup `protobuf:"group,320,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"` // Required default fields. RequiredDefaultedBool *bool `` /* 128-byte string literal not displayed */ RequiredDefaultedInt32 *int32 `` /* 136-byte string literal not displayed */ RequiredDefaultedSint32 *int32 `` /* 140-byte string literal not displayed */ RequiredDefaultedUint32 *uint32 `` /* 137-byte string literal not displayed */ RequiredDefaultedInt64 *int64 `` /* 140-byte string literal not displayed */ RequiredDefaultedSint64 *int64 `` /* 140-byte string literal not displayed */ RequiredDefaultedUint64 *uint64 `` /* 137-byte string literal not displayed */ RequiredDefaultedFixed32 *uint32 `` /* 143-byte string literal not displayed */ RequiredDefaultedSfixed32 *int32 `` /* 147-byte string literal not displayed */ RequiredDefaultedFloat *float32 `` /* 138-byte string literal not displayed */ RequiredDefaultedFixed64 *uint64 `` /* 143-byte string literal not displayed */ RequiredDefaultedSfixed64 *int64 `` /* 147-byte string literal not displayed */ RequiredDefaultedDouble *float64 `` /* 147-byte string literal not displayed */ RequiredDefaultedString *string `` /* 151-byte string literal not displayed */ RequiredDefaultedBytes []byte `` /* 157-byte string literal not displayed */ RequiredDefaultedChildEnum *Message_ChildEnum `` /* 202-byte string literal not displayed */ RequiredDefaultedSiblingEnum *SiblingEnum `` /* 202-byte string literal not displayed */ // Repeated fields. RepeatedBool []bool `protobuf:"varint,500,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"` RepeatedInt32 []int32 `protobuf:"varint,501,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"` RepeatedSint32 []int32 `protobuf:"zigzag32,502,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,503,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,504,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"` RepeatedSint64 []int64 `protobuf:"zigzag64,505,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"` RepeatedUint64 []uint64 `protobuf:"varint,506,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"` RepeatedFixed32 []uint32 `protobuf:"fixed32,507,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"` RepeatedSfixed32 []int32 `protobuf:"fixed32,508,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"` RepeatedFloat []float32 `protobuf:"fixed32,509,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"` RepeatedFixed64 []uint64 `protobuf:"fixed64,510,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"` RepeatedSfixed64 []int64 `protobuf:"fixed64,511,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"` RepeatedDouble []float64 `protobuf:"fixed64,512,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"` RepeatedString []string `protobuf:"bytes,513,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"` RepeatedBytes [][]byte `protobuf:"bytes,514,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"` RepeatedChildEnum []Message_ChildEnum `` /* 167-byte string literal not displayed */ RepeatedChildMessage []*Message_ChildMessage `protobuf:"bytes,516,rep,name=repeated_child_message,json=repeatedChildMessage" json:"repeated_child_message,omitempty"` RepeatedNamedGroup []*Message_NamedGroup `protobuf:"bytes,517,rep,name=repeated_named_group,json=repeatedNamedGroup" json:"repeated_named_group,omitempty"` RepeatedSiblingEnum []SiblingEnum `` /* 167-byte string literal not displayed */ RepeatedSiblingMessage []*SiblingMessage `protobuf:"bytes,519,rep,name=repeated_sibling_message,json=repeatedSiblingMessage" json:"repeated_sibling_message,omitempty"` Repeatedgroup []*Message_RepeatedGroup `protobuf:"group,520,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,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 `` /* 169-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 */ MapBoolNamedGroup map[bool]*Message_NamedGroup `` /* 186-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_OneofNamedGroup // *Message_OneofSiblingEnum // *Message_OneofSiblingMessage // *Message_Oneofgroup // *Message_OneofString1 // *Message_OneofString2 // *Message_OneofString3 OneofUnion isMessage_OneofUnion `protobuf_oneof:"oneof_union"` // Oneof default fields. // // Types that are valid to be assigned to OneofDefaultedUnion: // *Message_OneofDefaultedBool // *Message_OneofDefaultedInt32 // *Message_OneofDefaultedSint32 // *Message_OneofDefaultedUint32 // *Message_OneofDefaultedInt64 // *Message_OneofDefaultedSint64 // *Message_OneofDefaultedUint64 // *Message_OneofDefaultedFixed32 // *Message_OneofDefaultedSfixed32 // *Message_OneofDefaultedFloat // *Message_OneofDefaultedFixed64 // *Message_OneofDefaultedSfixed64 // *Message_OneofDefaultedDouble // *Message_OneofDefaultedString // *Message_OneofDefaultedBytes // *Message_OneofDefaultedChildEnum // *Message_OneofDefaultedSiblingEnum OneofDefaultedUnion isMessage_OneofDefaultedUnion `protobuf_oneof:"oneof_defaulted_union"` XXX_extensions map[int32]proto.Extension `json:"-"` XXX_unrecognized []byte `json:"-"` }
func (*Message) Descriptor ¶
func (*Message) ExtensionRangeArray ¶
func (*Message) ExtensionRangeArray() []proto.ExtensionRange
func (*Message) GetDefaultedBool ¶
func (*Message) GetDefaultedBytes ¶
func (*Message) GetDefaultedChildEnum ¶
func (m *Message) GetDefaultedChildEnum() Message_ChildEnum
func (*Message) GetDefaultedDouble ¶
func (*Message) GetDefaultedFixed32 ¶
func (*Message) GetDefaultedFixed64 ¶
func (*Message) GetDefaultedFloat ¶
func (*Message) GetDefaultedInt32 ¶
func (*Message) GetDefaultedInt64 ¶
func (*Message) GetDefaultedSfixed32 ¶
func (*Message) GetDefaultedSfixed64 ¶
func (*Message) GetDefaultedSiblingEnum ¶
func (m *Message) GetDefaultedSiblingEnum() SiblingEnum
func (*Message) GetDefaultedSint32 ¶
func (*Message) GetDefaultedSint64 ¶
func (*Message) GetDefaultedString ¶
func (*Message) GetDefaultedUint32 ¶
func (*Message) GetDefaultedUint64 ¶
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) GetMapBoolNamedGroup ¶
func (m *Message) GetMapBoolNamedGroup() map[bool]*Message_NamedGroup
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) GetNamedgroup ¶
func (m *Message) GetNamedgroup() *Message_NamedGroup
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) GetOneofDefaultedBool ¶
func (*Message) GetOneofDefaultedBytes ¶
func (*Message) GetOneofDefaultedChildEnum ¶
func (m *Message) GetOneofDefaultedChildEnum() Message_ChildEnum
func (*Message) GetOneofDefaultedDouble ¶
func (*Message) GetOneofDefaultedFixed32 ¶
func (*Message) GetOneofDefaultedFixed64 ¶
func (*Message) GetOneofDefaultedFloat ¶
func (*Message) GetOneofDefaultedInt32 ¶
func (*Message) GetOneofDefaultedInt64 ¶
func (*Message) GetOneofDefaultedSfixed32 ¶
func (*Message) GetOneofDefaultedSfixed64 ¶
func (*Message) GetOneofDefaultedSiblingEnum ¶
func (m *Message) GetOneofDefaultedSiblingEnum() SiblingEnum
func (*Message) GetOneofDefaultedSint32 ¶
func (*Message) GetOneofDefaultedSint64 ¶
func (*Message) GetOneofDefaultedString ¶
func (*Message) GetOneofDefaultedUint32 ¶
func (*Message) GetOneofDefaultedUint64 ¶
func (*Message) GetOneofDefaultedUnion ¶
func (m *Message) GetOneofDefaultedUnion() isMessage_OneofDefaultedUnion
func (*Message) GetOneofDouble ¶
func (*Message) GetOneofFixed32 ¶
func (*Message) GetOneofFixed64 ¶
func (*Message) GetOneofFloat ¶
func (*Message) GetOneofInt32 ¶
func (*Message) GetOneofInt64 ¶
func (*Message) GetOneofNamedGroup ¶
func (m *Message) GetOneofNamedGroup() *Message_NamedGroup
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) GetOneofgroup ¶
func (m *Message) GetOneofgroup() *Message_OneofGroup
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) GetOptionalNamedGroup ¶
func (m *Message) GetOptionalNamedGroup() *Message_NamedGroup
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) GetOptionalgroup ¶
func (m *Message) GetOptionalgroup() *Message_OptionalGroup
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) GetRepeatedNamedGroup ¶
func (m *Message) GetRepeatedNamedGroup() []*Message_NamedGroup
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) GetRepeatedgroup ¶
func (m *Message) GetRepeatedgroup() []*Message_RepeatedGroup
func (*Message) GetRequiredBool ¶
func (*Message) GetRequiredBytes ¶
func (*Message) GetRequiredChildEnum ¶
func (m *Message) GetRequiredChildEnum() Message_ChildEnum
func (*Message) GetRequiredChildMessage ¶
func (m *Message) GetRequiredChildMessage() *Message_ChildMessage
func (*Message) GetRequiredDefaultedBool ¶
func (*Message) GetRequiredDefaultedBytes ¶
func (*Message) GetRequiredDefaultedChildEnum ¶
func (m *Message) GetRequiredDefaultedChildEnum() Message_ChildEnum
func (*Message) GetRequiredDefaultedDouble ¶
func (*Message) GetRequiredDefaultedFixed32 ¶
func (*Message) GetRequiredDefaultedFixed64 ¶
func (*Message) GetRequiredDefaultedFloat ¶
func (*Message) GetRequiredDefaultedInt32 ¶
func (*Message) GetRequiredDefaultedInt64 ¶
func (*Message) GetRequiredDefaultedSfixed32 ¶
func (*Message) GetRequiredDefaultedSfixed64 ¶
func (*Message) GetRequiredDefaultedSiblingEnum ¶
func (m *Message) GetRequiredDefaultedSiblingEnum() SiblingEnum
func (*Message) GetRequiredDefaultedSint32 ¶
func (*Message) GetRequiredDefaultedSint64 ¶
func (*Message) GetRequiredDefaultedString ¶
func (*Message) GetRequiredDefaultedUint32 ¶
func (*Message) GetRequiredDefaultedUint64 ¶
func (*Message) GetRequiredDouble ¶
func (*Message) GetRequiredFixed32 ¶
func (*Message) GetRequiredFixed64 ¶
func (*Message) GetRequiredFloat ¶
func (*Message) GetRequiredInt32 ¶
func (*Message) GetRequiredInt64 ¶
func (*Message) GetRequiredNamedGroup ¶
func (m *Message) GetRequiredNamedGroup() *Message_NamedGroup
func (*Message) GetRequiredSfixed32 ¶
func (*Message) GetRequiredSfixed64 ¶
func (*Message) GetRequiredSiblingEnum ¶
func (m *Message) GetRequiredSiblingEnum() SiblingEnum
func (*Message) GetRequiredSiblingMessage ¶
func (m *Message) GetRequiredSiblingMessage() *SiblingMessage
func (*Message) GetRequiredSint32 ¶
func (*Message) GetRequiredSint64 ¶
func (*Message) GetRequiredString ¶
func (*Message) GetRequiredUint32 ¶
func (*Message) GetRequiredUint64 ¶
func (*Message) GetRequiredgroup ¶
func (m *Message) GetRequiredgroup() *Message_RequiredGroup
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
type Message_ChildEnum ¶
type Message_ChildEnum int32
const ( Message_ALPHA Message_ChildEnum = 0 Message_BRAVO Message_ChildEnum = 1 Message_CHARLIE Message_ChildEnum = 2 )
const Default_Message_DefaultedChildEnum Message_ChildEnum = Message_ALPHA
const Default_Message_OneofDefaultedChildEnum Message_ChildEnum = Message_ALPHA
const Default_Message_RequiredDefaultedChildEnum Message_ChildEnum = Message_ALPHA
func (Message_ChildEnum) Enum ¶
func (x Message_ChildEnum) Enum() *Message_ChildEnum
func (Message_ChildEnum) EnumDescriptor ¶
func (Message_ChildEnum) EnumDescriptor() ([]byte, []int)
func (Message_ChildEnum) String ¶
func (x Message_ChildEnum) String() string
func (*Message_ChildEnum) UnmarshalJSON ¶
func (x *Message_ChildEnum) UnmarshalJSON(data []byte) error
type Message_ChildMessage ¶
type Message_ChildMessage struct { F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"` F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"` F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"` F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"` XXX_unrecognized []byte `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() []string
func (*Message_ChildMessage) GetF4 ¶
func (m *Message_ChildMessage) GetF4() *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_ExtensionOptionalGroup ¶
type Message_ExtensionOptionalGroup struct { F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"` F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"` F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Message_ExtensionOptionalGroup) Descriptor ¶
func (*Message_ExtensionOptionalGroup) Descriptor() ([]byte, []int)
func (*Message_ExtensionOptionalGroup) GetF1 ¶
func (m *Message_ExtensionOptionalGroup) GetF1() string
func (*Message_ExtensionOptionalGroup) GetF2 ¶
func (m *Message_ExtensionOptionalGroup) GetF2() string
func (*Message_ExtensionOptionalGroup) GetF3 ¶
func (m *Message_ExtensionOptionalGroup) GetF3() []string
func (*Message_ExtensionOptionalGroup) ProtoMessage ¶
func (*Message_ExtensionOptionalGroup) ProtoMessage()
func (*Message_ExtensionOptionalGroup) Reset ¶
func (m *Message_ExtensionOptionalGroup) Reset()
func (*Message_ExtensionOptionalGroup) String ¶
func (m *Message_ExtensionOptionalGroup) String() string
type Message_ExtensionRepeatedGroup ¶
type Message_ExtensionRepeatedGroup struct { F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"` F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"` F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Message_ExtensionRepeatedGroup) Descriptor ¶
func (*Message_ExtensionRepeatedGroup) Descriptor() ([]byte, []int)
func (*Message_ExtensionRepeatedGroup) GetF1 ¶
func (m *Message_ExtensionRepeatedGroup) GetF1() string
func (*Message_ExtensionRepeatedGroup) GetF2 ¶
func (m *Message_ExtensionRepeatedGroup) GetF2() string
func (*Message_ExtensionRepeatedGroup) GetF3 ¶
func (m *Message_ExtensionRepeatedGroup) GetF3() []string
func (*Message_ExtensionRepeatedGroup) ProtoMessage ¶
func (*Message_ExtensionRepeatedGroup) ProtoMessage()
func (*Message_ExtensionRepeatedGroup) Reset ¶
func (m *Message_ExtensionRepeatedGroup) Reset()
func (*Message_ExtensionRepeatedGroup) String ¶
func (m *Message_ExtensionRepeatedGroup) String() string
type Message_NamedGroup ¶
type Message_NamedGroup struct { F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"` F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"` F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"` F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Message_NamedGroup) Descriptor ¶
func (*Message_NamedGroup) Descriptor() ([]byte, []int)
func (*Message_NamedGroup) GetF1 ¶
func (m *Message_NamedGroup) GetF1() string
func (*Message_NamedGroup) GetF2 ¶
func (m *Message_NamedGroup) GetF2() string
func (*Message_NamedGroup) GetF3 ¶
func (m *Message_NamedGroup) GetF3() []string
func (*Message_NamedGroup) GetF4 ¶
func (m *Message_NamedGroup) GetF4() *Message
func (*Message_NamedGroup) ProtoMessage ¶
func (*Message_NamedGroup) ProtoMessage()
func (*Message_NamedGroup) Reset ¶
func (m *Message_NamedGroup) Reset()
func (*Message_NamedGroup) String ¶
func (m *Message_NamedGroup) String() string
type Message_OneofBool ¶
type Message_OneofBool struct {
OneofBool bool `protobuf:"varint,700,opt,name=oneof_bool,json=oneofBool,oneof"`
}
type Message_OneofBytes ¶
type Message_OneofBytes struct {
OneofBytes []byte `protobuf:"bytes,714,opt,name=oneof_bytes,json=oneofBytes,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,716,opt,name=oneof_child_message,json=oneofChildMessage,oneof"`
}
type Message_OneofDefaultedBool ¶
type Message_OneofDefaultedBool struct {
OneofDefaultedBool bool `protobuf:"varint,800,opt,name=oneof_defaulted_bool,json=oneofDefaultedBool,oneof,def=1"`
}
type Message_OneofDefaultedBytes ¶
type Message_OneofDefaultedBytes struct {
OneofDefaultedBytes []byte `protobuf:"bytes,814,opt,name=oneof_defaulted_bytes,json=oneofDefaultedBytes,oneof,def=dead\\336\\255\\276\\357beef"`
}
type Message_OneofDefaultedChildEnum ¶
type Message_OneofDefaultedChildEnum struct {
OneofDefaultedChildEnum Message_ChildEnum `` /* 155-byte string literal not displayed */
}
type Message_OneofDefaultedDouble ¶
type Message_OneofDefaultedDouble struct {
OneofDefaultedDouble float64 `protobuf:"fixed64,812,opt,name=oneof_defaulted_double,json=oneofDefaultedDouble,oneof,def=3.14159265359"`
}
type Message_OneofDefaultedFixed32 ¶
type Message_OneofDefaultedFixed32 struct {
OneofDefaultedFixed32 uint32 `protobuf:"fixed32,807,opt,name=oneof_defaulted_fixed32,json=oneofDefaultedFixed32,oneof,def=320000"`
}
type Message_OneofDefaultedFixed64 ¶
type Message_OneofDefaultedFixed64 struct {
OneofDefaultedFixed64 uint64 `protobuf:"fixed64,810,opt,name=oneof_defaulted_fixed64,json=oneofDefaultedFixed64,oneof,def=640000"`
}
type Message_OneofDefaultedFloat ¶
type Message_OneofDefaultedFloat struct {
OneofDefaultedFloat float32 `protobuf:"fixed32,809,opt,name=oneof_defaulted_float,json=oneofDefaultedFloat,oneof,def=3.14159"`
}
type Message_OneofDefaultedInt32 ¶
type Message_OneofDefaultedInt32 struct {
OneofDefaultedInt32 int32 `protobuf:"varint,801,opt,name=oneof_defaulted_int32,json=oneofDefaultedInt32,oneof,def=-12345"`
}
type Message_OneofDefaultedInt64 ¶
type Message_OneofDefaultedInt64 struct {
OneofDefaultedInt64 int64 `protobuf:"varint,804,opt,name=oneof_defaulted_int64,json=oneofDefaultedInt64,oneof,def=-123456789"`
}
type Message_OneofDefaultedSfixed32 ¶
type Message_OneofDefaultedSfixed32 struct {
OneofDefaultedSfixed32 int32 `protobuf:"fixed32,808,opt,name=oneof_defaulted_sfixed32,json=oneofDefaultedSfixed32,oneof,def=-320000"`
}
type Message_OneofDefaultedSfixed64 ¶
type Message_OneofDefaultedSfixed64 struct {
OneofDefaultedSfixed64 int64 `protobuf:"fixed64,811,opt,name=oneof_defaulted_sfixed64,json=oneofDefaultedSfixed64,oneof,def=-640000"`
}
type Message_OneofDefaultedSiblingEnum ¶
type Message_OneofDefaultedSiblingEnum struct {
OneofDefaultedSiblingEnum SiblingEnum `` /* 153-byte string literal not displayed */
}
type Message_OneofDefaultedSint32 ¶
type Message_OneofDefaultedSint32 struct {
OneofDefaultedSint32 int32 `protobuf:"zigzag32,802,opt,name=oneof_defaulted_sint32,json=oneofDefaultedSint32,oneof,def=-3200"`
}
type Message_OneofDefaultedSint64 ¶
type Message_OneofDefaultedSint64 struct {
OneofDefaultedSint64 int64 `protobuf:"zigzag64,805,opt,name=oneof_defaulted_sint64,json=oneofDefaultedSint64,oneof,def=-6400"`
}
type Message_OneofDefaultedString ¶
type Message_OneofDefaultedString struct {
OneofDefaultedString string `protobuf:"bytes,813,opt,name=oneof_defaulted_string,json=oneofDefaultedString,oneof,def=hello, \"world!\"\n"`
}
type Message_OneofDefaultedUint32 ¶
type Message_OneofDefaultedUint32 struct {
OneofDefaultedUint32 uint32 `protobuf:"varint,803,opt,name=oneof_defaulted_uint32,json=oneofDefaultedUint32,oneof,def=3200"`
}
type Message_OneofDefaultedUint64 ¶
type Message_OneofDefaultedUint64 struct {
OneofDefaultedUint64 uint64 `protobuf:"varint,806,opt,name=oneof_defaulted_uint64,json=oneofDefaultedUint64,oneof,def=6400"`
}
type Message_OneofDouble ¶
type Message_OneofDouble struct {
OneofDouble float64 `protobuf:"fixed64,712,opt,name=oneof_double,json=oneofDouble,oneof"`
}
type Message_OneofFixed32 ¶
type Message_OneofFixed32 struct {
OneofFixed32 uint32 `protobuf:"fixed32,707,opt,name=oneof_fixed32,json=oneofFixed32,oneof"`
}
type Message_OneofFixed64 ¶
type Message_OneofFixed64 struct {
OneofFixed64 uint64 `protobuf:"fixed64,710,opt,name=oneof_fixed64,json=oneofFixed64,oneof"`
}
type Message_OneofFloat ¶
type Message_OneofFloat struct {
OneofFloat float32 `protobuf:"fixed32,709,opt,name=oneof_float,json=oneofFloat,oneof"`
}
type Message_OneofGroup ¶
type Message_OneofGroup struct { F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"` F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"` F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Message_OneofGroup) Descriptor ¶
func (*Message_OneofGroup) Descriptor() ([]byte, []int)
func (*Message_OneofGroup) GetF1 ¶
func (m *Message_OneofGroup) GetF1() string
func (*Message_OneofGroup) GetF2 ¶
func (m *Message_OneofGroup) GetF2() string
func (*Message_OneofGroup) GetF3 ¶
func (m *Message_OneofGroup) GetF3() []string
func (*Message_OneofGroup) ProtoMessage ¶
func (*Message_OneofGroup) ProtoMessage()
func (*Message_OneofGroup) Reset ¶
func (m *Message_OneofGroup) Reset()
func (*Message_OneofGroup) String ¶
func (m *Message_OneofGroup) String() string
type Message_OneofInt32 ¶
type Message_OneofInt32 struct {
OneofInt32 int32 `protobuf:"varint,701,opt,name=oneof_int32,json=oneofInt32,oneof"`
}
type Message_OneofInt64 ¶
type Message_OneofInt64 struct {
OneofInt64 int64 `protobuf:"varint,704,opt,name=oneof_int64,json=oneofInt64,oneof"`
}
type Message_OneofNamedGroup ¶
type Message_OneofNamedGroup struct {
OneofNamedGroup *Message_NamedGroup `protobuf:"bytes,717,opt,name=oneof_named_group,json=oneofNamedGroup,oneof"`
}
type Message_OneofSfixed32 ¶
type Message_OneofSfixed32 struct {
OneofSfixed32 int32 `protobuf:"fixed32,708,opt,name=oneof_sfixed32,json=oneofSfixed32,oneof"`
}
type Message_OneofSfixed64 ¶
type Message_OneofSfixed64 struct {
OneofSfixed64 int64 `protobuf:"fixed64,711,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,719,opt,name=oneof_sibling_message,json=oneofSiblingMessage,oneof"`
}
type Message_OneofSint32 ¶
type Message_OneofSint32 struct {
OneofSint32 int32 `protobuf:"zigzag32,702,opt,name=oneof_sint32,json=oneofSint32,oneof"`
}
type Message_OneofSint64 ¶
type Message_OneofSint64 struct {
OneofSint64 int64 `protobuf:"zigzag64,705,opt,name=oneof_sint64,json=oneofSint64,oneof"`
}
type Message_OneofString ¶
type Message_OneofString struct {
OneofString string `protobuf:"bytes,713,opt,name=oneof_string,json=oneofString,oneof"`
}
type Message_OneofString1 ¶
type Message_OneofString1 struct {
OneofString1 string `protobuf:"bytes,721,opt,name=oneof_string1,json=oneofString1,oneof"`
}
type Message_OneofString2 ¶
type Message_OneofString2 struct {
OneofString2 string `protobuf:"bytes,722,opt,name=oneof_string2,json=oneofString2,oneof"`
}
type Message_OneofString3 ¶
type Message_OneofString3 struct {
OneofString3 string `protobuf:"bytes,723,opt,name=oneof_string3,json=oneofString3,oneof"`
}
type Message_OneofUint32 ¶
type Message_OneofUint32 struct {
OneofUint32 uint32 `protobuf:"varint,703,opt,name=oneof_uint32,json=oneofUint32,oneof"`
}
type Message_OneofUint64 ¶
type Message_OneofUint64 struct {
OneofUint64 uint64 `protobuf:"varint,706,opt,name=oneof_uint64,json=oneofUint64,oneof"`
}
type Message_Oneofgroup ¶
type Message_Oneofgroup struct {
Oneofgroup *Message_OneofGroup `protobuf:"group,720,opt,name=OneofGroup,json=oneofgroup,oneof"`
}
type Message_OptionalGroup ¶
type Message_OptionalGroup struct { F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"` F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"` F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Message_OptionalGroup) Descriptor ¶
func (*Message_OptionalGroup) Descriptor() ([]byte, []int)
func (*Message_OptionalGroup) GetF1 ¶
func (m *Message_OptionalGroup) GetF1() string
func (*Message_OptionalGroup) GetF2 ¶
func (m *Message_OptionalGroup) GetF2() string
func (*Message_OptionalGroup) GetF3 ¶
func (m *Message_OptionalGroup) GetF3() []string
func (*Message_OptionalGroup) ProtoMessage ¶
func (*Message_OptionalGroup) ProtoMessage()
func (*Message_OptionalGroup) Reset ¶
func (m *Message_OptionalGroup) Reset()
func (*Message_OptionalGroup) String ¶
func (m *Message_OptionalGroup) String() string
type Message_RepeatedGroup ¶
type Message_RepeatedGroup struct { F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"` F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"` F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Message_RepeatedGroup) Descriptor ¶
func (*Message_RepeatedGroup) Descriptor() ([]byte, []int)
func (*Message_RepeatedGroup) GetF1 ¶
func (m *Message_RepeatedGroup) GetF1() string
func (*Message_RepeatedGroup) GetF2 ¶
func (m *Message_RepeatedGroup) GetF2() string
func (*Message_RepeatedGroup) GetF3 ¶
func (m *Message_RepeatedGroup) GetF3() []string
func (*Message_RepeatedGroup) ProtoMessage ¶
func (*Message_RepeatedGroup) ProtoMessage()
func (*Message_RepeatedGroup) Reset ¶
func (m *Message_RepeatedGroup) Reset()
func (*Message_RepeatedGroup) String ¶
func (m *Message_RepeatedGroup) String() string
type Message_RequiredGroup ¶
type Message_RequiredGroup struct { F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"` F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"` F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Message_RequiredGroup) Descriptor ¶
func (*Message_RequiredGroup) Descriptor() ([]byte, []int)
func (*Message_RequiredGroup) GetF1 ¶
func (m *Message_RequiredGroup) GetF1() string
func (*Message_RequiredGroup) GetF2 ¶
func (m *Message_RequiredGroup) GetF2() string
func (*Message_RequiredGroup) GetF3 ¶
func (m *Message_RequiredGroup) GetF3() []string
func (*Message_RequiredGroup) ProtoMessage ¶
func (*Message_RequiredGroup) ProtoMessage()
func (*Message_RequiredGroup) Reset ¶
func (m *Message_RequiredGroup) Reset()
func (*Message_RequiredGroup) String ¶
func (m *Message_RequiredGroup) String() string
type SiblingEnum ¶
type SiblingEnum int32
const ( SiblingEnum_ALPHA SiblingEnum = 0 SiblingEnum_BRAVO SiblingEnum = 10 SiblingEnum_CHARLIE SiblingEnum = 200 )
const Default_Message_DefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
const Default_Message_OneofDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
const Default_Message_RequiredDefaultedSiblingEnum SiblingEnum = SiblingEnum_ALPHA
func (SiblingEnum) Enum ¶
func (x SiblingEnum) Enum() *SiblingEnum
func (SiblingEnum) EnumDescriptor ¶
func (SiblingEnum) EnumDescriptor() ([]byte, []int)
func (SiblingEnum) String ¶
func (x SiblingEnum) String() string
func (*SiblingEnum) UnmarshalJSON ¶
func (x *SiblingEnum) UnmarshalJSON(data []byte) error
type SiblingMessage ¶
type SiblingMessage struct { F1 *string `protobuf:"bytes,1,opt,name=f1" json:"f1,omitempty"` F2 *string `protobuf:"bytes,2,req,name=f2" json:"f2,omitempty"` F3 []string `protobuf:"bytes,3,rep,name=f3" json:"f3,omitempty"` F4 *Message `protobuf:"bytes,4,opt,name=f4" json:"f4,omitempty"` XXX_unrecognized []byte `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() []string
func (*SiblingMessage) GetF4 ¶
func (m *SiblingMessage) GetF4() *Message
func (*SiblingMessage) ProtoMessage ¶
func (*SiblingMessage) ProtoMessage()
func (*SiblingMessage) Reset ¶
func (m *SiblingMessage) Reset()
func (*SiblingMessage) String ¶
func (m *SiblingMessage) String() string
Click to show internal directories.
Click to hide internal directories.