Documentation ¶
Index ¶
- Variables
- type List
- type Map
- type Value
- func NewBoolValue(b bool) (*Value, error)
- func NewBytesValue(b []byte) (*Value, error)
- func NewDecimalValue(d decimal.Decimal) (*Value, error)
- func NewInt64Value(i int64) (*Value, error)
- func NewListValue(m []*Value) (*Value, error)
- func NewMapValue(m map[string]*Value) (*Value, error)
- func NewStringValue(s string) (*Value, error)
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetBoolValue() bool
- func (x *Value) GetBytesValue() string
- func (x *Value) GetDecimalValue() string
- func (x *Value) GetInt64Value() int64
- func (x *Value) GetListValue() *List
- func (x *Value) GetMapValue() *Map
- func (x *Value) GetStringValue() string
- 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_BoolValue
- type Value_BytesValue
- type Value_DecimalValue
- type Value_Int64Value
- type Value_ListValue
- type Value_MapValue
- type Value_StringValue
Constants ¶
This section is empty.
Variables ¶
View Source
var File_values_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
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 isValue_Value `protobuf_oneof:"value"` // contains filtered or unexported fields }
func NewBoolValue ¶
func NewBytesValue ¶
func NewInt64Value ¶
func NewListValue ¶
func NewStringValue ¶
func (*Value) Descriptor
deprecated
func (*Value) GetBoolValue ¶
func (*Value) GetBytesValue ¶
func (*Value) GetDecimalValue ¶
func (*Value) GetInt64Value ¶
func (*Value) GetListValue ¶
func (*Value) GetMapValue ¶
func (*Value) GetStringValue ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
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 string `protobuf:"bytes,3,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}
type Value_DecimalValue ¶
type Value_DecimalValue struct {
DecimalValue string `protobuf:"bytes,6,opt,name=decimal_value,json=decimalValue,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"`
}
Click to show internal directories.
Click to hide internal directories.