public static enum AttachedDisk.Interface extends Enum<AttachedDisk.Interface> implements com.google.protobuf.ProtocolMessageEnum
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks.Protobuf enum
google.cloud.compute.v1.AttachedDisk.Interface| Enum Constant and Description |
|---|
NVME
NVME = 2408800; |
SCSI
SCSI = 2539686; |
UNDEFINED_INTERFACE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
NVME_VALUE
NVME = 2408800; |
static int |
SCSI_VALUE
SCSI = 2539686; |
static int |
UNDEFINED_INTERFACE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static AttachedDisk.Interface |
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<AttachedDisk.Interface> |
internalGetValueMap() |
static AttachedDisk.Interface |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AttachedDisk.Interface |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AttachedDisk.Interface |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AttachedDisk.Interface[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttachedDisk.Interface UNDEFINED_INTERFACE
A value indicating that the enum field is not set.
UNDEFINED_INTERFACE = 0;public static final AttachedDisk.Interface NVME
NVME = 2408800;public static final AttachedDisk.Interface SCSI
SCSI = 2539686;public static final AttachedDisk.Interface UNRECOGNIZED
public static final int UNDEFINED_INTERFACE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_INTERFACE = 0;public static final int NVME_VALUE
NVME = 2408800;public static final int SCSI_VALUE
SCSI = 2539686;public static AttachedDisk.Interface[] values()
for (AttachedDisk.Interface c : AttachedDisk.Interface.values()) System.out.println(c);
public static AttachedDisk.Interface 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 AttachedDisk.Interface valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AttachedDisk.Interface forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AttachedDisk.Interface> 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 AttachedDisk.Interface valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.