/*
 * Copyright 2023 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/v2/migration_entities.proto

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

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

  /**
   *
   *
   * <pre>
   * Task configuration for Batch SQL Translation.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
   * </code>
   *
   * @return Whether the translationConfigDetails field is set.
   */
  boolean hasTranslationConfigDetails();
  /**
   *
   *
   * <pre>
   * Task configuration for Batch SQL Translation.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
   * </code>
   *
   * @return The translationConfigDetails.
   */
  com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getTranslationConfigDetails();
  /**
   *
   *
   * <pre>
   * Task configuration for Batch SQL Translation.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
   * </code>
   */
  com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder
      getTranslationConfigDetailsOrBuilder();

  /**
   *
   *
   * <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 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.
   * </pre>
   *
   * <code>string type = 2;</code>
   *
   * @return The type.
   */
  java.lang.String getType();
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>string type = 2;</code>
   *
   * @return The bytes for type.
   */
  com.google.protobuf.ByteString getTypeBytes();

  /**
   *
   *
   * <pre>
   * Output only. The current state of the task.
   * </pre>
   *
   * <code>
   * .google.cloud.bigquery.migration.v2.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.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The state.
   */
  com.google.cloud.bigquery.migration.v2.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();

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