public static enum RunQueryRequest.ConsistencySelectorCase extends java.lang.Enum<RunQueryRequest.ConsistencySelectorCase> implements Internal.EnumLite
Enum Constant and Description |
---|
CONSISTENCYSELECTOR_NOT_SET |
NEW_TRANSACTION |
READ_TIME |
TRANSACTION |
Modifier and Type | Method and Description |
---|---|
static RunQueryRequest.ConsistencySelectorCase |
forNumber(int value) |
int |
getNumber() |
static RunQueryRequest.ConsistencySelectorCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RunQueryRequest.ConsistencySelectorCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RunQueryRequest.ConsistencySelectorCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RunQueryRequest.ConsistencySelectorCase TRANSACTION
public static final RunQueryRequest.ConsistencySelectorCase NEW_TRANSACTION
public static final RunQueryRequest.ConsistencySelectorCase READ_TIME
public static final RunQueryRequest.ConsistencySelectorCase CONSISTENCYSELECTOR_NOT_SET
public static RunQueryRequest.ConsistencySelectorCase[] values()
for (RunQueryRequest.ConsistencySelectorCase c : RunQueryRequest.ConsistencySelectorCase.values()) System.out.println(c);
public static RunQueryRequest.ConsistencySelectorCase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static RunQueryRequest.ConsistencySelectorCase valueOf(int value)
forNumber(int)
instead.public static RunQueryRequest.ConsistencySelectorCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite