Enum StorageType

java.lang.Object
java.lang.Enum<StorageType>
com.google.bigtable.admin.v2.StorageType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<StorageType>

public enum StorageType extends Enum<StorageType> implements com.google.protobuf.ProtocolMessageEnum
 Storage media types for persisting Bigtable data.
 
Protobuf enum google.bigtable.admin.v2.StorageType
  • Enum Constant Details

    • STORAGE_TYPE_UNSPECIFIED

      public static final StorageType STORAGE_TYPE_UNSPECIFIED
       The user did not specify a storage type.
       
      STORAGE_TYPE_UNSPECIFIED = 0;
    • SSD

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

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

      public static final StorageType UNRECOGNIZED
  • Field Details

    • STORAGE_TYPE_UNSPECIFIED_VALUE

      public static final int STORAGE_TYPE_UNSPECIFIED_VALUE
       The user did not specify a storage type.
       
      STORAGE_TYPE_UNSPECIFIED = 0;
      See Also:
    • SSD_VALUE

      public static final int SSD_VALUE
       Flash (SSD) storage should be used.
       
      SSD = 1;
      See Also:
    • HDD_VALUE

      public static final int HDD_VALUE
       Magnetic drive (HDD) storage should be used.
       
      HDD = 2;
      See Also:
  • 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
    • 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 StorageType 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 StorageType 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<StorageType> 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 StorageType 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