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 and Description |
|---|
HDD
Magnetic drive (HDD) storage should be used.
|
SSD
Flash (SSD) storage should be used.
|
STORAGE_TYPE_UNSPECIFIED
The user did not specify a storage type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HDD_VALUE
Magnetic drive (HDD) storage should be used.
|
static int |
SSD_VALUE
Flash (SSD) storage should be used.
|
static int |
STORAGE_TYPE_UNSPECIFIED_VALUE
The user did not specify a storage type.
|
| Modifier and Type | Method and Description |
|---|---|
static StorageType |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<StorageType> |
internalGetValueMap() |
static StorageType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StorageType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StorageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageType STORAGE_TYPE_UNSPECIFIED
The user did not specify a storage type.
STORAGE_TYPE_UNSPECIFIED = 0;public static final StorageType SSD
Flash (SSD) storage should be used.
SSD = 1;public static final StorageType HDD
Magnetic drive (HDD) storage should be used.
HDD = 2;public static final StorageType UNRECOGNIZED
public static final int STORAGE_TYPE_UNSPECIFIED_VALUE
The user did not specify a storage type.
STORAGE_TYPE_UNSPECIFIED = 0;public static final int SSD_VALUE
Flash (SSD) storage should be used.
SSD = 1;public static final int HDD_VALUE
Magnetic drive (HDD) storage should be used.
HDD = 2;public static StorageType[] values()
for (StorageType c : StorageType.values()) System.out.println(c);
public static StorageType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static StorageType valueOf(int value)
forNumber(int) instead.public static StorageType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<StorageType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static StorageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018 Google LLC. All rights reserved.