Class Instance.Disk.GuestOsFeature.Builder

    • 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<Instance.Disk.GuestOsFeature.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<Instance.Disk.GuestOsFeature.Builder>
      • getDefaultInstanceForType

        public Instance.Disk.GuestOsFeature getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Instance.Disk.GuestOsFeature build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Instance.Disk.GuestOsFeature 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<Instance.Disk.GuestOsFeature.Builder>
      • mergeFrom

        public Instance.Disk.GuestOsFeature.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                              com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                       throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Disk.GuestOsFeature.Builder>
        Throws:
        IOException
      • getType

        public String getType()
         The ID of a supported feature. Read  Enabling guest operating system
         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 Instance.Disk.GuestOsFeatureOrBuilder
        Returns:
        The type.
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
         The ID of a supported feature. Read  Enabling guest operating system
         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 Instance.Disk.GuestOsFeatureOrBuilder
        Returns:
        The bytes for type.
      • setType

        public Instance.Disk.GuestOsFeature.Builder setType​(String value)
         The ID of a supported feature. Read  Enabling guest operating system
         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 Instance.Disk.GuestOsFeature.Builder clearType()
         The ID of a supported feature. Read  Enabling guest operating system
         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 Instance.Disk.GuestOsFeature.Builder setTypeBytes​(com.google.protobuf.ByteString value)
         The ID of a supported feature. Read  Enabling guest operating system
         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.