This section is empty.
View Sourcevar ( 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.
View Sourcevar ( 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.
View Sourcevar ( 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.
This section is empty.
type CheckedExpr struct { ReferenceMap map[int64]*Reference `` TypeMap map[int64]*Type `` SourceInfo *SourceInfo `protobuf:"bytes,5,opt,name=source_info,json=sourceInfo,proto3" json:"source_info,omitempty"` ExprVersion string `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"` }
A CEL expression which has been successfully type checked.
Deprecated: Use CheckedExpr.ProtoReflect.Descriptor instead.
type Constant struct { ConstantKind isConstant_ConstantKind `protobuf_oneof:"constant_kind"` }
Represents a primitive literal.
Named 'Constant' here for backwards compatibility.
This is similar as the primitives supported in the well-known type `google.protobuf.Value`, but richer so it can represent CEL's full range of primitives.
Lists and structs are not included as constants as these aggregate types may contain Expr[google.api.expr.v1alpha1.Expr] elements which require evaluation and are thus not constant.
Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, `true`, `null`.
Deprecated: Use Constant.ProtoReflect.Descriptor instead.
func (m *Constant) GetConstantKind() isConstant_ConstantKind
type Constant_BoolValue struct { BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"` }
type Constant_BytesValue struct { BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"` }
type Constant_DoubleValue struct { DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"` }
type Constant_DurationValue struct { DurationValue *durationpb.Duration `protobuf:"bytes,8,opt,name=duration_value,json=durationValue,proto3,oneof"` }
type Constant_Int64Value struct { Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"` }
type Constant_NullValue struct { NullValue structpb.NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"` }
type Constant_StringValue struct { StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"` }
type Constant_TimestampValue struct { TimestampValue *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=timestamp_value,json=timestampValue,proto3,oneof"` }
type Constant_Uint64Value struct { Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"` }
type Decl struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` DeclKind isDecl_DeclKind `protobuf_oneof:"decl_kind"` }
Represents a declaration of a named value or function.
A declaration is part of the contract between the expression, the agent evaluating that expression, and the caller requesting evaluation.
Deprecated: Use Decl.ProtoReflect.Descriptor instead.
func (m *Decl) GetDeclKind() isDecl_DeclKind
func (*Decl) ProtoMessage()
type Decl_Function struct { Function *Decl_FunctionDecl `protobuf:"bytes,3,opt,name=function,proto3,oneof"` }
type Decl_FunctionDecl struct { Overloads []*Decl_FunctionDecl_Overload `protobuf:"bytes,1,rep,name=overloads,proto3" json:"overloads,omitempty"` }
Function declaration specifies one or more overloads which indicate the function's parameter types and return type.
Functions have no observable side-effects (there may be side-effects like logging which are not observable from CEL).
Deprecated: Use Decl_FunctionDecl.ProtoReflect.Descriptor instead.
type Decl_FunctionDecl_Overload struct { OverloadId string `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"` IsInstanceFunction bool `protobuf:"varint,5,opt,name=is_instance_function,json=isInstanceFunction,proto3" json:"is_instance_function,omitempty"` Doc string `protobuf:"bytes,6,opt,name=doc,proto3" json:"doc,omitempty"` }
An overload indicates a function's parameter types and return type, and may optionally include a function body described in terms of Expr[google.api.expr.v1alpha1.Expr] values.
Functions overloads are declared in either a function or method call-style. For methods, the `params[0]` is the expected type of the target receiver.
Overloads must have non-overlapping argument types after erasure of all parameterized type variables (similar as type erasure in Java).
Deprecated: Use Decl_FunctionDecl_Overload.ProtoReflect.Descriptor instead.
type Decl_Ident struct { Ident *Decl_IdentDecl `protobuf:"bytes,2,opt,name=ident,proto3,oneof"` }
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"` Doc string `protobuf:"bytes,3,opt,name=doc,proto3" json:"doc,omitempty"` }
Identifier declaration which specifies its type and optional `Expr` value.
An identifier without a value is a declaration that must be provided at evaluation time. An identifier with a value should resolve to a constant, but may be used in conjunction with other identifiers bound at evaluation time.
Deprecated: Use Decl_IdentDecl.ProtoReflect.Descriptor instead.
type EnumValue struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` }
An enum value.
Deprecated: Use EnumValue.ProtoReflect.Descriptor instead.
type ErrorSet struct { Errors []*status.Status `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"` }
A set of errors.
The errors included depend on the context. See `ExprValue.error`.
Deprecated: Use ErrorSet.ProtoReflect.Descriptor instead.
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"` }
The state of an evaluation.
Can represent an inital, partial, or completed state of evaluation.
Deprecated: Use EvalState.ProtoReflect.Descriptor instead.
type EvalState_Result struct { Expr int64 `protobuf:"varint,1,opt,name=expr,proto3" json:"expr,omitempty"` Value int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"` }
A single evalution result.
Deprecated: Use EvalState_Result.ProtoReflect.Descriptor instead.
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"` }
Values of intermediate expressions produced when evaluating expression. Deprecated, use `EvalState` instead.
Deprecated: Do not use.
Deprecated: Use Explain.ProtoReflect.Descriptor instead.
type Explain_ExprStep struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ValueIndex int32 `protobuf:"varint,2,opt,name=value_index,json=valueIndex,proto3" json:"value_index,omitempty"` }
ID and value index of one step.
Deprecated: Use Explain_ExprStep.ProtoReflect.Descriptor instead.
type Expr struct { Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` ExprKind isExpr_ExprKind `protobuf_oneof:"expr_kind"` }
An abstract representation of a common expression.
Expressions are abstractly represented as a collection of identifiers, select statements, function calls, literals, and comprehensions. All operators with the exception of the '.' operator are modelled as function calls. This makes it easy to represent new operators into the existing AST.
All references within expressions must resolve to a Decl[google.api.expr.v1alpha1.Decl] provided at type-check for an expression to be valid. A reference may either be a bare identifier `name` or a qualified identifier `google.api.name`. References may either refer to a value or a function declaration.
For example, the expression `google.api.name.startsWith('expr')` references the declaration `google.api.name` within a [Expr.Select][google.api.expr.v1alpha1.Expr.Select] expression, and the function declaration `startsWith`.
Deprecated: Use Expr.ProtoReflect.Descriptor instead.
func (m *Expr) GetExprKind() isExpr_ExprKind
func (*Expr) ProtoMessage()
type ExprValue struct { Kind isExprValue_Kind `protobuf_oneof:"kind"` }
The value of an evaluated expression.
Deprecated: Use ExprValue.ProtoReflect.Descriptor instead.
func (m *ExprValue) GetKind() isExprValue_Kind
type ExprValue_Error struct { Error *ErrorSet `protobuf:"bytes,2,opt,name=error,proto3,oneof"` }
type ExprValue_Unknown struct { Unknown *UnknownSet `protobuf:"bytes,3,opt,name=unknown,proto3,oneof"` }
type ExprValue_Value struct { Value *Value `protobuf:"bytes,1,opt,name=value,proto3,oneof"` }
type Expr_Call struct { Target *Expr `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` Function string `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"` Args []*Expr `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` }
A call expression, including calls to predefined functions and operators.
For example, `value == 10`, `size(map_value)`.
Deprecated: Use Expr_Call.ProtoReflect.Descriptor instead.
type Expr_CallExpr struct { CallExpr *Expr_Call `protobuf:"bytes,6,opt,name=call_expr,json=callExpr,proto3,oneof"` }
type Expr_Comprehension struct { IterVar string `protobuf:"bytes,1,opt,name=iter_var,json=iterVar,proto3" json:"iter_var,omitempty"` IterVar2 string `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"` AccuVar string `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"` }
A comprehension expression applied to a list or map.
Comprehensions are not part of the core syntax, but enabled with macros. A macro matches a specific call signature within a parsed AST and replaces the call with an alternate AST block. Macro expansion happens at parse time.
The following macros are supported within CEL:
Aggregate type macros may be applied to all elements in a list or all keys in a map:
The `has(m.x)` macro tests whether the property `x` is present in struct `m`. The semantics of this macro depend on the type of `m`. For proto2 messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the macro tests whether the property is set to its default. For map and struct types, the macro tests whether the property `x` is defined on `m`.
Comprehensions for the standard environment macros evaluation can be best visualized as the following pseudocode:
``` let `accu_var` = `accu_init`
for (let `iter_var` in `iter_range`) { if (!`loop_condition`) { break } `accu_var` = `loop_step` }
return `result` ```
Comprehensions for the optional V2 macros which support map-to-map translation differ slightly from the standard environment macros in that they expose both the key or index in addition to the value for each list or map entry:
``` let `accu_var` = `accu_init`
for (let `iter_var`, `iter_var2` in `iter_range`) { if (!`loop_condition`) { break } `accu_var` = `loop_step` }
return `result` ```
Deprecated: Use Expr_Comprehension.ProtoReflect.Descriptor instead.
type Expr_ComprehensionExpr struct { ComprehensionExpr *Expr_Comprehension `protobuf:"bytes,9,opt,name=comprehension_expr,json=comprehensionExpr,proto3,oneof"` }
type Expr_ConstExpr struct { ConstExpr *Constant `protobuf:"bytes,3,opt,name=const_expr,json=constExpr,proto3,oneof"` }
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"` }
A list creation expression.
Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogeneous, e.g. `dyn([1, 'hello', 2.0])`
Deprecated: Use Expr_CreateList.ProtoReflect.Descriptor instead.
type Expr_CreateStruct struct { MessageName string `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"` }
A map or message creation expression.
Maps are constructed as `{'key_name': 'value'}`. Message construction is similar, but prefixed with a type name and composed of field ids: `types.MyType{field_id: 'value'}`.
Deprecated: Use Expr_CreateStruct.ProtoReflect.Descriptor instead.
type Expr_CreateStruct_Entry struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` KeyKind isExpr_CreateStruct_Entry_KeyKind `protobuf_oneof:"key_kind"` Value *Expr `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"` OptionalEntry bool `protobuf:"varint,5,opt,name=optional_entry,json=optionalEntry,proto3" json:"optional_entry,omitempty"` }
Represents an entry.
Deprecated: Use Expr_CreateStruct_Entry.ProtoReflect.Descriptor instead.
type Expr_CreateStruct_Entry_FieldKey struct { FieldKey string `protobuf:"bytes,2,opt,name=field_key,json=fieldKey,proto3,oneof"` }
type Expr_CreateStruct_Entry_MapKey struct { MapKey *Expr `protobuf:"bytes,3,opt,name=map_key,json=mapKey,proto3,oneof"` }
type Expr_Ident struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` }
An identifier expression. e.g. `request`.
Deprecated: Use Expr_Ident.ProtoReflect.Descriptor instead.
type Expr_IdentExpr struct { IdentExpr *Expr_Ident `protobuf:"bytes,4,opt,name=ident_expr,json=identExpr,proto3,oneof"` }
type Expr_ListExpr struct { ListExpr *Expr_CreateList `protobuf:"bytes,7,opt,name=list_expr,json=listExpr,proto3,oneof"` }
type Expr_Select struct { Operand *Expr `protobuf:"bytes,1,opt,name=operand,proto3" json:"operand,omitempty"` Field string `protobuf:"bytes,2,opt,name=field,proto3" json:"field,omitempty"` TestOnly bool `protobuf:"varint,3,opt,name=test_only,json=testOnly,proto3" json:"test_only,omitempty"` }
A field selection expression. e.g. `request.auth`.
Deprecated: Use Expr_Select.ProtoReflect.Descriptor instead.
type Expr_SelectExpr struct { SelectExpr *Expr_Select `protobuf:"bytes,5,opt,name=select_expr,json=selectExpr,proto3,oneof"` }
type Expr_StructExpr struct { StructExpr *Expr_CreateStruct `protobuf:"bytes,8,opt,name=struct_expr,json=structExpr,proto3,oneof"` }
type ListValue struct { Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` }
A list.
Wrapped in a message so 'not set' and empty can be differentiated, which is required for use in a 'oneof'.
Deprecated: Use ListValue.ProtoReflect.Descriptor instead.
type MapValue struct { Entries []*MapValue_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` }
A map.
Wrapped in a message so 'not set' and empty can be differentiated, which is required for use in a 'oneof'.
Deprecated: Use MapValue.ProtoReflect.Descriptor instead.
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"` }
An entry in the map.
Deprecated: Use MapValue_Entry.ProtoReflect.Descriptor instead.
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"` }
An expression together with source information as returned by the parser.
Deprecated: Use ParsedExpr.ProtoReflect.Descriptor instead.
type Reference struct { Name string `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"` }
Describes a resolved reference to a declaration.
Deprecated: Use Reference.ProtoReflect.Descriptor instead.
type SourceInfo struct { SyntaxVersion string `protobuf:"bytes,1,opt,name=syntax_version,json=syntaxVersion,proto3" json:"syntax_version,omitempty"` Location string `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 `` MacroCalls map[int64]*Expr `` Extensions []*SourceInfo_Extension `protobuf:"bytes,6,rep,name=extensions,proto3" json:"extensions,omitempty"` }
Source information collected at parse time.
Deprecated: Use SourceInfo.ProtoReflect.Descriptor instead.
type SourceInfo_Extension struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` AffectedComponents []SourceInfo_Extension_Component `` Version *SourceInfo_Extension_Version `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` }
An extension that was requested for the source expression.
Deprecated: Use SourceInfo_Extension.ProtoReflect.Descriptor instead.
type SourceInfo_Extension_Component int32
CEL component specifier.
Deprecated: Use SourceInfo_Extension_Component.Descriptor instead.
type SourceInfo_Extension_Version struct { Major int64 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"` Minor int64 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"` }
Version
Deprecated: Use SourceInfo_Extension_Version.ProtoReflect.Descriptor instead.
type SourcePosition struct { Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"` Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Line int32 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"` Column int32 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"` }
A specific position in source.
Deprecated: Use SourcePosition.ProtoReflect.Descriptor instead.
type Type struct { TypeKind isType_TypeKind `protobuf_oneof:"type_kind"` }
Represents a CEL type.
Deprecated: Use Type.ProtoReflect.Descriptor instead.
func (m *Type) GetTypeKind() isType_TypeKind
func (*Type) ProtoMessage()
type Type_AbstractType struct { Name string `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"` }
Application defined abstract type.
Deprecated: Use Type_AbstractType.ProtoReflect.Descriptor instead.
type Type_AbstractType_ struct { AbstractType *Type_AbstractType `protobuf:"bytes,14,opt,name=abstract_type,json=abstractType,proto3,oneof"` }
type Type_Dyn struct { Dyn *emptypb.Empty `protobuf:"bytes,1,opt,name=dyn,proto3,oneof"` }
type Type_Error struct { Error *emptypb.Empty `protobuf:"bytes,12,opt,name=error,proto3,oneof"` }
type Type_Function struct { Function *Type_FunctionType `protobuf:"bytes,8,opt,name=function,proto3,oneof"` }
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"` }
Function type with result and arg types.
Deprecated: Use Type_FunctionType.ProtoReflect.Descriptor instead.
type Type_ListType struct { ElemType *Type `protobuf:"bytes,1,opt,name=elem_type,json=elemType,proto3" json:"elem_type,omitempty"` }
List type with typed elements, e.g. `list<example.proto.MyMessage>`.
Deprecated: Use Type_ListType.ProtoReflect.Descriptor instead.
type Type_ListType_ struct { ListType *Type_ListType `protobuf:"bytes,6,opt,name=list_type,json=listType,proto3,oneof"` }
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"` }
Map type with parameterized key and value types, e.g. `map<string, int>`.
Deprecated: Use Type_MapType.ProtoReflect.Descriptor instead.
type Type_MapType_ struct { MapType *Type_MapType `protobuf:"bytes,7,opt,name=map_type,json=mapType,proto3,oneof"` }
type Type_MessageType struct { MessageType string `protobuf:"bytes,9,opt,name=message_type,json=messageType,proto3,oneof"` }
type Type_Null struct { Null structpb.NullValue `protobuf:"varint,2,opt,name=null,proto3,enum=google.protobuf.NullValue,oneof"` }
type Type_Primitive struct { Primitive Type_PrimitiveType `protobuf:"varint,3,opt,name=primitive,proto3,enum=google.api.expr.v1alpha1.Type_PrimitiveType,oneof"` }
type Type_PrimitiveType int32
CEL primitive types.
Deprecated: Use Type_PrimitiveType.Descriptor instead.
type Type_Type struct { Type *Type `protobuf:"bytes,11,opt,name=type,proto3,oneof"` }
type Type_TypeParam struct { TypeParam string `protobuf:"bytes,10,opt,name=type_param,json=typeParam,proto3,oneof"` }
type Type_WellKnown struct { WellKnown Type_WellKnownType `protobuf:"varint,5,opt,name=well_known,json=wellKnown,proto3,enum=google.api.expr.v1alpha1.Type_WellKnownType,oneof"` }
type Type_WellKnownType int32
Well-known protobuf types treated with first-class support in CEL.
Deprecated: Use Type_WellKnownType.Descriptor instead.
type Type_Wrapper struct { Wrapper Type_PrimitiveType `protobuf:"varint,4,opt,name=wrapper,proto3,enum=google.api.expr.v1alpha1.Type_PrimitiveType,oneof"` }
type UnknownSet struct { Exprs []int64 `protobuf:"varint,1,rep,packed,name=exprs,proto3" json:"exprs,omitempty"` }
A set of expressions for which the value is unknown.
The unknowns included depend on the context. See `ExprValue.unknown`.
Deprecated: Use UnknownSet.ProtoReflect.Descriptor instead.
type Value struct { Kind isValue_Kind `protobuf_oneof:"kind"` }
Represents a CEL value.
This is similar to `google.protobuf.Value`, but can represent CEL's full range of values.
Deprecated: Use Value.ProtoReflect.Descriptor instead.
func (m *Value) GetKind() isValue_Kind
func (*Value) ProtoMessage()
type Value_BoolValue struct { BoolValue bool `protobuf:"varint,2,opt,name=bool_value,json=boolValue,proto3,oneof"` }
type Value_BytesValue struct { BytesValue []byte `protobuf:"bytes,7,opt,name=bytes_value,json=bytesValue,proto3,oneof"` }
type Value_DoubleValue struct { DoubleValue float64 `protobuf:"fixed64,5,opt,name=double_value,json=doubleValue,proto3,oneof"` }
type Value_EnumValue struct { EnumValue *EnumValue `protobuf:"bytes,9,opt,name=enum_value,json=enumValue,proto3,oneof"` }
type Value_Int64Value struct { Int64Value int64 `protobuf:"varint,3,opt,name=int64_value,json=int64Value,proto3,oneof"` }
type Value_ListValue struct { ListValue *ListValue `protobuf:"bytes,12,opt,name=list_value,json=listValue,proto3,oneof"` }
type Value_MapValue struct { MapValue *MapValue `protobuf:"bytes,11,opt,name=map_value,json=mapValue,proto3,oneof"` }
type Value_NullValue struct { NullValue structpb.NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=google.protobuf.NullValue,oneof"` }
type Value_ObjectValue struct { ObjectValue *anypb.Any `protobuf:"bytes,10,opt,name=object_value,json=objectValue,proto3,oneof"` }
type Value_StringValue struct { StringValue string `protobuf:"bytes,6,opt,name=string_value,json=stringValue,proto3,oneof"` }
type Value_TypeValue struct { TypeValue string `protobuf:"bytes,15,opt,name=type_value,json=typeValue,proto3,oneof"` }
type Value_Uint64Value struct { Uint64Value uint64 `protobuf:"varint,4,opt,name=uint64_value,json=uint64Value,proto3,oneof"` }
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4