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 (*ConformanceRequest) ProtoMessage()
- func (m *ConformanceRequest) Reset()
- 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 (*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 (*ForeignMessage) ProtoMessage()
- func (m *ForeignMessage) Reset()
- 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() *types.Any
- func (m *TestAllTypes) GetOptionalBool() bool
- func (m *TestAllTypes) GetOptionalBoolWrapper() *types.BoolValue
- func (m *TestAllTypes) GetOptionalBytes() []byte
- func (m *TestAllTypes) GetOptionalBytesWrapper() *types.BytesValue
- func (m *TestAllTypes) GetOptionalCord() string
- func (m *TestAllTypes) GetOptionalDouble() float64
- func (m *TestAllTypes) GetOptionalDoubleWrapper() *types.DoubleValue
- func (m *TestAllTypes) GetOptionalDuration() *types.Duration
- func (m *TestAllTypes) GetOptionalFieldMask() *types.FieldMask
- func (m *TestAllTypes) GetOptionalFixed32() uint32
- func (m *TestAllTypes) GetOptionalFixed64() uint64
- func (m *TestAllTypes) GetOptionalFloat() float32
- func (m *TestAllTypes) GetOptionalFloatWrapper() *types.FloatValue
- func (m *TestAllTypes) GetOptionalForeignEnum() ForeignEnum
- func (m *TestAllTypes) GetOptionalForeignMessage() *ForeignMessage
- func (m *TestAllTypes) GetOptionalInt32() int32
- func (m *TestAllTypes) GetOptionalInt32Wrapper() *types.Int32Value
- func (m *TestAllTypes) GetOptionalInt64() int64
- func (m *TestAllTypes) GetOptionalInt64Wrapper() *types.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() *types.StringValue
- func (m *TestAllTypes) GetOptionalStruct() *types.Struct
- func (m *TestAllTypes) GetOptionalTimestamp() *types.Timestamp
- func (m *TestAllTypes) GetOptionalUint32() uint32
- func (m *TestAllTypes) GetOptionalUint32Wrapper() *types.UInt32Value
- func (m *TestAllTypes) GetOptionalUint64() uint64
- func (m *TestAllTypes) GetOptionalUint64Wrapper() *types.UInt64Value
- func (m *TestAllTypes) GetOptionalValue() *types.Value
- func (m *TestAllTypes) GetRecursiveMessage() *TestAllTypes
- func (m *TestAllTypes) GetRepeatedAny() []*types.Any
- func (m *TestAllTypes) GetRepeatedBool() []bool
- func (m *TestAllTypes) GetRepeatedBoolWrapper() []*types.BoolValue
- func (m *TestAllTypes) GetRepeatedBytes() [][]byte
- func (m *TestAllTypes) GetRepeatedBytesWrapper() []*types.BytesValue
- func (m *TestAllTypes) GetRepeatedCord() []string
- func (m *TestAllTypes) GetRepeatedDouble() []float64
- func (m *TestAllTypes) GetRepeatedDoubleWrapper() []*types.DoubleValue
- func (m *TestAllTypes) GetRepeatedDuration() []*types.Duration
- func (m *TestAllTypes) GetRepeatedFieldmask() []*types.FieldMask
- func (m *TestAllTypes) GetRepeatedFixed32() []uint32
- func (m *TestAllTypes) GetRepeatedFixed64() []uint64
- func (m *TestAllTypes) GetRepeatedFloat() []float32
- func (m *TestAllTypes) GetRepeatedFloatWrapper() []*types.FloatValue
- func (m *TestAllTypes) GetRepeatedForeignEnum() []ForeignEnum
- func (m *TestAllTypes) GetRepeatedForeignMessage() []*ForeignMessage
- func (m *TestAllTypes) GetRepeatedInt32() []int32
- func (m *TestAllTypes) GetRepeatedInt32Wrapper() []*types.Int32Value
- func (m *TestAllTypes) GetRepeatedInt64() []int64
- func (m *TestAllTypes) GetRepeatedInt64Wrapper() []*types.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() []*types.StringValue
- func (m *TestAllTypes) GetRepeatedStruct() []*types.Struct
- func (m *TestAllTypes) GetRepeatedTimestamp() []*types.Timestamp
- func (m *TestAllTypes) GetRepeatedUint32() []uint32
- func (m *TestAllTypes) GetRepeatedUint32Wrapper() []*types.UInt32Value
- func (m *TestAllTypes) GetRepeatedUint64() []uint64
- func (m *TestAllTypes) GetRepeatedUint64Wrapper() []*types.UInt64Value
- func (m *TestAllTypes) GetRepeatedValue() []*types.Value
- func (m *TestAllTypes) GetXFieldName3() int32
- func (*TestAllTypes) ProtoMessage()
- func (m *TestAllTypes) Reset()
- 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 (*TestAllTypes_NestedMessage) ProtoMessage()
- func (m *TestAllTypes_NestedMessage) Reset()
- 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) ProtoMessage ¶
func (*ConformanceRequest) ProtoMessage()
func (*ConformanceRequest) Reset ¶
func (m *ConformanceRequest) Reset()
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 ¶
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) 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 ¶
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) ProtoMessage ¶
func (*ForeignMessage) ProtoMessage()
func (*ForeignMessage) Reset ¶
func (m *ForeignMessage) Reset()
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 *types.BoolValue `protobuf:"bytes,201,opt,name=optional_bool_wrapper,json=optionalBoolWrapper,proto3" json:"optional_bool_wrapper,omitempty"` OptionalInt32Wrapper *types.Int32Value `protobuf:"bytes,202,opt,name=optional_int32_wrapper,json=optionalInt32Wrapper,proto3" json:"optional_int32_wrapper,omitempty"` OptionalInt64Wrapper *types.Int64Value `protobuf:"bytes,203,opt,name=optional_int64_wrapper,json=optionalInt64Wrapper,proto3" json:"optional_int64_wrapper,omitempty"` OptionalUint32Wrapper *types.UInt32Value `` /* 128-byte string literal not displayed */ OptionalUint64Wrapper *types.UInt64Value `` /* 128-byte string literal not displayed */ OptionalFloatWrapper *types.FloatValue `protobuf:"bytes,206,opt,name=optional_float_wrapper,json=optionalFloatWrapper,proto3" json:"optional_float_wrapper,omitempty"` OptionalDoubleWrapper *types.DoubleValue `` /* 128-byte string literal not displayed */ OptionalStringWrapper *types.StringValue `` /* 128-byte string literal not displayed */ OptionalBytesWrapper *types.BytesValue `protobuf:"bytes,209,opt,name=optional_bytes_wrapper,json=optionalBytesWrapper,proto3" json:"optional_bytes_wrapper,omitempty"` RepeatedBoolWrapper []*types.BoolValue `protobuf:"bytes,211,rep,name=repeated_bool_wrapper,json=repeatedBoolWrapper,proto3" json:"repeated_bool_wrapper,omitempty"` RepeatedInt32Wrapper []*types.Int32Value `protobuf:"bytes,212,rep,name=repeated_int32_wrapper,json=repeatedInt32Wrapper,proto3" json:"repeated_int32_wrapper,omitempty"` RepeatedInt64Wrapper []*types.Int64Value `protobuf:"bytes,213,rep,name=repeated_int64_wrapper,json=repeatedInt64Wrapper,proto3" json:"repeated_int64_wrapper,omitempty"` RepeatedUint32Wrapper []*types.UInt32Value `` /* 128-byte string literal not displayed */ RepeatedUint64Wrapper []*types.UInt64Value `` /* 128-byte string literal not displayed */ RepeatedFloatWrapper []*types.FloatValue `protobuf:"bytes,216,rep,name=repeated_float_wrapper,json=repeatedFloatWrapper,proto3" json:"repeated_float_wrapper,omitempty"` RepeatedDoubleWrapper []*types.DoubleValue `` /* 128-byte string literal not displayed */ RepeatedStringWrapper []*types.StringValue `` /* 128-byte string literal not displayed */ RepeatedBytesWrapper []*types.BytesValue `protobuf:"bytes,219,rep,name=repeated_bytes_wrapper,json=repeatedBytesWrapper,proto3" json:"repeated_bytes_wrapper,omitempty"` OptionalDuration *types.Duration `protobuf:"bytes,301,opt,name=optional_duration,json=optionalDuration,proto3" json:"optional_duration,omitempty"` OptionalTimestamp *types.Timestamp `protobuf:"bytes,302,opt,name=optional_timestamp,json=optionalTimestamp,proto3" json:"optional_timestamp,omitempty"` OptionalFieldMask *types.FieldMask `protobuf:"bytes,303,opt,name=optional_field_mask,json=optionalFieldMask,proto3" json:"optional_field_mask,omitempty"` OptionalStruct *types.Struct `protobuf:"bytes,304,opt,name=optional_struct,json=optionalStruct,proto3" json:"optional_struct,omitempty"` OptionalAny *types.Any `protobuf:"bytes,305,opt,name=optional_any,json=optionalAny,proto3" json:"optional_any,omitempty"` OptionalValue *types.Value `protobuf:"bytes,306,opt,name=optional_value,json=optionalValue,proto3" json:"optional_value,omitempty"` RepeatedDuration []*types.Duration `protobuf:"bytes,311,rep,name=repeated_duration,json=repeatedDuration,proto3" json:"repeated_duration,omitempty"` RepeatedTimestamp []*types.Timestamp `protobuf:"bytes,312,rep,name=repeated_timestamp,json=repeatedTimestamp,proto3" json:"repeated_timestamp,omitempty"` RepeatedFieldmask []*types.FieldMask `protobuf:"bytes,313,rep,name=repeated_fieldmask,json=repeatedFieldmask,proto3" json:"repeated_fieldmask,omitempty"` RepeatedStruct []*types.Struct `protobuf:"bytes,324,rep,name=repeated_struct,json=repeatedStruct,proto3" json:"repeated_struct,omitempty"` RepeatedAny []*types.Any `protobuf:"bytes,315,rep,name=repeated_any,json=repeatedAny,proto3" json:"repeated_any,omitempty"` RepeatedValue []*types.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() *types.Any
func (*TestAllTypes) GetOptionalBool ¶
func (m *TestAllTypes) GetOptionalBool() bool
func (*TestAllTypes) GetOptionalBoolWrapper ¶
func (m *TestAllTypes) GetOptionalBoolWrapper() *types.BoolValue
func (*TestAllTypes) GetOptionalBytes ¶
func (m *TestAllTypes) GetOptionalBytes() []byte
func (*TestAllTypes) GetOptionalBytesWrapper ¶
func (m *TestAllTypes) GetOptionalBytesWrapper() *types.BytesValue
func (*TestAllTypes) GetOptionalCord ¶
func (m *TestAllTypes) GetOptionalCord() string
func (*TestAllTypes) GetOptionalDouble ¶
func (m *TestAllTypes) GetOptionalDouble() float64
func (*TestAllTypes) GetOptionalDoubleWrapper ¶
func (m *TestAllTypes) GetOptionalDoubleWrapper() *types.DoubleValue
func (*TestAllTypes) GetOptionalDuration ¶
func (m *TestAllTypes) GetOptionalDuration() *types.Duration
func (*TestAllTypes) GetOptionalFieldMask ¶
func (m *TestAllTypes) GetOptionalFieldMask() *types.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() *types.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() *types.Int32Value
func (*TestAllTypes) GetOptionalInt64 ¶
func (m *TestAllTypes) GetOptionalInt64() int64
func (*TestAllTypes) GetOptionalInt64Wrapper ¶
func (m *TestAllTypes) GetOptionalInt64Wrapper() *types.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() *types.StringValue
func (*TestAllTypes) GetOptionalStruct ¶
func (m *TestAllTypes) GetOptionalStruct() *types.Struct
func (*TestAllTypes) GetOptionalTimestamp ¶
func (m *TestAllTypes) GetOptionalTimestamp() *types.Timestamp
func (*TestAllTypes) GetOptionalUint32 ¶
func (m *TestAllTypes) GetOptionalUint32() uint32
func (*TestAllTypes) GetOptionalUint32Wrapper ¶
func (m *TestAllTypes) GetOptionalUint32Wrapper() *types.UInt32Value
func (*TestAllTypes) GetOptionalUint64 ¶
func (m *TestAllTypes) GetOptionalUint64() uint64
func (*TestAllTypes) GetOptionalUint64Wrapper ¶
func (m *TestAllTypes) GetOptionalUint64Wrapper() *types.UInt64Value
func (*TestAllTypes) GetOptionalValue ¶
func (m *TestAllTypes) GetOptionalValue() *types.Value
func (*TestAllTypes) GetRecursiveMessage ¶
func (m *TestAllTypes) GetRecursiveMessage() *TestAllTypes
func (*TestAllTypes) GetRepeatedAny ¶
func (m *TestAllTypes) GetRepeatedAny() []*types.Any
func (*TestAllTypes) GetRepeatedBool ¶
func (m *TestAllTypes) GetRepeatedBool() []bool
func (*TestAllTypes) GetRepeatedBoolWrapper ¶
func (m *TestAllTypes) GetRepeatedBoolWrapper() []*types.BoolValue
func (*TestAllTypes) GetRepeatedBytes ¶
func (m *TestAllTypes) GetRepeatedBytes() [][]byte
func (*TestAllTypes) GetRepeatedBytesWrapper ¶
func (m *TestAllTypes) GetRepeatedBytesWrapper() []*types.BytesValue
func (*TestAllTypes) GetRepeatedCord ¶
func (m *TestAllTypes) GetRepeatedCord() []string
func (*TestAllTypes) GetRepeatedDouble ¶
func (m *TestAllTypes) GetRepeatedDouble() []float64
func (*TestAllTypes) GetRepeatedDoubleWrapper ¶
func (m *TestAllTypes) GetRepeatedDoubleWrapper() []*types.DoubleValue
func (*TestAllTypes) GetRepeatedDuration ¶
func (m *TestAllTypes) GetRepeatedDuration() []*types.Duration
func (*TestAllTypes) GetRepeatedFieldmask ¶
func (m *TestAllTypes) GetRepeatedFieldmask() []*types.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() []*types.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() []*types.Int32Value
func (*TestAllTypes) GetRepeatedInt64 ¶
func (m *TestAllTypes) GetRepeatedInt64() []int64
func (*TestAllTypes) GetRepeatedInt64Wrapper ¶
func (m *TestAllTypes) GetRepeatedInt64Wrapper() []*types.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() []*types.StringValue
func (*TestAllTypes) GetRepeatedStruct ¶
func (m *TestAllTypes) GetRepeatedStruct() []*types.Struct
func (*TestAllTypes) GetRepeatedTimestamp ¶
func (m *TestAllTypes) GetRepeatedTimestamp() []*types.Timestamp
func (*TestAllTypes) GetRepeatedUint32 ¶
func (m *TestAllTypes) GetRepeatedUint32() []uint32
func (*TestAllTypes) GetRepeatedUint32Wrapper ¶
func (m *TestAllTypes) GetRepeatedUint32Wrapper() []*types.UInt32Value
func (*TestAllTypes) GetRepeatedUint64 ¶
func (m *TestAllTypes) GetRepeatedUint64() []uint64
func (*TestAllTypes) GetRepeatedUint64Wrapper ¶
func (m *TestAllTypes) GetRepeatedUint64Wrapper() []*types.UInt64Value
func (*TestAllTypes) GetRepeatedValue ¶
func (m *TestAllTypes) GetRepeatedValue() []*types.Value
func (*TestAllTypes) GetXFieldName3 ¶
func (m *TestAllTypes) GetXFieldName3() int32
func (*TestAllTypes) ProtoMessage ¶
func (*TestAllTypes) ProtoMessage()
func (*TestAllTypes) Reset ¶
func (m *TestAllTypes) Reset()
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 ¶
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) ProtoMessage ¶
func (*TestAllTypes_NestedMessage) ProtoMessage()
func (*TestAllTypes_NestedMessage) Reset ¶
func (m *TestAllTypes_NestedMessage) Reset()
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.