Class AssessmentTaskDetails.Builder

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

public static final class AssessmentTaskDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<AssessmentTaskDetails.Builder> implements AssessmentTaskDetailsOrBuilder
 Assessment task config.
 
Protobuf type google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<AssessmentTaskDetails.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<AssessmentTaskDetails.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<AssessmentTaskDetails.Builder>
    • getDefaultInstanceForType

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

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

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

      public AssessmentTaskDetails.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<AssessmentTaskDetails.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<AssessmentTaskDetails.Builder>
    • mergeFrom

      public AssessmentTaskDetails.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<AssessmentTaskDetails.Builder>
      Throws:
      IOException
    • getInputPath

      public String getInputPath()
       Required. The Cloud Storage path for assessment input files.
       
      string input_path = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInputPath in interface AssessmentTaskDetailsOrBuilder
      Returns:
      The inputPath.
    • getInputPathBytes

      public com.google.protobuf.ByteString getInputPathBytes()
       Required. The Cloud Storage path for assessment input files.
       
      string input_path = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getInputPathBytes in interface AssessmentTaskDetailsOrBuilder
      Returns:
      The bytes for inputPath.
    • setInputPath

      public AssessmentTaskDetails.Builder setInputPath(String value)
       Required. The Cloud Storage path for assessment input files.
       
      string input_path = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The inputPath to set.
      Returns:
      This builder for chaining.
    • clearInputPath

      public AssessmentTaskDetails.Builder clearInputPath()
       Required. The Cloud Storage path for assessment input files.
       
      string input_path = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setInputPathBytes

      public AssessmentTaskDetails.Builder setInputPathBytes(com.google.protobuf.ByteString value)
       Required. The Cloud Storage path for assessment input files.
       
      string input_path = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for inputPath to set.
      Returns:
      This builder for chaining.
    • getOutputDataset

      public String getOutputDataset()
       Required. The BigQuery dataset for output.
       
      string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputDataset in interface AssessmentTaskDetailsOrBuilder
      Returns:
      The outputDataset.
    • getOutputDatasetBytes

      public com.google.protobuf.ByteString getOutputDatasetBytes()
       Required. The BigQuery dataset for output.
       
      string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getOutputDatasetBytes in interface AssessmentTaskDetailsOrBuilder
      Returns:
      The bytes for outputDataset.
    • setOutputDataset

      public AssessmentTaskDetails.Builder setOutputDataset(String value)
       Required. The BigQuery dataset for output.
       
      string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The outputDataset to set.
      Returns:
      This builder for chaining.
    • clearOutputDataset

      public AssessmentTaskDetails.Builder clearOutputDataset()
       Required. The BigQuery dataset for output.
       
      string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setOutputDatasetBytes

      public AssessmentTaskDetails.Builder setOutputDatasetBytes(com.google.protobuf.ByteString value)
       Required. The BigQuery dataset for output.
       
      string output_dataset = 2 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for outputDataset to set.
      Returns:
      This builder for chaining.
    • getQuerylogsPath

      public String getQuerylogsPath()
       Optional. An optional Cloud Storage path to write the query logs (which is
       then used as an input path on the translation task)
       
      string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQuerylogsPath in interface AssessmentTaskDetailsOrBuilder
      Returns:
      The querylogsPath.
    • getQuerylogsPathBytes

      public com.google.protobuf.ByteString getQuerylogsPathBytes()
       Optional. An optional Cloud Storage path to write the query logs (which is
       then used as an input path on the translation task)
       
      string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getQuerylogsPathBytes in interface AssessmentTaskDetailsOrBuilder
      Returns:
      The bytes for querylogsPath.
    • setQuerylogsPath

      public AssessmentTaskDetails.Builder setQuerylogsPath(String value)
       Optional. An optional Cloud Storage path to write the query logs (which is
       then used as an input path on the translation task)
       
      string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The querylogsPath to set.
      Returns:
      This builder for chaining.
    • clearQuerylogsPath

      public AssessmentTaskDetails.Builder clearQuerylogsPath()
       Optional. An optional Cloud Storage path to write the query logs (which is
       then used as an input path on the translation task)
       
      string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setQuerylogsPathBytes

      public AssessmentTaskDetails.Builder setQuerylogsPathBytes(com.google.protobuf.ByteString value)
       Optional. An optional Cloud Storage path to write the query logs (which is
       then used as an input path on the translation task)
       
      string querylogs_path = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for querylogsPath to set.
      Returns:
      This builder for chaining.
    • getDataSource

      public String getDataSource()
       Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
       from which the input data is extracted.
       
      string data_source = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataSource in interface AssessmentTaskDetailsOrBuilder
      Returns:
      The dataSource.
    • getDataSourceBytes

      public com.google.protobuf.ByteString getDataSourceBytes()
       Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
       from which the input data is extracted.
       
      string data_source = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDataSourceBytes in interface AssessmentTaskDetailsOrBuilder
      Returns:
      The bytes for dataSource.
    • setDataSource

      public AssessmentTaskDetails.Builder setDataSource(String value)
       Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
       from which the input data is extracted.
       
      string data_source = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The dataSource to set.
      Returns:
      This builder for chaining.
    • clearDataSource

      public AssessmentTaskDetails.Builder clearDataSource()
       Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
       from which the input data is extracted.
       
      string data_source = 4 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setDataSourceBytes

      public AssessmentTaskDetails.Builder setDataSourceBytes(com.google.protobuf.ByteString value)
       Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
       from which the input data is extracted.
       
      string data_source = 4 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for dataSource to set.
      Returns:
      This builder for chaining.