github.com/jhump/protoreflect@v1.16.0/internal/testprotos/desc_test_proto3.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_test_proto3.proto
     6  
     7  package testprotos
     8  
     9  import (
    10  	pkg "github.com/jhump/protoreflect/internal/testprotos/pkg"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type Proto3Enum int32
    25  
    26  const (
    27  	Proto3Enum_UNKNOWN Proto3Enum = 0
    28  	Proto3Enum_VALUE1  Proto3Enum = 1
    29  	Proto3Enum_VALUE2  Proto3Enum = 2
    30  )
    31  
    32  // Enum value maps for Proto3Enum.
    33  var (
    34  	Proto3Enum_name = map[int32]string{
    35  		0: "UNKNOWN",
    36  		1: "VALUE1",
    37  		2: "VALUE2",
    38  	}
    39  	Proto3Enum_value = map[string]int32{
    40  		"UNKNOWN": 0,
    41  		"VALUE1":  1,
    42  		"VALUE2":  2,
    43  	}
    44  )
    45  
    46  func (x Proto3Enum) Enum() *Proto3Enum {
    47  	p := new(Proto3Enum)
    48  	*p = x
    49  	return p
    50  }
    51  
    52  func (x Proto3Enum) String() string {
    53  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    54  }
    55  
    56  func (Proto3Enum) Descriptor() protoreflect.EnumDescriptor {
    57  	return file_desc_test_proto3_proto_enumTypes[0].Descriptor()
    58  }
    59  
    60  func (Proto3Enum) Type() protoreflect.EnumType {
    61  	return &file_desc_test_proto3_proto_enumTypes[0]
    62  }
    63  
    64  func (x Proto3Enum) Number() protoreflect.EnumNumber {
    65  	return protoreflect.EnumNumber(x)
    66  }
    67  
    68  // Deprecated: Use Proto3Enum.Descriptor instead.
    69  func (Proto3Enum) EnumDescriptor() ([]byte, []int) {
    70  	return file_desc_test_proto3_proto_rawDescGZIP(), []int{0}
    71  }
    72  
    73  type TestRequest struct {
    74  	state         protoimpl.MessageState
    75  	sizeCache     protoimpl.SizeCache
    76  	unknownFields protoimpl.UnknownFields
    77  
    78  	Foo    []Proto3Enum                                    `protobuf:"varint,1,rep,packed,name=foo,proto3,enum=testprotos.Proto3Enum" json:"foo,omitempty"`
    79  	Bar    string                                          `protobuf:"bytes,2,opt,name=bar,proto3" json:"bar,omitempty"`
    80  	Baz    *TestMessage                                    `protobuf:"bytes,3,opt,name=baz,proto3" json:"baz,omitempty"`
    81  	Snafu  *TestMessage_NestedMessage_AnotherNestedMessage `protobuf:"bytes,4,opt,name=snafu,proto3" json:"snafu,omitempty"`
    82  	Flags  map[string]bool                                 `protobuf:"bytes,5,rep,name=flags,proto3" json:"flags,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
    83  	Others map[string]*TestMessage                         `protobuf:"bytes,6,rep,name=others,proto3" json:"others,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    84  }
    85  
    86  func (x *TestRequest) Reset() {
    87  	*x = TestRequest{}
    88  	if protoimpl.UnsafeEnabled {
    89  		mi := &file_desc_test_proto3_proto_msgTypes[0]
    90  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    91  		ms.StoreMessageInfo(mi)
    92  	}
    93  }
    94  
    95  func (x *TestRequest) String() string {
    96  	return protoimpl.X.MessageStringOf(x)
    97  }
    98  
    99  func (*TestRequest) ProtoMessage() {}
   100  
   101  func (x *TestRequest) ProtoReflect() protoreflect.Message {
   102  	mi := &file_desc_test_proto3_proto_msgTypes[0]
   103  	if protoimpl.UnsafeEnabled && x != nil {
   104  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   105  		if ms.LoadMessageInfo() == nil {
   106  			ms.StoreMessageInfo(mi)
   107  		}
   108  		return ms
   109  	}
   110  	return mi.MessageOf(x)
   111  }
   112  
   113  // Deprecated: Use TestRequest.ProtoReflect.Descriptor instead.
   114  func (*TestRequest) Descriptor() ([]byte, []int) {
   115  	return file_desc_test_proto3_proto_rawDescGZIP(), []int{0}
   116  }
   117  
   118  func (x *TestRequest) GetFoo() []Proto3Enum {
   119  	if x != nil {
   120  		return x.Foo
   121  	}
   122  	return nil
   123  }
   124  
   125  func (x *TestRequest) GetBar() string {
   126  	if x != nil {
   127  		return x.Bar
   128  	}
   129  	return ""
   130  }
   131  
   132  func (x *TestRequest) GetBaz() *TestMessage {
   133  	if x != nil {
   134  		return x.Baz
   135  	}
   136  	return nil
   137  }
   138  
   139  func (x *TestRequest) GetSnafu() *TestMessage_NestedMessage_AnotherNestedMessage {
   140  	if x != nil {
   141  		return x.Snafu
   142  	}
   143  	return nil
   144  }
   145  
   146  func (x *TestRequest) GetFlags() map[string]bool {
   147  	if x != nil {
   148  		return x.Flags
   149  	}
   150  	return nil
   151  }
   152  
   153  func (x *TestRequest) GetOthers() map[string]*TestMessage {
   154  	if x != nil {
   155  		return x.Others
   156  	}
   157  	return nil
   158  }
   159  
   160  type TestResponse struct {
   161  	state         protoimpl.MessageState
   162  	sizeCache     protoimpl.SizeCache
   163  	unknownFields protoimpl.UnknownFields
   164  
   165  	Atm *AnotherTestMessage `protobuf:"bytes,1,opt,name=atm,proto3" json:"atm,omitempty"`
   166  	Vs  []int32             `protobuf:"varint,2,rep,packed,name=vs,proto3" json:"vs,omitempty"`
   167  }
   168  
   169  func (x *TestResponse) Reset() {
   170  	*x = TestResponse{}
   171  	if protoimpl.UnsafeEnabled {
   172  		mi := &file_desc_test_proto3_proto_msgTypes[1]
   173  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   174  		ms.StoreMessageInfo(mi)
   175  	}
   176  }
   177  
   178  func (x *TestResponse) String() string {
   179  	return protoimpl.X.MessageStringOf(x)
   180  }
   181  
   182  func (*TestResponse) ProtoMessage() {}
   183  
   184  func (x *TestResponse) ProtoReflect() protoreflect.Message {
   185  	mi := &file_desc_test_proto3_proto_msgTypes[1]
   186  	if protoimpl.UnsafeEnabled && x != nil {
   187  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   188  		if ms.LoadMessageInfo() == nil {
   189  			ms.StoreMessageInfo(mi)
   190  		}
   191  		return ms
   192  	}
   193  	return mi.MessageOf(x)
   194  }
   195  
   196  // Deprecated: Use TestResponse.ProtoReflect.Descriptor instead.
   197  func (*TestResponse) Descriptor() ([]byte, []int) {
   198  	return file_desc_test_proto3_proto_rawDescGZIP(), []int{1}
   199  }
   200  
   201  func (x *TestResponse) GetAtm() *AnotherTestMessage {
   202  	if x != nil {
   203  		return x.Atm
   204  	}
   205  	return nil
   206  }
   207  
   208  func (x *TestResponse) GetVs() []int32 {
   209  	if x != nil {
   210  		return x.Vs
   211  	}
   212  	return nil
   213  }
   214  
   215  var File_desc_test_proto3_proto protoreflect.FileDescriptor
   216  
   217  var file_desc_test_proto3_proto_rawDesc = []byte{
   218  	0x0a, 0x16, 0x64, 0x65, 0x73, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x72, 0x6f, 0x74,
   219  	0x6f, 0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
   220  	0x6f, 0x74, 0x6f, 0x73, 0x1a, 0x10, 0x64, 0x65, 0x73, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x31,
   221  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x70, 0x6b, 0x67, 0x2f, 0x64, 0x65, 0x73, 0x63,
   222  	0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x70, 0x6b, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
   223  	0xcb, 0x03, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
   224  	0x28, 0x0a, 0x03, 0x66, 0x6f, 0x6f, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x16, 0x2e, 0x74,
   225  	0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   226  	0x45, 0x6e, 0x75, 0x6d, 0x52, 0x03, 0x66, 0x6f, 0x6f, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x61, 0x72,
   227  	0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x62, 0x61, 0x72, 0x12, 0x29, 0x0a, 0x03, 0x62,
   228  	0x61, 0x7a, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70,
   229  	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
   230  	0x65, 0x52, 0x03, 0x62, 0x61, 0x7a, 0x12, 0x50, 0x0a, 0x05, 0x73, 0x6e, 0x61, 0x66, 0x75, 0x18,
   231  	0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74,
   232  	0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x4e,
   233  	0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x6e, 0x6f,
   234  	0x74, 0x68, 0x65, 0x72, 0x4e, 0x65, 0x73, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
   235  	0x65, 0x52, 0x05, 0x73, 0x6e, 0x61, 0x66, 0x75, 0x12, 0x38, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67,
   236  	0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72,
   237  	0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
   238  	0x2e, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x66, 0x6c, 0x61,
   239  	0x67, 0x73, 0x12, 0x3b, 0x0a, 0x06, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03,
   240  	0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e,
   241  	0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4f, 0x74, 0x68, 0x65,
   242  	0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x73, 0x1a,
   243  	0x38, 0x0a, 0x0a, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a,
   244  	0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12,
   245  	0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05,
   246  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x52, 0x0a, 0x0b, 0x4f, 0x74, 0x68,
   247  	0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
   248  	0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2d, 0x0a, 0x05, 0x76, 0x61,
   249  	0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74, 0x65, 0x73, 0x74,
   250  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61,
   251  	0x67, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x50, 0x0a,
   252  	0x0c, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a,
   253  	0x03, 0x61, 0x74, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x74, 0x65, 0x73,
   254  	0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54,
   255  	0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x03, 0x61, 0x74, 0x6d, 0x12,
   256  	0x0e, 0x0a, 0x02, 0x76, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x05, 0x52, 0x02, 0x76, 0x73, 0x2a,
   257  	0x31, 0x0a, 0x0a, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x0b, 0x0a,
   258  	0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x41,
   259  	0x4c, 0x55, 0x45, 0x31, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x32,
   260  	0x10, 0x02, 0x32, 0xbc, 0x02, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69,
   261  	0x63, 0x65, 0x12, 0x44, 0x0a, 0x0b, 0x44, 0x6f, 0x53, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x69, 0x6e,
   262  	0x67, 0x12, 0x17, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54,
   263  	0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x6a, 0x68, 0x75,
   264  	0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x2e,
   265  	0x64, 0x65, 0x73, 0x63, 0x2e, 0x42, 0x61, 0x72, 0x12, 0x46, 0x0a, 0x0f, 0x44, 0x6f, 0x53, 0x6f,
   266  	0x6d, 0x65, 0x74, 0x68, 0x69, 0x6e, 0x67, 0x45, 0x6c, 0x73, 0x65, 0x12, 0x17, 0x2e, 0x74, 0x65,
   267  	0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73,
   268  	0x73, 0x61, 0x67, 0x65, 0x1a, 0x18, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   269  	0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01,
   270  	0x12, 0x52, 0x0a, 0x10, 0x44, 0x6f, 0x53, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x69, 0x6e, 0x67, 0x41,
   271  	0x67, 0x61, 0x69, 0x6e, 0x12, 0x1c, 0x2e, 0x6a, 0x68, 0x75, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
   272  	0x74, 0x6f, 0x72, 0x65, 0x66, 0x6c, 0x65, 0x63, 0x74, 0x2e, 0x64, 0x65, 0x73, 0x63, 0x2e, 0x42,
   273  	0x61, 0x72, 0x1a, 0x1e, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e,
   274  	0x41, 0x6e, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x54, 0x65, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61,
   275  	0x67, 0x65, 0x30, 0x01, 0x12, 0x4b, 0x0a, 0x12, 0x44, 0x6f, 0x53, 0x6f, 0x6d, 0x65, 0x74, 0x68,
   276  	0x69, 0x6e, 0x67, 0x46, 0x6f, 0x72, 0x65, 0x76, 0x65, 0x72, 0x12, 0x17, 0x2e, 0x74, 0x65, 0x73,
   277  	0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75,
   278  	0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73,
   279  	0x2e, 0x54, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x28, 0x01, 0x30,
   280  	0x01, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
   281  	0x6a, 0x68, 0x75, 0x6d, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x72, 0x65, 0x66, 0x6c, 0x65,
   282  	0x63, 0x74, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74,
   283  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   284  }
   285  
   286  var (
   287  	file_desc_test_proto3_proto_rawDescOnce sync.Once
   288  	file_desc_test_proto3_proto_rawDescData = file_desc_test_proto3_proto_rawDesc
   289  )
   290  
   291  func file_desc_test_proto3_proto_rawDescGZIP() []byte {
   292  	file_desc_test_proto3_proto_rawDescOnce.Do(func() {
   293  		file_desc_test_proto3_proto_rawDescData = protoimpl.X.CompressGZIP(file_desc_test_proto3_proto_rawDescData)
   294  	})
   295  	return file_desc_test_proto3_proto_rawDescData
   296  }
   297  
   298  var file_desc_test_proto3_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   299  var file_desc_test_proto3_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   300  var file_desc_test_proto3_proto_goTypes = []interface{}{
   301  	(Proto3Enum)(0),      // 0: testprotos.Proto3Enum
   302  	(*TestRequest)(nil),  // 1: testprotos.TestRequest
   303  	(*TestResponse)(nil), // 2: testprotos.TestResponse
   304  	nil,                  // 3: testprotos.TestRequest.FlagsEntry
   305  	nil,                  // 4: testprotos.TestRequest.OthersEntry
   306  	(*TestMessage)(nil),  // 5: testprotos.TestMessage
   307  	(*TestMessage_NestedMessage_AnotherNestedMessage)(nil), // 6: testprotos.TestMessage.NestedMessage.AnotherNestedMessage
   308  	(*AnotherTestMessage)(nil),                             // 7: testprotos.AnotherTestMessage
   309  	(*pkg.Bar)(nil),                                        // 8: jhump.protoreflect.desc.Bar
   310  }
   311  var file_desc_test_proto3_proto_depIdxs = []int32{
   312  	0,  // 0: testprotos.TestRequest.foo:type_name -> testprotos.Proto3Enum
   313  	5,  // 1: testprotos.TestRequest.baz:type_name -> testprotos.TestMessage
   314  	6,  // 2: testprotos.TestRequest.snafu:type_name -> testprotos.TestMessage.NestedMessage.AnotherNestedMessage
   315  	3,  // 3: testprotos.TestRequest.flags:type_name -> testprotos.TestRequest.FlagsEntry
   316  	4,  // 4: testprotos.TestRequest.others:type_name -> testprotos.TestRequest.OthersEntry
   317  	7,  // 5: testprotos.TestResponse.atm:type_name -> testprotos.AnotherTestMessage
   318  	5,  // 6: testprotos.TestRequest.OthersEntry.value:type_name -> testprotos.TestMessage
   319  	1,  // 7: testprotos.TestService.DoSomething:input_type -> testprotos.TestRequest
   320  	5,  // 8: testprotos.TestService.DoSomethingElse:input_type -> testprotos.TestMessage
   321  	8,  // 9: testprotos.TestService.DoSomethingAgain:input_type -> jhump.protoreflect.desc.Bar
   322  	1,  // 10: testprotos.TestService.DoSomethingForever:input_type -> testprotos.TestRequest
   323  	8,  // 11: testprotos.TestService.DoSomething:output_type -> jhump.protoreflect.desc.Bar
   324  	2,  // 12: testprotos.TestService.DoSomethingElse:output_type -> testprotos.TestResponse
   325  	7,  // 13: testprotos.TestService.DoSomethingAgain:output_type -> testprotos.AnotherTestMessage
   326  	2,  // 14: testprotos.TestService.DoSomethingForever:output_type -> testprotos.TestResponse
   327  	11, // [11:15] is the sub-list for method output_type
   328  	7,  // [7:11] is the sub-list for method input_type
   329  	7,  // [7:7] is the sub-list for extension type_name
   330  	7,  // [7:7] is the sub-list for extension extendee
   331  	0,  // [0:7] is the sub-list for field type_name
   332  }
   333  
   334  func init() { file_desc_test_proto3_proto_init() }
   335  func file_desc_test_proto3_proto_init() {
   336  	if File_desc_test_proto3_proto != nil {
   337  		return
   338  	}
   339  	file_desc_test1_proto_init()
   340  	if !protoimpl.UnsafeEnabled {
   341  		file_desc_test_proto3_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   342  			switch v := v.(*TestRequest); i {
   343  			case 0:
   344  				return &v.state
   345  			case 1:
   346  				return &v.sizeCache
   347  			case 2:
   348  				return &v.unknownFields
   349  			default:
   350  				return nil
   351  			}
   352  		}
   353  		file_desc_test_proto3_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   354  			switch v := v.(*TestResponse); i {
   355  			case 0:
   356  				return &v.state
   357  			case 1:
   358  				return &v.sizeCache
   359  			case 2:
   360  				return &v.unknownFields
   361  			default:
   362  				return nil
   363  			}
   364  		}
   365  	}
   366  	type x struct{}
   367  	out := protoimpl.TypeBuilder{
   368  		File: protoimpl.DescBuilder{
   369  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   370  			RawDescriptor: file_desc_test_proto3_proto_rawDesc,
   371  			NumEnums:      1,
   372  			NumMessages:   4,
   373  			NumExtensions: 0,
   374  			NumServices:   1,
   375  		},
   376  		GoTypes:           file_desc_test_proto3_proto_goTypes,
   377  		DependencyIndexes: file_desc_test_proto3_proto_depIdxs,
   378  		EnumInfos:         file_desc_test_proto3_proto_enumTypes,
   379  		MessageInfos:      file_desc_test_proto3_proto_msgTypes,
   380  	}.Build()
   381  	File_desc_test_proto3_proto = out.File
   382  	file_desc_test_proto3_proto_rawDesc = nil
   383  	file_desc_test_proto3_proto_goTypes = nil
   384  	file_desc_test_proto3_proto_depIdxs = nil
   385  }