Interface MigrationSubtaskOrBuilder (0.22.0)

public interface MigrationSubtaskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Time when the subtask was created.

.google.protobuf.Timestamp create_time = 7;

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Time when the subtask was created.

.google.protobuf.Timestamp create_time = 7;

Returns
TypeDescription
TimestampOrBuilder

getLastUpdateTime()

public abstract Timestamp getLastUpdateTime()

Time when the subtask was last updated.

.google.protobuf.Timestamp last_update_time = 8;

Returns
TypeDescription
Timestamp

The lastUpdateTime.

getLastUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getLastUpdateTimeOrBuilder()

Time when the subtask was last updated.

.google.protobuf.Timestamp last_update_time = 8;

Returns
TypeDescription
TimestampOrBuilder

getMetrics(int index)

public abstract TimeSeries getMetrics(int index)

The metrics for the subtask.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeries

getMetricsCount()

public abstract int getMetricsCount()

The metrics for the subtask.

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

Returns
TypeDescription
int

getMetricsList()

public abstract List<TimeSeries> getMetricsList()

The metrics for the subtask.

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

Returns
TypeDescription
List<TimeSeries>

getMetricsOrBuilder(int index)

public abstract TimeSeriesOrBuilder getMetricsOrBuilder(int index)

The metrics for the subtask.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TimeSeriesOrBuilder

getMetricsOrBuilderList()

public abstract List<? extends TimeSeriesOrBuilder> getMetricsOrBuilderList()

The metrics for the subtask.

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

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.migration.v2.TimeSeriesOrBuilder>

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getProcessingError()

public abstract 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
TypeDescription
com.google.rpc.ErrorInfo

The processingError.

getProcessingErrorOrBuilder()

public abstract 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];

Returns
TypeDescription
com.google.rpc.ErrorInfoOrBuilder

getResourceErrorCount()

public abstract 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
TypeDescription
int

The resourceErrorCount.

getResourceErrorDetails(int index)

public abstract 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];

Parameter
NameDescription
indexint
Returns
TypeDescription
ResourceErrorDetail

getResourceErrorDetailsCount()

public abstract 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];