Package dev.cel.expr
Enum Expr.ExprKindCase
- java.lang.Object
-
- java.lang.Enum<Expr.ExprKindCase>
-
- dev.cel.expr.Expr.ExprKindCase
-
- All Implemented Interfaces:
AbstractMessageLite.InternalOneOfEnum,Internal.EnumLite,java.io.Serializable,java.lang.Comparable<Expr.ExprKindCase>
- Enclosing class:
- Expr
public static enum Expr.ExprKindCase extends java.lang.Enum<Expr.ExprKindCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALL_EXPRCOMPREHENSION_EXPRCONST_EXPREXPRKIND_NOT_SETIDENT_EXPRLIST_EXPRSELECT_EXPRSTRUCT_EXPR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Expr.ExprKindCaseforNumber(int value)intgetNumber()Retrieves the field number of the field which was set in thisoneof, or0if none were.static Expr.ExprKindCasevalueOf(int value)Deprecated.static Expr.ExprKindCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Expr.ExprKindCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONST_EXPR
public static final Expr.ExprKindCase CONST_EXPR
-
IDENT_EXPR
public static final Expr.ExprKindCase IDENT_EXPR
-
SELECT_EXPR
public static final Expr.ExprKindCase SELECT_EXPR
-
CALL_EXPR
public static final Expr.ExprKindCase CALL_EXPR
-
LIST_EXPR
public static final Expr.ExprKindCase LIST_EXPR
-
STRUCT_EXPR
public static final Expr.ExprKindCase STRUCT_EXPR
-
COMPREHENSION_EXPR
public static final Expr.ExprKindCase COMPREHENSION_EXPR
-
EXPRKIND_NOT_SET
public static final Expr.ExprKindCase EXPRKIND_NOT_SET
-
-
Method Detail
-
values
public static Expr.ExprKindCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Expr.ExprKindCase c : Expr.ExprKindCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Expr.ExprKindCase valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
@Deprecated public static Expr.ExprKindCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static Expr.ExprKindCase forNumber(int value)
-
getNumber
public int getNumber()
Description copied from interface:AbstractMessageLite.InternalOneOfEnumRetrieves the field number of the field which was set in thisoneof, or0if none were.- Specified by:
getNumberin interfaceAbstractMessageLite.InternalOneOfEnum- Specified by:
getNumberin interfaceInternal.EnumLite
-
-