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 Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampTime when the subtask was created.com.google.protobuf.TimestampOrBuilderTime when the subtask was created.com.google.protobuf.TimestampTime when the subtask was last updated.com.google.protobuf.TimestampOrBuilderTime when the subtask was last updated.getMetrics(int index) The metrics for the subtask.intThe metrics for the subtask.The metrics for the subtask.getMetricsOrBuilder(int index) The metrics for the subtask.List<? extends TimeSeriesOrBuilder>The metrics for the subtask.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.Output only.intThe number or resources with errors.getResourceErrorDetails(int index) Output only.intOutput only.Output only.getResourceErrorDetailsOrBuilder(int index) Output only.List<? extends ResourceErrorDetailOrBuilder>Output only.getState()Output only.intOutput only.The unique ID of the task to which this subtask belongs.com.google.protobuf.ByteStringThe unique ID of the task to which this subtask belongs.getType()The type of the Subtask.com.google.protobuf.ByteStringThe type of the Subtask.booleanTime when the subtask was created.booleanTime when the subtask was last updated.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
MigrationSubtask.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
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
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
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
The metrics for the subtask.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 11;
-