Documentation ¶
Index ¶
- type Proto2
- func (x *Proto2) GetBoolValue() bool
- func (x *Proto2) GetBytesVal() []byte
- func (x *Proto2) GetDoubleVal() float64
- func (x *Proto2) GetFixed32Val() uint32
- func (x *Proto2) GetFixed64Val() uint64
- func (x *Proto2) GetFloatVal() float32
- func (x *Proto2) GetInt32Val() int32
- func (x *Proto2) GetInt64Val() int64
- func (x *Proto2) GetNested() *Proto2_NestedMessage
- func (x *Proto2) GetSint32Val() int32
- func (x *Proto2) GetSint64Val() int64
- func (x *Proto2) GetStringVal() string
- func (x *Proto2) GetUint32Val() uint32
- func (x *Proto2) GetUint64Val() uint64
- type Proto2_NestedMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Proto2 ¶
type Proto2 struct { BoolValue *bool `protobuf:"varint,1,opt"` Int32Val *int32 `protobuf:"varint,2,opt"` Uint32Val *uint32 `protobuf:"varint,3,opt"` Int64Val *int64 `protobuf:"varint,4,opt"` Uint64Val *uint64 `protobuf:"varint,5,opt"` FloatVal *float32 `protobuf:"fixed32,6,opt"` DoubleVal *float64 `protobuf:"fixed64,7,opt"` StringVal *string `protobuf:"bytes,8,opt"` BytesVal []byte `protobuf:"bytes,9,opt"` Fixed32Val *uint32 `protobuf:"fixed32,10,opt"` Fixed64Val *uint64 `protobuf:"fixed64,11,opt"` Sint32Val *int32 `protobuf:"zigzag32,12,opt"` Sint64Val *int64 `protobuf:"zigzag64,13,opt"` Nested *Proto2_NestedMessage `protobuf:"bytes,14,opt"` }
func (*Proto2) GetBoolValue ¶
func (*Proto2) GetBytesVal ¶
func (*Proto2) GetDoubleVal ¶
func (*Proto2) GetFixed32Val ¶
func (*Proto2) GetFixed64Val ¶
func (*Proto2) GetFloatVal ¶
func (*Proto2) GetInt32Val ¶
func (*Proto2) GetInt64Val ¶
func (*Proto2) GetNested ¶
func (x *Proto2) GetNested() *Proto2_NestedMessage
func (*Proto2) GetSint32Val ¶
func (*Proto2) GetSint64Val ¶
func (*Proto2) GetStringVal ¶
func (*Proto2) GetUint32Val ¶
func (*Proto2) GetUint64Val ¶
type Proto2_NestedMessage ¶
type Proto2_NestedMessage struct { Int32Val *int32 `protobuf:"varint,1,opt"` Int64Val *int64 `protobuf:"varint,2,opt"` StringVal *string `protobuf:"bytes,3,opt"` }
func (*Proto2_NestedMessage) GetInt32Val ¶
func (x *Proto2_NestedMessage) GetInt32Val() int32
func (*Proto2_NestedMessage) GetInt64Val ¶
func (x *Proto2_NestedMessage) GetInt64Val() int64
func (*Proto2_NestedMessage) GetStringVal ¶
func (x *Proto2_NestedMessage) GetStringVal() string
Click to show internal directories.
Click to hide internal directories.