public static enum Snapshot.State extends java.lang.Enum<Snapshot.State> implements ProtocolMessageEnum
Possible states of a snapshot.Protobuf enum
google.bigtable.admin.v2.Snapshot.State| Enum Constant and Description |
|---|
CREATING
The snapshot is currently being created, and may be destroyed if the
creation process encounters an error.
|
READY
The snapshot has been successfully created and can serve all requests.
|
STATE_NOT_KNOWN
The state of the snapshot could not be determined.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
The snapshot is currently being created, and may be destroyed if the
creation process encounters an error.
|
static int |
READY_VALUE
The snapshot has been successfully created and can serve all requests.
|
static int |
STATE_NOT_KNOWN_VALUE
The state of the snapshot could not be determined.
|
| Modifier and Type | Method and Description |
|---|---|
static Snapshot.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Snapshot.State> |
internalGetValueMap() |
static Snapshot.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Snapshot.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Snapshot.State |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Snapshot.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Snapshot.State STATE_NOT_KNOWN
The state of the snapshot could not be determined.
STATE_NOT_KNOWN = 0;public static final Snapshot.State READY
The snapshot has been successfully created and can serve all requests.
READY = 1;public static final Snapshot.State CREATING
The snapshot is currently being created, and may be destroyed if the creation process encounters an error. A snapshot may not be restored to a table while it is being created.
CREATING = 2;public static final Snapshot.State UNRECOGNIZED
public static final int STATE_NOT_KNOWN_VALUE
The state of the snapshot could not be determined.
STATE_NOT_KNOWN = 0;public static final int READY_VALUE
The snapshot has been successfully created and can serve all requests.
READY = 1;public static final int CREATING_VALUE
The snapshot is currently being created, and may be destroyed if the creation process encounters an error. A snapshot may not be restored to a table while it is being created.
CREATING = 2;public static Snapshot.State[] values()
for (Snapshot.State c : Snapshot.State.values()) System.out.println(c);
public static Snapshot.State valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface Internal.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static Snapshot.State valueOf(int value)
forNumber(int) instead.public static Snapshot.State forNumber(int value)
public static Internal.EnumLiteMap<Snapshot.State> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static Snapshot.State valueOf(Descriptors.EnumValueDescriptor desc)