Interface TranslationTaskDetailsOrBuilder (0.37.0)

public interface TranslationTaskDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsSpecialTokenMap(String key)

public abstract 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 abstract BteqOptions getBteqOptions()

The BTEQ specific settings for the translation task.

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

Returns
TypeDescription
BteqOptions

The bteqOptions.

getBteqOptionsOrBuilder()

public abstract BteqOptionsOrBuilder getBteqOptionsOrBuilder()

The BTEQ specific settings for the translation task.

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

Returns
TypeDescription
BteqOptionsOrBuilder

getFileEncoding()

public abstract 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 abstract 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 abstract 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

getFilePathsCount()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract Filter getFilter()

The filter applied to translation details.

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

Returns
TypeDescription
Filter

The filter.

getFilterOrBuilder()

public abstract FilterOrBuilder getFilterOrBuilder()

The filter applied to translation details.

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

Returns
TypeDescription
FilterOrBuilder

getIdentifierSettings()

public abstract IdentifierSettings getIdentifierSettings()

The settings for SQL identifiers.

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

Returns
TypeDescription
IdentifierSettings

The identifierSettings.

getIdentifierSettingsOrBuilder()

public abstract IdentifierSettingsOrBuilder getIdentifierSettingsOrBuilder()

The settings for SQL identifiers.

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

Returns
TypeDescription
IdentifierSettingsOrBuilder

getInputPath()

public abstract String getInputPath()

The Cloud Storage path for translation input files.

string input_path = 1;

Returns
TypeDescription
String

The inputPath.

getInputPathBytes()

public abstract ByteString getInputPathBytes()

The Cloud Storage path for translation input files.

string input_path = 1;

Returns
TypeDescription
ByteString

The bytes for inputPath.

getLanguageOptionsCase()

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

getOutputPath()

public abstract String getOutputPath()

The Cloud Storage path for translation output files.

string output_path = 2;

Returns
TypeDescription
String

The outputPath.

getOutputPathBytes()

public abstract ByteString getOutputPathBytes()

The Cloud Storage path for translation output files.

string output_path = 2;

Returns
TypeDescription
ByteString

The bytes for outputPath.

getSchemaPath()

public abstract 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 abstract 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() (deprecated)

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

getSpecialTokenMapCount()

public abstract 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 abstract 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 abstract 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 abstract 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() (deprecated)

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

getSpecialTokenMapValueMap()

public abstract 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 abstract 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 abstract 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 abstract 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.

getTeradataOptionsOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.