Class UpdateConversionWorkspaceRequest.Builder (2.35.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateConversionWorkspaceRequest build()
Returns
TypeDescription
UpdateConversionWorkspaceRequest

buildPartial()

public UpdateConversionWorkspaceRequest buildPartial()
Returns
TypeDescription
UpdateConversionWorkspaceRequest

clear()

public UpdateConversionWorkspaceRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateConversionWorkspaceRequest.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateConversionWorkspaceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
UpdateConversionWorkspaceRequest.Builder

clone()

public UpdateConversionWorkspaceRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ConversionWorkspaceOrBuilder

getDefaultInstanceForType()

public UpdateConversionWorkspaceRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateConversionWorkspaceRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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

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
TypeDescription
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
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

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
NameDescription
valueConversionWorkspace
Returns
TypeDescription
UpdateConversionWorkspaceRequest.Builder

mergeFrom(UpdateConversionWorkspaceRequest other)

public UpdateConversionWorkspaceRequest.Builder mergeFrom(UpdateConversionWorkspaceRequest other)
Parameter
NameDescription
otherUpdateConversionWorkspaceRequest
Returns
TypeDescription
UpdateConversionWorkspaceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConversionWorkspaceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
valueConversionWorkspace
Returns
TypeDescription
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
NameDescription
builderForValueConversionWorkspace.Builder
Returns
TypeDescription
UpdateConversionWorkspaceRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateConversionWorkspaceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
UpdateConversionWorkspaceRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateConversionWorkspaceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueFieldMask
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateConversionWorkspaceRequest.Builder