public static enum GetDocumentRequest.ConsistencySelectorCase extends Enum<GetDocumentRequest.ConsistencySelectorCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
CONSISTENCYSELECTOR_NOT_SET |
READ_TIME |
TRANSACTION |
Modifier and Type | Method and Description |
---|---|
static GetDocumentRequest.ConsistencySelectorCase |
forNumber(int value) |
int |
getNumber() |
static GetDocumentRequest.ConsistencySelectorCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static GetDocumentRequest.ConsistencySelectorCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GetDocumentRequest.ConsistencySelectorCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GetDocumentRequest.ConsistencySelectorCase TRANSACTION
public static final GetDocumentRequest.ConsistencySelectorCase READ_TIME
public static final GetDocumentRequest.ConsistencySelectorCase CONSISTENCYSELECTOR_NOT_SET
public static GetDocumentRequest.ConsistencySelectorCase[] values()
for (GetDocumentRequest.ConsistencySelectorCase c : GetDocumentRequest.ConsistencySelectorCase.values()) System.out.println(c);
public static GetDocumentRequest.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 GetDocumentRequest.ConsistencySelectorCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static GetDocumentRequest.ConsistencySelectorCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
Copyright © 2023 Google LLC. All rights reserved.