Class TranslationTaskDetails
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails
-
- All Implemented Interfaces:
TranslationTaskDetailsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class TranslationTaskDetails extends com.google.protobuf.GeneratedMessageV3 implements TranslationTaskDetailsOrBuilder
The translation task config to capture necessary settings for a translation task and subtask.
Protobuf typegoogle.cloud.bigquery.migration.v2alpha.TranslationTaskDetails- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTranslationTaskDetails.BuilderThe translation task config to capture necessary settings for a translation task and subtask.static classTranslationTaskDetails.FileEncodingThe file encoding types.static classTranslationTaskDetails.LanguageOptionsCasestatic classTranslationTaskDetails.TokenTypeThe special token data type.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBTEQ_OPTIONS_FIELD_NUMBERstatic intFILE_ENCODING_FIELD_NUMBERstatic intFILE_PATHS_FIELD_NUMBERstatic intFILTER_FIELD_NUMBERstatic intIDENTIFIER_SETTINGS_FIELD_NUMBERstatic intINPUT_PATH_FIELD_NUMBERstatic intOUTPUT_PATH_FIELD_NUMBERstatic intSCHEMA_PATH_FIELD_NUMBERstatic intSPECIAL_TOKEN_MAP_FIELD_NUMBERstatic intTERADATA_OPTIONS_FIELD_NUMBERstatic intTRANSLATION_EXCEPTION_TABLE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsSpecialTokenMap(String key)The map capturing special tokens to be replaced during translation.booleanequals(Object obj)BteqOptionsgetBteqOptions()The BTEQ specific settings for the translation task.BteqOptionsOrBuildergetBteqOptionsOrBuilder()The BTEQ specific settings for the translation task.static TranslationTaskDetailsgetDefaultInstance()TranslationTaskDetailsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()TranslationTaskDetails.FileEncodinggetFileEncoding()The file encoding type.intgetFileEncodingValue()The file encoding type.TranslationFileMappinggetFilePaths(int index)Cloud Storage files to be processed for translation.intgetFilePathsCount()Cloud Storage files to be processed for translation.List<TranslationFileMapping>getFilePathsList()Cloud Storage files to be processed for translation.TranslationFileMappingOrBuildergetFilePathsOrBuilder(int index)Cloud Storage files to be processed for translation.List<? extends TranslationFileMappingOrBuilder>getFilePathsOrBuilderList()Cloud Storage files to be processed for translation.FiltergetFilter()The filter applied to translation details.FilterOrBuildergetFilterOrBuilder()The filter applied to translation details.IdentifierSettingsgetIdentifierSettings()The settings for SQL identifiers.IdentifierSettingsOrBuildergetIdentifierSettingsOrBuilder()The settings for SQL identifiers.StringgetInputPath()The Cloud Storage path for translation input files.com.google.protobuf.ByteStringgetInputPathBytes()The Cloud Storage path for translation input files.TranslationTaskDetails.LanguageOptionsCasegetLanguageOptionsCase()StringgetOutputPath()The Cloud Storage path for translation output files.com.google.protobuf.ByteStringgetOutputPathBytes()The Cloud Storage path for translation output files.com.google.protobuf.Parser<TranslationTaskDetails>getParserForType()StringgetSchemaPath()The Cloud Storage path to DDL files as table schema to assist semantic translation.com.google.protobuf.ByteStringgetSchemaPathBytes()The Cloud Storage path to DDL files as table schema to assist semantic translation.intgetSerializedSize()Map<String,TranslationTaskDetails.TokenType>getSpecialTokenMap()Deprecated.intgetSpecialTokenMapCount()The map capturing special tokens to be replaced during translation.Map<String,TranslationTaskDetails.TokenType>getSpecialTokenMapMap()The map capturing special tokens to be replaced during translation.TranslationTaskDetails.TokenTypegetSpecialTokenMapOrDefault(String key, TranslationTaskDetails.TokenType defaultValue)The map capturing special tokens to be replaced during translation.TranslationTaskDetails.TokenTypegetSpecialTokenMapOrThrow(String key)The map capturing special tokens to be replaced during translation.Map<String,Integer>getSpecialTokenMapValue()Deprecated.Map<String,Integer>getSpecialTokenMapValueMap()The map capturing special tokens to be replaced during translation.intgetSpecialTokenMapValueOrDefault(String key, int defaultValue)The map capturing special tokens to be replaced during translation.intgetSpecialTokenMapValueOrThrow(String key)The map capturing special tokens to be replaced during translation.TeradataOptionsgetTeradataOptions()The Teradata SQL specific settings for the translation task.TeradataOptionsOrBuildergetTeradataOptionsOrBuilder()The Teradata SQL specific settings for the translation task.StringgetTranslationExceptionTable()Specifies the exact name of the bigquery table ("dataset.table") to be used for surfacing raw translation errors.com.google.protobuf.ByteStringgetTranslationExceptionTableBytes()Specifies the exact name of the bigquery table ("dataset.table") to be used for surfacing raw translation errors.booleanhasBteqOptions()The BTEQ specific settings for the translation task.booleanhasFilter()The filter applied to translation details.inthashCode()booleanhasIdentifierSettings()The settings for SQL identifiers.booleanhasTeradataOptions()The Teradata SQL specific settings for the translation task.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static TranslationTaskDetails.BuildernewBuilder()static TranslationTaskDetails.BuildernewBuilder(TranslationTaskDetails prototype)TranslationTaskDetails.BuildernewBuilderForType()protected TranslationTaskDetails.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static TranslationTaskDetailsparseDelimitedFrom(InputStream input)static TranslationTaskDetailsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TranslationTaskDetailsparseFrom(byte[] data)static TranslationTaskDetailsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TranslationTaskDetailsparseFrom(com.google.protobuf.ByteString data)static TranslationTaskDetailsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TranslationTaskDetailsparseFrom(com.google.protobuf.CodedInputStream input)static TranslationTaskDetailsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TranslationTaskDetailsparseFrom(InputStream input)static TranslationTaskDetailsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static TranslationTaskDetailsparseFrom(ByteBuffer data)static TranslationTaskDetailsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<TranslationTaskDetails>parser()TranslationTaskDetails.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
TERADATA_OPTIONS_FIELD_NUMBER
public static final int TERADATA_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BTEQ_OPTIONS_FIELD_NUMBER
public static final int BTEQ_OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_PATH_FIELD_NUMBER
public static final int INPUT_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTPUT_PATH_FIELD_NUMBER
public static final int OUTPUT_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILE_PATHS_FIELD_NUMBER
public static final int FILE_PATHS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCHEMA_PATH_FIELD_NUMBER
public static final int SCHEMA_PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILE_ENCODING_FIELD_NUMBER
public static final int FILE_ENCODING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IDENTIFIER_SETTINGS_FIELD_NUMBER
public static final int IDENTIFIER_SETTINGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPECIAL_TOKEN_MAP_FIELD_NUMBER
public static final int SPECIAL_TOKEN_MAP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRANSLATION_EXCEPTION_TABLE_FIELD_NUMBER
public static final int TRANSLATION_EXCEPTION_TABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getLanguageOptionsCase
public TranslationTaskDetails.LanguageOptionsCase getLanguageOptionsCase()
- Specified by:
getLanguageOptionsCasein interfaceTranslationTaskDetailsOrBuilder
-
hasTeradataOptions
public boolean hasTeradataOptions()
The Teradata SQL specific settings for the translation task.
.google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;- Specified by:
hasTeradataOptionsin interfaceTranslationTaskDetailsOrBuilder- Returns:
- Whether the teradataOptions field is set.
-
getTeradataOptions
public TeradataOptions getTeradataOptions()
The Teradata SQL specific settings for the translation task.
.google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;- Specified by:
getTeradataOptionsin interfaceTranslationTaskDetailsOrBuilder- Returns:
- The teradataOptions.
-
getTeradataOptionsOrBuilder
public TeradataOptionsOrBuilder getTeradataOptionsOrBuilder()
The Teradata SQL specific settings for the translation task.
.google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;- Specified by:
getTeradataOptionsOrBuilderin interfaceTranslationTaskDetailsOrBuilder
-
hasBteqOptions
public boolean hasBteqOptions()
The BTEQ specific settings for the translation task.
.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;- Specified by:
hasBteqOptionsin interfaceTranslationTaskDetailsOrBuilder- Returns:
- Whether the bteqOptions field is set.
-
getBteqOptions
public BteqOptions getBteqOptions()
The BTEQ specific settings for the translation task.
.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;- Specified by:
getBteqOptionsin interfaceTranslationTaskDetailsOrBuilder- Returns:
- The bteqOptions.
-
getBteqOptionsOrBuilder
public BteqOptionsOrBuilder getBteqOptionsOrBuilder()
The BTEQ specific settings for the translation task.
.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;- Specified by:
getBteqOptionsOrBuilderin interfaceTranslationTaskDetailsOrBuilder
-
getInputPath
public String getInputPath()
The Cloud Storage path for translation input files.
string input_path = 1;- Specified by:
getInputPathin interfaceTranslationTaskDetailsOrBuilder- Returns:
- The inputPath.
-
getInputPathBytes
public com.google.protobuf.ByteString getInputPathBytes()
The Cloud Storage path for translation input files.
string input_path = 1;- Specified by:
getInputPathBytesin interfaceTranslationTaskDetailsOrBuilder- Returns:
- The bytes for inputPath.
-
getOutputPath
public String getOutputPath()
The Cloud Storage path for translation output files.
string output_path = 2;- Specified by:
getOutputPathin interfaceTranslationTaskDetailsOrBuilder- Returns:
- The outputPath.
-
getOutputPathBytes
public com.google.protobuf.ByteString getOutputPathBytes()
The Cloud Storage path for translation output files.
string output_path = 2;- Specified by:
getOutputPathBytesin interfaceTranslationTaskDetailsOrBuilder- Returns:
- The bytes for outputPath.
-
getFilePathsList
public List<TranslationFileMapping> getFilePathsList()
Cloud Storage files to be processed for translation.
repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;- Specified by:
getFilePathsListin interfaceTranslationTaskDetailsOrBuilder
-
getFilePathsOrBuilderList
public List<? extends TranslationFileMappingOrBuilder> getFilePathsOrBuilderList()
Cloud Storage files to be processed for translation.
repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;- Specified by:
getFilePathsOrBuilderListin interfaceTranslationTaskDetailsOrBuilder
-
getFilePathsCount
public int getFilePathsCount()
Cloud Storage files to be processed for translation.
repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;- Specified by:
getFilePathsCountin interfaceTranslationTaskDetailsOrBuilder
-
getFilePaths
public TranslationFileMapping getFilePaths(int index)
Cloud Storage files to be processed for translation.
repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;- Specified by:
getFilePathsin interfaceTranslationTaskDetailsOrBuilder
-
getFilePathsOrBuilder
public TranslationFileMappingOrBuilder getFilePathsOrBuilder(int index)
Cloud Storage files to be processed for translation.
repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;- Specified by:
getFilePathsOrBuilderin interfaceTranslationTaskDetailsOrBuilder
-
getSchemaPath
public String getSchemaPath()
The Cloud Storage path to DDL files as table schema to assist semantic translation.
string schema_path = 3;- Specified by:
getSchemaPathin interfaceTranslationTaskDetailsOrBuilder- Returns:
- The schemaPath.
-
getSchemaPathBytes
public com.google.protobuf.ByteString getSchemaPathBytes()
The Cloud Storage path to DDL files as table schema to assist semantic translation.
string schema_path = 3;- Specified by:
getSchemaPathBytesin interfaceTranslationTaskDetailsOrBuilder- Returns:
- The bytes for schemaPath.
-
getFileEncodingValue
public int getFileEncodingValue()
The file encoding type.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;- Specified by:
getFileEncodingValuein interfaceTranslationTaskDetailsOrBuilder- Returns:
- The enum numeric value on the wire for fileEncoding.
-
getFileEncoding
public TranslationTaskDetails.FileEncoding getFileEncoding()
The file encoding type.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;- Specified by:
getFileEncodingin interfaceTranslationTaskDetailsOrBuilder- Returns:
- The fileEncoding.
-
hasIdentifierSettings
public boolean hasIdentifierSettings()
The settings for SQL identifiers.
.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;- Specified by:
hasIdentifierSettingsin interfaceTranslationTaskDetailsOrBuilder- Returns:
- Whether the identifierSettings field is set.
-
getIdentifierSettings
public IdentifierSettings getIdentifierSettings()
The settings for SQL identifiers.
.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;- Specified by:
getIdentifierSettingsin interfaceTranslationTaskDetailsOrBuilder- Returns:
- The identifierSettings.
-
getIdentifierSettingsOrBuilder
public IdentifierSettingsOrBuilder getIdentifierSettingsOrBuilder()
The settings for SQL identifiers.
.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;- Specified by:
getIdentifierSettingsOrBuilderin interfaceTranslationTaskDetailsOrBuilder
-
getSpecialTokenMapCount
public int getSpecialTokenMapCount()
Description copied from interface:TranslationTaskDetailsOrBuilderThe 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;- Specified by:
getSpecialTokenMapCountin interfaceTranslationTaskDetailsOrBuilder
-
containsSpecialTokenMap
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;- Specified by:
containsSpecialTokenMapin interfaceTranslationTaskDetailsOrBuilder
-
getSpecialTokenMap
@Deprecated public Map<String,TranslationTaskDetails.TokenType> getSpecialTokenMap()
Deprecated.UsegetSpecialTokenMapMap()instead.- Specified by:
getSpecialTokenMapin interfaceTranslationTaskDetailsOrBuilder
-
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;- Specified by:
getSpecialTokenMapMapin interfaceTranslationTaskDetailsOrBuilder
-
getSpecialTokenMapOrDefault
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;- Specified by:
getSpecialTokenMapOrDefaultin interfaceTranslationTaskDetailsOrBuilder
-
getSpecialTokenMapOrThrow
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;- Specified by:
getSpecialTokenMapOrThrowin interfaceTranslationTaskDetailsOrBuilder
-
getSpecialTokenMapValue
@Deprecated public Map<String,Integer> getSpecialTokenMapValue()
Deprecated.UsegetSpecialTokenMapValueMap()instead.- Specified by:
getSpecialTokenMapValuein interfaceTranslationTaskDetailsOrBuilder
-
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;- Specified by:
getSpecialTokenMapValueMapin interfaceTranslationTaskDetailsOrBuilder
-
getSpecialTokenMapValueOrDefault
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;- Specified by:
getSpecialTokenMapValueOrDefaultin interfaceTranslationTaskDetailsOrBuilder
-
getSpecialTokenMapValueOrThrow
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;- Specified by:
getSpecialTokenMapValueOrThrowin interfaceTranslationTaskDetailsOrBuilder
-
hasFilter
public boolean hasFilter()
The filter applied to translation details.
.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;- Specified by:
hasFilterin interfaceTranslationTaskDetailsOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
public Filter getFilter()
The filter applied to translation details.
.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;- Specified by:
getFilterin interfaceTranslationTaskDetailsOrBuilder- Returns:
- The filter.
-
getFilterOrBuilder
public FilterOrBuilder getFilterOrBuilder()
The filter applied to translation details.
.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;- Specified by:
getFilterOrBuilderin interfaceTranslationTaskDetailsOrBuilder
-
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;- Specified by:
getTranslationExceptionTablein interfaceTranslationTaskDetailsOrBuilder- Returns:
- The translationExceptionTable.
-
getTranslationExceptionTableBytes
public com.google.protobuf.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;- Specified by:
getTranslationExceptionTableBytesin interfaceTranslationTaskDetailsOrBuilder- Returns:
- The bytes for translationExceptionTable.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static TranslationTaskDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationTaskDetails parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationTaskDetails parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationTaskDetails parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationTaskDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationTaskDetails parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static TranslationTaskDetails parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TranslationTaskDetails parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TranslationTaskDetails parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static TranslationTaskDetails parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static TranslationTaskDetails parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static TranslationTaskDetails parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public TranslationTaskDetails.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static TranslationTaskDetails.Builder newBuilder()
-
newBuilder
public static TranslationTaskDetails.Builder newBuilder(TranslationTaskDetails prototype)
-
toBuilder
public TranslationTaskDetails.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TranslationTaskDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static TranslationTaskDetails getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<TranslationTaskDetails> parser()
-
getParserForType
public com.google.protobuf.Parser<TranslationTaskDetails> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TranslationTaskDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-