Documentation ¶
Index ¶
- Constants
- Variables
- type ForeignEnum
- func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ForeignEnum) Enum() *ForeignEnum
- func (ForeignEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x ForeignEnum) Number() protoreflect.EnumNumber
- func (x ForeignEnum) String() string
- func (ForeignEnum) Type() protoreflect.EnumType
- type ForeignMessage
- func (*ForeignMessage) Descriptor() ([]byte, []int)deprecated
- 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 OptionalGroup
- func (*OptionalGroup) Descriptor() ([]byte, []int)deprecated
- func (x *OptionalGroup) GetA() int32
- func (x *OptionalGroup) GetOptionalNestedMessage() *TestAllExtensions_NestedMessage
- func (x *OptionalGroup) GetSameFieldNumber() int32
- func (*OptionalGroup) ProtoMessage()
- func (x *OptionalGroup) ProtoReflect() protoreflect.Message
- func (x *OptionalGroup) Reset()
- func (x *OptionalGroup) String() string
- type OtherRepeatedFieldEncoding
- type RepeatedFieldEncoding
- type RepeatedGroup
- func (*RepeatedGroup) Descriptor() ([]byte, []int)deprecated
- func (x *RepeatedGroup) GetA() int32
- func (x *RepeatedGroup) GetOptionalNestedMessage() *TestAllExtensions_NestedMessage
- func (*RepeatedGroup) ProtoMessage()
- func (x *RepeatedGroup) ProtoReflect() protoreflect.Message
- func (x *RepeatedGroup) Reset()
- func (x *RepeatedGroup) String() string
- type TestAllExtensions
- type TestAllExtensions_NestedMessage
- func (*TestAllExtensions_NestedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllExtensions_NestedMessage) GetA() int32
- func (x *TestAllExtensions_NestedMessage) GetCorecursive() *TestAllExtensions
- func (*TestAllExtensions_NestedMessage) ProtoMessage()
- func (x *TestAllExtensions_NestedMessage) ProtoReflect() protoreflect.Message
- func (x *TestAllExtensions_NestedMessage) Reset()
- func (x *TestAllExtensions_NestedMessage) String() string
- type TestAllTypes
- func (*TestAllTypes) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypes) GetDefaultBool() bool
- func (x *TestAllTypes) GetDefaultBytes() []byte
- func (x *TestAllTypes) GetDefaultDouble() float64
- func (x *TestAllTypes) GetDefaultFixed32() uint32
- func (x *TestAllTypes) GetDefaultFixed64() uint64
- func (x *TestAllTypes) GetDefaultFloat() float32
- func (x *TestAllTypes) GetDefaultForeignEnum() ForeignEnum
- func (x *TestAllTypes) GetDefaultInt32() int32
- func (x *TestAllTypes) GetDefaultInt64() int64
- func (x *TestAllTypes) GetDefaultNestedEnum() TestAllTypes_NestedEnum
- func (x *TestAllTypes) GetDefaultSfixed32() int32
- func (x *TestAllTypes) GetDefaultSfixed64() int64
- func (x *TestAllTypes) GetDefaultSint32() int32
- func (x *TestAllTypes) GetDefaultSint64() int64
- func (x *TestAllTypes) GetDefaultString() string
- func (x *TestAllTypes) GetDefaultUint32() uint32
- func (x *TestAllTypes) GetDefaultUint64() uint64
- 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) GetNotGroupLikeDelimited() *TestAllTypes_OptionalGroup
- 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 (m *TestAllTypes) GetOneofOptional() isTestAllTypes_OneofOptional
- func (x *TestAllTypes) GetOneofOptionalUint32() uint32
- func (x *TestAllTypes) GetOneofString() string
- func (x *TestAllTypes) GetOneofUint32() uint32
- func (x *TestAllTypes) GetOneofUint64() uint64
- func (x *TestAllTypes) GetOneofgroup() *TestAllTypes_OneofGroup
- 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) 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) GetOptionalgroup() *TestAllTypes_OptionalGroup
- 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) 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) GetRepeatedgroup() []*TestAllTypes_RepeatedGroup
- 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) GetSingularInt32() int32
- func (x *TestAllTypes) GetSingularInt64() int64
- 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
- func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum
- func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber
- func (x TestAllTypes_NestedEnum) String() string
- func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType
- type TestAllTypes_NestedMessage
- func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)deprecated
- 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
- type TestAllTypes_OneofBytes
- type TestAllTypes_OneofDouble
- type TestAllTypes_OneofEnum
- type TestAllTypes_OneofFloat
- type TestAllTypes_OneofGroup
- func (*TestAllTypes_OneofGroup) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypes_OneofGroup) GetA() int32
- func (x *TestAllTypes_OneofGroup) GetB() int32
- func (*TestAllTypes_OneofGroup) ProtoMessage()
- func (x *TestAllTypes_OneofGroup) ProtoReflect() protoreflect.Message
- func (x *TestAllTypes_OneofGroup) Reset()
- func (x *TestAllTypes_OneofGroup) String() string
- type TestAllTypes_OneofNestedMessage
- type TestAllTypes_OneofOptionalUint32
- type TestAllTypes_OneofString
- type TestAllTypes_OneofUint32
- type TestAllTypes_OneofUint64
- type TestAllTypes_Oneofgroup
- type TestAllTypes_OptionalGroup
- func (*TestAllTypes_OptionalGroup) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypes_OptionalGroup) GetA() int32
- func (x *TestAllTypes_OptionalGroup) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
- func (x *TestAllTypes_OptionalGroup) GetSameFieldNumber() int32
- func (*TestAllTypes_OptionalGroup) ProtoMessage()
- func (x *TestAllTypes_OptionalGroup) ProtoReflect() protoreflect.Message
- func (x *TestAllTypes_OptionalGroup) Reset()
- func (x *TestAllTypes_OptionalGroup) String() string
- type TestAllTypes_RepeatedGroup
- func (*TestAllTypes_RepeatedGroup) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypes_RepeatedGroup) GetA() int32
- func (x *TestAllTypes_RepeatedGroup) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
- func (*TestAllTypes_RepeatedGroup) ProtoMessage()
- func (x *TestAllTypes_RepeatedGroup) ProtoReflect() protoreflect.Message
- func (x *TestAllTypes_RepeatedGroup) Reset()
- func (x *TestAllTypes_RepeatedGroup) String() string
- type TestFeatureResolution
- type TestPackedExtensions
- type TestPackedTypes
- func (*TestPackedTypes) Descriptor() ([]byte, []int)deprecated
- func (x *TestPackedTypes) GetPackedBool() []bool
- func (x *TestPackedTypes) GetPackedDouble() []float64
- func (x *TestPackedTypes) GetPackedEnum() []ForeignEnum
- func (x *TestPackedTypes) GetPackedFixed32() []uint32
- func (x *TestPackedTypes) GetPackedFixed64() []uint64
- func (x *TestPackedTypes) GetPackedFloat() []float32
- func (x *TestPackedTypes) GetPackedInt32() []int32
- func (x *TestPackedTypes) GetPackedInt64() []int64
- func (x *TestPackedTypes) GetPackedSfixed32() []int32
- func (x *TestPackedTypes) GetPackedSfixed64() []int64
- func (x *TestPackedTypes) GetPackedSint32() []int32
- func (x *TestPackedTypes) GetPackedSint64() []int64
- func (x *TestPackedTypes) GetPackedUint32() []uint32
- func (x *TestPackedTypes) GetPackedUint64() []uint64
- func (*TestPackedTypes) ProtoMessage()
- func (x *TestPackedTypes) ProtoReflect() protoreflect.Message
- func (x *TestPackedTypes) Reset()
- func (x *TestPackedTypes) String() string
- type TestRequired
- type TestRequiredForeign
- func (*TestRequiredForeign) Descriptor() ([]byte, []int)deprecated
- func (x *TestRequiredForeign) GetMapMessage() map[int32]*TestRequired
- func (m *TestRequiredForeign) GetOneofField() isTestRequiredForeign_OneofField
- func (x *TestRequiredForeign) GetOneofMessage() *TestRequired
- func (x *TestRequiredForeign) GetOptionalMessage() *TestRequired
- func (x *TestRequiredForeign) GetRepeatedMessage() []*TestRequired
- func (*TestRequiredForeign) ProtoMessage()
- func (x *TestRequiredForeign) ProtoReflect() protoreflect.Message
- func (x *TestRequiredForeign) Reset()
- func (x *TestRequiredForeign) String() string
- type TestRequiredForeign_OneofMessage
- type TestRequiredGroupFields
- func (*TestRequiredGroupFields) Descriptor() ([]byte, []int)deprecated
- func (x *TestRequiredGroupFields) GetOptionalgroup() *TestRequiredGroupFields_OptionalGroup
- func (x *TestRequiredGroupFields) GetRepeatedgroup() []*TestRequiredGroupFields_RepeatedGroup
- func (*TestRequiredGroupFields) ProtoMessage()
- func (x *TestRequiredGroupFields) ProtoReflect() protoreflect.Message
- func (x *TestRequiredGroupFields) Reset()
- func (x *TestRequiredGroupFields) String() string
- type TestRequiredGroupFields_OptionalGroup
- func (*TestRequiredGroupFields_OptionalGroup) Descriptor() ([]byte, []int)deprecated
- func (x *TestRequiredGroupFields_OptionalGroup) GetA() int32
- func (*TestRequiredGroupFields_OptionalGroup) ProtoMessage()
- func (x *TestRequiredGroupFields_OptionalGroup) ProtoReflect() protoreflect.Message
- func (x *TestRequiredGroupFields_OptionalGroup) Reset()
- func (x *TestRequiredGroupFields_OptionalGroup) String() string
- type TestRequiredGroupFields_RepeatedGroup
- func (*TestRequiredGroupFields_RepeatedGroup) Descriptor() ([]byte, []int)deprecated
- func (x *TestRequiredGroupFields_RepeatedGroup) GetA() int32
- func (*TestRequiredGroupFields_RepeatedGroup) ProtoMessage()
- func (x *TestRequiredGroupFields_RepeatedGroup) ProtoReflect() protoreflect.Message
- func (x *TestRequiredGroupFields_RepeatedGroup) Reset()
- func (x *TestRequiredGroupFields_RepeatedGroup) String() string
Constants ¶
const ( Default_TestAllTypes_DefaultInt32 = int32(81) Default_TestAllTypes_DefaultInt64 = int64(82) Default_TestAllTypes_DefaultUint32 = uint32(83) Default_TestAllTypes_DefaultUint64 = uint64(84) Default_TestAllTypes_DefaultSint32 = int32(-85) Default_TestAllTypes_DefaultSint64 = int64(86) Default_TestAllTypes_DefaultFixed32 = uint32(87) Default_TestAllTypes_DefaultFixed64 = uint64(88) Default_TestAllTypes_DefaultSfixed32 = int32(89) Default_TestAllTypes_DefaultSfixed64 = int64(-90) Default_TestAllTypes_DefaultFloat = float32(91.5) Default_TestAllTypes_DefaultDouble = float64(92000) Default_TestAllTypes_DefaultBool = bool(true) Default_TestAllTypes_DefaultString = string("hello") Default_TestAllTypes_DefaultNestedEnum = TestAllTypes_BAR Default_TestAllTypes_DefaultForeignEnum = ForeignEnum_FOREIGN_BAR )
Default values for TestAllTypes fields.
Variables ¶
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 ForeignEnum.
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, } )
Enum value maps for TestAllTypes_NestedEnum.
var ( // repeated int32 packed_int32 = 90; E_PackedInt32 = &file_internal_testprotos_testeditions_test_proto_extTypes[0] // repeated int64 packed_int64 = 91; E_PackedInt64 = &file_internal_testprotos_testeditions_test_proto_extTypes[1] // repeated uint32 packed_uint32 = 92; E_PackedUint32 = &file_internal_testprotos_testeditions_test_proto_extTypes[2] // repeated uint64 packed_uint64 = 93; E_PackedUint64 = &file_internal_testprotos_testeditions_test_proto_extTypes[3] // repeated sint32 packed_sint32 = 94; E_PackedSint32 = &file_internal_testprotos_testeditions_test_proto_extTypes[4] // repeated sint64 packed_sint64 = 95; E_PackedSint64 = &file_internal_testprotos_testeditions_test_proto_extTypes[5] // repeated fixed32 packed_fixed32 = 96; E_PackedFixed32 = &file_internal_testprotos_testeditions_test_proto_extTypes[6] // repeated fixed64 packed_fixed64 = 97; E_PackedFixed64 = &file_internal_testprotos_testeditions_test_proto_extTypes[7] // repeated sfixed32 packed_sfixed32 = 98; E_PackedSfixed32 = &file_internal_testprotos_testeditions_test_proto_extTypes[8] // repeated sfixed64 packed_sfixed64 = 99; E_PackedSfixed64 = &file_internal_testprotos_testeditions_test_proto_extTypes[9] // repeated float packed_float = 100; E_PackedFloat = &file_internal_testprotos_testeditions_test_proto_extTypes[10] // repeated double packed_double = 101; E_PackedDouble = &file_internal_testprotos_testeditions_test_proto_extTypes[11] // repeated bool packed_bool = 102; E_PackedBool = &file_internal_testprotos_testeditions_test_proto_extTypes[12] // repeated goproto.proto.testeditions.ForeignEnum packed_enum = 103; E_PackedEnum = &file_internal_testprotos_testeditions_test_proto_extTypes[13] )
Extension fields to TestPackedExtensions.
var ( // optional int32 optional_int32 = 1; E_OptionalInt32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[0] // optional int64 optional_int64 = 2; E_OptionalInt64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[1] // optional uint32 optional_uint32 = 3; E_OptionalUint32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[2] // optional uint64 optional_uint64 = 4; E_OptionalUint64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[3] // optional sint32 optional_sint32 = 5; E_OptionalSint32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[4] // optional sint64 optional_sint64 = 6; E_OptionalSint64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[5] // optional fixed32 optional_fixed32 = 7; E_OptionalFixed32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[6] // optional fixed64 optional_fixed64 = 8; E_OptionalFixed64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[7] // optional sfixed32 optional_sfixed32 = 9; E_OptionalSfixed32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[8] // optional sfixed64 optional_sfixed64 = 10; E_OptionalSfixed64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[9] // optional float optional_float = 11; E_OptionalFloat = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[10] // optional double optional_double = 12; E_OptionalDouble = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[11] // optional bool optional_bool = 13; E_OptionalBool = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[12] // optional string optional_string = 14; E_OptionalString = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[13] // optional bytes optional_bytes = 15; E_OptionalBytes = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[14] // optional goproto.proto.testeditions.OptionalGroup optionalgroup = 16; E_Optionalgroup = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[15] // optional goproto.proto.testeditions.TestAllExtensions.NestedMessage optional_nested_message = 18; E_OptionalNestedMessage = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[16] // optional goproto.proto.testeditions.TestAllTypes.NestedEnum optional_nested_enum = 21; E_OptionalNestedEnum = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[17] // repeated int32 repeated_int32 = 31; E_RepeatedInt32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[18] // repeated int64 repeated_int64 = 32; E_RepeatedInt64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[19] // repeated uint32 repeated_uint32 = 33; E_RepeatedUint32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[20] // repeated uint64 repeated_uint64 = 34; E_RepeatedUint64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[21] // repeated sint32 repeated_sint32 = 35; E_RepeatedSint32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[22] // repeated sint64 repeated_sint64 = 36; E_RepeatedSint64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[23] // repeated fixed32 repeated_fixed32 = 37; E_RepeatedFixed32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[24] // repeated fixed64 repeated_fixed64 = 38; E_RepeatedFixed64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[25] // repeated sfixed32 repeated_sfixed32 = 39; E_RepeatedSfixed32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[26] // repeated sfixed64 repeated_sfixed64 = 40; E_RepeatedSfixed64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[27] // repeated float repeated_float = 41; E_RepeatedFloat = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[28] // repeated double repeated_double = 42; E_RepeatedDouble = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[29] // repeated bool repeated_bool = 43; E_RepeatedBool = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[30] // repeated string repeated_string = 44; E_RepeatedString = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[31] // repeated bytes repeated_bytes = 45; E_RepeatedBytes = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[32] // repeated goproto.proto.testeditions.RepeatedGroup repeatedgroup = 46; E_Repeatedgroup = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[33] // repeated goproto.proto.testeditions.TestAllExtensions.NestedMessage repeated_nested_message = 48; E_RepeatedNestedMessage = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[34] // repeated goproto.proto.testeditions.TestAllTypes.NestedEnum repeated_nested_enum = 51; E_RepeatedNestedEnum = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[35] // optional int32 default_int32 = 81; E_DefaultInt32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[36] // optional int64 default_int64 = 82; E_DefaultInt64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[37] // optional uint32 default_uint32 = 83; E_DefaultUint32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[38] // optional uint64 default_uint64 = 84; E_DefaultUint64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[39] // optional sint32 default_sint32 = 85; E_DefaultSint32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[40] // optional sint64 default_sint64 = 86; E_DefaultSint64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[41] // optional fixed32 default_fixed32 = 87; E_DefaultFixed32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[42] // optional fixed64 default_fixed64 = 88; E_DefaultFixed64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[43] // optional sfixed32 default_sfixed32 = 89; E_DefaultSfixed32 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[44] // optional sfixed64 default_sfixed64 = 80; E_DefaultSfixed64 = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[45] // optional float default_float = 91; E_DefaultFloat = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[46] // optional double default_double = 92; E_DefaultDouble = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[47] // optional bool default_bool = 93; E_DefaultBool = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[48] // optional string default_string = 94; E_DefaultString = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[49] // optional bytes default_bytes = 95; E_DefaultBytes = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[50] // optional goproto.proto.testeditions.TestRequired single = 1000; E_Single = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[51] // repeated goproto.proto.testeditions.TestRequired multi = 1001; E_Multi = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[52] )
Extension fields to TestAllExtensions.
var ( // repeated int32 global_expanded_extension = 2; E_GlobalExpandedExtension = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[53] // repeated int32 global_packed_extension_overriden = 3; E_GlobalPackedExtensionOverriden = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[54] // repeated int32 message_expanded_extension = 4; E_RepeatedFieldEncoding_MessageExpandedExtension = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[55] // repeated int32 message_packed_extension_overriden = 5; E_RepeatedFieldEncoding_MessagePackedExtensionOverriden = &file_internal_testprotos_testeditions_test_extension_proto_extTypes[56] )
Extension fields to TestFeatureResolution.
var ( // repeated int32 other_file_global_expanded_extension_overriden = 6; E_OtherFileGlobalExpandedExtensionOverriden = &file_internal_testprotos_testeditions_test_extension2_proto_extTypes[0] // repeated int32 other_file_global_packed_extension = 7; E_OtherFileGlobalPackedExtension = &file_internal_testprotos_testeditions_test_extension2_proto_extTypes[1] // repeated int32 other_file_message_expanded_extension_overriden = 8; E_OtherRepeatedFieldEncoding_OtherFileMessageExpandedExtensionOverriden = &file_internal_testprotos_testeditions_test_extension2_proto_extTypes[2] // repeated int32 other_file_message_packed_extension = 9; E_OtherRepeatedFieldEncoding_OtherFileMessagePackedExtension = &file_internal_testprotos_testeditions_test_extension2_proto_extTypes[3] )
Extension fields to TestFeatureResolution.
var (
Default_TestAllTypes_DefaultBytes = []byte("world")
)
Default values for TestAllTypes fields.
var File_internal_testprotos_testeditions_test_extension2_proto protoreflect.FileDescriptor
var File_internal_testprotos_testeditions_test_extension_proto protoreflect.FileDescriptor
var File_internal_testprotos_testeditions_test_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ForeignEnum ¶
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 ¶
func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
func (ForeignEnum) Enum ¶
func (x ForeignEnum) Enum() *ForeignEnum
func (ForeignEnum) EnumDescriptor
deprecated
func (ForeignEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForeignEnum.Descriptor instead.
func (ForeignEnum) Number ¶
func (x ForeignEnum) Number() protoreflect.EnumNumber
func (ForeignEnum) String ¶
func (x ForeignEnum) String() string
func (ForeignEnum) Type ¶
func (ForeignEnum) Type() protoreflect.EnumType
type ForeignMessage ¶
type ForeignMessage struct { C *int32 `protobuf:"varint,1,opt,name=c" json:"c,omitempty"` D *int32 `protobuf:"varint,2,opt,name=d" json:"d,omitempty"` // contains filtered or unexported fields }
func (*ForeignMessage) Descriptor
deprecated
func (*ForeignMessage) Descriptor() ([]byte, []int)
Deprecated: Use ForeignMessage.ProtoReflect.Descriptor instead.
func (*ForeignMessage) GetC ¶
func (x *ForeignMessage) GetC() int32
func (*ForeignMessage) GetD ¶
func (x *ForeignMessage) GetD() int32
func (*ForeignMessage) ProtoMessage ¶
func (*ForeignMessage) ProtoMessage()
func (*ForeignMessage) ProtoReflect ¶
func (x *ForeignMessage) ProtoReflect() protoreflect.Message
func (*ForeignMessage) Reset ¶
func (x *ForeignMessage) Reset()
func (*ForeignMessage) String ¶
func (x *ForeignMessage) String() string
type OptionalGroup ¶
type OptionalGroup struct { A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"` SameFieldNumber *int32 `protobuf:"varint,16,opt,name=same_field_number,json=sameFieldNumber" json:"same_field_number,omitempty"` OptionalNestedMessage *TestAllExtensions_NestedMessage `protobuf:"bytes,1000,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"` // contains filtered or unexported fields }
func (*OptionalGroup) Descriptor
deprecated
func (*OptionalGroup) Descriptor() ([]byte, []int)
Deprecated: Use OptionalGroup.ProtoReflect.Descriptor instead.
func (*OptionalGroup) GetA ¶
func (x *OptionalGroup) GetA() int32
func (*OptionalGroup) GetOptionalNestedMessage ¶
func (x *OptionalGroup) GetOptionalNestedMessage() *TestAllExtensions_NestedMessage
func (*OptionalGroup) GetSameFieldNumber ¶
func (x *OptionalGroup) GetSameFieldNumber() int32
func (*OptionalGroup) ProtoMessage ¶
func (*OptionalGroup) ProtoMessage()
func (*OptionalGroup) ProtoReflect ¶
func (x *OptionalGroup) ProtoReflect() protoreflect.Message
func (*OptionalGroup) Reset ¶
func (x *OptionalGroup) Reset()
func (*OptionalGroup) String ¶
func (x *OptionalGroup) String() string
type OtherRepeatedFieldEncoding ¶ added in v1.34.0
type OtherRepeatedFieldEncoding struct {
// contains filtered or unexported fields
}
func (*OtherRepeatedFieldEncoding) Descriptor
deprecated
added in
v1.34.0
func (*OtherRepeatedFieldEncoding) Descriptor() ([]byte, []int)
Deprecated: Use OtherRepeatedFieldEncoding.ProtoReflect.Descriptor instead.
func (*OtherRepeatedFieldEncoding) ProtoMessage ¶ added in v1.34.0
func (*OtherRepeatedFieldEncoding) ProtoMessage()
func (*OtherRepeatedFieldEncoding) ProtoReflect ¶ added in v1.34.0
func (x *OtherRepeatedFieldEncoding) ProtoReflect() protoreflect.Message
func (*OtherRepeatedFieldEncoding) Reset ¶ added in v1.34.0
func (x *OtherRepeatedFieldEncoding) Reset()
func (*OtherRepeatedFieldEncoding) String ¶ added in v1.34.0
func (x *OtherRepeatedFieldEncoding) String() string
type RepeatedFieldEncoding ¶ added in v1.34.0
type RepeatedFieldEncoding struct {
// contains filtered or unexported fields
}
func (*RepeatedFieldEncoding) Descriptor
deprecated
added in
v1.34.0
func (*RepeatedFieldEncoding) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedFieldEncoding.ProtoReflect.Descriptor instead.
func (*RepeatedFieldEncoding) ProtoMessage ¶ added in v1.34.0
func (*RepeatedFieldEncoding) ProtoMessage()
func (*RepeatedFieldEncoding) ProtoReflect ¶ added in v1.34.0
func (x *RepeatedFieldEncoding) ProtoReflect() protoreflect.Message
func (*RepeatedFieldEncoding) Reset ¶ added in v1.34.0
func (x *RepeatedFieldEncoding) Reset()
func (*RepeatedFieldEncoding) String ¶ added in v1.34.0
func (x *RepeatedFieldEncoding) String() string
type RepeatedGroup ¶
type RepeatedGroup struct { A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"` OptionalNestedMessage *TestAllExtensions_NestedMessage `protobuf:"bytes,1001,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"` // contains filtered or unexported fields }
func (*RepeatedGroup) Descriptor
deprecated
func (*RepeatedGroup) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedGroup.ProtoReflect.Descriptor instead.
func (*RepeatedGroup) GetA ¶
func (x *RepeatedGroup) GetA() int32
func (*RepeatedGroup) GetOptionalNestedMessage ¶
func (x *RepeatedGroup) GetOptionalNestedMessage() *TestAllExtensions_NestedMessage
func (*RepeatedGroup) ProtoMessage ¶
func (*RepeatedGroup) ProtoMessage()
func (*RepeatedGroup) ProtoReflect ¶
func (x *RepeatedGroup) ProtoReflect() protoreflect.Message
func (*RepeatedGroup) Reset ¶
func (x *RepeatedGroup) Reset()
func (*RepeatedGroup) String ¶
func (x *RepeatedGroup) String() string
type TestAllExtensions ¶
type TestAllExtensions struct {
// contains filtered or unexported fields
}
func (*TestAllExtensions) Descriptor
deprecated
func (*TestAllExtensions) Descriptor() ([]byte, []int)
Deprecated: Use TestAllExtensions.ProtoReflect.Descriptor instead.
func (*TestAllExtensions) ProtoMessage ¶
func (*TestAllExtensions) ProtoMessage()
func (*TestAllExtensions) ProtoReflect ¶
func (x *TestAllExtensions) ProtoReflect() protoreflect.Message
func (*TestAllExtensions) Reset ¶
func (x *TestAllExtensions) Reset()
func (*TestAllExtensions) String ¶
func (x *TestAllExtensions) String() string
type TestAllExtensions_NestedMessage ¶
type TestAllExtensions_NestedMessage struct { A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"` Corecursive *TestAllExtensions `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"` // contains filtered or unexported fields }
func (*TestAllExtensions_NestedMessage) Descriptor
deprecated
func (*TestAllExtensions_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllExtensions_NestedMessage.ProtoReflect.Descriptor instead.
func (*TestAllExtensions_NestedMessage) GetA ¶
func (x *TestAllExtensions_NestedMessage) GetA() int32
func (*TestAllExtensions_NestedMessage) GetCorecursive ¶
func (x *TestAllExtensions_NestedMessage) GetCorecursive() *TestAllExtensions
func (*TestAllExtensions_NestedMessage) ProtoMessage ¶
func (*TestAllExtensions_NestedMessage) ProtoMessage()
func (*TestAllExtensions_NestedMessage) ProtoReflect ¶
func (x *TestAllExtensions_NestedMessage) ProtoReflect() protoreflect.Message
func (*TestAllExtensions_NestedMessage) Reset ¶
func (x *TestAllExtensions_NestedMessage) Reset()
func (*TestAllExtensions_NestedMessage) String ¶
func (x *TestAllExtensions_NestedMessage) String() string
type TestAllTypes ¶
type TestAllTypes struct { SingularInt32 int32 `protobuf:"varint,124,opt,name=singular_int32,json=singularInt32" json:"singular_int32,omitempty"` SingularInt64 int64 `protobuf:"varint,125,opt,name=singular_int64,json=singularInt64" json:"singular_int64,omitempty"` SingularUint32 uint32 `protobuf:"varint,126,opt,name=singular_uint32,json=singularUint32" json:"singular_uint32,omitempty"` SingularUint64 uint64 `protobuf:"varint,127,opt,name=singular_uint64,json=singularUint64" json:"singular_uint64,omitempty"` SingularSint32 int32 `protobuf:"zigzag32,128,opt,name=singular_sint32,json=singularSint32" json:"singular_sint32,omitempty"` SingularSint64 int64 `protobuf:"zigzag64,129,opt,name=singular_sint64,json=singularSint64" json:"singular_sint64,omitempty"` SingularFixed32 uint32 `protobuf:"fixed32,130,opt,name=singular_fixed32,json=singularFixed32" json:"singular_fixed32,omitempty"` SingularFixed64 uint64 `protobuf:"fixed64,131,opt,name=singular_fixed64,json=singularFixed64" json:"singular_fixed64,omitempty"` SingularSfixed32 int32 `protobuf:"fixed32,132,opt,name=singular_sfixed32,json=singularSfixed32" json:"singular_sfixed32,omitempty"` SingularSfixed64 int64 `protobuf:"fixed64,133,opt,name=singular_sfixed64,json=singularSfixed64" json:"singular_sfixed64,omitempty"` SingularFloat float32 `protobuf:"fixed32,134,opt,name=singular_float,json=singularFloat" json:"singular_float,omitempty"` SingularDouble float64 `protobuf:"fixed64,135,opt,name=singular_double,json=singularDouble" json:"singular_double,omitempty"` SingularBool bool `protobuf:"varint,136,opt,name=singular_bool,json=singularBool" json:"singular_bool,omitempty"` SingularString string `protobuf:"bytes,137,opt,name=singular_string,json=singularString" json:"singular_string,omitempty"` SingularBytes []byte `protobuf:"bytes,138,opt,name=singular_bytes,json=singularBytes" json:"singular_bytes,omitempty"` OptionalInt32 *int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"` OptionalInt64 *int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"` OptionalUint32 *uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"` OptionalUint64 *uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"` OptionalSint32 *int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"` OptionalSint64 *int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"` OptionalFixed32 *uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"` OptionalFixed64 *uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"` OptionalSfixed32 *int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"` OptionalSfixed64 *int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"` OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"` OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"` OptionalBool *bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"` OptionalString *string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"` OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"` Optionalgroup *TestAllTypes_OptionalGroup `protobuf:"group,16,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"` NotGroupLikeDelimited *TestAllTypes_OptionalGroup `protobuf:"group,17,opt,name=OptionalGroup,json=notGroupLikeDelimited" json:"not_group_like_delimited,omitempty"` OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"` OptionalForeignMessage *ForeignMessage `protobuf:"bytes,19,opt,name=optional_foreign_message,json=optionalForeignMessage" json:"optional_foreign_message,omitempty"` OptionalNestedEnum *TestAllTypes_NestedEnum `` /* 168-byte string literal not displayed */ OptionalForeignEnum *ForeignEnum `` /* 159-byte string literal not displayed */ RepeatedInt32 []int32 `protobuf:"varint,31,rep,packed,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,32,rep,packed,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,33,rep,packed,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"` RepeatedUint64 []uint64 `protobuf:"varint,34,rep,packed,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"` RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,packed,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"` RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,packed,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"` RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,packed,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"` RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,packed,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"` RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"` RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"` RepeatedFloat []float32 `protobuf:"fixed32,41,rep,packed,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"` RepeatedDouble []float64 `protobuf:"fixed64,42,rep,packed,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"` RepeatedBool []bool `protobuf:"varint,43,rep,packed,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"` RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"` RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"` Repeatedgroup []*TestAllTypes_RepeatedGroup `protobuf:"group,46,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"` RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"` RepeatedForeignMessage []*ForeignMessage `protobuf:"bytes,49,rep,name=repeated_foreign_message,json=repeatedForeignMessage" json:"repeated_foreign_message,omitempty"` RepeatedNestedEnum []TestAllTypes_NestedEnum `` /* 175-byte string literal not displayed */ RepeatedForeignEnum []ForeignEnum `` /* 166-byte string literal not displayed */ MapInt32Int32 map[int32]int32 `` /* 172-byte string literal not displayed */ MapInt64Int64 map[int64]int64 `` /* 172-byte string literal not displayed */ MapUint32Uint32 map[uint32]uint32 `` /* 178-byte string literal not displayed */ MapUint64Uint64 map[uint64]uint64 `` /* 178-byte string literal not displayed */ MapSint32Sint32 map[int32]int32 `` /* 182-byte string literal not displayed */ MapSint64Sint64 map[int64]int64 `` /* 182-byte string literal not displayed */ MapFixed32Fixed32 map[uint32]uint32 `` /* 186-byte string literal not displayed */ MapFixed64Fixed64 map[uint64]uint64 `` /* 186-byte string literal not displayed */ MapSfixed32Sfixed32 map[int32]int32 `` /* 192-byte string literal not displayed */ MapSfixed64Sfixed64 map[int64]int64 `` /* 192-byte string literal not displayed */ MapInt32Float map[int32]float32 `` /* 173-byte string literal not displayed */ MapInt32Double map[int32]float64 `` /* 176-byte string literal not displayed */ MapBoolBool map[bool]bool `` /* 166-byte string literal not displayed */ MapStringString map[string]string `` /* 176-byte string literal not displayed */ MapStringBytes map[string][]byte `` /* 173-byte string literal not displayed */ MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `` /* 199-byte string literal not displayed */ MapStringNestedEnum map[string]TestAllTypes_NestedEnum `` /* 247-byte string literal not displayed */ // Singular with defaults DefaultInt32 *int32 `protobuf:"varint,81,opt,name=default_int32,json=defaultInt32,def=81" json:"default_int32,omitempty"` DefaultInt64 *int64 `protobuf:"varint,82,opt,name=default_int64,json=defaultInt64,def=82" json:"default_int64,omitempty"` DefaultUint32 *uint32 `protobuf:"varint,83,opt,name=default_uint32,json=defaultUint32,def=83" json:"default_uint32,omitempty"` DefaultUint64 *uint64 `protobuf:"varint,84,opt,name=default_uint64,json=defaultUint64,def=84" json:"default_uint64,omitempty"` DefaultSint32 *int32 `protobuf:"zigzag32,85,opt,name=default_sint32,json=defaultSint32,def=-85" json:"default_sint32,omitempty"` DefaultSint64 *int64 `protobuf:"zigzag64,86,opt,name=default_sint64,json=defaultSint64,def=86" json:"default_sint64,omitempty"` DefaultFixed32 *uint32 `protobuf:"fixed32,87,opt,name=default_fixed32,json=defaultFixed32,def=87" json:"default_fixed32,omitempty"` DefaultFixed64 *uint64 `protobuf:"fixed64,88,opt,name=default_fixed64,json=defaultFixed64,def=88" json:"default_fixed64,omitempty"` DefaultSfixed32 *int32 `protobuf:"fixed32,89,opt,name=default_sfixed32,json=defaultSfixed32,def=89" json:"default_sfixed32,omitempty"` DefaultSfixed64 *int64 `protobuf:"fixed64,80,opt,name=default_sfixed64,json=defaultSfixed64,def=-90" json:"default_sfixed64,omitempty"` DefaultFloat *float32 `protobuf:"fixed32,91,opt,name=default_float,json=defaultFloat,def=91.5" json:"default_float,omitempty"` DefaultDouble *float64 `protobuf:"fixed64,92,opt,name=default_double,json=defaultDouble,def=92000" json:"default_double,omitempty"` DefaultBool *bool `protobuf:"varint,93,opt,name=default_bool,json=defaultBool,def=1" json:"default_bool,omitempty"` DefaultString *string `protobuf:"bytes,94,opt,name=default_string,json=defaultString,def=hello" json:"default_string,omitempty"` DefaultBytes []byte `protobuf:"bytes,95,opt,name=default_bytes,json=defaultBytes,def=world" json:"default_bytes,omitempty"` DefaultNestedEnum *TestAllTypes_NestedEnum `` /* 171-byte string literal not displayed */ DefaultForeignEnum *ForeignEnum `` /* 162-byte string literal not displayed */ // Types that are assignable to OneofField: // // *TestAllTypes_OneofUint32 // *TestAllTypes_OneofNestedMessage // *TestAllTypes_OneofString // *TestAllTypes_OneofBytes // *TestAllTypes_OneofBool // *TestAllTypes_OneofUint64 // *TestAllTypes_OneofFloat // *TestAllTypes_OneofDouble // *TestAllTypes_OneofEnum // *TestAllTypes_Oneofgroup OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"` // A oneof with exactly one field. // // Types that are assignable to OneofOptional: // // *TestAllTypes_OneofOptionalUint32 OneofOptional isTestAllTypes_OneofOptional `protobuf_oneof:"oneof_optional"` // contains filtered or unexported fields }
func (*TestAllTypes) Descriptor
deprecated
func (*TestAllTypes) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes.ProtoReflect.Descriptor instead.
func (*TestAllTypes) GetDefaultBool ¶
func (x *TestAllTypes) GetDefaultBool() bool
func (*TestAllTypes) GetDefaultBytes ¶
func (x *TestAllTypes) GetDefaultBytes() []byte
func (*TestAllTypes) GetDefaultDouble ¶
func (x *TestAllTypes) GetDefaultDouble() float64
func (*TestAllTypes) GetDefaultFixed32 ¶
func (x *TestAllTypes) GetDefaultFixed32() uint32
func (*TestAllTypes) GetDefaultFixed64 ¶
func (x *TestAllTypes) GetDefaultFixed64() uint64
func (*TestAllTypes) GetDefaultFloat ¶
func (x *TestAllTypes) GetDefaultFloat() float32
func (*TestAllTypes) GetDefaultForeignEnum ¶
func (x *TestAllTypes) GetDefaultForeignEnum() ForeignEnum
func (*TestAllTypes) GetDefaultInt32 ¶
func (x *TestAllTypes) GetDefaultInt32() int32
func (*TestAllTypes) GetDefaultInt64 ¶
func (x *TestAllTypes) GetDefaultInt64() int64
func (*TestAllTypes) GetDefaultNestedEnum ¶
func (x *TestAllTypes) GetDefaultNestedEnum() TestAllTypes_NestedEnum
func (*TestAllTypes) GetDefaultSfixed32 ¶
func (x *TestAllTypes) GetDefaultSfixed32() int32
func (*TestAllTypes) GetDefaultSfixed64 ¶
func (x *TestAllTypes) GetDefaultSfixed64() int64
func (*TestAllTypes) GetDefaultSint32 ¶
func (x *TestAllTypes) GetDefaultSint32() int32
func (*TestAllTypes) GetDefaultSint64 ¶
func (x *TestAllTypes) GetDefaultSint64() int64
func (*TestAllTypes) GetDefaultString ¶
func (x *TestAllTypes) GetDefaultString() string
func (*TestAllTypes) GetDefaultUint32 ¶
func (x *TestAllTypes) GetDefaultUint32() uint32
func (*TestAllTypes) GetDefaultUint64 ¶
func (x *TestAllTypes) GetDefaultUint64() uint64
func (*TestAllTypes) GetMapBoolBool ¶
func (x *TestAllTypes) GetMapBoolBool() map[bool]bool
func (*TestAllTypes) GetMapFixed32Fixed32 ¶
func (x *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32
func (*TestAllTypes) GetMapFixed64Fixed64 ¶
func (x *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64
func (*TestAllTypes) GetMapInt32Double ¶
func (x *TestAllTypes) GetMapInt32Double() map[int32]float64
func (*TestAllTypes) GetMapInt32Float ¶
func (x *TestAllTypes) GetMapInt32Float() map[int32]float32
func (*TestAllTypes) GetMapInt32Int32 ¶
func (x *TestAllTypes) GetMapInt32Int32() map[int32]int32
func (*TestAllTypes) GetMapInt64Int64 ¶
func (x *TestAllTypes) GetMapInt64Int64() map[int64]int64
func (*TestAllTypes) GetMapSfixed32Sfixed32 ¶
func (x *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32
func (*TestAllTypes) GetMapSfixed64Sfixed64 ¶
func (x *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64
func (*TestAllTypes) GetMapSint32Sint32 ¶
func (x *TestAllTypes) GetMapSint32Sint32() map[int32]int32
func (*TestAllTypes) GetMapSint64Sint64 ¶
func (x *TestAllTypes) GetMapSint64Sint64() map[int64]int64
func (*TestAllTypes) GetMapStringBytes ¶
func (x *TestAllTypes) GetMapStringBytes() map[string][]byte
func (*TestAllTypes) GetMapStringNestedEnum ¶
func (x *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum
func (*TestAllTypes) GetMapStringNestedMessage ¶
func (x *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage
func (*TestAllTypes) GetMapStringString ¶
func (x *TestAllTypes) GetMapStringString() map[string]string
func (*TestAllTypes) GetMapUint32Uint32 ¶
func (x *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32
func (*TestAllTypes) GetMapUint64Uint64 ¶
func (x *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64
func (*TestAllTypes) GetNotGroupLikeDelimited ¶ added in v1.34.0
func (x *TestAllTypes) GetNotGroupLikeDelimited() *TestAllTypes_OptionalGroup
func (*TestAllTypes) GetOneofBool ¶
func (x *TestAllTypes) GetOneofBool() bool
func (*TestAllTypes) GetOneofBytes ¶
func (x *TestAllTypes) GetOneofBytes() []byte
func (*TestAllTypes) GetOneofDouble ¶
func (x *TestAllTypes) GetOneofDouble() float64
func (*TestAllTypes) GetOneofEnum ¶
func (x *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum
func (*TestAllTypes) GetOneofField ¶
func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField
func (*TestAllTypes) GetOneofFloat ¶
func (x *TestAllTypes) GetOneofFloat() float32
func (*TestAllTypes) GetOneofNestedMessage ¶
func (x *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes) GetOneofOptional ¶
func (m *TestAllTypes) GetOneofOptional() isTestAllTypes_OneofOptional
func (*TestAllTypes) GetOneofOptionalUint32 ¶
func (x *TestAllTypes) GetOneofOptionalUint32() uint32
func (*TestAllTypes) GetOneofString ¶
func (x *TestAllTypes) GetOneofString() string
func (*TestAllTypes) GetOneofUint32 ¶
func (x *TestAllTypes) GetOneofUint32() uint32
func (*TestAllTypes) GetOneofUint64 ¶
func (x *TestAllTypes) GetOneofUint64() uint64
func (*TestAllTypes) GetOneofgroup ¶
func (x *TestAllTypes) GetOneofgroup() *TestAllTypes_OneofGroup
func (*TestAllTypes) GetOptionalBool ¶
func (x *TestAllTypes) GetOptionalBool() bool
func (*TestAllTypes) GetOptionalBytes ¶
func (x *TestAllTypes) GetOptionalBytes() []byte
func (*TestAllTypes) GetOptionalDouble ¶
func (x *TestAllTypes) GetOptionalDouble() float64
func (*TestAllTypes) GetOptionalFixed32 ¶
func (x *TestAllTypes) GetOptionalFixed32() uint32
func (*TestAllTypes) GetOptionalFixed64 ¶
func (x *TestAllTypes) GetOptionalFixed64() uint64
func (*TestAllTypes) GetOptionalFloat ¶
func (x *TestAllTypes) GetOptionalFloat() float32
func (*TestAllTypes) GetOptionalForeignEnum ¶
func (x *TestAllTypes) GetOptionalForeignEnum() ForeignEnum
func (*TestAllTypes) GetOptionalForeignMessage ¶
func (x *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage
func (*TestAllTypes) GetOptionalInt32 ¶
func (x *TestAllTypes) GetOptionalInt32() int32
func (*TestAllTypes) GetOptionalInt64 ¶
func (x *TestAllTypes) GetOptionalInt64() int64
func (*TestAllTypes) GetOptionalNestedEnum ¶
func (x *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum
func (*TestAllTypes) GetOptionalNestedMessage ¶
func (x *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes) GetOptionalSfixed32 ¶
func (x *TestAllTypes) GetOptionalSfixed32() int32
func (*TestAllTypes) GetOptionalSfixed64 ¶
func (x *TestAllTypes) GetOptionalSfixed64() int64
func (*TestAllTypes) GetOptionalSint32 ¶
func (x *TestAllTypes) GetOptionalSint32() int32
func (*TestAllTypes) GetOptionalSint64 ¶
func (x *TestAllTypes) GetOptionalSint64() int64
func (*TestAllTypes) GetOptionalString ¶
func (x *TestAllTypes) GetOptionalString() string
func (*TestAllTypes) GetOptionalUint32 ¶
func (x *TestAllTypes) GetOptionalUint32() uint32
func (*TestAllTypes) GetOptionalUint64 ¶
func (x *TestAllTypes) GetOptionalUint64() uint64
func (*TestAllTypes) GetOptionalgroup ¶
func (x *TestAllTypes) GetOptionalgroup() *TestAllTypes_OptionalGroup
func (*TestAllTypes) GetRepeatedBool ¶
func (x *TestAllTypes) GetRepeatedBool() []bool
func (*TestAllTypes) GetRepeatedBytes ¶
func (x *TestAllTypes) GetRepeatedBytes() [][]byte
func (*TestAllTypes) GetRepeatedDouble ¶
func (x *TestAllTypes) GetRepeatedDouble() []float64
func (*TestAllTypes) GetRepeatedFixed32 ¶
func (x *TestAllTypes) GetRepeatedFixed32() []uint32
func (*TestAllTypes) GetRepeatedFixed64 ¶
func (x *TestAllTypes) GetRepeatedFixed64() []uint64
func (*TestAllTypes) GetRepeatedFloat ¶
func (x *TestAllTypes) GetRepeatedFloat() []float32
func (*TestAllTypes) GetRepeatedForeignEnum ¶
func (x *TestAllTypes) GetRepeatedForeignEnum() []ForeignEnum
func (*TestAllTypes) GetRepeatedForeignMessage ¶
func (x *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage
func (*TestAllTypes) GetRepeatedInt32 ¶
func (x *TestAllTypes) GetRepeatedInt32() []int32
func (*TestAllTypes) GetRepeatedInt64 ¶
func (x *TestAllTypes) GetRepeatedInt64() []int64
func (*TestAllTypes) GetRepeatedNestedEnum ¶
func (x *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum
func (*TestAllTypes) GetRepeatedNestedMessage ¶
func (x *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage
func (*TestAllTypes) GetRepeatedSfixed32 ¶
func (x *TestAllTypes) GetRepeatedSfixed32() []int32
func (*TestAllTypes) GetRepeatedSfixed64 ¶
func (x *TestAllTypes) GetRepeatedSfixed64() []int64
func (*TestAllTypes) GetRepeatedSint32 ¶
func (x *TestAllTypes) GetRepeatedSint32() []int32
func (*TestAllTypes) GetRepeatedSint64 ¶
func (x *TestAllTypes) GetRepeatedSint64() []int64
func (*TestAllTypes) GetRepeatedString ¶
func (x *TestAllTypes) GetRepeatedString() []string
func (*TestAllTypes) GetRepeatedUint32 ¶
func (x *TestAllTypes) GetRepeatedUint32() []uint32
func (*TestAllTypes) GetRepeatedUint64 ¶
func (x *TestAllTypes) GetRepeatedUint64() []uint64
func (*TestAllTypes) GetRepeatedgroup ¶
func (x *TestAllTypes) GetRepeatedgroup() []*TestAllTypes_RepeatedGroup
func (*TestAllTypes) GetSingularBool ¶
func (x *TestAllTypes) GetSingularBool() bool
func (*TestAllTypes) GetSingularBytes ¶
func (x *TestAllTypes) GetSingularBytes() []byte
func (*TestAllTypes) GetSingularDouble ¶
func (x *TestAllTypes) GetSingularDouble() float64
func (*TestAllTypes) GetSingularFixed32 ¶
func (x *TestAllTypes) GetSingularFixed32() uint32
func (*TestAllTypes) GetSingularFixed64 ¶
func (x *TestAllTypes) GetSingularFixed64() uint64
func (*TestAllTypes) GetSingularFloat ¶
func (x *TestAllTypes) GetSingularFloat() float32
func (*TestAllTypes) GetSingularInt32 ¶
func (x *TestAllTypes) GetSingularInt32() int32
func (*TestAllTypes) GetSingularInt64 ¶
func (x *TestAllTypes) GetSingularInt64() int64
func (*TestAllTypes) GetSingularSfixed32 ¶
func (x *TestAllTypes) GetSingularSfixed32() int32
func (*TestAllTypes) GetSingularSfixed64 ¶
func (x *TestAllTypes) GetSingularSfixed64() int64
func (*TestAllTypes) GetSingularSint32 ¶
func (x *TestAllTypes) GetSingularSint32() int32
func (*TestAllTypes) GetSingularSint64 ¶
func (x *TestAllTypes) GetSingularSint64() int64
func (*TestAllTypes) GetSingularString ¶
func (x *TestAllTypes) GetSingularString() string
func (*TestAllTypes) GetSingularUint32 ¶
func (x *TestAllTypes) GetSingularUint32() uint32
func (*TestAllTypes) GetSingularUint64 ¶
func (x *TestAllTypes) GetSingularUint64() uint64
func (*TestAllTypes) ProtoMessage ¶
func (*TestAllTypes) ProtoMessage()
func (*TestAllTypes) ProtoReflect ¶
func (x *TestAllTypes) ProtoReflect() protoreflect.Message
func (*TestAllTypes) Reset ¶
func (x *TestAllTypes) Reset()
func (*TestAllTypes) String ¶
func (x *TestAllTypes) String() string
type TestAllTypes_NestedEnum ¶
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 ¶
func (TestAllTypes_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (TestAllTypes_NestedEnum) Enum ¶
func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum
func (TestAllTypes_NestedEnum) EnumDescriptor
deprecated
func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedEnum.Descriptor instead.
func (TestAllTypes_NestedEnum) Number ¶
func (x TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber
func (TestAllTypes_NestedEnum) String ¶
func (x TestAllTypes_NestedEnum) String() string
func (TestAllTypes_NestedEnum) Type ¶
func (TestAllTypes_NestedEnum) Type() protoreflect.EnumType
type TestAllTypes_NestedMessage ¶
type TestAllTypes_NestedMessage struct { A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"` Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypes_NestedMessage) Descriptor
deprecated
func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_NestedMessage.ProtoReflect.Descriptor instead.
func (*TestAllTypes_NestedMessage) GetA ¶
func (x *TestAllTypes_NestedMessage) GetA() int32
func (*TestAllTypes_NestedMessage) GetCorecursive ¶
func (x *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes
func (*TestAllTypes_NestedMessage) ProtoMessage ¶
func (*TestAllTypes_NestedMessage) ProtoMessage()
func (*TestAllTypes_NestedMessage) ProtoReflect ¶
func (x *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message
func (*TestAllTypes_NestedMessage) Reset ¶
func (x *TestAllTypes_NestedMessage) Reset()
func (*TestAllTypes_NestedMessage) String ¶
func (x *TestAllTypes_NestedMessage) String() string
type TestAllTypes_OneofBool ¶
type TestAllTypes_OneofBool struct {
OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"`
}
type TestAllTypes_OneofBytes ¶
type TestAllTypes_OneofBytes struct {
OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,oneof"`
}
type TestAllTypes_OneofDouble ¶
type TestAllTypes_OneofDouble struct {
OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"`
}
type TestAllTypes_OneofEnum ¶
type TestAllTypes_OneofEnum struct {
OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,enum=goproto.proto.testeditions.TestAllTypes_NestedEnum,oneof"`
}
type TestAllTypes_OneofFloat ¶
type TestAllTypes_OneofFloat struct {
OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"`
}
type TestAllTypes_OneofGroup ¶
type TestAllTypes_OneofGroup struct { A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"` B *int32 `protobuf:"varint,2,opt,name=b" json:"b,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypes_OneofGroup) Descriptor
deprecated
func (*TestAllTypes_OneofGroup) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_OneofGroup.ProtoReflect.Descriptor instead.
func (*TestAllTypes_OneofGroup) GetA ¶
func (x *TestAllTypes_OneofGroup) GetA() int32
func (*TestAllTypes_OneofGroup) GetB ¶
func (x *TestAllTypes_OneofGroup) GetB() int32
func (*TestAllTypes_OneofGroup) ProtoMessage ¶
func (*TestAllTypes_OneofGroup) ProtoMessage()
func (*TestAllTypes_OneofGroup) ProtoReflect ¶
func (x *TestAllTypes_OneofGroup) ProtoReflect() protoreflect.Message
func (*TestAllTypes_OneofGroup) Reset ¶
func (x *TestAllTypes_OneofGroup) Reset()
func (*TestAllTypes_OneofGroup) String ¶
func (x *TestAllTypes_OneofGroup) String() string
type TestAllTypes_OneofNestedMessage ¶
type TestAllTypes_OneofNestedMessage struct {
OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"`
}
type TestAllTypes_OneofOptionalUint32 ¶
type TestAllTypes_OneofOptionalUint32 struct {
OneofOptionalUint32 uint32 `protobuf:"varint,120,opt,name=oneof_optional_uint32,json=oneofOptionalUint32,oneof"`
}
type TestAllTypes_OneofString ¶
type TestAllTypes_OneofString struct {
OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"`
}
type TestAllTypes_OneofUint32 ¶
type TestAllTypes_OneofUint32 struct {
OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"`
}
type TestAllTypes_OneofUint64 ¶
type TestAllTypes_OneofUint64 struct {
OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"`
}
type TestAllTypes_Oneofgroup ¶
type TestAllTypes_Oneofgroup struct {
Oneofgroup *TestAllTypes_OneofGroup `protobuf:"group,121,opt,name=OneofGroup,json=oneofgroup,oneof"`
}
type TestAllTypes_OptionalGroup ¶
type TestAllTypes_OptionalGroup struct { A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"` OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,1000,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"` SameFieldNumber *int32 `protobuf:"varint,16,opt,name=same_field_number,json=sameFieldNumber" json:"same_field_number,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypes_OptionalGroup) Descriptor
deprecated
func (*TestAllTypes_OptionalGroup) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_OptionalGroup.ProtoReflect.Descriptor instead.
func (*TestAllTypes_OptionalGroup) GetA ¶
func (x *TestAllTypes_OptionalGroup) GetA() int32
func (*TestAllTypes_OptionalGroup) GetOptionalNestedMessage ¶
func (x *TestAllTypes_OptionalGroup) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes_OptionalGroup) GetSameFieldNumber ¶
func (x *TestAllTypes_OptionalGroup) GetSameFieldNumber() int32
func (*TestAllTypes_OptionalGroup) ProtoMessage ¶
func (*TestAllTypes_OptionalGroup) ProtoMessage()
func (*TestAllTypes_OptionalGroup) ProtoReflect ¶
func (x *TestAllTypes_OptionalGroup) ProtoReflect() protoreflect.Message
func (*TestAllTypes_OptionalGroup) Reset ¶
func (x *TestAllTypes_OptionalGroup) Reset()
func (*TestAllTypes_OptionalGroup) String ¶
func (x *TestAllTypes_OptionalGroup) String() string
type TestAllTypes_RepeatedGroup ¶
type TestAllTypes_RepeatedGroup struct { A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"` OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,1001,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypes_RepeatedGroup) Descriptor
deprecated
func (*TestAllTypes_RepeatedGroup) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypes_RepeatedGroup.ProtoReflect.Descriptor instead.
func (*TestAllTypes_RepeatedGroup) GetA ¶
func (x *TestAllTypes_RepeatedGroup) GetA() int32
func (*TestAllTypes_RepeatedGroup) GetOptionalNestedMessage ¶
func (x *TestAllTypes_RepeatedGroup) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes_RepeatedGroup) ProtoMessage ¶
func (*TestAllTypes_RepeatedGroup) ProtoMessage()
func (*TestAllTypes_RepeatedGroup) ProtoReflect ¶
func (x *TestAllTypes_RepeatedGroup) ProtoReflect() protoreflect.Message
func (*TestAllTypes_RepeatedGroup) Reset ¶
func (x *TestAllTypes_RepeatedGroup) Reset()
func (*TestAllTypes_RepeatedGroup) String ¶
func (x *TestAllTypes_RepeatedGroup) String() string
type TestFeatureResolution ¶ added in v1.34.0
type TestFeatureResolution struct {
// contains filtered or unexported fields
}
func (*TestFeatureResolution) Descriptor
deprecated
added in
v1.34.0
func (*TestFeatureResolution) Descriptor() ([]byte, []int)
Deprecated: Use TestFeatureResolution.ProtoReflect.Descriptor instead.
func (*TestFeatureResolution) ProtoMessage ¶ added in v1.34.0
func (*TestFeatureResolution) ProtoMessage()
func (*TestFeatureResolution) ProtoReflect ¶ added in v1.34.0
func (x *TestFeatureResolution) ProtoReflect() protoreflect.Message
func (*TestFeatureResolution) Reset ¶ added in v1.34.0
func (x *TestFeatureResolution) Reset()
func (*TestFeatureResolution) String ¶ added in v1.34.0
func (x *TestFeatureResolution) String() string
type TestPackedExtensions ¶
type TestPackedExtensions struct {
// contains filtered or unexported fields
}
func (*TestPackedExtensions) Descriptor
deprecated
func (*TestPackedExtensions) Descriptor() ([]byte, []int)
Deprecated: Use TestPackedExtensions.ProtoReflect.Descriptor instead.
func (*TestPackedExtensions) ProtoMessage ¶
func (*TestPackedExtensions) ProtoMessage()
func (*TestPackedExtensions) ProtoReflect ¶
func (x *TestPackedExtensions) ProtoReflect() protoreflect.Message
func (*TestPackedExtensions) Reset ¶
func (x *TestPackedExtensions) Reset()
func (*TestPackedExtensions) String ¶
func (x *TestPackedExtensions) String() string
type TestPackedTypes ¶
type TestPackedTypes struct { PackedInt32 []int32 `protobuf:"varint,90,rep,packed,name=packed_int32,json=packedInt32" json:"packed_int32,omitempty"` PackedInt64 []int64 `protobuf:"varint,91,rep,packed,name=packed_int64,json=packedInt64" json:"packed_int64,omitempty"` PackedUint32 []uint32 `protobuf:"varint,92,rep,packed,name=packed_uint32,json=packedUint32" json:"packed_uint32,omitempty"` PackedUint64 []uint64 `protobuf:"varint,93,rep,packed,name=packed_uint64,json=packedUint64" json:"packed_uint64,omitempty"` PackedSint32 []int32 `protobuf:"zigzag32,94,rep,packed,name=packed_sint32,json=packedSint32" json:"packed_sint32,omitempty"` PackedSint64 []int64 `protobuf:"zigzag64,95,rep,packed,name=packed_sint64,json=packedSint64" json:"packed_sint64,omitempty"` PackedFixed32 []uint32 `protobuf:"fixed32,96,rep,packed,name=packed_fixed32,json=packedFixed32" json:"packed_fixed32,omitempty"` PackedFixed64 []uint64 `protobuf:"fixed64,97,rep,packed,name=packed_fixed64,json=packedFixed64" json:"packed_fixed64,omitempty"` PackedSfixed32 []int32 `protobuf:"fixed32,98,rep,packed,name=packed_sfixed32,json=packedSfixed32" json:"packed_sfixed32,omitempty"` PackedSfixed64 []int64 `protobuf:"fixed64,99,rep,packed,name=packed_sfixed64,json=packedSfixed64" json:"packed_sfixed64,omitempty"` PackedFloat []float32 `protobuf:"fixed32,100,rep,packed,name=packed_float,json=packedFloat" json:"packed_float,omitempty"` PackedDouble []float64 `protobuf:"fixed64,101,rep,packed,name=packed_double,json=packedDouble" json:"packed_double,omitempty"` PackedBool []bool `protobuf:"varint,102,rep,packed,name=packed_bool,json=packedBool" json:"packed_bool,omitempty"` PackedEnum []ForeignEnum `` /* 138-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TestPackedTypes) Descriptor
deprecated
func (*TestPackedTypes) Descriptor() ([]byte, []int)
Deprecated: Use TestPackedTypes.ProtoReflect.Descriptor instead.
func (*TestPackedTypes) GetPackedBool ¶
func (x *TestPackedTypes) GetPackedBool() []bool
func (*TestPackedTypes) GetPackedDouble ¶
func (x *TestPackedTypes) GetPackedDouble() []float64
func (*TestPackedTypes) GetPackedEnum ¶
func (x *TestPackedTypes) GetPackedEnum() []ForeignEnum
func (*TestPackedTypes) GetPackedFixed32 ¶
func (x *TestPackedTypes) GetPackedFixed32() []uint32
func (*TestPackedTypes) GetPackedFixed64 ¶
func (x *TestPackedTypes) GetPackedFixed64() []uint64
func (*TestPackedTypes) GetPackedFloat ¶
func (x *TestPackedTypes) GetPackedFloat() []float32
func (*TestPackedTypes) GetPackedInt32 ¶
func (x *TestPackedTypes) GetPackedInt32() []int32
func (*TestPackedTypes) GetPackedInt64 ¶
func (x *TestPackedTypes) GetPackedInt64() []int64
func (*TestPackedTypes) GetPackedSfixed32 ¶
func (x *TestPackedTypes) GetPackedSfixed32() []int32
func (*TestPackedTypes) GetPackedSfixed64 ¶
func (x *TestPackedTypes) GetPackedSfixed64() []int64
func (*TestPackedTypes) GetPackedSint32 ¶
func (x *TestPackedTypes) GetPackedSint32() []int32
func (*TestPackedTypes) GetPackedSint64 ¶
func (x *TestPackedTypes) GetPackedSint64() []int64
func (*TestPackedTypes) GetPackedUint32 ¶
func (x *TestPackedTypes) GetPackedUint32() []uint32
func (*TestPackedTypes) GetPackedUint64 ¶
func (x *TestPackedTypes) GetPackedUint64() []uint64
func (*TestPackedTypes) ProtoMessage ¶
func (*TestPackedTypes) ProtoMessage()
func (*TestPackedTypes) ProtoReflect ¶
func (x *TestPackedTypes) ProtoReflect() protoreflect.Message
func (*TestPackedTypes) Reset ¶
func (x *TestPackedTypes) Reset()
func (*TestPackedTypes) String ¶
func (x *TestPackedTypes) String() string
type TestRequired ¶
type TestRequired struct { RequiredField *int32 `protobuf:"varint,1,req,name=required_field,json=requiredField" json:"required_field,omitempty"` // contains filtered or unexported fields }
func (*TestRequired) Descriptor
deprecated
func (*TestRequired) Descriptor() ([]byte, []int)
Deprecated: Use TestRequired.ProtoReflect.Descriptor instead.
func (*TestRequired) GetRequiredField ¶
func (x *TestRequired) GetRequiredField() int32
func (*TestRequired) ProtoMessage ¶
func (*TestRequired) ProtoMessage()
func (*TestRequired) ProtoReflect ¶
func (x *TestRequired) ProtoReflect() protoreflect.Message
func (*TestRequired) Reset ¶
func (x *TestRequired) Reset()
func (*TestRequired) String ¶
func (x *TestRequired) String() string
type TestRequiredForeign ¶
type TestRequiredForeign struct { OptionalMessage *TestRequired `protobuf:"bytes,1,opt,name=optional_message,json=optionalMessage" json:"optional_message,omitempty"` RepeatedMessage []*TestRequired `protobuf:"bytes,2,rep,name=repeated_message,json=repeatedMessage" json:"repeated_message,omitempty"` MapMessage map[int32]*TestRequired `` /* 159-byte string literal not displayed */ // Types that are assignable to OneofField: // // *TestRequiredForeign_OneofMessage OneofField isTestRequiredForeign_OneofField `protobuf_oneof:"oneof_field"` // contains filtered or unexported fields }
func (*TestRequiredForeign) Descriptor
deprecated
func (*TestRequiredForeign) Descriptor() ([]byte, []int)
Deprecated: Use TestRequiredForeign.ProtoReflect.Descriptor instead.
func (*TestRequiredForeign) GetMapMessage ¶
func (x *TestRequiredForeign) GetMapMessage() map[int32]*TestRequired
func (*TestRequiredForeign) GetOneofField ¶
func (m *TestRequiredForeign) GetOneofField() isTestRequiredForeign_OneofField
func (*TestRequiredForeign) GetOneofMessage ¶
func (x *TestRequiredForeign) GetOneofMessage() *TestRequired
func (*TestRequiredForeign) GetOptionalMessage ¶
func (x *TestRequiredForeign) GetOptionalMessage() *TestRequired
func (*TestRequiredForeign) GetRepeatedMessage ¶
func (x *TestRequiredForeign) GetRepeatedMessage() []*TestRequired
func (*TestRequiredForeign) ProtoMessage ¶
func (*TestRequiredForeign) ProtoMessage()
func (*TestRequiredForeign) ProtoReflect ¶
func (x *TestRequiredForeign) ProtoReflect() protoreflect.Message
func (*TestRequiredForeign) Reset ¶
func (x *TestRequiredForeign) Reset()
func (*TestRequiredForeign) String ¶
func (x *TestRequiredForeign) String() string
type TestRequiredForeign_OneofMessage ¶
type TestRequiredForeign_OneofMessage struct {
OneofMessage *TestRequired `protobuf:"bytes,4,opt,name=oneof_message,json=oneofMessage,oneof"`
}
type TestRequiredGroupFields ¶
type TestRequiredGroupFields struct { Optionalgroup *TestRequiredGroupFields_OptionalGroup `protobuf:"group,1,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"` Repeatedgroup []*TestRequiredGroupFields_RepeatedGroup `protobuf:"group,3,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"` // contains filtered or unexported fields }
func (*TestRequiredGroupFields) Descriptor
deprecated
func (*TestRequiredGroupFields) Descriptor() ([]byte, []int)
Deprecated: Use TestRequiredGroupFields.ProtoReflect.Descriptor instead.
func (*TestRequiredGroupFields) GetOptionalgroup ¶
func (x *TestRequiredGroupFields) GetOptionalgroup() *TestRequiredGroupFields_OptionalGroup
func (*TestRequiredGroupFields) GetRepeatedgroup ¶
func (x *TestRequiredGroupFields) GetRepeatedgroup() []*TestRequiredGroupFields_RepeatedGroup
func (*TestRequiredGroupFields) ProtoMessage ¶
func (*TestRequiredGroupFields) ProtoMessage()
func (*TestRequiredGroupFields) ProtoReflect ¶
func (x *TestRequiredGroupFields) ProtoReflect() protoreflect.Message
func (*TestRequiredGroupFields) Reset ¶
func (x *TestRequiredGroupFields) Reset()
func (*TestRequiredGroupFields) String ¶
func (x *TestRequiredGroupFields) String() string
type TestRequiredGroupFields_OptionalGroup ¶
type TestRequiredGroupFields_OptionalGroup struct { A *int32 `protobuf:"varint,2,req,name=a" json:"a,omitempty"` // contains filtered or unexported fields }
func (*TestRequiredGroupFields_OptionalGroup) Descriptor
deprecated
func (*TestRequiredGroupFields_OptionalGroup) Descriptor() ([]byte, []int)
Deprecated: Use TestRequiredGroupFields_OptionalGroup.ProtoReflect.Descriptor instead.
func (*TestRequiredGroupFields_OptionalGroup) GetA ¶
func (x *TestRequiredGroupFields_OptionalGroup) GetA() int32
func (*TestRequiredGroupFields_OptionalGroup) ProtoMessage ¶
func (*TestRequiredGroupFields_OptionalGroup) ProtoMessage()
func (*TestRequiredGroupFields_OptionalGroup) ProtoReflect ¶
func (x *TestRequiredGroupFields_OptionalGroup) ProtoReflect() protoreflect.Message
func (*TestRequiredGroupFields_OptionalGroup) Reset ¶
func (x *TestRequiredGroupFields_OptionalGroup) Reset()
func (*TestRequiredGroupFields_OptionalGroup) String ¶
func (x *TestRequiredGroupFields_OptionalGroup) String() string
type TestRequiredGroupFields_RepeatedGroup ¶
type TestRequiredGroupFields_RepeatedGroup struct { A *int32 `protobuf:"varint,4,req,name=a" json:"a,omitempty"` // contains filtered or unexported fields }
func (*TestRequiredGroupFields_RepeatedGroup) Descriptor
deprecated
func (*TestRequiredGroupFields_RepeatedGroup) Descriptor() ([]byte, []int)
Deprecated: Use TestRequiredGroupFields_RepeatedGroup.ProtoReflect.Descriptor instead.
func (*TestRequiredGroupFields_RepeatedGroup) GetA ¶
func (x *TestRequiredGroupFields_RepeatedGroup) GetA() int32
func (*TestRequiredGroupFields_RepeatedGroup) ProtoMessage ¶
func (*TestRequiredGroupFields_RepeatedGroup) ProtoMessage()
func (*TestRequiredGroupFields_RepeatedGroup) ProtoReflect ¶
func (x *TestRequiredGroupFields_RepeatedGroup) ProtoReflect() protoreflect.Message
func (*TestRequiredGroupFields_RepeatedGroup) Reset ¶
func (x *TestRequiredGroupFields_RepeatedGroup) Reset()
func (*TestRequiredGroupFields_RepeatedGroup) String ¶
func (x *TestRequiredGroupFields_RepeatedGroup) String() string