github.com/whiteCcinn/protobuf-go@v1.0.9/internal/testprotos/textpb3/test.pb.go (about)

     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 "github.com/whiteCcinn/protobuf-go/reflect/protoreflect"
    14  	protoimpl "github.com/whiteCcinn/protobuf-go/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  	//	*Oneofs_OneofEnum
   690  	//	*Oneofs_OneofString
   691  	//	*Oneofs_OneofNested
   692  	Union isOneofs_Union `protobuf_oneof:"union"`
   693  }
   694  
   695  func (x *Oneofs) Reset() {
   696  	*x = Oneofs{}
   697  	if protoimpl.UnsafeEnabled {
   698  		mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[6]
   699  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   700  		ms.StoreMessageInfo(mi)
   701  	}
   702  }
   703  
   704  func (x *Oneofs) String() string {
   705  	return protoimpl.X.MessageStringOf(x)
   706  }
   707  
   708  func (*Oneofs) ProtoMessage() {}
   709  
   710  func (x *Oneofs) ProtoReflect() protoreflect.Message {
   711  	mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[6]
   712  	if protoimpl.UnsafeEnabled && x != nil {
   713  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   714  		if ms.LoadMessageInfo() == nil {
   715  			ms.StoreMessageInfo(mi)
   716  		}
   717  		return ms
   718  	}
   719  	return mi.MessageOf(x)
   720  }
   721  
   722  // Deprecated: Use Oneofs.ProtoReflect.Descriptor instead.
   723  func (*Oneofs) Descriptor() ([]byte, []int) {
   724  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{6}
   725  }
   726  
   727  func (m *Oneofs) GetUnion() isOneofs_Union {
   728  	if m != nil {
   729  		return m.Union
   730  	}
   731  	return nil
   732  }
   733  
   734  func (x *Oneofs) GetOneofEnum() Enum {
   735  	if x, ok := x.GetUnion().(*Oneofs_OneofEnum); ok {
   736  		return x.OneofEnum
   737  	}
   738  	return Enum_ZERO
   739  }
   740  
   741  func (x *Oneofs) GetOneofString() string {
   742  	if x, ok := x.GetUnion().(*Oneofs_OneofString); ok {
   743  		return x.OneofString
   744  	}
   745  	return ""
   746  }
   747  
   748  func (x *Oneofs) GetOneofNested() *Nested {
   749  	if x, ok := x.GetUnion().(*Oneofs_OneofNested); ok {
   750  		return x.OneofNested
   751  	}
   752  	return nil
   753  }
   754  
   755  type isOneofs_Union interface {
   756  	isOneofs_Union()
   757  }
   758  
   759  type Oneofs_OneofEnum struct {
   760  	OneofEnum Enum `protobuf:"varint,1,opt,name=oneof_enum,json=oneofEnum,proto3,enum=pb3.Enum,oneof"`
   761  }
   762  
   763  type Oneofs_OneofString struct {
   764  	OneofString string `protobuf:"bytes,2,opt,name=oneof_string,json=oneofString,proto3,oneof"`
   765  }
   766  
   767  type Oneofs_OneofNested struct {
   768  	OneofNested *Nested `protobuf:"bytes,3,opt,name=oneof_nested,json=oneofNested,proto3,oneof"`
   769  }
   770  
   771  func (*Oneofs_OneofEnum) isOneofs_Union() {}
   772  
   773  func (*Oneofs_OneofString) isOneofs_Union() {}
   774  
   775  func (*Oneofs_OneofNested) isOneofs_Union() {}
   776  
   777  // Message contains map fields.
   778  type Maps struct {
   779  	state         protoimpl.MessageState
   780  	sizeCache     protoimpl.SizeCache
   781  	unknownFields protoimpl.UnknownFields
   782  
   783  	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"`
   784  	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"`
   785  	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"`
   786  	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"`
   787  	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"`
   788  }
   789  
   790  func (x *Maps) Reset() {
   791  	*x = Maps{}
   792  	if protoimpl.UnsafeEnabled {
   793  		mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[7]
   794  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   795  		ms.StoreMessageInfo(mi)
   796  	}
   797  }
   798  
   799  func (x *Maps) String() string {
   800  	return protoimpl.X.MessageStringOf(x)
   801  }
   802  
   803  func (*Maps) ProtoMessage() {}
   804  
   805  func (x *Maps) ProtoReflect() protoreflect.Message {
   806  	mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[7]
   807  	if protoimpl.UnsafeEnabled && x != nil {
   808  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   809  		if ms.LoadMessageInfo() == nil {
   810  			ms.StoreMessageInfo(mi)
   811  		}
   812  		return ms
   813  	}
   814  	return mi.MessageOf(x)
   815  }
   816  
   817  // Deprecated: Use Maps.ProtoReflect.Descriptor instead.
   818  func (*Maps) Descriptor() ([]byte, []int) {
   819  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{7}
   820  }
   821  
   822  func (x *Maps) GetInt32ToStr() map[int32]string {
   823  	if x != nil {
   824  		return x.Int32ToStr
   825  	}
   826  	return nil
   827  }
   828  
   829  func (x *Maps) GetBoolToUint32() map[bool]uint32 {
   830  	if x != nil {
   831  		return x.BoolToUint32
   832  	}
   833  	return nil
   834  }
   835  
   836  func (x *Maps) GetUint64ToEnum() map[uint64]Enum {
   837  	if x != nil {
   838  		return x.Uint64ToEnum
   839  	}
   840  	return nil
   841  }
   842  
   843  func (x *Maps) GetStrToNested() map[string]*Nested {
   844  	if x != nil {
   845  		return x.StrToNested
   846  	}
   847  	return nil
   848  }
   849  
   850  func (x *Maps) GetStrToOneofs() map[string]*Oneofs {
   851  	if x != nil {
   852  		return x.StrToOneofs
   853  	}
   854  	return nil
   855  }
   856  
   857  // Message for testing json_name option.
   858  type JSONNames struct {
   859  	state         protoimpl.MessageState
   860  	sizeCache     protoimpl.SizeCache
   861  	unknownFields protoimpl.UnknownFields
   862  
   863  	SString string `protobuf:"bytes,1,opt,name=s_string,json=foo_bar,proto3" json:"s_string,omitempty"`
   864  }
   865  
   866  func (x *JSONNames) Reset() {
   867  	*x = JSONNames{}
   868  	if protoimpl.UnsafeEnabled {
   869  		mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[8]
   870  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   871  		ms.StoreMessageInfo(mi)
   872  	}
   873  }
   874  
   875  func (x *JSONNames) String() string {
   876  	return protoimpl.X.MessageStringOf(x)
   877  }
   878  
   879  func (*JSONNames) ProtoMessage() {}
   880  
   881  func (x *JSONNames) ProtoReflect() protoreflect.Message {
   882  	mi := &file_internal_testprotos_textpb3_test_proto_msgTypes[8]
   883  	if protoimpl.UnsafeEnabled && x != nil {
   884  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   885  		if ms.LoadMessageInfo() == nil {
   886  			ms.StoreMessageInfo(mi)
   887  		}
   888  		return ms
   889  	}
   890  	return mi.MessageOf(x)
   891  }
   892  
   893  // Deprecated: Use JSONNames.ProtoReflect.Descriptor instead.
   894  func (*JSONNames) Descriptor() ([]byte, []int) {
   895  	return file_internal_testprotos_textpb3_test_proto_rawDescGZIP(), []int{8}
   896  }
   897  
   898  func (x *JSONNames) GetSString() string {
   899  	if x != nil {
   900  		return x.SString
   901  	}
   902  	return ""
   903  }
   904  
   905  var File_internal_testprotos_textpb3_test_proto protoreflect.FileDescriptor
   906  
   907  var file_internal_testprotos_textpb3_test_proto_rawDesc = []byte{
   908  	0x0a, 0x26, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
   909  	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x33, 0x2f, 0x74, 0x65,
   910  	0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x03, 0x70, 0x62, 0x33, 0x22, 0x9e, 0x03,
   911  	0x0a, 0x07, 0x53, 0x63, 0x61, 0x6c, 0x61, 0x72, 0x73, 0x12, 0x15, 0x0a, 0x06, 0x73, 0x5f, 0x62,
   912  	0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x73, 0x42, 0x6f, 0x6f, 0x6c,
   913  	0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28,
   914  	0x05, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x69,
   915  	0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x49, 0x6e, 0x74,
   916  	0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04,
   917  	0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x19, 0x0a,
   918  	0x08, 0x73, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52,
   919  	0x07, 0x73, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69,
   920  	0x6e, 0x74, 0x33, 0x32, 0x18, 0x06, 0x20, 0x01, 0x28, 0x11, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e,
   921  	0x74, 0x33, 0x32, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
   922  	0x07, 0x20, 0x01, 0x28, 0x12, 0x52, 0x07, 0x73, 0x53, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b,
   923  	0x0a, 0x09, 0x73, 0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x08, 0x20, 0x01, 0x28,
   924  	0x07, 0x52, 0x08, 0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x73,
   925  	0x5f, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x09, 0x20, 0x01, 0x28, 0x06, 0x52, 0x08,
   926  	0x73, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66,
   927  	0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x09, 0x73, 0x53,
   928  	0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x5f, 0x73, 0x66, 0x69,
   929  	0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x10, 0x52, 0x09, 0x73, 0x53, 0x66,
   930  	0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f, 0x66, 0x6c, 0x6f, 0x61,
   931  	0x74, 0x18, 0x14, 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x73, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12,
   932  	0x19, 0x0a, 0x08, 0x73, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x15, 0x20, 0x01, 0x28,
   933  	0x01, 0x52, 0x07, 0x73, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x5f,
   934  	0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x42, 0x79,
   935  	0x74, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18,
   936  	0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x22, 0x94,
   937  	0x02, 0x0a, 0x07, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x70,
   938  	0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x08, 0x52, 0x07, 0x72, 0x70,
   939  	0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74,
   940  	0x33, 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74,
   941  	0x33, 0x32, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
   942  	0x03, 0x20, 0x03, 0x28, 0x03, 0x52, 0x08, 0x72, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x12,
   943  	0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20,
   944  	0x03, 0x28, 0x0d, 0x52, 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x1d,
   945  	0x0a, 0x0a, 0x72, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05, 0x20, 0x03,
   946  	0x28, 0x04, 0x52, 0x09, 0x72, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x1b, 0x0a,
   947  	0x09, 0x72, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x18, 0x06, 0x20, 0x03, 0x28, 0x02,
   948  	0x52, 0x08, 0x72, 0x70, 0x74, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70,
   949  	0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x09,
   950  	0x72, 0x70, 0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x70, 0x74,
   951  	0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x72,
   952  	0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x70, 0x74, 0x5f,
   953  	0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x08, 0x72, 0x70, 0x74,
   954  	0x42, 0x79, 0x74, 0x65, 0x73, 0x22, 0xc4, 0x04, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   955  	0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x1e, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f,
   956  	0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07, 0x6f, 0x70,
   957  	0x74, 0x42, 0x6f, 0x6f, 0x6c, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f,
   958  	0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x08, 0x6f,
   959  	0x70, 0x74, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x6f, 0x70,
   960  	0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x02, 0x52,
   961  	0x08, 0x6f, 0x70, 0x74, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a,
   962  	0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d,
   963  	0x48, 0x03, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x88, 0x01, 0x01,
   964  	0x12, 0x22, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x05,
   965  	0x20, 0x01, 0x28, 0x04, 0x48, 0x04, 0x52, 0x09, 0x6f, 0x70, 0x74, 0x55, 0x69, 0x6e, 0x74, 0x36,
   966  	0x34, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c, 0x6f, 0x61,
   967  	0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x48, 0x05, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x46, 0x6c,
   968  	0x6f, 0x61, 0x74, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f,
   969  	0x75, 0x62, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x01, 0x48, 0x06, 0x52, 0x09, 0x6f, 0x70,
   970  	0x74, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x88, 0x01, 0x01, 0x12, 0x22, 0x0a, 0x0a, 0x6f, 0x70,
   971  	0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x48, 0x07,
   972  	0x52, 0x09, 0x6f, 0x70, 0x74, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x12, 0x20,
   973  	0x0a, 0x09, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28,
   974  	0x0c, 0x48, 0x08, 0x52, 0x08, 0x6f, 0x70, 0x74, 0x42, 0x79, 0x74, 0x65, 0x73, 0x88, 0x01, 0x01,
   975  	0x12, 0x29, 0x0a, 0x08, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x0a, 0x20, 0x01,
   976  	0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x48, 0x09, 0x52,
   977  	0x07, 0x6f, 0x70, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x88, 0x01, 0x01, 0x12, 0x31, 0x0a, 0x0b, 0x6f,
   978  	0x70, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b,
   979  	0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x48, 0x0a, 0x52,
   980  	0x0a, 0x6f, 0x70, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0b,
   981  	0x0a, 0x09, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x6f, 0x6f, 0x6c, 0x42, 0x0c, 0x0a, 0x0a, 0x5f,
   982  	0x6f, 0x70, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6f, 0x70,
   983  	0x74, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6f, 0x70, 0x74, 0x5f,
   984  	0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x75,
   985  	0x69, 0x6e, 0x74, 0x36, 0x34, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x66, 0x6c,
   986  	0x6f, 0x61, 0x74, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x64, 0x6f, 0x75, 0x62,
   987  	0x6c, 0x65, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e,
   988  	0x67, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x42,
   989  	0x0b, 0x0a, 0x09, 0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x42, 0x0e, 0x0a, 0x0c,
   990  	0x5f, 0x6f, 0x70, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x98, 0x01, 0x0a,
   991  	0x05, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x12, 0x20, 0x0a, 0x06, 0x73, 0x5f, 0x65, 0x6e, 0x75, 0x6d,
   992  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75,
   993  	0x6d, 0x52, 0x05, 0x73, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x39, 0x0a, 0x0d, 0x73, 0x5f, 0x6e, 0x65,
   994  	0x73, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
   995  	0x15, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x73, 0x2e, 0x4e, 0x65, 0x73, 0x74,
   996  	0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x0b, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45,
   997  	0x6e, 0x75, 0x6d, 0x22, 0x32, 0x0a, 0x0a, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
   998  	0x6d, 0x12, 0x08, 0x0a, 0x04, 0x43, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x55,
   999  	0x4e, 0x4f, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x44, 0x4f, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a,
  1000  	0x04, 0x44, 0x49, 0x45, 0x5a, 0x10, 0x0a, 0x22, 0x2f, 0x0a, 0x05, 0x4e, 0x65, 0x73, 0x74, 0x73,
  1001  	0x12, 0x26, 0x0a, 0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01,
  1002  	0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52,
  1003  	0x07, 0x73, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x4b, 0x0a, 0x06, 0x4e, 0x65, 0x73, 0x74,
  1004  	0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01,
  1005  	0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a,
  1006  	0x08, 0x73, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1007  	0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x07, 0x73, 0x4e,
  1008  	0x65, 0x73, 0x74, 0x65, 0x64, 0x22, 0x94, 0x01, 0x0a, 0x06, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73,
  1009  	0x12, 0x2a, 0x0a, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x01,
  1010  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x48,
  1011  	0x00, 0x52, 0x09, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x23, 0x0a, 0x0c,
  1012  	0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01,
  1013  	0x28, 0x09, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x53, 0x74, 0x72, 0x69, 0x6e,
  1014  	0x67, 0x12, 0x30, 0x0a, 0x0c, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65,
  1015  	0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4e, 0x65,
  1016  	0x73, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x65, 0x73,
  1017  	0x74, 0x65, 0x64, 0x42, 0x07, 0x0a, 0x05, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x22, 0xaf, 0x05, 0x0a,
  1018  	0x04, 0x4d, 0x61, 0x70, 0x73, 0x12, 0x3b, 0x0a, 0x0c, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x5f, 0x74,
  1019  	0x6f, 0x5f, 0x73, 0x74, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x70, 0x62,
  1020  	0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53, 0x74,
  1021  	0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x54, 0x6f, 0x53,
  1022  	0x74, 0x72, 0x12, 0x41, 0x0a, 0x0e, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x74, 0x6f, 0x5f, 0x75, 0x69,
  1023  	0x6e, 0x74, 0x33, 0x32, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x62, 0x33,
  1024  	0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55, 0x69, 0x6e, 0x74,
  1025  	0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x62, 0x6f, 0x6f, 0x6c, 0x54, 0x6f, 0x55,
  1026  	0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x41, 0x0a, 0x0e, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f,
  1027  	0x74, 0x6f, 0x5f, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e,
  1028  	0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x55, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x54,
  1029  	0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x75, 0x69, 0x6e, 0x74,
  1030  	0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f,
  1031  	0x74, 0x6f, 0x5f, 0x6e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1032  	0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f,
  1033  	0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72,
  1034  	0x54, 0x6f, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x12, 0x3e, 0x0a, 0x0d, 0x73, 0x74, 0x72, 0x5f,
  1035  	0x74, 0x6f, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
  1036  	0x1a, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x53, 0x74, 0x72, 0x54, 0x6f,
  1037  	0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x74, 0x72,
  1038  	0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x49, 0x6e, 0x74, 0x33,
  1039  	0x32, 0x54, 0x6f, 0x53, 0x74, 0x72, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  1040  	0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
  1041  	0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61,
  1042  	0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x3f, 0x0a, 0x11, 0x42, 0x6f, 0x6f, 0x6c, 0x54,
  1043  	0x6f, 0x55, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
  1044  	0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
  1045  	0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76,
  1046  	0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4a, 0x0a, 0x11, 0x55, 0x69, 0x6e, 0x74,
  1047  	0x36, 0x34, 0x54, 0x6f, 0x45, 0x6e, 0x75, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
  1048  	0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
  1049  	0x1f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x09,
  1050  	0x2e, 0x70, 0x62, 0x33, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  1051  	0x3a, 0x02, 0x38, 0x01, 0x1a, 0x4b, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4e, 0x65, 0x73,
  1052  	0x74, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
  1053  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61,
  1054  	0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e,
  1055  	0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
  1056  	0x01, 0x1a, 0x4b, 0x0a, 0x10, 0x53, 0x74, 0x72, 0x54, 0x6f, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x73,
  1057  	0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  1058  	0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x21, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  1059  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x62, 0x33, 0x2e, 0x4f, 0x6e, 0x65,
  1060  	0x6f, 0x66, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x26,
  1061  	0x0a, 0x09, 0x4a, 0x53, 0x4f, 0x4e, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x73,
  1062  	0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x66,
  1063  	0x6f, 0x6f, 0x5f, 0x62, 0x61, 0x72, 0x2a, 0x2b, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x08,
  1064  	0x0a, 0x04, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e, 0x45, 0x10,
  1065  	0x01, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x57, 0x4f, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x45,
  1066  	0x4e, 0x10, 0x0a, 0x42, 0x38, 0x5a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f,
  1067  	0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  1068  	0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
  1069  	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x33, 0x62, 0x06, 0x70,
  1070  	0x72, 0x6f, 0x74, 0x6f, 0x33,
  1071  }
  1072  
  1073  var (
  1074  	file_internal_testprotos_textpb3_test_proto_rawDescOnce sync.Once
  1075  	file_internal_testprotos_textpb3_test_proto_rawDescData = file_internal_testprotos_textpb3_test_proto_rawDesc
  1076  )
  1077  
  1078  func file_internal_testprotos_textpb3_test_proto_rawDescGZIP() []byte {
  1079  	file_internal_testprotos_textpb3_test_proto_rawDescOnce.Do(func() {
  1080  		file_internal_testprotos_textpb3_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_textpb3_test_proto_rawDescData)
  1081  	})
  1082  	return file_internal_testprotos_textpb3_test_proto_rawDescData
  1083  }
  1084  
  1085  var file_internal_testprotos_textpb3_test_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  1086  var file_internal_testprotos_textpb3_test_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
  1087  var file_internal_testprotos_textpb3_test_proto_goTypes = []interface{}{
  1088  	(Enum)(0),              // 0: pb3.Enum
  1089  	(Enums_NestedEnum)(0),  // 1: pb3.Enums.NestedEnum
  1090  	(*Scalars)(nil),        // 2: pb3.Scalars
  1091  	(*Repeats)(nil),        // 3: pb3.Repeats
  1092  	(*Proto3Optional)(nil), // 4: pb3.Proto3Optional
  1093  	(*Enums)(nil),          // 5: pb3.Enums
  1094  	(*Nests)(nil),          // 6: pb3.Nests
  1095  	(*Nested)(nil),         // 7: pb3.Nested
  1096  	(*Oneofs)(nil),         // 8: pb3.Oneofs
  1097  	(*Maps)(nil),           // 9: pb3.Maps
  1098  	(*JSONNames)(nil),      // 10: pb3.JSONNames
  1099  	nil,                    // 11: pb3.Maps.Int32ToStrEntry
  1100  	nil,                    // 12: pb3.Maps.BoolToUint32Entry
  1101  	nil,                    // 13: pb3.Maps.Uint64ToEnumEntry
  1102  	nil,                    // 14: pb3.Maps.StrToNestedEntry
  1103  	nil,                    // 15: pb3.Maps.StrToOneofsEntry
  1104  }
  1105  var file_internal_testprotos_textpb3_test_proto_depIdxs = []int32{
  1106  	0,  // 0: pb3.Proto3Optional.opt_enum:type_name -> pb3.Enum
  1107  	7,  // 1: pb3.Proto3Optional.opt_message:type_name -> pb3.Nested
  1108  	0,  // 2: pb3.Enums.s_enum:type_name -> pb3.Enum
  1109  	1,  // 3: pb3.Enums.s_nested_enum:type_name -> pb3.Enums.NestedEnum
  1110  	7,  // 4: pb3.Nests.s_nested:type_name -> pb3.Nested
  1111  	7,  // 5: pb3.Nested.s_nested:type_name -> pb3.Nested
  1112  	0,  // 6: pb3.Oneofs.oneof_enum:type_name -> pb3.Enum
  1113  	7,  // 7: pb3.Oneofs.oneof_nested:type_name -> pb3.Nested
  1114  	11, // 8: pb3.Maps.int32_to_str:type_name -> pb3.Maps.Int32ToStrEntry
  1115  	12, // 9: pb3.Maps.bool_to_uint32:type_name -> pb3.Maps.BoolToUint32Entry
  1116  	13, // 10: pb3.Maps.uint64_to_enum:type_name -> pb3.Maps.Uint64ToEnumEntry
  1117  	14, // 11: pb3.Maps.str_to_nested:type_name -> pb3.Maps.StrToNestedEntry
  1118  	15, // 12: pb3.Maps.str_to_oneofs:type_name -> pb3.Maps.StrToOneofsEntry
  1119  	0,  // 13: pb3.Maps.Uint64ToEnumEntry.value:type_name -> pb3.Enum
  1120  	7,  // 14: pb3.Maps.StrToNestedEntry.value:type_name -> pb3.Nested
  1121  	8,  // 15: pb3.Maps.StrToOneofsEntry.value:type_name -> pb3.Oneofs
  1122  	16, // [16:16] is the sub-list for method output_type
  1123  	16, // [16:16] is the sub-list for method input_type
  1124  	16, // [16:16] is the sub-list for extension type_name
  1125  	16, // [16:16] is the sub-list for extension extendee
  1126  	0,  // [0:16] is the sub-list for field type_name
  1127  }
  1128  
  1129  func init() { file_internal_testprotos_textpb3_test_proto_init() }
  1130  func file_internal_testprotos_textpb3_test_proto_init() {
  1131  	if File_internal_testprotos_textpb3_test_proto != nil {
  1132  		return
  1133  	}
  1134  	if !protoimpl.UnsafeEnabled {
  1135  		file_internal_testprotos_textpb3_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1136  			switch v := v.(*Scalars); i {
  1137  			case 0:
  1138  				return &v.state
  1139  			case 1:
  1140  				return &v.sizeCache
  1141  			case 2:
  1142  				return &v.unknownFields
  1143  			default:
  1144  				return nil
  1145  			}
  1146  		}
  1147  		file_internal_testprotos_textpb3_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1148  			switch v := v.(*Repeats); i {
  1149  			case 0:
  1150  				return &v.state
  1151  			case 1:
  1152  				return &v.sizeCache
  1153  			case 2:
  1154  				return &v.unknownFields
  1155  			default:
  1156  				return nil
  1157  			}
  1158  		}
  1159  		file_internal_testprotos_textpb3_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1160  			switch v := v.(*Proto3Optional); i {
  1161  			case 0:
  1162  				return &v.state
  1163  			case 1:
  1164  				return &v.sizeCache
  1165  			case 2:
  1166  				return &v.unknownFields
  1167  			default:
  1168  				return nil
  1169  			}
  1170  		}
  1171  		file_internal_testprotos_textpb3_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1172  			switch v := v.(*Enums); i {
  1173  			case 0:
  1174  				return &v.state
  1175  			case 1:
  1176  				return &v.sizeCache
  1177  			case 2:
  1178  				return &v.unknownFields
  1179  			default:
  1180  				return nil
  1181  			}
  1182  		}
  1183  		file_internal_testprotos_textpb3_test_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1184  			switch v := v.(*Nests); i {
  1185  			case 0:
  1186  				return &v.state
  1187  			case 1:
  1188  				return &v.sizeCache
  1189  			case 2:
  1190  				return &v.unknownFields
  1191  			default:
  1192  				return nil
  1193  			}
  1194  		}
  1195  		file_internal_testprotos_textpb3_test_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1196  			switch v := v.(*Nested); i {
  1197  			case 0:
  1198  				return &v.state
  1199  			case 1:
  1200  				return &v.sizeCache
  1201  			case 2:
  1202  				return &v.unknownFields
  1203  			default:
  1204  				return nil
  1205  			}
  1206  		}
  1207  		file_internal_testprotos_textpb3_test_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1208  			switch v := v.(*Oneofs); i {
  1209  			case 0:
  1210  				return &v.state
  1211  			case 1:
  1212  				return &v.sizeCache
  1213  			case 2:
  1214  				return &v.unknownFields
  1215  			default:
  1216  				return nil
  1217  			}
  1218  		}
  1219  		file_internal_testprotos_textpb3_test_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1220  			switch v := v.(*Maps); i {
  1221  			case 0:
  1222  				return &v.state
  1223  			case 1:
  1224  				return &v.sizeCache
  1225  			case 2:
  1226  				return &v.unknownFields
  1227  			default:
  1228  				return nil
  1229  			}
  1230  		}
  1231  		file_internal_testprotos_textpb3_test_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1232  			switch v := v.(*JSONNames); i {
  1233  			case 0:
  1234  				return &v.state
  1235  			case 1:
  1236  				return &v.sizeCache
  1237  			case 2:
  1238  				return &v.unknownFields
  1239  			default:
  1240  				return nil
  1241  			}
  1242  		}
  1243  	}
  1244  	file_internal_testprotos_textpb3_test_proto_msgTypes[2].OneofWrappers = []interface{}{}
  1245  	file_internal_testprotos_textpb3_test_proto_msgTypes[6].OneofWrappers = []interface{}{
  1246  		(*Oneofs_OneofEnum)(nil),
  1247  		(*Oneofs_OneofString)(nil),
  1248  		(*Oneofs_OneofNested)(nil),
  1249  	}
  1250  	type x struct{}
  1251  	out := protoimpl.TypeBuilder{
  1252  		File: protoimpl.DescBuilder{
  1253  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1254  			RawDescriptor: file_internal_testprotos_textpb3_test_proto_rawDesc,
  1255  			NumEnums:      2,
  1256  			NumMessages:   14,
  1257  			NumExtensions: 0,
  1258  			NumServices:   0,
  1259  		},
  1260  		GoTypes:           file_internal_testprotos_textpb3_test_proto_goTypes,
  1261  		DependencyIndexes: file_internal_testprotos_textpb3_test_proto_depIdxs,
  1262  		EnumInfos:         file_internal_testprotos_textpb3_test_proto_enumTypes,
  1263  		MessageInfos:      file_internal_testprotos_textpb3_test_proto_msgTypes,
  1264  	}.Build()
  1265  	File_internal_testprotos_textpb3_test_proto = out.File
  1266  	file_internal_testprotos_textpb3_test_proto_rawDesc = nil
  1267  	file_internal_testprotos_textpb3_test_proto_goTypes = nil
  1268  	file_internal_testprotos_textpb3_test_proto_depIdxs = nil
  1269  }