// 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/connection/v1/connection.proto

package connectionpb

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

	iampb "cloud.google.com/go/iam/apiv1/iampb"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
)

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 Cloud SQL database types.
type CloudSqlProperties_DatabaseType int32

const (
	// Unspecified database type.
	CloudSqlProperties_DATABASE_TYPE_UNSPECIFIED CloudSqlProperties_DatabaseType = 0
	// Cloud SQL for PostgreSQL.
	CloudSqlProperties_POSTGRES CloudSqlProperties_DatabaseType = 1
	// Cloud SQL for MySQL.
	CloudSqlProperties_MYSQL CloudSqlProperties_DatabaseType = 2
)

// Enum value maps for CloudSqlProperties_DatabaseType.
var (
	CloudSqlProperties_DatabaseType_name = map[int32]string{
		0: "DATABASE_TYPE_UNSPECIFIED",
		1: "POSTGRES",
		2: "MYSQL",
	}
	CloudSqlProperties_DatabaseType_value = map[string]int32{
		"DATABASE_TYPE_UNSPECIFIED": 0,
		"POSTGRES":                  1,
		"MYSQL":                     2,
	}
)

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

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

func (CloudSqlProperties_DatabaseType) Descriptor() protoreflect.EnumDescriptor {
	return file_google_cloud_bigquery_connection_v1_connection_proto_enumTypes[0].Descriptor()
}

func (CloudSqlProperties_DatabaseType) Type() protoreflect.EnumType {
	return &file_google_cloud_bigquery_connection_v1_connection_proto_enumTypes[0]
}

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

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

// The request for
// [ConnectionService.CreateConnection][google.cloud.bigquery.connection.v1.ConnectionService.CreateConnection].
type CreateConnectionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Parent resource name.
	// Must be in the format `projects/{project_id}/locations/{location_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Connection id that should be assigned to the created connection.
	ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	// Required. Connection to create.
	Connection    *Connection `protobuf:"bytes,3,opt,name=connection,proto3" json:"connection,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateConnectionRequest) ProtoMessage() {}

func (x *CreateConnectionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_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 CreateConnectionRequest.ProtoReflect.Descriptor instead.
func (*CreateConnectionRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{0}
}

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

func (x *CreateConnectionRequest) GetConnectionId() string {
	if x != nil {
		return x.ConnectionId
	}
	return ""
}

func (x *CreateConnectionRequest) GetConnection() *Connection {
	if x != nil {
		return x.Connection
	}
	return nil
}

// The request for
// [ConnectionService.GetConnection][google.cloud.bigquery.connection.v1.ConnectionService.GetConnection].
type GetConnectionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Name of the requested connection, for example:
	// `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetConnectionRequest) ProtoMessage() {}

func (x *GetConnectionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_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 GetConnectionRequest.ProtoReflect.Descriptor instead.
func (*GetConnectionRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{1}
}

func (x *GetConnectionRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

// The request for
// [ConnectionService.ListConnections][google.cloud.bigquery.connection.v1.ConnectionService.ListConnections].
type ListConnectionsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Parent resource name.
	// Must be in the form: `projects/{project_id}/locations/{location_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Page size.
	PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.
	PageToken     string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListConnectionsRequest) ProtoMessage() {}

func (x *ListConnectionsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_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 ListConnectionsRequest.ProtoReflect.Descriptor instead.
func (*ListConnectionsRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{2}
}

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

func (x *ListConnectionsRequest) GetPageSize() int32 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListConnectionsRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

// The response for
// [ConnectionService.ListConnections][google.cloud.bigquery.connection.v1.ConnectionService.ListConnections].
type ListConnectionsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Next page token.
	NextPageToken string `protobuf:"bytes,1,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// List of connections.
	Connections   []*Connection `protobuf:"bytes,2,rep,name=connections,proto3" json:"connections,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListConnectionsResponse) ProtoMessage() {}

func (x *ListConnectionsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_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 ListConnectionsResponse.ProtoReflect.Descriptor instead.
func (*ListConnectionsResponse) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{3}
}

func (x *ListConnectionsResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

func (x *ListConnectionsResponse) GetConnections() []*Connection {
	if x != nil {
		return x.Connections
	}
	return nil
}

// The request for
// [ConnectionService.UpdateConnection][google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnection].
type UpdateConnectionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Name of the connection to update, for example:
	// `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Connection containing the updated fields.
	Connection *Connection `protobuf:"bytes,2,opt,name=connection,proto3" json:"connection,omitempty"`
	// Required. Update mask for the connection fields to be updated.
	UpdateMask    *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateConnectionRequest) ProtoMessage() {}

func (x *UpdateConnectionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_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 UpdateConnectionRequest.ProtoReflect.Descriptor instead.
func (*UpdateConnectionRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{4}
}

func (x *UpdateConnectionRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *UpdateConnectionRequest) GetConnection() *Connection {
	if x != nil {
		return x.Connection
	}
	return nil
}

func (x *UpdateConnectionRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

// The request for [ConnectionService.DeleteConnectionRequest][].
type DeleteConnectionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Name of the deleted connection, for example:
	// `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
	Name          string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteConnectionRequest) Reset() {
	*x = DeleteConnectionRequest{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeleteConnectionRequest) ProtoMessage() {}

func (x *DeleteConnectionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[5]
	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 DeleteConnectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteConnectionRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{5}
}

func (x *DeleteConnectionRequest) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

// Configuration parameters to establish connection with an external data
// source, except the credential attributes.
type Connection struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The resource name of the connection in the form of:
	// `projects/{project_id}/locations/{location_id}/connections/{connection_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// User provided display name for the connection.
	FriendlyName string `protobuf:"bytes,2,opt,name=friendly_name,json=friendlyName,proto3" json:"friendly_name,omitempty"`
	// User provided description.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Properties specific to the underlying data source.
	//
	// Types that are valid to be assigned to Properties:
	//
	//	*Connection_CloudSql
	//	*Connection_Aws
	//	*Connection_Azure
	//	*Connection_CloudSpanner
	//	*Connection_CloudResource
	//	*Connection_Spark
	//	*Connection_SalesforceDataCloud
	Properties isConnection_Properties `protobuf_oneof:"properties"`
	// Output only. The creation timestamp of the connection.
	CreationTime int64 `protobuf:"varint,5,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
	// Output only. The last update timestamp of the connection.
	LastModifiedTime int64 `protobuf:"varint,6,opt,name=last_modified_time,json=lastModifiedTime,proto3" json:"last_modified_time,omitempty"`
	// Output only. True, if credential is configured for this connection.
	HasCredential bool `protobuf:"varint,7,opt,name=has_credential,json=hasCredential,proto3" json:"has_credential,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Connection) Reset() {
	*x = Connection{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*Connection) ProtoMessage() {}

func (x *Connection) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[6]
	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 Connection.ProtoReflect.Descriptor instead.
func (*Connection) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{6}
}

func (x *Connection) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *Connection) GetFriendlyName() string {
	if x != nil {
		return x.FriendlyName
	}
	return ""
}

func (x *Connection) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *Connection) GetProperties() isConnection_Properties {
	if x != nil {
		return x.Properties
	}
	return nil
}

func (x *Connection) GetCloudSql() *CloudSqlProperties {
	if x != nil {
		if x, ok := x.Properties.(*Connection_CloudSql); ok {
			return x.CloudSql
		}
	}
	return nil
}

func (x *Connection) GetAws() *AwsProperties {
	if x != nil {
		if x, ok := x.Properties.(*Connection_Aws); ok {
			return x.Aws
		}
	}
	return nil
}

func (x *Connection) GetAzure() *AzureProperties {
	if x != nil {
		if x, ok := x.Properties.(*Connection_Azure); ok {
			return x.Azure
		}
	}
	return nil
}

func (x *Connection) GetCloudSpanner() *CloudSpannerProperties {
	if x != nil {
		if x, ok := x.Properties.(*Connection_CloudSpanner); ok {
			return x.CloudSpanner
		}
	}
	return nil
}

func (x *Connection) GetCloudResource() *CloudResourceProperties {
	if x != nil {
		if x, ok := x.Properties.(*Connection_CloudResource); ok {
			return x.CloudResource
		}
	}
	return nil
}

func (x *Connection) GetSpark() *SparkProperties {
	if x != nil {
		if x, ok := x.Properties.(*Connection_Spark); ok {
			return x.Spark
		}
	}
	return nil
}

func (x *Connection) GetSalesforceDataCloud() *SalesforceDataCloudProperties {
	if x != nil {
		if x, ok := x.Properties.(*Connection_SalesforceDataCloud); ok {
			return x.SalesforceDataCloud
		}
	}
	return nil
}

func (x *Connection) GetCreationTime() int64 {
	if x != nil {
		return x.CreationTime
	}
	return 0
}

func (x *Connection) GetLastModifiedTime() int64 {
	if x != nil {
		return x.LastModifiedTime
	}
	return 0
}

func (x *Connection) GetHasCredential() bool {
	if x != nil {
		return x.HasCredential
	}
	return false
}

type isConnection_Properties interface {
	isConnection_Properties()
}

type Connection_CloudSql struct {
	// Cloud SQL properties.
	CloudSql *CloudSqlProperties `protobuf:"bytes,4,opt,name=cloud_sql,json=cloudSql,proto3,oneof"`
}

type Connection_Aws struct {
	// Amazon Web Services (AWS) properties.
	Aws *AwsProperties `protobuf:"bytes,8,opt,name=aws,proto3,oneof"`
}

type Connection_Azure struct {
	// Azure properties.
	Azure *AzureProperties `protobuf:"bytes,11,opt,name=azure,proto3,oneof"`
}

type Connection_CloudSpanner struct {
	// Cloud Spanner properties.
	CloudSpanner *CloudSpannerProperties `protobuf:"bytes,21,opt,name=cloud_spanner,json=cloudSpanner,proto3,oneof"`
}

type Connection_CloudResource struct {
	// Cloud Resource properties.
	CloudResource *CloudResourceProperties `protobuf:"bytes,22,opt,name=cloud_resource,json=cloudResource,proto3,oneof"`
}

type Connection_Spark struct {
	// Spark properties.
	Spark *SparkProperties `protobuf:"bytes,23,opt,name=spark,proto3,oneof"`
}

type Connection_SalesforceDataCloud struct {
	// Optional. Salesforce DataCloud properties. This field is intended for
	// use only by Salesforce partner projects. This field contains properties
	// for your Salesforce DataCloud connection.
	SalesforceDataCloud *SalesforceDataCloudProperties `protobuf:"bytes,24,opt,name=salesforce_data_cloud,json=salesforceDataCloud,proto3,oneof"`
}

func (*Connection_CloudSql) isConnection_Properties() {}

func (*Connection_Aws) isConnection_Properties() {}

func (*Connection_Azure) isConnection_Properties() {}

func (*Connection_CloudSpanner) isConnection_Properties() {}

func (*Connection_CloudResource) isConnection_Properties() {}

func (*Connection_Spark) isConnection_Properties() {}

func (*Connection_SalesforceDataCloud) isConnection_Properties() {}

// Connection properties specific to the Cloud SQL.
type CloudSqlProperties struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Cloud SQL instance ID in the form `project:location:instance`.
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// Database name.
	Database string `protobuf:"bytes,2,opt,name=database,proto3" json:"database,omitempty"`
	// Type of the Cloud SQL database.
	Type CloudSqlProperties_DatabaseType `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.bigquery.connection.v1.CloudSqlProperties_DatabaseType" json:"type,omitempty"`
	// Input only. Cloud SQL credential.
	Credential *CloudSqlCredential `protobuf:"bytes,4,opt,name=credential,proto3" json:"credential,omitempty"`
	// Output only. The account ID of the service used for the purpose of this
	// connection.
	//
	// When the connection is used in the context of an operation in
	// BigQuery, this service account will serve as the identity being used for
	// connecting to the CloudSQL instance specified in this connection.
	ServiceAccountId string `protobuf:"bytes,5,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *CloudSqlProperties) Reset() {
	*x = CloudSqlProperties{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CloudSqlProperties) ProtoMessage() {}

func (x *CloudSqlProperties) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[7]
	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 CloudSqlProperties.ProtoReflect.Descriptor instead.
func (*CloudSqlProperties) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{7}
}

func (x *CloudSqlProperties) GetInstanceId() string {
	if x != nil {
		return x.InstanceId
	}
	return ""
}

func (x *CloudSqlProperties) GetDatabase() string {
	if x != nil {
		return x.Database
	}
	return ""
}

func (x *CloudSqlProperties) GetType() CloudSqlProperties_DatabaseType {
	if x != nil {
		return x.Type
	}
	return CloudSqlProperties_DATABASE_TYPE_UNSPECIFIED
}

func (x *CloudSqlProperties) GetCredential() *CloudSqlCredential {
	if x != nil {
		return x.Credential
	}
	return nil
}

func (x *CloudSqlProperties) GetServiceAccountId() string {
	if x != nil {
		return x.ServiceAccountId
	}
	return ""
}

// Credential info for the Cloud SQL.
type CloudSqlCredential struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The username for the credential.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// The password for the credential.
	Password      string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CloudSqlCredential) Reset() {
	*x = CloudSqlCredential{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CloudSqlCredential) ProtoMessage() {}

func (x *CloudSqlCredential) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[8]
	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 CloudSqlCredential.ProtoReflect.Descriptor instead.
func (*CloudSqlCredential) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{8}
}

func (x *CloudSqlCredential) GetUsername() string {
	if x != nil {
		return x.Username
	}
	return ""
}

func (x *CloudSqlCredential) GetPassword() string {
	if x != nil {
		return x.Password
	}
	return ""
}

// Connection properties specific to Cloud Spanner.
type CloudSpannerProperties struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Cloud Spanner database in the form `project/instance/database'
	Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	// If parallelism should be used when reading from Cloud Spanner
	UseParallelism bool `protobuf:"varint,2,opt,name=use_parallelism,json=useParallelism,proto3" json:"use_parallelism,omitempty"`
	// Allows setting max parallelism per query when executing on Spanner
	// independent compute resources. If unspecified, default values of
	// parallelism are chosen that are dependent on the Cloud Spanner instance
	// configuration.
	//
	// REQUIRES: `use_parallelism` must be set.
	// REQUIRES: Either `use_data_boost` or `use_serverless_analytics` must be
	// set.
	MaxParallelism int32 `protobuf:"varint,5,opt,name=max_parallelism,json=maxParallelism,proto3" json:"max_parallelism,omitempty"`
	// If the serverless analytics service should be used to read data from Cloud
	// Spanner.
	// Note: `use_parallelism` must be set when using serverless analytics.
	UseServerlessAnalytics bool `protobuf:"varint,3,opt,name=use_serverless_analytics,json=useServerlessAnalytics,proto3" json:"use_serverless_analytics,omitempty"`
	// If set, the request will be executed via Spanner independent compute
	// resources.
	// REQUIRES: `use_parallelism` must be set.
	//
	// NOTE: `use_serverless_analytics` will be deprecated. Prefer
	// `use_data_boost` over `use_serverless_analytics`.
	UseDataBoost bool `protobuf:"varint,6,opt,name=use_data_boost,json=useDataBoost,proto3" json:"use_data_boost,omitempty"`
	// Optional. Cloud Spanner database role for fine-grained access control.
	// The Cloud Spanner admin should have provisioned the database role with
	// appropriate permissions, such as `SELECT` and `INSERT`. Other users should
	// only use roles provided by their Cloud Spanner admins.
	//
	// For more details, see [About fine-grained access control]
	// (https://cloud.google.com/spanner/docs/fgac-about).
	//
	// REQUIRES: The database role name must start with a letter, and can only
	// contain letters, numbers, and underscores.
	DatabaseRole  string `protobuf:"bytes,4,opt,name=database_role,json=databaseRole,proto3" json:"database_role,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CloudSpannerProperties) Reset() {
	*x = CloudSpannerProperties{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CloudSpannerProperties) ProtoMessage() {}

func (x *CloudSpannerProperties) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[9]
	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 CloudSpannerProperties.ProtoReflect.Descriptor instead.
func (*CloudSpannerProperties) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{9}
}

func (x *CloudSpannerProperties) GetDatabase() string {
	if x != nil {
		return x.Database
	}
	return ""
}

func (x *CloudSpannerProperties) GetUseParallelism() bool {
	if x != nil {
		return x.UseParallelism
	}
	return false
}

func (x *CloudSpannerProperties) GetMaxParallelism() int32 {
	if x != nil {
		return x.MaxParallelism
	}
	return 0
}

func (x *CloudSpannerProperties) GetUseServerlessAnalytics() bool {
	if x != nil {
		return x.UseServerlessAnalytics
	}
	return false
}

func (x *CloudSpannerProperties) GetUseDataBoost() bool {
	if x != nil {
		return x.UseDataBoost
	}
	return false
}

func (x *CloudSpannerProperties) GetDatabaseRole() string {
	if x != nil {
		return x.DatabaseRole
	}
	return ""
}

// Connection properties specific to Amazon Web Services (AWS).
type AwsProperties struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Authentication method chosen at connection creation.
	//
	// Types that are valid to be assigned to AuthenticationMethod:
	//
	//	*AwsProperties_CrossAccountRole
	//	*AwsProperties_AccessRole
	AuthenticationMethod isAwsProperties_AuthenticationMethod `protobuf_oneof:"authentication_method"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *AwsProperties) Reset() {
	*x = AwsProperties{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*AwsProperties) ProtoMessage() {}

func (x *AwsProperties) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[10]
	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 AwsProperties.ProtoReflect.Descriptor instead.
func (*AwsProperties) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{10}
}

func (x *AwsProperties) GetAuthenticationMethod() isAwsProperties_AuthenticationMethod {
	if x != nil {
		return x.AuthenticationMethod
	}
	return nil
}

// Deprecated: Marked as deprecated in google/cloud/bigquery/connection/v1/connection.proto.
func (x *AwsProperties) GetCrossAccountRole() *AwsCrossAccountRole {
	if x != nil {
		if x, ok := x.AuthenticationMethod.(*AwsProperties_CrossAccountRole); ok {
			return x.CrossAccountRole
		}
	}
	return nil
}

func (x *AwsProperties) GetAccessRole() *AwsAccessRole {
	if x != nil {
		if x, ok := x.AuthenticationMethod.(*AwsProperties_AccessRole); ok {
			return x.AccessRole
		}
	}
	return nil
}

type isAwsProperties_AuthenticationMethod interface {
	isAwsProperties_AuthenticationMethod()
}

type AwsProperties_CrossAccountRole struct {
	// Authentication using Google owned AWS IAM user's access key to assume
	// into customer's AWS IAM Role.
	// Deprecated, do not use.
	//
	// Deprecated: Marked as deprecated in google/cloud/bigquery/connection/v1/connection.proto.
	CrossAccountRole *AwsCrossAccountRole `protobuf:"bytes,2,opt,name=cross_account_role,json=crossAccountRole,proto3,oneof"`
}

type AwsProperties_AccessRole struct {
	// Authentication using Google owned service account to assume into
	// customer's AWS IAM Role.
	AccessRole *AwsAccessRole `protobuf:"bytes,3,opt,name=access_role,json=accessRole,proto3,oneof"`
}

func (*AwsProperties_CrossAccountRole) isAwsProperties_AuthenticationMethod() {}

func (*AwsProperties_AccessRole) isAwsProperties_AuthenticationMethod() {}

// Authentication method for Amazon Web Services (AWS) that uses Google owned
// AWS IAM user's access key to assume into customer's AWS IAM Role.
type AwsCrossAccountRole struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The user’s AWS IAM Role that trusts the Google-owned AWS IAM user
	// Connection.
	IamRoleId string `protobuf:"bytes,1,opt,name=iam_role_id,json=iamRoleId,proto3" json:"iam_role_id,omitempty"`
	// Output only. Google-owned AWS IAM User for a Connection.
	IamUserId string `protobuf:"bytes,2,opt,name=iam_user_id,json=iamUserId,proto3" json:"iam_user_id,omitempty"`
	// Output only. A Google-generated id for representing Connection’s identity
	// in AWS. External Id is also used for preventing the Confused Deputy
	// Problem. See
	// https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html
	ExternalId    string `protobuf:"bytes,3,opt,name=external_id,json=externalId,proto3" json:"external_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AwsCrossAccountRole) Reset() {
	*x = AwsCrossAccountRole{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*AwsCrossAccountRole) ProtoMessage() {}

func (x *AwsCrossAccountRole) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[11]
	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 AwsCrossAccountRole.ProtoReflect.Descriptor instead.
func (*AwsCrossAccountRole) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{11}
}

func (x *AwsCrossAccountRole) GetIamRoleId() string {
	if x != nil {
		return x.IamRoleId
	}
	return ""
}

func (x *AwsCrossAccountRole) GetIamUserId() string {
	if x != nil {
		return x.IamUserId
	}
	return ""
}

func (x *AwsCrossAccountRole) GetExternalId() string {
	if x != nil {
		return x.ExternalId
	}
	return ""
}

// Authentication method for Amazon Web Services (AWS) that uses Google owned
// Google service account to assume into customer's AWS IAM Role.
type AwsAccessRole struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The user’s AWS IAM Role that trusts the Google-owned AWS IAM user
	// Connection.
	IamRoleId string `protobuf:"bytes,1,opt,name=iam_role_id,json=iamRoleId,proto3" json:"iam_role_id,omitempty"`
	// A unique Google-owned and Google-generated identity for the Connection.
	// This identity will be used to access the user's AWS IAM Role.
	Identity      string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AwsAccessRole) Reset() {
	*x = AwsAccessRole{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*AwsAccessRole) ProtoMessage() {}

func (x *AwsAccessRole) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[12]
	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 AwsAccessRole.ProtoReflect.Descriptor instead.
func (*AwsAccessRole) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{12}
}

func (x *AwsAccessRole) GetIamRoleId() string {
	if x != nil {
		return x.IamRoleId
	}
	return ""
}

func (x *AwsAccessRole) GetIdentity() string {
	if x != nil {
		return x.Identity
	}
	return ""
}

// Container for connection properties specific to Azure.
type AzureProperties struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The name of the Azure Active Directory Application.
	Application string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
	// Output only. The client id of the Azure Active Directory Application.
	ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	// Output only. The object id of the Azure Active Directory Application.
	ObjectId string `protobuf:"bytes,3,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// The id of customer's directory that host the data.
	CustomerTenantId string `protobuf:"bytes,4,opt,name=customer_tenant_id,json=customerTenantId,proto3" json:"customer_tenant_id,omitempty"`
	// The URL user will be redirected to after granting consent during connection
	// setup.
	RedirectUri string `protobuf:"bytes,5,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	// The client ID of the user's Azure Active Directory Application used for a
	// federated connection.
	FederatedApplicationClientId string `protobuf:"bytes,6,opt,name=federated_application_client_id,json=federatedApplicationClientId,proto3" json:"federated_application_client_id,omitempty"`
	// Output only. A unique Google-owned and Google-generated identity for the
	// Connection. This identity will be used to access the user's Azure Active
	// Directory Application.
	Identity      string `protobuf:"bytes,7,opt,name=identity,proto3" json:"identity,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AzureProperties) Reset() {
	*x = AzureProperties{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*AzureProperties) ProtoMessage() {}

func (x *AzureProperties) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[13]
	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 AzureProperties.ProtoReflect.Descriptor instead.
func (*AzureProperties) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{13}
}

func (x *AzureProperties) GetApplication() string {
	if x != nil {
		return x.Application
	}
	return ""
}

func (x *AzureProperties) GetClientId() string {
	if x != nil {
		return x.ClientId
	}
	return ""
}

func (x *AzureProperties) GetObjectId() string {
	if x != nil {
		return x.ObjectId
	}
	return ""
}

func (x *AzureProperties) GetCustomerTenantId() string {
	if x != nil {
		return x.CustomerTenantId
	}
	return ""
}

func (x *AzureProperties) GetRedirectUri() string {
	if x != nil {
		return x.RedirectUri
	}
	return ""
}

func (x *AzureProperties) GetFederatedApplicationClientId() string {
	if x != nil {
		return x.FederatedApplicationClientId
	}
	return ""
}

func (x *AzureProperties) GetIdentity() string {
	if x != nil {
		return x.Identity
	}
	return ""
}

// Container for connection properties for delegation of access to GCP
// resources.
type CloudResourceProperties struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The account ID of the service created for the purpose of this
	// connection.
	//
	// The service account does not have any permissions associated with it
	// when it is created. After creation, customers delegate permissions
	// to the service account. When the connection is used in the context of an
	// operation in BigQuery, the service account will be used to connect to the
	// desired resources in GCP.
	//
	// The account ID is in the form of:
	//
	//	<service-1234>@gcp-sa-bigquery-cloudresource.iam.gserviceaccount.com
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *CloudResourceProperties) Reset() {
	*x = CloudResourceProperties{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CloudResourceProperties) ProtoMessage() {}

func (x *CloudResourceProperties) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[14]
	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 CloudResourceProperties.ProtoReflect.Descriptor instead.
func (*CloudResourceProperties) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{14}
}

func (x *CloudResourceProperties) GetServiceAccountId() string {
	if x != nil {
		return x.ServiceAccountId
	}
	return ""
}

// Configuration of the Dataproc Metastore Service.
type MetastoreServiceConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Resource name of an existing Dataproc Metastore service.
	//
	// Example:
	//
	// * `projects/[project_id]/locations/[region]/services/[service_id]`
	MetastoreService string `protobuf:"bytes,1,opt,name=metastore_service,json=metastoreService,proto3" json:"metastore_service,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *MetastoreServiceConfig) Reset() {
	*x = MetastoreServiceConfig{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*MetastoreServiceConfig) ProtoMessage() {}

func (x *MetastoreServiceConfig) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[15]
	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 MetastoreServiceConfig.ProtoReflect.Descriptor instead.
func (*MetastoreServiceConfig) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{15}
}

func (x *MetastoreServiceConfig) GetMetastoreService() string {
	if x != nil {
		return x.MetastoreService
	}
	return ""
}

// Configuration of the Spark History Server.
type SparkHistoryServerConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Optional. Resource name of an existing Dataproc Cluster to act as a Spark
	// History Server for the connection.
	//
	// Example:
	//
	// * `projects/[project_id]/regions/[region]/clusters/[cluster_name]`
	DataprocCluster string `protobuf:"bytes,1,opt,name=dataproc_cluster,json=dataprocCluster,proto3" json:"dataproc_cluster,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *SparkHistoryServerConfig) Reset() {
	*x = SparkHistoryServerConfig{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SparkHistoryServerConfig) ProtoMessage() {}

func (x *SparkHistoryServerConfig) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[16]
	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 SparkHistoryServerConfig.ProtoReflect.Descriptor instead.
func (*SparkHistoryServerConfig) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{16}
}

func (x *SparkHistoryServerConfig) GetDataprocCluster() string {
	if x != nil {
		return x.DataprocCluster
	}
	return ""
}

// Container for connection properties to execute stored procedures for Apache
// Spark.
type SparkProperties struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Output only. The account ID of the service created for the purpose of this
	// connection.
	//
	// The service account does not have any permissions associated with it when
	// it is created. After creation, customers delegate permissions to the
	// service account. When the connection is used in the context of a stored
	// procedure for Apache Spark in BigQuery, the service account is used to
	// connect to the desired resources in Google Cloud.
	//
	// The account ID is in the form of:
	// bqcx-<projectnumber>-<uniqueid>@gcp-sa-bigquery-consp.iam.gserviceaccount.com
	ServiceAccountId string `protobuf:"bytes,1,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// Optional. Dataproc Metastore Service configuration for the connection.
	MetastoreServiceConfig *MetastoreServiceConfig `protobuf:"bytes,3,opt,name=metastore_service_config,json=metastoreServiceConfig,proto3" json:"metastore_service_config,omitempty"`
	// Optional. Spark History Server configuration for the connection.
	SparkHistoryServerConfig *SparkHistoryServerConfig `protobuf:"bytes,4,opt,name=spark_history_server_config,json=sparkHistoryServerConfig,proto3" json:"spark_history_server_config,omitempty"`
	unknownFields            protoimpl.UnknownFields
	sizeCache                protoimpl.SizeCache
}

func (x *SparkProperties) Reset() {
	*x = SparkProperties{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SparkProperties) ProtoMessage() {}

func (x *SparkProperties) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[17]
	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 SparkProperties.ProtoReflect.Descriptor instead.
func (*SparkProperties) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{17}
}

func (x *SparkProperties) GetServiceAccountId() string {
	if x != nil {
		return x.ServiceAccountId
	}
	return ""
}

func (x *SparkProperties) GetMetastoreServiceConfig() *MetastoreServiceConfig {
	if x != nil {
		return x.MetastoreServiceConfig
	}
	return nil
}

func (x *SparkProperties) GetSparkHistoryServerConfig() *SparkHistoryServerConfig {
	if x != nil {
		return x.SparkHistoryServerConfig
	}
	return nil
}

// Connection properties specific to Salesforce DataCloud. This is intended for
// use only by Salesforce partner projects.
type SalesforceDataCloudProperties struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The URL to the user's Salesforce DataCloud instance.
	InstanceUri string `protobuf:"bytes,1,opt,name=instance_uri,json=instanceUri,proto3" json:"instance_uri,omitempty"`
	// Output only. A unique Google-owned and Google-generated service account
	// identity for the connection.
	Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"`
	// The ID of the user's Salesforce tenant.
	TenantId      string `protobuf:"bytes,3,opt,name=tenant_id,json=tenantId,proto3" json:"tenant_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SalesforceDataCloudProperties) Reset() {
	*x = SalesforceDataCloudProperties{}
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SalesforceDataCloudProperties) ProtoMessage() {}

func (x *SalesforceDataCloudProperties) ProtoReflect() protoreflect.Message {
	mi := &file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[18]
	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 SalesforceDataCloudProperties.ProtoReflect.Descriptor instead.
func (*SalesforceDataCloudProperties) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP(), []int{18}
}

func (x *SalesforceDataCloudProperties) GetInstanceUri() string {
	if x != nil {
		return x.InstanceUri
	}
	return ""
}

func (x *SalesforceDataCloudProperties) GetIdentity() string {
	if x != nil {
		return x.Identity
	}
	return ""
}

func (x *SalesforceDataCloudProperties) GetTenantId() string {
	if x != nil {
		return x.TenantId
	}
	return ""
}

var File_google_cloud_bigquery_connection_v1_connection_proto protoreflect.FileDescriptor

const file_google_cloud_bigquery_connection_v1_connection_proto_rawDesc = "" +
	"\n" +
	"4google/cloud/bigquery/connection/v1/connection.proto\x12#google.cloud.bigquery.connection.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1egoogle/iam/v1/iam_policy.proto\x1a\x1agoogle/iam/v1/policy.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xdc\x01\n" +
	"\x17CreateConnectionRequest\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!locations.googleapis.com/LocationR\x06parent\x12(\n" +
	"\rconnection_id\x18\x02 \x01(\tB\x03\xe0A\x01R\fconnectionId\x12T\n" +
	"\n" +
	"connection\x18\x03 \x01(\v2/.google.cloud.bigquery.connection.v1.ConnectionB\x03\xe0A\x02R\n" +
	"connection\"`\n" +
	"\x14GetConnectionRequest\x12H\n" +
	"\x04name\x18\x01 \x01(\tB4\xe0A\x02\xfaA.\n" +
	",bigqueryconnection.googleapis.com/ConnectionR\x04name\"\x9c\x01\n" +
	"\x16ListConnectionsRequest\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!locations.googleapis.com/LocationR\x06parent\x12 \n" +
	"\tpage_size\x18\x04 \x01(\x05B\x03\xe0A\x02R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tR\tpageToken\"\x94\x01\n" +
	"\x17ListConnectionsResponse\x12&\n" +
	"\x0fnext_page_token\x18\x01 \x01(\tR\rnextPageToken\x12Q\n" +
	"\vconnections\x18\x02 \x03(\v2/.google.cloud.bigquery.connection.v1.ConnectionR\vconnections\"\xfb\x01\n" +
	"\x17UpdateConnectionRequest\x12H\n" +
	"\x04name\x18\x01 \x01(\tB4\xe0A\x02\xfaA.\n" +
	",bigqueryconnection.googleapis.com/ConnectionR\x04name\x12T\n" +
	"\n" +
	"connection\x18\x02 \x01(\v2/.google.cloud.bigquery.connection.v1.ConnectionB\x03\xe0A\x02R\n" +
	"connection\x12@\n" +
	"\vupdate_mask\x18\x03 \x01(\v2\x1a.google.protobuf.FieldMaskB\x03\xe0A\x02R\n" +
	"updateMask\"c\n" +
	"\x17DeleteConnectionRequest\x12H\n" +
	"\x04name\x18\x01 \x01(\tB4\xe0A\x02\xfaA.\n" +
	",bigqueryconnection.googleapis.com/ConnectionR\x04name\"\xf9\a\n" +
	"\n" +
	"Connection\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12#\n" +
	"\rfriendly_name\x18\x02 \x01(\tR\ffriendlyName\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x12V\n" +
	"\tcloud_sql\x18\x04 \x01(\v27.google.cloud.bigquery.connection.v1.CloudSqlPropertiesH\x00R\bcloudSql\x12F\n" +
	"\x03aws\x18\b \x01(\v22.google.cloud.bigquery.connection.v1.AwsPropertiesH\x00R\x03aws\x12L\n" +
	"\x05azure\x18\v \x01(\v24.google.cloud.bigquery.connection.v1.AzurePropertiesH\x00R\x05azure\x12b\n" +
	"\rcloud_spanner\x18\x15 \x01(\v2;.google.cloud.bigquery.connection.v1.CloudSpannerPropertiesH\x00R\fcloudSpanner\x12e\n" +
	"\x0ecloud_resource\x18\x16 \x01(\v2<.google.cloud.bigquery.connection.v1.CloudResourcePropertiesH\x00R\rcloudResource\x12L\n" +
	"\x05spark\x18\x17 \x01(\v24.google.cloud.bigquery.connection.v1.SparkPropertiesH\x00R\x05spark\x12}\n" +
	"\x15salesforce_data_cloud\x18\x18 \x01(\v2B.google.cloud.bigquery.connection.v1.SalesforceDataCloudPropertiesB\x03\xe0A\x01H\x00R\x13salesforceDataCloud\x12(\n" +
	"\rcreation_time\x18\x05 \x01(\x03B\x03\xe0A\x03R\fcreationTime\x121\n" +
	"\x12last_modified_time\x18\x06 \x01(\x03B\x03\xe0A\x03R\x10lastModifiedTime\x12*\n" +
	"\x0ehas_credential\x18\a \x01(\bB\x03\xe0A\x03R\rhasCredential:s\xeaAp\n" +
	",bigqueryconnection.googleapis.com/Connection\x12@projects/{project}/locations/{location}/connections/{connection}B\f\n" +
	"\n" +
	"properties\"\x84\x03\n" +
	"\x12CloudSqlProperties\x12\x1f\n" +
	"\vinstance_id\x18\x01 \x01(\tR\n" +
	"instanceId\x12\x1a\n" +
	"\bdatabase\x18\x02 \x01(\tR\bdatabase\x12X\n" +
	"\x04type\x18\x03 \x01(\x0e2D.google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseTypeR\x04type\x12\\\n" +
	"\n" +
	"credential\x18\x04 \x01(\v27.google.cloud.bigquery.connection.v1.CloudSqlCredentialB\x03\xe0A\x04R\n" +
	"credential\x121\n" +
	"\x12service_account_id\x18\x05 \x01(\tB\x03\xe0A\x03R\x10serviceAccountId\"F\n" +
	"\fDatabaseType\x12\x1d\n" +
	"\x19DATABASE_TYPE_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bPOSTGRES\x10\x01\x12\t\n" +
	"\x05MYSQL\x10\x02\"L\n" +
	"\x12CloudSqlCredential\x12\x1a\n" +
	"\busername\x18\x01 \x01(\tR\busername\x12\x1a\n" +
	"\bpassword\x18\x02 \x01(\tR\bpassword\"\x90\x02\n" +
	"\x16CloudSpannerProperties\x12\x1a\n" +
	"\bdatabase\x18\x01 \x01(\tR\bdatabase\x12'\n" +
	"\x0fuse_parallelism\x18\x02 \x01(\bR\x0euseParallelism\x12'\n" +
	"\x0fmax_parallelism\x18\x05 \x01(\x05R\x0emaxParallelism\x128\n" +
	"\x18use_serverless_analytics\x18\x03 \x01(\bR\x16useServerlessAnalytics\x12$\n" +
	"\x0euse_data_boost\x18\x06 \x01(\bR\fuseDataBoost\x12(\n" +
	"\rdatabase_role\x18\x04 \x01(\tB\x03\xe0A\x01R\fdatabaseRole\"\xed\x01\n" +
	"\rAwsProperties\x12l\n" +
	"\x12cross_account_role\x18\x02 \x01(\v28.google.cloud.bigquery.connection.v1.AwsCrossAccountRoleB\x02\x18\x01H\x00R\x10crossAccountRole\x12U\n" +
	"\vaccess_role\x18\x03 \x01(\v22.google.cloud.bigquery.connection.v1.AwsAccessRoleH\x00R\n" +
	"accessRoleB\x17\n" +
	"\x15authentication_method\"\x80\x01\n" +
	"\x13AwsCrossAccountRole\x12\x1e\n" +
	"\viam_role_id\x18\x01 \x01(\tR\tiamRoleId\x12#\n" +
	"\viam_user_id\x18\x02 \x01(\tB\x03\xe0A\x03R\tiamUserId\x12$\n" +
	"\vexternal_id\x18\x03 \x01(\tB\x03\xe0A\x03R\n" +
	"externalId\"K\n" +
	"\rAwsAccessRole\x12\x1e\n" +
	"\viam_role_id\x18\x01 \x01(\tR\tiamRoleId\x12\x1a\n" +
	"\bidentity\x18\x02 \x01(\tR\bidentity\"\xb5\x02\n" +
	"\x0fAzureProperties\x12%\n" +
	"\vapplication\x18\x01 \x01(\tB\x03\xe0A\x03R\vapplication\x12 \n" +
	"\tclient_id\x18\x02 \x01(\tB\x03\xe0A\x03R\bclientId\x12 \n" +
	"\tobject_id\x18\x03 \x01(\tB\x03\xe0A\x03R\bobjectId\x12,\n" +
	"\x12customer_tenant_id\x18\x04 \x01(\tR\x10customerTenantId\x12!\n" +
	"\fredirect_uri\x18\x05 \x01(\tR\vredirectUri\x12E\n" +
	"\x1ffederated_application_client_id\x18\x06 \x01(\tR\x1cfederatedApplicationClientId\x12\x1f\n" +
	"\bidentity\x18\a \x01(\tB\x03\xe0A\x03R\bidentity\"L\n" +
	"\x17CloudResourceProperties\x121\n" +
	"\x12service_account_id\x18\x01 \x01(\tB\x03\xe0A\x03R\x10serviceAccountId\"o\n" +
	"\x16MetastoreServiceConfig\x12U\n" +
	"\x11metastore_service\x18\x01 \x01(\tB(\xe0A\x01\xfaA\"\n" +
	" metastore.googleapis.com/ServiceR\x10metastoreService\"n\n" +
	"\x18SparkHistoryServerConfig\x12R\n" +
	"\x10dataproc_cluster\x18\x01 \x01(\tB'\xe0A\x01\xfaA!\n" +
	"\x1fdataproc.googleapis.com/ClusterR\x0fdataprocCluster\"\xc4\x02\n" +
	"\x0fSparkProperties\x121\n" +
	"\x12service_account_id\x18\x01 \x01(\tB\x03\xe0A\x03R\x10serviceAccountId\x12z\n" +
	"\x18metastore_service_config\x18\x03 \x01(\v2;.google.cloud.bigquery.connection.v1.MetastoreServiceConfigB\x03\xe0A\x01R\x16metastoreServiceConfig\x12\x81\x01\n" +
	"\x1bspark_history_server_config\x18\x04 \x01(\v2=.google.cloud.bigquery.connection.v1.SparkHistoryServerConfigB\x03\xe0A\x01R\x18sparkHistoryServerConfig\"\x80\x01\n" +
	"\x1dSalesforceDataCloudProperties\x12!\n" +
	"\finstance_uri\x18\x01 \x01(\tR\vinstanceUri\x12\x1f\n" +
	"\bidentity\x18\x02 \x01(\tB\x03\xe0A\x03R\bidentity\x12\x1b\n" +
	"\ttenant_id\x18\x03 \x01(\tR\btenantId2\xcc\r\n" +
	"\x11ConnectionService\x12\xe8\x01\n" +
	"\x10CreateConnection\x12<.google.cloud.bigquery.connection.v1.CreateConnectionRequest\x1a/.google.cloud.bigquery.connection.v1.Connection\"e\xdaA\x1fparent,connection,connection_id\x82\xd3\xe4\x93\x02=:\n" +
	"connection\"//v1/{parent=projects/*/locations/*}/connections\x12\xbb\x01\n" +
	"\rGetConnection\x129.google.cloud.bigquery.connection.v1.GetConnectionRequest\x1a/.google.cloud.bigquery.connection.v1.Connection\">\xdaA\x04name\x82\xd3\xe4\x93\x021\x12//v1/{name=projects/*/locations/*/connections/*}\x12\xce\x01\n" +
	"\x0fListConnections\x12;.google.cloud.bigquery.connection.v1.ListConnectionsRequest\x1a<.google.cloud.bigquery.connection.v1.ListConnectionsResponse\"@\xdaA\x06parent\x82\xd3\xe4\x93\x021\x12//v1/{parent=projects/*/locations/*}/connections\x12\xe4\x01\n" +
	"\x10UpdateConnection\x12<.google.cloud.bigquery.connection.v1.UpdateConnectionRequest\x1a/.google.cloud.bigquery.connection.v1.Connection\"a\xdaA\x1bname,connection,update_mask\x82\xd3\xe4\x93\x02=:\n" +
	"connection2//v1/{name=projects/*/locations/*/connections/*}\x12\xa8\x01\n" +
	"\x10DeleteConnection\x12<.google.cloud.bigquery.connection.v1.DeleteConnectionRequest\x1a\x16.google.protobuf.Empty\">\xdaA\x04name\x82\xd3\xe4\x93\x021*//v1/{name=projects/*/locations/*/connections/*}\x12\xa9\x01\n" +
	"\fGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"^\xdaA\x10resource,options\x82\xd3\xe4\x93\x02E:\x01*\"@/v1/{resource=projects/*/locations/*/connections/*}:getIamPolicy\x12\xa8\x01\n" +
	"\fSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"]\xdaA\x0fresource,policy\x82\xd3\xe4\x93\x02E:\x01*\"@/v1/{resource=projects/*/locations/*/connections/*}:setIamPolicy\x12\xd3\x01\n" +
	"\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"h\xdaA\x14resource,permissions\x82\xd3\xe4\x93\x02K:\x01*\"F/v1/{resource=projects/*/locations/*/connections/*}:testIamPermissions\x1a~\xcaA!bigqueryconnection.googleapis.com\xd2AWhttps://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/cloud-platformB\xfd\x02\xeaAY\n" +
	"\x1fdataproc.googleapis.com/Cluster\x126projects/{project}/regions/{region}/clusters/{cluster}\xeaA^\n" +
	" metastore.googleapis.com/Service\x12:projects/{project}/locations/{location}/services/{service}\n" +
	"'com.google.cloud.bigquery.connection.v1P\x01ZGcloud.google.com/go/bigquery/connection/apiv1/connectionpb;connectionpb\xaa\x02#Google.Cloud.BigQuery.Connection.V1\xca\x02#Google\\Cloud\\BigQuery\\Connection\\V1b\x06proto3"

var (
	file_google_cloud_bigquery_connection_v1_connection_proto_rawDescOnce sync.Once
	file_google_cloud_bigquery_connection_v1_connection_proto_rawDescData []byte
)

func file_google_cloud_bigquery_connection_v1_connection_proto_rawDescGZIP() []byte {
	file_google_cloud_bigquery_connection_v1_connection_proto_rawDescOnce.Do(func() {
		file_google_cloud_bigquery_connection_v1_connection_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_bigquery_connection_v1_connection_proto_rawDesc), len(file_google_cloud_bigquery_connection_v1_connection_proto_rawDesc)))
	})
	return file_google_cloud_bigquery_connection_v1_connection_proto_rawDescData
}

var file_google_cloud_bigquery_connection_v1_connection_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes = make([]protoimpl.MessageInfo, 19)
var file_google_cloud_bigquery_connection_v1_connection_proto_goTypes = []any{
	(CloudSqlProperties_DatabaseType)(0),     // 0: google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType
	(*CreateConnectionRequest)(nil),          // 1: google.cloud.bigquery.connection.v1.CreateConnectionRequest
	(*GetConnectionRequest)(nil),             // 2: google.cloud.bigquery.connection.v1.GetConnectionRequest
	(*ListConnectionsRequest)(nil),           // 3: google.cloud.bigquery.connection.v1.ListConnectionsRequest
	(*ListConnectionsResponse)(nil),          // 4: google.cloud.bigquery.connection.v1.ListConnectionsResponse
	(*UpdateConnectionRequest)(nil),          // 5: google.cloud.bigquery.connection.v1.UpdateConnectionRequest
	(*DeleteConnectionRequest)(nil),          // 6: google.cloud.bigquery.connection.v1.DeleteConnectionRequest
	(*Connection)(nil),                       // 7: google.cloud.bigquery.connection.v1.Connection
	(*CloudSqlProperties)(nil),               // 8: google.cloud.bigquery.connection.v1.CloudSqlProperties
	(*CloudSqlCredential)(nil),               // 9: google.cloud.bigquery.connection.v1.CloudSqlCredential
	(*CloudSpannerProperties)(nil),           // 10: google.cloud.bigquery.connection.v1.CloudSpannerProperties
	(*AwsProperties)(nil),                    // 11: google.cloud.bigquery.connection.v1.AwsProperties
	(*AwsCrossAccountRole)(nil),              // 12: google.cloud.bigquery.connection.v1.AwsCrossAccountRole
	(*AwsAccessRole)(nil),                    // 13: google.cloud.bigquery.connection.v1.AwsAccessRole
	(*AzureProperties)(nil),                  // 14: google.cloud.bigquery.connection.v1.AzureProperties
	(*CloudResourceProperties)(nil),          // 15: google.cloud.bigquery.connection.v1.CloudResourceProperties
	(*MetastoreServiceConfig)(nil),           // 16: google.cloud.bigquery.connection.v1.MetastoreServiceConfig
	(*SparkHistoryServerConfig)(nil),         // 17: google.cloud.bigquery.connection.v1.SparkHistoryServerConfig
	(*SparkProperties)(nil),                  // 18: google.cloud.bigquery.connection.v1.SparkProperties
	(*SalesforceDataCloudProperties)(nil),    // 19: google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties
	(*fieldmaskpb.FieldMask)(nil),            // 20: google.protobuf.FieldMask
	(*iampb.GetIamPolicyRequest)(nil),        // 21: google.iam.v1.GetIamPolicyRequest
	(*iampb.SetIamPolicyRequest)(nil),        // 22: google.iam.v1.SetIamPolicyRequest
	(*iampb.TestIamPermissionsRequest)(nil),  // 23: google.iam.v1.TestIamPermissionsRequest
	(*emptypb.Empty)(nil),                    // 24: google.protobuf.Empty
	(*iampb.Policy)(nil),                     // 25: google.iam.v1.Policy
	(*iampb.TestIamPermissionsResponse)(nil), // 26: google.iam.v1.TestIamPermissionsResponse
}
var file_google_cloud_bigquery_connection_v1_connection_proto_depIdxs = []int32{
	7,  // 0: google.cloud.bigquery.connection.v1.CreateConnectionRequest.connection:type_name -> google.cloud.bigquery.connection.v1.Connection
	7,  // 1: google.cloud.bigquery.connection.v1.ListConnectionsResponse.connections:type_name -> google.cloud.bigquery.connection.v1.Connection
	7,  // 2: google.cloud.bigquery.connection.v1.UpdateConnectionRequest.connection:type_name -> google.cloud.bigquery.connection.v1.Connection
	20, // 3: google.cloud.bigquery.connection.v1.UpdateConnectionRequest.update_mask:type_name -> google.protobuf.FieldMask
	8,  // 4: google.cloud.bigquery.connection.v1.Connection.cloud_sql:type_name -> google.cloud.bigquery.connection.v1.CloudSqlProperties
	11, // 5: google.cloud.bigquery.connection.v1.Connection.aws:type_name -> google.cloud.bigquery.connection.v1.AwsProperties
	14, // 6: google.cloud.bigquery.connection.v1.Connection.azure:type_name -> google.cloud.bigquery.connection.v1.AzureProperties
	10, // 7: google.cloud.bigquery.connection.v1.Connection.cloud_spanner:type_name -> google.cloud.bigquery.connection.v1.CloudSpannerProperties
	15, // 8: google.cloud.bigquery.connection.v1.Connection.cloud_resource:type_name -> google.cloud.bigquery.connection.v1.CloudResourceProperties
	18, // 9: google.cloud.bigquery.connection.v1.Connection.spark:type_name -> google.cloud.bigquery.connection.v1.SparkProperties
	19, // 10: google.cloud.bigquery.connection.v1.Connection.salesforce_data_cloud:type_name -> google.cloud.bigquery.connection.v1.SalesforceDataCloudProperties
	0,  // 11: google.cloud.bigquery.connection.v1.CloudSqlProperties.type:type_name -> google.cloud.bigquery.connection.v1.CloudSqlProperties.DatabaseType
	9,  // 12: google.cloud.bigquery.connection.v1.CloudSqlProperties.credential:type_name -> google.cloud.bigquery.connection.v1.CloudSqlCredential
	12, // 13: google.cloud.bigquery.connection.v1.AwsProperties.cross_account_role:type_name -> google.cloud.bigquery.connection.v1.AwsCrossAccountRole
	13, // 14: google.cloud.bigquery.connection.v1.AwsProperties.access_role:type_name -> google.cloud.bigquery.connection.v1.AwsAccessRole
	16, // 15: google.cloud.bigquery.connection.v1.SparkProperties.metastore_service_config:type_name -> google.cloud.bigquery.connection.v1.MetastoreServiceConfig
	17, // 16: google.cloud.bigquery.connection.v1.SparkProperties.spark_history_server_config:type_name -> google.cloud.bigquery.connection.v1.SparkHistoryServerConfig
	1,  // 17: google.cloud.bigquery.connection.v1.ConnectionService.CreateConnection:input_type -> google.cloud.bigquery.connection.v1.CreateConnectionRequest
	2,  // 18: google.cloud.bigquery.connection.v1.ConnectionService.GetConnection:input_type -> google.cloud.bigquery.connection.v1.GetConnectionRequest
	3,  // 19: google.cloud.bigquery.connection.v1.ConnectionService.ListConnections:input_type -> google.cloud.bigquery.connection.v1.ListConnectionsRequest
	5,  // 20: google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnection:input_type -> google.cloud.bigquery.connection.v1.UpdateConnectionRequest
	6,  // 21: google.cloud.bigquery.connection.v1.ConnectionService.DeleteConnection:input_type -> google.cloud.bigquery.connection.v1.DeleteConnectionRequest
	21, // 22: google.cloud.bigquery.connection.v1.ConnectionService.GetIamPolicy:input_type -> google.iam.v1.GetIamPolicyRequest
	22, // 23: google.cloud.bigquery.connection.v1.ConnectionService.SetIamPolicy:input_type -> google.iam.v1.SetIamPolicyRequest
	23, // 24: google.cloud.bigquery.connection.v1.ConnectionService.TestIamPermissions:input_type -> google.iam.v1.TestIamPermissionsRequest
	7,  // 25: google.cloud.bigquery.connection.v1.ConnectionService.CreateConnection:output_type -> google.cloud.bigquery.connection.v1.Connection
	7,  // 26: google.cloud.bigquery.connection.v1.ConnectionService.GetConnection:output_type -> google.cloud.bigquery.connection.v1.Connection
	4,  // 27: google.cloud.bigquery.connection.v1.ConnectionService.ListConnections:output_type -> google.cloud.bigquery.connection.v1.ListConnectionsResponse
	7,  // 28: google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnection:output_type -> google.cloud.bigquery.connection.v1.Connection
	24, // 29: google.cloud.bigquery.connection.v1.ConnectionService.DeleteConnection:output_type -> google.protobuf.Empty
	25, // 30: google.cloud.bigquery.connection.v1.ConnectionService.GetIamPolicy:output_type -> google.iam.v1.Policy
	25, // 31: google.cloud.bigquery.connection.v1.ConnectionService.SetIamPolicy:output_type -> google.iam.v1.Policy
	26, // 32: google.cloud.bigquery.connection.v1.ConnectionService.TestIamPermissions:output_type -> google.iam.v1.TestIamPermissionsResponse
	25, // [25:33] is the sub-list for method output_type
	17, // [17:25] is the sub-list for method input_type
	17, // [17:17] is the sub-list for extension type_name
	17, // [17:17] is the sub-list for extension extendee
	0,  // [0:17] is the sub-list for field type_name
}

func init() { file_google_cloud_bigquery_connection_v1_connection_proto_init() }
func file_google_cloud_bigquery_connection_v1_connection_proto_init() {
	if File_google_cloud_bigquery_connection_v1_connection_proto != nil {
		return
	}
	file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[6].OneofWrappers = []any{
		(*Connection_CloudSql)(nil),
		(*Connection_Aws)(nil),
		(*Connection_Azure)(nil),
		(*Connection_CloudSpanner)(nil),
		(*Connection_CloudResource)(nil),
		(*Connection_Spark)(nil),
		(*Connection_SalesforceDataCloud)(nil),
	}
	file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes[10].OneofWrappers = []any{
		(*AwsProperties_CrossAccountRole)(nil),
		(*AwsProperties_AccessRole)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_google_cloud_bigquery_connection_v1_connection_proto_rawDesc), len(file_google_cloud_bigquery_connection_v1_connection_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   19,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_cloud_bigquery_connection_v1_connection_proto_goTypes,
		DependencyIndexes: file_google_cloud_bigquery_connection_v1_connection_proto_depIdxs,
		EnumInfos:         file_google_cloud_bigquery_connection_v1_connection_proto_enumTypes,
		MessageInfos:      file_google_cloud_bigquery_connection_v1_connection_proto_msgTypes,
	}.Build()
	File_google_cloud_bigquery_connection_v1_connection_proto = out.File
	file_google_cloud_bigquery_connection_v1_connection_proto_goTypes = nil
	file_google_cloud_bigquery_connection_v1_connection_proto_depIdxs = nil
}
