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