Class ExtendMigrationRequest.Builder (1.83.0)

public static final class ExtendMigrationRequest.Builder extends GeneratedMessage.Builder<ExtendMigrationRequest.Builder> implements ExtendMigrationRequestOrBuilder

Request message for 'ExtendMigrationRequest' request.

Protobuf type google.cloud.vmmigration.v1.ExtendMigrationRequest

Static Methods

getDescriptor()

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

Methods

build()

public ExtendMigrationRequest build()
Returns
Type Description
ExtendMigrationRequest

buildPartial()

public ExtendMigrationRequest buildPartial()
Returns
Type Description
ExtendMigrationRequest

clear()

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

clearMigratingVm()

public ExtendMigrationRequest.Builder clearMigratingVm()

Required. The name of the MigratingVm.

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

Returns
Type Description
ExtendMigrationRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExtendMigrationRequest getDefaultInstanceForType()
Returns
Type Description
ExtendMigrationRequest

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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExtendMigrationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setMigratingVm(String value)

public ExtendMigrationRequest.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
ExtendMigrationRequest.Builder

This builder for chaining.

setMigratingVmBytes(ByteString value)

public ExtendMigrationRequest.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
ExtendMigrationRequest.Builder

This builder for chaining.