const Default_Defaults_F_Bool bool = true
const Default_Defaults_F_Double float64 = 271828
const Default_Defaults_F_Fixed32 uint32 = 320
const Default_Defaults_F_Fixed64 uint64 = 640
const Default_Defaults_F_Float float32 = 314159
const Default_Defaults_F_Int32 int32 = 32
const Default_Defaults_F_Int64 int64 = 64
const Default_Defaults_F_Sint32 int32 = -32
const Default_Defaults_F_Sint64 int64 = -64
const Default_Defaults_F_String string = "hello, \"world!\"\n"
const Default_Defaults_F_Uint32 uint32 = 3200
const Default_Defaults_F_Uint64 uint64 = 6400
const Default_GoTest_F_BoolDefaulted bool = true
const Default_GoTest_F_DoubleDefaulted float64 = 271828
const Default_GoTest_F_Fixed32Defaulted uint32 = 320
const Default_GoTest_F_Fixed64Defaulted uint64 = 640
const Default_GoTest_F_FloatDefaulted float32 = 314159
const Default_GoTest_F_Int32Defaulted int32 = 32
const Default_GoTest_F_Int64Defaulted int64 = 64
const Default_GoTest_F_Sint32Defaulted int32 = -32
const Default_GoTest_F_Sint64Defaulted int64 = -64
const Default_GoTest_F_StringDefaulted string = "hello, \"world!\"\n"
const Default_GoTest_F_Uint32Defaulted uint32 = 3200
const Default_GoTest_F_Uint64Defaulted uint64 = 6400
const Default_InnerMessage_Port int32 = 4000
const Default_SubDefaults_N int64 = 7
var Default_Defaults_F_Bytes []byte = []byte("Bignose")
var Default_Defaults_F_Nan float32 = float32(math.NaN())
var Default_Defaults_F_Ninf float32 = float32(math.Inf(-1))
var Default_Defaults_F_Pinf float32 = float32(math.Inf(1))
var Default_GoTest_F_BytesDefaulted []byte = []byte("Bignose")
var DefaultsMessage_DefaultsEnum_name = map[int32]string{ 0: "ZERO", 1: "ONE", 2: "TWO", }
var DefaultsMessage_DefaultsEnum_value = map[string]int32{ "ZERO": 0, "ONE": 1, "TWO": 2, }
var Defaults_Color_name = map[int32]string{ 0: "RED", 1: "GREEN", 2: "BLUE", }
var Defaults_Color_value = map[string]int32{ "RED": 0, "GREEN": 1, "BLUE": 2, }
var E_Complex = &proto.ExtensionDesc{ ExtendedType: (*OtherMessage)(nil), ExtensionType: (*ComplexExtension)(nil), Field: 200, Name: "testdata.complex", Tag: "bytes,200,opt,name=complex", }
var E_DefaultBool = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*bool)(nil), Field: 213, Name: "testdata.default_bool", Tag: "varint,213,opt,name=default_bool,json=defaultBool,def=1", }
var E_DefaultBytes = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: ([]byte)(nil), Field: 215, Name: "testdata.default_bytes", Tag: "bytes,215,opt,name=default_bytes,json=defaultBytes,def=Hello, bytes", }
var E_DefaultDouble = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*float64)(nil), Field: 201, Name: "testdata.default_double", Tag: "fixed64,201,opt,name=default_double,json=defaultDouble,def=3.1415", }
var E_DefaultEnum = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*DefaultsMessage_DefaultsEnum)(nil), Field: 216, Name: "testdata.default_enum", Tag: "varint,216,opt,name=default_enum,json=defaultEnum,enum=testdata.DefaultsMessage_DefaultsEnum,def=1", }
var E_DefaultFixed32 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*uint32)(nil), Field: 209, Name: "testdata.default_fixed32", Tag: "fixed32,209,opt,name=default_fixed32,json=defaultFixed32,def=48", }
var E_DefaultFixed64 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*uint64)(nil), Field: 210, Name: "testdata.default_fixed64", Tag: "fixed64,210,opt,name=default_fixed64,json=defaultFixed64,def=49", }
var E_DefaultFloat = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*float32)(nil), Field: 202, Name: "testdata.default_float", Tag: "fixed32,202,opt,name=default_float,json=defaultFloat,def=3.14", }
var E_DefaultInt32 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*int32)(nil), Field: 203, Name: "testdata.default_int32", Tag: "varint,203,opt,name=default_int32,json=defaultInt32,def=42", }
var E_DefaultInt64 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*int64)(nil), Field: 204, Name: "testdata.default_int64", Tag: "varint,204,opt,name=default_int64,json=defaultInt64,def=43", }
var E_DefaultSfixed32 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*int32)(nil), Field: 211, Name: "testdata.default_sfixed32", Tag: "fixed32,211,opt,name=default_sfixed32,json=defaultSfixed32,def=50", }
var E_DefaultSfixed64 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*int64)(nil), Field: 212, Name: "testdata.default_sfixed64", Tag: "fixed64,212,opt,name=default_sfixed64,json=defaultSfixed64,def=51", }
var E_DefaultSint32 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*int32)(nil), Field: 207, Name: "testdata.default_sint32", Tag: "zigzag32,207,opt,name=default_sint32,json=defaultSint32,def=46", }
var E_DefaultSint64 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*int64)(nil), Field: 208, Name: "testdata.default_sint64", Tag: "zigzag64,208,opt,name=default_sint64,json=defaultSint64,def=47", }
var E_DefaultString = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*string)(nil), Field: 214, Name: "testdata.default_string", Tag: "bytes,214,opt,name=default_string,json=defaultString,def=Hello, string", }
var E_DefaultUint32 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*uint32)(nil), Field: 205, Name: "testdata.default_uint32", Tag: "varint,205,opt,name=default_uint32,json=defaultUint32,def=44", }
var E_DefaultUint64 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*uint64)(nil), Field: 206, Name: "testdata.default_uint64", Tag: "varint,206,opt,name=default_uint64,json=defaultUint64,def=45", }
var E_Ext_More = &proto.ExtensionDesc{ ExtendedType: (*MyMessage)(nil), ExtensionType: (*Ext)(nil), Field: 103, Name: "testdata.Ext.more", Tag: "bytes,103,opt,name=more", }
var E_Ext_Number = &proto.ExtensionDesc{ ExtendedType: (*MyMessage)(nil), ExtensionType: (*int32)(nil), Field: 105, Name: "testdata.Ext.number", Tag: "varint,105,opt,name=number", }
var E_Ext_Text = &proto.ExtensionDesc{ ExtendedType: (*MyMessage)(nil), ExtensionType: (*string)(nil), Field: 104, Name: "testdata.Ext.text", Tag: "bytes,104,opt,name=text", }
var E_Greeting = &proto.ExtensionDesc{ ExtendedType: (*MyMessage)(nil), ExtensionType: ([]string)(nil), Field: 106, Name: "testdata.greeting", Tag: "bytes,106,rep,name=greeting", }
var E_NoDefaultBool = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*bool)(nil), Field: 113, Name: "testdata.no_default_bool", Tag: "varint,113,opt,name=no_default_bool,json=noDefaultBool", }
var E_NoDefaultBytes = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: ([]byte)(nil), Field: 115, Name: "testdata.no_default_bytes", Tag: "bytes,115,opt,name=no_default_bytes,json=noDefaultBytes", }
var E_NoDefaultDouble = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*float64)(nil), Field: 101, Name: "testdata.no_default_double", Tag: "fixed64,101,opt,name=no_default_double,json=noDefaultDouble", }
var E_NoDefaultEnum = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*DefaultsMessage_DefaultsEnum)(nil), Field: 116, Name: "testdata.no_default_enum", Tag: "varint,116,opt,name=no_default_enum,json=noDefaultEnum,enum=testdata.DefaultsMessage_DefaultsEnum", }
var E_NoDefaultFixed32 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*uint32)(nil), Field: 109, Name: "testdata.no_default_fixed32", Tag: "fixed32,109,opt,name=no_default_fixed32,json=noDefaultFixed32", }
var E_NoDefaultFixed64 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*uint64)(nil), Field: 110, Name: "testdata.no_default_fixed64", Tag: "fixed64,110,opt,name=no_default_fixed64,json=noDefaultFixed64", }
var E_NoDefaultFloat = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*float32)(nil), Field: 102, Name: "testdata.no_default_float", Tag: "fixed32,102,opt,name=no_default_float,json=noDefaultFloat", }
var E_NoDefaultInt32 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*int32)(nil), Field: 103, Name: "testdata.no_default_int32", Tag: "varint,103,opt,name=no_default_int32,json=noDefaultInt32", }
var E_NoDefaultInt64 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*int64)(nil), Field: 104, Name: "testdata.no_default_int64", Tag: "varint,104,opt,name=no_default_int64,json=noDefaultInt64", }
var E_NoDefaultSfixed32 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*int32)(nil), Field: 111, Name: "testdata.no_default_sfixed32", Tag: "fixed32,111,opt,name=no_default_sfixed32,json=noDefaultSfixed32", }
var E_NoDefaultSfixed64 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*int64)(nil), Field: 112, Name: "testdata.no_default_sfixed64", Tag: "fixed64,112,opt,name=no_default_sfixed64,json=noDefaultSfixed64", }
var E_NoDefaultSint32 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*int32)(nil), Field: 107, Name: "testdata.no_default_sint32", Tag: "zigzag32,107,opt,name=no_default_sint32,json=noDefaultSint32", }
var E_NoDefaultSint64 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*int64)(nil), Field: 108, Name: "testdata.no_default_sint64", Tag: "zigzag64,108,opt,name=no_default_sint64,json=noDefaultSint64", }
var E_NoDefaultString = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*string)(nil), Field: 114, Name: "testdata.no_default_string", Tag: "bytes,114,opt,name=no_default_string,json=noDefaultString", }
var E_NoDefaultUint32 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*uint32)(nil), Field: 105, Name: "testdata.no_default_uint32", Tag: "varint,105,opt,name=no_default_uint32,json=noDefaultUint32", }
var E_NoDefaultUint64 = &proto.ExtensionDesc{ ExtendedType: (*DefaultsMessage)(nil), ExtensionType: (*uint64)(nil), Field: 106, Name: "testdata.no_default_uint64", Tag: "varint,106,opt,name=no_default_uint64,json=noDefaultUint64", }
var E_RComplex = &proto.ExtensionDesc{ ExtendedType: (*OtherMessage)(nil), ExtensionType: ([]*ComplexExtension)(nil), Field: 201, Name: "testdata.r_complex", Tag: "bytes,201,rep,name=r_complex,json=rComplex", }
var E_X201 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 201, Name: "testdata.x201", Tag: "bytes,201,opt,name=x201", }
var E_X202 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 202, Name: "testdata.x202", Tag: "bytes,202,opt,name=x202", }
var E_X203 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 203, Name: "testdata.x203", Tag: "bytes,203,opt,name=x203", }
var E_X204 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 204, Name: "testdata.x204", Tag: "bytes,204,opt,name=x204", }
var E_X205 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 205, Name: "testdata.x205", Tag: "bytes,205,opt,name=x205", }
var E_X206 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 206, Name: "testdata.x206", Tag: "bytes,206,opt,name=x206", }
var E_X207 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 207, Name: "testdata.x207", Tag: "bytes,207,opt,name=x207", }
var E_X208 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 208, Name: "testdata.x208", Tag: "bytes,208,opt,name=x208", }
var E_X209 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 209, Name: "testdata.x209", Tag: "bytes,209,opt,name=x209", }
var E_X210 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 210, Name: "testdata.x210", Tag: "bytes,210,opt,name=x210", }
var E_X211 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 211, Name: "testdata.x211", Tag: "bytes,211,opt,name=x211", }
var E_X212 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 212, Name: "testdata.x212", Tag: "bytes,212,opt,name=x212", }
var E_X213 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 213, Name: "testdata.x213", Tag: "bytes,213,opt,name=x213", }
var E_X214 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 214, Name: "testdata.x214", Tag: "bytes,214,opt,name=x214", }
var E_X215 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 215, Name: "testdata.x215", Tag: "bytes,215,opt,name=x215", }
var E_X216 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 216, Name: "testdata.x216", Tag: "bytes,216,opt,name=x216", }
var E_X217 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 217, Name: "testdata.x217", Tag: "bytes,217,opt,name=x217", }
var E_X218 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 218, Name: "testdata.x218", Tag: "bytes,218,opt,name=x218", }
var E_X219 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 219, Name: "testdata.x219", Tag: "bytes,219,opt,name=x219", }
var E_X220 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 220, Name: "testdata.x220", Tag: "bytes,220,opt,name=x220", }
var E_X221 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 221, Name: "testdata.x221", Tag: "bytes,221,opt,name=x221", }
var E_X222 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 222, Name: "testdata.x222", Tag: "bytes,222,opt,name=x222", }
var E_X223 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 223, Name: "testdata.x223", Tag: "bytes,223,opt,name=x223", }
var E_X224 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 224, Name: "testdata.x224", Tag: "bytes,224,opt,name=x224", }
var E_X225 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 225, Name: "testdata.x225", Tag: "bytes,225,opt,name=x225", }
var E_X226 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 226, Name: "testdata.x226", Tag: "bytes,226,opt,name=x226", }
var E_X227 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 227, Name: "testdata.x227", Tag: "bytes,227,opt,name=x227", }
var E_X228 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 228, Name: "testdata.x228", Tag: "bytes,228,opt,name=x228", }
var E_X229 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 229, Name: "testdata.x229", Tag: "bytes,229,opt,name=x229", }
var E_X230 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 230, Name: "testdata.x230", Tag: "bytes,230,opt,name=x230", }
var E_X231 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 231, Name: "testdata.x231", Tag: "bytes,231,opt,name=x231", }
var E_X232 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 232, Name: "testdata.x232", Tag: "bytes,232,opt,name=x232", }
var E_X233 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 233, Name: "testdata.x233", Tag: "bytes,233,opt,name=x233", }
var E_X234 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 234, Name: "testdata.x234", Tag: "bytes,234,opt,name=x234", }
var E_X235 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 235, Name: "testdata.x235", Tag: "bytes,235,opt,name=x235", }
var E_X236 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 236, Name: "testdata.x236", Tag: "bytes,236,opt,name=x236", }
var E_X237 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 237, Name: "testdata.x237", Tag: "bytes,237,opt,name=x237", }
var E_X238 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 238, Name: "testdata.x238", Tag: "bytes,238,opt,name=x238", }
var E_X239 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 239, Name: "testdata.x239", Tag: "bytes,239,opt,name=x239", }
var E_X240 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 240, Name: "testdata.x240", Tag: "bytes,240,opt,name=x240", }
var E_X241 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 241, Name: "testdata.x241", Tag: "bytes,241,opt,name=x241", }
var E_X242 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 242, Name: "testdata.x242", Tag: "bytes,242,opt,name=x242", }
var E_X243 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 243, Name: "testdata.x243", Tag: "bytes,243,opt,name=x243", }
var E_X244 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 244, Name: "testdata.x244", Tag: "bytes,244,opt,name=x244", }
var E_X245 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 245, Name: "testdata.x245", Tag: "bytes,245,opt,name=x245", }
var E_X246 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 246, Name: "testdata.x246", Tag: "bytes,246,opt,name=x246", }
var E_X247 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 247, Name: "testdata.x247", Tag: "bytes,247,opt,name=x247", }
var E_X248 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 248, Name: "testdata.x248", Tag: "bytes,248,opt,name=x248", }
var E_X249 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 249, Name: "testdata.x249", Tag: "bytes,249,opt,name=x249", }
var E_X250 = &proto.ExtensionDesc{ ExtendedType: (*MyMessageSet)(nil), ExtensionType: (*Empty)(nil), Field: 250, Name: "testdata.x250", Tag: "bytes,250,opt,name=x250", }
var FOO_name = map[int32]string{ 1: "FOO1", }
var FOO_value = map[string]int32{ "FOO1": 1, }
var GoTest_KIND_name = map[int32]string{ 0: "VOID", 1: "BOOL", 2: "BYTES", 3: "FINGERPRINT", 4: "FLOAT", 5: "INT", 6: "STRING", 7: "TIME", 8: "TUPLE", 9: "ARRAY", 10: "MAP", 11: "TABLE", 12: "FUNCTION", }
var GoTest_KIND_value = map[string]int32{ "VOID": 0, "BOOL": 1, "BYTES": 2, "FINGERPRINT": 3, "FLOAT": 4, "INT": 5, "STRING": 6, "TIME": 7, "TUPLE": 8, "ARRAY": 9, "MAP": 10, "TABLE": 11, "FUNCTION": 12, }
var MyMessage_Color_name = map[int32]string{ 0: "RED", 1: "GREEN", 2: "BLUE", }
var MyMessage_Color_value = map[string]int32{ "RED": 0, "GREEN": 1, "BLUE": 2, }
var RepeatedEnum_Color_name = map[int32]string{ 1: "RED", }
var RepeatedEnum_Color_value = map[string]int32{ "RED": 1, }
type Communique struct { MakeMeCry *bool `protobuf:"varint,1,opt,name=make_me_cry,json=makeMeCry" json:"make_me_cry,omitempty"` // This is a oneof, called "union". // // Types that are valid to be assigned to Union: // *Communique_Number // *Communique_Name // *Communique_Data // *Communique_TempC // *Communique_Col // *Communique_Msg Union isCommunique_Union `protobuf_oneof:"union"` XXX_unrecognized []byte `json:"-"` }
func (*Communique) Descriptor() ([]byte, []int)
func (m *Communique) GetCol() MyMessage_Color
func (m *Communique) GetData() []byte
func (m *Communique) GetMakeMeCry() bool
func (m *Communique) GetMsg() *Strings
func (m *Communique) GetName() string
func (m *Communique) GetNumber() int32
func (m *Communique) GetTempC() float64
func (m *Communique) GetUnion() isCommunique_Union
func (*Communique) ProtoMessage()
func (m *Communique) Reset()
func (m *Communique) String() string
func (*Communique) 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 Communique_Col struct { Col MyMessage_Color `protobuf:"varint,9,opt,name=col,enum=testdata.MyMessage_Color,oneof"` }
type Communique_Data struct { Data []byte `protobuf:"bytes,7,opt,name=data,oneof"` }
type Communique_Msg struct { Msg *Strings `protobuf:"bytes,10,opt,name=msg,oneof"` }
type Communique_Name struct { Name string `protobuf:"bytes,6,opt,name=name,oneof"` }
type Communique_Number struct { Number int32 `protobuf:"varint,5,opt,name=number,oneof"` }
type Communique_TempC struct { TempC float64 `protobuf:"fixed64,8,opt,name=temp_c,json=tempC,oneof"` }
type ComplexExtension struct { First *int32 `protobuf:"varint,1,opt,name=first" json:"first,omitempty"` Second *int32 `protobuf:"varint,2,opt,name=second" json:"second,omitempty"` Third []int32 `protobuf:"varint,3,rep,name=third" json:"third,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ComplexExtension) Descriptor() ([]byte, []int)
func (m *ComplexExtension) GetFirst() int32
func (m *ComplexExtension) GetSecond() int32
func (m *ComplexExtension) GetThird() []int32
func (*ComplexExtension) ProtoMessage()
func (m *ComplexExtension) Reset()
func (m *ComplexExtension) String() string
type Defaults struct { // Default-valued fields of all basic types. // Same as GoTest, but copied here to make testing easier. F_Bool *bool `protobuf:"varint,1,opt,name=F_Bool,json=fBool,def=1" json:"F_Bool,omitempty"` F_Int32 *int32 `protobuf:"varint,2,opt,name=F_Int32,json=fInt32,def=32" json:"F_Int32,omitempty"` F_Int64 *int64 `protobuf:"varint,3,opt,name=F_Int64,json=fInt64,def=64" json:"F_Int64,omitempty"` F_Fixed32 *uint32 `protobuf:"fixed32,4,opt,name=F_Fixed32,json=fFixed32,def=320" json:"F_Fixed32,omitempty"` F_Fixed64 *uint64 `protobuf:"fixed64,5,opt,name=F_Fixed64,json=fFixed64,def=640" json:"F_Fixed64,omitempty"` F_Uint32 *uint32 `protobuf:"varint,6,opt,name=F_Uint32,json=fUint32,def=3200" json:"F_Uint32,omitempty"` F_Uint64 *uint64 `protobuf:"varint,7,opt,name=F_Uint64,json=fUint64,def=6400" json:"F_Uint64,omitempty"` F_Float *float32 `protobuf:"fixed32,8,opt,name=F_Float,json=fFloat,def=314159" json:"F_Float,omitempty"` F_Double *float64 `protobuf:"fixed64,9,opt,name=F_Double,json=fDouble,def=271828" json:"F_Double,omitempty"` F_String *string `protobuf:"bytes,10,opt,name=F_String,json=fString,def=hello, \"world!\"\n" json:"F_String,omitempty"` F_Bytes []byte `protobuf:"bytes,11,opt,name=F_Bytes,json=fBytes,def=Bignose" json:"F_Bytes,omitempty"` F_Sint32 *int32 `protobuf:"zigzag32,12,opt,name=F_Sint32,json=fSint32,def=-32" json:"F_Sint32,omitempty"` F_Sint64 *int64 `protobuf:"zigzag64,13,opt,name=F_Sint64,json=fSint64,def=-64" json:"F_Sint64,omitempty"` F_Enum *Defaults_Color `protobuf:"varint,14,opt,name=F_Enum,json=fEnum,enum=testdata.Defaults_Color,def=1" json:"F_Enum,omitempty"` // More fields with crazy defaults. F_Pinf *float32 `protobuf:"fixed32,15,opt,name=F_Pinf,json=fPinf,def=inf" json:"F_Pinf,omitempty"` F_Ninf *float32 `protobuf:"fixed32,16,opt,name=F_Ninf,json=fNinf,def=-inf" json:"F_Ninf,omitempty"` F_Nan *float32 `protobuf:"fixed32,17,opt,name=F_Nan,json=fNan,def=nan" json:"F_Nan,omitempty"` // Sub-message. Sub *SubDefaults `protobuf:"bytes,18,opt,name=sub" json:"sub,omitempty"` // Redundant but explicit defaults. StrZero *string `protobuf:"bytes,19,opt,name=str_zero,json=strZero,def=" json:"str_zero,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Defaults) Descriptor() ([]byte, []int)
func (m *Defaults) GetF_Bool() bool
func (m *Defaults) GetF_Bytes() []byte
func (m *Defaults) GetF_Double() float64
func (m *Defaults) GetF_Enum() Defaults_Color
func (m *Defaults) GetF_Fixed32() uint32
func (m *Defaults) GetF_Fixed64() uint64
func (m *Defaults) GetF_Float() float32
func (m *Defaults) GetF_Int32() int32
func (m *Defaults) GetF_Int64() int64
func (m *Defaults) GetF_Nan() float32
func (m *Defaults) GetF_Ninf() float32
func (m *Defaults) GetF_Pinf() float32
func (m *Defaults) GetF_Sint32() int32
func (m *Defaults) GetF_Sint64() int64
func (m *Defaults) GetF_String() string
func (m *Defaults) GetF_Uint32() uint32
func (m *Defaults) GetF_Uint64() uint64
func (m *Defaults) GetStrZero() string
func (m *Defaults) GetSub() *SubDefaults
func (*Defaults) ProtoMessage()
func (m *Defaults) Reset()
func (m *Defaults) String() string
type DefaultsMessage struct { proto.XXX_InternalExtensions `json:"-"` XXX_unrecognized []byte `json:"-"` }
func (*DefaultsMessage) Descriptor() ([]byte, []int)
func (*DefaultsMessage) ExtensionRangeArray() []proto.ExtensionRange
func (*DefaultsMessage) ProtoMessage()
func (m *DefaultsMessage) Reset()
func (m *DefaultsMessage) String() string
type DefaultsMessage_DefaultsEnum int32
const ( DefaultsMessage_ZERO DefaultsMessage_DefaultsEnum = 0 DefaultsMessage_ONE DefaultsMessage_DefaultsEnum = 1 DefaultsMessage_TWO DefaultsMessage_DefaultsEnum = 2 )
func (x DefaultsMessage_DefaultsEnum) Enum() *DefaultsMessage_DefaultsEnum
func (DefaultsMessage_DefaultsEnum) EnumDescriptor() ([]byte, []int)
func (x DefaultsMessage_DefaultsEnum) String() string
func (x *DefaultsMessage_DefaultsEnum) UnmarshalJSON(data []byte) error
type Defaults_Color int32
const ( Defaults_RED Defaults_Color = 0 Defaults_GREEN Defaults_Color = 1 Defaults_BLUE Defaults_Color = 2 )
const Default_Defaults_F_Enum Defaults_Color = Defaults_GREEN
func (x Defaults_Color) Enum() *Defaults_Color
func (Defaults_Color) EnumDescriptor() ([]byte, []int)
func (x Defaults_Color) String() string
func (x *Defaults_Color) UnmarshalJSON(data []byte) error
type Empty struct { XXX_unrecognized []byte `json:"-"` }
func (*Empty) Descriptor() ([]byte, []int)
func (*Empty) ProtoMessage()
func (m *Empty) Reset()
func (m *Empty) String() string
type Ext struct { Data *string `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Ext) Descriptor() ([]byte, []int)
func (m *Ext) GetData() string
func (*Ext) ProtoMessage()
func (m *Ext) Reset()
func (m *Ext) String() string
type FOO int32
const ( FOO_FOO1 FOO = 1 )
func (x FOO) Enum() *FOO
func (FOO) EnumDescriptor() ([]byte, []int)
func (x FOO) String() string
func (x *FOO) UnmarshalJSON(data []byte) error
type FloatingPoint struct { F *float64 `protobuf:"fixed64,1,req,name=f" json:"f,omitempty"` Exact *bool `protobuf:"varint,2,opt,name=exact" json:"exact,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*FloatingPoint) Descriptor() ([]byte, []int)
func (m *FloatingPoint) GetExact() bool
func (m *FloatingPoint) GetF() float64
func (*FloatingPoint) ProtoMessage()
func (m *FloatingPoint) Reset()
func (m *FloatingPoint) String() string
type GoEnum struct { Foo *FOO `protobuf:"varint,1,req,name=foo,enum=testdata.FOO" json:"foo,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GoEnum) Descriptor() ([]byte, []int)
func (m *GoEnum) GetFoo() FOO
func (*GoEnum) ProtoMessage()
func (m *GoEnum) Reset()
func (m *GoEnum) String() string
type GoSkipTest struct { SkipInt32 *int32 `protobuf:"varint,11,req,name=skip_int32,json=skipInt32" json:"skip_int32,omitempty"` SkipFixed32 *uint32 `protobuf:"fixed32,12,req,name=skip_fixed32,json=skipFixed32" json:"skip_fixed32,omitempty"` SkipFixed64 *uint64 `protobuf:"fixed64,13,req,name=skip_fixed64,json=skipFixed64" json:"skip_fixed64,omitempty"` SkipString *string `protobuf:"bytes,14,req,name=skip_string,json=skipString" json:"skip_string,omitempty"` Skipgroup *GoSkipTest_SkipGroup `protobuf:"group,15,req,name=SkipGroup,json=skipgroup" json:"skipgroup,omitempty"` XXX_unrecognized []byte `json:"-"` }
For testing skipping of unrecognized fields. Numbers are all big, larger than tag numbers in GoTestField, the message used in the corresponding test.
func (*GoSkipTest) Descriptor() ([]byte, []int)
func (m *GoSkipTest) GetSkipFixed32() uint32
func (m *GoSkipTest) GetSkipFixed64() uint64
func (m *GoSkipTest) GetSkipInt32() int32
func (m *GoSkipTest) GetSkipString() string
func (m *GoSkipTest) GetSkipgroup() *GoSkipTest_SkipGroup
func (*GoSkipTest) ProtoMessage()
func (m *GoSkipTest) Reset()
func (m *GoSkipTest) String() string
type GoSkipTest_SkipGroup struct { GroupInt32 *int32 `protobuf:"varint,16,req,name=group_int32,json=groupInt32" json:"group_int32,omitempty"` GroupString *string `protobuf:"bytes,17,req,name=group_string,json=groupString" json:"group_string,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GoSkipTest_SkipGroup) Descriptor() ([]byte, []int)
func (m *GoSkipTest_SkipGroup) GetGroupInt32() int32
func (m *GoSkipTest_SkipGroup) GetGroupString() string
func (*GoSkipTest_SkipGroup) ProtoMessage()
func (m *GoSkipTest_SkipGroup) Reset()
func (m *GoSkipTest_SkipGroup) String() string
type GoTest struct { // Some typical parameters Kind *GoTest_KIND `protobuf:"varint,1,req,name=Kind,json=kind,enum=testdata.GoTest_KIND" json:"Kind,omitempty"` Table *string `protobuf:"bytes,2,opt,name=Table,json=table" json:"Table,omitempty"` Param *int32 `protobuf:"varint,3,opt,name=Param,json=param" json:"Param,omitempty"` // Required, repeated and optional foreign fields. RequiredField *GoTestField `protobuf:"bytes,4,req,name=RequiredField,json=requiredField" json:"RequiredField,omitempty"` RepeatedField []*GoTestField `protobuf:"bytes,5,rep,name=RepeatedField,json=repeatedField" json:"RepeatedField,omitempty"` OptionalField *GoTestField `protobuf:"bytes,6,opt,name=OptionalField,json=optionalField" json:"OptionalField,omitempty"` // Required fields of all basic types F_BoolRequired *bool `protobuf:"varint,10,req,name=F_Bool_required,json=fBoolRequired" json:"F_Bool_required,omitempty"` F_Int32Required *int32 `protobuf:"varint,11,req,name=F_Int32_required,json=fInt32Required" json:"F_Int32_required,omitempty"` F_Int64Required *int64 `protobuf:"varint,12,req,name=F_Int64_required,json=fInt64Required" json:"F_Int64_required,omitempty"` F_Fixed32Required *uint32 `protobuf:"fixed32,13,req,name=F_Fixed32_required,json=fFixed32Required" json:"F_Fixed32_required,omitempty"` F_Fixed64Required *uint64 `protobuf:"fixed64,14,req,name=F_Fixed64_required,json=fFixed64Required" json:"F_Fixed64_required,omitempty"` F_Uint32Required *uint32 `protobuf:"varint,15,req,name=F_Uint32_required,json=fUint32Required" json:"F_Uint32_required,omitempty"` F_Uint64Required *uint64 `protobuf:"varint,16,req,name=F_Uint64_required,json=fUint64Required" json:"F_Uint64_required,omitempty"` F_FloatRequired *float32 `protobuf:"fixed32,17,req,name=F_Float_required,json=fFloatRequired" json:"F_Float_required,omitempty"` F_DoubleRequired *float64 `protobuf:"fixed64,18,req,name=F_Double_required,json=fDoubleRequired" json:"F_Double_required,omitempty"` F_StringRequired *string `protobuf:"bytes,19,req,name=F_String_required,json=fStringRequired" json:"F_String_required,omitempty"` F_BytesRequired []byte `protobuf:"bytes,101,req,name=F_Bytes_required,json=fBytesRequired" json:"F_Bytes_required,omitempty"` F_Sint32Required *int32 `protobuf:"zigzag32,102,req,name=F_Sint32_required,json=fSint32Required" json:"F_Sint32_required,omitempty"` F_Sint64Required *int64 `protobuf:"zigzag64,103,req,name=F_Sint64_required,json=fSint64Required" json:"F_Sint64_required,omitempty"` // Repeated fields of all basic types F_BoolRepeated []bool `protobuf:"varint,20,rep,name=F_Bool_repeated,json=fBoolRepeated" json:"F_Bool_repeated,omitempty"` F_Int32Repeated []int32 `protobuf:"varint,21,rep,name=F_Int32_repeated,json=fInt32Repeated" json:"F_Int32_repeated,omitempty"` F_Int64Repeated []int64 `protobuf:"varint,22,rep,name=F_Int64_repeated,json=fInt64Repeated" json:"F_Int64_repeated,omitempty"` F_Fixed32Repeated []uint32 `protobuf:"fixed32,23,rep,name=F_Fixed32_repeated,json=fFixed32Repeated" json:"F_Fixed32_repeated,omitempty"` F_Fixed64Repeated []uint64 `protobuf:"fixed64,24,rep,name=F_Fixed64_repeated,json=fFixed64Repeated" json:"F_Fixed64_repeated,omitempty"` F_Uint32Repeated []uint32 `protobuf:"varint,25,rep,name=F_Uint32_repeated,json=fUint32Repeated" json:"F_Uint32_repeated,omitempty"` F_Uint64Repeated []uint64 `protobuf:"varint,26,rep,name=F_Uint64_repeated,json=fUint64Repeated" json:"F_Uint64_repeated,omitempty"` F_FloatRepeated []float32 `protobuf:"fixed32,27,rep,name=F_Float_repeated,json=fFloatRepeated" json:"F_Float_repeated,omitempty"` F_DoubleRepeated []float64 `protobuf:"fixed64,28,rep,name=F_Double_repeated,json=fDoubleRepeated" json:"F_Double_repeated,omitempty"` F_StringRepeated []string `protobuf:"bytes,29,rep,name=F_String_repeated,json=fStringRepeated" json:"F_String_repeated,omitempty"` F_BytesRepeated [][]byte `protobuf:"bytes,201,rep,name=F_Bytes_repeated,json=fBytesRepeated" json:"F_Bytes_repeated,omitempty"` F_Sint32Repeated []int32 `protobuf:"zigzag32,202,rep,name=F_Sint32_repeated,json=fSint32Repeated" json:"F_Sint32_repeated,omitempty"` F_Sint64Repeated []int64 `protobuf:"zigzag64,203,rep,name=F_Sint64_repeated,json=fSint64Repeated" json:"F_Sint64_repeated,omitempty"` // Optional fields of all basic types F_BoolOptional *bool `protobuf:"varint,30,opt,name=F_Bool_optional,json=fBoolOptional" json:"F_Bool_optional,omitempty"` F_Int32Optional *int32 `protobuf:"varint,31,opt,name=F_Int32_optional,json=fInt32Optional" json:"F_Int32_optional,omitempty"` F_Int64Optional *int64 `protobuf:"varint,32,opt,name=F_Int64_optional,json=fInt64Optional" json:"F_Int64_optional,omitempty"` F_Fixed32Optional *uint32 `protobuf:"fixed32,33,opt,name=F_Fixed32_optional,json=fFixed32Optional" json:"F_Fixed32_optional,omitempty"` F_Fixed64Optional *uint64 `protobuf:"fixed64,34,opt,name=F_Fixed64_optional,json=fFixed64Optional" json:"F_Fixed64_optional,omitempty"` F_Uint32Optional *uint32 `protobuf:"varint,35,opt,name=F_Uint32_optional,json=fUint32Optional" json:"F_Uint32_optional,omitempty"` F_Uint64Optional *uint64 `protobuf:"varint,36,opt,name=F_Uint64_optional,json=fUint64Optional" json:"F_Uint64_optional,omitempty"` F_FloatOptional *float32 `protobuf:"fixed32,37,opt,name=F_Float_optional,json=fFloatOptional" json:"F_Float_optional,omitempty"` F_DoubleOptional *float64 `protobuf:"fixed64,38,opt,name=F_Double_optional,json=fDoubleOptional" json:"F_Double_optional,omitempty"` F_StringOptional *string `protobuf:"bytes,39,opt,name=F_String_optional,json=fStringOptional" json:"F_String_optional,omitempty"` F_BytesOptional []byte `protobuf:"bytes,301,opt,name=F_Bytes_optional,json=fBytesOptional" json:"F_Bytes_optional,omitempty"` F_Sint32Optional *int32 `protobuf:"zigzag32,302,opt,name=F_Sint32_optional,json=fSint32Optional" json:"F_Sint32_optional,omitempty"` F_Sint64Optional *int64 `protobuf:"zigzag64,303,opt,name=F_Sint64_optional,json=fSint64Optional" json:"F_Sint64_optional,omitempty"` // Default-valued fields of all basic types F_BoolDefaulted *bool `protobuf:"varint,40,opt,name=F_Bool_defaulted,json=fBoolDefaulted,def=1" json:"F_Bool_defaulted,omitempty"` F_Int32Defaulted *int32 `protobuf:"varint,41,opt,name=F_Int32_defaulted,json=fInt32Defaulted,def=32" json:"F_Int32_defaulted,omitempty"` F_Int64Defaulted *int64 `protobuf:"varint,42,opt,name=F_Int64_defaulted,json=fInt64Defaulted,def=64" json:"F_Int64_defaulted,omitempty"` F_Fixed32Defaulted *uint32 `protobuf:"fixed32,43,opt,name=F_Fixed32_defaulted,json=fFixed32Defaulted,def=320" json:"F_Fixed32_defaulted,omitempty"` F_Fixed64Defaulted *uint64 `protobuf:"fixed64,44,opt,name=F_Fixed64_defaulted,json=fFixed64Defaulted,def=640" json:"F_Fixed64_defaulted,omitempty"` F_Uint32Defaulted *uint32 `protobuf:"varint,45,opt,name=F_Uint32_defaulted,json=fUint32Defaulted,def=3200" json:"F_Uint32_defaulted,omitempty"` F_Uint64Defaulted *uint64 `protobuf:"varint,46,opt,name=F_Uint64_defaulted,json=fUint64Defaulted,def=6400" json:"F_Uint64_defaulted,omitempty"` F_FloatDefaulted *float32 `protobuf:"fixed32,47,opt,name=F_Float_defaulted,json=fFloatDefaulted,def=314159" json:"F_Float_defaulted,omitempty"` F_DoubleDefaulted *float64 `protobuf:"fixed64,48,opt,name=F_Double_defaulted,json=fDoubleDefaulted,def=271828" json:"F_Double_defaulted,omitempty"` F_StringDefaulted *string `protobuf:"bytes,49,opt,name=F_String_defaulted,json=fStringDefaulted,def=hello, \"world!\"\n" json:"F_String_defaulted,omitempty"` F_BytesDefaulted []byte `protobuf:"bytes,401,opt,name=F_Bytes_defaulted,json=fBytesDefaulted,def=Bignose" json:"F_Bytes_defaulted,omitempty"` F_Sint32Defaulted *int32 `protobuf:"zigzag32,402,opt,name=F_Sint32_defaulted,json=fSint32Defaulted,def=-32" json:"F_Sint32_defaulted,omitempty"` F_Sint64Defaulted *int64 `protobuf:"zigzag64,403,opt,name=F_Sint64_defaulted,json=fSint64Defaulted,def=-64" json:"F_Sint64_defaulted,omitempty"` // Packed repeated fields (no string or bytes). F_BoolRepeatedPacked []bool `protobuf:"varint,50,rep,packed,name=F_Bool_repeated_packed,json=fBoolRepeatedPacked" json:"F_Bool_repeated_packed,omitempty"` F_Int32RepeatedPacked []int32 `protobuf:"varint,51,rep,packed,name=F_Int32_repeated_packed,json=fInt32RepeatedPacked" json:"F_Int32_repeated_packed,omitempty"` F_Int64RepeatedPacked []int64 `protobuf:"varint,52,rep,packed,name=F_Int64_repeated_packed,json=fInt64RepeatedPacked" json:"F_Int64_repeated_packed,omitempty"` F_Fixed32RepeatedPacked []uint32 `protobuf:"fixed32,53,rep,packed,name=F_Fixed32_repeated_packed,json=fFixed32RepeatedPacked" json:"F_Fixed32_repeated_packed,omitempty"` F_Fixed64RepeatedPacked []uint64 `protobuf:"fixed64,54,rep,packed,name=F_Fixed64_repeated_packed,json=fFixed64RepeatedPacked" json:"F_Fixed64_repeated_packed,omitempty"` F_Uint32RepeatedPacked []uint32 `protobuf:"varint,55,rep,packed,name=F_Uint32_repeated_packed,json=fUint32RepeatedPacked" json:"F_Uint32_repeated_packed,omitempty"` F_Uint64RepeatedPacked []uint64 `protobuf:"varint,56,rep,packed,name=F_Uint64_repeated_packed,json=fUint64RepeatedPacked" json:"F_Uint64_repeated_packed,omitempty"` F_FloatRepeatedPacked []float32 `protobuf:"fixed32,57,rep,packed,name=F_Float_repeated_packed,json=fFloatRepeatedPacked" json:"F_Float_repeated_packed,omitempty"` F_DoubleRepeatedPacked []float64 `protobuf:"fixed64,58,rep,packed,name=F_Double_repeated_packed,json=fDoubleRepeatedPacked" json:"F_Double_repeated_packed,omitempty"` F_Sint32RepeatedPacked []int32 `protobuf:"zigzag32,502,rep,packed,name=F_Sint32_repeated_packed,json=fSint32RepeatedPacked" json:"F_Sint32_repeated_packed,omitempty"` F_Sint64RepeatedPacked []int64 `protobuf:"zigzag64,503,rep,packed,name=F_Sint64_repeated_packed,json=fSint64RepeatedPacked" json:"F_Sint64_repeated_packed,omitempty"` Requiredgroup *GoTest_RequiredGroup `protobuf:"group,70,req,name=RequiredGroup,json=requiredgroup" json:"requiredgroup,omitempty"` Repeatedgroup []*GoTest_RepeatedGroup `protobuf:"group,80,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"` Optionalgroup *GoTest_OptionalGroup `protobuf:"group,90,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GoTest) Descriptor() ([]byte, []int)
func (m *GoTest) GetF_BoolDefaulted() bool
func (m *GoTest) GetF_BoolOptional() bool
func (m *GoTest) GetF_BoolRepeated() []bool
func (m *GoTest) GetF_BoolRepeatedPacked() []bool
func (m *GoTest) GetF_BoolRequired() bool
func (m *GoTest) GetF_BytesDefaulted() []byte
func (m *GoTest) GetF_BytesOptional() []byte
func (m *GoTest) GetF_BytesRepeated() [][]byte
func (m *GoTest) GetF_BytesRequired() []byte
func (m *GoTest) GetF_DoubleDefaulted() float64
func (m *GoTest) GetF_DoubleOptional() float64
func (m *GoTest) GetF_DoubleRepeated() []float64
func (m *GoTest) GetF_DoubleRepeatedPacked() []float64
func (m *GoTest) GetF_DoubleRequired() float64
func (m *GoTest) GetF_Fixed32Defaulted() uint32
func (m *GoTest) GetF_Fixed32Optional() uint32
func (m *GoTest) GetF_Fixed32Repeated() []uint32
func (m *GoTest) GetF_Fixed32RepeatedPacked() []uint32
func (m *GoTest) GetF_Fixed32Required() uint32
func (m *GoTest) GetF_Fixed64Defaulted() uint64
func (m *GoTest) GetF_Fixed64Optional() uint64
func (m *GoTest) GetF_Fixed64Repeated() []uint64
func (m *GoTest) GetF_Fixed64RepeatedPacked() []uint64
func (m *GoTest) GetF_Fixed64Required() uint64
func (m *GoTest) GetF_FloatDefaulted() float32
func (m *GoTest) GetF_FloatOptional() float32
func (m *GoTest) GetF_FloatRepeated() []float32
func (m *GoTest) GetF_FloatRepeatedPacked() []float32
func (m *GoTest) GetF_FloatRequired() float32
func (m *GoTest) GetF_Int32Defaulted() int32
func (m *GoTest) GetF_Int32Optional() int32
func (m *GoTest) GetF_Int32Repeated() []int32
func (m *GoTest) GetF_Int32RepeatedPacked() []int32
func (m *GoTest) GetF_Int32Required() int32
func (m *GoTest) GetF_Int64Defaulted() int64
func (m *GoTest) GetF_Int64Optional() int64
func (m *GoTest) GetF_Int64Repeated() []int64
func (m *GoTest) GetF_Int64RepeatedPacked() []int64
func (m *GoTest) GetF_Int64Required() int64
func (m *GoTest) GetF_Sint32Defaulted() int32
func (m *GoTest) GetF_Sint32Optional() int32
func (m *GoTest) GetF_Sint32Repeated() []int32
func (m *GoTest) GetF_Sint32RepeatedPacked() []int32
func (m *GoTest) GetF_Sint32Required() int32
func (m *GoTest) GetF_Sint64Defaulted() int64
func (m *GoTest) GetF_Sint64Optional() int64
func (m *GoTest) GetF_Sint64Repeated() []int64
func (m *GoTest) GetF_Sint64RepeatedPacked() []int64
func (m *GoTest) GetF_Sint64Required() int64
func (m *GoTest) GetF_StringDefaulted() string
func (m *GoTest) GetF_StringOptional() string
func (m *GoTest) GetF_StringRepeated() []string
func (m *GoTest) GetF_StringRequired() string
func (m *GoTest) GetF_Uint32Defaulted() uint32
func (m *GoTest) GetF_Uint32Optional() uint32
func (m *GoTest) GetF_Uint32Repeated() []uint32
func (m *GoTest) GetF_Uint32RepeatedPacked() []uint32
func (m *GoTest) GetF_Uint32Required() uint32
func (m *GoTest) GetF_Uint64Defaulted() uint64
func (m *GoTest) GetF_Uint64Optional() uint64
func (m *GoTest) GetF_Uint64Repeated() []uint64
func (m *GoTest) GetF_Uint64RepeatedPacked() []uint64
func (m *GoTest) GetF_Uint64Required() uint64
func (m *GoTest) GetKind() GoTest_KIND
func (m *GoTest) GetOptionalField() *GoTestField
func (m *GoTest) GetOptionalgroup() *GoTest_OptionalGroup
func (m *GoTest) GetParam() int32
func (m *GoTest) GetRepeatedField() []*GoTestField
func (m *GoTest) GetRepeatedgroup() []*GoTest_RepeatedGroup
func (m *GoTest) GetRequiredField() *GoTestField
func (m *GoTest) GetRequiredgroup() *GoTest_RequiredGroup
func (m *GoTest) GetTable() string
func (*GoTest) ProtoMessage()
func (m *GoTest) Reset()
func (m *GoTest) String() string
type GoTestField struct { Label *string `protobuf:"bytes,1,req,name=Label,json=label" json:"Label,omitempty"` Type *string `protobuf:"bytes,2,req,name=Type,json=type" json:"Type,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GoTestField) Descriptor() ([]byte, []int)
func (m *GoTestField) GetLabel() string
func (m *GoTestField) GetType() string
func (*GoTestField) ProtoMessage()
func (m *GoTestField) Reset()
func (m *GoTestField) String() string
type GoTestRequiredGroupField struct { Group *GoTestRequiredGroupField_Group `protobuf:"group,1,req,name=Group,json=group" json:"group,omitempty"` XXX_unrecognized []byte `json:"-"` }
For testing a group containing a required field.
func (*GoTestRequiredGroupField) Descriptor() ([]byte, []int)
func (m *GoTestRequiredGroupField) GetGroup() *GoTestRequiredGroupField_Group
func (*GoTestRequiredGroupField) ProtoMessage()
func (m *GoTestRequiredGroupField) Reset()
func (m *GoTestRequiredGroupField) String() string
type GoTestRequiredGroupField_Group struct { Field *int32 `protobuf:"varint,2,req,name=Field,json=field" json:"Field,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GoTestRequiredGroupField_Group) Descriptor() ([]byte, []int)
func (m *GoTestRequiredGroupField_Group) GetField() int32
func (*GoTestRequiredGroupField_Group) ProtoMessage()
func (m *GoTestRequiredGroupField_Group) Reset()
func (m *GoTestRequiredGroupField_Group) String() string
type GoTest_KIND int32
An enum, for completeness.
const ( GoTest_VOID GoTest_KIND = 0 // Basic types GoTest_BOOL GoTest_KIND = 1 GoTest_BYTES GoTest_KIND = 2 GoTest_FINGERPRINT GoTest_KIND = 3 GoTest_FLOAT GoTest_KIND = 4 GoTest_INT GoTest_KIND = 5 GoTest_STRING GoTest_KIND = 6 GoTest_TIME GoTest_KIND = 7 // Groupings GoTest_TUPLE GoTest_KIND = 8 GoTest_ARRAY GoTest_KIND = 9 GoTest_MAP GoTest_KIND = 10 // Table types GoTest_TABLE GoTest_KIND = 11 // Functions GoTest_FUNCTION GoTest_KIND = 12 )
func (x GoTest_KIND) Enum() *GoTest_KIND
func (GoTest_KIND) EnumDescriptor() ([]byte, []int)
func (x GoTest_KIND) String() string
func (x *GoTest_KIND) UnmarshalJSON(data []byte) error
type GoTest_OptionalGroup struct { RequiredField *string `protobuf:"bytes,91,req,name=RequiredField,json=requiredField" json:"RequiredField,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GoTest_OptionalGroup) Descriptor() ([]byte, []int)
func (m *GoTest_OptionalGroup) GetRequiredField() string
func (*GoTest_OptionalGroup) ProtoMessage()
func (m *GoTest_OptionalGroup) Reset()
func (m *GoTest_OptionalGroup) String() string
type GoTest_RepeatedGroup struct { RequiredField *string `protobuf:"bytes,81,req,name=RequiredField,json=requiredField" json:"RequiredField,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GoTest_RepeatedGroup) Descriptor() ([]byte, []int)
func (m *GoTest_RepeatedGroup) GetRequiredField() string
func (*GoTest_RepeatedGroup) ProtoMessage()
func (m *GoTest_RepeatedGroup) Reset()
func (m *GoTest_RepeatedGroup) String() string
type GoTest_RequiredGroup struct { RequiredField *string `protobuf:"bytes,71,req,name=RequiredField,json=requiredField" json:"RequiredField,omitempty"` XXX_unrecognized []byte `json:"-"` }
Required, repeated, and optional groups.
func (*GoTest_RequiredGroup) Descriptor() ([]byte, []int)
func (m *GoTest_RequiredGroup) GetRequiredField() string
func (*GoTest_RequiredGroup) ProtoMessage()
func (m *GoTest_RequiredGroup) Reset()
func (m *GoTest_RequiredGroup) String() string
type GroupNew struct { G *GroupNew_G `protobuf:"group,101,opt,name=G,json=g" json:"g,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GroupNew) Descriptor() ([]byte, []int)
func (m *GroupNew) GetG() *GroupNew_G
func (*GroupNew) ProtoMessage()
func (m *GroupNew) Reset()
func (m *GroupNew) String() string
type GroupNew_G struct { X *int32 `protobuf:"varint,2,opt,name=x" json:"x,omitempty"` Y *int32 `protobuf:"varint,3,opt,name=y" json:"y,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GroupNew_G) Descriptor() ([]byte, []int)
func (m *GroupNew_G) GetX() int32
func (m *GroupNew_G) GetY() int32
func (*GroupNew_G) ProtoMessage()
func (m *GroupNew_G) Reset()
func (m *GroupNew_G) String() string
type GroupOld struct { G *GroupOld_G `protobuf:"group,101,opt,name=G,json=g" json:"g,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GroupOld) Descriptor() ([]byte, []int)
func (m *GroupOld) GetG() *GroupOld_G
func (*GroupOld) ProtoMessage()
func (m *GroupOld) Reset()
func (m *GroupOld) String() string
type GroupOld_G struct { X *int32 `protobuf:"varint,2,opt,name=x" json:"x,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GroupOld_G) Descriptor() ([]byte, []int)
func (m *GroupOld_G) GetX() int32
func (*GroupOld_G) ProtoMessage()
func (m *GroupOld_G) Reset()
func (m *GroupOld_G) String() string
type InnerMessage struct { Host *string `protobuf:"bytes,1,req,name=host" json:"host,omitempty"` Port *int32 `protobuf:"varint,2,opt,name=port,def=4000" json:"port,omitempty"` Connected *bool `protobuf:"varint,3,opt,name=connected" json:"connected,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InnerMessage) Descriptor() ([]byte, []int)
func (m *InnerMessage) GetConnected() bool
func (m *InnerMessage) GetHost() string
func (m *InnerMessage) GetPort() int32
func (*InnerMessage) ProtoMessage()
func (m *InnerMessage) Reset()
func (m *InnerMessage) String() string
type MaxTag struct { // Maximum possible tag number. LastField *string `protobuf:"bytes,536870911,opt,name=last_field,json=lastField" json:"last_field,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MaxTag) Descriptor() ([]byte, []int)
func (m *MaxTag) GetLastField() string
func (*MaxTag) ProtoMessage()
func (m *MaxTag) Reset()
func (m *MaxTag) String() string
type MessageList struct { Message []*MessageList_Message `protobuf:"group,1,rep,name=Message,json=message" json:"message,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MessageList) Descriptor() ([]byte, []int)
func (m *MessageList) GetMessage() []*MessageList_Message
func (*MessageList) ProtoMessage()
func (m *MessageList) Reset()
func (m *MessageList) String() string
type MessageList_Message struct { Name *string `protobuf:"bytes,2,req,name=name" json:"name,omitempty"` Count *int32 `protobuf:"varint,3,req,name=count" json:"count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MessageList_Message) Descriptor() ([]byte, []int)
func (m *MessageList_Message) GetCount() int32
func (m *MessageList_Message) GetName() string
func (*MessageList_Message) ProtoMessage()
func (m *MessageList_Message) Reset()
func (m *MessageList_Message) String() string
type MessageWithMap struct { NameMapping map[int32]string `protobuf:"bytes,1,rep,name=name_mapping,json=nameMapping" json:"name_mapping,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` MsgMapping map[int64]*FloatingPoint `protobuf:"bytes,2,rep,name=msg_mapping,json=msgMapping" json:"msg_mapping,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` ByteMapping map[bool][]byte `protobuf:"bytes,3,rep,name=byte_mapping,json=byteMapping" json:"byte_mapping,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` StrToStr map[string]string `protobuf:"bytes,4,rep,name=str_to_str,json=strToStr" json:"str_to_str,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` XXX_unrecognized []byte `json:"-"` }
func (*MessageWithMap) Descriptor() ([]byte, []int)
func (m *MessageWithMap) GetByteMapping() map[bool][]byte
func (m *MessageWithMap) GetMsgMapping() map[int64]*FloatingPoint
func (m *MessageWithMap) GetNameMapping() map[int32]string
func (m *MessageWithMap) GetStrToStr() map[string]string
func (*MessageWithMap) ProtoMessage()
func (m *MessageWithMap) Reset()
func (m *MessageWithMap) String() string
type MoreRepeated struct { Bools []bool `protobuf:"varint,1,rep,name=bools" json:"bools,omitempty"` BoolsPacked []bool `protobuf:"varint,2,rep,packed,name=bools_packed,json=boolsPacked" json:"bools_packed,omitempty"` Ints []int32 `protobuf:"varint,3,rep,name=ints" json:"ints,omitempty"` IntsPacked []int32 `protobuf:"varint,4,rep,packed,name=ints_packed,json=intsPacked" json:"ints_packed,omitempty"` Int64SPacked []int64 `protobuf:"varint,7,rep,packed,name=int64s_packed,json=int64sPacked" json:"int64s_packed,omitempty"` Strings []string `protobuf:"bytes,5,rep,name=strings" json:"strings,omitempty"` Fixeds []uint32 `protobuf:"fixed32,6,rep,name=fixeds" json:"fixeds,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MoreRepeated) Descriptor() ([]byte, []int)
func (m *MoreRepeated) GetBools() []bool
func (m *MoreRepeated) GetBoolsPacked() []bool
func (m *MoreRepeated) GetFixeds() []uint32
func (m *MoreRepeated) GetInt64SPacked() []int64
func (m *MoreRepeated) GetInts() []int32
func (m *MoreRepeated) GetIntsPacked() []int32
func (m *MoreRepeated) GetStrings() []string
func (*MoreRepeated) ProtoMessage()
func (m *MoreRepeated) Reset()
func (m *MoreRepeated) String() string
type MyMessage struct { Count *int32 `protobuf:"varint,1,req,name=count" json:"count,omitempty"` Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Quote *string `protobuf:"bytes,3,opt,name=quote" json:"quote,omitempty"` Pet []string `protobuf:"bytes,4,rep,name=pet" json:"pet,omitempty"` Inner *InnerMessage `protobuf:"bytes,5,opt,name=inner" json:"inner,omitempty"` Others []*OtherMessage `protobuf:"bytes,6,rep,name=others" json:"others,omitempty"` WeMustGoDeeper *RequiredInnerMessage `protobuf:"bytes,13,opt,name=we_must_go_deeper,json=weMustGoDeeper" json:"we_must_go_deeper,omitempty"` RepInner []*InnerMessage `protobuf:"bytes,12,rep,name=rep_inner,json=repInner" json:"rep_inner,omitempty"` Bikeshed *MyMessage_Color `protobuf:"varint,7,opt,name=bikeshed,enum=testdata.MyMessage_Color" json:"bikeshed,omitempty"` Somegroup *MyMessage_SomeGroup `protobuf:"group,8,opt,name=SomeGroup,json=somegroup" json:"somegroup,omitempty"` // This field becomes [][]byte in the generated code. RepBytes [][]byte `protobuf:"bytes,10,rep,name=rep_bytes,json=repBytes" json:"rep_bytes,omitempty"` Bigfloat *float64 `protobuf:"fixed64,11,opt,name=bigfloat" json:"bigfloat,omitempty"` proto.XXX_InternalExtensions `json:"-"` XXX_unrecognized []byte `json:"-"` }
func (*MyMessage) Descriptor() ([]byte, []int)
func (*MyMessage) ExtensionRangeArray() []proto.ExtensionRange
func (m *MyMessage) GetBigfloat() float64
func (m *MyMessage) GetBikeshed() MyMessage_Color
func (m *MyMessage) GetCount() int32
func (m *MyMessage) GetInner() *InnerMessage
func (m *MyMessage) GetName() string
func (m *MyMessage) GetOthers() []*OtherMessage
func (m *MyMessage) GetPet() []string
func (m *MyMessage) GetQuote() string
func (m *MyMessage) GetRepBytes() [][]byte
func (m *MyMessage) GetRepInner() []*InnerMessage
func (m *MyMessage) GetSomegroup() *MyMessage_SomeGroup
func (m *MyMessage) GetWeMustGoDeeper() *RequiredInnerMessage
func (*MyMessage) ProtoMessage()
func (m *MyMessage) Reset()
func (m *MyMessage) String() string
type MyMessageSet struct { proto.XXX_InternalExtensions `json:"-"` XXX_unrecognized []byte `json:"-"` }
func (*MyMessageSet) Descriptor() ([]byte, []int)
func (*MyMessageSet) ExtensionRangeArray() []proto.ExtensionRange
func (m *MyMessageSet) Marshal() ([]byte, error)
func (m *MyMessageSet) MarshalJSON() ([]byte, error)
func (*MyMessageSet) ProtoMessage()
func (m *MyMessageSet) Reset()
func (m *MyMessageSet) String() string
func (m *MyMessageSet) Unmarshal(buf []byte) error
func (m *MyMessageSet) UnmarshalJSON(buf []byte) error
type MyMessage_Color int32
const ( MyMessage_RED MyMessage_Color = 0 MyMessage_GREEN MyMessage_Color = 1 MyMessage_BLUE MyMessage_Color = 2 )
func (x MyMessage_Color) Enum() *MyMessage_Color
func (MyMessage_Color) EnumDescriptor() ([]byte, []int)
func (x MyMessage_Color) String() string
func (x *MyMessage_Color) UnmarshalJSON(data []byte) error
type MyMessage_SomeGroup struct { GroupField *int32 `protobuf:"varint,9,opt,name=group_field,json=groupField" json:"group_field,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MyMessage_SomeGroup) Descriptor() ([]byte, []int)
func (m *MyMessage_SomeGroup) GetGroupField() int32
func (*MyMessage_SomeGroup) ProtoMessage()
func (m *MyMessage_SomeGroup) Reset()
func (m *MyMessage_SomeGroup) String() string
type NewMessage struct { Nested *NewMessage_Nested `protobuf:"bytes,1,opt,name=nested" json:"nested,omitempty"` // This is an int32 in OldMessage. Num *int64 `protobuf:"varint,2,opt,name=num" json:"num,omitempty"` XXX_unrecognized []byte `json:"-"` }
NewMessage is wire compatible with OldMessage; imagine it as a future version.
func (*NewMessage) Descriptor() ([]byte, []int)
func (m *NewMessage) GetNested() *NewMessage_Nested
func (m *NewMessage) GetNum() int64
func (*NewMessage) ProtoMessage()
func (m *NewMessage) Reset()
func (m *NewMessage) String() string
type NewMessage_Nested struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` FoodGroup *string `protobuf:"bytes,2,opt,name=food_group,json=foodGroup" json:"food_group,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*NewMessage_Nested) Descriptor() ([]byte, []int)
func (m *NewMessage_Nested) GetFoodGroup() string
func (m *NewMessage_Nested) GetName() string
func (*NewMessage_Nested) ProtoMessage()
func (m *NewMessage_Nested) Reset()
func (m *NewMessage_Nested) String() string
type NonPackedTest struct { A []int32 `protobuf:"varint,1,rep,name=a" json:"a,omitempty"` XXX_unrecognized []byte `json:"-"` }
For testing packed/non-packed decoder switching. A serialized instance of one should be deserializable as the other.
func (*NonPackedTest) Descriptor() ([]byte, []int)
func (m *NonPackedTest) GetA() []int32
func (*NonPackedTest) ProtoMessage()
func (m *NonPackedTest) Reset()
func (m *NonPackedTest) String() string
type OldMessage struct { Nested *OldMessage_Nested `protobuf:"bytes,1,opt,name=nested" json:"nested,omitempty"` Num *int32 `protobuf:"varint,2,opt,name=num" json:"num,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*OldMessage) Descriptor() ([]byte, []int)
func (m *OldMessage) GetNested() *OldMessage_Nested
func (m *OldMessage) GetNum() int32
func (*OldMessage) ProtoMessage()
func (m *OldMessage) Reset()
func (m *OldMessage) String() string
type OldMessage_Nested struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*OldMessage_Nested) Descriptor() ([]byte, []int)
func (m *OldMessage_Nested) GetName() string
func (*OldMessage_Nested) ProtoMessage()
func (m *OldMessage_Nested) Reset()
func (m *OldMessage_Nested) String() string
type Oneof struct { // Types that are valid to be assigned to Union: // *Oneof_F_Bool // *Oneof_F_Int32 // *Oneof_F_Int64 // *Oneof_F_Fixed32 // *Oneof_F_Fixed64 // *Oneof_F_Uint32 // *Oneof_F_Uint64 // *Oneof_F_Float // *Oneof_F_Double // *Oneof_F_String // *Oneof_F_Bytes // *Oneof_F_Sint32 // *Oneof_F_Sint64 // *Oneof_F_Enum // *Oneof_F_Message // *Oneof_FGroup // *Oneof_F_Largest_Tag Union isOneof_Union `protobuf_oneof:"union"` // Types that are valid to be assigned to Tormato: // *Oneof_Value Tormato isOneof_Tormato `protobuf_oneof:"tormato"` XXX_unrecognized []byte `json:"-"` }
func (*Oneof) Descriptor() ([]byte, []int)
func (m *Oneof) GetFGroup() *Oneof_F_Group
func (m *Oneof) GetF_Bool() bool
func (m *Oneof) GetF_Bytes() []byte
func (m *Oneof) GetF_Double() float64
func (m *Oneof) GetF_Enum() MyMessage_Color
func (m *Oneof) GetF_Fixed32() uint32
func (m *Oneof) GetF_Fixed64() uint64
func (m *Oneof) GetF_Float() float32
func (m *Oneof) GetF_Int32() int32
func (m *Oneof) GetF_Int64() int64
func (m *Oneof) GetF_Largest_Tag() int32
func (m *Oneof) GetF_Message() *GoTestField
func (m *Oneof) GetF_Sint32() int32
func (m *Oneof) GetF_Sint64() int64
func (m *Oneof) GetF_String() string
func (m *Oneof) GetF_Uint32() uint32
func (m *Oneof) GetF_Uint64() uint64
func (m *Oneof) GetTormato() isOneof_Tormato
func (m *Oneof) GetUnion() isOneof_Union
func (m *Oneof) GetValue() int32
func (*Oneof) ProtoMessage()
func (m *Oneof) Reset()
func (m *Oneof) String() string
func (*Oneof) 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 Oneof_FGroup struct { FGroup *Oneof_F_Group `protobuf:"group,16,opt,name=F_Group,json=fGroup,oneof"` }
type Oneof_F_Bool struct { F_Bool bool `protobuf:"varint,1,opt,name=F_Bool,json=fBool,oneof"` }
type Oneof_F_Bytes struct { F_Bytes []byte `protobuf:"bytes,11,opt,name=F_Bytes,json=fBytes,oneof"` }
type Oneof_F_Double struct { F_Double float64 `protobuf:"fixed64,9,opt,name=F_Double,json=fDouble,oneof"` }
type Oneof_F_Enum struct { F_Enum MyMessage_Color `protobuf:"varint,14,opt,name=F_Enum,json=fEnum,enum=testdata.MyMessage_Color,oneof"` }
type Oneof_F_Fixed32 struct { F_Fixed32 uint32 `protobuf:"fixed32,4,opt,name=F_Fixed32,json=fFixed32,oneof"` }
type Oneof_F_Fixed64 struct { F_Fixed64 uint64 `protobuf:"fixed64,5,opt,name=F_Fixed64,json=fFixed64,oneof"` }
type Oneof_F_Float struct { F_Float float32 `protobuf:"fixed32,8,opt,name=F_Float,json=fFloat,oneof"` }
type Oneof_F_Group struct { X *int32 `protobuf:"varint,17,opt,name=x" json:"x,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Oneof_F_Group) Descriptor() ([]byte, []int)
func (m *Oneof_F_Group) GetX() int32
func (*Oneof_F_Group) ProtoMessage()
func (m *Oneof_F_Group) Reset()
func (m *Oneof_F_Group) String() string
type Oneof_F_Int32 struct { F_Int32 int32 `protobuf:"varint,2,opt,name=F_Int32,json=fInt32,oneof"` }
type Oneof_F_Int64 struct { F_Int64 int64 `protobuf:"varint,3,opt,name=F_Int64,json=fInt64,oneof"` }
type Oneof_F_Largest_Tag struct { F_Largest_Tag int32 `protobuf:"varint,536870911,opt,name=F_Largest_Tag,json=fLargestTag,oneof"` }
type Oneof_F_Message struct { F_Message *GoTestField `protobuf:"bytes,15,opt,name=F_Message,json=fMessage,oneof"` }
type Oneof_F_Sint32 struct { F_Sint32 int32 `protobuf:"zigzag32,12,opt,name=F_Sint32,json=fSint32,oneof"` }
type Oneof_F_Sint64 struct { F_Sint64 int64 `protobuf:"zigzag64,13,opt,name=F_Sint64,json=fSint64,oneof"` }
type Oneof_F_String struct { F_String string `protobuf:"bytes,10,opt,name=F_String,json=fString,oneof"` }
type Oneof_F_Uint32 struct { F_Uint32 uint32 `protobuf:"varint,6,opt,name=F_Uint32,json=fUint32,oneof"` }
type Oneof_F_Uint64 struct { F_Uint64 uint64 `protobuf:"varint,7,opt,name=F_Uint64,json=fUint64,oneof"` }
type Oneof_Value struct { Value int32 `protobuf:"varint,100,opt,name=value,oneof"` }
type OtherMessage struct { Key *int64 `protobuf:"varint,1,opt,name=key" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` Weight *float32 `protobuf:"fixed32,3,opt,name=weight" json:"weight,omitempty"` Inner *InnerMessage `protobuf:"bytes,4,opt,name=inner" json:"inner,omitempty"` proto.XXX_InternalExtensions `json:"-"` XXX_unrecognized []byte `json:"-"` }
func (*OtherMessage) Descriptor() ([]byte, []int)
func (*OtherMessage) ExtensionRangeArray() []proto.ExtensionRange
func (m *OtherMessage) GetInner() *InnerMessage
func (m *OtherMessage) GetKey() int64
func (m *OtherMessage) GetValue() []byte
func (m *OtherMessage) GetWeight() float32
func (*OtherMessage) ProtoMessage()
func (m *OtherMessage) Reset()
func (m *OtherMessage) String() string
type PackedTest struct { B []int32 `protobuf:"varint,1,rep,packed,name=b" json:"b,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PackedTest) Descriptor() ([]byte, []int)
func (m *PackedTest) GetB() []int32
func (*PackedTest) ProtoMessage()
func (m *PackedTest) Reset()
func (m *PackedTest) String() string
type RepeatedEnum struct { Color []RepeatedEnum_Color `protobuf:"varint,1,rep,name=color,enum=testdata.RepeatedEnum_Color" json:"color,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RepeatedEnum) Descriptor() ([]byte, []int)
func (m *RepeatedEnum) GetColor() []RepeatedEnum_Color
func (*RepeatedEnum) ProtoMessage()
func (m *RepeatedEnum) Reset()
func (m *RepeatedEnum) String() string
type RepeatedEnum_Color int32
const ( RepeatedEnum_RED RepeatedEnum_Color = 1 )
func (x RepeatedEnum_Color) Enum() *RepeatedEnum_Color
func (RepeatedEnum_Color) EnumDescriptor() ([]byte, []int)
func (x RepeatedEnum_Color) String() string
func (x *RepeatedEnum_Color) UnmarshalJSON(data []byte) error
type RequiredInnerMessage struct { LeoFinallyWonAnOscar *InnerMessage `protobuf:"bytes,1,req,name=leo_finally_won_an_oscar,json=leoFinallyWonAnOscar" json:"leo_finally_won_an_oscar,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RequiredInnerMessage) Descriptor() ([]byte, []int)
func (m *RequiredInnerMessage) GetLeoFinallyWonAnOscar() *InnerMessage
func (*RequiredInnerMessage) ProtoMessage()
func (m *RequiredInnerMessage) Reset()
func (m *RequiredInnerMessage) String() string
type Strings struct { StringField *string `protobuf:"bytes,1,opt,name=string_field,json=stringField" json:"string_field,omitempty"` BytesField []byte `protobuf:"bytes,2,opt,name=bytes_field,json=bytesField" json:"bytes_field,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Strings) Descriptor() ([]byte, []int)
func (m *Strings) GetBytesField() []byte
func (m *Strings) GetStringField() string
func (*Strings) ProtoMessage()
func (m *Strings) Reset()
func (m *Strings) String() string
type SubDefaults struct { N *int64 `protobuf:"varint,1,opt,name=n,def=7" json:"n,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SubDefaults) Descriptor() ([]byte, []int)
func (m *SubDefaults) GetN() int64
func (*SubDefaults) ProtoMessage()
func (m *SubDefaults) Reset()
func (m *SubDefaults) String() string