Documentation ¶
Overview ¶
Package wrappers is a generated protocol buffer package.
It is generated from these files:
wrappers/wrappers.proto
It has these top-level messages:
DoubleValue FloatValue Int64Value UInt64Value Int32Value UInt32Value BoolValue StringValue BytesValue
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoolValue ¶
type BoolValue struct { // The bool value. Value bool }
Wrapper message for `bool`.
The JSON representation for `BoolValue` is JSON `true` and `false`.
func (*BoolValue) MarshalToWriter ¶
MarshalToWriter marshals BoolValue to the provided writer.
type BytesValue ¶
type BytesValue struct { // The bytes value. Value []byte }
Wrapper message for `bytes`.
The JSON representation for `BytesValue` is JSON string.
func (*BytesValue) GetValue ¶
func (m *BytesValue) GetValue() (x []byte)
GetValue gets the Value of the BytesValue.
func (*BytesValue) Marshal ¶
func (m *BytesValue) Marshal() []byte
Marshal marshals BytesValue to a slice of bytes.
func (*BytesValue) MarshalToWriter ¶
func (m *BytesValue) MarshalToWriter(writer jspb.Writer)
MarshalToWriter marshals BytesValue to the provided writer.
func (*BytesValue) Unmarshal ¶
func (m *BytesValue) Unmarshal(rawBytes []byte) (*BytesValue, error)
Unmarshal unmarshals a BytesValue from a slice of bytes.
func (*BytesValue) UnmarshalFromReader ¶
func (m *BytesValue) UnmarshalFromReader(reader jspb.Reader) *BytesValue
UnmarshalFromReader unmarshals a BytesValue from the provided reader.
type DoubleValue ¶
type DoubleValue struct { // The double value. Value float64 }
Wrapper message for `double`.
The JSON representation for `DoubleValue` is JSON number.
func (*DoubleValue) GetValue ¶
func (m *DoubleValue) GetValue() (x float64)
GetValue gets the Value of the DoubleValue.
func (*DoubleValue) Marshal ¶
func (m *DoubleValue) Marshal() []byte
Marshal marshals DoubleValue to a slice of bytes.
func (*DoubleValue) MarshalToWriter ¶
func (m *DoubleValue) MarshalToWriter(writer jspb.Writer)
MarshalToWriter marshals DoubleValue to the provided writer.
func (*DoubleValue) Unmarshal ¶
func (m *DoubleValue) Unmarshal(rawBytes []byte) (*DoubleValue, error)
Unmarshal unmarshals a DoubleValue from a slice of bytes.
func (*DoubleValue) UnmarshalFromReader ¶
func (m *DoubleValue) UnmarshalFromReader(reader jspb.Reader) *DoubleValue
UnmarshalFromReader unmarshals a DoubleValue from the provided reader.
type FloatValue ¶
type FloatValue struct { // The float value. Value float32 }
Wrapper message for `float`.
The JSON representation for `FloatValue` is JSON number.
func (*FloatValue) GetValue ¶
func (m *FloatValue) GetValue() (x float32)
GetValue gets the Value of the FloatValue.
func (*FloatValue) Marshal ¶
func (m *FloatValue) Marshal() []byte
Marshal marshals FloatValue to a slice of bytes.
func (*FloatValue) MarshalToWriter ¶
func (m *FloatValue) MarshalToWriter(writer jspb.Writer)
MarshalToWriter marshals FloatValue to the provided writer.
func (*FloatValue) Unmarshal ¶
func (m *FloatValue) Unmarshal(rawBytes []byte) (*FloatValue, error)
Unmarshal unmarshals a FloatValue from a slice of bytes.
func (*FloatValue) UnmarshalFromReader ¶
func (m *FloatValue) UnmarshalFromReader(reader jspb.Reader) *FloatValue
UnmarshalFromReader unmarshals a FloatValue from the provided reader.
type Int32Value ¶
type Int32Value struct { // The int32 value. Value int32 }
Wrapper message for `int32`.
The JSON representation for `Int32Value` is JSON number.
func (*Int32Value) GetValue ¶
func (m *Int32Value) GetValue() (x int32)
GetValue gets the Value of the Int32Value.
func (*Int32Value) Marshal ¶
func (m *Int32Value) Marshal() []byte
Marshal marshals Int32Value to a slice of bytes.
func (*Int32Value) MarshalToWriter ¶
func (m *Int32Value) MarshalToWriter(writer jspb.Writer)
MarshalToWriter marshals Int32Value to the provided writer.
func (*Int32Value) Unmarshal ¶
func (m *Int32Value) Unmarshal(rawBytes []byte) (*Int32Value, error)
Unmarshal unmarshals a Int32Value from a slice of bytes.
func (*Int32Value) UnmarshalFromReader ¶
func (m *Int32Value) UnmarshalFromReader(reader jspb.Reader) *Int32Value
UnmarshalFromReader unmarshals a Int32Value from the provided reader.
type Int64Value ¶
type Int64Value struct { // The int64 value. Value int64 }
Wrapper message for `int64`.
The JSON representation for `Int64Value` is JSON string.
func (*Int64Value) GetValue ¶
func (m *Int64Value) GetValue() (x int64)
GetValue gets the Value of the Int64Value.
func (*Int64Value) Marshal ¶
func (m *Int64Value) Marshal() []byte
Marshal marshals Int64Value to a slice of bytes.
func (*Int64Value) MarshalToWriter ¶
func (m *Int64Value) MarshalToWriter(writer jspb.Writer)
MarshalToWriter marshals Int64Value to the provided writer.
func (*Int64Value) Unmarshal ¶
func (m *Int64Value) Unmarshal(rawBytes []byte) (*Int64Value, error)
Unmarshal unmarshals a Int64Value from a slice of bytes.
func (*Int64Value) UnmarshalFromReader ¶
func (m *Int64Value) UnmarshalFromReader(reader jspb.Reader) *Int64Value
UnmarshalFromReader unmarshals a Int64Value from the provided reader.
type StringValue ¶
type StringValue struct { // The string value. Value string }
Wrapper message for `string`.
The JSON representation for `StringValue` is JSON string.
func (*StringValue) GetValue ¶
func (m *StringValue) GetValue() (x string)
GetValue gets the Value of the StringValue.
func (*StringValue) Marshal ¶
func (m *StringValue) Marshal() []byte
Marshal marshals StringValue to a slice of bytes.
func (*StringValue) MarshalToWriter ¶
func (m *StringValue) MarshalToWriter(writer jspb.Writer)
MarshalToWriter marshals StringValue to the provided writer.
func (*StringValue) Unmarshal ¶
func (m *StringValue) Unmarshal(rawBytes []byte) (*StringValue, error)
Unmarshal unmarshals a StringValue from a slice of bytes.
func (*StringValue) UnmarshalFromReader ¶
func (m *StringValue) UnmarshalFromReader(reader jspb.Reader) *StringValue
UnmarshalFromReader unmarshals a StringValue from the provided reader.
type UInt32Value ¶
type UInt32Value struct { // The uint32 value. Value uint32 }
Wrapper message for `uint32`.
The JSON representation for `UInt32Value` is JSON number.
func (*UInt32Value) GetValue ¶
func (m *UInt32Value) GetValue() (x uint32)
GetValue gets the Value of the UInt32Value.
func (*UInt32Value) Marshal ¶
func (m *UInt32Value) Marshal() []byte
Marshal marshals UInt32Value to a slice of bytes.
func (*UInt32Value) MarshalToWriter ¶
func (m *UInt32Value) MarshalToWriter(writer jspb.Writer)
MarshalToWriter marshals UInt32Value to the provided writer.
func (*UInt32Value) Unmarshal ¶
func (m *UInt32Value) Unmarshal(rawBytes []byte) (*UInt32Value, error)
Unmarshal unmarshals a UInt32Value from a slice of bytes.
func (*UInt32Value) UnmarshalFromReader ¶
func (m *UInt32Value) UnmarshalFromReader(reader jspb.Reader) *UInt32Value
UnmarshalFromReader unmarshals a UInt32Value from the provided reader.
type UInt64Value ¶
type UInt64Value struct { // The uint64 value. Value uint64 }
Wrapper message for `uint64`.
The JSON representation for `UInt64Value` is JSON string.
func (*UInt64Value) GetValue ¶
func (m *UInt64Value) GetValue() (x uint64)
GetValue gets the Value of the UInt64Value.
func (*UInt64Value) Marshal ¶
func (m *UInt64Value) Marshal() []byte
Marshal marshals UInt64Value to a slice of bytes.
func (*UInt64Value) MarshalToWriter ¶
func (m *UInt64Value) MarshalToWriter(writer jspb.Writer)
MarshalToWriter marshals UInt64Value to the provided writer.
func (*UInt64Value) Unmarshal ¶
func (m *UInt64Value) Unmarshal(rawBytes []byte) (*UInt64Value, error)
Unmarshal unmarshals a UInt64Value from a slice of bytes.
func (*UInt64Value) UnmarshalFromReader ¶
func (m *UInt64Value) UnmarshalFromReader(reader jspb.Reader) *UInt64Value
UnmarshalFromReader unmarshals a UInt64Value from the provided reader.