public static enum TransactionOptions.ReadOnly.ConsistencySelectorCase extends java.lang.Enum<TransactionOptions.ReadOnly.ConsistencySelectorCase> implements Internal.EnumLite
Enum Constant and Description |
---|
CONSISTENCYSELECTOR_NOT_SET |
READ_TIME |
Modifier and Type | Method and Description |
---|---|
static TransactionOptions.ReadOnly.ConsistencySelectorCase |
forNumber(int value) |
int |
getNumber() |
static TransactionOptions.ReadOnly.ConsistencySelectorCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransactionOptions.ReadOnly.ConsistencySelectorCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionOptions.ReadOnly.ConsistencySelectorCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionOptions.ReadOnly.ConsistencySelectorCase READ_TIME
public static final TransactionOptions.ReadOnly.ConsistencySelectorCase CONSISTENCYSELECTOR_NOT_SET
public static TransactionOptions.ReadOnly.ConsistencySelectorCase[] values()
for (TransactionOptions.ReadOnly.ConsistencySelectorCase c : TransactionOptions.ReadOnly.ConsistencySelectorCase.values()) System.out.println(c);
public static TransactionOptions.ReadOnly.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 TransactionOptions.ReadOnly.ConsistencySelectorCase valueOf(int value)
forNumber(int)
instead.public static TransactionOptions.ReadOnly.ConsistencySelectorCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite