public static enum VolumeBackup.State extends Enum<VolumeBackup.State> implements com.google.protobuf.ProtocolMessageEnum
The current state of a VolumeBackupProtobuf enum
google.cloud.gkebackup.v1.VolumeBackup.State| Enum Constant and Description |
|---|
CREATING
A volume for the backup was identified and backup process is about to
start.
|
DELETING
This VolumeBackup resource (and its associated artifacts) is in the
process of being deleted.
|
FAILED
The volume backup operation has failed.
|
SNAPSHOTTING
The volume backup operation has begun and is in the initial "snapshot"
phase of the process.
|
STATE_UNSPECIFIED
This is an illegal state and should not be encountered.
|
SUCCEEDED
The volume backup operation has completed successfully.
|
UNRECOGNIZED |
UPLOADING
The snapshot phase of the volume backup operation has completed and
the snapshot is now being uploaded to backup storage.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
CREATING_VALUE
A volume for the backup was identified and backup process is about to
start.
|
static int |
DELETING_VALUE
This VolumeBackup resource (and its associated artifacts) is in the
process of being deleted.
|
static int |
FAILED_VALUE
The volume backup operation has failed.
|
static int |
SNAPSHOTTING_VALUE
The volume backup operation has begun and is in the initial "snapshot"
phase of the process.
|
static int |
STATE_UNSPECIFIED_VALUE
This is an illegal state and should not be encountered.
|
static int |
SUCCEEDED_VALUE
The volume backup operation has completed successfully.
|
static int |
UPLOADING_VALUE
The snapshot phase of the volume backup operation has completed and
the snapshot is now being uploaded to backup storage.
|
| Modifier and Type | Method and Description |
|---|---|
static VolumeBackup.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<VolumeBackup.State> |
internalGetValueMap() |
static VolumeBackup.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static VolumeBackup.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static VolumeBackup.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VolumeBackup.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VolumeBackup.State STATE_UNSPECIFIED
This is an illegal state and should not be encountered.
STATE_UNSPECIFIED = 0;public static final VolumeBackup.State CREATING
A volume for the backup was identified and backup process is about to start.
CREATING = 1;public static final VolumeBackup.State SNAPSHOTTING
The volume backup operation has begun and is in the initial "snapshot" phase of the process. Any defined ProtectedApplication "pre" hooks will be executed before entering this state and "post" hooks will be executed upon leaving this state.
SNAPSHOTTING = 2;public static final VolumeBackup.State UPLOADING
The snapshot phase of the volume backup operation has completed and the snapshot is now being uploaded to backup storage.
UPLOADING = 3;public static final VolumeBackup.State SUCCEEDED
The volume backup operation has completed successfully.
SUCCEEDED = 4;public static final VolumeBackup.State FAILED
The volume backup operation has failed.
FAILED = 5;public static final VolumeBackup.State DELETING
This VolumeBackup resource (and its associated artifacts) is in the process of being deleted.
DELETING = 6;public static final VolumeBackup.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
This is an illegal state and should not be encountered.
STATE_UNSPECIFIED = 0;public static final int CREATING_VALUE
A volume for the backup was identified and backup process is about to start.
CREATING = 1;public static final int SNAPSHOTTING_VALUE
The volume backup operation has begun and is in the initial "snapshot" phase of the process. Any defined ProtectedApplication "pre" hooks will be executed before entering this state and "post" hooks will be executed upon leaving this state.
SNAPSHOTTING = 2;public static final int UPLOADING_VALUE
The snapshot phase of the volume backup operation has completed and the snapshot is now being uploaded to backup storage.
UPLOADING = 3;public static final int SUCCEEDED_VALUE
The volume backup operation has completed successfully.
SUCCEEDED = 4;public static final int FAILED_VALUE
The volume backup operation has failed.
FAILED = 5;public static final int DELETING_VALUE
This VolumeBackup resource (and its associated artifacts) is in the process of being deleted.
DELETING = 6;public static VolumeBackup.State[] values()
for (VolumeBackup.State c : VolumeBackup.State.values()) System.out.println(c);
public static VolumeBackup.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 VolumeBackup.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static VolumeBackup.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<VolumeBackup.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 VolumeBackup.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.