Class Instance.Disk.GuestOsFeature.Builder (1.35.0)

public static final class Instance.Disk.GuestOsFeature.Builder extends GeneratedMessageV3.Builder<Instance.Disk.GuestOsFeature.Builder> implements Instance.Disk.GuestOsFeatureOrBuilder

Guest OS features for boot disk.

Protobuf type google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Instance.Disk.GuestOsFeature.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder
Overrides

build()

public Instance.Disk.GuestOsFeature build()
Returns
TypeDescription
Instance.Disk.GuestOsFeature

buildPartial()

public Instance.Disk.GuestOsFeature buildPartial()
Returns
TypeDescription
Instance.Disk.GuestOsFeature

clear()

public Instance.Disk.GuestOsFeature.Builder clear()
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Instance.Disk.GuestOsFeature.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Instance.Disk.GuestOsFeature.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder
Overrides

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

This builder for chaining.

clone()

public Instance.Disk.GuestOsFeature.Builder clone()
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder
Overrides

getDefaultInstanceForType()

public Instance.Disk.GuestOsFeature getDefaultInstanceForType()
Returns
TypeDescription
Instance.Disk.GuestOsFeature

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(Instance.Disk.GuestOsFeature other)

public Instance.Disk.GuestOsFeature.Builder mergeFrom(Instance.Disk.GuestOsFeature other)
Parameter
NameDescription
otherInstance.Disk.GuestOsFeature
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Instance.Disk.GuestOsFeature.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Instance.Disk.GuestOsFeature.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Instance.Disk.GuestOsFeature.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder
Overrides

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

public Instance.Disk.GuestOsFeature.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder
Overrides

setType(String value)

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;

Parameter
NameDescription
valueString

The type to set.

Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder

This builder for chaining.

setTypeBytes(ByteString value)

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

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Instance.Disk.GuestOsFeature.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder
Overrides