...

Source file src/google.golang.org/protobuf/internal/testprotos/textpb3/test.pb.go

Documentation: google.golang.org/protobuf/internal/testprotos/textpb3

     1  // Copyright 2018 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Test Protobuf definitions with proto3 syntax.
     6  
     7  // Code generated by protoc-gen-go. DO NOT EDIT.
     8  // source: internal/testprotos/textpb3/test.proto
     9  
    10  package textpb3
    11  
    12  import (
    13  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    14  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    15  	reflect "reflect"
    16  	sync "sync"
    17  )
    18  
    19  type Enum int32
    20  
    21  const (
    22  	Enum_ZERO Enum = 0
    23  	Enum_ONE  Enum = 1
    24  	Enum_TWO  Enum = 2
    25  	Enum_TEN  Enum = 10
    26  )
    27  
    28  // Enum value maps for Enum.
    29  var (
    30  	Enum_name = map[int32]string{
    31  		0:  "ZERO",
    32  		1:  "ONE",
    33  		2:  "TWO",
    34  		10: "TEN",
    35  	}
    36  	Enum_value = map[string]int32{
    37  		"ZERO": 0,
    38  		"ONE":  1,
    39  		"TWO":  2,
    40  		"TEN":  10,
    41  	}
    42  )
    43  
    44  func (x Enum) Enum() *Enum {
    45  	p := new(Enum)
    46  	*p = x
    47  	return p
    48  }
    49  
    50  func (x Enum) String() string {
    51  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    52  }
    53  
    54  func (Enum) Descriptor() protoreflect.EnumDescriptor {
    55  	return file_internal_testprotos_textpb3_test_proto_enumTypes[0].Descriptor()
    56  }
    57  
    58  func (Enum) Type() protoreflect.EnumType {
    59  	return &file_internal_testprotos_textpb3_test_proto_enumTypes[0]
    60  }
    61  
    62  func (x Enum) Number() protoreflect.EnumNumber {
    63  	return protoreflect.EnumNumber(x)
    64  }
    65  
    66  // Deprecated: Use Enum.Descriptor instead.
    67  func (Enum) EnumDescriptor() ([]byte, []int) {
    68  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{0}
    69  }
    70  
    71  type Enums_NestedEnum int32
    72  
    73  const (
    74  	Enums_CERO Enums_NestedEnum = 0
    75  	Enums_UNO  Enums_NestedEnum = 1
    76  	Enums_DOS  Enums_NestedEnum = 2
    77  	Enums_DIEZ Enums_NestedEnum = 10
    78  )
    79  
    80  // Enum value maps for Enums_NestedEnum.
    81  var (
    82  	Enums_NestedEnum_name = map[int32]string{
    83  		0:  "CERO",
    84  		1:  "UNO",
    85  		2:  "DOS",
    86  		10: "DIEZ",
    87  	}
    88  	Enums_NestedEnum_value = map[string]int32{
    89  		"CERO": 0,
    90  		"UNO":  1,
    91  		"DOS":  2,
    92  		"DIEZ": 10,
    93  	}
    94  )
    95  
    96  func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
    97  	p := new(Enums_NestedEnum)
    98  	*p = x
    99  	return p
   100  }
   101  
   102  func (x Enums_NestedEnum) String() string {
   103  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   104  }
   105  
   106  func (Enums_NestedEnum) Descriptor() protoreflect.EnumDescriptor {
   107  	return file_internal_testprotos_textpb3_test_proto_enumTypes[1].Descriptor()
   108  }
   109  
   110  func (Enums_NestedEnum) Type() protoreflect.EnumType {
   111  	return &file_internal_testprotos_textpb3_test_proto_enumTypes[1]
   112  }
   113  
   114  func (x Enums_NestedEnum) Number() protoreflect.EnumNumber {
   115  	return protoreflect.EnumNumber(x)
   116  }
   117  
   118  // Deprecated: Use Enums_NestedEnum.Descriptor instead.
   119  func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
   120  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{3, 0}
   121  }
   122  
   123  // Scalars contains scalar field types.
   124  type Scalars struct {
   125  	state         protoimpl.MessageState
   126  	sizeCache     protoimpl.SizeCache
   127  	unknownFields protoimpl.UnknownFields
   128  
   129  	SBool     bool    `protobuf:"varint,1,opt,name=s_bool,json=sBool,proto3" json:"s_bool,omitempty"`
   130  	SInt32    int32   `protobuf:"varint,2,opt,name=s_int32,json=sInt32,proto3" json:"s_int32,omitempty"`
   131  	SInt64    int64   `protobuf:"varint,3,opt,name=s_int64,json=sInt64,proto3" json:"s_int64,omitempty"`
   132  	SUint32   uint32  `protobuf:"varint,4,opt,name=s_uint32,json=sUint32,proto3" json:"s_uint32,omitempty"`
   133  	SUint64   uint64  `protobuf:"varint,5,opt,name=s_uint64,json=sUint64,proto3" json:"s_uint64,omitempty"`
   134  	SSint32   int32   `protobuf:"zigzag32,6,opt,name=s_sint32,json=sSint32,proto3" json:"s_sint32,omitempty"`
   135  	SSint64   int64   `protobuf:"zigzag64,7,opt,name=s_sint64,json=sSint64,proto3" json:"s_sint64,omitempty"`
   136  	SFixed32  uint32  `protobuf:"fixed32,8,opt,name=s_fixed32,json=sFixed32,proto3" json:"s_fixed32,omitempty"`
   137  	SFixed64  uint64  `protobuf:"fixed64,9,opt,name=s_fixed64,json=sFixed64,proto3" json:"s_fixed64,omitempty"`
   138  	SSfixed32 int32   `protobuf:"fixed32,10,opt,name=s_sfixed32,json=sSfixed32,proto3" json:"s_sfixed32,omitempty"`
   139  	SSfixed64 int64   `protobuf:"fixed64,11,opt,name=s_sfixed64,json=sSfixed64,proto3" json:"s_sfixed64,omitempty"`
   140  	SFloat    float32 `protobuf:"fixed32,20,opt,name=s_float,json=sFloat,proto3" json:"s_float,omitempty"`
   141  	SDouble   float64 `protobuf:"fixed64,21,opt,name=s_double,json=sDouble,proto3" json:"s_double,omitempty"`
   142  	SBytes    []byte  `protobuf:"bytes,14,opt,name=s_bytes,json=sBytes,proto3" json:"s_bytes,omitempty"`
   143  	SString   string  `protobuf:"bytes,13,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
   144  }
   145  
   146  func (x *Scalars) Reset() {
   147  	*x = Scalars{}
   148  	if protoimpl.UnsafeEnabled {
   149  		mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[0]
   150  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   151  		ms.StoreMessageInfo(mi)
   152  	}
   153  }
   154  
   155  func (x *Scalars) String() string {
   156  	return protoimpl.X.MessageStringOf(x)
   157  }
   158  
   159  func (*Scalars) ProtoMessage() {}
   160  
   161  func (x *Scalars) ProtoReflect() protoreflect.Message {
   162  	mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[0]
   163  	if protoimpl.UnsafeEnabled && x != nil {
   164  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   165  		if ms.LoadMessageInfo() == nil {
   166  			ms.StoreMessageInfo(mi)
   167  		}
   168  		return ms
   169  	}
   170  	return mi.MessageOf(x)
   171  }
   172  
   173  // Deprecated: Use Scalars.ProtoReflect.Descriptor instead.
   174  func (*Scalars) Descriptor() ([]byte, []int) {
   175  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{0}
   176  }
   177  
   178  func (x *Scalars) GetSBool() bool {
   179  	if x != nil {
   180  		return x.SBool
   181  	}
   182  	return false
   183  }
   184  
   185  func (x *Scalars) GetSInt32() int32 {
   186  	if x != nil {
   187  		return x.SInt32
   188  	}
   189  	return 0
   190  }
   191  
   192  func (x *Scalars) GetSInt64() int64 {
   193  	if x != nil {
   194  		return x.SInt64
   195  	}
   196  	return 0
   197  }
   198  
   199  func (x *Scalars) GetSUint32() uint32 {
   200  	if x != nil {
   201  		return x.SUint32
   202  	}
   203  	return 0
   204  }
   205  
   206  func (x *Scalars) GetSUint64() uint64 {
   207  	if x != nil {
   208  		return x.SUint64
   209  	}
   210  	return 0
   211  }
   212  
   213  func (x *Scalars) GetSSint32() int32 {
   214  	if x != nil {
   215  		return x.SSint32
   216  	}
   217  	return 0
   218  }
   219  
   220  func (x *Scalars) GetSSint64() int64 {
   221  	if x != nil {
   222  		return x.SSint64
   223  	}
   224  	return 0
   225  }
   226  
   227  func (x *Scalars) GetSFixed32() uint32 {
   228  	if x != nil {
   229  		return x.SFixed32
   230  	}
   231  	return 0
   232  }
   233  
   234  func (x *Scalars) GetSFixed64() uint64 {
   235  	if x != nil {
   236  		return x.SFixed64
   237  	}
   238  	return 0
   239  }
   240  
   241  func (x *Scalars) GetSSfixed32() int32 {
   242  	if x != nil {
   243  		return x.SSfixed32
   244  	}
   245  	return 0
   246  }
   247  
   248  func (x *Scalars) GetSSfixed64() int64 {
   249  	if x != nil {
   250  		return x.SSfixed64
   251  	}
   252  	return 0
   253  }
   254  
   255  func (x *Scalars) GetSFloat() float32 {
   256  	if x != nil {
   257  		return x.SFloat
   258  	}
   259  	return 0
   260  }
   261  
   262  func (x *Scalars) GetSDouble() float64 {
   263  	if x != nil {
   264  		return x.SDouble
   265  	}
   266  	return 0
   267  }
   268  
   269  func (x *Scalars) GetSBytes() []byte {
   270  	if x != nil {
   271  		return x.SBytes
   272  	}
   273  	return nil
   274  }
   275  
   276  func (x *Scalars) GetSString() string {
   277  	if x != nil {
   278  		return x.SString
   279  	}
   280  	return ""
   281  }
   282  
   283  // Message contains repeated fields.
   284  type Repeats struct {
   285  	state         protoimpl.MessageState
   286  	sizeCache     protoimpl.SizeCache
   287  	unknownFields protoimpl.UnknownFields
   288  
   289  	RptBool   []bool    `protobuf:"varint,1,rep,packed,name=rpt_bool,json=rptBool,proto3" json:"rpt_bool,omitempty"`
   290  	RptInt32  []int32   `protobuf:"varint,2,rep,packed,name=rpt_int32,json=rptInt32,proto3" json:"rpt_int32,omitempty"`
   291  	RptInt64  []int64   `protobuf:"varint,3,rep,packed,name=rpt_int64,json=rptInt64,proto3" json:"rpt_int64,omitempty"`
   292  	RptUint32 []uint32  `protobuf:"varint,4,rep,packed,name=rpt_uint32,json=rptUint32,proto3" json:"rpt_uint32,omitempty"`
   293  	RptUint64 []uint64  `protobuf:"varint,5,rep,packed,name=rpt_uint64,json=rptUint64,proto3" json:"rpt_uint64,omitempty"`
   294  	RptFloat  []float32 `protobuf:"fixed32,6,rep,packed,name=rpt_float,json=rptFloat,proto3" json:"rpt_float,omitempty"`
   295  	RptDouble []float64 `protobuf:"fixed64,7,rep,packed,name=rpt_double,json=rptDouble,proto3" json:"rpt_double,omitempty"`
   296  	RptString []string  `protobuf:"bytes,8,rep,name=rpt_string,json=rptString,proto3" json:"rpt_string,omitempty"`
   297  	RptBytes  [][]byte  `protobuf:"bytes,9,rep,name=rpt_bytes,json=rptBytes,proto3" json:"rpt_bytes,omitempty"`
   298  }
   299  
   300  func (x *Repeats) Reset() {
   301  	*x = Repeats{}
   302  	if protoimpl.UnsafeEnabled {
   303  		mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[1]
   304  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   305  		ms.StoreMessageInfo(mi)
   306  	}
   307  }
   308  
   309  func (x *Repeats) String() string {
   310  	return protoimpl.X.MessageStringOf(x)
   311  }
   312  
   313  func (*Repeats) ProtoMessage() {}
   314  
   315  func (x *Repeats) ProtoReflect() protoreflect.Message {
   316  	mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[1]
   317  	if protoimpl.UnsafeEnabled && x != nil {
   318  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   319  		if ms.LoadMessageInfo() == nil {
   320  			ms.StoreMessageInfo(mi)
   321  		}
   322  		return ms
   323  	}
   324  	return mi.MessageOf(x)
   325  }
   326  
   327  // Deprecated: Use Repeats.ProtoReflect.Descriptor instead.
   328  func (*Repeats) Descriptor() ([]byte, []int) {
   329  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{1}
   330  }
   331  
   332  func (x *Repeats) GetRptBool() []bool {
   333  	if x != nil {
   334  		return x.RptBool
   335  	}
   336  	return nil
   337  }
   338  
   339  func (x *Repeats) GetRptInt32() []int32 {
   340  	if x != nil {
   341  		return x.RptInt32
   342  	}
   343  	return nil
   344  }
   345  
   346  func (x *Repeats) GetRptInt64() []int64 {
   347  	if x != nil {
   348  		return x.RptInt64
   349  	}
   350  	return nil
   351  }
   352  
   353  func (x *Repeats) GetRptUint32() []uint32 {
   354  	if x != nil {
   355  		return x.RptUint32
   356  	}
   357  	return nil
   358  }
   359  
   360  func (x *Repeats) GetRptUint64() []uint64 {
   361  	if x != nil {
   362  		return x.RptUint64
   363  	}
   364  	return nil
   365  }
   366  
   367  func (x *Repeats) GetRptFloat() []float32 {
   368  	if x != nil {
   369  		return x.RptFloat
   370  	}
   371  	return nil
   372  }
   373  
   374  func (x *Repeats) GetRptDouble() []float64 {
   375  	if x != nil {
   376  		return x.RptDouble
   377  	}
   378  	return nil
   379  }
   380  
   381  func (x *Repeats) GetRptString() []string {
   382  	if x != nil {
   383  		return x.RptString
   384  	}
   385  	return nil
   386  }
   387  
   388  func (x *Repeats) GetRptBytes() [][]byte {
   389  	if x != nil {
   390  		return x.RptBytes
   391  	}
   392  	return nil
   393  }
   394  
   395  type Proto3Optional struct {
   396  	state         protoimpl.MessageState
   397  	sizeCache     protoimpl.SizeCache
   398  	unknownFields protoimpl.UnknownFields
   399  
   400  	OptBool    *bool    `protobuf:"varint,1,opt,name=opt_bool,json=optBool,proto3,oneof" json:"opt_bool,omitempty"`
   401  	OptInt32   *int32   `protobuf:"varint,2,opt,name=opt_int32,json=optInt32,proto3,oneof" json:"opt_int32,omitempty"`
   402  	OptInt64   *int64   `protobuf:"varint,3,opt,name=opt_int64,json=optInt64,proto3,oneof" json:"opt_int64,omitempty"`
   403  	OptUint32  *uint32  `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32,proto3,oneof" json:"opt_uint32,omitempty"`
   404  	OptUint64  *uint64  `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64,proto3,oneof" json:"opt_uint64,omitempty"`
   405  	OptFloat   *float32 `protobuf:"fixed32,6,opt,name=opt_float,json=optFloat,proto3,oneof" json:"opt_float,omitempty"`
   406  	OptDouble  *float64 `protobuf:"fixed64,7,opt,name=opt_double,json=optDouble,proto3,oneof" json:"opt_double,omitempty"`
   407  	OptString  *string  `protobuf:"bytes,8,opt,name=opt_string,json=optString,proto3,oneof" json:"opt_string,omitempty"`
   408  	OptBytes   []byte   `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes,proto3,oneof" json:"opt_bytes,omitempty"`
   409  	OptEnum    *Enum    `protobuf:"varint,10,opt,name=opt_enum,json=optEnum,proto3,enum=pb3.Enum,oneof" json:"opt_enum,omitempty"`
   410  	OptMessage *Nested  `protobuf:"bytes,11,opt,name=opt_message,json=optMessage,proto3,oneof" json:"opt_message,omitempty"`
   411  }
   412  
   413  func (x *Proto3Optional) Reset() {
   414  	*x = Proto3Optional{}
   415  	if protoimpl.UnsafeEnabled {
   416  		mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[2]
   417  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   418  		ms.StoreMessageInfo(mi)
   419  	}
   420  }
   421  
   422  func (x *Proto3Optional) String() string {
   423  	return protoimpl.X.MessageStringOf(x)
   424  }
   425  
   426  func (*Proto3Optional) ProtoMessage() {}
   427  
   428  func (x *Proto3Optional) ProtoReflect() protoreflect.Message {
   429  	mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[2]
   430  	if protoimpl.UnsafeEnabled && x != nil {
   431  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   432  		if ms.LoadMessageInfo() == nil {
   433  			ms.StoreMessageInfo(mi)
   434  		}
   435  		return ms
   436  	}
   437  	return mi.MessageOf(x)
   438  }
   439  
   440  // Deprecated: Use Proto3Optional.ProtoReflect.Descriptor instead.
   441  func (*Proto3Optional) Descriptor() ([]byte, []int) {
   442  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{2}
   443  }
   444  
   445  func (x *Proto3Optional) GetOptBool() bool {
   446  	if x != nil && x.OptBool != nil {
   447  		return *x.OptBool
   448  	}
   449  	return false
   450  }
   451  
   452  func (x *Proto3Optional) GetOptInt32() int32 {
   453  	if x != nil && x.OptInt32 != nil {
   454  		return *x.OptInt32
   455  	}
   456  	return 0
   457  }
   458  
   459  func (x *Proto3Optional) GetOptInt64() int64 {
   460  	if x != nil && x.OptInt64 != nil {
   461  		return *x.OptInt64
   462  	}
   463  	return 0
   464  }
   465  
   466  func (x *Proto3Optional) GetOptUint32() uint32 {
   467  	if x != nil && x.OptUint32 != nil {
   468  		return *x.OptUint32
   469  	}
   470  	return 0
   471  }
   472  
   473  func (x *Proto3Optional) GetOptUint64() uint64 {
   474  	if x != nil && x.OptUint64 != nil {
   475  		return *x.OptUint64
   476  	}
   477  	return 0
   478  }
   479  
   480  func (x *Proto3Optional) GetOptFloat() float32 {
   481  	if x != nil && x.OptFloat != nil {
   482  		return *x.OptFloat
   483  	}
   484  	return 0
   485  }
   486  
   487  func (x *Proto3Optional) GetOptDouble() float64 {
   488  	if x != nil && x.OptDouble != nil {
   489  		return *x.OptDouble
   490  	}
   491  	return 0
   492  }
   493  
   494  func (x *Proto3Optional) GetOptString() string {
   495  	if x != nil && x.OptString != nil {
   496  		return *x.OptString
   497  	}
   498  	return ""
   499  }
   500  
   501  func (x *Proto3Optional) GetOptBytes() []byte {
   502  	if x != nil {
   503  		return x.OptBytes
   504  	}
   505  	return nil
   506  }
   507  
   508  func (x *Proto3Optional) GetOptEnum() Enum {
   509  	if x != nil && x.OptEnum != nil {
   510  		return *x.OptEnum
   511  	}
   512  	return Enum_ZERO
   513  }
   514  
   515  func (x *Proto3Optional) GetOptMessage() *Nested {
   516  	if x != nil {
   517  		return x.OptMessage
   518  	}
   519  	return nil
   520  }
   521  
   522  // Message contains enum fields.
   523  type Enums struct {
   524  	state         protoimpl.MessageState
   525  	sizeCache     protoimpl.SizeCache
   526  	unknownFields protoimpl.UnknownFields
   527  
   528  	SEnum       Enum             `protobuf:"varint,1,opt,name=s_enum,json=sEnum,proto3,enum=pb3.Enum" json:"s_enum,omitempty"`
   529  	SNestedEnum Enums_NestedEnum `protobuf:"varint,3,opt,name=s_nested_enum,json=sNestedEnum,proto3,enum=pb3.Enums_NestedEnum" json:"s_nested_enum,omitempty"`
   530  }
   531  
   532  func (x *Enums) Reset() {
   533  	*x = Enums{}
   534  	if protoimpl.UnsafeEnabled {
   535  		mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[3]
   536  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   537  		ms.StoreMessageInfo(mi)
   538  	}
   539  }
   540  
   541  func (x *Enums) String() string {
   542  	return protoimpl.X.MessageStringOf(x)
   543  }
   544  
   545  func (*Enums) ProtoMessage() {}
   546  
   547  func (x *Enums) ProtoReflect() protoreflect.Message {
   548  	mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[3]
   549  	if protoimpl.UnsafeEnabled && x != nil {
   550  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   551  		if ms.LoadMessageInfo() == nil {
   552  			ms.StoreMessageInfo(mi)
   553  		}
   554  		return ms
   555  	}
   556  	return mi.MessageOf(x)
   557  }
   558  
   559  // Deprecated: Use Enums.ProtoReflect.Descriptor instead.
   560  func (*Enums) Descriptor() ([]byte, []int) {
   561  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{3}
   562  }
   563  
   564  func (x *Enums) GetSEnum() Enum {
   565  	if x != nil {
   566  		return x.SEnum
   567  	}
   568  	return Enum_ZERO
   569  }
   570  
   571  func (x *Enums) GetSNestedEnum() Enums_NestedEnum {
   572  	if x != nil {
   573  		return x.SNestedEnum
   574  	}
   575  	return Enums_CERO
   576  }
   577  
   578  // Message contains nested message field.
   579  type Nests struct {
   580  	state         protoimpl.MessageState
   581  	sizeCache     protoimpl.SizeCache
   582  	unknownFields protoimpl.UnknownFields
   583  
   584  	SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
   585  }
   586  
   587  func (x *Nests) Reset() {
   588  	*x = Nests{}
   589  	if protoimpl.UnsafeEnabled {
   590  		mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[4]
   591  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   592  		ms.StoreMessageInfo(mi)
   593  	}
   594  }
   595  
   596  func (x *Nests) String() string {
   597  	return protoimpl.X.MessageStringOf(x)
   598  }
   599  
   600  func (*Nests) ProtoMessage() {}
   601  
   602  func (x *Nests) ProtoReflect() protoreflect.Message {
   603  	mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[4]
   604  	if protoimpl.UnsafeEnabled && x != nil {
   605  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   606  		if ms.LoadMessageInfo() == nil {
   607  			ms.StoreMessageInfo(mi)
   608  		}
   609  		return ms
   610  	}
   611  	return mi.MessageOf(x)
   612  }
   613  
   614  // Deprecated: Use Nests.ProtoReflect.Descriptor instead.
   615  func (*Nests) Descriptor() ([]byte, []int) {
   616  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{4}
   617  }
   618  
   619  func (x *Nests) GetSNested() *Nested {
   620  	if x != nil {
   621  		return x.SNested
   622  	}
   623  	return nil
   624  }
   625  
   626  // Message type used as submessage.
   627  type Nested struct {
   628  	state         protoimpl.MessageState
   629  	sizeCache     protoimpl.SizeCache
   630  	unknownFields protoimpl.UnknownFields
   631  
   632  	SString string  `protobuf:"bytes,1,opt,name=s_string,json=sString,proto3" json:"s_string,omitempty"`
   633  	SNested *Nested `protobuf:"bytes,2,opt,name=s_nested,json=sNested,proto3" json:"s_nested,omitempty"`
   634  }
   635  
   636  func (x *Nested) Reset() {
   637  	*x = Nested{}
   638  	if protoimpl.UnsafeEnabled {
   639  		mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[5]
   640  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   641  		ms.StoreMessageInfo(mi)
   642  	}
   643  }
   644  
   645  func (x *Nested) String() string {
   646  	return protoimpl.X.MessageStringOf(x)
   647  }
   648  
   649  func (*Nested) ProtoMessage() {}
   650  
   651  func (x *Nested) ProtoReflect() protoreflect.Message {
   652  	mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[5]
   653  	if protoimpl.UnsafeEnabled && x != nil {
   654  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   655  		if ms.LoadMessageInfo() == nil {
   656  			ms.StoreMessageInfo(mi)
   657  		}
   658  		return ms
   659  	}
   660  	return mi.MessageOf(x)
   661  }
   662  
   663  // Deprecated: Use Nested.ProtoReflect.Descriptor instead.
   664  func (*Nested) Descriptor() ([]byte, []int) {
   665  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{5}
   666  }
   667  
   668  func (x *Nested) GetSString() string {
   669  	if x != nil {
   670  		return x.SString
   671  	}
   672  	return ""
   673  }
   674  
   675  func (x *Nested) GetSNested() *Nested {
   676  	if x != nil {
   677  		return x.SNested
   678  	}
   679  	return nil
   680  }
   681  
   682  // Message contains oneof field.
   683  type Oneofs struct {
   684  	state         protoimpl.MessageState
   685  	sizeCache     protoimpl.SizeCache
   686  	unknownFields protoimpl.UnknownFields
   687  
   688  	// Types that are assignable to Union:
   689  	//
   690  	//	*Oneofs_OneofEnum
   691  	//	*Oneofs_OneofString
   692  	//	*Oneofs_OneofNested
   693  	Union isOneofs_Union `protobuf_oneof:"union"`
   694  }
   695  
   696  func (x *Oneofs) Reset() {
   697  	*x = Oneofs{}
   698  	if protoimpl.UnsafeEnabled {
   699  		mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[6]
   700  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   701  		ms.StoreMessageInfo(mi)
   702  	}
   703  }
   704  
   705  func (x *Oneofs) String() string {
   706  	return protoimpl.X.MessageStringOf(x)
   707  }
   708  
   709  func (*Oneofs) ProtoMessage() {}
   710  
   711  func (x *Oneofs) ProtoReflect() protoreflect.Message {
   712  	mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[6]
   713  	if protoimpl.UnsafeEnabled && x != nil {
   714  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   715  		if ms.LoadMessageInfo() == nil {
   716  			ms.StoreMessageInfo(mi)
   717  		}
   718  		return ms
   719  	}
   720  	return mi.MessageOf(x)
   721  }
   722  
   723  // Deprecated: Use Oneofs.ProtoReflect.Descriptor instead.
   724  func (*Oneofs) Descriptor() ([]byte, []int) {
   725  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{6}
   726  }
   727  
   728  func (m *Oneofs) GetUnion() isOneofs_Union {
   729  	if m != nil {
   730  		return m.Union
   731  	}
   732  	return nil
   733  }
   734  
   735  func (x *Oneofs) GetOneofEnum() Enum {
   736  	if x, ok := x.GetUnion().(*Oneofs_OneofEnum); ok {
   737  		return x.OneofEnum
   738  	}
   739  	return Enum_ZERO
   740  }
   741  
   742  func (x *Oneofs) GetOneofString() string {
   743  	if x, ok := x.GetUnion().(*Oneofs_OneofString); ok {
   744  		return x.OneofString
   745  	}
   746  	return ""
   747  }
   748  
   749  func (x *Oneofs) GetOneofNested() *Nested {
   750  	if x, ok := x.GetUnion().(*Oneofs_OneofNested); ok {
   751  		return x.OneofNested
   752  	}
   753  	return nil
   754  }
   755  
   756  type isOneofs_Union interface {
   757  	isOneofs_Union()
   758  }
   759  
   760  type Oneofs_OneofEnum struct {
   761  	OneofEnum Enum `protobuf:"varint,1,opt,name=oneof_enum,json=oneofEnum,proto3,enum=pb3.Enum,oneof"`
   762  }
   763  
   764  type Oneofs_OneofString struct {
   765  	OneofString string `protobuf:"bytes,2,opt,name=oneof_string,json=oneofString,proto3,oneof"`
   766  }
   767  
   768  type Oneofs_OneofNested struct {
   769  	OneofNested *Nested `protobuf:"bytes,3,opt,name=oneof_nested,json=oneofNested,proto3,oneof"`
   770  }
   771  
   772  func (*Oneofs_OneofEnum) isOneofs_Union() {}
   773  
   774  func (*Oneofs_OneofString) isOneofs_Union() {}
   775  
   776  func (*Oneofs_OneofNested) isOneofs_Union() {}
   777  
   778  // Message contains map fields.
   779  type Maps struct {
   780  	state         protoimpl.MessageState
   781  	sizeCache     protoimpl.SizeCache
   782  	unknownFields protoimpl.UnknownFields
   783  
   784  	Int32ToStr   map[int32]string   `protobuf:"bytes,1,rep,name=int32_to_str,json=int32ToStr,proto3" json:"int32_to_str,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   785  	BoolToUint32 map[bool]uint32    `protobuf:"bytes,2,rep,name=bool_to_uint32,json=boolToUint32,proto3" json:"bool_to_uint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
   786  	Uint64ToEnum map[uint64]Enum    `protobuf:"bytes,3,rep,name=uint64_to_enum,json=uint64ToEnum,proto3" json:"uint64_to_enum,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=pb3.Enum"`
   787  	StrToNested  map[string]*Nested `protobuf:"bytes,4,rep,name=str_to_nested,json=strToNested,proto3" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   788  	StrToOneofs  map[string]*Oneofs `protobuf:"bytes,5,rep,name=str_to_oneofs,json=strToOneofs,proto3" json:"str_to_oneofs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
   789  }
   790  
   791  func (x *Maps) Reset() {
   792  	*x = Maps{}
   793  	if protoimpl.UnsafeEnabled {
   794  		mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[7]
   795  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   796  		ms.StoreMessageInfo(mi)
   797  	}
   798  }
   799  
   800  func (x *Maps) String() string {
   801  	return protoimpl.X.MessageStringOf(x)
   802  }
   803  
   804  func (*Maps) ProtoMessage() {}
   805  
   806  func (x *Maps) ProtoReflect() protoreflect.Message {
   807  	mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[7]
   808  	if protoimpl.UnsafeEnabled && x != nil {
   809  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   810  		if ms.LoadMessageInfo() == nil {
   811  			ms.StoreMessageInfo(mi)
   812  		}
   813  		return ms
   814  	}
   815  	return mi.MessageOf(x)
   816  }
   817  
   818  // Deprecated: Use Maps.ProtoReflect.Descriptor instead.
   819  func (*Maps) Descriptor() ([]byte, []int) {
   820  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{7}
   821  }
   822  
   823  func (x *Maps) GetInt32ToStr() map[int32]string {
   824  	if x != nil {
   825  		return x.Int32ToStr
   826  	}
   827  	return nil
   828  }
   829  
   830  func (x *Maps) GetBoolToUint32() map[bool]uint32 {
   831  	if x != nil {
   832  		return x.BoolToUint32
   833  	}
   834  	return nil
   835  }
   836  
   837  func (x *Maps) GetUint64ToEnum() map[uint64]Enum {
   838  	if x != nil {
   839  		return x.Uint64ToEnum
   840  	}
   841  	return nil
   842  }
   843  
   844  func (x *Maps) GetStrToNested() map[string]*Nested {
   845  	if x != nil {
   846  		return x.StrToNested
   847  	}
   848  	return nil
   849  }
   850  
   851  func (x *Maps) GetStrToOneofs() map[string]*Oneofs {
   852  	if x != nil {
   853  		return x.StrToOneofs
   854  	}
   855  	return nil
   856  }
   857  
   858  // Message for testing json_name option.
   859  type JSONNames struct {
   860  	state         protoimpl.MessageState
   861  	sizeCache     protoimpl.SizeCache
   862  	unknownFields protoimpl.UnknownFields
   863  
   864  	SString string `protobuf:"bytes,1,opt,name=s_string,json=foo_bar,proto3" json:"s_string,omitempty"`
   865  }
   866  
   867  func (x *JSONNames) Reset() {
   868  	*x = JSONNames{}
   869  	if protoimpl.UnsafeEnabled {
   870  		mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[8]
   871  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   872  		ms.StoreMessageInfo(mi)
   873  	}
   874  }
   875  
   876  func (x *JSONNames) String() string {
   877  	return protoimpl.X.MessageStringOf(x)
   878  }
   879  
   880  func (*JSONNames) ProtoMessage() {}
   881  
   882  func (x *JSONNames) ProtoReflect() protoreflect.Message {
   883  	mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[8]
   884  	if protoimpl.UnsafeEnabled && x != nil {
   885  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   886  		if ms.LoadMessageInfo() == nil {
   887  			ms.StoreMessageInfo(mi)
   888  		}
   889  		return ms
   890  	}
   891  	return mi.MessageOf(x)
   892  }
   893  
   894  // Deprecated: Use JSONNames.ProtoReflect.Descriptor instead.
   895  func (*JSONNames) Descriptor() ([]byte, []int) {
   896  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{8}
   897  }
   898  
   899  func (x *JSONNames) GetSString() string {
   900  	if x != nil {
   901  		return x.SString
   902  	}
   903  	return ""
   904  }
   905  
   906  var File_internal_testprotos_textpb3_test_proto protoreflect.FileDescriptor
   907  
   908  var file_internal_testprotos_textpb3_test_proto_rawDesc = []byte{
   909  	0x0a, 0x26, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
   910  	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x33, 0x2f, 0x74, 0x65,
   911  	0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x70, 0x62, 0x33, 0x22, 0x9e, 0x03,
   912  	0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x5f, 0x62,
   913  	0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x42, 0x6f, 0x6f, 0x6c,
   914  	0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
   915  	0x05, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69,
   916  	0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74,
   917  	0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04,
   918  	0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a,
   919  	0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52,
   920  	0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69,
   921  	0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e,
   922  	0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
   923  	0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b,
   924  	0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28,
   925  	0x07, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x73,
   926  	0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28, 0x06, 0x52, 0x08,
   927  	0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66,
   928  	0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x09, 0x73, 0x53,
   929  	0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69,
   930  	0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x09, 0x73, 0x53, 0x66,
   931  	0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x66, 0x6c, 0x6f, 0x61,
   932  	0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x73, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12,
   933  	0x19, 0x0a, 0x08, 0x73, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28,
   934  	0x01, 0x52, 0x07, 0x73, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f,
   935  	0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x42, 0x79,
   936  	0x74, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18,
   937  	0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x94,
   938  	0x02, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70,
   939  	0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70,
   940  	0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
   941  	0x33, 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74,
   942  	0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
   943  	0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
   944  	0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
   945  	0x03, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
   946  	0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03,
   947  	0x28, 0x04, 0x52, 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a,
   948  	0x09, 0x72, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02,
   949  	0x52, 0x08, 0x72, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
   950  	0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09,
   951  	0x72, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
   952  	0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72,
   953  	0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
   954  	0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74,
   955  	0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0xc4, 0x04, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   956  	0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f,
   957  	0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x70,
   958  	0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
   959  	0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x08, 0x6f,
   960  	0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x6f, 0x70,
   961  	0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x02, 0x52,
   962  	0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a,
   963  	0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d,
   964  	0x48, 0x03, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x88, 0x01, 0x01,
   965  	0x12, 0x22, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05,
   966  	0x20, 0x01, 0x28, 0x04, 0x48, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36,
   967  	0x34, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61,
   968  	0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x48, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c,
   969  	0x6f, 0x61, 0x74, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
   970  	0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x48, 0x06, 0x52, 0x09, 0x6f, 0x70,
   971  	0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x6f, 0x70,
   972  	0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x07,
   973  	0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, 0x20,
   974  	0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28,
   975  	0x0c, 0x48, 0x08, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01,
   976  	0x12, 0x29, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01,
   977  	0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x09, 0x52,
   978  	0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x0b, 0x6f,
   979  	0x70, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b,
   980  	0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x48, 0x0a, 0x52,
   981  	0x0a, 0x6f, 0x70, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0b,
   982  	0x0a, 0x09, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x42, 0x0c, 0x0a, 0x0a, 0x5f,
   983  	0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6f, 0x70,
   984  	0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6f, 0x70, 0x74, 0x5f,
   985  	0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x75,
   986  	0x69, 0x6e, 0x74, 0x36, 0x34, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c,
   987  	0x6f, 0x61, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62,
   988  	0x6c, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
   989  	0x67, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x42,
   990  	0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x42, 0x0e, 0x0a, 0x0c,
   991  	0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x98, 0x01, 0x0a,
   992  	0x05, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x20, 0x0a, 0x06, 0x73, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
   993  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75,
   994  	0x6d, 0x52, 0x05, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x39, 0x0a, 0x0d, 0x73, 0x5f, 0x6e, 0x65,
   995  	0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
   996  	0x15, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74,
   997  	0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0b, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45,
   998  	0x6e, 0x75, 0x6d, 0x22, 0x32, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
   999  	0x6d, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55,
  1000  	0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a,
  1001  	0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x2f, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73,
  1002  	0x12, 0x26, 0x0a, 0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01,
  1003  	0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
  1004  	0x07, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4b, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74,
  1005  	0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01,
  1006  	0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a,
  1007  	0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1008  	0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e,
  1009  	0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x06, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73,
  1010  	0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01,
  1011  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x48,
  1012  	0x00, 0x52, 0x09, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0c,
  1013  	0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01,
  1014  	0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x53, 0x74, 0x72, 0x69, 0x6e,
  1015  	0x67, 0x12, 0x30, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65,
  1016  	0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65,
  1017  	0x73, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73,
  1018  	0x74, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0xaf, 0x05, 0x0a,
  1019  	0x04, 0x4d, 0x61, 0x70, 0x73, 0x12, 0x3b, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x74,
  1020  	0x6f, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62,
  1021  	0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74,
  1022  	0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53,
  1023  	0x74, 0x72, 0x12, 0x41, 0x0a, 0x0e, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x69,
  1024  	0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x33,
  1025  	0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74,
  1026  	0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x62, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55,
  1027  	0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x41, 0x0a, 0x0e, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f,
  1028  	0x74, 0x6f, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
  1029  	0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54,
  1030  	0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x75, 0x69, 0x6e, 0x74,
  1031  	0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f,
  1032  	0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1033  	0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f,
  1034  	0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72,
  1035  	0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f,
  1036  	0x74, 0x6f, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1037  	0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f,
  1038  	0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72,
  1039  	0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x33,
  1040  	0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  1041  	0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
  1042  	0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
  1043  	0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x42, 0x6f, 0x6f, 0x6c, 0x54,
  1044  	0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
  1045  	0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
  1046  	0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76,
  1047  	0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x11, 0x55, 0x69, 0x6e, 0x74,
  1048  	0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
  1049  	0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
  1050  	0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09,
  1051  	0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  1052  	0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73,
  1053  	0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
  1054  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61,
  1055  	0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e,
  1056  	0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
  1057  	0x01, 0x1a, 0x4b, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73,
  1058  	0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  1059  	0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  1060  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4f, 0x6e, 0x65,
  1061  	0x6f, 0x66, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x26,
  1062  	0x0a, 0x09, 0x4a, 0x53, 0x4f, 0x4e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73,
  1063  	0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66,
  1064  	0x6f, 0x6f, 0x5f, 0x62, 0x61, 0x72, 0x2a, 0x2b, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08,
  1065  	0x0a, 0x04, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10,
  1066  	0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45,
  1067  	0x4e, 0x10, 0x0a, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
  1068  	0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  1069  	0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
  1070  	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x33, 0x62, 0x06, 0x70,
  1071  	0x72, 0x6f, 0x74, 0x6f, 0x33,
  1072  }
  1073  
  1074  var (
  1075  	file_internal_testprotos_textpb3_test_proto_rawDescOnce sync.Once
  1076  	file_internal_testprotos_textpb3_test_proto_rawDescData = file_internal_testprotos_textpb3_test_proto_rawDesc
  1077  )
  1078  
  1079  func file_internal_testprotos_textpb3_test_proto_rawDescGZIP() []byte {
  1080  	file_internal_testprotos_textpb3_test_proto_rawDescOnce.Do(func() {
  1081  		file_internal_testprotos_textpb3_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_textpb3_test_proto_rawDescData)
  1082  	})
  1083  	return file_internal_testprotos_textpb3_test_proto_rawDescData
  1084  }
  1085  
  1086  var file_internal_testprotos_textpb3_test_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  1087  var file_internal_testprotos_textpb3_test_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
  1088  var file_internal_testprotos_textpb3_test_proto_goTypes = []interface{}{
  1089  	(Enum)(0),              // 0: pb3.Enum
  1090  	(Enums_NestedEnum)(0),  // 1: pb3.Enums.NestedEnum
  1091  	(*Scalars)(nil),        // 2: pb3.Scalars
  1092  	(*Repeats)(nil),        // 3: pb3.Repeats
  1093  	(*Proto3Optional)(nil), // 4: pb3.Proto3Optional
  1094  	(*Enums)(nil),          // 5: pb3.Enums
  1095  	(*Nests)(nil),          // 6: pb3.Nests
  1096  	(*Nested)(nil),         // 7: pb3.Nested
  1097  	(*Oneofs)(nil),         // 8: pb3.Oneofs
  1098  	(*Maps)(nil),           // 9: pb3.Maps
  1099  	(*JSONNames)(nil),      // 10: pb3.JSONNames
  1100  	nil,                    // 11: pb3.Maps.Int32ToStrEntry
  1101  	nil,                    // 12: pb3.Maps.BoolToUint32Entry
  1102  	nil,                    // 13: pb3.Maps.Uint64ToEnumEntry
  1103  	nil,                    // 14: pb3.Maps.StrToNestedEntry
  1104  	nil,                    // 15: pb3.Maps.StrToOneofsEntry
  1105  }
  1106  var file_internal_testprotos_textpb3_test_proto_depIdxs = []int32{
  1107  	0,  // 0: pb3.Proto3Optional.opt_enum:type_name -> pb3.Enum
  1108  	7,  // 1: pb3.Proto3Optional.opt_message:type_name -> pb3.Nested
  1109  	0,  // 2: pb3.Enums.s_enum:type_name -> pb3.Enum
  1110  	1,  // 3: pb3.Enums.s_nested_enum:type_name -> pb3.Enums.NestedEnum
  1111  	7,  // 4: pb3.Nests.s_nested:type_name -> pb3.Nested
  1112  	7,  // 5: pb3.Nested.s_nested:type_name -> pb3.Nested
  1113  	0,  // 6: pb3.Oneofs.oneof_enum:type_name -> pb3.Enum
  1114  	7,  // 7: pb3.Oneofs.oneof_nested:type_name -> pb3.Nested
  1115  	11, // 8: pb3.Maps.int32_to_str:type_name -> pb3.Maps.Int32ToStrEntry
  1116  	12, // 9: pb3.Maps.bool_to_uint32:type_name -> pb3.Maps.BoolToUint32Entry
  1117  	13, // 10: pb3.Maps.uint64_to_enum:type_name -> pb3.Maps.Uint64ToEnumEntry
  1118  	14, // 11: pb3.Maps.str_to_nested:type_name -> pb3.Maps.StrToNestedEntry
  1119  	15, // 12: pb3.Maps.str_to_oneofs:type_name -> pb3.Maps.StrToOneofsEntry
  1120  	0,  // 13: pb3.Maps.Uint64ToEnumEntry.value:type_name -> pb3.Enum
  1121  	7,  // 14: pb3.Maps.StrToNestedEntry.value:type_name -> pb3.Nested
  1122  	8,  // 15: pb3.Maps.StrToOneofsEntry.value:type_name -> pb3.Oneofs
  1123  	16, // [16:16] is the sub-list for method output_type
  1124  	16, // [16:16] is the sub-list for method input_type
  1125  	16, // [16:16] is the sub-list for extension type_name
  1126  	16, // [16:16] is the sub-list for extension extendee
  1127  	0,  // [0:16] is the sub-list for field type_name
  1128  }
  1129  
  1130  func init() { file_internal_testprotos_textpb3_test_proto_init() }
  1131  func file_internal_testprotos_textpb3_test_proto_init() {
  1132  	if File_internal_testprotos_textpb3_test_proto != nil {
  1133  		return
  1134  	}
  1135  	if !protoimpl.UnsafeEnabled {
  1136  		file_internal_testprotos_textpb3_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1137  			switch v := v.(*Scalars); i {
  1138  			case 0:
  1139  				return &v.state
  1140  			case 1:
  1141  				return &v.sizeCache
  1142  			case 2:
  1143  				return &v.unknownFields
  1144  			default:
  1145  				return nil
  1146  			}
  1147  		}
  1148  		file_internal_testprotos_textpb3_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1149  			switch v := v.(*Repeats); i {
  1150  			case 0:
  1151  				return &v.state
  1152  			case 1:
  1153  				return &v.sizeCache
  1154  			case 2:
  1155  				return &v.unknownFields
  1156  			default:
  1157  				return nil
  1158  			}
  1159  		}
  1160  		file_internal_testprotos_textpb3_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1161  			switch v := v.(*Proto3Optional); i {
  1162  			case 0:
  1163  				return &v.state
  1164  			case 1:
  1165  				return &v.sizeCache
  1166  			case 2:
  1167  				return &v.unknownFields
  1168  			default:
  1169  				return nil
  1170  			}
  1171  		}
  1172  		file_internal_testprotos_textpb3_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1173  			switch v := v.(*Enums); i {
  1174  			case 0:
  1175  				return &v.state
  1176  			case 1:
  1177  				return &v.sizeCache
  1178  			case 2:
  1179  				return &v.unknownFields
  1180  			default:
  1181  				return nil
  1182  			}
  1183  		}
  1184  		file_internal_testprotos_textpb3_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1185  			switch v := v.(*Nests); i {
  1186  			case 0:
  1187  				return &v.state
  1188  			case 1:
  1189  				return &v.sizeCache
  1190  			case 2:
  1191  				return &v.unknownFields
  1192  			default:
  1193  				return nil
  1194  			}
  1195  		}
  1196  		file_internal_testprotos_textpb3_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1197  			switch v := v.(*Nested); i {
  1198  			case 0:
  1199  				return &v.state
  1200  			case 1:
  1201  				return &v.sizeCache
  1202  			case 2:
  1203  				return &v.unknownFields
  1204  			default:
  1205  				return nil
  1206  			}
  1207  		}
  1208  		file_internal_testprotos_textpb3_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1209  			switch v := v.(*Oneofs); i {
  1210  			case 0:
  1211  				return &v.state
  1212  			case 1:
  1213  				return &v.sizeCache
  1214  			case 2:
  1215  				return &v.unknownFields
  1216  			default:
  1217  				return nil
  1218  			}
  1219  		}
  1220  		file_internal_testprotos_textpb3_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1221  			switch v := v.(*Maps); i {
  1222  			case 0:
  1223  				return &v.state
  1224  			case 1:
  1225  				return &v.sizeCache
  1226  			case 2:
  1227  				return &v.unknownFields
  1228  			default:
  1229  				return nil
  1230  			}
  1231  		}
  1232  		file_internal_testprotos_textpb3_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1233  			switch v := v.(*JSONNames); i {
  1234  			case 0:
  1235  				return &v.state
  1236  			case 1:
  1237  				return &v.sizeCache
  1238  			case 2:
  1239  				return &v.unknownFields
  1240  			default:
  1241  				return nil
  1242  			}
  1243  		}
  1244  	}
  1245  	file_internal_testprotos_textpb3_test_proto_msgTypes[2].OneofWrappers = []interface{}{}
  1246  	file_internal_testprotos_textpb3_test_proto_msgTypes[6].OneofWrappers = []interface{}{
  1247  		(*Oneofs_OneofEnum)(nil),
  1248  		(*Oneofs_OneofString)(nil),
  1249  		(*Oneofs_OneofNested)(nil),
  1250  	}
  1251  	type x struct{}
  1252  	out := protoimpl.TypeBuilder{
  1253  		File: protoimpl.DescBuilder{
  1254  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1255  			RawDescriptor: file_internal_testprotos_textpb3_test_proto_rawDesc,
  1256  			NumEnums:      2,
  1257  			NumMessages:   14,
  1258  			NumExtensions: 0,
  1259  			NumServices:   0,
  1260  		},
  1261  		GoTypes:           file_internal_testprotos_textpb3_test_proto_goTypes,
  1262  		DependencyIndexes: file_internal_testprotos_textpb3_test_proto_depIdxs,
  1263  		EnumInfos:         file_internal_testprotos_textpb3_test_proto_enumTypes,
  1264  		MessageInfos:      file_internal_testprotos_textpb3_test_proto_msgTypes,
  1265  	}.Build()
  1266  	File_internal_testprotos_textpb3_test_proto = out.File
  1267  	file_internal_testprotos_textpb3_test_proto_rawDesc = nil
  1268  	file_internal_testprotos_textpb3_test_proto_goTypes = nil
  1269  	file_internal_testprotos_textpb3_test_proto_depIdxs = nil
  1270  }
  1271  

View as plain text