Interface MigrationTaskOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MigrationTask,MigrationTask.Builder
public interface MigrationTaskOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreateTime()Time when the task was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Time when the task was created.StringgetId()Output only.com.google.protobuf.ByteStringgetIdBytes()Output only.com.google.protobuf.TimestampgetLastUpdateTime()Time when the task was last updated.com.google.protobuf.TimestampOrBuildergetLastUpdateTimeOrBuilder()Time when the task was last updated.com.google.rpc.ErrorInfogetProcessingError()Output only.com.google.rpc.ErrorInfoOrBuildergetProcessingErrorOrBuilder()Output only.MigrationTask.StategetState()Output only.intgetStateValue()Output only.MigrationTask.TaskDetailsCasegetTaskDetailsCase()TranslationConfigDetailsgetTranslationConfigDetails()Task configuration for Batch SQL Translation.TranslationConfigDetailsOrBuildergetTranslationConfigDetailsOrBuilder()Task configuration for Batch SQL Translation.StringgetType()The type of the task.com.google.protobuf.ByteStringgetTypeBytes()The type of the task.booleanhasCreateTime()Time when the task was created.booleanhasLastUpdateTime()Time when the task was last updated.booleanhasProcessingError()Output only.booleanhasTranslationConfigDetails()Task configuration for Batch SQL Translation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTranslationConfigDetails
boolean hasTranslationConfigDetails()
Task configuration for Batch 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 Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;- Returns:
- The translationConfigDetails.
-
getTranslationConfigDetailsOrBuilder
TranslationConfigDetailsOrBuilder getTranslationConfigDetailsOrBuilder()
Task configuration for Batch SQL Translation.
.google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
-
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.
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.
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
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 = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The processingError.
-
getProcessingErrorOrBuilder
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 = 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;
-
getTaskDetailsCase
MigrationTask.TaskDetailsCase getTaskDetailsCase()
-
-