Package com.google.cloud.gkebackup.v1
Enum VolumeBackup.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<VolumeBackup.State>
- Enclosing class:
- VolumeBackup
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 Summary
Enum ConstantsEnum ConstantDescriptionThe underlying artifacts of a volume backup (eg: persistent disk snapshots) are deleted.A volume for the backup was identified and backup process is about to start.This VolumeBackup resource (and its associated artifacts) is in the process of being deleted.The volume backup operation has failed.The volume backup operation has begun and is in the initial "snapshot" phase of the process.This is an illegal state and should not be encountered.The volume backup operation has completed successfully.The snapshot phase of the volume backup operation has completed and the snapshot is now being uploaded to backup storage. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe underlying artifacts of a volume backup (eg: persistent disk snapshots) are deleted.static final intA volume for the backup was identified and backup process is about to start.static final intThis VolumeBackup resource (and its associated artifacts) is in the process of being deleted.static final intThe volume backup operation has failed.static final intThe volume backup operation has begun and is in the initial "snapshot" phase of the process.static final intThis is an illegal state and should not be encountered.static final intThe volume backup operation has completed successfully.static final intThe snapshot phase of the volume backup operation has completed and the snapshot is now being uploaded to backup storage. -
Method Summary
Modifier and TypeMethodDescriptionstatic VolumeBackup.StateforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<VolumeBackup.State>static VolumeBackup.StatevalueOf(int value) Deprecated.static VolumeBackup.StatevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static VolumeBackup.StateReturns 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.
-
Enum Constant Details
-
STATE_UNSPECIFIED
This is an illegal state and should not be encountered.
STATE_UNSPECIFIED = 0; -
CREATING
A volume for the backup was identified and backup process is about to start.
CREATING = 1; -
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; -
UPLOADING
The snapshot phase of the volume backup operation has completed and the snapshot is now being uploaded to backup storage.
UPLOADING = 3; -
SUCCEEDED
The volume backup operation has completed successfully.
SUCCEEDED = 4; -
FAILED
The volume backup operation has failed.
FAILED = 5; -
DELETING
This VolumeBackup resource (and its associated artifacts) is in the process of being deleted.
DELETING = 6; -
CLEANED_UP
The underlying artifacts of a volume backup (eg: persistent disk snapshots) are deleted.
CLEANED_UP = 7; -
UNRECOGNIZED
-
-
Field Details
-
STATE_UNSPECIFIED_VALUE
public static final int STATE_UNSPECIFIED_VALUEThis is an illegal state and should not be encountered.
STATE_UNSPECIFIED = 0;- See Also:
-
CREATING_VALUE
public static final int CREATING_VALUEA volume for the backup was identified and backup process is about to start.
CREATING = 1;- See Also:
-
SNAPSHOTTING_VALUE
public static final int SNAPSHOTTING_VALUEThe 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;- See Also:
-
UPLOADING_VALUE
public static final int UPLOADING_VALUEThe snapshot phase of the volume backup operation has completed and the snapshot is now being uploaded to backup storage.
UPLOADING = 3;- See Also:
-
SUCCEEDED_VALUE
public static final int SUCCEEDED_VALUEThe volume backup operation has completed successfully.
SUCCEEDED = 4;- See Also:
-
FAILED_VALUE
public static final int FAILED_VALUEThe volume backup operation has failed.
FAILED = 5;- See Also:
-
DELETING_VALUE
public static final int DELETING_VALUEThis VolumeBackup resource (and its associated artifacts) is in the process of being deleted.
DELETING = 6;- See Also:
-
CLEANED_UP_VALUE
public static final int CLEANED_UP_VALUEThe underlying artifacts of a volume backup (eg: persistent disk snapshots) are deleted.
CLEANED_UP = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-