| // Copyright 2018 The Go Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style | |
| // license that can be found in the LICENSE file. | |
| // Code generated by protoc-gen-go. DO NOT EDIT. | |
| // source: cmd/protoc-gen-go/testdata/proto3/fields.proto | |
| package proto3 | |
| import ( | |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" | |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" | |
| reflect "reflect" | |
| sync "sync" | |
| ) | |
| type FieldTestMessage_Enum int32 | |
| const ( | |
| FieldTestMessage_ZERO FieldTestMessage_Enum = 0 | |
| ) | |
| // Enum value maps for FieldTestMessage_Enum. | |
| var ( | |
| FieldTestMessage_Enum_name = map[int32]string{ | |
| 0: "ZERO", | |
| } | |
| FieldTestMessage_Enum_value = map[string]int32{ | |
| "ZERO": 0, | |
| } | |
| ) | |
| func (x FieldTestMessage_Enum) Enum() *FieldTestMessage_Enum { | |
| p := new(FieldTestMessage_Enum) | |
| *p = x | |
| return p | |
| } | |
| func (x FieldTestMessage_Enum) String() string { | |
| return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) | |
| } | |
| func (FieldTestMessage_Enum) Descriptor() protoreflect.EnumDescriptor { | |
| return file_cmd_protoc_gen_go_testdata_proto3_fields_proto_enumTypes[0].Descriptor() | |
| } | |
| func (FieldTestMessage_Enum) Type() protoreflect.EnumType { | |
| return &file_cmd_protoc_gen_go_testdata_proto3_fields_proto_enumTypes[0] | |
| } | |
| func (x FieldTestMessage_Enum) Number() protoreflect.EnumNumber { | |
| return protoreflect.EnumNumber(x) | |
| } | |
| // Deprecated: Use FieldTestMessage_Enum.Descriptor instead. | |
| func (FieldTestMessage_Enum) EnumDescriptor() ([]byte, []int) { | |
| return file_cmd_protoc_gen_go_testdata_proto3_fields_proto_rawDescGZIP(), []int{0, 0} | |
| } | |
| type FieldTestMessage struct { | |
| state protoimpl.MessageState `protogen:"open.v1"` | |
| OptionalBool string `protobuf:"bytes,1,opt,name=optional_bool,json=optionalBool,proto3" json:"optional_bool,omitempty"` | |
| OptionalEnum FieldTestMessage_Enum `protobuf:"varint,2,opt,name=optional_enum,json=optionalEnum,proto3,enum=goproto.protoc.proto3.FieldTestMessage_Enum" json:"optional_enum,omitempty"` | |
| OptionalInt32 int32 `protobuf:"varint,3,opt,name=optional_int32,json=optionalInt32,proto3" json:"optional_int32,omitempty"` | |
| OptionalSint32 int32 `protobuf:"zigzag32,4,opt,name=optional_sint32,json=optionalSint32,proto3" json:"optional_sint32,omitempty"` | |
| OptionalUint32 uint32 `protobuf:"varint,5,opt,name=optional_uint32,json=optionalUint32,proto3" json:"optional_uint32,omitempty"` | |
| OptionalInt64 int64 `protobuf:"varint,6,opt,name=optional_int64,json=optionalInt64,proto3" json:"optional_int64,omitempty"` | |
| OptionalSint64 int64 `protobuf:"zigzag64,7,opt,name=optional_sint64,json=optionalSint64,proto3" json:"optional_sint64,omitempty"` | |
| OptionalUint64 uint64 `protobuf:"varint,8,opt,name=optional_uint64,json=optionalUint64,proto3" json:"optional_uint64,omitempty"` | |
| OptionalSfixed32 int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32,proto3" json:"optional_sfixed32,omitempty"` | |
| OptionalFixed32 uint32 `protobuf:"fixed32,10,opt,name=optional_fixed32,json=optionalFixed32,proto3" json:"optional_fixed32,omitempty"` | |
| OptionalFloat float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat,proto3" json:"optional_float,omitempty"` | |
| OptionalSfixed64 int64 `protobuf:"fixed64,12,opt,name=optional_sfixed64,json=optionalSfixed64,proto3" json:"optional_sfixed64,omitempty"` | |
| OptionalFixed64 uint64 `protobuf:"fixed64,13,opt,name=optional_fixed64,json=optionalFixed64,proto3" json:"optional_fixed64,omitempty"` | |
| OptionalDouble float64 `protobuf:"fixed64,14,opt,name=optional_double,json=optionalDouble,proto3" json:"optional_double,omitempty"` | |
| OptionalString string `protobuf:"bytes,15,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"` | |
| OptionalBytes []byte `protobuf:"bytes,16,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"` | |
| Optional_Message *FieldTestMessage_Message `protobuf:"bytes,17,opt,name=optional_Message,json=optionalMessage,proto3" json:"optional_Message,omitempty"` | |
| RepeatedBool []bool `protobuf:"varint,201,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"` | |
| RepeatedEnum []FieldTestMessage_Enum `protobuf:"varint,202,rep,packed,name=repeated_enum,json=repeatedEnum,proto3,enum=goproto.protoc.proto3.FieldTestMessage_Enum" json:"repeated_enum,omitempty"` | |
| RepeatedInt32 []int32 `protobuf:"varint,203,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"` | |
| RepeatedSint32 []int32 `protobuf:"zigzag32,204,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"` | |
| RepeatedUint32 []uint32 `protobuf:"varint,205,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"` | |
| RepeatedInt64 []int64 `protobuf:"varint,206,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"` | |
| RepeatedSint64 []int64 `protobuf:"zigzag64,207,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"` | |
| RepeatedUint64 []uint64 `protobuf:"varint,208,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"` | |
| RepeatedSfixed32 []int32 `protobuf:"fixed32,209,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"` | |
| RepeatedFixed32 []uint32 `protobuf:"fixed32,210,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"` | |
| RepeatedFloat []float32 `protobuf:"fixed32,211,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"` | |
| RepeatedSfixed64 []int64 `protobuf:"fixed64,212,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"` | |
| RepeatedFixed64 []uint64 `protobuf:"fixed64,213,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"` | |
| RepeatedDouble []float64 `protobuf:"fixed64,214,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"` | |
| RepeatedString []string `protobuf:"bytes,215,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"` | |
| RepeatedBytes [][]byte `protobuf:"bytes,216,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"` | |
| Repeated_Message []*FieldTestMessage_Message `protobuf:"bytes,217,rep,name=repeated_Message,json=repeatedMessage,proto3" json:"repeated_Message,omitempty"` | |
| MapInt32Int64 map[int32]int64 `protobuf:"bytes,500,rep,name=map_int32_int64,json=mapInt32Int64,proto3" json:"map_int32_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"` | |
| MapStringMessage map[string]*FieldTestMessage_Message `protobuf:"bytes,501,rep,name=map_string_message,json=mapStringMessage,proto3" json:"map_string_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"` | |
| MapFixed64Enum map[uint64]FieldTestMessage_Enum `protobuf:"bytes,502,rep,name=map_fixed64_enum,json=mapFixed64Enum,proto3" json:"map_fixed64_enum,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=goproto.protoc.proto3.FieldTestMessage_Enum"` | |
| unknownFields protoimpl.UnknownFields | |
| sizeCache protoimpl.SizeCache | |
| } | |
| func (x *FieldTestMessage) Reset() { | |
| *x = FieldTestMessage{} | |
| mi := &file_cmd_protoc_gen_go_testdata_proto3_fields_proto_msgTypes[0] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| func (x *FieldTestMessage) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*FieldTestMessage) ProtoMessage() {} | |
| func (x *FieldTestMessage) ProtoReflect() protoreflect.Message { | |
| mi := &file_cmd_protoc_gen_go_testdata_proto3_fields_proto_msgTypes[0] | |
| if x != nil { | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| if ms.LoadMessageInfo() == nil { | |
| ms.StoreMessageInfo(mi) | |
| } | |
| return ms | |
| } | |
| return mi.MessageOf(x) | |
| } | |
| // Deprecated: Use FieldTestMessage.ProtoReflect.Descriptor instead. | |
| func (*FieldTestMessage) Descriptor() ([]byte, []int) { | |
| return file_cmd_protoc_gen_go_testdata_proto3_fields_proto_rawDescGZIP(), []int{0} | |
| } | |
| func (x *FieldTestMessage) GetOptionalBool() string { | |
| if x != nil { | |
| return x.OptionalBool | |
| } | |
| return "" | |
| } | |
| func (x *FieldTestMessage) GetOptionalEnum() FieldTestMessage_Enum { | |
| if x != nil { | |
| return x.OptionalEnum | |
| } | |
| return FieldTestMessage_ZERO | |
| } | |
| func (x *FieldTestMessage) GetOptionalInt32() int32 { | |
| if x != nil { | |
| return x.OptionalInt32 | |
| } | |
| return 0 | |
| } | |
| func (x *FieldTestMessage) GetOptionalSint32() int32 { | |
| if x != nil { | |
| return x.OptionalSint32 | |
| } | |
| return 0 | |
| } | |
| func (x *FieldTestMessage) GetOptionalUint32() uint32 { | |
| if x != nil { | |
| return x.OptionalUint32 | |
| } | |
| return 0 | |
| } | |
| func (x *FieldTestMessage) GetOptionalInt64() int64 { | |
| if x != nil { | |
| return x.OptionalInt64 | |
| } | |
| return 0 | |
| } | |
| func (x *FieldTestMessage) GetOptionalSint64() int64 { | |
| if x != nil { | |
| return x.OptionalSint64 | |
| } | |
| return 0 | |
| } | |
| func (x *FieldTestMessage) GetOptionalUint64() uint64 { | |
| if x != nil { | |
| return x.OptionalUint64 | |
| } | |
| return 0 | |
| } | |
| func (x *FieldTestMessage) GetOptionalSfixed32() int32 { | |
| if x != nil { | |
| return x.OptionalSfixed32 | |
| } | |
| return 0 | |
| } | |
| func (x *FieldTestMessage) GetOptionalFixed32() uint32 { | |
| if x != nil { | |
| return x.OptionalFixed32 | |
| } | |
| return 0 | |
| } | |
| func (x *FieldTestMessage) GetOptionalFloat() float32 { | |
| if x != nil { | |
| return x.OptionalFloat | |
| } | |
| return 0 | |
| } | |
| func (x *FieldTestMessage) GetOptionalSfixed64() int64 { | |
| if x != nil { | |
| return x.OptionalSfixed64 | |
| } | |
| return 0 | |
| } | |
| func (x *FieldTestMessage) GetOptionalFixed64() uint64 { | |
| if x != nil { | |
| return x.OptionalFixed64 | |
| } | |
| return 0 | |
| } | |
| func (x *FieldTestMessage) GetOptionalDouble() float64 { | |
| if x != nil { | |
| return x.OptionalDouble | |
| } | |
| return 0 | |
| } | |
| func (x *FieldTestMessage) GetOptionalString() string { | |
| if x != nil { | |
| return x.OptionalString | |
| } | |
| return "" | |
| } | |
| func (x *FieldTestMessage) GetOptionalBytes() []byte { | |
| if x != nil { | |
| return x.OptionalBytes | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetOptional_Message() *FieldTestMessage_Message { | |
| if x != nil { | |
| return x.Optional_Message | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedBool() []bool { | |
| if x != nil { | |
| return x.RepeatedBool | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedEnum() []FieldTestMessage_Enum { | |
| if x != nil { | |
| return x.RepeatedEnum | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedInt32() []int32 { | |
| if x != nil { | |
| return x.RepeatedInt32 | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedSint32() []int32 { | |
| if x != nil { | |
| return x.RepeatedSint32 | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedUint32() []uint32 { | |
| if x != nil { | |
| return x.RepeatedUint32 | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedInt64() []int64 { | |
| if x != nil { | |
| return x.RepeatedInt64 | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedSint64() []int64 { | |
| if x != nil { | |
| return x.RepeatedSint64 | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedUint64() []uint64 { | |
| if x != nil { | |
| return x.RepeatedUint64 | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedSfixed32() []int32 { | |
| if x != nil { | |
| return x.RepeatedSfixed32 | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedFixed32() []uint32 { | |
| if x != nil { | |
| return x.RepeatedFixed32 | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedFloat() []float32 { | |
| if x != nil { | |
| return x.RepeatedFloat | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedSfixed64() []int64 { | |
| if x != nil { | |
| return x.RepeatedSfixed64 | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedFixed64() []uint64 { | |
| if x != nil { | |
| return x.RepeatedFixed64 | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedDouble() []float64 { | |
| if x != nil { | |
| return x.RepeatedDouble | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedString() []string { | |
| if x != nil { | |
| return x.RepeatedString | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeatedBytes() [][]byte { | |
| if x != nil { | |
| return x.RepeatedBytes | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetRepeated_Message() []*FieldTestMessage_Message { | |
| if x != nil { | |
| return x.Repeated_Message | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetMapInt32Int64() map[int32]int64 { | |
| if x != nil { | |
| return x.MapInt32Int64 | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetMapStringMessage() map[string]*FieldTestMessage_Message { | |
| if x != nil { | |
| return x.MapStringMessage | |
| } | |
| return nil | |
| } | |
| func (x *FieldTestMessage) GetMapFixed64Enum() map[uint64]FieldTestMessage_Enum { | |
| if x != nil { | |
| return x.MapFixed64Enum | |
| } | |
| return nil | |
| } | |
| type FieldTestMessage_Message struct { | |
| state protoimpl.MessageState `protogen:"open.v1"` | |
| unknownFields protoimpl.UnknownFields | |
| sizeCache protoimpl.SizeCache | |
| } | |
| func (x *FieldTestMessage_Message) Reset() { | |
| *x = FieldTestMessage_Message{} | |
| mi := &file_cmd_protoc_gen_go_testdata_proto3_fields_proto_msgTypes[4] | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| ms.StoreMessageInfo(mi) | |
| } | |
| func (x *FieldTestMessage_Message) String() string { | |
| return protoimpl.X.MessageStringOf(x) | |
| } | |
| func (*FieldTestMessage_Message) ProtoMessage() {} | |
| func (x *FieldTestMessage_Message) ProtoReflect() protoreflect.Message { | |
| mi := &file_cmd_protoc_gen_go_testdata_proto3_fields_proto_msgTypes[4] | |
| if x != nil { | |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) | |
| if ms.LoadMessageInfo() == nil { | |
| ms.StoreMessageInfo(mi) | |
| } | |
| return ms | |
| } | |
| return mi.MessageOf(x) | |
| } | |
| // Deprecated: Use FieldTestMessage_Message.ProtoReflect.Descriptor instead. | |
| func (*FieldTestMessage_Message) Descriptor() ([]byte, []int) { | |
| return file_cmd_protoc_gen_go_testdata_proto3_fields_proto_rawDescGZIP(), []int{0, 3} | |
| } | |
| var File_cmd_protoc_gen_go_testdata_proto3_fields_proto protoreflect.FileDescriptor | |
| const file_cmd_protoc_gen_go_testdata_proto3_fields_proto_rawDesc = "\n.cmd/protoc-gen-go/testdata/proto3/fields.protogoproto.protoc.proto3\"\xd0\nFieldTestMessage#\n\roptional_bool ( RoptionalBoolQ\n\roptional_enum (2,.goproto.protoc.proto3.FieldTestMessage.EnumRoptionalEnum%\noptional_int32 (R\roptionalInt32'\noptional_sint32 (RoptionalSint32'\noptional_uint32 (\rRoptionalUint32%\noptional_int64 (R\roptionalInt64'\noptional_sint64 (RoptionalSint64'\noptional_uint64 (RoptionalUint64+\noptional_sfixed32 (RoptionalSfixed32)\noptional_fixed32\n (RoptionalFixed32%\noptional_float (R\roptionalFloat+\noptional_sfixed64 (RoptionalSfixed64)\noptional_fixed64\r (RoptionalFixed64'\noptional_double (RoptionalDouble'\noptional_string ( RoptionalString%\noptional_bytes (R\roptionalBytesZ\noptional_Message (2/.goproto.protoc.proto3.FieldTestMessage.MessageRoptionalMessage$\n\rrepeated_bool\xc9 (RrepeatedBoolR\n\rrepeated_enum\xca (2,.goproto.protoc.proto3.FieldTestMessage.EnumRrepeatedEnum&\nrepeated_int32\xcb (R\rrepeatedInt32(\nrepeated_sint32\xcc (RrepeatedSint32(\nrepeated_uint32\xcd (\rRrepeatedUint32&\nrepeated_int64\xce (R\rrepeatedInt64(\nrepeated_sint64\xcf (RrepeatedSint64(\nrepeated_uint64\xd0 (RrepeatedUint64,\nrepeated_sfixed32\xd1 (RrepeatedSfixed32*\nrepeated_fixed32\xd2 (RrepeatedFixed32&\nrepeated_float\xd3 (R\rrepeatedFloat,\nrepeated_sfixed64\xd4 (RrepeatedSfixed64*\nrepeated_fixed64\xd5 (RrepeatedFixed64(\nrepeated_double\xd6 (RrepeatedDouble(\nrepeated_string\xd7 ( RrepeatedString&\nrepeated_bytes\xd8 (R\rrepeatedBytes[\nrepeated_Message\xd9 (2/.goproto.protoc.proto3.FieldTestMessage.MessageRrepeatedMessagec\nmap_int32_int64\xf4 (2:.goproto.protoc.proto3.FieldTestMessage.MapInt32Int64EntryR\rmapInt32Int64l\nmap_string_message\xf5 (2=.goproto.protoc.proto3.FieldTestMessage.MapStringMessageEntryRmapStringMessagef\nmap_fixed64_enum\xf6 (2;.goproto.protoc.proto3.FieldTestMessage.MapFixed64EnumEntryRmapFixed64Enum@\nMapInt32Int64Entry\nkey (Rkey\nvalue (Rvalue:8t\nMapStringMessageEntry\nkey ( RkeyE\nvalue (2/.goproto.protoc.proto3.FieldTestMessage.MessageRvalue:8o\nMapFixed64EnumEntry\nkey (RkeyB\nvalue (2,.goproto.protoc.proto3.FieldTestMessage.EnumRvalue:8 \nMessage\"\nEnum\nZERO\x00B>Z<google.golang.org/protobuf/cmd/protoc-gen-go/testdata/proto3bproto3" | |
| var ( | |
| file_cmd_protoc_gen_go_testdata_proto3_fields_proto_rawDescOnce sync.Once | |
| file_cmd_protoc_gen_go_testdata_proto3_fields_proto_rawDescData = file_cmd_protoc_gen_go_testdata_proto3_fields_proto_rawDesc | |
| ) | |
| func file_cmd_protoc_gen_go_testdata_proto3_fields_proto_rawDescGZIP() []byte { | |
| file_cmd_protoc_gen_go_testdata_proto3_fields_proto_rawDescOnce.Do(func() { | |
| file_cmd_protoc_gen_go_testdata_proto3_fields_proto_rawDescData = string(protoimpl.X.CompressGZIP([]byte(file_cmd_protoc_gen_go_testdata_proto3_fields_proto_rawDescData))) | |
| }) | |
| return []byte(file_cmd_protoc_gen_go_testdata_proto3_fields_proto_rawDescData) | |
| } | |
| var file_cmd_protoc_gen_go_testdata_proto3_fields_proto_enumTypes = make([]protoimpl.EnumInfo, 1) | |
| var file_cmd_protoc_gen_go_testdata_proto3_fields_proto_msgTypes = make([]protoimpl.MessageInfo, 5) | |
| var file_cmd_protoc_gen_go_testdata_proto3_fields_proto_goTypes = []any{ | |
| (FieldTestMessage_Enum)(0), // 0: goproto.protoc.proto3.FieldTestMessage.Enum | |
| (*FieldTestMessage)(nil), // 1: goproto.protoc.proto3.FieldTestMessage | |
| nil, // 2: goproto.protoc.proto3.FieldTestMessage.MapInt32Int64Entry | |
| nil, // 3: goproto.protoc.proto3.FieldTestMessage.MapStringMessageEntry | |
| nil, // 4: goproto.protoc.proto3.FieldTestMessage.MapFixed64EnumEntry | |
| (*FieldTestMessage_Message)(nil), // 5: goproto.protoc.proto3.FieldTestMessage.Message | |
| } | |
| var file_cmd_protoc_gen_go_testdata_proto3_fields_proto_depIdxs = []int32{ | |
| 0, // 0: goproto.protoc.proto3.FieldTestMessage.optional_enum:type_name -> goproto.protoc.proto3.FieldTestMessage.Enum | |
| 5, // 1: goproto.protoc.proto3.FieldTestMessage.optional_Message:type_name -> goproto.protoc.proto3.FieldTestMessage.Message | |
| 0, // 2: goproto.protoc.proto3.FieldTestMessage.repeated_enum:type_name -> goproto.protoc.proto3.FieldTestMessage.Enum | |
| 5, // 3: goproto.protoc.proto3.FieldTestMessage.repeated_Message:type_name -> goproto.protoc.proto3.FieldTestMessage.Message | |
| 2, // 4: goproto.protoc.proto3.FieldTestMessage.map_int32_int64:type_name -> goproto.protoc.proto3.FieldTestMessage.MapInt32Int64Entry | |
| 3, // 5: goproto.protoc.proto3.FieldTestMessage.map_string_message:type_name -> goproto.protoc.proto3.FieldTestMessage.MapStringMessageEntry | |
| 4, // 6: goproto.protoc.proto3.FieldTestMessage.map_fixed64_enum:type_name -> goproto.protoc.proto3.FieldTestMessage.MapFixed64EnumEntry | |
| 5, // 7: goproto.protoc.proto3.FieldTestMessage.MapStringMessageEntry.value:type_name -> goproto.protoc.proto3.FieldTestMessage.Message | |
| 0, // 8: goproto.protoc.proto3.FieldTestMessage.MapFixed64EnumEntry.value:type_name -> goproto.protoc.proto3.FieldTestMessage.Enum | |
| 9, // [9:9] is the sub-list for method output_type | |
| 9, // [9:9] is the sub-list for method input_type | |
| 9, // [9:9] is the sub-list for extension type_name | |
| 9, // [9:9] is the sub-list for extension extendee | |
| 0, // [0:9] is the sub-list for field type_name | |
| } | |
| func init() { file_cmd_protoc_gen_go_testdata_proto3_fields_proto_init() } | |
| func file_cmd_protoc_gen_go_testdata_proto3_fields_proto_init() { | |
| if File_cmd_protoc_gen_go_testdata_proto3_fields_proto != nil { | |
| return | |
| } | |
| type x struct{} | |
| out := protoimpl.TypeBuilder{ | |
| File: protoimpl.DescBuilder{ | |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), | |
| RawDescriptor: []byte(file_cmd_protoc_gen_go_testdata_proto3_fields_proto_rawDesc), | |
| NumEnums: 1, | |
| NumMessages: 5, | |
| NumExtensions: 0, | |
| NumServices: 0, | |
| }, | |
| GoTypes: file_cmd_protoc_gen_go_testdata_proto3_fields_proto_goTypes, | |
| DependencyIndexes: file_cmd_protoc_gen_go_testdata_proto3_fields_proto_depIdxs, | |
| EnumInfos: file_cmd_protoc_gen_go_testdata_proto3_fields_proto_enumTypes, | |
| MessageInfos: file_cmd_protoc_gen_go_testdata_proto3_fields_proto_msgTypes, | |
| }.Build() | |
| File_cmd_protoc_gen_go_testdata_proto3_fields_proto = out.File | |
| file_cmd_protoc_gen_go_testdata_proto3_fields_proto_goTypes = nil | |
| file_cmd_protoc_gen_go_testdata_proto3_fields_proto_depIdxs = nil | |
| } |