Class LocalDisk.RuntimeGuestOsFeature.Builder (0.14.1)

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

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LocalDisk.RuntimeGuestOsFeature.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder
Overrides

build()

public LocalDisk.RuntimeGuestOsFeature build()
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature

buildPartial()

public LocalDisk.RuntimeGuestOsFeature buildPartial()
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature

clear()

public LocalDisk.RuntimeGuestOsFeature.Builder clear()
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LocalDisk.RuntimeGuestOsFeature.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LocalDisk.RuntimeGuestOsFeature.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder

This builder for chaining.

clone()

public LocalDisk.RuntimeGuestOsFeature.Builder clone()
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder
Overrides

getDefaultInstanceForType()

public LocalDisk.RuntimeGuestOsFeature getDefaultInstanceForType()
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for type.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LocalDisk.RuntimeGuestOsFeature other)

public LocalDisk.RuntimeGuestOsFeature.Builder mergeFrom(LocalDisk.RuntimeGuestOsFeature other)
Parameter
NameDescription
otherLocalDisk.RuntimeGuestOsFeature
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LocalDisk.RuntimeGuestOsFeature.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LocalDisk.RuntimeGuestOsFeature.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LocalDisk.RuntimeGuestOsFeature.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LocalDisk.RuntimeGuestOsFeature.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LocalDisk.RuntimeGuestOsFeature.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The type to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for type to set.

Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final LocalDisk.RuntimeGuestOsFeature.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder
Overrides