Class VmSelectionConfig.Builder (2.53.0)

public static final class VmSelectionConfig.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VmSelectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VmSelectionConfig.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public VmSelectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VmSelectionConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VmSelectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VmSelectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VmSelectionConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VmSelectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VmSelectionConfig.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VmSelectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VmSelectionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VmSelectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.