public static enum DatastoreV1.ReadOptions.ReadConsistency extends Enum<DatastoreV1.ReadOptions.ReadConsistency> implements com.google.protobuf.ProtocolMessageEnum
api.services.datastore.ReadOptions.ReadConsistency
Enum Constant and Description |
---|
DEFAULT
DEFAULT = 0; |
EVENTUAL
EVENTUAL = 2; |
STRONG
STRONG = 1; |
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_VALUE
DEFAULT = 0; |
static int |
EVENTUAL_VALUE
EVENTUAL = 2; |
static int |
STRONG_VALUE
STRONG = 1; |
Modifier and Type | Method and Description |
---|---|
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<DatastoreV1.ReadOptions.ReadConsistency> |
internalGetValueMap() |
static DatastoreV1.ReadOptions.ReadConsistency |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DatastoreV1.ReadOptions.ReadConsistency |
valueOf(int value) |
static DatastoreV1.ReadOptions.ReadConsistency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatastoreV1.ReadOptions.ReadConsistency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatastoreV1.ReadOptions.ReadConsistency DEFAULT
DEFAULT = 0;
public static final DatastoreV1.ReadOptions.ReadConsistency STRONG
STRONG = 1;
public static final DatastoreV1.ReadOptions.ReadConsistency EVENTUAL
EVENTUAL = 2;
public static final int DEFAULT_VALUE
DEFAULT = 0;
public static final int STRONG_VALUE
STRONG = 1;
public static final int EVENTUAL_VALUE
EVENTUAL = 2;
public static DatastoreV1.ReadOptions.ReadConsistency[] values()
for (DatastoreV1.ReadOptions.ReadConsistency c : DatastoreV1.ReadOptions.ReadConsistency.values()) System.out.println(c);
public static DatastoreV1.ReadOptions.ReadConsistency 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 nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
public static DatastoreV1.ReadOptions.ReadConsistency valueOf(int value)
public static com.google.protobuf.Internal.EnumLiteMap<DatastoreV1.ReadOptions.ReadConsistency> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static DatastoreV1.ReadOptions.ReadConsistency valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2013. All Rights Reserved.