public static final class VmCreationConfig.Builder extends GeneratedMessageV3.Builder<VmCreationConfig.Builder> implements VmCreationConfigOrBuilderVM creation configuration message
Protobuf type google.cloud.clouddms.v1.VmCreationConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VmCreationConfig.BuilderImplements
VmCreationConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VmCreationConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
|
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 |
|
clearField(Descriptors.FieldDescriptor field)
public VmCreationConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public VmCreationConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| 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. |
clone()
public VmCreationConfig.Builder clone()| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
|
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 GeneratedMessageV3.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 |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VmCreationConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public VmCreationConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VmCreationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| 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. |
setUnknownFields(UnknownFieldSet unknownFields)
public final VmCreationConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
VmCreationConfig.Builder |
|
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. |