Class StartMigrationRequest.Builder (1.39.0)

public static final class StartMigrationRequest.Builder extends GeneratedMessageV3.Builder<StartMigrationRequest.Builder> implements StartMigrationRequestOrBuilder

Request message for 'StartMigrationRequest' request.

Protobuf type google.cloud.vmmigration.v1.StartMigrationRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public StartMigrationRequest build()
Returns
TypeDescription
StartMigrationRequest

buildPartial()

public StartMigrationRequest buildPartial()
Returns
TypeDescription
StartMigrationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMigratingVm()

public StartMigrationRequest.Builder clearMigratingVm()

Required. The name of the MigratingVm.

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

Returns
TypeDescription
StartMigrationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public StartMigrationRequest getDefaultInstanceForType()
Returns
TypeDescription
StartMigrationRequest

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(StartMigrationRequest other)

public StartMigrationRequest.Builder mergeFrom(StartMigrationRequest other)
Parameter
NameDescription
otherStartMigrationRequest
Returns
TypeDescription
StartMigrationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMigratingVm(String value)

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

This builder for chaining.

setMigratingVmBytes(ByteString value)

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

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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