Class Instance.Disk.GuestOsFeature.Builder (1.81.0)
Version latestkeyboard_arrow_down
public static final class Instance . Disk . GuestOsFeature . Builder extends GeneratedMessage . Builder<Instance . Disk . GuestOsFeature . Builder > implements Instance . Disk . GuestOsFeatureOrBuilder
Guest OS features for boot disk.
Protobuf type google.cloud.notebooks.v1.Instance.Disk.GuestOsFeature
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
build()
public Instance . Disk . GuestOsFeature build ()
buildPartial()
public Instance . Disk . GuestOsFeature buildPartial ()
clear()
public Instance . Disk . GuestOsFeature . Builder clear ()
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;
getDefaultInstanceForType()
public Instance . Disk . GuestOsFeature getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
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 ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(Instance.Disk.GuestOsFeature other)
public Instance . Disk . GuestOsFeature . Builder mergeFrom ( Instance . Disk . GuestOsFeature other )
public Instance . Disk . GuestOsFeature . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public Instance . Disk . GuestOsFeature . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
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
Name
Description
value
String The type to set.
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
Name
Description
value
ByteString The bytes for type to set.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-01-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-01-31 UTC."],[],[]]