// 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/v1beta1/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"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
)

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_v1beta1_connection_proto_enumTypes[0].Descriptor()
}

func (CloudSqlProperties_DatabaseType) Type() protoreflect.EnumType {
	return &file_google_cloud_bigquery_connection_v1beta1_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_v1beta1_connection_proto_rawDescGZIP(), []int{9, 0}
}

// The request for
// [ConnectionService.CreateConnection][google.cloud.bigquery.connection.v1beta1.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_v1beta1_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_v1beta1_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_v1beta1_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.v1beta1.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_v1beta1_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_v1beta1_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_v1beta1_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.v1beta1.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. Maximum number of results per page.
	MaxResults *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,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_v1beta1_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_v1beta1_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_v1beta1_connection_proto_rawDescGZIP(), []int{2}
}

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

func (x *ListConnectionsRequest) GetMaxResults() *wrapperspb.UInt32Value {
	if x != nil {
		return x.MaxResults
	}
	return nil
}

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

// The response for
// [ConnectionService.ListConnections][google.cloud.bigquery.connection.v1beta1.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_v1beta1_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_v1beta1_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_v1beta1_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.v1beta1.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_v1beta1_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_v1beta1_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_v1beta1_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.UpdateConnectionCredential][google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnectionCredential].
type UpdateConnectionCredentialRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Name of the connection, for example:
	// `projects/{project_id}/locations/{location_id}/connections/{connection_id}/credential`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Credential to use with the connection.
	Credential    *ConnectionCredential `protobuf:"bytes,2,opt,name=credential,proto3" json:"credential,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateConnectionCredentialRequest) ProtoMessage() {}

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

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

func (x *UpdateConnectionCredentialRequest) GetCredential() *ConnectionCredential {
	if x != nil {
		return x.Credential
	}
	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_v1beta1_connection_proto_msgTypes[6]
	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_v1beta1_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 DeleteConnectionRequest.ProtoReflect.Descriptor instead.
func (*DeleteConnectionRequest) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDescGZIP(), []int{6}
}

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
	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_v1beta1_connection_proto_msgTypes[7]
	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_v1beta1_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 Connection.ProtoReflect.Descriptor instead.
func (*Connection) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDescGZIP(), []int{7}
}

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) 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"`
}

func (*Connection_CloudSql) isConnection_Properties() {}

// Credential to use with a connection.
type ConnectionCredential struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Credential specific to the underlying data source.
	//
	// Types that are valid to be assigned to Credential:
	//
	//	*ConnectionCredential_CloudSql
	Credential    isConnectionCredential_Credential `protobuf_oneof:"credential"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ConnectionCredential) ProtoMessage() {}

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

func (x *ConnectionCredential) GetCredential() isConnectionCredential_Credential {
	if x != nil {
		return x.Credential
	}
	return nil
}

func (x *ConnectionCredential) GetCloudSql() *CloudSqlCredential {
	if x != nil {
		if x, ok := x.Credential.(*ConnectionCredential_CloudSql); ok {
			return x.CloudSql
		}
	}
	return nil
}

type isConnectionCredential_Credential interface {
	isConnectionCredential_Credential()
}

type ConnectionCredential_CloudSql struct {
	// Credential for Cloud SQL database.
	CloudSql *CloudSqlCredential `protobuf:"bytes,1,opt,name=cloud_sql,json=cloudSql,proto3,oneof"`
}

func (*ConnectionCredential_CloudSql) isConnectionCredential_Credential() {}

// 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.v1beta1.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_v1beta1_connection_proto_msgTypes[9]
	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_v1beta1_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 CloudSqlProperties.ProtoReflect.Descriptor instead.
func (*CloudSqlProperties) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDescGZIP(), []int{9}
}

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_v1beta1_connection_proto_msgTypes[10]
	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_v1beta1_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 CloudSqlCredential.ProtoReflect.Descriptor instead.
func (*CloudSqlCredential) Descriptor() ([]byte, []int) {
	return file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDescGZIP(), []int{10}
}

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

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

var File_google_cloud_bigquery_connection_v1beta1_connection_proto protoreflect.FileDescriptor

const file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDesc = "" +
	"\n" +
	"9google/cloud/bigquery/connection/v1beta1/connection.proto\x12(google.cloud.bigquery.connection.v1beta1\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\x1a\x1egoogle/protobuf/wrappers.proto\"\xe1\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\x12Y\n" +
	"\n" +
	"connection\x18\x03 \x01(\v24.google.cloud.bigquery.connection.v1beta1.ConnectionB\x03\xe0A\x02R\n" +
	"connection\"`\n" +
	"\x14GetConnectionRequest\x12H\n" +
	"\x04name\x18\x01 \x01(\tB4\xe0A\x02\xfaA.\n" +
	",bigqueryconnection.googleapis.com/ConnectionR\x04name\"\xbe\x01\n" +
	"\x16ListConnectionsRequest\x12A\n" +
	"\x06parent\x18\x01 \x01(\tB)\xe0A\x02\xfaA#\n" +
	"!locations.googleapis.com/LocationR\x06parent\x12B\n" +
	"\vmax_results\x18\x02 \x01(\v2\x1c.google.protobuf.UInt32ValueB\x03\xe0A\x02R\n" +
	"maxResults\x12\x1d\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tR\tpageToken\"\x99\x01\n" +
	"\x17ListConnectionsResponse\x12&\n" +
	"\x0fnext_page_token\x18\x01 \x01(\tR\rnextPageToken\x12V\n" +
	"\vconnections\x18\x02 \x03(\v24.google.cloud.bigquery.connection.v1beta1.ConnectionR\vconnections\"\x80\x02\n" +
	"\x17UpdateConnectionRequest\x12H\n" +
	"\x04name\x18\x01 \x01(\tB4\xe0A\x02\xfaA.\n" +
	",bigqueryconnection.googleapis.com/ConnectionR\x04name\x12Y\n" +
	"\n" +
	"connection\x18\x02 \x01(\v24.google.cloud.bigquery.connection.v1beta1.ConnectionB\x03\xe0A\x02R\n" +
	"connection\x12@\n" +
	"\vupdate_mask\x18\x03 \x01(\v2\x1a.google.protobuf.FieldMaskB\x03\xe0A\x02R\n" +
	"updateMask\"\xa1\x01\n" +
	"!UpdateConnectionCredentialRequest\x12\x17\n" +
	"\x04name\x18\x01 \x01(\tB\x03\xe0A\x02R\x04name\x12c\n" +
	"\n" +
	"credential\x18\x02 \x01(\v2>.google.cloud.bigquery.connection.v1beta1.ConnectionCredentialB\x03\xe0A\x02R\n" +
	"credential\"c\n" +
	"\x17DeleteConnectionRequest\x12H\n" +
	"\x04name\x18\x01 \x01(\tB4\xe0A\x02\xfaA.\n" +
	",bigqueryconnection.googleapis.com/ConnectionR\x04name\"\xd0\x03\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\x12[\n" +
	"\tcloud_sql\x18\x04 \x01(\v2<.google.cloud.bigquery.connection.v1beta1.CloudSqlPropertiesH\x00R\bcloudSql\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\"\x81\x01\n" +
	"\x14ConnectionCredential\x12[\n" +
	"\tcloud_sql\x18\x01 \x01(\v2<.google.cloud.bigquery.connection.v1beta1.CloudSqlCredentialH\x00R\bcloudSqlB\f\n" +
	"\n" +
	"credential\"\x8e\x03\n" +
	"\x12CloudSqlProperties\x12\x1f\n" +
	"\vinstance_id\x18\x01 \x01(\tR\n" +
	"instanceId\x12\x1a\n" +
	"\bdatabase\x18\x02 \x01(\tR\bdatabase\x12]\n" +
	"\x04type\x18\x03 \x01(\x0e2I.google.cloud.bigquery.connection.v1beta1.CloudSqlProperties.DatabaseTypeR\x04type\x12a\n" +
	"\n" +
	"credential\x18\x04 \x01(\v2<.google.cloud.bigquery.connection.v1beta1.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\bpassword2\x98\x10\n" +
	"\x11ConnectionService\x12\xf7\x01\n" +
	"\x10CreateConnection\x12A.google.cloud.bigquery.connection.v1beta1.CreateConnectionRequest\x1a4.google.cloud.bigquery.connection.v1beta1.Connection\"j\xdaA\x1fparent,connection,connection_id\x82\xd3\xe4\x93\x02B:\n" +
	"connection\"4/v1beta1/{parent=projects/*/locations/*}/connections\x12\xca\x01\n" +
	"\rGetConnection\x12>.google.cloud.bigquery.connection.v1beta1.GetConnectionRequest\x1a4.google.cloud.bigquery.connection.v1beta1.Connection\"C\xdaA\x04name\x82\xd3\xe4\x93\x026\x124/v1beta1/{name=projects/*/locations/*/connections/*}\x12\xe9\x01\n" +
	"\x0fListConnections\x12@.google.cloud.bigquery.connection.v1beta1.ListConnectionsRequest\x1aA.google.cloud.bigquery.connection.v1beta1.ListConnectionsResponse\"Q\xdaA\x12parent,max_results\x82\xd3\xe4\x93\x026\x124/v1beta1/{parent=projects/*/locations/*}/connections\x12\xf3\x01\n" +
	"\x10UpdateConnection\x12A.google.cloud.bigquery.connection.v1beta1.UpdateConnectionRequest\x1a4.google.cloud.bigquery.connection.v1beta1.Connection\"f\xdaA\x1bname,connection,update_mask\x82\xd3\xe4\x93\x02B:\n" +
	"connection24/v1beta1/{name=projects/*/locations/*/connections/*}\x12\xe8\x01\n" +
	"\x1aUpdateConnectionCredential\x12K.google.cloud.bigquery.connection.v1beta1.UpdateConnectionCredentialRequest\x1a\x16.google.protobuf.Empty\"e\xdaA\x0fname,credential\x82\xd3\xe4\x93\x02M:\n" +
	"credential2?/v1beta1/{name=projects/*/locations/*/connections/*/credential}\x12\xb2\x01\n" +
	"\x10DeleteConnection\x12A.google.cloud.bigquery.connection.v1beta1.DeleteConnectionRequest\x1a\x16.google.protobuf.Empty\"C\xdaA\x04name\x82\xd3\xe4\x93\x026*4/v1beta1/{name=projects/*/locations/*/connections/*}\x12\xae\x01\n" +
	"\fGetIamPolicy\x12\".google.iam.v1.GetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"c\xdaA\x10resource,options\x82\xd3\xe4\x93\x02J:\x01*\"E/v1beta1/{resource=projects/*/locations/*/connections/*}:getIamPolicy\x12\xad\x01\n" +
	"\fSetIamPolicy\x12\".google.iam.v1.SetIamPolicyRequest\x1a\x15.google.iam.v1.Policy\"b\xdaA\x0fresource,policy\x82\xd3\xe4\x93\x02J:\x01*\"E/v1beta1/{resource=projects/*/locations/*/connections/*}:setIamPolicy\x12\xd8\x01\n" +
	"\x12TestIamPermissions\x12(.google.iam.v1.TestIamPermissionsRequest\x1a).google.iam.v1.TestIamPermissionsResponse\"m\xdaA\x14resource,permissions\x82\xd3\xe4\x93\x02P:\x01*\"K/v1beta1/{resource=projects/*/locations/*/connections/*}:testIamPermissions\x1a~\xcaA!bigqueryconnection.googleapis.com\xd2AWhttps://www.googleapis.com/auth/bigquery,https://www.googleapis.com/auth/cloud-platformB\xe3\x01\n" +
	",com.google.cloud.bigquery.connection.v1beta1B\x0fConnectionProtoZLcloud.google.com/go/bigquery/connection/apiv1beta1/connectionpb;connectionpb\xaa\x02(Google.Cloud.BigQuery.Connection.V1Beta1\xca\x02(Google\\Cloud\\BigQuery\\Connection\\V1beta1b\x06proto3"

var (
	file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDescOnce sync.Once
	file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDescData []byte
)

func file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDescGZIP() []byte {
	file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDescOnce.Do(func() {
		file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDesc), len(file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDesc)))
	})
	return file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDescData
}

var file_google_cloud_bigquery_connection_v1beta1_connection_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_cloud_bigquery_connection_v1beta1_connection_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_google_cloud_bigquery_connection_v1beta1_connection_proto_goTypes = []any{
	(CloudSqlProperties_DatabaseType)(0),      // 0: google.cloud.bigquery.connection.v1beta1.CloudSqlProperties.DatabaseType
	(*CreateConnectionRequest)(nil),           // 1: google.cloud.bigquery.connection.v1beta1.CreateConnectionRequest
	(*GetConnectionRequest)(nil),              // 2: google.cloud.bigquery.connection.v1beta1.GetConnectionRequest
	(*ListConnectionsRequest)(nil),            // 3: google.cloud.bigquery.connection.v1beta1.ListConnectionsRequest
	(*ListConnectionsResponse)(nil),           // 4: google.cloud.bigquery.connection.v1beta1.ListConnectionsResponse
	(*UpdateConnectionRequest)(nil),           // 5: google.cloud.bigquery.connection.v1beta1.UpdateConnectionRequest
	(*UpdateConnectionCredentialRequest)(nil), // 6: google.cloud.bigquery.connection.v1beta1.UpdateConnectionCredentialRequest
	(*DeleteConnectionRequest)(nil),           // 7: google.cloud.bigquery.connection.v1beta1.DeleteConnectionRequest
	(*Connection)(nil),                        // 8: google.cloud.bigquery.connection.v1beta1.Connection
	(*ConnectionCredential)(nil),              // 9: google.cloud.bigquery.connection.v1beta1.ConnectionCredential
	(*CloudSqlProperties)(nil),                // 10: google.cloud.bigquery.connection.v1beta1.CloudSqlProperties
	(*CloudSqlCredential)(nil),                // 11: google.cloud.bigquery.connection.v1beta1.CloudSqlCredential
	(*wrapperspb.UInt32Value)(nil),            // 12: google.protobuf.UInt32Value
	(*fieldmaskpb.FieldMask)(nil),             // 13: google.protobuf.FieldMask
	(*iampb.GetIamPolicyRequest)(nil),         // 14: google.iam.v1.GetIamPolicyRequest
	(*iampb.SetIamPolicyRequest)(nil),         // 15: google.iam.v1.SetIamPolicyRequest
	(*iampb.TestIamPermissionsRequest)(nil),   // 16: google.iam.v1.TestIamPermissionsRequest
	(*emptypb.Empty)(nil),                     // 17: google.protobuf.Empty
	(*iampb.Policy)(nil),                      // 18: google.iam.v1.Policy
	(*iampb.TestIamPermissionsResponse)(nil),  // 19: google.iam.v1.TestIamPermissionsResponse
}
var file_google_cloud_bigquery_connection_v1beta1_connection_proto_depIdxs = []int32{
	8,  // 0: google.cloud.bigquery.connection.v1beta1.CreateConnectionRequest.connection:type_name -> google.cloud.bigquery.connection.v1beta1.Connection
	12, // 1: google.cloud.bigquery.connection.v1beta1.ListConnectionsRequest.max_results:type_name -> google.protobuf.UInt32Value
	8,  // 2: google.cloud.bigquery.connection.v1beta1.ListConnectionsResponse.connections:type_name -> google.cloud.bigquery.connection.v1beta1.Connection
	8,  // 3: google.cloud.bigquery.connection.v1beta1.UpdateConnectionRequest.connection:type_name -> google.cloud.bigquery.connection.v1beta1.Connection
	13, // 4: google.cloud.bigquery.connection.v1beta1.UpdateConnectionRequest.update_mask:type_name -> google.protobuf.FieldMask
	9,  // 5: google.cloud.bigquery.connection.v1beta1.UpdateConnectionCredentialRequest.credential:type_name -> google.cloud.bigquery.connection.v1beta1.ConnectionCredential
	10, // 6: google.cloud.bigquery.connection.v1beta1.Connection.cloud_sql:type_name -> google.cloud.bigquery.connection.v1beta1.CloudSqlProperties
	11, // 7: google.cloud.bigquery.connection.v1beta1.ConnectionCredential.cloud_sql:type_name -> google.cloud.bigquery.connection.v1beta1.CloudSqlCredential
	0,  // 8: google.cloud.bigquery.connection.v1beta1.CloudSqlProperties.type:type_name -> google.cloud.bigquery.connection.v1beta1.CloudSqlProperties.DatabaseType
	11, // 9: google.cloud.bigquery.connection.v1beta1.CloudSqlProperties.credential:type_name -> google.cloud.bigquery.connection.v1beta1.CloudSqlCredential
	1,  // 10: google.cloud.bigquery.connection.v1beta1.ConnectionService.CreateConnection:input_type -> google.cloud.bigquery.connection.v1beta1.CreateConnectionRequest
	2,  // 11: google.cloud.bigquery.connection.v1beta1.ConnectionService.GetConnection:input_type -> google.cloud.bigquery.connection.v1beta1.GetConnectionRequest
	3,  // 12: google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections:input_type -> google.cloud.bigquery.connection.v1beta1.ListConnectionsRequest
	5,  // 13: google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnection:input_type -> google.cloud.bigquery.connection.v1beta1.UpdateConnectionRequest
	6,  // 14: google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnectionCredential:input_type -> google.cloud.bigquery.connection.v1beta1.UpdateConnectionCredentialRequest
	7,  // 15: google.cloud.bigquery.connection.v1beta1.ConnectionService.DeleteConnection:input_type -> google.cloud.bigquery.connection.v1beta1.DeleteConnectionRequest
	14, // 16: google.cloud.bigquery.connection.v1beta1.ConnectionService.GetIamPolicy:input_type -> google.iam.v1.GetIamPolicyRequest
	15, // 17: google.cloud.bigquery.connection.v1beta1.ConnectionService.SetIamPolicy:input_type -> google.iam.v1.SetIamPolicyRequest
	16, // 18: google.cloud.bigquery.connection.v1beta1.ConnectionService.TestIamPermissions:input_type -> google.iam.v1.TestIamPermissionsRequest
	8,  // 19: google.cloud.bigquery.connection.v1beta1.ConnectionService.CreateConnection:output_type -> google.cloud.bigquery.connection.v1beta1.Connection
	8,  // 20: google.cloud.bigquery.connection.v1beta1.ConnectionService.GetConnection:output_type -> google.cloud.bigquery.connection.v1beta1.Connection
	4,  // 21: google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections:output_type -> google.cloud.bigquery.connection.v1beta1.ListConnectionsResponse
	8,  // 22: google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnection:output_type -> google.cloud.bigquery.connection.v1beta1.Connection
	17, // 23: google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnectionCredential:output_type -> google.protobuf.Empty
	17, // 24: google.cloud.bigquery.connection.v1beta1.ConnectionService.DeleteConnection:output_type -> google.protobuf.Empty
	18, // 25: google.cloud.bigquery.connection.v1beta1.ConnectionService.GetIamPolicy:output_type -> google.iam.v1.Policy
	18, // 26: google.cloud.bigquery.connection.v1beta1.ConnectionService.SetIamPolicy:output_type -> google.iam.v1.Policy
	19, // 27: google.cloud.bigquery.connection.v1beta1.ConnectionService.TestIamPermissions:output_type -> google.iam.v1.TestIamPermissionsResponse
	19, // [19:28] is the sub-list for method output_type
	10, // [10:19] is the sub-list for method input_type
	10, // [10:10] is the sub-list for extension type_name
	10, // [10:10] is the sub-list for extension extendee
	0,  // [0:10] is the sub-list for field type_name
}

func init() { file_google_cloud_bigquery_connection_v1beta1_connection_proto_init() }
func file_google_cloud_bigquery_connection_v1beta1_connection_proto_init() {
	if File_google_cloud_bigquery_connection_v1beta1_connection_proto != nil {
		return
	}
	file_google_cloud_bigquery_connection_v1beta1_connection_proto_msgTypes[7].OneofWrappers = []any{
		(*Connection_CloudSql)(nil),
	}
	file_google_cloud_bigquery_connection_v1beta1_connection_proto_msgTypes[8].OneofWrappers = []any{
		(*ConnectionCredential_CloudSql)(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_v1beta1_connection_proto_rawDesc), len(file_google_cloud_bigquery_connection_v1beta1_connection_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   11,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_google_cloud_bigquery_connection_v1beta1_connection_proto_goTypes,
		DependencyIndexes: file_google_cloud_bigquery_connection_v1beta1_connection_proto_depIdxs,
		EnumInfos:         file_google_cloud_bigquery_connection_v1beta1_connection_proto_enumTypes,
		MessageInfos:      file_google_cloud_bigquery_connection_v1beta1_connection_proto_msgTypes,
	}.Build()
	File_google_cloud_bigquery_connection_v1beta1_connection_proto = out.File
	file_google_cloud_bigquery_connection_v1beta1_connection_proto_goTypes = nil
	file_google_cloud_bigquery_connection_v1beta1_connection_proto_depIdxs = nil
}
