Class StartMigrationJobRequest.Builder (2.52.0)

public static final class StartMigrationJobRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public StartMigrationJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public StartMigrationJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

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.

setUnknownFields(UnknownFieldSet unknownFields)

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