Documentation ¶
Index ¶
- Variables
- type BigInt
- type Decimal
- type List
- type Map
- type Value
- func NewBigIntValue(sign int, bib []byte) *Value
- func NewBoolValue(b bool) *Value
- func NewBytesValue(b []byte) *Value
- func NewDecimalValue(d decimal.Decimal) *Value
- func NewFloat64(f float64) *Value
- func NewInt64Value(i int64) *Value
- func NewListValue(m []*Value) *Value
- func NewMapValue(m map[string]*Value) *Value
- func NewStringValue(s string) *Value
- func NewTime(t time.Time) *Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetBigintValue() *BigInt
- func (x *Value) GetBoolValue() bool
- func (x *Value) GetBytesValue() []byte
- func (x *Value) GetDecimalValue() *Decimal
- func (x *Value) GetFloat64Value() float64
- func (x *Value) GetInt64Value() int64
- func (x *Value) GetListValue() *List
- func (x *Value) GetMapValue() *Map
- func (x *Value) GetStringValue() string
- func (x *Value) GetTimeValue() *timestamppb.Timestamp
- func (m *Value) GetValue() isValue_Value
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Value_BigintValue
- type Value_BoolValue
- type Value_BytesValue
- type Value_DecimalValue
- type Value_Float64Value
- type Value_Int64Value
- type Value_ListValue
- type Value_MapValue
- type Value_StringValue
- type Value_TimeValue
Constants ¶
This section is empty.
Variables ¶
View Source
var File_values_pb_values_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type BigInt ¶
type BigInt struct { AbsVal []byte `protobuf:"bytes,1,opt,name=abs_val,json=absVal,proto3" json:"abs_val,omitempty"` Sign int64 `protobuf:"varint,2,opt,name=sign,proto3" json:"sign,omitempty"` // contains filtered or unexported fields }
func (*BigInt) Descriptor
deprecated
func (*BigInt) ProtoMessage ¶
func (*BigInt) ProtoMessage()
func (*BigInt) ProtoReflect ¶
func (x *BigInt) ProtoReflect() protoreflect.Message
type Decimal ¶ added in v0.2.2
type Decimal struct { Coefficient *BigInt `protobuf:"bytes,1,opt,name=coefficient,proto3" json:"coefficient,omitempty"` Exponent int32 `protobuf:"varint,2,opt,name=exponent,proto3" json:"exponent,omitempty"` // contains filtered or unexported fields }
func (*Decimal) Descriptor
deprecated
added in
v0.2.2
func (*Decimal) GetCoefficient ¶ added in v0.2.2
func (*Decimal) GetExponent ¶ added in v0.2.2
func (*Decimal) ProtoMessage ¶ added in v0.2.2
func (*Decimal) ProtoMessage()
func (*Decimal) ProtoReflect ¶ added in v0.2.2
func (x *Decimal) ProtoReflect() protoreflect.Message
type List ¶
type List struct { Fields []*Value `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*List) Descriptor
deprecated
func (*List) ProtoMessage ¶
func (*List) ProtoMessage()
func (*List) ProtoReflect ¶
func (x *List) ProtoReflect() protoreflect.Message
type Map ¶
type Map struct { Fields map[string]*Value `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Map) Descriptor
deprecated
func (*Map) ProtoMessage ¶
func (*Map) ProtoMessage()
func (*Map) ProtoReflect ¶
func (x *Map) ProtoReflect() protoreflect.Message
type Value ¶
type Value struct { // Types that are assignable to Value: // // *Value_StringValue // *Value_BoolValue // *Value_BytesValue // *Value_MapValue // *Value_ListValue // *Value_DecimalValue // *Value_Int64Value // *Value_BigintValue // *Value_TimeValue // *Value_Float64Value Value isValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func NewBigIntValue ¶
func NewBoolValue ¶
func NewBytesValue ¶
func NewDecimalValue ¶
func NewFloat64 ¶ added in v0.3.0
func NewInt64Value ¶
func NewListValue ¶
func NewMapValue ¶
func NewStringValue ¶
func (*Value) Descriptor
deprecated
func (*Value) GetBigintValue ¶
func (*Value) GetBoolValue ¶
func (*Value) GetBytesValue ¶
func (*Value) GetDecimalValue ¶
func (*Value) GetFloat64Value ¶ added in v0.3.0
func (*Value) GetInt64Value ¶
func (*Value) GetListValue ¶
func (*Value) GetMapValue ¶
func (*Value) GetStringValue ¶
func (*Value) GetTimeValue ¶ added in v0.3.0
func (x *Value) GetTimeValue() *timestamppb.Timestamp
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type Value_BigintValue ¶
type Value_BigintValue struct {
BigintValue *BigInt `protobuf:"bytes,9,opt,name=bigint_value,json=bigintValue,proto3,oneof"`
}
type Value_BoolValue ¶
type Value_BoolValue struct {
BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type Value_BytesValue ¶
type Value_BytesValue struct {
BytesValue []byte `protobuf:"bytes,3,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}
type Value_DecimalValue ¶
type Value_DecimalValue struct {
DecimalValue *Decimal `protobuf:"bytes,6,opt,name=decimal_value,json=decimalValue,proto3,oneof"`
}
type Value_Float64Value ¶ added in v0.3.0
type Value_Float64Value struct {
Float64Value float64 `protobuf:"fixed64,11,opt,name=float64_value,json=float64Value,proto3,oneof"`
}
type Value_Int64Value ¶
type Value_Int64Value struct {
Int64Value int64 `protobuf:"varint,7,opt,name=int64_value,json=int64Value,proto3,oneof"`
}
type Value_ListValue ¶
type Value_ListValue struct {
ListValue *List `protobuf:"bytes,5,opt,name=list_value,json=listValue,proto3,oneof"`
}
type Value_MapValue ¶
type Value_MapValue struct {
MapValue *Map `protobuf:"bytes,4,opt,name=map_value,json=mapValue,proto3,oneof"`
}
type Value_StringValue ¶
type Value_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Value_TimeValue ¶ added in v0.3.0
type Value_TimeValue struct {
TimeValue *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=time_value,json=timeValue,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.