Package com.google.cloud.compute.v1
Enum 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_V2 - SEV_SNP_CAPABLE - TDX_CAPABLE - IDPF - SNP_SVSM_CAPABLE - CCA_CAPABLE For more information, see Enabling guest operating system features.Protobuf enum
google.cloud.compute.v1.GuestOsFeature.Type-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBARE_METAL_LINUX_COMPATIBLE = 354232740;FEATURE_TYPE_UNSPECIFIED = 531767259;GVNIC = 68209305;IDPF = 2242641;MULTI_IP_SUBNET = 151776719;SECURE_BOOT = 376811194;SEV_CAPABLE = 87083793;SEV_LIVE_MIGRATABLE = 392039820;SEV_LIVE_MIGRATABLE_V2 = 168551983;SEV_SNP_CAPABLE = 426919;SNP_SVSM_CAPABLE = 52921460;TDX_CAPABLE = 240446133;UEFI_COMPATIBLE = 195865408;A value indicating that the enum field is not set.VIRTIO_SCSI_MULTIQUEUE = 201597069;WINDOWS = 456863331; -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBARE_METAL_LINUX_COMPATIBLE = 354232740;static final intFEATURE_TYPE_UNSPECIFIED = 531767259;static final intGVNIC = 68209305;static final intIDPF = 2242641;static final intMULTI_IP_SUBNET = 151776719;static final intSECURE_BOOT = 376811194;static final intSEV_CAPABLE = 87083793;static final intSEV_LIVE_MIGRATABLE_V2 = 168551983;static final intSEV_LIVE_MIGRATABLE = 392039820;static final intSEV_SNP_CAPABLE = 426919;static final intSNP_SVSM_CAPABLE = 52921460;static final intTDX_CAPABLE = 240446133;static final intUEFI_COMPATIBLE = 195865408;static final intA value indicating that the enum field is not set.static final intVIRTIO_SCSI_MULTIQUEUE = 201597069;static final intWINDOWS = 456863331; -
Method Summary
Modifier and TypeMethodDescriptionstatic GuestOsFeature.TypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<GuestOsFeature.Type>static GuestOsFeature.TypevalueOf(int value) Deprecated.static GuestOsFeature.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static GuestOsFeature.TypeReturns 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 Details
-
UNDEFINED_TYPE
A value indicating that the enum field is not set.
UNDEFINED_TYPE = 0; -
BARE_METAL_LINUX_COMPATIBLE
BARE_METAL_LINUX_COMPATIBLE = 354232740; -
FEATURE_TYPE_UNSPECIFIED
FEATURE_TYPE_UNSPECIFIED = 531767259; -
GVNIC
GVNIC = 68209305; -
IDPF
IDPF = 2242641; -
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_LIVE_MIGRATABLE_V2
SEV_LIVE_MIGRATABLE_V2 = 168551983; -
SEV_SNP_CAPABLE
SEV_SNP_CAPABLE = 426919; -
SNP_SVSM_CAPABLE
SNP_SVSM_CAPABLE = 52921460; -
TDX_CAPABLE
TDX_CAPABLE = 240446133; -
UEFI_COMPATIBLE
UEFI_COMPATIBLE = 195865408; -
VIRTIO_SCSI_MULTIQUEUE
VIRTIO_SCSI_MULTIQUEUE = 201597069; -
WINDOWS
WINDOWS = 456863331; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_TYPE_VALUE
public static final int UNDEFINED_TYPE_VALUEA value indicating that the enum field is not set.
UNDEFINED_TYPE = 0;- See Also:
-
BARE_METAL_LINUX_COMPATIBLE_VALUE
public static final int BARE_METAL_LINUX_COMPATIBLE_VALUEBARE_METAL_LINUX_COMPATIBLE = 354232740;- See Also:
-
FEATURE_TYPE_UNSPECIFIED_VALUE
public static final int FEATURE_TYPE_UNSPECIFIED_VALUEFEATURE_TYPE_UNSPECIFIED = 531767259;- See Also:
-
GVNIC_VALUE
public static final int GVNIC_VALUEGVNIC = 68209305;- See Also:
-
IDPF_VALUE
public static final int IDPF_VALUEIDPF = 2242641;- See Also:
-
MULTI_IP_SUBNET_VALUE
public static final int MULTI_IP_SUBNET_VALUEMULTI_IP_SUBNET = 151776719;- See Also:
-
SECURE_BOOT_VALUE
public static final int SECURE_BOOT_VALUESECURE_BOOT = 376811194;- See Also:
-
SEV_CAPABLE_VALUE
public static final int SEV_CAPABLE_VALUESEV_CAPABLE = 87083793;- See Also:
-
SEV_LIVE_MIGRATABLE_VALUE
public static final int SEV_LIVE_MIGRATABLE_VALUESEV_LIVE_MIGRATABLE = 392039820;- See Also:
-
SEV_LIVE_MIGRATABLE_V2_VALUE
public static final int SEV_LIVE_MIGRATABLE_V2_VALUESEV_LIVE_MIGRATABLE_V2 = 168551983;- See Also:
-
SEV_SNP_CAPABLE_VALUE
public static final int SEV_SNP_CAPABLE_VALUESEV_SNP_CAPABLE = 426919;- See Also:
-
SNP_SVSM_CAPABLE_VALUE
public static final int SNP_SVSM_CAPABLE_VALUESNP_SVSM_CAPABLE = 52921460;- See Also:
-
TDX_CAPABLE_VALUE
public static final int TDX_CAPABLE_VALUETDX_CAPABLE = 240446133;- See Also:
-
UEFI_COMPATIBLE_VALUE
public static final int UEFI_COMPATIBLE_VALUEUEFI_COMPATIBLE = 195865408;- See Also:
-
VIRTIO_SCSI_MULTIQUEUE_VALUE
public static final int VIRTIO_SCSI_MULTIQUEUE_VALUEVIRTIO_SCSI_MULTIQUEUE = 201597069;- See Also:
-
WINDOWS_VALUE
public static final int WINDOWS_VALUEWINDOWS = 456863331;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-