Documentation ¶
Index ¶
- Constants
- Variables
- type GlobalEnum
- type NestedTestAllTypes
- func (*NestedTestAllTypes) Descriptor() ([]byte, []int)
- func (m *NestedTestAllTypes) GetChild() *NestedTestAllTypes
- func (m *NestedTestAllTypes) GetPayload() *TestAllTypes
- func (*NestedTestAllTypes) ProtoMessage()
- func (m *NestedTestAllTypes) Reset()
- func (m *NestedTestAllTypes) String() string
- func (m *NestedTestAllTypes) XXX_DiscardUnknown()
- func (m *NestedTestAllTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NestedTestAllTypes) XXX_Merge(src proto.Message)
- func (m *NestedTestAllTypes) XXX_Size() int
- func (m *NestedTestAllTypes) XXX_Unmarshal(b []byte) error
- type TestAllTypes
- func (*TestAllTypes) Descriptor() ([]byte, []int)
- func (m *TestAllTypes) GetMapInt64NestedType() map[int64]*NestedTestAllTypes
- func (m *TestAllTypes) GetMapStringString() map[string]string
- func (m *TestAllTypes) GetNestedType() isTestAllTypes_NestedType
- func (m *TestAllTypes) GetRepeatedBool() []bool
- func (m *TestAllTypes) GetRepeatedBytes() [][]byte
- func (m *TestAllTypes) GetRepeatedCord() []string
- func (m *TestAllTypes) GetRepeatedDouble() []float64
- func (m *TestAllTypes) GetRepeatedFixed32() []uint32
- func (m *TestAllTypes) GetRepeatedFixed64() []uint64
- func (m *TestAllTypes) GetRepeatedFloat() []float32
- func (m *TestAllTypes) GetRepeatedInt32() []int32
- func (m *TestAllTypes) GetRepeatedInt64() []int64
- func (m *TestAllTypes) GetRepeatedLazyMessage() []*TestAllTypes_NestedMessage
- 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) GetRepeatedUint32() []uint32
- func (m *TestAllTypes) GetRepeatedUint64() []uint64
- func (m *TestAllTypes) GetSingleAny() *any.Any
- func (m *TestAllTypes) GetSingleBool() bool
- func (m *TestAllTypes) GetSingleBoolWrapper() *wrappers.BoolValue
- func (m *TestAllTypes) GetSingleBytes() []byte
- func (m *TestAllTypes) GetSingleBytesWrapper() *wrappers.BytesValue
- func (m *TestAllTypes) GetSingleDouble() float64
- func (m *TestAllTypes) GetSingleDoubleWrapper() *wrappers.DoubleValue
- func (m *TestAllTypes) GetSingleDuration() *duration.Duration
- func (m *TestAllTypes) GetSingleFixed32() uint32
- func (m *TestAllTypes) GetSingleFixed64() uint64
- func (m *TestAllTypes) GetSingleFloat() float32
- func (m *TestAllTypes) GetSingleFloatWrapper() *wrappers.FloatValue
- func (m *TestAllTypes) GetSingleInt32() int32
- func (m *TestAllTypes) GetSingleInt32Wrapper() *wrappers.Int32Value
- func (m *TestAllTypes) GetSingleInt64() int64
- func (m *TestAllTypes) GetSingleInt64Wrapper() *wrappers.Int64Value
- func (m *TestAllTypes) GetSingleNestedEnum() TestAllTypes_NestedEnum
- func (m *TestAllTypes) GetSingleNestedMessage() *TestAllTypes_NestedMessage
- func (m *TestAllTypes) GetSingleSfixed32() int32
- func (m *TestAllTypes) GetSingleSfixed64() int64
- func (m *TestAllTypes) GetSingleSint32() int32
- func (m *TestAllTypes) GetSingleSint64() int64
- func (m *TestAllTypes) GetSingleString() string
- func (m *TestAllTypes) GetSingleStringWrapper() *wrappers.StringValue
- func (m *TestAllTypes) GetSingleStruct() *_struct.Struct
- func (m *TestAllTypes) GetSingleTimestamp() *timestamp.Timestamp
- func (m *TestAllTypes) GetSingleUint32() uint32
- func (m *TestAllTypes) GetSingleUint32Wrapper() *wrappers.UInt32Value
- func (m *TestAllTypes) GetSingleUint64() uint64
- func (m *TestAllTypes) GetSingleUint64Wrapper() *wrappers.UInt64Value
- func (m *TestAllTypes) GetSingleValue() *_struct.Value
- func (m *TestAllTypes) GetStandaloneEnum() TestAllTypes_NestedEnum
- 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) GetBb() int32
- 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_SingleNestedEnum
- type TestAllTypes_SingleNestedMessage
Constants ¶
View Source
const Default_TestAllTypes_SingleBool bool = true
View Source
const Default_TestAllTypes_SingleDouble float64 = 6.4
View Source
const Default_TestAllTypes_SingleFloat float32 = 3
View Source
const Default_TestAllTypes_SingleInt32 int32 = -32
View Source
const Default_TestAllTypes_SingleInt64 int64 = -64
View Source
const Default_TestAllTypes_SingleString string = "empty"
View Source
const Default_TestAllTypes_SingleUint32 uint32 = 32
View Source
const Default_TestAllTypes_SingleUint64 uint64 = 64
Variables ¶
View Source
var Default_TestAllTypes_SingleBytes []byte = []byte("none")
View Source
var GlobalEnum_name = map[int32]string{
0: "GOO",
1: "GAR",
2: "GAZ",
}
View Source
var GlobalEnum_value = map[string]int32{
"GOO": 0,
"GAR": 1,
"GAZ": 2,
}
View Source
var TestAllTypes_NestedEnum_name = map[int32]string{
0: "FOO",
1: "BAR",
2: "BAZ",
}
View Source
var TestAllTypes_NestedEnum_value = map[string]int32{
"FOO": 0,
"BAR": 1,
"BAZ": 2,
}
Functions ¶
This section is empty.
Types ¶
type GlobalEnum ¶
type GlobalEnum int32
const ( GlobalEnum_GOO GlobalEnum = 0 GlobalEnum_GAR GlobalEnum = 1 GlobalEnum_GAZ GlobalEnum = 2 )
func (GlobalEnum) Enum ¶
func (x GlobalEnum) Enum() *GlobalEnum
func (GlobalEnum) EnumDescriptor ¶
func (GlobalEnum) EnumDescriptor() ([]byte, []int)
func (GlobalEnum) String ¶
func (x GlobalEnum) String() string
func (*GlobalEnum) UnmarshalJSON ¶
func (x *GlobalEnum) UnmarshalJSON(data []byte) error
type NestedTestAllTypes ¶
type NestedTestAllTypes struct { Child *NestedTestAllTypes `protobuf:"bytes,1,opt,name=child" json:"child,omitempty"` Payload *TestAllTypes `protobuf:"bytes,2,opt,name=payload" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NestedTestAllTypes) Descriptor ¶
func (*NestedTestAllTypes) Descriptor() ([]byte, []int)
func (*NestedTestAllTypes) GetChild ¶
func (m *NestedTestAllTypes) GetChild() *NestedTestAllTypes
func (*NestedTestAllTypes) GetPayload ¶
func (m *NestedTestAllTypes) GetPayload() *TestAllTypes
func (*NestedTestAllTypes) ProtoMessage ¶
func (*NestedTestAllTypes) ProtoMessage()
func (*NestedTestAllTypes) Reset ¶
func (m *NestedTestAllTypes) Reset()
func (*NestedTestAllTypes) String ¶
func (m *NestedTestAllTypes) String() string
func (*NestedTestAllTypes) XXX_DiscardUnknown ¶
func (m *NestedTestAllTypes) XXX_DiscardUnknown()
func (*NestedTestAllTypes) XXX_Marshal ¶
func (m *NestedTestAllTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*NestedTestAllTypes) XXX_Merge ¶
func (m *NestedTestAllTypes) XXX_Merge(src proto.Message)
func (*NestedTestAllTypes) XXX_Size ¶
func (m *NestedTestAllTypes) XXX_Size() int
func (*NestedTestAllTypes) XXX_Unmarshal ¶
func (m *NestedTestAllTypes) XXX_Unmarshal(b []byte) error
type TestAllTypes ¶
type TestAllTypes struct { SingleInt32 *int32 `protobuf:"varint,1,opt,name=single_int32,json=singleInt32,def=-32" json:"single_int32,omitempty"` SingleInt64 *int64 `protobuf:"varint,2,opt,name=single_int64,json=singleInt64,def=-64" json:"single_int64,omitempty"` SingleUint32 *uint32 `protobuf:"varint,3,opt,name=single_uint32,json=singleUint32,def=32" json:"single_uint32,omitempty"` SingleUint64 *uint64 `protobuf:"varint,4,opt,name=single_uint64,json=singleUint64,def=64" json:"single_uint64,omitempty"` SingleSint32 *int32 `protobuf:"zigzag32,5,opt,name=single_sint32,json=singleSint32" json:"single_sint32,omitempty"` SingleSint64 *int64 `protobuf:"zigzag64,6,opt,name=single_sint64,json=singleSint64" json:"single_sint64,omitempty"` SingleFixed32 *uint32 `protobuf:"fixed32,7,opt,name=single_fixed32,json=singleFixed32" json:"single_fixed32,omitempty"` SingleFixed64 *uint64 `protobuf:"fixed64,8,opt,name=single_fixed64,json=singleFixed64" json:"single_fixed64,omitempty"` SingleSfixed32 *int32 `protobuf:"fixed32,9,opt,name=single_sfixed32,json=singleSfixed32" json:"single_sfixed32,omitempty"` SingleSfixed64 *int64 `protobuf:"fixed64,10,opt,name=single_sfixed64,json=singleSfixed64" json:"single_sfixed64,omitempty"` SingleFloat *float32 `protobuf:"fixed32,11,opt,name=single_float,json=singleFloat,def=3" json:"single_float,omitempty"` SingleDouble *float64 `protobuf:"fixed64,12,opt,name=single_double,json=singleDouble,def=6.4" json:"single_double,omitempty"` SingleBool *bool `protobuf:"varint,13,opt,name=single_bool,json=singleBool,def=1" json:"single_bool,omitempty"` SingleString *string `protobuf:"bytes,14,opt,name=single_string,json=singleString,def=empty" json:"single_string,omitempty"` SingleBytes []byte `protobuf:"bytes,15,opt,name=single_bytes,json=singleBytes,def=none" json:"single_bytes,omitempty"` StandaloneEnum *TestAllTypes_NestedEnum `` /* 151-byte string literal not displayed */ SingleAny *any.Any `protobuf:"bytes,100,opt,name=single_any,json=singleAny" json:"single_any,omitempty"` SingleDuration *duration.Duration `protobuf:"bytes,101,opt,name=single_duration,json=singleDuration" json:"single_duration,omitempty"` SingleTimestamp *timestamp.Timestamp `protobuf:"bytes,102,opt,name=single_timestamp,json=singleTimestamp" json:"single_timestamp,omitempty"` SingleStruct *_struct.Struct `protobuf:"bytes,103,opt,name=single_struct,json=singleStruct" json:"single_struct,omitempty"` SingleValue *_struct.Value `protobuf:"bytes,104,opt,name=single_value,json=singleValue" json:"single_value,omitempty"` SingleInt64Wrapper *wrappers.Int64Value `protobuf:"bytes,105,opt,name=single_int64_wrapper,json=singleInt64Wrapper" json:"single_int64_wrapper,omitempty"` SingleInt32Wrapper *wrappers.Int32Value `protobuf:"bytes,106,opt,name=single_int32_wrapper,json=singleInt32Wrapper" json:"single_int32_wrapper,omitempty"` SingleDoubleWrapper *wrappers.DoubleValue `protobuf:"bytes,107,opt,name=single_double_wrapper,json=singleDoubleWrapper" json:"single_double_wrapper,omitempty"` SingleFloatWrapper *wrappers.FloatValue `protobuf:"bytes,108,opt,name=single_float_wrapper,json=singleFloatWrapper" json:"single_float_wrapper,omitempty"` SingleUint64Wrapper *wrappers.UInt64Value `protobuf:"bytes,109,opt,name=single_uint64_wrapper,json=singleUint64Wrapper" json:"single_uint64_wrapper,omitempty"` SingleUint32Wrapper *wrappers.UInt32Value `protobuf:"bytes,110,opt,name=single_uint32_wrapper,json=singleUint32Wrapper" json:"single_uint32_wrapper,omitempty"` SingleStringWrapper *wrappers.StringValue `protobuf:"bytes,111,opt,name=single_string_wrapper,json=singleStringWrapper" json:"single_string_wrapper,omitempty"` SingleBoolWrapper *wrappers.BoolValue `protobuf:"bytes,112,opt,name=single_bool_wrapper,json=singleBoolWrapper" json:"single_bool_wrapper,omitempty"` SingleBytesWrapper *wrappers.BytesValue `protobuf:"bytes,113,opt,name=single_bytes_wrapper,json=singleBytesWrapper" json:"single_bytes_wrapper,omitempty"` // Types that are valid to be assigned to NestedType: // *TestAllTypes_SingleNestedMessage // *TestAllTypes_SingleNestedEnum NestedType isTestAllTypes_NestedType `protobuf_oneof:"nested_type"` RepeatedInt32 []int32 `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"` RepeatedInt64 []int64 `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"` RepeatedUint32 []uint32 `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"` RepeatedUint64 []uint64 `protobuf:"varint,34,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"` RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"` RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"` RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"` RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"` RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"` RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"` RepeatedFloat []float32 `protobuf:"fixed32,41,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"` RepeatedDouble []float64 `protobuf:"fixed64,42,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"` RepeatedBool []bool `protobuf:"varint,43,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"` RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"` RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"` RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"` RepeatedNestedEnum []TestAllTypes_NestedEnum `` /* 165-byte string literal not displayed */ RepeatedStringPiece []string `protobuf:"bytes,54,rep,name=repeated_string_piece,json=repeatedStringPiece" json:"repeated_string_piece,omitempty"` RepeatedCord []string `protobuf:"bytes,55,rep,name=repeated_cord,json=repeatedCord" json:"repeated_cord,omitempty"` RepeatedLazyMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,57,rep,name=repeated_lazy_message,json=repeatedLazyMessage" json:"repeated_lazy_message,omitempty"` MapStringString map[string]string `` /* 176-byte string literal not displayed */ MapInt64NestedType map[int64]*NestedTestAllTypes `` /* 188-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TestAllTypes) Descriptor ¶
func (*TestAllTypes) Descriptor() ([]byte, []int)
func (*TestAllTypes) GetMapInt64NestedType ¶
func (m *TestAllTypes) GetMapInt64NestedType() map[int64]*NestedTestAllTypes
func (*TestAllTypes) GetMapStringString ¶
func (m *TestAllTypes) GetMapStringString() map[string]string
func (*TestAllTypes) GetNestedType ¶
func (m *TestAllTypes) GetNestedType() isTestAllTypes_NestedType
func (*TestAllTypes) GetRepeatedBool ¶
func (m *TestAllTypes) GetRepeatedBool() []bool
func (*TestAllTypes) GetRepeatedBytes ¶
func (m *TestAllTypes) GetRepeatedBytes() [][]byte
func (*TestAllTypes) GetRepeatedCord ¶
func (m *TestAllTypes) GetRepeatedCord() []string
func (*TestAllTypes) GetRepeatedDouble ¶
func (m *TestAllTypes) GetRepeatedDouble() []float64
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) GetRepeatedInt32 ¶
func (m *TestAllTypes) GetRepeatedInt32() []int32
func (*TestAllTypes) GetRepeatedInt64 ¶
func (m *TestAllTypes) GetRepeatedInt64() []int64
func (*TestAllTypes) GetRepeatedLazyMessage ¶
func (m *TestAllTypes) GetRepeatedLazyMessage() []*TestAllTypes_NestedMessage
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) GetRepeatedUint32 ¶
func (m *TestAllTypes) GetRepeatedUint32() []uint32
func (*TestAllTypes) GetRepeatedUint64 ¶
func (m *TestAllTypes) GetRepeatedUint64() []uint64
func (*TestAllTypes) GetSingleAny ¶
func (m *TestAllTypes) GetSingleAny() *any.Any
func (*TestAllTypes) GetSingleBool ¶
func (m *TestAllTypes) GetSingleBool() bool
func (*TestAllTypes) GetSingleBoolWrapper ¶ added in v0.3.0
func (m *TestAllTypes) GetSingleBoolWrapper() *wrappers.BoolValue
func (*TestAllTypes) GetSingleBytes ¶
func (m *TestAllTypes) GetSingleBytes() []byte
func (*TestAllTypes) GetSingleBytesWrapper ¶ added in v0.3.0
func (m *TestAllTypes) GetSingleBytesWrapper() *wrappers.BytesValue
func (*TestAllTypes) GetSingleDouble ¶
func (m *TestAllTypes) GetSingleDouble() float64
func (*TestAllTypes) GetSingleDoubleWrapper ¶ added in v0.3.0
func (m *TestAllTypes) GetSingleDoubleWrapper() *wrappers.DoubleValue
func (*TestAllTypes) GetSingleDuration ¶
func (m *TestAllTypes) GetSingleDuration() *duration.Duration
func (*TestAllTypes) GetSingleFixed32 ¶
func (m *TestAllTypes) GetSingleFixed32() uint32
func (*TestAllTypes) GetSingleFixed64 ¶
func (m *TestAllTypes) GetSingleFixed64() uint64
func (*TestAllTypes) GetSingleFloat ¶
func (m *TestAllTypes) GetSingleFloat() float32
func (*TestAllTypes) GetSingleFloatWrapper ¶ added in v0.3.0
func (m *TestAllTypes) GetSingleFloatWrapper() *wrappers.FloatValue
func (*TestAllTypes) GetSingleInt32 ¶
func (m *TestAllTypes) GetSingleInt32() int32
func (*TestAllTypes) GetSingleInt32Wrapper ¶ added in v0.3.0
func (m *TestAllTypes) GetSingleInt32Wrapper() *wrappers.Int32Value
func (*TestAllTypes) GetSingleInt64 ¶
func (m *TestAllTypes) GetSingleInt64() int64
func (*TestAllTypes) GetSingleInt64Wrapper ¶
func (m *TestAllTypes) GetSingleInt64Wrapper() *wrappers.Int64Value
func (*TestAllTypes) GetSingleNestedEnum ¶
func (m *TestAllTypes) GetSingleNestedEnum() TestAllTypes_NestedEnum
func (*TestAllTypes) GetSingleNestedMessage ¶
func (m *TestAllTypes) GetSingleNestedMessage() *TestAllTypes_NestedMessage
func (*TestAllTypes) GetSingleSfixed32 ¶
func (m *TestAllTypes) GetSingleSfixed32() int32
func (*TestAllTypes) GetSingleSfixed64 ¶
func (m *TestAllTypes) GetSingleSfixed64() int64
func (*TestAllTypes) GetSingleSint32 ¶
func (m *TestAllTypes) GetSingleSint32() int32
func (*TestAllTypes) GetSingleSint64 ¶
func (m *TestAllTypes) GetSingleSint64() int64
func (*TestAllTypes) GetSingleString ¶
func (m *TestAllTypes) GetSingleString() string
func (*TestAllTypes) GetSingleStringWrapper ¶ added in v0.3.0
func (m *TestAllTypes) GetSingleStringWrapper() *wrappers.StringValue
func (*TestAllTypes) GetSingleStruct ¶
func (m *TestAllTypes) GetSingleStruct() *_struct.Struct
func (*TestAllTypes) GetSingleTimestamp ¶
func (m *TestAllTypes) GetSingleTimestamp() *timestamp.Timestamp
func (*TestAllTypes) GetSingleUint32 ¶
func (m *TestAllTypes) GetSingleUint32() uint32
func (*TestAllTypes) GetSingleUint32Wrapper ¶ added in v0.3.0
func (m *TestAllTypes) GetSingleUint32Wrapper() *wrappers.UInt32Value
func (*TestAllTypes) GetSingleUint64 ¶
func (m *TestAllTypes) GetSingleUint64() uint64
func (*TestAllTypes) GetSingleUint64Wrapper ¶ added in v0.3.0
func (m *TestAllTypes) GetSingleUint64Wrapper() *wrappers.UInt64Value
func (*TestAllTypes) GetSingleValue ¶
func (m *TestAllTypes) GetSingleValue() *_struct.Value
func (*TestAllTypes) GetStandaloneEnum ¶ added in v0.4.2
func (m *TestAllTypes) GetStandaloneEnum() TestAllTypes_NestedEnum
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 ¶ added in v0.4.2
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 )
const Default_TestAllTypes_SingleNestedEnum TestAllTypes_NestedEnum = TestAllTypes_BAR
func (TestAllTypes_NestedEnum) Enum ¶
func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum
func (TestAllTypes_NestedEnum) EnumDescriptor ¶
func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int)
func (TestAllTypes_NestedEnum) String ¶
func (x TestAllTypes_NestedEnum) String() string
func (*TestAllTypes_NestedEnum) UnmarshalJSON ¶
func (x *TestAllTypes_NestedEnum) UnmarshalJSON(data []byte) error
type TestAllTypes_NestedMessage ¶
type TestAllTypes_NestedMessage struct { Bb *int32 `protobuf:"varint,1,opt,name=bb" json:"bb,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) GetBb ¶
func (m *TestAllTypes_NestedMessage) GetBb() int32
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_SingleNestedEnum ¶
type TestAllTypes_SingleNestedEnum struct {
SingleNestedEnum TestAllTypes_NestedEnum `` /* 135-byte string literal not displayed */
}
type TestAllTypes_SingleNestedMessage ¶
type TestAllTypes_SingleNestedMessage struct {
SingleNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=single_nested_message,json=singleNestedMessage,oneof"`
}
Click to show internal directories.
Click to hide internal directories.