Class FinalizeMigrationRequest.Builder (1.21.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FinalizeMigrationRequest build()
Returns
TypeDescription
FinalizeMigrationRequest

buildPartial()

public FinalizeMigrationRequest buildPartial()
Returns
TypeDescription
FinalizeMigrationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public FinalizeMigrationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FinalizeMigrationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public FinalizeMigrationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
FinalizeMigrationRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public FinalizeMigrationRequest getDefaultInstanceForType()
Returns
TypeDescription
FinalizeMigrationRequest

getDescriptorForType()

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

The bytes for migratingVm.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FinalizeMigrationRequest other)

public FinalizeMigrationRequest.Builder mergeFrom(FinalizeMigrationRequest other)
Parameter
NameDescription
otherFinalizeMigrationRequest
Returns
TypeDescription
FinalizeMigrationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public FinalizeMigrationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The migratingVm to set.

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

The bytes for migratingVm to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FinalizeMigrationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FinalizeMigrationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
FinalizeMigrationRequest.Builder
Overrides