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 AssessmentTaskDetails
getAssessmentTaskDetails()
Task configuration for Assessment.AssessmentTaskDetailsOrBuilder
getAssessmentTaskDetailsOrBuilder()
Task configuration for Assessment.com.google.protobuf.Timestamp
getCreateTime()
Time when the task was created.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Time when the task was created.com.google.protobuf.Any
getDetails()
DEPRECATED! Use one of the task_details below.com.google.protobuf.AnyOrBuilder
getDetailsOrBuilder()
DEPRECATED! Use one of the task_details below.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.MigrationTaskOrchestrationResult
getOrchestrationResult()
Output only.MigrationTaskOrchestrationResultOrBuilder
getOrchestrationResultOrBuilder()
Output only.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()
TranslationTaskDetails
getTranslationTaskDetails()
Task configuration for Batch/Offline SQL Translation.TranslationTaskDetailsOrBuilder
getTranslationTaskDetailsOrBuilder()
Task configuration for Batch/Offline SQL Translation.String
getType()
The type of the task.com.google.protobuf.ByteString
getTypeBytes()
The type of the task.boolean
hasAssessmentTaskDetails()
Task configuration for Assessment.boolean
hasCreateTime()
Time when the task was created.boolean
hasDetails()
DEPRECATED! Use one of the task_details below.boolean
hasLastUpdateTime()
Time when the task was last updated.boolean
hasOrchestrationResult()
Output only.boolean
hasProcessingError()
Output only.boolean
hasTranslationTaskDetails()
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()
-
-