Package com.google.api.expr.v1alpha1
Enum Class SourceInfo.Extension.Component
java.lang.Object
java.lang.Enum<SourceInfo.Extension.Component>
com.google.api.expr.v1alpha1.SourceInfo.Extension.Component
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<SourceInfo.Extension.Component>
,Constable
- Enclosing class:
- SourceInfo.Extension
public static enum SourceInfo.Extension.Component
extends Enum<SourceInfo.Extension.Component>
implements com.google.protobuf.Internal.EnumLite
CEL component specifier.Protobuf enum
google.api.expr.v1alpha1.SourceInfo.Extension.Component
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionParser.Runtime.Type checker.Unspecified, default. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Parser.static final int
Runtime.static final int
Type checker.static final int
Unspecified, default. -
Method Summary
Modifier and TypeMethodDescriptionforNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<SourceInfo.Extension.Component>
static com.google.protobuf.Internal.EnumVerifier
valueOf
(int value) Deprecated.Returns the enum constant of this class with the specified name.static SourceInfo.Extension.Component[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COMPONENT_UNSPECIFIED
Unspecified, default.
COMPONENT_UNSPECIFIED = 0;
-
COMPONENT_PARSER
Parser. Converts a CEL string to an AST.
COMPONENT_PARSER = 1;
-
COMPONENT_TYPE_CHECKER
Type checker. Checks that references in an AST are defined and types agree.
COMPONENT_TYPE_CHECKER = 2;
-
COMPONENT_RUNTIME
Runtime. Evaluates a parsed and optionally checked CEL AST against a context.
COMPONENT_RUNTIME = 3;
-
UNRECOGNIZED
-
-
Field Details
-
COMPONENT_UNSPECIFIED_VALUE
public static final int COMPONENT_UNSPECIFIED_VALUEUnspecified, default.
COMPONENT_UNSPECIFIED = 0;
- See Also:
-
COMPONENT_PARSER_VALUE
public static final int COMPONENT_PARSER_VALUEParser. Converts a CEL string to an AST.
COMPONENT_PARSER = 1;
- See Also:
-
COMPONENT_TYPE_CHECKER_VALUE
public static final int COMPONENT_TYPE_CHECKER_VALUEType checker. Checks that references in an AST are defined and types agree.
COMPONENT_TYPE_CHECKER = 2;
- See Also:
-
COMPONENT_RUNTIME_VALUE
public static final int COMPONENT_RUNTIME_VALUERuntime. Evaluates a parsed and optionally checked CEL AST against a context.
COMPONENT_RUNTIME = 3;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<SourceInfo.Extension.Component> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-