Class VmSelectionConfig.Builder (2.82.0)

public static final class VmSelectionConfig.Builder extends GeneratedMessage.Builder<VmSelectionConfig.Builder> implements VmSelectionConfigOrBuilder

VM selection configuration message

Protobuf type google.cloud.clouddms.v1.VmSelectionConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public VmSelectionConfig build()
Returns
Type Description
VmSelectionConfig

buildPartial()

public VmSelectionConfig buildPartial()
Returns
Type Description
VmSelectionConfig

clear()

public VmSelectionConfig.Builder clear()
Returns
Type Description
VmSelectionConfig.Builder
Overrides

clearVmZone()

public VmSelectionConfig.Builder clearVmZone()

Required. The Google Cloud Platform zone the VM is located.

string vm_zone = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
VmSelectionConfig.Builder

This builder for chaining.

getDefaultInstanceForType()

public VmSelectionConfig getDefaultInstanceForType()
Returns
Type Description
VmSelectionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getVmZone()

public String getVmZone()

Required. The Google Cloud Platform zone the VM is located.

string vm_zone = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The vmZone.

getVmZoneBytes()

public ByteString getVmZoneBytes()

Required. The Google Cloud Platform zone the VM is located.

string vm_zone = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for vmZone.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VmSelectionConfig other)

public VmSelectionConfig.Builder mergeFrom(VmSelectionConfig other)
Parameter
Name Description
other VmSelectionConfig
Returns
Type Description
VmSelectionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VmSelectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VmSelectionConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VmSelectionConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VmSelectionConfig.Builder
Overrides

setVmZone(String value)

public VmSelectionConfig.Builder setVmZone(String value)

Required. The Google Cloud Platform zone the VM is located.

string vm_zone = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The vmZone to set.

Returns
Type Description
VmSelectionConfig.Builder

This builder for chaining.

setVmZoneBytes(ByteString value)

public VmSelectionConfig.Builder setVmZoneBytes(ByteString value)

Required. The Google Cloud Platform zone the VM is located.

string vm_zone = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for vmZone to set.

Returns
Type Description
VmSelectionConfig.Builder

This builder for chaining.