public static enum Volume.StorageType extends Enum<Volume.StorageType> implements com.google.protobuf.ProtocolMessageEnum
The storage type for a volume.Protobuf enum
google.cloud.baremetalsolution.v2.Volume.StorageType| Enum Constant and Description |
|---|
HDD
This storage type for this volume is HDD.
|
SSD
The storage type for this volume is SSD.
|
STORAGE_TYPE_UNSPECIFIED
The storage type for this volume is unknown.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HDD_VALUE
This storage type for this volume is HDD.
|
static int |
SSD_VALUE
The storage type for this volume is SSD.
|
static int |
STORAGE_TYPE_UNSPECIFIED_VALUE
The storage type for this volume is unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static Volume.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<Volume.StorageType> |
internalGetValueMap() |
static Volume.StorageType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Volume.StorageType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Volume.StorageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Volume.StorageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Volume.StorageType STORAGE_TYPE_UNSPECIFIED
The storage type for this volume is unknown.
STORAGE_TYPE_UNSPECIFIED = 0;public static final Volume.StorageType SSD
The storage type for this volume is SSD.
SSD = 1;public static final Volume.StorageType HDD
This storage type for this volume is HDD.
HDD = 2;public static final Volume.StorageType UNRECOGNIZED
public static final int STORAGE_TYPE_UNSPECIFIED_VALUE
The storage type for this volume is unknown.
STORAGE_TYPE_UNSPECIFIED = 0;public static final int SSD_VALUE
The storage type for this volume is SSD.
SSD = 1;public static final int HDD_VALUE
This storage type for this volume is HDD.
HDD = 2;public static Volume.StorageType[] values()
for (Volume.StorageType c : Volume.StorageType.values()) System.out.println(c);
public static Volume.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 Volume.StorageType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Volume.StorageType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Volume.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 Volume.StorageType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.