Enum Backup.BackupType

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

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

    • BACKUP_TYPE_UNSPECIFIED

      public static final Backup.BackupType BACKUP_TYPE_UNSPECIFIED
      Not specified.
    • STANDARD

      public static final Backup.BackupType STANDARD
      The default type for Cloud Bigtable managed backups. Supported for backups created in both HDD and SSD instances. Requires optimization when restored to a table in an SSD instance.
    • HOT

      public static final Backup.BackupType HOT
      A backup type with faster restore to SSD performance. Only supported for backups created in SSD instances. A new SSD table restored from a hot backup reaches production performance more quickly than a standard backup.
    • UNRECOGNIZED

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

    • values

      public static Backup.BackupType[] 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.BackupType 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.BackupType fromProto(Backup.BackupType proto)
      Wraps the protobuf. This method is considered an internal implementation detail and not meant to be used by applications.
    • toProto

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