CelBuilder |
CelBuilder.addCompilerLibraries(CelCompilerLibrary... libraries) |
Adds one or more libraries for parsing and type-checking.
|
CelBuilder |
CelBuilder.addCompilerLibraries(java.lang.Iterable<CelCompilerLibrary> libraries) |
Adds a collection of libraries for parsing and type-checking.
|
CelBuilder |
CelBuilder.addDeclarations(Decl... declarations) |
Add variable and function declarations to the CEL environment.
|
CelBuilder |
CelBuilder.addDeclarations(java.lang.Iterable<Decl> declarations) |
Add variable and function declarations to the CEL environment.
|
CelBuilder |
CelBuilder.addFileTypes(DescriptorProtos.FileDescriptorSet fileDescriptorSet) |
Add all of the Descriptors.FileDescriptors in a FileDescriptorSet to the use for
type-checking, and for object creation at interpretation time.
|
CelBuilder |
CelBuilder.addFileTypes(Descriptors.FileDescriptor... fileDescriptors) |
|
CelBuilder |
CelBuilder.addFileTypes(java.lang.Iterable<Descriptors.FileDescriptor> fileDescriptors) |
|
CelBuilder |
CelBuilder.addFunctionBindings(CelRuntime.CelFunctionBinding... bindings) |
|
CelBuilder |
CelBuilder.addFunctionBindings(java.lang.Iterable<CelRuntime.CelFunctionBinding> bindings) |
|
CelBuilder |
CelBuilder.addFunctionDeclarations(CelFunctionDecl... celFunctionDecls) |
Add function declaration CelFunctionDecl to the CEL environment.
|
CelBuilder |
CelBuilder.addFunctionDeclarations(java.lang.Iterable<CelFunctionDecl> celFunctionDecls) |
Add function declaration CelFunctionDecl to the CEL environment.
|
CelBuilder |
CelBuilder.addMacros(CelMacro... macros) |
Registers the given macros, replacing any previous macros with the same key.
|
CelBuilder |
CelBuilder.addMacros(java.lang.Iterable<CelMacro> macros) |
Registers the given macros, replacing any previous macros with the same key.
|
CelBuilder |
CelBuilder.addMessageTypes(Descriptors.Descriptor... descriptors) |
|
CelBuilder |
CelBuilder.addMessageTypes(java.lang.Iterable<Descriptors.Descriptor> descriptors) |
|
CelBuilder |
CelBuilder.addProtoTypeMasks(ProtoTypeMask... typeMasks) |
|
CelBuilder |
CelBuilder.addProtoTypeMasks(java.lang.Iterable<ProtoTypeMask> typeMasks) |
|
CelBuilder |
CelBuilder.addRuntimeLibraries(CelRuntimeLibrary... libraries) |
Adds one or more libraries for runtime.
|
CelBuilder |
CelBuilder.addRuntimeLibraries(java.lang.Iterable<CelRuntimeLibrary> libraries) |
Adds a collection of libraries for runtime.
|
CelBuilder |
CelBuilder.addVar(java.lang.String name,
CelType type) |
Add a variable declaration with a given name and CelType.
|
CelBuilder |
CelBuilder.addVar(java.lang.String name,
Type type) |
Add a variable declaration with a given name and Type.
|
CelBuilder |
CelBuilder.addVarDeclarations(CelVarDecl... celVarDecls) |
Add variable declaration CelVarDecl to the CEL environment.
|
CelBuilder |
CelBuilder.addVarDeclarations(java.lang.Iterable<CelVarDecl> celVarDecls) |
Add variable declaration CelVarDecl to the CEL environment.
|
CelBuilder |
CelBuilder.setContainer(java.lang.String container) |
Set the container name to use as the namespace for resolving CEL expression variables
and functions.
|
CelBuilder |
CelBuilder.setExtensionRegistry(ExtensionRegistry extensionRegistry) |
Sets a proto ExtensionRegistry to assist with unpacking Any messages containing a proto2
extension field.
|
CelBuilder |
CelBuilder.setOptions(CelOptions options) |
Set the CelOptions used to enable fixes and feautres for this CEL instance.
|
CelBuilder |
CelBuilder.setProtoResultType(Type resultType) |
Set the expected resultType in proto format described in checked.proto for the
type-checked expression.
|
CelBuilder |
CelBuilder.setResultType(CelType resultType) |
Set the expected resultType for the type-checked expression.
|
CelBuilder |
CelBuilder.setStandardEnvironmentEnabled(boolean value) |
Enable or disable the standard CEL library functions and variables
|
CelBuilder |
CelBuilder.setStandardMacros(CelStandardMacro... macros) |
|
CelBuilder |
CelBuilder.setStandardMacros(java.lang.Iterable<CelStandardMacro> macros) |
|
CelBuilder |
CelBuilder.setTypeFactory(java.util.function.Function<java.lang.String,Message.Builder> typeFactory) |
Set a custom type factory for the runtime.
|
CelBuilder |
CelBuilder.setTypeProvider(TypeProvider typeProvider) |
Deprecated.
|
CelBuilder |
CelBuilder.setTypeProvider(CelTypeProvider celTypeProvider) |
Set the celTypeProvider for use with type-checking expressions.
|
CelBuilder |
CelBuilder.setValueProvider(CelValueProvider celValueProvider) |
Sets the celValueProvider for resolving values during evaluation.
|
static CelBuilder |
CelFactory.standardCelBuilder() |
Creates a builder for configuring CEL using current parser for the parse, type-check, and eval
of expressions.
|