/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/bigquery/migration/v2alpha/migration_entities.proto

package com.google.cloud.bigquery.migration.v2alpha;

public interface MigrationTaskOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.bigquery.migration.v2alpha.MigrationTask)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Task configuration for Assessment.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
   * </code>
   *
   * @return Whether the assessmentTaskDetails field is set.
   */
  boolean hasAssessmentTaskDetails();
  /**
   *
   *
   * <pre>
   * Task configuration for Assessment.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
   * </code>
   *
   * @return The assessmentTaskDetails.
   */
  com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails getAssessmentTaskDetails();
  /**
   *
   *
   * <pre>
   * Task configuration for Assessment.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails assessment_task_details = 12;
   * </code>
   */
  com.google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetailsOrBuilder
      getAssessmentTaskDetailsOrBuilder();

  /**
   *
   *
   * <pre>
   * Task configuration for Batch/Offline SQL Translation.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
   * </code>
   *
   * @return Whether the translationTaskDetails field is set.
   */
  boolean hasTranslationTaskDetails();
  /**
   *
   *
   * <pre>
   * Task configuration for Batch/Offline SQL Translation.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
   * </code>
   *
   * @return The translationTaskDetails.
   */
  com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails getTranslationTaskDetails();
  /**
   *
   *
   * <pre>
   * Task configuration for Batch/Offline SQL Translation.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2alpha.TranslationTaskDetails translation_task_details = 13;
   * </code>
   */
  com.google.cloud.bigquery.migration.v2alpha.TranslationTaskDetailsOrBuilder
      getTranslationTaskDetailsOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
   * </pre>
   *
   * <code>
   * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
   * </code>
   *
   * @return The id.
   */
  java.lang.String getId();
  /**
   *
   *
   * <pre>
   * Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
   * </pre>
   *
   * <code>
   * string id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
   * </code>
   *
   * @return The bytes for id.
   */
  com.google.protobuf.ByteString getIdBytes();

  /**
   *
   *
   * <pre>
   * The type of the task. This must be a supported task type.
   * </pre>
   *
   * <code>string type = 2;</code>
   *
   * @return The type.
   */
  java.lang.String getType();
  /**
   *
   *
   * <pre>
   * The type of the task. This must be a supported task type.
   * </pre>
   *
   * <code>string type = 2;</code>
   *
   * @return The bytes for type.
   */
  com.google.protobuf.ByteString getTypeBytes();

  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>.google.protobuf.Any details = 3;</code>
   *
   * @return Whether the details field is set.
   */
  boolean hasDetails();
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>.google.protobuf.Any details = 3;</code>
   *
   * @return The details.
   */
  com.google.protobuf.Any getDetails();
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>.google.protobuf.Any details = 3;</code>
   */
  com.google.protobuf.AnyOrBuilder getDetailsOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The current state of the task.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The enum numeric value on the wire for state.
   */
  int getStateValue();
  /**
   *
   *
   * <pre>
   * Output only. The current state of the task.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2alpha.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The state.
   */
  com.google.cloud.bigquery.migration.v2alpha.MigrationTask.State getState();

  /**
   *
   *
   * <pre>
   * Output only. An explanation that may be populated when the task is in FAILED state.
   * </pre>
   *
   * <code>.google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the processingError field is set.
   */
  boolean hasProcessingError();
  /**
   *
   *
   * <pre>
   * Output only. An explanation that may be populated when the task is in FAILED state.
   * </pre>
   *
   * <code>.google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The processingError.
   */
  com.google.rpc.ErrorInfo getProcessingError();
  /**
   *
   *
   * <pre>
   * Output only. An explanation that may be populated when the task is in FAILED state.
   * </pre>
   *
   * <code>.google.rpc.ErrorInfo processing_error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder();

  /**
   *
   *
   * <pre>
   * Time when the task was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 6;</code>
   *
   * @return Whether the createTime field is set.
   */
  boolean hasCreateTime();
  /**
   *
   *
   * <pre>
   * Time when the task was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 6;</code>
   *
   * @return The createTime.
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   *
   *
   * <pre>
   * Time when the task was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 6;</code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Time when the task was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp last_update_time = 7;</code>
   *
   * @return Whether the lastUpdateTime field is set.
   */
  boolean hasLastUpdateTime();
  /**
   *
   *
   * <pre>
   * Time when the task was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp last_update_time = 7;</code>
   *
   * @return The lastUpdateTime.
   */
  com.google.protobuf.Timestamp getLastUpdateTime();
  /**
   *
   *
   * <pre>
   * Time when the task was last updated.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp last_update_time = 7;</code>
   */
  com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. Additional information about the orchestration.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the orchestrationResult field is set.
   */
  boolean hasOrchestrationResult();
  /**
   *
   *
   * <pre>
   * Output only. Additional information about the orchestration.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The orchestrationResult.
   */
  com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult
      getOrchestrationResult();
  /**
   *
   *
   * <pre>
   * Output only. Additional information about the orchestration.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResult orchestration_result = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.bigquery.migration.v2alpha.MigrationTaskOrchestrationResultOrBuilder
      getOrchestrationResultOrBuilder();

  public com.google.cloud.bigquery.migration.v2alpha.MigrationTask.TaskDetailsCase
      getTaskDetailsCase();
}
