Class LocalDisk.RuntimeGuestOsFeature (1.19.0)

public static final class LocalDisk.RuntimeGuestOsFeature extends GeneratedMessageV3 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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > LocalDisk.RuntimeGuestOsFeature

Static Fields

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LocalDisk.RuntimeGuestOsFeature getDefaultInstance()
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature

getDescriptor()

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

newBuilder()

public static LocalDisk.RuntimeGuestOsFeature.Builder newBuilder()
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder

newBuilder(LocalDisk.RuntimeGuestOsFeature prototype)

public static LocalDisk.RuntimeGuestOsFeature.Builder newBuilder(LocalDisk.RuntimeGuestOsFeature prototype)
Parameter
NameDescription
prototypeLocalDisk.RuntimeGuestOsFeature
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder

parseDelimitedFrom(InputStream input)

public static LocalDisk.RuntimeGuestOsFeature parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LocalDisk.RuntimeGuestOsFeature parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LocalDisk.RuntimeGuestOsFeature parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LocalDisk.RuntimeGuestOsFeature parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LocalDisk.RuntimeGuestOsFeature parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LocalDisk.RuntimeGuestOsFeature parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LocalDisk.RuntimeGuestOsFeature parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LocalDisk.RuntimeGuestOsFeature parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LocalDisk.RuntimeGuestOsFeature parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LocalDisk.RuntimeGuestOsFeature parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LocalDisk.RuntimeGuestOsFeature parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LocalDisk.RuntimeGuestOsFeature parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LocalDisk.RuntimeGuestOsFeature> parser()
Returns
TypeDescription
Parser<RuntimeGuestOsFeature>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<LocalDisk.RuntimeGuestOsFeature> getParserForType()
Returns
TypeDescription
Parser<RuntimeGuestOsFeature>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LocalDisk.RuntimeGuestOsFeature.Builder newBuilderForType()
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LocalDisk.RuntimeGuestOsFeature.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LocalDisk.RuntimeGuestOsFeature.Builder toBuilder()
Returns
TypeDescription
LocalDisk.RuntimeGuestOsFeature.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException