Documentation ¶
Index ¶
- Constants
- Variables
- type ConformanceRequest
- func (*ConformanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConformanceRequest) GetJsonPayload() string
- func (x *ConformanceRequest) GetJspbEncodingOptions() *JspbEncodingConfig
- func (x *ConformanceRequest) GetJspbPayload() string
- func (x *ConformanceRequest) GetMessageType() string
- func (m *ConformanceRequest) GetPayload() isConformanceRequest_Payload
- func (x *ConformanceRequest) GetPrintUnknownFields() bool
- func (x *ConformanceRequest) GetProtobufPayload() []byte
- func (x *ConformanceRequest) GetRequestedOutputFormat() WireFormat
- func (x *ConformanceRequest) GetTestCategory() TestCategory
- func (x *ConformanceRequest) GetTextPayload() string
- func (*ConformanceRequest) ProtoMessage()
- func (x *ConformanceRequest) ProtoReflect() protoreflect.Message
- func (x *ConformanceRequest) Reset()
- func (x *ConformanceRequest) String() string
- type ConformanceRequest_JsonPayload
- type ConformanceRequest_JspbPayload
- type ConformanceRequest_ProtobufPayload
- type ConformanceRequest_TextPayload
- type ConformanceResponse
- func (*ConformanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConformanceResponse) GetJsonPayload() string
- func (x *ConformanceResponse) GetJspbPayload() string
- func (x *ConformanceResponse) GetParseError() string
- func (x *ConformanceResponse) GetProtobufPayload() []byte
- func (m *ConformanceResponse) GetResult() isConformanceResponse_Result
- func (x *ConformanceResponse) GetRuntimeError() string
- func (x *ConformanceResponse) GetSerializeError() string
- func (x *ConformanceResponse) GetSkipped() string
- func (x *ConformanceResponse) GetTextPayload() string
- func (*ConformanceResponse) ProtoMessage()
- func (x *ConformanceResponse) ProtoReflect() protoreflect.Message
- func (x *ConformanceResponse) Reset()
- func (x *ConformanceResponse) String() string
- type ConformanceResponse_JsonPayload
- type ConformanceResponse_JspbPayload
- type ConformanceResponse_ParseError
- type ConformanceResponse_ProtobufPayload
- type ConformanceResponse_RuntimeError
- type ConformanceResponse_SerializeError
- type ConformanceResponse_Skipped
- type ConformanceResponse_TextPayload
- 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
- func (x *EnumOnlyProto2_Bool) UnmarshalJSON(b []byte) errordeprecated
- 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 FailureSet
- 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
- func (x *ForeignEnumProto2) UnmarshalJSON(b []byte) errordeprecated
- 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 JspbEncodingConfig
- func (*JspbEncodingConfig) Descriptor() ([]byte, []int)deprecated
- func (x *JspbEncodingConfig) GetUseJspbArrayAnyFormat() bool
- func (*JspbEncodingConfig) ProtoMessage()
- func (x *JspbEncodingConfig) ProtoReflect() protoreflect.Message
- func (x *JspbEncodingConfig) Reset()
- func (x *JspbEncodingConfig) String() string
- type NullHypothesisProto2
- type NullHypothesisProto3
- type OneStringProto2
- 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) 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_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
- func (x *TestAllTypesProto2_NestedEnum) UnmarshalJSON(b []byte) errordeprecated
- 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 TestCategory
- func (TestCategory) Descriptor() protoreflect.EnumDescriptor
- func (x TestCategory) Enum() *TestCategory
- func (TestCategory) EnumDescriptor() ([]byte, []int)deprecated
- func (x TestCategory) Number() protoreflect.EnumNumber
- func (x TestCategory) String() string
- func (TestCategory) Type() protoreflect.EnumType
- 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
- type WireFormat
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.
Variables ¶
var ( WireFormat_name = map[int32]string{ 0: "UNSPECIFIED", 1: "PROTOBUF", 2: "JSON", 3: "JSPB", 4: "TEXT_FORMAT", } WireFormat_value = map[string]int32{ "UNSPECIFIED": 0, "PROTOBUF": 1, "JSON": 2, "JSPB": 3, "TEXT_FORMAT": 4, } )
Enum value maps for WireFormat.
var ( TestCategory_name = map[int32]string{ 0: "UNSPECIFIED_TEST", 1: "BINARY_TEST", 2: "JSON_TEST", 3: "JSON_IGNORE_UNKNOWN_PARSING_TEST", 4: "JSPB_TEST", 5: "TEXT_FORMAT_TEST", } TestCategory_value = map[string]int32{ "UNSPECIFIED_TEST": 0, "BINARY_TEST": 1, "JSON_TEST": 2, "JSON_IGNORE_UNKNOWN_PARSING_TEST": 3, "JSPB_TEST": 4, "TEXT_FORMAT_TEST": 5, } )
Enum value maps for TestCategory.
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 ( // optional protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrectExtension1 message_set_extension = 1547769; E_TestAllTypesProto2_MessageSetCorrectExtension1_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[1] // optional protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrectExtension2 message_set_extension = 4135312; E_TestAllTypesProto2_MessageSetCorrectExtension2_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[2] )
Extension fields to TestAllTypesProto2_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_TestAllTypesProto2_DefaultBytes = []byte("joshua")
)
Default values for TestAllTypesProto2 fields.
var (
// optional int32 extension_int32 = 120;
E_ExtensionInt32 = &file_google_protobuf_test_messages_proto2_proto_extTypes[0]
)
Extension fields to TestAllTypesProto2.
var File_conformance_conformance_proto protoreflect.FileDescriptor
var File_google_protobuf_test_messages_proto2_proto protoreflect.FileDescriptor
var File_google_protobuf_test_messages_proto3_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ConformanceRequest ¶
type ConformanceRequest struct { // The payload (whether protobuf of JSON) is always for a // protobuf_test_messages.proto3.TestAllTypes proto (as defined in // src/google/protobuf/proto3_test_messages.proto). // // TODO(haberman): if/when we expand the conformance tests to support proto2, // we will want to include a field that lets the payload/response be a // protobuf_test_messages.google.protobuf.TestAllTypes message instead. // // Types that are assignable to Payload: // *ConformanceRequest_ProtobufPayload // *ConformanceRequest_JsonPayload // *ConformanceRequest_JspbPayload // *ConformanceRequest_TextPayload Payload isConformanceRequest_Payload `protobuf_oneof:"payload"` // Which format should the testee serialize its message to? RequestedOutputFormat WireFormat `` /* 155-byte string literal not displayed */ // The full name for the test message to use; for the moment, either: // protobuf_test_messages.proto3.TestAllTypesProto3 or // protobuf_test_messages.google.protobuf.TestAllTypesProto2. MessageType string `protobuf:"bytes,4,opt,name=message_type,json=messageType,proto3" json:"message_type,omitempty"` // Each test is given a specific test category. Some category may need // specific support in testee programs. Refer to the definition of TestCategory // for more information. TestCategory TestCategory `` /* 128-byte string literal not displayed */ // Specify details for how to encode jspb. JspbEncodingOptions *JspbEncodingConfig `protobuf:"bytes,6,opt,name=jspb_encoding_options,json=jspbEncodingOptions,proto3" json:"jspb_encoding_options,omitempty"` // This can be used in json and text format. If true, testee should print // unknown fields instead of ignore. This feature is optional. PrintUnknownFields bool `protobuf:"varint,9,opt,name=print_unknown_fields,json=printUnknownFields,proto3" json:"print_unknown_fields,omitempty"` // contains filtered or unexported fields }
Represents a single test case's input. The testee should:
- parse this proto (which should always succeed)
- parse the protobuf or JSON payload in "payload" (which may fail)
- if the parse succeeded, serialize the message in the requested format.
func (*ConformanceRequest) Descriptor
deprecated
func (*ConformanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConformanceRequest.ProtoReflect.Descriptor instead.
func (*ConformanceRequest) GetJsonPayload ¶
func (x *ConformanceRequest) GetJsonPayload() string
func (*ConformanceRequest) GetJspbEncodingOptions ¶
func (x *ConformanceRequest) GetJspbEncodingOptions() *JspbEncodingConfig
func (*ConformanceRequest) GetJspbPayload ¶
func (x *ConformanceRequest) GetJspbPayload() string
func (*ConformanceRequest) GetMessageType ¶
func (x *ConformanceRequest) GetMessageType() string
func (*ConformanceRequest) GetPayload ¶
func (m *ConformanceRequest) GetPayload() isConformanceRequest_Payload
func (*ConformanceRequest) GetPrintUnknownFields ¶
func (x *ConformanceRequest) GetPrintUnknownFields() bool
func (*ConformanceRequest) GetProtobufPayload ¶
func (x *ConformanceRequest) GetProtobufPayload() []byte
func (*ConformanceRequest) GetRequestedOutputFormat ¶
func (x *ConformanceRequest) GetRequestedOutputFormat() WireFormat
func (*ConformanceRequest) GetTestCategory ¶
func (x *ConformanceRequest) GetTestCategory() TestCategory
func (*ConformanceRequest) GetTextPayload ¶
func (x *ConformanceRequest) GetTextPayload() string
func (*ConformanceRequest) ProtoMessage ¶
func (*ConformanceRequest) ProtoMessage()
func (*ConformanceRequest) ProtoReflect ¶
func (x *ConformanceRequest) ProtoReflect() protoreflect.Message
func (*ConformanceRequest) Reset ¶
func (x *ConformanceRequest) Reset()
func (*ConformanceRequest) String ¶
func (x *ConformanceRequest) String() string
type ConformanceRequest_JsonPayload ¶
type ConformanceRequest_JsonPayload struct {
JsonPayload string `protobuf:"bytes,2,opt,name=json_payload,json=jsonPayload,proto3,oneof"`
}
type ConformanceRequest_JspbPayload ¶
type ConformanceRequest_JspbPayload struct { // Google internal only. Opensource testees just skip it. JspbPayload string `protobuf:"bytes,7,opt,name=jspb_payload,json=jspbPayload,proto3,oneof"` }
type ConformanceRequest_ProtobufPayload ¶
type ConformanceRequest_ProtobufPayload struct {
ProtobufPayload []byte `protobuf:"bytes,1,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof"`
}
type ConformanceRequest_TextPayload ¶
type ConformanceRequest_TextPayload struct {
TextPayload string `protobuf:"bytes,8,opt,name=text_payload,json=textPayload,proto3,oneof"`
}
type ConformanceResponse ¶
type ConformanceResponse struct { // Types that are assignable to Result: // *ConformanceResponse_ParseError // *ConformanceResponse_SerializeError // *ConformanceResponse_RuntimeError // *ConformanceResponse_ProtobufPayload // *ConformanceResponse_JsonPayload // *ConformanceResponse_Skipped // *ConformanceResponse_JspbPayload // *ConformanceResponse_TextPayload Result isConformanceResponse_Result `protobuf_oneof:"result"` // contains filtered or unexported fields }
Represents a single test case's output.
func (*ConformanceResponse) Descriptor
deprecated
func (*ConformanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConformanceResponse.ProtoReflect.Descriptor instead.
func (*ConformanceResponse) GetJsonPayload ¶
func (x *ConformanceResponse) GetJsonPayload() string
func (*ConformanceResponse) GetJspbPayload ¶
func (x *ConformanceResponse) GetJspbPayload() string
func (*ConformanceResponse) GetParseError ¶
func (x *ConformanceResponse) GetParseError() string
func (*ConformanceResponse) GetProtobufPayload ¶
func (x *ConformanceResponse) GetProtobufPayload() []byte
func (*ConformanceResponse) GetResult ¶
func (m *ConformanceResponse) GetResult() isConformanceResponse_Result
func (*ConformanceResponse) GetRuntimeError ¶
func (x *ConformanceResponse) GetRuntimeError() string
func (*ConformanceResponse) GetSerializeError ¶
func (x *ConformanceResponse) GetSerializeError() string
func (*ConformanceResponse) GetSkipped ¶
func (x *ConformanceResponse) GetSkipped() string
func (*ConformanceResponse) GetTextPayload ¶
func (x *ConformanceResponse) GetTextPayload() string
func (*ConformanceResponse) ProtoMessage ¶
func (*ConformanceResponse) ProtoMessage()
func (*ConformanceResponse) ProtoReflect ¶
func (x *ConformanceResponse) ProtoReflect() protoreflect.Message
func (*ConformanceResponse) Reset ¶
func (x *ConformanceResponse) Reset()
func (*ConformanceResponse) String ¶
func (x *ConformanceResponse) String() string
type ConformanceResponse_JsonPayload ¶
type ConformanceResponse_JsonPayload struct { // If the input was successfully parsed and the requested output was JSON, // serialize to JSON and set it in this field. JsonPayload string `protobuf:"bytes,4,opt,name=json_payload,json=jsonPayload,proto3,oneof"` }
type ConformanceResponse_JspbPayload ¶
type ConformanceResponse_JspbPayload struct { // If the input was successfully parsed and the requested output was JSPB, // serialize to JSPB and set it in this field. JSPB is google internal only // format. Opensource testees can just skip it. JspbPayload string `protobuf:"bytes,7,opt,name=jspb_payload,json=jspbPayload,proto3,oneof"` }
type ConformanceResponse_ParseError ¶
type ConformanceResponse_ParseError struct { // This string should be set to indicate parsing failed. The string can // provide more information about the parse error if it is available. // // Setting this string does not necessarily mean the testee failed the // test. Some of the test cases are intentionally invalid input. ParseError string `protobuf:"bytes,1,opt,name=parse_error,json=parseError,proto3,oneof"` }
type ConformanceResponse_ProtobufPayload ¶
type ConformanceResponse_ProtobufPayload struct { // If the input was successfully parsed and the requested output was // protobuf, serialize it to protobuf and set it in this field. ProtobufPayload []byte `protobuf:"bytes,3,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof"` }
type ConformanceResponse_RuntimeError ¶
type ConformanceResponse_RuntimeError struct { // This should be set if some other error occurred. This will always // indicate that the test failed. The string can provide more information // about the failure. RuntimeError string `protobuf:"bytes,2,opt,name=runtime_error,json=runtimeError,proto3,oneof"` }
type ConformanceResponse_SerializeError ¶
type ConformanceResponse_SerializeError struct { // If the input was successfully parsed but errors occurred when // serializing it to the requested output format, set the error message in // this field. SerializeError string `protobuf:"bytes,6,opt,name=serialize_error,json=serializeError,proto3,oneof"` }
type ConformanceResponse_Skipped ¶
type ConformanceResponse_Skipped struct { // For when the testee skipped the test, likely because a certain feature // wasn't supported, like JSON input/output. Skipped string `protobuf:"bytes,5,opt,name=skipped,proto3,oneof"` }
type ConformanceResponse_TextPayload ¶
type ConformanceResponse_TextPayload struct { // If the input was successfully parsed and the requested output was // TEXT_FORMAT, serialize to TEXT_FORMAT and set it in this field. TextPayload string `protobuf:"bytes,8,opt,name=text_payload,json=textPayload,proto3,oneof"` }
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
func (*EnumOnlyProto2_Bool) UnmarshalJSON
deprecated
func (x *EnumOnlyProto2_Bool) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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 FailureSet ¶
type FailureSet struct { Failure []string `protobuf:"bytes,1,rep,name=failure,proto3" json:"failure,omitempty"` // contains filtered or unexported fields }
The conformance runner will request a list of failures as the first request. This will be known by message_type == "conformance.FailureSet", a conformance test should return a serialized FailureSet in protobuf_payload.
func (*FailureSet) Descriptor
deprecated
func (*FailureSet) Descriptor() ([]byte, []int)
Deprecated: Use FailureSet.ProtoReflect.Descriptor instead.
func (*FailureSet) GetFailure ¶
func (x *FailureSet) GetFailure() []string
func (*FailureSet) ProtoMessage ¶
func (*FailureSet) ProtoMessage()
func (*FailureSet) ProtoReflect ¶
func (x *FailureSet) ProtoReflect() protoreflect.Message
func (*FailureSet) Reset ¶
func (x *FailureSet) Reset()
func (*FailureSet) String ¶
func (x *FailureSet) String() string
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
func (*ForeignEnumProto2) UnmarshalJSON
deprecated
func (x *ForeignEnumProto2) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type ForeignMessage ¶
type ForeignMessage struct { C int32 `protobuf:"varint,1,opt,name=c,proto3" 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 JspbEncodingConfig ¶
type JspbEncodingConfig struct { // Encode the value field of Any as jspb array if true, otherwise binary. UseJspbArrayAnyFormat bool `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
Encoding options for jspb format.
func (*JspbEncodingConfig) Descriptor
deprecated
func (*JspbEncodingConfig) Descriptor() ([]byte, []int)
Deprecated: Use JspbEncodingConfig.ProtoReflect.Descriptor instead.
func (*JspbEncodingConfig) GetUseJspbArrayAnyFormat ¶
func (x *JspbEncodingConfig) GetUseJspbArrayAnyFormat() bool
func (*JspbEncodingConfig) ProtoMessage ¶
func (*JspbEncodingConfig) ProtoMessage()
func (*JspbEncodingConfig) ProtoReflect ¶
func (x *JspbEncodingConfig) ProtoReflect() protoreflect.Message
func (*JspbEncodingConfig) Reset ¶
func (x *JspbEncodingConfig) Reset()
func (*JspbEncodingConfig) String ¶
func (x *JspbEncodingConfig) 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 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 `` /* 177-byte string literal not displayed */ OptionalForeignEnum *ForeignEnumProto2 `` /* 168-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 `` /* 177-byte string literal not displayed */ RepeatedForeignEnum []ForeignEnumProto2 `` /* 168-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 `` /* 178-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 `` /* 178-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 `` /* 256-byte string literal not displayed */ MapStringForeignEnum map[string]ForeignEnumProto2 `` /* 247-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"` // 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) 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_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
func (*TestAllTypesProto2_NestedEnum) UnmarshalJSON
deprecated
func (x *TestAllTypesProto2_NestedEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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 `` /* 127-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,proto3" json:"optional_int32,omitempty"` OptionalInt64 int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64,proto3" json:"optional_int64,omitempty"` OptionalUint32 uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32,proto3" json:"optional_uint32,omitempty"` OptionalUint64 uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64,proto3" json:"optional_uint64,omitempty"` OptionalSint32 int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32,proto3" json:"optional_sint32,omitempty"` OptionalSint64 int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64,proto3" json:"optional_sint64,omitempty"` OptionalFixed32 uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32,proto3" json:"optional_fixed32,omitempty"` OptionalFixed64 uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64,proto3" json:"optional_fixed64,omitempty"` OptionalSfixed32 int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32,proto3" json:"optional_sfixed32,omitempty"` OptionalSfixed64 int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64,proto3" json:"optional_sfixed64,omitempty"` OptionalFloat float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat,proto3" json:"optional_float,omitempty"` OptionalDouble float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble,proto3" json:"optional_double,omitempty"` OptionalBool bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool,proto3" json:"optional_bool,omitempty"` OptionalString string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"` OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"` OptionalNestedMessage *TestAllTypesProto3_NestedMessage `` /* 127-byte string literal not displayed */ OptionalForeignMessage *ForeignMessage `` /* 130-byte string literal not displayed */ OptionalNestedEnum TestAllTypesProto3_NestedEnum `` /* 184-byte string literal not displayed */ OptionalForeignEnum ForeignEnum `` /* 169-byte string literal not displayed */ OptionalAliasedEnum TestAllTypesProto3_AliasedEnum `` /* 188-byte string literal not displayed */ OptionalStringPiece string `protobuf:"bytes,24,opt,name=optional_string_piece,json=optionalStringPiece,proto3" json:"optional_string_piece,omitempty"` OptionalCord string `protobuf:"bytes,25,opt,name=optional_cord,json=optionalCord,proto3" json:"optional_cord,omitempty"` RecursiveMessage *TestAllTypesProto3 `protobuf:"bytes,27,opt,name=recursive_message,json=recursiveMessage,proto3" json:"recursive_message,omitempty"` // Repeated RepeatedInt32 []int32 `protobuf:"varint,31,rep,packed,name=repeated_int32,json=repeatedInt32,proto3" json:"repeated_int32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,32,rep,packed,name=repeated_int64,json=repeatedInt64,proto3" json:"repeated_int64,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,33,rep,packed,name=repeated_uint32,json=repeatedUint32,proto3" json:"repeated_uint32,omitempty"` RepeatedUint64 []uint64 `protobuf:"varint,34,rep,packed,name=repeated_uint64,json=repeatedUint64,proto3" json:"repeated_uint64,omitempty"` RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,packed,name=repeated_sint32,json=repeatedSint32,proto3" json:"repeated_sint32,omitempty"` RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,packed,name=repeated_sint64,json=repeatedSint64,proto3" json:"repeated_sint64,omitempty"` RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,packed,name=repeated_fixed32,json=repeatedFixed32,proto3" json:"repeated_fixed32,omitempty"` RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,packed,name=repeated_fixed64,json=repeatedFixed64,proto3" json:"repeated_fixed64,omitempty"` RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,packed,name=repeated_sfixed32,json=repeatedSfixed32,proto3" json:"repeated_sfixed32,omitempty"` RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,packed,name=repeated_sfixed64,json=repeatedSfixed64,proto3" json:"repeated_sfixed64,omitempty"` RepeatedFloat []float32 `protobuf:"fixed32,41,rep,packed,name=repeated_float,json=repeatedFloat,proto3" json:"repeated_float,omitempty"` RepeatedDouble []float64 `protobuf:"fixed64,42,rep,packed,name=repeated_double,json=repeatedDouble,proto3" json:"repeated_double,omitempty"` RepeatedBool []bool `protobuf:"varint,43,rep,packed,name=repeated_bool,json=repeatedBool,proto3" json:"repeated_bool,omitempty"` RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString,proto3" json:"repeated_string,omitempty"` RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes,proto3" json:"repeated_bytes,omitempty"` RepeatedNestedMessage []*TestAllTypesProto3_NestedMessage `` /* 127-byte string literal not displayed */ RepeatedForeignMessage []*ForeignMessage `` /* 130-byte string literal not displayed */ RepeatedNestedEnum []TestAllTypesProto3_NestedEnum `` /* 191-byte string literal not displayed */ RepeatedForeignEnum []ForeignEnum `` /* 176-byte string literal not displayed */ RepeatedStringPiece []string `protobuf:"bytes,54,rep,name=repeated_string_piece,json=repeatedStringPiece,proto3" json:"repeated_string_piece,omitempty"` RepeatedCord []string `protobuf:"bytes,55,rep,name=repeated_cord,json=repeatedCord,proto3" json:"repeated_cord,omitempty"` // Packed PackedInt32 []int32 `protobuf:"varint,75,rep,packed,name=packed_int32,json=packedInt32,proto3" json:"packed_int32,omitempty"` PackedInt64 []int64 `protobuf:"varint,76,rep,packed,name=packed_int64,json=packedInt64,proto3" json:"packed_int64,omitempty"` PackedUint32 []uint32 `protobuf:"varint,77,rep,packed,name=packed_uint32,json=packedUint32,proto3" json:"packed_uint32,omitempty"` PackedUint64 []uint64 `protobuf:"varint,78,rep,packed,name=packed_uint64,json=packedUint64,proto3" json:"packed_uint64,omitempty"` PackedSint32 []int32 `protobuf:"zigzag32,79,rep,packed,name=packed_sint32,json=packedSint32,proto3" json:"packed_sint32,omitempty"` PackedSint64 []int64 `protobuf:"zigzag64,80,rep,packed,name=packed_sint64,json=packedSint64,proto3" json:"packed_sint64,omitempty"` PackedFixed32 []uint32 `protobuf:"fixed32,81,rep,packed,name=packed_fixed32,json=packedFixed32,proto3" json:"packed_fixed32,omitempty"` PackedFixed64 []uint64 `protobuf:"fixed64,82,rep,packed,name=packed_fixed64,json=packedFixed64,proto3" json:"packed_fixed64,omitempty"` PackedSfixed32 []int32 `protobuf:"fixed32,83,rep,packed,name=packed_sfixed32,json=packedSfixed32,proto3" json:"packed_sfixed32,omitempty"` PackedSfixed64 []int64 `protobuf:"fixed64,84,rep,packed,name=packed_sfixed64,json=packedSfixed64,proto3" json:"packed_sfixed64,omitempty"` PackedFloat []float32 `protobuf:"fixed32,85,rep,packed,name=packed_float,json=packedFloat,proto3" json:"packed_float,omitempty"` PackedDouble []float64 `protobuf:"fixed64,86,rep,packed,name=packed_double,json=packedDouble,proto3" json:"packed_double,omitempty"` PackedBool []bool `protobuf:"varint,87,rep,packed,name=packed_bool,json=packedBool,proto3" json:"packed_bool,omitempty"` PackedNestedEnum []TestAllTypesProto3_NestedEnum `` /* 185-byte string literal not displayed */ // Unpacked UnpackedInt32 []int32 `protobuf:"varint,89,rep,name=unpacked_int32,json=unpackedInt32,proto3" json:"unpacked_int32,omitempty"` UnpackedInt64 []int64 `protobuf:"varint,90,rep,name=unpacked_int64,json=unpackedInt64,proto3" json:"unpacked_int64,omitempty"` UnpackedUint32 []uint32 `protobuf:"varint,91,rep,name=unpacked_uint32,json=unpackedUint32,proto3" json:"unpacked_uint32,omitempty"` UnpackedUint64 []uint64 `protobuf:"varint,92,rep,name=unpacked_uint64,json=unpackedUint64,proto3" json:"unpacked_uint64,omitempty"` UnpackedSint32 []int32 `protobuf:"zigzag32,93,rep,name=unpacked_sint32,json=unpackedSint32,proto3" json:"unpacked_sint32,omitempty"` UnpackedSint64 []int64 `protobuf:"zigzag64,94,rep,name=unpacked_sint64,json=unpackedSint64,proto3" json:"unpacked_sint64,omitempty"` UnpackedFixed32 []uint32 `protobuf:"fixed32,95,rep,name=unpacked_fixed32,json=unpackedFixed32,proto3" json:"unpacked_fixed32,omitempty"` UnpackedFixed64 []uint64 `protobuf:"fixed64,96,rep,name=unpacked_fixed64,json=unpackedFixed64,proto3" json:"unpacked_fixed64,omitempty"` UnpackedSfixed32 []int32 `protobuf:"fixed32,97,rep,name=unpacked_sfixed32,json=unpackedSfixed32,proto3" json:"unpacked_sfixed32,omitempty"` UnpackedSfixed64 []int64 `protobuf:"fixed64,98,rep,name=unpacked_sfixed64,json=unpackedSfixed64,proto3" json:"unpacked_sfixed64,omitempty"` UnpackedFloat []float32 `protobuf:"fixed32,99,rep,name=unpacked_float,json=unpackedFloat,proto3" json:"unpacked_float,omitempty"` UnpackedDouble []float64 `protobuf:"fixed64,100,rep,name=unpacked_double,json=unpackedDouble,proto3" json:"unpacked_double,omitempty"` UnpackedBool []bool `protobuf:"varint,101,rep,name=unpacked_bool,json=unpackedBool,proto3" json:"unpacked_bool,omitempty"` UnpackedNestedEnum []TestAllTypesProto3_NestedEnum `` /* 185-byte string literal not displayed */ // Map MapInt32Int32 map[int32]int32 `` /* 193-byte string literal not displayed */ MapInt64Int64 map[int64]int64 `` /* 193-byte string literal not displayed */ MapUint32Uint32 map[uint32]uint32 `` /* 199-byte string literal not displayed */ MapUint64Uint64 map[uint64]uint64 `` /* 199-byte string literal not displayed */ MapSint32Sint32 map[int32]int32 `` /* 203-byte string literal not displayed */ MapSint64Sint64 map[int64]int64 `` /* 203-byte string literal not displayed */ MapFixed32Fixed32 map[uint32]uint32 `` /* 207-byte string literal not displayed */ MapFixed64Fixed64 map[uint64]uint64 `` /* 207-byte string literal not displayed */ MapSfixed32Sfixed32 map[int32]int32 `` /* 213-byte string literal not displayed */ MapSfixed64Sfixed64 map[int64]int64 `` /* 213-byte string literal not displayed */ MapInt32Float map[int32]float32 `` /* 194-byte string literal not displayed */ MapInt32Double map[int32]float64 `` /* 197-byte string literal not displayed */ MapBoolBool map[bool]bool `` /* 187-byte string literal not displayed */ MapStringString map[string]string `` /* 197-byte string literal not displayed */ MapStringBytes map[string][]byte `` /* 194-byte string literal not displayed */ MapStringNestedMessage map[string]*TestAllTypesProto3_NestedMessage `` /* 220-byte string literal not displayed */ MapStringForeignMessage map[string]*ForeignMessage `` /* 223-byte string literal not displayed */ MapStringNestedEnum map[string]TestAllTypesProto3_NestedEnum `` /* 277-byte string literal not displayed */ MapStringForeignEnum map[string]ForeignEnum `` /* 262-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,proto3" json:"optional_bool_wrapper,omitempty"` OptionalInt32Wrapper *wrapperspb.Int32Value `protobuf:"bytes,202,opt,name=optional_int32_wrapper,json=optionalInt32Wrapper,proto3" json:"optional_int32_wrapper,omitempty"` OptionalInt64Wrapper *wrapperspb.Int64Value `protobuf:"bytes,203,opt,name=optional_int64_wrapper,json=optionalInt64Wrapper,proto3" json:"optional_int64_wrapper,omitempty"` OptionalUint32Wrapper *wrapperspb.UInt32Value `` /* 128-byte string literal not displayed */ OptionalUint64Wrapper *wrapperspb.UInt64Value `` /* 128-byte string literal not displayed */ OptionalFloatWrapper *wrapperspb.FloatValue `protobuf:"bytes,206,opt,name=optional_float_wrapper,json=optionalFloatWrapper,proto3" json:"optional_float_wrapper,omitempty"` OptionalDoubleWrapper *wrapperspb.DoubleValue `` /* 128-byte string literal not displayed */ OptionalStringWrapper *wrapperspb.StringValue `` /* 128-byte string literal not displayed */ OptionalBytesWrapper *wrapperspb.BytesValue `protobuf:"bytes,209,opt,name=optional_bytes_wrapper,json=optionalBytesWrapper,proto3" json:"optional_bytes_wrapper,omitempty"` RepeatedBoolWrapper []*wrapperspb.BoolValue `protobuf:"bytes,211,rep,name=repeated_bool_wrapper,json=repeatedBoolWrapper,proto3" json:"repeated_bool_wrapper,omitempty"` RepeatedInt32Wrapper []*wrapperspb.Int32Value `protobuf:"bytes,212,rep,name=repeated_int32_wrapper,json=repeatedInt32Wrapper,proto3" json:"repeated_int32_wrapper,omitempty"` RepeatedInt64Wrapper []*wrapperspb.Int64Value `protobuf:"bytes,213,rep,name=repeated_int64_wrapper,json=repeatedInt64Wrapper,proto3" json:"repeated_int64_wrapper,omitempty"` RepeatedUint32Wrapper []*wrapperspb.UInt32Value `` /* 128-byte string literal not displayed */ RepeatedUint64Wrapper []*wrapperspb.UInt64Value `` /* 128-byte string literal not displayed */ RepeatedFloatWrapper []*wrapperspb.FloatValue `protobuf:"bytes,216,rep,name=repeated_float_wrapper,json=repeatedFloatWrapper,proto3" json:"repeated_float_wrapper,omitempty"` RepeatedDoubleWrapper []*wrapperspb.DoubleValue `` /* 128-byte string literal not displayed */ RepeatedStringWrapper []*wrapperspb.StringValue `` /* 128-byte string literal not displayed */ RepeatedBytesWrapper []*wrapperspb.BytesValue `protobuf:"bytes,219,rep,name=repeated_bytes_wrapper,json=repeatedBytesWrapper,proto3" json:"repeated_bytes_wrapper,omitempty"` OptionalDuration *durationpb.Duration `protobuf:"bytes,301,opt,name=optional_duration,json=optionalDuration,proto3" json:"optional_duration,omitempty"` OptionalTimestamp *timestamppb.Timestamp `protobuf:"bytes,302,opt,name=optional_timestamp,json=optionalTimestamp,proto3" json:"optional_timestamp,omitempty"` OptionalFieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,303,opt,name=optional_field_mask,json=optionalFieldMask,proto3" json:"optional_field_mask,omitempty"` OptionalStruct *structpb.Struct `protobuf:"bytes,304,opt,name=optional_struct,json=optionalStruct,proto3" json:"optional_struct,omitempty"` OptionalAny *anypb.Any `protobuf:"bytes,305,opt,name=optional_any,json=optionalAny,proto3" json:"optional_any,omitempty"` OptionalValue *structpb.Value `protobuf:"bytes,306,opt,name=optional_value,json=optionalValue,proto3" json:"optional_value,omitempty"` OptionalNullValue structpb.NullValue `` /* 148-byte string literal not displayed */ RepeatedDuration []*durationpb.Duration `protobuf:"bytes,311,rep,name=repeated_duration,json=repeatedDuration,proto3" json:"repeated_duration,omitempty"` RepeatedTimestamp []*timestamppb.Timestamp `protobuf:"bytes,312,rep,name=repeated_timestamp,json=repeatedTimestamp,proto3" json:"repeated_timestamp,omitempty"` RepeatedFieldmask []*fieldmaskpb.FieldMask `protobuf:"bytes,313,rep,name=repeated_fieldmask,json=repeatedFieldmask,proto3" json:"repeated_fieldmask,omitempty"` RepeatedStruct []*structpb.Struct `protobuf:"bytes,324,rep,name=repeated_struct,json=repeatedStruct,proto3" json:"repeated_struct,omitempty"` RepeatedAny []*anypb.Any `protobuf:"bytes,315,rep,name=repeated_any,json=repeatedAny,proto3" json:"repeated_any,omitempty"` RepeatedValue []*structpb.Value `protobuf:"bytes,316,rep,name=repeated_value,json=repeatedValue,proto3" json:"repeated_value,omitempty"` RepeatedListValue []*structpb.ListValue `protobuf:"bytes,317,rep,name=repeated_list_value,json=repeatedListValue,proto3" 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,proto3" json:"fieldname1,omitempty"` FieldName2 int32 `protobuf:"varint,402,opt,name=field_name2,json=fieldName2,proto3" json:"field_name2,omitempty"` XFieldName3 int32 `protobuf:"varint,403,opt,name=_field_name3,json=FieldName3,proto3" json:"_field_name3,omitempty"` Field_Name4_ int32 `protobuf:"varint,404,opt,name=field__name4_,json=fieldName4,proto3" json:"field__name4_,omitempty"` Field0Name5 int32 `protobuf:"varint,405,opt,name=field0name5,proto3" json:"field0name5,omitempty"` Field_0Name6 int32 `protobuf:"varint,406,opt,name=field_0_name6,json=field0Name6,proto3" json:"field_0_name6,omitempty"` FieldName7 int32 `protobuf:"varint,407,opt,name=fieldName7,proto3" json:"fieldName7,omitempty"` FieldName8 int32 `protobuf:"varint,408,opt,name=FieldName8,proto3" json:"FieldName8,omitempty"` Field_Name9 int32 `protobuf:"varint,409,opt,name=field_Name9,json=fieldName9,proto3" json:"field_Name9,omitempty"` Field_Name10 int32 `protobuf:"varint,410,opt,name=Field_Name10,json=FieldName10,proto3" json:"Field_Name10,omitempty"` FIELD_NAME11 int32 `protobuf:"varint,411,opt,name=FIELD_NAME11,json=FIELDNAME11,proto3" json:"FIELD_NAME11,omitempty"` FIELDName12 int32 `protobuf:"varint,412,opt,name=FIELD_name12,json=FIELDName12,proto3" json:"FIELD_name12,omitempty"` XFieldName13 int32 `protobuf:"varint,413,opt,name=__field_name13,json=FieldName13,proto3" json:"__field_name13,omitempty"` X_FieldName14 int32 `protobuf:"varint,414,opt,name=__Field_name14,json=FieldName14,proto3" json:"__Field_name14,omitempty"` Field_Name15 int32 `protobuf:"varint,415,opt,name=field__name15,json=fieldName15,proto3" json:"field__name15,omitempty"` Field__Name16 int32 `protobuf:"varint,416,opt,name=field__Name16,json=fieldName16,proto3" json:"field__Name16,omitempty"` FieldName17__ int32 `protobuf:"varint,417,opt,name=field_name17__,json=fieldName17,proto3" json:"field_name17__,omitempty"` FieldName18__ int32 `protobuf:"varint,418,opt,name=Field_name18__,json=FieldName18,proto3" 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,proto3" json:"a,omitempty"` Corecursive *TestAllTypesProto3 `protobuf:"bytes,2,opt,name=corecursive,proto3" 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,proto3,oneof"`
}
type TestAllTypesProto3_OneofBytes ¶
type TestAllTypesProto3_OneofBytes struct {
OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof"`
}
type TestAllTypesProto3_OneofDouble ¶
type TestAllTypesProto3_OneofDouble struct {
OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,proto3,oneof"`
}
type TestAllTypesProto3_OneofEnum ¶
type TestAllTypesProto3_OneofEnum struct {
OneofEnum TestAllTypesProto3_NestedEnum `` /* 134-byte string literal not displayed */
}
type TestAllTypesProto3_OneofFloat ¶
type TestAllTypesProto3_OneofFloat struct {
OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,proto3,oneof"`
}
type TestAllTypesProto3_OneofNestedMessage ¶
type TestAllTypesProto3_OneofNestedMessage struct {
OneofNestedMessage *TestAllTypesProto3_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,proto3,oneof"`
}
type TestAllTypesProto3_OneofString ¶
type TestAllTypesProto3_OneofString struct {
OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,proto3,oneof"`
}
type TestAllTypesProto3_OneofUint32 ¶
type TestAllTypesProto3_OneofUint32 struct {
OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof"`
}
type TestAllTypesProto3_OneofUint64 ¶
type TestAllTypesProto3_OneofUint64 struct {
OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,proto3,oneof"`
}
type TestCategory ¶
type TestCategory int32
const ( TestCategory_UNSPECIFIED_TEST TestCategory = 0 TestCategory_BINARY_TEST TestCategory = 1 // Test binary wire format. TestCategory_JSON_TEST TestCategory = 2 // Test json wire format. // Similar to JSON_TEST. However, during parsing json, testee should ignore // unknown fields. This feature is optional. Each implementation can decide // whether to support it. See // https://developers.google.com/protocol-buffers/docs/proto3#json_options // for more detail. TestCategory_JSON_IGNORE_UNKNOWN_PARSING_TEST TestCategory = 3 // Test jspb wire format. Google internal only. Opensource testees just skip it. TestCategory_JSPB_TEST TestCategory = 4 // Test text format. For cpp, java and python, testees can already deal with // this type. Testees of other languages can simply skip it. TestCategory_TEXT_FORMAT_TEST TestCategory = 5 )
func (TestCategory) Descriptor ¶
func (TestCategory) Descriptor() protoreflect.EnumDescriptor
func (TestCategory) Enum ¶
func (x TestCategory) Enum() *TestCategory
func (TestCategory) EnumDescriptor
deprecated
func (TestCategory) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestCategory.Descriptor instead.
func (TestCategory) Number ¶
func (x TestCategory) Number() protoreflect.EnumNumber
func (TestCategory) String ¶
func (x TestCategory) String() string
func (TestCategory) Type ¶
func (TestCategory) Type() protoreflect.EnumType
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
type WireFormat ¶
type WireFormat int32
const ( WireFormat_UNSPECIFIED WireFormat = 0 WireFormat_PROTOBUF WireFormat = 1 WireFormat_JSON WireFormat = 2 WireFormat_JSPB WireFormat = 3 // Google internal only. Opensource testees just skip it. WireFormat_TEXT_FORMAT WireFormat = 4 )
func (WireFormat) Descriptor ¶
func (WireFormat) Descriptor() protoreflect.EnumDescriptor
func (WireFormat) Enum ¶
func (x WireFormat) Enum() *WireFormat
func (WireFormat) EnumDescriptor
deprecated
func (WireFormat) EnumDescriptor() ([]byte, []int)
Deprecated: Use WireFormat.Descriptor instead.
func (WireFormat) Number ¶
func (x WireFormat) Number() protoreflect.EnumNumber
func (WireFormat) String ¶
func (x WireFormat) String() string
func (WireFormat) Type ¶
func (WireFormat) Type() protoreflect.EnumType