Enum VolumeBackup.State

java.lang.Object
java.lang.Enum<VolumeBackup.State>
com.google.cloud.gkebackup.v1.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 VolumeBackup
 
Protobuf enum google.cloud.gkebackup.v1.VolumeBackup.State
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The 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

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The underlying artifacts of a volume backup (eg: persistent disk snapshots) are deleted.
    static final int
    A volume for the backup was identified and backup process is about to start.
    static final int
    This VolumeBackup resource (and its associated artifacts) is in the process of being deleted.
    static final int
    The volume backup operation has failed.
    static final int
    The volume backup operation has begun and is in the initial "snapshot" phase of the process.
    static final int
    This is an illegal state and should not be encountered.
    static final int
    The volume backup operation has completed successfully.
    static final int
    The snapshot phase of the volume backup operation has completed and the snapshot is now being uploaded to backup storage.
  • Method Summary

    Modifier and Type
    Method
    Description
    forNumber(int value)
     
    static com.google.protobuf.Descriptors.EnumDescriptor
     
    final com.google.protobuf.Descriptors.EnumDescriptor
     
    final int
     
    final com.google.protobuf.Descriptors.EnumValueDescriptor
     
    static com.google.protobuf.Internal.EnumLiteMap<VolumeBackup.State>
     
    valueOf(int value)
    Deprecated.
    valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
    Returns the enum constant of this type with the specified name.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final VolumeBackup.State STATE_UNSPECIFIED
       This is an illegal state and should not be encountered.
       
      STATE_UNSPECIFIED = 0;
    • CREATING

      public static final VolumeBackup.State CREATING
       A volume for the backup was identified and backup process is about to
       start.
       
      CREATING = 1;
    • SNAPSHOTTING

      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;
    • UPLOADING

      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;
    • SUCCEEDED

      public static final VolumeBackup.State SUCCEEDED
       The volume backup operation has completed successfully.
       
      SUCCEEDED = 4;
    • FAILED

      public static final VolumeBackup.State FAILED
       The volume backup operation has failed.
       
      FAILED = 5;
    • DELETING

      public static final VolumeBackup.State DELETING
       This VolumeBackup resource (and its associated artifacts) is in the
       process of being deleted.
       
      DELETING = 6;
    • CLEANED_UP

      public static final VolumeBackup.State CLEANED_UP
       The underlying artifacts of a volume backup (eg: persistent disk
       snapshots) are deleted.
       
      CLEANED_UP = 7;
    • UNRECOGNIZED

      public static final VolumeBackup.State UNRECOGNIZED
  • Field Details

    • STATE_UNSPECIFIED_VALUE

      public static final int STATE_UNSPECIFIED_VALUE
       This is an illegal state and should not be encountered.
       
      STATE_UNSPECIFIED = 0;
      See Also:
    • CREATING_VALUE

      public static final int CREATING_VALUE
       A volume for the backup was identified and backup process is about to
       start.
       
      CREATING = 1;
      See Also:
    • SNAPSHOTTING_VALUE

      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;
      See Also:
    • UPLOADING_VALUE

      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;
      See Also:
    • SUCCEEDED_VALUE

      public static final int SUCCEEDED_VALUE
       The volume backup operation has completed successfully.
       
      SUCCEEDED = 4;
      See Also:
    • FAILED_VALUE

      public static final int FAILED_VALUE
       The volume backup operation has failed.
       
      FAILED = 5;
      See Also:
    • DELETING_VALUE

      public static final int DELETING_VALUE
       This 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_VALUE
       The underlying artifacts of a volume backup (eg: persistent disk
       snapshots) are deleted.
       
      CLEANED_UP = 7;
      See Also:
  • Method Details

    • values

      public static VolumeBackup.State[] 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

      public static VolumeBackup.State valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static VolumeBackup.State valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static VolumeBackup.State forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<VolumeBackup.State> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static VolumeBackup.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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 name
      NullPointerException - if the argument is null