Class VirtualMachine (1.47.0)

public final class VirtualMachine extends GeneratedMessageV3 implements VirtualMachineOrBuilder

Runtime using Virtual Machine for computing.

Protobuf type google.cloud.notebooks.v1.VirtualMachine

Static Fields

INSTANCE_ID_FIELD_NUMBER

public static final int INSTANCE_ID_FIELD_NUMBER
Field Value
Type Description
int

INSTANCE_NAME_FIELD_NUMBER

public static final int INSTANCE_NAME_FIELD_NUMBER
Field Value
Type Description
int

VIRTUAL_MACHINE_CONFIG_FIELD_NUMBER

public static final int VIRTUAL_MACHINE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VirtualMachine getDefaultInstance()
Returns
Type Description
VirtualMachine

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VirtualMachine.Builder newBuilder()
Returns
Type Description
VirtualMachine.Builder

newBuilder(VirtualMachine prototype)

public static VirtualMachine.Builder newBuilder(VirtualMachine prototype)
Parameter
Name Description
prototype VirtualMachine
Returns
Type Description
VirtualMachine.Builder

parseDelimitedFrom(InputStream input)

public static VirtualMachine parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VirtualMachine
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VirtualMachine parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VirtualMachine
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VirtualMachine parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VirtualMachine
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VirtualMachine parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VirtualMachine
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VirtualMachine parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VirtualMachine
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VirtualMachine parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VirtualMachine
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VirtualMachine parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VirtualMachine
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VirtualMachine parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VirtualMachine
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VirtualMachine parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VirtualMachine
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VirtualMachine parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VirtualMachine
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VirtualMachine parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VirtualMachine
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VirtualMachine parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VirtualMachine
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VirtualMachine> parser()
Returns
Type Description
Parser<VirtualMachine>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VirtualMachine getDefaultInstanceForType()
Returns
Type Description
VirtualMachine

getInstanceId()

public String getInstanceId()

Output only. The unique identifier of the Managed Compute Engine instance.

string instance_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The instanceId.

getInstanceIdBytes()

public ByteString getInstanceIdBytes()

Output only. The unique identifier of the Managed Compute Engine instance.

string instance_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for instanceId.

getInstanceName()

public String getInstanceName()

Output only. The user-friendly name of the Managed Compute Engine instance.

string instance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The instanceName.

getInstanceNameBytes()

public ByteString getInstanceNameBytes()

Output only. The user-friendly name of the Managed Compute Engine instance.

string instance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for instanceName.

getParserForType()

public Parser<VirtualMachine> getParserForType()
Returns
Type Description
Parser<VirtualMachine>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVirtualMachineConfig()

public VirtualMachineConfig getVirtualMachineConfig()

Virtual Machine configuration settings.

.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;

Returns
Type Description
VirtualMachineConfig

The virtualMachineConfig.

getVirtualMachineConfigOrBuilder()

public VirtualMachineConfigOrBuilder getVirtualMachineConfigOrBuilder()

Virtual Machine configuration settings.

.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;

Returns
Type Description
VirtualMachineConfigOrBuilder

hasVirtualMachineConfig()

public boolean hasVirtualMachineConfig()

Virtual Machine configuration settings.

.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;

Returns
Type Description
boolean

Whether the virtualMachineConfig field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VirtualMachine.Builder newBuilderForType()
Returns
Type Description
VirtualMachine.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VirtualMachine.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VirtualMachine.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VirtualMachine.Builder toBuilder()
Returns
Type Description
VirtualMachine.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException