- 0.54.0 (latest)
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.2
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.4
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TranslationTaskDetails.BuilderImplements
TranslationTaskDetailsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
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;
Name | Description |
values | Iterable<? extends com.google.cloud.bigquery.migration.v2alpha.TranslationFileMapping> |
Type | Description |
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;
Name | Description |
value | TranslationFileMapping |
Type | Description |
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;
Name | Description |
builderForValue | TranslationFileMapping.Builder |
Type | Description |
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;
Name | Description |
index | int |
value | TranslationFileMapping |
Type | Description |
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;
Name | Description |
index | int |
builderForValue | TranslationFileMapping.Builder |
Type | Description |
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;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
TranslationFileMapping.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TranslationTaskDetails.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TranslationTaskDetails.Builder |
build()
public TranslationTaskDetails build()
Type | Description |
TranslationTaskDetails |
buildPartial()
public TranslationTaskDetails buildPartial()
Type | Description |
TranslationTaskDetails |
clear()
public TranslationTaskDetails.Builder clear()
Type | Description |
TranslationTaskDetails.Builder |
clearBteqOptions()
public TranslationTaskDetails.Builder clearBteqOptions()
The BTEQ specific settings for the translation task.
.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;
Type | Description |
TranslationTaskDetails.Builder |
clearField(Descriptors.FieldDescriptor field)
public TranslationTaskDetails.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TranslationTaskDetails.Builder |
clearFileEncoding()
public TranslationTaskDetails.Builder clearFileEncoding()
The file encoding type.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;
Type | Description |
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;
Type | Description |
TranslationTaskDetails.Builder |
clearFilter()
public TranslationTaskDetails.Builder clearFilter()
The filter applied to translation details.
.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;
Type | Description |
TranslationTaskDetails.Builder |
clearIdentifierSettings()
public TranslationTaskDetails.Builder clearIdentifierSettings()
The settings for SQL identifiers.
.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
Type | Description |
TranslationTaskDetails.Builder |
clearInputPath()
public TranslationTaskDetails.Builder clearInputPath()
The Cloud Storage path for translation input files.
string input_path = 1;
Type | Description |
TranslationTaskDetails.Builder | This builder for chaining. |
clearLanguageOptions()
public TranslationTaskDetails.Builder clearLanguageOptions()
Type | Description |
TranslationTaskDetails.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TranslationTaskDetails.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TranslationTaskDetails.Builder |
clearOutputPath()
public TranslationTaskDetails.Builder clearOutputPath()
The Cloud Storage path for translation output files.
string output_path = 2;
Type | Description |
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;
Type | Description |
TranslationTaskDetails.Builder | This builder for chaining. |
clearSpecialTokenMap()
public TranslationTaskDetails.Builder clearSpecialTokenMap()
Type | Description |
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;
Type | Description |
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;
Type | Description |
TranslationTaskDetails.Builder | This builder for chaining. |
clone()
public TranslationTaskDetails.Builder clone()
Type | Description |
TranslationTaskDetails.Builder |
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;
Name | Description |
key | String |
Type | Description |
boolean |
getBteqOptions()
public BteqOptions getBteqOptions()
The BTEQ specific settings for the translation task.
.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;
Type | Description |
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;
Type | Description |
BteqOptions.Builder |
getBteqOptionsOrBuilder()
public BteqOptionsOrBuilder getBteqOptionsOrBuilder()
The BTEQ specific settings for the translation task.
.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;
Type | Description |
BteqOptionsOrBuilder |
getDefaultInstanceForType()
public TranslationTaskDetails getDefaultInstanceForType()
Type | Description |
TranslationTaskDetails |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getFileEncoding()
public TranslationTaskDetails.FileEncoding getFileEncoding()
The file encoding type.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;
Type | Description |
TranslationTaskDetails.FileEncoding | The fileEncoding. |
getFileEncodingValue()
public int getFileEncodingValue()
The file encoding type.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Type | Description |
List<Builder> |
getFilePathsCount()
public int getFilePathsCount()
Cloud Storage files to be processed for translation.
repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;
Type | Description |
int |
getFilePathsList()
public List<TranslationFileMapping> getFilePathsList()
Cloud Storage files to be processed for translation.
repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Type | Description |
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;
Type | Description |
Filter | The filter. |
getFilterBuilder()
public Filter.Builder getFilterBuilder()
The filter applied to translation details.
.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;
Type | Description |
Filter.Builder |
getFilterOrBuilder()
public FilterOrBuilder getFilterOrBuilder()
The filter applied to translation details.
.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;
Type | Description |
FilterOrBuilder |
getIdentifierSettings()
public IdentifierSettings getIdentifierSettings()
The settings for SQL identifiers.
.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
Type | Description |
IdentifierSettings | The identifierSettings. |
getIdentifierSettingsBuilder()
public IdentifierSettings.Builder getIdentifierSettingsBuilder()
The settings for SQL identifiers.
.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
Type | Description |
IdentifierSettings.Builder |
getIdentifierSettingsOrBuilder()
public IdentifierSettingsOrBuilder getIdentifierSettingsOrBuilder()
The settings for SQL identifiers.
.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
Type | Description |
IdentifierSettingsOrBuilder |
getInputPath()
public String getInputPath()
The Cloud Storage path for translation input files.
string input_path = 1;
Type | Description |
String | The inputPath. |
getInputPathBytes()
public ByteString getInputPathBytes()
The Cloud Storage path for translation input files.
string input_path = 1;
Type | Description |
ByteString | The bytes for inputPath. |
getLanguageOptionsCase()
public TranslationTaskDetails.LanguageOptionsCase getLanguageOptionsCase()
Type | Description |
TranslationTaskDetails.LanguageOptionsCase |
getMutableSpecialTokenMap()
public Map<String,TranslationTaskDetails.TokenType> getMutableSpecialTokenMap()
Use alternate mutation accessors instead.
Type | Description |
Map<String,TokenType> |
getMutableSpecialTokenMapValue()
public Map<String,Integer> getMutableSpecialTokenMapValue()
Use alternate mutation accessors instead.
Type | Description |
Map<String,java.lang.Integer> |
getOutputPath()
public String getOutputPath()
The Cloud Storage path for translation output files.
string output_path = 2;
Type | Description |
String | The outputPath. |
getOutputPathBytes()
public ByteString getOutputPathBytes()
The Cloud Storage path for translation output files.
string output_path = 2;
Type | Description |
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;
Type | Description |
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;
Type | Description |
ByteString | The bytes for schemaPath. |
getSpecialTokenMap()
public Map<String,TranslationTaskDetails.TokenType> getSpecialTokenMap()
Use #getSpecialTokenMapMap() instead.
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Name | Description |
key | String |
defaultValue | TranslationTaskDetails.TokenType |
Type | Description |
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;
Name | Description |
key | String |
Type | Description |
TranslationTaskDetails.TokenType |
getSpecialTokenMapValue()
public Map<String,Integer> getSpecialTokenMapValue()
Use #getSpecialTokenMapValueMap() instead.
Type | Description |
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;
Type | Description |
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;
Name | Description |
key | String |
defaultValue | int |
Type | Description |
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;
Name | Description |
key | String |
Type | Description |
int |
getTeradataOptions()
public TeradataOptions getTeradataOptions()
The Teradata SQL specific settings for the translation task.
.google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;
Type | Description |
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;
Type | Description |
TeradataOptions.Builder |
getTeradataOptionsOrBuilder()
public TeradataOptionsOrBuilder getTeradataOptionsOrBuilder()
The Teradata SQL specific settings for the translation task.
.google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
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;
Type | Description |
boolean | Whether the teradataOptions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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;
Name | Description |
value | BteqOptions |
Type | Description |
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;
Name | Description |
value | Filter |
Type | Description |
TranslationTaskDetails.Builder |
mergeFrom(TranslationTaskDetails other)
public TranslationTaskDetails.Builder mergeFrom(TranslationTaskDetails other)
Name | Description |
other | TranslationTaskDetails |
Type | Description |
TranslationTaskDetails.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TranslationTaskDetails.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TranslationTaskDetails.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TranslationTaskDetails.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TranslationTaskDetails.Builder |
mergeIdentifierSettings(IdentifierSettings value)
public TranslationTaskDetails.Builder mergeIdentifierSettings(IdentifierSettings value)
The settings for SQL identifiers.
.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
Name | Description |
value | IdentifierSettings |
Type | Description |
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;
Name | Description |
value | TeradataOptions |
Type | Description |
TranslationTaskDetails.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TranslationTaskDetails.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TranslationTaskDetails.Builder |
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;
Name | Description |
values | Map<String,TokenType> |
Type | Description |
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;
Name | Description |
values | Map<String,java.lang.Integer> |
Type | Description |
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;
Name | Description |
key | String |
value | TranslationTaskDetails.TokenType |
Type | Description |
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;
Name | Description |
key | String |
value | int |
Type | Description |
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;
Name | Description |
index | int |
Type | Description |
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;
Name | Description |
key | String |
Type | Description |
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;
Name | Description |
value | BteqOptions |
Type | Description |
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;
Name | Description |
builderForValue | BteqOptions.Builder |
Type | Description |
TranslationTaskDetails.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public TranslationTaskDetails.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TranslationTaskDetails.Builder |
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;
Name | Description |
value | TranslationTaskDetails.FileEncoding The fileEncoding to set. |
Type | Description |
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;
Name | Description |
value | int The enum numeric value on the wire for fileEncoding to set. |
Type | Description |
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;
Name | Description |
index | int |
value | TranslationFileMapping |
Type | Description |
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;
Name | Description |
index | int |
builderForValue | TranslationFileMapping.Builder |
Type | Description |
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;
Name | Description |
value | Filter |
Type | Description |
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;
Name | Description |
builderForValue | Filter.Builder |
Type | Description |
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;
Name | Description |
value | IdentifierSettings |
Type | Description |
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;
Name | Description |
builderForValue | IdentifierSettings.Builder |
Type | Description |
TranslationTaskDetails.Builder |
setInputPath(String value)
public TranslationTaskDetails.Builder setInputPath(String value)
The Cloud Storage path for translation input files.
string input_path = 1;
Name | Description |
value | String The inputPath to set. |
Type | Description |
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;
Name | Description |
value | ByteString The bytes for inputPath to set. |
Type | Description |
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;
Name | Description |
value | String The outputPath to set. |
Type | Description |
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;
Name | Description |
value | ByteString The bytes for outputPath to set. |
Type | Description |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TranslationTaskDetails.Builder |
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;
Name | Description |
value | String The schemaPath to set. |
Type | Description |
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;
Name | Description |
value | ByteString The bytes for schemaPath to set. |
Type | Description |
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;
Name | Description |
value | TeradataOptions |
Type | Description |
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;
Name | Description |
builderForValue | TeradataOptions.Builder |
Type | Description |
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;
Name | Description |
value | String The translationExceptionTable to set. |
Type | Description |
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;
Name | Description |
value | ByteString The bytes for translationExceptionTable to set. |
Type | Description |
TranslationTaskDetails.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final TranslationTaskDetails.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TranslationTaskDetails.Builder |