public static final class VmCreationConfig.Builder extends GeneratedMessage.Builder<VmCreationConfig.Builder> implements VmCreationConfigOrBuilderVM creation configuration message
Protobuf type google.cloud.clouddms.v1.VmCreationConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VmCreationConfig.BuilderImplements
VmCreationConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public VmCreationConfig build()| Returns | |
|---|---|
| Type | Description |
VmCreationConfig |
|
buildPartial()
public VmCreationConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
VmCreationConfig |
|
clear()
public VmCreationConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
|
clearSubnet()
public VmCreationConfig.Builder clearSubnet()The subnet name the vm needs to be created in.
string subnet = 3;
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
This builder for chaining. |
clearVmMachineType()
public VmCreationConfig.Builder clearVmMachineType()Required. VM instance machine type to create.
string vm_machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
This builder for chaining. |
clearVmZone()
public VmCreationConfig.Builder clearVmZone()The Google Cloud Platform zone to create the VM in.
string vm_zone = 2;
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public VmCreationConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VmCreationConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSubnet()
public String getSubnet()The subnet name the vm needs to be created in.
string subnet = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The subnet. |
getSubnetBytes()
public ByteString getSubnetBytes()The subnet name the vm needs to be created in.
string subnet = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for subnet. |
getVmMachineType()
public String getVmMachineType()Required. VM instance machine type to create.
string vm_machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The vmMachineType. |
getVmMachineTypeBytes()
public ByteString getVmMachineTypeBytes()Required. VM instance machine type to create.
string vm_machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vmMachineType. |
getVmZone()
public String getVmZone()The Google Cloud Platform zone to create the VM in.
string vm_zone = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The vmZone. |
getVmZoneBytes()
public ByteString getVmZoneBytes()The Google Cloud Platform zone to create the VM in.
string vm_zone = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for vmZone. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VmCreationConfig other)
public VmCreationConfig.Builder mergeFrom(VmCreationConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
VmCreationConfig |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VmCreationConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VmCreationConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
|
setSubnet(String value)
public VmCreationConfig.Builder setSubnet(String value)The subnet name the vm needs to be created in.
string subnet = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe subnet to set. |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
This builder for chaining. |
setSubnetBytes(ByteString value)
public VmCreationConfig.Builder setSubnetBytes(ByteString value)The subnet name the vm needs to be created in.
string subnet = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for subnet to set. |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
This builder for chaining. |
setVmMachineType(String value)
public VmCreationConfig.Builder setVmMachineType(String value)Required. VM instance machine type to create.
string vm_machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe vmMachineType to set. |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
This builder for chaining. |
setVmMachineTypeBytes(ByteString value)
public VmCreationConfig.Builder setVmMachineTypeBytes(ByteString value)Required. VM instance machine type to create.
string vm_machine_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for vmMachineType to set. |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
This builder for chaining. |
setVmZone(String value)
public VmCreationConfig.Builder setVmZone(String value)The Google Cloud Platform zone to create the VM in.
string vm_zone = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe vmZone to set. |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
This builder for chaining. |
setVmZoneBytes(ByteString value)
public VmCreationConfig.Builder setVmZoneBytes(ByteString value)The Google Cloud Platform zone to create the VM in.
string vm_zone = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for vmZone to set. |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
This builder for chaining. |