Class RestartMigrationJobRequest.Builder (2.43.0)

public static final class RestartMigrationJobRequest.Builder extends GeneratedMessageV3.Builder<RestartMigrationJobRequest.Builder> implements RestartMigrationJobRequestOrBuilder

Request message for 'RestartMigrationJob' request.

Protobuf type google.cloud.clouddms.v1.RestartMigrationJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RestartMigrationJobRequest build()
Returns
Type Description
RestartMigrationJobRequest

buildPartial()

public RestartMigrationJobRequest buildPartial()
Returns
Type Description
RestartMigrationJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public RestartMigrationJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RestartMigrationJobRequest.Builder
Overrides

clearName()

public RestartMigrationJobRequest.Builder clearName()

Name of the migration job resource to restart.

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

Returns
Type Description
RestartMigrationJobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSkipValidation()

public RestartMigrationJobRequest.Builder clearSkipValidation()

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

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

Returns
Type Description
RestartMigrationJobRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public RestartMigrationJobRequest getDefaultInstanceForType()
Returns
Type Description
RestartMigrationJobRequest

getDescriptorForType()

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

getName()

public String getName()

Name of the migration job resource to restart.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the migration job resource to restart.

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

Returns
Type Description
ByteString

The bytes for name.

getSkipValidation()

public boolean getSkipValidation()

Optional. Restart 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(RestartMigrationJobRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public RestartMigrationJobRequest.Builder setName(String value)

Name of the migration job resource to restart.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RestartMigrationJobRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RestartMigrationJobRequest.Builder setNameBytes(ByteString value)

Name of the migration job resource to restart.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RestartMigrationJobRequest.Builder

This builder for chaining.

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

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

setSkipValidation(boolean value)

public RestartMigrationJobRequest.Builder setSkipValidation(boolean value)

Optional. Restart 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
RestartMigrationJobRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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