Package dev.cel.expr.conformance
Interface EvalRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EvalRequest,EvalRequest.Builder
public interface EvalRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsBindings(String key) Bindings for the external variables.Deprecated.intBindings for the external variables.Bindings for the external variables.getBindingsOrDefault(String key, ExprValue defaultValue) Bindings for the external variables.getBindingsOrThrow(String key) Bindings for the external variables.Evaluate based on the checked representation.Evaluate based on the checked representation.SHOULD be the same container as used in [CheckRequest][cel.expr.conformance.CheckRequest], if checked.com.google.protobuf.ByteStringSHOULD be the same container as used in [CheckRequest][cel.expr.conformance.CheckRequest], if checked.Evaluate based on the parsed representation.Evaluate based on the parsed representation.booleanEvaluate based on the checked representation.booleanEvaluate based on the parsed representation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasParsedExpr
boolean hasParsedExpr()Evaluate based on the parsed representation.
.cel.expr.ParsedExpr parsed_expr = 1;- Returns:
- Whether the parsedExpr field is set.
-
getParsedExpr
ParsedExpr getParsedExpr()Evaluate based on the parsed representation.
.cel.expr.ParsedExpr parsed_expr = 1;- Returns:
- The parsedExpr.
-
getParsedExprOrBuilder
ParsedExprOrBuilder getParsedExprOrBuilder()Evaluate based on the parsed representation.
.cel.expr.ParsedExpr parsed_expr = 1; -
hasCheckedExpr
boolean hasCheckedExpr()Evaluate based on the checked representation.
.cel.expr.CheckedExpr checked_expr = 2;- Returns:
- Whether the checkedExpr field is set.
-
getCheckedExpr
CheckedExpr getCheckedExpr()Evaluate based on the checked representation.
.cel.expr.CheckedExpr checked_expr = 2;- Returns:
- The checkedExpr.
-
getCheckedExprOrBuilder
CheckedExprOrBuilder getCheckedExprOrBuilder()Evaluate based on the checked representation.
.cel.expr.CheckedExpr checked_expr = 2; -
getBindingsCount
int getBindingsCount()Bindings for the external variables. The types SHOULD be compatible with the type environment in [CheckRequest][cel.expr.conformance.CheckRequest], if checked.
map<string, .cel.expr.ExprValue> bindings = 3; -
containsBindings
Bindings for the external variables. The types SHOULD be compatible with the type environment in [CheckRequest][cel.expr.conformance.CheckRequest], if checked.
map<string, .cel.expr.ExprValue> bindings = 3; -
getBindings
Deprecated.UsegetBindingsMap()instead. -
getBindingsMap
Bindings for the external variables. The types SHOULD be compatible with the type environment in [CheckRequest][cel.expr.conformance.CheckRequest], if checked.
map<string, .cel.expr.ExprValue> bindings = 3; -
getBindingsOrDefault
Bindings for the external variables. The types SHOULD be compatible with the type environment in [CheckRequest][cel.expr.conformance.CheckRequest], if checked.
map<string, .cel.expr.ExprValue> bindings = 3; -
getBindingsOrThrow
Bindings for the external variables. The types SHOULD be compatible with the type environment in [CheckRequest][cel.expr.conformance.CheckRequest], if checked.
map<string, .cel.expr.ExprValue> bindings = 3; -
getContainer
String getContainer()SHOULD be the same container as used in [CheckRequest][cel.expr.conformance.CheckRequest], if checked.
string container = 4;- Returns:
- The container.
-
getContainerBytes
com.google.protobuf.ByteString getContainerBytes()SHOULD be the same container as used in [CheckRequest][cel.expr.conformance.CheckRequest], if checked.
string container = 4;- Returns:
- The bytes for container.
-
getExprKindCase
EvalRequest.ExprKindCase getExprKindCase()
-