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.Timestamp
getCreateTime()
Time when the task was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Time when the task was created.String
getId()
Output only.com.google.protobuf.ByteString
getIdBytes()
Output only.com.google.protobuf.Timestamp
getLastUpdateTime()
Time when the task was last updated.com.google.protobuf.TimestampOrBuilder
getLastUpdateTimeOrBuilder()
Time when the task was last updated.com.google.rpc.ErrorInfo
getProcessingError()
Output only.com.google.rpc.ErrorInfoOrBuilder
getProcessingErrorOrBuilder()
Output only.MigrationTask.State
getState()
Output only.int
getStateValue()
Output only.MigrationTask.TaskDetailsCase
getTaskDetailsCase()
TranslationConfigDetails
getTranslationConfigDetails()
Task configuration for Batch SQL Translation.TranslationConfigDetailsOrBuilder
getTranslationConfigDetailsOrBuilder()
Task configuration for Batch SQL Translation.String
getType()
The type of the task.com.google.protobuf.ByteString
getTypeBytes()
The type of the task.boolean
hasCreateTime()
Time when the task was created.boolean
hasLastUpdateTime()
Time when the task was last updated.boolean
hasProcessingError()
Output only.boolean
hasTranslationConfigDetails()
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()
-
-