public static enum Backup.State extends Enum<Backup.State> implements com.google.protobuf.ProtocolMessageEnum
Indicates the current state of the backup.Protobuf enum
google.spanner.admin.database.v1.Backup.State| Enum Constant and Description |
|---|
CREATING
The pending backup is still being created.
|
READY
The backup is complete and ready for use.
|
STATE_UNSPECIFIED
Not specified.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
The pending backup is still being created.
|
static int |
READY_VALUE
The backup is complete and ready for use.
|
static int |
STATE_UNSPECIFIED_VALUE
Not specified.
|
| Modifier and Type | Method and Description |
|---|---|
static Backup.State |
forNumber(int value) |
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<Backup.State> |
internalGetValueMap() |
static Backup.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Backup.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Backup.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Backup.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Backup.State STATE_UNSPECIFIED
Not specified.
STATE_UNSPECIFIED = 0;public static final Backup.State CREATING
The pending backup is still being created. Operations on the backup may fail with `FAILED_PRECONDITION` in this state.
CREATING = 1;public static final Backup.State READY
The backup is complete and ready for use.
READY = 2;public static final Backup.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Not specified.
STATE_UNSPECIFIED = 0;public static final int CREATING_VALUE
The pending backup is still being created. Operations on the backup may fail with `FAILED_PRECONDITION` in this state.
CREATING = 1;public static final int READY_VALUE
The backup is complete and ready for use.
READY = 2;public static Backup.State[] values()
for (Backup.State c : Backup.State.values()) System.out.println(c);
public static Backup.State 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Backup.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Backup.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Backup.State> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Backup.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Google LLC. All rights reserved.