Class ConvertConversionWorkspaceRequest.Builder (2.53.0)

public static final class ConvertConversionWorkspaceRequest.Builder extends GeneratedMessageV3.Builder<ConvertConversionWorkspaceRequest.Builder> implements ConvertConversionWorkspaceRequestOrBuilder

Request message for 'ConvertConversionWorkspace' request.

Protobuf type google.cloud.clouddms.v1.ConvertConversionWorkspaceRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConvertConversionWorkspaceRequest build()
Returns
Type Description
ConvertConversionWorkspaceRequest

buildPartial()

public ConvertConversionWorkspaceRequest buildPartial()
Returns
Type Description
ConvertConversionWorkspaceRequest

clear()

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

clearAutoCommit()

public ConvertConversionWorkspaceRequest.Builder clearAutoCommit()

Optional. Specifies whether the conversion workspace is to be committed automatically after the conversion.

bool auto_commit = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

clearConvertFullPath()

public ConvertConversionWorkspaceRequest.Builder clearConvertFullPath()

Optional. Automatically convert the full entity path for each entity specified by the filter. For example, if the filter specifies a table, that table schema (and database if there is one) will also be converted.

bool convert_full_path = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public ConvertConversionWorkspaceRequest.Builder clearFilter()

Optional. Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

clearName()

public ConvertConversionWorkspaceRequest.Builder clearName()

Name of the conversion workspace resource to convert in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

Returns
Type Description
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAutoCommit()

public boolean getAutoCommit()

Optional. Specifies whether the conversion workspace is to be committed automatically after the conversion.

bool auto_commit = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The autoCommit.

getConvertFullPath()

public boolean getConvertFullPath()

Optional. Automatically convert the full entity path for each entity specified by the filter. For example, if the filter specifies a table, that table schema (and database if there is one) will also be converted.

bool convert_full_path = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The convertFullPath.

getDefaultInstanceForType()

public ConvertConversionWorkspaceRequest getDefaultInstanceForType()
Returns
Type Description
ConvertConversionWorkspaceRequest

getDescriptorForType()

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

getFilter()

public String getFilter()

Optional. Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The filter.

getFilterBytes()

public ByteString getFilterBytes()

Optional. Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for filter.

getName()

public String getName()

Name of the conversion workspace resource to convert in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the conversion workspace resource to convert in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ConvertConversionWorkspaceRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAutoCommit(boolean value)

public ConvertConversionWorkspaceRequest.Builder setAutoCommit(boolean value)

Optional. Specifies whether the conversion workspace is to be committed automatically after the conversion.

bool auto_commit = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The autoCommit to set.

Returns
Type Description
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

setConvertFullPath(boolean value)

public ConvertConversionWorkspaceRequest.Builder setConvertFullPath(boolean value)

Optional. Automatically convert the full entity path for each entity specified by the filter. For example, if the filter specifies a table, that table schema (and database if there is one) will also be converted.

bool convert_full_path = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value boolean

The convertFullPath to set.

Returns
Type Description
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilter(String value)

public ConvertConversionWorkspaceRequest.Builder setFilter(String value)

Optional. Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The filter to set.

Returns
Type Description
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

setFilterBytes(ByteString value)

public ConvertConversionWorkspaceRequest.Builder setFilterBytes(ByteString value)

Optional. Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering.

string filter = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for filter to set.

Returns
Type Description
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

setName(String value)

public ConvertConversionWorkspaceRequest.Builder setName(String value)

Name of the conversion workspace resource to convert in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ConvertConversionWorkspaceRequest.Builder setNameBytes(ByteString value)

Name of the conversion workspace resource to convert in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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