public static enum RunQueryRequest.ConsistencySelectorCase extends Enum<RunQueryRequest.ConsistencySelectorCase> implements com.google.protobuf.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(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(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 RunQueryRequest.ConsistencySelectorCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static RunQueryRequest.ConsistencySelectorCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2023 Google LLC. All rights reserved.