Interface MigrationTaskOrBuilder (0.52.0)

public interface MigrationTaskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Time when the task was created.

.google.protobuf.Timestamp create_time = 6;

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Time when the task was created.

.google.protobuf.Timestamp create_time = 6;

Returns
Type Description
TimestampOrBuilder

getId()

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

The id.

getIdBytes()

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

The bytes for id.

getLastUpdateTime()

public abstract Timestamp getLastUpdateTime()

Time when the task was last updated.

.google.protobuf.Timestamp last_update_time = 7;

Returns
Type Description
Timestamp

The lastUpdateTime.

getLastUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getLastUpdateTimeOrBuilder()

Time when the task was last updated.

.google.protobuf.Timestamp last_update_time = 7;

Returns
Type Description
TimestampOrBuilder

getMetrics(int index)

public abstract TimeSeries getMetrics(int index)

The metrics for the task.

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

Parameter
Name Description
index int
Returns
Type Description
TimeSeries

getMetricsCount()

public abstract int getMetricsCount()

The metrics for the task.

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

Returns
Type Description
int

getMetricsList()

public abstract List<TimeSeries> getMetricsList()

The metrics for the task.

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

Returns
Type Description
List<TimeSeries>

getMetricsOrBuilder(int index)

public abstract TimeSeriesOrBuilder getMetricsOrBuilder(int index)

The metrics for the task.

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

Parameter
Name Description
index int
Returns
Type Description
TimeSeriesOrBuilder

getMetricsOrBuilderList()

public abstract List<? extends TimeSeriesOrBuilder> getMetricsOrBuilderList()

The metrics for the task.

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

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

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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
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 = 18;

Returns
Type Description
int

The resourceErrorCount.

getResourceErrorDetails(int index)

public abstract ResourceErrorDetail getResourceErrorDetails(int index)

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

Parameter
Name Description
index int
Returns
Type Description
ResourceErrorDetail

getResourceErrorDetailsCount()

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

Returns
Type Description
int

getResourceErrorDetailsList()

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

Returns
Type Description
List<ResourceErrorDetail>

getResourceErrorDetailsOrBuilder(int index)

public abstract ResourceErrorDetailOrBuilder getResourceErrorDetailsOrBuilder(int index)

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

Parameter
Name Description
index int
Returns
Type Description
ResourceErrorDetailOrBuilder

getResourceErrorDetailsOrBuilderList()

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

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

getState()

public abstract 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
Type Description
MigrationTask.State

The state.

getStateValue()

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

The enum numeric value on the wire for state.

getTaskDetailsCase()

public abstract MigrationTask.TaskDetailsCase getTaskDetailsCase()
Returns
Type Description
MigrationTask.TaskDetailsCase

getTaskResult()

public abstract 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
Type Description
MigrationTaskResult

The taskResult.

getTaskResultOrBuilder()

public abstract MigrationTaskResultOrBuilder getTaskResultOrBuilder()

Output only. The result of the task.

.google.cloud.bigquery.migration.v2.MigrationTaskResult task_result = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
MigrationTaskResultOrBuilder

getTotalProcessingErrorCount()

public abstract int getTotalProcessingErrorCount()

Count of all the processing errors in this task and its subtasks.

int32 total_processing_error_count = 21;

Returns
Type Description
int

The totalProcessingErrorCount.

getTotalResourceErrorCount()

public abstract int getTotalResourceErrorCount()

Count of all the resource errors in this task and its subtasks.

int32 total_resource_error_count = 22;

Returns
Type Description
int

The totalResourceErrorCount.

getTranslationConfigDetails()

public abstract TranslationConfigDetails getTranslationConfigDetails()

Task configuration for CW Batch/Offline SQL Translation.

.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;

Returns
Type Description
TranslationConfigDetails

The translationConfigDetails.

getTranslationConfigDetailsOrBuilder()

public abstract TranslationConfigDetailsOrBuilder getTranslationConfigDetailsOrBuilder()

Task configuration for CW Batch/Offline SQL Translation.

.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;

Returns
Type Description
TranslationConfigDetailsOrBuilder

getTranslationDetails()

public abstract TranslationDetails getTranslationDetails()

Task details for unified SQL Translation.

.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;

Returns
Type Description
TranslationDetails

The translationDetails.

getTranslationDetailsOrBuilder()

public abstract TranslationDetailsOrBuilder getTranslationDetailsOrBuilder()

Task details for unified SQL Translation.

.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;

Returns
Type Description
TranslationDetailsOrBuilder

getType()

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

The type.

getTypeBytes()

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

The bytes for type.

hasCreateTime()

public abstract boolean hasCreateTime()

Time when the task was created.

.google.protobuf.Timestamp create_time = 6;

Returns
Type Description
boolean

Whether the createTime field is set.

hasLastUpdateTime()

public abstract boolean hasLastUpdateTime()

Time when the task was last updated.

.google.protobuf.Timestamp last_update_time = 7;

Returns
Type Description
boolean

Whether the lastUpdateTime field is set.

hasProcessingError()

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

Whether the processingError field is set.

hasTaskResult()

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

Whether the taskResult field is set.

hasTranslationConfigDetails()

public abstract boolean hasTranslationConfigDetails()

Task configuration for CW Batch/Offline SQL Translation.

.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;

Returns
Type Description
boolean

Whether the translationConfigDetails field is set.

hasTranslationDetails()

public abstract boolean hasTranslationDetails()

Task details for unified SQL Translation.

.google.cloud.bigquery.migration.v2.TranslationDetails translation_details = 16;

Returns
Type Description
boolean

Whether the translationDetails field is set.