Interface MigrationSubtaskOrBuilder (0.10.0)

publicinterface MigrationSubtaskOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

publicabstractTimestampgetCreateTime()

Time when the subtask was created.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

publicabstractTimestampOrBuildergetCreateTimeOrBuilder()

Time when the subtask was created.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description

getLastUpdateTime()

publicabstractTimestampgetLastUpdateTime()

Time when the subtask was last updated.

.google.protobuf.Timestamp last_update_time = 8;

Returns
Type Description
Timestamp

The lastUpdateTime.

getLastUpdateTimeOrBuilder()

publicabstractTimestampOrBuildergetLastUpdateTimeOrBuilder()

Time when the subtask was last updated.

.google.protobuf.Timestamp last_update_time = 8;

Returns
Type Description

getMetrics(int index)

publicabstractTimeSeriesgetMetrics(intindex)

The metrics for the subtask.

repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;

Parameter
Name Description
index int
Returns
Type Description

getMetricsCount()

publicabstractintgetMetricsCount()

The metrics for the subtask.

repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;

Returns
Type Description
int

getMetricsList()

publicabstractList<TimeSeries>getMetricsList()

The metrics for the subtask.

repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;

Returns
Type Description

getMetricsOrBuilder(int index)

publicabstractTimeSeriesOrBuildergetMetricsOrBuilder(intindex)

The metrics for the subtask.

repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;

Parameter
Name Description
index int
Returns
Type Description

getMetricsOrBuilderList()

publicabstractList<?extendsTimeSeriesOrBuilder>getMetricsOrBuilderList()

The metrics for the subtask.

repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;

Returns
Type Description
List<? extends com.google.cloud.bigquery.migration.v2alpha.TimeSeriesOrBuilder>

getName()

publicabstractStringgetName()

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
Type Description
String

The name.

getNameBytes()

publicabstractByteStringgetNameBytes()

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
Type Description
ByteString

The bytes for name.

getProcessingError()

publicabstractErrorInfogetProcessingError()

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
Type Description
com.google.rpc.ErrorInfo

The processingError.

getProcessingErrorOrBuilder()

publicabstractErrorInfoOrBuildergetProcessingErrorOrBuilder()

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
Type Description
com.google.rpc.ErrorInfoOrBuilder

getResourceErrorCount()

publicabstractintgetResourceErrorCount()

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
Type Description
int

The resourceErrorCount.

getResourceErrorDetails(int index)

publicabstractResourceErrorDetailgetResourceErrorDetails(intindex)

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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description

getResourceErrorDetailsCount()

publicabstractintgetResourceErrorDetailsCount()

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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getResourceErrorDetailsList()

publicabstractList<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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description

getResourceErrorDetailsOrBuilder(int index)

publicabstractResourceErrorDetailOrBuildergetResourceErrorDetailsOrBuilder(intindex)

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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description

getResourceErrorDetailsOrBuilderList()

publicabstractList<?extendsResourceErrorDetailOrBuilder>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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.bigquery.migration.v2alpha.ResourceErrorDetailOrBuilder>

getState()

publicabstractMigrationSubtask.StategetState()

Output only. The current state of the subtask.

.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description

getStateValue()

publicabstractintgetStateValue()

Output only. The current state of the subtask.

.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTaskId()

publicabstractStringgetTaskId()

The unique ID of the task to which this subtask belongs.

string task_id = 2;

Returns
Type Description
String

The taskId.

getTaskIdBytes()

publicabstractByteStringgetTaskIdBytes()

The unique ID of the task to which this subtask belongs.

string task_id = 2;

Returns
Type Description
ByteString

The bytes for taskId.

getType()

publicabstractStringgetType()

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
Type Description
String

The type.

getTypeBytes()

publicabstractByteStringgetTypeBytes()

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
Type Description
ByteString

The bytes for type.

hasCreateTime()

publicabstractbooleanhasCreateTime()

Time when the subtask was created.

.google.protobuf.Timestamp create_time = 7;

Returns
Type Description
boolean

Whether the createTime field is set.

hasLastUpdateTime()

publicabstractbooleanhasLastUpdateTime()

Time when the subtask was last updated.

.google.protobuf.Timestamp last_update_time = 8;

Returns
Type Description
boolean

Whether the lastUpdateTime field is set.

hasProcessingError()

publicabstractbooleanhasProcessingError()

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
Type Description
boolean

Whether the processingError field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.