// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/connectionmanager/v1/connection.proto

package connectionmanager

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

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)
)

type DBType int32

const (
	DBType_DB_TYPE_UNSPECIFIED DBType = 0
	DBType_POSTGRESQL          DBType = 1
	DBType_MYSQL               DBType = 2
	DBType_CLICKHOUSE          DBType = 3
	DBType_MONGODB             DBType = 4
	DBType_KAFKA               DBType = 5
	DBType_REDIS               DBType = 6
	DBType_OPENSEARCH          DBType = 7
	DBType_TRINO               DBType = 8
	DBType_VALKEY              DBType = 9
	DBType_GREENPLUM           DBType = 10
	DBType_STOREDOC            DBType = 11
)

// Enum value maps for DBType.
var (
	DBType_name = map[int32]string{
		0:  "DB_TYPE_UNSPECIFIED",
		1:  "POSTGRESQL",
		2:  "MYSQL",
		3:  "CLICKHOUSE",
		4:  "MONGODB",
		5:  "KAFKA",
		6:  "REDIS",
		7:  "OPENSEARCH",
		8:  "TRINO",
		9:  "VALKEY",
		10: "GREENPLUM",
		11: "STOREDOC",
	}
	DBType_value = map[string]int32{
		"DB_TYPE_UNSPECIFIED": 0,
		"POSTGRESQL":          1,
		"MYSQL":               2,
		"CLICKHOUSE":          3,
		"MONGODB":             4,
		"KAFKA":               5,
		"REDIS":               6,
		"OPENSEARCH":          7,
		"TRINO":               8,
		"VALKEY":              9,
		"GREENPLUM":           10,
		"STOREDOC":            11,
	}
)

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

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

func (DBType) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_connectionmanager_v1_connection_proto_enumTypes[0].Descriptor()
}

func (DBType) Type() protoreflect.EnumType {
	return &file_yandex_cloud_connectionmanager_v1_connection_proto_enumTypes[0]
}

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

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

type ConnectionParams struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Type:
	//
	//	*ConnectionParams_Postgresql
	//	*ConnectionParams_Mysql
	//	*ConnectionParams_Mongodb
	//	*ConnectionParams_Clickhouse
	//	*ConnectionParams_Kafka
	//	*ConnectionParams_Redis
	//	*ConnectionParams_Opensearch
	//	*ConnectionParams_Trino
	//	*ConnectionParams_Valkey
	//	*ConnectionParams_Greenplum
	//	*ConnectionParams_Storedoc
	Type          isConnectionParams_Type `protobuf_oneof:"type"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ConnectionParams) ProtoMessage() {}

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

func (x *ConnectionParams) GetType() isConnectionParams_Type {
	if x != nil {
		return x.Type
	}
	return nil
}

func (x *ConnectionParams) GetPostgresql() *PostgreSQLConnection {
	if x != nil {
		if x, ok := x.Type.(*ConnectionParams_Postgresql); ok {
			return x.Postgresql
		}
	}
	return nil
}

func (x *ConnectionParams) GetMysql() *MySQLConnection {
	if x != nil {
		if x, ok := x.Type.(*ConnectionParams_Mysql); ok {
			return x.Mysql
		}
	}
	return nil
}

func (x *ConnectionParams) GetMongodb() *MongoDBConnection {
	if x != nil {
		if x, ok := x.Type.(*ConnectionParams_Mongodb); ok {
			return x.Mongodb
		}
	}
	return nil
}

func (x *ConnectionParams) GetClickhouse() *ClickHouseConnection {
	if x != nil {
		if x, ok := x.Type.(*ConnectionParams_Clickhouse); ok {
			return x.Clickhouse
		}
	}
	return nil
}

func (x *ConnectionParams) GetKafka() *KafkaConnection {
	if x != nil {
		if x, ok := x.Type.(*ConnectionParams_Kafka); ok {
			return x.Kafka
		}
	}
	return nil
}

func (x *ConnectionParams) GetRedis() *RedisConnection {
	if x != nil {
		if x, ok := x.Type.(*ConnectionParams_Redis); ok {
			return x.Redis
		}
	}
	return nil
}

func (x *ConnectionParams) GetOpensearch() *OpenSearchConnection {
	if x != nil {
		if x, ok := x.Type.(*ConnectionParams_Opensearch); ok {
			return x.Opensearch
		}
	}
	return nil
}

func (x *ConnectionParams) GetTrino() *TrinoConnection {
	if x != nil {
		if x, ok := x.Type.(*ConnectionParams_Trino); ok {
			return x.Trino
		}
	}
	return nil
}

func (x *ConnectionParams) GetValkey() *ValkeyConnection {
	if x != nil {
		if x, ok := x.Type.(*ConnectionParams_Valkey); ok {
			return x.Valkey
		}
	}
	return nil
}

func (x *ConnectionParams) GetGreenplum() *GreenplumConnection {
	if x != nil {
		if x, ok := x.Type.(*ConnectionParams_Greenplum); ok {
			return x.Greenplum
		}
	}
	return nil
}

func (x *ConnectionParams) GetStoredoc() *StoreDocConnection {
	if x != nil {
		if x, ok := x.Type.(*ConnectionParams_Storedoc); ok {
			return x.Storedoc
		}
	}
	return nil
}

type isConnectionParams_Type interface {
	isConnectionParams_Type()
}

type ConnectionParams_Postgresql struct {
	Postgresql *PostgreSQLConnection `protobuf:"bytes,1,opt,name=postgresql,proto3,oneof"`
}

type ConnectionParams_Mysql struct {
	Mysql *MySQLConnection `protobuf:"bytes,2,opt,name=mysql,proto3,oneof"`
}

type ConnectionParams_Mongodb struct {
	Mongodb *MongoDBConnection `protobuf:"bytes,3,opt,name=mongodb,proto3,oneof"`
}

type ConnectionParams_Clickhouse struct {
	Clickhouse *ClickHouseConnection `protobuf:"bytes,4,opt,name=clickhouse,proto3,oneof"`
}

type ConnectionParams_Kafka struct {
	Kafka *KafkaConnection `protobuf:"bytes,5,opt,name=kafka,proto3,oneof"`
}

type ConnectionParams_Redis struct {
	Redis *RedisConnection `protobuf:"bytes,6,opt,name=redis,proto3,oneof"`
}

type ConnectionParams_Opensearch struct {
	Opensearch *OpenSearchConnection `protobuf:"bytes,7,opt,name=opensearch,proto3,oneof"`
}

type ConnectionParams_Trino struct {
	Trino *TrinoConnection `protobuf:"bytes,8,opt,name=trino,proto3,oneof"`
}

type ConnectionParams_Valkey struct {
	Valkey *ValkeyConnection `protobuf:"bytes,9,opt,name=valkey,proto3,oneof"`
}

type ConnectionParams_Greenplum struct {
	Greenplum *GreenplumConnection `protobuf:"bytes,10,opt,name=greenplum,proto3,oneof"`
}

type ConnectionParams_Storedoc struct {
	Storedoc *StoreDocConnection `protobuf:"bytes,11,opt,name=storedoc,proto3,oneof"`
}

func (*ConnectionParams_Postgresql) isConnectionParams_Type() {}

func (*ConnectionParams_Mysql) isConnectionParams_Type() {}

func (*ConnectionParams_Mongodb) isConnectionParams_Type() {}

func (*ConnectionParams_Clickhouse) isConnectionParams_Type() {}

func (*ConnectionParams_Kafka) isConnectionParams_Type() {}

func (*ConnectionParams_Redis) isConnectionParams_Type() {}

func (*ConnectionParams_Opensearch) isConnectionParams_Type() {}

func (*ConnectionParams_Trino) isConnectionParams_Type() {}

func (*ConnectionParams_Valkey) isConnectionParams_Type() {}

func (*ConnectionParams_Greenplum) isConnectionParams_Type() {}

func (*ConnectionParams_Storedoc) isConnectionParams_Type() {}

type LockboxSecret struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Version       string                 `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	NewestVersion string                 `protobuf:"bytes,3,opt,name=newest_version,json=newestVersion,proto3" json:"newest_version,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*LockboxSecret) ProtoMessage() {}

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

func (x *LockboxSecret) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *LockboxSecret) GetVersion() string {
	if x != nil {
		return x.Version
	}
	return ""
}

func (x *LockboxSecret) GetNewestVersion() string {
	if x != nil {
		return x.NewestVersion
	}
	return ""
}

type Connection struct {
	state       protoimpl.MessageState `protogen:"open.v1"`
	Id          string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FolderId    string                 `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	CreatedAt   *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt   *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	Name        string                 `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	Description string                 `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	Labels      map[string]string      `protobuf:"bytes,7,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	CreatedBy   string                 `protobuf:"bytes,8,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	Params      *ConnectionParams      `protobuf:"bytes,9,opt,name=params,proto3" json:"params,omitempty"`
	// Types that are valid to be assigned to Secret:
	//
	//	*Connection_LockboxSecret
	Secret        isConnection_Secret   `protobuf_oneof:"secret"`
	IsManaged     bool                  `protobuf:"varint,12,opt,name=is_managed,json=isManaged,proto3" json:"is_managed,omitempty"`
	CanUse        *wrapperspb.BoolValue `protobuf:"bytes,13,opt,name=can_use,json=canUse,proto3" json:"can_use,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Connection) Reset() {
	*x = Connection{}
	mi := &file_yandex_cloud_connectionmanager_v1_connection_proto_msgTypes[2]
	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_yandex_cloud_connectionmanager_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 Connection.ProtoReflect.Descriptor instead.
func (*Connection) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_connectionmanager_v1_connection_proto_rawDescGZIP(), []int{2}
}

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

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

func (x *Connection) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *Connection) GetUpdatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdatedAt
	}
	return nil
}

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

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

func (x *Connection) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

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

func (x *Connection) GetParams() *ConnectionParams {
	if x != nil {
		return x.Params
	}
	return nil
}

func (x *Connection) GetSecret() isConnection_Secret {
	if x != nil {
		return x.Secret
	}
	return nil
}

func (x *Connection) GetLockboxSecret() *LockboxSecret {
	if x != nil {
		if x, ok := x.Secret.(*Connection_LockboxSecret); ok {
			return x.LockboxSecret
		}
	}
	return nil
}

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

func (x *Connection) GetCanUse() *wrapperspb.BoolValue {
	if x != nil {
		return x.CanUse
	}
	return nil
}

type isConnection_Secret interface {
	isConnection_Secret()
}

type Connection_LockboxSecret struct {
	LockboxSecret *LockboxSecret `protobuf:"bytes,10,opt,name=lockbox_secret,json=lockboxSecret,proto3,oneof"`
}

func (*Connection_LockboxSecret) isConnection_Secret() {}

var File_yandex_cloud_connectionmanager_v1_connection_proto protoreflect.FileDescriptor

const file_yandex_cloud_connectionmanager_v1_connection_proto_rawDesc = "" +
	"\n" +
	"2yandex/cloud/connectionmanager/v1/connection.proto\x12!yandex.cloud.connectionmanager.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a-yandex/cloud/connectionmanager/v1/mysql.proto\x1a2yandex/cloud/connectionmanager/v1/postgresql.proto\x1a/yandex/cloud/connectionmanager/v1/mongodb.proto\x1a2yandex/cloud/connectionmanager/v1/clickhouse.proto\x1a-yandex/cloud/connectionmanager/v1/redis.proto\x1a-yandex/cloud/connectionmanager/v1/trino.proto\x1a.yandex/cloud/connectionmanager/v1/valkey.proto\x1a2yandex/cloud/connectionmanager/v1/opensearch.proto\x1a1yandex/cloud/connectionmanager/v1/greenplum.proto\x1a-yandex/cloud/connectionmanager/v1/kafka.proto\x1a0yandex/cloud/connectionmanager/v1/storedoc.proto\"\xa9\a\n" +
	"\x10ConnectionParams\x12Y\n" +
	"\n" +
	"postgresql\x18\x01 \x01(\v27.yandex.cloud.connectionmanager.v1.PostgreSQLConnectionH\x00R\n" +
	"postgresql\x12J\n" +
	"\x05mysql\x18\x02 \x01(\v22.yandex.cloud.connectionmanager.v1.MySQLConnectionH\x00R\x05mysql\x12P\n" +
	"\amongodb\x18\x03 \x01(\v24.yandex.cloud.connectionmanager.v1.MongoDBConnectionH\x00R\amongodb\x12Y\n" +
	"\n" +
	"clickhouse\x18\x04 \x01(\v27.yandex.cloud.connectionmanager.v1.ClickHouseConnectionH\x00R\n" +
	"clickhouse\x12J\n" +
	"\x05kafka\x18\x05 \x01(\v22.yandex.cloud.connectionmanager.v1.KafkaConnectionH\x00R\x05kafka\x12J\n" +
	"\x05redis\x18\x06 \x01(\v22.yandex.cloud.connectionmanager.v1.RedisConnectionH\x00R\x05redis\x12Y\n" +
	"\n" +
	"opensearch\x18\a \x01(\v27.yandex.cloud.connectionmanager.v1.OpenSearchConnectionH\x00R\n" +
	"opensearch\x12J\n" +
	"\x05trino\x18\b \x01(\v22.yandex.cloud.connectionmanager.v1.TrinoConnectionH\x00R\x05trino\x12M\n" +
	"\x06valkey\x18\t \x01(\v23.yandex.cloud.connectionmanager.v1.ValkeyConnectionH\x00R\x06valkey\x12V\n" +
	"\tgreenplum\x18\n" +
	" \x01(\v26.yandex.cloud.connectionmanager.v1.GreenplumConnectionH\x00R\tgreenplum\x12S\n" +
	"\bstoredoc\x18\v \x01(\v25.yandex.cloud.connectionmanager.v1.StoreDocConnectionH\x00R\bstoredocB\x06\n" +
	"\x04type\"`\n" +
	"\rLockboxSecret\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n" +
	"\aversion\x18\x02 \x01(\tR\aversion\x12%\n" +
	"\x0enewest_version\x18\x03 \x01(\tR\rnewestVersion\"\x9e\x05\n" +
	"\n" +
	"Connection\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
	"\tfolder_id\x18\x02 \x01(\tR\bfolderId\x129\n" +
	"\n" +
	"created_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
	"\n" +
	"updated_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x12\n" +
	"\x04name\x18\x05 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x06 \x01(\tR\vdescription\x12Q\n" +
	"\x06labels\x18\a \x03(\v29.yandex.cloud.connectionmanager.v1.Connection.LabelsEntryR\x06labels\x12\x1d\n" +
	"\n" +
	"created_by\x18\b \x01(\tR\tcreatedBy\x12K\n" +
	"\x06params\x18\t \x01(\v23.yandex.cloud.connectionmanager.v1.ConnectionParamsR\x06params\x12Y\n" +
	"\x0elockbox_secret\x18\n" +
	" \x01(\v20.yandex.cloud.connectionmanager.v1.LockboxSecretH\x00R\rlockboxSecret\x12\x1d\n" +
	"\n" +
	"is_managed\x18\f \x01(\bR\tisManaged\x123\n" +
	"\acan_use\x18\r \x01(\v2\x1a.google.protobuf.BoolValueR\x06canUse\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\b\n" +
	"\x06secretJ\x04\b\v\x10\f*\xb3\x01\n" +
	"\x06DBType\x12\x17\n" +
	"\x13DB_TYPE_UNSPECIFIED\x10\x00\x12\x0e\n" +
	"\n" +
	"POSTGRESQL\x10\x01\x12\t\n" +
	"\x05MYSQL\x10\x02\x12\x0e\n" +
	"\n" +
	"CLICKHOUSE\x10\x03\x12\v\n" +
	"\aMONGODB\x10\x04\x12\t\n" +
	"\x05KAFKA\x10\x05\x12\t\n" +
	"\x05REDIS\x10\x06\x12\x0e\n" +
	"\n" +
	"OPENSEARCH\x10\a\x12\t\n" +
	"\x05TRINO\x10\b\x12\n" +
	"\n" +
	"\x06VALKEY\x10\t\x12\r\n" +
	"\tGREENPLUM\x10\n" +
	"\x12\f\n" +
	"\bSTOREDOC\x10\vB\x80\x01\n" +
	"%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3"

var (
	file_yandex_cloud_connectionmanager_v1_connection_proto_rawDescOnce sync.Once
	file_yandex_cloud_connectionmanager_v1_connection_proto_rawDescData []byte
)

func file_yandex_cloud_connectionmanager_v1_connection_proto_rawDescGZIP() []byte {
	file_yandex_cloud_connectionmanager_v1_connection_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_connectionmanager_v1_connection_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_connectionmanager_v1_connection_proto_rawDesc), len(file_yandex_cloud_connectionmanager_v1_connection_proto_rawDesc)))
	})
	return file_yandex_cloud_connectionmanager_v1_connection_proto_rawDescData
}

var file_yandex_cloud_connectionmanager_v1_connection_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_connectionmanager_v1_connection_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_yandex_cloud_connectionmanager_v1_connection_proto_goTypes = []any{
	(DBType)(0),                   // 0: yandex.cloud.connectionmanager.v1.DBType
	(*ConnectionParams)(nil),      // 1: yandex.cloud.connectionmanager.v1.ConnectionParams
	(*LockboxSecret)(nil),         // 2: yandex.cloud.connectionmanager.v1.LockboxSecret
	(*Connection)(nil),            // 3: yandex.cloud.connectionmanager.v1.Connection
	nil,                           // 4: yandex.cloud.connectionmanager.v1.Connection.LabelsEntry
	(*PostgreSQLConnection)(nil),  // 5: yandex.cloud.connectionmanager.v1.PostgreSQLConnection
	(*MySQLConnection)(nil),       // 6: yandex.cloud.connectionmanager.v1.MySQLConnection
	(*MongoDBConnection)(nil),     // 7: yandex.cloud.connectionmanager.v1.MongoDBConnection
	(*ClickHouseConnection)(nil),  // 8: yandex.cloud.connectionmanager.v1.ClickHouseConnection
	(*KafkaConnection)(nil),       // 9: yandex.cloud.connectionmanager.v1.KafkaConnection
	(*RedisConnection)(nil),       // 10: yandex.cloud.connectionmanager.v1.RedisConnection
	(*OpenSearchConnection)(nil),  // 11: yandex.cloud.connectionmanager.v1.OpenSearchConnection
	(*TrinoConnection)(nil),       // 12: yandex.cloud.connectionmanager.v1.TrinoConnection
	(*ValkeyConnection)(nil),      // 13: yandex.cloud.connectionmanager.v1.ValkeyConnection
	(*GreenplumConnection)(nil),   // 14: yandex.cloud.connectionmanager.v1.GreenplumConnection
	(*StoreDocConnection)(nil),    // 15: yandex.cloud.connectionmanager.v1.StoreDocConnection
	(*timestamppb.Timestamp)(nil), // 16: google.protobuf.Timestamp
	(*wrapperspb.BoolValue)(nil),  // 17: google.protobuf.BoolValue
}
var file_yandex_cloud_connectionmanager_v1_connection_proto_depIdxs = []int32{
	5,  // 0: yandex.cloud.connectionmanager.v1.ConnectionParams.postgresql:type_name -> yandex.cloud.connectionmanager.v1.PostgreSQLConnection
	6,  // 1: yandex.cloud.connectionmanager.v1.ConnectionParams.mysql:type_name -> yandex.cloud.connectionmanager.v1.MySQLConnection
	7,  // 2: yandex.cloud.connectionmanager.v1.ConnectionParams.mongodb:type_name -> yandex.cloud.connectionmanager.v1.MongoDBConnection
	8,  // 3: yandex.cloud.connectionmanager.v1.ConnectionParams.clickhouse:type_name -> yandex.cloud.connectionmanager.v1.ClickHouseConnection
	9,  // 4: yandex.cloud.connectionmanager.v1.ConnectionParams.kafka:type_name -> yandex.cloud.connectionmanager.v1.KafkaConnection
	10, // 5: yandex.cloud.connectionmanager.v1.ConnectionParams.redis:type_name -> yandex.cloud.connectionmanager.v1.RedisConnection
	11, // 6: yandex.cloud.connectionmanager.v1.ConnectionParams.opensearch:type_name -> yandex.cloud.connectionmanager.v1.OpenSearchConnection
	12, // 7: yandex.cloud.connectionmanager.v1.ConnectionParams.trino:type_name -> yandex.cloud.connectionmanager.v1.TrinoConnection
	13, // 8: yandex.cloud.connectionmanager.v1.ConnectionParams.valkey:type_name -> yandex.cloud.connectionmanager.v1.ValkeyConnection
	14, // 9: yandex.cloud.connectionmanager.v1.ConnectionParams.greenplum:type_name -> yandex.cloud.connectionmanager.v1.GreenplumConnection
	15, // 10: yandex.cloud.connectionmanager.v1.ConnectionParams.storedoc:type_name -> yandex.cloud.connectionmanager.v1.StoreDocConnection
	16, // 11: yandex.cloud.connectionmanager.v1.Connection.created_at:type_name -> google.protobuf.Timestamp
	16, // 12: yandex.cloud.connectionmanager.v1.Connection.updated_at:type_name -> google.protobuf.Timestamp
	4,  // 13: yandex.cloud.connectionmanager.v1.Connection.labels:type_name -> yandex.cloud.connectionmanager.v1.Connection.LabelsEntry
	1,  // 14: yandex.cloud.connectionmanager.v1.Connection.params:type_name -> yandex.cloud.connectionmanager.v1.ConnectionParams
	2,  // 15: yandex.cloud.connectionmanager.v1.Connection.lockbox_secret:type_name -> yandex.cloud.connectionmanager.v1.LockboxSecret
	17, // 16: yandex.cloud.connectionmanager.v1.Connection.can_use:type_name -> google.protobuf.BoolValue
	17, // [17:17] is the sub-list for method output_type
	17, // [17:17] 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_yandex_cloud_connectionmanager_v1_connection_proto_init() }
func file_yandex_cloud_connectionmanager_v1_connection_proto_init() {
	if File_yandex_cloud_connectionmanager_v1_connection_proto != nil {
		return
	}
	file_yandex_cloud_connectionmanager_v1_mysql_proto_init()
	file_yandex_cloud_connectionmanager_v1_postgresql_proto_init()
	file_yandex_cloud_connectionmanager_v1_mongodb_proto_init()
	file_yandex_cloud_connectionmanager_v1_clickhouse_proto_init()
	file_yandex_cloud_connectionmanager_v1_redis_proto_init()
	file_yandex_cloud_connectionmanager_v1_trino_proto_init()
	file_yandex_cloud_connectionmanager_v1_valkey_proto_init()
	file_yandex_cloud_connectionmanager_v1_opensearch_proto_init()
	file_yandex_cloud_connectionmanager_v1_greenplum_proto_init()
	file_yandex_cloud_connectionmanager_v1_kafka_proto_init()
	file_yandex_cloud_connectionmanager_v1_storedoc_proto_init()
	file_yandex_cloud_connectionmanager_v1_connection_proto_msgTypes[0].OneofWrappers = []any{
		(*ConnectionParams_Postgresql)(nil),
		(*ConnectionParams_Mysql)(nil),
		(*ConnectionParams_Mongodb)(nil),
		(*ConnectionParams_Clickhouse)(nil),
		(*ConnectionParams_Kafka)(nil),
		(*ConnectionParams_Redis)(nil),
		(*ConnectionParams_Opensearch)(nil),
		(*ConnectionParams_Trino)(nil),
		(*ConnectionParams_Valkey)(nil),
		(*ConnectionParams_Greenplum)(nil),
		(*ConnectionParams_Storedoc)(nil),
	}
	file_yandex_cloud_connectionmanager_v1_connection_proto_msgTypes[2].OneofWrappers = []any{
		(*Connection_LockboxSecret)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_connectionmanager_v1_connection_proto_rawDesc), len(file_yandex_cloud_connectionmanager_v1_connection_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_connectionmanager_v1_connection_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_connectionmanager_v1_connection_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_connectionmanager_v1_connection_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_connectionmanager_v1_connection_proto_msgTypes,
	}.Build()
	File_yandex_cloud_connectionmanager_v1_connection_proto = out.File
	file_yandex_cloud_connectionmanager_v1_connection_proto_goTypes = nil
	file_yandex_cloud_connectionmanager_v1_connection_proto_depIdxs = nil
}
