xref: /aosp_15_r20/external/golang-protobuf/cmd/protoc-gen-go/testdata/fieldnames/fieldnames.pb.go (revision 1c12ee1efe575feb122dbf939ff15148a3b3e8f2)
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/fieldnames/fieldnames.proto
7
8package fieldnames
9
10import (
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// Assorted edge cases in field name conflict resolution.
18//
19// Not all (or possibly any) of these behave in an easily-understood fashion.
20// This exists to demonstrate the current behavior and catch unintended
21// changes in it.
22type Message struct {
23	state         protoimpl.MessageState
24	sizeCache     protoimpl.SizeCache
25	unknownFields protoimpl.UnknownFields
26
27	// Various CamelCase conversions.
28	FieldOne   *string `protobuf:"bytes,1,opt,name=field_one,json=fieldOne" json:"field_one,omitempty"`
29	FieldTwo   *string `protobuf:"bytes,2,opt,name=FieldTwo" json:"FieldTwo,omitempty"`
30	FieldThree *string `protobuf:"bytes,3,opt,name=fieldThree" json:"fieldThree,omitempty"`
31	Field_Four *string `protobuf:"bytes,4,opt,name=field__four,json=fieldFour" json:"field__four,omitempty"`
32	// Field names that conflict with standard methods on the message struct.
33	Descriptor_   *string `protobuf:"bytes,10,opt,name=descriptor" json:"descriptor,omitempty"`
34	Marshal_      *string `protobuf:"bytes,11,opt,name=marshal" json:"marshal,omitempty"`
35	Unmarshal_    *string `protobuf:"bytes,12,opt,name=unmarshal" json:"unmarshal,omitempty"`
36	ProtoMessage_ *string `protobuf:"bytes,13,opt,name=proto_message,json=protoMessage" json:"proto_message,omitempty"`
37	// Field names that conflict with each other after CamelCasing.
38	CamelCase    *string `protobuf:"bytes,20,opt,name=CamelCase" json:"CamelCase,omitempty"`
39	CamelCase_   *string `protobuf:"bytes,21,opt,name=CamelCase_,json=CamelCase" json:"CamelCase_,omitempty"`
40	CamelCase__  *string `protobuf:"bytes,22,opt,name=camel_case,json=camelCase" json:"camel_case,omitempty"`   // conflicts with 20, 21
41	CamelCase___ *string `protobuf:"bytes,23,opt,name=CamelCase__,json=CamelCase" json:"CamelCase__,omitempty"` // conflicts with 21, 21, renamed 22
42	// Field with a getter that conflicts with another field.
43	GetName *string `protobuf:"bytes,30,opt,name=get_name,json=getName" json:"get_name,omitempty"`
44	Name_   *string `protobuf:"bytes,31,opt,name=name" json:"name,omitempty"`
45	// Oneof that conflicts with its first field: The oneof is renamed.
46	//
47	// Types that are assignable to OneofConflictA_:
48	//
49	//	*Message_OneofConflictA
50	OneofConflictA_ isMessage_OneofConflictA_ `protobuf_oneof:"oneof_conflict_a"`
51	// Oneof that conflicts with its second field: The field is renamed.
52	//
53	// Types that are assignable to OneofConflictB:
54	//
55	//	*Message_OneofNoConflict
56	//	*Message_OneofConflictB_
57	OneofConflictB isMessage_OneofConflictB `protobuf_oneof:"oneof_conflict_b"`
58	// Oneof with a field name that conflicts with a nested message.
59	//
60	// Types that are assignable to OneofConflictC:
61	//
62	//	*Message_OneofMessageConflict_
63	OneofConflictC isMessage_OneofConflictC `protobuf_oneof:"oneof_conflict_c"`
64}
65
66func (x *Message) Reset() {
67	*x = Message{}
68	if protoimpl.UnsafeEnabled {
69		mi := &file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_msgTypes[0]
70		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
71		ms.StoreMessageInfo(mi)
72	}
73}
74
75func (x *Message) String() string {
76	return protoimpl.X.MessageStringOf(x)
77}
78
79func (*Message) ProtoMessage() {}
80
81func (x *Message) ProtoReflect() protoreflect.Message {
82	mi := &file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_msgTypes[0]
83	if protoimpl.UnsafeEnabled && x != nil {
84		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
85		if ms.LoadMessageInfo() == nil {
86			ms.StoreMessageInfo(mi)
87		}
88		return ms
89	}
90	return mi.MessageOf(x)
91}
92
93// Deprecated: Use Message.ProtoReflect.Descriptor instead.
94func (*Message) Descriptor() ([]byte, []int) {
95	return file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_rawDescGZIP(), []int{0}
96}
97
98func (x *Message) GetFieldOne() string {
99	if x != nil && x.FieldOne != nil {
100		return *x.FieldOne
101	}
102	return ""
103}
104
105func (x *Message) GetFieldTwo() string {
106	if x != nil && x.FieldTwo != nil {
107		return *x.FieldTwo
108	}
109	return ""
110}
111
112func (x *Message) GetFieldThree() string {
113	if x != nil && x.FieldThree != nil {
114		return *x.FieldThree
115	}
116	return ""
117}
118
119func (x *Message) GetField_Four() string {
120	if x != nil && x.Field_Four != nil {
121		return *x.Field_Four
122	}
123	return ""
124}
125
126func (x *Message) GetDescriptor_() string {
127	if x != nil && x.Descriptor_ != nil {
128		return *x.Descriptor_
129	}
130	return ""
131}
132
133func (x *Message) GetMarshal_() string {
134	if x != nil && x.Marshal_ != nil {
135		return *x.Marshal_
136	}
137	return ""
138}
139
140func (x *Message) GetUnmarshal_() string {
141	if x != nil && x.Unmarshal_ != nil {
142		return *x.Unmarshal_
143	}
144	return ""
145}
146
147func (x *Message) GetProtoMessage_() string {
148	if x != nil && x.ProtoMessage_ != nil {
149		return *x.ProtoMessage_
150	}
151	return ""
152}
153
154func (x *Message) GetCamelCase() string {
155	if x != nil && x.CamelCase != nil {
156		return *x.CamelCase
157	}
158	return ""
159}
160
161func (x *Message) GetCamelCase_() string {
162	if x != nil && x.CamelCase_ != nil {
163		return *x.CamelCase_
164	}
165	return ""
166}
167
168func (x *Message) GetCamelCase__() string {
169	if x != nil && x.CamelCase__ != nil {
170		return *x.CamelCase__
171	}
172	return ""
173}
174
175func (x *Message) GetCamelCase___() string {
176	if x != nil && x.CamelCase___ != nil {
177		return *x.CamelCase___
178	}
179	return ""
180}
181
182func (x *Message) GetGetName() string {
183	if x != nil && x.GetName != nil {
184		return *x.GetName
185	}
186	return ""
187}
188
189func (x *Message) GetName_() string {
190	if x != nil && x.Name_ != nil {
191		return *x.Name_
192	}
193	return ""
194}
195
196func (m *Message) GetOneofConflictA_() isMessage_OneofConflictA_ {
197	if m != nil {
198		return m.OneofConflictA_
199	}
200	return nil
201}
202
203func (x *Message) GetOneofConflictA() string {
204	if x, ok := x.GetOneofConflictA_().(*Message_OneofConflictA); ok {
205		return x.OneofConflictA
206	}
207	return ""
208}
209
210func (m *Message) GetOneofConflictB() isMessage_OneofConflictB {
211	if m != nil {
212		return m.OneofConflictB
213	}
214	return nil
215}
216
217func (x *Message) GetOneofNoConflict() string {
218	if x, ok := x.GetOneofConflictB().(*Message_OneofNoConflict); ok {
219		return x.OneofNoConflict
220	}
221	return ""
222}
223
224func (x *Message) GetOneofConflictB_() string {
225	if x, ok := x.GetOneofConflictB().(*Message_OneofConflictB_); ok {
226		return x.OneofConflictB_
227	}
228	return ""
229}
230
231func (m *Message) GetOneofConflictC() isMessage_OneofConflictC {
232	if m != nil {
233		return m.OneofConflictC
234	}
235	return nil
236}
237
238func (x *Message) GetOneofMessageConflict() string {
239	if x, ok := x.GetOneofConflictC().(*Message_OneofMessageConflict_); ok {
240		return x.OneofMessageConflict
241	}
242	return ""
243}
244
245type isMessage_OneofConflictA_ interface {
246	isMessage_OneofConflictA_()
247}
248
249type Message_OneofConflictA struct {
250	OneofConflictA string `protobuf:"bytes,40,opt,name=OneofConflictA,oneof"`
251}
252
253func (*Message_OneofConflictA) isMessage_OneofConflictA_() {}
254
255type isMessage_OneofConflictB interface {
256	isMessage_OneofConflictB()
257}
258
259type Message_OneofNoConflict struct {
260	OneofNoConflict string `protobuf:"bytes,50,opt,name=oneof_no_conflict,json=oneofNoConflict,oneof"`
261}
262
263type Message_OneofConflictB_ struct {
264	OneofConflictB_ string `protobuf:"bytes,51,opt,name=OneofConflictB,oneof"`
265}
266
267func (*Message_OneofNoConflict) isMessage_OneofConflictB() {}
268
269func (*Message_OneofConflictB_) isMessage_OneofConflictB() {}
270
271type isMessage_OneofConflictC interface {
272	isMessage_OneofConflictC()
273}
274
275type Message_OneofMessageConflict_ struct {
276	OneofMessageConflict string `protobuf:"bytes,60,opt,name=oneof_message_conflict,json=oneofMessageConflict,oneof"`
277}
278
279func (*Message_OneofMessageConflict_) isMessage_OneofConflictC() {}
280
281type Message_OneofMessageConflict struct {
282	state         protoimpl.MessageState
283	sizeCache     protoimpl.SizeCache
284	unknownFields protoimpl.UnknownFields
285}
286
287func (x *Message_OneofMessageConflict) Reset() {
288	*x = Message_OneofMessageConflict{}
289	if protoimpl.UnsafeEnabled {
290		mi := &file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_msgTypes[1]
291		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
292		ms.StoreMessageInfo(mi)
293	}
294}
295
296func (x *Message_OneofMessageConflict) String() string {
297	return protoimpl.X.MessageStringOf(x)
298}
299
300func (*Message_OneofMessageConflict) ProtoMessage() {}
301
302func (x *Message_OneofMessageConflict) ProtoReflect() protoreflect.Message {
303	mi := &file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_msgTypes[1]
304	if protoimpl.UnsafeEnabled && x != nil {
305		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
306		if ms.LoadMessageInfo() == nil {
307			ms.StoreMessageInfo(mi)
308		}
309		return ms
310	}
311	return mi.MessageOf(x)
312}
313
314// Deprecated: Use Message_OneofMessageConflict.ProtoReflect.Descriptor instead.
315func (*Message_OneofMessageConflict) Descriptor() ([]byte, []int) {
316	return file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_rawDescGZIP(), []int{0, 0}
317}
318
319var File_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto protoreflect.FileDescriptor
320
321var file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_rawDesc = []byte{
322	0x0a, 0x36, 0x63, 0x6d, 0x64, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e,
323	0x2d, 0x67, 0x6f, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x66, 0x69, 0x65,
324	0x6c, 0x64, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6e, 0x61, 0x6d,
325	0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74,
326	0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2e, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6e, 0x61,
327	0x6d, 0x65, 0x73, 0x22, 0xb8, 0x05, 0x0a, 0x07, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12,
328	0x1b, 0x0a, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6f, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01,
329	0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x6e, 0x65, 0x12, 0x1a, 0x0a, 0x08,
330	0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x77, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
331	0x46, 0x69, 0x65, 0x6c, 0x64, 0x54, 0x77, 0x6f, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c,
332	0x64, 0x54, 0x68, 0x72, 0x65, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69,
333	0x65, 0x6c, 0x64, 0x54, 0x68, 0x72, 0x65, 0x65, 0x12, 0x1e, 0x0a, 0x0b, 0x66, 0x69, 0x65, 0x6c,
334	0x64, 0x5f, 0x5f, 0x66, 0x6f, 0x75, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66,
335	0x69, 0x65, 0x6c, 0x64, 0x46, 0x6f, 0x75, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x73, 0x63,
336	0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65,
337	0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x72, 0x73,
338	0x68, 0x61, 0x6c, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x61, 0x72, 0x73, 0x68,
339	0x61, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61, 0x6c, 0x18,
340	0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x75, 0x6e, 0x6d, 0x61, 0x72, 0x73, 0x68, 0x61, 0x6c,
341	0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
342	0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x4d, 0x65,
343	0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x43, 0x61, 0x6d, 0x65, 0x6c, 0x43, 0x61,
344	0x73, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x43, 0x61, 0x6d, 0x65, 0x6c, 0x43,
345	0x61, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x43, 0x61, 0x6d, 0x65, 0x6c, 0x43, 0x61, 0x73, 0x65,
346	0x5f, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x43, 0x61, 0x6d, 0x65, 0x6c, 0x43, 0x61,
347	0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x61, 0x6d, 0x65, 0x6c, 0x5f, 0x63, 0x61, 0x73, 0x65,
348	0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x6d, 0x65, 0x6c, 0x43, 0x61, 0x73,
349	0x65, 0x12, 0x1e, 0x0a, 0x0b, 0x43, 0x61, 0x6d, 0x65, 0x6c, 0x43, 0x61, 0x73, 0x65, 0x5f, 0x5f,
350	0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x43, 0x61, 0x6d, 0x65, 0x6c, 0x43, 0x61, 0x73,
351	0x65, 0x12, 0x19, 0x0a, 0x08, 0x67, 0x65, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x1e, 0x20,
352	0x01, 0x28, 0x09, 0x52, 0x07, 0x67, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04,
353	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
354	0x12, 0x28, 0x0a, 0x0e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63,
355	0x74, 0x41, 0x18, 0x28, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0e, 0x4f, 0x6e, 0x65, 0x6f,
356	0x66, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x41, 0x12, 0x2c, 0x0a, 0x11, 0x6f, 0x6e,
357	0x65, 0x6f, 0x66, 0x5f, 0x6e, 0x6f, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x18,
358	0x32, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x0f, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4e, 0x6f,
359	0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x12, 0x28, 0x0a, 0x0e, 0x4f, 0x6e, 0x65, 0x6f,
360	0x66, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x42, 0x18, 0x33, 0x20, 0x01, 0x28, 0x09,
361	0x48, 0x01, 0x52, 0x0e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63,
362	0x74, 0x42, 0x12, 0x36, 0x0a, 0x16, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x6d, 0x65, 0x73, 0x73,
363	0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x18, 0x3c, 0x20, 0x01,
364	0x28, 0x09, 0x48, 0x02, 0x52, 0x14, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x4d, 0x65, 0x73, 0x73, 0x61,
365	0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x1a, 0x16, 0x0a, 0x14, 0x4f, 0x6e,
366	0x65, 0x6f, 0x66, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x6c, 0x69,
367	0x63, 0x74, 0x42, 0x12, 0x0a, 0x10, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 0x63, 0x6f, 0x6e, 0x66,
368	0x6c, 0x69, 0x63, 0x74, 0x5f, 0x61, 0x42, 0x12, 0x0a, 0x10, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f,
369	0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x5f, 0x62, 0x42, 0x12, 0x0a, 0x10, 0x6f, 0x6e,
370	0x65, 0x6f, 0x66, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x6c, 0x69, 0x63, 0x74, 0x5f, 0x63, 0x42, 0x42,
371	0x5a, 0x40, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
372	0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x63, 0x6d, 0x64,
373	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x67, 0x6f, 0x2f, 0x74,
374	0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x6e, 0x61, 0x6d,
375	0x65, 0x73,
376}
377
378var (
379	file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_rawDescOnce sync.Once
380	file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_rawDescData = file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_rawDesc
381)
382
383func file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_rawDescGZIP() []byte {
384	file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_rawDescOnce.Do(func() {
385		file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_rawDescData = protoimpl.X.CompressGZIP(file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_rawDescData)
386	})
387	return file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_rawDescData
388}
389
390var file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
391var file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_goTypes = []interface{}{
392	(*Message)(nil),                      // 0: goproto.protoc.fieldnames.Message
393	(*Message_OneofMessageConflict)(nil), // 1: goproto.protoc.fieldnames.Message.OneofMessageConflict
394}
395var file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_depIdxs = []int32{
396	0, // [0:0] is the sub-list for method output_type
397	0, // [0:0] is the sub-list for method input_type
398	0, // [0:0] is the sub-list for extension type_name
399	0, // [0:0] is the sub-list for extension extendee
400	0, // [0:0] is the sub-list for field type_name
401}
402
403func init() { file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_init() }
404func file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_init() {
405	if File_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto != nil {
406		return
407	}
408	if !protoimpl.UnsafeEnabled {
409		file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
410			switch v := v.(*Message); i {
411			case 0:
412				return &v.state
413			case 1:
414				return &v.sizeCache
415			case 2:
416				return &v.unknownFields
417			default:
418				return nil
419			}
420		}
421		file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
422			switch v := v.(*Message_OneofMessageConflict); i {
423			case 0:
424				return &v.state
425			case 1:
426				return &v.sizeCache
427			case 2:
428				return &v.unknownFields
429			default:
430				return nil
431			}
432		}
433	}
434	file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_msgTypes[0].OneofWrappers = []interface{}{
435		(*Message_OneofConflictA)(nil),
436		(*Message_OneofNoConflict)(nil),
437		(*Message_OneofConflictB_)(nil),
438		(*Message_OneofMessageConflict_)(nil),
439	}
440	type x struct{}
441	out := protoimpl.TypeBuilder{
442		File: protoimpl.DescBuilder{
443			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
444			RawDescriptor: file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_rawDesc,
445			NumEnums:      0,
446			NumMessages:   2,
447			NumExtensions: 0,
448			NumServices:   0,
449		},
450		GoTypes:           file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_goTypes,
451		DependencyIndexes: file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_depIdxs,
452		MessageInfos:      file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_msgTypes,
453	}.Build()
454	File_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto = out.File
455	file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_rawDesc = nil
456	file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_goTypes = nil
457	file_cmd_protoc_gen_go_testdata_fieldnames_fieldnames_proto_depIdxs = nil
458}
459