Documentation ¶
Index ¶
- type EnumValue
- func (*EnumValue) Descriptor() ([]byte, []int)
- func (m *EnumValue) GetType() string
- func (m *EnumValue) GetValue() int32
- func (*EnumValue) ProtoMessage()
- func (m *EnumValue) Reset()
- func (m *EnumValue) String() string
- func (m *EnumValue) XXX_DiscardUnknown()
- func (m *EnumValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EnumValue) XXX_Merge(src proto.Message)
- func (m *EnumValue) XXX_Size() int
- func (m *EnumValue) XXX_Unmarshal(b []byte) error
- type ListValue
- func (*ListValue) Descriptor() ([]byte, []int)
- func (m *ListValue) GetValues() []*Value
- func (*ListValue) ProtoMessage()
- func (m *ListValue) Reset()
- func (m *ListValue) String() string
- func (m *ListValue) XXX_DiscardUnknown()
- func (m *ListValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListValue) XXX_Merge(src proto.Message)
- func (m *ListValue) XXX_Size() int
- func (m *ListValue) XXX_Unmarshal(b []byte) error
- type MapValue
- func (*MapValue) Descriptor() ([]byte, []int)
- func (m *MapValue) GetEntries() []*MapValue_Entry
- func (*MapValue) ProtoMessage()
- func (m *MapValue) Reset()
- func (m *MapValue) String() string
- func (m *MapValue) XXX_DiscardUnknown()
- func (m *MapValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MapValue) XXX_Merge(src proto.Message)
- func (m *MapValue) XXX_Size() int
- func (m *MapValue) XXX_Unmarshal(b []byte) error
- type MapValue_Entry
- func (*MapValue_Entry) Descriptor() ([]byte, []int)
- func (m *MapValue_Entry) GetKey() *Value
- func (m *MapValue_Entry) GetValue() *Value
- func (*MapValue_Entry) ProtoMessage()
- func (m *MapValue_Entry) Reset()
- func (m *MapValue_Entry) String() string
- func (m *MapValue_Entry) XXX_DiscardUnknown()
- func (m *MapValue_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MapValue_Entry) XXX_Merge(src proto.Message)
- func (m *MapValue_Entry) XXX_Size() int
- func (m *MapValue_Entry) XXX_Unmarshal(b []byte) error
- type Value
- func (*Value) Descriptor() ([]byte, []int)
- func (m *Value) GetBoolValue() bool
- func (m *Value) GetBytesValue() []byte
- func (m *Value) GetDoubleValue() float64
- func (m *Value) GetEnumValue() *EnumValue
- func (m *Value) GetInt64Value() int64
- func (m *Value) GetKind() isValue_Kind
- func (m *Value) GetListValue() *ListValue
- func (m *Value) GetMapValue() *MapValue
- func (m *Value) GetNullValue() _struct.NullValue
- func (m *Value) GetObjectValue() *any.Any
- func (m *Value) GetStringValue() string
- func (m *Value) GetTypeValue() string
- func (m *Value) GetUint64Value() uint64
- func (*Value) ProtoMessage()
- func (m *Value) Reset()
- func (m *Value) String() string
- func (m *Value) XXX_DiscardUnknown()
- func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Value) XXX_Merge(src proto.Message)
- func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- func (m *Value) XXX_Size() int
- func (m *Value) XXX_Unmarshal(b []byte) error
- type Value_BoolValue
- type Value_BytesValue
- type Value_DoubleValue
- type Value_EnumValue
- type Value_Int64Value
- type Value_ListValue
- type Value_MapValue
- type Value_NullValue
- type Value_ObjectValue
- type Value_StringValue
- type Value_TypeValue
- type Value_Uint64Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnumValue ¶
type EnumValue struct { // The fully qualified name of the enum type. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // The value of the enum. Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An enum value.
func (*EnumValue) Descriptor ¶
func (*EnumValue) ProtoMessage ¶
func (*EnumValue) ProtoMessage()
func (*EnumValue) XXX_DiscardUnknown ¶
func (m *EnumValue) XXX_DiscardUnknown()
func (*EnumValue) XXX_Marshal ¶
func (*EnumValue) XXX_Unmarshal ¶
type ListValue ¶
type ListValue struct { // The ordered values in the list. Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A list.
Wrapped in a message so 'not set' and empty can be differentiated, which is required for use in a 'oneof'.
func (*ListValue) Descriptor ¶
func (*ListValue) ProtoMessage ¶
func (*ListValue) ProtoMessage()
func (*ListValue) XXX_DiscardUnknown ¶
func (m *ListValue) XXX_DiscardUnknown()
func (*ListValue) XXX_Marshal ¶
func (*ListValue) XXX_Unmarshal ¶
type MapValue ¶
type MapValue struct { // The set of map entries. // // CEL has fewer restrictions on keys, so a protobuf map represenation // cannot be used. Entries []*MapValue_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
A map.
Wrapped in a message so 'not set' and empty can be differentiated, which is required for use in a 'oneof'.
func (*MapValue) Descriptor ¶
func (*MapValue) GetEntries ¶
func (m *MapValue) GetEntries() []*MapValue_Entry
func (*MapValue) ProtoMessage ¶
func (*MapValue) ProtoMessage()
func (*MapValue) XXX_DiscardUnknown ¶
func (m *MapValue) XXX_DiscardUnknown()
func (*MapValue) XXX_Marshal ¶
func (*MapValue) XXX_Unmarshal ¶
type MapValue_Entry ¶
type MapValue_Entry struct { // The key. // // Must be unique with in the map. // Currently only boolean, int, uint, and string values can be keys. Key *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The value. Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
An entry in the map.
func (*MapValue_Entry) Descriptor ¶
func (*MapValue_Entry) Descriptor() ([]byte, []int)
func (*MapValue_Entry) GetKey ¶
func (m *MapValue_Entry) GetKey() *Value
func (*MapValue_Entry) GetValue ¶
func (m *MapValue_Entry) GetValue() *Value
func (*MapValue_Entry) ProtoMessage ¶
func (*MapValue_Entry) ProtoMessage()
func (*MapValue_Entry) Reset ¶
func (m *MapValue_Entry) Reset()
func (*MapValue_Entry) String ¶
func (m *MapValue_Entry) String() string
func (*MapValue_Entry) XXX_DiscardUnknown ¶
func (m *MapValue_Entry) XXX_DiscardUnknown()
func (*MapValue_Entry) XXX_Marshal ¶
func (m *MapValue_Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MapValue_Entry) XXX_Merge ¶
func (m *MapValue_Entry) XXX_Merge(src proto.Message)
func (*MapValue_Entry) XXX_Size ¶
func (m *MapValue_Entry) XXX_Size() int
func (*MapValue_Entry) XXX_Unmarshal ¶
func (m *MapValue_Entry) XXX_Unmarshal(b []byte) error
type Value ¶
type Value struct { // Required. The valid kinds of values. // // Types that are valid to be assigned to Kind: // *Value_NullValue // *Value_BoolValue // *Value_Int64Value // *Value_Uint64Value // *Value_DoubleValue // *Value_StringValue // *Value_BytesValue // *Value_EnumValue // *Value_ObjectValue // *Value_MapValue // *Value_ListValue // *Value_TypeValue Kind isValue_Kind `protobuf_oneof:"kind"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Represents a CEL value.
This is similar to `google.protobuf.Value`, but can represent CEL's full range of values.
func (*Value) Descriptor ¶
func (*Value) GetBoolValue ¶
func (*Value) GetBytesValue ¶
func (*Value) GetDoubleValue ¶
func (*Value) GetEnumValue ¶
func (*Value) GetInt64Value ¶
func (*Value) GetListValue ¶
func (*Value) GetMapValue ¶
func (*Value) GetNullValue ¶
func (*Value) GetObjectValue ¶
func (*Value) GetStringValue ¶
func (*Value) GetTypeValue ¶
func (*Value) GetUint64Value ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) XXX_DiscardUnknown ¶
func (m *Value) XXX_DiscardUnknown()
func (*Value) XXX_Marshal ¶
func (*Value) XXX_OneofFuncs ¶
func (*Value) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})
XXX_OneofFuncs is for the internal use of the proto package.
func (*Value) XXX_Unmarshal ¶
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,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`
}
type Value_DoubleValue ¶
type Value_DoubleValue struct {
DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"`
}
type Value_EnumValue ¶
type Value_EnumValue struct {
EnumValue *EnumValue `protobuf:"bytes,9,opt,name=enum_value,json=enumValue,proto3,oneof"`
}
type Value_Int64Value ¶
type Value_Int64Value struct {
Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`
}
type Value_ListValue ¶
type Value_ListValue struct {
ListValue *ListValue `protobuf:"bytes,12,opt,name=list_value,json=listValue,proto3,oneof"`
}
type Value_MapValue ¶
type Value_MapValue struct {
MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,proto3,oneof"`
}
type Value_NullValue ¶
type Value_ObjectValue ¶
type Value_StringValue ¶
type Value_StringValue struct {
StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Value_TypeValue ¶
type Value_TypeValue struct {
TypeValue string `protobuf:"bytes,15,opt,name=type_value,json=typeValue,proto3,oneof"`
}
type Value_Uint64Value ¶
type Value_Uint64Value struct {
Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"`
}
Click to show internal directories.
Click to hide internal directories.