Package com.google.api.expr.v1alpha1
Enum Expr.ExprKindCase
- java.lang.Object
-
- java.lang.Enum<Expr.ExprKindCase>
-
- com.google.api.expr.v1alpha1.Expr.ExprKindCase
-
- All Implemented Interfaces:
com.google.protobuf.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 com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALL_EXPR
COMPREHENSION_EXPR
CONST_EXPR
EXPRKIND_NOT_SET
IDENT_EXPR
LIST_EXPR
SELECT_EXPR
STRUCT_EXPR
-
Field Summary
Fields Modifier and Type Field Description private int
value
-
Constructor Summary
Constructors Modifier Constructor Description private
ExprKindCase(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Expr.ExprKindCase
forNumber(int value)
int
getNumber()
static Expr.ExprKindCase
valueOf(int value)
Deprecated.static Expr.ExprKindCase
valueOf(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()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-