Class VmSelectionConfig.Builder (2.6.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VmSelectionConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VmSelectionConfig.Builder
Overrides

build()

public VmSelectionConfig build()
Returns
TypeDescription
VmSelectionConfig

buildPartial()

public VmSelectionConfig buildPartial()
Returns
TypeDescription
VmSelectionConfig

clear()

public VmSelectionConfig.Builder clear()
Returns
TypeDescription
VmSelectionConfig.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VmSelectionConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VmSelectionConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VmSelectionConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
VmSelectionConfig.Builder

This builder for chaining.

clone()

public VmSelectionConfig.Builder clone()
Returns
TypeDescription
VmSelectionConfig.Builder
Overrides

getDefaultInstanceForType()

public VmSelectionConfig getDefaultInstanceForType()
Returns
TypeDescription
VmSelectionConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for vmZone.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VmSelectionConfig other)

public VmSelectionConfig.Builder mergeFrom(VmSelectionConfig other)
Parameter
NameDescription
otherVmSelectionConfig
Returns
TypeDescription
VmSelectionConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VmSelectionConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VmSelectionConfig.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VmSelectionConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VmSelectionConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VmSelectionConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VmSelectionConfig.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VmSelectionConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VmSelectionConfig.Builder
Overrides

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

public VmSelectionConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VmSelectionConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VmSelectionConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The vmZone to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for vmZone to set.

Returns
TypeDescription
VmSelectionConfig.Builder

This builder for chaining.