Class Instance.Disk.GuestOsFeature (1.30.0)

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

Guest OS features for boot disk.

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

Static Fields

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Instance.Disk.GuestOsFeature getDefaultInstance()
Returns
TypeDescription
Instance.Disk.GuestOsFeature

getDescriptor()

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

newBuilder()

public static Instance.Disk.GuestOsFeature.Builder newBuilder()
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder

newBuilder(Instance.Disk.GuestOsFeature prototype)

public static Instance.Disk.GuestOsFeature.Builder newBuilder(Instance.Disk.GuestOsFeature prototype)
Parameter
NameDescription
prototypeInstance.Disk.GuestOsFeature
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder

parseDelimitedFrom(InputStream input)

public static Instance.Disk.GuestOsFeature parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Instance.Disk.GuestOsFeature
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.Disk.GuestOsFeature parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.Disk.GuestOsFeature
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Instance.Disk.GuestOsFeature parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Instance.Disk.GuestOsFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Instance.Disk.GuestOsFeature parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Instance.Disk.GuestOsFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Instance.Disk.GuestOsFeature parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.Disk.GuestOsFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Instance.Disk.GuestOsFeature parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Instance.Disk.GuestOsFeature
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Instance.Disk.GuestOsFeature parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Instance.Disk.GuestOsFeature
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Instance.Disk.GuestOsFeature parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.Disk.GuestOsFeature
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Instance.Disk.GuestOsFeature parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Instance.Disk.GuestOsFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Instance.Disk.GuestOsFeature parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Instance.Disk.GuestOsFeature
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Instance.Disk.GuestOsFeature> parser()
Returns
TypeDescription
Parser<GuestOsFeature>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

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

getParserForType()

public Parser<Instance.Disk.GuestOsFeature> getParserForType()
Returns
TypeDescription
Parser<GuestOsFeature>
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 Instance.Disk.GuestOsFeature.Builder newBuilderForType()
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Instance.Disk.GuestOsFeature.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Instance.Disk.GuestOsFeature.Builder toBuilder()
Returns
TypeDescription
Instance.Disk.GuestOsFeature.Builder

writeTo(CodedOutputStream output)

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