Class LocalDisk.RuntimeGuestOsFeature.Builder

  • All Implemented Interfaces:
    LocalDisk.RuntimeGuestOsFeatureOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    LocalDisk.RuntimeGuestOsFeature

    public static final class LocalDisk.RuntimeGuestOsFeature.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<LocalDisk.RuntimeGuestOsFeature.Builder>
    implements LocalDisk.RuntimeGuestOsFeatureOrBuilder
     Optional. A list of features to enable on the guest operating system.
     Applicable only for bootable images.
     Read [Enabling guest operating system
     features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
     to see a list of available options.
     Guest OS features for boot disk.
     
    Protobuf type google.cloud.notebooks.v1.LocalDisk.RuntimeGuestOsFeature
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<LocalDisk.RuntimeGuestOsFeature.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<LocalDisk.RuntimeGuestOsFeature.Builder>
      • getDefaultInstanceForType

        public LocalDisk.RuntimeGuestOsFeature getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public LocalDisk.RuntimeGuestOsFeature build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public LocalDisk.RuntimeGuestOsFeature buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<LocalDisk.RuntimeGuestOsFeature.Builder>
      • getType

        public String getType()
         The ID of a supported feature. Read [Enabling guest operating system
         features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
         to see a list of available options.
        
         Valid values:
        
         * `FEATURE_TYPE_UNSPECIFIED`
         * `MULTI_IP_SUBNET`
         * `SECURE_BOOT`
         * `UEFI_COMPATIBLE`
         * `VIRTIO_SCSI_MULTIQUEUE`
         * `WINDOWS`
         
        string type = 1;
        Specified by:
        getType in interface LocalDisk.RuntimeGuestOsFeatureOrBuilder
        Returns:
        The type.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
         The ID of a supported feature. Read [Enabling guest operating system
         features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
         to see a list of available options.
        
         Valid values:
        
         * `FEATURE_TYPE_UNSPECIFIED`
         * `MULTI_IP_SUBNET`
         * `SECURE_BOOT`
         * `UEFI_COMPATIBLE`
         * `VIRTIO_SCSI_MULTIQUEUE`
         * `WINDOWS`
         
        string type = 1;
        Specified by:
        getTypeBytes in interface LocalDisk.RuntimeGuestOsFeatureOrBuilder
        Returns:
        The bytes for type.
      • setType

        public LocalDisk.RuntimeGuestOsFeature.Builder setType​(String value)
         The ID of a supported feature. Read [Enabling guest operating system
         features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
         to see a list of available options.
        
         Valid values:
        
         * `FEATURE_TYPE_UNSPECIFIED`
         * `MULTI_IP_SUBNET`
         * `SECURE_BOOT`
         * `UEFI_COMPATIBLE`
         * `VIRTIO_SCSI_MULTIQUEUE`
         * `WINDOWS`
         
        string type = 1;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public LocalDisk.RuntimeGuestOsFeature.Builder clearType()
         The ID of a supported feature. Read [Enabling guest operating system
         features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
         to see a list of available options.
        
         Valid values:
        
         * `FEATURE_TYPE_UNSPECIFIED`
         * `MULTI_IP_SUBNET`
         * `SECURE_BOOT`
         * `UEFI_COMPATIBLE`
         * `VIRTIO_SCSI_MULTIQUEUE`
         * `WINDOWS`
         
        string type = 1;
        Returns:
        This builder for chaining.
      • setTypeBytes

        public LocalDisk.RuntimeGuestOsFeature.Builder setTypeBytes​(com.google.protobuf.ByteString value)
         The ID of a supported feature. Read [Enabling guest operating system
         features](https://cloud.google.com/compute/docs/images/create-delete-deprecate-private-images#guest-os-features)
         to see a list of available options.
        
         Valid values:
        
         * `FEATURE_TYPE_UNSPECIFIED`
         * `MULTI_IP_SUBNET`
         * `SECURE_BOOT`
         * `UEFI_COMPATIBLE`
         * `VIRTIO_SCSI_MULTIQUEUE`
         * `WINDOWS`
         
        string type = 1;
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.