Class LocalDisk.RuntimeGuestOsFeature.Builder (1.81.0)

public static final class LocalDisk.RuntimeGuestOsFeature.Builder extends GeneratedMessage.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 to see a list of available options. Guest OS features for boot disk.

Protobuf type google.cloud.notebooks.v1.LocalDisk.RuntimeGuestOsFeature

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public LocalDisk.RuntimeGuestOsFeature build()
Returns
Type Description
LocalDisk.RuntimeGuestOsFeature

buildPartial()

public LocalDisk.RuntimeGuestOsFeature buildPartial()
Returns
Type Description
LocalDisk.RuntimeGuestOsFeature

clear()

public LocalDisk.RuntimeGuestOsFeature.Builder clear()
Returns
Type Description
LocalDisk.RuntimeGuestOsFeature.Builder
Overrides

clearType()

public LocalDisk.RuntimeGuestOsFeature.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
Type Description
LocalDisk.RuntimeGuestOsFeature.Builder

This builder for chaining.

getDefaultInstanceForType()

public LocalDisk.RuntimeGuestOsFeature getDefaultInstanceForType()
Returns
Type Description
LocalDisk.RuntimeGuestOsFeature

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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;

Returns
Type Description
String

The type.

getTypeBytes()

public 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;

Returns
Type Description
ByteString

The bytes for type.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LocalDisk.RuntimeGuestOsFeature other)

public LocalDisk.RuntimeGuestOsFeature.Builder mergeFrom(LocalDisk.RuntimeGuestOsFeature other)
Parameter
Name Description
other LocalDisk.RuntimeGuestOsFeature
Returns
Type Description
LocalDisk.RuntimeGuestOsFeature.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LocalDisk.RuntimeGuestOsFeature.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LocalDisk.RuntimeGuestOsFeature.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LocalDisk.RuntimeGuestOsFeature.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LocalDisk.RuntimeGuestOsFeature.Builder
Overrides

setType(String value)

public LocalDisk.RuntimeGuestOsFeature.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;

Parameter
Name Description
value String

The type to set.

Returns
Type Description
LocalDisk.RuntimeGuestOsFeature.Builder

This builder for chaining.

setTypeBytes(ByteString value)

public LocalDisk.RuntimeGuestOsFeature.Builder setTypeBytes(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;

Parameter
Name Description
value ByteString

The bytes for type to set.

Returns
Type Description
LocalDisk.RuntimeGuestOsFeature.Builder

This builder for chaining.