github.com/jhump/protoreflect@v1.16.0/internal/testprotos/desc_test2.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.33.0-devel
     4  // 	protoc        v5.26.1
     5  // source: desc_test2.proto
     6  
     7  package testprotos
     8  
     9  import (
    10  	nopkg "github.com/jhump/protoreflect/internal/testprotos/nopkg"
    11  	pkg "github.com/jhump/protoreflect/internal/testprotos/pkg"
    12  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    13  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    14  	reflect "reflect"
    15  	sync "sync"
    16  )
    17  
    18  const (
    19  	// Verify that this generated code is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    21  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    23  )
    24  
    25  type Frobnitz struct {
    26  	state         protoimpl.MessageState
    27  	sizeCache     protoimpl.SizeCache
    28  	unknownFields protoimpl.UnknownFields
    29  
    30  	A *TestMessage        `protobuf:"bytes,1,opt,name=a" json:"a,omitempty"`
    31  	B *AnotherTestMessage `protobuf:"bytes,2,opt,name=b" json:"b,omitempty"`
    32  	// Types that are assignable to Abc:
    33  	//
    34  	//	*Frobnitz_C1
    35  	//	*Frobnitz_C2
    36  	Abc isFrobnitz_Abc             `protobuf_oneof:"abc"`
    37  	D   *TestMessage_NestedMessage `protobuf:"bytes,5,opt,name=d" json:"d,omitempty"`
    38  	E   *TestMessage_NestedEnum    `protobuf:"varint,6,opt,name=e,enum=testprotos.TestMessage_NestedEnum,def=2" json:"e,omitempty"`
    39  	// Deprecated: Marked as deprecated in desc_test2.proto.
    40  	F []string `protobuf:"bytes,7,rep,name=f" json:"f,omitempty"`
    41  	// Types that are assignable to Def:
    42  	//
    43  	//	*Frobnitz_G1
    44  	//	*Frobnitz_G2
    45  	//	*Frobnitz_G3
    46  	Def isFrobnitz_Def `protobuf_oneof:"def"`
    47  }
    48  
    49  // Default values for Frobnitz fields.
    50  const (
    51  	Default_Frobnitz_E = TestMessage_VALUE2
    52  )
    53  
    54  func (x *Frobnitz) Reset() {
    55  	*x = Frobnitz{}
    56  	if protoimpl.UnsafeEnabled {
    57  		mi := &file_desc_test2_proto_msgTypes[0]
    58  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    59  		ms.StoreMessageInfo(mi)
    60  	}
    61  }
    62  
    63  func (x *Frobnitz) String() string {
    64  	return protoimpl.X.MessageStringOf(x)
    65  }
    66  
    67  func (*Frobnitz) ProtoMessage() {}
    68  
    69  func (x *Frobnitz) ProtoReflect() protoreflect.Message {
    70  	mi := &file_desc_test2_proto_msgTypes[0]
    71  	if protoimpl.UnsafeEnabled && x != nil {
    72  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    73  		if ms.LoadMessageInfo() == nil {
    74  			ms.StoreMessageInfo(mi)
    75  		}
    76  		return ms
    77  	}
    78  	return mi.MessageOf(x)
    79  }
    80  
    81  // Deprecated: Use Frobnitz.ProtoReflect.Descriptor instead.
    82  func (*Frobnitz) Descriptor() ([]byte, []int) {
    83  	return file_desc_test2_proto_rawDescGZIP(), []int{0}
    84  }
    85  
    86  func (x *Frobnitz) GetA() *TestMessage {
    87  	if x != nil {
    88  		return x.A
    89  	}
    90  	return nil
    91  }
    92  
    93  func (x *Frobnitz) GetB() *AnotherTestMessage {
    94  	if x != nil {
    95  		return x.B
    96  	}
    97  	return nil
    98  }
    99  
   100  func (m *Frobnitz) GetAbc() isFrobnitz_Abc {
   101  	if m != nil {
   102  		return m.Abc
   103  	}
   104  	return nil
   105  }
   106  
   107  func (x *Frobnitz) GetC1() *TestMessage_NestedMessage {
   108  	if x, ok := x.GetAbc().(*Frobnitz_C1); ok {
   109  		return x.C1
   110  	}
   111  	return nil
   112  }
   113  
   114  func (x *Frobnitz) GetC2() TestMessage_NestedEnum {
   115  	if x, ok := x.GetAbc().(*Frobnitz_C2); ok {
   116  		return x.C2
   117  	}
   118  	return TestMessage_VALUE1
   119  }
   120  
   121  func (x *Frobnitz) GetD() *TestMessage_NestedMessage {
   122  	if x != nil {
   123  		return x.D
   124  	}
   125  	return nil
   126  }
   127  
   128  func (x *Frobnitz) GetE() TestMessage_NestedEnum {
   129  	if x != nil && x.E != nil {
   130  		return *x.E
   131  	}
   132  	return Default_Frobnitz_E
   133  }
   134  
   135  // Deprecated: Marked as deprecated in desc_test2.proto.
   136  func (x *Frobnitz) GetF() []string {
   137  	if x != nil {
   138  		return x.F
   139  	}
   140  	return nil
   141  }
   142  
   143  func (m *Frobnitz) GetDef() isFrobnitz_Def {
   144  	if m != nil {
   145  		return m.Def
   146  	}
   147  	return nil
   148  }
   149  
   150  func (x *Frobnitz) GetG1() int32 {
   151  	if x, ok := x.GetDef().(*Frobnitz_G1); ok {
   152  		return x.G1
   153  	}
   154  	return 0
   155  }
   156  
   157  func (x *Frobnitz) GetG2() int32 {
   158  	if x, ok := x.GetDef().(*Frobnitz_G2); ok {
   159  		return x.G2
   160  	}
   161  	return 0
   162  }
   163  
   164  func (x *Frobnitz) GetG3() uint32 {
   165  	if x, ok := x.GetDef().(*Frobnitz_G3); ok {
   166  		return x.G3
   167  	}
   168  	return 0
   169  }
   170  
   171  type isFrobnitz_Abc interface {
   172  	isFrobnitz_Abc()
   173  }
   174  
   175  type Frobnitz_C1 struct {
   176  	C1 *TestMessage_NestedMessage `protobuf:"bytes,3,opt,name=c1,oneof"`
   177  }
   178  
   179  type Frobnitz_C2 struct {
   180  	C2 TestMessage_NestedEnum `protobuf:"varint,4,opt,name=c2,enum=testprotos.TestMessage_NestedEnum,oneof"`
   181  }
   182  
   183  func (*Frobnitz_C1) isFrobnitz_Abc() {}
   184  
   185  func (*Frobnitz_C2) isFrobnitz_Abc() {}
   186  
   187  type isFrobnitz_Def interface {
   188  	isFrobnitz_Def()
   189  }
   190  
   191  type Frobnitz_G1 struct {
   192  	G1 int32 `protobuf:"varint,8,opt,name=g1,oneof"`
   193  }
   194  
   195  type Frobnitz_G2 struct {
   196  	G2 int32 `protobuf:"zigzag32,9,opt,name=g2,oneof"`
   197  }
   198  
   199  type Frobnitz_G3 struct {
   200  	G3 uint32 `protobuf:"varint,10,opt,name=g3,oneof"`
   201  }
   202  
   203  func (*Frobnitz_G1) isFrobnitz_Def() {}
   204  
   205  func (*Frobnitz_G2) isFrobnitz_Def() {}
   206  
   207  func (*Frobnitz_G3) isFrobnitz_Def() {}
   208  
   209  type Whatchamacallit struct {
   210  	state         protoimpl.MessageState
   211  	sizeCache     protoimpl.SizeCache
   212  	unknownFields protoimpl.UnknownFields
   213  
   214  	Foos *pkg.Foo `protobuf:"varint,1,req,name=foos,enum=jhump.protoreflect.desc.Foo" json:"foos,omitempty"`
   215  }
   216  
   217  func (x *Whatchamacallit) Reset() {
   218  	*x = Whatchamacallit{}
   219  	if protoimpl.UnsafeEnabled {
   220  		mi := &file_desc_test2_proto_msgTypes[1]
   221  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   222  		ms.StoreMessageInfo(mi)
   223  	}
   224  }
   225  
   226  func (x *Whatchamacallit) String() string {
   227  	return protoimpl.X.MessageStringOf(x)
   228  }
   229  
   230  func (*Whatchamacallit) ProtoMessage() {}
   231  
   232  func (x *Whatchamacallit) ProtoReflect() protoreflect.Message {
   233  	mi := &file_desc_test2_proto_msgTypes[1]
   234  	if protoimpl.UnsafeEnabled && x != nil {
   235  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   236  		if ms.LoadMessageInfo() == nil {
   237  			ms.StoreMessageInfo(mi)
   238  		}
   239  		return ms
   240  	}
   241  	return mi.MessageOf(x)
   242  }
   243  
   244  // Deprecated: Use Whatchamacallit.ProtoReflect.Descriptor instead.
   245  func (*Whatchamacallit) Descriptor() ([]byte, []int) {
   246  	return file_desc_test2_proto_rawDescGZIP(), []int{1}
   247  }
   248  
   249  func (x *Whatchamacallit) GetFoos() pkg.Foo {
   250  	if x != nil && x.Foos != nil {
   251  		return *x.Foos
   252  	}
   253  	return pkg.Foo(0)
   254  }
   255  
   256  type Whatzit struct {
   257  	state         protoimpl.MessageState
   258  	sizeCache     protoimpl.SizeCache
   259  	unknownFields protoimpl.UnknownFields
   260  
   261  	Gyzmeau []*pkg.Bar `protobuf:"bytes,1,rep,name=gyzmeau" json:"gyzmeau,omitempty"`
   262  }
   263  
   264  func (x *Whatzit) Reset() {
   265  	*x = Whatzit{}
   266  	if protoimpl.UnsafeEnabled {
   267  		mi := &file_desc_test2_proto_msgTypes[2]
   268  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   269  		ms.StoreMessageInfo(mi)
   270  	}
   271  }
   272  
   273  func (x *Whatzit) String() string {
   274  	return protoimpl.X.MessageStringOf(x)
   275  }
   276  
   277  func (*Whatzit) ProtoMessage() {}
   278  
   279  func (x *Whatzit) ProtoReflect() protoreflect.Message {
   280  	mi := &file_desc_test2_proto_msgTypes[2]
   281  	if protoimpl.UnsafeEnabled && x != nil {
   282  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   283  		if ms.LoadMessageInfo() == nil {
   284  			ms.StoreMessageInfo(mi)
   285  		}
   286  		return ms
   287  	}
   288  	return mi.MessageOf(x)
   289  }
   290  
   291  // Deprecated: Use Whatzit.ProtoReflect.Descriptor instead.
   292  func (*Whatzit) Descriptor() ([]byte, []int) {
   293  	return file_desc_test2_proto_rawDescGZIP(), []int{2}
   294  }
   295  
   296  func (x *Whatzit) GetGyzmeau() []*pkg.Bar {
   297  	if x != nil {
   298  		return x.Gyzmeau
   299  	}
   300  	return nil
   301  }
   302  
   303  type GroupX struct {
   304  	state         protoimpl.MessageState
   305  	sizeCache     protoimpl.SizeCache
   306  	unknownFields protoimpl.UnknownFields
   307  
   308  	Groupxi *int64  `protobuf:"varint,1041,opt,name=groupxi" json:"groupxi,omitempty"`
   309  	Groupxs *string `protobuf:"bytes,1042,opt,name=groupxs" json:"groupxs,omitempty"`
   310  }
   311  
   312  func (x *GroupX) Reset() {
   313  	*x = GroupX{}
   314  	if protoimpl.UnsafeEnabled {
   315  		mi := &file_desc_test2_proto_msgTypes[3]
   316  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   317  		ms.StoreMessageInfo(mi)
   318  	}
   319  }
   320  
   321  func (x *GroupX) String() string {
   322  	return protoimpl.X.MessageStringOf(x)
   323  }
   324  
   325  func (*GroupX) ProtoMessage() {}
   326  
   327  func (x *GroupX) ProtoReflect() protoreflect.Message {
   328  	mi := &file_desc_test2_proto_msgTypes[3]
   329  	if protoimpl.UnsafeEnabled && x != nil {
   330  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   331  		if ms.LoadMessageInfo() == nil {
   332  			ms.StoreMessageInfo(mi)
   333  		}
   334  		return ms
   335  	}
   336  	return mi.MessageOf(x)
   337  }
   338  
   339  // Deprecated: Use GroupX.ProtoReflect.Descriptor instead.
   340  func (*GroupX) Descriptor() ([]byte, []int) {
   341  	return file_desc_test2_proto_rawDescGZIP(), []int{3}
   342  }
   343  
   344  func (x *GroupX) GetGroupxi() int64 {
   345  	if x != nil && x.Groupxi != nil {
   346  		return *x.Groupxi
   347  	}
   348  	return 0
   349  }
   350  
   351  func (x *GroupX) GetGroupxs() string {
   352  	if x != nil && x.Groupxs != nil {
   353  		return *x.Groupxs
   354  	}
   355  	return ""
   356  }
   357  
   358  var file_desc_test2_proto_extTypes = []protoimpl.ExtensionInfo{
   359  	{
   360  		ExtendedType:  (*nopkg.TopLevel)(nil),
   361  		ExtensionType: (*nopkg.TopLevel)(nil),
   362  		Field:         100,
   363  		Name:          "testprotos.otl",
   364  		Tag:           "bytes,100,opt,name=otl",
   365  		Filename:      "desc_test2.proto",
   366  	},
   367  	{
   368  		ExtendedType:  (*nopkg.TopLevel)(nil),
   369  		ExtensionType: (*GroupX)(nil),
   370  		Field:         104,
   371  		Name:          "testprotos.groupx",
   372  		Tag:           "group,104,opt,name=GroupX",
   373  		Filename:      "desc_test2.proto",
   374  	},
   375  }
   376  
   377  // Extension fields to nopkg.TopLevel.
   378  var (
   379  	// optional TopLevel otl = 100;
   380  	E_Otl = &file_desc_test2_proto_extTypes[0]
   381  	// optional testprotos.GroupX groupx = 104;
   382  	E_Groupx = &file_desc_test2_proto_extTypes[1]
   383  )
   384  
   385  var File_desc_test2_proto protoreflect.FileDescriptor
   386  
   387  var file_desc_test2_proto_rawDesc = []byte{
   388  	0x0a, 0x10, 0x64, 0x65, 0x73, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x32, 0x2e, 0x70, 0x72, 0x6f,
   389  	0x74, 0x6f, 0x12, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x1a, 0x10,
   390  	0x64, 0x65, 0x73, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x31, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   391  	0x1a, 0x17, 0x70, 0x6b, 0x67, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f,
   392  	0x70, 0x6b, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x6e, 0x6f, 0x70, 0x6b, 0x67,
   393  	0x2f, 0x64, 0x65, 0x73, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6e, 0x6f, 0x70, 0x6b, 0x67,
   394  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x03, 0x0a, 0x08, 0x46, 0x72, 0x6f, 0x62, 0x6e,
   395  	0x69, 0x74, 0x7a, 0x12, 0x25, 0x0a, 0x01, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17,
   396  	0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74,
   397  	0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x01, 0x61, 0x12, 0x2c, 0x0a, 0x01, 0x62, 0x18,
   398  	0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74,
   399  	0x6f, 0x73, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65,
   400  	0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x01, 0x62, 0x12, 0x37, 0x0a, 0x02, 0x63, 0x31, 0x18, 0x03,
   401  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   402  	0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e, 0x65,
   403  	0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x48, 0x00, 0x52, 0x02, 0x63,
   404  	0x31, 0x12, 0x34, 0x0a, 0x02, 0x63, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e,
   405  	0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d,
   406  	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75,
   407  	0x6d, 0x48, 0x00, 0x52, 0x02, 0x63, 0x32, 0x12, 0x33, 0x0a, 0x01, 0x64, 0x18, 0x05, 0x20, 0x01,
   408  	0x28, 0x0b, 0x32, 0x25, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e,
   409  	0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e, 0x65, 0x73, 0x74,
   410  	0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x01, 0x64, 0x12, 0x38, 0x0a, 0x01,
   411  	0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
   412  	0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
   413  	0x2e, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x45, 0x6e, 0x75, 0x6d, 0x3a, 0x06, 0x56, 0x41, 0x4c,
   414  	0x55, 0x45, 0x32, 0x52, 0x01, 0x65, 0x12, 0x10, 0x0a, 0x01, 0x66, 0x18, 0x07, 0x20, 0x03, 0x28,
   415  	0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x01, 0x66, 0x12, 0x10, 0x0a, 0x02, 0x67, 0x31, 0x18, 0x08,
   416  	0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x02, 0x67, 0x31, 0x12, 0x10, 0x0a, 0x02, 0x67, 0x32,
   417  	0x18, 0x09, 0x20, 0x01, 0x28, 0x11, 0x48, 0x01, 0x52, 0x02, 0x67, 0x32, 0x12, 0x10, 0x0a, 0x02,
   418  	0x67, 0x33, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x48, 0x01, 0x52, 0x02, 0x67, 0x33, 0x42, 0x05,
   419  	0x0a, 0x03, 0x61, 0x62, 0x63, 0x42, 0x05, 0x0a, 0x03, 0x64, 0x65, 0x66, 0x22, 0x43, 0x0a, 0x0f,
   420  	0x57, 0x68, 0x61, 0x74, 0x63, 0x68, 0x61, 0x6d, 0x61, 0x63, 0x61, 0x6c, 0x6c, 0x69, 0x74, 0x12,
   421  	0x30, 0x0a, 0x04, 0x66, 0x6f, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x1c, 0x2e,
   422  	0x6a, 0x68, 0x75, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65, 0x66, 0x6c, 0x65,
   423  	0x63, 0x74, 0x2e, 0x64, 0x65, 0x73, 0x63, 0x2e, 0x46, 0x6f, 0x6f, 0x52, 0x04, 0x66, 0x6f, 0x6f,
   424  	0x73, 0x22, 0x41, 0x0a, 0x07, 0x57, 0x68, 0x61, 0x74, 0x7a, 0x69, 0x74, 0x12, 0x36, 0x0a, 0x07,
   425  	0x67, 0x79, 0x7a, 0x6d, 0x65, 0x61, 0x75, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
   426  	0x6a, 0x68, 0x75, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65, 0x66, 0x6c, 0x65,
   427  	0x63, 0x74, 0x2e, 0x64, 0x65, 0x73, 0x63, 0x2e, 0x42, 0x61, 0x72, 0x52, 0x07, 0x67, 0x79, 0x7a,
   428  	0x6d, 0x65, 0x61, 0x75, 0x22, 0x3e, 0x0a, 0x06, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x58, 0x12, 0x19,
   429  	0x0a, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x78, 0x69, 0x18, 0x91, 0x08, 0x20, 0x01, 0x28, 0x03,
   430  	0x52, 0x07, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x78, 0x69, 0x12, 0x19, 0x0a, 0x07, 0x67, 0x72, 0x6f,
   431  	0x75, 0x70, 0x78, 0x73, 0x18, 0x92, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x72, 0x6f,
   432  	0x75, 0x70, 0x78, 0x73, 0x3a, 0x26, 0x0a, 0x03, 0x6f, 0x74, 0x6c, 0x12, 0x09, 0x2e, 0x54, 0x6f,
   433  	0x70, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x54,
   434  	0x6f, 0x70, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x03, 0x6f, 0x74, 0x6c, 0x3a, 0x35, 0x0a, 0x06,
   435  	0x67, 0x72, 0x6f, 0x75, 0x70, 0x78, 0x12, 0x09, 0x2e, 0x54, 0x6f, 0x70, 0x4c, 0x65, 0x76, 0x65,
   436  	0x6c, 0x18, 0x68, 0x20, 0x01, 0x28, 0x0a, 0x32, 0x12, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
   437  	0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x58, 0x52, 0x06, 0x67, 0x72, 0x6f,
   438  	0x75, 0x70, 0x78, 0x42, 0xa8, 0x01, 0x0a, 0x31, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x69, 0x74, 0x68,
   439  	0x75, 0x62, 0x2e, 0x6a, 0x68, 0x75, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65,
   440  	0x66, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x74,
   441  	0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x50, 0x01, 0x5a, 0x31, 0x67, 0x69, 0x74,
   442  	0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6a, 0x68, 0x75, 0x6d, 0x70, 0x2f, 0x70, 0x72,
   443  	0x6f, 0x74, 0x6f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
   444  	0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0xa0, 0x01,
   445  	0x01, 0xf8, 0x01, 0x01, 0xaa, 0x02, 0x1d, 0x6a, 0x68, 0x75, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
   446  	0x74, 0x6f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
   447  	0x6f, 0x74, 0x6f, 0x73, 0xea, 0x02, 0x17, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65, 0x66, 0x6c,
   448  	0x65, 0x63, 0x74, 0x2d, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
   449  }
   450  
   451  var (
   452  	file_desc_test2_proto_rawDescOnce sync.Once
   453  	file_desc_test2_proto_rawDescData = file_desc_test2_proto_rawDesc
   454  )
   455  
   456  func file_desc_test2_proto_rawDescGZIP() []byte {
   457  	file_desc_test2_proto_rawDescOnce.Do(func() {
   458  		file_desc_test2_proto_rawDescData = protoimpl.X.CompressGZIP(file_desc_test2_proto_rawDescData)
   459  	})
   460  	return file_desc_test2_proto_rawDescData
   461  }
   462  
   463  var file_desc_test2_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   464  var file_desc_test2_proto_goTypes = []interface{}{
   465  	(*Frobnitz)(nil),                  // 0: testprotos.Frobnitz
   466  	(*Whatchamacallit)(nil),           // 1: testprotos.Whatchamacallit
   467  	(*Whatzit)(nil),                   // 2: testprotos.Whatzit
   468  	(*GroupX)(nil),                    // 3: testprotos.GroupX
   469  	(*TestMessage)(nil),               // 4: testprotos.TestMessage
   470  	(*AnotherTestMessage)(nil),        // 5: testprotos.AnotherTestMessage
   471  	(*TestMessage_NestedMessage)(nil), // 6: testprotos.TestMessage.NestedMessage
   472  	(TestMessage_NestedEnum)(0),       // 7: testprotos.TestMessage.NestedEnum
   473  	(pkg.Foo)(0),                      // 8: jhump.protoreflect.desc.Foo
   474  	(*pkg.Bar)(nil),                   // 9: jhump.protoreflect.desc.Bar
   475  	(*nopkg.TopLevel)(nil),            // 10: TopLevel
   476  }
   477  var file_desc_test2_proto_depIdxs = []int32{
   478  	4,  // 0: testprotos.Frobnitz.a:type_name -> testprotos.TestMessage
   479  	5,  // 1: testprotos.Frobnitz.b:type_name -> testprotos.AnotherTestMessage
   480  	6,  // 2: testprotos.Frobnitz.c1:type_name -> testprotos.TestMessage.NestedMessage
   481  	7,  // 3: testprotos.Frobnitz.c2:type_name -> testprotos.TestMessage.NestedEnum
   482  	6,  // 4: testprotos.Frobnitz.d:type_name -> testprotos.TestMessage.NestedMessage
   483  	7,  // 5: testprotos.Frobnitz.e:type_name -> testprotos.TestMessage.NestedEnum
   484  	8,  // 6: testprotos.Whatchamacallit.foos:type_name -> jhump.protoreflect.desc.Foo
   485  	9,  // 7: testprotos.Whatzit.gyzmeau:type_name -> jhump.protoreflect.desc.Bar
   486  	10, // 8: testprotos.otl:extendee -> TopLevel
   487  	10, // 9: testprotos.groupx:extendee -> TopLevel
   488  	10, // 10: testprotos.otl:type_name -> TopLevel
   489  	3,  // 11: testprotos.groupx:type_name -> testprotos.GroupX
   490  	12, // [12:12] is the sub-list for method output_type
   491  	12, // [12:12] is the sub-list for method input_type
   492  	10, // [10:12] is the sub-list for extension type_name
   493  	8,  // [8:10] is the sub-list for extension extendee
   494  	0,  // [0:8] is the sub-list for field type_name
   495  }
   496  
   497  func init() { file_desc_test2_proto_init() }
   498  func file_desc_test2_proto_init() {
   499  	if File_desc_test2_proto != nil {
   500  		return
   501  	}
   502  	file_desc_test1_proto_init()
   503  	if !protoimpl.UnsafeEnabled {
   504  		file_desc_test2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   505  			switch v := v.(*Frobnitz); i {
   506  			case 0:
   507  				return &v.state
   508  			case 1:
   509  				return &v.sizeCache
   510  			case 2:
   511  				return &v.unknownFields
   512  			default:
   513  				return nil
   514  			}
   515  		}
   516  		file_desc_test2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   517  			switch v := v.(*Whatchamacallit); i {
   518  			case 0:
   519  				return &v.state
   520  			case 1:
   521  				return &v.sizeCache
   522  			case 2:
   523  				return &v.unknownFields
   524  			default:
   525  				return nil
   526  			}
   527  		}
   528  		file_desc_test2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   529  			switch v := v.(*Whatzit); i {
   530  			case 0:
   531  				return &v.state
   532  			case 1:
   533  				return &v.sizeCache
   534  			case 2:
   535  				return &v.unknownFields
   536  			default:
   537  				return nil
   538  			}
   539  		}
   540  		file_desc_test2_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   541  			switch v := v.(*GroupX); i {
   542  			case 0:
   543  				return &v.state
   544  			case 1:
   545  				return &v.sizeCache
   546  			case 2:
   547  				return &v.unknownFields
   548  			default:
   549  				return nil
   550  			}
   551  		}
   552  	}
   553  	file_desc_test2_proto_msgTypes[0].OneofWrappers = []interface{}{
   554  		(*Frobnitz_C1)(nil),
   555  		(*Frobnitz_C2)(nil),
   556  		(*Frobnitz_G1)(nil),
   557  		(*Frobnitz_G2)(nil),
   558  		(*Frobnitz_G3)(nil),
   559  	}
   560  	type x struct{}
   561  	out := protoimpl.TypeBuilder{
   562  		File: protoimpl.DescBuilder{
   563  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   564  			RawDescriptor: file_desc_test2_proto_rawDesc,
   565  			NumEnums:      0,
   566  			NumMessages:   4,
   567  			NumExtensions: 2,
   568  			NumServices:   0,
   569  		},
   570  		GoTypes:           file_desc_test2_proto_goTypes,
   571  		DependencyIndexes: file_desc_test2_proto_depIdxs,
   572  		MessageInfos:      file_desc_test2_proto_msgTypes,
   573  		ExtensionInfos:    file_desc_test2_proto_extTypes,
   574  	}.Build()
   575  	File_desc_test2_proto = out.File
   576  	file_desc_test2_proto_rawDesc = nil
   577  	file_desc_test2_proto_goTypes = nil
   578  	file_desc_test2_proto_depIdxs = nil
   579  }