// 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_service.proto

package connectionmanager

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud/api"
	operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	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 CreateConnectionRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	FolderId      string                 `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	Name          string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description   string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Labels        map[string]string      `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	Params        *ConnectionParams      `protobuf:"bytes,5,opt,name=params,proto3" json:"params,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateConnectionRequest) Reset() {
	*x = CreateConnectionRequest{}
	mi := &file_yandex_cloud_connectionmanager_v1_connection_service_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_yandex_cloud_connectionmanager_v1_connection_service_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

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

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

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

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

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

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

type CreateConnectionMetadata struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ConnectionId  string                 `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateConnectionMetadata) ProtoMessage() {}

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

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

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

type UpdateConnectionRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ConnectionId  string                 `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	UpdateMask    *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	Name          string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description   string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Labels        map[string]string      `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	Params        *ConnectionParams      `protobuf:"bytes,6,opt,name=params,proto3" json:"params,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateConnectionRequest) Reset() {
	*x = UpdateConnectionRequest{}
	mi := &file_yandex_cloud_connectionmanager_v1_connection_service_proto_msgTypes[2]
	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_yandex_cloud_connectionmanager_v1_connection_service_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

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

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

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

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

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

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

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

type UpdateConnectionMetadata struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ConnectionId  string                 `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateConnectionMetadata) ProtoMessage() {}

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

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

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

type DeleteConnectionRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ConnectionId  string                 `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteConnectionRequest) Reset() {
	*x = DeleteConnectionRequest{}
	mi := &file_yandex_cloud_connectionmanager_v1_connection_service_proto_msgTypes[4]
	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_yandex_cloud_connectionmanager_v1_connection_service_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

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

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

type DeleteConnectionMetadata struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteConnectionMetadata) ProtoMessage() {}

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

type ListConnectionRequest struct {
	state           protoimpl.MessageState `protogen:"open.v1"`
	FolderId        string                 `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	MdbClusterId    string                 `protobuf:"bytes,2,opt,name=mdb_cluster_id,json=mdbClusterId,proto3" json:"mdb_cluster_id,omitempty"`
	PageSize        int64                  `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken       string                 `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	NamePatternOrId string                 `protobuf:"bytes,6,opt,name=name_pattern_or_id,json=namePatternOrId,proto3" json:"name_pattern_or_id,omitempty"`
	AuthorId        string                 `protobuf:"bytes,7,opt,name=author_id,json=authorId,proto3" json:"author_id,omitempty"`
	WithCanUse      bool                   `protobuf:"varint,8,opt,name=with_can_use,json=withCanUse,proto3" json:"with_can_use,omitempty"`
	IsOnpremise     *wrapperspb.BoolValue  `protobuf:"bytes,9,opt,name=is_onpremise,json=isOnpremise,proto3" json:"is_onpremise,omitempty"`
	IsManual        *wrapperspb.BoolValue  `protobuf:"bytes,10,opt,name=is_manual,json=isManual,proto3" json:"is_manual,omitempty"`
	DbType          DBType                 `protobuf:"varint,11,opt,name=db_type,json=dbType,proto3,enum=yandex.cloud.connectionmanager.v1.DBType" json:"db_type,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*ListConnectionRequest) ProtoMessage() {}

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

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

func (x *ListConnectionRequest) GetMdbClusterId() string {
	if x != nil {
		return x.MdbClusterId
	}
	return ""
}

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

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

func (x *ListConnectionRequest) GetNamePatternOrId() string {
	if x != nil {
		return x.NamePatternOrId
	}
	return ""
}

func (x *ListConnectionRequest) GetAuthorId() string {
	if x != nil {
		return x.AuthorId
	}
	return ""
}

func (x *ListConnectionRequest) GetWithCanUse() bool {
	if x != nil {
		return x.WithCanUse
	}
	return false
}

func (x *ListConnectionRequest) GetIsOnpremise() *wrapperspb.BoolValue {
	if x != nil {
		return x.IsOnpremise
	}
	return nil
}

func (x *ListConnectionRequest) GetIsManual() *wrapperspb.BoolValue {
	if x != nil {
		return x.IsManual
	}
	return nil
}

func (x *ListConnectionRequest) GetDbType() DBType {
	if x != nil {
		return x.DbType
	}
	return DBType_DB_TYPE_UNSPECIFIED
}

type ListConnectionResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Connection    []*Connection          `protobuf:"bytes,1,rep,name=connection,proto3" json:"connection,omitempty"`
	NextPageToken string                 `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListConnectionResponse) ProtoMessage() {}

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

func (x *ListConnectionResponse) GetConnection() []*Connection {
	if x != nil {
		return x.Connection
	}
	return nil
}

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

type GetConnectionRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ConnectionId  string                 `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetConnectionRequest) Reset() {
	*x = GetConnectionRequest{}
	mi := &file_yandex_cloud_connectionmanager_v1_connection_service_proto_msgTypes[8]
	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_yandex_cloud_connectionmanager_v1_connection_service_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 GetConnectionRequest.ProtoReflect.Descriptor instead.
func (*GetConnectionRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_connectionmanager_v1_connection_service_proto_rawDescGZIP(), []int{8}
}

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

type ResolveClusterRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ConnectionId  string                 `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ResolveClusterRequest) ProtoMessage() {}

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

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

type DeleteVersionMetadata struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ConnectionId  string                 `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	VersionId     string                 `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteVersionMetadata) ProtoMessage() {}

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

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

func (x *DeleteVersionMetadata) GetVersionId() string {
	if x != nil {
		return x.VersionId
	}
	return ""
}

type ListOperationsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ConnectionId  string                 `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	PageSize      int64                  `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	PageToken     string                 `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListOperationsRequest) ProtoMessage() {}

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

// Deprecated: Use ListOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListOperationsRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_connectionmanager_v1_connection_service_proto_rawDescGZIP(), []int{11}
}

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

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

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

type ListOperationsResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Operations    []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	NextPageToken string                 `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListOperationsResponse) ProtoMessage() {}

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

// Deprecated: Use ListOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListOperationsResponse) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_connectionmanager_v1_connection_service_proto_rawDescGZIP(), []int{12}
}

func (x *ListOperationsResponse) GetOperations() []*operation.Operation {
	if x != nil {
		return x.Operations
	}
	return nil
}

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

var File_yandex_cloud_connectionmanager_v1_connection_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_connectionmanager_v1_connection_service_proto_rawDesc = "" +
	"\n" +
	":yandex/cloud/connectionmanager/v1/connection_service.proto\x12!yandex.cloud.connectionmanager.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a2yandex/cloud/connectionmanager/v1/connection.proto\"\xda\x02\n" +
	"\x17CreateConnectionRequest\x12\x1b\n" +
	"\tfolder_id\x18\x01 \x01(\tR\bfolderId\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x12^\n" +
	"\x06labels\x18\x04 \x03(\v2F.yandex.cloud.connectionmanager.v1.CreateConnectionRequest.LabelsEntryR\x06labels\x12K\n" +
	"\x06params\x18\x05 \x01(\v23.yandex.cloud.connectionmanager.v1.ConnectionParamsR\x06params\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01J\x04\b\x06\x10\v\"?\n" +
	"\x18CreateConnectionMetadata\x12#\n" +
	"\rconnection_id\x18\x01 \x01(\tR\fconnectionId\"\x9f\x03\n" +
	"\x17UpdateConnectionRequest\x12#\n" +
	"\rconnection_id\x18\x01 \x01(\tR\fconnectionId\x12;\n" +
	"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" +
	"updateMask\x12\x12\n" +
	"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x04 \x01(\tR\vdescription\x12^\n" +
	"\x06labels\x18\x05 \x03(\v2F.yandex.cloud.connectionmanager.v1.UpdateConnectionRequest.LabelsEntryR\x06labels\x12K\n" +
	"\x06params\x18\x06 \x01(\v23.yandex.cloud.connectionmanager.v1.ConnectionParamsR\x06params\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01J\x04\b\a\x10\n" +
	"\"?\n" +
	"\x18UpdateConnectionMetadata\x12#\n" +
	"\rconnection_id\x18\x01 \x01(\tR\fconnectionId\">\n" +
	"\x17DeleteConnectionRequest\x12#\n" +
	"\rconnection_id\x18\x01 \x01(\tR\fconnectionId\"\x1a\n" +
	"\x18DeleteConnectionMetadata\"\xc4\x03\n" +
	"\x15ListConnectionRequest\x12\x1b\n" +
	"\tfolder_id\x18\x01 \x01(\tR\bfolderId\x12$\n" +
	"\x0emdb_cluster_id\x18\x02 \x01(\tR\fmdbClusterId\x12\x1b\n" +
	"\tpage_size\x18\x04 \x01(\x03R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\x05 \x01(\tR\tpageToken\x12+\n" +
	"\x12name_pattern_or_id\x18\x06 \x01(\tR\x0fnamePatternOrId\x12\x1b\n" +
	"\tauthor_id\x18\a \x01(\tR\bauthorId\x12 \n" +
	"\fwith_can_use\x18\b \x01(\bR\n" +
	"withCanUse\x12=\n" +
	"\fis_onpremise\x18\t \x01(\v2\x1a.google.protobuf.BoolValueR\visOnpremise\x127\n" +
	"\tis_manual\x18\n" +
	" \x01(\v2\x1a.google.protobuf.BoolValueR\bisManual\x12B\n" +
	"\adb_type\x18\v \x01(\x0e2).yandex.cloud.connectionmanager.v1.DBTypeR\x06dbTypeJ\x04\b\x03\x10\x04\"\x8f\x01\n" +
	"\x16ListConnectionResponse\x12M\n" +
	"\n" +
	"connection\x18\x01 \x03(\v2-.yandex.cloud.connectionmanager.v1.ConnectionR\n" +
	"connection\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"G\n" +
	"\x14GetConnectionRequest\x12#\n" +
	"\rconnection_id\x18\x01 \x01(\tR\fconnectionIdJ\x04\b\x02\x10\x03J\x04\b\x03\x10\x04\"B\n" +
	"\x15ResolveClusterRequest\x12#\n" +
	"\rconnection_id\x18\x01 \x01(\tR\fconnectionIdJ\x04\b\x02\x10\x03\"[\n" +
	"\x15DeleteVersionMetadata\x12#\n" +
	"\rconnection_id\x18\x01 \x01(\tR\fconnectionId\x12\x1d\n" +
	"\n" +
	"version_id\x18\x02 \x01(\tR\tversionId\"x\n" +
	"\x15ListOperationsRequest\x12#\n" +
	"\rconnection_id\x18\x01 \x01(\tR\fconnectionId\x12\x1b\n" +
	"\tpage_size\x18\x02 \x01(\x03R\bpageSize\x12\x1d\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tR\tpageToken\"\x83\x01\n" +
	"\x16ListOperationsResponse\x12A\n" +
	"\n" +
	"operations\x18\x01 \x03(\v2!.yandex.cloud.operation.OperationR\n" +
	"operations\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken2\xca\t\n" +
	"\x11ConnectionService\x12\x95\x01\n" +
	"\x03Get\x127.yandex.cloud.connectionmanager.v1.GetConnectionRequest\x1a-.yandex.cloud.connectionmanager.v1.Connection\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v1/connection/{connection_id}\x12\xb0\x01\n" +
	"\x0eResolveCluster\x128.yandex.cloud.connectionmanager.v1.ResolveClusterRequest\x1a-.yandex.cloud.connectionmanager.v1.Connection\"5\x82\xd3\xe4\x93\x02/\x12-/v1/connection/resolveCluster/{connection_id}\x12\x94\x01\n" +
	"\x04List\x128.yandex.cloud.connectionmanager.v1.ListConnectionRequest\x1a9.yandex.cloud.connectionmanager.v1.ListConnectionResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/v1/connections\x12\xac\x01\n" +
	"\x06Create\x12:.yandex.cloud.connectionmanager.v1.CreateConnectionRequest\x1a!.yandex.cloud.operation.Operation\"C\xb2\xd2*&\n" +
	"\x18CreateConnectionMetadata\x12\n" +
	"Connection\x82\xd3\xe4\x93\x02\x13:\x01*\"\x0e/v1/connection\x12\xbc\x01\n" +
	"\x06Update\x12:.yandex.cloud.connectionmanager.v1.UpdateConnectionRequest\x1a!.yandex.cloud.operation.Operation\"S\xb2\xd2*&\n" +
	"\x18UpdateConnectionMetadata\x12\n" +
	"Connection\x82\xd3\xe4\x93\x02#:\x01*2\x1e/v1/connection/{connection_id}\x12\xc4\x01\n" +
	"\x06Delete\x12:.yandex.cloud.connectionmanager.v1.DeleteConnectionRequest\x1a!.yandex.cloud.operation.Operation\"[\xb2\xd2*1\n" +
	"\x18DeleteConnectionMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02 *\x1e/v1/connection/{connection_id}\x12\x9d\x01\n" +
	"\x0eListOperations\x128.yandex.cloud.connectionmanager.v1.ListOperationsRequest\x1a9.yandex.cloud.connectionmanager.v1.ListOperationsResponse\"\x16\x82\xd3\xe4\x93\x02\x10\x12\x0e/v1/operationsB\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_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_connectionmanager_v1_connection_service_proto_rawDescData []byte
)

func file_yandex_cloud_connectionmanager_v1_connection_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_connectionmanager_v1_connection_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_connectionmanager_v1_connection_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_connectionmanager_v1_connection_service_proto_rawDesc), len(file_yandex_cloud_connectionmanager_v1_connection_service_proto_rawDesc)))
	})
	return file_yandex_cloud_connectionmanager_v1_connection_service_proto_rawDescData
}

var file_yandex_cloud_connectionmanager_v1_connection_service_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
var file_yandex_cloud_connectionmanager_v1_connection_service_proto_goTypes = []any{
	(*CreateConnectionRequest)(nil),  // 0: yandex.cloud.connectionmanager.v1.CreateConnectionRequest
	(*CreateConnectionMetadata)(nil), // 1: yandex.cloud.connectionmanager.v1.CreateConnectionMetadata
	(*UpdateConnectionRequest)(nil),  // 2: yandex.cloud.connectionmanager.v1.UpdateConnectionRequest
	(*UpdateConnectionMetadata)(nil), // 3: yandex.cloud.connectionmanager.v1.UpdateConnectionMetadata
	(*DeleteConnectionRequest)(nil),  // 4: yandex.cloud.connectionmanager.v1.DeleteConnectionRequest
	(*DeleteConnectionMetadata)(nil), // 5: yandex.cloud.connectionmanager.v1.DeleteConnectionMetadata
	(*ListConnectionRequest)(nil),    // 6: yandex.cloud.connectionmanager.v1.ListConnectionRequest
	(*ListConnectionResponse)(nil),   // 7: yandex.cloud.connectionmanager.v1.ListConnectionResponse
	(*GetConnectionRequest)(nil),     // 8: yandex.cloud.connectionmanager.v1.GetConnectionRequest
	(*ResolveClusterRequest)(nil),    // 9: yandex.cloud.connectionmanager.v1.ResolveClusterRequest
	(*DeleteVersionMetadata)(nil),    // 10: yandex.cloud.connectionmanager.v1.DeleteVersionMetadata
	(*ListOperationsRequest)(nil),    // 11: yandex.cloud.connectionmanager.v1.ListOperationsRequest
	(*ListOperationsResponse)(nil),   // 12: yandex.cloud.connectionmanager.v1.ListOperationsResponse
	nil,                              // 13: yandex.cloud.connectionmanager.v1.CreateConnectionRequest.LabelsEntry
	nil,                              // 14: yandex.cloud.connectionmanager.v1.UpdateConnectionRequest.LabelsEntry
	(*ConnectionParams)(nil),         // 15: yandex.cloud.connectionmanager.v1.ConnectionParams
	(*fieldmaskpb.FieldMask)(nil),    // 16: google.protobuf.FieldMask
	(*wrapperspb.BoolValue)(nil),     // 17: google.protobuf.BoolValue
	(DBType)(0),                      // 18: yandex.cloud.connectionmanager.v1.DBType
	(*Connection)(nil),               // 19: yandex.cloud.connectionmanager.v1.Connection
	(*operation.Operation)(nil),      // 20: yandex.cloud.operation.Operation
}
var file_yandex_cloud_connectionmanager_v1_connection_service_proto_depIdxs = []int32{
	13, // 0: yandex.cloud.connectionmanager.v1.CreateConnectionRequest.labels:type_name -> yandex.cloud.connectionmanager.v1.CreateConnectionRequest.LabelsEntry
	15, // 1: yandex.cloud.connectionmanager.v1.CreateConnectionRequest.params:type_name -> yandex.cloud.connectionmanager.v1.ConnectionParams
	16, // 2: yandex.cloud.connectionmanager.v1.UpdateConnectionRequest.update_mask:type_name -> google.protobuf.FieldMask
	14, // 3: yandex.cloud.connectionmanager.v1.UpdateConnectionRequest.labels:type_name -> yandex.cloud.connectionmanager.v1.UpdateConnectionRequest.LabelsEntry
	15, // 4: yandex.cloud.connectionmanager.v1.UpdateConnectionRequest.params:type_name -> yandex.cloud.connectionmanager.v1.ConnectionParams
	17, // 5: yandex.cloud.connectionmanager.v1.ListConnectionRequest.is_onpremise:type_name -> google.protobuf.BoolValue
	17, // 6: yandex.cloud.connectionmanager.v1.ListConnectionRequest.is_manual:type_name -> google.protobuf.BoolValue
	18, // 7: yandex.cloud.connectionmanager.v1.ListConnectionRequest.db_type:type_name -> yandex.cloud.connectionmanager.v1.DBType
	19, // 8: yandex.cloud.connectionmanager.v1.ListConnectionResponse.connection:type_name -> yandex.cloud.connectionmanager.v1.Connection
	20, // 9: yandex.cloud.connectionmanager.v1.ListOperationsResponse.operations:type_name -> yandex.cloud.operation.Operation
	8,  // 10: yandex.cloud.connectionmanager.v1.ConnectionService.Get:input_type -> yandex.cloud.connectionmanager.v1.GetConnectionRequest
	9,  // 11: yandex.cloud.connectionmanager.v1.ConnectionService.ResolveCluster:input_type -> yandex.cloud.connectionmanager.v1.ResolveClusterRequest
	6,  // 12: yandex.cloud.connectionmanager.v1.ConnectionService.List:input_type -> yandex.cloud.connectionmanager.v1.ListConnectionRequest
	0,  // 13: yandex.cloud.connectionmanager.v1.ConnectionService.Create:input_type -> yandex.cloud.connectionmanager.v1.CreateConnectionRequest
	2,  // 14: yandex.cloud.connectionmanager.v1.ConnectionService.Update:input_type -> yandex.cloud.connectionmanager.v1.UpdateConnectionRequest
	4,  // 15: yandex.cloud.connectionmanager.v1.ConnectionService.Delete:input_type -> yandex.cloud.connectionmanager.v1.DeleteConnectionRequest
	11, // 16: yandex.cloud.connectionmanager.v1.ConnectionService.ListOperations:input_type -> yandex.cloud.connectionmanager.v1.ListOperationsRequest
	19, // 17: yandex.cloud.connectionmanager.v1.ConnectionService.Get:output_type -> yandex.cloud.connectionmanager.v1.Connection
	19, // 18: yandex.cloud.connectionmanager.v1.ConnectionService.ResolveCluster:output_type -> yandex.cloud.connectionmanager.v1.Connection
	7,  // 19: yandex.cloud.connectionmanager.v1.ConnectionService.List:output_type -> yandex.cloud.connectionmanager.v1.ListConnectionResponse
	20, // 20: yandex.cloud.connectionmanager.v1.ConnectionService.Create:output_type -> yandex.cloud.operation.Operation
	20, // 21: yandex.cloud.connectionmanager.v1.ConnectionService.Update:output_type -> yandex.cloud.operation.Operation
	20, // 22: yandex.cloud.connectionmanager.v1.ConnectionService.Delete:output_type -> yandex.cloud.operation.Operation
	12, // 23: yandex.cloud.connectionmanager.v1.ConnectionService.ListOperations:output_type -> yandex.cloud.connectionmanager.v1.ListOperationsResponse
	17, // [17:24] is the sub-list for method output_type
	10, // [10:17] 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_yandex_cloud_connectionmanager_v1_connection_service_proto_init() }
func file_yandex_cloud_connectionmanager_v1_connection_service_proto_init() {
	if File_yandex_cloud_connectionmanager_v1_connection_service_proto != nil {
		return
	}
	file_yandex_cloud_connectionmanager_v1_connection_proto_init()
	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_service_proto_rawDesc), len(file_yandex_cloud_connectionmanager_v1_connection_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   15,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_connectionmanager_v1_connection_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_connectionmanager_v1_connection_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_connectionmanager_v1_connection_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_connectionmanager_v1_connection_service_proto = out.File
	file_yandex_cloud_connectionmanager_v1_connection_service_proto_goTypes = nil
	file_yandex_cloud_connectionmanager_v1_connection_service_proto_depIdxs = nil
}
