github.com/whiteCcinn/protobuf-go@v1.0.9/cmd/protoc-gen-go/testdata/fieldnames/fieldnames.pb.go (about)

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