Class TranslationConfigDetails.Builder (0.48.0)

public static final class TranslationConfigDetails.Builder extends GeneratedMessageV3.Builder<TranslationConfigDetails.Builder> implements TranslationConfigDetailsOrBuilder

The translation config to capture necessary settings for a translation task and subtask.

Protobuf type google.cloud.bigquery.migration.v2.TranslationConfigDetails

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TranslationConfigDetails build()
Returns
Type Description
TranslationConfigDetails

buildPartial()

public TranslationConfigDetails buildPartial()
Returns
Type Description
TranslationConfigDetails

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearGcsSourcePath()

public TranslationConfigDetails.Builder clearGcsSourcePath()

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Returns
Type Description
TranslationConfigDetails.Builder

This builder for chaining.

clearGcsTargetPath()

public TranslationConfigDetails.Builder clearGcsTargetPath()

The Cloud Storage path to write back the corresponding input files to.

string gcs_target_path = 2;

Returns
Type Description
TranslationConfigDetails.Builder

This builder for chaining.

clearNameMappingList()

public TranslationConfigDetails.Builder clearNameMappingList()

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Returns
Type Description
TranslationConfigDetails.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputNameMapping()

public TranslationConfigDetails.Builder clearOutputNameMapping()
Returns
Type Description
TranslationConfigDetails.Builder

clearRequestSource()

public TranslationConfigDetails.Builder clearRequestSource()

The indicator to show translation request initiator.

string request_source = 8;

Returns
Type Description
TranslationConfigDetails.Builder

This builder for chaining.

clearSourceDialect()

public TranslationConfigDetails.Builder clearSourceDialect()

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Returns
Type Description
TranslationConfigDetails.Builder

clearSourceEnv()

public TranslationConfigDetails.Builder clearSourceEnv()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Returns
Type Description
TranslationConfigDetails.Builder

clearSourceLocation()

public TranslationConfigDetails.Builder clearSourceLocation()
Returns
Type Description
TranslationConfigDetails.Builder

clearTargetDialect()

public TranslationConfigDetails.Builder clearTargetDialect()

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Returns
Type Description
TranslationConfigDetails.Builder

clearTargetLocation()

public TranslationConfigDetails.Builder clearTargetLocation()
Returns
Type Description
TranslationConfigDetails.Builder

clone()

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

getDefaultInstanceForType()

public TranslationConfigDetails getDefaultInstanceForType()
Returns
Type Description
TranslationConfigDetails

getDescriptorForType()

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

getGcsSourcePath()

public String getGcsSourcePath()

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Returns
Type Description
String

The gcsSourcePath.

getGcsSourcePathBytes()

public ByteString getGcsSourcePathBytes()

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Returns
Type Description
ByteString

The bytes for gcsSourcePath.

getGcsTargetPath()

public String getGcsTargetPath()

The Cloud Storage path to write back the corresponding input files to.

string gcs_target_path = 2;

Returns
Type Description
String

The gcsTargetPath.

getGcsTargetPathBytes()

public ByteString getGcsTargetPathBytes()

The Cloud Storage path to write back the corresponding input files to.

string gcs_target_path = 2;

Returns
Type Description
ByteString

The bytes for gcsTargetPath.

getNameMappingList()

public ObjectNameMappingList getNameMappingList()

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Returns
Type Description
ObjectNameMappingList

The nameMappingList.

getNameMappingListBuilder()

public ObjectNameMappingList.Builder getNameMappingListBuilder()

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Returns
Type Description
ObjectNameMappingList.Builder

getNameMappingListOrBuilder()

public ObjectNameMappingListOrBuilder getNameMappingListOrBuilder()

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Returns
Type Description
ObjectNameMappingListOrBuilder

getOutputNameMappingCase()

public TranslationConfigDetails.OutputNameMappingCase getOutputNameMappingCase()
Returns
Type Description
TranslationConfigDetails.OutputNameMappingCase

getRequestSource()

public String getRequestSource()

The indicator to show translation request initiator.

string request_source = 8;

Returns
Type Description
String

The requestSource.

getRequestSourceBytes()

public ByteString getRequestSourceBytes()

The indicator to show translation request initiator.

string request_source = 8;

Returns
Type Description
ByteString

The bytes for requestSource.

getSourceDialect()

public Dialect getSourceDialect()

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Returns
Type Description
Dialect

The sourceDialect.

getSourceDialectBuilder()

public Dialect.Builder getSourceDialectBuilder()

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Returns
Type Description
Dialect.Builder

getSourceDialectOrBuilder()

public DialectOrBuilder getSourceDialectOrBuilder()

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Returns
Type Description
DialectOrBuilder

getSourceEnv()

public SourceEnv getSourceEnv()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Returns
Type Description
SourceEnv

The sourceEnv.

getSourceEnvBuilder()

public SourceEnv.Builder getSourceEnvBuilder()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Returns
Type Description
SourceEnv.Builder

getSourceEnvOrBuilder()

public SourceEnvOrBuilder getSourceEnvOrBuilder()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Returns
Type Description
SourceEnvOrBuilder

getSourceLocationCase()

public TranslationConfigDetails.SourceLocationCase getSourceLocationCase()
Returns
Type Description
TranslationConfigDetails.SourceLocationCase

getTargetDialect()

public Dialect getTargetDialect()

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Returns
Type Description
Dialect

The targetDialect.

getTargetDialectBuilder()

public Dialect.Builder getTargetDialectBuilder()

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Returns
Type Description
Dialect.Builder

getTargetDialectOrBuilder()

public DialectOrBuilder getTargetDialectOrBuilder()

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Returns
Type Description
DialectOrBuilder

getTargetLocationCase()

public TranslationConfigDetails.TargetLocationCase getTargetLocationCase()
Returns
Type Description
TranslationConfigDetails.TargetLocationCase

hasGcsSourcePath()

public boolean hasGcsSourcePath()

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Returns
Type Description
boolean

Whether the gcsSourcePath field is set.

hasGcsTargetPath()

public boolean hasGcsTargetPath()

The Cloud Storage path to write back the corresponding input files to.

string gcs_target_path = 2;

Returns
Type Description
boolean

Whether the gcsTargetPath field is set.

hasNameMappingList()

public boolean hasNameMappingList()

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Returns
Type Description
boolean

Whether the nameMappingList field is set.

hasSourceDialect()

public boolean hasSourceDialect()

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Returns
Type Description
boolean

Whether the sourceDialect field is set.

hasSourceEnv()

public boolean hasSourceEnv()

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Returns
Type Description
boolean

Whether the sourceEnv field is set.

hasTargetDialect()

public boolean hasTargetDialect()

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Returns
Type Description
boolean

Whether the targetDialect field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TranslationConfigDetails other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNameMappingList(ObjectNameMappingList value)

public TranslationConfigDetails.Builder mergeNameMappingList(ObjectNameMappingList value)

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Parameter
Name Description
value ObjectNameMappingList
Returns
Type Description
TranslationConfigDetails.Builder

mergeSourceDialect(Dialect value)

public TranslationConfigDetails.Builder mergeSourceDialect(Dialect value)

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Parameter
Name Description
value Dialect
Returns
Type Description
TranslationConfigDetails.Builder

mergeSourceEnv(SourceEnv value)

public TranslationConfigDetails.Builder mergeSourceEnv(SourceEnv value)

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Parameter
Name Description
value SourceEnv
Returns
Type Description
TranslationConfigDetails.Builder

mergeTargetDialect(Dialect value)

public TranslationConfigDetails.Builder mergeTargetDialect(Dialect value)

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Parameter
Name Description
value Dialect
Returns
Type Description
TranslationConfigDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcsSourcePath(String value)

public TranslationConfigDetails.Builder setGcsSourcePath(String value)

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Parameter
Name Description
value String

The gcsSourcePath to set.

Returns
Type Description
TranslationConfigDetails.Builder

This builder for chaining.

setGcsSourcePathBytes(ByteString value)

public TranslationConfigDetails.Builder setGcsSourcePathBytes(ByteString value)

The Cloud Storage path for a directory of files to translate in a task.

string gcs_source_path = 1;

Parameter
Name Description
value ByteString

The bytes for gcsSourcePath to set.

Returns
Type Description
TranslationConfigDetails.Builder

This builder for chaining.

setGcsTargetPath(String value)

public TranslationConfigDetails.Builder setGcsTargetPath(String value)

The Cloud Storage path to write back the corresponding input files to.

string gcs_target_path = 2;

Parameter
Name Description
value String

The gcsTargetPath to set.

Returns
Type Description
TranslationConfigDetails.Builder

This builder for chaining.

setGcsTargetPathBytes(ByteString value)

public TranslationConfigDetails.Builder setGcsTargetPathBytes(ByteString value)

The Cloud Storage path to write back the corresponding input files to.

string gcs_target_path = 2;

Parameter
Name Description
value ByteString

The bytes for gcsTargetPath to set.

Returns
Type Description
TranslationConfigDetails.Builder

This builder for chaining.

setNameMappingList(ObjectNameMappingList value)

public TranslationConfigDetails.Builder setNameMappingList(ObjectNameMappingList value)

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Parameter
Name Description
value ObjectNameMappingList
Returns
Type Description
TranslationConfigDetails.Builder

setNameMappingList(ObjectNameMappingList.Builder builderForValue)

public TranslationConfigDetails.Builder setNameMappingList(ObjectNameMappingList.Builder builderForValue)

The mapping of objects to their desired output names in list form.

.google.cloud.bigquery.migration.v2.ObjectNameMappingList name_mapping_list = 5;

Parameter
Name Description
builderForValue ObjectNameMappingList.Builder
Returns
Type Description
TranslationConfigDetails.Builder

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

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

setRequestSource(String value)

public TranslationConfigDetails.Builder setRequestSource(String value)

The indicator to show translation request initiator.

string request_source = 8;

Parameter
Name Description
value String

The requestSource to set.

Returns
Type Description
TranslationConfigDetails.Builder

This builder for chaining.

setRequestSourceBytes(ByteString value)

public TranslationConfigDetails.Builder setRequestSourceBytes(ByteString value)

The indicator to show translation request initiator.

string request_source = 8;

Parameter
Name Description
value ByteString

The bytes for requestSource to set.

Returns
Type Description
TranslationConfigDetails.Builder

This builder for chaining.

setSourceDialect(Dialect value)

public TranslationConfigDetails.Builder setSourceDialect(Dialect value)

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Parameter
Name Description
value Dialect
Returns
Type Description
TranslationConfigDetails.Builder

setSourceDialect(Dialect.Builder builderForValue)

public TranslationConfigDetails.Builder setSourceDialect(Dialect.Builder builderForValue)

The dialect of the input files.

.google.cloud.bigquery.migration.v2.Dialect source_dialect = 3;

Parameter
Name Description
builderForValue Dialect.Builder
Returns
Type Description
TranslationConfigDetails.Builder

setSourceEnv(SourceEnv value)

public TranslationConfigDetails.Builder setSourceEnv(SourceEnv value)

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Parameter
Name Description
value SourceEnv
Returns
Type Description
TranslationConfigDetails.Builder

setSourceEnv(SourceEnv.Builder builderForValue)

public TranslationConfigDetails.Builder setSourceEnv(SourceEnv.Builder builderForValue)

The default source environment values for the translation.

.google.cloud.bigquery.migration.v2.SourceEnv source_env = 6;

Parameter
Name Description
builderForValue SourceEnv.Builder
Returns
Type Description
TranslationConfigDetails.Builder

setTargetDialect(Dialect value)

public TranslationConfigDetails.Builder setTargetDialect(Dialect value)

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Parameter
Name Description
value Dialect
Returns
Type Description
TranslationConfigDetails.Builder

setTargetDialect(Dialect.Builder builderForValue)

public TranslationConfigDetails.Builder setTargetDialect(Dialect.Builder builderForValue)

The target dialect for the engine to translate the input to.

.google.cloud.bigquery.migration.v2.Dialect target_dialect = 4;

Parameter
Name Description
builderForValue Dialect.Builder
Returns
Type Description
TranslationConfigDetails.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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