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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VirtualMachine.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public VirtualMachine build()
buildPartial()
public VirtualMachine buildPartial()
clear()
public VirtualMachine.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public VirtualMachine.Builder clearField(Descriptors.FieldDescriptor field)
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];
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public VirtualMachine.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearVirtualMachineConfig()
public VirtualMachine.Builder clearVirtualMachineConfig()
Virtual Machine configuration settings.
.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;
clone()
public VirtualMachine.Builder clone()
Overrides
getDefaultInstanceForType()
public VirtualMachine getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
getVirtualMachineConfigBuilder()
public VirtualMachineConfig.Builder getVirtualMachineConfigBuilder()
Virtual Machine configuration settings.
.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;
getVirtualMachineConfigOrBuilder()
public VirtualMachineConfigOrBuilder getVirtualMachineConfigOrBuilder()
Virtual Machine configuration settings.
.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(VirtualMachine other)
public VirtualMachine.Builder mergeFrom(VirtualMachine other)
public VirtualMachine.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public VirtualMachine.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VirtualMachine.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
mergeVirtualMachineConfig(VirtualMachineConfig value)
public VirtualMachine.Builder mergeVirtualMachineConfig(VirtualMachineConfig value)
Virtual Machine configuration settings.
.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;
setField(Descriptors.FieldDescriptor field, Object value)
public VirtualMachine.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VirtualMachine.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VirtualMachine.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
setVirtualMachineConfig(VirtualMachineConfig value)
public VirtualMachine.Builder setVirtualMachineConfig(VirtualMachineConfig value)
Virtual Machine configuration settings.
.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;
setVirtualMachineConfig(VirtualMachineConfig.Builder builderForValue)
public VirtualMachine.Builder setVirtualMachineConfig(VirtualMachineConfig.Builder builderForValue)
Virtual Machine configuration settings.
.google.cloud.notebooks.v1.VirtualMachineConfig virtual_machine_config = 3;