
cel.dev.expr.conformance.EnvironmentOrBuilder Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: cel/expr/conformance/env_config.proto
// Protobuf Java Version: 3.25.1
package cel.dev.expr.conformance;
public interface EnvironmentOrBuilder extends
// @@protoc_insertion_point(interface_extends:cel.expr.conformance.Environment)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name of the environment
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* Name of the environment
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Description for the current environment
*
*
* string description = 2;
* @return The description.
*/
java.lang.String getDescription();
/**
*
* Description for the current environment
*
*
* string description = 2;
* @return The bytes for description.
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
* Sets the namespace (container) for the expression.
* This is used to simplify resolution.
* For example with container
* `google.rpc.context`
* an identifier of `google.rpc.context.AttributeContext` could be referred
* to simply as `AttributeContext` in the CEL expression.
*
*
* string container = 3;
* @return The container.
*/
java.lang.String getContainer();
/**
*
* Sets the namespace (container) for the expression.
* This is used to simplify resolution.
* For example with container
* `google.rpc.context`
* an identifier of `google.rpc.context.AttributeContext` could be referred
* to simply as `AttributeContext` in the CEL expression.
*
*
* string container = 3;
* @return The bytes for container.
*/
com.google.protobuf.ByteString
getContainerBytes();
/**
*
* List of abbreviations to be added to the CEL environment
*
*
* repeated .cel.expr.conformance.Environment.Import imports = 4;
*/
java.util.List
getImportsList();
/**
*
* List of abbreviations to be added to the CEL environment
*
*
* repeated .cel.expr.conformance.Environment.Import imports = 4;
*/
cel.dev.expr.conformance.Environment.Import getImports(int index);
/**
*
* List of abbreviations to be added to the CEL environment
*
*
* repeated .cel.expr.conformance.Environment.Import imports = 4;
*/
int getImportsCount();
/**
*
* List of abbreviations to be added to the CEL environment
*
*
* repeated .cel.expr.conformance.Environment.Import imports = 4;
*/
java.util.List extends cel.dev.expr.conformance.Environment.ImportOrBuilder>
getImportsOrBuilderList();
/**
*
* List of abbreviations to be added to the CEL environment
*
*
* repeated .cel.expr.conformance.Environment.Import imports = 4;
*/
cel.dev.expr.conformance.Environment.ImportOrBuilder getImportsOrBuilder(
int index);
/**
*
* Set of options to subset a subsettable library
*
*
* .cel.expr.conformance.LibrarySubset stdlib = 5;
* @return Whether the stdlib field is set.
*/
boolean hasStdlib();
/**
*
* Set of options to subset a subsettable library
*
*
* .cel.expr.conformance.LibrarySubset stdlib = 5;
* @return The stdlib.
*/
cel.dev.expr.conformance.LibrarySubset getStdlib();
/**
*
* Set of options to subset a subsettable library
*
*
* .cel.expr.conformance.LibrarySubset stdlib = 5;
*/
cel.dev.expr.conformance.LibrarySubsetOrBuilder getStdlibOrBuilder();
/**
*
* List of extensions to enable in the CEL environment.
*
*
* repeated .cel.expr.conformance.Extension extensions = 6;
*/
java.util.List
getExtensionsList();
/**
*
* List of extensions to enable in the CEL environment.
*
*
* repeated .cel.expr.conformance.Extension extensions = 6;
*/
cel.dev.expr.conformance.Extension getExtensions(int index);
/**
*
* List of extensions to enable in the CEL environment.
*
*
* repeated .cel.expr.conformance.Extension extensions = 6;
*/
int getExtensionsCount();
/**
*
* List of extensions to enable in the CEL environment.
*
*
* repeated .cel.expr.conformance.Extension extensions = 6;
*/
java.util.List extends cel.dev.expr.conformance.ExtensionOrBuilder>
getExtensionsOrBuilderList();
/**
*
* List of extensions to enable in the CEL environment.
*
*
* repeated .cel.expr.conformance.Extension extensions = 6;
*/
cel.dev.expr.conformance.ExtensionOrBuilder getExtensionsOrBuilder(
int index);
/**
*
* If set, adds a context declaration from a proto message.
*
* Context messages have all of their top-level fields available as variables
* in the type checker.
*
*
* .cel.expr.conformance.Environment.ContextVariable context_variable = 7;
* @return Whether the contextVariable field is set.
*/
boolean hasContextVariable();
/**
*
* If set, adds a context declaration from a proto message.
*
* Context messages have all of their top-level fields available as variables
* in the type checker.
*
*
* .cel.expr.conformance.Environment.ContextVariable context_variable = 7;
* @return The contextVariable.
*/
cel.dev.expr.conformance.Environment.ContextVariable getContextVariable();
/**
*
* If set, adds a context declaration from a proto message.
*
* Context messages have all of their top-level fields available as variables
* in the type checker.
*
*
* .cel.expr.conformance.Environment.ContextVariable context_variable = 7;
*/
cel.dev.expr.conformance.Environment.ContextVariableOrBuilder getContextVariableOrBuilder();
/**
*
* List of declarations to be configured in the CEL environment.
*
* Note: The CEL environment can be configured with either the
* context_variable or a set of ident_decls provided as part of declarations.
* Providing both will result in an error.
*
*
* repeated .cel.expr.Decl declarations = 8;
*/
java.util.List
getDeclarationsList();
/**
*
* List of declarations to be configured in the CEL environment.
*
* Note: The CEL environment can be configured with either the
* context_variable or a set of ident_decls provided as part of declarations.
* Providing both will result in an error.
*
*
* repeated .cel.expr.Decl declarations = 8;
*/
dev.cel.expr.Decl getDeclarations(int index);
/**
*
* List of declarations to be configured in the CEL environment.
*
* Note: The CEL environment can be configured with either the
* context_variable or a set of ident_decls provided as part of declarations.
* Providing both will result in an error.
*
*
* repeated .cel.expr.Decl declarations = 8;
*/
int getDeclarationsCount();
/**
*
* List of declarations to be configured in the CEL environment.
*
* Note: The CEL environment can be configured with either the
* context_variable or a set of ident_decls provided as part of declarations.
* Providing both will result in an error.
*
*
* repeated .cel.expr.Decl declarations = 8;
*/
java.util.List extends dev.cel.expr.DeclOrBuilder>
getDeclarationsOrBuilderList();
/**
*
* List of declarations to be configured in the CEL environment.
*
* Note: The CEL environment can be configured with either the
* context_variable or a set of ident_decls provided as part of declarations.
* Providing both will result in an error.
*
*
* repeated .cel.expr.Decl declarations = 8;
*/
dev.cel.expr.DeclOrBuilder getDeclarationsOrBuilder(
int index);
/**
*
* List of validators for validating the parsed ast.
*
*
* repeated .cel.expr.conformance.Validator validators = 9;
*/
java.util.List
getValidatorsList();
/**
*
* List of validators for validating the parsed ast.
*
*
* repeated .cel.expr.conformance.Validator validators = 9;
*/
cel.dev.expr.conformance.Validator getValidators(int index);
/**
*
* List of validators for validating the parsed ast.
*
*
* repeated .cel.expr.conformance.Validator validators = 9;
*/
int getValidatorsCount();
/**
*
* List of validators for validating the parsed ast.
*
*
* repeated .cel.expr.conformance.Validator validators = 9;
*/
java.util.List extends cel.dev.expr.conformance.ValidatorOrBuilder>
getValidatorsOrBuilderList();
/**
*
* List of validators for validating the parsed ast.
*
*
* repeated .cel.expr.conformance.Validator validators = 9;
*/
cel.dev.expr.conformance.ValidatorOrBuilder getValidatorsOrBuilder(
int index);
/**
*
* List of feature flags to be enabled or disabled.
*
*
* repeated .cel.expr.conformance.Feature features = 10;
*/
java.util.List
getFeaturesList();
/**
*
* List of feature flags to be enabled or disabled.
*
*
* repeated .cel.expr.conformance.Feature features = 10;
*/
cel.dev.expr.conformance.Feature getFeatures(int index);
/**
*
* List of feature flags to be enabled or disabled.
*
*
* repeated .cel.expr.conformance.Feature features = 10;
*/
int getFeaturesCount();
/**
*
* List of feature flags to be enabled or disabled.
*
*
* repeated .cel.expr.conformance.Feature features = 10;
*/
java.util.List extends cel.dev.expr.conformance.FeatureOrBuilder>
getFeaturesOrBuilderList();
/**
*
* List of feature flags to be enabled or disabled.
*
*
* repeated .cel.expr.conformance.Feature features = 10;
*/
cel.dev.expr.conformance.FeatureOrBuilder getFeaturesOrBuilder(
int index);
/**
*
* Disables including the declarations from the standard CEL environment.
*
* NOTE: Do not disable the standard CEL declarations unless you are aware of
* the implications and have discussed your use case on cel-discuss@
* or with the members of the cel-governance-team@
*
* Deprecated: Use LibrarySubset to disable standard cel declarations instead:
* stdlib = LibrarySubset{ disable: true }
*
*
* bool disable_standard_cel_declarations = 11;
* @return The disableStandardCelDeclarations.
*/
boolean getDisableStandardCelDeclarations();
/**
*
* If provided, uses the provided FileDescriptorSet to extend types available
* the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
* are known to the CEL compiler, but all others must be provided for type
* checking.
*
*
* .google.protobuf.FileDescriptorSet message_type_extension = 12;
* @return Whether the messageTypeExtension field is set.
*/
boolean hasMessageTypeExtension();
/**
*
* If provided, uses the provided FileDescriptorSet to extend types available
* the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
* are known to the CEL compiler, but all others must be provided for type
* checking.
*
*
* .google.protobuf.FileDescriptorSet message_type_extension = 12;
* @return The messageTypeExtension.
*/
com.google.protobuf.DescriptorProtos.FileDescriptorSet getMessageTypeExtension();
/**
*
* If provided, uses the provided FileDescriptorSet to extend types available
* the CEL expression. All "well-known" protobuf messages (google.protobuf.*)
* are known to the CEL compiler, but all others must be provided for type
* checking.
*
*
* .google.protobuf.FileDescriptorSet message_type_extension = 12;
*/
com.google.protobuf.DescriptorProtos.FileDescriptorSetOrBuilder getMessageTypeExtensionOrBuilder();
/**
*
* When macro call tracking is enabled, the resulting SourceInfo in the
* CheckedExpr will contain a collection of expressions representing the
* function calls which were replaced by macros.
*
* Deprecated: Use Feature to enable macro call tracking
* Feature{ name: "cel.feature.macro_call_tracking", enabled: true }
*
*
* bool enable_macro_call_tracking = 13;
* @return The enableMacroCallTracking.
*/
boolean getEnableMacroCallTracking();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy