Documentation ¶
Index ¶
- Constants
- Variables
- type EnumOnlyProto2
- type EnumOnlyProto2_Bool
- func (EnumOnlyProto2_Bool) Descriptor() protoreflect.EnumDescriptor
- func (x EnumOnlyProto2_Bool) Enum() *EnumOnlyProto2_Bool
- func (EnumOnlyProto2_Bool) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnumOnlyProto2_Bool) Number() protoreflect.EnumNumber
- func (x EnumOnlyProto2_Bool) String() string
- func (EnumOnlyProto2_Bool) Type() protoreflect.EnumType
- type EnumOnlyProto3
- type EnumOnlyProto3_Bool
- func (EnumOnlyProto3_Bool) Descriptor() protoreflect.EnumDescriptor
- func (x EnumOnlyProto3_Bool) Enum() *EnumOnlyProto3_Bool
- func (EnumOnlyProto3_Bool) EnumDescriptor() ([]byte, []int)deprecated
- func (x EnumOnlyProto3_Bool) Number() protoreflect.EnumNumber
- func (x EnumOnlyProto3_Bool) String() string
- func (EnumOnlyProto3_Bool) Type() protoreflect.EnumType
- 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 ForeignEnumProto2
- func (ForeignEnumProto2) Descriptor() protoreflect.EnumDescriptor
- func (x ForeignEnumProto2) Enum() *ForeignEnumProto2
- func (ForeignEnumProto2) EnumDescriptor() ([]byte, []int)deprecated
- func (x ForeignEnumProto2) Number() protoreflect.EnumNumber
- func (x ForeignEnumProto2) String() string
- func (ForeignEnumProto2) Type() protoreflect.EnumType
- type ForeignMessage
- type ForeignMessageProto2
- func (*ForeignMessageProto2) Descriptor() ([]byte, []int)deprecated
- func (x *ForeignMessageProto2) GetC() int32
- func (*ForeignMessageProto2) ProtoMessage()
- func (x *ForeignMessageProto2) ProtoReflect() protoreflect.Message
- func (x *ForeignMessageProto2) Reset()
- func (x *ForeignMessageProto2) String() string
- type GroupField
- func (*GroupField) Descriptor() ([]byte, []int)deprecated
- func (x *GroupField) GetGroupInt32() int32
- func (x *GroupField) GetGroupUint32() uint32
- func (*GroupField) ProtoMessage()
- func (x *GroupField) ProtoReflect() protoreflect.Message
- func (x *GroupField) Reset()
- func (x *GroupField) String() string
- type NullHypothesisProto2
- type NullHypothesisProto3
- type OneStringProto2
- type ProtoWithKeywords
- func (*ProtoWithKeywords) Descriptor() ([]byte, []int)deprecated
- func (x *ProtoWithKeywords) GetConcept() string
- func (x *ProtoWithKeywords) GetInline() int32
- func (x *ProtoWithKeywords) GetRequires() []string
- func (*ProtoWithKeywords) ProtoMessage()
- func (x *ProtoWithKeywords) ProtoReflect() protoreflect.Message
- func (x *ProtoWithKeywords) Reset()
- func (x *ProtoWithKeywords) String() string
- type TestAllRequiredTypesProto2
- func (*TestAllRequiredTypesProto2) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllRequiredTypesProto2) GetData() *TestAllRequiredTypesProto2_Data
- func (x *TestAllRequiredTypesProto2) GetDefaultBool() bool
- func (x *TestAllRequiredTypesProto2) GetDefaultBytes() []byte
- func (x *TestAllRequiredTypesProto2) GetDefaultDouble() float64
- func (x *TestAllRequiredTypesProto2) GetDefaultFixed32() uint32
- func (x *TestAllRequiredTypesProto2) GetDefaultFixed64() uint64
- func (x *TestAllRequiredTypesProto2) GetDefaultFloat() float32
- func (x *TestAllRequiredTypesProto2) GetDefaultInt32() int32
- func (x *TestAllRequiredTypesProto2) GetDefaultInt64() int64
- func (x *TestAllRequiredTypesProto2) GetDefaultSfixed32() int32
- func (x *TestAllRequiredTypesProto2) GetDefaultSfixed64() int64
- func (x *TestAllRequiredTypesProto2) GetDefaultSint32() int32
- func (x *TestAllRequiredTypesProto2) GetDefaultSint64() int64
- func (x *TestAllRequiredTypesProto2) GetDefaultString() string
- func (x *TestAllRequiredTypesProto2) GetDefaultUint32() uint32
- func (x *TestAllRequiredTypesProto2) GetDefaultUint64() uint64
- func (x *TestAllRequiredTypesProto2) GetOptionalRecursiveMessage() *TestAllRequiredTypesProto2
- func (x *TestAllRequiredTypesProto2) GetRecursiveMessage() *TestAllRequiredTypesProto2
- func (x *TestAllRequiredTypesProto2) GetRequiredBool() bool
- func (x *TestAllRequiredTypesProto2) GetRequiredBytes() []byte
- func (x *TestAllRequiredTypesProto2) GetRequiredCord() string
- func (x *TestAllRequiredTypesProto2) GetRequiredDouble() float64
- func (x *TestAllRequiredTypesProto2) GetRequiredFixed32() uint32
- func (x *TestAllRequiredTypesProto2) GetRequiredFixed64() uint64
- func (x *TestAllRequiredTypesProto2) GetRequiredFloat() float32
- func (x *TestAllRequiredTypesProto2) GetRequiredForeignEnum() ForeignEnumProto2
- func (x *TestAllRequiredTypesProto2) GetRequiredForeignMessage() *ForeignMessageProto2
- func (x *TestAllRequiredTypesProto2) GetRequiredInt32() int32
- func (x *TestAllRequiredTypesProto2) GetRequiredInt64() int64
- func (x *TestAllRequiredTypesProto2) GetRequiredNestedEnum() TestAllRequiredTypesProto2_NestedEnum
- func (x *TestAllRequiredTypesProto2) GetRequiredNestedMessage() *TestAllRequiredTypesProto2_NestedMessage
- func (x *TestAllRequiredTypesProto2) GetRequiredSfixed32() int32
- func (x *TestAllRequiredTypesProto2) GetRequiredSfixed64() int64
- func (x *TestAllRequiredTypesProto2) GetRequiredSint32() int32
- func (x *TestAllRequiredTypesProto2) GetRequiredSint64() int64
- func (x *TestAllRequiredTypesProto2) GetRequiredString() string
- func (x *TestAllRequiredTypesProto2) GetRequiredStringPiece() string
- func (x *TestAllRequiredTypesProto2) GetRequiredUint32() uint32
- func (x *TestAllRequiredTypesProto2) GetRequiredUint64() uint64
- func (*TestAllRequiredTypesProto2) ProtoMessage()
- func (x *TestAllRequiredTypesProto2) ProtoReflect() protoreflect.Message
- func (x *TestAllRequiredTypesProto2) Reset()
- func (x *TestAllRequiredTypesProto2) String() string
- type TestAllRequiredTypesProto2_Data
- func (*TestAllRequiredTypesProto2_Data) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllRequiredTypesProto2_Data) GetGroupInt32() int32
- func (x *TestAllRequiredTypesProto2_Data) GetGroupUint32() uint32
- func (*TestAllRequiredTypesProto2_Data) ProtoMessage()
- func (x *TestAllRequiredTypesProto2_Data) ProtoReflect() protoreflect.Message
- func (x *TestAllRequiredTypesProto2_Data) Reset()
- func (x *TestAllRequiredTypesProto2_Data) String() string
- type TestAllRequiredTypesProto2_MessageSetCorrect
- func (*TestAllRequiredTypesProto2_MessageSetCorrect) Descriptor() ([]byte, []int)deprecated
- func (*TestAllRequiredTypesProto2_MessageSetCorrect) ProtoMessage()
- func (x *TestAllRequiredTypesProto2_MessageSetCorrect) ProtoReflect() protoreflect.Message
- func (x *TestAllRequiredTypesProto2_MessageSetCorrect) Reset()
- func (x *TestAllRequiredTypesProto2_MessageSetCorrect) String() string
- type TestAllRequiredTypesProto2_MessageSetCorrectExtension1
- func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) GetStr() string
- func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoMessage()
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoReflect() protoreflect.Message
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Reset()
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) String() string
- type TestAllRequiredTypesProto2_MessageSetCorrectExtension2
- func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) GetI() int32
- func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoMessage()
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoReflect() protoreflect.Message
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Reset()
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) String() string
- type TestAllRequiredTypesProto2_NestedEnum
- func (TestAllRequiredTypesProto2_NestedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestAllRequiredTypesProto2_NestedEnum) Enum() *TestAllRequiredTypesProto2_NestedEnum
- func (TestAllRequiredTypesProto2_NestedEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestAllRequiredTypesProto2_NestedEnum) Number() protoreflect.EnumNumber
- func (x TestAllRequiredTypesProto2_NestedEnum) String() string
- func (TestAllRequiredTypesProto2_NestedEnum) Type() protoreflect.EnumType
- type TestAllRequiredTypesProto2_NestedMessage
- func (*TestAllRequiredTypesProto2_NestedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllRequiredTypesProto2_NestedMessage) GetA() int32
- func (x *TestAllRequiredTypesProto2_NestedMessage) GetCorecursive() *TestAllRequiredTypesProto2
- func (x *TestAllRequiredTypesProto2_NestedMessage) GetOptionalCorecursive() *TestAllRequiredTypesProto2
- func (*TestAllRequiredTypesProto2_NestedMessage) ProtoMessage()
- func (x *TestAllRequiredTypesProto2_NestedMessage) ProtoReflect() protoreflect.Message
- func (x *TestAllRequiredTypesProto2_NestedMessage) Reset()
- func (x *TestAllRequiredTypesProto2_NestedMessage) String() string
- type TestAllTypesProto2
- func (*TestAllTypesProto2) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypesProto2) GetData() *TestAllTypesProto2_Data
- func (x *TestAllTypesProto2) GetDefaultBool() bool
- func (x *TestAllTypesProto2) GetDefaultBytes() []byte
- func (x *TestAllTypesProto2) GetDefaultDouble() float64
- func (x *TestAllTypesProto2) GetDefaultFixed32() uint32
- func (x *TestAllTypesProto2) GetDefaultFixed64() uint64
- func (x *TestAllTypesProto2) GetDefaultFloat() float32
- func (x *TestAllTypesProto2) GetDefaultInt32() int32
- func (x *TestAllTypesProto2) GetDefaultInt64() int64
- func (x *TestAllTypesProto2) GetDefaultSfixed32() int32
- func (x *TestAllTypesProto2) GetDefaultSfixed64() int64
- func (x *TestAllTypesProto2) GetDefaultSint32() int32
- func (x *TestAllTypesProto2) GetDefaultSint64() int64
- func (x *TestAllTypesProto2) GetDefaultString() string
- func (x *TestAllTypesProto2) GetDefaultUint32() uint32
- func (x *TestAllTypesProto2) GetDefaultUint64() uint64
- func (x *TestAllTypesProto2) GetFIELDName12() int32
- func (x *TestAllTypesProto2) GetFIELD_NAME11() int32
- func (x *TestAllTypesProto2) GetField0Name5() int32
- func (x *TestAllTypesProto2) GetFieldName17__() int32
- func (x *TestAllTypesProto2) GetFieldName18__() int32
- func (x *TestAllTypesProto2) GetFieldName2() int32
- func (x *TestAllTypesProto2) GetFieldName7() int32
- func (x *TestAllTypesProto2) GetFieldName8() int32
- func (x *TestAllTypesProto2) GetField_0Name6() int32
- func (x *TestAllTypesProto2) GetField_Name10() int32
- func (x *TestAllTypesProto2) GetField_Name15() int32
- func (x *TestAllTypesProto2) GetField_Name4_() int32
- func (x *TestAllTypesProto2) GetField_Name9() int32
- func (x *TestAllTypesProto2) GetField__Name16() int32
- func (x *TestAllTypesProto2) GetFieldname1() int32
- func (x *TestAllTypesProto2) GetMapBoolBool() map[bool]bool
- func (x *TestAllTypesProto2) GetMapFixed32Fixed32() map[uint32]uint32
- func (x *TestAllTypesProto2) GetMapFixed64Fixed64() map[uint64]uint64
- func (x *TestAllTypesProto2) GetMapInt32Double() map[int32]float64
- func (x *TestAllTypesProto2) GetMapInt32Float() map[int32]float32
- func (x *TestAllTypesProto2) GetMapInt32Int32() map[int32]int32
- func (x *TestAllTypesProto2) GetMapInt64Int64() map[int64]int64
- func (x *TestAllTypesProto2) GetMapSfixed32Sfixed32() map[int32]int32
- func (x *TestAllTypesProto2) GetMapSfixed64Sfixed64() map[int64]int64
- func (x *TestAllTypesProto2) GetMapSint32Sint32() map[int32]int32
- func (x *TestAllTypesProto2) GetMapSint64Sint64() map[int64]int64
- func (x *TestAllTypesProto2) GetMapStringBytes() map[string][]byte
- func (x *TestAllTypesProto2) GetMapStringForeignEnum() map[string]ForeignEnumProto2
- func (x *TestAllTypesProto2) GetMapStringForeignMessage() map[string]*ForeignMessageProto2
- func (x *TestAllTypesProto2) GetMapStringNestedEnum() map[string]TestAllTypesProto2_NestedEnum
- func (x *TestAllTypesProto2) GetMapStringNestedMessage() map[string]*TestAllTypesProto2_NestedMessage
- func (x *TestAllTypesProto2) GetMapStringString() map[string]string
- func (x *TestAllTypesProto2) GetMapUint32Uint32() map[uint32]uint32
- func (x *TestAllTypesProto2) GetMapUint64Uint64() map[uint64]uint64
- func (x *TestAllTypesProto2) GetMultiwordgroupfield() *TestAllTypesProto2_MultiWordGroupField
- func (x *TestAllTypesProto2) GetOneofBool() bool
- func (x *TestAllTypesProto2) GetOneofBytes() []byte
- func (x *TestAllTypesProto2) GetOneofDouble() float64
- func (x *TestAllTypesProto2) GetOneofEnum() TestAllTypesProto2_NestedEnum
- func (m *TestAllTypesProto2) GetOneofField() isTestAllTypesProto2_OneofField
- func (x *TestAllTypesProto2) GetOneofFloat() float32
- func (x *TestAllTypesProto2) GetOneofNestedMessage() *TestAllTypesProto2_NestedMessage
- func (x *TestAllTypesProto2) GetOneofString() string
- func (x *TestAllTypesProto2) GetOneofUint32() uint32
- func (x *TestAllTypesProto2) GetOneofUint64() uint64
- func (x *TestAllTypesProto2) GetOptionalBool() bool
- func (x *TestAllTypesProto2) GetOptionalBytes() []byte
- func (x *TestAllTypesProto2) GetOptionalCord() string
- func (x *TestAllTypesProto2) GetOptionalDouble() float64
- func (x *TestAllTypesProto2) GetOptionalFixed32() uint32
- func (x *TestAllTypesProto2) GetOptionalFixed64() uint64
- func (x *TestAllTypesProto2) GetOptionalFloat() float32
- func (x *TestAllTypesProto2) GetOptionalForeignEnum() ForeignEnumProto2
- func (x *TestAllTypesProto2) GetOptionalForeignMessage() *ForeignMessageProto2
- func (x *TestAllTypesProto2) GetOptionalInt32() int32
- func (x *TestAllTypesProto2) GetOptionalInt64() int64
- func (x *TestAllTypesProto2) GetOptionalNestedEnum() TestAllTypesProto2_NestedEnum
- func (x *TestAllTypesProto2) GetOptionalNestedMessage() *TestAllTypesProto2_NestedMessage
- func (x *TestAllTypesProto2) GetOptionalSfixed32() int32
- func (x *TestAllTypesProto2) GetOptionalSfixed64() int64
- func (x *TestAllTypesProto2) GetOptionalSint32() int32
- func (x *TestAllTypesProto2) GetOptionalSint64() int64
- func (x *TestAllTypesProto2) GetOptionalString() string
- func (x *TestAllTypesProto2) GetOptionalStringPiece() string
- func (x *TestAllTypesProto2) GetOptionalUint32() uint32
- func (x *TestAllTypesProto2) GetOptionalUint64() uint64
- func (x *TestAllTypesProto2) GetPackedBool() []bool
- func (x *TestAllTypesProto2) GetPackedDouble() []float64
- func (x *TestAllTypesProto2) GetPackedFixed32() []uint32
- func (x *TestAllTypesProto2) GetPackedFixed64() []uint64
- func (x *TestAllTypesProto2) GetPackedFloat() []float32
- func (x *TestAllTypesProto2) GetPackedInt32() []int32
- func (x *TestAllTypesProto2) GetPackedInt64() []int64
- func (x *TestAllTypesProto2) GetPackedNestedEnum() []TestAllTypesProto2_NestedEnum
- func (x *TestAllTypesProto2) GetPackedSfixed32() []int32
- func (x *TestAllTypesProto2) GetPackedSfixed64() []int64
- func (x *TestAllTypesProto2) GetPackedSint32() []int32
- func (x *TestAllTypesProto2) GetPackedSint64() []int64
- func (x *TestAllTypesProto2) GetPackedUint32() []uint32
- func (x *TestAllTypesProto2) GetPackedUint64() []uint64
- func (x *TestAllTypesProto2) GetRecursiveMessage() *TestAllTypesProto2
- func (x *TestAllTypesProto2) GetRepeatedBool() []bool
- func (x *TestAllTypesProto2) GetRepeatedBytes() [][]byte
- func (x *TestAllTypesProto2) GetRepeatedCord() []string
- func (x *TestAllTypesProto2) GetRepeatedDouble() []float64
- func (x *TestAllTypesProto2) GetRepeatedFixed32() []uint32
- func (x *TestAllTypesProto2) GetRepeatedFixed64() []uint64
- func (x *TestAllTypesProto2) GetRepeatedFloat() []float32
- func (x *TestAllTypesProto2) GetRepeatedForeignEnum() []ForeignEnumProto2
- func (x *TestAllTypesProto2) GetRepeatedForeignMessage() []*ForeignMessageProto2
- func (x *TestAllTypesProto2) GetRepeatedInt32() []int32
- func (x *TestAllTypesProto2) GetRepeatedInt64() []int64
- func (x *TestAllTypesProto2) GetRepeatedNestedEnum() []TestAllTypesProto2_NestedEnum
- func (x *TestAllTypesProto2) GetRepeatedNestedMessage() []*TestAllTypesProto2_NestedMessage
- func (x *TestAllTypesProto2) GetRepeatedSfixed32() []int32
- func (x *TestAllTypesProto2) GetRepeatedSfixed64() []int64
- func (x *TestAllTypesProto2) GetRepeatedSint32() []int32
- func (x *TestAllTypesProto2) GetRepeatedSint64() []int64
- func (x *TestAllTypesProto2) GetRepeatedString() []string
- func (x *TestAllTypesProto2) GetRepeatedStringPiece() []string
- func (x *TestAllTypesProto2) GetRepeatedUint32() []uint32
- func (x *TestAllTypesProto2) GetRepeatedUint64() []uint64
- func (x *TestAllTypesProto2) GetUnpackedBool() []bool
- func (x *TestAllTypesProto2) GetUnpackedDouble() []float64
- func (x *TestAllTypesProto2) GetUnpackedFixed32() []uint32
- func (x *TestAllTypesProto2) GetUnpackedFixed64() []uint64
- func (x *TestAllTypesProto2) GetUnpackedFloat() []float32
- func (x *TestAllTypesProto2) GetUnpackedInt32() []int32
- func (x *TestAllTypesProto2) GetUnpackedInt64() []int64
- func (x *TestAllTypesProto2) GetUnpackedNestedEnum() []TestAllTypesProto2_NestedEnum
- func (x *TestAllTypesProto2) GetUnpackedSfixed32() []int32
- func (x *TestAllTypesProto2) GetUnpackedSfixed64() []int64
- func (x *TestAllTypesProto2) GetUnpackedSint32() []int32
- func (x *TestAllTypesProto2) GetUnpackedSint64() []int64
- func (x *TestAllTypesProto2) GetUnpackedUint32() []uint32
- func (x *TestAllTypesProto2) GetUnpackedUint64() []uint64
- func (x *TestAllTypesProto2) GetXFieldName13() int32
- func (x *TestAllTypesProto2) GetXFieldName3() int32
- func (x *TestAllTypesProto2) GetX_FieldName14() int32
- func (*TestAllTypesProto2) ProtoMessage()
- func (x *TestAllTypesProto2) ProtoReflect() protoreflect.Message
- func (x *TestAllTypesProto2) Reset()
- func (x *TestAllTypesProto2) String() string
- type TestAllTypesProto2_Data
- func (*TestAllTypesProto2_Data) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypesProto2_Data) GetGroupInt32() int32
- func (x *TestAllTypesProto2_Data) GetGroupUint32() uint32
- func (*TestAllTypesProto2_Data) ProtoMessage()
- func (x *TestAllTypesProto2_Data) ProtoReflect() protoreflect.Message
- func (x *TestAllTypesProto2_Data) Reset()
- func (x *TestAllTypesProto2_Data) String() string
- type TestAllTypesProto2_MessageSetCorrect
- func (*TestAllTypesProto2_MessageSetCorrect) Descriptor() ([]byte, []int)deprecated
- func (*TestAllTypesProto2_MessageSetCorrect) ProtoMessage()
- func (x *TestAllTypesProto2_MessageSetCorrect) ProtoReflect() protoreflect.Message
- func (x *TestAllTypesProto2_MessageSetCorrect) Reset()
- func (x *TestAllTypesProto2_MessageSetCorrect) String() string
- type TestAllTypesProto2_MessageSetCorrectExtension1
- func (*TestAllTypesProto2_MessageSetCorrectExtension1) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypesProto2_MessageSetCorrectExtension1) GetStr() string
- func (*TestAllTypesProto2_MessageSetCorrectExtension1) ProtoMessage()
- func (x *TestAllTypesProto2_MessageSetCorrectExtension1) ProtoReflect() protoreflect.Message
- func (x *TestAllTypesProto2_MessageSetCorrectExtension1) Reset()
- func (x *TestAllTypesProto2_MessageSetCorrectExtension1) String() string
- type TestAllTypesProto2_MessageSetCorrectExtension2
- func (*TestAllTypesProto2_MessageSetCorrectExtension2) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypesProto2_MessageSetCorrectExtension2) GetI() int32
- func (*TestAllTypesProto2_MessageSetCorrectExtension2) ProtoMessage()
- func (x *TestAllTypesProto2_MessageSetCorrectExtension2) ProtoReflect() protoreflect.Message
- func (x *TestAllTypesProto2_MessageSetCorrectExtension2) Reset()
- func (x *TestAllTypesProto2_MessageSetCorrectExtension2) String() string
- type TestAllTypesProto2_MultiWordGroupField
- func (*TestAllTypesProto2_MultiWordGroupField) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypesProto2_MultiWordGroupField) GetGroupInt32() int32
- func (x *TestAllTypesProto2_MultiWordGroupField) GetGroupUint32() uint32
- func (*TestAllTypesProto2_MultiWordGroupField) ProtoMessage()
- func (x *TestAllTypesProto2_MultiWordGroupField) ProtoReflect() protoreflect.Message
- func (x *TestAllTypesProto2_MultiWordGroupField) Reset()
- func (x *TestAllTypesProto2_MultiWordGroupField) String() string
- type TestAllTypesProto2_NestedEnum
- func (TestAllTypesProto2_NestedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestAllTypesProto2_NestedEnum) Enum() *TestAllTypesProto2_NestedEnum
- func (TestAllTypesProto2_NestedEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestAllTypesProto2_NestedEnum) Number() protoreflect.EnumNumber
- func (x TestAllTypesProto2_NestedEnum) String() string
- func (TestAllTypesProto2_NestedEnum) Type() protoreflect.EnumType
- type TestAllTypesProto2_NestedMessage
- func (*TestAllTypesProto2_NestedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypesProto2_NestedMessage) GetA() int32
- func (x *TestAllTypesProto2_NestedMessage) GetCorecursive() *TestAllTypesProto2
- func (*TestAllTypesProto2_NestedMessage) ProtoMessage()
- func (x *TestAllTypesProto2_NestedMessage) ProtoReflect() protoreflect.Message
- func (x *TestAllTypesProto2_NestedMessage) Reset()
- func (x *TestAllTypesProto2_NestedMessage) String() string
- type TestAllTypesProto2_OneofBool
- type TestAllTypesProto2_OneofBytes
- type TestAllTypesProto2_OneofDouble
- type TestAllTypesProto2_OneofEnum
- type TestAllTypesProto2_OneofFloat
- type TestAllTypesProto2_OneofNestedMessage
- type TestAllTypesProto2_OneofString
- type TestAllTypesProto2_OneofUint32
- type TestAllTypesProto2_OneofUint64
- type TestAllTypesProto3
- func (*TestAllTypesProto3) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypesProto3) GetFIELDName12() int32
- func (x *TestAllTypesProto3) GetFIELD_NAME11() int32
- func (x *TestAllTypesProto3) GetField0Name5() int32
- func (x *TestAllTypesProto3) GetFieldName17__() int32
- func (x *TestAllTypesProto3) GetFieldName18__() int32
- func (x *TestAllTypesProto3) GetFieldName2() int32
- func (x *TestAllTypesProto3) GetFieldName7() int32
- func (x *TestAllTypesProto3) GetFieldName8() int32
- func (x *TestAllTypesProto3) GetField_0Name6() int32
- func (x *TestAllTypesProto3) GetField_Name10() int32
- func (x *TestAllTypesProto3) GetField_Name15() int32
- func (x *TestAllTypesProto3) GetField_Name4_() int32
- func (x *TestAllTypesProto3) GetField_Name9() int32
- func (x *TestAllTypesProto3) GetField__Name16() int32
- func (x *TestAllTypesProto3) GetFieldname1() int32
- func (x *TestAllTypesProto3) GetMapBoolBool() map[bool]bool
- func (x *TestAllTypesProto3) GetMapFixed32Fixed32() map[uint32]uint32
- func (x *TestAllTypesProto3) GetMapFixed64Fixed64() map[uint64]uint64
- func (x *TestAllTypesProto3) GetMapInt32Double() map[int32]float64
- func (x *TestAllTypesProto3) GetMapInt32Float() map[int32]float32
- func (x *TestAllTypesProto3) GetMapInt32Int32() map[int32]int32
- func (x *TestAllTypesProto3) GetMapInt64Int64() map[int64]int64
- func (x *TestAllTypesProto3) GetMapSfixed32Sfixed32() map[int32]int32
- func (x *TestAllTypesProto3) GetMapSfixed64Sfixed64() map[int64]int64
- func (x *TestAllTypesProto3) GetMapSint32Sint32() map[int32]int32
- func (x *TestAllTypesProto3) GetMapSint64Sint64() map[int64]int64
- func (x *TestAllTypesProto3) GetMapStringBytes() map[string][]byte
- func (x *TestAllTypesProto3) GetMapStringForeignEnum() map[string]ForeignEnum
- func (x *TestAllTypesProto3) GetMapStringForeignMessage() map[string]*ForeignMessage
- func (x *TestAllTypesProto3) GetMapStringNestedEnum() map[string]TestAllTypesProto3_NestedEnum
- func (x *TestAllTypesProto3) GetMapStringNestedMessage() map[string]*TestAllTypesProto3_NestedMessage
- func (x *TestAllTypesProto3) GetMapStringString() map[string]string
- func (x *TestAllTypesProto3) GetMapUint32Uint32() map[uint32]uint32
- func (x *TestAllTypesProto3) GetMapUint64Uint64() map[uint64]uint64
- func (x *TestAllTypesProto3) GetOneofBool() bool
- func (x *TestAllTypesProto3) GetOneofBytes() []byte
- func (x *TestAllTypesProto3) GetOneofDouble() float64
- func (x *TestAllTypesProto3) GetOneofEnum() TestAllTypesProto3_NestedEnum
- func (m *TestAllTypesProto3) GetOneofField() isTestAllTypesProto3_OneofField
- func (x *TestAllTypesProto3) GetOneofFloat() float32
- func (x *TestAllTypesProto3) GetOneofNestedMessage() *TestAllTypesProto3_NestedMessage
- func (x *TestAllTypesProto3) GetOneofNullValue() structpb.NullValue
- func (x *TestAllTypesProto3) GetOneofString() string
- func (x *TestAllTypesProto3) GetOneofUint32() uint32
- func (x *TestAllTypesProto3) GetOneofUint64() uint64
- func (x *TestAllTypesProto3) GetOptionalAliasedEnum() TestAllTypesProto3_AliasedEnum
- func (x *TestAllTypesProto3) GetOptionalAny() *anypb.Any
- func (x *TestAllTypesProto3) GetOptionalBool() bool
- func (x *TestAllTypesProto3) GetOptionalBoolWrapper() *wrapperspb.BoolValue
- func (x *TestAllTypesProto3) GetOptionalBytes() []byte
- func (x *TestAllTypesProto3) GetOptionalBytesWrapper() *wrapperspb.BytesValue
- func (x *TestAllTypesProto3) GetOptionalCord() string
- func (x *TestAllTypesProto3) GetOptionalDouble() float64
- func (x *TestAllTypesProto3) GetOptionalDoubleWrapper() *wrapperspb.DoubleValue
- func (x *TestAllTypesProto3) GetOptionalDuration() *durationpb.Duration
- func (x *TestAllTypesProto3) GetOptionalFieldMask() *fieldmaskpb.FieldMask
- func (x *TestAllTypesProto3) GetOptionalFixed32() uint32
- func (x *TestAllTypesProto3) GetOptionalFixed64() uint64
- func (x *TestAllTypesProto3) GetOptionalFloat() float32
- func (x *TestAllTypesProto3) GetOptionalFloatWrapper() *wrapperspb.FloatValue
- func (x *TestAllTypesProto3) GetOptionalForeignEnum() ForeignEnum
- func (x *TestAllTypesProto3) GetOptionalForeignMessage() *ForeignMessage
- func (x *TestAllTypesProto3) GetOptionalInt32() int32
- func (x *TestAllTypesProto3) GetOptionalInt32Wrapper() *wrapperspb.Int32Value
- func (x *TestAllTypesProto3) GetOptionalInt64() int64
- func (x *TestAllTypesProto3) GetOptionalInt64Wrapper() *wrapperspb.Int64Value
- func (x *TestAllTypesProto3) GetOptionalNestedEnum() TestAllTypesProto3_NestedEnum
- func (x *TestAllTypesProto3) GetOptionalNestedMessage() *TestAllTypesProto3_NestedMessage
- func (x *TestAllTypesProto3) GetOptionalNullValue() structpb.NullValue
- func (x *TestAllTypesProto3) GetOptionalSfixed32() int32
- func (x *TestAllTypesProto3) GetOptionalSfixed64() int64
- func (x *TestAllTypesProto3) GetOptionalSint32() int32
- func (x *TestAllTypesProto3) GetOptionalSint64() int64
- func (x *TestAllTypesProto3) GetOptionalString() string
- func (x *TestAllTypesProto3) GetOptionalStringPiece() string
- func (x *TestAllTypesProto3) GetOptionalStringWrapper() *wrapperspb.StringValue
- func (x *TestAllTypesProto3) GetOptionalStruct() *structpb.Struct
- func (x *TestAllTypesProto3) GetOptionalTimestamp() *timestamppb.Timestamp
- func (x *TestAllTypesProto3) GetOptionalUint32() uint32
- func (x *TestAllTypesProto3) GetOptionalUint32Wrapper() *wrapperspb.UInt32Value
- func (x *TestAllTypesProto3) GetOptionalUint64() uint64
- func (x *TestAllTypesProto3) GetOptionalUint64Wrapper() *wrapperspb.UInt64Value
- func (x *TestAllTypesProto3) GetOptionalValue() *structpb.Value
- func (x *TestAllTypesProto3) GetPackedBool() []bool
- func (x *TestAllTypesProto3) GetPackedDouble() []float64
- func (x *TestAllTypesProto3) GetPackedFixed32() []uint32
- func (x *TestAllTypesProto3) GetPackedFixed64() []uint64
- func (x *TestAllTypesProto3) GetPackedFloat() []float32
- func (x *TestAllTypesProto3) GetPackedInt32() []int32
- func (x *TestAllTypesProto3) GetPackedInt64() []int64
- func (x *TestAllTypesProto3) GetPackedNestedEnum() []TestAllTypesProto3_NestedEnum
- func (x *TestAllTypesProto3) GetPackedSfixed32() []int32
- func (x *TestAllTypesProto3) GetPackedSfixed64() []int64
- func (x *TestAllTypesProto3) GetPackedSint32() []int32
- func (x *TestAllTypesProto3) GetPackedSint64() []int64
- func (x *TestAllTypesProto3) GetPackedUint32() []uint32
- func (x *TestAllTypesProto3) GetPackedUint64() []uint64
- func (x *TestAllTypesProto3) GetRecursiveMessage() *TestAllTypesProto3
- func (x *TestAllTypesProto3) GetRepeatedAny() []*anypb.Any
- func (x *TestAllTypesProto3) GetRepeatedBool() []bool
- func (x *TestAllTypesProto3) GetRepeatedBoolWrapper() []*wrapperspb.BoolValue
- func (x *TestAllTypesProto3) GetRepeatedBytes() [][]byte
- func (x *TestAllTypesProto3) GetRepeatedBytesWrapper() []*wrapperspb.BytesValue
- func (x *TestAllTypesProto3) GetRepeatedCord() []string
- func (x *TestAllTypesProto3) GetRepeatedDouble() []float64
- func (x *TestAllTypesProto3) GetRepeatedDoubleWrapper() []*wrapperspb.DoubleValue
- func (x *TestAllTypesProto3) GetRepeatedDuration() []*durationpb.Duration
- func (x *TestAllTypesProto3) GetRepeatedFieldmask() []*fieldmaskpb.FieldMask
- func (x *TestAllTypesProto3) GetRepeatedFixed32() []uint32
- func (x *TestAllTypesProto3) GetRepeatedFixed64() []uint64
- func (x *TestAllTypesProto3) GetRepeatedFloat() []float32
- func (x *TestAllTypesProto3) GetRepeatedFloatWrapper() []*wrapperspb.FloatValue
- func (x *TestAllTypesProto3) GetRepeatedForeignEnum() []ForeignEnum
- func (x *TestAllTypesProto3) GetRepeatedForeignMessage() []*ForeignMessage
- func (x *TestAllTypesProto3) GetRepeatedInt32() []int32
- func (x *TestAllTypesProto3) GetRepeatedInt32Wrapper() []*wrapperspb.Int32Value
- func (x *TestAllTypesProto3) GetRepeatedInt64() []int64
- func (x *TestAllTypesProto3) GetRepeatedInt64Wrapper() []*wrapperspb.Int64Value
- func (x *TestAllTypesProto3) GetRepeatedListValue() []*structpb.ListValue
- func (x *TestAllTypesProto3) GetRepeatedNestedEnum() []TestAllTypesProto3_NestedEnum
- func (x *TestAllTypesProto3) GetRepeatedNestedMessage() []*TestAllTypesProto3_NestedMessage
- func (x *TestAllTypesProto3) GetRepeatedSfixed32() []int32
- func (x *TestAllTypesProto3) GetRepeatedSfixed64() []int64
- func (x *TestAllTypesProto3) GetRepeatedSint32() []int32
- func (x *TestAllTypesProto3) GetRepeatedSint64() []int64
- func (x *TestAllTypesProto3) GetRepeatedString() []string
- func (x *TestAllTypesProto3) GetRepeatedStringPiece() []string
- func (x *TestAllTypesProto3) GetRepeatedStringWrapper() []*wrapperspb.StringValue
- func (x *TestAllTypesProto3) GetRepeatedStruct() []*structpb.Struct
- func (x *TestAllTypesProto3) GetRepeatedTimestamp() []*timestamppb.Timestamp
- func (x *TestAllTypesProto3) GetRepeatedUint32() []uint32
- func (x *TestAllTypesProto3) GetRepeatedUint32Wrapper() []*wrapperspb.UInt32Value
- func (x *TestAllTypesProto3) GetRepeatedUint64() []uint64
- func (x *TestAllTypesProto3) GetRepeatedUint64Wrapper() []*wrapperspb.UInt64Value
- func (x *TestAllTypesProto3) GetRepeatedValue() []*structpb.Value
- func (x *TestAllTypesProto3) GetUnpackedBool() []bool
- func (x *TestAllTypesProto3) GetUnpackedDouble() []float64
- func (x *TestAllTypesProto3) GetUnpackedFixed32() []uint32
- func (x *TestAllTypesProto3) GetUnpackedFixed64() []uint64
- func (x *TestAllTypesProto3) GetUnpackedFloat() []float32
- func (x *TestAllTypesProto3) GetUnpackedInt32() []int32
- func (x *TestAllTypesProto3) GetUnpackedInt64() []int64
- func (x *TestAllTypesProto3) GetUnpackedNestedEnum() []TestAllTypesProto3_NestedEnum
- func (x *TestAllTypesProto3) GetUnpackedSfixed32() []int32
- func (x *TestAllTypesProto3) GetUnpackedSfixed64() []int64
- func (x *TestAllTypesProto3) GetUnpackedSint32() []int32
- func (x *TestAllTypesProto3) GetUnpackedSint64() []int64
- func (x *TestAllTypesProto3) GetUnpackedUint32() []uint32
- func (x *TestAllTypesProto3) GetUnpackedUint64() []uint64
- func (x *TestAllTypesProto3) GetXFieldName13() int32
- func (x *TestAllTypesProto3) GetXFieldName3() int32
- func (x *TestAllTypesProto3) GetX_FieldName14() int32
- func (*TestAllTypesProto3) ProtoMessage()
- func (x *TestAllTypesProto3) ProtoReflect() protoreflect.Message
- func (x *TestAllTypesProto3) Reset()
- func (x *TestAllTypesProto3) String() string
- type TestAllTypesProto3_AliasedEnum
- func (TestAllTypesProto3_AliasedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestAllTypesProto3_AliasedEnum) Enum() *TestAllTypesProto3_AliasedEnum
- func (TestAllTypesProto3_AliasedEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestAllTypesProto3_AliasedEnum) Number() protoreflect.EnumNumber
- func (x TestAllTypesProto3_AliasedEnum) String() string
- func (TestAllTypesProto3_AliasedEnum) Type() protoreflect.EnumType
- type TestAllTypesProto3_NestedEnum
- func (TestAllTypesProto3_NestedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestAllTypesProto3_NestedEnum) Enum() *TestAllTypesProto3_NestedEnum
- func (TestAllTypesProto3_NestedEnum) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestAllTypesProto3_NestedEnum) Number() protoreflect.EnumNumber
- func (x TestAllTypesProto3_NestedEnum) String() string
- func (TestAllTypesProto3_NestedEnum) Type() protoreflect.EnumType
- type TestAllTypesProto3_NestedMessage
- func (*TestAllTypesProto3_NestedMessage) Descriptor() ([]byte, []int)deprecated
- func (x *TestAllTypesProto3_NestedMessage) GetA() int32
- func (x *TestAllTypesProto3_NestedMessage) GetCorecursive() *TestAllTypesProto3
- func (*TestAllTypesProto3_NestedMessage) ProtoMessage()
- func (x *TestAllTypesProto3_NestedMessage) ProtoReflect() protoreflect.Message
- func (x *TestAllTypesProto3_NestedMessage) Reset()
- func (x *TestAllTypesProto3_NestedMessage) String() string
- type TestAllTypesProto3_OneofBool
- type TestAllTypesProto3_OneofBytes
- type TestAllTypesProto3_OneofDouble
- type TestAllTypesProto3_OneofEnum
- type TestAllTypesProto3_OneofFloat
- type TestAllTypesProto3_OneofNestedMessage
- type TestAllTypesProto3_OneofNullValue
- type TestAllTypesProto3_OneofString
- type TestAllTypesProto3_OneofUint32
- type TestAllTypesProto3_OneofUint64
- type UnknownToTestAllTypes
- func (*UnknownToTestAllTypes) Descriptor() ([]byte, []int)deprecated
- func (x *UnknownToTestAllTypes) GetNestedMessage() *ForeignMessageProto2
- func (x *UnknownToTestAllTypes) GetOptionalBool() bool
- func (x *UnknownToTestAllTypes) GetOptionalInt32() int32
- func (x *UnknownToTestAllTypes) GetOptionalString() string
- func (x *UnknownToTestAllTypes) GetOptionalgroup() *UnknownToTestAllTypes_OptionalGroup
- func (x *UnknownToTestAllTypes) GetRepeatedInt32() []int32
- func (*UnknownToTestAllTypes) ProtoMessage()
- func (x *UnknownToTestAllTypes) ProtoReflect() protoreflect.Message
- func (x *UnknownToTestAllTypes) Reset()
- func (x *UnknownToTestAllTypes) String() string
- type UnknownToTestAllTypes_OptionalGroup
- func (*UnknownToTestAllTypes_OptionalGroup) Descriptor() ([]byte, []int)deprecated
- func (x *UnknownToTestAllTypes_OptionalGroup) GetA() int32
- func (*UnknownToTestAllTypes_OptionalGroup) ProtoMessage()
- func (x *UnknownToTestAllTypes_OptionalGroup) ProtoReflect() protoreflect.Message
- func (x *UnknownToTestAllTypes_OptionalGroup) Reset()
- func (x *UnknownToTestAllTypes_OptionalGroup) String() string
Constants ¶
const ( Default_TestAllTypesProto2_DefaultInt32 = int32(-123456789) Default_TestAllTypesProto2_DefaultInt64 = int64(-9123456789123456789) Default_TestAllTypesProto2_DefaultUint32 = uint32(2123456789) Default_TestAllTypesProto2_DefaultUint64 = uint64(10123456789123456789) Default_TestAllTypesProto2_DefaultSint32 = int32(-123456789) Default_TestAllTypesProto2_DefaultSint64 = int64(-9123456789123456789) Default_TestAllTypesProto2_DefaultFixed32 = uint32(2123456789) Default_TestAllTypesProto2_DefaultFixed64 = uint64(10123456789123456789) Default_TestAllTypesProto2_DefaultSfixed32 = int32(-123456789) Default_TestAllTypesProto2_DefaultSfixed64 = int64(-9123456789123456789) Default_TestAllTypesProto2_DefaultFloat = float32(8.999999488e+09) Default_TestAllTypesProto2_DefaultDouble = float64(7e+22) Default_TestAllTypesProto2_DefaultBool = bool(true) Default_TestAllTypesProto2_DefaultString = string("Rosebud") )
Default values for TestAllTypesProto2 fields.
const ( Default_TestAllRequiredTypesProto2_DefaultInt32 = int32(-123456789) Default_TestAllRequiredTypesProto2_DefaultInt64 = int64(-9123456789123456789) Default_TestAllRequiredTypesProto2_DefaultUint32 = uint32(2123456789) Default_TestAllRequiredTypesProto2_DefaultUint64 = uint64(10123456789123456789) Default_TestAllRequiredTypesProto2_DefaultSint32 = int32(-123456789) Default_TestAllRequiredTypesProto2_DefaultSint64 = int64(-9123456789123456789) Default_TestAllRequiredTypesProto2_DefaultFixed32 = uint32(2123456789) Default_TestAllRequiredTypesProto2_DefaultFixed64 = uint64(10123456789123456789) Default_TestAllRequiredTypesProto2_DefaultSfixed32 = int32(-123456789) Default_TestAllRequiredTypesProto2_DefaultSfixed64 = int64(-9123456789123456789) Default_TestAllRequiredTypesProto2_DefaultFloat = float32(8.999999488e+09) Default_TestAllRequiredTypesProto2_DefaultDouble = float64(7e+22) Default_TestAllRequiredTypesProto2_DefaultBool = bool(true) Default_TestAllRequiredTypesProto2_DefaultString = string("Rosebud") )
Default values for TestAllRequiredTypesProto2 fields.
Variables ¶
var ( ForeignEnumProto2_name = map[int32]string{ 0: "FOREIGN_FOO", 1: "FOREIGN_BAR", 2: "FOREIGN_BAZ", } ForeignEnumProto2_value = map[string]int32{ "FOREIGN_FOO": 0, "FOREIGN_BAR": 1, "FOREIGN_BAZ": 2, } )
Enum value maps for ForeignEnumProto2.
var ( TestAllTypesProto2_NestedEnum_name = map[int32]string{ 0: "FOO", 1: "BAR", 2: "BAZ", -1: "NEG", } TestAllTypesProto2_NestedEnum_value = map[string]int32{ "FOO": 0, "BAR": 1, "BAZ": 2, "NEG": -1, } )
Enum value maps for TestAllTypesProto2_NestedEnum.
var ( EnumOnlyProto2_Bool_name = map[int32]string{ 0: "kFalse", 1: "kTrue", } EnumOnlyProto2_Bool_value = map[string]int32{ "kFalse": 0, "kTrue": 1, } )
Enum value maps for EnumOnlyProto2_Bool.
var ( TestAllRequiredTypesProto2_NestedEnum_name = map[int32]string{ 0: "FOO", 1: "BAR", 2: "BAZ", -1: "NEG", } TestAllRequiredTypesProto2_NestedEnum_value = map[string]int32{ "FOO": 0, "BAR": 1, "BAZ": 2, "NEG": -1, } )
Enum value maps for TestAllRequiredTypesProto2_NestedEnum.
var ( // optional int32 extension_int32 = 120; E_ExtensionInt32 = &file_editions_golden_test_messages_proto2_editions_proto_extTypes[0] // optional protobuf_test_messages.editions.proto2.GroupField groupfield = 121; E_Groupfield = &file_editions_golden_test_messages_proto2_editions_proto_extTypes[1] )
Extension fields to TestAllTypesProto2.
var ( // optional protobuf_test_messages.editions.proto2.TestAllTypesProto2.MessageSetCorrectExtension1 message_set_extension = 1547769; E_TestAllTypesProto2_MessageSetCorrectExtension1_MessageSetExtension = &file_editions_golden_test_messages_proto2_editions_proto_extTypes[2] // optional protobuf_test_messages.editions.proto2.TestAllTypesProto2.MessageSetCorrectExtension2 message_set_extension = 4135312; E_TestAllTypesProto2_MessageSetCorrectExtension2_MessageSetExtension = &file_editions_golden_test_messages_proto2_editions_proto_extTypes[3] )
Extension fields to TestAllTypesProto2_MessageSetCorrect.
var ( // optional protobuf_test_messages.editions.proto2.TestAllRequiredTypesProto2.MessageSetCorrectExtension1 message_set_extension = 1547769; E_TestAllRequiredTypesProto2_MessageSetCorrectExtension1_MessageSetExtension = &file_editions_golden_test_messages_proto2_editions_proto_extTypes[4] // optional protobuf_test_messages.editions.proto2.TestAllRequiredTypesProto2.MessageSetCorrectExtension2 message_set_extension = 4135312; E_TestAllRequiredTypesProto2_MessageSetCorrectExtension2_MessageSetExtension = &file_editions_golden_test_messages_proto2_editions_proto_extTypes[5] )
Extension fields to TestAllRequiredTypesProto2_MessageSetCorrect.
var ( ForeignEnum_name = map[int32]string{ 0: "FOREIGN_FOO", 1: "FOREIGN_BAR", 2: "FOREIGN_BAZ", } ForeignEnum_value = map[string]int32{ "FOREIGN_FOO": 0, "FOREIGN_BAR": 1, "FOREIGN_BAZ": 2, } )
Enum value maps for ForeignEnum.
var ( TestAllTypesProto3_NestedEnum_name = map[int32]string{ 0: "FOO", 1: "BAR", 2: "BAZ", -1: "NEG", } TestAllTypesProto3_NestedEnum_value = map[string]int32{ "FOO": 0, "BAR": 1, "BAZ": 2, "NEG": -1, } )
Enum value maps for TestAllTypesProto3_NestedEnum.
var ( TestAllTypesProto3_AliasedEnum_name = map[int32]string{ 0: "ALIAS_FOO", 1: "ALIAS_BAR", 2: "ALIAS_BAZ", } TestAllTypesProto3_AliasedEnum_value = map[string]int32{ "ALIAS_FOO": 0, "ALIAS_BAR": 1, "ALIAS_BAZ": 2, "MOO": 2, "moo": 2, "bAz": 2, } )
Enum value maps for TestAllTypesProto3_AliasedEnum.
var ( EnumOnlyProto3_Bool_name = map[int32]string{ 0: "kFalse", 1: "kTrue", } EnumOnlyProto3_Bool_value = map[string]int32{ "kFalse": 0, "kTrue": 1, } )
Enum value maps for EnumOnlyProto3_Bool.
var (
Default_TestAllRequiredTypesProto2_DefaultBytes = []byte("joshua")
)
Default values for TestAllRequiredTypesProto2 fields.
var (
Default_TestAllTypesProto2_DefaultBytes = []byte("joshua")
)
Default values for TestAllTypesProto2 fields.
var File_editions_golden_test_messages_proto2_editions_proto protoreflect.FileDescriptor
var File_editions_golden_test_messages_proto3_editions_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type EnumOnlyProto2 ¶
type EnumOnlyProto2 struct {
// contains filtered or unexported fields
}
func (*EnumOnlyProto2) Descriptor
deprecated
func (*EnumOnlyProto2) Descriptor() ([]byte, []int)
Deprecated: Use EnumOnlyProto2.ProtoReflect.Descriptor instead.
func (*EnumOnlyProto2) ProtoMessage ¶
func (*EnumOnlyProto2) ProtoMessage()
func (*EnumOnlyProto2) ProtoReflect ¶
func (x *EnumOnlyProto2) ProtoReflect() protoreflect.Message
func (*EnumOnlyProto2) Reset ¶
func (x *EnumOnlyProto2) Reset()
func (*EnumOnlyProto2) String ¶
func (x *EnumOnlyProto2) String() string
type EnumOnlyProto2_Bool ¶
type EnumOnlyProto2_Bool int32
const ( EnumOnlyProto2_kFalse EnumOnlyProto2_Bool = 0 EnumOnlyProto2_kTrue EnumOnlyProto2_Bool = 1 )
func (EnumOnlyProto2_Bool) Descriptor ¶
func (EnumOnlyProto2_Bool) Descriptor() protoreflect.EnumDescriptor
func (EnumOnlyProto2_Bool) Enum ¶
func (x EnumOnlyProto2_Bool) Enum() *EnumOnlyProto2_Bool
func (EnumOnlyProto2_Bool) EnumDescriptor
deprecated
func (EnumOnlyProto2_Bool) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnumOnlyProto2_Bool.Descriptor instead.
func (EnumOnlyProto2_Bool) Number ¶
func (x EnumOnlyProto2_Bool) Number() protoreflect.EnumNumber
func (EnumOnlyProto2_Bool) String ¶
func (x EnumOnlyProto2_Bool) String() string
func (EnumOnlyProto2_Bool) Type ¶
func (EnumOnlyProto2_Bool) Type() protoreflect.EnumType
type EnumOnlyProto3 ¶
type EnumOnlyProto3 struct {
// contains filtered or unexported fields
}
func (*EnumOnlyProto3) Descriptor
deprecated
func (*EnumOnlyProto3) Descriptor() ([]byte, []int)
Deprecated: Use EnumOnlyProto3.ProtoReflect.Descriptor instead.
func (*EnumOnlyProto3) ProtoMessage ¶
func (*EnumOnlyProto3) ProtoMessage()
func (*EnumOnlyProto3) ProtoReflect ¶
func (x *EnumOnlyProto3) ProtoReflect() protoreflect.Message
func (*EnumOnlyProto3) Reset ¶
func (x *EnumOnlyProto3) Reset()
func (*EnumOnlyProto3) String ¶
func (x *EnumOnlyProto3) String() string
type EnumOnlyProto3_Bool ¶
type EnumOnlyProto3_Bool int32
const ( EnumOnlyProto3_kFalse EnumOnlyProto3_Bool = 0 EnumOnlyProto3_kTrue EnumOnlyProto3_Bool = 1 )
func (EnumOnlyProto3_Bool) Descriptor ¶
func (EnumOnlyProto3_Bool) Descriptor() protoreflect.EnumDescriptor
func (EnumOnlyProto3_Bool) Enum ¶
func (x EnumOnlyProto3_Bool) Enum() *EnumOnlyProto3_Bool
func (EnumOnlyProto3_Bool) EnumDescriptor
deprecated
func (EnumOnlyProto3_Bool) EnumDescriptor() ([]byte, []int)
Deprecated: Use EnumOnlyProto3_Bool.Descriptor instead.
func (EnumOnlyProto3_Bool) Number ¶
func (x EnumOnlyProto3_Bool) Number() protoreflect.EnumNumber
func (EnumOnlyProto3_Bool) String ¶
func (x EnumOnlyProto3_Bool) String() string
func (EnumOnlyProto3_Bool) Type ¶
func (EnumOnlyProto3_Bool) Type() protoreflect.EnumType
type ForeignEnum ¶
type ForeignEnum int32
const ( ForeignEnum_FOREIGN_FOO ForeignEnum = 0 ForeignEnum_FOREIGN_BAR ForeignEnum = 1 ForeignEnum_FOREIGN_BAZ ForeignEnum = 2 )
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 ForeignEnumProto2 ¶
type ForeignEnumProto2 int32
const ( ForeignEnumProto2_FOREIGN_FOO ForeignEnumProto2 = 0 ForeignEnumProto2_FOREIGN_BAR ForeignEnumProto2 = 1 ForeignEnumProto2_FOREIGN_BAZ ForeignEnumProto2 = 2 )
func (ForeignEnumProto2) Descriptor ¶
func (ForeignEnumProto2) Descriptor() protoreflect.EnumDescriptor
func (ForeignEnumProto2) Enum ¶
func (x ForeignEnumProto2) Enum() *ForeignEnumProto2
func (ForeignEnumProto2) EnumDescriptor
deprecated
func (ForeignEnumProto2) EnumDescriptor() ([]byte, []int)
Deprecated: Use ForeignEnumProto2.Descriptor instead.
func (ForeignEnumProto2) Number ¶
func (x ForeignEnumProto2) Number() protoreflect.EnumNumber
func (ForeignEnumProto2) String ¶
func (x ForeignEnumProto2) String() string
func (ForeignEnumProto2) Type ¶
func (ForeignEnumProto2) Type() protoreflect.EnumType
type ForeignMessage ¶
type ForeignMessage struct { C int32 `protobuf:"varint,1,opt,name=c" json:"c,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) 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 ForeignMessageProto2 ¶
type ForeignMessageProto2 struct { C *int32 `protobuf:"varint,1,opt,name=c" json:"c,omitempty"` // contains filtered or unexported fields }
func (*ForeignMessageProto2) Descriptor
deprecated
func (*ForeignMessageProto2) Descriptor() ([]byte, []int)
Deprecated: Use ForeignMessageProto2.ProtoReflect.Descriptor instead.
func (*ForeignMessageProto2) GetC ¶
func (x *ForeignMessageProto2) GetC() int32
func (*ForeignMessageProto2) ProtoMessage ¶
func (*ForeignMessageProto2) ProtoMessage()
func (*ForeignMessageProto2) ProtoReflect ¶
func (x *ForeignMessageProto2) ProtoReflect() protoreflect.Message
func (*ForeignMessageProto2) Reset ¶
func (x *ForeignMessageProto2) Reset()
func (*ForeignMessageProto2) String ¶
func (x *ForeignMessageProto2) String() string
type GroupField ¶
type GroupField struct { GroupInt32 *int32 `protobuf:"varint,122,opt,name=group_int32,json=groupInt32" json:"group_int32,omitempty"` GroupUint32 *uint32 `protobuf:"varint,123,opt,name=group_uint32,json=groupUint32" json:"group_uint32,omitempty"` // contains filtered or unexported fields }
func (*GroupField) Descriptor
deprecated
func (*GroupField) Descriptor() ([]byte, []int)
Deprecated: Use GroupField.ProtoReflect.Descriptor instead.
func (*GroupField) GetGroupInt32 ¶
func (x *GroupField) GetGroupInt32() int32
func (*GroupField) GetGroupUint32 ¶
func (x *GroupField) GetGroupUint32() uint32
func (*GroupField) ProtoMessage ¶
func (*GroupField) ProtoMessage()
func (*GroupField) ProtoReflect ¶
func (x *GroupField) ProtoReflect() protoreflect.Message
func (*GroupField) Reset ¶
func (x *GroupField) Reset()
func (*GroupField) String ¶
func (x *GroupField) String() string
type NullHypothesisProto2 ¶
type NullHypothesisProto2 struct {
// contains filtered or unexported fields
}
func (*NullHypothesisProto2) Descriptor
deprecated
func (*NullHypothesisProto2) Descriptor() ([]byte, []int)
Deprecated: Use NullHypothesisProto2.ProtoReflect.Descriptor instead.
func (*NullHypothesisProto2) ProtoMessage ¶
func (*NullHypothesisProto2) ProtoMessage()
func (*NullHypothesisProto2) ProtoReflect ¶
func (x *NullHypothesisProto2) ProtoReflect() protoreflect.Message
func (*NullHypothesisProto2) Reset ¶
func (x *NullHypothesisProto2) Reset()
func (*NullHypothesisProto2) String ¶
func (x *NullHypothesisProto2) String() string
type NullHypothesisProto3 ¶
type NullHypothesisProto3 struct {
// contains filtered or unexported fields
}
func (*NullHypothesisProto3) Descriptor
deprecated
func (*NullHypothesisProto3) Descriptor() ([]byte, []int)
Deprecated: Use NullHypothesisProto3.ProtoReflect.Descriptor instead.
func (*NullHypothesisProto3) ProtoMessage ¶
func (*NullHypothesisProto3) ProtoMessage()
func (*NullHypothesisProto3) ProtoReflect ¶
func (x *NullHypothesisProto3) ProtoReflect() protoreflect.Message
func (*NullHypothesisProto3) Reset ¶
func (x *NullHypothesisProto3) Reset()
func (*NullHypothesisProto3) String ¶
func (x *NullHypothesisProto3) String() string
type OneStringProto2 ¶
type OneStringProto2 struct { Data *string `protobuf:"bytes,1,opt,name=data" json:"data,omitempty"` // contains filtered or unexported fields }
func (*OneStringProto2) Descriptor
deprecated
func (*OneStringProto2) Descriptor() ([]byte, []int)
Deprecated: Use OneStringProto2.ProtoReflect.Descriptor instead.
func (*OneStringProto2) GetData ¶
func (x *OneStringProto2) GetData() string
func (*OneStringProto2) ProtoMessage ¶
func (*OneStringProto2) ProtoMessage()
func (*OneStringProto2) ProtoReflect ¶
func (x *OneStringProto2) ProtoReflect() protoreflect.Message
func (*OneStringProto2) Reset ¶
func (x *OneStringProto2) Reset()
func (*OneStringProto2) String ¶
func (x *OneStringProto2) String() string
type ProtoWithKeywords ¶
type ProtoWithKeywords struct { Inline *int32 `protobuf:"varint,1,opt,name=inline" json:"inline,omitempty"` Concept *string `protobuf:"bytes,2,opt,name=concept" json:"concept,omitempty"` Requires []string `protobuf:"bytes,3,rep,name=requires" json:"requires,omitempty"` // contains filtered or unexported fields }
func (*ProtoWithKeywords) Descriptor
deprecated
func (*ProtoWithKeywords) Descriptor() ([]byte, []int)
Deprecated: Use ProtoWithKeywords.ProtoReflect.Descriptor instead.
func (*ProtoWithKeywords) GetConcept ¶
func (x *ProtoWithKeywords) GetConcept() string
func (*ProtoWithKeywords) GetInline ¶
func (x *ProtoWithKeywords) GetInline() int32
func (*ProtoWithKeywords) GetRequires ¶
func (x *ProtoWithKeywords) GetRequires() []string
func (*ProtoWithKeywords) ProtoMessage ¶
func (*ProtoWithKeywords) ProtoMessage()
func (*ProtoWithKeywords) ProtoReflect ¶
func (x *ProtoWithKeywords) ProtoReflect() protoreflect.Message
func (*ProtoWithKeywords) Reset ¶
func (x *ProtoWithKeywords) Reset()
func (*ProtoWithKeywords) String ¶
func (x *ProtoWithKeywords) String() string
type TestAllRequiredTypesProto2 ¶
type TestAllRequiredTypesProto2 struct { // Singular RequiredInt32 *int32 `protobuf:"varint,1,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"` RequiredInt64 *int64 `protobuf:"varint,2,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"` RequiredUint32 *uint32 `protobuf:"varint,3,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"` RequiredUint64 *uint64 `protobuf:"varint,4,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"` RequiredSint32 *int32 `protobuf:"zigzag32,5,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"` RequiredSint64 *int64 `protobuf:"zigzag64,6,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"` RequiredFixed32 *uint32 `protobuf:"fixed32,7,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"` RequiredFixed64 *uint64 `protobuf:"fixed64,8,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"` RequiredSfixed32 *int32 `protobuf:"fixed32,9,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"` RequiredSfixed64 *int64 `protobuf:"fixed64,10,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"` RequiredFloat *float32 `protobuf:"fixed32,11,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"` RequiredDouble *float64 `protobuf:"fixed64,12,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"` RequiredBool *bool `protobuf:"varint,13,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"` RequiredString *string `protobuf:"bytes,14,req,name=required_string,json=requiredString" json:"required_string,omitempty"` RequiredBytes []byte `protobuf:"bytes,15,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"` RequiredNestedMessage *TestAllRequiredTypesProto2_NestedMessage `protobuf:"bytes,18,req,name=required_nested_message,json=requiredNestedMessage" json:"required_nested_message,omitempty"` RequiredForeignMessage *ForeignMessageProto2 `protobuf:"bytes,19,req,name=required_foreign_message,json=requiredForeignMessage" json:"required_foreign_message,omitempty"` RequiredNestedEnum *TestAllRequiredTypesProto2_NestedEnum `` /* 194-byte string literal not displayed */ RequiredForeignEnum *ForeignEnumProto2 `` /* 177-byte string literal not displayed */ RequiredStringPiece *string `protobuf:"bytes,24,req,name=required_string_piece,json=requiredStringPiece" json:"required_string_piece,omitempty"` RequiredCord *string `protobuf:"bytes,25,req,name=required_cord,json=requiredCord" json:"required_cord,omitempty"` RecursiveMessage *TestAllRequiredTypesProto2 `protobuf:"bytes,27,req,name=recursive_message,json=recursiveMessage" json:"recursive_message,omitempty"` OptionalRecursiveMessage *TestAllRequiredTypesProto2 `` /* 129-byte string literal not displayed */ Data *TestAllRequiredTypesProto2_Data `protobuf:"group,201,req,name=Data,json=data" json:"data,omitempty"` // default values DefaultInt32 *int32 `protobuf:"varint,241,req,name=default_int32,json=defaultInt32,def=-123456789" json:"default_int32,omitempty"` DefaultInt64 *int64 `protobuf:"varint,242,req,name=default_int64,json=defaultInt64,def=-9123456789123456789" json:"default_int64,omitempty"` DefaultUint32 *uint32 `protobuf:"varint,243,req,name=default_uint32,json=defaultUint32,def=2123456789" json:"default_uint32,omitempty"` DefaultUint64 *uint64 `protobuf:"varint,244,req,name=default_uint64,json=defaultUint64,def=10123456789123456789" json:"default_uint64,omitempty"` DefaultSint32 *int32 `protobuf:"zigzag32,245,req,name=default_sint32,json=defaultSint32,def=-123456789" json:"default_sint32,omitempty"` DefaultSint64 *int64 `protobuf:"zigzag64,246,req,name=default_sint64,json=defaultSint64,def=-9123456789123456789" json:"default_sint64,omitempty"` DefaultFixed32 *uint32 `protobuf:"fixed32,247,req,name=default_fixed32,json=defaultFixed32,def=2123456789" json:"default_fixed32,omitempty"` DefaultFixed64 *uint64 `protobuf:"fixed64,248,req,name=default_fixed64,json=defaultFixed64,def=10123456789123456789" json:"default_fixed64,omitempty"` DefaultSfixed32 *int32 `protobuf:"fixed32,249,req,name=default_sfixed32,json=defaultSfixed32,def=-123456789" json:"default_sfixed32,omitempty"` DefaultSfixed64 *int64 `` /* 128-byte string literal not displayed */ DefaultFloat *float32 `protobuf:"fixed32,251,req,name=default_float,json=defaultFloat,def=9e+09" json:"default_float,omitempty"` DefaultDouble *float64 `protobuf:"fixed64,252,req,name=default_double,json=defaultDouble,def=7e+22" json:"default_double,omitempty"` DefaultBool *bool `protobuf:"varint,253,req,name=default_bool,json=defaultBool,def=1" json:"default_bool,omitempty"` DefaultString *string `protobuf:"bytes,254,req,name=default_string,json=defaultString,def=Rosebud" json:"default_string,omitempty"` DefaultBytes []byte `protobuf:"bytes,255,req,name=default_bytes,json=defaultBytes,def=joshua" json:"default_bytes,omitempty"` // contains filtered or unexported fields }
func (*TestAllRequiredTypesProto2) Descriptor
deprecated
func (*TestAllRequiredTypesProto2) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2.ProtoReflect.Descriptor instead.
func (*TestAllRequiredTypesProto2) GetData ¶
func (x *TestAllRequiredTypesProto2) GetData() *TestAllRequiredTypesProto2_Data
func (*TestAllRequiredTypesProto2) GetDefaultBool ¶
func (x *TestAllRequiredTypesProto2) GetDefaultBool() bool
func (*TestAllRequiredTypesProto2) GetDefaultBytes ¶
func (x *TestAllRequiredTypesProto2) GetDefaultBytes() []byte
func (*TestAllRequiredTypesProto2) GetDefaultDouble ¶
func (x *TestAllRequiredTypesProto2) GetDefaultDouble() float64
func (*TestAllRequiredTypesProto2) GetDefaultFixed32 ¶
func (x *TestAllRequiredTypesProto2) GetDefaultFixed32() uint32
func (*TestAllRequiredTypesProto2) GetDefaultFixed64 ¶
func (x *TestAllRequiredTypesProto2) GetDefaultFixed64() uint64
func (*TestAllRequiredTypesProto2) GetDefaultFloat ¶
func (x *TestAllRequiredTypesProto2) GetDefaultFloat() float32
func (*TestAllRequiredTypesProto2) GetDefaultInt32 ¶
func (x *TestAllRequiredTypesProto2) GetDefaultInt32() int32
func (*TestAllRequiredTypesProto2) GetDefaultInt64 ¶
func (x *TestAllRequiredTypesProto2) GetDefaultInt64() int64
func (*TestAllRequiredTypesProto2) GetDefaultSfixed32 ¶
func (x *TestAllRequiredTypesProto2) GetDefaultSfixed32() int32
func (*TestAllRequiredTypesProto2) GetDefaultSfixed64 ¶
func (x *TestAllRequiredTypesProto2) GetDefaultSfixed64() int64
func (*TestAllRequiredTypesProto2) GetDefaultSint32 ¶
func (x *TestAllRequiredTypesProto2) GetDefaultSint32() int32
func (*TestAllRequiredTypesProto2) GetDefaultSint64 ¶
func (x *TestAllRequiredTypesProto2) GetDefaultSint64() int64
func (*TestAllRequiredTypesProto2) GetDefaultString ¶
func (x *TestAllRequiredTypesProto2) GetDefaultString() string
func (*TestAllRequiredTypesProto2) GetDefaultUint32 ¶
func (x *TestAllRequiredTypesProto2) GetDefaultUint32() uint32
func (*TestAllRequiredTypesProto2) GetDefaultUint64 ¶
func (x *TestAllRequiredTypesProto2) GetDefaultUint64() uint64
func (*TestAllRequiredTypesProto2) GetOptionalRecursiveMessage ¶
func (x *TestAllRequiredTypesProto2) GetOptionalRecursiveMessage() *TestAllRequiredTypesProto2
func (*TestAllRequiredTypesProto2) GetRecursiveMessage ¶
func (x *TestAllRequiredTypesProto2) GetRecursiveMessage() *TestAllRequiredTypesProto2
func (*TestAllRequiredTypesProto2) GetRequiredBool ¶
func (x *TestAllRequiredTypesProto2) GetRequiredBool() bool
func (*TestAllRequiredTypesProto2) GetRequiredBytes ¶
func (x *TestAllRequiredTypesProto2) GetRequiredBytes() []byte
func (*TestAllRequiredTypesProto2) GetRequiredCord ¶
func (x *TestAllRequiredTypesProto2) GetRequiredCord() string
func (*TestAllRequiredTypesProto2) GetRequiredDouble ¶
func (x *TestAllRequiredTypesProto2) GetRequiredDouble() float64
func (*TestAllRequiredTypesProto2) GetRequiredFixed32 ¶
func (x *TestAllRequiredTypesProto2) GetRequiredFixed32() uint32
func (*TestAllRequiredTypesProto2) GetRequiredFixed64 ¶
func (x *TestAllRequiredTypesProto2) GetRequiredFixed64() uint64
func (*TestAllRequiredTypesProto2) GetRequiredFloat ¶
func (x *TestAllRequiredTypesProto2) GetRequiredFloat() float32
func (*TestAllRequiredTypesProto2) GetRequiredForeignEnum ¶
func (x *TestAllRequiredTypesProto2) GetRequiredForeignEnum() ForeignEnumProto2
func (*TestAllRequiredTypesProto2) GetRequiredForeignMessage ¶
func (x *TestAllRequiredTypesProto2) GetRequiredForeignMessage() *ForeignMessageProto2
func (*TestAllRequiredTypesProto2) GetRequiredInt32 ¶
func (x *TestAllRequiredTypesProto2) GetRequiredInt32() int32
func (*TestAllRequiredTypesProto2) GetRequiredInt64 ¶
func (x *TestAllRequiredTypesProto2) GetRequiredInt64() int64
func (*TestAllRequiredTypesProto2) GetRequiredNestedEnum ¶
func (x *TestAllRequiredTypesProto2) GetRequiredNestedEnum() TestAllRequiredTypesProto2_NestedEnum
func (*TestAllRequiredTypesProto2) GetRequiredNestedMessage ¶
func (x *TestAllRequiredTypesProto2) GetRequiredNestedMessage() *TestAllRequiredTypesProto2_NestedMessage
func (*TestAllRequiredTypesProto2) GetRequiredSfixed32 ¶
func (x *TestAllRequiredTypesProto2) GetRequiredSfixed32() int32
func (*TestAllRequiredTypesProto2) GetRequiredSfixed64 ¶
func (x *TestAllRequiredTypesProto2) GetRequiredSfixed64() int64
func (*TestAllRequiredTypesProto2) GetRequiredSint32 ¶
func (x *TestAllRequiredTypesProto2) GetRequiredSint32() int32
func (*TestAllRequiredTypesProto2) GetRequiredSint64 ¶
func (x *TestAllRequiredTypesProto2) GetRequiredSint64() int64
func (*TestAllRequiredTypesProto2) GetRequiredString ¶
func (x *TestAllRequiredTypesProto2) GetRequiredString() string
func (*TestAllRequiredTypesProto2) GetRequiredStringPiece ¶
func (x *TestAllRequiredTypesProto2) GetRequiredStringPiece() string
func (*TestAllRequiredTypesProto2) GetRequiredUint32 ¶
func (x *TestAllRequiredTypesProto2) GetRequiredUint32() uint32
func (*TestAllRequiredTypesProto2) GetRequiredUint64 ¶
func (x *TestAllRequiredTypesProto2) GetRequiredUint64() uint64
func (*TestAllRequiredTypesProto2) ProtoMessage ¶
func (*TestAllRequiredTypesProto2) ProtoMessage()
func (*TestAllRequiredTypesProto2) ProtoReflect ¶
func (x *TestAllRequiredTypesProto2) ProtoReflect() protoreflect.Message
func (*TestAllRequiredTypesProto2) Reset ¶
func (x *TestAllRequiredTypesProto2) Reset()
func (*TestAllRequiredTypesProto2) String ¶
func (x *TestAllRequiredTypesProto2) String() string
type TestAllRequiredTypesProto2_Data ¶
type TestAllRequiredTypesProto2_Data struct { GroupInt32 *int32 `protobuf:"varint,202,req,name=group_int32,json=groupInt32" json:"group_int32,omitempty"` GroupUint32 *uint32 `protobuf:"varint,203,req,name=group_uint32,json=groupUint32" json:"group_uint32,omitempty"` // contains filtered or unexported fields }
groups
func (*TestAllRequiredTypesProto2_Data) Descriptor
deprecated
func (*TestAllRequiredTypesProto2_Data) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_Data.ProtoReflect.Descriptor instead.
func (*TestAllRequiredTypesProto2_Data) GetGroupInt32 ¶
func (x *TestAllRequiredTypesProto2_Data) GetGroupInt32() int32
func (*TestAllRequiredTypesProto2_Data) GetGroupUint32 ¶
func (x *TestAllRequiredTypesProto2_Data) GetGroupUint32() uint32
func (*TestAllRequiredTypesProto2_Data) ProtoMessage ¶
func (*TestAllRequiredTypesProto2_Data) ProtoMessage()
func (*TestAllRequiredTypesProto2_Data) ProtoReflect ¶
func (x *TestAllRequiredTypesProto2_Data) ProtoReflect() protoreflect.Message
func (*TestAllRequiredTypesProto2_Data) Reset ¶
func (x *TestAllRequiredTypesProto2_Data) Reset()
func (*TestAllRequiredTypesProto2_Data) String ¶
func (x *TestAllRequiredTypesProto2_Data) String() string
type TestAllRequiredTypesProto2_MessageSetCorrect ¶
type TestAllRequiredTypesProto2_MessageSetCorrect struct {
// contains filtered or unexported fields
}
message_set test case.
func (*TestAllRequiredTypesProto2_MessageSetCorrect) Descriptor
deprecated
func (*TestAllRequiredTypesProto2_MessageSetCorrect) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_MessageSetCorrect.ProtoReflect.Descriptor instead.
func (*TestAllRequiredTypesProto2_MessageSetCorrect) ProtoMessage ¶
func (*TestAllRequiredTypesProto2_MessageSetCorrect) ProtoMessage()
func (*TestAllRequiredTypesProto2_MessageSetCorrect) ProtoReflect ¶
func (x *TestAllRequiredTypesProto2_MessageSetCorrect) ProtoReflect() protoreflect.Message
func (*TestAllRequiredTypesProto2_MessageSetCorrect) Reset ¶
func (x *TestAllRequiredTypesProto2_MessageSetCorrect) Reset()
func (*TestAllRequiredTypesProto2_MessageSetCorrect) String ¶
func (x *TestAllRequiredTypesProto2_MessageSetCorrect) String() string
type TestAllRequiredTypesProto2_MessageSetCorrectExtension1 ¶
type TestAllRequiredTypesProto2_MessageSetCorrectExtension1 struct { Str *string `protobuf:"bytes,25,req,name=str" json:"str,omitempty"` // contains filtered or unexported fields }
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Descriptor
deprecated
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_MessageSetCorrectExtension1.ProtoReflect.Descriptor instead.
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) GetStr ¶
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) GetStr() string
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoMessage ¶
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoMessage()
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoReflect ¶
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoReflect() protoreflect.Message
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Reset ¶
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Reset()
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) String ¶
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) String() string
type TestAllRequiredTypesProto2_MessageSetCorrectExtension2 ¶
type TestAllRequiredTypesProto2_MessageSetCorrectExtension2 struct { I *int32 `protobuf:"varint,9,req,name=i" json:"i,omitempty"` // contains filtered or unexported fields }
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Descriptor
deprecated
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_MessageSetCorrectExtension2.ProtoReflect.Descriptor instead.
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) GetI ¶
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) GetI() int32
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoMessage ¶
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoMessage()
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoReflect ¶
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoReflect() protoreflect.Message
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Reset ¶
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Reset()
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) String ¶
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) String() string
type TestAllRequiredTypesProto2_NestedEnum ¶
type TestAllRequiredTypesProto2_NestedEnum int32
const ( TestAllRequiredTypesProto2_FOO TestAllRequiredTypesProto2_NestedEnum = 0 TestAllRequiredTypesProto2_BAR TestAllRequiredTypesProto2_NestedEnum = 1 TestAllRequiredTypesProto2_BAZ TestAllRequiredTypesProto2_NestedEnum = 2 TestAllRequiredTypesProto2_NEG TestAllRequiredTypesProto2_NestedEnum = -1 // Intentionally negative. )
func (TestAllRequiredTypesProto2_NestedEnum) Descriptor ¶
func (TestAllRequiredTypesProto2_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (TestAllRequiredTypesProto2_NestedEnum) EnumDescriptor
deprecated
func (TestAllRequiredTypesProto2_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_NestedEnum.Descriptor instead.
func (TestAllRequiredTypesProto2_NestedEnum) Number ¶
func (x TestAllRequiredTypesProto2_NestedEnum) Number() protoreflect.EnumNumber
func (TestAllRequiredTypesProto2_NestedEnum) String ¶
func (x TestAllRequiredTypesProto2_NestedEnum) String() string
func (TestAllRequiredTypesProto2_NestedEnum) Type ¶
func (TestAllRequiredTypesProto2_NestedEnum) Type() protoreflect.EnumType
type TestAllRequiredTypesProto2_NestedMessage ¶
type TestAllRequiredTypesProto2_NestedMessage struct { A *int32 `protobuf:"varint,1,req,name=a" json:"a,omitempty"` Corecursive *TestAllRequiredTypesProto2 `protobuf:"bytes,2,req,name=corecursive" json:"corecursive,omitempty"` OptionalCorecursive *TestAllRequiredTypesProto2 `protobuf:"bytes,3,opt,name=optional_corecursive,json=optionalCorecursive" json:"optional_corecursive,omitempty"` // contains filtered or unexported fields }
func (*TestAllRequiredTypesProto2_NestedMessage) Descriptor
deprecated
func (*TestAllRequiredTypesProto2_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_NestedMessage.ProtoReflect.Descriptor instead.
func (*TestAllRequiredTypesProto2_NestedMessage) GetA ¶
func (x *TestAllRequiredTypesProto2_NestedMessage) GetA() int32
func (*TestAllRequiredTypesProto2_NestedMessage) GetCorecursive ¶
func (x *TestAllRequiredTypesProto2_NestedMessage) GetCorecursive() *TestAllRequiredTypesProto2
func (*TestAllRequiredTypesProto2_NestedMessage) GetOptionalCorecursive ¶
func (x *TestAllRequiredTypesProto2_NestedMessage) GetOptionalCorecursive() *TestAllRequiredTypesProto2
func (*TestAllRequiredTypesProto2_NestedMessage) ProtoMessage ¶
func (*TestAllRequiredTypesProto2_NestedMessage) ProtoMessage()
func (*TestAllRequiredTypesProto2_NestedMessage) ProtoReflect ¶
func (x *TestAllRequiredTypesProto2_NestedMessage) ProtoReflect() protoreflect.Message
func (*TestAllRequiredTypesProto2_NestedMessage) Reset ¶
func (x *TestAllRequiredTypesProto2_NestedMessage) Reset()
func (*TestAllRequiredTypesProto2_NestedMessage) String ¶
func (x *TestAllRequiredTypesProto2_NestedMessage) String() string
type TestAllTypesProto2 ¶
type TestAllTypesProto2 struct { // Singular 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"` OptionalNestedMessage *TestAllTypesProto2_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"` OptionalForeignMessage *ForeignMessageProto2 `protobuf:"bytes,19,opt,name=optional_foreign_message,json=optionalForeignMessage" json:"optional_foreign_message,omitempty"` OptionalNestedEnum *TestAllTypesProto2_NestedEnum `` /* 186-byte string literal not displayed */ OptionalForeignEnum *ForeignEnumProto2 `` /* 177-byte string literal not displayed */ OptionalStringPiece *string `protobuf:"bytes,24,opt,name=optional_string_piece,json=optionalStringPiece" json:"optional_string_piece,omitempty"` OptionalCord *string `protobuf:"bytes,25,opt,name=optional_cord,json=optionalCord" json:"optional_cord,omitempty"` RecursiveMessage *TestAllTypesProto2 `protobuf:"bytes,27,opt,name=recursive_message,json=recursiveMessage" json:"recursive_message,omitempty"` // Repeated RepeatedInt32 []int32 `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"` RepeatedUint64 []uint64 `protobuf:"varint,34,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"` RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"` RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"` RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"` RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"` RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"` RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"` RepeatedFloat []float32 `protobuf:"fixed32,41,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"` RepeatedDouble []float64 `protobuf:"fixed64,42,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"` RepeatedBool []bool `protobuf:"varint,43,rep,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"` RepeatedNestedMessage []*TestAllTypesProto2_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"` RepeatedForeignMessage []*ForeignMessageProto2 `protobuf:"bytes,49,rep,name=repeated_foreign_message,json=repeatedForeignMessage" json:"repeated_foreign_message,omitempty"` RepeatedNestedEnum []TestAllTypesProto2_NestedEnum `` /* 186-byte string literal not displayed */ RepeatedForeignEnum []ForeignEnumProto2 `` /* 177-byte string literal not displayed */ RepeatedStringPiece []string `protobuf:"bytes,54,rep,name=repeated_string_piece,json=repeatedStringPiece" json:"repeated_string_piece,omitempty"` RepeatedCord []string `protobuf:"bytes,55,rep,name=repeated_cord,json=repeatedCord" json:"repeated_cord,omitempty"` // Packed PackedInt32 []int32 `protobuf:"varint,75,rep,packed,name=packed_int32,json=packedInt32" json:"packed_int32,omitempty"` PackedInt64 []int64 `protobuf:"varint,76,rep,packed,name=packed_int64,json=packedInt64" json:"packed_int64,omitempty"` PackedUint32 []uint32 `protobuf:"varint,77,rep,packed,name=packed_uint32,json=packedUint32" json:"packed_uint32,omitempty"` PackedUint64 []uint64 `protobuf:"varint,78,rep,packed,name=packed_uint64,json=packedUint64" json:"packed_uint64,omitempty"` PackedSint32 []int32 `protobuf:"zigzag32,79,rep,packed,name=packed_sint32,json=packedSint32" json:"packed_sint32,omitempty"` PackedSint64 []int64 `protobuf:"zigzag64,80,rep,packed,name=packed_sint64,json=packedSint64" json:"packed_sint64,omitempty"` PackedFixed32 []uint32 `protobuf:"fixed32,81,rep,packed,name=packed_fixed32,json=packedFixed32" json:"packed_fixed32,omitempty"` PackedFixed64 []uint64 `protobuf:"fixed64,82,rep,packed,name=packed_fixed64,json=packedFixed64" json:"packed_fixed64,omitempty"` PackedSfixed32 []int32 `protobuf:"fixed32,83,rep,packed,name=packed_sfixed32,json=packedSfixed32" json:"packed_sfixed32,omitempty"` PackedSfixed64 []int64 `protobuf:"fixed64,84,rep,packed,name=packed_sfixed64,json=packedSfixed64" json:"packed_sfixed64,omitempty"` PackedFloat []float32 `protobuf:"fixed32,85,rep,packed,name=packed_float,json=packedFloat" json:"packed_float,omitempty"` PackedDouble []float64 `protobuf:"fixed64,86,rep,packed,name=packed_double,json=packedDouble" json:"packed_double,omitempty"` PackedBool []bool `protobuf:"varint,87,rep,packed,name=packed_bool,json=packedBool" json:"packed_bool,omitempty"` PackedNestedEnum []TestAllTypesProto2_NestedEnum `` /* 187-byte string literal not displayed */ // Unpacked UnpackedInt32 []int32 `protobuf:"varint,89,rep,name=unpacked_int32,json=unpackedInt32" json:"unpacked_int32,omitempty"` UnpackedInt64 []int64 `protobuf:"varint,90,rep,name=unpacked_int64,json=unpackedInt64" json:"unpacked_int64,omitempty"` UnpackedUint32 []uint32 `protobuf:"varint,91,rep,name=unpacked_uint32,json=unpackedUint32" json:"unpacked_uint32,omitempty"` UnpackedUint64 []uint64 `protobuf:"varint,92,rep,name=unpacked_uint64,json=unpackedUint64" json:"unpacked_uint64,omitempty"` UnpackedSint32 []int32 `protobuf:"zigzag32,93,rep,name=unpacked_sint32,json=unpackedSint32" json:"unpacked_sint32,omitempty"` UnpackedSint64 []int64 `protobuf:"zigzag64,94,rep,name=unpacked_sint64,json=unpackedSint64" json:"unpacked_sint64,omitempty"` UnpackedFixed32 []uint32 `protobuf:"fixed32,95,rep,name=unpacked_fixed32,json=unpackedFixed32" json:"unpacked_fixed32,omitempty"` UnpackedFixed64 []uint64 `protobuf:"fixed64,96,rep,name=unpacked_fixed64,json=unpackedFixed64" json:"unpacked_fixed64,omitempty"` UnpackedSfixed32 []int32 `protobuf:"fixed32,97,rep,name=unpacked_sfixed32,json=unpackedSfixed32" json:"unpacked_sfixed32,omitempty"` UnpackedSfixed64 []int64 `protobuf:"fixed64,98,rep,name=unpacked_sfixed64,json=unpackedSfixed64" json:"unpacked_sfixed64,omitempty"` UnpackedFloat []float32 `protobuf:"fixed32,99,rep,name=unpacked_float,json=unpackedFloat" json:"unpacked_float,omitempty"` UnpackedDouble []float64 `protobuf:"fixed64,100,rep,name=unpacked_double,json=unpackedDouble" json:"unpacked_double,omitempty"` UnpackedBool []bool `protobuf:"varint,101,rep,name=unpacked_bool,json=unpackedBool" json:"unpacked_bool,omitempty"` UnpackedNestedEnum []TestAllTypesProto2_NestedEnum `` /* 187-byte string literal not displayed */ // Map 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]*TestAllTypesProto2_NestedMessage `` /* 199-byte string literal not displayed */ MapStringForeignMessage map[string]*ForeignMessageProto2 `` /* 202-byte string literal not displayed */ MapStringNestedEnum map[string]TestAllTypesProto2_NestedEnum `` /* 265-byte string literal not displayed */ MapStringForeignEnum map[string]ForeignEnumProto2 `` /* 256-byte string literal not displayed */ // Types that are assignable to OneofField: // // *TestAllTypesProto2_OneofUint32 // *TestAllTypesProto2_OneofNestedMessage // *TestAllTypesProto2_OneofString // *TestAllTypesProto2_OneofBytes // *TestAllTypesProto2_OneofBool // *TestAllTypesProto2_OneofUint64 // *TestAllTypesProto2_OneofFloat // *TestAllTypesProto2_OneofDouble // *TestAllTypesProto2_OneofEnum OneofField isTestAllTypesProto2_OneofField `protobuf_oneof:"oneof_field"` Data *TestAllTypesProto2_Data `protobuf:"group,201,opt,name=Data,json=data" json:"data,omitempty"` Multiwordgroupfield *TestAllTypesProto2_MultiWordGroupField `protobuf:"group,204,opt,name=MultiWordGroupField,json=multiwordgroupfield" json:"multiwordgroupfield,omitempty"` // default values DefaultInt32 *int32 `protobuf:"varint,241,opt,name=default_int32,json=defaultInt32,def=-123456789" json:"default_int32,omitempty"` DefaultInt64 *int64 `protobuf:"varint,242,opt,name=default_int64,json=defaultInt64,def=-9123456789123456789" json:"default_int64,omitempty"` DefaultUint32 *uint32 `protobuf:"varint,243,opt,name=default_uint32,json=defaultUint32,def=2123456789" json:"default_uint32,omitempty"` DefaultUint64 *uint64 `protobuf:"varint,244,opt,name=default_uint64,json=defaultUint64,def=10123456789123456789" json:"default_uint64,omitempty"` DefaultSint32 *int32 `protobuf:"zigzag32,245,opt,name=default_sint32,json=defaultSint32,def=-123456789" json:"default_sint32,omitempty"` DefaultSint64 *int64 `protobuf:"zigzag64,246,opt,name=default_sint64,json=defaultSint64,def=-9123456789123456789" json:"default_sint64,omitempty"` DefaultFixed32 *uint32 `protobuf:"fixed32,247,opt,name=default_fixed32,json=defaultFixed32,def=2123456789" json:"default_fixed32,omitempty"` DefaultFixed64 *uint64 `protobuf:"fixed64,248,opt,name=default_fixed64,json=defaultFixed64,def=10123456789123456789" json:"default_fixed64,omitempty"` DefaultSfixed32 *int32 `protobuf:"fixed32,249,opt,name=default_sfixed32,json=defaultSfixed32,def=-123456789" json:"default_sfixed32,omitempty"` DefaultSfixed64 *int64 `` /* 128-byte string literal not displayed */ DefaultFloat *float32 `protobuf:"fixed32,251,opt,name=default_float,json=defaultFloat,def=9e+09" json:"default_float,omitempty"` DefaultDouble *float64 `protobuf:"fixed64,252,opt,name=default_double,json=defaultDouble,def=7e+22" json:"default_double,omitempty"` DefaultBool *bool `protobuf:"varint,253,opt,name=default_bool,json=defaultBool,def=1" json:"default_bool,omitempty"` DefaultString *string `protobuf:"bytes,254,opt,name=default_string,json=defaultString,def=Rosebud" json:"default_string,omitempty"` DefaultBytes []byte `protobuf:"bytes,255,opt,name=default_bytes,json=defaultBytes,def=joshua" json:"default_bytes,omitempty"` // Test field-name-to-JSON-name convention. // (protobuf says names can be any valid C/C++ identifier.) Fieldname1 *int32 `protobuf:"varint,401,opt,name=fieldname1" json:"fieldname1,omitempty"` FieldName2 *int32 `protobuf:"varint,402,opt,name=field_name2,json=fieldName2" json:"field_name2,omitempty"` XFieldName3 *int32 `protobuf:"varint,403,opt,name=_field_name3,json=FieldName3" json:"_field_name3,omitempty"` Field_Name4_ *int32 `protobuf:"varint,404,opt,name=field__name4_,json=fieldName4" json:"field__name4_,omitempty"` Field0Name5 *int32 `protobuf:"varint,405,opt,name=field0name5" json:"field0name5,omitempty"` Field_0Name6 *int32 `protobuf:"varint,406,opt,name=field_0_name6,json=field0Name6" json:"field_0_name6,omitempty"` FieldName7 *int32 `protobuf:"varint,407,opt,name=fieldName7" json:"fieldName7,omitempty"` FieldName8 *int32 `protobuf:"varint,408,opt,name=FieldName8" json:"FieldName8,omitempty"` Field_Name9 *int32 `protobuf:"varint,409,opt,name=field_Name9,json=fieldName9" json:"field_Name9,omitempty"` Field_Name10 *int32 `protobuf:"varint,410,opt,name=Field_Name10,json=FieldName10" json:"Field_Name10,omitempty"` FIELD_NAME11 *int32 `protobuf:"varint,411,opt,name=FIELD_NAME11,json=FIELDNAME11" json:"FIELD_NAME11,omitempty"` FIELDName12 *int32 `protobuf:"varint,412,opt,name=FIELD_name12,json=FIELDName12" json:"FIELD_name12,omitempty"` XFieldName13 *int32 `protobuf:"varint,413,opt,name=__field_name13,json=FieldName13" json:"__field_name13,omitempty"` X_FieldName14 *int32 `protobuf:"varint,414,opt,name=__Field_name14,json=FieldName14" json:"__Field_name14,omitempty"` Field_Name15 *int32 `protobuf:"varint,415,opt,name=field__name15,json=fieldName15" json:"field__name15,omitempty"` Field__Name16 *int32 `protobuf:"varint,416,opt,name=field__Name16,json=fieldName16" json:"field__Name16,omitempty"` FieldName17__ *int32 `protobuf:"varint,417,opt,name=field_name17__,json=fieldName17" json:"field_name17__,omitempty"` FieldName18__ *int32 `protobuf:"varint,418,opt,name=Field_name18__,json=FieldName18" json:"Field_name18__,omitempty"` // contains filtered or unexported fields }
This proto includes every type of field in both singular and repeated forms.
Also, crucially, all messages and enums in this file are eventually submessages of this message. So for example, a fuzz test of TestAllTypes could trigger bugs that occur in any message type in this file. We verify this stays true in a unit test.
func (*TestAllTypesProto2) Descriptor
deprecated
func (*TestAllTypesProto2) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2.ProtoReflect.Descriptor instead.
func (*TestAllTypesProto2) GetData ¶
func (x *TestAllTypesProto2) GetData() *TestAllTypesProto2_Data
func (*TestAllTypesProto2) GetDefaultBool ¶
func (x *TestAllTypesProto2) GetDefaultBool() bool
func (*TestAllTypesProto2) GetDefaultBytes ¶
func (x *TestAllTypesProto2) GetDefaultBytes() []byte
func (*TestAllTypesProto2) GetDefaultDouble ¶
func (x *TestAllTypesProto2) GetDefaultDouble() float64
func (*TestAllTypesProto2) GetDefaultFixed32 ¶
func (x *TestAllTypesProto2) GetDefaultFixed32() uint32
func (*TestAllTypesProto2) GetDefaultFixed64 ¶
func (x *TestAllTypesProto2) GetDefaultFixed64() uint64
func (*TestAllTypesProto2) GetDefaultFloat ¶
func (x *TestAllTypesProto2) GetDefaultFloat() float32
func (*TestAllTypesProto2) GetDefaultInt32 ¶
func (x *TestAllTypesProto2) GetDefaultInt32() int32
func (*TestAllTypesProto2) GetDefaultInt64 ¶
func (x *TestAllTypesProto2) GetDefaultInt64() int64
func (*TestAllTypesProto2) GetDefaultSfixed32 ¶
func (x *TestAllTypesProto2) GetDefaultSfixed32() int32
func (*TestAllTypesProto2) GetDefaultSfixed64 ¶
func (x *TestAllTypesProto2) GetDefaultSfixed64() int64
func (*TestAllTypesProto2) GetDefaultSint32 ¶
func (x *TestAllTypesProto2) GetDefaultSint32() int32
func (*TestAllTypesProto2) GetDefaultSint64 ¶
func (x *TestAllTypesProto2) GetDefaultSint64() int64
func (*TestAllTypesProto2) GetDefaultString ¶
func (x *TestAllTypesProto2) GetDefaultString() string
func (*TestAllTypesProto2) GetDefaultUint32 ¶
func (x *TestAllTypesProto2) GetDefaultUint32() uint32
func (*TestAllTypesProto2) GetDefaultUint64 ¶
func (x *TestAllTypesProto2) GetDefaultUint64() uint64
func (*TestAllTypesProto2) GetFIELDName12 ¶
func (x *TestAllTypesProto2) GetFIELDName12() int32
func (*TestAllTypesProto2) GetFIELD_NAME11 ¶
func (x *TestAllTypesProto2) GetFIELD_NAME11() int32
func (*TestAllTypesProto2) GetField0Name5 ¶
func (x *TestAllTypesProto2) GetField0Name5() int32
func (*TestAllTypesProto2) GetFieldName17__ ¶
func (x *TestAllTypesProto2) GetFieldName17__() int32
func (*TestAllTypesProto2) GetFieldName18__ ¶
func (x *TestAllTypesProto2) GetFieldName18__() int32
func (*TestAllTypesProto2) GetFieldName2 ¶
func (x *TestAllTypesProto2) GetFieldName2() int32
func (*TestAllTypesProto2) GetFieldName7 ¶
func (x *TestAllTypesProto2) GetFieldName7() int32
func (*TestAllTypesProto2) GetFieldName8 ¶
func (x *TestAllTypesProto2) GetFieldName8() int32
func (*TestAllTypesProto2) GetField_0Name6 ¶
func (x *TestAllTypesProto2) GetField_0Name6() int32
func (*TestAllTypesProto2) GetField_Name10 ¶
func (x *TestAllTypesProto2) GetField_Name10() int32
func (*TestAllTypesProto2) GetField_Name15 ¶
func (x *TestAllTypesProto2) GetField_Name15() int32
func (*TestAllTypesProto2) GetField_Name4_ ¶
func (x *TestAllTypesProto2) GetField_Name4_() int32
func (*TestAllTypesProto2) GetField_Name9 ¶
func (x *TestAllTypesProto2) GetField_Name9() int32
func (*TestAllTypesProto2) GetField__Name16 ¶
func (x *TestAllTypesProto2) GetField__Name16() int32
func (*TestAllTypesProto2) GetFieldname1 ¶
func (x *TestAllTypesProto2) GetFieldname1() int32
func (*TestAllTypesProto2) GetMapBoolBool ¶
func (x *TestAllTypesProto2) GetMapBoolBool() map[bool]bool
func (*TestAllTypesProto2) GetMapFixed32Fixed32 ¶
func (x *TestAllTypesProto2) GetMapFixed32Fixed32() map[uint32]uint32
func (*TestAllTypesProto2) GetMapFixed64Fixed64 ¶
func (x *TestAllTypesProto2) GetMapFixed64Fixed64() map[uint64]uint64
func (*TestAllTypesProto2) GetMapInt32Double ¶
func (x *TestAllTypesProto2) GetMapInt32Double() map[int32]float64
func (*TestAllTypesProto2) GetMapInt32Float ¶
func (x *TestAllTypesProto2) GetMapInt32Float() map[int32]float32
func (*TestAllTypesProto2) GetMapInt32Int32 ¶
func (x *TestAllTypesProto2) GetMapInt32Int32() map[int32]int32
func (*TestAllTypesProto2) GetMapInt64Int64 ¶
func (x *TestAllTypesProto2) GetMapInt64Int64() map[int64]int64
func (*TestAllTypesProto2) GetMapSfixed32Sfixed32 ¶
func (x *TestAllTypesProto2) GetMapSfixed32Sfixed32() map[int32]int32
func (*TestAllTypesProto2) GetMapSfixed64Sfixed64 ¶
func (x *TestAllTypesProto2) GetMapSfixed64Sfixed64() map[int64]int64
func (*TestAllTypesProto2) GetMapSint32Sint32 ¶
func (x *TestAllTypesProto2) GetMapSint32Sint32() map[int32]int32
func (*TestAllTypesProto2) GetMapSint64Sint64 ¶
func (x *TestAllTypesProto2) GetMapSint64Sint64() map[int64]int64
func (*TestAllTypesProto2) GetMapStringBytes ¶
func (x *TestAllTypesProto2) GetMapStringBytes() map[string][]byte
func (*TestAllTypesProto2) GetMapStringForeignEnum ¶
func (x *TestAllTypesProto2) GetMapStringForeignEnum() map[string]ForeignEnumProto2
func (*TestAllTypesProto2) GetMapStringForeignMessage ¶
func (x *TestAllTypesProto2) GetMapStringForeignMessage() map[string]*ForeignMessageProto2
func (*TestAllTypesProto2) GetMapStringNestedEnum ¶
func (x *TestAllTypesProto2) GetMapStringNestedEnum() map[string]TestAllTypesProto2_NestedEnum
func (*TestAllTypesProto2) GetMapStringNestedMessage ¶
func (x *TestAllTypesProto2) GetMapStringNestedMessage() map[string]*TestAllTypesProto2_NestedMessage
func (*TestAllTypesProto2) GetMapStringString ¶
func (x *TestAllTypesProto2) GetMapStringString() map[string]string
func (*TestAllTypesProto2) GetMapUint32Uint32 ¶
func (x *TestAllTypesProto2) GetMapUint32Uint32() map[uint32]uint32
func (*TestAllTypesProto2) GetMapUint64Uint64 ¶
func (x *TestAllTypesProto2) GetMapUint64Uint64() map[uint64]uint64
func (*TestAllTypesProto2) GetMultiwordgroupfield ¶
func (x *TestAllTypesProto2) GetMultiwordgroupfield() *TestAllTypesProto2_MultiWordGroupField
func (*TestAllTypesProto2) GetOneofBool ¶
func (x *TestAllTypesProto2) GetOneofBool() bool
func (*TestAllTypesProto2) GetOneofBytes ¶
func (x *TestAllTypesProto2) GetOneofBytes() []byte
func (*TestAllTypesProto2) GetOneofDouble ¶
func (x *TestAllTypesProto2) GetOneofDouble() float64
func (*TestAllTypesProto2) GetOneofEnum ¶
func (x *TestAllTypesProto2) GetOneofEnum() TestAllTypesProto2_NestedEnum
func (*TestAllTypesProto2) GetOneofField ¶
func (m *TestAllTypesProto2) GetOneofField() isTestAllTypesProto2_OneofField
func (*TestAllTypesProto2) GetOneofFloat ¶
func (x *TestAllTypesProto2) GetOneofFloat() float32
func (*TestAllTypesProto2) GetOneofNestedMessage ¶
func (x *TestAllTypesProto2) GetOneofNestedMessage() *TestAllTypesProto2_NestedMessage
func (*TestAllTypesProto2) GetOneofString ¶
func (x *TestAllTypesProto2) GetOneofString() string
func (*TestAllTypesProto2) GetOneofUint32 ¶
func (x *TestAllTypesProto2) GetOneofUint32() uint32
func (*TestAllTypesProto2) GetOneofUint64 ¶
func (x *TestAllTypesProto2) GetOneofUint64() uint64
func (*TestAllTypesProto2) GetOptionalBool ¶
func (x *TestAllTypesProto2) GetOptionalBool() bool
func (*TestAllTypesProto2) GetOptionalBytes ¶
func (x *TestAllTypesProto2) GetOptionalBytes() []byte
func (*TestAllTypesProto2) GetOptionalCord ¶
func (x *TestAllTypesProto2) GetOptionalCord() string
func (*TestAllTypesProto2) GetOptionalDouble ¶
func (x *TestAllTypesProto2) GetOptionalDouble() float64
func (*TestAllTypesProto2) GetOptionalFixed32 ¶
func (x *TestAllTypesProto2) GetOptionalFixed32() uint32
func (*TestAllTypesProto2) GetOptionalFixed64 ¶
func (x *TestAllTypesProto2) GetOptionalFixed64() uint64
func (*TestAllTypesProto2) GetOptionalFloat ¶
func (x *TestAllTypesProto2) GetOptionalFloat() float32
func (*TestAllTypesProto2) GetOptionalForeignEnum ¶
func (x *TestAllTypesProto2) GetOptionalForeignEnum() ForeignEnumProto2
func (*TestAllTypesProto2) GetOptionalForeignMessage ¶
func (x *TestAllTypesProto2) GetOptionalForeignMessage() *ForeignMessageProto2
func (*TestAllTypesProto2) GetOptionalInt32 ¶
func (x *TestAllTypesProto2) GetOptionalInt32() int32
func (*TestAllTypesProto2) GetOptionalInt64 ¶
func (x *TestAllTypesProto2) GetOptionalInt64() int64
func (*TestAllTypesProto2) GetOptionalNestedEnum ¶
func (x *TestAllTypesProto2) GetOptionalNestedEnum() TestAllTypesProto2_NestedEnum
func (*TestAllTypesProto2) GetOptionalNestedMessage ¶
func (x *TestAllTypesProto2) GetOptionalNestedMessage() *TestAllTypesProto2_NestedMessage
func (*TestAllTypesProto2) GetOptionalSfixed32 ¶
func (x *TestAllTypesProto2) GetOptionalSfixed32() int32
func (*TestAllTypesProto2) GetOptionalSfixed64 ¶
func (x *TestAllTypesProto2) GetOptionalSfixed64() int64
func (*TestAllTypesProto2) GetOptionalSint32 ¶
func (x *TestAllTypesProto2) GetOptionalSint32() int32
func (*TestAllTypesProto2) GetOptionalSint64 ¶
func (x *TestAllTypesProto2) GetOptionalSint64() int64
func (*TestAllTypesProto2) GetOptionalString ¶
func (x *TestAllTypesProto2) GetOptionalString() string
func (*TestAllTypesProto2) GetOptionalStringPiece ¶
func (x *TestAllTypesProto2) GetOptionalStringPiece() string
func (*TestAllTypesProto2) GetOptionalUint32 ¶
func (x *TestAllTypesProto2) GetOptionalUint32() uint32
func (*TestAllTypesProto2) GetOptionalUint64 ¶
func (x *TestAllTypesProto2) GetOptionalUint64() uint64
func (*TestAllTypesProto2) GetPackedBool ¶
func (x *TestAllTypesProto2) GetPackedBool() []bool
func (*TestAllTypesProto2) GetPackedDouble ¶
func (x *TestAllTypesProto2) GetPackedDouble() []float64
func (*TestAllTypesProto2) GetPackedFixed32 ¶
func (x *TestAllTypesProto2) GetPackedFixed32() []uint32
func (*TestAllTypesProto2) GetPackedFixed64 ¶
func (x *TestAllTypesProto2) GetPackedFixed64() []uint64
func (*TestAllTypesProto2) GetPackedFloat ¶
func (x *TestAllTypesProto2) GetPackedFloat() []float32
func (*TestAllTypesProto2) GetPackedInt32 ¶
func (x *TestAllTypesProto2) GetPackedInt32() []int32
func (*TestAllTypesProto2) GetPackedInt64 ¶
func (x *TestAllTypesProto2) GetPackedInt64() []int64
func (*TestAllTypesProto2) GetPackedNestedEnum ¶
func (x *TestAllTypesProto2) GetPackedNestedEnum() []TestAllTypesProto2_NestedEnum
func (*TestAllTypesProto2) GetPackedSfixed32 ¶
func (x *TestAllTypesProto2) GetPackedSfixed32() []int32
func (*TestAllTypesProto2) GetPackedSfixed64 ¶
func (x *TestAllTypesProto2) GetPackedSfixed64() []int64
func (*TestAllTypesProto2) GetPackedSint32 ¶
func (x *TestAllTypesProto2) GetPackedSint32() []int32
func (*TestAllTypesProto2) GetPackedSint64 ¶
func (x *TestAllTypesProto2) GetPackedSint64() []int64
func (*TestAllTypesProto2) GetPackedUint32 ¶
func (x *TestAllTypesProto2) GetPackedUint32() []uint32
func (*TestAllTypesProto2) GetPackedUint64 ¶
func (x *TestAllTypesProto2) GetPackedUint64() []uint64
func (*TestAllTypesProto2) GetRecursiveMessage ¶
func (x *TestAllTypesProto2) GetRecursiveMessage() *TestAllTypesProto2
func (*TestAllTypesProto2) GetRepeatedBool ¶
func (x *TestAllTypesProto2) GetRepeatedBool() []bool
func (*TestAllTypesProto2) GetRepeatedBytes ¶
func (x *TestAllTypesProto2) GetRepeatedBytes() [][]byte
func (*TestAllTypesProto2) GetRepeatedCord ¶
func (x *TestAllTypesProto2) GetRepeatedCord() []string
func (*TestAllTypesProto2) GetRepeatedDouble ¶
func (x *TestAllTypesProto2) GetRepeatedDouble() []float64
func (*TestAllTypesProto2) GetRepeatedFixed32 ¶
func (x *TestAllTypesProto2) GetRepeatedFixed32() []uint32
func (*TestAllTypesProto2) GetRepeatedFixed64 ¶
func (x *TestAllTypesProto2) GetRepeatedFixed64() []uint64
func (*TestAllTypesProto2) GetRepeatedFloat ¶
func (x *TestAllTypesProto2) GetRepeatedFloat() []float32
func (*TestAllTypesProto2) GetRepeatedForeignEnum ¶
func (x *TestAllTypesProto2) GetRepeatedForeignEnum() []ForeignEnumProto2
func (*TestAllTypesProto2) GetRepeatedForeignMessage ¶
func (x *TestAllTypesProto2) GetRepeatedForeignMessage() []*ForeignMessageProto2
func (*TestAllTypesProto2) GetRepeatedInt32 ¶
func (x *TestAllTypesProto2) GetRepeatedInt32() []int32
func (*TestAllTypesProto2) GetRepeatedInt64 ¶
func (x *TestAllTypesProto2) GetRepeatedInt64() []int64
func (*TestAllTypesProto2) GetRepeatedNestedEnum ¶
func (x *TestAllTypesProto2) GetRepeatedNestedEnum() []TestAllTypesProto2_NestedEnum
func (*TestAllTypesProto2) GetRepeatedNestedMessage ¶
func (x *TestAllTypesProto2) GetRepeatedNestedMessage() []*TestAllTypesProto2_NestedMessage
func (*TestAllTypesProto2) GetRepeatedSfixed32 ¶
func (x *TestAllTypesProto2) GetRepeatedSfixed32() []int32
func (*TestAllTypesProto2) GetRepeatedSfixed64 ¶
func (x *TestAllTypesProto2) GetRepeatedSfixed64() []int64
func (*TestAllTypesProto2) GetRepeatedSint32 ¶
func (x *TestAllTypesProto2) GetRepeatedSint32() []int32
func (*TestAllTypesProto2) GetRepeatedSint64 ¶
func (x *TestAllTypesProto2) GetRepeatedSint64() []int64
func (*TestAllTypesProto2) GetRepeatedString ¶
func (x *TestAllTypesProto2) GetRepeatedString() []string
func (*TestAllTypesProto2) GetRepeatedStringPiece ¶
func (x *TestAllTypesProto2) GetRepeatedStringPiece() []string
func (*TestAllTypesProto2) GetRepeatedUint32 ¶
func (x *TestAllTypesProto2) GetRepeatedUint32() []uint32
func (*TestAllTypesProto2) GetRepeatedUint64 ¶
func (x *TestAllTypesProto2) GetRepeatedUint64() []uint64
func (*TestAllTypesProto2) GetUnpackedBool ¶
func (x *TestAllTypesProto2) GetUnpackedBool() []bool
func (*TestAllTypesProto2) GetUnpackedDouble ¶
func (x *TestAllTypesProto2) GetUnpackedDouble() []float64
func (*TestAllTypesProto2) GetUnpackedFixed32 ¶
func (x *TestAllTypesProto2) GetUnpackedFixed32() []uint32
func (*TestAllTypesProto2) GetUnpackedFixed64 ¶
func (x *TestAllTypesProto2) GetUnpackedFixed64() []uint64
func (*TestAllTypesProto2) GetUnpackedFloat ¶
func (x *TestAllTypesProto2) GetUnpackedFloat() []float32
func (*TestAllTypesProto2) GetUnpackedInt32 ¶
func (x *TestAllTypesProto2) GetUnpackedInt32() []int32
func (*TestAllTypesProto2) GetUnpackedInt64 ¶
func (x *TestAllTypesProto2) GetUnpackedInt64() []int64
func (*TestAllTypesProto2) GetUnpackedNestedEnum ¶
func (x *TestAllTypesProto2) GetUnpackedNestedEnum() []TestAllTypesProto2_NestedEnum
func (*TestAllTypesProto2) GetUnpackedSfixed32 ¶
func (x *TestAllTypesProto2) GetUnpackedSfixed32() []int32
func (*TestAllTypesProto2) GetUnpackedSfixed64 ¶
func (x *TestAllTypesProto2) GetUnpackedSfixed64() []int64
func (*TestAllTypesProto2) GetUnpackedSint32 ¶
func (x *TestAllTypesProto2) GetUnpackedSint32() []int32
func (*TestAllTypesProto2) GetUnpackedSint64 ¶
func (x *TestAllTypesProto2) GetUnpackedSint64() []int64
func (*TestAllTypesProto2) GetUnpackedUint32 ¶
func (x *TestAllTypesProto2) GetUnpackedUint32() []uint32
func (*TestAllTypesProto2) GetUnpackedUint64 ¶
func (x *TestAllTypesProto2) GetUnpackedUint64() []uint64
func (*TestAllTypesProto2) GetXFieldName13 ¶
func (x *TestAllTypesProto2) GetXFieldName13() int32
func (*TestAllTypesProto2) GetXFieldName3 ¶
func (x *TestAllTypesProto2) GetXFieldName3() int32
func (*TestAllTypesProto2) GetX_FieldName14 ¶
func (x *TestAllTypesProto2) GetX_FieldName14() int32
func (*TestAllTypesProto2) ProtoMessage ¶
func (*TestAllTypesProto2) ProtoMessage()
func (*TestAllTypesProto2) ProtoReflect ¶
func (x *TestAllTypesProto2) ProtoReflect() protoreflect.Message
func (*TestAllTypesProto2) Reset ¶
func (x *TestAllTypesProto2) Reset()
func (*TestAllTypesProto2) String ¶
func (x *TestAllTypesProto2) String() string
type TestAllTypesProto2_Data ¶
type TestAllTypesProto2_Data struct { GroupInt32 *int32 `protobuf:"varint,202,opt,name=group_int32,json=groupInt32" json:"group_int32,omitempty"` GroupUint32 *uint32 `protobuf:"varint,203,opt,name=group_uint32,json=groupUint32" json:"group_uint32,omitempty"` // contains filtered or unexported fields }
groups
func (*TestAllTypesProto2_Data) Descriptor
deprecated
func (*TestAllTypesProto2_Data) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_Data.ProtoReflect.Descriptor instead.
func (*TestAllTypesProto2_Data) GetGroupInt32 ¶
func (x *TestAllTypesProto2_Data) GetGroupInt32() int32
func (*TestAllTypesProto2_Data) GetGroupUint32 ¶
func (x *TestAllTypesProto2_Data) GetGroupUint32() uint32
func (*TestAllTypesProto2_Data) ProtoMessage ¶
func (*TestAllTypesProto2_Data) ProtoMessage()
func (*TestAllTypesProto2_Data) ProtoReflect ¶
func (x *TestAllTypesProto2_Data) ProtoReflect() protoreflect.Message
func (*TestAllTypesProto2_Data) Reset ¶
func (x *TestAllTypesProto2_Data) Reset()
func (*TestAllTypesProto2_Data) String ¶
func (x *TestAllTypesProto2_Data) String() string
type TestAllTypesProto2_MessageSetCorrect ¶
type TestAllTypesProto2_MessageSetCorrect struct {
// contains filtered or unexported fields
}
message_set test case.
func (*TestAllTypesProto2_MessageSetCorrect) Descriptor
deprecated
func (*TestAllTypesProto2_MessageSetCorrect) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_MessageSetCorrect.ProtoReflect.Descriptor instead.
func (*TestAllTypesProto2_MessageSetCorrect) ProtoMessage ¶
func (*TestAllTypesProto2_MessageSetCorrect) ProtoMessage()
func (*TestAllTypesProto2_MessageSetCorrect) ProtoReflect ¶
func (x *TestAllTypesProto2_MessageSetCorrect) ProtoReflect() protoreflect.Message
func (*TestAllTypesProto2_MessageSetCorrect) Reset ¶
func (x *TestAllTypesProto2_MessageSetCorrect) Reset()
func (*TestAllTypesProto2_MessageSetCorrect) String ¶
func (x *TestAllTypesProto2_MessageSetCorrect) String() string
type TestAllTypesProto2_MessageSetCorrectExtension1 ¶
type TestAllTypesProto2_MessageSetCorrectExtension1 struct { Str *string `protobuf:"bytes,25,opt,name=str" json:"str,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypesProto2_MessageSetCorrectExtension1) Descriptor
deprecated
func (*TestAllTypesProto2_MessageSetCorrectExtension1) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_MessageSetCorrectExtension1.ProtoReflect.Descriptor instead.
func (*TestAllTypesProto2_MessageSetCorrectExtension1) GetStr ¶
func (x *TestAllTypesProto2_MessageSetCorrectExtension1) GetStr() string
func (*TestAllTypesProto2_MessageSetCorrectExtension1) ProtoMessage ¶
func (*TestAllTypesProto2_MessageSetCorrectExtension1) ProtoMessage()
func (*TestAllTypesProto2_MessageSetCorrectExtension1) ProtoReflect ¶
func (x *TestAllTypesProto2_MessageSetCorrectExtension1) ProtoReflect() protoreflect.Message
func (*TestAllTypesProto2_MessageSetCorrectExtension1) Reset ¶
func (x *TestAllTypesProto2_MessageSetCorrectExtension1) Reset()
func (*TestAllTypesProto2_MessageSetCorrectExtension1) String ¶
func (x *TestAllTypesProto2_MessageSetCorrectExtension1) String() string
type TestAllTypesProto2_MessageSetCorrectExtension2 ¶
type TestAllTypesProto2_MessageSetCorrectExtension2 struct { I *int32 `protobuf:"varint,9,opt,name=i" json:"i,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypesProto2_MessageSetCorrectExtension2) Descriptor
deprecated
func (*TestAllTypesProto2_MessageSetCorrectExtension2) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_MessageSetCorrectExtension2.ProtoReflect.Descriptor instead.
func (*TestAllTypesProto2_MessageSetCorrectExtension2) GetI ¶
func (x *TestAllTypesProto2_MessageSetCorrectExtension2) GetI() int32
func (*TestAllTypesProto2_MessageSetCorrectExtension2) ProtoMessage ¶
func (*TestAllTypesProto2_MessageSetCorrectExtension2) ProtoMessage()
func (*TestAllTypesProto2_MessageSetCorrectExtension2) ProtoReflect ¶
func (x *TestAllTypesProto2_MessageSetCorrectExtension2) ProtoReflect() protoreflect.Message
func (*TestAllTypesProto2_MessageSetCorrectExtension2) Reset ¶
func (x *TestAllTypesProto2_MessageSetCorrectExtension2) Reset()
func (*TestAllTypesProto2_MessageSetCorrectExtension2) String ¶
func (x *TestAllTypesProto2_MessageSetCorrectExtension2) String() string
type TestAllTypesProto2_MultiWordGroupField ¶
type TestAllTypesProto2_MultiWordGroupField struct { GroupInt32 *int32 `protobuf:"varint,205,opt,name=group_int32,json=groupInt32" json:"group_int32,omitempty"` GroupUint32 *uint32 `protobuf:"varint,206,opt,name=group_uint32,json=groupUint32" json:"group_uint32,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypesProto2_MultiWordGroupField) Descriptor
deprecated
func (*TestAllTypesProto2_MultiWordGroupField) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_MultiWordGroupField.ProtoReflect.Descriptor instead.
func (*TestAllTypesProto2_MultiWordGroupField) GetGroupInt32 ¶
func (x *TestAllTypesProto2_MultiWordGroupField) GetGroupInt32() int32
func (*TestAllTypesProto2_MultiWordGroupField) GetGroupUint32 ¶
func (x *TestAllTypesProto2_MultiWordGroupField) GetGroupUint32() uint32
func (*TestAllTypesProto2_MultiWordGroupField) ProtoMessage ¶
func (*TestAllTypesProto2_MultiWordGroupField) ProtoMessage()
func (*TestAllTypesProto2_MultiWordGroupField) ProtoReflect ¶
func (x *TestAllTypesProto2_MultiWordGroupField) ProtoReflect() protoreflect.Message
func (*TestAllTypesProto2_MultiWordGroupField) Reset ¶
func (x *TestAllTypesProto2_MultiWordGroupField) Reset()
func (*TestAllTypesProto2_MultiWordGroupField) String ¶
func (x *TestAllTypesProto2_MultiWordGroupField) String() string
type TestAllTypesProto2_NestedEnum ¶
type TestAllTypesProto2_NestedEnum int32
const ( TestAllTypesProto2_FOO TestAllTypesProto2_NestedEnum = 0 TestAllTypesProto2_BAR TestAllTypesProto2_NestedEnum = 1 TestAllTypesProto2_BAZ TestAllTypesProto2_NestedEnum = 2 TestAllTypesProto2_NEG TestAllTypesProto2_NestedEnum = -1 // Intentionally negative. )
func (TestAllTypesProto2_NestedEnum) Descriptor ¶
func (TestAllTypesProto2_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (TestAllTypesProto2_NestedEnum) Enum ¶
func (x TestAllTypesProto2_NestedEnum) Enum() *TestAllTypesProto2_NestedEnum
func (TestAllTypesProto2_NestedEnum) EnumDescriptor
deprecated
func (TestAllTypesProto2_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_NestedEnum.Descriptor instead.
func (TestAllTypesProto2_NestedEnum) Number ¶
func (x TestAllTypesProto2_NestedEnum) Number() protoreflect.EnumNumber
func (TestAllTypesProto2_NestedEnum) String ¶
func (x TestAllTypesProto2_NestedEnum) String() string
func (TestAllTypesProto2_NestedEnum) Type ¶
func (TestAllTypesProto2_NestedEnum) Type() protoreflect.EnumType
type TestAllTypesProto2_NestedMessage ¶
type TestAllTypesProto2_NestedMessage struct { A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"` Corecursive *TestAllTypesProto2 `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypesProto2_NestedMessage) Descriptor
deprecated
func (*TestAllTypesProto2_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_NestedMessage.ProtoReflect.Descriptor instead.
func (*TestAllTypesProto2_NestedMessage) GetA ¶
func (x *TestAllTypesProto2_NestedMessage) GetA() int32
func (*TestAllTypesProto2_NestedMessage) GetCorecursive ¶
func (x *TestAllTypesProto2_NestedMessage) GetCorecursive() *TestAllTypesProto2
func (*TestAllTypesProto2_NestedMessage) ProtoMessage ¶
func (*TestAllTypesProto2_NestedMessage) ProtoMessage()
func (*TestAllTypesProto2_NestedMessage) ProtoReflect ¶
func (x *TestAllTypesProto2_NestedMessage) ProtoReflect() protoreflect.Message
func (*TestAllTypesProto2_NestedMessage) Reset ¶
func (x *TestAllTypesProto2_NestedMessage) Reset()
func (*TestAllTypesProto2_NestedMessage) String ¶
func (x *TestAllTypesProto2_NestedMessage) String() string
type TestAllTypesProto2_OneofBool ¶
type TestAllTypesProto2_OneofBool struct {
OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"`
}
type TestAllTypesProto2_OneofBytes ¶
type TestAllTypesProto2_OneofBytes struct {
OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,oneof"`
}
type TestAllTypesProto2_OneofDouble ¶
type TestAllTypesProto2_OneofDouble struct {
OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"`
}
type TestAllTypesProto2_OneofEnum ¶
type TestAllTypesProto2_OneofEnum struct {
OneofEnum TestAllTypesProto2_NestedEnum `` /* 136-byte string literal not displayed */
}
type TestAllTypesProto2_OneofFloat ¶
type TestAllTypesProto2_OneofFloat struct {
OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"`
}
type TestAllTypesProto2_OneofNestedMessage ¶
type TestAllTypesProto2_OneofNestedMessage struct {
OneofNestedMessage *TestAllTypesProto2_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"`
}
type TestAllTypesProto2_OneofString ¶
type TestAllTypesProto2_OneofString struct {
OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"`
}
type TestAllTypesProto2_OneofUint32 ¶
type TestAllTypesProto2_OneofUint32 struct {
OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"`
}
type TestAllTypesProto2_OneofUint64 ¶
type TestAllTypesProto2_OneofUint64 struct {
OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"`
}
type TestAllTypesProto3 ¶
type TestAllTypesProto3 struct { // Singular 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"` OptionalNestedMessage *TestAllTypesProto3_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 TestAllTypesProto3_NestedEnum `` /* 186-byte string literal not displayed */ OptionalForeignEnum ForeignEnum `` /* 171-byte string literal not displayed */ OptionalAliasedEnum TestAllTypesProto3_AliasedEnum `` /* 190-byte string literal not displayed */ OptionalStringPiece string `protobuf:"bytes,24,opt,name=optional_string_piece,json=optionalStringPiece" json:"optional_string_piece,omitempty"` OptionalCord string `protobuf:"bytes,25,opt,name=optional_cord,json=optionalCord" json:"optional_cord,omitempty"` RecursiveMessage *TestAllTypesProto3 `protobuf:"bytes,27,opt,name=recursive_message,json=recursiveMessage" json:"recursive_message,omitempty"` // Repeated 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"` RepeatedNestedMessage []*TestAllTypesProto3_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 []TestAllTypesProto3_NestedEnum `` /* 193-byte string literal not displayed */ RepeatedForeignEnum []ForeignEnum `` /* 178-byte string literal not displayed */ RepeatedStringPiece []string `protobuf:"bytes,54,rep,name=repeated_string_piece,json=repeatedStringPiece" json:"repeated_string_piece,omitempty"` RepeatedCord []string `protobuf:"bytes,55,rep,name=repeated_cord,json=repeatedCord" json:"repeated_cord,omitempty"` // Packed PackedInt32 []int32 `protobuf:"varint,75,rep,packed,name=packed_int32,json=packedInt32" json:"packed_int32,omitempty"` PackedInt64 []int64 `protobuf:"varint,76,rep,packed,name=packed_int64,json=packedInt64" json:"packed_int64,omitempty"` PackedUint32 []uint32 `protobuf:"varint,77,rep,packed,name=packed_uint32,json=packedUint32" json:"packed_uint32,omitempty"` PackedUint64 []uint64 `protobuf:"varint,78,rep,packed,name=packed_uint64,json=packedUint64" json:"packed_uint64,omitempty"` PackedSint32 []int32 `protobuf:"zigzag32,79,rep,packed,name=packed_sint32,json=packedSint32" json:"packed_sint32,omitempty"` PackedSint64 []int64 `protobuf:"zigzag64,80,rep,packed,name=packed_sint64,json=packedSint64" json:"packed_sint64,omitempty"` PackedFixed32 []uint32 `protobuf:"fixed32,81,rep,packed,name=packed_fixed32,json=packedFixed32" json:"packed_fixed32,omitempty"` PackedFixed64 []uint64 `protobuf:"fixed64,82,rep,packed,name=packed_fixed64,json=packedFixed64" json:"packed_fixed64,omitempty"` PackedSfixed32 []int32 `protobuf:"fixed32,83,rep,packed,name=packed_sfixed32,json=packedSfixed32" json:"packed_sfixed32,omitempty"` PackedSfixed64 []int64 `protobuf:"fixed64,84,rep,packed,name=packed_sfixed64,json=packedSfixed64" json:"packed_sfixed64,omitempty"` PackedFloat []float32 `protobuf:"fixed32,85,rep,packed,name=packed_float,json=packedFloat" json:"packed_float,omitempty"` PackedDouble []float64 `protobuf:"fixed64,86,rep,packed,name=packed_double,json=packedDouble" json:"packed_double,omitempty"` PackedBool []bool `protobuf:"varint,87,rep,packed,name=packed_bool,json=packedBool" json:"packed_bool,omitempty"` PackedNestedEnum []TestAllTypesProto3_NestedEnum `` /* 187-byte string literal not displayed */ // Unpacked UnpackedInt32 []int32 `protobuf:"varint,89,rep,name=unpacked_int32,json=unpackedInt32" json:"unpacked_int32,omitempty"` UnpackedInt64 []int64 `protobuf:"varint,90,rep,name=unpacked_int64,json=unpackedInt64" json:"unpacked_int64,omitempty"` UnpackedUint32 []uint32 `protobuf:"varint,91,rep,name=unpacked_uint32,json=unpackedUint32" json:"unpacked_uint32,omitempty"` UnpackedUint64 []uint64 `protobuf:"varint,92,rep,name=unpacked_uint64,json=unpackedUint64" json:"unpacked_uint64,omitempty"` UnpackedSint32 []int32 `protobuf:"zigzag32,93,rep,name=unpacked_sint32,json=unpackedSint32" json:"unpacked_sint32,omitempty"` UnpackedSint64 []int64 `protobuf:"zigzag64,94,rep,name=unpacked_sint64,json=unpackedSint64" json:"unpacked_sint64,omitempty"` UnpackedFixed32 []uint32 `protobuf:"fixed32,95,rep,name=unpacked_fixed32,json=unpackedFixed32" json:"unpacked_fixed32,omitempty"` UnpackedFixed64 []uint64 `protobuf:"fixed64,96,rep,name=unpacked_fixed64,json=unpackedFixed64" json:"unpacked_fixed64,omitempty"` UnpackedSfixed32 []int32 `protobuf:"fixed32,97,rep,name=unpacked_sfixed32,json=unpackedSfixed32" json:"unpacked_sfixed32,omitempty"` UnpackedSfixed64 []int64 `protobuf:"fixed64,98,rep,name=unpacked_sfixed64,json=unpackedSfixed64" json:"unpacked_sfixed64,omitempty"` UnpackedFloat []float32 `protobuf:"fixed32,99,rep,name=unpacked_float,json=unpackedFloat" json:"unpacked_float,omitempty"` UnpackedDouble []float64 `protobuf:"fixed64,100,rep,name=unpacked_double,json=unpackedDouble" json:"unpacked_double,omitempty"` UnpackedBool []bool `protobuf:"varint,101,rep,name=unpacked_bool,json=unpackedBool" json:"unpacked_bool,omitempty"` UnpackedNestedEnum []TestAllTypesProto3_NestedEnum `` /* 187-byte string literal not displayed */ // Map 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]*TestAllTypesProto3_NestedMessage `` /* 199-byte string literal not displayed */ MapStringForeignMessage map[string]*ForeignMessage `` /* 202-byte string literal not displayed */ MapStringNestedEnum map[string]TestAllTypesProto3_NestedEnum `` /* 265-byte string literal not displayed */ MapStringForeignEnum map[string]ForeignEnum `` /* 250-byte string literal not displayed */ // Types that are assignable to OneofField: // // *TestAllTypesProto3_OneofUint32 // *TestAllTypesProto3_OneofNestedMessage // *TestAllTypesProto3_OneofString // *TestAllTypesProto3_OneofBytes // *TestAllTypesProto3_OneofBool // *TestAllTypesProto3_OneofUint64 // *TestAllTypesProto3_OneofFloat // *TestAllTypesProto3_OneofDouble // *TestAllTypesProto3_OneofEnum // *TestAllTypesProto3_OneofNullValue OneofField isTestAllTypesProto3_OneofField `protobuf_oneof:"oneof_field"` // Well-known types OptionalBoolWrapper *wrapperspb.BoolValue `protobuf:"bytes,201,opt,name=optional_bool_wrapper,json=optionalBoolWrapper" json:"optional_bool_wrapper,omitempty"` OptionalInt32Wrapper *wrapperspb.Int32Value `protobuf:"bytes,202,opt,name=optional_int32_wrapper,json=optionalInt32Wrapper" json:"optional_int32_wrapper,omitempty"` OptionalInt64Wrapper *wrapperspb.Int64Value `protobuf:"bytes,203,opt,name=optional_int64_wrapper,json=optionalInt64Wrapper" json:"optional_int64_wrapper,omitempty"` OptionalUint32Wrapper *wrapperspb.UInt32Value `protobuf:"bytes,204,opt,name=optional_uint32_wrapper,json=optionalUint32Wrapper" json:"optional_uint32_wrapper,omitempty"` OptionalUint64Wrapper *wrapperspb.UInt64Value `protobuf:"bytes,205,opt,name=optional_uint64_wrapper,json=optionalUint64Wrapper" json:"optional_uint64_wrapper,omitempty"` OptionalFloatWrapper *wrapperspb.FloatValue `protobuf:"bytes,206,opt,name=optional_float_wrapper,json=optionalFloatWrapper" json:"optional_float_wrapper,omitempty"` OptionalDoubleWrapper *wrapperspb.DoubleValue `protobuf:"bytes,207,opt,name=optional_double_wrapper,json=optionalDoubleWrapper" json:"optional_double_wrapper,omitempty"` OptionalStringWrapper *wrapperspb.StringValue `protobuf:"bytes,208,opt,name=optional_string_wrapper,json=optionalStringWrapper" json:"optional_string_wrapper,omitempty"` OptionalBytesWrapper *wrapperspb.BytesValue `protobuf:"bytes,209,opt,name=optional_bytes_wrapper,json=optionalBytesWrapper" json:"optional_bytes_wrapper,omitempty"` RepeatedBoolWrapper []*wrapperspb.BoolValue `protobuf:"bytes,211,rep,name=repeated_bool_wrapper,json=repeatedBoolWrapper" json:"repeated_bool_wrapper,omitempty"` RepeatedInt32Wrapper []*wrapperspb.Int32Value `protobuf:"bytes,212,rep,name=repeated_int32_wrapper,json=repeatedInt32Wrapper" json:"repeated_int32_wrapper,omitempty"` RepeatedInt64Wrapper []*wrapperspb.Int64Value `protobuf:"bytes,213,rep,name=repeated_int64_wrapper,json=repeatedInt64Wrapper" json:"repeated_int64_wrapper,omitempty"` RepeatedUint32Wrapper []*wrapperspb.UInt32Value `protobuf:"bytes,214,rep,name=repeated_uint32_wrapper,json=repeatedUint32Wrapper" json:"repeated_uint32_wrapper,omitempty"` RepeatedUint64Wrapper []*wrapperspb.UInt64Value `protobuf:"bytes,215,rep,name=repeated_uint64_wrapper,json=repeatedUint64Wrapper" json:"repeated_uint64_wrapper,omitempty"` RepeatedFloatWrapper []*wrapperspb.FloatValue `protobuf:"bytes,216,rep,name=repeated_float_wrapper,json=repeatedFloatWrapper" json:"repeated_float_wrapper,omitempty"` RepeatedDoubleWrapper []*wrapperspb.DoubleValue `protobuf:"bytes,217,rep,name=repeated_double_wrapper,json=repeatedDoubleWrapper" json:"repeated_double_wrapper,omitempty"` RepeatedStringWrapper []*wrapperspb.StringValue `protobuf:"bytes,218,rep,name=repeated_string_wrapper,json=repeatedStringWrapper" json:"repeated_string_wrapper,omitempty"` RepeatedBytesWrapper []*wrapperspb.BytesValue `protobuf:"bytes,219,rep,name=repeated_bytes_wrapper,json=repeatedBytesWrapper" json:"repeated_bytes_wrapper,omitempty"` OptionalDuration *durationpb.Duration `protobuf:"bytes,301,opt,name=optional_duration,json=optionalDuration" json:"optional_duration,omitempty"` OptionalTimestamp *timestamppb.Timestamp `protobuf:"bytes,302,opt,name=optional_timestamp,json=optionalTimestamp" json:"optional_timestamp,omitempty"` OptionalFieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,303,opt,name=optional_field_mask,json=optionalFieldMask" json:"optional_field_mask,omitempty"` OptionalStruct *structpb.Struct `protobuf:"bytes,304,opt,name=optional_struct,json=optionalStruct" json:"optional_struct,omitempty"` OptionalAny *anypb.Any `protobuf:"bytes,305,opt,name=optional_any,json=optionalAny" json:"optional_any,omitempty"` OptionalValue *structpb.Value `protobuf:"bytes,306,opt,name=optional_value,json=optionalValue" json:"optional_value,omitempty"` OptionalNullValue structpb.NullValue `` /* 141-byte string literal not displayed */ RepeatedDuration []*durationpb.Duration `protobuf:"bytes,311,rep,name=repeated_duration,json=repeatedDuration" json:"repeated_duration,omitempty"` RepeatedTimestamp []*timestamppb.Timestamp `protobuf:"bytes,312,rep,name=repeated_timestamp,json=repeatedTimestamp" json:"repeated_timestamp,omitempty"` RepeatedFieldmask []*fieldmaskpb.FieldMask `protobuf:"bytes,313,rep,name=repeated_fieldmask,json=repeatedFieldmask" json:"repeated_fieldmask,omitempty"` RepeatedStruct []*structpb.Struct `protobuf:"bytes,324,rep,name=repeated_struct,json=repeatedStruct" json:"repeated_struct,omitempty"` RepeatedAny []*anypb.Any `protobuf:"bytes,315,rep,name=repeated_any,json=repeatedAny" json:"repeated_any,omitempty"` RepeatedValue []*structpb.Value `protobuf:"bytes,316,rep,name=repeated_value,json=repeatedValue" json:"repeated_value,omitempty"` RepeatedListValue []*structpb.ListValue `protobuf:"bytes,317,rep,name=repeated_list_value,json=repeatedListValue" json:"repeated_list_value,omitempty"` // Test field-name-to-JSON-name convention. // (protobuf says names can be any valid C/C++ identifier.) Fieldname1 int32 `protobuf:"varint,401,opt,name=fieldname1" json:"fieldname1,omitempty"` FieldName2 int32 `protobuf:"varint,402,opt,name=field_name2,json=fieldName2" json:"field_name2,omitempty"` XFieldName3 int32 `protobuf:"varint,403,opt,name=_field_name3,json=FieldName3" json:"_field_name3,omitempty"` Field_Name4_ int32 `protobuf:"varint,404,opt,name=field__name4_,json=fieldName4" json:"field__name4_,omitempty"` Field0Name5 int32 `protobuf:"varint,405,opt,name=field0name5" json:"field0name5,omitempty"` Field_0Name6 int32 `protobuf:"varint,406,opt,name=field_0_name6,json=field0Name6" json:"field_0_name6,omitempty"` FieldName7 int32 `protobuf:"varint,407,opt,name=fieldName7" json:"fieldName7,omitempty"` FieldName8 int32 `protobuf:"varint,408,opt,name=FieldName8" json:"FieldName8,omitempty"` Field_Name9 int32 `protobuf:"varint,409,opt,name=field_Name9,json=fieldName9" json:"field_Name9,omitempty"` Field_Name10 int32 `protobuf:"varint,410,opt,name=Field_Name10,json=FieldName10" json:"Field_Name10,omitempty"` FIELD_NAME11 int32 `protobuf:"varint,411,opt,name=FIELD_NAME11,json=FIELDNAME11" json:"FIELD_NAME11,omitempty"` FIELDName12 int32 `protobuf:"varint,412,opt,name=FIELD_name12,json=FIELDName12" json:"FIELD_name12,omitempty"` XFieldName13 int32 `protobuf:"varint,413,opt,name=__field_name13,json=FieldName13" json:"__field_name13,omitempty"` X_FieldName14 int32 `protobuf:"varint,414,opt,name=__Field_name14,json=FieldName14" json:"__Field_name14,omitempty"` Field_Name15 int32 `protobuf:"varint,415,opt,name=field__name15,json=fieldName15" json:"field__name15,omitempty"` Field__Name16 int32 `protobuf:"varint,416,opt,name=field__Name16,json=fieldName16" json:"field__Name16,omitempty"` FieldName17__ int32 `protobuf:"varint,417,opt,name=field_name17__,json=fieldName17" json:"field_name17__,omitempty"` FieldName18__ int32 `protobuf:"varint,418,opt,name=Field_name18__,json=FieldName18" json:"Field_name18__,omitempty"` // contains filtered or unexported fields }
This proto includes every type of field in both singular and repeated forms.
Also, crucially, all messages and enums in this file are eventually submessages of this message. So for example, a fuzz test of TestAllTypes could trigger bugs that occur in any message type in this file. We verify this stays true in a unit test.
func (*TestAllTypesProto3) Descriptor
deprecated
func (*TestAllTypesProto3) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto3.ProtoReflect.Descriptor instead.
func (*TestAllTypesProto3) GetFIELDName12 ¶
func (x *TestAllTypesProto3) GetFIELDName12() int32
func (*TestAllTypesProto3) GetFIELD_NAME11 ¶
func (x *TestAllTypesProto3) GetFIELD_NAME11() int32
func (*TestAllTypesProto3) GetField0Name5 ¶
func (x *TestAllTypesProto3) GetField0Name5() int32
func (*TestAllTypesProto3) GetFieldName17__ ¶
func (x *TestAllTypesProto3) GetFieldName17__() int32
func (*TestAllTypesProto3) GetFieldName18__ ¶
func (x *TestAllTypesProto3) GetFieldName18__() int32
func (*TestAllTypesProto3) GetFieldName2 ¶
func (x *TestAllTypesProto3) GetFieldName2() int32
func (*TestAllTypesProto3) GetFieldName7 ¶
func (x *TestAllTypesProto3) GetFieldName7() int32
func (*TestAllTypesProto3) GetFieldName8 ¶
func (x *TestAllTypesProto3) GetFieldName8() int32
func (*TestAllTypesProto3) GetField_0Name6 ¶
func (x *TestAllTypesProto3) GetField_0Name6() int32
func (*TestAllTypesProto3) GetField_Name10 ¶
func (x *TestAllTypesProto3) GetField_Name10() int32
func (*TestAllTypesProto3) GetField_Name15 ¶
func (x *TestAllTypesProto3) GetField_Name15() int32
func (*TestAllTypesProto3) GetField_Name4_ ¶
func (x *TestAllTypesProto3) GetField_Name4_() int32
func (*TestAllTypesProto3) GetField_Name9 ¶
func (x *TestAllTypesProto3) GetField_Name9() int32
func (*TestAllTypesProto3) GetField__Name16 ¶
func (x *TestAllTypesProto3) GetField__Name16() int32
func (*TestAllTypesProto3) GetFieldname1 ¶
func (x *TestAllTypesProto3) GetFieldname1() int32
func (*TestAllTypesProto3) GetMapBoolBool ¶
func (x *TestAllTypesProto3) GetMapBoolBool() map[bool]bool
func (*TestAllTypesProto3) GetMapFixed32Fixed32 ¶
func (x *TestAllTypesProto3) GetMapFixed32Fixed32() map[uint32]uint32
func (*TestAllTypesProto3) GetMapFixed64Fixed64 ¶
func (x *TestAllTypesProto3) GetMapFixed64Fixed64() map[uint64]uint64
func (*TestAllTypesProto3) GetMapInt32Double ¶
func (x *TestAllTypesProto3) GetMapInt32Double() map[int32]float64
func (*TestAllTypesProto3) GetMapInt32Float ¶
func (x *TestAllTypesProto3) GetMapInt32Float() map[int32]float32
func (*TestAllTypesProto3) GetMapInt32Int32 ¶
func (x *TestAllTypesProto3) GetMapInt32Int32() map[int32]int32
func (*TestAllTypesProto3) GetMapInt64Int64 ¶
func (x *TestAllTypesProto3) GetMapInt64Int64() map[int64]int64
func (*TestAllTypesProto3) GetMapSfixed32Sfixed32 ¶
func (x *TestAllTypesProto3) GetMapSfixed32Sfixed32() map[int32]int32
func (*TestAllTypesProto3) GetMapSfixed64Sfixed64 ¶
func (x *TestAllTypesProto3) GetMapSfixed64Sfixed64() map[int64]int64
func (*TestAllTypesProto3) GetMapSint32Sint32 ¶
func (x *TestAllTypesProto3) GetMapSint32Sint32() map[int32]int32
func (*TestAllTypesProto3) GetMapSint64Sint64 ¶
func (x *TestAllTypesProto3) GetMapSint64Sint64() map[int64]int64
func (*TestAllTypesProto3) GetMapStringBytes ¶
func (x *TestAllTypesProto3) GetMapStringBytes() map[string][]byte
func (*TestAllTypesProto3) GetMapStringForeignEnum ¶
func (x *TestAllTypesProto3) GetMapStringForeignEnum() map[string]ForeignEnum
func (*TestAllTypesProto3) GetMapStringForeignMessage ¶
func (x *TestAllTypesProto3) GetMapStringForeignMessage() map[string]*ForeignMessage
func (*TestAllTypesProto3) GetMapStringNestedEnum ¶
func (x *TestAllTypesProto3) GetMapStringNestedEnum() map[string]TestAllTypesProto3_NestedEnum
func (*TestAllTypesProto3) GetMapStringNestedMessage ¶
func (x *TestAllTypesProto3) GetMapStringNestedMessage() map[string]*TestAllTypesProto3_NestedMessage
func (*TestAllTypesProto3) GetMapStringString ¶
func (x *TestAllTypesProto3) GetMapStringString() map[string]string
func (*TestAllTypesProto3) GetMapUint32Uint32 ¶
func (x *TestAllTypesProto3) GetMapUint32Uint32() map[uint32]uint32
func (*TestAllTypesProto3) GetMapUint64Uint64 ¶
func (x *TestAllTypesProto3) GetMapUint64Uint64() map[uint64]uint64
func (*TestAllTypesProto3) GetOneofBool ¶
func (x *TestAllTypesProto3) GetOneofBool() bool
func (*TestAllTypesProto3) GetOneofBytes ¶
func (x *TestAllTypesProto3) GetOneofBytes() []byte
func (*TestAllTypesProto3) GetOneofDouble ¶
func (x *TestAllTypesProto3) GetOneofDouble() float64
func (*TestAllTypesProto3) GetOneofEnum ¶
func (x *TestAllTypesProto3) GetOneofEnum() TestAllTypesProto3_NestedEnum
func (*TestAllTypesProto3) GetOneofField ¶
func (m *TestAllTypesProto3) GetOneofField() isTestAllTypesProto3_OneofField
func (*TestAllTypesProto3) GetOneofFloat ¶
func (x *TestAllTypesProto3) GetOneofFloat() float32
func (*TestAllTypesProto3) GetOneofNestedMessage ¶
func (x *TestAllTypesProto3) GetOneofNestedMessage() *TestAllTypesProto3_NestedMessage
func (*TestAllTypesProto3) GetOneofNullValue ¶
func (x *TestAllTypesProto3) GetOneofNullValue() structpb.NullValue
func (*TestAllTypesProto3) GetOneofString ¶
func (x *TestAllTypesProto3) GetOneofString() string
func (*TestAllTypesProto3) GetOneofUint32 ¶
func (x *TestAllTypesProto3) GetOneofUint32() uint32
func (*TestAllTypesProto3) GetOneofUint64 ¶
func (x *TestAllTypesProto3) GetOneofUint64() uint64
func (*TestAllTypesProto3) GetOptionalAliasedEnum ¶
func (x *TestAllTypesProto3) GetOptionalAliasedEnum() TestAllTypesProto3_AliasedEnum
func (*TestAllTypesProto3) GetOptionalAny ¶
func (x *TestAllTypesProto3) GetOptionalAny() *anypb.Any
func (*TestAllTypesProto3) GetOptionalBool ¶
func (x *TestAllTypesProto3) GetOptionalBool() bool
func (*TestAllTypesProto3) GetOptionalBoolWrapper ¶
func (x *TestAllTypesProto3) GetOptionalBoolWrapper() *wrapperspb.BoolValue
func (*TestAllTypesProto3) GetOptionalBytes ¶
func (x *TestAllTypesProto3) GetOptionalBytes() []byte
func (*TestAllTypesProto3) GetOptionalBytesWrapper ¶
func (x *TestAllTypesProto3) GetOptionalBytesWrapper() *wrapperspb.BytesValue
func (*TestAllTypesProto3) GetOptionalCord ¶
func (x *TestAllTypesProto3) GetOptionalCord() string
func (*TestAllTypesProto3) GetOptionalDouble ¶
func (x *TestAllTypesProto3) GetOptionalDouble() float64
func (*TestAllTypesProto3) GetOptionalDoubleWrapper ¶
func (x *TestAllTypesProto3) GetOptionalDoubleWrapper() *wrapperspb.DoubleValue
func (*TestAllTypesProto3) GetOptionalDuration ¶
func (x *TestAllTypesProto3) GetOptionalDuration() *durationpb.Duration
func (*TestAllTypesProto3) GetOptionalFieldMask ¶
func (x *TestAllTypesProto3) GetOptionalFieldMask() *fieldmaskpb.FieldMask
func (*TestAllTypesProto3) GetOptionalFixed32 ¶
func (x *TestAllTypesProto3) GetOptionalFixed32() uint32
func (*TestAllTypesProto3) GetOptionalFixed64 ¶
func (x *TestAllTypesProto3) GetOptionalFixed64() uint64
func (*TestAllTypesProto3) GetOptionalFloat ¶
func (x *TestAllTypesProto3) GetOptionalFloat() float32
func (*TestAllTypesProto3) GetOptionalFloatWrapper ¶
func (x *TestAllTypesProto3) GetOptionalFloatWrapper() *wrapperspb.FloatValue
func (*TestAllTypesProto3) GetOptionalForeignEnum ¶
func (x *TestAllTypesProto3) GetOptionalForeignEnum() ForeignEnum
func (*TestAllTypesProto3) GetOptionalForeignMessage ¶
func (x *TestAllTypesProto3) GetOptionalForeignMessage() *ForeignMessage
func (*TestAllTypesProto3) GetOptionalInt32 ¶
func (x *TestAllTypesProto3) GetOptionalInt32() int32
func (*TestAllTypesProto3) GetOptionalInt32Wrapper ¶
func (x *TestAllTypesProto3) GetOptionalInt32Wrapper() *wrapperspb.Int32Value
func (*TestAllTypesProto3) GetOptionalInt64 ¶
func (x *TestAllTypesProto3) GetOptionalInt64() int64
func (*TestAllTypesProto3) GetOptionalInt64Wrapper ¶
func (x *TestAllTypesProto3) GetOptionalInt64Wrapper() *wrapperspb.Int64Value
func (*TestAllTypesProto3) GetOptionalNestedEnum ¶
func (x *TestAllTypesProto3) GetOptionalNestedEnum() TestAllTypesProto3_NestedEnum
func (*TestAllTypesProto3) GetOptionalNestedMessage ¶
func (x *TestAllTypesProto3) GetOptionalNestedMessage() *TestAllTypesProto3_NestedMessage
func (*TestAllTypesProto3) GetOptionalNullValue ¶
func (x *TestAllTypesProto3) GetOptionalNullValue() structpb.NullValue
func (*TestAllTypesProto3) GetOptionalSfixed32 ¶
func (x *TestAllTypesProto3) GetOptionalSfixed32() int32
func (*TestAllTypesProto3) GetOptionalSfixed64 ¶
func (x *TestAllTypesProto3) GetOptionalSfixed64() int64
func (*TestAllTypesProto3) GetOptionalSint32 ¶
func (x *TestAllTypesProto3) GetOptionalSint32() int32
func (*TestAllTypesProto3) GetOptionalSint64 ¶
func (x *TestAllTypesProto3) GetOptionalSint64() int64
func (*TestAllTypesProto3) GetOptionalString ¶
func (x *TestAllTypesProto3) GetOptionalString() string
func (*TestAllTypesProto3) GetOptionalStringPiece ¶
func (x *TestAllTypesProto3) GetOptionalStringPiece() string
func (*TestAllTypesProto3) GetOptionalStringWrapper ¶
func (x *TestAllTypesProto3) GetOptionalStringWrapper() *wrapperspb.StringValue
func (*TestAllTypesProto3) GetOptionalStruct ¶
func (x *TestAllTypesProto3) GetOptionalStruct() *structpb.Struct
func (*TestAllTypesProto3) GetOptionalTimestamp ¶
func (x *TestAllTypesProto3) GetOptionalTimestamp() *timestamppb.Timestamp
func (*TestAllTypesProto3) GetOptionalUint32 ¶
func (x *TestAllTypesProto3) GetOptionalUint32() uint32
func (*TestAllTypesProto3) GetOptionalUint32Wrapper ¶
func (x *TestAllTypesProto3) GetOptionalUint32Wrapper() *wrapperspb.UInt32Value
func (*TestAllTypesProto3) GetOptionalUint64 ¶
func (x *TestAllTypesProto3) GetOptionalUint64() uint64
func (*TestAllTypesProto3) GetOptionalUint64Wrapper ¶
func (x *TestAllTypesProto3) GetOptionalUint64Wrapper() *wrapperspb.UInt64Value
func (*TestAllTypesProto3) GetOptionalValue ¶
func (x *TestAllTypesProto3) GetOptionalValue() *structpb.Value
func (*TestAllTypesProto3) GetPackedBool ¶
func (x *TestAllTypesProto3) GetPackedBool() []bool
func (*TestAllTypesProto3) GetPackedDouble ¶
func (x *TestAllTypesProto3) GetPackedDouble() []float64
func (*TestAllTypesProto3) GetPackedFixed32 ¶
func (x *TestAllTypesProto3) GetPackedFixed32() []uint32
func (*TestAllTypesProto3) GetPackedFixed64 ¶
func (x *TestAllTypesProto3) GetPackedFixed64() []uint64
func (*TestAllTypesProto3) GetPackedFloat ¶
func (x *TestAllTypesProto3) GetPackedFloat() []float32
func (*TestAllTypesProto3) GetPackedInt32 ¶
func (x *TestAllTypesProto3) GetPackedInt32() []int32
func (*TestAllTypesProto3) GetPackedInt64 ¶
func (x *TestAllTypesProto3) GetPackedInt64() []int64
func (*TestAllTypesProto3) GetPackedNestedEnum ¶
func (x *TestAllTypesProto3) GetPackedNestedEnum() []TestAllTypesProto3_NestedEnum
func (*TestAllTypesProto3) GetPackedSfixed32 ¶
func (x *TestAllTypesProto3) GetPackedSfixed32() []int32
func (*TestAllTypesProto3) GetPackedSfixed64 ¶
func (x *TestAllTypesProto3) GetPackedSfixed64() []int64
func (*TestAllTypesProto3) GetPackedSint32 ¶
func (x *TestAllTypesProto3) GetPackedSint32() []int32
func (*TestAllTypesProto3) GetPackedSint64 ¶
func (x *TestAllTypesProto3) GetPackedSint64() []int64
func (*TestAllTypesProto3) GetPackedUint32 ¶
func (x *TestAllTypesProto3) GetPackedUint32() []uint32
func (*TestAllTypesProto3) GetPackedUint64 ¶
func (x *TestAllTypesProto3) GetPackedUint64() []uint64
func (*TestAllTypesProto3) GetRecursiveMessage ¶
func (x *TestAllTypesProto3) GetRecursiveMessage() *TestAllTypesProto3
func (*TestAllTypesProto3) GetRepeatedAny ¶
func (x *TestAllTypesProto3) GetRepeatedAny() []*anypb.Any
func (*TestAllTypesProto3) GetRepeatedBool ¶
func (x *TestAllTypesProto3) GetRepeatedBool() []bool
func (*TestAllTypesProto3) GetRepeatedBoolWrapper ¶
func (x *TestAllTypesProto3) GetRepeatedBoolWrapper() []*wrapperspb.BoolValue
func (*TestAllTypesProto3) GetRepeatedBytes ¶
func (x *TestAllTypesProto3) GetRepeatedBytes() [][]byte
func (*TestAllTypesProto3) GetRepeatedBytesWrapper ¶
func (x *TestAllTypesProto3) GetRepeatedBytesWrapper() []*wrapperspb.BytesValue
func (*TestAllTypesProto3) GetRepeatedCord ¶
func (x *TestAllTypesProto3) GetRepeatedCord() []string
func (*TestAllTypesProto3) GetRepeatedDouble ¶
func (x *TestAllTypesProto3) GetRepeatedDouble() []float64
func (*TestAllTypesProto3) GetRepeatedDoubleWrapper ¶
func (x *TestAllTypesProto3) GetRepeatedDoubleWrapper() []*wrapperspb.DoubleValue
func (*TestAllTypesProto3) GetRepeatedDuration ¶
func (x *TestAllTypesProto3) GetRepeatedDuration() []*durationpb.Duration
func (*TestAllTypesProto3) GetRepeatedFieldmask ¶
func (x *TestAllTypesProto3) GetRepeatedFieldmask() []*fieldmaskpb.FieldMask
func (*TestAllTypesProto3) GetRepeatedFixed32 ¶
func (x *TestAllTypesProto3) GetRepeatedFixed32() []uint32
func (*TestAllTypesProto3) GetRepeatedFixed64 ¶
func (x *TestAllTypesProto3) GetRepeatedFixed64() []uint64
func (*TestAllTypesProto3) GetRepeatedFloat ¶
func (x *TestAllTypesProto3) GetRepeatedFloat() []float32
func (*TestAllTypesProto3) GetRepeatedFloatWrapper ¶
func (x *TestAllTypesProto3) GetRepeatedFloatWrapper() []*wrapperspb.FloatValue
func (*TestAllTypesProto3) GetRepeatedForeignEnum ¶
func (x *TestAllTypesProto3) GetRepeatedForeignEnum() []ForeignEnum
func (*TestAllTypesProto3) GetRepeatedForeignMessage ¶
func (x *TestAllTypesProto3) GetRepeatedForeignMessage() []*ForeignMessage
func (*TestAllTypesProto3) GetRepeatedInt32 ¶
func (x *TestAllTypesProto3) GetRepeatedInt32() []int32
func (*TestAllTypesProto3) GetRepeatedInt32Wrapper ¶
func (x *TestAllTypesProto3) GetRepeatedInt32Wrapper() []*wrapperspb.Int32Value
func (*TestAllTypesProto3) GetRepeatedInt64 ¶
func (x *TestAllTypesProto3) GetRepeatedInt64() []int64
func (*TestAllTypesProto3) GetRepeatedInt64Wrapper ¶
func (x *TestAllTypesProto3) GetRepeatedInt64Wrapper() []*wrapperspb.Int64Value
func (*TestAllTypesProto3) GetRepeatedListValue ¶
func (x *TestAllTypesProto3) GetRepeatedListValue() []*structpb.ListValue
func (*TestAllTypesProto3) GetRepeatedNestedEnum ¶
func (x *TestAllTypesProto3) GetRepeatedNestedEnum() []TestAllTypesProto3_NestedEnum
func (*TestAllTypesProto3) GetRepeatedNestedMessage ¶
func (x *TestAllTypesProto3) GetRepeatedNestedMessage() []*TestAllTypesProto3_NestedMessage
func (*TestAllTypesProto3) GetRepeatedSfixed32 ¶
func (x *TestAllTypesProto3) GetRepeatedSfixed32() []int32
func (*TestAllTypesProto3) GetRepeatedSfixed64 ¶
func (x *TestAllTypesProto3) GetRepeatedSfixed64() []int64
func (*TestAllTypesProto3) GetRepeatedSint32 ¶
func (x *TestAllTypesProto3) GetRepeatedSint32() []int32
func (*TestAllTypesProto3) GetRepeatedSint64 ¶
func (x *TestAllTypesProto3) GetRepeatedSint64() []int64
func (*TestAllTypesProto3) GetRepeatedString ¶
func (x *TestAllTypesProto3) GetRepeatedString() []string
func (*TestAllTypesProto3) GetRepeatedStringPiece ¶
func (x *TestAllTypesProto3) GetRepeatedStringPiece() []string
func (*TestAllTypesProto3) GetRepeatedStringWrapper ¶
func (x *TestAllTypesProto3) GetRepeatedStringWrapper() []*wrapperspb.StringValue
func (*TestAllTypesProto3) GetRepeatedStruct ¶
func (x *TestAllTypesProto3) GetRepeatedStruct() []*structpb.Struct
func (*TestAllTypesProto3) GetRepeatedTimestamp ¶
func (x *TestAllTypesProto3) GetRepeatedTimestamp() []*timestamppb.Timestamp
func (*TestAllTypesProto3) GetRepeatedUint32 ¶
func (x *TestAllTypesProto3) GetRepeatedUint32() []uint32
func (*TestAllTypesProto3) GetRepeatedUint32Wrapper ¶
func (x *TestAllTypesProto3) GetRepeatedUint32Wrapper() []*wrapperspb.UInt32Value
func (*TestAllTypesProto3) GetRepeatedUint64 ¶
func (x *TestAllTypesProto3) GetRepeatedUint64() []uint64
func (*TestAllTypesProto3) GetRepeatedUint64Wrapper ¶
func (x *TestAllTypesProto3) GetRepeatedUint64Wrapper() []*wrapperspb.UInt64Value
func (*TestAllTypesProto3) GetRepeatedValue ¶
func (x *TestAllTypesProto3) GetRepeatedValue() []*structpb.Value
func (*TestAllTypesProto3) GetUnpackedBool ¶
func (x *TestAllTypesProto3) GetUnpackedBool() []bool
func (*TestAllTypesProto3) GetUnpackedDouble ¶
func (x *TestAllTypesProto3) GetUnpackedDouble() []float64
func (*TestAllTypesProto3) GetUnpackedFixed32 ¶
func (x *TestAllTypesProto3) GetUnpackedFixed32() []uint32
func (*TestAllTypesProto3) GetUnpackedFixed64 ¶
func (x *TestAllTypesProto3) GetUnpackedFixed64() []uint64
func (*TestAllTypesProto3) GetUnpackedFloat ¶
func (x *TestAllTypesProto3) GetUnpackedFloat() []float32
func (*TestAllTypesProto3) GetUnpackedInt32 ¶
func (x *TestAllTypesProto3) GetUnpackedInt32() []int32
func (*TestAllTypesProto3) GetUnpackedInt64 ¶
func (x *TestAllTypesProto3) GetUnpackedInt64() []int64
func (*TestAllTypesProto3) GetUnpackedNestedEnum ¶
func (x *TestAllTypesProto3) GetUnpackedNestedEnum() []TestAllTypesProto3_NestedEnum
func (*TestAllTypesProto3) GetUnpackedSfixed32 ¶
func (x *TestAllTypesProto3) GetUnpackedSfixed32() []int32
func (*TestAllTypesProto3) GetUnpackedSfixed64 ¶
func (x *TestAllTypesProto3) GetUnpackedSfixed64() []int64
func (*TestAllTypesProto3) GetUnpackedSint32 ¶
func (x *TestAllTypesProto3) GetUnpackedSint32() []int32
func (*TestAllTypesProto3) GetUnpackedSint64 ¶
func (x *TestAllTypesProto3) GetUnpackedSint64() []int64
func (*TestAllTypesProto3) GetUnpackedUint32 ¶
func (x *TestAllTypesProto3) GetUnpackedUint32() []uint32
func (*TestAllTypesProto3) GetUnpackedUint64 ¶
func (x *TestAllTypesProto3) GetUnpackedUint64() []uint64
func (*TestAllTypesProto3) GetXFieldName13 ¶
func (x *TestAllTypesProto3) GetXFieldName13() int32
func (*TestAllTypesProto3) GetXFieldName3 ¶
func (x *TestAllTypesProto3) GetXFieldName3() int32
func (*TestAllTypesProto3) GetX_FieldName14 ¶
func (x *TestAllTypesProto3) GetX_FieldName14() int32
func (*TestAllTypesProto3) ProtoMessage ¶
func (*TestAllTypesProto3) ProtoMessage()
func (*TestAllTypesProto3) ProtoReflect ¶
func (x *TestAllTypesProto3) ProtoReflect() protoreflect.Message
func (*TestAllTypesProto3) Reset ¶
func (x *TestAllTypesProto3) Reset()
func (*TestAllTypesProto3) String ¶
func (x *TestAllTypesProto3) String() string
type TestAllTypesProto3_AliasedEnum ¶
type TestAllTypesProto3_AliasedEnum int32
const ( TestAllTypesProto3_ALIAS_FOO TestAllTypesProto3_AliasedEnum = 0 TestAllTypesProto3_ALIAS_BAR TestAllTypesProto3_AliasedEnum = 1 TestAllTypesProto3_ALIAS_BAZ TestAllTypesProto3_AliasedEnum = 2 TestAllTypesProto3_MOO TestAllTypesProto3_AliasedEnum = 2 TestAllTypesProto3_moo TestAllTypesProto3_AliasedEnum = 2 TestAllTypesProto3_bAz TestAllTypesProto3_AliasedEnum = 2 )
func (TestAllTypesProto3_AliasedEnum) Descriptor ¶
func (TestAllTypesProto3_AliasedEnum) Descriptor() protoreflect.EnumDescriptor
func (TestAllTypesProto3_AliasedEnum) Enum ¶
func (x TestAllTypesProto3_AliasedEnum) Enum() *TestAllTypesProto3_AliasedEnum
func (TestAllTypesProto3_AliasedEnum) EnumDescriptor
deprecated
func (TestAllTypesProto3_AliasedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto3_AliasedEnum.Descriptor instead.
func (TestAllTypesProto3_AliasedEnum) Number ¶
func (x TestAllTypesProto3_AliasedEnum) Number() protoreflect.EnumNumber
func (TestAllTypesProto3_AliasedEnum) String ¶
func (x TestAllTypesProto3_AliasedEnum) String() string
func (TestAllTypesProto3_AliasedEnum) Type ¶
func (TestAllTypesProto3_AliasedEnum) Type() protoreflect.EnumType
type TestAllTypesProto3_NestedEnum ¶
type TestAllTypesProto3_NestedEnum int32
const ( TestAllTypesProto3_FOO TestAllTypesProto3_NestedEnum = 0 TestAllTypesProto3_BAR TestAllTypesProto3_NestedEnum = 1 TestAllTypesProto3_BAZ TestAllTypesProto3_NestedEnum = 2 TestAllTypesProto3_NEG TestAllTypesProto3_NestedEnum = -1 // Intentionally negative. )
func (TestAllTypesProto3_NestedEnum) Descriptor ¶
func (TestAllTypesProto3_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (TestAllTypesProto3_NestedEnum) Enum ¶
func (x TestAllTypesProto3_NestedEnum) Enum() *TestAllTypesProto3_NestedEnum
func (TestAllTypesProto3_NestedEnum) EnumDescriptor
deprecated
func (TestAllTypesProto3_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto3_NestedEnum.Descriptor instead.
func (TestAllTypesProto3_NestedEnum) Number ¶
func (x TestAllTypesProto3_NestedEnum) Number() protoreflect.EnumNumber
func (TestAllTypesProto3_NestedEnum) String ¶
func (x TestAllTypesProto3_NestedEnum) String() string
func (TestAllTypesProto3_NestedEnum) Type ¶
func (TestAllTypesProto3_NestedEnum) Type() protoreflect.EnumType
type TestAllTypesProto3_NestedMessage ¶
type TestAllTypesProto3_NestedMessage struct { A int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"` Corecursive *TestAllTypesProto3 `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"` // contains filtered or unexported fields }
func (*TestAllTypesProto3_NestedMessage) Descriptor
deprecated
func (*TestAllTypesProto3_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto3_NestedMessage.ProtoReflect.Descriptor instead.
func (*TestAllTypesProto3_NestedMessage) GetA ¶
func (x *TestAllTypesProto3_NestedMessage) GetA() int32
func (*TestAllTypesProto3_NestedMessage) GetCorecursive ¶
func (x *TestAllTypesProto3_NestedMessage) GetCorecursive() *TestAllTypesProto3
func (*TestAllTypesProto3_NestedMessage) ProtoMessage ¶
func (*TestAllTypesProto3_NestedMessage) ProtoMessage()
func (*TestAllTypesProto3_NestedMessage) ProtoReflect ¶
func (x *TestAllTypesProto3_NestedMessage) ProtoReflect() protoreflect.Message
func (*TestAllTypesProto3_NestedMessage) Reset ¶
func (x *TestAllTypesProto3_NestedMessage) Reset()
func (*TestAllTypesProto3_NestedMessage) String ¶
func (x *TestAllTypesProto3_NestedMessage) String() string
type TestAllTypesProto3_OneofBool ¶
type TestAllTypesProto3_OneofBool struct {
OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"`
}
type TestAllTypesProto3_OneofBytes ¶
type TestAllTypesProto3_OneofBytes struct {
OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,oneof"`
}
type TestAllTypesProto3_OneofDouble ¶
type TestAllTypesProto3_OneofDouble struct {
OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"`
}
type TestAllTypesProto3_OneofEnum ¶
type TestAllTypesProto3_OneofEnum struct {
OneofEnum TestAllTypesProto3_NestedEnum `` /* 136-byte string literal not displayed */
}
type TestAllTypesProto3_OneofFloat ¶
type TestAllTypesProto3_OneofFloat struct {
OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"`
}
type TestAllTypesProto3_OneofNestedMessage ¶
type TestAllTypesProto3_OneofNestedMessage struct {
OneofNestedMessage *TestAllTypesProto3_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"`
}
type TestAllTypesProto3_OneofString ¶
type TestAllTypesProto3_OneofString struct {
OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"`
}
type TestAllTypesProto3_OneofUint32 ¶
type TestAllTypesProto3_OneofUint32 struct {
OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"`
}
type TestAllTypesProto3_OneofUint64 ¶
type TestAllTypesProto3_OneofUint64 struct {
OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"`
}
type UnknownToTestAllTypes ¶
type UnknownToTestAllTypes struct { OptionalInt32 *int32 `protobuf:"varint,1001,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"` OptionalString *string `protobuf:"bytes,1002,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"` NestedMessage *ForeignMessageProto2 `protobuf:"bytes,1003,opt,name=nested_message,json=nestedMessage" json:"nested_message,omitempty"` Optionalgroup *UnknownToTestAllTypes_OptionalGroup `protobuf:"group,1004,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"` OptionalBool *bool `protobuf:"varint,1006,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"` RepeatedInt32 []int32 `protobuf:"varint,1011,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"` // contains filtered or unexported fields }
func (*UnknownToTestAllTypes) Descriptor
deprecated
func (*UnknownToTestAllTypes) Descriptor() ([]byte, []int)
Deprecated: Use UnknownToTestAllTypes.ProtoReflect.Descriptor instead.
func (*UnknownToTestAllTypes) GetNestedMessage ¶
func (x *UnknownToTestAllTypes) GetNestedMessage() *ForeignMessageProto2
func (*UnknownToTestAllTypes) GetOptionalBool ¶
func (x *UnknownToTestAllTypes) GetOptionalBool() bool
func (*UnknownToTestAllTypes) GetOptionalInt32 ¶
func (x *UnknownToTestAllTypes) GetOptionalInt32() int32
func (*UnknownToTestAllTypes) GetOptionalString ¶
func (x *UnknownToTestAllTypes) GetOptionalString() string
func (*UnknownToTestAllTypes) GetOptionalgroup ¶
func (x *UnknownToTestAllTypes) GetOptionalgroup() *UnknownToTestAllTypes_OptionalGroup
func (*UnknownToTestAllTypes) GetRepeatedInt32 ¶
func (x *UnknownToTestAllTypes) GetRepeatedInt32() []int32
func (*UnknownToTestAllTypes) ProtoMessage ¶
func (*UnknownToTestAllTypes) ProtoMessage()
func (*UnknownToTestAllTypes) ProtoReflect ¶
func (x *UnknownToTestAllTypes) ProtoReflect() protoreflect.Message
func (*UnknownToTestAllTypes) Reset ¶
func (x *UnknownToTestAllTypes) Reset()
func (*UnknownToTestAllTypes) String ¶
func (x *UnknownToTestAllTypes) String() string
type UnknownToTestAllTypes_OptionalGroup ¶
type UnknownToTestAllTypes_OptionalGroup struct { A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"` // contains filtered or unexported fields }
func (*UnknownToTestAllTypes_OptionalGroup) Descriptor
deprecated
func (*UnknownToTestAllTypes_OptionalGroup) Descriptor() ([]byte, []int)
Deprecated: Use UnknownToTestAllTypes_OptionalGroup.ProtoReflect.Descriptor instead.
func (*UnknownToTestAllTypes_OptionalGroup) GetA ¶
func (x *UnknownToTestAllTypes_OptionalGroup) GetA() int32
func (*UnknownToTestAllTypes_OptionalGroup) ProtoMessage ¶
func (*UnknownToTestAllTypes_OptionalGroup) ProtoMessage()
func (*UnknownToTestAllTypes_OptionalGroup) ProtoReflect ¶
func (x *UnknownToTestAllTypes_OptionalGroup) ProtoReflect() protoreflect.Message
func (*UnknownToTestAllTypes_OptionalGroup) Reset ¶
func (x *UnknownToTestAllTypes_OptionalGroup) Reset()
func (*UnknownToTestAllTypes_OptionalGroup) String ¶
func (x *UnknownToTestAllTypes_OptionalGroup) String() string