public static enum SavedAttachedDisk.Interface extends Enum<SavedAttachedDisk.Interface> implements com.google.protobuf.ProtocolMessageEnum
Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME.Protobuf enum
google.cloud.compute.v1.SavedAttachedDisk.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 SavedAttachedDisk.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<SavedAttachedDisk.Interface> |
internalGetValueMap() |
static SavedAttachedDisk.Interface |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SavedAttachedDisk.Interface |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SavedAttachedDisk.Interface |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SavedAttachedDisk.Interface[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SavedAttachedDisk.Interface UNDEFINED_INTERFACE
A value indicating that the enum field is not set.
UNDEFINED_INTERFACE = 0;public static final SavedAttachedDisk.Interface NVME
NVME = 2408800;public static final SavedAttachedDisk.Interface SCSI
SCSI = 2539686;public static final SavedAttachedDisk.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 SavedAttachedDisk.Interface[] values()
for (SavedAttachedDisk.Interface c : SavedAttachedDisk.Interface.values()) System.out.println(c);
public static SavedAttachedDisk.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 SavedAttachedDisk.Interface valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SavedAttachedDisk.Interface forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SavedAttachedDisk.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 SavedAttachedDisk.Interface valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.