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// Code generated by protoc-gen-go. DO NOT EDIT.
6// source: cmd/protoc-gen-go/testdata/import_public/sub/a.proto
7
8package sub
9
10import (
11	sub2 "google.golang.org/protobuf/cmd/protoc-gen-go/testdata/import_public/sub2"
12	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13	protoiface "google.golang.org/protobuf/runtime/protoiface"
14	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15	math "math"
16	reflect "reflect"
17	sync "sync"
18)
19
20// Symbols defined in public import of cmd/protoc-gen-go/testdata/import_public/sub2/a.proto.
21
22type Sub2Message = sub2.Sub2Message
23
24type E int32
25
26const (
27	E_ZERO E = 0
28)
29
30// Enum value maps for E.
31var (
32	E_name = map[int32]string{
33		0: "ZERO",
34	}
35	E_value = map[string]int32{
36		"ZERO": 0,
37	}
38)
39
40func (x E) Enum() *E {
41	p := new(E)
42	*p = x
43	return p
44}
45
46func (x E) String() string {
47	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
48}
49
50func (E) Descriptor() protoreflect.EnumDescriptor {
51	return file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_enumTypes[0].Descriptor()
52}
53
54func (E) Type() protoreflect.EnumType {
55	return &file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_enumTypes[0]
56}
57
58func (x E) Number() protoreflect.EnumNumber {
59	return protoreflect.EnumNumber(x)
60}
61
62// Deprecated: Do not use.
63func (x *E) UnmarshalJSON(b []byte) error {
64	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
65	if err != nil {
66		return err
67	}
68	*x = E(num)
69	return nil
70}
71
72// Deprecated: Use E.Descriptor instead.
73func (E) EnumDescriptor() ([]byte, []int) {
74	return file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDescGZIP(), []int{0}
75}
76
77type M_Subenum int32
78
79const (
80	M_M_ZERO M_Subenum = 0
81)
82
83// Enum value maps for M_Subenum.
84var (
85	M_Subenum_name = map[int32]string{
86		0: "M_ZERO",
87	}
88	M_Subenum_value = map[string]int32{
89		"M_ZERO": 0,
90	}
91)
92
93func (x M_Subenum) Enum() *M_Subenum {
94	p := new(M_Subenum)
95	*p = x
96	return p
97}
98
99func (x M_Subenum) String() string {
100	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
101}
102
103func (M_Subenum) Descriptor() protoreflect.EnumDescriptor {
104	return file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_enumTypes[1].Descriptor()
105}
106
107func (M_Subenum) Type() protoreflect.EnumType {
108	return &file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_enumTypes[1]
109}
110
111func (x M_Subenum) Number() protoreflect.EnumNumber {
112	return protoreflect.EnumNumber(x)
113}
114
115// Deprecated: Do not use.
116func (x *M_Subenum) UnmarshalJSON(b []byte) error {
117	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
118	if err != nil {
119		return err
120	}
121	*x = M_Subenum(num)
122	return nil
123}
124
125// Deprecated: Use M_Subenum.Descriptor instead.
126func (M_Subenum) EnumDescriptor() ([]byte, []int) {
127	return file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDescGZIP(), []int{0, 0}
128}
129
130type M_Submessage_Submessage_Subenum int32
131
132const (
133	M_Submessage_M_SUBMESSAGE_ZERO M_Submessage_Submessage_Subenum = 0
134)
135
136// Enum value maps for M_Submessage_Submessage_Subenum.
137var (
138	M_Submessage_Submessage_Subenum_name = map[int32]string{
139		0: "M_SUBMESSAGE_ZERO",
140	}
141	M_Submessage_Submessage_Subenum_value = map[string]int32{
142		"M_SUBMESSAGE_ZERO": 0,
143	}
144)
145
146func (x M_Submessage_Submessage_Subenum) Enum() *M_Submessage_Submessage_Subenum {
147	p := new(M_Submessage_Submessage_Subenum)
148	*p = x
149	return p
150}
151
152func (x M_Submessage_Submessage_Subenum) String() string {
153	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
154}
155
156func (M_Submessage_Submessage_Subenum) Descriptor() protoreflect.EnumDescriptor {
157	return file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_enumTypes[2].Descriptor()
158}
159
160func (M_Submessage_Submessage_Subenum) Type() protoreflect.EnumType {
161	return &file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_enumTypes[2]
162}
163
164func (x M_Submessage_Submessage_Subenum) Number() protoreflect.EnumNumber {
165	return protoreflect.EnumNumber(x)
166}
167
168// Deprecated: Do not use.
169func (x *M_Submessage_Submessage_Subenum) UnmarshalJSON(b []byte) error {
170	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
171	if err != nil {
172		return err
173	}
174	*x = M_Submessage_Submessage_Subenum(num)
175	return nil
176}
177
178// Deprecated: Use M_Submessage_Submessage_Subenum.Descriptor instead.
179func (M_Submessage_Submessage_Subenum) EnumDescriptor() ([]byte, []int) {
180	return file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDescGZIP(), []int{0, 0, 0}
181}
182
183type M struct {
184	state           protoimpl.MessageState
185	sizeCache       protoimpl.SizeCache
186	unknownFields   protoimpl.UnknownFields
187	extensionFields protoimpl.ExtensionFields
188
189	// Field using a type in the same Go package, but a different source file.
190	M2 *M2      `protobuf:"bytes,1,opt,name=m2" json:"m2,omitempty"`
191	S  *string  `protobuf:"bytes,4,opt,name=s,def=default" json:"s,omitempty"`
192	B  []byte   `protobuf:"bytes,5,opt,name=b,def=default" json:"b,omitempty"`
193	F  *float64 `protobuf:"fixed64,6,opt,name=f,def=nan" json:"f,omitempty"`
194	// Types that are assignable to OneofField:
195	//	*M_OneofInt32
196	//	*M_OneofInt64
197	OneofField isM_OneofField `protobuf_oneof:"oneof_field"`
198}
199
200// Default values for M fields.
201const (
202	Default_M_S = string("default")
203)
204
205// Default values for M fields.
206var (
207	Default_M_B = []byte("default")
208	Default_M_F = float64(math.NaN())
209)
210
211func (x *M) Reset() {
212	*x = M{}
213	if protoimpl.UnsafeEnabled {
214		mi := &file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_msgTypes[0]
215		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
216		ms.StoreMessageInfo(mi)
217	}
218}
219
220func (x *M) String() string {
221	return protoimpl.X.MessageStringOf(x)
222}
223
224func (*M) ProtoMessage() {}
225
226func (x *M) ProtoReflect() protoreflect.Message {
227	mi := &file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_msgTypes[0]
228	if protoimpl.UnsafeEnabled && x != nil {
229		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
230		if ms.LoadMessageInfo() == nil {
231			ms.StoreMessageInfo(mi)
232		}
233		return ms
234	}
235	return mi.MessageOf(x)
236}
237
238// Deprecated: Use M.ProtoReflect.Descriptor instead.
239func (*M) Descriptor() ([]byte, []int) {
240	return file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDescGZIP(), []int{0}
241}
242
243var extRange_M = []protoiface.ExtensionRangeV1{
244	{Start: 100, End: 536870911},
245}
246
247// Deprecated: Use M.ProtoReflect.Descriptor.ExtensionRanges instead.
248func (*M) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
249	return extRange_M
250}
251
252func (x *M) GetM2() *M2 {
253	if x != nil {
254		return x.M2
255	}
256	return nil
257}
258
259func (x *M) GetS() string {
260	if x != nil && x.S != nil {
261		return *x.S
262	}
263	return Default_M_S
264}
265
266func (x *M) GetB() []byte {
267	if x != nil && x.B != nil {
268		return x.B
269	}
270	return append([]byte(nil), Default_M_B...)
271}
272
273func (x *M) GetF() float64 {
274	if x != nil && x.F != nil {
275		return *x.F
276	}
277	return Default_M_F
278}
279
280func (m *M) GetOneofField() isM_OneofField {
281	if m != nil {
282		return m.OneofField
283	}
284	return nil
285}
286
287func (x *M) GetOneofInt32() int32 {
288	if x, ok := x.GetOneofField().(*M_OneofInt32); ok {
289		return x.OneofInt32
290	}
291	return 0
292}
293
294func (x *M) GetOneofInt64() int64 {
295	if x, ok := x.GetOneofField().(*M_OneofInt64); ok {
296		return x.OneofInt64
297	}
298	return 0
299}
300
301type isM_OneofField interface {
302	isM_OneofField()
303}
304
305type M_OneofInt32 struct {
306	OneofInt32 int32 `protobuf:"varint,2,opt,name=oneof_int32,json=oneofInt32,oneof"`
307}
308
309type M_OneofInt64 struct {
310	OneofInt64 int64 `protobuf:"varint,3,opt,name=oneof_int64,json=oneofInt64,oneof"`
311}
312
313func (*M_OneofInt32) isM_OneofField() {}
314
315func (*M_OneofInt64) isM_OneofField() {}
316
317type M_Submessage struct {
318	state         protoimpl.MessageState
319	sizeCache     protoimpl.SizeCache
320	unknownFields protoimpl.UnknownFields
321
322	// Types that are assignable to SubmessageOneofField:
323	//	*M_Submessage_SubmessageOneofInt32
324	//	*M_Submessage_SubmessageOneofInt64
325	SubmessageOneofField isM_Submessage_SubmessageOneofField `protobuf_oneof:"submessage_oneof_field"`
326}
327
328func (x *M_Submessage) Reset() {
329	*x = M_Submessage{}
330	if protoimpl.UnsafeEnabled {
331		mi := &file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_msgTypes[1]
332		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
333		ms.StoreMessageInfo(mi)
334	}
335}
336
337func (x *M_Submessage) String() string {
338	return protoimpl.X.MessageStringOf(x)
339}
340
341func (*M_Submessage) ProtoMessage() {}
342
343func (x *M_Submessage) ProtoReflect() protoreflect.Message {
344	mi := &file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_msgTypes[1]
345	if protoimpl.UnsafeEnabled && x != nil {
346		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
347		if ms.LoadMessageInfo() == nil {
348			ms.StoreMessageInfo(mi)
349		}
350		return ms
351	}
352	return mi.MessageOf(x)
353}
354
355// Deprecated: Use M_Submessage.ProtoReflect.Descriptor instead.
356func (*M_Submessage) Descriptor() ([]byte, []int) {
357	return file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDescGZIP(), []int{0, 0}
358}
359
360func (m *M_Submessage) GetSubmessageOneofField() isM_Submessage_SubmessageOneofField {
361	if m != nil {
362		return m.SubmessageOneofField
363	}
364	return nil
365}
366
367func (x *M_Submessage) GetSubmessageOneofInt32() int32 {
368	if x, ok := x.GetSubmessageOneofField().(*M_Submessage_SubmessageOneofInt32); ok {
369		return x.SubmessageOneofInt32
370	}
371	return 0
372}
373
374func (x *M_Submessage) GetSubmessageOneofInt64() int64 {
375	if x, ok := x.GetSubmessageOneofField().(*M_Submessage_SubmessageOneofInt64); ok {
376		return x.SubmessageOneofInt64
377	}
378	return 0
379}
380
381type isM_Submessage_SubmessageOneofField interface {
382	isM_Submessage_SubmessageOneofField()
383}
384
385type M_Submessage_SubmessageOneofInt32 struct {
386	SubmessageOneofInt32 int32 `protobuf:"varint,1,opt,name=submessage_oneof_int32,json=submessageOneofInt32,oneof"`
387}
388
389type M_Submessage_SubmessageOneofInt64 struct {
390	SubmessageOneofInt64 int64 `protobuf:"varint,2,opt,name=submessage_oneof_int64,json=submessageOneofInt64,oneof"`
391}
392
393func (*M_Submessage_SubmessageOneofInt32) isM_Submessage_SubmessageOneofField() {}
394
395func (*M_Submessage_SubmessageOneofInt64) isM_Submessage_SubmessageOneofField() {}
396
397var file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_extTypes = []protoimpl.ExtensionInfo{
398	{
399		ExtendedType:  (*M)(nil),
400		ExtensionType: (*string)(nil),
401		Field:         100,
402		Name:          "goproto.protoc.import_public.sub.extension_field",
403		Tag:           "bytes,100,opt,name=extension_field",
404		Filename:      "cmd/protoc-gen-go/testdata/import_public/sub/a.proto",
405	},
406}
407
408// Extension fields to M.
409var (
410	// optional string extension_field = 100;
411	E_ExtensionField = &file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_extTypes[0]
412)
413
414var File_cmd_protoc_gen_go_testdata_import_public_sub_a_proto protoreflect.FileDescriptor
415
416var file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDesc = []byte{
417	0x0a, 0x34, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e,
418	0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x69, 0x6d, 0x70,
419	0x6f, 0x72, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x73, 0x75, 0x62, 0x2f, 0x61,
420	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
421	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x75,
422	0x62, 0x6c, 0x69, 0x63, 0x2e, 0x73, 0x75, 0x62, 0x1a, 0x34, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72,
423	0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74,
424	0x64, 0x61, 0x74, 0x61, 0x2f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c,
425	0x69, 0x63, 0x2f, 0x73, 0x75, 0x62, 0x2f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x35,
426	0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67,
427	0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x69, 0x6d, 0x70, 0x6f, 0x72,
428	0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2f, 0x73, 0x75, 0x62, 0x32, 0x2f, 0x61, 0x2e,
429	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x03, 0x0a, 0x01, 0x4d, 0x12, 0x34, 0x0a, 0x02, 0x6d,
430	0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
431	0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f,
432	0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2e, 0x73, 0x75, 0x62, 0x2e, 0x4d, 0x32, 0x52, 0x02, 0x6d,
433	0x32, 0x12, 0x15, 0x0a, 0x01, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x3a, 0x07, 0x64, 0x65,
434	0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x01, 0x73, 0x12, 0x15, 0x0a, 0x01, 0x62, 0x18, 0x05, 0x20,
435	0x01, 0x28, 0x0c, 0x3a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x01, 0x62, 0x12,
436	0x11, 0x0a, 0x01, 0x66, 0x18, 0x06, 0x20, 0x01, 0x28, 0x01, 0x3a, 0x03, 0x6e, 0x61, 0x6e, 0x52,
437	0x01, 0x66, 0x12, 0x21, 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x69, 0x6e, 0x74, 0x33,
438	0x32, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x6e, 0x65, 0x6f, 0x66,
439	0x49, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x21, 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x69,
440	0x6e, 0x74, 0x36, 0x34, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x6e,
441	0x65, 0x6f, 0x66, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x1a, 0xc3, 0x01, 0x0a, 0x0a, 0x53, 0x75, 0x62,
442	0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x73, 0x75, 0x62, 0x6d, 0x65,
443	0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x69, 0x6e, 0x74, 0x33,
444	0x32, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x14, 0x73, 0x75, 0x62, 0x6d, 0x65,
445	0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x12,
446	0x36, 0x0a, 0x16, 0x73, 0x75, 0x62, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x6e,
447	0x65, 0x6f, 0x66, 0x5f, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48,
448	0x00, 0x52, 0x14, 0x73, 0x75, 0x62, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x6e, 0x65,
449	0x6f, 0x66, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x22, 0x2b, 0x0a, 0x12, 0x53, 0x75, 0x62, 0x6d, 0x65,
450	0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x53, 0x75, 0x62, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x15, 0x0a,
451	0x11, 0x4d, 0x5f, 0x53, 0x55, 0x42, 0x4d, 0x45, 0x53, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x5a, 0x45,
452	0x52, 0x4f, 0x10, 0x00, 0x42, 0x18, 0x0a, 0x16, 0x73, 0x75, 0x62, 0x6d, 0x65, 0x73, 0x73, 0x61,
453	0x67, 0x65, 0x5f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x22, 0x15,
454	0x0a, 0x07, 0x53, 0x75, 0x62, 0x65, 0x6e, 0x75, 0x6d, 0x12, 0x0a, 0x0a, 0x06, 0x4d, 0x5f, 0x5a,
455	0x45, 0x52, 0x4f, 0x10, 0x00, 0x2a, 0x08, 0x08, 0x64, 0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x42,
456	0x0d, 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x2a, 0x0d,
457	0x0a, 0x01, 0x45, 0x12, 0x08, 0x0a, 0x04, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00, 0x3a, 0x4c, 0x0a,
458	0x0f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64,
459	0x12, 0x23, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
460	0x63, 0x2e, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2e,
461	0x73, 0x75, 0x62, 0x2e, 0x4d, 0x18, 0x64, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x65, 0x78, 0x74,
462	0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x42, 0x49, 0x5a, 0x47, 0x67,
463	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67,
464	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72,
465	0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74,
466	0x64, 0x61, 0x74, 0x61, 0x2f, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x75, 0x62, 0x6c,
467	0x69, 0x63, 0x2f, 0x73, 0x75, 0x62, 0x50, 0x01,
468}
469
470var (
471	file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDescOnce sync.Once
472	file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDescData = file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDesc
473)
474
475func file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDescGZIP() []byte {
476	file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDescOnce.Do(func() {
477		file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDescData = protoimpl.X.CompressGZIP(file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDescData)
478	})
479	return file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDescData
480}
481
482var file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
483var file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
484var file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_goTypes = []interface{}{
485	(E)(0),                               // 0: goproto.protoc.import_public.sub.E
486	(M_Subenum)(0),                       // 1: goproto.protoc.import_public.sub.M.Subenum
487	(M_Submessage_Submessage_Subenum)(0), // 2: goproto.protoc.import_public.sub.M.Submessage.Submessage_Subenum
488	(*M)(nil),                            // 3: goproto.protoc.import_public.sub.M
489	(*M_Submessage)(nil),                 // 4: goproto.protoc.import_public.sub.M.Submessage
490	(*M2)(nil),                           // 5: goproto.protoc.import_public.sub.M2
491}
492var file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_depIdxs = []int32{
493	5, // 0: goproto.protoc.import_public.sub.M.m2:type_name -> goproto.protoc.import_public.sub.M2
494	3, // 1: goproto.protoc.import_public.sub.extension_field:extendee -> goproto.protoc.import_public.sub.M
495	2, // [2:2] is the sub-list for method output_type
496	2, // [2:2] is the sub-list for method input_type
497	2, // [2:2] is the sub-list for extension type_name
498	1, // [1:2] is the sub-list for extension extendee
499	0, // [0:1] is the sub-list for field type_name
500}
501
502func init() { file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_init() }
503func file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_init() {
504	if File_cmd_protoc_gen_go_testdata_import_public_sub_a_proto != nil {
505		return
506	}
507	file_cmd_protoc_gen_go_testdata_import_public_sub_b_proto_init()
508	if !protoimpl.UnsafeEnabled {
509		file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
510			switch v := v.(*M); i {
511			case 0:
512				return &v.state
513			case 1:
514				return &v.sizeCache
515			case 2:
516				return &v.unknownFields
517			case 3:
518				return &v.extensionFields
519			default:
520				return nil
521			}
522		}
523		file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
524			switch v := v.(*M_Submessage); i {
525			case 0:
526				return &v.state
527			case 1:
528				return &v.sizeCache
529			case 2:
530				return &v.unknownFields
531			default:
532				return nil
533			}
534		}
535	}
536	file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_msgTypes[0].OneofWrappers = []interface{}{
537		(*M_OneofInt32)(nil),
538		(*M_OneofInt64)(nil),
539	}
540	file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_msgTypes[1].OneofWrappers = []interface{}{
541		(*M_Submessage_SubmessageOneofInt32)(nil),
542		(*M_Submessage_SubmessageOneofInt64)(nil),
543	}
544	type x struct{}
545	out := protoimpl.TypeBuilder{
546		File: protoimpl.DescBuilder{
547			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
548			RawDescriptor: file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDesc,
549			NumEnums:      3,
550			NumMessages:   2,
551			NumExtensions: 1,
552			NumServices:   0,
553		},
554		GoTypes:           file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_goTypes,
555		DependencyIndexes: file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_depIdxs,
556		EnumInfos:         file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_enumTypes,
557		MessageInfos:      file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_msgTypes,
558		ExtensionInfos:    file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_extTypes,
559	}.Build()
560	File_cmd_protoc_gen_go_testdata_import_public_sub_a_proto = out.File
561	file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_rawDesc = nil
562	file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_goTypes = nil
563	file_cmd_protoc_gen_go_testdata_import_public_sub_a_proto_depIdxs = nil
564}
565