public static final class VirtualMachine.Builder extends GeneratedMessageV3.Builder<VirtualMachine.Builder> implements VirtualMachineOrBuilder
Runtime using Virtual Machine for computing.
Protobuf type google.cloud.notebooks.v1.VirtualMachine
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VirtualMachine.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VirtualMachine build()
Returns
buildPartial()
public VirtualMachine buildPartial()
Returns
clear()
public VirtualMachine.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public VirtualMachine.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInstanceId()
public VirtualMachine.Builder clearInstanceId()
Output only. The unique identifier of the Managed Compute Engine instance.
string instance_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearInstanceName()
public VirtualMachine.Builder clearInstanceName()
Output only. The user-friendly name of the Managed Compute Engine instance.
string instance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public VirtualMachine.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVirtualMachineConfig()
public VirtualMachine.Builder clearVirtualMachineConfig()
Virtual Machine configuration settings.
.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;
Returns
clone()
public VirtualMachine.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public VirtualMachine getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
getVirtualMachineConfig()
public VirtualMachineConfig getVirtualMachineConfig()
Virtual Machine configuration settings.
.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;
Returns
getVirtualMachineConfigBuilder()
public VirtualMachineConfig.Builder getVirtualMachineConfigBuilder()
Virtual Machine configuration settings.
.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;
Returns
getVirtualMachineConfigOrBuilder()
public VirtualMachineConfigOrBuilder getVirtualMachineConfigOrBuilder()
Virtual Machine configuration settings.
.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;
Returns
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(VirtualMachine other)
public VirtualMachine.Builder mergeFrom(VirtualMachine other)
Parameter
Returns
public VirtualMachine.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VirtualMachine.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VirtualMachine.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeVirtualMachineConfig(VirtualMachineConfig value)
public VirtualMachine.Builder mergeVirtualMachineConfig(VirtualMachineConfig value)
Virtual Machine configuration settings.
.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VirtualMachine.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInstanceId(String value)
public VirtualMachine.Builder setInstanceId(String value)
Output only. The unique identifier of the Managed Compute Engine instance.
string instance_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | String
The instanceId to set.
|
Returns
setInstanceIdBytes(ByteString value)
public VirtualMachine.Builder setInstanceIdBytes(ByteString value)
Output only. The unique identifier of the Managed Compute Engine instance.
string instance_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for instanceId to set.
|
Returns
setInstanceName(String value)
public VirtualMachine.Builder setInstanceName(String value)
Output only. The user-friendly name of the Managed Compute Engine instance.
string instance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | String
The instanceName to set.
|
Returns
setInstanceNameBytes(ByteString value)
public VirtualMachine.Builder setInstanceNameBytes(ByteString value)
Output only. The user-friendly name of the Managed Compute Engine instance.
string instance_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | ByteString
The bytes for instanceName to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VirtualMachine.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VirtualMachine.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setVirtualMachineConfig(VirtualMachineConfig value)
public VirtualMachine.Builder setVirtualMachineConfig(VirtualMachineConfig value)
Virtual Machine configuration settings.
.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;
Parameter
Returns
setVirtualMachineConfig(VirtualMachineConfig.Builder builderForValue)
public VirtualMachine.Builder setVirtualMachineConfig(VirtualMachineConfig.Builder builderForValue)
Virtual Machine configuration settings.
.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;
Parameter
Returns