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// Different proto type definitions for testing the Types registry.
6
7// Code generated by protoc-gen-go. DO NOT EDIT.
8// source: internal/testprotos/registry/test.proto
9
10package registry
11
12import (
13	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14	protoiface "google.golang.org/protobuf/runtime/protoiface"
15	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16	reflect "reflect"
17	sync "sync"
18)
19
20type Enum1 int32
21
22const (
23	Enum1_ONE Enum1 = 1
24)
25
26// Enum value maps for Enum1.
27var (
28	Enum1_name = map[int32]string{
29		1: "ONE",
30	}
31	Enum1_value = map[string]int32{
32		"ONE": 1,
33	}
34)
35
36func (x Enum1) Enum() *Enum1 {
37	p := new(Enum1)
38	*p = x
39	return p
40}
41
42func (x Enum1) String() string {
43	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
44}
45
46func (Enum1) Descriptor() protoreflect.EnumDescriptor {
47	return file_internal_testprotos_registry_test_proto_enumTypes[0].Descriptor()
48}
49
50func (Enum1) Type() protoreflect.EnumType {
51	return &file_internal_testprotos_registry_test_proto_enumTypes[0]
52}
53
54func (x Enum1) Number() protoreflect.EnumNumber {
55	return protoreflect.EnumNumber(x)
56}
57
58// Deprecated: Do not use.
59func (x *Enum1) UnmarshalJSON(b []byte) error {
60	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
61	if err != nil {
62		return err
63	}
64	*x = Enum1(num)
65	return nil
66}
67
68// Deprecated: Use Enum1.Descriptor instead.
69func (Enum1) EnumDescriptor() ([]byte, []int) {
70	return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{0}
71}
72
73type Enum2 int32
74
75const (
76	Enum2_UNO Enum2 = 1
77)
78
79// Enum value maps for Enum2.
80var (
81	Enum2_name = map[int32]string{
82		1: "UNO",
83	}
84	Enum2_value = map[string]int32{
85		"UNO": 1,
86	}
87)
88
89func (x Enum2) Enum() *Enum2 {
90	p := new(Enum2)
91	*p = x
92	return p
93}
94
95func (x Enum2) String() string {
96	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
97}
98
99func (Enum2) Descriptor() protoreflect.EnumDescriptor {
100	return file_internal_testprotos_registry_test_proto_enumTypes[1].Descriptor()
101}
102
103func (Enum2) Type() protoreflect.EnumType {
104	return &file_internal_testprotos_registry_test_proto_enumTypes[1]
105}
106
107func (x Enum2) Number() protoreflect.EnumNumber {
108	return protoreflect.EnumNumber(x)
109}
110
111// Deprecated: Do not use.
112func (x *Enum2) UnmarshalJSON(b []byte) error {
113	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
114	if err != nil {
115		return err
116	}
117	*x = Enum2(num)
118	return nil
119}
120
121// Deprecated: Use Enum2.Descriptor instead.
122func (Enum2) EnumDescriptor() ([]byte, []int) {
123	return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{1}
124}
125
126type Enum3 int32
127
128const (
129	Enum3_YI Enum3 = 1
130)
131
132// Enum value maps for Enum3.
133var (
134	Enum3_name = map[int32]string{
135		1: "YI",
136	}
137	Enum3_value = map[string]int32{
138		"YI": 1,
139	}
140)
141
142func (x Enum3) Enum() *Enum3 {
143	p := new(Enum3)
144	*p = x
145	return p
146}
147
148func (x Enum3) String() string {
149	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
150}
151
152func (Enum3) Descriptor() protoreflect.EnumDescriptor {
153	return file_internal_testprotos_registry_test_proto_enumTypes[2].Descriptor()
154}
155
156func (Enum3) Type() protoreflect.EnumType {
157	return &file_internal_testprotos_registry_test_proto_enumTypes[2]
158}
159
160func (x Enum3) Number() protoreflect.EnumNumber {
161	return protoreflect.EnumNumber(x)
162}
163
164// Deprecated: Do not use.
165func (x *Enum3) UnmarshalJSON(b []byte) error {
166	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
167	if err != nil {
168		return err
169	}
170	*x = Enum3(num)
171	return nil
172}
173
174// Deprecated: Use Enum3.Descriptor instead.
175func (Enum3) EnumDescriptor() ([]byte, []int) {
176	return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{2}
177}
178
179type Message1 struct {
180	state           protoimpl.MessageState
181	sizeCache       protoimpl.SizeCache
182	unknownFields   protoimpl.UnknownFields
183	extensionFields protoimpl.ExtensionFields
184}
185
186func (x *Message1) Reset() {
187	*x = Message1{}
188	if protoimpl.UnsafeEnabled {
189		mi := &file_internal_testprotos_registry_test_proto_msgTypes[0]
190		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191		ms.StoreMessageInfo(mi)
192	}
193}
194
195func (x *Message1) String() string {
196	return protoimpl.X.MessageStringOf(x)
197}
198
199func (*Message1) ProtoMessage() {}
200
201func (x *Message1) ProtoReflect() protoreflect.Message {
202	mi := &file_internal_testprotos_registry_test_proto_msgTypes[0]
203	if protoimpl.UnsafeEnabled && x != nil {
204		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
205		if ms.LoadMessageInfo() == nil {
206			ms.StoreMessageInfo(mi)
207		}
208		return ms
209	}
210	return mi.MessageOf(x)
211}
212
213// Deprecated: Use Message1.ProtoReflect.Descriptor instead.
214func (*Message1) Descriptor() ([]byte, []int) {
215	return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{0}
216}
217
218var extRange_Message1 = []protoiface.ExtensionRangeV1{
219	{Start: 10, End: 536870911},
220}
221
222// Deprecated: Use Message1.ProtoReflect.Descriptor.ExtensionRanges instead.
223func (*Message1) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
224	return extRange_Message1
225}
226
227type Message2 struct {
228	state         protoimpl.MessageState
229	sizeCache     protoimpl.SizeCache
230	unknownFields protoimpl.UnknownFields
231}
232
233func (x *Message2) Reset() {
234	*x = Message2{}
235	if protoimpl.UnsafeEnabled {
236		mi := &file_internal_testprotos_registry_test_proto_msgTypes[1]
237		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
238		ms.StoreMessageInfo(mi)
239	}
240}
241
242func (x *Message2) String() string {
243	return protoimpl.X.MessageStringOf(x)
244}
245
246func (*Message2) ProtoMessage() {}
247
248func (x *Message2) ProtoReflect() protoreflect.Message {
249	mi := &file_internal_testprotos_registry_test_proto_msgTypes[1]
250	if protoimpl.UnsafeEnabled && x != nil {
251		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
252		if ms.LoadMessageInfo() == nil {
253			ms.StoreMessageInfo(mi)
254		}
255		return ms
256	}
257	return mi.MessageOf(x)
258}
259
260// Deprecated: Use Message2.ProtoReflect.Descriptor instead.
261func (*Message2) Descriptor() ([]byte, []int) {
262	return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{1}
263}
264
265type Message3 struct {
266	state         protoimpl.MessageState
267	sizeCache     protoimpl.SizeCache
268	unknownFields protoimpl.UnknownFields
269}
270
271func (x *Message3) Reset() {
272	*x = Message3{}
273	if protoimpl.UnsafeEnabled {
274		mi := &file_internal_testprotos_registry_test_proto_msgTypes[2]
275		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
276		ms.StoreMessageInfo(mi)
277	}
278}
279
280func (x *Message3) String() string {
281	return protoimpl.X.MessageStringOf(x)
282}
283
284func (*Message3) ProtoMessage() {}
285
286func (x *Message3) ProtoReflect() protoreflect.Message {
287	mi := &file_internal_testprotos_registry_test_proto_msgTypes[2]
288	if protoimpl.UnsafeEnabled && x != nil {
289		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
290		if ms.LoadMessageInfo() == nil {
291			ms.StoreMessageInfo(mi)
292		}
293		return ms
294	}
295	return mi.MessageOf(x)
296}
297
298// Deprecated: Use Message3.ProtoReflect.Descriptor instead.
299func (*Message3) Descriptor() ([]byte, []int) {
300	return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{2}
301}
302
303type Message4 struct {
304	state         protoimpl.MessageState
305	sizeCache     protoimpl.SizeCache
306	unknownFields protoimpl.UnknownFields
307
308	BoolField *bool `protobuf:"varint,30,opt,name=bool_field,json=boolField" json:"bool_field,omitempty"`
309}
310
311func (x *Message4) Reset() {
312	*x = Message4{}
313	if protoimpl.UnsafeEnabled {
314		mi := &file_internal_testprotos_registry_test_proto_msgTypes[3]
315		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
316		ms.StoreMessageInfo(mi)
317	}
318}
319
320func (x *Message4) String() string {
321	return protoimpl.X.MessageStringOf(x)
322}
323
324func (*Message4) ProtoMessage() {}
325
326func (x *Message4) ProtoReflect() protoreflect.Message {
327	mi := &file_internal_testprotos_registry_test_proto_msgTypes[3]
328	if protoimpl.UnsafeEnabled && x != nil {
329		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
330		if ms.LoadMessageInfo() == nil {
331			ms.StoreMessageInfo(mi)
332		}
333		return ms
334	}
335	return mi.MessageOf(x)
336}
337
338// Deprecated: Use Message4.ProtoReflect.Descriptor instead.
339func (*Message4) Descriptor() ([]byte, []int) {
340	return file_internal_testprotos_registry_test_proto_rawDescGZIP(), []int{3}
341}
342
343func (x *Message4) GetBoolField() bool {
344	if x != nil && x.BoolField != nil {
345		return *x.BoolField
346	}
347	return false
348}
349
350var file_internal_testprotos_registry_test_proto_extTypes = []protoimpl.ExtensionInfo{
351	{
352		ExtendedType:  (*Message1)(nil),
353		ExtensionType: (*string)(nil),
354		Field:         11,
355		Name:          "testprotos.string_field",
356		Tag:           "bytes,11,opt,name=string_field",
357		Filename:      "internal/testprotos/registry/test.proto",
358	},
359	{
360		ExtendedType:  (*Message1)(nil),
361		ExtensionType: (*Enum1)(nil),
362		Field:         12,
363		Name:          "testprotos.enum_field",
364		Tag:           "varint,12,opt,name=enum_field,enum=testprotos.Enum1",
365		Filename:      "internal/testprotos/registry/test.proto",
366	},
367	{
368		ExtendedType:  (*Message1)(nil),
369		ExtensionType: (*Message2)(nil),
370		Field:         13,
371		Name:          "testprotos.message_field",
372		Tag:           "bytes,13,opt,name=message_field",
373		Filename:      "internal/testprotos/registry/test.proto",
374	},
375	{
376		ExtendedType:  (*Message1)(nil),
377		ExtensionType: (*Message2)(nil),
378		Field:         21,
379		Name:          "testprotos.Message4.message_field",
380		Tag:           "bytes,21,opt,name=message_field",
381		Filename:      "internal/testprotos/registry/test.proto",
382	},
383	{
384		ExtendedType:  (*Message1)(nil),
385		ExtensionType: (*Enum1)(nil),
386		Field:         22,
387		Name:          "testprotos.Message4.enum_field",
388		Tag:           "varint,22,opt,name=enum_field,enum=testprotos.Enum1",
389		Filename:      "internal/testprotos/registry/test.proto",
390	},
391	{
392		ExtendedType:  (*Message1)(nil),
393		ExtensionType: (*string)(nil),
394		Field:         23,
395		Name:          "testprotos.Message4.string_field",
396		Tag:           "bytes,23,opt,name=string_field",
397		Filename:      "internal/testprotos/registry/test.proto",
398	},
399}
400
401// Extension fields to Message1.
402var (
403	// optional string string_field = 11;
404	E_StringField = &file_internal_testprotos_registry_test_proto_extTypes[0]
405	// optional testprotos.Enum1 enum_field = 12;
406	E_EnumField = &file_internal_testprotos_registry_test_proto_extTypes[1]
407	// optional testprotos.Message2 message_field = 13;
408	E_MessageField = &file_internal_testprotos_registry_test_proto_extTypes[2]
409	// optional testprotos.Message2 message_field = 21;
410	E_Message4_MessageField = &file_internal_testprotos_registry_test_proto_extTypes[3]
411	// optional testprotos.Enum1 enum_field = 22;
412	E_Message4_EnumField = &file_internal_testprotos_registry_test_proto_extTypes[4]
413	// optional string string_field = 23;
414	E_Message4_StringField = &file_internal_testprotos_registry_test_proto_extTypes[5]
415)
416
417var File_internal_testprotos_registry_test_proto protoreflect.FileDescriptor
418
419var file_internal_testprotos_registry_test_proto_rawDesc = []byte{
420	0x0a, 0x27, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
421	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x79, 0x2f, 0x74,
422	0x65, 0x73, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x70,
423	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x22, 0x14, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
424	0x31, 0x2a, 0x08, 0x08, 0x0a, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x22, 0x0a, 0x0a, 0x08, 0x4d,
425	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x22, 0x0a, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61,
426	0x67, 0x65, 0x33, 0x22, 0xfb, 0x01, 0x0a, 0x08, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x34,
427	0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x18, 0x1e,
428	0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x62, 0x6f, 0x6f, 0x6c, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32,
429	0x4f, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
430	0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65,
431	0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74,
432	0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
433	0x65, 0x32, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64,
434	0x32, 0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14,
435	0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73,
436	0x61, 0x67, 0x65, 0x31, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x74, 0x65, 0x73,
437	0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x52, 0x09, 0x65,
438	0x6e, 0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x37, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69,
439	0x6e, 0x67, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70,
440	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x17,
441	0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x65, 0x6c,
442	0x64, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x4e,
443	0x45, 0x10, 0x01, 0x2a, 0x10, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x32, 0x12, 0x07, 0x0a, 0x03,
444	0x55, 0x4e, 0x4f, 0x10, 0x01, 0x2a, 0x0f, 0x0a, 0x05, 0x45, 0x6e, 0x75, 0x6d, 0x33, 0x12, 0x06,
445	0x0a, 0x02, 0x59, 0x49, 0x10, 0x01, 0x3a, 0x37, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67,
446	0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f,
447	0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x0b, 0x20, 0x01,
448	0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a,
449	0x46, 0x0a, 0x0a, 0x65, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e,
450	0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61,
451	0x67, 0x65, 0x31, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x74, 0x65, 0x73, 0x74,
452	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x31, 0x52, 0x09, 0x65, 0x6e,
453	0x75, 0x6d, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x3a, 0x4f, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61,
454	0x67, 0x65, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70,
455	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x18, 0x0d,
456	0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f,
457	0x73, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x32, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73,
458	0x61, 0x67, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x39, 0x5a, 0x37, 0x67, 0x6f, 0x6f, 0x67,
459	0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72,
460	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f,
461	0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73,
462	0x74, 0x72, 0x79,
463}
464
465var (
466	file_internal_testprotos_registry_test_proto_rawDescOnce sync.Once
467	file_internal_testprotos_registry_test_proto_rawDescData = file_internal_testprotos_registry_test_proto_rawDesc
468)
469
470func file_internal_testprotos_registry_test_proto_rawDescGZIP() []byte {
471	file_internal_testprotos_registry_test_proto_rawDescOnce.Do(func() {
472		file_internal_testprotos_registry_test_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_registry_test_proto_rawDescData)
473	})
474	return file_internal_testprotos_registry_test_proto_rawDescData
475}
476
477var file_internal_testprotos_registry_test_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
478var file_internal_testprotos_registry_test_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
479var file_internal_testprotos_registry_test_proto_goTypes = []interface{}{
480	(Enum1)(0),       // 0: testprotos.Enum1
481	(Enum2)(0),       // 1: testprotos.Enum2
482	(Enum3)(0),       // 2: testprotos.Enum3
483	(*Message1)(nil), // 3: testprotos.Message1
484	(*Message2)(nil), // 4: testprotos.Message2
485	(*Message3)(nil), // 5: testprotos.Message3
486	(*Message4)(nil), // 6: testprotos.Message4
487}
488var file_internal_testprotos_registry_test_proto_depIdxs = []int32{
489	3,  // 0: testprotos.string_field:extendee -> testprotos.Message1
490	3,  // 1: testprotos.enum_field:extendee -> testprotos.Message1
491	3,  // 2: testprotos.message_field:extendee -> testprotos.Message1
492	3,  // 3: testprotos.Message4.message_field:extendee -> testprotos.Message1
493	3,  // 4: testprotos.Message4.enum_field:extendee -> testprotos.Message1
494	3,  // 5: testprotos.Message4.string_field:extendee -> testprotos.Message1
495	0,  // 6: testprotos.enum_field:type_name -> testprotos.Enum1
496	4,  // 7: testprotos.message_field:type_name -> testprotos.Message2
497	4,  // 8: testprotos.Message4.message_field:type_name -> testprotos.Message2
498	0,  // 9: testprotos.Message4.enum_field:type_name -> testprotos.Enum1
499	10, // [10:10] is the sub-list for method output_type
500	10, // [10:10] is the sub-list for method input_type
501	6,  // [6:10] is the sub-list for extension type_name
502	0,  // [0:6] is the sub-list for extension extendee
503	0,  // [0:0] is the sub-list for field type_name
504}
505
506func init() { file_internal_testprotos_registry_test_proto_init() }
507func file_internal_testprotos_registry_test_proto_init() {
508	if File_internal_testprotos_registry_test_proto != nil {
509		return
510	}
511	if !protoimpl.UnsafeEnabled {
512		file_internal_testprotos_registry_test_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
513			switch v := v.(*Message1); i {
514			case 0:
515				return &v.state
516			case 1:
517				return &v.sizeCache
518			case 2:
519				return &v.unknownFields
520			case 3:
521				return &v.extensionFields
522			default:
523				return nil
524			}
525		}
526		file_internal_testprotos_registry_test_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
527			switch v := v.(*Message2); i {
528			case 0:
529				return &v.state
530			case 1:
531				return &v.sizeCache
532			case 2:
533				return &v.unknownFields
534			default:
535				return nil
536			}
537		}
538		file_internal_testprotos_registry_test_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
539			switch v := v.(*Message3); i {
540			case 0:
541				return &v.state
542			case 1:
543				return &v.sizeCache
544			case 2:
545				return &v.unknownFields
546			default:
547				return nil
548			}
549		}
550		file_internal_testprotos_registry_test_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
551			switch v := v.(*Message4); i {
552			case 0:
553				return &v.state
554			case 1:
555				return &v.sizeCache
556			case 2:
557				return &v.unknownFields
558			default:
559				return nil
560			}
561		}
562	}
563	type x struct{}
564	out := protoimpl.TypeBuilder{
565		File: protoimpl.DescBuilder{
566			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
567			RawDescriptor: file_internal_testprotos_registry_test_proto_rawDesc,
568			NumEnums:      3,
569			NumMessages:   4,
570			NumExtensions: 6,
571			NumServices:   0,
572		},
573		GoTypes:           file_internal_testprotos_registry_test_proto_goTypes,
574		DependencyIndexes: file_internal_testprotos_registry_test_proto_depIdxs,
575		EnumInfos:         file_internal_testprotos_registry_test_proto_enumTypes,
576		MessageInfos:      file_internal_testprotos_registry_test_proto_msgTypes,
577		ExtensionInfos:    file_internal_testprotos_registry_test_proto_extTypes,
578	}.Build()
579	File_internal_testprotos_registry_test_proto = out.File
580	file_internal_testprotos_registry_test_proto_rawDesc = nil
581	file_internal_testprotos_registry_test_proto_goTypes = nil
582	file_internal_testprotos_registry_test_proto_depIdxs = nil
583}
584