Interface MigrationTaskOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MigrationTask,MigrationTask.Builder
@Generated
public interface MigrationTaskOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampTime when the task was created.com.google.protobuf.TimestampOrBuilderTime when the task was created.getId()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.TimestampTime when the task was last updated.com.google.protobuf.TimestampOrBuilderTime when the task was last updated.getMetrics(int index) The metrics for the task.intThe metrics for the task.The metrics for the task.getMetricsOrBuilder(int index) The metrics for the task.List<? extends TimeSeriesOrBuilder>The metrics for the task.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.Output only.Output only.intCount of all the processing errors in this task and its subtasks.intCount of all the resource errors in this task and its subtasks.Task configuration for CW Batch/Offline SQL Translation.Task configuration for CW Batch/Offline SQL Translation.Task details for unified SQL Translation.Task details for unified SQL Translation.getType()The type of the task.com.google.protobuf.ByteStringThe type of the task.booleanTime when the task was created.booleanTime when the task was last updated.booleanOutput only.booleanOutput only.booleanTask configuration for CW Batch/Offline SQL Translation.booleanTask details for unified SQL Translation.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
-
hasTranslationConfigDetails
boolean hasTranslationConfigDetails()Task configuration for CW Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;- Returns:
- Whether the translationConfigDetails field is set.
-
getTranslationConfigDetails
TranslationConfigDetails getTranslationConfigDetails()Task configuration for CW Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;- Returns:
- The translationConfigDetails.
-
getTranslationConfigDetailsOrBuilder
TranslationConfigDetailsOrBuilder getTranslationConfigDetailsOrBuilder()Task configuration for CW Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14; -
hasTranslationDetails
boolean hasTranslationDetails()Task details for unified SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;- Returns:
- Whether the translationDetails field is set.
-
getTranslationDetails
TranslationDetails getTranslationDetails()Task details for unified SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;- Returns:
- The translationDetails.
-
getTranslationDetailsOrBuilder
TranslationDetailsOrBuilder getTranslationDetailsOrBuilder()Task details for unified SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16; -
getId
String getId()Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- The bytes for id.
-
getType
String getType()The type of the task. This must be one of the supported task types: Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, Translation_Snowflake2BQ, Translation_Netezza2BQ, Translation_AzureSynapse2BQ, Translation_Vertica2BQ, Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ, Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
string type = 2;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()The type of the task. This must be one of the supported task types: Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, Translation_Snowflake2BQ, Translation_Netezza2BQ, Translation_AzureSynapse2BQ, Translation_Vertica2BQ, Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ, Translation_Postgresql2BQ, Translation_SQLite2BQ, Translation_Greenplum2BQ.
string type = 2;- Returns:
- The bytes for type.
-
getStateValue
int getStateValue()Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for state.
-
getState
MigrationTask.State getState()Output only. The current state of the task.
.google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.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 = 5 [(.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 = 5 [(.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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasCreateTime
boolean hasCreateTime()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Time when the task was created.
.google.protobuf.Timestamp create_time = 6;- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Time when the task was created.
.google.protobuf.Timestamp create_time = 6; -
hasLastUpdateTime
boolean hasLastUpdateTime()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;- Returns:
- Whether the lastUpdateTime field is set.
-
getLastUpdateTime
com.google.protobuf.Timestamp getLastUpdateTime()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7;- Returns:
- The lastUpdateTime.
-
getLastUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder()Time when the task was last updated.
.google.protobuf.Timestamp last_update_time = 7; -
getResourceErrorDetailsList
List<ResourceErrorDetail> getResourceErrorDetailsList()Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResourceErrorDetails
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResourceErrorDetailsCount
int getResourceErrorDetailsCount()Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResourceErrorDetailsOrBuilderList
List<? extends ResourceErrorDetailOrBuilder> getResourceErrorDetailsOrBuilderList()Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getResourceErrorDetailsOrBuilder
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
repeated .google.cloud.bigquery.migration.v2.ResourceErrorDetail resource_error_details = 17 [(.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 = 18;- Returns:
- The resourceErrorCount.
-
getMetricsList
List<TimeSeries> getMetricsList()The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
getMetrics
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
getMetricsCount
int getMetricsCount()The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
getMetricsOrBuilderList
List<? extends TimeSeriesOrBuilder> getMetricsOrBuilderList()The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
getMetricsOrBuilder
The metrics for the task.
repeated .google.cloud.bigquery.migration.v2.TimeSeries metrics = 19; -
hasTaskResult
boolean hasTaskResult()Output only. The result of the task.
.google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the taskResult field is set.
-
getTaskResult
MigrationTaskResult getTaskResult()Output only. The result of the task.
.google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The taskResult.
-
getTaskResultOrBuilder
MigrationTaskResultOrBuilder getTaskResultOrBuilder()Output only. The result of the task.
.google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getTotalProcessingErrorCount
int getTotalProcessingErrorCount()Count of all the processing errors in this task and its subtasks.
int32 total_processing_error_count = 21;- Returns:
- The totalProcessingErrorCount.
-
getTotalResourceErrorCount
int getTotalResourceErrorCount()Count of all the resource errors in this task and its subtasks.
int32 total_resource_error_count = 22;- Returns:
- The totalResourceErrorCount.
-
getTaskDetailsCase
MigrationTask.TaskDetailsCase getTaskDetailsCase()
-