expr
packagemoduleThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
README¶
Common Expression Language
The Common Expression Language (CEL) implements common semantics for expressionevaluation, enabling different applications to more easily interoperate.
Key Applications
- Security policy: organizations have complex infrastructure and need commontooling to reason about the system as a whole
- Protocols: expressions are a useful data type and require interoperabilityacross programming languages and platforms.
Guiding philosophy:
- Keep it small & fast.
- CEL evaluates in linear time, is mutation free, and not Turing-complete.This limitation is a feature of the language design, which allows theimplementation to evaluate orders of magnitude faster than equivalentlysandboxed JavaScript.
- Make it extensible.
- CEL is designed to be embedded in applications, and allows forextensibility via its context which allows for functions and data to beprovided by the software that embeds it.
- Developer-friendly.
- The language is approachable to developers. The initial spec was basedon the experience of developing Firebase Rules and usability testingmany prior iterations.
- The library itself and accompanying toolings should be easy to adopt byteams that seek to integrate CEL into their platforms.
The required components of a system that supports CEL are:
- The textual representation of an expression as written by a developer. It isof similar syntax to expressions in C/C++/Java/JavaScript
- A representation of the program's abstract syntax tree (AST).
- A compiler library that converts the textual representation to the binaryrepresentation. This can be done ahead of time (in the control plane) orjust before evaluation (in the data plane).
- A context containing one or more typed variables, often protobuf messages.Most use-cases will use
attribute_context.proto - An evaluator library that takes the binary format in the context andproduces a result, usually a Boolean.
For use cases which require persistence or cross-process communcation, it ishighly recommended to serialize the type-checked expression as a protocolbuffer. The CEL team will maintains canonical protocol buffers for ASTs andwill keep these versions identical and wire-compatible in perpetuity:
Example of boolean conditions and object construction:
// Conditionaccount.balance >= transaction.withdrawal || (account.overdraftProtection && account.overdraftLimit >= transaction.withdrawal - account.balance)// Object constructioncommon.GeoPoint{ latitude: 10.0, longitude: -5.5 }For more detail, see:
Released under theApache License.
Documentation¶
Index¶
- Variables
- type CheckedExpr
- func (*CheckedExpr) Descriptor() ([]byte, []int)deprecated
- func (x *CheckedExpr) GetExpr() *Expr
- func (x *CheckedExpr) GetExprVersion() string
- func (x *CheckedExpr) GetReferenceMap() map[int64]*Reference
- func (x *CheckedExpr) GetSourceInfo() *SourceInfo
- func (x *CheckedExpr) GetTypeMap() map[int64]*Type
- func (*CheckedExpr) ProtoMessage()
- func (x *CheckedExpr) ProtoReflect() protoreflect.Message
- func (x *CheckedExpr) Reset()
- func (x *CheckedExpr) String() string
- type Constant
- func (*Constant) Descriptor() ([]byte, []int)deprecated
- func (x *Constant) GetBoolValue() bool
- func (x *Constant) GetBytesValue() []byte
- func (x *Constant) GetConstantKind() isConstant_ConstantKind
- func (x *Constant) GetDoubleValue() float64
- func (x *Constant) GetDurationValue() *durationpb.Durationdeprecated
- func (x *Constant) GetInt64Value() int64
- func (x *Constant) GetNullValue() structpb.NullValue
- func (x *Constant) GetStringValue() string
- func (x *Constant) GetTimestampValue() *timestamppb.Timestampdeprecated
- func (x *Constant) GetUint64Value() uint64
- func (*Constant) ProtoMessage()
- func (x *Constant) ProtoReflect() protoreflect.Message
- func (x *Constant) Reset()
- func (x *Constant) String() string
- type Constant_BoolValue
- type Constant_BytesValue
- type Constant_DoubleValue
- type Constant_DurationValue
- type Constant_Int64Value
- type Constant_NullValue
- type Constant_StringValue
- type Constant_TimestampValue
- type Constant_Uint64Value
- type Decl
- func (*Decl) Descriptor() ([]byte, []int)deprecated
- func (x *Decl) GetDeclKind() isDecl_DeclKind
- func (x *Decl) GetFunction() *Decl_FunctionDecl
- func (x *Decl) GetIdent() *Decl_IdentDecl
- func (x *Decl) GetName() string
- func (*Decl) ProtoMessage()
- func (x *Decl) ProtoReflect() protoreflect.Message
- func (x *Decl) Reset()
- func (x *Decl) String() string
- type Decl_Function
- type Decl_FunctionDecl
- func (*Decl_FunctionDecl) Descriptor() ([]byte, []int)deprecated
- func (x *Decl_FunctionDecl) GetDoc() string
- func (x *Decl_FunctionDecl) GetOverloads() []*Decl_FunctionDecl_Overload
- func (*Decl_FunctionDecl) ProtoMessage()
- func (x *Decl_FunctionDecl) ProtoReflect() protoreflect.Message
- func (x *Decl_FunctionDecl) Reset()
- func (x *Decl_FunctionDecl) String() string
- type Decl_FunctionDecl_Overload
- func (*Decl_FunctionDecl_Overload) Descriptor() ([]byte, []int)deprecated
- func (x *Decl_FunctionDecl_Overload) GetDoc() string
- func (x *Decl_FunctionDecl_Overload) GetIsInstanceFunction() bool
- func (x *Decl_FunctionDecl_Overload) GetOverloadId() string
- func (x *Decl_FunctionDecl_Overload) GetParams() []*Type
- func (x *Decl_FunctionDecl_Overload) GetResultType() *Type
- func (x *Decl_FunctionDecl_Overload) GetTypeParams() []string
- func (*Decl_FunctionDecl_Overload) ProtoMessage()
- func (x *Decl_FunctionDecl_Overload) ProtoReflect() protoreflect.Message
- func (x *Decl_FunctionDecl_Overload) Reset()
- func (x *Decl_FunctionDecl_Overload) String() string
- type Decl_Ident
- type Decl_IdentDecl
- func (*Decl_IdentDecl) Descriptor() ([]byte, []int)deprecated
- func (x *Decl_IdentDecl) GetDoc() string
- func (x *Decl_IdentDecl) GetType() *Type
- func (x *Decl_IdentDecl) GetValue() *Constant
- func (*Decl_IdentDecl) ProtoMessage()
- func (x *Decl_IdentDecl) ProtoReflect() protoreflect.Message
- func (x *Decl_IdentDecl) Reset()
- func (x *Decl_IdentDecl) String() string
- type EnumValue
- type ErrorSet
- type EvalState
- func (*EvalState) Descriptor() ([]byte, []int)deprecated
- func (x *EvalState) GetResults() []*EvalState_Result
- func (x *EvalState) GetValues() []*ExprValue
- func (*EvalState) ProtoMessage()
- func (x *EvalState) ProtoReflect() protoreflect.Message
- func (x *EvalState) Reset()
- func (x *EvalState) String() string
- type EvalState_Result
- func (*EvalState_Result) Descriptor() ([]byte, []int)deprecated
- func (x *EvalState_Result) GetExpr() int64
- func (x *EvalState_Result) GetValue() int64
- func (*EvalState_Result) ProtoMessage()
- func (x *EvalState_Result) ProtoReflect() protoreflect.Message
- func (x *EvalState_Result) Reset()
- func (x *EvalState_Result) String() string
- type Explaindeprecated
- type Explain_ExprStep
- func (*Explain_ExprStep) Descriptor() ([]byte, []int)deprecated
- func (x *Explain_ExprStep) GetId() int64
- func (x *Explain_ExprStep) GetValueIndex() int32
- func (*Explain_ExprStep) ProtoMessage()
- func (x *Explain_ExprStep) ProtoReflect() protoreflect.Message
- func (x *Explain_ExprStep) Reset()
- func (x *Explain_ExprStep) String() string
- type Expr
- func (*Expr) Descriptor() ([]byte, []int)deprecated
- func (x *Expr) GetCallExpr() *Expr_Call
- func (x *Expr) GetComprehensionExpr() *Expr_Comprehension
- func (x *Expr) GetConstExpr() *Constant
- func (x *Expr) GetExprKind() isExpr_ExprKind
- func (x *Expr) GetId() int64
- func (x *Expr) GetIdentExpr() *Expr_Ident
- func (x *Expr) GetListExpr() *Expr_CreateList
- func (x *Expr) GetSelectExpr() *Expr_Select
- func (x *Expr) GetStructExpr() *Expr_CreateStruct
- func (*Expr) ProtoMessage()
- func (x *Expr) ProtoReflect() protoreflect.Message
- func (x *Expr) Reset()
- func (x *Expr) String() string
- type ExprValue
- func (*ExprValue) Descriptor() ([]byte, []int)deprecated
- func (x *ExprValue) GetError() *ErrorSet
- func (x *ExprValue) GetKind() isExprValue_Kind
- func (x *ExprValue) GetUnknown() *UnknownSet
- func (x *ExprValue) GetValue() *Value
- func (*ExprValue) ProtoMessage()
- func (x *ExprValue) ProtoReflect() protoreflect.Message
- func (x *ExprValue) Reset()
- func (x *ExprValue) String() string
- type ExprValue_Error
- type ExprValue_Unknown
- type ExprValue_Value
- type Expr_Call
- func (*Expr_Call) Descriptor() ([]byte, []int)deprecated
- func (x *Expr_Call) GetArgs() []*Expr
- func (x *Expr_Call) GetFunction() string
- func (x *Expr_Call) GetTarget() *Expr
- func (*Expr_Call) ProtoMessage()
- func (x *Expr_Call) ProtoReflect() protoreflect.Message
- func (x *Expr_Call) Reset()
- func (x *Expr_Call) String() string
- type Expr_CallExpr
- type Expr_Comprehension
- func (*Expr_Comprehension) Descriptor() ([]byte, []int)deprecated
- func (x *Expr_Comprehension) GetAccuInit() *Expr
- func (x *Expr_Comprehension) GetAccuVar() string
- func (x *Expr_Comprehension) GetIterRange() *Expr
- func (x *Expr_Comprehension) GetIterVar() string
- func (x *Expr_Comprehension) GetIterVar2() string
- func (x *Expr_Comprehension) GetLoopCondition() *Expr
- func (x *Expr_Comprehension) GetLoopStep() *Expr
- func (x *Expr_Comprehension) GetResult() *Expr
- func (*Expr_Comprehension) ProtoMessage()
- func (x *Expr_Comprehension) ProtoReflect() protoreflect.Message
- func (x *Expr_Comprehension) Reset()
- func (x *Expr_Comprehension) String() string
- type Expr_ComprehensionExpr
- type Expr_ConstExpr
- type Expr_CreateList
- func (*Expr_CreateList) Descriptor() ([]byte, []int)deprecated
- func (x *Expr_CreateList) GetElements() []*Expr
- func (x *Expr_CreateList) GetOptionalIndices() []int32
- func (*Expr_CreateList) ProtoMessage()
- func (x *Expr_CreateList) ProtoReflect() protoreflect.Message
- func (x *Expr_CreateList) Reset()
- func (x *Expr_CreateList) String() string
- type Expr_CreateStruct
- func (*Expr_CreateStruct) Descriptor() ([]byte, []int)deprecated
- func (x *Expr_CreateStruct) GetEntries() []*Expr_CreateStruct_Entry
- func (x *Expr_CreateStruct) GetMessageName() string
- func (*Expr_CreateStruct) ProtoMessage()
- func (x *Expr_CreateStruct) ProtoReflect() protoreflect.Message
- func (x *Expr_CreateStruct) Reset()
- func (x *Expr_CreateStruct) String() string
- type Expr_CreateStruct_Entry
- func (*Expr_CreateStruct_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Expr_CreateStruct_Entry) GetFieldKey() string
- func (x *Expr_CreateStruct_Entry) GetId() int64
- func (x *Expr_CreateStruct_Entry) GetKeyKind() isExpr_CreateStruct_Entry_KeyKind
- func (x *Expr_CreateStruct_Entry) GetMapKey() *Expr
- func (x *Expr_CreateStruct_Entry) GetOptionalEntry() bool
- func (x *Expr_CreateStruct_Entry) GetValue() *Expr
- func (*Expr_CreateStruct_Entry) ProtoMessage()
- func (x *Expr_CreateStruct_Entry) ProtoReflect() protoreflect.Message
- func (x *Expr_CreateStruct_Entry) Reset()
- func (x *Expr_CreateStruct_Entry) String() string
- type Expr_CreateStruct_Entry_FieldKey
- type Expr_CreateStruct_Entry_MapKey
- type Expr_Ident
- type Expr_IdentExpr
- type Expr_ListExpr
- type Expr_Select
- func (*Expr_Select) Descriptor() ([]byte, []int)deprecated
- func (x *Expr_Select) GetField() string
- func (x *Expr_Select) GetOperand() *Expr
- func (x *Expr_Select) GetTestOnly() bool
- func (*Expr_Select) ProtoMessage()
- func (x *Expr_Select) ProtoReflect() protoreflect.Message
- func (x *Expr_Select) Reset()
- func (x *Expr_Select) String() string
- type Expr_SelectExpr
- type Expr_StructExpr
- type ListValue
- type MapValue
- type MapValue_Entry
- func (*MapValue_Entry) Descriptor() ([]byte, []int)deprecated
- func (x *MapValue_Entry) GetKey() *Value
- func (x *MapValue_Entry) GetValue() *Value
- func (*MapValue_Entry) ProtoMessage()
- func (x *MapValue_Entry) ProtoReflect() protoreflect.Message
- func (x *MapValue_Entry) Reset()
- func (x *MapValue_Entry) String() string
- type ParsedExpr
- type Reference
- func (*Reference) Descriptor() ([]byte, []int)deprecated
- func (x *Reference) GetName() string
- func (x *Reference) GetOverloadId() []string
- func (x *Reference) GetValue() *Constant
- func (*Reference) ProtoMessage()
- func (x *Reference) ProtoReflect() protoreflect.Message
- func (x *Reference) Reset()
- func (x *Reference) String() string
- type SourceInfo
- func (*SourceInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SourceInfo) GetExtensions() []*SourceInfo_Extension
- func (x *SourceInfo) GetLineOffsets() []int32
- func (x *SourceInfo) GetLocation() string
- func (x *SourceInfo) GetMacroCalls() map[int64]*Expr
- func (x *SourceInfo) GetPositions() map[int64]int32
- func (x *SourceInfo) GetSyntaxVersion() string
- func (*SourceInfo) ProtoMessage()
- func (x *SourceInfo) ProtoReflect() protoreflect.Message
- func (x *SourceInfo) Reset()
- func (x *SourceInfo) String() string
- type SourceInfo_Extension
- func (*SourceInfo_Extension) Descriptor() ([]byte, []int)deprecated
- func (x *SourceInfo_Extension) GetAffectedComponents() []SourceInfo_Extension_Component
- func (x *SourceInfo_Extension) GetId() string
- func (x *SourceInfo_Extension) GetVersion() *SourceInfo_Extension_Version
- func (*SourceInfo_Extension) ProtoMessage()
- func (x *SourceInfo_Extension) ProtoReflect() protoreflect.Message
- func (x *SourceInfo_Extension) Reset()
- func (x *SourceInfo_Extension) String() string
- type SourceInfo_Extension_Component
- func (SourceInfo_Extension_Component) Descriptor() protoreflect.EnumDescriptor
- func (x SourceInfo_Extension_Component) Enum() *SourceInfo_Extension_Component
- func (SourceInfo_Extension_Component) EnumDescriptor() ([]byte, []int)deprecated
- func (x SourceInfo_Extension_Component) Number() protoreflect.EnumNumber
- func (x SourceInfo_Extension_Component) String() string
- func (SourceInfo_Extension_Component) Type() protoreflect.EnumType
- type SourceInfo_Extension_Version
- func (*SourceInfo_Extension_Version) Descriptor() ([]byte, []int)deprecated
- func (x *SourceInfo_Extension_Version) GetMajor() int64
- func (x *SourceInfo_Extension_Version) GetMinor() int64
- func (*SourceInfo_Extension_Version) ProtoMessage()
- func (x *SourceInfo_Extension_Version) ProtoReflect() protoreflect.Message
- func (x *SourceInfo_Extension_Version) Reset()
- func (x *SourceInfo_Extension_Version) String() string
- type Status
- func (*Status) Descriptor() ([]byte, []int)deprecated
- func (x *Status) GetCode() int32
- func (x *Status) GetDetails() []*anypb.Any
- func (x *Status) GetMessage() string
- func (*Status) ProtoMessage()
- func (x *Status) ProtoReflect() protoreflect.Message
- func (x *Status) Reset()
- func (x *Status) String() string
- type Type
- func (*Type) Descriptor() ([]byte, []int)deprecated
- func (x *Type) GetAbstractType() *Type_AbstractType
- func (x *Type) GetDyn() *emptypb.Empty
- func (x *Type) GetError() *emptypb.Empty
- func (x *Type) GetFunction() *Type_FunctionType
- func (x *Type) GetListType() *Type_ListType
- func (x *Type) GetMapType() *Type_MapType
- func (x *Type) GetMessageType() string
- func (x *Type) GetNull() structpb.NullValue
- func (x *Type) GetPrimitive() Type_PrimitiveType
- func (x *Type) GetType() *Type
- func (x *Type) GetTypeKind() isType_TypeKind
- func (x *Type) GetTypeParam() string
- func (x *Type) GetWellKnown() Type_WellKnownType
- func (x *Type) GetWrapper() Type_PrimitiveType
- func (*Type) ProtoMessage()
- func (x *Type) ProtoReflect() protoreflect.Message
- func (x *Type) Reset()
- func (x *Type) String() string
- type Type_AbstractType
- func (*Type_AbstractType) Descriptor() ([]byte, []int)deprecated
- func (x *Type_AbstractType) GetName() string
- func (x *Type_AbstractType) GetParameterTypes() []*Type
- func (*Type_AbstractType) ProtoMessage()
- func (x *Type_AbstractType) ProtoReflect() protoreflect.Message
- func (x *Type_AbstractType) Reset()
- func (x *Type_AbstractType) String() string
- type Type_AbstractType_
- type Type_Dyn
- type Type_Error
- type Type_Function
- type Type_FunctionType
- func (*Type_FunctionType) Descriptor() ([]byte, []int)deprecated
- func (x *Type_FunctionType) GetArgTypes() []*Type
- func (x *Type_FunctionType) GetResultType() *Type
- func (*Type_FunctionType) ProtoMessage()
- func (x *Type_FunctionType) ProtoReflect() protoreflect.Message
- func (x *Type_FunctionType) Reset()
- func (x *Type_FunctionType) String() string
- type Type_ListType
- type Type_ListType_
- type Type_MapType
- func (*Type_MapType) Descriptor() ([]byte, []int)deprecated
- func (x *Type_MapType) GetKeyType() *Type
- func (x *Type_MapType) GetValueType() *Type
- func (*Type_MapType) ProtoMessage()
- func (x *Type_MapType) ProtoReflect() protoreflect.Message
- func (x *Type_MapType) Reset()
- func (x *Type_MapType) String() string
- type Type_MapType_
- type Type_MessageType
- type Type_Null
- type Type_Primitive
- type Type_PrimitiveType
- func (Type_PrimitiveType) Descriptor() protoreflect.EnumDescriptor
- func (x Type_PrimitiveType) Enum() *Type_PrimitiveType
- func (Type_PrimitiveType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Type_PrimitiveType) Number() protoreflect.EnumNumber
- func (x Type_PrimitiveType) String() string
- func (Type_PrimitiveType) Type() protoreflect.EnumType
- type Type_Type
- type Type_TypeParam
- type Type_WellKnown
- type Type_WellKnownType
- func (Type_WellKnownType) Descriptor() protoreflect.EnumDescriptor
- func (x Type_WellKnownType) Enum() *Type_WellKnownType
- func (Type_WellKnownType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Type_WellKnownType) Number() protoreflect.EnumNumber
- func (x Type_WellKnownType) String() string
- func (Type_WellKnownType) Type() protoreflect.EnumType
- type Type_Wrapper
- type UnknownSet
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetBoolValue() bool
- func (x *Value) GetBytesValue() []byte
- func (x *Value) GetDoubleValue() float64
- func (x *Value) GetEnumValue() *EnumValue
- func (x *Value) GetInt64Value() int64
- func (x *Value) GetKind() isValue_Kind
- func (x *Value) GetListValue() *ListValue
- func (x *Value) GetMapValue() *MapValue
- func (x *Value) GetNullValue() structpb.NullValue
- func (x *Value) GetObjectValue() *anypb.Any
- func (x *Value) GetStringValue() string
- func (x *Value) GetTypeValue() string
- func (x *Value) GetUint64Value() uint64
- 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_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¶
var (Type_PrimitiveType_name = map[int32]string{0: "PRIMITIVE_TYPE_UNSPECIFIED",1: "BOOL",2: "INT64",3: "UINT64",4: "DOUBLE",5: "STRING",6: "BYTES",}Type_PrimitiveType_value = map[string]int32{"PRIMITIVE_TYPE_UNSPECIFIED": 0,"BOOL": 1,"INT64": 2,"UINT64": 3,"DOUBLE": 4,"STRING": 5,"BYTES": 6,})
Enum value maps for Type_PrimitiveType.
var (Type_WellKnownType_name = map[int32]string{0: "WELL_KNOWN_TYPE_UNSPECIFIED",1: "ANY",2: "TIMESTAMP",3: "DURATION",}Type_WellKnownType_value = map[string]int32{"WELL_KNOWN_TYPE_UNSPECIFIED": 0,"ANY": 1,"TIMESTAMP": 2,"DURATION": 3,})
Enum value maps for Type_WellKnownType.
var (SourceInfo_Extension_Component_name = map[int32]string{0: "COMPONENT_UNSPECIFIED",1: "COMPONENT_PARSER",2: "COMPONENT_TYPE_CHECKER",3: "COMPONENT_RUNTIME",}SourceInfo_Extension_Component_value = map[string]int32{"COMPONENT_UNSPECIFIED": 0,"COMPONENT_PARSER": 1,"COMPONENT_TYPE_CHECKER": 2,"COMPONENT_RUNTIME": 3,})
Enum value maps for SourceInfo_Extension_Component.
var File_cel_expr_checked_protoprotoreflect.FileDescriptorvar File_cel_expr_eval_protoprotoreflect.FileDescriptorvar File_cel_expr_explain_protoprotoreflect.FileDescriptorvar File_cel_expr_syntax_protoprotoreflect.FileDescriptorvar File_cel_expr_value_protoprotoreflect.FileDescriptorFunctions¶
This section is empty.
Types¶
typeCheckedExpr¶
type CheckedExpr struct {ReferenceMap map[int64]*Reference ``/* 172-byte string literal not displayed */TypeMap map[int64]*Type ``/* 157-byte string literal not displayed */SourceInfo *SourceInfo `protobuf:"bytes,5,opt,name=source_info,json=sourceInfo,proto3" json:"source_info,omitempty"`ExprVersionstring `protobuf:"bytes,6,opt,name=expr_version,json=exprVersion,proto3" json:"expr_version,omitempty"`Expr *Expr `protobuf:"bytes,4,opt,name=expr,proto3" json:"expr,omitempty"`// contains filtered or unexported fields} func (*CheckedExpr)Descriptordeprecated
func (*CheckedExpr) Descriptor() ([]byte, []int)
Deprecated: Use CheckedExpr.ProtoReflect.Descriptor instead.
func (*CheckedExpr)GetExpr¶
func (x *CheckedExpr) GetExpr() *Expr
func (*CheckedExpr)GetExprVersion¶
func (x *CheckedExpr) GetExprVersion()string
func (*CheckedExpr)GetReferenceMap¶
func (x *CheckedExpr) GetReferenceMap() map[int64]*Reference
func (*CheckedExpr)GetSourceInfo¶
func (x *CheckedExpr) GetSourceInfo() *SourceInfo
func (*CheckedExpr)GetTypeMap¶
func (x *CheckedExpr) GetTypeMap() map[int64]*Type
func (*CheckedExpr)ProtoMessage¶
func (*CheckedExpr) ProtoMessage()
func (*CheckedExpr)ProtoReflect¶
func (x *CheckedExpr) ProtoReflect()protoreflect.Message
func (*CheckedExpr)Reset¶
func (x *CheckedExpr) Reset()
func (*CheckedExpr)String¶
func (x *CheckedExpr) String()string
typeConstant¶
type Constant struct {// Types that are valid to be assigned to ConstantKind:////*Constant_NullValue//*Constant_BoolValue//*Constant_Int64Value//*Constant_Uint64Value//*Constant_DoubleValue//*Constant_StringValue//*Constant_BytesValue//*Constant_DurationValue//*Constant_TimestampValueConstantKind isConstant_ConstantKind `protobuf_oneof:"constant_kind"`// contains filtered or unexported fields} func (*Constant)Descriptordeprecated
func (*Constant)GetBoolValue¶
func (*Constant)GetBytesValue¶
func (*Constant)GetConstantKind¶
func (x *Constant) GetConstantKind() isConstant_ConstantKind
func (*Constant)GetDoubleValue¶
func (*Constant)GetDurationValuedeprecated
func (x *Constant) GetDurationValue() *durationpb.Duration
Deprecated: Marked as deprecated in cel/expr/syntax.proto.
func (*Constant)GetInt64Value¶
func (*Constant)GetNullValue¶
func (*Constant)GetStringValue¶
func (*Constant)GetTimestampValuedeprecated
func (x *Constant) GetTimestampValue() *timestamppb.Timestamp
Deprecated: Marked as deprecated in cel/expr/syntax.proto.
func (*Constant)GetUint64Value¶
func (*Constant)ProtoMessage¶
func (*Constant) ProtoMessage()
func (*Constant)ProtoReflect¶
func (x *Constant) ProtoReflect()protoreflect.Message
typeConstant_BoolValue¶
type Constant_BoolValue struct {BoolValuebool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`}typeConstant_BytesValue¶
type Constant_BytesValue struct {BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`}typeConstant_DoubleValue¶
type Constant_DoubleValue struct {DoubleValuefloat64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"`}typeConstant_DurationValue¶
type Constant_DurationValue struct {// Deprecated: Marked as deprecated in cel/expr/syntax.proto.DurationValue *durationpb.Duration `protobuf:"bytes,8,opt,name=duration_value,json=durationValue,proto3,oneof"`}typeConstant_Int64Value¶
type Constant_Int64Value struct {Int64Valueint64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`}typeConstant_StringValue¶
type Constant_StringValue struct {StringValuestring `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"`}typeConstant_TimestampValue¶
type Constant_TimestampValue struct {// Deprecated: Marked as deprecated in cel/expr/syntax.proto.TimestampValue *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp_value,json=timestampValue,proto3,oneof"`}typeConstant_Uint64Value¶
type Constant_Uint64Value struct {Uint64Valueuint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"`}typeDecl¶
type Decl struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`// Types that are valid to be assigned to DeclKind:////*Decl_Ident//*Decl_FunctionDeclKind isDecl_DeclKind `protobuf_oneof:"decl_kind"`// contains filtered or unexported fields} func (*Decl)Descriptordeprecated
func (*Decl)GetDeclKind¶
func (x *Decl) GetDeclKind() isDecl_DeclKind
func (*Decl)GetFunction¶
func (x *Decl) GetFunction() *Decl_FunctionDecl
func (*Decl)GetIdent¶
func (x *Decl) GetIdent() *Decl_IdentDecl
func (*Decl)ProtoMessage¶
func (*Decl) ProtoMessage()
func (*Decl)ProtoReflect¶
func (x *Decl) ProtoReflect()protoreflect.Message
typeDecl_Function¶
type Decl_Function struct {Function *Decl_FunctionDecl `protobuf:"bytes,3,opt,name=function,proto3,oneof"`}typeDecl_FunctionDecl¶
type Decl_FunctionDecl struct {Overloads []*Decl_FunctionDecl_Overload `protobuf:"bytes,1,rep,name=overloads,proto3" json:"overloads,omitempty"`Docstring `protobuf:"bytes,2,opt,name=doc,proto3" json:"doc,omitempty"`// contains filtered or unexported fields} func (*Decl_FunctionDecl)Descriptordeprecated
func (*Decl_FunctionDecl) Descriptor() ([]byte, []int)
Deprecated: Use Decl_FunctionDecl.ProtoReflect.Descriptor instead.
func (*Decl_FunctionDecl)GetDoc¶added inv0.25.0
func (x *Decl_FunctionDecl) GetDoc()string
func (*Decl_FunctionDecl)GetOverloads¶
func (x *Decl_FunctionDecl) GetOverloads() []*Decl_FunctionDecl_Overload
func (*Decl_FunctionDecl)ProtoMessage¶
func (*Decl_FunctionDecl) ProtoMessage()
func (*Decl_FunctionDecl)ProtoReflect¶
func (x *Decl_FunctionDecl) ProtoReflect()protoreflect.Message
func (*Decl_FunctionDecl)Reset¶
func (x *Decl_FunctionDecl) Reset()
func (*Decl_FunctionDecl)String¶
func (x *Decl_FunctionDecl) String()string
typeDecl_FunctionDecl_Overload¶
type Decl_FunctionDecl_Overload struct {OverloadIdstring `protobuf:"bytes,1,opt,name=overload_id,json=overloadId,proto3" json:"overload_id,omitempty"`Params []*Type `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"`TypeParams []string `protobuf:"bytes,3,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"`ResultType *Type `protobuf:"bytes,4,opt,name=result_type,json=resultType,proto3" json:"result_type,omitempty"`IsInstanceFunctionbool `protobuf:"varint,5,opt,name=is_instance_function,json=isInstanceFunction,proto3" json:"is_instance_function,omitempty"`Docstring `protobuf:"bytes,6,opt,name=doc,proto3" json:"doc,omitempty"`// contains filtered or unexported fields} func (*Decl_FunctionDecl_Overload)Descriptordeprecated
func (*Decl_FunctionDecl_Overload) Descriptor() ([]byte, []int)
Deprecated: Use Decl_FunctionDecl_Overload.ProtoReflect.Descriptor instead.
func (*Decl_FunctionDecl_Overload)GetDoc¶
func (x *Decl_FunctionDecl_Overload) GetDoc()string
func (*Decl_FunctionDecl_Overload)GetIsInstanceFunction¶
func (x *Decl_FunctionDecl_Overload) GetIsInstanceFunction()bool
func (*Decl_FunctionDecl_Overload)GetOverloadId¶
func (x *Decl_FunctionDecl_Overload) GetOverloadId()string
func (*Decl_FunctionDecl_Overload)GetParams¶
func (x *Decl_FunctionDecl_Overload) GetParams() []*Type
func (*Decl_FunctionDecl_Overload)GetResultType¶
func (x *Decl_FunctionDecl_Overload) GetResultType() *Type
func (*Decl_FunctionDecl_Overload)GetTypeParams¶
func (x *Decl_FunctionDecl_Overload) GetTypeParams() []string
func (*Decl_FunctionDecl_Overload)ProtoMessage¶
func (*Decl_FunctionDecl_Overload) ProtoMessage()
func (*Decl_FunctionDecl_Overload)ProtoReflect¶
func (x *Decl_FunctionDecl_Overload) ProtoReflect()protoreflect.Message
func (*Decl_FunctionDecl_Overload)Reset¶
func (x *Decl_FunctionDecl_Overload) Reset()
func (*Decl_FunctionDecl_Overload)String¶
func (x *Decl_FunctionDecl_Overload) String()string
typeDecl_Ident¶
type Decl_Ident struct {Ident *Decl_IdentDecl `protobuf:"bytes,2,opt,name=ident,proto3,oneof"`}typeDecl_IdentDecl¶
type Decl_IdentDecl struct {Type *Type `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`Value *Constant `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`Docstring `protobuf:"bytes,3,opt,name=doc,proto3" json:"doc,omitempty"`// contains filtered or unexported fields} func (*Decl_IdentDecl)Descriptordeprecated
func (*Decl_IdentDecl) Descriptor() ([]byte, []int)
Deprecated: Use Decl_IdentDecl.ProtoReflect.Descriptor instead.
func (*Decl_IdentDecl)GetDoc¶
func (x *Decl_IdentDecl) GetDoc()string
func (*Decl_IdentDecl)GetType¶
func (x *Decl_IdentDecl) GetType() *Type
func (*Decl_IdentDecl)GetValue¶
func (x *Decl_IdentDecl) GetValue() *Constant
func (*Decl_IdentDecl)ProtoMessage¶
func (*Decl_IdentDecl) ProtoMessage()
func (*Decl_IdentDecl)ProtoReflect¶
func (x *Decl_IdentDecl) ProtoReflect()protoreflect.Message
func (*Decl_IdentDecl)Reset¶
func (x *Decl_IdentDecl) Reset()
func (*Decl_IdentDecl)String¶
func (x *Decl_IdentDecl) String()string
typeEnumValue¶
type EnumValue struct {Typestring `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`Valueint32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields} func (*EnumValue)Descriptordeprecated
func (*EnumValue)ProtoMessage¶
func (*EnumValue) ProtoMessage()
func (*EnumValue)ProtoReflect¶
func (x *EnumValue) ProtoReflect()protoreflect.Message
typeErrorSet¶
type ErrorSet struct {Errors []*Status `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"`// contains filtered or unexported fields} func (*ErrorSet)Descriptordeprecated
func (*ErrorSet)ProtoMessage¶
func (*ErrorSet) ProtoMessage()
func (*ErrorSet)ProtoReflect¶
func (x *ErrorSet) ProtoReflect()protoreflect.Message
typeEvalState¶
type EvalState struct {Values []*ExprValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`Results []*EvalState_Result `protobuf:"bytes,3,rep,name=results,proto3" json:"results,omitempty"`// contains filtered or unexported fields} func (*EvalState)Descriptordeprecated
func (*EvalState)GetResults¶
func (x *EvalState) GetResults() []*EvalState_Result
func (*EvalState)ProtoMessage¶
func (*EvalState) ProtoMessage()
func (*EvalState)ProtoReflect¶
func (x *EvalState) ProtoReflect()protoreflect.Message
typeEvalState_Result¶
type EvalState_Result struct {Exprint64 `protobuf:"varint,1,opt,name=expr,proto3" json:"expr,omitempty"`Valueint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields} func (*EvalState_Result)Descriptordeprecated
func (*EvalState_Result) Descriptor() ([]byte, []int)
Deprecated: Use EvalState_Result.ProtoReflect.Descriptor instead.
func (*EvalState_Result)GetExpr¶
func (x *EvalState_Result) GetExpr()int64
func (*EvalState_Result)GetValue¶
func (x *EvalState_Result) GetValue()int64
func (*EvalState_Result)ProtoMessage¶
func (*EvalState_Result) ProtoMessage()
func (*EvalState_Result)ProtoReflect¶
func (x *EvalState_Result) ProtoReflect()protoreflect.Message
func (*EvalState_Result)Reset¶
func (x *EvalState_Result) Reset()
func (*EvalState_Result)String¶
func (x *EvalState_Result) String()string
typeExplaindeprecated
type Explain struct {Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`ExprSteps []*Explain_ExprStep `protobuf:"bytes,2,rep,name=expr_steps,json=exprSteps,proto3" json:"expr_steps,omitempty"`// contains filtered or unexported fields}Deprecated: Marked as deprecated in cel/expr/explain.proto.
func (*Explain)Descriptordeprecated
func (*Explain)GetExprSteps¶
func (x *Explain) GetExprSteps() []*Explain_ExprStep
func (*Explain)ProtoMessage¶
func (*Explain) ProtoMessage()
func (*Explain)ProtoReflect¶
func (x *Explain) ProtoReflect()protoreflect.Message
typeExplain_ExprStep¶
type Explain_ExprStep struct {Idint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`ValueIndexint32 `protobuf:"varint,2,opt,name=value_index,json=valueIndex,proto3" json:"value_index,omitempty"`// contains filtered or unexported fields} func (*Explain_ExprStep)Descriptordeprecated
func (*Explain_ExprStep) Descriptor() ([]byte, []int)
Deprecated: Use Explain_ExprStep.ProtoReflect.Descriptor instead.
func (*Explain_ExprStep)GetId¶
func (x *Explain_ExprStep) GetId()int64
func (*Explain_ExprStep)GetValueIndex¶
func (x *Explain_ExprStep) GetValueIndex()int32
func (*Explain_ExprStep)ProtoMessage¶
func (*Explain_ExprStep) ProtoMessage()
func (*Explain_ExprStep)ProtoReflect¶
func (x *Explain_ExprStep) ProtoReflect()protoreflect.Message
func (*Explain_ExprStep)Reset¶
func (x *Explain_ExprStep) Reset()
func (*Explain_ExprStep)String¶
func (x *Explain_ExprStep) String()string
typeExpr¶
type Expr struct {Idint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`// Types that are valid to be assigned to ExprKind:////*Expr_ConstExpr//*Expr_IdentExpr//*Expr_SelectExpr//*Expr_CallExpr//*Expr_ListExpr//*Expr_StructExpr//*Expr_ComprehensionExprExprKind isExpr_ExprKind `protobuf_oneof:"expr_kind"`// contains filtered or unexported fields} func (*Expr)Descriptordeprecated
func (*Expr)GetCallExpr¶
func (*Expr)GetComprehensionExpr¶
func (x *Expr) GetComprehensionExpr() *Expr_Comprehension
func (*Expr)GetConstExpr¶
func (*Expr)GetExprKind¶
func (x *Expr) GetExprKind() isExpr_ExprKind
func (*Expr)GetIdentExpr¶
func (x *Expr) GetIdentExpr() *Expr_Ident
func (*Expr)GetListExpr¶
func (x *Expr) GetListExpr() *Expr_CreateList
func (*Expr)GetSelectExpr¶
func (x *Expr) GetSelectExpr() *Expr_Select
func (*Expr)GetStructExpr¶
func (x *Expr) GetStructExpr() *Expr_CreateStruct
func (*Expr)ProtoMessage¶
func (*Expr) ProtoMessage()
func (*Expr)ProtoReflect¶
func (x *Expr) ProtoReflect()protoreflect.Message
typeExprValue¶
type ExprValue struct {// Types that are valid to be assigned to Kind:////*ExprValue_Value//*ExprValue_Error//*ExprValue_UnknownKind isExprValue_Kind `protobuf_oneof:"kind"`// contains filtered or unexported fields} func (*ExprValue)Descriptordeprecated
func (*ExprValue)GetUnknown¶
func (x *ExprValue) GetUnknown() *UnknownSet
func (*ExprValue)ProtoMessage¶
func (*ExprValue) ProtoMessage()
func (*ExprValue)ProtoReflect¶
func (x *ExprValue) ProtoReflect()protoreflect.Message
typeExprValue_Error¶
type ExprValue_Error struct {Error *ErrorSet `protobuf:"bytes,2,opt,name=error,proto3,oneof"`}typeExprValue_Unknown¶
type ExprValue_Unknown struct {Unknown *UnknownSet `protobuf:"bytes,3,opt,name=unknown,proto3,oneof"`}typeExprValue_Value¶
type ExprValue_Value struct {Value *Value `protobuf:"bytes,1,opt,name=value,proto3,oneof"`}typeExpr_Call¶
type Expr_Call struct {Target *Expr `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`Functionstring `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"`Args []*Expr `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"`// contains filtered or unexported fields} func (*Expr_Call)Descriptordeprecated
func (*Expr_Call)GetFunction¶
func (*Expr_Call)ProtoMessage¶
func (*Expr_Call) ProtoMessage()
func (*Expr_Call)ProtoReflect¶
func (x *Expr_Call) ProtoReflect()protoreflect.Message
typeExpr_CallExpr¶
type Expr_CallExpr struct {CallExpr *Expr_Call `protobuf:"bytes,6,opt,name=call_expr,json=callExpr,proto3,oneof"`}typeExpr_Comprehension¶
type Expr_Comprehension struct {IterVarstring `protobuf:"bytes,1,opt,name=iter_var,json=iterVar,proto3" json:"iter_var,omitempty"`IterVar2string `protobuf:"bytes,8,opt,name=iter_var2,json=iterVar2,proto3" json:"iter_var2,omitempty"`IterRange *Expr `protobuf:"bytes,2,opt,name=iter_range,json=iterRange,proto3" json:"iter_range,omitempty"`AccuVarstring `protobuf:"bytes,3,opt,name=accu_var,json=accuVar,proto3" json:"accu_var,omitempty"`AccuInit *Expr `protobuf:"bytes,4,opt,name=accu_init,json=accuInit,proto3" json:"accu_init,omitempty"`LoopCondition *Expr `protobuf:"bytes,5,opt,name=loop_condition,json=loopCondition,proto3" json:"loop_condition,omitempty"`LoopStep *Expr `protobuf:"bytes,6,opt,name=loop_step,json=loopStep,proto3" json:"loop_step,omitempty"`Result *Expr `protobuf:"bytes,7,opt,name=result,proto3" json:"result,omitempty"`// contains filtered or unexported fields} func (*Expr_Comprehension)Descriptordeprecated
func (*Expr_Comprehension) Descriptor() ([]byte, []int)
Deprecated: Use Expr_Comprehension.ProtoReflect.Descriptor instead.
func (*Expr_Comprehension)GetAccuInit¶
func (x *Expr_Comprehension) GetAccuInit() *Expr
func (*Expr_Comprehension)GetAccuVar¶
func (x *Expr_Comprehension) GetAccuVar()string
func (*Expr_Comprehension)GetIterRange¶
func (x *Expr_Comprehension) GetIterRange() *Expr
func (*Expr_Comprehension)GetIterVar¶
func (x *Expr_Comprehension) GetIterVar()string
func (*Expr_Comprehension)GetIterVar2¶added inv0.25.0
func (x *Expr_Comprehension) GetIterVar2()string
func (*Expr_Comprehension)GetLoopCondition¶
func (x *Expr_Comprehension) GetLoopCondition() *Expr
func (*Expr_Comprehension)GetLoopStep¶
func (x *Expr_Comprehension) GetLoopStep() *Expr
func (*Expr_Comprehension)GetResult¶
func (x *Expr_Comprehension) GetResult() *Expr
func (*Expr_Comprehension)ProtoMessage¶
func (*Expr_Comprehension) ProtoMessage()
func (*Expr_Comprehension)ProtoReflect¶
func (x *Expr_Comprehension) ProtoReflect()protoreflect.Message
func (*Expr_Comprehension)Reset¶
func (x *Expr_Comprehension) Reset()
func (*Expr_Comprehension)String¶
func (x *Expr_Comprehension) String()string
typeExpr_ComprehensionExpr¶
type Expr_ComprehensionExpr struct {ComprehensionExpr *Expr_Comprehension `protobuf:"bytes,9,opt,name=comprehension_expr,json=comprehensionExpr,proto3,oneof"`}typeExpr_ConstExpr¶
type Expr_ConstExpr struct {ConstExpr *Constant `protobuf:"bytes,3,opt,name=const_expr,json=constExpr,proto3,oneof"`}typeExpr_CreateList¶
type Expr_CreateList struct {Elements []*Expr `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`OptionalIndices []int32 `protobuf:"varint,2,rep,packed,name=optional_indices,json=optionalIndices,proto3" json:"optional_indices,omitempty"`// contains filtered or unexported fields} func (*Expr_CreateList)Descriptordeprecated
func (*Expr_CreateList) Descriptor() ([]byte, []int)
Deprecated: Use Expr_CreateList.ProtoReflect.Descriptor instead.
func (*Expr_CreateList)GetElements¶
func (x *Expr_CreateList) GetElements() []*Expr
func (*Expr_CreateList)GetOptionalIndices¶
func (x *Expr_CreateList) GetOptionalIndices() []int32
func (*Expr_CreateList)ProtoMessage¶
func (*Expr_CreateList) ProtoMessage()
func (*Expr_CreateList)ProtoReflect¶
func (x *Expr_CreateList) ProtoReflect()protoreflect.Message
func (*Expr_CreateList)Reset¶
func (x *Expr_CreateList) Reset()
func (*Expr_CreateList)String¶
func (x *Expr_CreateList) String()string
typeExpr_CreateStruct¶
type Expr_CreateStruct struct {MessageNamestring `protobuf:"bytes,1,opt,name=message_name,json=messageName,proto3" json:"message_name,omitempty"`Entries []*Expr_CreateStruct_Entry `protobuf:"bytes,2,rep,name=entries,proto3" json:"entries,omitempty"`// contains filtered or unexported fields} func (*Expr_CreateStruct)Descriptordeprecated
func (*Expr_CreateStruct) Descriptor() ([]byte, []int)
Deprecated: Use Expr_CreateStruct.ProtoReflect.Descriptor instead.
func (*Expr_CreateStruct)GetEntries¶
func (x *Expr_CreateStruct) GetEntries() []*Expr_CreateStruct_Entry
func (*Expr_CreateStruct)GetMessageName¶
func (x *Expr_CreateStruct) GetMessageName()string
func (*Expr_CreateStruct)ProtoMessage¶
func (*Expr_CreateStruct) ProtoMessage()
func (*Expr_CreateStruct)ProtoReflect¶
func (x *Expr_CreateStruct) ProtoReflect()protoreflect.Message
func (*Expr_CreateStruct)Reset¶
func (x *Expr_CreateStruct) Reset()
func (*Expr_CreateStruct)String¶
func (x *Expr_CreateStruct) String()string
typeExpr_CreateStruct_Entry¶
type Expr_CreateStruct_Entry struct {Idint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`// Types that are valid to be assigned to KeyKind:////*Expr_CreateStruct_Entry_FieldKey//*Expr_CreateStruct_Entry_MapKeyKeyKind isExpr_CreateStruct_Entry_KeyKind `protobuf_oneof:"key_kind"`Value *Expr `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`OptionalEntrybool `protobuf:"varint,5,opt,name=optional_entry,json=optionalEntry,proto3" json:"optional_entry,omitempty"`// contains filtered or unexported fields} func (*Expr_CreateStruct_Entry)Descriptordeprecated
func (*Expr_CreateStruct_Entry) Descriptor() ([]byte, []int)
Deprecated: Use Expr_CreateStruct_Entry.ProtoReflect.Descriptor instead.
func (*Expr_CreateStruct_Entry)GetFieldKey¶
func (x *Expr_CreateStruct_Entry) GetFieldKey()string
func (*Expr_CreateStruct_Entry)GetId¶
func (x *Expr_CreateStruct_Entry) GetId()int64
func (*Expr_CreateStruct_Entry)GetKeyKind¶
func (x *Expr_CreateStruct_Entry) GetKeyKind() isExpr_CreateStruct_Entry_KeyKind
func (*Expr_CreateStruct_Entry)GetMapKey¶
func (x *Expr_CreateStruct_Entry) GetMapKey() *Expr
func (*Expr_CreateStruct_Entry)GetOptionalEntry¶
func (x *Expr_CreateStruct_Entry) GetOptionalEntry()bool
func (*Expr_CreateStruct_Entry)GetValue¶
func (x *Expr_CreateStruct_Entry) GetValue() *Expr
func (*Expr_CreateStruct_Entry)ProtoMessage¶
func (*Expr_CreateStruct_Entry) ProtoMessage()
func (*Expr_CreateStruct_Entry)ProtoReflect¶
func (x *Expr_CreateStruct_Entry) ProtoReflect()protoreflect.Message
func (*Expr_CreateStruct_Entry)Reset¶
func (x *Expr_CreateStruct_Entry) Reset()
func (*Expr_CreateStruct_Entry)String¶
func (x *Expr_CreateStruct_Entry) String()string
typeExpr_CreateStruct_Entry_FieldKey¶
type Expr_CreateStruct_Entry_FieldKey struct {FieldKeystring `protobuf:"bytes,2,opt,name=field_key,json=fieldKey,proto3,oneof"`}typeExpr_CreateStruct_Entry_MapKey¶
type Expr_CreateStruct_Entry_MapKey struct {MapKey *Expr `protobuf:"bytes,3,opt,name=map_key,json=mapKey,proto3,oneof"`}typeExpr_Ident¶
type Expr_Ident struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`// contains filtered or unexported fields} func (*Expr_Ident)Descriptordeprecated
func (*Expr_Ident) Descriptor() ([]byte, []int)
Deprecated: Use Expr_Ident.ProtoReflect.Descriptor instead.
func (*Expr_Ident)GetName¶
func (x *Expr_Ident) GetName()string
func (*Expr_Ident)ProtoMessage¶
func (*Expr_Ident) ProtoMessage()
func (*Expr_Ident)ProtoReflect¶
func (x *Expr_Ident) ProtoReflect()protoreflect.Message
func (*Expr_Ident)Reset¶
func (x *Expr_Ident) Reset()
func (*Expr_Ident)String¶
func (x *Expr_Ident) String()string
typeExpr_IdentExpr¶
type Expr_IdentExpr struct {IdentExpr *Expr_Ident `protobuf:"bytes,4,opt,name=ident_expr,json=identExpr,proto3,oneof"`}typeExpr_ListExpr¶
type Expr_ListExpr struct {ListExpr *Expr_CreateList `protobuf:"bytes,7,opt,name=list_expr,json=listExpr,proto3,oneof"`}typeExpr_Select¶
type Expr_Select struct {Operand *Expr `protobuf:"bytes,1,opt,name=operand,proto3" json:"operand,omitempty"`Fieldstring `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"`TestOnlybool `protobuf:"varint,3,opt,name=test_only,json=testOnly,proto3" json:"test_only,omitempty"`// contains filtered or unexported fields} func (*Expr_Select)Descriptordeprecated
func (*Expr_Select) Descriptor() ([]byte, []int)
Deprecated: Use Expr_Select.ProtoReflect.Descriptor instead.
func (*Expr_Select)GetField¶
func (x *Expr_Select) GetField()string
func (*Expr_Select)GetOperand¶
func (x *Expr_Select) GetOperand() *Expr
func (*Expr_Select)GetTestOnly¶
func (x *Expr_Select) GetTestOnly()bool
func (*Expr_Select)ProtoMessage¶
func (*Expr_Select) ProtoMessage()
func (*Expr_Select)ProtoReflect¶
func (x *Expr_Select) ProtoReflect()protoreflect.Message
func (*Expr_Select)Reset¶
func (x *Expr_Select) Reset()
func (*Expr_Select)String¶
func (x *Expr_Select) String()string
typeExpr_SelectExpr¶
type Expr_SelectExpr struct {SelectExpr *Expr_Select `protobuf:"bytes,5,opt,name=select_expr,json=selectExpr,proto3,oneof"`}typeExpr_StructExpr¶
type Expr_StructExpr struct {StructExpr *Expr_CreateStruct `protobuf:"bytes,8,opt,name=struct_expr,json=structExpr,proto3,oneof"`}typeListValue¶
type ListValue struct {Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`// contains filtered or unexported fields} func (*ListValue)Descriptordeprecated
func (*ListValue)ProtoMessage¶
func (*ListValue) ProtoMessage()
func (*ListValue)ProtoReflect¶
func (x *ListValue) ProtoReflect()protoreflect.Message
typeMapValue¶
type MapValue struct {Entries []*MapValue_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`// contains filtered or unexported fields} func (*MapValue)Descriptordeprecated
func (*MapValue)GetEntries¶
func (x *MapValue) GetEntries() []*MapValue_Entry
func (*MapValue)ProtoMessage¶
func (*MapValue) ProtoMessage()
func (*MapValue)ProtoReflect¶
func (x *MapValue) ProtoReflect()protoreflect.Message
typeMapValue_Entry¶
type MapValue_Entry struct {Key *Value `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields} func (*MapValue_Entry)Descriptordeprecated
func (*MapValue_Entry) Descriptor() ([]byte, []int)
Deprecated: Use MapValue_Entry.ProtoReflect.Descriptor instead.
func (*MapValue_Entry)GetKey¶
func (x *MapValue_Entry) GetKey() *Value
func (*MapValue_Entry)GetValue¶
func (x *MapValue_Entry) GetValue() *Value
func (*MapValue_Entry)ProtoMessage¶
func (*MapValue_Entry) ProtoMessage()
func (*MapValue_Entry)ProtoReflect¶
func (x *MapValue_Entry) ProtoReflect()protoreflect.Message
func (*MapValue_Entry)Reset¶
func (x *MapValue_Entry) Reset()
func (*MapValue_Entry)String¶
func (x *MapValue_Entry) String()string
typeParsedExpr¶
type ParsedExpr struct {Expr *Expr `protobuf:"bytes,2,opt,name=expr,proto3" json:"expr,omitempty"`SourceInfo *SourceInfo `protobuf:"bytes,3,opt,name=source_info,json=sourceInfo,proto3" json:"source_info,omitempty"`// contains filtered or unexported fields} func (*ParsedExpr)Descriptordeprecated
func (*ParsedExpr) Descriptor() ([]byte, []int)
Deprecated: Use ParsedExpr.ProtoReflect.Descriptor instead.
func (*ParsedExpr)GetExpr¶
func (x *ParsedExpr) GetExpr() *Expr
func (*ParsedExpr)GetSourceInfo¶
func (x *ParsedExpr) GetSourceInfo() *SourceInfo
func (*ParsedExpr)ProtoMessage¶
func (*ParsedExpr) ProtoMessage()
func (*ParsedExpr)ProtoReflect¶
func (x *ParsedExpr) ProtoReflect()protoreflect.Message
func (*ParsedExpr)Reset¶
func (x *ParsedExpr) Reset()
func (*ParsedExpr)String¶
func (x *ParsedExpr) String()string
typeReference¶
type Reference struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`OverloadId []string `protobuf:"bytes,3,rep,name=overload_id,json=overloadId,proto3" json:"overload_id,omitempty"`Value *Constant `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`// contains filtered or unexported fields} func (*Reference)Descriptordeprecated
func (*Reference)GetOverloadId¶
func (*Reference)ProtoMessage¶
func (*Reference) ProtoMessage()
func (*Reference)ProtoReflect¶
func (x *Reference) ProtoReflect()protoreflect.Message
typeSourceInfo¶
type SourceInfo struct {SyntaxVersionstring `protobuf:"bytes,1,opt,name=syntax_version,json=syntaxVersion,proto3" json:"syntax_version,omitempty"`Locationstring `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`LineOffsets []int32 `protobuf:"varint,3,rep,packed,name=line_offsets,json=lineOffsets,proto3" json:"line_offsets,omitempty"`Positions map[int64]int32 ``/* 147-byte string literal not displayed */MacroCalls map[int64]*Expr ``/* 166-byte string literal not displayed */Extensions []*SourceInfo_Extension `protobuf:"bytes,6,rep,name=extensions,proto3" json:"extensions,omitempty"`// contains filtered or unexported fields} func (*SourceInfo)Descriptordeprecated
func (*SourceInfo) Descriptor() ([]byte, []int)
Deprecated: Use SourceInfo.ProtoReflect.Descriptor instead.
func (*SourceInfo)GetExtensions¶
func (x *SourceInfo) GetExtensions() []*SourceInfo_Extension
func (*SourceInfo)GetLineOffsets¶
func (x *SourceInfo) GetLineOffsets() []int32
func (*SourceInfo)GetLocation¶
func (x *SourceInfo) GetLocation()string
func (*SourceInfo)GetMacroCalls¶
func (x *SourceInfo) GetMacroCalls() map[int64]*Expr
func (*SourceInfo)GetPositions¶
func (x *SourceInfo) GetPositions() map[int64]int32
func (*SourceInfo)GetSyntaxVersion¶
func (x *SourceInfo) GetSyntaxVersion()string
func (*SourceInfo)ProtoMessage¶
func (*SourceInfo) ProtoMessage()
func (*SourceInfo)ProtoReflect¶
func (x *SourceInfo) ProtoReflect()protoreflect.Message
func (*SourceInfo)Reset¶
func (x *SourceInfo) Reset()
func (*SourceInfo)String¶
func (x *SourceInfo) String()string
typeSourceInfo_Extension¶
type SourceInfo_Extension struct {Idstring `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`AffectedComponents []SourceInfo_Extension_Component ``/* 168-byte string literal not displayed */Version *SourceInfo_Extension_Version `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`// contains filtered or unexported fields} func (*SourceInfo_Extension)Descriptordeprecated
func (*SourceInfo_Extension) Descriptor() ([]byte, []int)
Deprecated: Use SourceInfo_Extension.ProtoReflect.Descriptor instead.
func (*SourceInfo_Extension)GetAffectedComponents¶
func (x *SourceInfo_Extension) GetAffectedComponents() []SourceInfo_Extension_Component
func (*SourceInfo_Extension)GetId¶
func (x *SourceInfo_Extension) GetId()string
func (*SourceInfo_Extension)GetVersion¶
func (x *SourceInfo_Extension) GetVersion() *SourceInfo_Extension_Version
func (*SourceInfo_Extension)ProtoMessage¶
func (*SourceInfo_Extension) ProtoMessage()
func (*SourceInfo_Extension)ProtoReflect¶
func (x *SourceInfo_Extension) ProtoReflect()protoreflect.Message
func (*SourceInfo_Extension)Reset¶
func (x *SourceInfo_Extension) Reset()
func (*SourceInfo_Extension)String¶
func (x *SourceInfo_Extension) String()string
typeSourceInfo_Extension_Component¶
type SourceInfo_Extension_Componentint32
const (SourceInfo_Extension_COMPONENT_UNSPECIFIEDSourceInfo_Extension_Component = 0SourceInfo_Extension_COMPONENT_PARSERSourceInfo_Extension_Component = 1SourceInfo_Extension_COMPONENT_TYPE_CHECKERSourceInfo_Extension_Component = 2SourceInfo_Extension_COMPONENT_RUNTIMESourceInfo_Extension_Component = 3)
func (SourceInfo_Extension_Component)Descriptor¶
func (SourceInfo_Extension_Component) Descriptor()protoreflect.EnumDescriptor
func (SourceInfo_Extension_Component)Enum¶
func (xSourceInfo_Extension_Component) Enum() *SourceInfo_Extension_Component
func (SourceInfo_Extension_Component)EnumDescriptordeprecated
func (SourceInfo_Extension_Component) EnumDescriptor() ([]byte, []int)
Deprecated: Use SourceInfo_Extension_Component.Descriptor instead.
func (SourceInfo_Extension_Component)Number¶
func (xSourceInfo_Extension_Component) Number()protoreflect.EnumNumber
func (SourceInfo_Extension_Component)String¶
func (xSourceInfo_Extension_Component) String()string
func (SourceInfo_Extension_Component)Type¶
func (SourceInfo_Extension_Component) Type()protoreflect.EnumType
typeSourceInfo_Extension_Version¶
type SourceInfo_Extension_Version struct {Majorint64 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`Minorint64 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`// contains filtered or unexported fields} func (*SourceInfo_Extension_Version)Descriptordeprecated
func (*SourceInfo_Extension_Version) Descriptor() ([]byte, []int)
Deprecated: Use SourceInfo_Extension_Version.ProtoReflect.Descriptor instead.
func (*SourceInfo_Extension_Version)GetMajor¶
func (x *SourceInfo_Extension_Version) GetMajor()int64
func (*SourceInfo_Extension_Version)GetMinor¶
func (x *SourceInfo_Extension_Version) GetMinor()int64
func (*SourceInfo_Extension_Version)ProtoMessage¶
func (*SourceInfo_Extension_Version) ProtoMessage()
func (*SourceInfo_Extension_Version)ProtoReflect¶
func (x *SourceInfo_Extension_Version) ProtoReflect()protoreflect.Message
func (*SourceInfo_Extension_Version)Reset¶
func (x *SourceInfo_Extension_Version) Reset()
func (*SourceInfo_Extension_Version)String¶
func (x *SourceInfo_Extension_Version) String()string
typeStatus¶added inv0.24.0
type Status struct {Codeint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`Messagestring `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`Details []*anypb.Any `protobuf:"bytes,3,rep,name=details,proto3" json:"details,omitempty"`// contains filtered or unexported fields} func (*Status)Descriptordeprecatedadded inv0.24.0
func (*Status)GetDetails¶added inv0.24.0
func (*Status)GetMessage¶added inv0.24.0
func (*Status)ProtoMessage¶added inv0.24.0
func (*Status) ProtoMessage()
func (*Status)ProtoReflect¶added inv0.24.0
func (x *Status) ProtoReflect()protoreflect.Message
typeType¶
type Type struct {// Types that are valid to be assigned to TypeKind:////*Type_Dyn//*Type_Null//*Type_Primitive//*Type_Wrapper//*Type_WellKnown//*Type_ListType_//*Type_MapType_//*Type_Function//*Type_MessageType//*Type_TypeParam//*Type_Type//*Type_Error//*Type_AbstractType_TypeKind isType_TypeKind `protobuf_oneof:"type_kind"`// contains filtered or unexported fields} func (*Type)Descriptordeprecated
func (*Type)GetAbstractType¶
func (x *Type) GetAbstractType() *Type_AbstractType
func (*Type)GetFunction¶
func (x *Type) GetFunction() *Type_FunctionType
func (*Type)GetListType¶
func (x *Type) GetListType() *Type_ListType
func (*Type)GetMapType¶
func (x *Type) GetMapType() *Type_MapType
func (*Type)GetMessageType¶
func (*Type)GetPrimitive¶
func (x *Type) GetPrimitive()Type_PrimitiveType
func (*Type)GetTypeKind¶
func (x *Type) GetTypeKind() isType_TypeKind
func (*Type)GetTypeParam¶
func (*Type)GetWellKnown¶
func (x *Type) GetWellKnown()Type_WellKnownType
func (*Type)GetWrapper¶
func (x *Type) GetWrapper()Type_PrimitiveType
func (*Type)ProtoMessage¶
func (*Type) ProtoMessage()
func (*Type)ProtoReflect¶
func (x *Type) ProtoReflect()protoreflect.Message
typeType_AbstractType¶
type Type_AbstractType struct {Namestring `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`ParameterTypes []*Type `protobuf:"bytes,2,rep,name=parameter_types,json=parameterTypes,proto3" json:"parameter_types,omitempty"`// contains filtered or unexported fields} func (*Type_AbstractType)Descriptordeprecated
func (*Type_AbstractType) Descriptor() ([]byte, []int)
Deprecated: Use Type_AbstractType.ProtoReflect.Descriptor instead.
func (*Type_AbstractType)GetName¶
func (x *Type_AbstractType) GetName()string
func (*Type_AbstractType)GetParameterTypes¶
func (x *Type_AbstractType) GetParameterTypes() []*Type
func (*Type_AbstractType)ProtoMessage¶
func (*Type_AbstractType) ProtoMessage()
func (*Type_AbstractType)ProtoReflect¶
func (x *Type_AbstractType) ProtoReflect()protoreflect.Message
func (*Type_AbstractType)Reset¶
func (x *Type_AbstractType) Reset()
func (*Type_AbstractType)String¶
func (x *Type_AbstractType) String()string
typeType_AbstractType_¶
type Type_AbstractType_ struct {AbstractType *Type_AbstractType `protobuf:"bytes,14,opt,name=abstract_type,json=abstractType,proto3,oneof"`}typeType_Error¶
typeType_Function¶
type Type_Function struct {Function *Type_FunctionType `protobuf:"bytes,8,opt,name=function,proto3,oneof"`}typeType_FunctionType¶
type Type_FunctionType struct {ResultType *Type `protobuf:"bytes,1,opt,name=result_type,json=resultType,proto3" json:"result_type,omitempty"`ArgTypes []*Type `protobuf:"bytes,2,rep,name=arg_types,json=argTypes,proto3" json:"arg_types,omitempty"`// contains filtered or unexported fields} func (*Type_FunctionType)Descriptordeprecated
func (*Type_FunctionType) Descriptor() ([]byte, []int)
Deprecated: Use Type_FunctionType.ProtoReflect.Descriptor instead.
func (*Type_FunctionType)GetArgTypes¶
func (x *Type_FunctionType) GetArgTypes() []*Type
func (*Type_FunctionType)GetResultType¶
func (x *Type_FunctionType) GetResultType() *Type
func (*Type_FunctionType)ProtoMessage¶
func (*Type_FunctionType) ProtoMessage()
func (*Type_FunctionType)ProtoReflect¶
func (x *Type_FunctionType) ProtoReflect()protoreflect.Message
func (*Type_FunctionType)Reset¶
func (x *Type_FunctionType) Reset()
func (*Type_FunctionType)String¶
func (x *Type_FunctionType) String()string
typeType_ListType¶
type Type_ListType struct {ElemType *Type `protobuf:"bytes,1,opt,name=elem_type,json=elemType,proto3" json:"elem_type,omitempty"`// contains filtered or unexported fields} func (*Type_ListType)Descriptordeprecated
func (*Type_ListType) Descriptor() ([]byte, []int)
Deprecated: Use Type_ListType.ProtoReflect.Descriptor instead.
func (*Type_ListType)GetElemType¶
func (x *Type_ListType) GetElemType() *Type
func (*Type_ListType)ProtoMessage¶
func (*Type_ListType) ProtoMessage()
func (*Type_ListType)ProtoReflect¶
func (x *Type_ListType) ProtoReflect()protoreflect.Message
func (*Type_ListType)Reset¶
func (x *Type_ListType) Reset()
func (*Type_ListType)String¶
func (x *Type_ListType) String()string
typeType_ListType_¶
type Type_ListType_ struct {ListType *Type_ListType `protobuf:"bytes,6,opt,name=list_type,json=listType,proto3,oneof"`}typeType_MapType¶
type Type_MapType struct {KeyType *Type `protobuf:"bytes,1,opt,name=key_type,json=keyType,proto3" json:"key_type,omitempty"`ValueType *Type `protobuf:"bytes,2,opt,name=value_type,json=valueType,proto3" json:"value_type,omitempty"`// contains filtered or unexported fields} func (*Type_MapType)Descriptordeprecated
func (*Type_MapType) Descriptor() ([]byte, []int)
Deprecated: Use Type_MapType.ProtoReflect.Descriptor instead.
func (*Type_MapType)GetKeyType¶
func (x *Type_MapType) GetKeyType() *Type
func (*Type_MapType)GetValueType¶
func (x *Type_MapType) GetValueType() *Type
func (*Type_MapType)ProtoMessage¶
func (*Type_MapType) ProtoMessage()
func (*Type_MapType)ProtoReflect¶
func (x *Type_MapType) ProtoReflect()protoreflect.Message
func (*Type_MapType)Reset¶
func (x *Type_MapType) Reset()
func (*Type_MapType)String¶
func (x *Type_MapType) String()string
typeType_MapType_¶
type Type_MapType_ struct {MapType *Type_MapType `protobuf:"bytes,7,opt,name=map_type,json=mapType,proto3,oneof"`}typeType_MessageType¶
type Type_MessageType struct {MessageTypestring `protobuf:"bytes,9,opt,name=message_type,json=messageType,proto3,oneof"`}typeType_Primitive¶
type Type_Primitive struct {PrimitiveType_PrimitiveType `protobuf:"varint,3,opt,name=primitive,proto3,enum=cel.expr.Type_PrimitiveType,oneof"`}typeType_PrimitiveType¶
type Type_PrimitiveTypeint32
const (Type_PRIMITIVE_TYPE_UNSPECIFIEDType_PrimitiveType = 0Type_BOOLType_PrimitiveType = 1Type_INT64Type_PrimitiveType = 2Type_UINT64Type_PrimitiveType = 3Type_DOUBLEType_PrimitiveType = 4Type_STRINGType_PrimitiveType = 5Type_BYTESType_PrimitiveType = 6)
func (Type_PrimitiveType)Descriptor¶
func (Type_PrimitiveType) Descriptor()protoreflect.EnumDescriptor
func (Type_PrimitiveType)Enum¶
func (xType_PrimitiveType) Enum() *Type_PrimitiveType
func (Type_PrimitiveType)EnumDescriptordeprecated
func (Type_PrimitiveType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Type_PrimitiveType.Descriptor instead.
func (Type_PrimitiveType)Number¶
func (xType_PrimitiveType) Number()protoreflect.EnumNumber
func (Type_PrimitiveType)String¶
func (xType_PrimitiveType) String()string
func (Type_PrimitiveType)Type¶
func (Type_PrimitiveType) Type()protoreflect.EnumType
typeType_TypeParam¶
type Type_TypeParam struct {TypeParamstring `protobuf:"bytes,10,opt,name=type_param,json=typeParam,proto3,oneof"`}typeType_WellKnown¶
type Type_WellKnown struct {WellKnownType_WellKnownType `protobuf:"varint,5,opt,name=well_known,json=wellKnown,proto3,enum=cel.expr.Type_WellKnownType,oneof"`}typeType_WellKnownType¶
type Type_WellKnownTypeint32
const (Type_WELL_KNOWN_TYPE_UNSPECIFIEDType_WellKnownType = 0Type_ANYType_WellKnownType = 1Type_TIMESTAMPType_WellKnownType = 2Type_DURATIONType_WellKnownType = 3)
func (Type_WellKnownType)Descriptor¶
func (Type_WellKnownType) Descriptor()protoreflect.EnumDescriptor
func (Type_WellKnownType)Enum¶
func (xType_WellKnownType) Enum() *Type_WellKnownType
func (Type_WellKnownType)EnumDescriptordeprecated
func (Type_WellKnownType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Type_WellKnownType.Descriptor instead.
func (Type_WellKnownType)Number¶
func (xType_WellKnownType) Number()protoreflect.EnumNumber
func (Type_WellKnownType)String¶
func (xType_WellKnownType) String()string
func (Type_WellKnownType)Type¶
func (Type_WellKnownType) Type()protoreflect.EnumType
typeType_Wrapper¶
type Type_Wrapper struct {WrapperType_PrimitiveType `protobuf:"varint,4,opt,name=wrapper,proto3,enum=cel.expr.Type_PrimitiveType,oneof"`}typeUnknownSet¶
type UnknownSet struct {Exprs []int64 `protobuf:"varint,1,rep,packed,name=exprs,proto3" json:"exprs,omitempty"`// contains filtered or unexported fields} func (*UnknownSet)Descriptordeprecated
func (*UnknownSet) Descriptor() ([]byte, []int)
Deprecated: Use UnknownSet.ProtoReflect.Descriptor instead.
func (*UnknownSet)GetExprs¶
func (x *UnknownSet) GetExprs() []int64
func (*UnknownSet)ProtoMessage¶
func (*UnknownSet) ProtoMessage()
func (*UnknownSet)ProtoReflect¶
func (x *UnknownSet) ProtoReflect()protoreflect.Message
func (*UnknownSet)Reset¶
func (x *UnknownSet) Reset()
func (*UnknownSet)String¶
func (x *UnknownSet) String()string
typeValue¶
type Value struct {// 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_TypeValueKind isValue_Kind `protobuf_oneof:"kind"`// contains filtered or unexported fields} func (*Value)Descriptordeprecated
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)ProtoReflect¶
func (x *Value) ProtoReflect()protoreflect.Message
typeValue_BoolValue¶
type Value_BoolValue struct {BoolValuebool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"`}typeValue_BytesValue¶
type Value_BytesValue struct {BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"`}typeValue_DoubleValue¶
type Value_DoubleValue struct {DoubleValuefloat64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"`}typeValue_EnumValue¶
type Value_EnumValue struct {EnumValue *EnumValue `protobuf:"bytes,9,opt,name=enum_value,json=enumValue,proto3,oneof"`}typeValue_Int64Value¶
type Value_Int64Value struct {Int64Valueint64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"`}typeValue_ListValue¶
type Value_ListValue struct {ListValue *ListValue `protobuf:"bytes,12,opt,name=list_value,json=listValue,proto3,oneof"`}typeValue_MapValue¶
type Value_MapValue struct {MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,proto3,oneof"`}typeValue_NullValue¶
typeValue_StringValue¶
type Value_StringValue struct {StringValuestring `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"`}typeValue_TypeValue¶
type Value_TypeValue struct {TypeValuestring `protobuf:"bytes,15,opt,name=type_value,json=typeValue,proto3,oneof"`}typeValue_Uint64Value¶
type Value_Uint64Value struct {Uint64Valueuint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"`}