// Copyright 2025 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
//
//     http://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.

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.2
// source: google/cloud/bigquery/migration/v2alpha/translation_service.proto

package migrationpb

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// Supported SQL translation source dialects.
type TranslateQueryRequest_SqlTranslationSourceDialect int32

const (
	// SqlTranslationSourceDialect not specified.
	TranslateQueryRequest_SQL_TRANSLATION_SOURCE_DIALECT_UNSPECIFIED TranslateQueryRequest_SqlTranslationSourceDialect = 0
	// Teradata SQL.
	TranslateQueryRequest_TERADATA TranslateQueryRequest_SqlTranslationSourceDialect = 1
)

// Enum value maps for TranslateQueryRequest_SqlTranslationSourceDialect.
var (
	TranslateQueryRequest_SqlTranslationSourceDialect_name = map[int32]string{
		0: "SQL_TRANSLATION_SOURCE_DIALECT_UNSPECIFIED",
		1: "TERADATA",
	}
	TranslateQueryRequest_SqlTranslationSourceDialect_value = map[string]int32{
		"SQL_TRANSLATION_SOURCE_DIALECT_UNSPECIFIED": 0,
		"TERADATA": 1,
	}
)

func (x TranslateQueryRequest_SqlTranslationSourceDialect) Enum() *TranslateQueryRequest_SqlTranslationSourceDialect {
	p := new(TranslateQueryRequest_SqlTranslationSourceDialect)
	*p = x
	return p
}

func (x TranslateQueryRequest_SqlTranslationSourceDialect) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (TranslateQueryRequest_SqlTranslationSourceDialect) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_enumTypes[0].Descriptor()
}

func (TranslateQueryRequest_SqlTranslationSourceDialect) Type() protoreflect.EnumType {
	return &file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_enumTypes[0]
}

func (x TranslateQueryRequest_SqlTranslationSourceDialect) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use TranslateQueryRequest_SqlTranslationSourceDialect.Descriptor instead.
func (TranslateQueryRequest_SqlTranslationSourceDialect) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDescGZIP(), []int{0, 0}
}

// The error type of the SQL translation job.
type SqlTranslationError_SqlTranslationErrorType int32

const (
	// SqlTranslationErrorType not specified.
	SqlTranslationError_SQL_TRANSLATION_ERROR_TYPE_UNSPECIFIED SqlTranslationError_SqlTranslationErrorType = 0
	// Failed to parse the input text as a SQL query.
	SqlTranslationError_SQL_PARSE_ERROR SqlTranslationError_SqlTranslationErrorType = 1
	// Found unsupported functions in the input SQL query that are not able to
	// translate.
	SqlTranslationError_UNSUPPORTED_SQL_FUNCTION SqlTranslationError_SqlTranslationErrorType = 2
)

// Enum value maps for SqlTranslationError_SqlTranslationErrorType.
var (
	SqlTranslationError_SqlTranslationErrorType_name = map[int32]string{
		0: "SQL_TRANSLATION_ERROR_TYPE_UNSPECIFIED",
		1: "SQL_PARSE_ERROR",
		2: "UNSUPPORTED_SQL_FUNCTION",
	}
	SqlTranslationError_SqlTranslationErrorType_value = map[string]int32{
		"SQL_TRANSLATION_ERROR_TYPE_UNSPECIFIED": 0,
		"SQL_PARSE_ERROR":                        1,
		"UNSUPPORTED_SQL_FUNCTION":               2,
	}
)

func (x SqlTranslationError_SqlTranslationErrorType) Enum() *SqlTranslationError_SqlTranslationErrorType {
	p := new(SqlTranslationError_SqlTranslationErrorType)
	*p = x
	return p
}

func (x SqlTranslationError_SqlTranslationErrorType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (SqlTranslationError_SqlTranslationErrorType) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_enumTypes[1].Descriptor()
}

func (SqlTranslationError_SqlTranslationErrorType) Type() protoreflect.EnumType {
	return &file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_enumTypes[1]
}

func (x SqlTranslationError_SqlTranslationErrorType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use SqlTranslationError_SqlTranslationErrorType.Descriptor instead.
func (SqlTranslationError_SqlTranslationErrorType) EnumDescriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDescGZIP(), []int{3, 0}
}

// The request of translating a SQL query to Standard SQL.
type TranslateQueryRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. The name of the project to which this translation request belongs.
	// Example: `projects/foo/locations/bar`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The source SQL dialect of `queries`.
	SourceDialect TranslateQueryRequest_SqlTranslationSourceDialect `protobuf:"varint,2,opt,name=source_dialect,json=sourceDialect,proto3,enum=google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest_SqlTranslationSourceDialect" json:"source_dialect,omitempty"`
	// Required. The query to be translated.
	Query         string `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TranslateQueryRequest) Reset() {
	*x = TranslateQueryRequest{}
	mi := &file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TranslateQueryRequest) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TranslateQueryRequest) ProtoMessage() {}

func (x *TranslateQueryRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TranslateQueryRequest.ProtoReflect.Descriptor instead.
func (*TranslateQueryRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDescGZIP(), []int{0}
}

func (x *TranslateQueryRequest) GetParent() string {
	if x != nil {
		return x.Parent
	}
	return ""
}

func (x *TranslateQueryRequest) GetSourceDialect() TranslateQueryRequest_SqlTranslationSourceDialect {
	if x != nil {
		return x.SourceDialect
	}
	return TranslateQueryRequest_SQL_TRANSLATION_SOURCE_DIALECT_UNSPECIFIED
}

func (x *TranslateQueryRequest) GetQuery() string {
	if x != nil {
		return x.Query
	}
	return ""
}

// The response of translating a SQL query to Standard SQL.
type TranslateQueryResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. Immutable. The unique identifier for the SQL translation job.
	// Example: `projects/123/locations/us/translation/1234`
	TranslationJob string `protobuf:"bytes,4,opt,name=translation_job,json=translationJob,proto3" json:"translation_job,omitempty"`
	// The translated result. This will be empty if the translation fails.
	TranslatedQuery string `protobuf:"bytes,1,opt,name=translated_query,json=translatedQuery,proto3" json:"translated_query,omitempty"`
	// The list of errors encountered during the translation, if present.
	Errors []*SqlTranslationError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
	// The list of warnings encountered during the translation, if present,
	// indicates non-semantically correct translation.
	Warnings      []*SqlTranslationWarning `protobuf:"bytes,3,rep,name=warnings,proto3" json:"warnings,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *TranslateQueryResponse) Reset() {
	*x = TranslateQueryResponse{}
	mi := &file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *TranslateQueryResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*TranslateQueryResponse) ProtoMessage() {}

func (x *TranslateQueryResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use TranslateQueryResponse.ProtoReflect.Descriptor instead.
func (*TranslateQueryResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDescGZIP(), []int{1}
}

func (x *TranslateQueryResponse) GetTranslationJob() string {
	if x != nil {
		return x.TranslationJob
	}
	return ""
}

func (x *TranslateQueryResponse) GetTranslatedQuery() string {
	if x != nil {
		return x.TranslatedQuery
	}
	return ""
}

func (x *TranslateQueryResponse) GetErrors() []*SqlTranslationError {
	if x != nil {
		return x.Errors
	}
	return nil
}

func (x *TranslateQueryResponse) GetWarnings() []*SqlTranslationWarning {
	if x != nil {
		return x.Warnings
	}
	return nil
}

// Structured error object capturing the error message and the location in the
// source text where the error occurs.
type SqlTranslationErrorDetail struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Specifies the row from the source text where the error occurred.
	Row int64 `protobuf:"varint,1,opt,name=row,proto3" json:"row,omitempty"`
	// Specifie the column from the source texts where the error occurred.
	Column int64 `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"`
	// A human-readable description of the error.
	Message       string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SqlTranslationErrorDetail) Reset() {
	*x = SqlTranslationErrorDetail{}
	mi := &file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SqlTranslationErrorDetail) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SqlTranslationErrorDetail) ProtoMessage() {}

func (x *SqlTranslationErrorDetail) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SqlTranslationErrorDetail.ProtoReflect.Descriptor instead.
func (*SqlTranslationErrorDetail) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDescGZIP(), []int{2}
}

func (x *SqlTranslationErrorDetail) GetRow() int64 {
	if x != nil {
		return x.Row
	}
	return 0
}

func (x *SqlTranslationErrorDetail) GetColumn() int64 {
	if x != nil {
		return x.Column
	}
	return 0
}

func (x *SqlTranslationErrorDetail) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

// The detailed error object if the SQL translation job fails.
type SqlTranslationError struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The type of SQL translation error.
	ErrorType SqlTranslationError_SqlTranslationErrorType `protobuf:"varint,1,opt,name=error_type,json=errorType,proto3,enum=google.cloud.bigquery.migration.v2alpha.SqlTranslationError_SqlTranslationErrorType" json:"error_type,omitempty"`
	// Specifies the details of the error, including the error message and
	// location from the source text.
	ErrorDetail   *SqlTranslationErrorDetail `protobuf:"bytes,2,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SqlTranslationError) Reset() {
	*x = SqlTranslationError{}
	mi := &file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SqlTranslationError) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SqlTranslationError) ProtoMessage() {}

func (x *SqlTranslationError) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SqlTranslationError.ProtoReflect.Descriptor instead.
func (*SqlTranslationError) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDescGZIP(), []int{3}
}

func (x *SqlTranslationError) GetErrorType() SqlTranslationError_SqlTranslationErrorType {
	if x != nil {
		return x.ErrorType
	}
	return SqlTranslationError_SQL_TRANSLATION_ERROR_TYPE_UNSPECIFIED
}

func (x *SqlTranslationError) GetErrorDetail() *SqlTranslationErrorDetail {
	if x != nil {
		return x.ErrorDetail
	}
	return nil
}

// The detailed warning object if the SQL translation job is completed but not
// semantically correct.
type SqlTranslationWarning struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Specifies the details of the warning, including the warning message and
	// location from the source text.
	WarningDetail *SqlTranslationErrorDetail `protobuf:"bytes,1,opt,name=warning_detail,json=warningDetail,proto3" json:"warning_detail,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SqlTranslationWarning) Reset() {
	*x = SqlTranslationWarning{}
	mi := &file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *SqlTranslationWarning) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*SqlTranslationWarning) ProtoMessage() {}

func (x *SqlTranslationWarning) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use SqlTranslationWarning.ProtoReflect.Descriptor instead.
func (*SqlTranslationWarning) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDescGZIP(), []int{4}
}

func (x *SqlTranslationWarning) GetWarningDetail() *SqlTranslationErrorDetail {
	if x != nil {
		return x.WarningDetail
	}
	return nil
}

var File_google_cloud_bigquery_migration_v2alpha_translation_service_proto protoreflect.FileDescriptor

const file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDesc = "" +
	"\n" +
	"Agoogle/cloud/bigquery/migration/v2alpha/translation_service.proto\x12'google.cloud.bigquery.migration.v2alpha\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xdb\x02\n" +
	"\x15TranslateQueryRequest\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!locations.googleapis.com/LocationR\x06parent\x12\x86\x01\n" +
	"\x0esource_dialect\x18\x02 \x01(\x0e2Z.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest.SqlTranslationSourceDialectB\x03\xe0A\x02R\rsourceDialect\x12\x19\n" +
	"\x05query\x18\x03 \x01(\tB\x03\xe0A\x02R\x05query\"[\n" +
	"\x1bSqlTranslationSourceDialect\x12.\n" +
	"*SQL_TRANSLATION_SOURCE_DIALECT_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bTERADATA\x10\x01\"\xa6\x02\n" +
	"\x16TranslateQueryResponse\x12/\n" +
	"\x0ftranslation_job\x18\x04 \x01(\tB\x06\xe0A\x03\xe0A\x05R\x0etranslationJob\x12)\n" +
	"\x10translated_query\x18\x01 \x01(\tR\x0ftranslatedQuery\x12T\n" +
	"\x06errors\x18\x02 \x03(\v2<.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorR\x06errors\x12Z\n" +
	"\bwarnings\x18\x03 \x03(\v2>.google.cloud.bigquery.migration.v2alpha.SqlTranslationWarningR\bwarnings\"_\n" +
	"\x19SqlTranslationErrorDetail\x12\x10\n" +
	"\x03row\x18\x01 \x01(\x03R\x03row\x12\x16\n" +
	"\x06column\x18\x02 \x01(\x03R\x06column\x12\x18\n" +
	"\amessage\x18\x03 \x01(\tR\amessage\"\xeb\x02\n" +
	"\x13SqlTranslationError\x12s\n" +
	"\n" +
	"error_type\x18\x01 \x01(\x0e2T.google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorTypeR\terrorType\x12e\n" +
	"\ferror_detail\x18\x02 \x01(\v2B.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetailR\verrorDetail\"x\n" +
	"\x17SqlTranslationErrorType\x12*\n" +
	"&SQL_TRANSLATION_ERROR_TYPE_UNSPECIFIED\x10\x00\x12\x13\n" +
	"\x0fSQL_PARSE_ERROR\x10\x01\x12\x1c\n" +
	"\x18UNSUPPORTED_SQL_FUNCTION\x10\x02\"\x82\x01\n" +
	"\x15SqlTranslationWarning\x12i\n" +
	"\x0ewarning_detail\x18\x01 \x01(\v2B.google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetailR\rwarningDetail2\xe3\x02\n" +
	"\x15SqlTranslationService\x12\xf3\x01\n" +
	"\x0eTranslateQuery\x12>.google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest\x1a?.google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse\"`\xdaA\x1bparent,source_dialect,query\x82\xd3\xe4\x93\x02<:\x01*\"7/v2alpha/{parent=projects/*/locations/*}:translateQuery\x1aT\xcaA bigquerymigration.googleapis.com\xd2A.https://www.googleapis.com/auth/cloud-platformB\xe7\x01\n" +
	"+com.google.cloud.bigquery.migration.v2alphaB\x17TranslationServiceProtoP\x01ZIcloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb;migrationpb\xaa\x02'Google.Cloud.BigQuery.Migration.V2Alpha\xca\x02'Google\\Cloud\\BigQuery\\Migration\\V2alphab\x06proto3"

var (
	file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDescOnce sync.Once
	file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDescData []byte
)

func file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDescGZIP() []byte {
	file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDescOnce.Do(func() {
		file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDesc), len(file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDesc)))
	})
	return file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDescData
}

var file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_goTypes = []any{
	(TranslateQueryRequest_SqlTranslationSourceDialect)(0), // 0: google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest.SqlTranslationSourceDialect
	(SqlTranslationError_SqlTranslationErrorType)(0),       // 1: google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType
	(*TranslateQueryRequest)(nil),                          // 2: google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest
	(*TranslateQueryResponse)(nil),                         // 3: google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse
	(*SqlTranslationErrorDetail)(nil),                      // 4: google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail
	(*SqlTranslationError)(nil),                            // 5: google.cloud.bigquery.migration.v2alpha.SqlTranslationError
	(*SqlTranslationWarning)(nil),                          // 6: google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning
}
var file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_depIdxs = []int32{
	0, // 0: google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest.source_dialect:type_name -> google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest.SqlTranslationSourceDialect
	5, // 1: google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse.errors:type_name -> google.cloud.bigquery.migration.v2alpha.SqlTranslationError
	6, // 2: google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse.warnings:type_name -> google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning
	1, // 3: google.cloud.bigquery.migration.v2alpha.SqlTranslationError.error_type:type_name -> google.cloud.bigquery.migration.v2alpha.SqlTranslationError.SqlTranslationErrorType
	4, // 4: google.cloud.bigquery.migration.v2alpha.SqlTranslationError.error_detail:type_name -> google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail
	4, // 5: google.cloud.bigquery.migration.v2alpha.SqlTranslationWarning.warning_detail:type_name -> google.cloud.bigquery.migration.v2alpha.SqlTranslationErrorDetail
	2, // 6: google.cloud.bigquery.migration.v2alpha.SqlTranslationService.TranslateQuery:input_type -> google.cloud.bigquery.migration.v2alpha.TranslateQueryRequest
	3, // 7: google.cloud.bigquery.migration.v2alpha.SqlTranslationService.TranslateQuery:output_type -> google.cloud.bigquery.migration.v2alpha.TranslateQueryResponse
	7, // [7:8] is the sub-list for method output_type
	6, // [6:7] is the sub-list for method input_type
	6, // [6:6] is the sub-list for extension type_name
	6, // [6:6] is the sub-list for extension extendee
	0, // [0:6] is the sub-list for field type_name
}

func init() { file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_init() }
func file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_init() {
	if File_google_cloud_bigquery_migration_v2alpha_translation_service_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDesc), len(file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_rawDesc)),
			NumEnums:      2,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_goTypes,
		DependencyIndexes: file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_depIdxs,
		EnumInfos:         file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_enumTypes,
		MessageInfos:      file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_msgTypes,
	}.Build()
	File_google_cloud_bigquery_migration_v2alpha_translation_service_proto = out.File
	file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_goTypes = nil
	file_google_cloud_bigquery_migration_v2alpha_translation_service_proto_depIdxs = nil
}
