public static enum ReadOptions.ConsistencyTypeCase extends Enum<ReadOptions.ConsistencyTypeCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
CONSISTENCYTYPE_NOT_SET |
READ_CONSISTENCY |
TRANSACTION |
Modifier and Type | Method and Description |
---|---|
static ReadOptions.ConsistencyTypeCase |
forNumber(int value) |
int |
getNumber() |
static ReadOptions.ConsistencyTypeCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ReadOptions.ConsistencyTypeCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadOptions.ConsistencyTypeCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadOptions.ConsistencyTypeCase READ_CONSISTENCY
public static final ReadOptions.ConsistencyTypeCase TRANSACTION
public static final ReadOptions.ConsistencyTypeCase CONSISTENCYTYPE_NOT_SET
public static ReadOptions.ConsistencyTypeCase[] values()
for (ReadOptions.ConsistencyTypeCase c : ReadOptions.ConsistencyTypeCase.values()) System.out.println(c);
public static ReadOptions.ConsistencyTypeCase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null@Deprecated public static ReadOptions.ConsistencyTypeCase valueOf(int value)
forNumber(int)
instead.public static ReadOptions.ConsistencyTypeCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2019 Google LLC. All rights reserved.