github.com/matm/etcd@v0.3.1-0.20140328024009-5b4a473f1453/third_party/code.google.com/p/goprotobuf/proto/testdata/test.pb.go (about)

     1  // Code generated by protoc-gen-go.
     2  // source: test.proto
     3  // DO NOT EDIT!
     4  
     5  package testdata
     6  
     7  import proto "github.com/coreos/etcd/third_party/code.google.com/p/goprotobuf/proto"
     8  import json "encoding/json"
     9  import math "math"
    10  
    11  // Reference proto, json, and math imports to suppress error if they are not otherwise used.
    12  var _ = proto.Marshal
    13  var _ = &json.SyntaxError{}
    14  var _ = math.Inf
    15  
    16  type FOO int32
    17  
    18  const (
    19  	FOO_FOO1 FOO = 1
    20  )
    21  
    22  var FOO_name = map[int32]string{
    23  	1: "FOO1",
    24  }
    25  var FOO_value = map[string]int32{
    26  	"FOO1": 1,
    27  }
    28  
    29  func (x FOO) Enum() *FOO {
    30  	p := new(FOO)
    31  	*p = x
    32  	return p
    33  }
    34  func (x FOO) String() string {
    35  	return proto.EnumName(FOO_name, int32(x))
    36  }
    37  func (x *FOO) UnmarshalJSON(data []byte) error {
    38  	value, err := proto.UnmarshalJSONEnum(FOO_value, data, "FOO")
    39  	if err != nil {
    40  		return err
    41  	}
    42  	*x = FOO(value)
    43  	return nil
    44  }
    45  
    46  // An enum, for completeness.
    47  type GoTest_KIND int32
    48  
    49  const (
    50  	GoTest_VOID	GoTest_KIND	= 0
    51  	// Basic types
    52  	GoTest_BOOL		GoTest_KIND	= 1
    53  	GoTest_BYTES		GoTest_KIND	= 2
    54  	GoTest_FINGERPRINT	GoTest_KIND	= 3
    55  	GoTest_FLOAT		GoTest_KIND	= 4
    56  	GoTest_INT		GoTest_KIND	= 5
    57  	GoTest_STRING		GoTest_KIND	= 6
    58  	GoTest_TIME		GoTest_KIND	= 7
    59  	// Groupings
    60  	GoTest_TUPLE	GoTest_KIND	= 8
    61  	GoTest_ARRAY	GoTest_KIND	= 9
    62  	GoTest_MAP	GoTest_KIND	= 10
    63  	// Table types
    64  	GoTest_TABLE	GoTest_KIND	= 11
    65  	// Functions
    66  	GoTest_FUNCTION	GoTest_KIND	= 12
    67  )
    68  
    69  var GoTest_KIND_name = map[int32]string{
    70  	0:	"VOID",
    71  	1:	"BOOL",
    72  	2:	"BYTES",
    73  	3:	"FINGERPRINT",
    74  	4:	"FLOAT",
    75  	5:	"INT",
    76  	6:	"STRING",
    77  	7:	"TIME",
    78  	8:	"TUPLE",
    79  	9:	"ARRAY",
    80  	10:	"MAP",
    81  	11:	"TABLE",
    82  	12:	"FUNCTION",
    83  }
    84  var GoTest_KIND_value = map[string]int32{
    85  	"VOID":		0,
    86  	"BOOL":		1,
    87  	"BYTES":	2,
    88  	"FINGERPRINT":	3,
    89  	"FLOAT":	4,
    90  	"INT":		5,
    91  	"STRING":	6,
    92  	"TIME":		7,
    93  	"TUPLE":	8,
    94  	"ARRAY":	9,
    95  	"MAP":		10,
    96  	"TABLE":	11,
    97  	"FUNCTION":	12,
    98  }
    99  
   100  func (x GoTest_KIND) Enum() *GoTest_KIND {
   101  	p := new(GoTest_KIND)
   102  	*p = x
   103  	return p
   104  }
   105  func (x GoTest_KIND) String() string {
   106  	return proto.EnumName(GoTest_KIND_name, int32(x))
   107  }
   108  func (x *GoTest_KIND) UnmarshalJSON(data []byte) error {
   109  	value, err := proto.UnmarshalJSONEnum(GoTest_KIND_value, data, "GoTest_KIND")
   110  	if err != nil {
   111  		return err
   112  	}
   113  	*x = GoTest_KIND(value)
   114  	return nil
   115  }
   116  
   117  type MyMessage_Color int32
   118  
   119  const (
   120  	MyMessage_RED	MyMessage_Color	= 0
   121  	MyMessage_GREEN	MyMessage_Color	= 1
   122  	MyMessage_BLUE	MyMessage_Color	= 2
   123  )
   124  
   125  var MyMessage_Color_name = map[int32]string{
   126  	0:	"RED",
   127  	1:	"GREEN",
   128  	2:	"BLUE",
   129  }
   130  var MyMessage_Color_value = map[string]int32{
   131  	"RED":		0,
   132  	"GREEN":	1,
   133  	"BLUE":		2,
   134  }
   135  
   136  func (x MyMessage_Color) Enum() *MyMessage_Color {
   137  	p := new(MyMessage_Color)
   138  	*p = x
   139  	return p
   140  }
   141  func (x MyMessage_Color) String() string {
   142  	return proto.EnumName(MyMessage_Color_name, int32(x))
   143  }
   144  func (x *MyMessage_Color) UnmarshalJSON(data []byte) error {
   145  	value, err := proto.UnmarshalJSONEnum(MyMessage_Color_value, data, "MyMessage_Color")
   146  	if err != nil {
   147  		return err
   148  	}
   149  	*x = MyMessage_Color(value)
   150  	return nil
   151  }
   152  
   153  type Defaults_Color int32
   154  
   155  const (
   156  	Defaults_RED	Defaults_Color	= 0
   157  	Defaults_GREEN	Defaults_Color	= 1
   158  	Defaults_BLUE	Defaults_Color	= 2
   159  )
   160  
   161  var Defaults_Color_name = map[int32]string{
   162  	0:	"RED",
   163  	1:	"GREEN",
   164  	2:	"BLUE",
   165  }
   166  var Defaults_Color_value = map[string]int32{
   167  	"RED":		0,
   168  	"GREEN":	1,
   169  	"BLUE":		2,
   170  }
   171  
   172  func (x Defaults_Color) Enum() *Defaults_Color {
   173  	p := new(Defaults_Color)
   174  	*p = x
   175  	return p
   176  }
   177  func (x Defaults_Color) String() string {
   178  	return proto.EnumName(Defaults_Color_name, int32(x))
   179  }
   180  func (x *Defaults_Color) UnmarshalJSON(data []byte) error {
   181  	value, err := proto.UnmarshalJSONEnum(Defaults_Color_value, data, "Defaults_Color")
   182  	if err != nil {
   183  		return err
   184  	}
   185  	*x = Defaults_Color(value)
   186  	return nil
   187  }
   188  
   189  type RepeatedEnum_Color int32
   190  
   191  const (
   192  	RepeatedEnum_RED RepeatedEnum_Color = 1
   193  )
   194  
   195  var RepeatedEnum_Color_name = map[int32]string{
   196  	1: "RED",
   197  }
   198  var RepeatedEnum_Color_value = map[string]int32{
   199  	"RED": 1,
   200  }
   201  
   202  func (x RepeatedEnum_Color) Enum() *RepeatedEnum_Color {
   203  	p := new(RepeatedEnum_Color)
   204  	*p = x
   205  	return p
   206  }
   207  func (x RepeatedEnum_Color) String() string {
   208  	return proto.EnumName(RepeatedEnum_Color_name, int32(x))
   209  }
   210  func (x *RepeatedEnum_Color) UnmarshalJSON(data []byte) error {
   211  	value, err := proto.UnmarshalJSONEnum(RepeatedEnum_Color_value, data, "RepeatedEnum_Color")
   212  	if err != nil {
   213  		return err
   214  	}
   215  	*x = RepeatedEnum_Color(value)
   216  	return nil
   217  }
   218  
   219  type GoEnum struct {
   220  	Foo			*FOO	`protobuf:"varint,1,req,name=foo,enum=testdata.FOO" json:"foo,omitempty"`
   221  	XXX_unrecognized	[]byte	`json:"-"`
   222  }
   223  
   224  func (m *GoEnum) Reset()		{ *m = GoEnum{} }
   225  func (m *GoEnum) String() string	{ return proto.CompactTextString(m) }
   226  func (*GoEnum) ProtoMessage()		{}
   227  
   228  func (m *GoEnum) GetFoo() FOO {
   229  	if m != nil && m.Foo != nil {
   230  		return *m.Foo
   231  	}
   232  	return FOO_FOO1
   233  }
   234  
   235  type GoTestField struct {
   236  	Label			*string	`protobuf:"bytes,1,req" json:"Label,omitempty"`
   237  	Type			*string	`protobuf:"bytes,2,req" json:"Type,omitempty"`
   238  	XXX_unrecognized	[]byte	`json:"-"`
   239  }
   240  
   241  func (m *GoTestField) Reset()		{ *m = GoTestField{} }
   242  func (m *GoTestField) String() string	{ return proto.CompactTextString(m) }
   243  func (*GoTestField) ProtoMessage()	{}
   244  
   245  func (m *GoTestField) GetLabel() string {
   246  	if m != nil && m.Label != nil {
   247  		return *m.Label
   248  	}
   249  	return ""
   250  }
   251  
   252  func (m *GoTestField) GetType() string {
   253  	if m != nil && m.Type != nil {
   254  		return *m.Type
   255  	}
   256  	return ""
   257  }
   258  
   259  type GoTest struct {
   260  	// Some typical parameters
   261  	Kind	*GoTest_KIND	`protobuf:"varint,1,req,enum=testdata.GoTest_KIND" json:"Kind,omitempty"`
   262  	Table	*string		`protobuf:"bytes,2,opt" json:"Table,omitempty"`
   263  	Param	*int32		`protobuf:"varint,3,opt" json:"Param,omitempty"`
   264  	// Required, repeated and optional foreign fields.
   265  	RequiredField	*GoTestField	`protobuf:"bytes,4,req" json:"RequiredField,omitempty"`
   266  	RepeatedField	[]*GoTestField	`protobuf:"bytes,5,rep" json:"RepeatedField,omitempty"`
   267  	OptionalField	*GoTestField	`protobuf:"bytes,6,opt" json:"OptionalField,omitempty"`
   268  	// Required fields of all basic types
   269  	F_BoolRequired		*bool		`protobuf:"varint,10,req,name=F_Bool_required" json:"F_Bool_required,omitempty"`
   270  	F_Int32Required		*int32		`protobuf:"varint,11,req,name=F_Int32_required" json:"F_Int32_required,omitempty"`
   271  	F_Int64Required		*int64		`protobuf:"varint,12,req,name=F_Int64_required" json:"F_Int64_required,omitempty"`
   272  	F_Fixed32Required	*uint32		`protobuf:"fixed32,13,req,name=F_Fixed32_required" json:"F_Fixed32_required,omitempty"`
   273  	F_Fixed64Required	*uint64		`protobuf:"fixed64,14,req,name=F_Fixed64_required" json:"F_Fixed64_required,omitempty"`
   274  	F_Uint32Required	*uint32		`protobuf:"varint,15,req,name=F_Uint32_required" json:"F_Uint32_required,omitempty"`
   275  	F_Uint64Required	*uint64		`protobuf:"varint,16,req,name=F_Uint64_required" json:"F_Uint64_required,omitempty"`
   276  	F_FloatRequired		*float32	`protobuf:"fixed32,17,req,name=F_Float_required" json:"F_Float_required,omitempty"`
   277  	F_DoubleRequired	*float64	`protobuf:"fixed64,18,req,name=F_Double_required" json:"F_Double_required,omitempty"`
   278  	F_StringRequired	*string		`protobuf:"bytes,19,req,name=F_String_required" json:"F_String_required,omitempty"`
   279  	F_BytesRequired		[]byte		`protobuf:"bytes,101,req,name=F_Bytes_required" json:"F_Bytes_required,omitempty"`
   280  	F_Sint32Required	*int32		`protobuf:"zigzag32,102,req,name=F_Sint32_required" json:"F_Sint32_required,omitempty"`
   281  	F_Sint64Required	*int64		`protobuf:"zigzag64,103,req,name=F_Sint64_required" json:"F_Sint64_required,omitempty"`
   282  	// Repeated fields of all basic types
   283  	F_BoolRepeated		[]bool		`protobuf:"varint,20,rep,name=F_Bool_repeated" json:"F_Bool_repeated,omitempty"`
   284  	F_Int32Repeated		[]int32		`protobuf:"varint,21,rep,name=F_Int32_repeated" json:"F_Int32_repeated,omitempty"`
   285  	F_Int64Repeated		[]int64		`protobuf:"varint,22,rep,name=F_Int64_repeated" json:"F_Int64_repeated,omitempty"`
   286  	F_Fixed32Repeated	[]uint32	`protobuf:"fixed32,23,rep,name=F_Fixed32_repeated" json:"F_Fixed32_repeated,omitempty"`
   287  	F_Fixed64Repeated	[]uint64	`protobuf:"fixed64,24,rep,name=F_Fixed64_repeated" json:"F_Fixed64_repeated,omitempty"`
   288  	F_Uint32Repeated	[]uint32	`protobuf:"varint,25,rep,name=F_Uint32_repeated" json:"F_Uint32_repeated,omitempty"`
   289  	F_Uint64Repeated	[]uint64	`protobuf:"varint,26,rep,name=F_Uint64_repeated" json:"F_Uint64_repeated,omitempty"`
   290  	F_FloatRepeated		[]float32	`protobuf:"fixed32,27,rep,name=F_Float_repeated" json:"F_Float_repeated,omitempty"`
   291  	F_DoubleRepeated	[]float64	`protobuf:"fixed64,28,rep,name=F_Double_repeated" json:"F_Double_repeated,omitempty"`
   292  	F_StringRepeated	[]string	`protobuf:"bytes,29,rep,name=F_String_repeated" json:"F_String_repeated,omitempty"`
   293  	F_BytesRepeated		[][]byte	`protobuf:"bytes,201,rep,name=F_Bytes_repeated" json:"F_Bytes_repeated,omitempty"`
   294  	F_Sint32Repeated	[]int32		`protobuf:"zigzag32,202,rep,name=F_Sint32_repeated" json:"F_Sint32_repeated,omitempty"`
   295  	F_Sint64Repeated	[]int64		`protobuf:"zigzag64,203,rep,name=F_Sint64_repeated" json:"F_Sint64_repeated,omitempty"`
   296  	// Optional fields of all basic types
   297  	F_BoolOptional		*bool		`protobuf:"varint,30,opt,name=F_Bool_optional" json:"F_Bool_optional,omitempty"`
   298  	F_Int32Optional		*int32		`protobuf:"varint,31,opt,name=F_Int32_optional" json:"F_Int32_optional,omitempty"`
   299  	F_Int64Optional		*int64		`protobuf:"varint,32,opt,name=F_Int64_optional" json:"F_Int64_optional,omitempty"`
   300  	F_Fixed32Optional	*uint32		`protobuf:"fixed32,33,opt,name=F_Fixed32_optional" json:"F_Fixed32_optional,omitempty"`
   301  	F_Fixed64Optional	*uint64		`protobuf:"fixed64,34,opt,name=F_Fixed64_optional" json:"F_Fixed64_optional,omitempty"`
   302  	F_Uint32Optional	*uint32		`protobuf:"varint,35,opt,name=F_Uint32_optional" json:"F_Uint32_optional,omitempty"`
   303  	F_Uint64Optional	*uint64		`protobuf:"varint,36,opt,name=F_Uint64_optional" json:"F_Uint64_optional,omitempty"`
   304  	F_FloatOptional		*float32	`protobuf:"fixed32,37,opt,name=F_Float_optional" json:"F_Float_optional,omitempty"`
   305  	F_DoubleOptional	*float64	`protobuf:"fixed64,38,opt,name=F_Double_optional" json:"F_Double_optional,omitempty"`
   306  	F_StringOptional	*string		`protobuf:"bytes,39,opt,name=F_String_optional" json:"F_String_optional,omitempty"`
   307  	F_BytesOptional		[]byte		`protobuf:"bytes,301,opt,name=F_Bytes_optional" json:"F_Bytes_optional,omitempty"`
   308  	F_Sint32Optional	*int32		`protobuf:"zigzag32,302,opt,name=F_Sint32_optional" json:"F_Sint32_optional,omitempty"`
   309  	F_Sint64Optional	*int64		`protobuf:"zigzag64,303,opt,name=F_Sint64_optional" json:"F_Sint64_optional,omitempty"`
   310  	// Default-valued fields of all basic types
   311  	F_BoolDefaulted		*bool		`protobuf:"varint,40,opt,name=F_Bool_defaulted,def=1" json:"F_Bool_defaulted,omitempty"`
   312  	F_Int32Defaulted	*int32		`protobuf:"varint,41,opt,name=F_Int32_defaulted,def=32" json:"F_Int32_defaulted,omitempty"`
   313  	F_Int64Defaulted	*int64		`protobuf:"varint,42,opt,name=F_Int64_defaulted,def=64" json:"F_Int64_defaulted,omitempty"`
   314  	F_Fixed32Defaulted	*uint32		`protobuf:"fixed32,43,opt,name=F_Fixed32_defaulted,def=320" json:"F_Fixed32_defaulted,omitempty"`
   315  	F_Fixed64Defaulted	*uint64		`protobuf:"fixed64,44,opt,name=F_Fixed64_defaulted,def=640" json:"F_Fixed64_defaulted,omitempty"`
   316  	F_Uint32Defaulted	*uint32		`protobuf:"varint,45,opt,name=F_Uint32_defaulted,def=3200" json:"F_Uint32_defaulted,omitempty"`
   317  	F_Uint64Defaulted	*uint64		`protobuf:"varint,46,opt,name=F_Uint64_defaulted,def=6400" json:"F_Uint64_defaulted,omitempty"`
   318  	F_FloatDefaulted	*float32	`protobuf:"fixed32,47,opt,name=F_Float_defaulted,def=314159" json:"F_Float_defaulted,omitempty"`
   319  	F_DoubleDefaulted	*float64	`protobuf:"fixed64,48,opt,name=F_Double_defaulted,def=271828" json:"F_Double_defaulted,omitempty"`
   320  	F_StringDefaulted	*string		`protobuf:"bytes,49,opt,name=F_String_defaulted,def=hello, \"world!\"\n" json:"F_String_defaulted,omitempty"`
   321  	F_BytesDefaulted	[]byte		`protobuf:"bytes,401,opt,name=F_Bytes_defaulted,def=Bignose" json:"F_Bytes_defaulted,omitempty"`
   322  	F_Sint32Defaulted	*int32		`protobuf:"zigzag32,402,opt,name=F_Sint32_defaulted,def=-32" json:"F_Sint32_defaulted,omitempty"`
   323  	F_Sint64Defaulted	*int64		`protobuf:"zigzag64,403,opt,name=F_Sint64_defaulted,def=-64" json:"F_Sint64_defaulted,omitempty"`
   324  	// Packed repeated fields (no string or bytes).
   325  	F_BoolRepeatedPacked	[]bool			`protobuf:"varint,50,rep,packed,name=F_Bool_repeated_packed" json:"F_Bool_repeated_packed,omitempty"`
   326  	F_Int32RepeatedPacked	[]int32			`protobuf:"varint,51,rep,packed,name=F_Int32_repeated_packed" json:"F_Int32_repeated_packed,omitempty"`
   327  	F_Int64RepeatedPacked	[]int64			`protobuf:"varint,52,rep,packed,name=F_Int64_repeated_packed" json:"F_Int64_repeated_packed,omitempty"`
   328  	F_Fixed32RepeatedPacked	[]uint32		`protobuf:"fixed32,53,rep,packed,name=F_Fixed32_repeated_packed" json:"F_Fixed32_repeated_packed,omitempty"`
   329  	F_Fixed64RepeatedPacked	[]uint64		`protobuf:"fixed64,54,rep,packed,name=F_Fixed64_repeated_packed" json:"F_Fixed64_repeated_packed,omitempty"`
   330  	F_Uint32RepeatedPacked	[]uint32		`protobuf:"varint,55,rep,packed,name=F_Uint32_repeated_packed" json:"F_Uint32_repeated_packed,omitempty"`
   331  	F_Uint64RepeatedPacked	[]uint64		`protobuf:"varint,56,rep,packed,name=F_Uint64_repeated_packed" json:"F_Uint64_repeated_packed,omitempty"`
   332  	F_FloatRepeatedPacked	[]float32		`protobuf:"fixed32,57,rep,packed,name=F_Float_repeated_packed" json:"F_Float_repeated_packed,omitempty"`
   333  	F_DoubleRepeatedPacked	[]float64		`protobuf:"fixed64,58,rep,packed,name=F_Double_repeated_packed" json:"F_Double_repeated_packed,omitempty"`
   334  	F_Sint32RepeatedPacked	[]int32			`protobuf:"zigzag32,502,rep,packed,name=F_Sint32_repeated_packed" json:"F_Sint32_repeated_packed,omitempty"`
   335  	F_Sint64RepeatedPacked	[]int64			`protobuf:"zigzag64,503,rep,packed,name=F_Sint64_repeated_packed" json:"F_Sint64_repeated_packed,omitempty"`
   336  	Requiredgroup		*GoTest_RequiredGroup	`protobuf:"group,70,req,name=RequiredGroup" json:"requiredgroup,omitempty"`
   337  	Repeatedgroup		[]*GoTest_RepeatedGroup	`protobuf:"group,80,rep,name=RepeatedGroup" json:"repeatedgroup,omitempty"`
   338  	Optionalgroup		*GoTest_OptionalGroup	`protobuf:"group,90,opt,name=OptionalGroup" json:"optionalgroup,omitempty"`
   339  	XXX_unrecognized	[]byte			`json:"-"`
   340  }
   341  
   342  func (m *GoTest) Reset()		{ *m = GoTest{} }
   343  func (m *GoTest) String() string	{ return proto.CompactTextString(m) }
   344  func (*GoTest) ProtoMessage()		{}
   345  
   346  const Default_GoTest_F_BoolDefaulted bool = true
   347  const Default_GoTest_F_Int32Defaulted int32 = 32
   348  const Default_GoTest_F_Int64Defaulted int64 = 64
   349  const Default_GoTest_F_Fixed32Defaulted uint32 = 320
   350  const Default_GoTest_F_Fixed64Defaulted uint64 = 640
   351  const Default_GoTest_F_Uint32Defaulted uint32 = 3200
   352  const Default_GoTest_F_Uint64Defaulted uint64 = 6400
   353  const Default_GoTest_F_FloatDefaulted float32 = 314159
   354  const Default_GoTest_F_DoubleDefaulted float64 = 271828
   355  const Default_GoTest_F_StringDefaulted string = "hello, \"world!\"\n"
   356  
   357  var Default_GoTest_F_BytesDefaulted []byte = []byte("Bignose")
   358  
   359  const Default_GoTest_F_Sint32Defaulted int32 = -32
   360  const Default_GoTest_F_Sint64Defaulted int64 = -64
   361  
   362  func (m *GoTest) GetKind() GoTest_KIND {
   363  	if m != nil && m.Kind != nil {
   364  		return *m.Kind
   365  	}
   366  	return GoTest_VOID
   367  }
   368  
   369  func (m *GoTest) GetTable() string {
   370  	if m != nil && m.Table != nil {
   371  		return *m.Table
   372  	}
   373  	return ""
   374  }
   375  
   376  func (m *GoTest) GetParam() int32 {
   377  	if m != nil && m.Param != nil {
   378  		return *m.Param
   379  	}
   380  	return 0
   381  }
   382  
   383  func (m *GoTest) GetRequiredField() *GoTestField {
   384  	if m != nil {
   385  		return m.RequiredField
   386  	}
   387  	return nil
   388  }
   389  
   390  func (m *GoTest) GetRepeatedField() []*GoTestField {
   391  	if m != nil {
   392  		return m.RepeatedField
   393  	}
   394  	return nil
   395  }
   396  
   397  func (m *GoTest) GetOptionalField() *GoTestField {
   398  	if m != nil {
   399  		return m.OptionalField
   400  	}
   401  	return nil
   402  }
   403  
   404  func (m *GoTest) GetF_BoolRequired() bool {
   405  	if m != nil && m.F_BoolRequired != nil {
   406  		return *m.F_BoolRequired
   407  	}
   408  	return false
   409  }
   410  
   411  func (m *GoTest) GetF_Int32Required() int32 {
   412  	if m != nil && m.F_Int32Required != nil {
   413  		return *m.F_Int32Required
   414  	}
   415  	return 0
   416  }
   417  
   418  func (m *GoTest) GetF_Int64Required() int64 {
   419  	if m != nil && m.F_Int64Required != nil {
   420  		return *m.F_Int64Required
   421  	}
   422  	return 0
   423  }
   424  
   425  func (m *GoTest) GetF_Fixed32Required() uint32 {
   426  	if m != nil && m.F_Fixed32Required != nil {
   427  		return *m.F_Fixed32Required
   428  	}
   429  	return 0
   430  }
   431  
   432  func (m *GoTest) GetF_Fixed64Required() uint64 {
   433  	if m != nil && m.F_Fixed64Required != nil {
   434  		return *m.F_Fixed64Required
   435  	}
   436  	return 0
   437  }
   438  
   439  func (m *GoTest) GetF_Uint32Required() uint32 {
   440  	if m != nil && m.F_Uint32Required != nil {
   441  		return *m.F_Uint32Required
   442  	}
   443  	return 0
   444  }
   445  
   446  func (m *GoTest) GetF_Uint64Required() uint64 {
   447  	if m != nil && m.F_Uint64Required != nil {
   448  		return *m.F_Uint64Required
   449  	}
   450  	return 0
   451  }
   452  
   453  func (m *GoTest) GetF_FloatRequired() float32 {
   454  	if m != nil && m.F_FloatRequired != nil {
   455  		return *m.F_FloatRequired
   456  	}
   457  	return 0
   458  }
   459  
   460  func (m *GoTest) GetF_DoubleRequired() float64 {
   461  	if m != nil && m.F_DoubleRequired != nil {
   462  		return *m.F_DoubleRequired
   463  	}
   464  	return 0
   465  }
   466  
   467  func (m *GoTest) GetF_StringRequired() string {
   468  	if m != nil && m.F_StringRequired != nil {
   469  		return *m.F_StringRequired
   470  	}
   471  	return ""
   472  }
   473  
   474  func (m *GoTest) GetF_BytesRequired() []byte {
   475  	if m != nil {
   476  		return m.F_BytesRequired
   477  	}
   478  	return nil
   479  }
   480  
   481  func (m *GoTest) GetF_Sint32Required() int32 {
   482  	if m != nil && m.F_Sint32Required != nil {
   483  		return *m.F_Sint32Required
   484  	}
   485  	return 0
   486  }
   487  
   488  func (m *GoTest) GetF_Sint64Required() int64 {
   489  	if m != nil && m.F_Sint64Required != nil {
   490  		return *m.F_Sint64Required
   491  	}
   492  	return 0
   493  }
   494  
   495  func (m *GoTest) GetF_BoolRepeated() []bool {
   496  	if m != nil {
   497  		return m.F_BoolRepeated
   498  	}
   499  	return nil
   500  }
   501  
   502  func (m *GoTest) GetF_Int32Repeated() []int32 {
   503  	if m != nil {
   504  		return m.F_Int32Repeated
   505  	}
   506  	return nil
   507  }
   508  
   509  func (m *GoTest) GetF_Int64Repeated() []int64 {
   510  	if m != nil {
   511  		return m.F_Int64Repeated
   512  	}
   513  	return nil
   514  }
   515  
   516  func (m *GoTest) GetF_Fixed32Repeated() []uint32 {
   517  	if m != nil {
   518  		return m.F_Fixed32Repeated
   519  	}
   520  	return nil
   521  }
   522  
   523  func (m *GoTest) GetF_Fixed64Repeated() []uint64 {
   524  	if m != nil {
   525  		return m.F_Fixed64Repeated
   526  	}
   527  	return nil
   528  }
   529  
   530  func (m *GoTest) GetF_Uint32Repeated() []uint32 {
   531  	if m != nil {
   532  		return m.F_Uint32Repeated
   533  	}
   534  	return nil
   535  }
   536  
   537  func (m *GoTest) GetF_Uint64Repeated() []uint64 {
   538  	if m != nil {
   539  		return m.F_Uint64Repeated
   540  	}
   541  	return nil
   542  }
   543  
   544  func (m *GoTest) GetF_FloatRepeated() []float32 {
   545  	if m != nil {
   546  		return m.F_FloatRepeated
   547  	}
   548  	return nil
   549  }
   550  
   551  func (m *GoTest) GetF_DoubleRepeated() []float64 {
   552  	if m != nil {
   553  		return m.F_DoubleRepeated
   554  	}
   555  	return nil
   556  }
   557  
   558  func (m *GoTest) GetF_StringRepeated() []string {
   559  	if m != nil {
   560  		return m.F_StringRepeated
   561  	}
   562  	return nil
   563  }
   564  
   565  func (m *GoTest) GetF_BytesRepeated() [][]byte {
   566  	if m != nil {
   567  		return m.F_BytesRepeated
   568  	}
   569  	return nil
   570  }
   571  
   572  func (m *GoTest) GetF_Sint32Repeated() []int32 {
   573  	if m != nil {
   574  		return m.F_Sint32Repeated
   575  	}
   576  	return nil
   577  }
   578  
   579  func (m *GoTest) GetF_Sint64Repeated() []int64 {
   580  	if m != nil {
   581  		return m.F_Sint64Repeated
   582  	}
   583  	return nil
   584  }
   585  
   586  func (m *GoTest) GetF_BoolOptional() bool {
   587  	if m != nil && m.F_BoolOptional != nil {
   588  		return *m.F_BoolOptional
   589  	}
   590  	return false
   591  }
   592  
   593  func (m *GoTest) GetF_Int32Optional() int32 {
   594  	if m != nil && m.F_Int32Optional != nil {
   595  		return *m.F_Int32Optional
   596  	}
   597  	return 0
   598  }
   599  
   600  func (m *GoTest) GetF_Int64Optional() int64 {
   601  	if m != nil && m.F_Int64Optional != nil {
   602  		return *m.F_Int64Optional
   603  	}
   604  	return 0
   605  }
   606  
   607  func (m *GoTest) GetF_Fixed32Optional() uint32 {
   608  	if m != nil && m.F_Fixed32Optional != nil {
   609  		return *m.F_Fixed32Optional
   610  	}
   611  	return 0
   612  }
   613  
   614  func (m *GoTest) GetF_Fixed64Optional() uint64 {
   615  	if m != nil && m.F_Fixed64Optional != nil {
   616  		return *m.F_Fixed64Optional
   617  	}
   618  	return 0
   619  }
   620  
   621  func (m *GoTest) GetF_Uint32Optional() uint32 {
   622  	if m != nil && m.F_Uint32Optional != nil {
   623  		return *m.F_Uint32Optional
   624  	}
   625  	return 0
   626  }
   627  
   628  func (m *GoTest) GetF_Uint64Optional() uint64 {
   629  	if m != nil && m.F_Uint64Optional != nil {
   630  		return *m.F_Uint64Optional
   631  	}
   632  	return 0
   633  }
   634  
   635  func (m *GoTest) GetF_FloatOptional() float32 {
   636  	if m != nil && m.F_FloatOptional != nil {
   637  		return *m.F_FloatOptional
   638  	}
   639  	return 0
   640  }
   641  
   642  func (m *GoTest) GetF_DoubleOptional() float64 {
   643  	if m != nil && m.F_DoubleOptional != nil {
   644  		return *m.F_DoubleOptional
   645  	}
   646  	return 0
   647  }
   648  
   649  func (m *GoTest) GetF_StringOptional() string {
   650  	if m != nil && m.F_StringOptional != nil {
   651  		return *m.F_StringOptional
   652  	}
   653  	return ""
   654  }
   655  
   656  func (m *GoTest) GetF_BytesOptional() []byte {
   657  	if m != nil {
   658  		return m.F_BytesOptional
   659  	}
   660  	return nil
   661  }
   662  
   663  func (m *GoTest) GetF_Sint32Optional() int32 {
   664  	if m != nil && m.F_Sint32Optional != nil {
   665  		return *m.F_Sint32Optional
   666  	}
   667  	return 0
   668  }
   669  
   670  func (m *GoTest) GetF_Sint64Optional() int64 {
   671  	if m != nil && m.F_Sint64Optional != nil {
   672  		return *m.F_Sint64Optional
   673  	}
   674  	return 0
   675  }
   676  
   677  func (m *GoTest) GetF_BoolDefaulted() bool {
   678  	if m != nil && m.F_BoolDefaulted != nil {
   679  		return *m.F_BoolDefaulted
   680  	}
   681  	return Default_GoTest_F_BoolDefaulted
   682  }
   683  
   684  func (m *GoTest) GetF_Int32Defaulted() int32 {
   685  	if m != nil && m.F_Int32Defaulted != nil {
   686  		return *m.F_Int32Defaulted
   687  	}
   688  	return Default_GoTest_F_Int32Defaulted
   689  }
   690  
   691  func (m *GoTest) GetF_Int64Defaulted() int64 {
   692  	if m != nil && m.F_Int64Defaulted != nil {
   693  		return *m.F_Int64Defaulted
   694  	}
   695  	return Default_GoTest_F_Int64Defaulted
   696  }
   697  
   698  func (m *GoTest) GetF_Fixed32Defaulted() uint32 {
   699  	if m != nil && m.F_Fixed32Defaulted != nil {
   700  		return *m.F_Fixed32Defaulted
   701  	}
   702  	return Default_GoTest_F_Fixed32Defaulted
   703  }
   704  
   705  func (m *GoTest) GetF_Fixed64Defaulted() uint64 {
   706  	if m != nil && m.F_Fixed64Defaulted != nil {
   707  		return *m.F_Fixed64Defaulted
   708  	}
   709  	return Default_GoTest_F_Fixed64Defaulted
   710  }
   711  
   712  func (m *GoTest) GetF_Uint32Defaulted() uint32 {
   713  	if m != nil && m.F_Uint32Defaulted != nil {
   714  		return *m.F_Uint32Defaulted
   715  	}
   716  	return Default_GoTest_F_Uint32Defaulted
   717  }
   718  
   719  func (m *GoTest) GetF_Uint64Defaulted() uint64 {
   720  	if m != nil && m.F_Uint64Defaulted != nil {
   721  		return *m.F_Uint64Defaulted
   722  	}
   723  	return Default_GoTest_F_Uint64Defaulted
   724  }
   725  
   726  func (m *GoTest) GetF_FloatDefaulted() float32 {
   727  	if m != nil && m.F_FloatDefaulted != nil {
   728  		return *m.F_FloatDefaulted
   729  	}
   730  	return Default_GoTest_F_FloatDefaulted
   731  }
   732  
   733  func (m *GoTest) GetF_DoubleDefaulted() float64 {
   734  	if m != nil && m.F_DoubleDefaulted != nil {
   735  		return *m.F_DoubleDefaulted
   736  	}
   737  	return Default_GoTest_F_DoubleDefaulted
   738  }
   739  
   740  func (m *GoTest) GetF_StringDefaulted() string {
   741  	if m != nil && m.F_StringDefaulted != nil {
   742  		return *m.F_StringDefaulted
   743  	}
   744  	return Default_GoTest_F_StringDefaulted
   745  }
   746  
   747  func (m *GoTest) GetF_BytesDefaulted() []byte {
   748  	if m != nil && m.F_BytesDefaulted != nil {
   749  		return m.F_BytesDefaulted
   750  	}
   751  	return append([]byte(nil), Default_GoTest_F_BytesDefaulted...)
   752  }
   753  
   754  func (m *GoTest) GetF_Sint32Defaulted() int32 {
   755  	if m != nil && m.F_Sint32Defaulted != nil {
   756  		return *m.F_Sint32Defaulted
   757  	}
   758  	return Default_GoTest_F_Sint32Defaulted
   759  }
   760  
   761  func (m *GoTest) GetF_Sint64Defaulted() int64 {
   762  	if m != nil && m.F_Sint64Defaulted != nil {
   763  		return *m.F_Sint64Defaulted
   764  	}
   765  	return Default_GoTest_F_Sint64Defaulted
   766  }
   767  
   768  func (m *GoTest) GetF_BoolRepeatedPacked() []bool {
   769  	if m != nil {
   770  		return m.F_BoolRepeatedPacked
   771  	}
   772  	return nil
   773  }
   774  
   775  func (m *GoTest) GetF_Int32RepeatedPacked() []int32 {
   776  	if m != nil {
   777  		return m.F_Int32RepeatedPacked
   778  	}
   779  	return nil
   780  }
   781  
   782  func (m *GoTest) GetF_Int64RepeatedPacked() []int64 {
   783  	if m != nil {
   784  		return m.F_Int64RepeatedPacked
   785  	}
   786  	return nil
   787  }
   788  
   789  func (m *GoTest) GetF_Fixed32RepeatedPacked() []uint32 {
   790  	if m != nil {
   791  		return m.F_Fixed32RepeatedPacked
   792  	}
   793  	return nil
   794  }
   795  
   796  func (m *GoTest) GetF_Fixed64RepeatedPacked() []uint64 {
   797  	if m != nil {
   798  		return m.F_Fixed64RepeatedPacked
   799  	}
   800  	return nil
   801  }
   802  
   803  func (m *GoTest) GetF_Uint32RepeatedPacked() []uint32 {
   804  	if m != nil {
   805  		return m.F_Uint32RepeatedPacked
   806  	}
   807  	return nil
   808  }
   809  
   810  func (m *GoTest) GetF_Uint64RepeatedPacked() []uint64 {
   811  	if m != nil {
   812  		return m.F_Uint64RepeatedPacked
   813  	}
   814  	return nil
   815  }
   816  
   817  func (m *GoTest) GetF_FloatRepeatedPacked() []float32 {
   818  	if m != nil {
   819  		return m.F_FloatRepeatedPacked
   820  	}
   821  	return nil
   822  }
   823  
   824  func (m *GoTest) GetF_DoubleRepeatedPacked() []float64 {
   825  	if m != nil {
   826  		return m.F_DoubleRepeatedPacked
   827  	}
   828  	return nil
   829  }
   830  
   831  func (m *GoTest) GetF_Sint32RepeatedPacked() []int32 {
   832  	if m != nil {
   833  		return m.F_Sint32RepeatedPacked
   834  	}
   835  	return nil
   836  }
   837  
   838  func (m *GoTest) GetF_Sint64RepeatedPacked() []int64 {
   839  	if m != nil {
   840  		return m.F_Sint64RepeatedPacked
   841  	}
   842  	return nil
   843  }
   844  
   845  func (m *GoTest) GetRequiredgroup() *GoTest_RequiredGroup {
   846  	if m != nil {
   847  		return m.Requiredgroup
   848  	}
   849  	return nil
   850  }
   851  
   852  func (m *GoTest) GetRepeatedgroup() []*GoTest_RepeatedGroup {
   853  	if m != nil {
   854  		return m.Repeatedgroup
   855  	}
   856  	return nil
   857  }
   858  
   859  func (m *GoTest) GetOptionalgroup() *GoTest_OptionalGroup {
   860  	if m != nil {
   861  		return m.Optionalgroup
   862  	}
   863  	return nil
   864  }
   865  
   866  // Required, repeated, and optional groups.
   867  type GoTest_RequiredGroup struct {
   868  	RequiredField		*string	`protobuf:"bytes,71,req" json:"RequiredField,omitempty"`
   869  	XXX_unrecognized	[]byte	`json:"-"`
   870  }
   871  
   872  func (m *GoTest_RequiredGroup) Reset()		{ *m = GoTest_RequiredGroup{} }
   873  func (m *GoTest_RequiredGroup) String() string	{ return proto.CompactTextString(m) }
   874  func (*GoTest_RequiredGroup) ProtoMessage()	{}
   875  
   876  func (m *GoTest_RequiredGroup) GetRequiredField() string {
   877  	if m != nil && m.RequiredField != nil {
   878  		return *m.RequiredField
   879  	}
   880  	return ""
   881  }
   882  
   883  type GoTest_RepeatedGroup struct {
   884  	RequiredField		*string	`protobuf:"bytes,81,req" json:"RequiredField,omitempty"`
   885  	XXX_unrecognized	[]byte	`json:"-"`
   886  }
   887  
   888  func (m *GoTest_RepeatedGroup) Reset()		{ *m = GoTest_RepeatedGroup{} }
   889  func (m *GoTest_RepeatedGroup) String() string	{ return proto.CompactTextString(m) }
   890  func (*GoTest_RepeatedGroup) ProtoMessage()	{}
   891  
   892  func (m *GoTest_RepeatedGroup) GetRequiredField() string {
   893  	if m != nil && m.RequiredField != nil {
   894  		return *m.RequiredField
   895  	}
   896  	return ""
   897  }
   898  
   899  type GoTest_OptionalGroup struct {
   900  	RequiredField		*string	`protobuf:"bytes,91,req" json:"RequiredField,omitempty"`
   901  	XXX_unrecognized	[]byte	`json:"-"`
   902  }
   903  
   904  func (m *GoTest_OptionalGroup) Reset()		{ *m = GoTest_OptionalGroup{} }
   905  func (m *GoTest_OptionalGroup) String() string	{ return proto.CompactTextString(m) }
   906  func (*GoTest_OptionalGroup) ProtoMessage()	{}
   907  
   908  func (m *GoTest_OptionalGroup) GetRequiredField() string {
   909  	if m != nil && m.RequiredField != nil {
   910  		return *m.RequiredField
   911  	}
   912  	return ""
   913  }
   914  
   915  // For testing skipping of unrecognized fields.
   916  // Numbers are all big, larger than tag numbers in GoTestField,
   917  // the message used in the corresponding test.
   918  type GoSkipTest struct {
   919  	SkipInt32		*int32			`protobuf:"varint,11,req,name=skip_int32" json:"skip_int32,omitempty"`
   920  	SkipFixed32		*uint32			`protobuf:"fixed32,12,req,name=skip_fixed32" json:"skip_fixed32,omitempty"`
   921  	SkipFixed64		*uint64			`protobuf:"fixed64,13,req,name=skip_fixed64" json:"skip_fixed64,omitempty"`
   922  	SkipString		*string			`protobuf:"bytes,14,req,name=skip_string" json:"skip_string,omitempty"`
   923  	Skipgroup		*GoSkipTest_SkipGroup	`protobuf:"group,15,req,name=SkipGroup" json:"skipgroup,omitempty"`
   924  	XXX_unrecognized	[]byte			`json:"-"`
   925  }
   926  
   927  func (m *GoSkipTest) Reset()		{ *m = GoSkipTest{} }
   928  func (m *GoSkipTest) String() string	{ return proto.CompactTextString(m) }
   929  func (*GoSkipTest) ProtoMessage()	{}
   930  
   931  func (m *GoSkipTest) GetSkipInt32() int32 {
   932  	if m != nil && m.SkipInt32 != nil {
   933  		return *m.SkipInt32
   934  	}
   935  	return 0
   936  }
   937  
   938  func (m *GoSkipTest) GetSkipFixed32() uint32 {
   939  	if m != nil && m.SkipFixed32 != nil {
   940  		return *m.SkipFixed32
   941  	}
   942  	return 0
   943  }
   944  
   945  func (m *GoSkipTest) GetSkipFixed64() uint64 {
   946  	if m != nil && m.SkipFixed64 != nil {
   947  		return *m.SkipFixed64
   948  	}
   949  	return 0
   950  }
   951  
   952  func (m *GoSkipTest) GetSkipString() string {
   953  	if m != nil && m.SkipString != nil {
   954  		return *m.SkipString
   955  	}
   956  	return ""
   957  }
   958  
   959  func (m *GoSkipTest) GetSkipgroup() *GoSkipTest_SkipGroup {
   960  	if m != nil {
   961  		return m.Skipgroup
   962  	}
   963  	return nil
   964  }
   965  
   966  type GoSkipTest_SkipGroup struct {
   967  	GroupInt32		*int32	`protobuf:"varint,16,req,name=group_int32" json:"group_int32,omitempty"`
   968  	GroupString		*string	`protobuf:"bytes,17,req,name=group_string" json:"group_string,omitempty"`
   969  	XXX_unrecognized	[]byte	`json:"-"`
   970  }
   971  
   972  func (m *GoSkipTest_SkipGroup) Reset()		{ *m = GoSkipTest_SkipGroup{} }
   973  func (m *GoSkipTest_SkipGroup) String() string	{ return proto.CompactTextString(m) }
   974  func (*GoSkipTest_SkipGroup) ProtoMessage()	{}
   975  
   976  func (m *GoSkipTest_SkipGroup) GetGroupInt32() int32 {
   977  	if m != nil && m.GroupInt32 != nil {
   978  		return *m.GroupInt32
   979  	}
   980  	return 0
   981  }
   982  
   983  func (m *GoSkipTest_SkipGroup) GetGroupString() string {
   984  	if m != nil && m.GroupString != nil {
   985  		return *m.GroupString
   986  	}
   987  	return ""
   988  }
   989  
   990  // For testing packed/non-packed decoder switching.
   991  // A serialized instance of one should be deserializable as the other.
   992  type NonPackedTest struct {
   993  	A			[]int32	`protobuf:"varint,1,rep,name=a" json:"a,omitempty"`
   994  	XXX_unrecognized	[]byte	`json:"-"`
   995  }
   996  
   997  func (m *NonPackedTest) Reset()		{ *m = NonPackedTest{} }
   998  func (m *NonPackedTest) String() string	{ return proto.CompactTextString(m) }
   999  func (*NonPackedTest) ProtoMessage()	{}
  1000  
  1001  func (m *NonPackedTest) GetA() []int32 {
  1002  	if m != nil {
  1003  		return m.A
  1004  	}
  1005  	return nil
  1006  }
  1007  
  1008  type PackedTest struct {
  1009  	B			[]int32	`protobuf:"varint,1,rep,packed,name=b" json:"b,omitempty"`
  1010  	XXX_unrecognized	[]byte	`json:"-"`
  1011  }
  1012  
  1013  func (m *PackedTest) Reset()		{ *m = PackedTest{} }
  1014  func (m *PackedTest) String() string	{ return proto.CompactTextString(m) }
  1015  func (*PackedTest) ProtoMessage()	{}
  1016  
  1017  func (m *PackedTest) GetB() []int32 {
  1018  	if m != nil {
  1019  		return m.B
  1020  	}
  1021  	return nil
  1022  }
  1023  
  1024  type MaxTag struct {
  1025  	// Maximum possible tag number.
  1026  	LastField		*string	`protobuf:"bytes,536870911,opt,name=last_field" json:"last_field,omitempty"`
  1027  	XXX_unrecognized	[]byte	`json:"-"`
  1028  }
  1029  
  1030  func (m *MaxTag) Reset()		{ *m = MaxTag{} }
  1031  func (m *MaxTag) String() string	{ return proto.CompactTextString(m) }
  1032  func (*MaxTag) ProtoMessage()		{}
  1033  
  1034  func (m *MaxTag) GetLastField() string {
  1035  	if m != nil && m.LastField != nil {
  1036  		return *m.LastField
  1037  	}
  1038  	return ""
  1039  }
  1040  
  1041  type OldMessage struct {
  1042  	Nested			*OldMessage_Nested	`protobuf:"bytes,1,opt,name=nested" json:"nested,omitempty"`
  1043  	XXX_unrecognized	[]byte			`json:"-"`
  1044  }
  1045  
  1046  func (m *OldMessage) Reset()		{ *m = OldMessage{} }
  1047  func (m *OldMessage) String() string	{ return proto.CompactTextString(m) }
  1048  func (*OldMessage) ProtoMessage()	{}
  1049  
  1050  func (m *OldMessage) GetNested() *OldMessage_Nested {
  1051  	if m != nil {
  1052  		return m.Nested
  1053  	}
  1054  	return nil
  1055  }
  1056  
  1057  type OldMessage_Nested struct {
  1058  	Name			*string	`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  1059  	XXX_unrecognized	[]byte	`json:"-"`
  1060  }
  1061  
  1062  func (m *OldMessage_Nested) Reset()		{ *m = OldMessage_Nested{} }
  1063  func (m *OldMessage_Nested) String() string	{ return proto.CompactTextString(m) }
  1064  func (*OldMessage_Nested) ProtoMessage()	{}
  1065  
  1066  func (m *OldMessage_Nested) GetName() string {
  1067  	if m != nil && m.Name != nil {
  1068  		return *m.Name
  1069  	}
  1070  	return ""
  1071  }
  1072  
  1073  // NewMessage is wire compatible with OldMessage;
  1074  // imagine it as a future version.
  1075  type NewMessage struct {
  1076  	Nested			*NewMessage_Nested	`protobuf:"bytes,1,opt,name=nested" json:"nested,omitempty"`
  1077  	XXX_unrecognized	[]byte			`json:"-"`
  1078  }
  1079  
  1080  func (m *NewMessage) Reset()		{ *m = NewMessage{} }
  1081  func (m *NewMessage) String() string	{ return proto.CompactTextString(m) }
  1082  func (*NewMessage) ProtoMessage()	{}
  1083  
  1084  func (m *NewMessage) GetNested() *NewMessage_Nested {
  1085  	if m != nil {
  1086  		return m.Nested
  1087  	}
  1088  	return nil
  1089  }
  1090  
  1091  type NewMessage_Nested struct {
  1092  	Name			*string	`protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
  1093  	FoodGroup		*string	`protobuf:"bytes,2,opt,name=food_group" json:"food_group,omitempty"`
  1094  	XXX_unrecognized	[]byte	`json:"-"`
  1095  }
  1096  
  1097  func (m *NewMessage_Nested) Reset()		{ *m = NewMessage_Nested{} }
  1098  func (m *NewMessage_Nested) String() string	{ return proto.CompactTextString(m) }
  1099  func (*NewMessage_Nested) ProtoMessage()	{}
  1100  
  1101  func (m *NewMessage_Nested) GetName() string {
  1102  	if m != nil && m.Name != nil {
  1103  		return *m.Name
  1104  	}
  1105  	return ""
  1106  }
  1107  
  1108  func (m *NewMessage_Nested) GetFoodGroup() string {
  1109  	if m != nil && m.FoodGroup != nil {
  1110  		return *m.FoodGroup
  1111  	}
  1112  	return ""
  1113  }
  1114  
  1115  type InnerMessage struct {
  1116  	Host			*string	`protobuf:"bytes,1,req,name=host" json:"host,omitempty"`
  1117  	Port			*int32	`protobuf:"varint,2,opt,name=port,def=4000" json:"port,omitempty"`
  1118  	Connected		*bool	`protobuf:"varint,3,opt,name=connected" json:"connected,omitempty"`
  1119  	XXX_unrecognized	[]byte	`json:"-"`
  1120  }
  1121  
  1122  func (m *InnerMessage) Reset()		{ *m = InnerMessage{} }
  1123  func (m *InnerMessage) String() string	{ return proto.CompactTextString(m) }
  1124  func (*InnerMessage) ProtoMessage()	{}
  1125  
  1126  const Default_InnerMessage_Port int32 = 4000
  1127  
  1128  func (m *InnerMessage) GetHost() string {
  1129  	if m != nil && m.Host != nil {
  1130  		return *m.Host
  1131  	}
  1132  	return ""
  1133  }
  1134  
  1135  func (m *InnerMessage) GetPort() int32 {
  1136  	if m != nil && m.Port != nil {
  1137  		return *m.Port
  1138  	}
  1139  	return Default_InnerMessage_Port
  1140  }
  1141  
  1142  func (m *InnerMessage) GetConnected() bool {
  1143  	if m != nil && m.Connected != nil {
  1144  		return *m.Connected
  1145  	}
  1146  	return false
  1147  }
  1148  
  1149  type OtherMessage struct {
  1150  	Key			*int64		`protobuf:"varint,1,opt,name=key" json:"key,omitempty"`
  1151  	Value			[]byte		`protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
  1152  	Weight			*float32	`protobuf:"fixed32,3,opt,name=weight" json:"weight,omitempty"`
  1153  	Inner			*InnerMessage	`protobuf:"bytes,4,opt,name=inner" json:"inner,omitempty"`
  1154  	XXX_unrecognized	[]byte		`json:"-"`
  1155  }
  1156  
  1157  func (m *OtherMessage) Reset()		{ *m = OtherMessage{} }
  1158  func (m *OtherMessage) String() string	{ return proto.CompactTextString(m) }
  1159  func (*OtherMessage) ProtoMessage()	{}
  1160  
  1161  func (m *OtherMessage) GetKey() int64 {
  1162  	if m != nil && m.Key != nil {
  1163  		return *m.Key
  1164  	}
  1165  	return 0
  1166  }
  1167  
  1168  func (m *OtherMessage) GetValue() []byte {
  1169  	if m != nil {
  1170  		return m.Value
  1171  	}
  1172  	return nil
  1173  }
  1174  
  1175  func (m *OtherMessage) GetWeight() float32 {
  1176  	if m != nil && m.Weight != nil {
  1177  		return *m.Weight
  1178  	}
  1179  	return 0
  1180  }
  1181  
  1182  func (m *OtherMessage) GetInner() *InnerMessage {
  1183  	if m != nil {
  1184  		return m.Inner
  1185  	}
  1186  	return nil
  1187  }
  1188  
  1189  type MyMessage struct {
  1190  	Count		*int32			`protobuf:"varint,1,req,name=count" json:"count,omitempty"`
  1191  	Name		*string			`protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
  1192  	Quote		*string			`protobuf:"bytes,3,opt,name=quote" json:"quote,omitempty"`
  1193  	Pet		[]string		`protobuf:"bytes,4,rep,name=pet" json:"pet,omitempty"`
  1194  	Inner		*InnerMessage		`protobuf:"bytes,5,opt,name=inner" json:"inner,omitempty"`
  1195  	Others		[]*OtherMessage		`protobuf:"bytes,6,rep,name=others" json:"others,omitempty"`
  1196  	RepInner	[]*InnerMessage		`protobuf:"bytes,12,rep,name=rep_inner" json:"rep_inner,omitempty"`
  1197  	Bikeshed	*MyMessage_Color	`protobuf:"varint,7,opt,name=bikeshed,enum=testdata.MyMessage_Color" json:"bikeshed,omitempty"`
  1198  	Somegroup	*MyMessage_SomeGroup	`protobuf:"group,8,opt,name=SomeGroup" json:"somegroup,omitempty"`
  1199  	// This field becomes [][]byte in the generated code.
  1200  	RepBytes		[][]byte			`protobuf:"bytes,10,rep,name=rep_bytes" json:"rep_bytes,omitempty"`
  1201  	Bigfloat		*float64			`protobuf:"fixed64,11,opt,name=bigfloat" json:"bigfloat,omitempty"`
  1202  	XXX_extensions		map[int32]proto.Extension	`json:"-"`
  1203  	XXX_unrecognized	[]byte				`json:"-"`
  1204  }
  1205  
  1206  func (m *MyMessage) Reset()		{ *m = MyMessage{} }
  1207  func (m *MyMessage) String() string	{ return proto.CompactTextString(m) }
  1208  func (*MyMessage) ProtoMessage()	{}
  1209  
  1210  var extRange_MyMessage = []proto.ExtensionRange{
  1211  	{100, 536870911},
  1212  }
  1213  
  1214  func (*MyMessage) ExtensionRangeArray() []proto.ExtensionRange {
  1215  	return extRange_MyMessage
  1216  }
  1217  func (m *MyMessage) ExtensionMap() map[int32]proto.Extension {
  1218  	if m.XXX_extensions == nil {
  1219  		m.XXX_extensions = make(map[int32]proto.Extension)
  1220  	}
  1221  	return m.XXX_extensions
  1222  }
  1223  
  1224  func (m *MyMessage) GetCount() int32 {
  1225  	if m != nil && m.Count != nil {
  1226  		return *m.Count
  1227  	}
  1228  	return 0
  1229  }
  1230  
  1231  func (m *MyMessage) GetName() string {
  1232  	if m != nil && m.Name != nil {
  1233  		return *m.Name
  1234  	}
  1235  	return ""
  1236  }
  1237  
  1238  func (m *MyMessage) GetQuote() string {
  1239  	if m != nil && m.Quote != nil {
  1240  		return *m.Quote
  1241  	}
  1242  	return ""
  1243  }
  1244  
  1245  func (m *MyMessage) GetPet() []string {
  1246  	if m != nil {
  1247  		return m.Pet
  1248  	}
  1249  	return nil
  1250  }
  1251  
  1252  func (m *MyMessage) GetInner() *InnerMessage {
  1253  	if m != nil {
  1254  		return m.Inner
  1255  	}
  1256  	return nil
  1257  }
  1258  
  1259  func (m *MyMessage) GetOthers() []*OtherMessage {
  1260  	if m != nil {
  1261  		return m.Others
  1262  	}
  1263  	return nil
  1264  }
  1265  
  1266  func (m *MyMessage) GetRepInner() []*InnerMessage {
  1267  	if m != nil {
  1268  		return m.RepInner
  1269  	}
  1270  	return nil
  1271  }
  1272  
  1273  func (m *MyMessage) GetBikeshed() MyMessage_Color {
  1274  	if m != nil && m.Bikeshed != nil {
  1275  		return *m.Bikeshed
  1276  	}
  1277  	return MyMessage_RED
  1278  }
  1279  
  1280  func (m *MyMessage) GetSomegroup() *MyMessage_SomeGroup {
  1281  	if m != nil {
  1282  		return m.Somegroup
  1283  	}
  1284  	return nil
  1285  }
  1286  
  1287  func (m *MyMessage) GetRepBytes() [][]byte {
  1288  	if m != nil {
  1289  		return m.RepBytes
  1290  	}
  1291  	return nil
  1292  }
  1293  
  1294  func (m *MyMessage) GetBigfloat() float64 {
  1295  	if m != nil && m.Bigfloat != nil {
  1296  		return *m.Bigfloat
  1297  	}
  1298  	return 0
  1299  }
  1300  
  1301  type MyMessage_SomeGroup struct {
  1302  	GroupField		*int32	`protobuf:"varint,9,opt,name=group_field" json:"group_field,omitempty"`
  1303  	XXX_unrecognized	[]byte	`json:"-"`
  1304  }
  1305  
  1306  func (m *MyMessage_SomeGroup) Reset()		{ *m = MyMessage_SomeGroup{} }
  1307  func (m *MyMessage_SomeGroup) String() string	{ return proto.CompactTextString(m) }
  1308  func (*MyMessage_SomeGroup) ProtoMessage()	{}
  1309  
  1310  func (m *MyMessage_SomeGroup) GetGroupField() int32 {
  1311  	if m != nil && m.GroupField != nil {
  1312  		return *m.GroupField
  1313  	}
  1314  	return 0
  1315  }
  1316  
  1317  type Ext struct {
  1318  	Data			*string	`protobuf:"bytes,1,opt,name=data" json:"data,omitempty"`
  1319  	XXX_unrecognized	[]byte	`json:"-"`
  1320  }
  1321  
  1322  func (m *Ext) Reset()		{ *m = Ext{} }
  1323  func (m *Ext) String() string	{ return proto.CompactTextString(m) }
  1324  func (*Ext) ProtoMessage()	{}
  1325  
  1326  func (m *Ext) GetData() string {
  1327  	if m != nil && m.Data != nil {
  1328  		return *m.Data
  1329  	}
  1330  	return ""
  1331  }
  1332  
  1333  var E_Ext_More = &proto.ExtensionDesc{
  1334  	ExtendedType:	(*MyMessage)(nil),
  1335  	ExtensionType:	(*Ext)(nil),
  1336  	Field:		103,
  1337  	Name:		"testdata.Ext.more",
  1338  	Tag:		"bytes,103,opt,name=more",
  1339  }
  1340  
  1341  var E_Ext_Text = &proto.ExtensionDesc{
  1342  	ExtendedType:	(*MyMessage)(nil),
  1343  	ExtensionType:	(*string)(nil),
  1344  	Field:		104,
  1345  	Name:		"testdata.Ext.text",
  1346  	Tag:		"bytes,104,opt,name=text",
  1347  }
  1348  
  1349  var E_Ext_Number = &proto.ExtensionDesc{
  1350  	ExtendedType:	(*MyMessage)(nil),
  1351  	ExtensionType:	(*int32)(nil),
  1352  	Field:		105,
  1353  	Name:		"testdata.Ext.number",
  1354  	Tag:		"varint,105,opt,name=number",
  1355  }
  1356  
  1357  type MyMessageSet struct {
  1358  	XXX_extensions		map[int32]proto.Extension	`json:"-"`
  1359  	XXX_unrecognized	[]byte				`json:"-"`
  1360  }
  1361  
  1362  func (m *MyMessageSet) Reset()		{ *m = MyMessageSet{} }
  1363  func (m *MyMessageSet) String() string	{ return proto.CompactTextString(m) }
  1364  func (*MyMessageSet) ProtoMessage()	{}
  1365  
  1366  func (m *MyMessageSet) Marshal() ([]byte, error) {
  1367  	return proto.MarshalMessageSet(m.ExtensionMap())
  1368  }
  1369  func (m *MyMessageSet) Unmarshal(buf []byte) error {
  1370  	return proto.UnmarshalMessageSet(buf, m.ExtensionMap())
  1371  }
  1372  
  1373  // ensure MyMessageSet satisfies proto.Marshaler and proto.Unmarshaler
  1374  var _ proto.Marshaler = (*MyMessageSet)(nil)
  1375  var _ proto.Unmarshaler = (*MyMessageSet)(nil)
  1376  
  1377  var extRange_MyMessageSet = []proto.ExtensionRange{
  1378  	{100, 2147483646},
  1379  }
  1380  
  1381  func (*MyMessageSet) ExtensionRangeArray() []proto.ExtensionRange {
  1382  	return extRange_MyMessageSet
  1383  }
  1384  func (m *MyMessageSet) ExtensionMap() map[int32]proto.Extension {
  1385  	if m.XXX_extensions == nil {
  1386  		m.XXX_extensions = make(map[int32]proto.Extension)
  1387  	}
  1388  	return m.XXX_extensions
  1389  }
  1390  
  1391  type Empty struct {
  1392  	XXX_unrecognized []byte `json:"-"`
  1393  }
  1394  
  1395  func (m *Empty) Reset()		{ *m = Empty{} }
  1396  func (m *Empty) String() string	{ return proto.CompactTextString(m) }
  1397  func (*Empty) ProtoMessage()	{}
  1398  
  1399  type MessageList struct {
  1400  	Message			[]*MessageList_Message	`protobuf:"group,1,rep" json:"message,omitempty"`
  1401  	XXX_unrecognized	[]byte			`json:"-"`
  1402  }
  1403  
  1404  func (m *MessageList) Reset()		{ *m = MessageList{} }
  1405  func (m *MessageList) String() string	{ return proto.CompactTextString(m) }
  1406  func (*MessageList) ProtoMessage()	{}
  1407  
  1408  func (m *MessageList) GetMessage() []*MessageList_Message {
  1409  	if m != nil {
  1410  		return m.Message
  1411  	}
  1412  	return nil
  1413  }
  1414  
  1415  type MessageList_Message struct {
  1416  	Name			*string	`protobuf:"bytes,2,req,name=name" json:"name,omitempty"`
  1417  	Count			*int32	`protobuf:"varint,3,req,name=count" json:"count,omitempty"`
  1418  	XXX_unrecognized	[]byte	`json:"-"`
  1419  }
  1420  
  1421  func (m *MessageList_Message) Reset()		{ *m = MessageList_Message{} }
  1422  func (m *MessageList_Message) String() string	{ return proto.CompactTextString(m) }
  1423  func (*MessageList_Message) ProtoMessage()	{}
  1424  
  1425  func (m *MessageList_Message) GetName() string {
  1426  	if m != nil && m.Name != nil {
  1427  		return *m.Name
  1428  	}
  1429  	return ""
  1430  }
  1431  
  1432  func (m *MessageList_Message) GetCount() int32 {
  1433  	if m != nil && m.Count != nil {
  1434  		return *m.Count
  1435  	}
  1436  	return 0
  1437  }
  1438  
  1439  type Strings struct {
  1440  	StringField		*string	`protobuf:"bytes,1,opt,name=string_field" json:"string_field,omitempty"`
  1441  	BytesField		[]byte	`protobuf:"bytes,2,opt,name=bytes_field" json:"bytes_field,omitempty"`
  1442  	XXX_unrecognized	[]byte	`json:"-"`
  1443  }
  1444  
  1445  func (m *Strings) Reset()		{ *m = Strings{} }
  1446  func (m *Strings) String() string	{ return proto.CompactTextString(m) }
  1447  func (*Strings) ProtoMessage()		{}
  1448  
  1449  func (m *Strings) GetStringField() string {
  1450  	if m != nil && m.StringField != nil {
  1451  		return *m.StringField
  1452  	}
  1453  	return ""
  1454  }
  1455  
  1456  func (m *Strings) GetBytesField() []byte {
  1457  	if m != nil {
  1458  		return m.BytesField
  1459  	}
  1460  	return nil
  1461  }
  1462  
  1463  type Defaults struct {
  1464  	// Default-valued fields of all basic types.
  1465  	// Same as GoTest, but copied here to make testing easier.
  1466  	F_Bool		*bool		`protobuf:"varint,1,opt,def=1" json:"F_Bool,omitempty"`
  1467  	F_Int32		*int32		`protobuf:"varint,2,opt,def=32" json:"F_Int32,omitempty"`
  1468  	F_Int64		*int64		`protobuf:"varint,3,opt,def=64" json:"F_Int64,omitempty"`
  1469  	F_Fixed32	*uint32		`protobuf:"fixed32,4,opt,def=320" json:"F_Fixed32,omitempty"`
  1470  	F_Fixed64	*uint64		`protobuf:"fixed64,5,opt,def=640" json:"F_Fixed64,omitempty"`
  1471  	F_Uint32	*uint32		`protobuf:"varint,6,opt,def=3200" json:"F_Uint32,omitempty"`
  1472  	F_Uint64	*uint64		`protobuf:"varint,7,opt,def=6400" json:"F_Uint64,omitempty"`
  1473  	F_Float		*float32	`protobuf:"fixed32,8,opt,def=314159" json:"F_Float,omitempty"`
  1474  	F_Double	*float64	`protobuf:"fixed64,9,opt,def=271828" json:"F_Double,omitempty"`
  1475  	F_String	*string		`protobuf:"bytes,10,opt,def=hello, \"world!\"\n" json:"F_String,omitempty"`
  1476  	F_Bytes		[]byte		`protobuf:"bytes,11,opt,def=Bignose" json:"F_Bytes,omitempty"`
  1477  	F_Sint32	*int32		`protobuf:"zigzag32,12,opt,def=-32" json:"F_Sint32,omitempty"`
  1478  	F_Sint64	*int64		`protobuf:"zigzag64,13,opt,def=-64" json:"F_Sint64,omitempty"`
  1479  	F_Enum		*Defaults_Color	`protobuf:"varint,14,opt,enum=testdata.Defaults_Color,def=1" json:"F_Enum,omitempty"`
  1480  	// More fields with crazy defaults.
  1481  	F_Pinf	*float32	`protobuf:"fixed32,15,opt,def=inf" json:"F_Pinf,omitempty"`
  1482  	F_Ninf	*float32	`protobuf:"fixed32,16,opt,def=-inf" json:"F_Ninf,omitempty"`
  1483  	F_Nan	*float32	`protobuf:"fixed32,17,opt,def=nan" json:"F_Nan,omitempty"`
  1484  	// Sub-message.
  1485  	Sub			*SubDefaults	`protobuf:"bytes,18,opt,name=sub" json:"sub,omitempty"`
  1486  	XXX_unrecognized	[]byte		`json:"-"`
  1487  }
  1488  
  1489  func (m *Defaults) Reset()		{ *m = Defaults{} }
  1490  func (m *Defaults) String() string	{ return proto.CompactTextString(m) }
  1491  func (*Defaults) ProtoMessage()		{}
  1492  
  1493  const Default_Defaults_F_Bool bool = true
  1494  const Default_Defaults_F_Int32 int32 = 32
  1495  const Default_Defaults_F_Int64 int64 = 64
  1496  const Default_Defaults_F_Fixed32 uint32 = 320
  1497  const Default_Defaults_F_Fixed64 uint64 = 640
  1498  const Default_Defaults_F_Uint32 uint32 = 3200
  1499  const Default_Defaults_F_Uint64 uint64 = 6400
  1500  const Default_Defaults_F_Float float32 = 314159
  1501  const Default_Defaults_F_Double float64 = 271828
  1502  const Default_Defaults_F_String string = "hello, \"world!\"\n"
  1503  
  1504  var Default_Defaults_F_Bytes []byte = []byte("Bignose")
  1505  
  1506  const Default_Defaults_F_Sint32 int32 = -32
  1507  const Default_Defaults_F_Sint64 int64 = -64
  1508  const Default_Defaults_F_Enum Defaults_Color = Defaults_GREEN
  1509  
  1510  var Default_Defaults_F_Pinf float32 = float32(math.Inf(1))
  1511  var Default_Defaults_F_Ninf float32 = float32(math.Inf(-1))
  1512  var Default_Defaults_F_Nan float32 = float32(math.NaN())
  1513  
  1514  func (m *Defaults) GetF_Bool() bool {
  1515  	if m != nil && m.F_Bool != nil {
  1516  		return *m.F_Bool
  1517  	}
  1518  	return Default_Defaults_F_Bool
  1519  }
  1520  
  1521  func (m *Defaults) GetF_Int32() int32 {
  1522  	if m != nil && m.F_Int32 != nil {
  1523  		return *m.F_Int32
  1524  	}
  1525  	return Default_Defaults_F_Int32
  1526  }
  1527  
  1528  func (m *Defaults) GetF_Int64() int64 {
  1529  	if m != nil && m.F_Int64 != nil {
  1530  		return *m.F_Int64
  1531  	}
  1532  	return Default_Defaults_F_Int64
  1533  }
  1534  
  1535  func (m *Defaults) GetF_Fixed32() uint32 {
  1536  	if m != nil && m.F_Fixed32 != nil {
  1537  		return *m.F_Fixed32
  1538  	}
  1539  	return Default_Defaults_F_Fixed32
  1540  }
  1541  
  1542  func (m *Defaults) GetF_Fixed64() uint64 {
  1543  	if m != nil && m.F_Fixed64 != nil {
  1544  		return *m.F_Fixed64
  1545  	}
  1546  	return Default_Defaults_F_Fixed64
  1547  }
  1548  
  1549  func (m *Defaults) GetF_Uint32() uint32 {
  1550  	if m != nil && m.F_Uint32 != nil {
  1551  		return *m.F_Uint32
  1552  	}
  1553  	return Default_Defaults_F_Uint32
  1554  }
  1555  
  1556  func (m *Defaults) GetF_Uint64() uint64 {
  1557  	if m != nil && m.F_Uint64 != nil {
  1558  		return *m.F_Uint64
  1559  	}
  1560  	return Default_Defaults_F_Uint64
  1561  }
  1562  
  1563  func (m *Defaults) GetF_Float() float32 {
  1564  	if m != nil && m.F_Float != nil {
  1565  		return *m.F_Float
  1566  	}
  1567  	return Default_Defaults_F_Float
  1568  }
  1569  
  1570  func (m *Defaults) GetF_Double() float64 {
  1571  	if m != nil && m.F_Double != nil {
  1572  		return *m.F_Double
  1573  	}
  1574  	return Default_Defaults_F_Double
  1575  }
  1576  
  1577  func (m *Defaults) GetF_String() string {
  1578  	if m != nil && m.F_String != nil {
  1579  		return *m.F_String
  1580  	}
  1581  	return Default_Defaults_F_String
  1582  }
  1583  
  1584  func (m *Defaults) GetF_Bytes() []byte {
  1585  	if m != nil && m.F_Bytes != nil {
  1586  		return m.F_Bytes
  1587  	}
  1588  	return append([]byte(nil), Default_Defaults_F_Bytes...)
  1589  }
  1590  
  1591  func (m *Defaults) GetF_Sint32() int32 {
  1592  	if m != nil && m.F_Sint32 != nil {
  1593  		return *m.F_Sint32
  1594  	}
  1595  	return Default_Defaults_F_Sint32
  1596  }
  1597  
  1598  func (m *Defaults) GetF_Sint64() int64 {
  1599  	if m != nil && m.F_Sint64 != nil {
  1600  		return *m.F_Sint64
  1601  	}
  1602  	return Default_Defaults_F_Sint64
  1603  }
  1604  
  1605  func (m *Defaults) GetF_Enum() Defaults_Color {
  1606  	if m != nil && m.F_Enum != nil {
  1607  		return *m.F_Enum
  1608  	}
  1609  	return Default_Defaults_F_Enum
  1610  }
  1611  
  1612  func (m *Defaults) GetF_Pinf() float32 {
  1613  	if m != nil && m.F_Pinf != nil {
  1614  		return *m.F_Pinf
  1615  	}
  1616  	return Default_Defaults_F_Pinf
  1617  }
  1618  
  1619  func (m *Defaults) GetF_Ninf() float32 {
  1620  	if m != nil && m.F_Ninf != nil {
  1621  		return *m.F_Ninf
  1622  	}
  1623  	return Default_Defaults_F_Ninf
  1624  }
  1625  
  1626  func (m *Defaults) GetF_Nan() float32 {
  1627  	if m != nil && m.F_Nan != nil {
  1628  		return *m.F_Nan
  1629  	}
  1630  	return Default_Defaults_F_Nan
  1631  }
  1632  
  1633  func (m *Defaults) GetSub() *SubDefaults {
  1634  	if m != nil {
  1635  		return m.Sub
  1636  	}
  1637  	return nil
  1638  }
  1639  
  1640  type SubDefaults struct {
  1641  	N			*int64	`protobuf:"varint,1,opt,name=n,def=7" json:"n,omitempty"`
  1642  	XXX_unrecognized	[]byte	`json:"-"`
  1643  }
  1644  
  1645  func (m *SubDefaults) Reset()		{ *m = SubDefaults{} }
  1646  func (m *SubDefaults) String() string	{ return proto.CompactTextString(m) }
  1647  func (*SubDefaults) ProtoMessage()	{}
  1648  
  1649  const Default_SubDefaults_N int64 = 7
  1650  
  1651  func (m *SubDefaults) GetN() int64 {
  1652  	if m != nil && m.N != nil {
  1653  		return *m.N
  1654  	}
  1655  	return Default_SubDefaults_N
  1656  }
  1657  
  1658  type RepeatedEnum struct {
  1659  	Color			[]RepeatedEnum_Color	`protobuf:"varint,1,rep,name=color,enum=testdata.RepeatedEnum_Color" json:"color,omitempty"`
  1660  	XXX_unrecognized	[]byte			`json:"-"`
  1661  }
  1662  
  1663  func (m *RepeatedEnum) Reset()		{ *m = RepeatedEnum{} }
  1664  func (m *RepeatedEnum) String() string	{ return proto.CompactTextString(m) }
  1665  func (*RepeatedEnum) ProtoMessage()	{}
  1666  
  1667  func (m *RepeatedEnum) GetColor() []RepeatedEnum_Color {
  1668  	if m != nil {
  1669  		return m.Color
  1670  	}
  1671  	return nil
  1672  }
  1673  
  1674  type MoreRepeated struct {
  1675  	Bools			[]bool		`protobuf:"varint,1,rep,name=bools" json:"bools,omitempty"`
  1676  	BoolsPacked		[]bool		`protobuf:"varint,2,rep,packed,name=bools_packed" json:"bools_packed,omitempty"`
  1677  	Ints			[]int32		`protobuf:"varint,3,rep,name=ints" json:"ints,omitempty"`
  1678  	IntsPacked		[]int32		`protobuf:"varint,4,rep,packed,name=ints_packed" json:"ints_packed,omitempty"`
  1679  	Int64SPacked		[]int64		`protobuf:"varint,7,rep,packed,name=int64s_packed" json:"int64s_packed,omitempty"`
  1680  	Strings			[]string	`protobuf:"bytes,5,rep,name=strings" json:"strings,omitempty"`
  1681  	Fixeds			[]uint32	`protobuf:"fixed32,6,rep,name=fixeds" json:"fixeds,omitempty"`
  1682  	XXX_unrecognized	[]byte		`json:"-"`
  1683  }
  1684  
  1685  func (m *MoreRepeated) Reset()		{ *m = MoreRepeated{} }
  1686  func (m *MoreRepeated) String() string	{ return proto.CompactTextString(m) }
  1687  func (*MoreRepeated) ProtoMessage()	{}
  1688  
  1689  func (m *MoreRepeated) GetBools() []bool {
  1690  	if m != nil {
  1691  		return m.Bools
  1692  	}
  1693  	return nil
  1694  }
  1695  
  1696  func (m *MoreRepeated) GetBoolsPacked() []bool {
  1697  	if m != nil {
  1698  		return m.BoolsPacked
  1699  	}
  1700  	return nil
  1701  }
  1702  
  1703  func (m *MoreRepeated) GetInts() []int32 {
  1704  	if m != nil {
  1705  		return m.Ints
  1706  	}
  1707  	return nil
  1708  }
  1709  
  1710  func (m *MoreRepeated) GetIntsPacked() []int32 {
  1711  	if m != nil {
  1712  		return m.IntsPacked
  1713  	}
  1714  	return nil
  1715  }
  1716  
  1717  func (m *MoreRepeated) GetInt64SPacked() []int64 {
  1718  	if m != nil {
  1719  		return m.Int64SPacked
  1720  	}
  1721  	return nil
  1722  }
  1723  
  1724  func (m *MoreRepeated) GetStrings() []string {
  1725  	if m != nil {
  1726  		return m.Strings
  1727  	}
  1728  	return nil
  1729  }
  1730  
  1731  func (m *MoreRepeated) GetFixeds() []uint32 {
  1732  	if m != nil {
  1733  		return m.Fixeds
  1734  	}
  1735  	return nil
  1736  }
  1737  
  1738  type GroupOld struct {
  1739  	G			*GroupOld_G	`protobuf:"group,101,opt" json:"g,omitempty"`
  1740  	XXX_unrecognized	[]byte		`json:"-"`
  1741  }
  1742  
  1743  func (m *GroupOld) Reset()		{ *m = GroupOld{} }
  1744  func (m *GroupOld) String() string	{ return proto.CompactTextString(m) }
  1745  func (*GroupOld) ProtoMessage()		{}
  1746  
  1747  func (m *GroupOld) GetG() *GroupOld_G {
  1748  	if m != nil {
  1749  		return m.G
  1750  	}
  1751  	return nil
  1752  }
  1753  
  1754  type GroupOld_G struct {
  1755  	X			*int32	`protobuf:"varint,2,opt,name=x" json:"x,omitempty"`
  1756  	XXX_unrecognized	[]byte	`json:"-"`
  1757  }
  1758  
  1759  func (m *GroupOld_G) Reset()		{ *m = GroupOld_G{} }
  1760  func (m *GroupOld_G) String() string	{ return proto.CompactTextString(m) }
  1761  func (*GroupOld_G) ProtoMessage()	{}
  1762  
  1763  func (m *GroupOld_G) GetX() int32 {
  1764  	if m != nil && m.X != nil {
  1765  		return *m.X
  1766  	}
  1767  	return 0
  1768  }
  1769  
  1770  type GroupNew struct {
  1771  	G			*GroupNew_G	`protobuf:"group,101,opt" json:"g,omitempty"`
  1772  	XXX_unrecognized	[]byte		`json:"-"`
  1773  }
  1774  
  1775  func (m *GroupNew) Reset()		{ *m = GroupNew{} }
  1776  func (m *GroupNew) String() string	{ return proto.CompactTextString(m) }
  1777  func (*GroupNew) ProtoMessage()		{}
  1778  
  1779  func (m *GroupNew) GetG() *GroupNew_G {
  1780  	if m != nil {
  1781  		return m.G
  1782  	}
  1783  	return nil
  1784  }
  1785  
  1786  type GroupNew_G struct {
  1787  	X			*int32	`protobuf:"varint,2,opt,name=x" json:"x,omitempty"`
  1788  	Y			*int32	`protobuf:"varint,3,opt,name=y" json:"y,omitempty"`
  1789  	XXX_unrecognized	[]byte	`json:"-"`
  1790  }
  1791  
  1792  func (m *GroupNew_G) Reset()		{ *m = GroupNew_G{} }
  1793  func (m *GroupNew_G) String() string	{ return proto.CompactTextString(m) }
  1794  func (*GroupNew_G) ProtoMessage()	{}
  1795  
  1796  func (m *GroupNew_G) GetX() int32 {
  1797  	if m != nil && m.X != nil {
  1798  		return *m.X
  1799  	}
  1800  	return 0
  1801  }
  1802  
  1803  func (m *GroupNew_G) GetY() int32 {
  1804  	if m != nil && m.Y != nil {
  1805  		return *m.Y
  1806  	}
  1807  	return 0
  1808  }
  1809  
  1810  type FloatingPoint struct {
  1811  	F			*float64	`protobuf:"fixed64,1,req,name=f" json:"f,omitempty"`
  1812  	XXX_unrecognized	[]byte		`json:"-"`
  1813  }
  1814  
  1815  func (m *FloatingPoint) Reset()		{ *m = FloatingPoint{} }
  1816  func (m *FloatingPoint) String() string	{ return proto.CompactTextString(m) }
  1817  func (*FloatingPoint) ProtoMessage()	{}
  1818  
  1819  func (m *FloatingPoint) GetF() float64 {
  1820  	if m != nil && m.F != nil {
  1821  		return *m.F
  1822  	}
  1823  	return 0
  1824  }
  1825  
  1826  var E_Greeting = &proto.ExtensionDesc{
  1827  	ExtendedType:	(*MyMessage)(nil),
  1828  	ExtensionType:	([]string)(nil),
  1829  	Field:		106,
  1830  	Name:		"testdata.greeting",
  1831  	Tag:		"bytes,106,rep,name=greeting",
  1832  }
  1833  
  1834  var E_X201 = &proto.ExtensionDesc{
  1835  	ExtendedType:	(*MyMessageSet)(nil),
  1836  	ExtensionType:	(*Empty)(nil),
  1837  	Field:		201,
  1838  	Name:		"testdata.x201",
  1839  	Tag:		"bytes,201,opt,name=x201",
  1840  }
  1841  
  1842  var E_X202 = &proto.ExtensionDesc{
  1843  	ExtendedType:	(*MyMessageSet)(nil),
  1844  	ExtensionType:	(*Empty)(nil),
  1845  	Field:		202,
  1846  	Name:		"testdata.x202",
  1847  	Tag:		"bytes,202,opt,name=x202",
  1848  }
  1849  
  1850  var E_X203 = &proto.ExtensionDesc{
  1851  	ExtendedType:	(*MyMessageSet)(nil),
  1852  	ExtensionType:	(*Empty)(nil),
  1853  	Field:		203,
  1854  	Name:		"testdata.x203",
  1855  	Tag:		"bytes,203,opt,name=x203",
  1856  }
  1857  
  1858  var E_X204 = &proto.ExtensionDesc{
  1859  	ExtendedType:	(*MyMessageSet)(nil),
  1860  	ExtensionType:	(*Empty)(nil),
  1861  	Field:		204,
  1862  	Name:		"testdata.x204",
  1863  	Tag:		"bytes,204,opt,name=x204",
  1864  }
  1865  
  1866  var E_X205 = &proto.ExtensionDesc{
  1867  	ExtendedType:	(*MyMessageSet)(nil),
  1868  	ExtensionType:	(*Empty)(nil),
  1869  	Field:		205,
  1870  	Name:		"testdata.x205",
  1871  	Tag:		"bytes,205,opt,name=x205",
  1872  }
  1873  
  1874  var E_X206 = &proto.ExtensionDesc{
  1875  	ExtendedType:	(*MyMessageSet)(nil),
  1876  	ExtensionType:	(*Empty)(nil),
  1877  	Field:		206,
  1878  	Name:		"testdata.x206",
  1879  	Tag:		"bytes,206,opt,name=x206",
  1880  }
  1881  
  1882  var E_X207 = &proto.ExtensionDesc{
  1883  	ExtendedType:	(*MyMessageSet)(nil),
  1884  	ExtensionType:	(*Empty)(nil),
  1885  	Field:		207,
  1886  	Name:		"testdata.x207",
  1887  	Tag:		"bytes,207,opt,name=x207",
  1888  }
  1889  
  1890  var E_X208 = &proto.ExtensionDesc{
  1891  	ExtendedType:	(*MyMessageSet)(nil),
  1892  	ExtensionType:	(*Empty)(nil),
  1893  	Field:		208,
  1894  	Name:		"testdata.x208",
  1895  	Tag:		"bytes,208,opt,name=x208",
  1896  }
  1897  
  1898  var E_X209 = &proto.ExtensionDesc{
  1899  	ExtendedType:	(*MyMessageSet)(nil),
  1900  	ExtensionType:	(*Empty)(nil),
  1901  	Field:		209,
  1902  	Name:		"testdata.x209",
  1903  	Tag:		"bytes,209,opt,name=x209",
  1904  }
  1905  
  1906  var E_X210 = &proto.ExtensionDesc{
  1907  	ExtendedType:	(*MyMessageSet)(nil),
  1908  	ExtensionType:	(*Empty)(nil),
  1909  	Field:		210,
  1910  	Name:		"testdata.x210",
  1911  	Tag:		"bytes,210,opt,name=x210",
  1912  }
  1913  
  1914  var E_X211 = &proto.ExtensionDesc{
  1915  	ExtendedType:	(*MyMessageSet)(nil),
  1916  	ExtensionType:	(*Empty)(nil),
  1917  	Field:		211,
  1918  	Name:		"testdata.x211",
  1919  	Tag:		"bytes,211,opt,name=x211",
  1920  }
  1921  
  1922  var E_X212 = &proto.ExtensionDesc{
  1923  	ExtendedType:	(*MyMessageSet)(nil),
  1924  	ExtensionType:	(*Empty)(nil),
  1925  	Field:		212,
  1926  	Name:		"testdata.x212",
  1927  	Tag:		"bytes,212,opt,name=x212",
  1928  }
  1929  
  1930  var E_X213 = &proto.ExtensionDesc{
  1931  	ExtendedType:	(*MyMessageSet)(nil),
  1932  	ExtensionType:	(*Empty)(nil),
  1933  	Field:		213,
  1934  	Name:		"testdata.x213",
  1935  	Tag:		"bytes,213,opt,name=x213",
  1936  }
  1937  
  1938  var E_X214 = &proto.ExtensionDesc{
  1939  	ExtendedType:	(*MyMessageSet)(nil),
  1940  	ExtensionType:	(*Empty)(nil),
  1941  	Field:		214,
  1942  	Name:		"testdata.x214",
  1943  	Tag:		"bytes,214,opt,name=x214",
  1944  }
  1945  
  1946  var E_X215 = &proto.ExtensionDesc{
  1947  	ExtendedType:	(*MyMessageSet)(nil),
  1948  	ExtensionType:	(*Empty)(nil),
  1949  	Field:		215,
  1950  	Name:		"testdata.x215",
  1951  	Tag:		"bytes,215,opt,name=x215",
  1952  }
  1953  
  1954  var E_X216 = &proto.ExtensionDesc{
  1955  	ExtendedType:	(*MyMessageSet)(nil),
  1956  	ExtensionType:	(*Empty)(nil),
  1957  	Field:		216,
  1958  	Name:		"testdata.x216",
  1959  	Tag:		"bytes,216,opt,name=x216",
  1960  }
  1961  
  1962  var E_X217 = &proto.ExtensionDesc{
  1963  	ExtendedType:	(*MyMessageSet)(nil),
  1964  	ExtensionType:	(*Empty)(nil),
  1965  	Field:		217,
  1966  	Name:		"testdata.x217",
  1967  	Tag:		"bytes,217,opt,name=x217",
  1968  }
  1969  
  1970  var E_X218 = &proto.ExtensionDesc{
  1971  	ExtendedType:	(*MyMessageSet)(nil),
  1972  	ExtensionType:	(*Empty)(nil),
  1973  	Field:		218,
  1974  	Name:		"testdata.x218",
  1975  	Tag:		"bytes,218,opt,name=x218",
  1976  }
  1977  
  1978  var E_X219 = &proto.ExtensionDesc{
  1979  	ExtendedType:	(*MyMessageSet)(nil),
  1980  	ExtensionType:	(*Empty)(nil),
  1981  	Field:		219,
  1982  	Name:		"testdata.x219",
  1983  	Tag:		"bytes,219,opt,name=x219",
  1984  }
  1985  
  1986  var E_X220 = &proto.ExtensionDesc{
  1987  	ExtendedType:	(*MyMessageSet)(nil),
  1988  	ExtensionType:	(*Empty)(nil),
  1989  	Field:		220,
  1990  	Name:		"testdata.x220",
  1991  	Tag:		"bytes,220,opt,name=x220",
  1992  }
  1993  
  1994  var E_X221 = &proto.ExtensionDesc{
  1995  	ExtendedType:	(*MyMessageSet)(nil),
  1996  	ExtensionType:	(*Empty)(nil),
  1997  	Field:		221,
  1998  	Name:		"testdata.x221",
  1999  	Tag:		"bytes,221,opt,name=x221",
  2000  }
  2001  
  2002  var E_X222 = &proto.ExtensionDesc{
  2003  	ExtendedType:	(*MyMessageSet)(nil),
  2004  	ExtensionType:	(*Empty)(nil),
  2005  	Field:		222,
  2006  	Name:		"testdata.x222",
  2007  	Tag:		"bytes,222,opt,name=x222",
  2008  }
  2009  
  2010  var E_X223 = &proto.ExtensionDesc{
  2011  	ExtendedType:	(*MyMessageSet)(nil),
  2012  	ExtensionType:	(*Empty)(nil),
  2013  	Field:		223,
  2014  	Name:		"testdata.x223",
  2015  	Tag:		"bytes,223,opt,name=x223",
  2016  }
  2017  
  2018  var E_X224 = &proto.ExtensionDesc{
  2019  	ExtendedType:	(*MyMessageSet)(nil),
  2020  	ExtensionType:	(*Empty)(nil),
  2021  	Field:		224,
  2022  	Name:		"testdata.x224",
  2023  	Tag:		"bytes,224,opt,name=x224",
  2024  }
  2025  
  2026  var E_X225 = &proto.ExtensionDesc{
  2027  	ExtendedType:	(*MyMessageSet)(nil),
  2028  	ExtensionType:	(*Empty)(nil),
  2029  	Field:		225,
  2030  	Name:		"testdata.x225",
  2031  	Tag:		"bytes,225,opt,name=x225",
  2032  }
  2033  
  2034  var E_X226 = &proto.ExtensionDesc{
  2035  	ExtendedType:	(*MyMessageSet)(nil),
  2036  	ExtensionType:	(*Empty)(nil),
  2037  	Field:		226,
  2038  	Name:		"testdata.x226",
  2039  	Tag:		"bytes,226,opt,name=x226",
  2040  }
  2041  
  2042  var E_X227 = &proto.ExtensionDesc{
  2043  	ExtendedType:	(*MyMessageSet)(nil),
  2044  	ExtensionType:	(*Empty)(nil),
  2045  	Field:		227,
  2046  	Name:		"testdata.x227",
  2047  	Tag:		"bytes,227,opt,name=x227",
  2048  }
  2049  
  2050  var E_X228 = &proto.ExtensionDesc{
  2051  	ExtendedType:	(*MyMessageSet)(nil),
  2052  	ExtensionType:	(*Empty)(nil),
  2053  	Field:		228,
  2054  	Name:		"testdata.x228",
  2055  	Tag:		"bytes,228,opt,name=x228",
  2056  }
  2057  
  2058  var E_X229 = &proto.ExtensionDesc{
  2059  	ExtendedType:	(*MyMessageSet)(nil),
  2060  	ExtensionType:	(*Empty)(nil),
  2061  	Field:		229,
  2062  	Name:		"testdata.x229",
  2063  	Tag:		"bytes,229,opt,name=x229",
  2064  }
  2065  
  2066  var E_X230 = &proto.ExtensionDesc{
  2067  	ExtendedType:	(*MyMessageSet)(nil),
  2068  	ExtensionType:	(*Empty)(nil),
  2069  	Field:		230,
  2070  	Name:		"testdata.x230",
  2071  	Tag:		"bytes,230,opt,name=x230",
  2072  }
  2073  
  2074  var E_X231 = &proto.ExtensionDesc{
  2075  	ExtendedType:	(*MyMessageSet)(nil),
  2076  	ExtensionType:	(*Empty)(nil),
  2077  	Field:		231,
  2078  	Name:		"testdata.x231",
  2079  	Tag:		"bytes,231,opt,name=x231",
  2080  }
  2081  
  2082  var E_X232 = &proto.ExtensionDesc{
  2083  	ExtendedType:	(*MyMessageSet)(nil),
  2084  	ExtensionType:	(*Empty)(nil),
  2085  	Field:		232,
  2086  	Name:		"testdata.x232",
  2087  	Tag:		"bytes,232,opt,name=x232",
  2088  }
  2089  
  2090  var E_X233 = &proto.ExtensionDesc{
  2091  	ExtendedType:	(*MyMessageSet)(nil),
  2092  	ExtensionType:	(*Empty)(nil),
  2093  	Field:		233,
  2094  	Name:		"testdata.x233",
  2095  	Tag:		"bytes,233,opt,name=x233",
  2096  }
  2097  
  2098  var E_X234 = &proto.ExtensionDesc{
  2099  	ExtendedType:	(*MyMessageSet)(nil),
  2100  	ExtensionType:	(*Empty)(nil),
  2101  	Field:		234,
  2102  	Name:		"testdata.x234",
  2103  	Tag:		"bytes,234,opt,name=x234",
  2104  }
  2105  
  2106  var E_X235 = &proto.ExtensionDesc{
  2107  	ExtendedType:	(*MyMessageSet)(nil),
  2108  	ExtensionType:	(*Empty)(nil),
  2109  	Field:		235,
  2110  	Name:		"testdata.x235",
  2111  	Tag:		"bytes,235,opt,name=x235",
  2112  }
  2113  
  2114  var E_X236 = &proto.ExtensionDesc{
  2115  	ExtendedType:	(*MyMessageSet)(nil),
  2116  	ExtensionType:	(*Empty)(nil),
  2117  	Field:		236,
  2118  	Name:		"testdata.x236",
  2119  	Tag:		"bytes,236,opt,name=x236",
  2120  }
  2121  
  2122  var E_X237 = &proto.ExtensionDesc{
  2123  	ExtendedType:	(*MyMessageSet)(nil),
  2124  	ExtensionType:	(*Empty)(nil),
  2125  	Field:		237,
  2126  	Name:		"testdata.x237",
  2127  	Tag:		"bytes,237,opt,name=x237",
  2128  }
  2129  
  2130  var E_X238 = &proto.ExtensionDesc{
  2131  	ExtendedType:	(*MyMessageSet)(nil),
  2132  	ExtensionType:	(*Empty)(nil),
  2133  	Field:		238,
  2134  	Name:		"testdata.x238",
  2135  	Tag:		"bytes,238,opt,name=x238",
  2136  }
  2137  
  2138  var E_X239 = &proto.ExtensionDesc{
  2139  	ExtendedType:	(*MyMessageSet)(nil),
  2140  	ExtensionType:	(*Empty)(nil),
  2141  	Field:		239,
  2142  	Name:		"testdata.x239",
  2143  	Tag:		"bytes,239,opt,name=x239",
  2144  }
  2145  
  2146  var E_X240 = &proto.ExtensionDesc{
  2147  	ExtendedType:	(*MyMessageSet)(nil),
  2148  	ExtensionType:	(*Empty)(nil),
  2149  	Field:		240,
  2150  	Name:		"testdata.x240",
  2151  	Tag:		"bytes,240,opt,name=x240",
  2152  }
  2153  
  2154  var E_X241 = &proto.ExtensionDesc{
  2155  	ExtendedType:	(*MyMessageSet)(nil),
  2156  	ExtensionType:	(*Empty)(nil),
  2157  	Field:		241,
  2158  	Name:		"testdata.x241",
  2159  	Tag:		"bytes,241,opt,name=x241",
  2160  }
  2161  
  2162  var E_X242 = &proto.ExtensionDesc{
  2163  	ExtendedType:	(*MyMessageSet)(nil),
  2164  	ExtensionType:	(*Empty)(nil),
  2165  	Field:		242,
  2166  	Name:		"testdata.x242",
  2167  	Tag:		"bytes,242,opt,name=x242",
  2168  }
  2169  
  2170  var E_X243 = &proto.ExtensionDesc{
  2171  	ExtendedType:	(*MyMessageSet)(nil),
  2172  	ExtensionType:	(*Empty)(nil),
  2173  	Field:		243,
  2174  	Name:		"testdata.x243",
  2175  	Tag:		"bytes,243,opt,name=x243",
  2176  }
  2177  
  2178  var E_X244 = &proto.ExtensionDesc{
  2179  	ExtendedType:	(*MyMessageSet)(nil),
  2180  	ExtensionType:	(*Empty)(nil),
  2181  	Field:		244,
  2182  	Name:		"testdata.x244",
  2183  	Tag:		"bytes,244,opt,name=x244",
  2184  }
  2185  
  2186  var E_X245 = &proto.ExtensionDesc{
  2187  	ExtendedType:	(*MyMessageSet)(nil),
  2188  	ExtensionType:	(*Empty)(nil),
  2189  	Field:		245,
  2190  	Name:		"testdata.x245",
  2191  	Tag:		"bytes,245,opt,name=x245",
  2192  }
  2193  
  2194  var E_X246 = &proto.ExtensionDesc{
  2195  	ExtendedType:	(*MyMessageSet)(nil),
  2196  	ExtensionType:	(*Empty)(nil),
  2197  	Field:		246,
  2198  	Name:		"testdata.x246",
  2199  	Tag:		"bytes,246,opt,name=x246",
  2200  }
  2201  
  2202  var E_X247 = &proto.ExtensionDesc{
  2203  	ExtendedType:	(*MyMessageSet)(nil),
  2204  	ExtensionType:	(*Empty)(nil),
  2205  	Field:		247,
  2206  	Name:		"testdata.x247",
  2207  	Tag:		"bytes,247,opt,name=x247",
  2208  }
  2209  
  2210  var E_X248 = &proto.ExtensionDesc{
  2211  	ExtendedType:	(*MyMessageSet)(nil),
  2212  	ExtensionType:	(*Empty)(nil),
  2213  	Field:		248,
  2214  	Name:		"testdata.x248",
  2215  	Tag:		"bytes,248,opt,name=x248",
  2216  }
  2217  
  2218  var E_X249 = &proto.ExtensionDesc{
  2219  	ExtendedType:	(*MyMessageSet)(nil),
  2220  	ExtensionType:	(*Empty)(nil),
  2221  	Field:		249,
  2222  	Name:		"testdata.x249",
  2223  	Tag:		"bytes,249,opt,name=x249",
  2224  }
  2225  
  2226  var E_X250 = &proto.ExtensionDesc{
  2227  	ExtendedType:	(*MyMessageSet)(nil),
  2228  	ExtensionType:	(*Empty)(nil),
  2229  	Field:		250,
  2230  	Name:		"testdata.x250",
  2231  	Tag:		"bytes,250,opt,name=x250",
  2232  }
  2233  
  2234  func init() {
  2235  	proto.RegisterEnum("testdata.FOO", FOO_name, FOO_value)
  2236  	proto.RegisterEnum("testdata.GoTest_KIND", GoTest_KIND_name, GoTest_KIND_value)
  2237  	proto.RegisterEnum("testdata.MyMessage_Color", MyMessage_Color_name, MyMessage_Color_value)
  2238  	proto.RegisterEnum("testdata.Defaults_Color", Defaults_Color_name, Defaults_Color_value)
  2239  	proto.RegisterEnum("testdata.RepeatedEnum_Color", RepeatedEnum_Color_name, RepeatedEnum_Color_value)
  2240  	proto.RegisterExtension(E_Ext_More)
  2241  	proto.RegisterExtension(E_Ext_Text)
  2242  	proto.RegisterExtension(E_Ext_Number)
  2243  	proto.RegisterExtension(E_Greeting)
  2244  	proto.RegisterExtension(E_X201)
  2245  	proto.RegisterExtension(E_X202)
  2246  	proto.RegisterExtension(E_X203)
  2247  	proto.RegisterExtension(E_X204)
  2248  	proto.RegisterExtension(E_X205)
  2249  	proto.RegisterExtension(E_X206)
  2250  	proto.RegisterExtension(E_X207)
  2251  	proto.RegisterExtension(E_X208)
  2252  	proto.RegisterExtension(E_X209)
  2253  	proto.RegisterExtension(E_X210)
  2254  	proto.RegisterExtension(E_X211)
  2255  	proto.RegisterExtension(E_X212)
  2256  	proto.RegisterExtension(E_X213)
  2257  	proto.RegisterExtension(E_X214)
  2258  	proto.RegisterExtension(E_X215)
  2259  	proto.RegisterExtension(E_X216)
  2260  	proto.RegisterExtension(E_X217)
  2261  	proto.RegisterExtension(E_X218)
  2262  	proto.RegisterExtension(E_X219)
  2263  	proto.RegisterExtension(E_X220)
  2264  	proto.RegisterExtension(E_X221)
  2265  	proto.RegisterExtension(E_X222)
  2266  	proto.RegisterExtension(E_X223)
  2267  	proto.RegisterExtension(E_X224)
  2268  	proto.RegisterExtension(E_X225)
  2269  	proto.RegisterExtension(E_X226)
  2270  	proto.RegisterExtension(E_X227)
  2271  	proto.RegisterExtension(E_X228)
  2272  	proto.RegisterExtension(E_X229)
  2273  	proto.RegisterExtension(E_X230)
  2274  	proto.RegisterExtension(E_X231)
  2275  	proto.RegisterExtension(E_X232)
  2276  	proto.RegisterExtension(E_X233)
  2277  	proto.RegisterExtension(E_X234)
  2278  	proto.RegisterExtension(E_X235)
  2279  	proto.RegisterExtension(E_X236)
  2280  	proto.RegisterExtension(E_X237)
  2281  	proto.RegisterExtension(E_X238)
  2282  	proto.RegisterExtension(E_X239)
  2283  	proto.RegisterExtension(E_X240)
  2284  	proto.RegisterExtension(E_X241)
  2285  	proto.RegisterExtension(E_X242)
  2286  	proto.RegisterExtension(E_X243)
  2287  	proto.RegisterExtension(E_X244)
  2288  	proto.RegisterExtension(E_X245)
  2289  	proto.RegisterExtension(E_X246)
  2290  	proto.RegisterExtension(E_X247)
  2291  	proto.RegisterExtension(E_X248)
  2292  	proto.RegisterExtension(E_X249)
  2293  	proto.RegisterExtension(E_X250)
  2294  }