Enum value maps for ForeignEnum.
var ( ForeignEnum_name = map[int32]string{ 0: "FOREIGN_ZERO", 4: "FOREIGN_FOO", 5: "FOREIGN_BAR", 6: "FOREIGN_BAZ", } ForeignEnum_value = map[string]int32{ "FOREIGN_ZERO": 0, "FOREIGN_FOO": 4, "FOREIGN_BAR": 5, "FOREIGN_BAZ": 6, } )
Enum value maps for TestAllTypes_NestedEnum.
var ( TestAllTypes_NestedEnum_name = map[int32]string{ 0: "FOO", 1: "BAR", 2: "BAZ", -1: "NEG", } TestAllTypes_NestedEnum_value = map[string]int32{ "FOO": 0, "BAR": 1, "BAZ": 2, "NEG": -1, } )
Extension fields to descriptorpb.MessageOptions.
var ( // optional int32 optional_int32 = 1001; E_OptionalInt32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[0] // optional int64 optional_int64 = 1002; E_OptionalInt64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[1] // optional uint32 optional_uint32 = 1003; E_OptionalUint32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[2] // optional uint64 optional_uint64 = 1004; E_OptionalUint64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[3] // optional sint32 optional_sint32 = 1005; E_OptionalSint32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[4] // optional sint64 optional_sint64 = 1006; E_OptionalSint64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[5] // optional fixed32 optional_fixed32 = 1007; E_OptionalFixed32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[6] // optional fixed64 optional_fixed64 = 1008; E_OptionalFixed64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[7] // optional sfixed32 optional_sfixed32 = 1009; E_OptionalSfixed32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[8] // optional sfixed64 optional_sfixed64 = 1010; E_OptionalSfixed64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[9] // optional float optional_float = 1011; E_OptionalFloat = &file_internal_testprotos_test3_test_extension_proto_extTypes[10] // optional double optional_double = 1012; E_OptionalDouble = &file_internal_testprotos_test3_test_extension_proto_extTypes[11] // optional bool optional_bool = 1013; E_OptionalBool = &file_internal_testprotos_test3_test_extension_proto_extTypes[12] // optional string optional_string = 1014; E_OptionalString = &file_internal_testprotos_test3_test_extension_proto_extTypes[13] // optional bytes optional_bytes = 1015; E_OptionalBytes = &file_internal_testprotos_test3_test_extension_proto_extTypes[14] // optional goproto.proto.test3.ForeignMessage optional_foreign_message = 1016; E_OptionalForeignMessage = &file_internal_testprotos_test3_test_extension_proto_extTypes[15] // optional goproto.proto.test3.ForeignEnum optional_foreign_enum = 1017; E_OptionalForeignEnum = &file_internal_testprotos_test3_test_extension_proto_extTypes[16] // optional int32 optional_optional_int32 = 2001; E_OptionalOptionalInt32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[17] // optional int64 optional_optional_int64 = 2002; E_OptionalOptionalInt64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[18] // optional uint32 optional_optional_uint32 = 2003; E_OptionalOptionalUint32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[19] // optional uint64 optional_optional_uint64 = 2004; E_OptionalOptionalUint64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[20] // optional sint32 optional_optional_sint32 = 2005; E_OptionalOptionalSint32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[21] // optional sint64 optional_optional_sint64 = 2006; E_OptionalOptionalSint64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[22] // optional fixed32 optional_optional_fixed32 = 2007; E_OptionalOptionalFixed32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[23] // optional fixed64 optional_optional_fixed64 = 2008; E_OptionalOptionalFixed64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[24] // optional sfixed32 optional_optional_sfixed32 = 2009; E_OptionalOptionalSfixed32 = &file_internal_testprotos_test3_test_extension_proto_extTypes[25] // optional sfixed64 optional_optional_sfixed64 = 2010; E_OptionalOptionalSfixed64 = &file_internal_testprotos_test3_test_extension_proto_extTypes[26] // optional float optional_optional_float = 2011; E_OptionalOptionalFloat = &file_internal_testprotos_test3_test_extension_proto_extTypes[27] // optional double optional_optional_double = 2012; E_OptionalOptionalDouble = &file_internal_testprotos_test3_test_extension_proto_extTypes[28] // optional bool optional_optional_bool = 2013; E_OptionalOptionalBool = &file_internal_testprotos_test3_test_extension_proto_extTypes[29] // optional string optional_optional_string = 2014; E_OptionalOptionalString = &file_internal_testprotos_test3_test_extension_proto_extTypes[30] // optional bytes optional_optional_bytes = 2015; E_OptionalOptionalBytes = &file_internal_testprotos_test3_test_extension_proto_extTypes[31] // optional goproto.proto.test3.ForeignMessage optional_optional_foreign_message = 2016; E_OptionalOptionalForeignMessage = &file_internal_testprotos_test3_test_extension_proto_extTypes[32] // optional goproto.proto.test3.ForeignEnum optional_optional_foreign_enum = 2017; E_OptionalOptionalForeignEnum = &file_internal_testprotos_test3_test_extension_proto_extTypes[33] )
Enum value maps for ImportEnum.
var ( ImportEnum_name = map[int32]string{ 0: "IMPORT_ZERO", } ImportEnum_value = map[string]int32{ "IMPORT_ZERO": 0, } )
var File_internal_testprotos_test3_test_extension_proto protoreflect.FileDescriptor
var File_internal_testprotos_test3_test_import_proto protoreflect.FileDescriptor
var File_internal_testprotos_test3_test_proto protoreflect.FileDescriptor
type ForeignEnum int32
const ( ForeignEnum_FOREIGN_ZERO ForeignEnum = 0 ForeignEnum_FOREIGN_FOO ForeignEnum = 4 ForeignEnum_FOREIGN_BAR ForeignEnum = 5 ForeignEnum_FOREIGN_BAZ ForeignEnum = 6 )
func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
func (x ForeignEnum) Enum() *ForeignEnum
func (ForeignEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForeignEnum.Descriptor instead.
func (x ForeignEnum) Number() protoreflect.EnumNumber
func (x ForeignEnum) String() string
func (ForeignEnum) Type() protoreflect.EnumType
type ForeignMessage struct { C int32 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"` D int32 `protobuf:"varint,2,opt,name=d,proto3" json:"d,omitempty"` // contains filtered or unexported fields }
func (*ForeignMessage) Descriptor() ([]byte, []int)
Deprecated: Use ForeignMessage.ProtoReflect.Descriptor instead.
func (x *ForeignMessage) GetC() int32
func (x *ForeignMessage) GetD() int32
func (*ForeignMessage) ProtoMessage()
func (x *ForeignMessage) ProtoReflect() protoreflect.Message
func (x *ForeignMessage) Reset()
func (x *ForeignMessage) String() string
type ImportEnum int32
const ( ImportEnum_IMPORT_ZERO ImportEnum = 0 )
func (ImportEnum) Descriptor() protoreflect.EnumDescriptor
func (x ImportEnum) Enum() *ImportEnum
func (ImportEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ImportEnum.Descriptor instead.
func (x ImportEnum) Number() protoreflect.EnumNumber
func (x ImportEnum) String() string
func (ImportEnum) Type() protoreflect.EnumType
type ImportMessage struct {
// contains filtered or unexported fields
}
func (*ImportMessage) Descriptor() ([]byte, []int)
Deprecated: Use ImportMessage.ProtoReflect.Descriptor instead.
func (*ImportMessage) ProtoMessage()
func (x *ImportMessage) ProtoReflect() protoreflect.Message
func (x *ImportMessage) Reset()
func (x *ImportMessage) String() string
type TestAllTypes struct { SingularInt32 int32 `protobuf:"varint,81,opt,name=singular_int32,json=singularInt32,proto3" json:"singular_int32,omitempty"` SingularInt64 int64 `protobuf:"varint,82,opt,name=singular_int64,json=singularInt64,proto3" json:"singular_int64,omitempty"` SingularUint32 uint32 `protobuf:"varint,83,opt,name=singular_uint32,json=singularUint32,proto3" json:"singular_uint32,omitempty"` SingularUint64 uint64 `protobuf:"varint,84,opt,name=singular_uint64,json=singularUint64,proto3" json:"singular_uint64,omitempty"` SingularSint32 int32 `protobuf:"zigzag32,85,opt,name=singular_sint32,json=singularSint32,proto3" json:"singular_sint32,omitempty"` SingularSint64 int64 `protobuf:"zigzag64,86,opt,name=singular_sint64,json=singularSint64,proto3" json:"singular_sint64,omitempty"` SingularFixed32 uint32 `protobuf:"fixed32,87,opt,name=singular_fixed32,json=singularFixed32,proto3" json:"singular_fixed32,omitempty"` SingularFixed64 uint64 `protobuf:"fixed64,88,opt,name=singular_fixed64,json=singularFixed64,proto3" json:"singular_fixed64,omitempty"` SingularSfixed32 int32 `protobuf:"fixed32,89,opt,name=singular_sfixed32,json=singularSfixed32,proto3" json:"singular_sfixed32,omitempty"` SingularSfixed64 int64 `protobuf:"fixed64,90,opt,name=singular_sfixed64,json=singularSfixed64,proto3" json:"singular_sfixed64,omitempty"` SingularFloat float32 `protobuf:"fixed32,91,opt,name=singular_float,json=singularFloat,proto3" json:"singular_float,omitempty"` SingularDouble float64 `protobuf:"fixed64,92,opt,name=singular_double,json=singularDouble,proto3" json:"singular_double,omitempty"` SingularBool bool `protobuf:"varint,93,opt,name=singular_bool,json=singularBool,proto3" json:"singular_bool,omitempty"` SingularString string `protobuf:"bytes,94,opt,name=singular_string,json=singularString,proto3" json:"singular_string,omitempty"` SingularBytes []byte `protobuf:"bytes,95,opt,name=singular_bytes,json=singularBytes,proto3" json:"singular_bytes,omitempty"` SingularNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,98,opt,name=singular_nested_message,json=singularNestedMessage,proto3" json:"singular_nested_message,omitempty"` SingularForeignMessage *ForeignMessage `protobuf:"bytes,99,opt,name=singular_foreign_message,json=singularForeignMessage,proto3" json:"singular_foreign_message,omitempty"` SingularImportMessage *ImportMessage `protobuf:"bytes,100,opt,name=singular_import_message,json=singularImportMessage,proto3" json:"singular_import_message,omitempty"` SingularNestedEnum TestAllTypes_NestedEnum `protobuf:"varint,101,opt,name=singular_nested_enum,json=singularNestedEnum,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum" json:"singular_nested_enum,omitempty"` SingularForeignEnum ForeignEnum `protobuf:"varint,102,opt,name=singular_foreign_enum,json=singularForeignEnum,proto3,enum=goproto.proto.test3.ForeignEnum" json:"singular_foreign_enum,omitempty"` SingularImportEnum ImportEnum `protobuf:"varint,103,opt,name=singular_import_enum,json=singularImportEnum,proto3,enum=goproto.proto.test3.ImportEnum" json:"singular_import_enum,omitempty"` OptionalInt32 *int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32,proto3,oneof" json:"optional_int32,omitempty"` OptionalInt64 *int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64,proto3,oneof" json:"optional_int64,omitempty"` OptionalUint32 *uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32,proto3,oneof" json:"optional_uint32,omitempty"` OptionalUint64 *uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64,proto3,oneof" json:"optional_uint64,omitempty"` OptionalSint32 *int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32,proto3,oneof" json:"optional_sint32,omitempty"` OptionalSint64 *int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64,proto3,oneof" json:"optional_sint64,omitempty"` OptionalFixed32 *uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32,proto3,oneof" json:"optional_fixed32,omitempty"` OptionalFixed64 *uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64,proto3,oneof" json:"optional_fixed64,omitempty"` OptionalSfixed32 *int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32,proto3,oneof" json:"optional_sfixed32,omitempty"` OptionalSfixed64 *int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64,proto3,oneof" json:"optional_sfixed64,omitempty"` OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat,proto3,oneof" json:"optional_float,omitempty"` OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble,proto3,oneof" json:"optional_double,omitempty"` OptionalBool *bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool,proto3,oneof" json:"optional_bool,omitempty"` OptionalString *string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString,proto3,oneof" json:"optional_string,omitempty"` OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes,proto3,oneof" json:"optional_bytes,omitempty"` OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage,proto3,oneof" json:"optional_nested_message,omitempty"` OptionalForeignMessage *ForeignMessage `protobuf:"bytes,19,opt,name=optional_foreign_message,json=optionalForeignMessage,proto3,oneof" json:"optional_foreign_message,omitempty"` OptionalImportMessage *ImportMessage `protobuf:"bytes,20,opt,name=optional_import_message,json=optionalImportMessage,proto3,oneof" json:"optional_import_message,omitempty"` OptionalNestedEnum *TestAllTypes_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum,oneof" json:"optional_nested_enum,omitempty"` OptionalForeignEnum *ForeignEnum `protobuf:"varint,22,opt,name=optional_foreign_enum,json=optionalForeignEnum,proto3,enum=goproto.proto.test3.ForeignEnum,oneof" json:"optional_foreign_enum,omitempty"` OptionalImportEnum *ImportEnum `protobuf:"varint,23,opt,name=optional_import_enum,json=optionalImportEnum,proto3,enum=goproto.proto.test3.ImportEnum,oneof" json:"optional_import_enum,omitempty"` RepeatedInt32 []int32 `protobuf:"varint,31,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,32,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,33,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"` RepeatedUint64 []uint64 `protobuf:"varint,34,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"` RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"` RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"` RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"` RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"` RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"` RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"` RepeatedFloat []float32 `protobuf:"fixed32,41,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"` RepeatedDouble []float64 `protobuf:"fixed64,42,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"` RepeatedBool []bool `protobuf:"varint,43,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"` RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"` RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"` RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage,proto3" json:"repeated_nested_message,omitempty"` RepeatedForeignMessage []*ForeignMessage `protobuf:"bytes,49,rep,name=repeated_foreign_message,json=repeatedForeignMessage,proto3" json:"repeated_foreign_message,omitempty"` RepeatedImportmessage []*ImportMessage `protobuf:"bytes,50,rep,name=repeated_importmessage,json=repeatedImportmessage,proto3" json:"repeated_importmessage,omitempty"` RepeatedNestedEnum []TestAllTypes_NestedEnum `protobuf:"varint,51,rep,packed,name=repeated_nested_enum,json=repeatedNestedEnum,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum" json:"repeated_nested_enum,omitempty"` RepeatedForeignEnum []ForeignEnum `protobuf:"varint,52,rep,packed,name=repeated_foreign_enum,json=repeatedForeignEnum,proto3,enum=goproto.proto.test3.ForeignEnum" json:"repeated_foreign_enum,omitempty"` RepeatedImportenum []ImportEnum `protobuf:"varint,53,rep,packed,name=repeated_importenum,json=repeatedImportenum,proto3,enum=goproto.proto.test3.ImportEnum" json:"repeated_importenum,omitempty"` MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32,proto3" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapInt64Int64 map[int64]int64 `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64,proto3" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapUint32Uint32 map[uint32]uint32 `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32,proto3" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapUint64Uint64 map[uint64]uint64 `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64,proto3" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapSint32Sint32 map[int32]int32 `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32,proto3" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key,proto3" protobuf_val:"zigzag32,2,opt,name=value,proto3"` MapSint64Sint64 map[int64]int64 `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64,proto3" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key,proto3" protobuf_val:"zigzag64,2,opt,name=value,proto3"` MapFixed32Fixed32 map[uint32]uint32 `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32,proto3" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` MapFixed64Fixed64 map[uint64]uint64 `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64,proto3" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` MapSfixed32Sfixed32 map[int32]int32 `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32,proto3" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` MapSfixed64Sfixed64 map[int64]int64 `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64,proto3" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` MapInt32Float map[int32]float32 `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float,proto3" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed32,2,opt,name=value,proto3"` MapInt32Double map[int32]float64 `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double,proto3" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"fixed64,2,opt,name=value,proto3"` MapBoolBool map[bool]bool `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool,proto3" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"` MapStringString map[string]string `protobuf:"bytes,69,rep,name=map_string_string,json=mapStringString,proto3" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapStringBytes map[string][]byte `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes,proto3" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage,proto3" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` MapStringNestedEnum map[string]TestAllTypes_NestedEnum `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum,proto3" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum"` // Types that are assignable to OneofField: // // *TestAllTypes_OneofUint32 // *TestAllTypes_OneofNestedMessage // *TestAllTypes_OneofString // *TestAllTypes_OneofBytes // *TestAllTypes_OneofBool // *TestAllTypes_OneofUint64 // *TestAllTypes_OneofFloat // *TestAllTypes_OneofDouble // *TestAllTypes_OneofEnum OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"` // contains filtered or unexported fields }
func (*TestAllTypes) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes.ProtoReflect.Descriptor instead.
func (x *TestAllTypes) GetMapBoolBool() map[bool]bool
func (x *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32
func (x *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64
func (x *TestAllTypes) GetMapInt32Double() map[int32]float64
func (x *TestAllTypes) GetMapInt32Float() map[int32]float32
func (x *TestAllTypes) GetMapInt32Int32() map[int32]int32
func (x *TestAllTypes) GetMapInt64Int64() map[int64]int64
func (x *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32
func (x *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64
func (x *TestAllTypes) GetMapSint32Sint32() map[int32]int32
func (x *TestAllTypes) GetMapSint64Sint64() map[int64]int64
func (x *TestAllTypes) GetMapStringBytes() map[string][]byte
func (x *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum
func (x *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage
func (x *TestAllTypes) GetMapStringString() map[string]string
func (x *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32
func (x *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64
func (x *TestAllTypes) GetOneofBool() bool
func (x *TestAllTypes) GetOneofBytes() []byte
func (x *TestAllTypes) GetOneofDouble() float64
func (x *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum
func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField
func (x *TestAllTypes) GetOneofFloat() float32
func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage
func (x *TestAllTypes) GetOneofString() string
func (x *TestAllTypes) GetOneofUint32() uint32
func (x *TestAllTypes) GetOneofUint64() uint64
func (x *TestAllTypes) GetOptionalBool() bool
func (x *TestAllTypes) GetOptionalBytes() []byte
func (x *TestAllTypes) GetOptionalDouble() float64
func (x *TestAllTypes) GetOptionalFixed32() uint32
func (x *TestAllTypes) GetOptionalFixed64() uint64
func (x *TestAllTypes) GetOptionalFloat() float32
func (x *TestAllTypes) GetOptionalForeignEnum() ForeignEnum
func (x *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage
func (x *TestAllTypes) GetOptionalImportEnum() ImportEnum
func (x *TestAllTypes) GetOptionalImportMessage() *ImportMessage
func (x *TestAllTypes) GetOptionalInt32() int32
func (x *TestAllTypes) GetOptionalInt64() int64
func (x *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum
func (x *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
func (x *TestAllTypes) GetOptionalSfixed32() int32
func (x *TestAllTypes) GetOptionalSfixed64() int64
func (x *TestAllTypes) GetOptionalSint32() int32
func (x *TestAllTypes) GetOptionalSint64() int64
func (x *TestAllTypes) GetOptionalString() string
func (x *TestAllTypes) GetOptionalUint32() uint32
func (x *TestAllTypes) GetOptionalUint64() uint64
func (x *TestAllTypes) GetRepeatedBool() []bool
func (x *TestAllTypes) GetRepeatedBytes() [][]byte
func (x *TestAllTypes) GetRepeatedDouble() []float64
func (x *TestAllTypes) GetRepeatedFixed32() []uint32
func (x *TestAllTypes) GetRepeatedFixed64() []uint64
func (x *TestAllTypes) GetRepeatedFloat() []float32
func (x *TestAllTypes) GetRepeatedForeignEnum() []ForeignEnum
func (x *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage
func (x *TestAllTypes) GetRepeatedImportenum() []ImportEnum
func (x *TestAllTypes) GetRepeatedImportmessage() []*ImportMessage
func (x *TestAllTypes) GetRepeatedInt32() []int32
func (x *TestAllTypes) GetRepeatedInt64() []int64
func (x *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum
func (x *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage
func (x *TestAllTypes) GetRepeatedSfixed32() []int32
func (x *TestAllTypes) GetRepeatedSfixed64() []int64
func (x *TestAllTypes) GetRepeatedSint32() []int32
func (x *TestAllTypes) GetRepeatedSint64() []int64
func (x *TestAllTypes) GetRepeatedString() []string
func (x *TestAllTypes) GetRepeatedUint32() []uint32
func (x *TestAllTypes) GetRepeatedUint64() []uint64
func (x *TestAllTypes) GetSingularBool() bool
func (x *TestAllTypes) GetSingularBytes() []byte
func (x *TestAllTypes) GetSingularDouble() float64
func (x *TestAllTypes) GetSingularFixed32() uint32
func (x *TestAllTypes) GetSingularFixed64() uint64
func (x *TestAllTypes) GetSingularFloat() float32
func (x *TestAllTypes) GetSingularForeignEnum() ForeignEnum
func (x *TestAllTypes) GetSingularForeignMessage() *ForeignMessage
func (x *TestAllTypes) GetSingularImportEnum() ImportEnum
func (x *TestAllTypes) GetSingularImportMessage() *ImportMessage
func (x *TestAllTypes) GetSingularInt32() int32
func (x *TestAllTypes) GetSingularInt64() int64
func (x *TestAllTypes) GetSingularNestedEnum() TestAllTypes_NestedEnum
func (x *TestAllTypes) GetSingularNestedMessage() *TestAllTypes_NestedMessage
func (x *TestAllTypes) GetSingularSfixed32() int32
func (x *TestAllTypes) GetSingularSfixed64() int64
func (x *TestAllTypes) GetSingularSint32() int32
func (x *TestAllTypes) GetSingularSint64() int64
func (x *TestAllTypes) GetSingularString() string
func (x *TestAllTypes) GetSingularUint32() uint32
func (x *TestAllTypes) GetSingularUint64() uint64
func (*TestAllTypes) ProtoMessage()
func (x *TestAllTypes) ProtoReflect() protoreflect.Message
func (x *TestAllTypes) Reset()
func (x *TestAllTypes) String() string
type TestAllTypes_NestedEnum int32
const ( TestAllTypes_FOO TestAllTypes_NestedEnum = 0 TestAllTypes_BAR TestAllTypes_NestedEnum = 1 TestAllTypes_BAZ TestAllTypes_NestedEnum = 2 TestAllTypes_NEG TestAllTypes_NestedEnum = -1 // Intentionally negative. )
func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum
func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedEnum.Descriptor instead.
func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber
func (x TestAllTypes_NestedEnum) String() string
func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType
type TestAllTypes_NestedMessage struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive,proto3" json:"corecursive,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead.
func (x *TestAllTypes_NestedMessage) GetA() int32
func (x *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes
func (*TestAllTypes_NestedMessage) ProtoMessage()
func (x *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message
func (x *TestAllTypes_NestedMessage) Reset()
func (x *TestAllTypes_NestedMessage) String() string
type TestAllTypes_OneofBool struct { OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,proto3,oneof"` }
type TestAllTypes_OneofBytes struct { OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"` }
type TestAllTypes_OneofDouble struct { OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,proto3,oneof"` }
type TestAllTypes_OneofEnum struct { OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,proto3,enum=goproto.proto.test3.TestAllTypes_NestedEnum,oneof"` }
type TestAllTypes_OneofFloat struct { OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,proto3,oneof"` }
type TestAllTypes_OneofNestedMessage struct { OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,proto3,oneof"` }
type TestAllTypes_OneofString struct { OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,proto3,oneof"` }
type TestAllTypes_OneofUint32 struct { OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"` }
type TestAllTypes_OneofUint64 struct { OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,proto3,oneof"` }