Class MigrationTask.Builder

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

public static final class MigrationTask.Builder extends com.google.protobuf.GeneratedMessage.Builder<MigrationTask.Builder> implements MigrationTaskOrBuilder
 A single task for a migration which has details about the configuration of
 the task.
 
Protobuf type google.cloud.bigquery.migration.v2.MigrationTask
  • 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<MigrationTask.Builder>
    • clear

      public MigrationTask.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<MigrationTask.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<MigrationTask.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public MigrationTask.Builder mergeFrom(MigrationTask other)
    • isInitialized

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

      public MigrationTask.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<MigrationTask.Builder>
      Throws:
      IOException
    • getTaskDetailsCase

      public MigrationTask.TaskDetailsCase getTaskDetailsCase()
      Specified by:
      getTaskDetailsCase in interface MigrationTaskOrBuilder
    • clearTaskDetails

      public MigrationTask.Builder clearTaskDetails()
    • hasTranslationConfigDetails

      public boolean hasTranslationConfigDetails()
       Task configuration for CW Batch/Offline SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
      Specified by:
      hasTranslationConfigDetails in interface MigrationTaskOrBuilder
      Returns:
      Whether the translationConfigDetails field is set.
    • getTranslationConfigDetails

      public TranslationConfigDetails getTranslationConfigDetails()
       Task configuration for CW Batch/Offline SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
      Specified by:
      getTranslationConfigDetails in interface MigrationTaskOrBuilder
      Returns:
      The translationConfigDetails.
    • setTranslationConfigDetails

      public MigrationTask.Builder setTranslationConfigDetails(TranslationConfigDetails value)
       Task configuration for CW Batch/Offline SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
    • setTranslationConfigDetails

      public MigrationTask.Builder setTranslationConfigDetails(TranslationConfigDetails.Builder builderForValue)
       Task configuration for CW Batch/Offline SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
    • mergeTranslationConfigDetails

      public MigrationTask.Builder mergeTranslationConfigDetails(TranslationConfigDetails value)
       Task configuration for CW Batch/Offline SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
    • clearTranslationConfigDetails

      public MigrationTask.Builder clearTranslationConfigDetails()
       Task configuration for CW Batch/Offline SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
    • getTranslationConfigDetailsBuilder

      public TranslationConfigDetails.Builder getTranslationConfigDetailsBuilder()
       Task configuration for CW Batch/Offline SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
    • getTranslationConfigDetailsOrBuilder

      public TranslationConfigDetailsOrBuilder getTranslationConfigDetailsOrBuilder()
       Task configuration for CW Batch/Offline SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
      Specified by:
      getTranslationConfigDetailsOrBuilder in interface MigrationTaskOrBuilder
    • hasTranslationDetails

      public boolean hasTranslationDetails()
       Task details for unified SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;
      Specified by:
      hasTranslationDetails in interface MigrationTaskOrBuilder
      Returns:
      Whether the translationDetails field is set.
    • getTranslationDetails

      public TranslationDetails getTranslationDetails()
       Task details for unified SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;
      Specified by:
      getTranslationDetails in interface MigrationTaskOrBuilder
      Returns:
      The translationDetails.
    • setTranslationDetails

      public MigrationTask.Builder setTranslationDetails(TranslationDetails value)
       Task details for unified SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;
    • setTranslationDetails

      public MigrationTask.Builder setTranslationDetails(TranslationDetails.Builder builderForValue)
       Task details for unified SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;
    • mergeTranslationDetails

      public MigrationTask.Builder mergeTranslationDetails(TranslationDetails value)
       Task details for unified SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;
    • clearTranslationDetails

      public MigrationTask.Builder clearTranslationDetails()
       Task details for unified SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;
    • getTranslationDetailsBuilder

      public TranslationDetails.Builder getTranslationDetailsBuilder()
       Task details for unified SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;
    • getTranslationDetailsOrBuilder

      public TranslationDetailsOrBuilder getTranslationDetailsOrBuilder()
       Task details for unified SQL Translation.
       
      .google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;
      Specified by:
      getTranslationDetailsOrBuilder in interface MigrationTaskOrBuilder
    • getId

      public String getId()
       Output only. Immutable. The unique identifier for the migration task. The
       ID is server-generated.
       
      string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getId in interface MigrationTaskOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       Output only. Immutable. The unique identifier for the migration task. The
       ID is server-generated.
       
      string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Specified by:
      getIdBytes in interface MigrationTaskOrBuilder
      Returns:
      The bytes for id.
    • setId

      public MigrationTask.Builder setId(String value)
       Output only. Immutable. The unique identifier for the migration task. The
       ID is server-generated.
       
      string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public MigrationTask.Builder clearId()
       Output only. Immutable. The unique identifier for the migration task. The
       ID is server-generated.
       
      string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      This builder for chaining.
    • setIdBytes

      public MigrationTask.Builder setIdBytes(com.google.protobuf.ByteString value)
       Output only. Immutable. The unique identifier for the migration task. The
       ID is server-generated.
       
      string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getType

      public String getType()
       The type of the task. This must be one of the supported task types:
       Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
       Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
       Translation_Snowflake2BQ, Translation_Netezza2BQ,
       Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
       Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ,
       Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
       
      string type = 2;
      Specified by:
      getType in interface MigrationTaskOrBuilder
      Returns:
      The type.
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       The type of the task. This must be one of the supported task types:
       Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
       Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
       Translation_Snowflake2BQ, Translation_Netezza2BQ,
       Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
       Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ,
       Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
       
      string type = 2;
      Specified by:
      getTypeBytes in interface MigrationTaskOrBuilder
      Returns:
      The bytes for type.
    • setType

      public MigrationTask.Builder setType(String value)
       The type of the task. This must be one of the supported task types:
       Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
       Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
       Translation_Snowflake2BQ, Translation_Netezza2BQ,
       Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
       Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ,
       Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
       
      string type = 2;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public MigrationTask.Builder clearType()
       The type of the task. This must be one of the supported task types:
       Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
       Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
       Translation_Snowflake2BQ, Translation_Netezza2BQ,
       Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
       Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ,
       Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
       
      string type = 2;
      Returns:
      This builder for chaining.
    • setTypeBytes

      public MigrationTask.Builder setTypeBytes(com.google.protobuf.ByteString value)
       The type of the task. This must be one of the supported task types:
       Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ,
       Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ,
       Translation_Snowflake2BQ, Translation_Netezza2BQ,
       Translation_AzureSynapse2BQ, Translation_Vertica2BQ,
       Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ,
       Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
       
      string type = 2;
      Parameters:
      value - The bytes for type to set.
      Returns:
      This builder for chaining.
    • getStateValue

      public int getStateValue()
       Output only. The current state of the task.
       
      .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface MigrationTaskOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • setStateValue

      public MigrationTask.Builder setStateValue(int value)
       Output only. The current state of the task.
       
      .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for state to set.
      Returns:
      This builder for chaining.
    • getState

      public MigrationTask.State getState()
       Output only. The current state of the task.
       
      .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface MigrationTaskOrBuilder
      Returns:
      The state.
    • setState

      public MigrationTask.Builder setState(MigrationTask.State value)
       Output only. The current state of the task.
       
      .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The state to set.
      Returns:
      This builder for chaining.
    • clearState

      public MigrationTask.Builder clearState()
       Output only. The current state of the task.
       
      .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • hasProcessingError

      public boolean hasProcessingError()
       Output only. An explanation that may be populated when the task is in
       FAILED state.
       
      .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasProcessingError in interface MigrationTaskOrBuilder
      Returns:
      Whether the processingError field is set.
    • getProcessingError

      public ErrorInfo getProcessingError()
       Output only. An explanation that may be populated when the task is in
       FAILED state.
       
      .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProcessingError in interface MigrationTaskOrBuilder
      Returns:
      The processingError.
    • setProcessingError

      public MigrationTask.Builder setProcessingError(ErrorInfo value)
       Output only. An explanation that may be populated when the task is in
       FAILED state.
       
      .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setProcessingError

      public MigrationTask.Builder setProcessingError(ErrorInfo.Builder builderForValue)
       Output only. An explanation that may be populated when the task is in
       FAILED state.
       
      .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeProcessingError

      public MigrationTask.Builder mergeProcessingError(ErrorInfo value)
       Output only. An explanation that may be populated when the task is in
       FAILED state.
       
      .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearProcessingError

      public MigrationTask.Builder clearProcessingError()
       Output only. An explanation that may be populated when the task is in
       FAILED state.
       
      .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProcessingErrorBuilder

      public ErrorInfo.Builder getProcessingErrorBuilder()
       Output only. An explanation that may be populated when the task is in
       FAILED state.
       
      .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getProcessingErrorOrBuilder

      public ErrorInfoOrBuilder getProcessingErrorOrBuilder()
       Output only. An explanation that may be populated when the task is in
       FAILED state.
       
      .google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getProcessingErrorOrBuilder in interface MigrationTaskOrBuilder
    • hasCreateTime

      public boolean hasCreateTime()
       Time when the task was created.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      hasCreateTime in interface MigrationTaskOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Time when the task was created.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      getCreateTime in interface MigrationTaskOrBuilder
      Returns:
      The createTime.
    • setCreateTime

      public MigrationTask.Builder setCreateTime(com.google.protobuf.Timestamp value)
       Time when the task was created.
       
      .google.protobuf.Timestamp create_time = 6;
    • setCreateTime

      public MigrationTask.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Time when the task was created.
       
      .google.protobuf.Timestamp create_time = 6;
    • mergeCreateTime

      public MigrationTask.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
       Time when the task was created.
       
      .google.protobuf.Timestamp create_time = 6;
    • clearCreateTime

      public MigrationTask.Builder clearCreateTime()
       Time when the task was created.
       
      .google.protobuf.Timestamp create_time = 6;
    • getCreateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
       Time when the task was created.
       
      .google.protobuf.Timestamp create_time = 6;
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Time when the task was created.
       
      .google.protobuf.Timestamp create_time = 6;
      Specified by:
      getCreateTimeOrBuilder in interface MigrationTaskOrBuilder
    • hasLastUpdateTime

      public boolean hasLastUpdateTime()
       Time when the task was last updated.
       
      .google.protobuf.Timestamp last_update_time = 7;
      Specified by:
      hasLastUpdateTime in interface MigrationTaskOrBuilder
      Returns:
      Whether the lastUpdateTime field is set.
    • getLastUpdateTime

      public com.google.protobuf.Timestamp getLastUpdateTime()
       Time when the task was last updated.
       
      .google.protobuf.Timestamp last_update_time = 7;
      Specified by:
      getLastUpdateTime in interface MigrationTaskOrBuilder
      Returns:
      The lastUpdateTime.
    • setLastUpdateTime

      public MigrationTask.Builder setLastUpdateTime(com.google.protobuf.Timestamp value)
       Time when the task was last updated.
       
      .google.protobuf.Timestamp last_update_time = 7;
    • setLastUpdateTime

      public MigrationTask.Builder setLastUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Time when the task was last updated.
       
      .google.protobuf.Timestamp last_update_time = 7;
    • mergeLastUpdateTime

      public MigrationTask.Builder mergeLastUpdateTime(com.google.protobuf.Timestamp value)
       Time when the task was last updated.
       
      .google.protobuf.Timestamp last_update_time = 7;
    • clearLastUpdateTime

      public MigrationTask.Builder clearLastUpdateTime()
       Time when the task was last updated.
       
      .google.protobuf.Timestamp last_update_time = 7;
    • getLastUpdateTimeBuilder

      public com.google.protobuf.Timestamp.Builder getLastUpdateTimeBuilder()
       Time when the task was last updated.
       
      .google.protobuf.Timestamp last_update_time = 7;
    • getLastUpdateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()
       Time when the task was last updated.
       
      .google.protobuf.Timestamp last_update_time = 7;
      Specified by:
      getLastUpdateTimeOrBuilder in interface MigrationTaskOrBuilder
    • getResourceErrorDetailsList

      public List<ResourceErrorDetail> getResourceErrorDetailsList()
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceErrorDetailsList in interface MigrationTaskOrBuilder
    • getResourceErrorDetailsCount

      public int getResourceErrorDetailsCount()
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceErrorDetailsCount in interface MigrationTaskOrBuilder
    • getResourceErrorDetails

      public ResourceErrorDetail getResourceErrorDetails(int index)
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceErrorDetails in interface MigrationTaskOrBuilder
    • setResourceErrorDetails

      public MigrationTask.Builder setResourceErrorDetails(int index, ResourceErrorDetail value)
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setResourceErrorDetails

      public MigrationTask.Builder setResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue)
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addResourceErrorDetails

      public MigrationTask.Builder addResourceErrorDetails(ResourceErrorDetail value)
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addResourceErrorDetails

      public MigrationTask.Builder addResourceErrorDetails(int index, ResourceErrorDetail value)
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addResourceErrorDetails

      public MigrationTask.Builder addResourceErrorDetails(ResourceErrorDetail.Builder builderForValue)
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addResourceErrorDetails

      public MigrationTask.Builder addResourceErrorDetails(int index, ResourceErrorDetail.Builder builderForValue)
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllResourceErrorDetails

      public MigrationTask.Builder addAllResourceErrorDetails(Iterable<? extends ResourceErrorDetail> values)
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearResourceErrorDetails

      public MigrationTask.Builder clearResourceErrorDetails()
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removeResourceErrorDetails

      public MigrationTask.Builder removeResourceErrorDetails(int index)
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResourceErrorDetailsBuilder

      public ResourceErrorDetail.Builder getResourceErrorDetailsBuilder(int index)
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResourceErrorDetailsOrBuilder

      public ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder(int index)
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceErrorDetailsOrBuilder in interface MigrationTaskOrBuilder
    • getResourceErrorDetailsOrBuilderList

      public List<? extends ResourceErrorDetailOrBuilder> getResourceErrorDetailsOrBuilderList()
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getResourceErrorDetailsOrBuilderList in interface MigrationTaskOrBuilder
    • addResourceErrorDetailsBuilder

      public ResourceErrorDetail.Builder addResourceErrorDetailsBuilder()
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addResourceErrorDetailsBuilder

      public ResourceErrorDetail.Builder addResourceErrorDetailsBuilder(int index)
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResourceErrorDetailsBuilderList

      public List<ResourceErrorDetail.Builder> getResourceErrorDetailsBuilderList()
       Output only. Provides details to errors and issues encountered while
       processing the task. Presence of error details does not mean that the task
       failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResourceErrorCount

      public int getResourceErrorCount()
       The number or resources with errors. Note: This is not the total
       number of errors as each resource can have more than one error.
       This is used to indicate truncation by having a `resource_error_count`
       that is higher than the size of `resource_error_details`.
       
      int32 resource_error_count = 18;
      Specified by:
      getResourceErrorCount in interface MigrationTaskOrBuilder
      Returns:
      The resourceErrorCount.
    • setResourceErrorCount

      public MigrationTask.Builder setResourceErrorCount(int value)
       The number or resources with errors. Note: This is not the total
       number of errors as each resource can have more than one error.
       This is used to indicate truncation by having a `resource_error_count`
       that is higher than the size of `resource_error_details`.
       
      int32 resource_error_count = 18;
      Parameters:
      value - The resourceErrorCount to set.
      Returns:
      This builder for chaining.
    • clearResourceErrorCount

      public MigrationTask.Builder clearResourceErrorCount()
       The number or resources with errors. Note: This is not the total
       number of errors as each resource can have more than one error.
       This is used to indicate truncation by having a `resource_error_count`
       that is higher than the size of `resource_error_details`.
       
      int32 resource_error_count = 18;
      Returns:
      This builder for chaining.
    • getMetricsList

      public List<TimeSeries> getMetricsList()
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
      Specified by:
      getMetricsList in interface MigrationTaskOrBuilder
    • getMetricsCount

      public int getMetricsCount()
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
      Specified by:
      getMetricsCount in interface MigrationTaskOrBuilder
    • getMetrics

      public TimeSeries getMetrics(int index)
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
      Specified by:
      getMetrics in interface MigrationTaskOrBuilder
    • setMetrics

      public MigrationTask.Builder setMetrics(int index, TimeSeries value)
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
    • setMetrics

      public MigrationTask.Builder setMetrics(int index, TimeSeries.Builder builderForValue)
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
    • addMetrics

      public MigrationTask.Builder addMetrics(TimeSeries value)
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
    • addMetrics

      public MigrationTask.Builder addMetrics(int index, TimeSeries value)
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
    • addMetrics

      public MigrationTask.Builder addMetrics(TimeSeries.Builder builderForValue)
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
    • addMetrics

      public MigrationTask.Builder addMetrics(int index, TimeSeries.Builder builderForValue)
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
    • addAllMetrics

      public MigrationTask.Builder addAllMetrics(Iterable<? extends TimeSeries> values)
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
    • clearMetrics

      public MigrationTask.Builder clearMetrics()
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
    • removeMetrics

      public MigrationTask.Builder removeMetrics(int index)
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
    • getMetricsBuilder

      public TimeSeries.Builder getMetricsBuilder(int index)
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
    • getMetricsOrBuilder

      public TimeSeriesOrBuilder getMetricsOrBuilder(int index)
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
      Specified by:
      getMetricsOrBuilder in interface MigrationTaskOrBuilder
    • getMetricsOrBuilderList

      public List<? extends TimeSeriesOrBuilder> getMetricsOrBuilderList()
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
      Specified by:
      getMetricsOrBuilderList in interface MigrationTaskOrBuilder
    • addMetricsBuilder

      public TimeSeries.Builder addMetricsBuilder()
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
    • addMetricsBuilder

      public TimeSeries.Builder addMetricsBuilder(int index)
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
    • getMetricsBuilderList

      public List<TimeSeries.Builder> getMetricsBuilderList()
       The metrics for the task.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19;
    • hasTaskResult

      public boolean hasTaskResult()
       Output only. The result of the task.
       
      .google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTaskResult in interface MigrationTaskOrBuilder
      Returns:
      Whether the taskResult field is set.
    • getTaskResult

      public MigrationTaskResult getTaskResult()
       Output only. The result of the task.
       
      .google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTaskResult in interface MigrationTaskOrBuilder
      Returns:
      The taskResult.
    • setTaskResult

      public MigrationTask.Builder setTaskResult(MigrationTaskResult value)
       Output only. The result of the task.
       
      .google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setTaskResult

      public MigrationTask.Builder setTaskResult(MigrationTaskResult.Builder builderForValue)
       Output only. The result of the task.
       
      .google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeTaskResult

      public MigrationTask.Builder mergeTaskResult(MigrationTaskResult value)
       Output only. The result of the task.
       
      .google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearTaskResult

      public MigrationTask.Builder clearTaskResult()
       Output only. The result of the task.
       
      .google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTaskResultBuilder

      public MigrationTaskResult.Builder getTaskResultBuilder()
       Output only. The result of the task.
       
      .google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getTaskResultOrBuilder

      public MigrationTaskResultOrBuilder getTaskResultOrBuilder()
       Output only. The result of the task.
       
      .google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTaskResultOrBuilder in interface MigrationTaskOrBuilder
    • getTotalProcessingErrorCount

      public int getTotalProcessingErrorCount()
       Count of all the processing errors in this task and its subtasks.
       
      int32 total_processing_error_count = 21;
      Specified by:
      getTotalProcessingErrorCount in interface MigrationTaskOrBuilder
      Returns:
      The totalProcessingErrorCount.
    • setTotalProcessingErrorCount

      public MigrationTask.Builder setTotalProcessingErrorCount(int value)
       Count of all the processing errors in this task and its subtasks.
       
      int32 total_processing_error_count = 21;
      Parameters:
      value - The totalProcessingErrorCount to set.
      Returns:
      This builder for chaining.
    • clearTotalProcessingErrorCount

      public MigrationTask.Builder clearTotalProcessingErrorCount()
       Count of all the processing errors in this task and its subtasks.
       
      int32 total_processing_error_count = 21;
      Returns:
      This builder for chaining.
    • getTotalResourceErrorCount

      public int getTotalResourceErrorCount()
       Count of all the resource errors in this task and its subtasks.
       
      int32 total_resource_error_count = 22;
      Specified by:
      getTotalResourceErrorCount in interface MigrationTaskOrBuilder
      Returns:
      The totalResourceErrorCount.
    • setTotalResourceErrorCount

      public MigrationTask.Builder setTotalResourceErrorCount(int value)
       Count of all the resource errors in this task and its subtasks.
       
      int32 total_resource_error_count = 22;
      Parameters:
      value - The totalResourceErrorCount to set.
      Returns:
      This builder for chaining.
    • clearTotalResourceErrorCount

      public MigrationTask.Builder clearTotalResourceErrorCount()
       Count of all the resource errors in this task and its subtasks.
       
      int32 total_resource_error_count = 22;
      Returns:
      This builder for chaining.