Package com.google.cloud.compute.v1
Enum GuestOsFeature.Type
- java.lang.Object
-
- java.lang.Enum<GuestOsFeature.Type>
-
- com.google.cloud.compute.v1.GuestOsFeature.Type
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<GuestOsFeature.Type>
- Enclosing class:
- GuestOsFeature
public static enum GuestOsFeature.Type extends Enum<GuestOsFeature.Type> implements com.google.protobuf.ProtocolMessageEnum
The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_LIVE_MIGRATABLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
Protobuf enumgoogle.cloud.compute.v1.GuestOsFeature.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FEATURE_TYPE_UNSPECIFIED
FEATURE_TYPE_UNSPECIFIED = 531767259;
GVNIC
GVNIC = 68209305;
MULTI_IP_SUBNET
MULTI_IP_SUBNET = 151776719;
SECURE_BOOT
SECURE_BOOT = 376811194;
SEV_CAPABLE
SEV_CAPABLE = 87083793;
SEV_LIVE_MIGRATABLE
SEV_LIVE_MIGRATABLE = 392039820;
SEV_SNP_CAPABLE
SEV_SNP_CAPABLE = 426919;
UEFI_COMPATIBLE
UEFI_COMPATIBLE = 195865408;
UNDEFINED_TYPE
A value indicating that the enum field is not set.UNRECOGNIZED
VIRTIO_SCSI_MULTIQUEUE
VIRTIO_SCSI_MULTIQUEUE = 201597069;
WINDOWS
WINDOWS = 456863331;
-
Field Summary
Fields Modifier and Type Field Description static int
FEATURE_TYPE_UNSPECIFIED_VALUE
FEATURE_TYPE_UNSPECIFIED = 531767259;
static int
GVNIC_VALUE
GVNIC = 68209305;
static int
MULTI_IP_SUBNET_VALUE
MULTI_IP_SUBNET = 151776719;
static int
SECURE_BOOT_VALUE
SECURE_BOOT = 376811194;
static int
SEV_CAPABLE_VALUE
SEV_CAPABLE = 87083793;
static int
SEV_LIVE_MIGRATABLE_VALUE
SEV_LIVE_MIGRATABLE = 392039820;
static int
SEV_SNP_CAPABLE_VALUE
SEV_SNP_CAPABLE = 426919;
static int
UEFI_COMPATIBLE_VALUE
UEFI_COMPATIBLE = 195865408;
static int
UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.static int
VIRTIO_SCSI_MULTIQUEUE_VALUE
VIRTIO_SCSI_MULTIQUEUE = 201597069;
static int
WINDOWS_VALUE
WINDOWS = 456863331;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static GuestOsFeature.Type
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<GuestOsFeature.Type>
internalGetValueMap()
static GuestOsFeature.Type
valueOf(int value)
Deprecated.static GuestOsFeature.Type
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static GuestOsFeature.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static GuestOsFeature.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDEFINED_TYPE
public static final GuestOsFeature.Type UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;
-
FEATURE_TYPE_UNSPECIFIED
public static final GuestOsFeature.Type FEATURE_TYPE_UNSPECIFIED
FEATURE_TYPE_UNSPECIFIED = 531767259;
-
GVNIC
public static final GuestOsFeature.Type GVNIC
GVNIC = 68209305;
-
MULTI_IP_SUBNET
public static final GuestOsFeature.Type MULTI_IP_SUBNET
MULTI_IP_SUBNET = 151776719;
-
SECURE_BOOT
public static final GuestOsFeature.Type SECURE_BOOT
SECURE_BOOT = 376811194;
-
SEV_CAPABLE
public static final GuestOsFeature.Type SEV_CAPABLE
SEV_CAPABLE = 87083793;
-
SEV_LIVE_MIGRATABLE
public static final GuestOsFeature.Type SEV_LIVE_MIGRATABLE
SEV_LIVE_MIGRATABLE = 392039820;
-
SEV_SNP_CAPABLE
public static final GuestOsFeature.Type SEV_SNP_CAPABLE
SEV_SNP_CAPABLE = 426919;
-
UEFI_COMPATIBLE
public static final GuestOsFeature.Type UEFI_COMPATIBLE
UEFI_COMPATIBLE = 195865408;
-
VIRTIO_SCSI_MULTIQUEUE
public static final GuestOsFeature.Type VIRTIO_SCSI_MULTIQUEUE
VIRTIO_SCSI_MULTIQUEUE = 201597069;
-
WINDOWS
public static final GuestOsFeature.Type WINDOWS
WINDOWS = 456863331;
-
UNRECOGNIZED
public static final GuestOsFeature.Type UNRECOGNIZED
-
-
Field Detail
-
UNDEFINED_TYPE_VALUE
public static final int UNDEFINED_TYPE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;
- See Also:
- Constant Field Values
-
FEATURE_TYPE_UNSPECIFIED_VALUE
public static final int FEATURE_TYPE_UNSPECIFIED_VALUE
FEATURE_TYPE_UNSPECIFIED = 531767259;
- See Also:
- Constant Field Values
-
GVNIC_VALUE
public static final int GVNIC_VALUE
GVNIC = 68209305;
- See Also:
- Constant Field Values
-
MULTI_IP_SUBNET_VALUE
public static final int MULTI_IP_SUBNET_VALUE
MULTI_IP_SUBNET = 151776719;
- See Also:
- Constant Field Values
-
SECURE_BOOT_VALUE
public static final int SECURE_BOOT_VALUE
SECURE_BOOT = 376811194;
- See Also:
- Constant Field Values
-
SEV_CAPABLE_VALUE
public static final int SEV_CAPABLE_VALUE
SEV_CAPABLE = 87083793;
- See Also:
- Constant Field Values
-
SEV_LIVE_MIGRATABLE_VALUE
public static final int SEV_LIVE_MIGRATABLE_VALUE
SEV_LIVE_MIGRATABLE = 392039820;
- See Also:
- Constant Field Values
-
SEV_SNP_CAPABLE_VALUE
public static final int SEV_SNP_CAPABLE_VALUE
SEV_SNP_CAPABLE = 426919;
- See Also:
- Constant Field Values
-
UEFI_COMPATIBLE_VALUE
public static final int UEFI_COMPATIBLE_VALUE
UEFI_COMPATIBLE = 195865408;
- See Also:
- Constant Field Values
-
VIRTIO_SCSI_MULTIQUEUE_VALUE
public static final int VIRTIO_SCSI_MULTIQUEUE_VALUE
VIRTIO_SCSI_MULTIQUEUE = 201597069;
- See Also:
- Constant Field Values
-
WINDOWS_VALUE
public static final int WINDOWS_VALUE
WINDOWS = 456863331;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static GuestOsFeature.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GuestOsFeature.Type c : GuestOsFeature.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GuestOsFeature.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static GuestOsFeature.Type valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static GuestOsFeature.Type forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<GuestOsFeature.Type> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static GuestOsFeature.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-