- 2.77.0 (latest)
 - 2.75.0
 - 2.74.0
 - 2.73.0
 - 2.72.0
 - 2.71.0
 - 2.69.0
 - 2.67.0
 - 2.66.0
 - 2.63.0
 - 2.62.0
 - 2.61.0
 - 2.59.0
 - 2.58.0
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 2.53.0
 - 2.52.0
 - 2.51.0
 - 2.50.0
 - 2.48.0
 - 2.47.0
 - 2.46.0
 - 2.45.0
 - 2.44.0
 - 2.43.0
 - 2.42.0
 - 2.41.0
 - 2.40.0
 - 2.39.0
 - 2.38.0
 - 2.36.0
 - 2.35.0
 - 2.34.0
 - 2.33.0
 - 2.32.0
 - 2.31.0
 - 2.30.0
 - 2.29.0
 - 2.28.0
 - 2.27.0
 - 2.26.0
 - 2.23.0
 - 2.22.0
 - 2.21.0
 - 2.20.0
 - 2.19.0
 - 2.18.0
 - 2.17.0
 - 2.16.0
 - 2.15.0
 - 2.14.0
 - 2.13.0
 - 2.12.0
 - 2.11.0
 - 2.10.0
 - 2.8.0
 - 2.7.0
 - 2.6.0
 - 2.5.0
 - 2.4.0
 - 2.3.0
 - 2.2.8
 - 2.1.9
 
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.  |