Class ConvertConversionWorkspaceRequest.Builder (2.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ConvertConversionWorkspaceRequest build()
Returns
TypeDescription
ConvertConversionWorkspaceRequest

buildPartial()

public ConvertConversionWorkspaceRequest buildPartial()
Returns
TypeDescription
ConvertConversionWorkspaceRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ConvertConversionWorkspaceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

The convertFullPath.

getDefaultInstanceForType()

public ConvertConversionWorkspaceRequest getDefaultInstanceForType()
Returns
TypeDescription
ConvertConversionWorkspaceRequest

getDescriptorForType()

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

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ConvertConversionWorkspaceRequest other)

public ConvertConversionWorkspaceRequest.Builder mergeFrom(ConvertConversionWorkspaceRequest other)
Parameter
NameDescription
otherConvertConversionWorkspaceRequest
Returns
TypeDescription
ConvertConversionWorkspaceRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ConvertConversionWorkspaceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The autoCommit to set.

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

The convertFullPath to set.

Returns
TypeDescription
ConvertConversionWorkspaceRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ConvertConversionWorkspaceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The filter to set.

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

The bytes for filter to set.

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ConvertConversionWorkspaceRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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