Class UpdateMigrationJobRequest.Builder (2.29.0)

public static final class UpdateMigrationJobRequest.Builder extends GeneratedMessageV3.Builder<UpdateMigrationJobRequest.Builder> implements UpdateMigrationJobRequestOrBuilder

Request message for 'UpdateMigrationJob' request.

Protobuf type google.cloud.clouddms.v1.UpdateMigrationJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateMigrationJobRequest build()
Returns
TypeDescription
UpdateMigrationJobRequest

buildPartial()

public UpdateMigrationJobRequest buildPartial()
Returns
TypeDescription
UpdateMigrationJobRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMigrationJob()

public UpdateMigrationJobRequest.Builder clearMigrationJob()

Required. The migration job parameters to update.

.google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateMigrationJobRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestId()

public UpdateMigrationJobRequest.Builder clearRequestId()

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

string request_id = 3;

Returns
TypeDescription
UpdateMigrationJobRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateMigrationJobRequest.Builder clearUpdateMask()

Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateMigrationJobRequest.Builder

clone()

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

getDefaultInstanceForType()

public UpdateMigrationJobRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateMigrationJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMigrationJob()

public MigrationJob getMigrationJob()

Required. The migration job parameters to update.

.google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MigrationJob

The migrationJob.

getMigrationJobBuilder()

public MigrationJob.Builder getMigrationJobBuilder()

Required. The migration job parameters to update.

.google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MigrationJob.Builder

getMigrationJobOrBuilder()

public MigrationJobOrBuilder getMigrationJobOrBuilder()

Required. The migration job parameters to update.

.google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MigrationJobOrBuilder

getRequestId()

public String getRequestId()

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

string request_id = 3;

Returns
TypeDescription
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

string request_id = 3;

Returns
TypeDescription
ByteString

The bytes for requestId.

getUpdateMask()

public FieldMask getUpdateMask()

Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasMigrationJob()

public boolean hasMigrationJob()

Required. The migration job parameters to update.

.google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the migrationJob field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateMigrationJobRequest other)

public UpdateMigrationJobRequest.Builder mergeFrom(UpdateMigrationJobRequest other)
Parameter
NameDescription
otherUpdateMigrationJobRequest
Returns
TypeDescription
UpdateMigrationJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMigrationJob(MigrationJob value)

public UpdateMigrationJobRequest.Builder mergeMigrationJob(MigrationJob value)

Required. The migration job parameters to update.

.google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueMigrationJob
Returns
TypeDescription
UpdateMigrationJobRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateMigrationJobRequest.Builder mergeUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateMigrationJobRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMigrationJob(MigrationJob value)

public UpdateMigrationJobRequest.Builder setMigrationJob(MigrationJob value)

Required. The migration job parameters to update.

.google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueMigrationJob
Returns
TypeDescription
UpdateMigrationJobRequest.Builder

setMigrationJob(MigrationJob.Builder builderForValue)

public UpdateMigrationJobRequest.Builder setMigrationJob(MigrationJob.Builder builderForValue)

Required. The migration job parameters to update.

.google.cloud.clouddms.v1.MigrationJob migration_job = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueMigrationJob.Builder
Returns
TypeDescription
UpdateMigrationJobRequest.Builder

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

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

setRequestId(String value)

public UpdateMigrationJobRequest.Builder setRequestId(String value)

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

string request_id = 3;

Parameter
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
UpdateMigrationJobRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateMigrationJobRequest.Builder setRequestIdBytes(ByteString value)

A unique ID used to identify the request. If the server receives two requests with the same ID, then the second request is ignored.

It is recommended to always set this value to a UUID.

The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.

string request_id = 3;

Parameter
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
UpdateMigrationJobRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateMigrationJobRequest.Builder setUpdateMask(FieldMask value)

Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateMigrationJobRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateMigrationJobRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Required. Field mask is used to specify the fields to be overwritten by the update in the conversion workspace resource.

.google.protobuf.FieldMask update_mask = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateMigrationJobRequest.Builder