Interface MigrationSubtaskOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MigrationSubtask, MigrationSubtask.Builder

@Generated public interface MigrationSubtaskOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Output only. Immutable. The resource name for the migration subtask. The ID
       is server-generated.
      
       Example: `projects/123/locations/us/workflows/345/subtasks/678`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. Immutable. The resource name for the migration subtask. The ID
       is server-generated.
      
       Example: `projects/123/locations/us/workflows/345/subtasks/678`
       
      string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for name.
    • getTaskId

      String getTaskId()
       The unique ID of the task to which this subtask belongs.
       
      string task_id = 2;
      Returns:
      The taskId.
    • getTaskIdBytes

      com.google.protobuf.ByteString getTaskIdBytes()
       The unique ID of the task to which this subtask belongs.
       
      string task_id = 2;
      Returns:
      The bytes for taskId.
    • getType

      String getType()
       The type of the Subtask. The migration service does not check whether this
       is a known type. It is up to the task creator (i.e. orchestrator or worker)
       to ensure it only creates subtasks for which there are compatible workers
       polling for Subtasks.
       
      string type = 3;
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
       The type of the Subtask. The migration service does not check whether this
       is a known type. It is up to the task creator (i.e. orchestrator or worker)
       to ensure it only creates subtasks for which there are compatible workers
       polling for Subtasks.
       
      string type = 3;
      Returns:
      The bytes for type.
    • getStateValue

      int getStateValue()
       Output only. The current state of the subtask.
       
      .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The enum numeric value on the wire for state.
    • getState

       Output only. The current state of the subtask.
       
      .google.cloud.bigquery.migration.v2.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The state.
    • hasProcessingError

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

      ErrorInfo getProcessingError()
       Output only. An explanation that may be populated when the task is in
       FAILED state.
       
      .google.rpc.ErrorInfo processing_error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The processingError.
    • getProcessingErrorOrBuilder

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

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

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

      int getResourceErrorDetailsCount()
       Output only. Provides details to errors and issues encountered while
       processing the subtask. Presence of error details does not mean that the
       subtask failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResourceErrorDetailsOrBuilderList

      List<? extends ResourceErrorDetailOrBuilder> getResourceErrorDetailsOrBuilderList()
       Output only. Provides details to errors and issues encountered while
       processing the subtask. Presence of error details does not mean that the
       subtask failed.
       
      repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getResourceErrorDetailsOrBuilder

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

      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 = 13;
      Returns:
      The resourceErrorCount.
    • hasCreateTime

      boolean hasCreateTime()
       Time when the subtask was created.
       
      .google.protobuf.Timestamp create_time = 7;
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Time when the subtask was created.
       
      .google.protobuf.Timestamp create_time = 7;
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Time when the subtask was created.
       
      .google.protobuf.Timestamp create_time = 7;
    • hasLastUpdateTime

      boolean hasLastUpdateTime()
       Time when the subtask was last updated.
       
      .google.protobuf.Timestamp last_update_time = 8;
      Returns:
      Whether the lastUpdateTime field is set.
    • getLastUpdateTime

      com.google.protobuf.Timestamp getLastUpdateTime()
       Time when the subtask was last updated.
       
      .google.protobuf.Timestamp last_update_time = 8;
      Returns:
      The lastUpdateTime.
    • getLastUpdateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()
       Time when the subtask was last updated.
       
      .google.protobuf.Timestamp last_update_time = 8;
    • getMetricsList

      List<TimeSeries> getMetricsList()
       The metrics for the subtask.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
    • getMetrics

      TimeSeries getMetrics(int index)
       The metrics for the subtask.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
    • getMetricsCount

      int getMetricsCount()
       The metrics for the subtask.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
    • getMetricsOrBuilderList

      List<? extends TimeSeriesOrBuilder> getMetricsOrBuilderList()
       The metrics for the subtask.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
    • getMetricsOrBuilder

      TimeSeriesOrBuilder getMetricsOrBuilder(int index)
       The metrics for the subtask.
       
      repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;