
com.google.cloud.bigquery.migration.v2.MigrationTaskOrBuilder Maven / Gradle / Ivy
/*
* 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/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 {
/**
*
*
*
* Task configuration for Batch SQL Translation.
*
*
*
* .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
*
*
* @return Whether the translationConfigDetails field is set.
*/
boolean hasTranslationConfigDetails();
/**
*
*
*
* Task configuration for Batch SQL Translation.
*
*
*
* .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
*
*
* @return The translationConfigDetails.
*/
com.google.cloud.bigquery.migration.v2.TranslationConfigDetails getTranslationConfigDetails();
/**
*
*
*
* Task configuration for Batch SQL Translation.
*
*
*
* .google.cloud.bigquery.migration.v2.TranslationConfigDetails translation_config_details = 14;
*
*/
com.google.cloud.bigquery.migration.v2.TranslationConfigDetailsOrBuilder
getTranslationConfigDetailsOrBuilder();
/**
*
*
*
* 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];
*
*
* @return The id.
*/
java.lang.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];
*
*
* @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
/**
*
*
*
* 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;
*
* @return The type.
*/
java.lang.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;
*
* @return The bytes for type.
*/
com.google.protobuf.ByteString getTypeBytes();
/**
*
*
*
* Output only. The current state of the task.
*
*
*
* .google.cloud.bigquery.migration.v2.MigrationTask.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
*
*
* @return The enum numeric value on the wire for state.
*/
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];
*
*
* @return The state.
*/
com.google.cloud.bigquery.migration.v2.MigrationTask.State getState();
/**
*
*
*
* 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];
*
*
* @return Whether the processingError field is set.
*/
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];
*
*
* @return The processingError.
*/
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];
*
*/
com.google.rpc.ErrorInfoOrBuilder getProcessingErrorOrBuilder();
/**
*
*
*
* Time when the task was created.
*
*
* .google.protobuf.Timestamp create_time = 6;
*
* @return Whether the createTime field is set.
*/
boolean hasCreateTime();
/**
*
*
*
* Time when the task was created.
*
*
* .google.protobuf.Timestamp create_time = 6;
*
* @return The createTime.
*/
com.google.protobuf.Timestamp getCreateTime();
/**
*
*
*
* Time when the task was created.
*
*
* .google.protobuf.Timestamp create_time = 6;
*/
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
/**
*
*
*
* Time when the task was last updated.
*
*
* .google.protobuf.Timestamp last_update_time = 7;
*
* @return Whether the lastUpdateTime field is set.
*/
boolean hasLastUpdateTime();
/**
*
*
*
* Time when the task was last updated.
*
*
* .google.protobuf.Timestamp last_update_time = 7;
*
* @return The lastUpdateTime.
*/
com.google.protobuf.Timestamp getLastUpdateTime();
/**
*
*
*
* Time when the task was last updated.
*
*
* .google.protobuf.Timestamp last_update_time = 7;
*/
com.google.protobuf.TimestampOrBuilder getLastUpdateTimeOrBuilder();
public com.google.cloud.bigquery.migration.v2.MigrationTask.TaskDetailsCase getTaskDetailsCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy