public static enum TransactionOptions.ReadOnly.TimestampBoundCase extends Enum<TransactionOptions.ReadOnly.TimestampBoundCase> implements Internal.EnumLite, AbstractMessageLite.InternalOneOfEnum
Enum Constant and Description |
---|
EXACT_STALENESS |
MAX_STALENESS |
MIN_READ_TIMESTAMP |
READ_TIMESTAMP |
STRONG |
TIMESTAMPBOUND_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static TransactionOptions.ReadOnly.TimestampBoundCase |
forNumber(int value) |
int |
getNumber() |
static TransactionOptions.ReadOnly.TimestampBoundCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransactionOptions.ReadOnly.TimestampBoundCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionOptions.ReadOnly.TimestampBoundCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionOptions.ReadOnly.TimestampBoundCase STRONG
public static final TransactionOptions.ReadOnly.TimestampBoundCase MIN_READ_TIMESTAMP
public static final TransactionOptions.ReadOnly.TimestampBoundCase MAX_STALENESS
public static final TransactionOptions.ReadOnly.TimestampBoundCase READ_TIMESTAMP
public static final TransactionOptions.ReadOnly.TimestampBoundCase EXACT_STALENESS
public static final TransactionOptions.ReadOnly.TimestampBoundCase TIMESTAMPBOUND_NOT_SET
public static TransactionOptions.ReadOnly.TimestampBoundCase[] values()
for (TransactionOptions.ReadOnly.TimestampBoundCase c : TransactionOptions.ReadOnly.TimestampBoundCase.values()) System.out.println(c);
public static TransactionOptions.ReadOnly.TimestampBoundCase 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 TransactionOptions.ReadOnly.TimestampBoundCase valueOf(int value)
forNumber(int)
instead.value
- The number of the enum to look for.public static TransactionOptions.ReadOnly.TimestampBoundCase forNumber(int value)
public int getNumber()
getNumber
in interface AbstractMessageLite.InternalOneOfEnum
getNumber
in interface Internal.EnumLite
Copyright © 2022 Google LLC. All rights reserved.