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 - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features.
     
    Protobuf enum google.cloud.compute.v1.GuestOsFeature.Type
    • 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;
      • MULTI_IP_SUBNET

        public static final GuestOsFeature.Type MULTI_IP_SUBNET
        MULTI_IP_SUBNET = 151776719;
      • 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;
    • 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
      • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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 interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null