Class TranslationTaskDetails.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TranslationTaskDetails.Builder>
com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.Builder
All Implemented Interfaces:
TranslationTaskDetailsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TranslationTaskDetails

public static final class TranslationTaskDetails.Builder extends com.google.protobuf.GeneratedMessage.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<TranslationTaskDetails.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<TranslationTaskDetails.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TranslationTaskDetails.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<TranslationTaskDetails.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TranslationTaskDetails.Builder>
    • getDefaultInstanceForType

      public TranslationTaskDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public TranslationTaskDetails build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TranslationTaskDetails buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public TranslationTaskDetails.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TranslationTaskDetails.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<TranslationTaskDetails.Builder>
    • mergeFrom

      public TranslationTaskDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TranslationTaskDetails.Builder>
      Throws:
      IOException
    • getLanguageOptionsCase

      public TranslationTaskDetails.LanguageOptionsCase getLanguageOptionsCase()
      Specified by:
      getLanguageOptionsCase in interface TranslationTaskDetailsOrBuilder
    • clearLanguageOptions

      public TranslationTaskDetails.Builder clearLanguageOptions()
    • 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 interface TranslationTaskDetailsOrBuilder
      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 interface TranslationTaskDetailsOrBuilder
      Returns:
      The teradataOptions.
    • setTeradataOptions

      public TranslationTaskDetails.Builder setTeradataOptions(TeradataOptions value)
       The Teradata SQL specific settings for the translation task.
       
      .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;
    • setTeradataOptions

      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;
    • mergeTeradataOptions

      public TranslationTaskDetails.Builder mergeTeradataOptions(TeradataOptions value)
       The Teradata SQL specific settings for the translation task.
       
      .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;
    • clearTeradataOptions

      public TranslationTaskDetails.Builder clearTeradataOptions()
       The Teradata SQL specific settings for the translation task.
       
      .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;
    • getTeradataOptionsBuilder

      public TeradataOptions.Builder getTeradataOptionsBuilder()
       The Teradata SQL specific settings for the translation task.
       
      .google.cloud.bigquery.migration.v2alpha.TeradataOptions teradata_options = 10;
    • 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 interface TranslationTaskDetailsOrBuilder
    • 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 interface TranslationTaskDetailsOrBuilder
      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 interface TranslationTaskDetailsOrBuilder
      Returns:
      The bteqOptions.
    • setBteqOptions

      public TranslationTaskDetails.Builder setBteqOptions(BteqOptions value)
       The BTEQ specific settings for the translation task.
       
      .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;
    • setBteqOptions

      public TranslationTaskDetails.Builder setBteqOptions(BteqOptions.Builder builderForValue)
       The BTEQ specific settings for the translation task.
       
      .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;
    • mergeBteqOptions

      public TranslationTaskDetails.Builder mergeBteqOptions(BteqOptions value)
       The BTEQ specific settings for the translation task.
       
      .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;
    • clearBteqOptions

      public TranslationTaskDetails.Builder clearBteqOptions()
       The BTEQ specific settings for the translation task.
       
      .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;
    • getBteqOptionsBuilder

      public BteqOptions.Builder getBteqOptionsBuilder()
       The BTEQ specific settings for the translation task.
       
      .google.cloud.bigquery.migration.v2alpha.BteqOptions bteq_options = 11;
    • 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 interface TranslationTaskDetailsOrBuilder
    • getInputPath

      public String getInputPath()
       The Cloud Storage path for translation input files.
       
      string input_path = 1;
      Specified by:
      getInputPath in interface TranslationTaskDetailsOrBuilder
      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 interface TranslationTaskDetailsOrBuilder
      Returns:
      The bytes for inputPath.
    • setInputPath

      public TranslationTaskDetails.Builder setInputPath(String value)
       The Cloud Storage path for translation input files.
       
      string input_path = 1;
      Parameters:
      value - The inputPath to set.
      Returns:
      This builder for chaining.
    • clearInputPath

      public TranslationTaskDetails.Builder clearInputPath()
       The Cloud Storage path for translation input files.
       
      string input_path = 1;
      Returns:
      This builder for chaining.
    • setInputPathBytes

      public TranslationTaskDetails.Builder setInputPathBytes(com.google.protobuf.ByteString value)
       The Cloud Storage path for translation input files.
       
      string input_path = 1;
      Parameters:
      value - The bytes for inputPath to set.
      Returns:
      This builder for chaining.
    • getOutputPath

      public String getOutputPath()
       The Cloud Storage path for translation output files.
       
      string output_path = 2;
      Specified by:
      getOutputPath in interface TranslationTaskDetailsOrBuilder
      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 interface TranslationTaskDetailsOrBuilder
      Returns:
      The bytes for outputPath.
    • setOutputPath

      public TranslationTaskDetails.Builder setOutputPath(String value)
       The Cloud Storage path for translation output files.
       
      string output_path = 2;
      Parameters:
      value - The outputPath to set.
      Returns:
      This builder for chaining.
    • clearOutputPath

      public TranslationTaskDetails.Builder clearOutputPath()
       The Cloud Storage path for translation output files.
       
      string output_path = 2;
      Returns:
      This builder for chaining.
    • setOutputPathBytes

      public TranslationTaskDetails.Builder setOutputPathBytes(com.google.protobuf.ByteString value)
       The Cloud Storage path for translation output files.
       
      string output_path = 2;
      Parameters:
      value - The bytes for outputPath to set.
      Returns:
      This builder for chaining.
    • 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 interface TranslationTaskDetailsOrBuilder
    • 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 interface TranslationTaskDetailsOrBuilder
    • 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 interface TranslationTaskDetailsOrBuilder
    • setFilePaths

      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;
    • setFilePaths

      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;
    • addFilePaths

       Cloud Storage files to be processed for translation.
       
      repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;
    • addFilePaths

      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;
    • addFilePaths

      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;
    • addFilePaths

      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;
    • addAllFilePaths

      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;
    • clearFilePaths

      public TranslationTaskDetails.Builder clearFilePaths()
       Cloud Storage files to be processed for translation.
       
      repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;
    • removeFilePaths

      public TranslationTaskDetails.Builder removeFilePaths(int index)
       Cloud Storage files to be processed for translation.
       
      repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;
    • getFilePathsBuilder

      public TranslationFileMapping.Builder getFilePathsBuilder(int index)
       Cloud Storage files to be processed for translation.
       
      repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;
    • 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 interface TranslationTaskDetailsOrBuilder
    • 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 interface TranslationTaskDetailsOrBuilder
    • addFilePathsBuilder

      public TranslationFileMapping.Builder addFilePathsBuilder()
       Cloud Storage files to be processed for translation.
       
      repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;
    • addFilePathsBuilder

      public TranslationFileMapping.Builder addFilePathsBuilder(int index)
       Cloud Storage files to be processed for translation.
       
      repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;
    • getFilePathsBuilderList

      public List<TranslationFileMapping.Builder> getFilePathsBuilderList()
       Cloud Storage files to be processed for translation.
       
      repeated .google.cloud.bigquery.migration.v2alpha.TranslationFileMapping file_paths = 12;
    • 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 interface TranslationTaskDetailsOrBuilder
      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 interface TranslationTaskDetailsOrBuilder
      Returns:
      The bytes for schemaPath.
    • setSchemaPath

      public TranslationTaskDetails.Builder setSchemaPath(String value)
       The Cloud Storage path to DDL files as table schema to assist semantic
       translation.
       
      string schema_path = 3;
      Parameters:
      value - The schemaPath to set.
      Returns:
      This builder for chaining.
    • clearSchemaPath

      public TranslationTaskDetails.Builder clearSchemaPath()
       The Cloud Storage path to DDL files as table schema to assist semantic
       translation.
       
      string schema_path = 3;
      Returns:
      This builder for chaining.
    • setSchemaPathBytes

      public TranslationTaskDetails.Builder setSchemaPathBytes(com.google.protobuf.ByteString value)
       The Cloud Storage path to DDL files as table schema to assist semantic
       translation.
       
      string schema_path = 3;
      Parameters:
      value - The bytes for schemaPath to set.
      Returns:
      This builder for chaining.
    • getFileEncodingValue

      public int getFileEncodingValue()
       The file encoding type.
       
      .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;
      Specified by:
      getFileEncodingValue in interface TranslationTaskDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for fileEncoding.
    • setFileEncodingValue

      public TranslationTaskDetails.Builder setFileEncodingValue(int value)
       The file encoding type.
       
      .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;
      Parameters:
      value - The enum numeric value on the wire for fileEncoding to set.
      Returns:
      This builder for chaining.
    • getFileEncoding

      public TranslationTaskDetails.FileEncoding getFileEncoding()
       The file encoding type.
       
      .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;
      Specified by:
      getFileEncoding in interface TranslationTaskDetailsOrBuilder
      Returns:
      The fileEncoding.
    • setFileEncoding

       The file encoding type.
       
      .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;
      Parameters:
      value - The fileEncoding to set.
      Returns:
      This builder for chaining.
    • clearFileEncoding

      public TranslationTaskDetails.Builder clearFileEncoding()
       The file encoding type.
       
      .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails.FileEncoding file_encoding = 4;
      Returns:
      This builder for chaining.
    • hasIdentifierSettings

      public boolean hasIdentifierSettings()
       The settings for SQL identifiers.
       
      .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
      Specified by:
      hasIdentifierSettings in interface TranslationTaskDetailsOrBuilder
      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 interface TranslationTaskDetailsOrBuilder
      Returns:
      The identifierSettings.
    • setIdentifierSettings

      public TranslationTaskDetails.Builder setIdentifierSettings(IdentifierSettings value)
       The settings for SQL identifiers.
       
      .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
    • setIdentifierSettings

      public TranslationTaskDetails.Builder setIdentifierSettings(IdentifierSettings.Builder builderForValue)
       The settings for SQL identifiers.
       
      .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
    • mergeIdentifierSettings

      public TranslationTaskDetails.Builder mergeIdentifierSettings(IdentifierSettings value)
       The settings for SQL identifiers.
       
      .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
    • clearIdentifierSettings

      public TranslationTaskDetails.Builder clearIdentifierSettings()
       The settings for SQL identifiers.
       
      .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
    • getIdentifierSettingsBuilder

      public IdentifierSettings.Builder getIdentifierSettingsBuilder()
       The settings for SQL identifiers.
       
      .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
    • getIdentifierSettingsOrBuilder

      public IdentifierSettingsOrBuilder getIdentifierSettingsOrBuilder()
       The settings for SQL identifiers.
       
      .google.cloud.bigquery.migration.v2alpha.IdentifierSettings identifier_settings = 5;
      Specified by:
      getIdentifierSettingsOrBuilder in interface TranslationTaskDetailsOrBuilder
    • 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 interface TranslationTaskDetailsOrBuilder
    • 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 interface TranslationTaskDetailsOrBuilder
    • getSpecialTokenMap

      Deprecated.
      Specified by:
      getSpecialTokenMap in interface TranslationTaskDetailsOrBuilder
    • 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 interface TranslationTaskDetailsOrBuilder
    • 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 interface TranslationTaskDetailsOrBuilder
    • 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 interface TranslationTaskDetailsOrBuilder
    • getSpecialTokenMapValue

      @Deprecated public Map<String,Integer> getSpecialTokenMapValue()
      Deprecated.
      Specified by:
      getSpecialTokenMapValue in interface TranslationTaskDetailsOrBuilder
    • 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 interface TranslationTaskDetailsOrBuilder
    • 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 interface TranslationTaskDetailsOrBuilder
    • 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 interface TranslationTaskDetailsOrBuilder
    • clearSpecialTokenMap

      public TranslationTaskDetails.Builder clearSpecialTokenMap()
    • removeSpecialTokenMap

      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;
    • getMutableSpecialTokenMap

      @Deprecated public Map<String,TranslationTaskDetails.TokenType> getMutableSpecialTokenMap()
      Deprecated.
      Use alternate mutation accessors instead.
    • putSpecialTokenMap

       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;
    • putAllSpecialTokenMap

       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;
    • getMutableSpecialTokenMapValue

      @Deprecated public Map<String,Integer> getMutableSpecialTokenMapValue()
      Deprecated.
      Use alternate mutation accessors instead.
    • putSpecialTokenMapValue

      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;
    • putAllSpecialTokenMapValue

      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;
    • hasFilter

      public boolean hasFilter()
       The filter applied to translation details.
       
      .google.cloud.bigquery.migration.v2alpha.Filter filter = 7;
      Specified by:
      hasFilter in interface TranslationTaskDetailsOrBuilder
      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 interface TranslationTaskDetailsOrBuilder
      Returns:
      The filter.
    • setFilter

      public TranslationTaskDetails.Builder setFilter(Filter value)
       The filter applied to translation details.
       
      .google.cloud.bigquery.migration.v2alpha.Filter filter = 7;
    • setFilter

      public TranslationTaskDetails.Builder setFilter(Filter.Builder builderForValue)
       The filter applied to translation details.
       
      .google.cloud.bigquery.migration.v2alpha.Filter filter = 7;
    • mergeFilter

      public TranslationTaskDetails.Builder mergeFilter(Filter value)
       The filter applied to translation details.
       
      .google.cloud.bigquery.migration.v2alpha.Filter filter = 7;
    • clearFilter

      public TranslationTaskDetails.Builder clearFilter()
       The filter applied to translation details.
       
      .google.cloud.bigquery.migration.v2alpha.Filter filter = 7;
    • getFilterBuilder

      public Filter.Builder getFilterBuilder()
       The filter applied to translation details.
       
      .google.cloud.bigquery.migration.v2alpha.Filter filter = 7;
    • getFilterOrBuilder

      public FilterOrBuilder getFilterOrBuilder()
       The filter applied to translation details.
       
      .google.cloud.bigquery.migration.v2alpha.Filter filter = 7;
      Specified by:
      getFilterOrBuilder in interface TranslationTaskDetailsOrBuilder
    • 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 interface TranslationTaskDetailsOrBuilder
      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 interface TranslationTaskDetailsOrBuilder
      Returns:
      The bytes for translationExceptionTable.
    • setTranslationExceptionTable

      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;
      Parameters:
      value - The translationExceptionTable to set.
      Returns:
      This builder for chaining.
    • clearTranslationExceptionTable

      public TranslationTaskDetails.Builder clearTranslationExceptionTable()
       Specifies the exact name of the bigquery table ("dataset.table") to be used
       for surfacing raw translation errors. If the table does not exist, we will
       create it. If it already exists and the schema is the same, we will re-use.
       If the table exists and the schema is different, we will throw an error.
       
      string translation_exception_table = 13;
      Returns:
      This builder for chaining.
    • setTranslationExceptionTableBytes

      public TranslationTaskDetails.Builder setTranslationExceptionTableBytes(com.google.protobuf.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;
      Parameters:
      value - The bytes for translationExceptionTable to set.
      Returns:
      This builder for chaining.