Class FinalizeMigrationRequest.Builder (1.51.0)

public static final class FinalizeMigrationRequest.Builder extends GeneratedMessageV3.Builder<FinalizeMigrationRequest.Builder> implements FinalizeMigrationRequestOrBuilder

Request message for 'FinalizeMigration' request.

Protobuf type google.cloud.vmmigration.v1.FinalizeMigrationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FinalizeMigrationRequest build()
Returns
Type Description
FinalizeMigrationRequest

buildPartial()

public FinalizeMigrationRequest buildPartial()
Returns
Type Description
FinalizeMigrationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMigratingVm()

public FinalizeMigrationRequest.Builder clearMigratingVm()

Required. The name of the MigratingVm.

string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
FinalizeMigrationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FinalizeMigrationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
FinalizeMigrationRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public FinalizeMigrationRequest getDefaultInstanceForType()
Returns
Type Description
FinalizeMigrationRequest

getDescriptorForType()

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

getMigratingVm()

public String getMigratingVm()

Required. The name of the MigratingVm.

string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The migratingVm.

getMigratingVmBytes()

public ByteString getMigratingVmBytes()

Required. The name of the MigratingVm.

string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for migratingVm.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FinalizeMigrationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMigratingVm(String value)

public FinalizeMigrationRequest.Builder setMigratingVm(String value)

Required. The name of the MigratingVm.

string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The migratingVm to set.

Returns
Type Description
FinalizeMigrationRequest.Builder

This builder for chaining.

setMigratingVmBytes(ByteString value)

public FinalizeMigrationRequest.Builder setMigratingVmBytes(ByteString value)

Required. The name of the MigratingVm.

string migrating_vm = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for migratingVm to set.

Returns
Type Description
FinalizeMigrationRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final FinalizeMigrationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FinalizeMigrationRequest.Builder
Overrides