public static enum Instance.DiskType extends Enum<Instance.DiskType> implements com.google.protobuf.ProtocolMessageEnum
Possible disk types for notebook instances.Protobuf enum
google.cloud.notebooks.v1beta1.Instance.DiskType| Enum Constant and Description |
|---|
DISK_TYPE_UNSPECIFIED
Disk type not set.
|
PD_BALANCED
Balanced persistent disk type.
|
PD_SSD
SSD persistent disk type.
|
PD_STANDARD
Standard persistent disk type.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DISK_TYPE_UNSPECIFIED_VALUE
Disk type not set.
|
static int |
PD_BALANCED_VALUE
Balanced persistent disk type.
|
static int |
PD_SSD_VALUE
SSD persistent disk type.
|
static int |
PD_STANDARD_VALUE
Standard persistent disk type.
|
| Modifier and Type | Method and Description |
|---|---|
static Instance.DiskType |
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<Instance.DiskType> |
internalGetValueMap() |
static Instance.DiskType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Instance.DiskType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Instance.DiskType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Instance.DiskType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instance.DiskType DISK_TYPE_UNSPECIFIED
Disk type not set.
DISK_TYPE_UNSPECIFIED = 0;public static final Instance.DiskType PD_STANDARD
Standard persistent disk type.
PD_STANDARD = 1;public static final Instance.DiskType PD_SSD
SSD persistent disk type.
PD_SSD = 2;public static final Instance.DiskType PD_BALANCED
Balanced persistent disk type.
PD_BALANCED = 3;public static final Instance.DiskType UNRECOGNIZED
public static final int DISK_TYPE_UNSPECIFIED_VALUE
Disk type not set.
DISK_TYPE_UNSPECIFIED = 0;public static final int PD_STANDARD_VALUE
Standard persistent disk type.
PD_STANDARD = 1;public static final int PD_SSD_VALUE
SSD persistent disk type.
PD_SSD = 2;public static final int PD_BALANCED_VALUE
Balanced persistent disk type.
PD_BALANCED = 3;public static Instance.DiskType[] values()
for (Instance.DiskType c : Instance.DiskType.values()) System.out.println(c);
public static Instance.DiskType 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 Instance.DiskType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Instance.DiskType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Instance.DiskType> 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 Instance.DiskType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.