// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	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)
)

// Database or service type enumeration.
type DBType int32

const (
	// Unspecified database type.
	DBType_DB_TYPE_UNSPECIFIED DBType = 0
	// PostgreSQL database.
	DBType_POSTGRESQL DBType = 1
	// MySQL database.
	DBType_MYSQL DBType = 2
	// ClickHouse database.
	DBType_CLICKHOUSE DBType = 3
	// MongoDB database.
	DBType_MONGODB DBType = 4
	// Apache Kafka message broker.
	DBType_KAFKA DBType = 5
	// Redis in-memory data store.
	DBType_REDIS DBType = 6
	// OpenSearch search engine.
	DBType_OPENSEARCH DBType = 7
	// Trino distributed SQL query engine.
	DBType_TRINO DBType = 8
	// Valkey in-memory data store.
	DBType_VALKEY DBType = 9
	// Greenplum data warehouse.
	DBType_GREENPLUM DBType = 10
	// StoreDoc document store.
	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}
}

// Connection parameters for various database and service types.
type ConnectionParams struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Database or service connection configuration.
	//
	// 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 database connection parameters.
	Postgresql *PostgreSQLConnection `protobuf:"bytes,1,opt,name=postgresql,proto3,oneof"`
}

type ConnectionParams_Mysql struct {
	// MySQL database connection parameters.
	Mysql *MySQLConnection `protobuf:"bytes,2,opt,name=mysql,proto3,oneof"`
}

type ConnectionParams_Mongodb struct {
	// MongoDB database connection parameters.
	Mongodb *MongoDBConnection `protobuf:"bytes,3,opt,name=mongodb,proto3,oneof"`
}

type ConnectionParams_Clickhouse struct {
	// ClickHouse database connection parameters.
	Clickhouse *ClickHouseConnection `protobuf:"bytes,4,opt,name=clickhouse,proto3,oneof"`
}

type ConnectionParams_Kafka struct {
	// Apache Kafka message broker connection parameters.
	Kafka *KafkaConnection `protobuf:"bytes,5,opt,name=kafka,proto3,oneof"`
}

type ConnectionParams_Redis struct {
	// Redis in-memory data store connection parameters.
	Redis *RedisConnection `protobuf:"bytes,6,opt,name=redis,proto3,oneof"`
}

type ConnectionParams_Opensearch struct {
	// OpenSearch search engine connection parameters.
	Opensearch *OpenSearchConnection `protobuf:"bytes,7,opt,name=opensearch,proto3,oneof"`
}

type ConnectionParams_Trino struct {
	// Trino distributed SQL query engine connection parameters.
	Trino *TrinoConnection `protobuf:"bytes,8,opt,name=trino,proto3,oneof"`
}

type ConnectionParams_Valkey struct {
	// Valkey in-memory data store connection parameters.
	Valkey *ValkeyConnection `protobuf:"bytes,9,opt,name=valkey,proto3,oneof"`
}

type ConnectionParams_Greenplum struct {
	// Greenplum data warehouse connection parameters.
	Greenplum *GreenplumConnection `protobuf:"bytes,10,opt,name=greenplum,proto3,oneof"`
}

type ConnectionParams_Storedoc struct {
	// StoreDoc document store connection parameters.
	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() {}

// Reference to a Lockbox secret.
type LockboxSecret struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the Lockbox secret.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Lockbox secret version.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// The newest available version of the Lockbox secret.
	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 ""
}

// Specification for creating a new Lockbox secret.
type LockboxSecretSpec struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder where the Lockbox secret will be created. If omitted, the secret will be created in the connection's folder.
	FolderId      string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*LockboxSecretSpec) ProtoMessage() {}

func (x *LockboxSecretSpec) 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 LockboxSecretSpec.ProtoReflect.Descriptor instead.
func (*LockboxSecretSpec) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_connectionmanager_v1_connection_proto_rawDescGZIP(), []int{2}
}

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

// A Connection resource represents a configured connection to a database or service.
type Connection struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the connection. Generated at creation time.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the connection belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Last update timestamp.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Name of the connection.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the connection.
	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
	// Connection labels as `key:value` pairs.
	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"`
	// ID of the subject which created the connection.
	CreatedBy string `protobuf:"bytes,8,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// Connection parameters specific to the database or service type.
	Params *ConnectionParams `protobuf:"bytes,9,opt,name=params,proto3" json:"params,omitempty"`
	// Secret configuration for authentication.
	//
	// Types that are valid to be assigned to Secret:
	//
	//	*Connection_LockboxSecret
	Secret isConnection_Secret `protobuf_oneof:"secret"`
	// Secret specification for creating a new secret.
	//
	// Types that are valid to be assigned to SecretSpec:
	//
	//	*Connection_LockboxSecretSpec
	SecretSpec isConnection_SecretSpec `protobuf_oneof:"secret_spec"`
	// Whether this connection is managed by the system (e.g. an MDB cluster).
	IsManaged bool `protobuf:"varint,12,opt,name=is_managed,json=isManaged,proto3" json:"is_managed,omitempty"`
	// Whether the current user can use this connection. Filled only when `with_can_use` has been requested in ListConnectionRequest.
	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[3]
	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[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 Connection.ProtoReflect.Descriptor instead.
func (*Connection) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_connectionmanager_v1_connection_proto_rawDescGZIP(), []int{3}
}

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) GetSecretSpec() isConnection_SecretSpec {
	if x != nil {
		return x.SecretSpec
	}
	return nil
}

func (x *Connection) GetLockboxSecretSpec() *LockboxSecretSpec {
	if x != nil {
		if x, ok := x.SecretSpec.(*Connection_LockboxSecretSpec); ok {
			return x.LockboxSecretSpec
		}
	}
	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 {
	// Reference to the Lockbox secret containing connection credentials.
	LockboxSecret *LockboxSecret `protobuf:"bytes,10,opt,name=lockbox_secret,json=lockboxSecret,proto3,oneof"`
}

func (*Connection_LockboxSecret) isConnection_Secret() {}

type isConnection_SecretSpec interface {
	isConnection_SecretSpec()
}

type Connection_LockboxSecretSpec struct {
	// Specification for creating a new Lockbox secret.
	LockboxSecretSpec *LockboxSecretSpec `protobuf:"bytes,14,opt,name=lockbox_secret_spec,json=lockboxSecretSpec,proto3,oneof"`
}

func (*Connection_LockboxSecretSpec) isConnection_SecretSpec() {}

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\"0\n" +
	"\x11LockboxSecretSpec\x12\x1b\n" +
	"\tfolder_id\x18\x01 \x01(\tR\bfolderId\"\x95\x06\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\x12f\n" +
	"\x13lockbox_secret_spec\x18\x0e \x01(\v24.yandex.cloud.connectionmanager.v1.LockboxSecretSpecH\x01R\x11lockboxSecretSpec\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" +
	"\x06secretB\r\n" +
	"\vsecret_specJ\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, 5)
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
	(*LockboxSecretSpec)(nil),     // 3: yandex.cloud.connectionmanager.v1.LockboxSecretSpec
	(*Connection)(nil),            // 4: yandex.cloud.connectionmanager.v1.Connection
	nil,                           // 5: yandex.cloud.connectionmanager.v1.Connection.LabelsEntry
	(*PostgreSQLConnection)(nil),  // 6: yandex.cloud.connectionmanager.v1.PostgreSQLConnection
	(*MySQLConnection)(nil),       // 7: yandex.cloud.connectionmanager.v1.MySQLConnection
	(*MongoDBConnection)(nil),     // 8: yandex.cloud.connectionmanager.v1.MongoDBConnection
	(*ClickHouseConnection)(nil),  // 9: yandex.cloud.connectionmanager.v1.ClickHouseConnection
	(*KafkaConnection)(nil),       // 10: yandex.cloud.connectionmanager.v1.KafkaConnection
	(*RedisConnection)(nil),       // 11: yandex.cloud.connectionmanager.v1.RedisConnection
	(*OpenSearchConnection)(nil),  // 12: yandex.cloud.connectionmanager.v1.OpenSearchConnection
	(*TrinoConnection)(nil),       // 13: yandex.cloud.connectionmanager.v1.TrinoConnection
	(*ValkeyConnection)(nil),      // 14: yandex.cloud.connectionmanager.v1.ValkeyConnection
	(*GreenplumConnection)(nil),   // 15: yandex.cloud.connectionmanager.v1.GreenplumConnection
	(*StoreDocConnection)(nil),    // 16: yandex.cloud.connectionmanager.v1.StoreDocConnection
	(*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp
	(*wrapperspb.BoolValue)(nil),  // 18: google.protobuf.BoolValue
}
var file_yandex_cloud_connectionmanager_v1_connection_proto_depIdxs = []int32{
	6,  // 0: yandex.cloud.connectionmanager.v1.ConnectionParams.postgresql:type_name -> yandex.cloud.connectionmanager.v1.PostgreSQLConnection
	7,  // 1: yandex.cloud.connectionmanager.v1.ConnectionParams.mysql:type_name -> yandex.cloud.connectionmanager.v1.MySQLConnection
	8,  // 2: yandex.cloud.connectionmanager.v1.ConnectionParams.mongodb:type_name -> yandex.cloud.connectionmanager.v1.MongoDBConnection
	9,  // 3: yandex.cloud.connectionmanager.v1.ConnectionParams.clickhouse:type_name -> yandex.cloud.connectionmanager.v1.ClickHouseConnection
	10, // 4: yandex.cloud.connectionmanager.v1.ConnectionParams.kafka:type_name -> yandex.cloud.connectionmanager.v1.KafkaConnection
	11, // 5: yandex.cloud.connectionmanager.v1.ConnectionParams.redis:type_name -> yandex.cloud.connectionmanager.v1.RedisConnection
	12, // 6: yandex.cloud.connectionmanager.v1.ConnectionParams.opensearch:type_name -> yandex.cloud.connectionmanager.v1.OpenSearchConnection
	13, // 7: yandex.cloud.connectionmanager.v1.ConnectionParams.trino:type_name -> yandex.cloud.connectionmanager.v1.TrinoConnection
	14, // 8: yandex.cloud.connectionmanager.v1.ConnectionParams.valkey:type_name -> yandex.cloud.connectionmanager.v1.ValkeyConnection
	15, // 9: yandex.cloud.connectionmanager.v1.ConnectionParams.greenplum:type_name -> yandex.cloud.connectionmanager.v1.GreenplumConnection
	16, // 10: yandex.cloud.connectionmanager.v1.ConnectionParams.storedoc:type_name -> yandex.cloud.connectionmanager.v1.StoreDocConnection
	17, // 11: yandex.cloud.connectionmanager.v1.Connection.created_at:type_name -> google.protobuf.Timestamp
	17, // 12: yandex.cloud.connectionmanager.v1.Connection.updated_at:type_name -> google.protobuf.Timestamp
	5,  // 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
	3,  // 16: yandex.cloud.connectionmanager.v1.Connection.lockbox_secret_spec:type_name -> yandex.cloud.connectionmanager.v1.LockboxSecretSpec
	18, // 17: yandex.cloud.connectionmanager.v1.Connection.can_use:type_name -> google.protobuf.BoolValue
	18, // [18:18] is the sub-list for method output_type
	18, // [18:18] is the sub-list for method input_type
	18, // [18:18] is the sub-list for extension type_name
	18, // [18:18] is the sub-list for extension extendee
	0,  // [0:18] 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[3].OneofWrappers = []any{
		(*Connection_LockboxSecret)(nil),
		(*Connection_LockboxSecretSpec)(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:   5,
			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
}
