public interface MigrationSubtaskOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Timestamp |
getCreateTime()
Time when the subtask was created.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Time when the subtask was created.
|
com.google.protobuf.Timestamp |
getLastUpdateTime()
Time when the subtask was last updated.
|
com.google.protobuf.TimestampOrBuilder |
getLastUpdateTimeOrBuilder()
Time when the subtask was last updated.
|
TimeSeries |
getMetrics(int index)
The metrics for the subtask.
|
int |
getMetricsCount()
The metrics for the subtask.
|
List<TimeSeries> |
getMetricsList()
The metrics for the subtask.
|
TimeSeriesOrBuilder |
getMetricsOrBuilder(int index)
The metrics for the subtask.
|
List<? extends TimeSeriesOrBuilder> |
getMetricsOrBuilderList()
The metrics for the subtask.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.rpc.ErrorInfo |
getProcessingError()
Output only.
|
com.google.rpc.ErrorInfoOrBuilder |
getProcessingErrorOrBuilder()
Output only.
|
int |
getResourceErrorCount()
The number or resources with errors.
|
ResourceErrorDetail |
getResourceErrorDetails(int index)
Output only.
|
int |
getResourceErrorDetailsCount()
Output only.
|
List<ResourceErrorDetail> |
getResourceErrorDetailsList()
Output only.
|
ResourceErrorDetailOrBuilder |
getResourceErrorDetailsOrBuilder(int index)
Output only.
|
List<? extends ResourceErrorDetailOrBuilder> |
getResourceErrorDetailsOrBuilderList()
Output only.
|
MigrationSubtask.State |
getState()
Output only.
|
int |
getStateValue()
Output only.
|
String |
getTaskId()
The unique ID of the task to which this subtask belongs.
|
com.google.protobuf.ByteString |
getTaskIdBytes()
The unique ID of the task to which this subtask belongs.
|
String |
getType()
The type of the Subtask.
|
com.google.protobuf.ByteString |
getTypeBytes()
The type of the Subtask.
|
boolean |
hasCreateTime()
Time when the subtask was created.
|
boolean |
hasLastUpdateTime()
Time when the subtask was last updated.
|
boolean |
hasProcessingError()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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];
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];
String getTaskId()
The unique ID of the task to which this subtask belongs.
string task_id = 2;com.google.protobuf.ByteString getTaskIdBytes()
The unique ID of the task to which this subtask belongs.
string task_id = 2;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;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;int getStateValue()
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
MigrationSubtask.State getState()
Output only. The current state of the subtask.
.google.cloud.bigquery.migration.v2alpha.MigrationSubtask.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
com.google.rpc.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];
com.google.rpc.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];
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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
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.v2alpha.ResourceErrorDetail resource_error_details = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
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;boolean hasCreateTime()
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;com.google.protobuf.Timestamp getCreateTime()
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Time when the subtask was created.
.google.protobuf.Timestamp create_time = 7;boolean hasLastUpdateTime()
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;com.google.protobuf.Timestamp getLastUpdateTime()
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()
Time when the subtask was last updated.
.google.protobuf.Timestamp last_update_time = 8;List<TimeSeries> getMetricsList()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;TimeSeries getMetrics(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;int getMetricsCount()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;List<? extends TimeSeriesOrBuilder> getMetricsOrBuilderList()
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;TimeSeriesOrBuilder getMetricsOrBuilder(int index)
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2alpha.TimeSeries metrics = 11;Copyright © 2024 Google LLC. All rights reserved.