Enum Backup.State

java.lang.Object
java.lang.Enum<Backup.State>
com.google.cloud.bigtable.admin.v2.models.Backup.State
All Implemented Interfaces:
Serializable, Comparable<Backup.State>
Enclosing class:
Backup

public static enum Backup.State extends Enum<Backup.State>
  • Enum Constant Details

    • STATE_UNSPECIFIED

      public static final Backup.State STATE_UNSPECIFIED
      Not specified.
    • CREATING

      public static final Backup.State CREATING
      The pending backup is still being created. Operations on the backup may fail with `FAILED_PRECONDITION` in this state.
    • READY

      public static final Backup.State READY
      The backup is complete and ready for use.
    • UNRECOGNIZED

      public static final Backup.State UNRECOGNIZED
      The state of the backup is not known by this client. Please upgrade your client.
  • Method Details

    • values

      public static Backup.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 Backup.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
    • fromProto

      @InternalApi public static Backup.State fromProto(Backup.State proto)
      Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
    • toProto

      @InternalApi public Backup.State toProto()
      Creates the request protobuf. This method is considered an internal implementation detail and not meant to be used by applications.