public static enum Backup.State extends Enum<Backup.State> implements com.google.protobuf.ProtocolMessageEnum
The Backup StatesProtobuf enum
google.cloud.netapp.v1.Backup.State| Enum Constant and Description |
|---|
CREATING
Backup is being created.
|
DELETING
Backup is being deleted.
|
ERROR
Backup is not valid and cannot be used for creating new volumes or
restoring existing volumes.
|
READY
Backup is available for use.
|
STATE_UNSPECIFIED
State not set.
|
UNRECOGNIZED |
UPDATING
Backup is being updated.
|
UPLOADING
Backup is being uploaded.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
Backup is being created.
|
static int |
DELETING_VALUE
Backup is being deleted.
|
static int |
ERROR_VALUE
Backup is not valid and cannot be used for creating new volumes or
restoring existing volumes.
|
static int |
READY_VALUE
Backup is available for use.
|
static int |
STATE_UNSPECIFIED_VALUE
State not set.
|
static int |
UPDATING_VALUE
Backup is being updated.
|
static int |
UPLOADING_VALUE
Backup is being uploaded.
|
| 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
State not set.
STATE_UNSPECIFIED = 0;public static final Backup.State CREATING
Backup is being created. While in this state, the snapshot for the backup point-in-time may not have been created yet, and so the point-in-time may not have been fixed.
CREATING = 1;public static final Backup.State UPLOADING
Backup is being uploaded. While in this state, none of the writes to the volume will be included in the backup.
UPLOADING = 2;public static final Backup.State READY
Backup is available for use.
READY = 3;public static final Backup.State DELETING
Backup is being deleted.
DELETING = 4;public static final Backup.State ERROR
Backup is not valid and cannot be used for creating new volumes or restoring existing volumes.
ERROR = 5;public static final Backup.State UPDATING
Backup is being updated.
UPDATING = 6;public static final Backup.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
State not set.
STATE_UNSPECIFIED = 0;public static final int CREATING_VALUE
Backup is being created. While in this state, the snapshot for the backup point-in-time may not have been created yet, and so the point-in-time may not have been fixed.
CREATING = 1;public static final int UPLOADING_VALUE
Backup is being uploaded. While in this state, none of the writes to the volume will be included in the backup.
UPLOADING = 2;public static final int READY_VALUE
Backup is available for use.
READY = 3;public static final int DELETING_VALUE
Backup is being deleted.
DELETING = 4;public static final int ERROR_VALUE
Backup is not valid and cannot be used for creating new volumes or restoring existing volumes.
ERROR = 5;public static final int UPDATING_VALUE
Backup is being updated.
UPDATING = 6;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 © 2024 Google LLC. All rights reserved.