package conformance
import "google.golang.org/protobuf/internal/testprotos/conformance"
Index ΒΆ
- Constants
- Variables
- type ConformanceRequest
- func (*ConformanceRequest) Descriptor() ([]byte, []int)
- func (x *ConformanceRequest) GetJsonPayload() string
- func (x *ConformanceRequest) GetJspbEncodingOptions() *JspbEncodingConfig
- func (x *ConformanceRequest) GetJspbPayload() string
- func (x *ConformanceRequest) GetMessageType() string
- func (x *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)
- func (x *ConformanceResponse) GetJsonPayload() string
- func (x *ConformanceResponse) GetJspbPayload() string
- func (x *ConformanceResponse) GetParseError() string
- func (x *ConformanceResponse) GetProtobufPayload() []byte
- func (x *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 (x *ConformanceResponse) GetTimeoutError() 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 ConformanceResponse_TimeoutError
- type EnumOnlyProto2
- func (*EnumOnlyProto2) Descriptor() ([]byte, []int)
- func (*EnumOnlyProto2) ProtoMessage()
- func (x *EnumOnlyProto2) ProtoReflect() protoreflect.Message
- func (x *EnumOnlyProto2) Reset()
- func (x *EnumOnlyProto2) String() string
- type EnumOnlyProto2_Bool
- func (EnumOnlyProto2_Bool) Descriptor() protoreflect.EnumDescriptor
- func (x EnumOnlyProto2_Bool) Enum() *EnumOnlyProto2_Bool
- func (EnumOnlyProto2_Bool) EnumDescriptor() ([]byte, []int)
- 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) error
- type EnumOnlyProto3
- func (*EnumOnlyProto3) Descriptor() ([]byte, []int)
- func (*EnumOnlyProto3) ProtoMessage()
- func (x *EnumOnlyProto3) ProtoReflect() protoreflect.Message
- func (x *EnumOnlyProto3) Reset()
- func (x *EnumOnlyProto3) String() string
- type EnumOnlyProto3_Bool
- func (EnumOnlyProto3_Bool) Descriptor() protoreflect.EnumDescriptor
- func (x EnumOnlyProto3_Bool) Enum() *EnumOnlyProto3_Bool
- func (EnumOnlyProto3_Bool) EnumDescriptor() ([]byte, []int)
- func (x EnumOnlyProto3_Bool) Number() protoreflect.EnumNumber
- func (x EnumOnlyProto3_Bool) String() string
- func (EnumOnlyProto3_Bool) Type() protoreflect.EnumType
- type FailureSet
- func (*FailureSet) Descriptor() ([]byte, []int)
- func (x *FailureSet) GetTest() []*TestStatus
- func (*FailureSet) ProtoMessage()
- func (x *FailureSet) ProtoReflect() protoreflect.Message
- func (x *FailureSet) Reset()
- func (x *FailureSet) String() string
- type ForeignEnum
- func (ForeignEnum) Descriptor() protoreflect.EnumDescriptor
- func (x ForeignEnum) Enum() *ForeignEnum
- func (ForeignEnum) EnumDescriptor() ([]byte, []int)
- 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)
- func (x ForeignEnumProto2) Number() protoreflect.EnumNumber
- func (x ForeignEnumProto2) String() string
- func (ForeignEnumProto2) Type() protoreflect.EnumType
- func (x *ForeignEnumProto2) UnmarshalJSON(b []byte) error
- type ForeignMessage
- func (*ForeignMessage) Descriptor() ([]byte, []int)
- func (x *ForeignMessage) GetC() int32
- func (*ForeignMessage) ProtoMessage()
- func (x *ForeignMessage) ProtoReflect() protoreflect.Message
- func (x *ForeignMessage) Reset()
- func (x *ForeignMessage) String() string
- type ForeignMessageProto2
- func (*ForeignMessageProto2) Descriptor() ([]byte, []int)
- func (x *ForeignMessageProto2) GetC() int32
- func (*ForeignMessageProto2) ProtoMessage()
- func (x *ForeignMessageProto2) ProtoReflect() protoreflect.Message
- func (x *ForeignMessageProto2) Reset()
- func (x *ForeignMessageProto2) String() string
- type GroupField
- func (*GroupField) Descriptor() ([]byte, []int)
- func (x *GroupField) GetGroupInt32() int32
- func (x *GroupField) GetGroupUint32() uint32
- func (*GroupField) ProtoMessage()
- func (x *GroupField) ProtoReflect() protoreflect.Message
- func (x *GroupField) Reset()
- func (x *GroupField) String() string
- type JspbEncodingConfig
- func (*JspbEncodingConfig) Descriptor() ([]byte, []int)
- 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
- func (*NullHypothesisProto2) Descriptor() ([]byte, []int)
- func (*NullHypothesisProto2) ProtoMessage()
- func (x *NullHypothesisProto2) ProtoReflect() protoreflect.Message
- func (x *NullHypothesisProto2) Reset()
- func (x *NullHypothesisProto2) String() string
- type NullHypothesisProto3
- func (*NullHypothesisProto3) Descriptor() ([]byte, []int)
- func (*NullHypothesisProto3) ProtoMessage()
- func (x *NullHypothesisProto3) ProtoReflect() protoreflect.Message
- func (x *NullHypothesisProto3) Reset()
- func (x *NullHypothesisProto3) String() string
- type OneStringProto2
- func (*OneStringProto2) Descriptor() ([]byte, []int)
- func (x *OneStringProto2) GetData() string
- func (*OneStringProto2) ProtoMessage()
- func (x *OneStringProto2) ProtoReflect() protoreflect.Message
- func (x *OneStringProto2) Reset()
- func (x *OneStringProto2) String() string
- type ProtoWithKeywords
- func (*ProtoWithKeywords) Descriptor() ([]byte, []int)
- func (x *ProtoWithKeywords) GetConcept() string
- func (x *ProtoWithKeywords) GetInline() int32
- func (x *ProtoWithKeywords) GetRequires() []string
- func (*ProtoWithKeywords) ProtoMessage()
- func (x *ProtoWithKeywords) ProtoReflect() protoreflect.Message
- func (x *ProtoWithKeywords) Reset()
- func (x *ProtoWithKeywords) String() string
- type TestAllRequiredTypesProto2
- func (*TestAllRequiredTypesProto2) Descriptor() ([]byte, []int)
- func (x *TestAllRequiredTypesProto2) GetData() *TestAllRequiredTypesProto2_Data
- func (x *TestAllRequiredTypesProto2) GetDefaultBool() bool
- func (x *TestAllRequiredTypesProto2) GetDefaultBytes() []byte
- func (x *TestAllRequiredTypesProto2) GetDefaultDouble() float64
- func (x *TestAllRequiredTypesProto2) GetDefaultFixed32() uint32
- func (x *TestAllRequiredTypesProto2) GetDefaultFixed64() uint64
- func (x *TestAllRequiredTypesProto2) GetDefaultFloat() float32
- func (x *TestAllRequiredTypesProto2) GetDefaultInt32() int32
- func (x *TestAllRequiredTypesProto2) GetDefaultInt64() int64
- func (x *TestAllRequiredTypesProto2) GetDefaultSfixed32() int32
- func (x *TestAllRequiredTypesProto2) GetDefaultSfixed64() int64
- func (x *TestAllRequiredTypesProto2) GetDefaultSint32() int32
- func (x *TestAllRequiredTypesProto2) GetDefaultSint64() int64
- func (x *TestAllRequiredTypesProto2) GetDefaultString() string
- func (x *TestAllRequiredTypesProto2) GetDefaultUint32() uint32
- func (x *TestAllRequiredTypesProto2) GetDefaultUint64() uint64
- func (x *TestAllRequiredTypesProto2) GetOptionalRecursiveMessage() *TestAllRequiredTypesProto2
- func (x *TestAllRequiredTypesProto2) GetRecursiveMessage() *TestAllRequiredTypesProto2
- func (x *TestAllRequiredTypesProto2) GetRequiredBool() bool
- func (x *TestAllRequiredTypesProto2) GetRequiredBytes() []byte
- func (x *TestAllRequiredTypesProto2) GetRequiredCord() string
- func (x *TestAllRequiredTypesProto2) GetRequiredDouble() float64
- func (x *TestAllRequiredTypesProto2) GetRequiredFixed32() uint32
- func (x *TestAllRequiredTypesProto2) GetRequiredFixed64() uint64
- func (x *TestAllRequiredTypesProto2) GetRequiredFloat() float32
- func (x *TestAllRequiredTypesProto2) GetRequiredForeignEnum() ForeignEnumProto2
- func (x *TestAllRequiredTypesProto2) GetRequiredForeignMessage() *ForeignMessageProto2
- func (x *TestAllRequiredTypesProto2) GetRequiredInt32() int32
- func (x *TestAllRequiredTypesProto2) GetRequiredInt64() int64
- func (x *TestAllRequiredTypesProto2) GetRequiredNestedEnum() TestAllRequiredTypesProto2_NestedEnum
- func (x *TestAllRequiredTypesProto2) GetRequiredNestedMessage() *TestAllRequiredTypesProto2_NestedMessage
- func (x *TestAllRequiredTypesProto2) GetRequiredSfixed32() int32
- func (x *TestAllRequiredTypesProto2) GetRequiredSfixed64() int64
- func (x *TestAllRequiredTypesProto2) GetRequiredSint32() int32
- func (x *TestAllRequiredTypesProto2) GetRequiredSint64() int64
- func (x *TestAllRequiredTypesProto2) GetRequiredString() string
- func (x *TestAllRequiredTypesProto2) GetRequiredStringPiece() string
- func (x *TestAllRequiredTypesProto2) GetRequiredUint32() uint32
- func (x *TestAllRequiredTypesProto2) GetRequiredUint64() uint64
- func (*TestAllRequiredTypesProto2) ProtoMessage()
- func (x *TestAllRequiredTypesProto2) ProtoReflect() protoreflect.Message
- func (x *TestAllRequiredTypesProto2) Reset()
- func (x *TestAllRequiredTypesProto2) String() string
- type TestAllRequiredTypesProto2_Data
- func (*TestAllRequiredTypesProto2_Data) Descriptor() ([]byte, []int)
- func (x *TestAllRequiredTypesProto2_Data) GetGroupInt32() int32
- func (x *TestAllRequiredTypesProto2_Data) GetGroupUint32() uint32
- func (*TestAllRequiredTypesProto2_Data) ProtoMessage()
- func (x *TestAllRequiredTypesProto2_Data) ProtoReflect() protoreflect.Message
- func (x *TestAllRequiredTypesProto2_Data) Reset()
- func (x *TestAllRequiredTypesProto2_Data) String() string
- type TestAllRequiredTypesProto2_MessageSetCorrect
- func (*TestAllRequiredTypesProto2_MessageSetCorrect) Descriptor() ([]byte, []int)
- func (*TestAllRequiredTypesProto2_MessageSetCorrect) ProtoMessage()
- func (x *TestAllRequiredTypesProto2_MessageSetCorrect) ProtoReflect() protoreflect.Message
- func (x *TestAllRequiredTypesProto2_MessageSetCorrect) Reset()
- func (x *TestAllRequiredTypesProto2_MessageSetCorrect) String() string
- type TestAllRequiredTypesProto2_MessageSetCorrectExtension1
- func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Descriptor() ([]byte, []int)
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) GetStr() string
- func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoMessage()
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoReflect() protoreflect.Message
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Reset()
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) String() string
- type TestAllRequiredTypesProto2_MessageSetCorrectExtension2
- func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Descriptor() ([]byte, []int)
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) GetI() int32
- func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoMessage()
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoReflect() protoreflect.Message
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Reset()
- func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) String() string
- type TestAllRequiredTypesProto2_NestedEnum
- func (TestAllRequiredTypesProto2_NestedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestAllRequiredTypesProto2_NestedEnum) Enum() *TestAllRequiredTypesProto2_NestedEnum
- func (TestAllRequiredTypesProto2_NestedEnum) EnumDescriptor() ([]byte, []int)
- func (x TestAllRequiredTypesProto2_NestedEnum) Number() protoreflect.EnumNumber
- func (x TestAllRequiredTypesProto2_NestedEnum) String() string
- func (TestAllRequiredTypesProto2_NestedEnum) Type() protoreflect.EnumType
- func (x *TestAllRequiredTypesProto2_NestedEnum) UnmarshalJSON(b []byte) error
- type TestAllRequiredTypesProto2_NestedMessage
- func (*TestAllRequiredTypesProto2_NestedMessage) Descriptor() ([]byte, []int)
- func (x *TestAllRequiredTypesProto2_NestedMessage) GetA() int32
- func (x *TestAllRequiredTypesProto2_NestedMessage) GetCorecursive() *TestAllRequiredTypesProto2
- func (x *TestAllRequiredTypesProto2_NestedMessage) GetOptionalCorecursive() *TestAllRequiredTypesProto2
- func (*TestAllRequiredTypesProto2_NestedMessage) ProtoMessage()
- func (x *TestAllRequiredTypesProto2_NestedMessage) ProtoReflect() protoreflect.Message
- func (x *TestAllRequiredTypesProto2_NestedMessage) Reset()
- func (x *TestAllRequiredTypesProto2_NestedMessage) String() string
- type TestAllTypesProto2
- func (*TestAllTypesProto2) Descriptor() ([]byte, []int)
- 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) GetMapInt32Bool() map[int32]bool
- func (x *TestAllTypesProto2) GetMapInt32Double() map[int32]float64
- func (x *TestAllTypesProto2) GetMapInt32Float() map[int32]float32
- func (x *TestAllTypesProto2) GetMapInt32Int32() map[int32]int32
- func (x *TestAllTypesProto2) GetMapInt32NestedMessage() map[int32]*TestAllTypesProto2_NestedMessage
- 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) GetMessageSetCorrect() *TestAllTypesProto2_MessageSetCorrect
- func (x *TestAllTypesProto2) GetMultiwordgroupfield() *TestAllTypesProto2_MultiWordGroupField
- func (x *TestAllTypesProto2) GetOneofBool() bool
- func (x *TestAllTypesProto2) GetOneofBytes() []byte
- func (x *TestAllTypesProto2) GetOneofDouble() float64
- func (x *TestAllTypesProto2) GetOneofEnum() TestAllTypesProto2_NestedEnum
- func (x *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)
- 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_ExtensionWithOneof
- func (*TestAllTypesProto2_ExtensionWithOneof) Descriptor() ([]byte, []int)
- func (x *TestAllTypesProto2_ExtensionWithOneof) GetA() int32
- func (x *TestAllTypesProto2_ExtensionWithOneof) GetB() int32
- func (x *TestAllTypesProto2_ExtensionWithOneof) GetOneofField() isTestAllTypesProto2_ExtensionWithOneof_OneofField
- func (*TestAllTypesProto2_ExtensionWithOneof) ProtoMessage()
- func (x *TestAllTypesProto2_ExtensionWithOneof) ProtoReflect() protoreflect.Message
- func (x *TestAllTypesProto2_ExtensionWithOneof) Reset()
- func (x *TestAllTypesProto2_ExtensionWithOneof) String() string
- type TestAllTypesProto2_ExtensionWithOneof_A
- type TestAllTypesProto2_ExtensionWithOneof_B
- type TestAllTypesProto2_MessageSetCorrect
- func (*TestAllTypesProto2_MessageSetCorrect) Descriptor() ([]byte, []int)
- 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)
- 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)
- func (x *TestAllTypesProto2_MessageSetCorrectExtension2) GetI() int32
- func (*TestAllTypesProto2_MessageSetCorrectExtension2) ProtoMessage()
- func (x *TestAllTypesProto2_MessageSetCorrectExtension2) ProtoReflect() protoreflect.Message
- func (x *TestAllTypesProto2_MessageSetCorrectExtension2) Reset()
- func (x *TestAllTypesProto2_MessageSetCorrectExtension2) String() string
- type TestAllTypesProto2_MultiWordGroupField
- func (*TestAllTypesProto2_MultiWordGroupField) Descriptor() ([]byte, []int)
- func (x *TestAllTypesProto2_MultiWordGroupField) GetGroupInt32() int32
- func (x *TestAllTypesProto2_MultiWordGroupField) GetGroupUint32() uint32
- func (*TestAllTypesProto2_MultiWordGroupField) ProtoMessage()
- func (x *TestAllTypesProto2_MultiWordGroupField) ProtoReflect() protoreflect.Message
- func (x *TestAllTypesProto2_MultiWordGroupField) Reset()
- func (x *TestAllTypesProto2_MultiWordGroupField) String() string
- type TestAllTypesProto2_NestedEnum
- func (TestAllTypesProto2_NestedEnum) Descriptor() protoreflect.EnumDescriptor
- func (x TestAllTypesProto2_NestedEnum) Enum() *TestAllTypesProto2_NestedEnum
- func (TestAllTypesProto2_NestedEnum) EnumDescriptor() ([]byte, []int)
- 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) error
- type TestAllTypesProto2_NestedMessage
- func (*TestAllTypesProto2_NestedMessage) Descriptor() ([]byte, []int)
- 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)
- 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 (x *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)
- 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)
- 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)
- 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)
- func (x TestCategory) Number() protoreflect.EnumNumber
- func (x TestCategory) String() string
- func (TestCategory) Type() protoreflect.EnumType
- type TestLargeOneof
- func (*TestLargeOneof) Descriptor() ([]byte, []int)
- func (x *TestLargeOneof) GetA1() *TestLargeOneof_A1
- func (x *TestLargeOneof) GetA2() *TestLargeOneof_A2
- func (x *TestLargeOneof) GetA3() *TestLargeOneof_A3
- func (x *TestLargeOneof) GetA4() *TestLargeOneof_A4
- func (x *TestLargeOneof) GetA5() *TestLargeOneof_A5
- func (x *TestLargeOneof) GetLargeOneof() isTestLargeOneof_LargeOneof
- func (*TestLargeOneof) ProtoMessage()
- func (x *TestLargeOneof) ProtoReflect() protoreflect.Message
- func (x *TestLargeOneof) Reset()
- func (x *TestLargeOneof) String() string
- type TestLargeOneof_A1
- func (*TestLargeOneof_A1) Descriptor() ([]byte, []int)
- func (*TestLargeOneof_A1) ProtoMessage()
- func (x *TestLargeOneof_A1) ProtoReflect() protoreflect.Message
- func (x *TestLargeOneof_A1) Reset()
- func (x *TestLargeOneof_A1) String() string
- type TestLargeOneof_A1_
- type TestLargeOneof_A2
- func (*TestLargeOneof_A2) Descriptor() ([]byte, []int)
- func (*TestLargeOneof_A2) ProtoMessage()
- func (x *TestLargeOneof_A2) ProtoReflect() protoreflect.Message
- func (x *TestLargeOneof_A2) Reset()
- func (x *TestLargeOneof_A2) String() string
- type TestLargeOneof_A2_
- type TestLargeOneof_A3
- func (*TestLargeOneof_A3) Descriptor() ([]byte, []int)
- func (*TestLargeOneof_A3) ProtoMessage()
- func (x *TestLargeOneof_A3) ProtoReflect() protoreflect.Message
- func (x *TestLargeOneof_A3) Reset()
- func (x *TestLargeOneof_A3) String() string
- type TestLargeOneof_A3_
- type TestLargeOneof_A4
- func (*TestLargeOneof_A4) Descriptor() ([]byte, []int)
- func (*TestLargeOneof_A4) ProtoMessage()
- func (x *TestLargeOneof_A4) ProtoReflect() protoreflect.Message
- func (x *TestLargeOneof_A4) Reset()
- func (x *TestLargeOneof_A4) String() string
- type TestLargeOneof_A4_
- type TestLargeOneof_A5
- func (*TestLargeOneof_A5) Descriptor() ([]byte, []int)
- func (*TestLargeOneof_A5) ProtoMessage()
- func (x *TestLargeOneof_A5) ProtoReflect() protoreflect.Message
- func (x *TestLargeOneof_A5) Reset()
- func (x *TestLargeOneof_A5) String() string
- type TestLargeOneof_A5_
- type TestStatus
- func (*TestStatus) Descriptor() ([]byte, []int)
- func (x *TestStatus) GetFailureMessage() string
- func (x *TestStatus) GetMatchedName() string
- func (x *TestStatus) GetName() string
- func (*TestStatus) ProtoMessage()
- func (x *TestStatus) ProtoReflect() protoreflect.Message
- func (x *TestStatus) Reset()
- func (x *TestStatus) String() string
- type UnknownToTestAllTypes
- func (*UnknownToTestAllTypes) Descriptor() ([]byte, []int)
- 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)
- 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.
const ( Default_TestAllRequiredTypesProto2_DefaultInt32 = int32(-123456789) Default_TestAllRequiredTypesProto2_DefaultInt64 = int64(-9123456789123456789) Default_TestAllRequiredTypesProto2_DefaultUint32 = uint32(2123456789) Default_TestAllRequiredTypesProto2_DefaultUint64 = uint64(10123456789123456789) Default_TestAllRequiredTypesProto2_DefaultSint32 = int32(-123456789) Default_TestAllRequiredTypesProto2_DefaultSint64 = int64(-9123456789123456789) Default_TestAllRequiredTypesProto2_DefaultFixed32 = uint32(2123456789) Default_TestAllRequiredTypesProto2_DefaultFixed64 = uint64(10123456789123456789) Default_TestAllRequiredTypesProto2_DefaultSfixed32 = int32(-123456789) Default_TestAllRequiredTypesProto2_DefaultSfixed64 = int64(-9123456789123456789) Default_TestAllRequiredTypesProto2_DefaultFloat = float32(8.999999488e+09) Default_TestAllRequiredTypesProto2_DefaultDouble = float64(7e+22) Default_TestAllRequiredTypesProto2_DefaultBool = bool(true) Default_TestAllRequiredTypesProto2_DefaultString = string("Rosebud") )
Default values for TestAllRequiredTypesProto2 fields.
Variables ΒΆ
var ( 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 ( TestAllRequiredTypesProto2_NestedEnum_name = map[int32]string{ 0: "FOO", 1: "BAR", 2: "BAZ", -1: "NEG", } TestAllRequiredTypesProto2_NestedEnum_value = map[string]int32{ "FOO": 0, "BAR": 1, "BAZ": 2, "NEG": -1, } )
Enum value maps for TestAllRequiredTypesProto2_NestedEnum.
var ( // optional int32 extension_int32 = 120; E_ExtensionInt32 = &file_google_protobuf_test_messages_proto2_proto_extTypes[0] // optional protobuf_test_messages.proto2.GroupField groupfield = 121; E_Groupfield = &file_google_protobuf_test_messages_proto2_proto_extTypes[1] )
Extension fields to TestAllTypesProto2.
var ( // optional protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrectExtension1 message_set_extension = 1547769; E_TestAllTypesProto2_MessageSetCorrectExtension1_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[2] // optional protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrectExtension2 message_set_extension = 4135312; E_TestAllTypesProto2_MessageSetCorrectExtension2_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[3] // optional protobuf_test_messages.proto2.TestAllTypesProto2.ExtensionWithOneof extension_with_oneof = 123456789; E_TestAllTypesProto2_ExtensionWithOneof_ExtensionWithOneof = &file_google_protobuf_test_messages_proto2_proto_extTypes[4] )
Extension fields to TestAllTypesProto2_MessageSetCorrect.
var ( // optional protobuf_test_messages.proto2.TestAllRequiredTypesProto2.MessageSetCorrectExtension1 message_set_extension = 1547769; E_TestAllRequiredTypesProto2_MessageSetCorrectExtension1_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[5] // optional protobuf_test_messages.proto2.TestAllRequiredTypesProto2.MessageSetCorrectExtension2 message_set_extension = 4135312; E_TestAllRequiredTypesProto2_MessageSetCorrectExtension2_MessageSetExtension = &file_google_protobuf_test_messages_proto2_proto_extTypes[6] )
Extension fields to TestAllRequiredTypesProto2_MessageSetCorrect.
var ( ForeignEnum_name = map[int32]string{ 0: "FOREIGN_FOO", 1: "FOREIGN_BAR", 2: "FOREIGN_BAZ", } ForeignEnum_value = map[string]int32{ "FOREIGN_FOO": 0, "FOREIGN_BAR": 1, "FOREIGN_BAZ": 2, } )
Enum value maps for ForeignEnum.
var ( TestAllTypesProto3_NestedEnum_name = map[int32]string{ 0: "FOO", 1: "BAR", 2: "BAZ", -1: "NEG", } TestAllTypesProto3_NestedEnum_value = map[string]int32{ "FOO": 0, "BAR": 1, "BAZ": 2, "NEG": -1, } )
Enum value maps for TestAllTypesProto3_NestedEnum.
var ( TestAllTypesProto3_AliasedEnum_name = map[int32]string{ 0: "ALIAS_FOO", 1: "ALIAS_BAR", 2: "ALIAS_BAZ", } TestAllTypesProto3_AliasedEnum_value = map[string]int32{ "ALIAS_FOO": 0, "ALIAS_BAR": 1, "ALIAS_BAZ": 2, "MOO": 2, "moo": 2, "bAz": 2, } )
Enum value maps for TestAllTypesProto3_AliasedEnum.
var ( EnumOnlyProto3_Bool_name = map[int32]string{ 0: "kFalse", 1: "kTrue", } EnumOnlyProto3_Bool_value = map[string]int32{ "kFalse": 0, "kTrue": 1, } )
Enum value maps for EnumOnlyProto3_Bool.
var ( Default_TestAllRequiredTypesProto2_DefaultBytes = []byte("joshua") )
Default values for TestAllRequiredTypesProto2 fields.
var ( Default_TestAllTypesProto2_DefaultBytes = []byte("joshua") )
Default values for TestAllTypesProto2 fields.
var File_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
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).
//
// Types that are valid to be assigned 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 `protobuf:"varint,3,opt,name=requested_output_format,json=requestedOutputFormat,proto3,enum=conformance.WireFormat" json:"requested_output_format,omitempty"`
// The full name for the test message to use; for the moment, either:
// protobuf_test_messages.proto3.TestAllTypesProto3 or
// protobuf_test_messages.proto2.TestAllTypesProto2 or
// protobuf_test_messages.editions.proto2.TestAllTypesProto2 or
// protobuf_test_messages.editions.proto3.TestAllTypesProto3 or
// protobuf_test_messages.editions.TestAllTypesEdition2023.
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 `protobuf:"varint,5,opt,name=test_category,json=testCategory,proto3,enum=conformance.TestCategory" json:"test_category,omitempty"`
// 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 ΒΆ
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 (x *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 {
// Only used inside Google. 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 valid to be assigned to Result:
//
// *ConformanceResponse_ParseError
// *ConformanceResponse_SerializeError
// *ConformanceResponse_TimeoutError
// *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 ΒΆ
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 (x *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) GetTimeoutError ΒΆ
func (x *ConformanceResponse) GetTimeoutError() 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 only used inside
// Google. 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 ConformanceResponse_TimeoutError ΒΆ
type ConformanceResponse_TimeoutError struct {
// This should be set if the test program timed out. The string should
// provide more information about what the child process was doing when it
// was killed.
TimeoutError string `protobuf:"bytes,9,opt,name=timeout_error,json=timeoutError,proto3,oneof"`
}
type EnumOnlyProto2 ΒΆ
type EnumOnlyProto2 struct {
// contains filtered or unexported fields
}
func (*EnumOnlyProto2) Descriptor ΒΆ
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 ΒΆ
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 ΒΆ
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 ΒΆ
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 ΒΆ
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 {
Test []*TestStatus `protobuf:"bytes,2,rep,name=test,proto3" json:"test,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 ΒΆ
func (*FailureSet) Descriptor() ([]byte, []int)
Deprecated: Use FailureSet.ProtoReflect.Descriptor instead.
func (*FailureSet) GetTest ΒΆ
func (x *FailureSet) GetTest() []*TestStatus
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 ΒΆ
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 ΒΆ
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 ΒΆ
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 ΒΆ
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 ΒΆ
func (*ForeignMessageProto2) Descriptor() ([]byte, []int)
Deprecated: Use ForeignMessageProto2.ProtoReflect.Descriptor instead.
func (*ForeignMessageProto2) GetC ΒΆ
func (x *ForeignMessageProto2) GetC() int32
func (*ForeignMessageProto2) ProtoMessage ΒΆ
func (*ForeignMessageProto2) ProtoMessage()
func (*ForeignMessageProto2) ProtoReflect ΒΆ
func (x *ForeignMessageProto2) ProtoReflect() protoreflect.Message
func (*ForeignMessageProto2) Reset ΒΆ
func (x *ForeignMessageProto2) Reset()
func (*ForeignMessageProto2) String ΒΆ
func (x *ForeignMessageProto2) String() string
type GroupField ΒΆ
type GroupField struct {
GroupInt32 *int32 `protobuf:"varint,122,opt,name=group_int32,json=groupInt32" json:"group_int32,omitempty"`
GroupUint32 *uint32 `protobuf:"varint,123,opt,name=group_uint32,json=groupUint32" json:"group_uint32,omitempty"`
// contains filtered or unexported fields
}
func (*GroupField) Descriptor ΒΆ
func (*GroupField) Descriptor() ([]byte, []int)
Deprecated: Use GroupField.ProtoReflect.Descriptor instead.
func (*GroupField) GetGroupInt32 ΒΆ
func (x *GroupField) GetGroupInt32() int32
func (*GroupField) GetGroupUint32 ΒΆ
func (x *GroupField) GetGroupUint32() uint32
func (*GroupField) ProtoMessage ΒΆ
func (*GroupField) ProtoMessage()
func (*GroupField) ProtoReflect ΒΆ
func (x *GroupField) ProtoReflect() protoreflect.Message
func (*GroupField) Reset ΒΆ
func (x *GroupField) Reset()
func (*GroupField) String ΒΆ
func (x *GroupField) String() string
type JspbEncodingConfig ΒΆ
type JspbEncodingConfig struct {
// Encode the value field of Any as jspb array if true, otherwise binary.
UseJspbArrayAnyFormat bool `protobuf:"varint,1,opt,name=use_jspb_array_any_format,json=useJspbArrayAnyFormat,proto3" json:"use_jspb_array_any_format,omitempty"`
// contains filtered or unexported fields
}
Encoding options for jspb format.
func (*JspbEncodingConfig) Descriptor ΒΆ
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 ΒΆ
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 ΒΆ
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 ΒΆ
func (*OneStringProto2) Descriptor() ([]byte, []int)
Deprecated: Use OneStringProto2.ProtoReflect.Descriptor instead.
func (*OneStringProto2) GetData ΒΆ
func (x *OneStringProto2) GetData() string
func (*OneStringProto2) ProtoMessage ΒΆ
func (*OneStringProto2) ProtoMessage()
func (*OneStringProto2) ProtoReflect ΒΆ
func (x *OneStringProto2) ProtoReflect() protoreflect.Message
func (*OneStringProto2) Reset ΒΆ
func (x *OneStringProto2) Reset()
func (*OneStringProto2) String ΒΆ
func (x *OneStringProto2) String() string
type ProtoWithKeywords ΒΆ
type ProtoWithKeywords struct {
Inline *int32 `protobuf:"varint,1,opt,name=inline" json:"inline,omitempty"`
Concept *string `protobuf:"bytes,2,opt,name=concept" json:"concept,omitempty"`
Requires []string `protobuf:"bytes,3,rep,name=requires" json:"requires,omitempty"`
// contains filtered or unexported fields
}
func (*ProtoWithKeywords) Descriptor ΒΆ
func (*ProtoWithKeywords) Descriptor() ([]byte, []int)
Deprecated: Use ProtoWithKeywords.ProtoReflect.Descriptor instead.
func (*ProtoWithKeywords) GetConcept ΒΆ
func (x *ProtoWithKeywords) GetConcept() string
func (*ProtoWithKeywords) GetInline ΒΆ
func (x *ProtoWithKeywords) GetInline() int32
func (*ProtoWithKeywords) GetRequires ΒΆ
func (x *ProtoWithKeywords) GetRequires() []string
func (*ProtoWithKeywords) ProtoMessage ΒΆ
func (*ProtoWithKeywords) ProtoMessage()
func (*ProtoWithKeywords) ProtoReflect ΒΆ
func (x *ProtoWithKeywords) ProtoReflect() protoreflect.Message
func (*ProtoWithKeywords) Reset ΒΆ
func (x *ProtoWithKeywords) Reset()
func (*ProtoWithKeywords) String ΒΆ
func (x *ProtoWithKeywords) String() string
type TestAllRequiredTypesProto2 ΒΆ
type TestAllRequiredTypesProto2 struct {
// Singular
RequiredInt32 *int32 `protobuf:"varint,1,req,name=required_int32,json=requiredInt32" json:"required_int32,omitempty"`
RequiredInt64 *int64 `protobuf:"varint,2,req,name=required_int64,json=requiredInt64" json:"required_int64,omitempty"`
RequiredUint32 *uint32 `protobuf:"varint,3,req,name=required_uint32,json=requiredUint32" json:"required_uint32,omitempty"`
RequiredUint64 *uint64 `protobuf:"varint,4,req,name=required_uint64,json=requiredUint64" json:"required_uint64,omitempty"`
RequiredSint32 *int32 `protobuf:"zigzag32,5,req,name=required_sint32,json=requiredSint32" json:"required_sint32,omitempty"`
RequiredSint64 *int64 `protobuf:"zigzag64,6,req,name=required_sint64,json=requiredSint64" json:"required_sint64,omitempty"`
RequiredFixed32 *uint32 `protobuf:"fixed32,7,req,name=required_fixed32,json=requiredFixed32" json:"required_fixed32,omitempty"`
RequiredFixed64 *uint64 `protobuf:"fixed64,8,req,name=required_fixed64,json=requiredFixed64" json:"required_fixed64,omitempty"`
RequiredSfixed32 *int32 `protobuf:"fixed32,9,req,name=required_sfixed32,json=requiredSfixed32" json:"required_sfixed32,omitempty"`
RequiredSfixed64 *int64 `protobuf:"fixed64,10,req,name=required_sfixed64,json=requiredSfixed64" json:"required_sfixed64,omitempty"`
RequiredFloat *float32 `protobuf:"fixed32,11,req,name=required_float,json=requiredFloat" json:"required_float,omitempty"`
RequiredDouble *float64 `protobuf:"fixed64,12,req,name=required_double,json=requiredDouble" json:"required_double,omitempty"`
RequiredBool *bool `protobuf:"varint,13,req,name=required_bool,json=requiredBool" json:"required_bool,omitempty"`
RequiredString *string `protobuf:"bytes,14,req,name=required_string,json=requiredString" json:"required_string,omitempty"`
RequiredBytes []byte `protobuf:"bytes,15,req,name=required_bytes,json=requiredBytes" json:"required_bytes,omitempty"`
RequiredNestedMessage *TestAllRequiredTypesProto2_NestedMessage `protobuf:"bytes,18,req,name=required_nested_message,json=requiredNestedMessage" json:"required_nested_message,omitempty"`
RequiredForeignMessage *ForeignMessageProto2 `protobuf:"bytes,19,req,name=required_foreign_message,json=requiredForeignMessage" json:"required_foreign_message,omitempty"`
RequiredNestedEnum *TestAllRequiredTypesProto2_NestedEnum `protobuf:"varint,21,req,name=required_nested_enum,json=requiredNestedEnum,enum=protobuf_test_messages.proto2.TestAllRequiredTypesProto2_NestedEnum" json:"required_nested_enum,omitempty"`
RequiredForeignEnum *ForeignEnumProto2 `protobuf:"varint,22,req,name=required_foreign_enum,json=requiredForeignEnum,enum=protobuf_test_messages.proto2.ForeignEnumProto2" json:"required_foreign_enum,omitempty"`
RequiredStringPiece *string `protobuf:"bytes,24,req,name=required_string_piece,json=requiredStringPiece" json:"required_string_piece,omitempty"`
RequiredCord *string `protobuf:"bytes,25,req,name=required_cord,json=requiredCord" json:"required_cord,omitempty"`
RecursiveMessage *TestAllRequiredTypesProto2 `protobuf:"bytes,27,req,name=recursive_message,json=recursiveMessage" json:"recursive_message,omitempty"`
OptionalRecursiveMessage *TestAllRequiredTypesProto2 `protobuf:"bytes,28,opt,name=optional_recursive_message,json=optionalRecursiveMessage" json:"optional_recursive_message,omitempty"`
Data *TestAllRequiredTypesProto2_Data `protobuf:"group,201,req,name=Data,json=data" json:"data,omitempty"`
// default values
DefaultInt32 *int32 `protobuf:"varint,241,req,name=default_int32,json=defaultInt32,def=-123456789" json:"default_int32,omitempty"`
DefaultInt64 *int64 `protobuf:"varint,242,req,name=default_int64,json=defaultInt64,def=-9123456789123456789" json:"default_int64,omitempty"`
DefaultUint32 *uint32 `protobuf:"varint,243,req,name=default_uint32,json=defaultUint32,def=2123456789" json:"default_uint32,omitempty"`
DefaultUint64 *uint64 `protobuf:"varint,244,req,name=default_uint64,json=defaultUint64,def=10123456789123456789" json:"default_uint64,omitempty"`
DefaultSint32 *int32 `protobuf:"zigzag32,245,req,name=default_sint32,json=defaultSint32,def=-123456789" json:"default_sint32,omitempty"`
DefaultSint64 *int64 `protobuf:"zigzag64,246,req,name=default_sint64,json=defaultSint64,def=-9123456789123456789" json:"default_sint64,omitempty"`
DefaultFixed32 *uint32 `protobuf:"fixed32,247,req,name=default_fixed32,json=defaultFixed32,def=2123456789" json:"default_fixed32,omitempty"`
DefaultFixed64 *uint64 `protobuf:"fixed64,248,req,name=default_fixed64,json=defaultFixed64,def=10123456789123456789" json:"default_fixed64,omitempty"`
DefaultSfixed32 *int32 `protobuf:"fixed32,249,req,name=default_sfixed32,json=defaultSfixed32,def=-123456789" json:"default_sfixed32,omitempty"`
DefaultSfixed64 *int64 `protobuf:"fixed64,250,req,name=default_sfixed64,json=defaultSfixed64,def=-9123456789123456789" json:"default_sfixed64,omitempty"`
DefaultFloat *float32 `protobuf:"fixed32,251,req,name=default_float,json=defaultFloat,def=9e+09" json:"default_float,omitempty"`
DefaultDouble *float64 `protobuf:"fixed64,252,req,name=default_double,json=defaultDouble,def=7e+22" json:"default_double,omitempty"`
DefaultBool *bool `protobuf:"varint,253,req,name=default_bool,json=defaultBool,def=1" json:"default_bool,omitempty"`
DefaultString *string `protobuf:"bytes,254,req,name=default_string,json=defaultString,def=Rosebud" json:"default_string,omitempty"`
DefaultBytes []byte `protobuf:"bytes,255,req,name=default_bytes,json=defaultBytes,def=joshua" json:"default_bytes,omitempty"`
// contains filtered or unexported fields
}
func (*TestAllRequiredTypesProto2) Descriptor ΒΆ
func (*TestAllRequiredTypesProto2) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2.ProtoReflect.Descriptor instead.
func (*TestAllRequiredTypesProto2) GetData ΒΆ
func (x *TestAllRequiredTypesProto2) GetData() *TestAllRequiredTypesProto2_Data
func (*TestAllRequiredTypesProto2) GetDefaultBool ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultBool() bool
func (*TestAllRequiredTypesProto2) GetDefaultBytes ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultBytes() []byte
func (*TestAllRequiredTypesProto2) GetDefaultDouble ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultDouble() float64
func (*TestAllRequiredTypesProto2) GetDefaultFixed32 ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultFixed32() uint32
func (*TestAllRequiredTypesProto2) GetDefaultFixed64 ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultFixed64() uint64
func (*TestAllRequiredTypesProto2) GetDefaultFloat ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultFloat() float32
func (*TestAllRequiredTypesProto2) GetDefaultInt32 ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultInt32() int32
func (*TestAllRequiredTypesProto2) GetDefaultInt64 ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultInt64() int64
func (*TestAllRequiredTypesProto2) GetDefaultSfixed32 ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultSfixed32() int32
func (*TestAllRequiredTypesProto2) GetDefaultSfixed64 ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultSfixed64() int64
func (*TestAllRequiredTypesProto2) GetDefaultSint32 ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultSint32() int32
func (*TestAllRequiredTypesProto2) GetDefaultSint64 ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultSint64() int64
func (*TestAllRequiredTypesProto2) GetDefaultString ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultString() string
func (*TestAllRequiredTypesProto2) GetDefaultUint32 ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultUint32() uint32
func (*TestAllRequiredTypesProto2) GetDefaultUint64 ΒΆ
func (x *TestAllRequiredTypesProto2) GetDefaultUint64() uint64
func (*TestAllRequiredTypesProto2) GetOptionalRecursiveMessage ΒΆ
func (x *TestAllRequiredTypesProto2) GetOptionalRecursiveMessage() *TestAllRequiredTypesProto2
func (*TestAllRequiredTypesProto2) GetRecursiveMessage ΒΆ
func (x *TestAllRequiredTypesProto2) GetRecursiveMessage() *TestAllRequiredTypesProto2
func (*TestAllRequiredTypesProto2) GetRequiredBool ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredBool() bool
func (*TestAllRequiredTypesProto2) GetRequiredBytes ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredBytes() []byte
func (*TestAllRequiredTypesProto2) GetRequiredCord ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredCord() string
func (*TestAllRequiredTypesProto2) GetRequiredDouble ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredDouble() float64
func (*TestAllRequiredTypesProto2) GetRequiredFixed32 ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredFixed32() uint32
func (*TestAllRequiredTypesProto2) GetRequiredFixed64 ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredFixed64() uint64
func (*TestAllRequiredTypesProto2) GetRequiredFloat ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredFloat() float32
func (*TestAllRequiredTypesProto2) GetRequiredForeignEnum ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredForeignEnum() ForeignEnumProto2
func (*TestAllRequiredTypesProto2) GetRequiredForeignMessage ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredForeignMessage() *ForeignMessageProto2
func (*TestAllRequiredTypesProto2) GetRequiredInt32 ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredInt32() int32
func (*TestAllRequiredTypesProto2) GetRequiredInt64 ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredInt64() int64
func (*TestAllRequiredTypesProto2) GetRequiredNestedEnum ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredNestedEnum() TestAllRequiredTypesProto2_NestedEnum
func (*TestAllRequiredTypesProto2) GetRequiredNestedMessage ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredNestedMessage() *TestAllRequiredTypesProto2_NestedMessage
func (*TestAllRequiredTypesProto2) GetRequiredSfixed32 ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredSfixed32() int32
func (*TestAllRequiredTypesProto2) GetRequiredSfixed64 ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredSfixed64() int64
func (*TestAllRequiredTypesProto2) GetRequiredSint32 ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredSint32() int32
func (*TestAllRequiredTypesProto2) GetRequiredSint64 ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredSint64() int64
func (*TestAllRequiredTypesProto2) GetRequiredString ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredString() string
func (*TestAllRequiredTypesProto2) GetRequiredStringPiece ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredStringPiece() string
func (*TestAllRequiredTypesProto2) GetRequiredUint32 ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredUint32() uint32
func (*TestAllRequiredTypesProto2) GetRequiredUint64 ΒΆ
func (x *TestAllRequiredTypesProto2) GetRequiredUint64() uint64
func (*TestAllRequiredTypesProto2) ProtoMessage ΒΆ
func (*TestAllRequiredTypesProto2) ProtoMessage()
func (*TestAllRequiredTypesProto2) ProtoReflect ΒΆ
func (x *TestAllRequiredTypesProto2) ProtoReflect() protoreflect.Message
func (*TestAllRequiredTypesProto2) Reset ΒΆ
func (x *TestAllRequiredTypesProto2) Reset()
func (*TestAllRequiredTypesProto2) String ΒΆ
func (x *TestAllRequiredTypesProto2) String() string
type TestAllRequiredTypesProto2_Data ΒΆ
type TestAllRequiredTypesProto2_Data struct {
GroupInt32 *int32 `protobuf:"varint,202,req,name=group_int32,json=groupInt32" json:"group_int32,omitempty"`
GroupUint32 *uint32 `protobuf:"varint,203,req,name=group_uint32,json=groupUint32" json:"group_uint32,omitempty"`
// contains filtered or unexported fields
}
groups
func (*TestAllRequiredTypesProto2_Data) Descriptor ΒΆ
func (*TestAllRequiredTypesProto2_Data) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_Data.ProtoReflect.Descriptor instead.
func (*TestAllRequiredTypesProto2_Data) GetGroupInt32 ΒΆ
func (x *TestAllRequiredTypesProto2_Data) GetGroupInt32() int32
func (*TestAllRequiredTypesProto2_Data) GetGroupUint32 ΒΆ
func (x *TestAllRequiredTypesProto2_Data) GetGroupUint32() uint32
func (*TestAllRequiredTypesProto2_Data) ProtoMessage ΒΆ
func (*TestAllRequiredTypesProto2_Data) ProtoMessage()
func (*TestAllRequiredTypesProto2_Data) ProtoReflect ΒΆ
func (x *TestAllRequiredTypesProto2_Data) ProtoReflect() protoreflect.Message
func (*TestAllRequiredTypesProto2_Data) Reset ΒΆ
func (x *TestAllRequiredTypesProto2_Data) Reset()
func (*TestAllRequiredTypesProto2_Data) String ΒΆ
func (x *TestAllRequiredTypesProto2_Data) String() string
type TestAllRequiredTypesProto2_MessageSetCorrect ΒΆ
type TestAllRequiredTypesProto2_MessageSetCorrect struct {
// contains filtered or unexported fields
}
message_set test case.
func (*TestAllRequiredTypesProto2_MessageSetCorrect) Descriptor ΒΆ
func (*TestAllRequiredTypesProto2_MessageSetCorrect) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_MessageSetCorrect.ProtoReflect.Descriptor instead.
func (*TestAllRequiredTypesProto2_MessageSetCorrect) ProtoMessage ΒΆ
func (*TestAllRequiredTypesProto2_MessageSetCorrect) ProtoMessage()
func (*TestAllRequiredTypesProto2_MessageSetCorrect) ProtoReflect ΒΆ
func (x *TestAllRequiredTypesProto2_MessageSetCorrect) ProtoReflect() protoreflect.Message
func (*TestAllRequiredTypesProto2_MessageSetCorrect) Reset ΒΆ
func (x *TestAllRequiredTypesProto2_MessageSetCorrect) Reset()
func (*TestAllRequiredTypesProto2_MessageSetCorrect) String ΒΆ
func (x *TestAllRequiredTypesProto2_MessageSetCorrect) String() string
type TestAllRequiredTypesProto2_MessageSetCorrectExtension1 ΒΆ
type TestAllRequiredTypesProto2_MessageSetCorrectExtension1 struct {
Str *string `protobuf:"bytes,25,req,name=str" json:"str,omitempty"`
// contains filtered or unexported fields
}
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Descriptor ΒΆ
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_MessageSetCorrectExtension1.ProtoReflect.Descriptor instead.
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) GetStr ΒΆ
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) GetStr() string
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoMessage ΒΆ
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoMessage()
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoReflect ΒΆ
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) ProtoReflect() protoreflect.Message
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Reset ΒΆ
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) Reset()
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension1) String ΒΆ
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension1) String() string
type TestAllRequiredTypesProto2_MessageSetCorrectExtension2 ΒΆ
type TestAllRequiredTypesProto2_MessageSetCorrectExtension2 struct {
I *int32 `protobuf:"varint,9,req,name=i" json:"i,omitempty"`
// contains filtered or unexported fields
}
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Descriptor ΒΆ
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_MessageSetCorrectExtension2.ProtoReflect.Descriptor instead.
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) GetI ΒΆ
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) GetI() int32
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoMessage ΒΆ
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoMessage()
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoReflect ΒΆ
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) ProtoReflect() protoreflect.Message
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Reset ΒΆ
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) Reset()
func (*TestAllRequiredTypesProto2_MessageSetCorrectExtension2) String ΒΆ
func (x *TestAllRequiredTypesProto2_MessageSetCorrectExtension2) String() string
type TestAllRequiredTypesProto2_NestedEnum ΒΆ
type TestAllRequiredTypesProto2_NestedEnum int32
const ( TestAllRequiredTypesProto2_FOO TestAllRequiredTypesProto2_NestedEnum = 0 TestAllRequiredTypesProto2_BAR TestAllRequiredTypesProto2_NestedEnum = 1 TestAllRequiredTypesProto2_BAZ TestAllRequiredTypesProto2_NestedEnum = 2 TestAllRequiredTypesProto2_NEG TestAllRequiredTypesProto2_NestedEnum = -1 // Intentionally negative. )
func (TestAllRequiredTypesProto2_NestedEnum) Descriptor ΒΆ
func (TestAllRequiredTypesProto2_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (TestAllRequiredTypesProto2_NestedEnum) Enum ΒΆ
func (TestAllRequiredTypesProto2_NestedEnum) EnumDescriptor ΒΆ
func (TestAllRequiredTypesProto2_NestedEnum) EnumDescriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_NestedEnum.Descriptor instead.
func (TestAllRequiredTypesProto2_NestedEnum) Number ΒΆ
func (x TestAllRequiredTypesProto2_NestedEnum) Number() protoreflect.EnumNumber
func (TestAllRequiredTypesProto2_NestedEnum) String ΒΆ
func (x TestAllRequiredTypesProto2_NestedEnum) String() string
func (TestAllRequiredTypesProto2_NestedEnum) Type ΒΆ
func (TestAllRequiredTypesProto2_NestedEnum) Type() protoreflect.EnumType
func (*TestAllRequiredTypesProto2_NestedEnum) UnmarshalJSON ΒΆ
func (x *TestAllRequiredTypesProto2_NestedEnum) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type TestAllRequiredTypesProto2_NestedMessage ΒΆ
type TestAllRequiredTypesProto2_NestedMessage struct {
A *int32 `protobuf:"varint,1,req,name=a" json:"a,omitempty"`
Corecursive *TestAllRequiredTypesProto2 `protobuf:"bytes,2,req,name=corecursive" json:"corecursive,omitempty"`
OptionalCorecursive *TestAllRequiredTypesProto2 `protobuf:"bytes,3,opt,name=optional_corecursive,json=optionalCorecursive" json:"optional_corecursive,omitempty"`
// contains filtered or unexported fields
}
func (*TestAllRequiredTypesProto2_NestedMessage) Descriptor ΒΆ
func (*TestAllRequiredTypesProto2_NestedMessage) Descriptor() ([]byte, []int)
Deprecated: Use TestAllRequiredTypesProto2_NestedMessage.ProtoReflect.Descriptor instead.
func (*TestAllRequiredTypesProto2_NestedMessage) GetA ΒΆ
func (x *TestAllRequiredTypesProto2_NestedMessage) GetA() int32
func (*TestAllRequiredTypesProto2_NestedMessage) GetCorecursive ΒΆ
func (x *TestAllRequiredTypesProto2_NestedMessage) GetCorecursive() *TestAllRequiredTypesProto2
func (*TestAllRequiredTypesProto2_NestedMessage) GetOptionalCorecursive ΒΆ
func (x *TestAllRequiredTypesProto2_NestedMessage) GetOptionalCorecursive() *TestAllRequiredTypesProto2
func (*TestAllRequiredTypesProto2_NestedMessage) ProtoMessage ΒΆ
func (*TestAllRequiredTypesProto2_NestedMessage) ProtoMessage()
func (*TestAllRequiredTypesProto2_NestedMessage) ProtoReflect ΒΆ
func (x *TestAllRequiredTypesProto2_NestedMessage) ProtoReflect() protoreflect.Message
func (*TestAllRequiredTypesProto2_NestedMessage) Reset ΒΆ
func (x *TestAllRequiredTypesProto2_NestedMessage) Reset()
func (*TestAllRequiredTypesProto2_NestedMessage) String ΒΆ
func (x *TestAllRequiredTypesProto2_NestedMessage) String() string
type TestAllTypesProto2 ΒΆ
type TestAllTypesProto2 struct {
// Singular
OptionalInt32 *int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
OptionalInt64 *int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
OptionalUint32 *uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
OptionalUint64 *uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
OptionalSint32 *int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
OptionalSint64 *int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
OptionalFixed32 *uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
OptionalFixed64 *uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
OptionalSfixed32 *int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
OptionalSfixed64 *int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
OptionalBool *bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
OptionalString *string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
OptionalNestedMessage *TestAllTypesProto2_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
OptionalForeignMessage *ForeignMessageProto2 `protobuf:"bytes,19,opt,name=optional_foreign_message,json=optionalForeignMessage" json:"optional_foreign_message,omitempty"`
OptionalNestedEnum *TestAllTypesProto2_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,enum=protobuf_test_messages.proto2.TestAllTypesProto2_NestedEnum" json:"optional_nested_enum,omitempty"`
OptionalForeignEnum *ForeignEnumProto2 `protobuf:"varint,22,opt,name=optional_foreign_enum,json=optionalForeignEnum,enum=protobuf_test_messages.proto2.ForeignEnumProto2" json:"optional_foreign_enum,omitempty"`
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 `protobuf:"varint,51,rep,name=repeated_nested_enum,json=repeatedNestedEnum,enum=protobuf_test_messages.proto2.TestAllTypesProto2_NestedEnum" json:"repeated_nested_enum,omitempty"`
RepeatedForeignEnum []ForeignEnumProto2 `protobuf:"varint,52,rep,name=repeated_foreign_enum,json=repeatedForeignEnum,enum=protobuf_test_messages.proto2.ForeignEnumProto2" json:"repeated_foreign_enum,omitempty"`
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 `protobuf:"varint,88,rep,packed,name=packed_nested_enum,json=packedNestedEnum,enum=protobuf_test_messages.proto2.TestAllTypesProto2_NestedEnum" json:"packed_nested_enum,omitempty"`
// 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 `protobuf:"varint,102,rep,name=unpacked_nested_enum,json=unpackedNestedEnum,enum=protobuf_test_messages.proto2.TestAllTypesProto2_NestedEnum" json:"unpacked_nested_enum,omitempty"`
// Map
MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapInt64Int64 map[int64]int64 `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapUint32Uint32 map[uint32]uint32 `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapUint64Uint64 map[uint64]uint64 `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapSint32Sint32 map[int32]int32 `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
MapSint64Sint64 map[int64]int64 `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
MapFixed32Fixed32 map[uint32]uint32 `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
MapFixed64Fixed64 map[uint64]uint64 `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
MapSfixed32Sfixed32 map[int32]int32 `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
MapSfixed64Sfixed64 map[int64]int64 `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
MapInt32Bool map[int32]bool `protobuf:"bytes,104,rep,name=map_int32_bool,json=mapInt32Bool" json:"map_int32_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapInt32Float map[int32]float32 `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
MapInt32Double map[int32]float64 `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
MapInt32NestedMessage map[int32]*TestAllTypesProto2_NestedMessage `protobuf:"bytes,103,rep,name=map_int32_nested_message,json=mapInt32NestedMessage" json:"map_int32_nested_message,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MapBoolBool map[bool]bool `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapStringString map[string]string `protobuf:"bytes,69,rep,name=map_string_string,json=mapStringString" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MapStringBytes map[string][]byte `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MapStringNestedMessage map[string]*TestAllTypesProto2_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MapStringForeignMessage map[string]*ForeignMessageProto2 `protobuf:"bytes,72,rep,name=map_string_foreign_message,json=mapStringForeignMessage" json:"map_string_foreign_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MapStringNestedEnum map[string]TestAllTypesProto2_NestedEnum `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=protobuf_test_messages.proto2.TestAllTypesProto2_NestedEnum"`
MapStringForeignEnum map[string]ForeignEnumProto2 `protobuf:"bytes,74,rep,name=map_string_foreign_enum,json=mapStringForeignEnum" json:"map_string_foreign_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=protobuf_test_messages.proto2.ForeignEnumProto2"`
// Types that are valid to be assigned to OneofField:
//
// *TestAllTypesProto2_OneofUint32
// *TestAllTypesProto2_OneofNestedMessage
// *TestAllTypesProto2_OneofString
// *TestAllTypesProto2_OneofBytes
// *TestAllTypesProto2_OneofBool
// *TestAllTypesProto2_OneofUint64
// *TestAllTypesProto2_OneofFloat
// *TestAllTypesProto2_OneofDouble
// *TestAllTypesProto2_OneofEnum
OneofField isTestAllTypesProto2_OneofField `protobuf_oneof:"oneof_field"`
Data *TestAllTypesProto2_Data `protobuf:"group,201,opt,name=Data,json=data" json:"data,omitempty"`
Multiwordgroupfield *TestAllTypesProto2_MultiWordGroupField `protobuf:"group,204,opt,name=MultiWordGroupField,json=multiwordgroupfield" json:"multiwordgroupfield,omitempty"`
// default values
DefaultInt32 *int32 `protobuf:"varint,241,opt,name=default_int32,json=defaultInt32,def=-123456789" json:"default_int32,omitempty"`
DefaultInt64 *int64 `protobuf:"varint,242,opt,name=default_int64,json=defaultInt64,def=-9123456789123456789" json:"default_int64,omitempty"`
DefaultUint32 *uint32 `protobuf:"varint,243,opt,name=default_uint32,json=defaultUint32,def=2123456789" json:"default_uint32,omitempty"`
DefaultUint64 *uint64 `protobuf:"varint,244,opt,name=default_uint64,json=defaultUint64,def=10123456789123456789" json:"default_uint64,omitempty"`
DefaultSint32 *int32 `protobuf:"zigzag32,245,opt,name=default_sint32,json=defaultSint32,def=-123456789" json:"default_sint32,omitempty"`
DefaultSint64 *int64 `protobuf:"zigzag64,246,opt,name=default_sint64,json=defaultSint64,def=-9123456789123456789" json:"default_sint64,omitempty"`
DefaultFixed32 *uint32 `protobuf:"fixed32,247,opt,name=default_fixed32,json=defaultFixed32,def=2123456789" json:"default_fixed32,omitempty"`
DefaultFixed64 *uint64 `protobuf:"fixed64,248,opt,name=default_fixed64,json=defaultFixed64,def=10123456789123456789" json:"default_fixed64,omitempty"`
DefaultSfixed32 *int32 `protobuf:"fixed32,249,opt,name=default_sfixed32,json=defaultSfixed32,def=-123456789" json:"default_sfixed32,omitempty"`
DefaultSfixed64 *int64 `protobuf:"fixed64,250,opt,name=default_sfixed64,json=defaultSfixed64,def=-9123456789123456789" json:"default_sfixed64,omitempty"`
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"`
MessageSetCorrect *TestAllTypesProto2_MessageSetCorrect `protobuf:"bytes,500,opt,name=message_set_correct,json=messageSetCorrect" json:"message_set_correct,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 ΒΆ
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) GetMapInt32Bool ΒΆ
func (x *TestAllTypesProto2) GetMapInt32Bool() map[int32]bool
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) GetMapInt32NestedMessage ΒΆ
func (x *TestAllTypesProto2) GetMapInt32NestedMessage() map[int32]*TestAllTypesProto2_NestedMessage
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) GetMessageSetCorrect ΒΆ
func (x *TestAllTypesProto2) GetMessageSetCorrect() *TestAllTypesProto2_MessageSetCorrect
func (*TestAllTypesProto2) GetMultiwordgroupfield ΒΆ
func (x *TestAllTypesProto2) GetMultiwordgroupfield() *TestAllTypesProto2_MultiWordGroupField
func (*TestAllTypesProto2) GetOneofBool ΒΆ
func (x *TestAllTypesProto2) GetOneofBool() bool
func (*TestAllTypesProto2) GetOneofBytes ΒΆ
func (x *TestAllTypesProto2) GetOneofBytes() []byte
func (*TestAllTypesProto2) GetOneofDouble ΒΆ
func (x *TestAllTypesProto2) GetOneofDouble() float64
func (*TestAllTypesProto2) GetOneofEnum ΒΆ
func (x *TestAllTypesProto2) GetOneofEnum() TestAllTypesProto2_NestedEnum
func (*TestAllTypesProto2) GetOneofField ΒΆ
func (x *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 ΒΆ
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_ExtensionWithOneof ΒΆ
type TestAllTypesProto2_ExtensionWithOneof struct {
// Types that are valid to be assigned to OneofField:
//
// *TestAllTypesProto2_ExtensionWithOneof_A
// *TestAllTypesProto2_ExtensionWithOneof_B
OneofField isTestAllTypesProto2_ExtensionWithOneof_OneofField `protobuf_oneof:"oneof_field"`
// contains filtered or unexported fields
}
func (*TestAllTypesProto2_ExtensionWithOneof) Descriptor ΒΆ
func (*TestAllTypesProto2_ExtensionWithOneof) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_ExtensionWithOneof.ProtoReflect.Descriptor instead.
func (*TestAllTypesProto2_ExtensionWithOneof) GetA ΒΆ
func (x *TestAllTypesProto2_ExtensionWithOneof) GetA() int32
func (*TestAllTypesProto2_ExtensionWithOneof) GetB ΒΆ
func (x *TestAllTypesProto2_ExtensionWithOneof) GetB() int32
func (*TestAllTypesProto2_ExtensionWithOneof) GetOneofField ΒΆ
func (x *TestAllTypesProto2_ExtensionWithOneof) GetOneofField() isTestAllTypesProto2_ExtensionWithOneof_OneofField
func (*TestAllTypesProto2_ExtensionWithOneof) ProtoMessage ΒΆ
func (*TestAllTypesProto2_ExtensionWithOneof) ProtoMessage()
func (*TestAllTypesProto2_ExtensionWithOneof) ProtoReflect ΒΆ
func (x *TestAllTypesProto2_ExtensionWithOneof) ProtoReflect() protoreflect.Message
func (*TestAllTypesProto2_ExtensionWithOneof) Reset ΒΆ
func (x *TestAllTypesProto2_ExtensionWithOneof) Reset()
func (*TestAllTypesProto2_ExtensionWithOneof) String ΒΆ
func (x *TestAllTypesProto2_ExtensionWithOneof) String() string
type TestAllTypesProto2_ExtensionWithOneof_A ΒΆ
type TestAllTypesProto2_ExtensionWithOneof_A struct {
A int32 `protobuf:"varint,1,opt,name=a,oneof"`
}
type TestAllTypesProto2_ExtensionWithOneof_B ΒΆ
type TestAllTypesProto2_ExtensionWithOneof_B struct {
B int32 `protobuf:"varint,2,opt,name=b,oneof"`
}
type TestAllTypesProto2_MessageSetCorrect ΒΆ
type TestAllTypesProto2_MessageSetCorrect struct {
// contains filtered or unexported fields
}
message_set test case.
func (*TestAllTypesProto2_MessageSetCorrect) Descriptor ΒΆ
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 ΒΆ
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 ΒΆ
func (*TestAllTypesProto2_MessageSetCorrectExtension2) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_MessageSetCorrectExtension2.ProtoReflect.Descriptor instead.
func (*TestAllTypesProto2_MessageSetCorrectExtension2) GetI ΒΆ
func (x *TestAllTypesProto2_MessageSetCorrectExtension2) GetI() int32
func (*TestAllTypesProto2_MessageSetCorrectExtension2) ProtoMessage ΒΆ
func (*TestAllTypesProto2_MessageSetCorrectExtension2) ProtoMessage()
func (*TestAllTypesProto2_MessageSetCorrectExtension2) ProtoReflect ΒΆ
func (x *TestAllTypesProto2_MessageSetCorrectExtension2) ProtoReflect() protoreflect.Message
func (*TestAllTypesProto2_MessageSetCorrectExtension2) Reset ΒΆ
func (x *TestAllTypesProto2_MessageSetCorrectExtension2) Reset()
func (*TestAllTypesProto2_MessageSetCorrectExtension2) String ΒΆ
func (x *TestAllTypesProto2_MessageSetCorrectExtension2) String() string
type TestAllTypesProto2_MultiWordGroupField ΒΆ
type TestAllTypesProto2_MultiWordGroupField struct {
GroupInt32 *int32 `protobuf:"varint,205,opt,name=group_int32,json=groupInt32" json:"group_int32,omitempty"`
GroupUint32 *uint32 `protobuf:"varint,206,opt,name=group_uint32,json=groupUint32" json:"group_uint32,omitempty"`
// contains filtered or unexported fields
}
func (*TestAllTypesProto2_MultiWordGroupField) Descriptor ΒΆ
func (*TestAllTypesProto2_MultiWordGroupField) Descriptor() ([]byte, []int)
Deprecated: Use TestAllTypesProto2_MultiWordGroupField.ProtoReflect.Descriptor instead.
func (*TestAllTypesProto2_MultiWordGroupField) GetGroupInt32 ΒΆ
func (x *TestAllTypesProto2_MultiWordGroupField) GetGroupInt32() int32
func (*TestAllTypesProto2_MultiWordGroupField) GetGroupUint32 ΒΆ
func (x *TestAllTypesProto2_MultiWordGroupField) GetGroupUint32() uint32
func (*TestAllTypesProto2_MultiWordGroupField) ProtoMessage ΒΆ
func (*TestAllTypesProto2_MultiWordGroupField) ProtoMessage()
func (*TestAllTypesProto2_MultiWordGroupField) ProtoReflect ΒΆ
func (x *TestAllTypesProto2_MultiWordGroupField) ProtoReflect() protoreflect.Message
func (*TestAllTypesProto2_MultiWordGroupField) Reset ΒΆ
func (x *TestAllTypesProto2_MultiWordGroupField) Reset()
func (*TestAllTypesProto2_MultiWordGroupField) String ΒΆ
func (x *TestAllTypesProto2_MultiWordGroupField) String() string
type TestAllTypesProto2_NestedEnum ΒΆ
type TestAllTypesProto2_NestedEnum int32
const ( TestAllTypesProto2_FOO TestAllTypesProto2_NestedEnum = 0 TestAllTypesProto2_BAR TestAllTypesProto2_NestedEnum = 1 TestAllTypesProto2_BAZ TestAllTypesProto2_NestedEnum = 2 TestAllTypesProto2_NEG TestAllTypesProto2_NestedEnum = -1 // Intentionally negative. )
func (TestAllTypesProto2_NestedEnum) Descriptor ΒΆ
func (TestAllTypesProto2_NestedEnum) Descriptor() protoreflect.EnumDescriptor
func (TestAllTypesProto2_NestedEnum) Enum ΒΆ
func (x TestAllTypesProto2_NestedEnum) Enum() *TestAllTypesProto2_NestedEnum
func (TestAllTypesProto2_NestedEnum) EnumDescriptor ΒΆ
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 ΒΆ
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 ΒΆ
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 `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,enum=protobuf_test_messages.proto2.TestAllTypesProto2_NestedEnum,oneof"`
}
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
// test [kotlin] comment
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 `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage,proto3" json:"optional_nested_message,omitempty"`
OptionalForeignMessage *ForeignMessage `protobuf:"bytes,19,opt,name=optional_foreign_message,json=optionalForeignMessage,proto3" json:"optional_foreign_message,omitempty"`
OptionalNestedEnum TestAllTypesProto3_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,proto3,enum=protobuf_test_messages.proto3.TestAllTypesProto3_NestedEnum" json:"optional_nested_enum,omitempty"`
OptionalForeignEnum ForeignEnum `protobuf:"varint,22,opt,name=optional_foreign_enum,json=optionalForeignEnum,proto3,enum=protobuf_test_messages.proto3.ForeignEnum" json:"optional_foreign_enum,omitempty"`
OptionalAliasedEnum TestAllTypesProto3_AliasedEnum `protobuf:"varint,23,opt,name=optional_aliased_enum,json=optionalAliasedEnum,proto3,enum=protobuf_test_messages.proto3.TestAllTypesProto3_AliasedEnum" json:"optional_aliased_enum,omitempty"`
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 `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage,proto3" json:"repeated_nested_message,omitempty"`
RepeatedForeignMessage []*ForeignMessage `protobuf:"bytes,49,rep,name=repeated_foreign_message,json=repeatedForeignMessage,proto3" json:"repeated_foreign_message,omitempty"`
RepeatedNestedEnum []TestAllTypesProto3_NestedEnum `protobuf:"varint,51,rep,packed,name=repeated_nested_enum,json=repeatedNestedEnum,proto3,enum=protobuf_test_messages.proto3.TestAllTypesProto3_NestedEnum" json:"repeated_nested_enum,omitempty"`
RepeatedForeignEnum []ForeignEnum `protobuf:"varint,52,rep,packed,name=repeated_foreign_enum,json=repeatedForeignEnum,proto3,enum=protobuf_test_messages.proto3.ForeignEnum" json:"repeated_foreign_enum,omitempty"`
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 `protobuf:"varint,88,rep,packed,name=packed_nested_enum,json=packedNestedEnum,proto3,enum=protobuf_test_messages.proto3.TestAllTypesProto3_NestedEnum" json:"packed_nested_enum,omitempty"`
// 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 `protobuf:"varint,102,rep,name=unpacked_nested_enum,json=unpackedNestedEnum,proto3,enum=protobuf_test_messages.proto3.TestAllTypesProto3_NestedEnum" json:"unpacked_nested_enum,omitempty"`
// Map
MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32,proto3" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapInt64Int64 map[int64]int64 `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64,proto3" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapUint32Uint32 map[uint32]uint32 `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32,proto3" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapUint64Uint64 map[uint64]uint64 `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64,proto3" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapSint32Sint32 map[int32]int32 `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32,proto3" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
MapSint64Sint64 map[int64]int64 `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64,proto3" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
MapFixed32Fixed32 map[uint32]uint32 `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32,proto3" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
MapFixed64Fixed64 map[uint64]uint64 `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64,proto3" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
MapSfixed32Sfixed32 map[int32]int32 `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32,proto3" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
MapSfixed64Sfixed64 map[int64]int64 `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64,proto3" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
MapInt32Float map[int32]float32 `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float,proto3" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
MapInt32Double map[int32]float64 `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double,proto3" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
MapBoolBool map[bool]bool `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool,proto3" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
MapStringString map[string]string `protobuf:"bytes,69,rep,name=map_string_string,json=mapStringString,proto3" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MapStringBytes map[string][]byte `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes,proto3" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MapStringNestedMessage map[string]*TestAllTypesProto3_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage,proto3" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MapStringForeignMessage map[string]*ForeignMessage `protobuf:"bytes,72,rep,name=map_string_foreign_message,json=mapStringForeignMessage,proto3" json:"map_string_foreign_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
MapStringNestedEnum map[string]TestAllTypesProto3_NestedEnum `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum,proto3" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=protobuf_test_messages.proto3.TestAllTypesProto3_NestedEnum"`
MapStringForeignEnum map[string]ForeignEnum `protobuf:"bytes,74,rep,name=map_string_foreign_enum,json=mapStringForeignEnum,proto3" json:"map_string_foreign_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=protobuf_test_messages.proto3.ForeignEnum"`
// Types that are valid to be assigned 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 `protobuf:"bytes,204,opt,name=optional_uint32_wrapper,json=optionalUint32Wrapper,proto3" json:"optional_uint32_wrapper,omitempty"`
OptionalUint64Wrapper *wrapperspb.UInt64Value `protobuf:"bytes,205,opt,name=optional_uint64_wrapper,json=optionalUint64Wrapper,proto3" json:"optional_uint64_wrapper,omitempty"`
OptionalFloatWrapper *wrapperspb.FloatValue `protobuf:"bytes,206,opt,name=optional_float_wrapper,json=optionalFloatWrapper,proto3" json:"optional_float_wrapper,omitempty"`
OptionalDoubleWrapper *wrapperspb.DoubleValue `protobuf:"bytes,207,opt,name=optional_double_wrapper,json=optionalDoubleWrapper,proto3" json:"optional_double_wrapper,omitempty"`
OptionalStringWrapper *wrapperspb.StringValue `protobuf:"bytes,208,opt,name=optional_string_wrapper,json=optionalStringWrapper,proto3" json:"optional_string_wrapper,omitempty"`
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 `protobuf:"bytes,214,rep,name=repeated_uint32_wrapper,json=repeatedUint32Wrapper,proto3" json:"repeated_uint32_wrapper,omitempty"`
RepeatedUint64Wrapper []*wrapperspb.UInt64Value `protobuf:"bytes,215,rep,name=repeated_uint64_wrapper,json=repeatedUint64Wrapper,proto3" json:"repeated_uint64_wrapper,omitempty"`
RepeatedFloatWrapper []*wrapperspb.FloatValue `protobuf:"bytes,216,rep,name=repeated_float_wrapper,json=repeatedFloatWrapper,proto3" json:"repeated_float_wrapper,omitempty"`
RepeatedDoubleWrapper []*wrapperspb.DoubleValue `protobuf:"bytes,217,rep,name=repeated_double_wrapper,json=repeatedDoubleWrapper,proto3" json:"repeated_double_wrapper,omitempty"`
RepeatedStringWrapper []*wrapperspb.StringValue `protobuf:"bytes,218,rep,name=repeated_string_wrapper,json=repeatedStringWrapper,proto3" json:"repeated_string_wrapper,omitempty"`
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 `protobuf:"varint,307,opt,name=optional_null_value,json=optionalNullValue,proto3,enum=google.protobuf.NullValue" json:"optional_null_value,omitempty"`
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 ΒΆ
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 (x *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 ΒΆ
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 ΒΆ
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 ΒΆ
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 `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,proto3,enum=protobuf_test_messages.proto3.TestAllTypesProto3_NestedEnum,oneof"`
}
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_OneofNullValue ΒΆ
type TestAllTypesProto3_OneofNullValue struct {
OneofNullValue structpb.NullValue `protobuf:"varint,120,opt,name=oneof_null_value,json=oneofNullValue,proto3,enum=google.protobuf.NullValue,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. Only used inside Google. 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 ΒΆ
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 TestLargeOneof ΒΆ
type TestLargeOneof struct {
// Types that are valid to be assigned to LargeOneof:
//
// *TestLargeOneof_A1_
// *TestLargeOneof_A2_
// *TestLargeOneof_A3_
// *TestLargeOneof_A4_
// *TestLargeOneof_A5_
LargeOneof isTestLargeOneof_LargeOneof `protobuf_oneof:"large_oneof"`
// contains filtered or unexported fields
}
func (*TestLargeOneof) Descriptor ΒΆ
func (*TestLargeOneof) Descriptor() ([]byte, []int)
Deprecated: Use TestLargeOneof.ProtoReflect.Descriptor instead.
func (*TestLargeOneof) GetA1 ΒΆ
func (x *TestLargeOneof) GetA1() *TestLargeOneof_A1
func (*TestLargeOneof) GetA2 ΒΆ
func (x *TestLargeOneof) GetA2() *TestLargeOneof_A2
func (*TestLargeOneof) GetA3 ΒΆ
func (x *TestLargeOneof) GetA3() *TestLargeOneof_A3
func (*TestLargeOneof) GetA4 ΒΆ
func (x *TestLargeOneof) GetA4() *TestLargeOneof_A4
func (*TestLargeOneof) GetA5 ΒΆ
func (x *TestLargeOneof) GetA5() *TestLargeOneof_A5
func (*TestLargeOneof) GetLargeOneof ΒΆ
func (x *TestLargeOneof) GetLargeOneof() isTestLargeOneof_LargeOneof
func (*TestLargeOneof) ProtoMessage ΒΆ
func (*TestLargeOneof) ProtoMessage()
func (*TestLargeOneof) ProtoReflect ΒΆ
func (x *TestLargeOneof) ProtoReflect() protoreflect.Message
func (*TestLargeOneof) Reset ΒΆ
func (x *TestLargeOneof) Reset()
func (*TestLargeOneof) String ΒΆ
func (x *TestLargeOneof) String() string
type TestLargeOneof_A1 ΒΆ
type TestLargeOneof_A1 struct {
// contains filtered or unexported fields
}
func (*TestLargeOneof_A1) Descriptor ΒΆ
func (*TestLargeOneof_A1) Descriptor() ([]byte, []int)
Deprecated: Use TestLargeOneof_A1.ProtoReflect.Descriptor instead.
func (*TestLargeOneof_A1) ProtoMessage ΒΆ
func (*TestLargeOneof_A1) ProtoMessage()
func (*TestLargeOneof_A1) ProtoReflect ΒΆ
func (x *TestLargeOneof_A1) ProtoReflect() protoreflect.Message
func (*TestLargeOneof_A1) Reset ΒΆ
func (x *TestLargeOneof_A1) Reset()
func (*TestLargeOneof_A1) String ΒΆ
func (x *TestLargeOneof_A1) String() string
type TestLargeOneof_A1_ ΒΆ
type TestLargeOneof_A1_ struct {
A1 *TestLargeOneof_A1 `protobuf:"bytes,1,opt,name=a1,oneof"`
}
type TestLargeOneof_A2 ΒΆ
type TestLargeOneof_A2 struct {
// contains filtered or unexported fields
}
func (*TestLargeOneof_A2) Descriptor ΒΆ
func (*TestLargeOneof_A2) Descriptor() ([]byte, []int)
Deprecated: Use TestLargeOneof_A2.ProtoReflect.Descriptor instead.
func (*TestLargeOneof_A2) ProtoMessage ΒΆ
func (*TestLargeOneof_A2) ProtoMessage()
func (*TestLargeOneof_A2) ProtoReflect ΒΆ
func (x *TestLargeOneof_A2) ProtoReflect() protoreflect.Message
func (*TestLargeOneof_A2) Reset ΒΆ
func (x *TestLargeOneof_A2) Reset()
func (*TestLargeOneof_A2) String ΒΆ
func (x *TestLargeOneof_A2) String() string
type TestLargeOneof_A2_ ΒΆ
type TestLargeOneof_A2_ struct {
A2 *TestLargeOneof_A2 `protobuf:"bytes,2,opt,name=a2,oneof"`
}
type TestLargeOneof_A3 ΒΆ
type TestLargeOneof_A3 struct {
// contains filtered or unexported fields
}
func (*TestLargeOneof_A3) Descriptor ΒΆ
func (*TestLargeOneof_A3) Descriptor() ([]byte, []int)
Deprecated: Use TestLargeOneof_A3.ProtoReflect.Descriptor instead.
func (*TestLargeOneof_A3) ProtoMessage ΒΆ
func (*TestLargeOneof_A3) ProtoMessage()
func (*TestLargeOneof_A3) ProtoReflect ΒΆ
func (x *TestLargeOneof_A3) ProtoReflect() protoreflect.Message
func (*TestLargeOneof_A3) Reset ΒΆ
func (x *TestLargeOneof_A3) Reset()
func (*TestLargeOneof_A3) String ΒΆ
func (x *TestLargeOneof_A3) String() string
type TestLargeOneof_A3_ ΒΆ
type TestLargeOneof_A3_ struct {
A3 *TestLargeOneof_A3 `protobuf:"bytes,3,opt,name=a3,oneof"`
}
type TestLargeOneof_A4 ΒΆ
type TestLargeOneof_A4 struct {
// contains filtered or unexported fields
}
func (*TestLargeOneof_A4) Descriptor ΒΆ
func (*TestLargeOneof_A4) Descriptor() ([]byte, []int)
Deprecated: Use TestLargeOneof_A4.ProtoReflect.Descriptor instead.
func (*TestLargeOneof_A4) ProtoMessage ΒΆ
func (*TestLargeOneof_A4) ProtoMessage()
func (*TestLargeOneof_A4) ProtoReflect ΒΆ
func (x *TestLargeOneof_A4) ProtoReflect() protoreflect.Message
func (*TestLargeOneof_A4) Reset ΒΆ
func (x *TestLargeOneof_A4) Reset()
func (*TestLargeOneof_A4) String ΒΆ
func (x *TestLargeOneof_A4) String() string
type TestLargeOneof_A4_ ΒΆ
type TestLargeOneof_A4_ struct {
A4 *TestLargeOneof_A4 `protobuf:"bytes,4,opt,name=a4,oneof"`
}
type TestLargeOneof_A5 ΒΆ
type TestLargeOneof_A5 struct {
// contains filtered or unexported fields
}
func (*TestLargeOneof_A5) Descriptor ΒΆ
func (*TestLargeOneof_A5) Descriptor() ([]byte, []int)
Deprecated: Use TestLargeOneof_A5.ProtoReflect.Descriptor instead.
func (*TestLargeOneof_A5) ProtoMessage ΒΆ
func (*TestLargeOneof_A5) ProtoMessage()
func (*TestLargeOneof_A5) ProtoReflect ΒΆ
func (x *TestLargeOneof_A5) ProtoReflect() protoreflect.Message
func (*TestLargeOneof_A5) Reset ΒΆ
func (x *TestLargeOneof_A5) Reset()
func (*TestLargeOneof_A5) String ΒΆ
func (x *TestLargeOneof_A5) String() string
type TestLargeOneof_A5_ ΒΆ
type TestLargeOneof_A5_ struct {
A5 *TestLargeOneof_A5 `protobuf:"bytes,5,opt,name=a5,oneof"`
}
type TestStatus ΒΆ
type TestStatus struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
FailureMessage string `protobuf:"bytes,2,opt,name=failure_message,json=failureMessage,proto3" json:"failure_message,omitempty"`
// What an actual test name matched to in a failure list. Can be wildcarded or
// an exact match without wildcards.
MatchedName string `protobuf:"bytes,3,opt,name=matched_name,json=matchedName,proto3" json:"matched_name,omitempty"`
// contains filtered or unexported fields
}
Meant to encapsulate all types of tests: successes, skips, failures, etc. Therefore, this may or may not have a failure message. Failure messages may be truncated for our failure lists.
func (*TestStatus) Descriptor ΒΆ
func (*TestStatus) Descriptor() ([]byte, []int)
Deprecated: Use TestStatus.ProtoReflect.Descriptor instead.
func (*TestStatus) GetFailureMessage ΒΆ
func (x *TestStatus) GetFailureMessage() string
func (*TestStatus) GetMatchedName ΒΆ
func (x *TestStatus) GetMatchedName() string
func (*TestStatus) GetName ΒΆ
func (x *TestStatus) GetName() string
func (*TestStatus) ProtoMessage ΒΆ
func (*TestStatus) ProtoMessage()
func (*TestStatus) ProtoReflect ΒΆ
func (x *TestStatus) ProtoReflect() protoreflect.Message
func (*TestStatus) Reset ΒΆ
func (x *TestStatus) Reset()
func (*TestStatus) String ΒΆ
func (x *TestStatus) String() string
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 ΒΆ
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 ΒΆ
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 // Only used inside Google. 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 ΒΆ
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
Source Files ΒΆ
conformance.pb.go test_messages_proto2.pb.go test_messages_proto3.pb.go
Directories ΒΆ
| Path | Synopsis |
|---|---|
| internal/testprotos/conformance/editions | |
| internal/testprotos/conformance/editionsmigration |
- Version
- v1.36.10
- Published
- Oct 2, 2025
- Platform
- linux/amd64
- Imports
- 11 packages
- Last checked
- 3 hours ago –
Tools for package owners.