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 class
TranslationTaskDetails.Builder
The translation task config to capture necessary settings for a translation task and subtask.static class
TranslationTaskDetails.FileEncoding
The file encoding types.static class
TranslationTaskDetails.LanguageOptionsCase
static class
TranslationTaskDetails.TokenType
The 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 int
BTEQ_OPTIONS_FIELD_NUMBER
static int
FILE_ENCODING_FIELD_NUMBER
static int
FILE_PATHS_FIELD_NUMBER
static int
FILTER_FIELD_NUMBER
static int
IDENTIFIER_SETTINGS_FIELD_NUMBER
static int
INPUT_PATH_FIELD_NUMBER
static int
OUTPUT_PATH_FIELD_NUMBER
static int
SCHEMA_PATH_FIELD_NUMBER
static int
SPECIAL_TOKEN_MAP_FIELD_NUMBER
static int
TERADATA_OPTIONS_FIELD_NUMBER
static int
TRANSLATION_EXCEPTION_TABLE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsSpecialTokenMap(String key)
The map capturing special tokens to be replaced during translation.boolean
equals(Object obj)
BteqOptions
getBteqOptions()
The BTEQ specific settings for the translation task.BteqOptionsOrBuilder
getBteqOptionsOrBuilder()
The BTEQ specific settings for the translation task.static TranslationTaskDetails
getDefaultInstance()
TranslationTaskDetails
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
TranslationTaskDetails.FileEncoding
getFileEncoding()
The file encoding type.int
getFileEncodingValue()
The file encoding type.TranslationFileMapping
getFilePaths(int index)
Cloud Storage files to be processed for translation.int
getFilePathsCount()
Cloud Storage files to be processed for translation.List<TranslationFileMapping>
getFilePathsList()
Cloud Storage files to be processed for translation.TranslationFileMappingOrBuilder
getFilePathsOrBuilder(int index)
Cloud Storage files to be processed for translation.List<? extends TranslationFileMappingOrBuilder>
getFilePathsOrBuilderList()
Cloud Storage files to be processed for translation.Filter
getFilter()
The filter applied to translation details.FilterOrBuilder
getFilterOrBuilder()
The filter applied to translation details.IdentifierSettings
getIdentifierSettings()
The settings for SQL identifiers.IdentifierSettingsOrBuilder
getIdentifierSettingsOrBuilder()
The settings for SQL identifiers.String
getInputPath()
The Cloud Storage path for translation input files.com.google.protobuf.ByteString
getInputPathBytes()
The Cloud Storage path for translation input files.TranslationTaskDetails.LanguageOptionsCase
getLanguageOptionsCase()
String
getOutputPath()
The Cloud Storage path for translation output files.com.google.protobuf.ByteString
getOutputPathBytes()
The Cloud Storage path for translation output files.com.google.protobuf.Parser<TranslationTaskDetails>
getParserForType()
String
getSchemaPath()
The Cloud Storage path to DDL files as table schema to assist semantic translation.com.google.protobuf.ByteString
getSchemaPathBytes()
The Cloud Storage path to DDL files as table schema to assist semantic translation.int
getSerializedSize()
Map<String,TranslationTaskDetails.TokenType>
getSpecialTokenMap()
Deprecated.int
getSpecialTokenMapCount()
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.TokenType
getSpecialTokenMapOrDefault(String key, TranslationTaskDetails.TokenType defaultValue)
The map capturing special tokens to be replaced during translation.TranslationTaskDetails.TokenType
getSpecialTokenMapOrThrow(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.int
getSpecialTokenMapValueOrDefault(String key, int defaultValue)
The map capturing special tokens to be replaced during translation.int
getSpecialTokenMapValueOrThrow(String key)
The map capturing special tokens to be replaced during translation.TeradataOptions
getTeradataOptions()
The Teradata SQL specific settings for the translation task.TeradataOptionsOrBuilder
getTeradataOptionsOrBuilder()
The Teradata SQL specific settings for the translation task.String
getTranslationExceptionTable()
Specifies the exact name of the bigquery table ("dataset.table") to be used for surfacing raw translation errors.com.google.protobuf.ByteString
getTranslationExceptionTableBytes()
Specifies the exact name of the bigquery table ("dataset.table") to be used for surfacing raw translation errors.boolean
hasBteqOptions()
The BTEQ specific settings for the translation task.boolean
hasFilter()
The filter applied to translation details.int
hashCode()
boolean
hasIdentifierSettings()
The settings for SQL identifiers.boolean
hasTeradataOptions()
The Teradata SQL specific settings for the translation task.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static TranslationTaskDetails.Builder
newBuilder()
static TranslationTaskDetails.Builder
newBuilder(TranslationTaskDetails prototype)
TranslationTaskDetails.Builder
newBuilderForType()
protected TranslationTaskDetails.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static TranslationTaskDetails
parseDelimitedFrom(InputStream input)
static TranslationTaskDetails
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TranslationTaskDetails
parseFrom(byte[] data)
static TranslationTaskDetails
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TranslationTaskDetails
parseFrom(com.google.protobuf.ByteString data)
static TranslationTaskDetails
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TranslationTaskDetails
parseFrom(com.google.protobuf.CodedInputStream input)
static TranslationTaskDetails
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TranslationTaskDetails
parseFrom(InputStream input)
static TranslationTaskDetails
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static TranslationTaskDetails
parseFrom(ByteBuffer data)
static TranslationTaskDetails
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<TranslationTaskDetails>
parser()
TranslationTaskDetails.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getLanguageOptionsCase
public TranslationTaskDetails.LanguageOptionsCase getLanguageOptionsCase()
- Specified by:
getLanguageOptionsCase
in 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:
hasTeradataOptions
in 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:
getTeradataOptions
in 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:
getTeradataOptionsOrBuilder
in interfaceTranslationTaskDetailsOrBuilder
-
hasBteqOptions
public boolean hasBteqOptions()
The BTEQ specific settings for the translation task.
.google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;
- Specified by:
hasBteqOptions
in 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:
getBteqOptions
in 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:
getBteqOptionsOrBuilder
in interfaceTranslationTaskDetailsOrBuilder
-
getInputPath
public String getInputPath()
The Cloud Storage path for translation input files.
string input_path = 1;
- Specified by:
getInputPath
in 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:
getInputPathBytes
in interfaceTranslationTaskDetailsOrBuilder
- Returns:
- The bytes for inputPath.
-
getOutputPath
public String getOutputPath()
The Cloud Storage path for translation output files.
string output_path = 2;
- Specified by:
getOutputPath
in 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:
getOutputPathBytes
in 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:
getFilePathsList
in 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:
getFilePathsOrBuilderList
in 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:
getFilePathsCount
in 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:
getFilePaths
in 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:
getFilePathsOrBuilder
in 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:
getSchemaPath
in 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:
getSchemaPathBytes
in 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:
getFileEncodingValue
in 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:
getFileEncoding
in interfaceTranslationTaskDetailsOrBuilder
- Returns:
- The fileEncoding.
-
hasIdentifierSettings
public boolean hasIdentifierSettings()
The settings for SQL identifiers.
.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
- Specified by:
hasIdentifierSettings
in 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:
getIdentifierSettings
in interfaceTranslationTaskDetailsOrBuilder
- Returns:
- The identifierSettings.
-
getIdentifierSettingsOrBuilder
public IdentifierSettingsOrBuilder getIdentifierSettingsOrBuilder()
The settings for SQL identifiers.
.google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
- Specified by:
getIdentifierSettingsOrBuilder
in interfaceTranslationTaskDetailsOrBuilder
-
getSpecialTokenMapCount
public int getSpecialTokenMapCount()
Description copied from interface:TranslationTaskDetailsOrBuilder
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:
getSpecialTokenMapCount
in 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:
containsSpecialTokenMap
in interfaceTranslationTaskDetailsOrBuilder
-
getSpecialTokenMap
@Deprecated public Map<String,TranslationTaskDetails.TokenType> getSpecialTokenMap()
Deprecated.UsegetSpecialTokenMapMap()
instead.- Specified by:
getSpecialTokenMap
in 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:
getSpecialTokenMapMap
in 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:
getSpecialTokenMapOrDefault
in 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:
getSpecialTokenMapOrThrow
in interfaceTranslationTaskDetailsOrBuilder
-
getSpecialTokenMapValue
@Deprecated public Map<String,Integer> getSpecialTokenMapValue()
Deprecated.UsegetSpecialTokenMapValueMap()
instead.- Specified by:
getSpecialTokenMapValue
in 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:
getSpecialTokenMapValueMap
in 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:
getSpecialTokenMapValueOrDefault
in 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:
getSpecialTokenMapValueOrThrow
in interfaceTranslationTaskDetailsOrBuilder
-
hasFilter
public boolean hasFilter()
The filter applied to translation details.
.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;
- Specified by:
hasFilter
in 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:
getFilter
in interfaceTranslationTaskDetailsOrBuilder
- Returns:
- The filter.
-
getFilterOrBuilder
public FilterOrBuilder getFilterOrBuilder()
The filter applied to translation details.
.google.cloud.bigquery.migration.v2alpha.Filter filter = 7;
- Specified by:
getFilterOrBuilder
in 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:
getTranslationExceptionTable
in 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:
getTranslationExceptionTableBytes
in interfaceTranslationTaskDetailsOrBuilder
- Returns:
- The bytes for translationExceptionTable.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected TranslationTaskDetails.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public TranslationTaskDetails getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-