Documentation ¶
Index ¶
- Variables
- type ConformanceRequest
- func (*ConformanceRequest) Descriptor() ([]byte, []int)
- func (m *ConformanceRequest) GetJsonPayload() string
- func (m *ConformanceRequest) GetPayload() isConformanceRequest_Payload
- func (m *ConformanceRequest) GetProtobufPayload() []byte
- func (m *ConformanceRequest) GetRequestedOutputFormat() WireFormat
- func (m *ConformanceRequest) IsNil() bool
- func (*ConformanceRequest) ProtoMessage()
- func (m *ConformanceRequest) Reset()
- func (m *ConformanceRequest) SetRequestedOutputFormat_(val WireFormat)
- func (m *ConformanceRequest) String() string
- func (m *ConformanceRequest) XXX_DiscardUnknown()
- func (m *ConformanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConformanceRequest) XXX_Merge(src proto.Message)
- func (*ConformanceRequest) XXX_OneofWrappers() []interface{}
- func (m *ConformanceRequest) XXX_Size() int
- func (m *ConformanceRequest) XXX_Unmarshal(b []byte) error
- type ConformanceRequest_JsonPayload
- type ConformanceRequest_ProtobufPayload
- type ConformanceResponse
- func (*ConformanceResponse) Descriptor() ([]byte, []int)
- func (m *ConformanceResponse) GetJsonPayload() string
- func (m *ConformanceResponse) GetParseError() string
- func (m *ConformanceResponse) GetProtobufPayload() []byte
- func (m *ConformanceResponse) GetResult() isConformanceResponse_Result
- func (m *ConformanceResponse) GetRuntimeError() string
- func (m *ConformanceResponse) GetSerializeError() string
- func (m *ConformanceResponse) GetSkipped() string
- func (m *ConformanceResponse) IsNil() bool
- func (*ConformanceResponse) ProtoMessage()
- func (m *ConformanceResponse) Reset()
- func (m *ConformanceResponse) String() string
- func (m *ConformanceResponse) XXX_DiscardUnknown()
- func (m *ConformanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConformanceResponse) XXX_Merge(src proto.Message)
- func (*ConformanceResponse) XXX_OneofWrappers() []interface{}
- func (m *ConformanceResponse) XXX_Size() int
- func (m *ConformanceResponse) XXX_Unmarshal(b []byte) error
- type ConformanceResponse_JsonPayload
- type ConformanceResponse_ParseError
- type ConformanceResponse_ProtobufPayload
- type ConformanceResponse_RuntimeError
- type ConformanceResponse_SerializeError
- type ConformanceResponse_Skipped
- type ForeignEnum
- type ForeignMessage
- func (*ForeignMessage) Descriptor() ([]byte, []int)
- func (m *ForeignMessage) GetC() int32
- func (m *ForeignMessage) IsNil() bool
- func (*ForeignMessage) ProtoMessage()
- func (m *ForeignMessage) Reset()
- func (m *ForeignMessage) SetC_(val int32)
- func (m *ForeignMessage) String() string
- func (m *ForeignMessage) XXX_DiscardUnknown()
- func (m *ForeignMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ForeignMessage) XXX_Merge(src proto.Message)
- func (m *ForeignMessage) XXX_Size() int
- func (m *ForeignMessage) XXX_Unmarshal(b []byte) error
- type TestAllTypes
- func (*TestAllTypes) Descriptor() ([]byte, []int)
- func (m *TestAllTypes) GetFIELDName12() int32
- func (m *TestAllTypes) GetFIELD_NAME11() int32
- func (m *TestAllTypes) GetField0Name5() int32
- func (m *TestAllTypes) GetFieldName2() int32
- func (m *TestAllTypes) GetFieldName7() int32
- func (m *TestAllTypes) GetFieldName8() int32
- func (m *TestAllTypes) GetField_0Name6() int32
- func (m *TestAllTypes) GetField_Name10() int32
- func (m *TestAllTypes) GetField_Name4_() int32
- func (m *TestAllTypes) GetField_Name9() int32
- func (m *TestAllTypes) GetFieldname1() int32
- func (m *TestAllTypes) GetMapBoolBool() map[bool]bool
- func (m *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32
- func (m *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64
- func (m *TestAllTypes) GetMapInt32Double() map[int32]float64
- func (m *TestAllTypes) GetMapInt32Float() map[int32]float32
- func (m *TestAllTypes) GetMapInt32Int32() map[int32]int32
- func (m *TestAllTypes) GetMapInt64Int64() map[int64]int64
- func (m *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32
- func (m *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64
- func (m *TestAllTypes) GetMapSint32Sint32() map[int32]int32
- func (m *TestAllTypes) GetMapSint64Sint64() map[int64]int64
- func (m *TestAllTypes) GetMapStringBytes() map[string][]byte
- func (m *TestAllTypes) GetMapStringForeignEnum() map[string]ForeignEnum
- func (m *TestAllTypes) GetMapStringForeignMessage() map[string]*ForeignMessage
- func (m *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum
- func (m *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage
- func (m *TestAllTypes) GetMapStringString() map[string]string
- func (m *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32
- func (m *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64
- func (m *TestAllTypes) GetOneofBytes() []byte
- func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField
- func (m *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage
- func (m *TestAllTypes) GetOneofString() string
- func (m *TestAllTypes) GetOneofUint32() uint32
- func (m *TestAllTypes) GetOptionalAny() *anypb.Any
- func (m *TestAllTypes) GetOptionalBool() bool
- func (m *TestAllTypes) GetOptionalBoolWrapper() *wrapperspb.BoolValue
- func (m *TestAllTypes) GetOptionalBytes() []byte
- func (m *TestAllTypes) GetOptionalBytesWrapper() *wrapperspb.BytesValue
- func (m *TestAllTypes) GetOptionalCord() string
- func (m *TestAllTypes) GetOptionalDouble() float64
- func (m *TestAllTypes) GetOptionalDoubleWrapper() *wrapperspb.DoubleValue
- func (m *TestAllTypes) GetOptionalDuration() *durationpb.Duration
- func (m *TestAllTypes) GetOptionalFieldMask() *fieldmaskpb.FieldMask
- func (m *TestAllTypes) GetOptionalFixed32() uint32
- func (m *TestAllTypes) GetOptionalFixed64() uint64
- func (m *TestAllTypes) GetOptionalFloat() float32
- func (m *TestAllTypes) GetOptionalFloatWrapper() *wrapperspb.FloatValue
- func (m *TestAllTypes) GetOptionalForeignEnum() ForeignEnum
- func (m *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage
- func (m *TestAllTypes) GetOptionalInt32() int32
- func (m *TestAllTypes) GetOptionalInt32Wrapper() *wrapperspb.Int32Value
- func (m *TestAllTypes) GetOptionalInt64() int64
- func (m *TestAllTypes) GetOptionalInt64Wrapper() *wrapperspb.Int64Value
- func (m *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum
- func (m *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
- func (m *TestAllTypes) GetOptionalSfixed32() int32
- func (m *TestAllTypes) GetOptionalSfixed64() int64
- func (m *TestAllTypes) GetOptionalSint32() int32
- func (m *TestAllTypes) GetOptionalSint64() int64
- func (m *TestAllTypes) GetOptionalString() string
- func (m *TestAllTypes) GetOptionalStringPiece() string
- func (m *TestAllTypes) GetOptionalStringWrapper() *wrapperspb.StringValue
- func (m *TestAllTypes) GetOptionalStruct() *structpb.Struct
- func (m *TestAllTypes) GetOptionalTimestamp() *timestamppb.Timestamp
- func (m *TestAllTypes) GetOptionalUint32() uint32
- func (m *TestAllTypes) GetOptionalUint32Wrapper() *wrapperspb.UInt32Value
- func (m *TestAllTypes) GetOptionalUint64() uint64
- func (m *TestAllTypes) GetOptionalUint64Wrapper() *wrapperspb.UInt64Value
- func (m *TestAllTypes) GetOptionalValue() *structpb.Value
- func (m *TestAllTypes) GetRecursiveMessage() *TestAllTypes
- func (m *TestAllTypes) GetRepeatedAny() []*anypb.Any
- func (m *TestAllTypes) GetRepeatedBool() []bool
- func (m *TestAllTypes) GetRepeatedBoolWrapper() []*wrapperspb.BoolValue
- func (m *TestAllTypes) GetRepeatedBytes() [][]byte
- func (m *TestAllTypes) GetRepeatedBytesWrapper() []*wrapperspb.BytesValue
- func (m *TestAllTypes) GetRepeatedCord() []string
- func (m *TestAllTypes) GetRepeatedDouble() []float64
- func (m *TestAllTypes) GetRepeatedDoubleWrapper() []*wrapperspb.DoubleValue
- func (m *TestAllTypes) GetRepeatedDuration() []*durationpb.Duration
- func (m *TestAllTypes) GetRepeatedFieldmask() []*fieldmaskpb.FieldMask
- func (m *TestAllTypes) GetRepeatedFixed32() []uint32
- func (m *TestAllTypes) GetRepeatedFixed64() []uint64
- func (m *TestAllTypes) GetRepeatedFloat() []float32
- func (m *TestAllTypes) GetRepeatedFloatWrapper() []*wrapperspb.FloatValue
- func (m *TestAllTypes) GetRepeatedForeignEnum() []ForeignEnum
- func (m *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage
- func (m *TestAllTypes) GetRepeatedInt32() []int32
- func (m *TestAllTypes) GetRepeatedInt32Wrapper() []*wrapperspb.Int32Value
- func (m *TestAllTypes) GetRepeatedInt64() []int64
- func (m *TestAllTypes) GetRepeatedInt64Wrapper() []*wrapperspb.Int64Value
- func (m *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum
- func (m *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage
- func (m *TestAllTypes) GetRepeatedSfixed32() []int32
- func (m *TestAllTypes) GetRepeatedSfixed64() []int64
- func (m *TestAllTypes) GetRepeatedSint32() []int32
- func (m *TestAllTypes) GetRepeatedSint64() []int64
- func (m *TestAllTypes) GetRepeatedString() []string
- func (m *TestAllTypes) GetRepeatedStringPiece() []string
- func (m *TestAllTypes) GetRepeatedStringWrapper() []*wrapperspb.StringValue
- func (m *TestAllTypes) GetRepeatedStruct() []*structpb.Struct
- func (m *TestAllTypes) GetRepeatedTimestamp() []*timestamppb.Timestamp
- func (m *TestAllTypes) GetRepeatedUint32() []uint32
- func (m *TestAllTypes) GetRepeatedUint32Wrapper() []*wrapperspb.UInt32Value
- func (m *TestAllTypes) GetRepeatedUint64() []uint64
- func (m *TestAllTypes) GetRepeatedUint64Wrapper() []*wrapperspb.UInt64Value
- func (m *TestAllTypes) GetRepeatedValue() []*structpb.Value
- func (m *TestAllTypes) GetXFieldName3() int32
- func (m *TestAllTypes) IsNil() bool
- func (*TestAllTypes) ProtoMessage()
- func (m *TestAllTypes) Reset()
- func (m *TestAllTypes) SetFIELDName12_(val int32)
- func (m *TestAllTypes) SetFIELD_NAME11_(val int32)
- func (m *TestAllTypes) SetField0Name5_(val int32)
- func (m *TestAllTypes) SetFieldName2_(val int32)
- func (m *TestAllTypes) SetFieldName7_(val int32)
- func (m *TestAllTypes) SetFieldName8_(val int32)
- func (m *TestAllTypes) SetField_0Name6_(val int32)
- func (m *TestAllTypes) SetField_Name10_(val int32)
- func (m *TestAllTypes) SetField_Name4__(val int32)
- func (m *TestAllTypes) SetField_Name9_(val int32)
- func (m *TestAllTypes) SetFieldname1_(val int32)
- func (m *TestAllTypes) SetMapBoolBool_(val map[bool]bool)
- func (m *TestAllTypes) SetMapFixed32Fixed32_(val map[uint32]uint32)
- func (m *TestAllTypes) SetMapFixed64Fixed64_(val map[uint64]uint64)
- func (m *TestAllTypes) SetMapInt32Double_(val map[int32]float64)
- func (m *TestAllTypes) SetMapInt32Float_(val map[int32]float32)
- func (m *TestAllTypes) SetMapInt32Int32_(val map[int32]int32)
- func (m *TestAllTypes) SetMapInt64Int64_(val map[int64]int64)
- func (m *TestAllTypes) SetMapSfixed32Sfixed32_(val map[int32]int32)
- func (m *TestAllTypes) SetMapSfixed64Sfixed64_(val map[int64]int64)
- func (m *TestAllTypes) SetMapSint32Sint32_(val map[int32]int32)
- func (m *TestAllTypes) SetMapSint64Sint64_(val map[int64]int64)
- func (m *TestAllTypes) SetMapStringBytes_(val map[string][]byte)
- func (m *TestAllTypes) SetMapStringForeignEnum_(val map[string]ForeignEnum)
- func (m *TestAllTypes) SetMapStringForeignMessage_(val map[string]*ForeignMessage)
- func (m *TestAllTypes) SetMapStringNestedEnum_(val map[string]TestAllTypes_NestedEnum)
- func (m *TestAllTypes) SetMapStringNestedMessage_(val map[string]*TestAllTypes_NestedMessage)
- func (m *TestAllTypes) SetMapStringString_(val map[string]string)
- func (m *TestAllTypes) SetMapUint32Uint32_(val map[uint32]uint32)
- func (m *TestAllTypes) SetMapUint64Uint64_(val map[uint64]uint64)
- func (m *TestAllTypes) SetOptionalAny_(val *anypb.Any)
- func (m *TestAllTypes) SetOptionalBoolWrapper_(val *wrapperspb.BoolValue)
- func (m *TestAllTypes) SetOptionalBool_(val bool)
- func (m *TestAllTypes) SetOptionalBytesWrapper_(val *wrapperspb.BytesValue)
- func (m *TestAllTypes) SetOptionalBytes_(val []byte)
- func (m *TestAllTypes) SetOptionalCord_(val string)
- func (m *TestAllTypes) SetOptionalDoubleWrapper_(val *wrapperspb.DoubleValue)
- func (m *TestAllTypes) SetOptionalDouble_(val float64)
- func (m *TestAllTypes) SetOptionalDuration_(val *durationpb.Duration)
- func (m *TestAllTypes) SetOptionalFieldMask_(val *fieldmaskpb.FieldMask)
- func (m *TestAllTypes) SetOptionalFixed32_(val uint32)
- func (m *TestAllTypes) SetOptionalFixed64_(val uint64)
- func (m *TestAllTypes) SetOptionalFloatWrapper_(val *wrapperspb.FloatValue)
- func (m *TestAllTypes) SetOptionalFloat_(val float32)
- func (m *TestAllTypes) SetOptionalForeignEnum_(val ForeignEnum)
- func (m *TestAllTypes) SetOptionalForeignMessage_(val *ForeignMessage)
- func (m *TestAllTypes) SetOptionalInt32Wrapper_(val *wrapperspb.Int32Value)
- func (m *TestAllTypes) SetOptionalInt32_(val int32)
- func (m *TestAllTypes) SetOptionalInt64Wrapper_(val *wrapperspb.Int64Value)
- func (m *TestAllTypes) SetOptionalInt64_(val int64)
- func (m *TestAllTypes) SetOptionalNestedEnum_(val TestAllTypes_NestedEnum)
- func (m *TestAllTypes) SetOptionalNestedMessage_(val *TestAllTypes_NestedMessage)
- func (m *TestAllTypes) SetOptionalSfixed32_(val int32)
- func (m *TestAllTypes) SetOptionalSfixed64_(val int64)
- func (m *TestAllTypes) SetOptionalSint32_(val int32)
- func (m *TestAllTypes) SetOptionalSint64_(val int64)
- func (m *TestAllTypes) SetOptionalStringPiece_(val string)
- func (m *TestAllTypes) SetOptionalStringWrapper_(val *wrapperspb.StringValue)
- func (m *TestAllTypes) SetOptionalString_(val string)
- func (m *TestAllTypes) SetOptionalStruct_(val *structpb.Struct)
- func (m *TestAllTypes) SetOptionalTimestamp_(val *timestamppb.Timestamp)
- func (m *TestAllTypes) SetOptionalUint32Wrapper_(val *wrapperspb.UInt32Value)
- func (m *TestAllTypes) SetOptionalUint32_(val uint32)
- func (m *TestAllTypes) SetOptionalUint64Wrapper_(val *wrapperspb.UInt64Value)
- func (m *TestAllTypes) SetOptionalUint64_(val uint64)
- func (m *TestAllTypes) SetOptionalValue_(val *structpb.Value)
- func (m *TestAllTypes) SetRecursiveMessage_(val *TestAllTypes)
- func (m *TestAllTypes) SetRepeatedAny_(val []*anypb.Any)
- func (m *TestAllTypes) SetRepeatedBoolWrapper_(val []*wrapperspb.BoolValue)
- func (m *TestAllTypes) SetRepeatedBool_(val []bool)
- func (m *TestAllTypes) SetRepeatedBytesWrapper_(val []*wrapperspb.BytesValue)
- func (m *TestAllTypes) SetRepeatedBytes_(val [][]byte)
- func (m *TestAllTypes) SetRepeatedCord_(val []string)
- func (m *TestAllTypes) SetRepeatedDoubleWrapper_(val []*wrapperspb.DoubleValue)
- func (m *TestAllTypes) SetRepeatedDouble_(val []float64)
- func (m *TestAllTypes) SetRepeatedDuration_(val []*durationpb.Duration)
- func (m *TestAllTypes) SetRepeatedFieldmask_(val []*fieldmaskpb.FieldMask)
- func (m *TestAllTypes) SetRepeatedFixed32_(val []uint32)
- func (m *TestAllTypes) SetRepeatedFixed64_(val []uint64)
- func (m *TestAllTypes) SetRepeatedFloatWrapper_(val []*wrapperspb.FloatValue)
- func (m *TestAllTypes) SetRepeatedFloat_(val []float32)
- func (m *TestAllTypes) SetRepeatedForeignEnum_(val []ForeignEnum)
- func (m *TestAllTypes) SetRepeatedForeignMessage_(val []*ForeignMessage)
- func (m *TestAllTypes) SetRepeatedInt32Wrapper_(val []*wrapperspb.Int32Value)
- func (m *TestAllTypes) SetRepeatedInt32_(val []int32)
- func (m *TestAllTypes) SetRepeatedInt64Wrapper_(val []*wrapperspb.Int64Value)
- func (m *TestAllTypes) SetRepeatedInt64_(val []int64)
- func (m *TestAllTypes) SetRepeatedNestedEnum_(val []TestAllTypes_NestedEnum)
- func (m *TestAllTypes) SetRepeatedNestedMessage_(val []*TestAllTypes_NestedMessage)
- func (m *TestAllTypes) SetRepeatedSfixed32_(val []int32)
- func (m *TestAllTypes) SetRepeatedSfixed64_(val []int64)
- func (m *TestAllTypes) SetRepeatedSint32_(val []int32)
- func (m *TestAllTypes) SetRepeatedSint64_(val []int64)
- func (m *TestAllTypes) SetRepeatedStringPiece_(val []string)
- func (m *TestAllTypes) SetRepeatedStringWrapper_(val []*wrapperspb.StringValue)
- func (m *TestAllTypes) SetRepeatedString_(val []string)
- func (m *TestAllTypes) SetRepeatedStruct_(val []*structpb.Struct)
- func (m *TestAllTypes) SetRepeatedTimestamp_(val []*timestamppb.Timestamp)
- func (m *TestAllTypes) SetRepeatedUint32Wrapper_(val []*wrapperspb.UInt32Value)
- func (m *TestAllTypes) SetRepeatedUint32_(val []uint32)
- func (m *TestAllTypes) SetRepeatedUint64Wrapper_(val []*wrapperspb.UInt64Value)
- func (m *TestAllTypes) SetRepeatedUint64_(val []uint64)
- func (m *TestAllTypes) SetRepeatedValue_(val []*structpb.Value)
- func (m *TestAllTypes) SetXFieldName3_(val int32)
- func (m *TestAllTypes) String() string
- func (m *TestAllTypes) XXX_DiscardUnknown()
- func (m *TestAllTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestAllTypes) XXX_Merge(src proto.Message)
- func (*TestAllTypes) XXX_OneofWrappers() []interface{}
- func (m *TestAllTypes) XXX_Size() int
- func (m *TestAllTypes) XXX_Unmarshal(b []byte) error
- type TestAllTypes_NestedEnum
- type TestAllTypes_NestedMessage
- func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)
- func (m *TestAllTypes_NestedMessage) GetA() int32
- func (m *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes
- func (m *TestAllTypes_NestedMessage) IsNil() bool
- func (*TestAllTypes_NestedMessage) ProtoMessage()
- func (m *TestAllTypes_NestedMessage) Reset()
- func (m *TestAllTypes_NestedMessage) SetA_(val int32)
- func (m *TestAllTypes_NestedMessage) SetCorecursive_(val *TestAllTypes)
- func (m *TestAllTypes_NestedMessage) String() string
- func (m *TestAllTypes_NestedMessage) XXX_DiscardUnknown()
- func (m *TestAllTypes_NestedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TestAllTypes_NestedMessage) XXX_Merge(src proto.Message)
- func (m *TestAllTypes_NestedMessage) XXX_Size() int
- func (m *TestAllTypes_NestedMessage) XXX_Unmarshal(b []byte) error
- type TestAllTypes_OneofBytes
- type TestAllTypes_OneofNestedMessage
- type TestAllTypes_OneofString
- type TestAllTypes_OneofUint32
- type WireFormat
Constants ¶
This section is empty.
Variables ¶
View Source
var ForeignEnum_name = map[int32]string{
0: "FOREIGN_FOO",
1: "FOREIGN_BAR",
2: "FOREIGN_BAZ",
}
View Source
var ForeignEnum_value = map[string]int32{
"FOREIGN_FOO": 0,
"FOREIGN_BAR": 1,
"FOREIGN_BAZ": 2,
}
View Source
var TestAllTypes_NestedEnum_name = map[int32]string{
0: "FOO",
1: "BAR",
2: "BAZ",
-1: "NEG",
}
View Source
var TestAllTypes_NestedEnum_value = map[string]int32{
"FOO": 0,
"BAR": 1,
"BAZ": 2,
"NEG": -1,
}
View Source
var WireFormat_name = map[int32]string{
0: "UNSPECIFIED",
1: "PROTOBUF",
2: "JSON",
}
View Source
var WireFormat_value = map[string]int32{
"UNSPECIFIED": 0,
"PROTOBUF": 1,
"JSON": 2,
}
Functions ¶
This section is empty.
Types ¶
type ConformanceRequest ¶
type ConformanceRequest struct { // The payload (whether protobuf of JSON) is always for a TestAllTypes proto // (see below). // // Types that are valid to be assigned to Payload: // // *ConformanceRequest_ProtobufPayload // *ConformanceRequest_JsonPayload Payload isConformanceRequest_Payload `protobuf_oneof:"payload"` // Which format should the testee serialize its message to? RequestedOutputFormat WireFormat `` /* 155-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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)
func (*ConformanceRequest) GetJsonPayload ¶
func (m *ConformanceRequest) GetJsonPayload() string
func (*ConformanceRequest) GetPayload ¶
func (m *ConformanceRequest) GetPayload() isConformanceRequest_Payload
func (*ConformanceRequest) GetProtobufPayload ¶
func (m *ConformanceRequest) GetProtobufPayload() []byte
func (*ConformanceRequest) GetRequestedOutputFormat ¶
func (m *ConformanceRequest) GetRequestedOutputFormat() WireFormat
func (*ConformanceRequest) IsNil ¶ added in v1.4.9
func (m *ConformanceRequest) IsNil() bool
func (*ConformanceRequest) ProtoMessage ¶
func (*ConformanceRequest) ProtoMessage()
func (*ConformanceRequest) Reset ¶
func (m *ConformanceRequest) Reset()
func (*ConformanceRequest) SetRequestedOutputFormat_ ¶ added in v1.4.9
func (m *ConformanceRequest) SetRequestedOutputFormat_(val WireFormat)
func (*ConformanceRequest) String ¶
func (m *ConformanceRequest) String() string
func (*ConformanceRequest) XXX_DiscardUnknown ¶
func (m *ConformanceRequest) XXX_DiscardUnknown()
func (*ConformanceRequest) XXX_Marshal ¶
func (m *ConformanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConformanceRequest) XXX_Merge ¶
func (m *ConformanceRequest) XXX_Merge(src proto.Message)
func (*ConformanceRequest) XXX_OneofWrappers ¶ added in v1.3.9
func (*ConformanceRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ConformanceRequest) XXX_Size ¶
func (m *ConformanceRequest) XXX_Size() int
func (*ConformanceRequest) XXX_Unmarshal ¶
func (m *ConformanceRequest) XXX_Unmarshal(b []byte) error
type ConformanceRequest_JsonPayload ¶
type ConformanceRequest_JsonPayload struct {
JsonPayload string `protobuf:"bytes,2,opt,name=json_payload,json=jsonPayload,proto3,oneof" json:"json_payload,omitempty"`
}
type ConformanceRequest_ProtobufPayload ¶
type ConformanceRequest_ProtobufPayload struct {
ProtobufPayload []byte `protobuf:"bytes,1,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof" json:"protobuf_payload,omitempty"`
}
type ConformanceResponse ¶
type ConformanceResponse struct { // Types that are valid to be assigned to Result: // // *ConformanceResponse_ParseError // *ConformanceResponse_SerializeError // *ConformanceResponse_RuntimeError // *ConformanceResponse_ProtobufPayload // *ConformanceResponse_JsonPayload // *ConformanceResponse_Skipped Result isConformanceResponse_Result `protobuf_oneof:"result"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a single test case's output.
func (*ConformanceResponse) Descriptor ¶
func (*ConformanceResponse) Descriptor() ([]byte, []int)
func (*ConformanceResponse) GetJsonPayload ¶
func (m *ConformanceResponse) GetJsonPayload() string
func (*ConformanceResponse) GetParseError ¶
func (m *ConformanceResponse) GetParseError() string
func (*ConformanceResponse) GetProtobufPayload ¶
func (m *ConformanceResponse) GetProtobufPayload() []byte
func (*ConformanceResponse) GetResult ¶
func (m *ConformanceResponse) GetResult() isConformanceResponse_Result
func (*ConformanceResponse) GetRuntimeError ¶
func (m *ConformanceResponse) GetRuntimeError() string
func (*ConformanceResponse) GetSerializeError ¶
func (m *ConformanceResponse) GetSerializeError() string
func (*ConformanceResponse) GetSkipped ¶
func (m *ConformanceResponse) GetSkipped() string
func (*ConformanceResponse) IsNil ¶ added in v1.4.9
func (m *ConformanceResponse) IsNil() bool
func (*ConformanceResponse) ProtoMessage ¶
func (*ConformanceResponse) ProtoMessage()
func (*ConformanceResponse) Reset ¶
func (m *ConformanceResponse) Reset()
func (*ConformanceResponse) String ¶
func (m *ConformanceResponse) String() string
func (*ConformanceResponse) XXX_DiscardUnknown ¶
func (m *ConformanceResponse) XXX_DiscardUnknown()
func (*ConformanceResponse) XXX_Marshal ¶
func (m *ConformanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConformanceResponse) XXX_Merge ¶
func (m *ConformanceResponse) XXX_Merge(src proto.Message)
func (*ConformanceResponse) XXX_OneofWrappers ¶ added in v1.3.9
func (*ConformanceResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ConformanceResponse) XXX_Size ¶
func (m *ConformanceResponse) XXX_Size() int
func (*ConformanceResponse) XXX_Unmarshal ¶
func (m *ConformanceResponse) XXX_Unmarshal(b []byte) error
type ConformanceResponse_JsonPayload ¶
type ConformanceResponse_JsonPayload struct {
JsonPayload string `protobuf:"bytes,4,opt,name=json_payload,json=jsonPayload,proto3,oneof" json:"json_payload,omitempty"`
}
type ConformanceResponse_ParseError ¶
type ConformanceResponse_ParseError struct {
ParseError string `protobuf:"bytes,1,opt,name=parse_error,json=parseError,proto3,oneof" json:"parse_error,omitempty"`
}
type ConformanceResponse_ProtobufPayload ¶
type ConformanceResponse_ProtobufPayload struct {
ProtobufPayload []byte `protobuf:"bytes,3,opt,name=protobuf_payload,json=protobufPayload,proto3,oneof" json:"protobuf_payload,omitempty"`
}
type ConformanceResponse_RuntimeError ¶
type ConformanceResponse_RuntimeError struct {
RuntimeError string `protobuf:"bytes,2,opt,name=runtime_error,json=runtimeError,proto3,oneof" json:"runtime_error,omitempty"`
}
type ConformanceResponse_SerializeError ¶
type ConformanceResponse_SerializeError struct {
SerializeError string `protobuf:"bytes,6,opt,name=serialize_error,json=serializeError,proto3,oneof" json:"serialize_error,omitempty"`
}
type ConformanceResponse_Skipped ¶
type ConformanceResponse_Skipped struct {
Skipped string `protobuf:"bytes,5,opt,name=skipped,proto3,oneof" json:"skipped,omitempty"`
}
type ForeignEnum ¶
type ForeignEnum int32
const ( ForeignEnum_FOREIGN_FOO ForeignEnum = 0 ForeignEnum_FOREIGN_BAR ForeignEnum = 1 ForeignEnum_FOREIGN_BAZ ForeignEnum = 2 )
func (ForeignEnum) EnumDescriptor ¶
func (ForeignEnum) EnumDescriptor() ([]byte, []int)
func (ForeignEnum) String ¶
func (x ForeignEnum) String() string
type ForeignMessage ¶
type ForeignMessage struct { C int32 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ForeignMessage) Descriptor ¶
func (*ForeignMessage) Descriptor() ([]byte, []int)
func (*ForeignMessage) GetC ¶
func (m *ForeignMessage) GetC() int32
func (*ForeignMessage) IsNil ¶ added in v1.4.9
func (m *ForeignMessage) IsNil() bool
func (*ForeignMessage) ProtoMessage ¶
func (*ForeignMessage) ProtoMessage()
func (*ForeignMessage) Reset ¶
func (m *ForeignMessage) Reset()
func (*ForeignMessage) SetC_ ¶ added in v1.4.9
func (m *ForeignMessage) SetC_(val int32)
func (*ForeignMessage) String ¶
func (m *ForeignMessage) String() string
func (*ForeignMessage) XXX_DiscardUnknown ¶
func (m *ForeignMessage) XXX_DiscardUnknown()
func (*ForeignMessage) XXX_Marshal ¶
func (m *ForeignMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ForeignMessage) XXX_Merge ¶
func (m *ForeignMessage) XXX_Merge(src proto.Message)
func (*ForeignMessage) XXX_Size ¶
func (m *ForeignMessage) XXX_Size() int
func (*ForeignMessage) XXX_Unmarshal ¶
func (m *ForeignMessage) XXX_Unmarshal(b []byte) error
type TestAllTypes ¶
type TestAllTypes struct { // Singular OptionalInt32 int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32,proto3" json:"optional_int32,omitempty"` OptionalInt64 int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64,proto3" json:"optional_int64,omitempty"` OptionalUint32 uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32,proto3" json:"optional_uint32,omitempty"` OptionalUint64 uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64,proto3" json:"optional_uint64,omitempty"` OptionalSint32 int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32,proto3" json:"optional_sint32,omitempty"` OptionalSint64 int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64,proto3" json:"optional_sint64,omitempty"` OptionalFixed32 uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32,proto3" json:"optional_fixed32,omitempty"` OptionalFixed64 uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64,proto3" json:"optional_fixed64,omitempty"` OptionalSfixed32 int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32,proto3" json:"optional_sfixed32,omitempty"` OptionalSfixed64 int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64,proto3" json:"optional_sfixed64,omitempty"` OptionalFloat float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat,proto3" json:"optional_float,omitempty"` OptionalDouble float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble,proto3" json:"optional_double,omitempty"` OptionalBool bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool,proto3" json:"optional_bool,omitempty"` OptionalString string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString,proto3" json:"optional_string,omitempty"` OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes,proto3" json:"optional_bytes,omitempty"` OptionalNestedMessage *TestAllTypes_NestedMessage `` /* 127-byte string literal not displayed */ OptionalForeignMessage *ForeignMessage `` /* 130-byte string literal not displayed */ OptionalNestedEnum TestAllTypes_NestedEnum `` /* 160-byte string literal not displayed */ OptionalForeignEnum ForeignEnum `` /* 151-byte string literal not displayed */ OptionalStringPiece string `protobuf:"bytes,24,opt,name=optional_string_piece,json=optionalStringPiece,proto3" json:"optional_string_piece,omitempty"` OptionalCord string `protobuf:"bytes,25,opt,name=optional_cord,json=optionalCord,proto3" json:"optional_cord,omitempty"` RecursiveMessage *TestAllTypes `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 []*TestAllTypes_NestedMessage `` /* 127-byte string literal not displayed */ RepeatedForeignMessage []*ForeignMessage `` /* 130-byte string literal not displayed */ RepeatedNestedEnum []TestAllTypes_NestedEnum `` /* 167-byte string literal not displayed */ RepeatedForeignEnum []ForeignEnum `` /* 158-byte string literal not displayed */ RepeatedStringPiece []string `protobuf:"bytes,54,rep,name=repeated_string_piece,json=repeatedStringPiece,proto3" json:"repeated_string_piece,omitempty"` RepeatedCord []string `protobuf:"bytes,55,rep,name=repeated_cord,json=repeatedCord,proto3" json:"repeated_cord,omitempty"` // Map MapInt32Int32 map[int32]int32 `` /* 193-byte string literal not displayed */ MapInt64Int64 map[int64]int64 `` /* 193-byte string literal not displayed */ MapUint32Uint32 map[uint32]uint32 `` /* 199-byte string literal not displayed */ MapUint64Uint64 map[uint64]uint64 `` /* 199-byte string literal not displayed */ MapSint32Sint32 map[int32]int32 `` /* 203-byte string literal not displayed */ MapSint64Sint64 map[int64]int64 `` /* 203-byte string literal not displayed */ MapFixed32Fixed32 map[uint32]uint32 `` /* 207-byte string literal not displayed */ MapFixed64Fixed64 map[uint64]uint64 `` /* 207-byte string literal not displayed */ MapSfixed32Sfixed32 map[int32]int32 `` /* 213-byte string literal not displayed */ MapSfixed64Sfixed64 map[int64]int64 `` /* 213-byte string literal not displayed */ MapInt32Float map[int32]float32 `` /* 194-byte string literal not displayed */ MapInt32Double map[int32]float64 `` /* 197-byte string literal not displayed */ MapBoolBool map[bool]bool `` /* 187-byte string literal not displayed */ MapStringString map[string]string `` /* 197-byte string literal not displayed */ MapStringBytes map[string][]byte `` /* 194-byte string literal not displayed */ MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `` /* 220-byte string literal not displayed */ MapStringForeignMessage map[string]*ForeignMessage `` /* 223-byte string literal not displayed */ MapStringNestedEnum map[string]TestAllTypes_NestedEnum `` /* 253-byte string literal not displayed */ MapStringForeignEnum map[string]ForeignEnum `` /* 244-byte string literal not displayed */ // Types that are valid to be assigned to OneofField: // // *TestAllTypes_OneofUint32 // *TestAllTypes_OneofNestedMessage // *TestAllTypes_OneofString // *TestAllTypes_OneofBytes OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"` // Well-known types OptionalBoolWrapper *wrapperspb.BoolValue `protobuf:"bytes,201,opt,name=optional_bool_wrapper,json=optionalBoolWrapper,proto3" json:"optional_bool_wrapper,omitempty"` OptionalInt32Wrapper *wrapperspb.Int32Value `protobuf:"bytes,202,opt,name=optional_int32_wrapper,json=optionalInt32Wrapper,proto3" json:"optional_int32_wrapper,omitempty"` OptionalInt64Wrapper *wrapperspb.Int64Value `protobuf:"bytes,203,opt,name=optional_int64_wrapper,json=optionalInt64Wrapper,proto3" json:"optional_int64_wrapper,omitempty"` OptionalUint32Wrapper *wrapperspb.UInt32Value `` /* 128-byte string literal not displayed */ OptionalUint64Wrapper *wrapperspb.UInt64Value `` /* 128-byte string literal not displayed */ OptionalFloatWrapper *wrapperspb.FloatValue `protobuf:"bytes,206,opt,name=optional_float_wrapper,json=optionalFloatWrapper,proto3" json:"optional_float_wrapper,omitempty"` OptionalDoubleWrapper *wrapperspb.DoubleValue `` /* 128-byte string literal not displayed */ OptionalStringWrapper *wrapperspb.StringValue `` /* 128-byte string literal not displayed */ OptionalBytesWrapper *wrapperspb.BytesValue `protobuf:"bytes,209,opt,name=optional_bytes_wrapper,json=optionalBytesWrapper,proto3" json:"optional_bytes_wrapper,omitempty"` RepeatedBoolWrapper []*wrapperspb.BoolValue `protobuf:"bytes,211,rep,name=repeated_bool_wrapper,json=repeatedBoolWrapper,proto3" json:"repeated_bool_wrapper,omitempty"` RepeatedInt32Wrapper []*wrapperspb.Int32Value `protobuf:"bytes,212,rep,name=repeated_int32_wrapper,json=repeatedInt32Wrapper,proto3" json:"repeated_int32_wrapper,omitempty"` RepeatedInt64Wrapper []*wrapperspb.Int64Value `protobuf:"bytes,213,rep,name=repeated_int64_wrapper,json=repeatedInt64Wrapper,proto3" json:"repeated_int64_wrapper,omitempty"` RepeatedUint32Wrapper []*wrapperspb.UInt32Value `` /* 128-byte string literal not displayed */ RepeatedUint64Wrapper []*wrapperspb.UInt64Value `` /* 128-byte string literal not displayed */ RepeatedFloatWrapper []*wrapperspb.FloatValue `protobuf:"bytes,216,rep,name=repeated_float_wrapper,json=repeatedFloatWrapper,proto3" json:"repeated_float_wrapper,omitempty"` RepeatedDoubleWrapper []*wrapperspb.DoubleValue `` /* 128-byte string literal not displayed */ RepeatedStringWrapper []*wrapperspb.StringValue `` /* 128-byte string literal not displayed */ RepeatedBytesWrapper []*wrapperspb.BytesValue `protobuf:"bytes,219,rep,name=repeated_bytes_wrapper,json=repeatedBytesWrapper,proto3" json:"repeated_bytes_wrapper,omitempty"` OptionalDuration *durationpb.Duration `protobuf:"bytes,301,opt,name=optional_duration,json=optionalDuration,proto3" json:"optional_duration,omitempty"` OptionalTimestamp *timestamppb.Timestamp `protobuf:"bytes,302,opt,name=optional_timestamp,json=optionalTimestamp,proto3" json:"optional_timestamp,omitempty"` OptionalFieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,303,opt,name=optional_field_mask,json=optionalFieldMask,proto3" json:"optional_field_mask,omitempty"` OptionalStruct *structpb.Struct `protobuf:"bytes,304,opt,name=optional_struct,json=optionalStruct,proto3" json:"optional_struct,omitempty"` OptionalAny *anypb.Any `protobuf:"bytes,305,opt,name=optional_any,json=optionalAny,proto3" json:"optional_any,omitempty"` OptionalValue *structpb.Value `protobuf:"bytes,306,opt,name=optional_value,json=optionalValue,proto3" json:"optional_value,omitempty"` 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"` // Test field-name-to-JSON-name convention. 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"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
This proto includes every type of field in both singular and repeated forms.
func (*TestAllTypes) Descriptor ¶
func (*TestAllTypes) Descriptor() ([]byte, []int)
func (*TestAllTypes) GetFIELDName12 ¶
func (m *TestAllTypes) GetFIELDName12() int32
func (*TestAllTypes) GetFIELD_NAME11 ¶
func (m *TestAllTypes) GetFIELD_NAME11() int32
func (*TestAllTypes) GetField0Name5 ¶
func (m *TestAllTypes) GetField0Name5() int32
func (*TestAllTypes) GetFieldName2 ¶
func (m *TestAllTypes) GetFieldName2() int32
func (*TestAllTypes) GetFieldName7 ¶
func (m *TestAllTypes) GetFieldName7() int32
func (*TestAllTypes) GetFieldName8 ¶
func (m *TestAllTypes) GetFieldName8() int32
func (*TestAllTypes) GetField_0Name6 ¶
func (m *TestAllTypes) GetField_0Name6() int32
func (*TestAllTypes) GetField_Name10 ¶
func (m *TestAllTypes) GetField_Name10() int32
func (*TestAllTypes) GetField_Name4_ ¶
func (m *TestAllTypes) GetField_Name4_() int32
func (*TestAllTypes) GetField_Name9 ¶
func (m *TestAllTypes) GetField_Name9() int32
func (*TestAllTypes) GetFieldname1 ¶
func (m *TestAllTypes) GetFieldname1() int32
func (*TestAllTypes) GetMapBoolBool ¶
func (m *TestAllTypes) GetMapBoolBool() map[bool]bool
func (*TestAllTypes) GetMapFixed32Fixed32 ¶
func (m *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32
func (*TestAllTypes) GetMapFixed64Fixed64 ¶
func (m *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64
func (*TestAllTypes) GetMapInt32Double ¶
func (m *TestAllTypes) GetMapInt32Double() map[int32]float64
func (*TestAllTypes) GetMapInt32Float ¶
func (m *TestAllTypes) GetMapInt32Float() map[int32]float32
func (*TestAllTypes) GetMapInt32Int32 ¶
func (m *TestAllTypes) GetMapInt32Int32() map[int32]int32
func (*TestAllTypes) GetMapInt64Int64 ¶
func (m *TestAllTypes) GetMapInt64Int64() map[int64]int64
func (*TestAllTypes) GetMapSfixed32Sfixed32 ¶
func (m *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32
func (*TestAllTypes) GetMapSfixed64Sfixed64 ¶
func (m *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64
func (*TestAllTypes) GetMapSint32Sint32 ¶
func (m *TestAllTypes) GetMapSint32Sint32() map[int32]int32
func (*TestAllTypes) GetMapSint64Sint64 ¶
func (m *TestAllTypes) GetMapSint64Sint64() map[int64]int64
func (*TestAllTypes) GetMapStringBytes ¶
func (m *TestAllTypes) GetMapStringBytes() map[string][]byte
func (*TestAllTypes) GetMapStringForeignEnum ¶
func (m *TestAllTypes) GetMapStringForeignEnum() map[string]ForeignEnum
func (*TestAllTypes) GetMapStringForeignMessage ¶
func (m *TestAllTypes) GetMapStringForeignMessage() map[string]*ForeignMessage
func (*TestAllTypes) GetMapStringNestedEnum ¶
func (m *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum
func (*TestAllTypes) GetMapStringNestedMessage ¶
func (m *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage
func (*TestAllTypes) GetMapStringString ¶
func (m *TestAllTypes) GetMapStringString() map[string]string
func (*TestAllTypes) GetMapUint32Uint32 ¶
func (m *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32
func (*TestAllTypes) GetMapUint64Uint64 ¶
func (m *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64
func (*TestAllTypes) GetOneofBytes ¶
func (m *TestAllTypes) GetOneofBytes() []byte
func (*TestAllTypes) GetOneofField ¶
func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField
func (*TestAllTypes) GetOneofNestedMessage ¶
func (m *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes) GetOneofString ¶
func (m *TestAllTypes) GetOneofString() string
func (*TestAllTypes) GetOneofUint32 ¶
func (m *TestAllTypes) GetOneofUint32() uint32
func (*TestAllTypes) GetOptionalAny ¶
func (m *TestAllTypes) GetOptionalAny() *anypb.Any
func (*TestAllTypes) GetOptionalBool ¶
func (m *TestAllTypes) GetOptionalBool() bool
func (*TestAllTypes) GetOptionalBoolWrapper ¶
func (m *TestAllTypes) GetOptionalBoolWrapper() *wrapperspb.BoolValue
func (*TestAllTypes) GetOptionalBytes ¶
func (m *TestAllTypes) GetOptionalBytes() []byte
func (*TestAllTypes) GetOptionalBytesWrapper ¶
func (m *TestAllTypes) GetOptionalBytesWrapper() *wrapperspb.BytesValue
func (*TestAllTypes) GetOptionalCord ¶
func (m *TestAllTypes) GetOptionalCord() string
func (*TestAllTypes) GetOptionalDouble ¶
func (m *TestAllTypes) GetOptionalDouble() float64
func (*TestAllTypes) GetOptionalDoubleWrapper ¶
func (m *TestAllTypes) GetOptionalDoubleWrapper() *wrapperspb.DoubleValue
func (*TestAllTypes) GetOptionalDuration ¶
func (m *TestAllTypes) GetOptionalDuration() *durationpb.Duration
func (*TestAllTypes) GetOptionalFieldMask ¶
func (m *TestAllTypes) GetOptionalFieldMask() *fieldmaskpb.FieldMask
func (*TestAllTypes) GetOptionalFixed32 ¶
func (m *TestAllTypes) GetOptionalFixed32() uint32
func (*TestAllTypes) GetOptionalFixed64 ¶
func (m *TestAllTypes) GetOptionalFixed64() uint64
func (*TestAllTypes) GetOptionalFloat ¶
func (m *TestAllTypes) GetOptionalFloat() float32
func (*TestAllTypes) GetOptionalFloatWrapper ¶
func (m *TestAllTypes) GetOptionalFloatWrapper() *wrapperspb.FloatValue
func (*TestAllTypes) GetOptionalForeignEnum ¶
func (m *TestAllTypes) GetOptionalForeignEnum() ForeignEnum
func (*TestAllTypes) GetOptionalForeignMessage ¶
func (m *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage
func (*TestAllTypes) GetOptionalInt32 ¶
func (m *TestAllTypes) GetOptionalInt32() int32
func (*TestAllTypes) GetOptionalInt32Wrapper ¶
func (m *TestAllTypes) GetOptionalInt32Wrapper() *wrapperspb.Int32Value
func (*TestAllTypes) GetOptionalInt64 ¶
func (m *TestAllTypes) GetOptionalInt64() int64
func (*TestAllTypes) GetOptionalInt64Wrapper ¶
func (m *TestAllTypes) GetOptionalInt64Wrapper() *wrapperspb.Int64Value
func (*TestAllTypes) GetOptionalNestedEnum ¶
func (m *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum
func (*TestAllTypes) GetOptionalNestedMessage ¶
func (m *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes) GetOptionalSfixed32 ¶
func (m *TestAllTypes) GetOptionalSfixed32() int32
func (*TestAllTypes) GetOptionalSfixed64 ¶
func (m *TestAllTypes) GetOptionalSfixed64() int64
func (*TestAllTypes) GetOptionalSint32 ¶
func (m *TestAllTypes) GetOptionalSint32() int32
func (*TestAllTypes) GetOptionalSint64 ¶
func (m *TestAllTypes) GetOptionalSint64() int64
func (*TestAllTypes) GetOptionalString ¶
func (m *TestAllTypes) GetOptionalString() string
func (*TestAllTypes) GetOptionalStringPiece ¶
func (m *TestAllTypes) GetOptionalStringPiece() string
func (*TestAllTypes) GetOptionalStringWrapper ¶
func (m *TestAllTypes) GetOptionalStringWrapper() *wrapperspb.StringValue
func (*TestAllTypes) GetOptionalStruct ¶
func (m *TestAllTypes) GetOptionalStruct() *structpb.Struct
func (*TestAllTypes) GetOptionalTimestamp ¶
func (m *TestAllTypes) GetOptionalTimestamp() *timestamppb.Timestamp
func (*TestAllTypes) GetOptionalUint32 ¶
func (m *TestAllTypes) GetOptionalUint32() uint32
func (*TestAllTypes) GetOptionalUint32Wrapper ¶
func (m *TestAllTypes) GetOptionalUint32Wrapper() *wrapperspb.UInt32Value
func (*TestAllTypes) GetOptionalUint64 ¶
func (m *TestAllTypes) GetOptionalUint64() uint64
func (*TestAllTypes) GetOptionalUint64Wrapper ¶
func (m *TestAllTypes) GetOptionalUint64Wrapper() *wrapperspb.UInt64Value
func (*TestAllTypes) GetOptionalValue ¶
func (m *TestAllTypes) GetOptionalValue() *structpb.Value
func (*TestAllTypes) GetRecursiveMessage ¶
func (m *TestAllTypes) GetRecursiveMessage() *TestAllTypes
func (*TestAllTypes) GetRepeatedAny ¶
func (m *TestAllTypes) GetRepeatedAny() []*anypb.Any
func (*TestAllTypes) GetRepeatedBool ¶
func (m *TestAllTypes) GetRepeatedBool() []bool
func (*TestAllTypes) GetRepeatedBoolWrapper ¶
func (m *TestAllTypes) GetRepeatedBoolWrapper() []*wrapperspb.BoolValue
func (*TestAllTypes) GetRepeatedBytes ¶
func (m *TestAllTypes) GetRepeatedBytes() [][]byte
func (*TestAllTypes) GetRepeatedBytesWrapper ¶
func (m *TestAllTypes) GetRepeatedBytesWrapper() []*wrapperspb.BytesValue
func (*TestAllTypes) GetRepeatedCord ¶
func (m *TestAllTypes) GetRepeatedCord() []string
func (*TestAllTypes) GetRepeatedDouble ¶
func (m *TestAllTypes) GetRepeatedDouble() []float64
func (*TestAllTypes) GetRepeatedDoubleWrapper ¶
func (m *TestAllTypes) GetRepeatedDoubleWrapper() []*wrapperspb.DoubleValue
func (*TestAllTypes) GetRepeatedDuration ¶
func (m *TestAllTypes) GetRepeatedDuration() []*durationpb.Duration
func (*TestAllTypes) GetRepeatedFieldmask ¶
func (m *TestAllTypes) GetRepeatedFieldmask() []*fieldmaskpb.FieldMask
func (*TestAllTypes) GetRepeatedFixed32 ¶
func (m *TestAllTypes) GetRepeatedFixed32() []uint32
func (*TestAllTypes) GetRepeatedFixed64 ¶
func (m *TestAllTypes) GetRepeatedFixed64() []uint64
func (*TestAllTypes) GetRepeatedFloat ¶
func (m *TestAllTypes) GetRepeatedFloat() []float32
func (*TestAllTypes) GetRepeatedFloatWrapper ¶
func (m *TestAllTypes) GetRepeatedFloatWrapper() []*wrapperspb.FloatValue
func (*TestAllTypes) GetRepeatedForeignEnum ¶
func (m *TestAllTypes) GetRepeatedForeignEnum() []ForeignEnum
func (*TestAllTypes) GetRepeatedForeignMessage ¶
func (m *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage
func (*TestAllTypes) GetRepeatedInt32 ¶
func (m *TestAllTypes) GetRepeatedInt32() []int32
func (*TestAllTypes) GetRepeatedInt32Wrapper ¶
func (m *TestAllTypes) GetRepeatedInt32Wrapper() []*wrapperspb.Int32Value
func (*TestAllTypes) GetRepeatedInt64 ¶
func (m *TestAllTypes) GetRepeatedInt64() []int64
func (*TestAllTypes) GetRepeatedInt64Wrapper ¶
func (m *TestAllTypes) GetRepeatedInt64Wrapper() []*wrapperspb.Int64Value
func (*TestAllTypes) GetRepeatedNestedEnum ¶
func (m *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum
func (*TestAllTypes) GetRepeatedNestedMessage ¶
func (m *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage
func (*TestAllTypes) GetRepeatedSfixed32 ¶
func (m *TestAllTypes) GetRepeatedSfixed32() []int32
func (*TestAllTypes) GetRepeatedSfixed64 ¶
func (m *TestAllTypes) GetRepeatedSfixed64() []int64
func (*TestAllTypes) GetRepeatedSint32 ¶
func (m *TestAllTypes) GetRepeatedSint32() []int32
func (*TestAllTypes) GetRepeatedSint64 ¶
func (m *TestAllTypes) GetRepeatedSint64() []int64
func (*TestAllTypes) GetRepeatedString ¶
func (m *TestAllTypes) GetRepeatedString() []string
func (*TestAllTypes) GetRepeatedStringPiece ¶
func (m *TestAllTypes) GetRepeatedStringPiece() []string
func (*TestAllTypes) GetRepeatedStringWrapper ¶
func (m *TestAllTypes) GetRepeatedStringWrapper() []*wrapperspb.StringValue
func (*TestAllTypes) GetRepeatedStruct ¶
func (m *TestAllTypes) GetRepeatedStruct() []*structpb.Struct
func (*TestAllTypes) GetRepeatedTimestamp ¶
func (m *TestAllTypes) GetRepeatedTimestamp() []*timestamppb.Timestamp
func (*TestAllTypes) GetRepeatedUint32 ¶
func (m *TestAllTypes) GetRepeatedUint32() []uint32
func (*TestAllTypes) GetRepeatedUint32Wrapper ¶
func (m *TestAllTypes) GetRepeatedUint32Wrapper() []*wrapperspb.UInt32Value
func (*TestAllTypes) GetRepeatedUint64 ¶
func (m *TestAllTypes) GetRepeatedUint64() []uint64
func (*TestAllTypes) GetRepeatedUint64Wrapper ¶
func (m *TestAllTypes) GetRepeatedUint64Wrapper() []*wrapperspb.UInt64Value
func (*TestAllTypes) GetRepeatedValue ¶
func (m *TestAllTypes) GetRepeatedValue() []*structpb.Value
func (*TestAllTypes) GetXFieldName3 ¶
func (m *TestAllTypes) GetXFieldName3() int32
func (*TestAllTypes) IsNil ¶ added in v1.4.9
func (m *TestAllTypes) IsNil() bool
func (*TestAllTypes) ProtoMessage ¶
func (*TestAllTypes) ProtoMessage()
func (*TestAllTypes) Reset ¶
func (m *TestAllTypes) Reset()
func (*TestAllTypes) SetFIELDName12_ ¶ added in v1.4.9
func (m *TestAllTypes) SetFIELDName12_(val int32)
func (*TestAllTypes) SetFIELD_NAME11_ ¶ added in v1.4.9
func (m *TestAllTypes) SetFIELD_NAME11_(val int32)
func (*TestAllTypes) SetField0Name5_ ¶ added in v1.4.9
func (m *TestAllTypes) SetField0Name5_(val int32)
func (*TestAllTypes) SetFieldName2_ ¶ added in v1.4.9
func (m *TestAllTypes) SetFieldName2_(val int32)
func (*TestAllTypes) SetFieldName7_ ¶ added in v1.4.9
func (m *TestAllTypes) SetFieldName7_(val int32)
func (*TestAllTypes) SetFieldName8_ ¶ added in v1.4.9
func (m *TestAllTypes) SetFieldName8_(val int32)
func (*TestAllTypes) SetField_0Name6_ ¶ added in v1.4.9
func (m *TestAllTypes) SetField_0Name6_(val int32)
func (*TestAllTypes) SetField_Name10_ ¶ added in v1.4.9
func (m *TestAllTypes) SetField_Name10_(val int32)
func (*TestAllTypes) SetField_Name4__ ¶ added in v1.4.9
func (m *TestAllTypes) SetField_Name4__(val int32)
func (*TestAllTypes) SetField_Name9_ ¶ added in v1.4.9
func (m *TestAllTypes) SetField_Name9_(val int32)
func (*TestAllTypes) SetFieldname1_ ¶ added in v1.4.9
func (m *TestAllTypes) SetFieldname1_(val int32)
func (*TestAllTypes) SetMapBoolBool_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapBoolBool_(val map[bool]bool)
func (*TestAllTypes) SetMapFixed32Fixed32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapFixed32Fixed32_(val map[uint32]uint32)
func (*TestAllTypes) SetMapFixed64Fixed64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapFixed64Fixed64_(val map[uint64]uint64)
func (*TestAllTypes) SetMapInt32Double_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapInt32Double_(val map[int32]float64)
func (*TestAllTypes) SetMapInt32Float_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapInt32Float_(val map[int32]float32)
func (*TestAllTypes) SetMapInt32Int32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapInt32Int32_(val map[int32]int32)
func (*TestAllTypes) SetMapInt64Int64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapInt64Int64_(val map[int64]int64)
func (*TestAllTypes) SetMapSfixed32Sfixed32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapSfixed32Sfixed32_(val map[int32]int32)
func (*TestAllTypes) SetMapSfixed64Sfixed64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapSfixed64Sfixed64_(val map[int64]int64)
func (*TestAllTypes) SetMapSint32Sint32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapSint32Sint32_(val map[int32]int32)
func (*TestAllTypes) SetMapSint64Sint64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapSint64Sint64_(val map[int64]int64)
func (*TestAllTypes) SetMapStringBytes_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapStringBytes_(val map[string][]byte)
func (*TestAllTypes) SetMapStringForeignEnum_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapStringForeignEnum_(val map[string]ForeignEnum)
func (*TestAllTypes) SetMapStringForeignMessage_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapStringForeignMessage_(val map[string]*ForeignMessage)
func (*TestAllTypes) SetMapStringNestedEnum_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapStringNestedEnum_(val map[string]TestAllTypes_NestedEnum)
func (*TestAllTypes) SetMapStringNestedMessage_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapStringNestedMessage_(val map[string]*TestAllTypes_NestedMessage)
func (*TestAllTypes) SetMapStringString_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapStringString_(val map[string]string)
func (*TestAllTypes) SetMapUint32Uint32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapUint32Uint32_(val map[uint32]uint32)
func (*TestAllTypes) SetMapUint64Uint64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetMapUint64Uint64_(val map[uint64]uint64)
func (*TestAllTypes) SetOptionalAny_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalAny_(val *anypb.Any)
func (*TestAllTypes) SetOptionalBoolWrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalBoolWrapper_(val *wrapperspb.BoolValue)
func (*TestAllTypes) SetOptionalBool_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalBool_(val bool)
func (*TestAllTypes) SetOptionalBytesWrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalBytesWrapper_(val *wrapperspb.BytesValue)
func (*TestAllTypes) SetOptionalBytes_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalBytes_(val []byte)
func (*TestAllTypes) SetOptionalCord_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalCord_(val string)
func (*TestAllTypes) SetOptionalDoubleWrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalDoubleWrapper_(val *wrapperspb.DoubleValue)
func (*TestAllTypes) SetOptionalDouble_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalDouble_(val float64)
func (*TestAllTypes) SetOptionalDuration_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalDuration_(val *durationpb.Duration)
func (*TestAllTypes) SetOptionalFieldMask_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalFieldMask_(val *fieldmaskpb.FieldMask)
func (*TestAllTypes) SetOptionalFixed32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalFixed32_(val uint32)
func (*TestAllTypes) SetOptionalFixed64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalFixed64_(val uint64)
func (*TestAllTypes) SetOptionalFloatWrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalFloatWrapper_(val *wrapperspb.FloatValue)
func (*TestAllTypes) SetOptionalFloat_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalFloat_(val float32)
func (*TestAllTypes) SetOptionalForeignEnum_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalForeignEnum_(val ForeignEnum)
func (*TestAllTypes) SetOptionalForeignMessage_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalForeignMessage_(val *ForeignMessage)
func (*TestAllTypes) SetOptionalInt32Wrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalInt32Wrapper_(val *wrapperspb.Int32Value)
func (*TestAllTypes) SetOptionalInt32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalInt32_(val int32)
func (*TestAllTypes) SetOptionalInt64Wrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalInt64Wrapper_(val *wrapperspb.Int64Value)
func (*TestAllTypes) SetOptionalInt64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalInt64_(val int64)
func (*TestAllTypes) SetOptionalNestedEnum_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalNestedEnum_(val TestAllTypes_NestedEnum)
func (*TestAllTypes) SetOptionalNestedMessage_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalNestedMessage_(val *TestAllTypes_NestedMessage)
func (*TestAllTypes) SetOptionalSfixed32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalSfixed32_(val int32)
func (*TestAllTypes) SetOptionalSfixed64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalSfixed64_(val int64)
func (*TestAllTypes) SetOptionalSint32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalSint32_(val int32)
func (*TestAllTypes) SetOptionalSint64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalSint64_(val int64)
func (*TestAllTypes) SetOptionalStringPiece_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalStringPiece_(val string)
func (*TestAllTypes) SetOptionalStringWrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalStringWrapper_(val *wrapperspb.StringValue)
func (*TestAllTypes) SetOptionalString_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalString_(val string)
func (*TestAllTypes) SetOptionalStruct_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalStruct_(val *structpb.Struct)
func (*TestAllTypes) SetOptionalTimestamp_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalTimestamp_(val *timestamppb.Timestamp)
func (*TestAllTypes) SetOptionalUint32Wrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalUint32Wrapper_(val *wrapperspb.UInt32Value)
func (*TestAllTypes) SetOptionalUint32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalUint32_(val uint32)
func (*TestAllTypes) SetOptionalUint64Wrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalUint64Wrapper_(val *wrapperspb.UInt64Value)
func (*TestAllTypes) SetOptionalUint64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalUint64_(val uint64)
func (*TestAllTypes) SetOptionalValue_ ¶ added in v1.4.9
func (m *TestAllTypes) SetOptionalValue_(val *structpb.Value)
func (*TestAllTypes) SetRecursiveMessage_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRecursiveMessage_(val *TestAllTypes)
func (*TestAllTypes) SetRepeatedAny_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedAny_(val []*anypb.Any)
func (*TestAllTypes) SetRepeatedBoolWrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedBoolWrapper_(val []*wrapperspb.BoolValue)
func (*TestAllTypes) SetRepeatedBool_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedBool_(val []bool)
func (*TestAllTypes) SetRepeatedBytesWrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedBytesWrapper_(val []*wrapperspb.BytesValue)
func (*TestAllTypes) SetRepeatedBytes_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedBytes_(val [][]byte)
func (*TestAllTypes) SetRepeatedCord_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedCord_(val []string)
func (*TestAllTypes) SetRepeatedDoubleWrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedDoubleWrapper_(val []*wrapperspb.DoubleValue)
func (*TestAllTypes) SetRepeatedDouble_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedDouble_(val []float64)
func (*TestAllTypes) SetRepeatedDuration_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedDuration_(val []*durationpb.Duration)
func (*TestAllTypes) SetRepeatedFieldmask_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedFieldmask_(val []*fieldmaskpb.FieldMask)
func (*TestAllTypes) SetRepeatedFixed32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedFixed32_(val []uint32)
func (*TestAllTypes) SetRepeatedFixed64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedFixed64_(val []uint64)
func (*TestAllTypes) SetRepeatedFloatWrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedFloatWrapper_(val []*wrapperspb.FloatValue)
func (*TestAllTypes) SetRepeatedFloat_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedFloat_(val []float32)
func (*TestAllTypes) SetRepeatedForeignEnum_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedForeignEnum_(val []ForeignEnum)
func (*TestAllTypes) SetRepeatedForeignMessage_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedForeignMessage_(val []*ForeignMessage)
func (*TestAllTypes) SetRepeatedInt32Wrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedInt32Wrapper_(val []*wrapperspb.Int32Value)
func (*TestAllTypes) SetRepeatedInt32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedInt32_(val []int32)
func (*TestAllTypes) SetRepeatedInt64Wrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedInt64Wrapper_(val []*wrapperspb.Int64Value)
func (*TestAllTypes) SetRepeatedInt64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedInt64_(val []int64)
func (*TestAllTypes) SetRepeatedNestedEnum_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedNestedEnum_(val []TestAllTypes_NestedEnum)
func (*TestAllTypes) SetRepeatedNestedMessage_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedNestedMessage_(val []*TestAllTypes_NestedMessage)
func (*TestAllTypes) SetRepeatedSfixed32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedSfixed32_(val []int32)
func (*TestAllTypes) SetRepeatedSfixed64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedSfixed64_(val []int64)
func (*TestAllTypes) SetRepeatedSint32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedSint32_(val []int32)
func (*TestAllTypes) SetRepeatedSint64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedSint64_(val []int64)
func (*TestAllTypes) SetRepeatedStringPiece_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedStringPiece_(val []string)
func (*TestAllTypes) SetRepeatedStringWrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedStringWrapper_(val []*wrapperspb.StringValue)
func (*TestAllTypes) SetRepeatedString_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedString_(val []string)
func (*TestAllTypes) SetRepeatedStruct_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedStruct_(val []*structpb.Struct)
func (*TestAllTypes) SetRepeatedTimestamp_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedTimestamp_(val []*timestamppb.Timestamp)
func (*TestAllTypes) SetRepeatedUint32Wrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedUint32Wrapper_(val []*wrapperspb.UInt32Value)
func (*TestAllTypes) SetRepeatedUint32_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedUint32_(val []uint32)
func (*TestAllTypes) SetRepeatedUint64Wrapper_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedUint64Wrapper_(val []*wrapperspb.UInt64Value)
func (*TestAllTypes) SetRepeatedUint64_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedUint64_(val []uint64)
func (*TestAllTypes) SetRepeatedValue_ ¶ added in v1.4.9
func (m *TestAllTypes) SetRepeatedValue_(val []*structpb.Value)
func (*TestAllTypes) SetXFieldName3_ ¶ added in v1.4.9
func (m *TestAllTypes) SetXFieldName3_(val int32)
func (*TestAllTypes) String ¶
func (m *TestAllTypes) String() string
func (*TestAllTypes) XXX_DiscardUnknown ¶
func (m *TestAllTypes) XXX_DiscardUnknown()
func (*TestAllTypes) XXX_Marshal ¶
func (m *TestAllTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestAllTypes) XXX_Merge ¶
func (m *TestAllTypes) XXX_Merge(src proto.Message)
func (*TestAllTypes) XXX_OneofWrappers ¶ added in v1.3.9
func (*TestAllTypes) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*TestAllTypes) XXX_Size ¶
func (m *TestAllTypes) XXX_Size() int
func (*TestAllTypes) XXX_Unmarshal ¶
func (m *TestAllTypes) XXX_Unmarshal(b []byte) error
type TestAllTypes_NestedEnum ¶
type TestAllTypes_NestedEnum int32
const ( TestAllTypes_FOO TestAllTypes_NestedEnum = 0 TestAllTypes_BAR TestAllTypes_NestedEnum = 1 TestAllTypes_BAZ TestAllTypes_NestedEnum = 2 TestAllTypes_NEG TestAllTypes_NestedEnum = -1 )
func (TestAllTypes_NestedEnum) EnumDescriptor ¶
func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)
func (TestAllTypes_NestedEnum) String ¶
func (x TestAllTypes_NestedEnum) String() string
type TestAllTypes_NestedMessage ¶
type TestAllTypes_NestedMessage struct { A int32 `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"` Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive,proto3" json:"corecursive,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TestAllTypes_NestedMessage) Descriptor ¶
func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int)
func (*TestAllTypes_NestedMessage) GetA ¶
func (m *TestAllTypes_NestedMessage) GetA() int32
func (*TestAllTypes_NestedMessage) GetCorecursive ¶
func (m *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes
func (*TestAllTypes_NestedMessage) IsNil ¶ added in v1.4.9
func (m *TestAllTypes_NestedMessage) IsNil() bool
func (*TestAllTypes_NestedMessage) ProtoMessage ¶
func (*TestAllTypes_NestedMessage) ProtoMessage()
func (*TestAllTypes_NestedMessage) Reset ¶
func (m *TestAllTypes_NestedMessage) Reset()
func (*TestAllTypes_NestedMessage) SetA_ ¶ added in v1.4.9
func (m *TestAllTypes_NestedMessage) SetA_(val int32)
func (*TestAllTypes_NestedMessage) SetCorecursive_ ¶ added in v1.4.9
func (m *TestAllTypes_NestedMessage) SetCorecursive_(val *TestAllTypes)
func (*TestAllTypes_NestedMessage) String ¶
func (m *TestAllTypes_NestedMessage) String() string
func (*TestAllTypes_NestedMessage) XXX_DiscardUnknown ¶
func (m *TestAllTypes_NestedMessage) XXX_DiscardUnknown()
func (*TestAllTypes_NestedMessage) XXX_Marshal ¶
func (m *TestAllTypes_NestedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestAllTypes_NestedMessage) XXX_Merge ¶
func (m *TestAllTypes_NestedMessage) XXX_Merge(src proto.Message)
func (*TestAllTypes_NestedMessage) XXX_Size ¶
func (m *TestAllTypes_NestedMessage) XXX_Size() int
func (*TestAllTypes_NestedMessage) XXX_Unmarshal ¶
func (m *TestAllTypes_NestedMessage) XXX_Unmarshal(b []byte) error
type TestAllTypes_OneofBytes ¶
type TestAllTypes_OneofBytes struct {
OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,proto3,oneof" json:"oneof_bytes,omitempty"`
}
type TestAllTypes_OneofNestedMessage ¶
type TestAllTypes_OneofNestedMessage struct {
OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,proto3,oneof" json:"oneof_nested_message,omitempty"`
}
type TestAllTypes_OneofString ¶
type TestAllTypes_OneofString struct {
OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,proto3,oneof" json:"oneof_string,omitempty"`
}
type TestAllTypes_OneofUint32 ¶
type TestAllTypes_OneofUint32 struct {
OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,proto3,oneof" json:"oneof_uint32,omitempty"`
}
type WireFormat ¶
type WireFormat int32
const ( WireFormat_UNSPECIFIED WireFormat = 0 WireFormat_PROTOBUF WireFormat = 1 WireFormat_JSON WireFormat = 2 )
func (WireFormat) EnumDescriptor ¶
func (WireFormat) EnumDescriptor() ([]byte, []int)
func (WireFormat) String ¶
func (x WireFormat) String() string
Click to show internal directories.
Click to hide internal directories.