Class TranslationTaskDetails.Builder (0.14.0)

public static final class TranslationTaskDetails.Builder extends GeneratedMessageV3.Builder<TranslationTaskDetails.Builder> implements TranslationTaskDetailsOrBuilder

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

Protobuf type google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllFilePaths(Iterable<? extends TranslationFileMapping> values)

public TranslationTaskDetails.Builder addAllFilePaths(Iterable<? extends TranslationFileMapping> values)

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping>
Returns
TypeDescription
TranslationTaskDetails.Builder

addFilePaths(TranslationFileMapping value)

public TranslationTaskDetails.Builder addFilePaths(TranslationFileMapping value)

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Parameter
NameDescription
valueTranslationFileMapping
Returns
TypeDescription
TranslationTaskDetails.Builder

addFilePaths(TranslationFileMapping.Builder builderForValue)

public TranslationTaskDetails.Builder addFilePaths(TranslationFileMapping.Builder builderForValue)

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Parameter
NameDescription
builderForValueTranslationFileMapping.Builder
Returns
TypeDescription
TranslationTaskDetails.Builder

addFilePaths(int index, TranslationFileMapping value)

public TranslationTaskDetails.Builder addFilePaths(int index, TranslationFileMapping value)

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Parameters
NameDescription
indexint
valueTranslationFileMapping
Returns
TypeDescription
TranslationTaskDetails.Builder

addFilePaths(int index, TranslationFileMapping.Builder builderForValue)

public TranslationTaskDetails.Builder addFilePaths(int index, TranslationFileMapping.Builder builderForValue)

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Parameters
NameDescription
indexint
builderForValueTranslationFileMapping.Builder
Returns
TypeDescription
TranslationTaskDetails.Builder

addFilePathsBuilder()

public TranslationFileMapping.Builder addFilePathsBuilder()

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Returns
TypeDescription
TranslationFileMapping.Builder

addFilePathsBuilder(int index)

public TranslationFileMapping.Builder addFilePathsBuilder(int index)

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
TranslationFileMapping.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TranslationTaskDetails build()
Returns
TypeDescription
TranslationTaskDetails

buildPartial()

public TranslationTaskDetails buildPartial()
Returns
TypeDescription
TranslationTaskDetails

clear()

public TranslationTaskDetails.Builder clear()
Returns
TypeDescription
TranslationTaskDetails.Builder
Overrides

clearBteqOptions()

public TranslationTaskDetails.Builder clearBteqOptions()

The BTEQ specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;

Returns
TypeDescription
TranslationTaskDetails.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearFileEncoding()

public TranslationTaskDetails.Builder clearFileEncoding()

The file encoding type.

.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

clearFilePaths()

public TranslationTaskDetails.Builder clearFilePaths()

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Returns
TypeDescription
TranslationTaskDetails.Builder

clearFilter()

public TranslationTaskDetails.Builder clearFilter()

The filter applied to translation details.

.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;

Returns
TypeDescription
TranslationTaskDetails.Builder

clearIdentifierSettings()

public TranslationTaskDetails.Builder clearIdentifierSettings()

The settings for SQL identifiers.

.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;

Returns
TypeDescription
TranslationTaskDetails.Builder

clearInputPath()

public TranslationTaskDetails.Builder clearInputPath()

The Cloud Storage path for translation input files.

string input_path = 1;

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

clearLanguageOptions()

public TranslationTaskDetails.Builder clearLanguageOptions()
Returns
TypeDescription
TranslationTaskDetails.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOutputPath()

public TranslationTaskDetails.Builder clearOutputPath()

The Cloud Storage path for translation output files.

string output_path = 2;

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

clearSchemaPath()

public TranslationTaskDetails.Builder clearSchemaPath()

The Cloud Storage path to DDL files as table schema to assist semantic translation.

string schema_path = 3;

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

clearSpecialTokenMap()

public TranslationTaskDetails.Builder clearSpecialTokenMap()
Returns
TypeDescription
TranslationTaskDetails.Builder

clearTeradataOptions()

public TranslationTaskDetails.Builder clearTeradataOptions()

The Teradata SQL specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;

Returns
TypeDescription
TranslationTaskDetails.Builder

clearTranslationExceptionTable()

public TranslationTaskDetails.Builder clearTranslationExceptionTable()

Specifies the exact name of the bigquery table ("dataset.table") to be used for surfacing raw translation errors. If the table does not exist, we will create it. If it already exists and the schema is the same, we will re-use. If the table exists and the schema is different, we will throw an error.

string translation_exception_table = 13;

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

clone()

public TranslationTaskDetails.Builder clone()
Returns
TypeDescription
TranslationTaskDetails.Builder
Overrides

containsSpecialTokenMap(String key)

public boolean containsSpecialTokenMap(String key)

The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.

map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getBteqOptions()

public BteqOptions getBteqOptions()

The BTEQ specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;

Returns
TypeDescription
BteqOptions

The bteqOptions.

getBteqOptionsBuilder()

public BteqOptions.Builder getBteqOptionsBuilder()

The BTEQ specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;

Returns
TypeDescription
BteqOptions.Builder

getBteqOptionsOrBuilder()

public BteqOptionsOrBuilder getBteqOptionsOrBuilder()

The BTEQ specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;

Returns
TypeDescription
BteqOptionsOrBuilder

getDefaultInstanceForType()

public TranslationTaskDetails getDefaultInstanceForType()
Returns
TypeDescription
TranslationTaskDetails

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFileEncoding()

public TranslationTaskDetails.FileEncoding getFileEncoding()

The file encoding type.

.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;

Returns
TypeDescription
TranslationTaskDetails.FileEncoding

The fileEncoding.

getFileEncodingValue()

public int getFileEncodingValue()

The file encoding type.

.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for fileEncoding.

getFilePaths(int index)

public TranslationFileMapping getFilePaths(int index)

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
TranslationFileMapping

getFilePathsBuilder(int index)

public TranslationFileMapping.Builder getFilePathsBuilder(int index)

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
TranslationFileMapping.Builder

getFilePathsBuilderList()

public List<TranslationFileMapping.Builder> getFilePathsBuilderList()

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Returns
TypeDescription
List<Builder>

getFilePathsCount()

public int getFilePathsCount()

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Returns
TypeDescription
int

getFilePathsList()

public List<TranslationFileMapping> getFilePathsList()

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Returns
TypeDescription
List<TranslationFileMapping>

getFilePathsOrBuilder(int index)

public TranslationFileMappingOrBuilder getFilePathsOrBuilder(int index)

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
TranslationFileMappingOrBuilder

getFilePathsOrBuilderList()

public List<? extends TranslationFileMappingOrBuilder> getFilePathsOrBuilderList()

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.migration.v2alpha.TranslationFileMappingOrBuilder>

getFilter()

public Filter getFilter()

The filter applied to translation details.

.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;

Returns
TypeDescription
Filter

The filter.

getFilterBuilder()

public Filter.Builder getFilterBuilder()

The filter applied to translation details.

.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;

Returns
TypeDescription
Filter.Builder

getFilterOrBuilder()

public FilterOrBuilder getFilterOrBuilder()

The filter applied to translation details.

.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;

Returns
TypeDescription
FilterOrBuilder

getIdentifierSettings()

public IdentifierSettings getIdentifierSettings()

The settings for SQL identifiers.

.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;

Returns
TypeDescription
IdentifierSettings

The identifierSettings.

getIdentifierSettingsBuilder()

public IdentifierSettings.Builder getIdentifierSettingsBuilder()

The settings for SQL identifiers.

.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;

Returns
TypeDescription
IdentifierSettings.Builder

getIdentifierSettingsOrBuilder()

public IdentifierSettingsOrBuilder getIdentifierSettingsOrBuilder()

The settings for SQL identifiers.

.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;

Returns
TypeDescription
IdentifierSettingsOrBuilder

getInputPath()

public String getInputPath()

The Cloud Storage path for translation input files.

string input_path = 1;

Returns
TypeDescription
String

The inputPath.

getInputPathBytes()

public ByteString getInputPathBytes()

The Cloud Storage path for translation input files.

string input_path = 1;

Returns
TypeDescription
ByteString

The bytes for inputPath.

getLanguageOptionsCase()

public TranslationTaskDetails.LanguageOptionsCase getLanguageOptionsCase()
Returns
TypeDescription
TranslationTaskDetails.LanguageOptionsCase

getMutableSpecialTokenMap()

public Map<String,TranslationTaskDetails.TokenType> getMutableSpecialTokenMap()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,TokenType>

getMutableSpecialTokenMapValue()

public Map<String,Integer> getMutableSpecialTokenMapValue()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,java.lang.Integer>

getOutputPath()

public String getOutputPath()

The Cloud Storage path for translation output files.

string output_path = 2;

Returns
TypeDescription
String

The outputPath.

getOutputPathBytes()

public ByteString getOutputPathBytes()

The Cloud Storage path for translation output files.

string output_path = 2;

Returns
TypeDescription
ByteString

The bytes for outputPath.

getSchemaPath()

public String getSchemaPath()

The Cloud Storage path to DDL files as table schema to assist semantic translation.

string schema_path = 3;

Returns
TypeDescription
String

The schemaPath.

getSchemaPathBytes()

public ByteString getSchemaPathBytes()

The Cloud Storage path to DDL files as table schema to assist semantic translation.

string schema_path = 3;

Returns
TypeDescription
ByteString

The bytes for schemaPath.

getSpecialTokenMap()

public Map<String,TranslationTaskDetails.TokenType> getSpecialTokenMap()
Returns
TypeDescription
Map<String,TokenType>

getSpecialTokenMapCount()

public int getSpecialTokenMapCount()

The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.

map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6;

Returns
TypeDescription
int

getSpecialTokenMapMap()

public Map<String,TranslationTaskDetails.TokenType> getSpecialTokenMapMap()

The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.

map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6;

Returns
TypeDescription
Map<String,TokenType>

getSpecialTokenMapOrDefault(String key, TranslationTaskDetails.TokenType defaultValue)

public TranslationTaskDetails.TokenType getSpecialTokenMapOrDefault(String key, TranslationTaskDetails.TokenType defaultValue)

The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.

map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6;

Parameters
NameDescription
keyString
defaultValueTranslationTaskDetails.TokenType
Returns
TypeDescription
TranslationTaskDetails.TokenType

getSpecialTokenMapOrThrow(String key)

public TranslationTaskDetails.TokenType getSpecialTokenMapOrThrow(String key)

The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.

map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
TranslationTaskDetails.TokenType

getSpecialTokenMapValue()

public Map<String,Integer> getSpecialTokenMapValue()
Returns
TypeDescription
Map<String,java.lang.Integer>

getSpecialTokenMapValueMap()

public Map<String,Integer> getSpecialTokenMapValueMap()

The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.

map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6;

Returns
TypeDescription
Map<String,java.lang.Integer>

getSpecialTokenMapValueOrDefault(String key, int defaultValue)

public int getSpecialTokenMapValueOrDefault(String key, int defaultValue)

The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.

map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6;

Parameters
NameDescription
keyString
defaultValueint
Returns
TypeDescription
int

getSpecialTokenMapValueOrThrow(String key)

public int getSpecialTokenMapValueOrThrow(String key)

The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.

map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
int

getTeradataOptions()

public TeradataOptions getTeradataOptions()

The Teradata SQL specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;

Returns
TypeDescription
TeradataOptions

The teradataOptions.

getTeradataOptionsBuilder()

public TeradataOptions.Builder getTeradataOptionsBuilder()

The Teradata SQL specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;

Returns
TypeDescription
TeradataOptions.Builder

getTeradataOptionsOrBuilder()

public TeradataOptionsOrBuilder getTeradataOptionsOrBuilder()

The Teradata SQL specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;

Returns
TypeDescription
TeradataOptionsOrBuilder

getTranslationExceptionTable()

public String getTranslationExceptionTable()

Specifies the exact name of the bigquery table ("dataset.table") to be used for surfacing raw translation errors. If the table does not exist, we will create it. If it already exists and the schema is the same, we will re-use. If the table exists and the schema is different, we will throw an error.

string translation_exception_table = 13;

Returns
TypeDescription
String

The translationExceptionTable.

getTranslationExceptionTableBytes()

public ByteString getTranslationExceptionTableBytes()

Specifies the exact name of the bigquery table ("dataset.table") to be used for surfacing raw translation errors. If the table does not exist, we will create it. If it already exists and the schema is the same, we will re-use. If the table exists and the schema is different, we will throw an error.

string translation_exception_table = 13;

Returns
TypeDescription
ByteString

The bytes for translationExceptionTable.

hasBteqOptions()

public boolean hasBteqOptions()

The BTEQ specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;

Returns
TypeDescription
boolean

Whether the bteqOptions field is set.

hasFilter()

public boolean hasFilter()

The filter applied to translation details.

.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;

Returns
TypeDescription
boolean

Whether the filter field is set.

hasIdentifierSettings()

public boolean hasIdentifierSettings()

The settings for SQL identifiers.

.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;

Returns
TypeDescription
boolean

Whether the identifierSettings field is set.

hasTeradataOptions()

public boolean hasTeradataOptions()

The Teradata SQL specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;

Returns
TypeDescription
boolean

Whether the teradataOptions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeBteqOptions(BteqOptions value)

public TranslationTaskDetails.Builder mergeBteqOptions(BteqOptions value)

The BTEQ specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;

Parameter
NameDescription
valueBteqOptions
Returns
TypeDescription
TranslationTaskDetails.Builder

mergeFilter(Filter value)

public TranslationTaskDetails.Builder mergeFilter(Filter value)

The filter applied to translation details.

.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;

Parameter
NameDescription
valueFilter
Returns
TypeDescription
TranslationTaskDetails.Builder

mergeFrom(TranslationTaskDetails other)

public TranslationTaskDetails.Builder mergeFrom(TranslationTaskDetails other)
Parameter
NameDescription
otherTranslationTaskDetails
Returns
TypeDescription
TranslationTaskDetails.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeIdentifierSettings(IdentifierSettings value)

public TranslationTaskDetails.Builder mergeIdentifierSettings(IdentifierSettings value)

The settings for SQL identifiers.

.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;

Parameter
NameDescription
valueIdentifierSettings
Returns
TypeDescription
TranslationTaskDetails.Builder

mergeTeradataOptions(TeradataOptions value)

public TranslationTaskDetails.Builder mergeTeradataOptions(TeradataOptions value)

The Teradata SQL specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;

Parameter
NameDescription
valueTeradataOptions
Returns
TypeDescription
TranslationTaskDetails.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TranslationTaskDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
TranslationTaskDetails.Builder
Overrides

putAllSpecialTokenMap(Map<String,TranslationTaskDetails.TokenType> values)

public TranslationTaskDetails.Builder putAllSpecialTokenMap(Map<String,TranslationTaskDetails.TokenType> values)

The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.

map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6;

Parameter
NameDescription
valuesMap<String,TokenType>
Returns
TypeDescription
TranslationTaskDetails.Builder

putAllSpecialTokenMapValue(Map<String,Integer> values)

public TranslationTaskDetails.Builder putAllSpecialTokenMapValue(Map<String,Integer> values)

The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.

map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6;

Parameter
NameDescription
valuesMap<String,java.lang.Integer>
Returns
TypeDescription
TranslationTaskDetails.Builder

putSpecialTokenMap(String key, TranslationTaskDetails.TokenType value)

public TranslationTaskDetails.Builder putSpecialTokenMap(String key, TranslationTaskDetails.TokenType value)

The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.

map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6;

Parameters
NameDescription
keyString
valueTranslationTaskDetails.TokenType
Returns
TypeDescription
TranslationTaskDetails.Builder

putSpecialTokenMapValue(String key, int value)

public TranslationTaskDetails.Builder putSpecialTokenMapValue(String key, int value)

The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.

map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6;

Parameters
NameDescription
keyString
valueint
Returns
TypeDescription
TranslationTaskDetails.Builder

removeFilePaths(int index)

public TranslationTaskDetails.Builder removeFilePaths(int index)

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Parameter
NameDescription
indexint
Returns
TypeDescription
TranslationTaskDetails.Builder

removeSpecialTokenMap(String key)

public TranslationTaskDetails.Builder removeSpecialTokenMap(String key)

The map capturing special tokens to be replaced during translation. The key is special token in string. The value is the token data type. This is used to translate SQL query template which contains special token as place holder. The special token makes a query invalid to parse. This map will be applied to annotate those special token with types to let parser understand how to parse them into proper structure with type information.

map<string, .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.TokenType> special_token_map = 6;

Parameter
NameDescription
keyString
Returns
TypeDescription
TranslationTaskDetails.Builder

setBteqOptions(BteqOptions value)

public TranslationTaskDetails.Builder setBteqOptions(BteqOptions value)

The BTEQ specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;

Parameter
NameDescription
valueBteqOptions
Returns
TypeDescription
TranslationTaskDetails.Builder

setBteqOptions(BteqOptions.Builder builderForValue)

public TranslationTaskDetails.Builder setBteqOptions(BteqOptions.Builder builderForValue)

The BTEQ specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;

Parameter
NameDescription
builderForValueBteqOptions.Builder
Returns
TypeDescription
TranslationTaskDetails.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setFileEncoding(TranslationTaskDetails.FileEncoding value)

public TranslationTaskDetails.Builder setFileEncoding(TranslationTaskDetails.FileEncoding value)

The file encoding type.

.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;

Parameter
NameDescription
valueTranslationTaskDetails.FileEncoding

The fileEncoding to set.

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

setFileEncodingValue(int value)

public TranslationTaskDetails.Builder setFileEncodingValue(int value)

The file encoding type.

.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;

Parameter
NameDescription
valueint

The enum numeric value on the wire for fileEncoding to set.

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

setFilePaths(int index, TranslationFileMapping value)

public TranslationTaskDetails.Builder setFilePaths(int index, TranslationFileMapping value)

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Parameters
NameDescription
indexint
valueTranslationFileMapping
Returns
TypeDescription
TranslationTaskDetails.Builder

setFilePaths(int index, TranslationFileMapping.Builder builderForValue)

public TranslationTaskDetails.Builder setFilePaths(int index, TranslationFileMapping.Builder builderForValue)

Cloud Storage files to be processed for translation.

repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;

Parameters
NameDescription
indexint
builderForValueTranslationFileMapping.Builder
Returns
TypeDescription
TranslationTaskDetails.Builder

setFilter(Filter value)

public TranslationTaskDetails.Builder setFilter(Filter value)

The filter applied to translation details.

.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;

Parameter
NameDescription
valueFilter
Returns
TypeDescription
TranslationTaskDetails.Builder

setFilter(Filter.Builder builderForValue)

public TranslationTaskDetails.Builder setFilter(Filter.Builder builderForValue)

The filter applied to translation details.

.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;

Parameter
NameDescription
builderForValueFilter.Builder
Returns
TypeDescription
TranslationTaskDetails.Builder

setIdentifierSettings(IdentifierSettings value)

public TranslationTaskDetails.Builder setIdentifierSettings(IdentifierSettings value)

The settings for SQL identifiers.

.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;

Parameter
NameDescription
valueIdentifierSettings
Returns
TypeDescription
TranslationTaskDetails.Builder

setIdentifierSettings(IdentifierSettings.Builder builderForValue)

public TranslationTaskDetails.Builder setIdentifierSettings(IdentifierSettings.Builder builderForValue)

The settings for SQL identifiers.

.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;

Parameter
NameDescription
builderForValueIdentifierSettings.Builder
Returns
TypeDescription
TranslationTaskDetails.Builder

setInputPath(String value)

public TranslationTaskDetails.Builder setInputPath(String value)

The Cloud Storage path for translation input files.

string input_path = 1;

Parameter
NameDescription
valueString

The inputPath to set.

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

setInputPathBytes(ByteString value)

public TranslationTaskDetails.Builder setInputPathBytes(ByteString value)

The Cloud Storage path for translation input files.

string input_path = 1;

Parameter
NameDescription
valueByteString

The bytes for inputPath to set.

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

setOutputPath(String value)

public TranslationTaskDetails.Builder setOutputPath(String value)

The Cloud Storage path for translation output files.

string output_path = 2;

Parameter
NameDescription
valueString

The outputPath to set.

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

setOutputPathBytes(ByteString value)

public TranslationTaskDetails.Builder setOutputPathBytes(ByteString value)

The Cloud Storage path for translation output files.

string output_path = 2;

Parameter
NameDescription
valueByteString

The bytes for outputPath to set.

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

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

public TranslationTaskDetails.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
TranslationTaskDetails.Builder
Overrides

setSchemaPath(String value)

public TranslationTaskDetails.Builder setSchemaPath(String value)

The Cloud Storage path to DDL files as table schema to assist semantic translation.

string schema_path = 3;

Parameter
NameDescription
valueString

The schemaPath to set.

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

setSchemaPathBytes(ByteString value)

public TranslationTaskDetails.Builder setSchemaPathBytes(ByteString value)

The Cloud Storage path to DDL files as table schema to assist semantic translation.

string schema_path = 3;

Parameter
NameDescription
valueByteString

The bytes for schemaPath to set.

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

setTeradataOptions(TeradataOptions value)

public TranslationTaskDetails.Builder setTeradataOptions(TeradataOptions value)

The Teradata SQL specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;

Parameter
NameDescription
valueTeradataOptions
Returns
TypeDescription
TranslationTaskDetails.Builder

setTeradataOptions(TeradataOptions.Builder builderForValue)

public TranslationTaskDetails.Builder setTeradataOptions(TeradataOptions.Builder builderForValue)

The Teradata SQL specific settings for the translation task.

.google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;

Parameter
NameDescription
builderForValueTeradataOptions.Builder
Returns
TypeDescription
TranslationTaskDetails.Builder

setTranslationExceptionTable(String value)

public TranslationTaskDetails.Builder setTranslationExceptionTable(String value)

Specifies the exact name of the bigquery table ("dataset.table") to be used for surfacing raw translation errors. If the table does not exist, we will create it. If it already exists and the schema is the same, we will re-use. If the table exists and the schema is different, we will throw an error.

string translation_exception_table = 13;

Parameter
NameDescription
valueString

The translationExceptionTable to set.

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

setTranslationExceptionTableBytes(ByteString value)

public TranslationTaskDetails.Builder setTranslationExceptionTableBytes(ByteString value)

Specifies the exact name of the bigquery table ("dataset.table") to be used for surfacing raw translation errors. If the table does not exist, we will create it. If it already exists and the schema is the same, we will re-use. If the table exists and the schema is different, we will throw an error.

string translation_exception_table = 13;

Parameter
NameDescription
valueByteString

The bytes for translationExceptionTable to set.

Returns
TypeDescription
TranslationTaskDetails.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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