Package dev.cel.expr.conformance
Interface CheckRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CheckRequest,CheckRequest.Builder
public interface CheckRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe protocol buffer context.com.google.protobuf.ByteStringThe protocol buffer context.booleanIf true, use only the declarations in [type_env][cel.expr.conformance.CheckRequest.type_env].Required.Required.getTypeEnv(int index) Declarations of types for external variables and functions.intDeclarations of types for external variables and functions.Declarations of types for external variables and functions.getTypeEnvOrBuilder(int index) Declarations of types for external variables and functions.List<? extends DeclOrBuilder>Declarations of types for external variables and functions.booleanRequired.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()Required. The parsed representation of the CEL program.
.cel.expr.ParsedExpr parsed_expr = 1;- Returns:
- Whether the parsedExpr field is set.
-
getParsedExpr
ParsedExpr getParsedExpr()Required. The parsed representation of the CEL program.
.cel.expr.ParsedExpr parsed_expr = 1;- Returns:
- The parsedExpr.
-
getParsedExprOrBuilder
ParsedExprOrBuilder getParsedExprOrBuilder()Required. The parsed representation of the CEL program.
.cel.expr.ParsedExpr parsed_expr = 1; -
getTypeEnvList
Declarations of types for external variables and functions. Required if program uses external variables or functions not in the default environment.
repeated .cel.expr.Decl type_env = 2; -
getTypeEnv
Declarations of types for external variables and functions. Required if program uses external variables or functions not in the default environment.
repeated .cel.expr.Decl type_env = 2; -
getTypeEnvCount
int getTypeEnvCount()Declarations of types for external variables and functions. Required if program uses external variables or functions not in the default environment.
repeated .cel.expr.Decl type_env = 2; -
getTypeEnvOrBuilderList
List<? extends DeclOrBuilder> getTypeEnvOrBuilderList()Declarations of types for external variables and functions. Required if program uses external variables or functions not in the default environment.
repeated .cel.expr.Decl type_env = 2; -
getTypeEnvOrBuilder
Declarations of types for external variables and functions. Required if program uses external variables or functions not in the default environment.
repeated .cel.expr.Decl type_env = 2; -
getContainer
String getContainer()The protocol buffer context. See "Name Resolution" in the Language Definition.
string container = 3;- Returns:
- The container.
-
getContainerBytes
com.google.protobuf.ByteString getContainerBytes()The protocol buffer context. See "Name Resolution" in the Language Definition.
string container = 3;- Returns:
- The bytes for container.
-
getNoStdEnv
boolean getNoStdEnv()If true, use only the declarations in [type_env][cel.expr.conformance.CheckRequest.type_env]. If false (default), add declarations for the standard definitions to the type environment. See "Standard Definitions" in the Language Definition.
bool no_std_env = 4;- Returns:
- The noStdEnv.
-