Class StartMigrationJobRequest.Builder (2.82.0)

public static final class StartMigrationJobRequest.Builder extends GeneratedMessage.Builder<StartMigrationJobRequest.Builder> implements StartMigrationJobRequestOrBuilder

Request message for 'StartMigrationJob' request.

Protobuf type google.cloud.clouddms.v1.StartMigrationJobRequest

Static Methods

getDescriptor()

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

Methods

build()

public StartMigrationJobRequest build()
Returns
Type Description
StartMigrationJobRequest

buildPartial()

public StartMigrationJobRequest buildPartial()
Returns
Type Description
StartMigrationJobRequest

clear()

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

clearName()

public StartMigrationJobRequest.Builder clearName()

Name of the migration job resource to start.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
StartMigrationJobRequest.Builder

This builder for chaining.

clearSkipValidation()

public StartMigrationJobRequest.Builder clearSkipValidation()

Optional. Start the migration job without running prior configuration verification. Defaults to false.

bool skip_validation = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
StartMigrationJobRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public StartMigrationJobRequest getDefaultInstanceForType()
Returns
Type Description
StartMigrationJobRequest

getDescriptorForType()

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

getName()

public String getName()

Name of the migration job resource to start.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the migration job resource to start.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getSkipValidation()

public boolean getSkipValidation()

Optional. Start the migration job without running prior configuration verification. Defaults to false.

bool skip_validation = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The skipValidation.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StartMigrationJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public StartMigrationJobRequest.Builder setName(String value)

Name of the migration job resource to start.

string name = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
StartMigrationJobRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public StartMigrationJobRequest.Builder setNameBytes(ByteString value)

Name of the migration job resource to start.

string name = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
StartMigrationJobRequest.Builder

This builder for chaining.

setSkipValidation(boolean value)

public StartMigrationJobRequest.Builder setSkipValidation(boolean value)

Optional. Start the migration job without running prior configuration verification. Defaults to false.

bool skip_validation = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The skipValidation to set.

Returns
Type Description
StartMigrationJobRequest.Builder

This builder for chaining.