Package csi.v0

Enum Class Csi.SnapshotStatus.Type

All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<Csi.SnapshotStatus.Type>, Constable
Enclosing class:
csi.v0.Csi.SnapshotStatus

public static enum Csi.SnapshotStatus.Type extends Enum<Csi.SnapshotStatus.Type> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum csi.v0.SnapshotStatus.Type
  • Enum Constant Details

    • UNKNOWN

      public static final Csi.SnapshotStatus.Type UNKNOWN
      UNKNOWN = 0;
    • READY

      public static final Csi.SnapshotStatus.Type READY
       A snapshot is ready for use.
       
      READY = 1;
    • UPLOADING

      public static final Csi.SnapshotStatus.Type UPLOADING
       A snapshot is cut and is now being uploaded.
       Some cloud providers and storage systems uploads the snapshot
       to the cloud after the snapshot is cut. During this phase,
       `thaw` can be done so the application can be running again if
       `freeze` was done before taking the snapshot.
       
      UPLOADING = 2;
    • ERROR_UPLOADING

      public static final Csi.SnapshotStatus.Type ERROR_UPLOADING
       An error occurred during the snapshot uploading process.
       This error status is specific for uploading because
       `CreateSnaphot` is a blocking call before the snapshot is
       cut and therefore it SHOULD NOT come back with an error
       status when an error occurs. Instead a gRPC error code SHALL
       be returned by `CreateSnapshot` when an error occurs before
       a snapshot is cut.
       
      ERROR_UPLOADING = 3;
    • UNRECOGNIZED

      public static final Csi.SnapshotStatus.Type UNRECOGNIZED
  • Field Details

    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
      UNKNOWN = 0;
      See Also:
    • READY_VALUE

      public static final int READY_VALUE
       A snapshot is ready for use.
       
      READY = 1;
      See Also:
    • UPLOADING_VALUE

      public static final int UPLOADING_VALUE
       A snapshot is cut and is now being uploaded.
       Some cloud providers and storage systems uploads the snapshot
       to the cloud after the snapshot is cut. During this phase,
       `thaw` can be done so the application can be running again if
       `freeze` was done before taking the snapshot.
       
      UPLOADING = 2;
      See Also:
    • ERROR_UPLOADING_VALUE

      public static final int ERROR_UPLOADING_VALUE
       An error occurred during the snapshot uploading process.
       This error status is specific for uploading because
       `CreateSnaphot` is a blocking call before the snapshot is
       cut and therefore it SHOULD NOT come back with an error
       status when an error occurs. Instead a gRPC error code SHALL
       be returned by `CreateSnapshot` when an error occurs before
       a snapshot is cut.
       
      ERROR_UPLOADING = 3;
      See Also:
  • Method Details

    • values

      public static Csi.SnapshotStatus.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Csi.SnapshotStatus.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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 Csi.SnapshotStatus.Type valueOf(int value)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static Csi.SnapshotStatus.Type 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<Csi.SnapshotStatus.Type> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static Csi.SnapshotStatus.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null