Class VirtualMachine (1.4.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
TypeDescription
int

INSTANCE_NAME_FIELD_NUMBER

public static final int INSTANCE_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

VIRTUAL_MACHINE_CONFIG_FIELD_NUMBER

public static final int VIRTUAL_MACHINE_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VirtualMachine getDefaultInstance()
Returns
TypeDescription
VirtualMachine

getDescriptor()

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

newBuilder()

public static VirtualMachine.Builder newBuilder()
Returns
TypeDescription
VirtualMachine.Builder

newBuilder(VirtualMachine prototype)

public static VirtualMachine.Builder newBuilder(VirtualMachine prototype)
Parameter
NameDescription
prototypeVirtualMachine
Returns
TypeDescription
VirtualMachine.Builder

parseDelimitedFrom(InputStream input)

public static VirtualMachine parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VirtualMachine
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static VirtualMachine parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VirtualMachine
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static VirtualMachine parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VirtualMachine
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static VirtualMachine parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VirtualMachine
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static VirtualMachine parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VirtualMachine
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<VirtualMachine> parser()
Returns
TypeDescription
Parser<VirtualMachine>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public VirtualMachine getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for instanceName.

getParserForType()

public Parser<VirtualMachine> getParserForType()
Returns
TypeDescription
Parser<VirtualMachine>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVirtualMachineConfig()

public VirtualMachineConfig getVirtualMachineConfig()

Virtual Machine configuration settings.

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

Returns
TypeDescription
VirtualMachineConfig

The virtualMachineConfig.

getVirtualMachineConfigOrBuilder()

public VirtualMachineConfigOrBuilder getVirtualMachineConfigOrBuilder()

Virtual Machine configuration settings.

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

Returns
TypeDescription
VirtualMachineConfigOrBuilder

hasVirtualMachineConfig()

public boolean hasVirtualMachineConfig()

Virtual Machine configuration settings.

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

Returns
TypeDescription
boolean

Whether the virtualMachineConfig field is set.

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 VirtualMachine.Builder newBuilderForType()
Returns
TypeDescription
VirtualMachine.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public VirtualMachine.Builder toBuilder()
Returns
TypeDescription
VirtualMachine.Builder

writeTo(CodedOutputStream output)

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