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 AssessmentTaskDetailsgetAssessmentTaskDetails()Task configuration for Assessment.AssessmentTaskDetailsOrBuildergetAssessmentTaskDetailsOrBuilder()Task configuration for Assessment.com.google.protobuf.TimestampgetCreateTime()Time when the task was created.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Time when the task was created.com.google.protobuf.AnygetDetails()DEPRECATED! Use one of the task_details below.com.google.protobuf.AnyOrBuildergetDetailsOrBuilder()DEPRECATED! Use one of the task_details below.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.MigrationTaskOrchestrationResultgetOrchestrationResult()Output only.MigrationTaskOrchestrationResultOrBuildergetOrchestrationResultOrBuilder()Output only.com.google.rpc.ErrorInfogetProcessingError()Output only.com.google.rpc.ErrorInfoOrBuildergetProcessingErrorOrBuilder()Output only.MigrationTask.StategetState()Output only.intgetStateValue()Output only.MigrationTask.TaskDetailsCasegetTaskDetailsCase()TranslationTaskDetailsgetTranslationTaskDetails()Task configuration for Batch/Offline SQL Translation.TranslationTaskDetailsOrBuildergetTranslationTaskDetailsOrBuilder()Task configuration for Batch/Offline SQL Translation.StringgetType()The type of the task.com.google.protobuf.ByteStringgetTypeBytes()The type of the task.booleanhasAssessmentTaskDetails()Task configuration for Assessment.booleanhasCreateTime()Time when the task was created.booleanhasDetails()DEPRECATED! Use one of the task_details below.booleanhasLastUpdateTime()Time when the task was last updated.booleanhasOrchestrationResult()Output only.booleanhasProcessingError()Output only.booleanhasTranslationTaskDetails()Task configuration for Batch/Offline SQL Translation.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasAssessmentTaskDetails
boolean hasAssessmentTaskDetails()
Task configuration for Assessment.
.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;- Returns:
- Whether the assessmentTaskDetails field is set.
-
getAssessmentTaskDetails
AssessmentTaskDetails getAssessmentTaskDetails()
Task configuration for Assessment.
.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;- Returns:
- The assessmentTaskDetails.
-
getAssessmentTaskDetailsOrBuilder
AssessmentTaskDetailsOrBuilder getAssessmentTaskDetailsOrBuilder()
Task configuration for Assessment.
.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
-
hasTranslationTaskDetails
boolean hasTranslationTaskDetails()
Task configuration for Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;- Returns:
- Whether the translationTaskDetails field is set.
-
getTranslationTaskDetails
TranslationTaskDetails getTranslationTaskDetails()
Task configuration for Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;- Returns:
- The translationTaskDetails.
-
getTranslationTaskDetailsOrBuilder
TranslationTaskDetailsOrBuilder getTranslationTaskDetailsOrBuilder()
Task configuration for Batch/Offline SQL Translation.
.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
-
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 a supported task type.
string type = 2;- Returns:
- The type.
-
getTypeBytes
com.google.protobuf.ByteString getTypeBytes()
The type of the task. This must be a supported task type.
string type = 2;- Returns:
- The bytes for type.
-
hasDetails
boolean hasDetails()
DEPRECATED! Use one of the task_details below. The details of the task. The type URL must be one of the supported task details messages and correspond to the Task's type.
.google.protobuf.Any details = 3;- Returns:
- Whether the details field is set.
-
getDetails
com.google.protobuf.Any getDetails()
DEPRECATED! Use one of the task_details below. The details of the task. The type URL must be one of the supported task details messages and correspond to the Task's type.
.google.protobuf.Any details = 3;- Returns:
- The details.
-
getDetailsOrBuilder
com.google.protobuf.AnyOrBuilder getDetailsOrBuilder()
DEPRECATED! Use one of the task_details below. The details of the task. The type URL must be one of the supported task details messages and correspond to the Task's type.
.google.protobuf.Any details = 3;
-
getStateValue
int getStateValue()
Output only. The current state of the task.
.google.cloud.bigquery.migration.v2alpha.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.v2alpha.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;
-
hasOrchestrationResult
boolean hasOrchestrationResult()
Output only. Additional information about the orchestration.
.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the orchestrationResult field is set.
-
getOrchestrationResult
MigrationTaskOrchestrationResult getOrchestrationResult()
Output only. Additional information about the orchestration.
.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The orchestrationResult.
-
getOrchestrationResultOrBuilder
MigrationTaskOrchestrationResultOrBuilder getOrchestrationResultOrBuilder()
Output only. Additional information about the orchestration.
.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTaskDetailsCase
MigrationTask.TaskDetailsCase getTaskDetailsCase()
-
-