Documentation
¶
Index ¶
- Constants
- Variables
- type Array
- type Array_builder
- type Map
- type Map_builder
- type Value
- func (x *Value) ClearArrayValue()
- func (x *Value) ClearBoolValue()
- func (x *Value) ClearBytesValue()
- func (x *Value) ClearDoubleValue()
- func (x *Value) ClearDurationValue()
- func (x *Value) ClearIntegerValue()
- func (x *Value) ClearMapValue()
- func (x *Value) ClearStringValue()
- func (x *Value) ClearTimeValue()
- func (x *Value) ClearType()
- func (x *Value) GetArrayValue() *Array
- func (x *Value) GetBoolValue() bool
- func (x *Value) GetBytesValue() []byte
- func (x *Value) GetDoubleValue() float64
- func (x *Value) GetDurationValue() *durationpb.Duration
- func (x *Value) GetIntegerValue() int64
- func (x *Value) GetMapValue() *Map
- func (x *Value) GetStringValue() string
- func (x *Value) GetTimeValue() *timestamppb.Timestamp
- func (x *Value) GetType() isValue_Type
- func (x *Value) HasArrayValue() bool
- func (x *Value) HasBoolValue() bool
- func (x *Value) HasBytesValue() bool
- func (x *Value) HasDoubleValue() bool
- func (x *Value) HasDurationValue() bool
- func (x *Value) HasIntegerValue() bool
- func (x *Value) HasMapValue() bool
- func (x *Value) HasStringValue() bool
- func (x *Value) HasTimeValue() bool
- func (x *Value) HasType() bool
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) SetArrayValue(v *Array)
- func (x *Value) SetBoolValue(v bool)
- func (x *Value) SetBytesValue(v []byte)
- func (x *Value) SetDoubleValue(v float64)
- func (x *Value) SetDurationValue(v *durationpb.Duration)
- func (x *Value) SetIntegerValue(v int64)
- func (x *Value) SetMapValue(v *Map)
- func (x *Value) SetStringValue(v string)
- func (x *Value) SetTimeValue(v *timestamppb.Timestamp)
- func (x *Value) String() string
- func (x *Value) WhichType() case_Value_Type
- type Value_ArrayValue
- type Value_BoolValue
- type Value_BytesValue
- type Value_DoubleValue
- type Value_DurationValue
- type Value_IntegerValue
- type Value_MapValue
- type Value_StringValue
- type Value_TimeValue
- type Value_builder
Constants ¶
View Source
const Value_ArrayValue_case case_Value_Type = 8
View Source
const Value_BoolValue_case case_Value_Type = 1
View Source
const Value_BytesValue_case case_Value_Type = 7
View Source
const Value_DoubleValue_case case_Value_Type = 3
View Source
const Value_DurationValue_case case_Value_Type = 5
View Source
const Value_IntegerValue_case case_Value_Type = 2
View Source
const Value_MapValue_case case_Value_Type = 9
View Source
const Value_StringValue_case case_Value_Type = 6
View Source
const Value_TimeValue_case case_Value_Type = 4
View Source
const Value_Type_not_set_case case_Value_Type = 0
Variables ¶
View Source
var File_indykite_objects_v1beta2_value_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Array ¶
type Array struct {
// Values in the array.
Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
An array value.
func (*Array) ProtoReflect ¶
func (x *Array) ProtoReflect() protoreflect.Message
type Array_builder ¶
type Array_builder struct {
// Values in the array.
Values []*Value
// contains filtered or unexported fields
}
func (Array_builder) Build ¶
func (b0 Array_builder) Build() *Array
type Map ¶
type Map struct {
// The map's keys and values.
Fields map[string]*Value `` /* 139-byte string literal not displayed */
// contains filtered or unexported fields
}
A map value.
func (*Map) ProtoReflect ¶
func (x *Map) ProtoReflect() protoreflect.Message
type Map_builder ¶
type Map_builder struct {
// The map's keys and values.
Fields map[string]*Value
// contains filtered or unexported fields
}
func (Map_builder) Build ¶
func (b0 Map_builder) Build() *Map
type Value ¶
type Value struct {
// Must have a value set.
//
// Types that are valid to be assigned to Type:
//
// *Value_BoolValue
// *Value_IntegerValue
// *Value_DoubleValue
// *Value_TimeValue
// *Value_DurationValue
// *Value_StringValue
// *Value_BytesValue
// *Value_ArrayValue
// *Value_MapValue
Type isValue_Type `protobuf_oneof:"type"`
// contains filtered or unexported fields
}
A message that can hold any of the supported value types.
func (*Value) GetDurationValue ¶
func (x *Value) GetDurationValue() *durationpb.Duration
func (*Value) GetTimeValue ¶
func (x *Value) GetTimeValue() *timestamppb.Timestamp
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
func (*Value) SetDurationValue ¶
func (x *Value) SetDurationValue(v *durationpb.Duration)
func (*Value) SetTimeValue ¶
func (x *Value) SetTimeValue(v *timestamppb.Timestamp)
type Value_ArrayValue ¶
type Value_ArrayValue struct {
// An array value.
ArrayValue *Array `protobuf:"bytes,8,opt,name=array_value,json=arrayValue,proto3,oneof"`
}
type Value_BoolValue ¶
type Value_BoolValue struct {
// A boolean value.
BoolValue bool `protobuf:"varint,1,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type Value_BytesValue ¶
type Value_BytesValue struct {
// A bytes value.
BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}
type Value_DoubleValue ¶
type Value_DoubleValue struct {
// A double value.
DoubleValue float64 `protobuf:"fixed64,3,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
type Value_DurationValue ¶
type Value_DurationValue struct {
// A duration value.
DurationValue *durationpb.Duration `protobuf:"bytes,5,opt,name=duration_value,json=durationValue,proto3,oneof"`
}
type Value_IntegerValue ¶
type Value_IntegerValue struct {
// An integer value.
IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"`
}
type Value_MapValue ¶
type Value_MapValue struct {
// A map value.
MapValue *Map `protobuf:"bytes,9,opt,name=map_value,json=mapValue,proto3,oneof"`
}
type Value_StringValue ¶
type Value_StringValue struct {
// A string value.
StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Value_TimeValue ¶
type Value_TimeValue struct {
// A timestamp value.
TimeValue *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time_value,json=timeValue,proto3,oneof"`
}
type Value_builder ¶
type Value_builder struct {
// Fields of oneof Type:
// A boolean value.
BoolValue *bool
// An integer value.
IntegerValue *int64
// A double value.
DoubleValue *float64
// A timestamp value.
TimeValue *timestamppb.Timestamp
// A duration value.
DurationValue *durationpb.Duration
// A string value.
StringValue *string
// A bytes value.
BytesValue []byte
// An array value.
ArrayValue *Array
// A map value.
MapValue *Map
// contains filtered or unexported fields
}
func (Value_builder) Build ¶
func (b0 Value_builder) Build() *Value
Source Files
¶
- value.pb.go
Click to show internal directories.
Click to hide internal directories.