Enum StorageType

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

public enum StorageType extends Enum<StorageType>
Storage media types for persisting Bigtable data.
  • Enum Constant Details

    • HDD

      public static final StorageType HDD
      Flash (SSD) storage should be used.
    • SSD

      public static final StorageType SSD
      Magnetic drive (HDD) storage should be used.
    • UNRECOGNIZED

      public static final StorageType UNRECOGNIZED
      The storage type is not known by this client. Please upgrade your client.
  • Method Details

    • values

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

      public StorageType toProto()