Class UpdateConversionWorkspaceRequest.Builder (2.42.0)

public static final class UpdateConversionWorkspaceRequest.Builder extends GeneratedMessageV3.Builder<UpdateConversionWorkspaceRequest.Builder> implements UpdateConversionWorkspaceRequestOrBuilder

Request message for 'UpdateConversionWorkspace' request.

Protobuf type google.cloud.clouddms.v1.UpdateConversionWorkspaceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateConversionWorkspaceRequest build()
Returns
Type Description
UpdateConversionWorkspaceRequest

buildPartial()

public UpdateConversionWorkspaceRequest buildPartial()
Returns
Type Description
UpdateConversionWorkspaceRequest

clear()

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

clearConversionWorkspace()

public UpdateConversionWorkspaceRequest.Builder clearConversionWorkspace()

Required. The conversion workspace parameters to update.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UpdateConversionWorkspaceRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestId()

public UpdateConversionWorkspaceRequest.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
Type Description
UpdateConversionWorkspaceRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateConversionWorkspaceRequest.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
Type Description
UpdateConversionWorkspaceRequest.Builder

clone()

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

getConversionWorkspace()

public ConversionWorkspace getConversionWorkspace()

Required. The conversion workspace parameters to update.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversionWorkspace

The conversionWorkspace.

getConversionWorkspaceBuilder()

public ConversionWorkspace.Builder getConversionWorkspaceBuilder()

Required. The conversion workspace parameters to update.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversionWorkspace.Builder

getConversionWorkspaceOrBuilder()

public ConversionWorkspaceOrBuilder getConversionWorkspaceOrBuilder()

Required. The conversion workspace parameters to update.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConversionWorkspaceOrBuilder

getDefaultInstanceForType()

public UpdateConversionWorkspaceRequest getDefaultInstanceForType()
Returns
Type Description
UpdateConversionWorkspaceRequest

getDescriptorForType()

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

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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
FieldMaskOrBuilder

hasConversionWorkspace()

public boolean hasConversionWorkspace()

Required. The conversion workspace parameters to update.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the conversionWorkspace 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
Type Description
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConversionWorkspace(ConversionWorkspace value)

public UpdateConversionWorkspaceRequest.Builder mergeConversionWorkspace(ConversionWorkspace value)

Required. The conversion workspace parameters to update.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConversionWorkspace
Returns
Type Description
UpdateConversionWorkspaceRequest.Builder

mergeFrom(UpdateConversionWorkspaceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUpdateMask(FieldMask value)

public UpdateConversionWorkspaceRequest.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
Name Description
value FieldMask
Returns
Type Description
UpdateConversionWorkspaceRequest.Builder

setConversionWorkspace(ConversionWorkspace value)

public UpdateConversionWorkspaceRequest.Builder setConversionWorkspace(ConversionWorkspace value)

Required. The conversion workspace parameters to update.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ConversionWorkspace
Returns
Type Description
UpdateConversionWorkspaceRequest.Builder

setConversionWorkspace(ConversionWorkspace.Builder builderForValue)

public UpdateConversionWorkspaceRequest.Builder setConversionWorkspace(ConversionWorkspace.Builder builderForValue)

Required. The conversion workspace parameters to update.

.google.cloud.clouddms.v1.ConversionWorkspace conversion_workspace = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue ConversionWorkspace.Builder
Returns
Type Description
UpdateConversionWorkspaceRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRequestId(String value)

public UpdateConversionWorkspaceRequest.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
Name Description
value String

The requestId to set.

Returns
Type Description
UpdateConversionWorkspaceRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateConversionWorkspaceRequest.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
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
UpdateConversionWorkspaceRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateConversionWorkspaceRequest.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
Name Description
value FieldMask
Returns
Type Description
UpdateConversionWorkspaceRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateConversionWorkspaceRequest.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
Name Description
builderForValue Builder
Returns
Type Description
UpdateConversionWorkspaceRequest.Builder