// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v3.21.12
// source: yandex/cloud/ydb/v1/database_service.proto

package ydb

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	access "github.com/yandex-cloud/go-genproto/yandex/cloud/access"
	_ "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"
	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 MoveDatabaseRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the YDB instance to move.
	DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// ID of the destination folder.
	DestinationFolderId string `protobuf:"bytes,2,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

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

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

func (*MoveDatabaseRequest) ProtoMessage() {}

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

func (x *MoveDatabaseRequest) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

func (x *MoveDatabaseRequest) GetDestinationFolderId() string {
	if x != nil {
		return x.DestinationFolderId
	}
	return ""
}

type MoveDatabaseMetadata struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	DatabaseId    string                 `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	DatabaseName  string                 `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*MoveDatabaseMetadata) ProtoMessage() {}

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

func (x *MoveDatabaseMetadata) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

func (x *MoveDatabaseMetadata) GetDatabaseName() string {
	if x != nil {
		return x.DatabaseName
	}
	return ""
}

type RestoreBackupRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. ID of the YDB backup.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// Required. ID of the YDB database.
	DatabaseId string `protobuf:"bytes,2,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// Specify paths to restore.
	// If empty, all paths will restored by default.
	PathsToRestore []string `protobuf:"bytes,3,rep,name=paths_to_restore,json=pathsToRestore,proto3" json:"paths_to_restore,omitempty"`
	// Specify target path.
	TargetPath    string `protobuf:"bytes,4,opt,name=target_path,json=targetPath,proto3" json:"target_path,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*RestoreBackupRequest) ProtoMessage() {}

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

func (x *RestoreBackupRequest) GetBackupId() string {
	if x != nil {
		return x.BackupId
	}
	return ""
}

func (x *RestoreBackupRequest) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

func (x *RestoreBackupRequest) GetPathsToRestore() []string {
	if x != nil {
		return x.PathsToRestore
	}
	return nil
}

func (x *RestoreBackupRequest) GetTargetPath() string {
	if x != nil {
		return x.TargetPath
	}
	return ""
}

type RestoreBackupMetadata struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	BackupId      string                 `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	DatabaseId    string                 `protobuf:"bytes,2,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*RestoreBackupMetadata) ProtoMessage() {}

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

func (x *RestoreBackupMetadata) GetBackupId() string {
	if x != nil {
		return x.BackupId
	}
	return ""
}

func (x *RestoreBackupMetadata) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

type BackupDatabaseRequest struct {
	state      protoimpl.MessageState `protogen:"open.v1"`
	DatabaseId string                 `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// custom backup options, if required.
	BackupSettings *BackupSettings `protobuf:"bytes,2,opt,name=backup_settings,json=backupSettings,proto3" json:"backup_settings,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*BackupDatabaseRequest) ProtoMessage() {}

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

func (x *BackupDatabaseRequest) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

func (x *BackupDatabaseRequest) GetBackupSettings() *BackupSettings {
	if x != nil {
		return x.BackupSettings
	}
	return nil
}

type BackupDatabaseMetadata struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	BackupId      string                 `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	DatabaseId    string                 `protobuf:"bytes,2,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*BackupDatabaseMetadata) ProtoMessage() {}

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

func (x *BackupDatabaseMetadata) GetBackupId() string {
	if x != nil {
		return x.BackupId
	}
	return ""
}

func (x *BackupDatabaseMetadata) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

type StartDatabaseRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	DatabaseId    string                 `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*StartDatabaseRequest) ProtoMessage() {}

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

func (x *StartDatabaseRequest) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

type StartDatabaseMetadata struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	DatabaseId    string                 `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	DatabaseName  string                 `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*StartDatabaseMetadata) ProtoMessage() {}

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

func (x *StartDatabaseMetadata) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

func (x *StartDatabaseMetadata) GetDatabaseName() string {
	if x != nil {
		return x.DatabaseName
	}
	return ""
}

type StopDatabaseRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	DatabaseId    string                 `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*StopDatabaseRequest) ProtoMessage() {}

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

func (x *StopDatabaseRequest) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

type StopDatabaseMetadata struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	DatabaseId    string                 `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	DatabaseName  string                 `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*StopDatabaseMetadata) ProtoMessage() {}

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

func (x *StopDatabaseMetadata) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

func (x *StopDatabaseMetadata) GetDatabaseName() string {
	if x != nil {
		return x.DatabaseName
	}
	return ""
}

type GetDatabaseRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. ID of the YDB cluster.
	DatabaseId    string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetDatabaseRequest) ProtoMessage() {}

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

func (x *GetDatabaseRequest) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

type ListDatabasesRequest struct {
	state    protoimpl.MessageState `protogen:"open.v1"`
	FolderId string                 `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page that should be returned. If the number of available
	// results is larger than `page_size`, the service returns a `next_page_token` that can be used
	// to get the next page of results in subsequent ListDatabases requests.
	// Acceptable values are 0 to 1000, inclusive. Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. Set `page_token` to the `next_page_token` returned by a previous ListDatabases
	// request to get the next page of results.
	PageToken     string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListDatabasesRequest) ProtoMessage() {}

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

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

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

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

type ListDatabasesResponse struct {
	state     protoimpl.MessageState `protogen:"open.v1"`
	Databases []*Database            `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
	// This token allows you to get the next page of results for ListDatabases requests,
	// if the number of results is larger than `page_size` specified in the request.
	// To get the next page, specify the value of `next_page_token` as a value for
	// the `page_token` parameter in the next ListDatabases request. Subsequent ListDatabases
	// requests will have their own `next_page_token` to continue paging through the results.
	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 *ListDatabasesResponse) Reset() {
	*x = ListDatabasesResponse{}
	mi := &file_yandex_cloud_ydb_v1_database_service_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListDatabasesResponse) ProtoMessage() {}

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

func (x *ListDatabasesResponse) GetDatabases() []*Database {
	if x != nil {
		return x.Databases
	}
	return nil
}

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

type CreateDatabaseRequest 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"`
	ResourcePresetId string                 `protobuf:"bytes,4,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	StorageConfig    *StorageConfig         `protobuf:"bytes,5,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
	ScalePolicy      *ScalePolicy           `protobuf:"bytes,6,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"`
	NetworkId        string                 `protobuf:"bytes,7,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	SubnetIds        []string               `protobuf:"bytes,8,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"`
	// Types that are valid to be assigned to DatabaseType:
	//
	//	*CreateDatabaseRequest_ZonalDatabase
	//	*CreateDatabaseRequest_RegionalDatabase
	//	*CreateDatabaseRequest_DedicatedDatabase
	//	*CreateDatabaseRequest_ServerlessDatabase
	DatabaseType       isCreateDatabaseRequest_DatabaseType `protobuf_oneof:"database_type"`
	AssignPublicIps    bool                                 `protobuf:"varint,11,opt,name=assign_public_ips,json=assignPublicIps,proto3" json:"assign_public_ips,omitempty"`
	LocationId         string                               `protobuf:"bytes,12,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	Labels             map[string]string                    `protobuf:"bytes,15,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	BackupConfig       *BackupConfig                        `protobuf:"bytes,16,opt,name=backup_config,json=backupConfig,proto3" json:"backup_config,omitempty"`
	MonitoringConfig   *MonitoringConfig                    `protobuf:"bytes,17,opt,name=monitoring_config,json=monitoringConfig,proto3" json:"monitoring_config,omitempty"`
	DeletionProtection bool                                 `protobuf:"varint,18,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	SecurityGroupIds   []string                             `protobuf:"bytes,19,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*CreateDatabaseRequest) ProtoMessage() {}

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

// Deprecated: Use CreateDatabaseRequest.ProtoReflect.Descriptor instead.
func (*CreateDatabaseRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_ydb_v1_database_service_proto_rawDescGZIP(), []int{13}
}

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

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

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

func (x *CreateDatabaseRequest) GetResourcePresetId() string {
	if x != nil {
		return x.ResourcePresetId
	}
	return ""
}

func (x *CreateDatabaseRequest) GetStorageConfig() *StorageConfig {
	if x != nil {
		return x.StorageConfig
	}
	return nil
}

func (x *CreateDatabaseRequest) GetScalePolicy() *ScalePolicy {
	if x != nil {
		return x.ScalePolicy
	}
	return nil
}

func (x *CreateDatabaseRequest) GetNetworkId() string {
	if x != nil {
		return x.NetworkId
	}
	return ""
}

func (x *CreateDatabaseRequest) GetSubnetIds() []string {
	if x != nil {
		return x.SubnetIds
	}
	return nil
}

func (x *CreateDatabaseRequest) GetDatabaseType() isCreateDatabaseRequest_DatabaseType {
	if x != nil {
		return x.DatabaseType
	}
	return nil
}

func (x *CreateDatabaseRequest) GetZonalDatabase() *ZonalDatabase {
	if x != nil {
		if x, ok := x.DatabaseType.(*CreateDatabaseRequest_ZonalDatabase); ok {
			return x.ZonalDatabase
		}
	}
	return nil
}

func (x *CreateDatabaseRequest) GetRegionalDatabase() *RegionalDatabase {
	if x != nil {
		if x, ok := x.DatabaseType.(*CreateDatabaseRequest_RegionalDatabase); ok {
			return x.RegionalDatabase
		}
	}
	return nil
}

func (x *CreateDatabaseRequest) GetDedicatedDatabase() *DedicatedDatabase {
	if x != nil {
		if x, ok := x.DatabaseType.(*CreateDatabaseRequest_DedicatedDatabase); ok {
			return x.DedicatedDatabase
		}
	}
	return nil
}

func (x *CreateDatabaseRequest) GetServerlessDatabase() *ServerlessDatabase {
	if x != nil {
		if x, ok := x.DatabaseType.(*CreateDatabaseRequest_ServerlessDatabase); ok {
			return x.ServerlessDatabase
		}
	}
	return nil
}

func (x *CreateDatabaseRequest) GetAssignPublicIps() bool {
	if x != nil {
		return x.AssignPublicIps
	}
	return false
}

func (x *CreateDatabaseRequest) GetLocationId() string {
	if x != nil {
		return x.LocationId
	}
	return ""
}

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

func (x *CreateDatabaseRequest) GetBackupConfig() *BackupConfig {
	if x != nil {
		return x.BackupConfig
	}
	return nil
}

func (x *CreateDatabaseRequest) GetMonitoringConfig() *MonitoringConfig {
	if x != nil {
		return x.MonitoringConfig
	}
	return nil
}

func (x *CreateDatabaseRequest) GetDeletionProtection() bool {
	if x != nil {
		return x.DeletionProtection
	}
	return false
}

func (x *CreateDatabaseRequest) GetSecurityGroupIds() []string {
	if x != nil {
		return x.SecurityGroupIds
	}
	return nil
}

type isCreateDatabaseRequest_DatabaseType interface {
	isCreateDatabaseRequest_DatabaseType()
}

type CreateDatabaseRequest_ZonalDatabase struct {
	// deprecated field
	ZonalDatabase *ZonalDatabase `protobuf:"bytes,9,opt,name=zonal_database,json=zonalDatabase,proto3,oneof"`
}

type CreateDatabaseRequest_RegionalDatabase struct {
	// deprecated field
	RegionalDatabase *RegionalDatabase `protobuf:"bytes,10,opt,name=regional_database,json=regionalDatabase,proto3,oneof"`
}

type CreateDatabaseRequest_DedicatedDatabase struct {
	DedicatedDatabase *DedicatedDatabase `protobuf:"bytes,13,opt,name=dedicated_database,json=dedicatedDatabase,proto3,oneof"`
}

type CreateDatabaseRequest_ServerlessDatabase struct {
	ServerlessDatabase *ServerlessDatabase `protobuf:"bytes,14,opt,name=serverless_database,json=serverlessDatabase,proto3,oneof"`
}

func (*CreateDatabaseRequest_ZonalDatabase) isCreateDatabaseRequest_DatabaseType() {}

func (*CreateDatabaseRequest_RegionalDatabase) isCreateDatabaseRequest_DatabaseType() {}

func (*CreateDatabaseRequest_DedicatedDatabase) isCreateDatabaseRequest_DatabaseType() {}

func (*CreateDatabaseRequest_ServerlessDatabase) isCreateDatabaseRequest_DatabaseType() {}

type CreateDatabaseMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. ID of the YDB cluster.
	DatabaseId string `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	// Required. Name of the creating database.
	DatabaseName  string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CreateDatabaseMetadata) ProtoMessage() {}

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

// Deprecated: Use CreateDatabaseMetadata.ProtoReflect.Descriptor instead.
func (*CreateDatabaseMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_ydb_v1_database_service_proto_rawDescGZIP(), []int{14}
}

func (x *CreateDatabaseMetadata) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

func (x *CreateDatabaseMetadata) GetDatabaseName() string {
	if x != nil {
		return x.DatabaseName
	}
	return ""
}

type UpdateDatabaseRequest struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	FolderId         string                 `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	UpdateMask       *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	DatabaseId       string                 `protobuf:"bytes,3,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	Name             string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Description      string                 `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	ResourcePresetId string                 `protobuf:"bytes,6,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	StorageConfig    *StorageConfig         `protobuf:"bytes,7,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
	ScalePolicy      *ScalePolicy           `protobuf:"bytes,8,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"`
	NetworkId        string                 `protobuf:"bytes,9,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	SubnetIds        []string               `protobuf:"bytes,10,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"`
	// Types that are valid to be assigned to DatabaseType:
	//
	//	*UpdateDatabaseRequest_ZonalDatabase
	//	*UpdateDatabaseRequest_RegionalDatabase
	//	*UpdateDatabaseRequest_DedicatedDatabase
	//	*UpdateDatabaseRequest_ServerlessDatabase
	DatabaseType       isUpdateDatabaseRequest_DatabaseType `protobuf_oneof:"database_type"`
	AssignPublicIps    bool                                 `protobuf:"varint,13,opt,name=assign_public_ips,json=assignPublicIps,proto3" json:"assign_public_ips,omitempty"`
	LocationId         string                               `protobuf:"bytes,14,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	Labels             map[string]string                    `protobuf:"bytes,17,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	BackupConfig       *BackupConfig                        `protobuf:"bytes,18,opt,name=backup_config,json=backupConfig,proto3" json:"backup_config,omitempty"`
	MonitoringConfig   *MonitoringConfig                    `protobuf:"bytes,19,opt,name=monitoring_config,json=monitoringConfig,proto3" json:"monitoring_config,omitempty"`
	DeletionProtection bool                                 `protobuf:"varint,20,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	SecurityGroupIds   []string                             `protobuf:"bytes,21,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*UpdateDatabaseRequest) ProtoMessage() {}

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

// Deprecated: Use UpdateDatabaseRequest.ProtoReflect.Descriptor instead.
func (*UpdateDatabaseRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_ydb_v1_database_service_proto_rawDescGZIP(), []int{15}
}

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

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

func (x *UpdateDatabaseRequest) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

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

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

func (x *UpdateDatabaseRequest) GetResourcePresetId() string {
	if x != nil {
		return x.ResourcePresetId
	}
	return ""
}

func (x *UpdateDatabaseRequest) GetStorageConfig() *StorageConfig {
	if x != nil {
		return x.StorageConfig
	}
	return nil
}

func (x *UpdateDatabaseRequest) GetScalePolicy() *ScalePolicy {
	if x != nil {
		return x.ScalePolicy
	}
	return nil
}

func (x *UpdateDatabaseRequest) GetNetworkId() string {
	if x != nil {
		return x.NetworkId
	}
	return ""
}

func (x *UpdateDatabaseRequest) GetSubnetIds() []string {
	if x != nil {
		return x.SubnetIds
	}
	return nil
}

func (x *UpdateDatabaseRequest) GetDatabaseType() isUpdateDatabaseRequest_DatabaseType {
	if x != nil {
		return x.DatabaseType
	}
	return nil
}

func (x *UpdateDatabaseRequest) GetZonalDatabase() *ZonalDatabase {
	if x != nil {
		if x, ok := x.DatabaseType.(*UpdateDatabaseRequest_ZonalDatabase); ok {
			return x.ZonalDatabase
		}
	}
	return nil
}

func (x *UpdateDatabaseRequest) GetRegionalDatabase() *RegionalDatabase {
	if x != nil {
		if x, ok := x.DatabaseType.(*UpdateDatabaseRequest_RegionalDatabase); ok {
			return x.RegionalDatabase
		}
	}
	return nil
}

func (x *UpdateDatabaseRequest) GetDedicatedDatabase() *DedicatedDatabase {
	if x != nil {
		if x, ok := x.DatabaseType.(*UpdateDatabaseRequest_DedicatedDatabase); ok {
			return x.DedicatedDatabase
		}
	}
	return nil
}

func (x *UpdateDatabaseRequest) GetServerlessDatabase() *ServerlessDatabase {
	if x != nil {
		if x, ok := x.DatabaseType.(*UpdateDatabaseRequest_ServerlessDatabase); ok {
			return x.ServerlessDatabase
		}
	}
	return nil
}

func (x *UpdateDatabaseRequest) GetAssignPublicIps() bool {
	if x != nil {
		return x.AssignPublicIps
	}
	return false
}

func (x *UpdateDatabaseRequest) GetLocationId() string {
	if x != nil {
		return x.LocationId
	}
	return ""
}

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

func (x *UpdateDatabaseRequest) GetBackupConfig() *BackupConfig {
	if x != nil {
		return x.BackupConfig
	}
	return nil
}

func (x *UpdateDatabaseRequest) GetMonitoringConfig() *MonitoringConfig {
	if x != nil {
		return x.MonitoringConfig
	}
	return nil
}

func (x *UpdateDatabaseRequest) GetDeletionProtection() bool {
	if x != nil {
		return x.DeletionProtection
	}
	return false
}

func (x *UpdateDatabaseRequest) GetSecurityGroupIds() []string {
	if x != nil {
		return x.SecurityGroupIds
	}
	return nil
}

type isUpdateDatabaseRequest_DatabaseType interface {
	isUpdateDatabaseRequest_DatabaseType()
}

type UpdateDatabaseRequest_ZonalDatabase struct {
	ZonalDatabase *ZonalDatabase `protobuf:"bytes,11,opt,name=zonal_database,json=zonalDatabase,proto3,oneof"`
}

type UpdateDatabaseRequest_RegionalDatabase struct {
	RegionalDatabase *RegionalDatabase `protobuf:"bytes,12,opt,name=regional_database,json=regionalDatabase,proto3,oneof"`
}

type UpdateDatabaseRequest_DedicatedDatabase struct {
	DedicatedDatabase *DedicatedDatabase `protobuf:"bytes,15,opt,name=dedicated_database,json=dedicatedDatabase,proto3,oneof"`
}

type UpdateDatabaseRequest_ServerlessDatabase struct {
	ServerlessDatabase *ServerlessDatabase `protobuf:"bytes,16,opt,name=serverless_database,json=serverlessDatabase,proto3,oneof"`
}

func (*UpdateDatabaseRequest_ZonalDatabase) isUpdateDatabaseRequest_DatabaseType() {}

func (*UpdateDatabaseRequest_RegionalDatabase) isUpdateDatabaseRequest_DatabaseType() {}

func (*UpdateDatabaseRequest_DedicatedDatabase) isUpdateDatabaseRequest_DatabaseType() {}

func (*UpdateDatabaseRequest_ServerlessDatabase) isUpdateDatabaseRequest_DatabaseType() {}

type UpdateDatabaseMetadata struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	DatabaseId    string                 `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	DatabaseName  string                 `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*UpdateDatabaseMetadata) ProtoMessage() {}

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

// Deprecated: Use UpdateDatabaseMetadata.ProtoReflect.Descriptor instead.
func (*UpdateDatabaseMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_ydb_v1_database_service_proto_rawDescGZIP(), []int{16}
}

func (x *UpdateDatabaseMetadata) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

func (x *UpdateDatabaseMetadata) GetDatabaseName() string {
	if x != nil {
		return x.DatabaseName
	}
	return ""
}

type DeleteDatabaseRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	DatabaseId    string                 `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteDatabaseRequest) ProtoMessage() {}

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

// Deprecated: Use DeleteDatabaseRequest.ProtoReflect.Descriptor instead.
func (*DeleteDatabaseRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_ydb_v1_database_service_proto_rawDescGZIP(), []int{17}
}

func (x *DeleteDatabaseRequest) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

type DeleteDatabaseMetadata struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	DatabaseId    string                 `protobuf:"bytes,1,opt,name=database_id,json=databaseId,proto3" json:"database_id,omitempty"`
	DatabaseName  string                 `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DeleteDatabaseMetadata) ProtoMessage() {}

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

// Deprecated: Use DeleteDatabaseMetadata.ProtoReflect.Descriptor instead.
func (*DeleteDatabaseMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_ydb_v1_database_service_proto_rawDescGZIP(), []int{18}
}

func (x *DeleteDatabaseMetadata) GetDatabaseId() string {
	if x != nil {
		return x.DatabaseId
	}
	return ""
}

func (x *DeleteDatabaseMetadata) GetDatabaseName() string {
	if x != nil {
		return x.DatabaseName
	}
	return ""
}

var File_yandex_cloud_ydb_v1_database_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_ydb_v1_database_service_proto_rawDesc = "" +
	"\n" +
	"*yandex/cloud/ydb/v1/database_service.proto\x12\x13yandex.cloud.ydb.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a yandex/cloud/access/access.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a\"yandex/cloud/ydb/v1/database.proto\x1a yandex/cloud/ydb/v1/backup.proto\"\x86\x01\n" +
	"\x13MoveDatabaseRequest\x12-\n" +
	"\vdatabase_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"databaseId\x12@\n" +
	"\x15destination_folder_id\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x13destinationFolderId\"\\\n" +
	"\x14MoveDatabaseMetadata\x12\x1f\n" +
	"\vdatabase_id\x18\x01 \x01(\tR\n" +
	"databaseId\x12#\n" +
	"\rdatabase_name\x18\x02 \x01(\tR\fdatabaseName\"\xbb\x01\n" +
	"\x14RestoreBackupRequest\x12)\n" +
	"\tbackup_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bbackupId\x12-\n" +
	"\vdatabase_id\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"databaseId\x12(\n" +
	"\x10paths_to_restore\x18\x03 \x03(\tR\x0epathsToRestore\x12\x1f\n" +
	"\vtarget_path\x18\x04 \x01(\tR\n" +
	"targetPath\"U\n" +
	"\x15RestoreBackupMetadata\x12\x1b\n" +
	"\tbackup_id\x18\x01 \x01(\tR\bbackupId\x12\x1f\n" +
	"\vdatabase_id\x18\x02 \x01(\tR\n" +
	"databaseId\"\x86\x01\n" +
	"\x15BackupDatabaseRequest\x12\x1f\n" +
	"\vdatabase_id\x18\x01 \x01(\tR\n" +
	"databaseId\x12L\n" +
	"\x0fbackup_settings\x18\x02 \x01(\v2#.yandex.cloud.ydb.v1.BackupSettingsR\x0ebackupSettings\"V\n" +
	"\x16BackupDatabaseMetadata\x12\x1b\n" +
	"\tbackup_id\x18\x01 \x01(\tR\bbackupId\x12\x1f\n" +
	"\vdatabase_id\x18\x02 \x01(\tR\n" +
	"databaseId\"E\n" +
	"\x14StartDatabaseRequest\x12-\n" +
	"\vdatabase_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"databaseId\"]\n" +
	"\x15StartDatabaseMetadata\x12\x1f\n" +
	"\vdatabase_id\x18\x01 \x01(\tR\n" +
	"databaseId\x12#\n" +
	"\rdatabase_name\x18\x02 \x01(\tR\fdatabaseName\"D\n" +
	"\x13StopDatabaseRequest\x12-\n" +
	"\vdatabase_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"databaseId\"\\\n" +
	"\x14StopDatabaseMetadata\x12\x1f\n" +
	"\vdatabase_id\x18\x01 \x01(\tR\n" +
	"databaseId\x12#\n" +
	"\rdatabase_name\x18\x02 \x01(\tR\fdatabaseName\"C\n" +
	"\x12GetDatabaseRequest\x12-\n" +
	"\vdatabase_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\n" +
	"databaseId\"\x86\x01\n" +
	"\x14ListDatabasesRequest\x12\x1b\n" +
	"\tfolder_id\x18\x01 \x01(\tR\bfolderId\x12'\n" +
	"\tpage_size\x18\x02 \x01(\x03B\n" +
	"\xfa\xc71\x060-1000R\bpageSize\x12(\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tB\t\x8a\xc81\x05<=100R\tpageToken\"|\n" +
	"\x15ListDatabasesResponse\x12;\n" +
	"\tdatabases\x18\x01 \x03(\v2\x1d.yandex.cloud.ydb.v1.DatabaseR\tdatabases\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xa2\t\n" +
	"\x15CreateDatabaseRequest\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" +
	"\x12resource_preset_id\x18\x04 \x01(\tR\x10resourcePresetId\x12I\n" +
	"\x0estorage_config\x18\x05 \x01(\v2\".yandex.cloud.ydb.v1.StorageConfigR\rstorageConfig\x12C\n" +
	"\fscale_policy\x18\x06 \x01(\v2 .yandex.cloud.ydb.v1.ScalePolicyR\vscalePolicy\x12\x1d\n" +
	"\n" +
	"network_id\x18\a \x01(\tR\tnetworkId\x12\x1d\n" +
	"\n" +
	"subnet_ids\x18\b \x03(\tR\tsubnetIds\x12K\n" +
	"\x0ezonal_database\x18\t \x01(\v2\".yandex.cloud.ydb.v1.ZonalDatabaseH\x00R\rzonalDatabase\x12T\n" +
	"\x11regional_database\x18\n" +
	" \x01(\v2%.yandex.cloud.ydb.v1.RegionalDatabaseH\x00R\x10regionalDatabase\x12W\n" +
	"\x12dedicated_database\x18\r \x01(\v2&.yandex.cloud.ydb.v1.DedicatedDatabaseH\x00R\x11dedicatedDatabase\x12Z\n" +
	"\x13serverless_database\x18\x0e \x01(\v2'.yandex.cloud.ydb.v1.ServerlessDatabaseH\x00R\x12serverlessDatabase\x12*\n" +
	"\x11assign_public_ips\x18\v \x01(\bR\x0fassignPublicIps\x12\x1f\n" +
	"\vlocation_id\x18\f \x01(\tR\n" +
	"locationId\x12N\n" +
	"\x06labels\x18\x0f \x03(\v26.yandex.cloud.ydb.v1.CreateDatabaseRequest.LabelsEntryR\x06labels\x12F\n" +
	"\rbackup_config\x18\x10 \x01(\v2!.yandex.cloud.ydb.v1.BackupConfigR\fbackupConfig\x12R\n" +
	"\x11monitoring_config\x18\x11 \x01(\v2%.yandex.cloud.ydb.v1.MonitoringConfigR\x10monitoringConfig\x12/\n" +
	"\x13deletion_protection\x18\x12 \x01(\bR\x12deletionProtection\x12,\n" +
	"\x12security_group_ids\x18\x13 \x03(\tR\x10securityGroupIds\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\x0f\n" +
	"\rdatabase_type\"^\n" +
	"\x16CreateDatabaseMetadata\x12\x1f\n" +
	"\vdatabase_id\x18\x01 \x01(\tR\n" +
	"databaseId\x12#\n" +
	"\rdatabase_name\x18\x02 \x01(\tR\fdatabaseName\"\x80\n" +
	"\n" +
	"\x15UpdateDatabaseRequest\x12\x1b\n" +
	"\tfolder_id\x18\x01 \x01(\tR\bfolderId\x12;\n" +
	"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" +
	"updateMask\x12\x1f\n" +
	"\vdatabase_id\x18\x03 \x01(\tR\n" +
	"databaseId\x12\x12\n" +
	"\x04name\x18\x04 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x05 \x01(\tR\vdescription\x12,\n" +
	"\x12resource_preset_id\x18\x06 \x01(\tR\x10resourcePresetId\x12I\n" +
	"\x0estorage_config\x18\a \x01(\v2\".yandex.cloud.ydb.v1.StorageConfigR\rstorageConfig\x12C\n" +
	"\fscale_policy\x18\b \x01(\v2 .yandex.cloud.ydb.v1.ScalePolicyR\vscalePolicy\x12\x1d\n" +
	"\n" +
	"network_id\x18\t \x01(\tR\tnetworkId\x12\x1d\n" +
	"\n" +
	"subnet_ids\x18\n" +
	" \x03(\tR\tsubnetIds\x12K\n" +
	"\x0ezonal_database\x18\v \x01(\v2\".yandex.cloud.ydb.v1.ZonalDatabaseH\x00R\rzonalDatabase\x12T\n" +
	"\x11regional_database\x18\f \x01(\v2%.yandex.cloud.ydb.v1.RegionalDatabaseH\x00R\x10regionalDatabase\x12W\n" +
	"\x12dedicated_database\x18\x0f \x01(\v2&.yandex.cloud.ydb.v1.DedicatedDatabaseH\x00R\x11dedicatedDatabase\x12Z\n" +
	"\x13serverless_database\x18\x10 \x01(\v2'.yandex.cloud.ydb.v1.ServerlessDatabaseH\x00R\x12serverlessDatabase\x12*\n" +
	"\x11assign_public_ips\x18\r \x01(\bR\x0fassignPublicIps\x12\x1f\n" +
	"\vlocation_id\x18\x0e \x01(\tR\n" +
	"locationId\x12N\n" +
	"\x06labels\x18\x11 \x03(\v26.yandex.cloud.ydb.v1.UpdateDatabaseRequest.LabelsEntryR\x06labels\x12F\n" +
	"\rbackup_config\x18\x12 \x01(\v2!.yandex.cloud.ydb.v1.BackupConfigR\fbackupConfig\x12R\n" +
	"\x11monitoring_config\x18\x13 \x01(\v2%.yandex.cloud.ydb.v1.MonitoringConfigR\x10monitoringConfig\x12/\n" +
	"\x13deletion_protection\x18\x14 \x01(\bR\x12deletionProtection\x12,\n" +
	"\x12security_group_ids\x18\x15 \x03(\tR\x10securityGroupIds\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\x0f\n" +
	"\rdatabase_type\"^\n" +
	"\x16UpdateDatabaseMetadata\x12\x1f\n" +
	"\vdatabase_id\x18\x01 \x01(\tR\n" +
	"databaseId\x12#\n" +
	"\rdatabase_name\x18\x02 \x01(\tR\fdatabaseName\"8\n" +
	"\x15DeleteDatabaseRequest\x12\x1f\n" +
	"\vdatabase_id\x18\x01 \x01(\tR\n" +
	"databaseId\"^\n" +
	"\x16DeleteDatabaseMetadata\x12\x1f\n" +
	"\vdatabase_id\x18\x01 \x01(\tR\n" +
	"databaseId\x12#\n" +
	"\rdatabase_name\x18\x02 \x01(\tR\fdatabaseName2\x9a\x10\n" +
	"\x0fDatabaseService\x12v\n" +
	"\x03Get\x12'.yandex.cloud.ydb.v1.GetDatabaseRequest\x1a\x1d.yandex.cloud.ydb.v1.Database\"'\x82\xd3\xe4\x93\x02!\x12\x1f/ydb/v1/databases/{database_id}\x12x\n" +
	"\x04List\x12).yandex.cloud.ydb.v1.ListDatabasesRequest\x1a*.yandex.cloud.ydb.v1.ListDatabasesResponse\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/ydb/v1/databases\x12\x9b\x01\n" +
	"\x06Create\x12*.yandex.cloud.ydb.v1.CreateDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"B\xb2\xd2*\"\n" +
	"\x16CreateDatabaseMetadata\x12\bDatabase\x82\xd3\xe4\x93\x02\x16:\x01*\"\x11/ydb/v1/databases\x12\xa9\x01\n" +
	"\x06Update\x12*.yandex.cloud.ydb.v1.UpdateDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"P\xb2\xd2*\"\n" +
	"\x16UpdateDatabaseMetadata\x12\bDatabase\x82\xd3\xe4\x93\x02$:\x01*2\x1f/ydb/v1/databases/{database_id}\x12\xa9\x01\n" +
	"\x05Start\x12).yandex.cloud.ydb.v1.StartDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"R\xb2\xd2*!\n" +
	"\x15StartDatabaseMetadata\x12\bDatabase\x82\xd3\xe4\x93\x02'\"%/ydb/v1/databases/{database_id}:start\x12\xa5\x01\n" +
	"\x04Stop\x12(.yandex.cloud.ydb.v1.StopDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"P\xb2\xd2* \n" +
	"\x14StopDatabaseMetadata\x12\bDatabase\x82\xd3\xe4\x93\x02&\"$/ydb/v1/databases/{database_id}:stop\x12\xa8\x01\n" +
	"\x04Move\x12(.yandex.cloud.ydb.v1.MoveDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"S\xb2\xd2* \n" +
	"\x14MoveDatabaseMetadata\x12\bDatabase\x82\xd3\xe4\x93\x02):\x01*\"$/ydb/v1/databases/{database_id}:move\x12u\n" +
	"\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\x12\xa4\x01\n" +
	"\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"=\xb2\xd2*9\n" +
	" access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x12\xad\x01\n" +
	"\x14UpdateAccessBindings\x120.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"@\xb2\xd2*<\n" +
	"#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x12\xb3\x01\n" +
	"\x06Delete\x12*.yandex.cloud.ydb.v1.DeleteDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"Z\xb2\xd2*/\n" +
	"\x16DeleteDatabaseMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02!*\x1f/ydb/v1/databases/{database_id}\x12\xa2\x01\n" +
	"\aRestore\x12).yandex.cloud.ydb.v1.RestoreBackupRequest\x1a!.yandex.cloud.operation.Operation\"I\xb2\xd2*!\n" +
	"\x15RestoreBackupMetadata\x12\bDatabase\x82\xd3\xe4\x93\x02\x1e:\x01*\"\x19/ydb/v1/databases:restore\x12\xa2\x01\n" +
	"\x06Backup\x12*.yandex.cloud.ydb.v1.BackupDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"I\xb2\xd2*\"\n" +
	"\x16BackupDatabaseMetadata\x12\bDatabase\x82\xd3\xe4\x93\x02\x1d:\x01*\"\x18/ydb/v1/databases:backupBV\n" +
	"\x17yandex.cloud.api.ydb.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/ydb/v1;ydbb\x06proto3"

var (
	file_yandex_cloud_ydb_v1_database_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_ydb_v1_database_service_proto_rawDescData []byte
)

func file_yandex_cloud_ydb_v1_database_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_ydb_v1_database_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_ydb_v1_database_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_ydb_v1_database_service_proto_rawDesc), len(file_yandex_cloud_ydb_v1_database_service_proto_rawDesc)))
	})
	return file_yandex_cloud_ydb_v1_database_service_proto_rawDescData
}

var file_yandex_cloud_ydb_v1_database_service_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
var file_yandex_cloud_ydb_v1_database_service_proto_goTypes = []any{
	(*MoveDatabaseRequest)(nil),                // 0: yandex.cloud.ydb.v1.MoveDatabaseRequest
	(*MoveDatabaseMetadata)(nil),               // 1: yandex.cloud.ydb.v1.MoveDatabaseMetadata
	(*RestoreBackupRequest)(nil),               // 2: yandex.cloud.ydb.v1.RestoreBackupRequest
	(*RestoreBackupMetadata)(nil),              // 3: yandex.cloud.ydb.v1.RestoreBackupMetadata
	(*BackupDatabaseRequest)(nil),              // 4: yandex.cloud.ydb.v1.BackupDatabaseRequest
	(*BackupDatabaseMetadata)(nil),             // 5: yandex.cloud.ydb.v1.BackupDatabaseMetadata
	(*StartDatabaseRequest)(nil),               // 6: yandex.cloud.ydb.v1.StartDatabaseRequest
	(*StartDatabaseMetadata)(nil),              // 7: yandex.cloud.ydb.v1.StartDatabaseMetadata
	(*StopDatabaseRequest)(nil),                // 8: yandex.cloud.ydb.v1.StopDatabaseRequest
	(*StopDatabaseMetadata)(nil),               // 9: yandex.cloud.ydb.v1.StopDatabaseMetadata
	(*GetDatabaseRequest)(nil),                 // 10: yandex.cloud.ydb.v1.GetDatabaseRequest
	(*ListDatabasesRequest)(nil),               // 11: yandex.cloud.ydb.v1.ListDatabasesRequest
	(*ListDatabasesResponse)(nil),              // 12: yandex.cloud.ydb.v1.ListDatabasesResponse
	(*CreateDatabaseRequest)(nil),              // 13: yandex.cloud.ydb.v1.CreateDatabaseRequest
	(*CreateDatabaseMetadata)(nil),             // 14: yandex.cloud.ydb.v1.CreateDatabaseMetadata
	(*UpdateDatabaseRequest)(nil),              // 15: yandex.cloud.ydb.v1.UpdateDatabaseRequest
	(*UpdateDatabaseMetadata)(nil),             // 16: yandex.cloud.ydb.v1.UpdateDatabaseMetadata
	(*DeleteDatabaseRequest)(nil),              // 17: yandex.cloud.ydb.v1.DeleteDatabaseRequest
	(*DeleteDatabaseMetadata)(nil),             // 18: yandex.cloud.ydb.v1.DeleteDatabaseMetadata
	nil,                                        // 19: yandex.cloud.ydb.v1.CreateDatabaseRequest.LabelsEntry
	nil,                                        // 20: yandex.cloud.ydb.v1.UpdateDatabaseRequest.LabelsEntry
	(*BackupSettings)(nil),                     // 21: yandex.cloud.ydb.v1.BackupSettings
	(*Database)(nil),                           // 22: yandex.cloud.ydb.v1.Database
	(*StorageConfig)(nil),                      // 23: yandex.cloud.ydb.v1.StorageConfig
	(*ScalePolicy)(nil),                        // 24: yandex.cloud.ydb.v1.ScalePolicy
	(*ZonalDatabase)(nil),                      // 25: yandex.cloud.ydb.v1.ZonalDatabase
	(*RegionalDatabase)(nil),                   // 26: yandex.cloud.ydb.v1.RegionalDatabase
	(*DedicatedDatabase)(nil),                  // 27: yandex.cloud.ydb.v1.DedicatedDatabase
	(*ServerlessDatabase)(nil),                 // 28: yandex.cloud.ydb.v1.ServerlessDatabase
	(*BackupConfig)(nil),                       // 29: yandex.cloud.ydb.v1.BackupConfig
	(*MonitoringConfig)(nil),                   // 30: yandex.cloud.ydb.v1.MonitoringConfig
	(*fieldmaskpb.FieldMask)(nil),              // 31: google.protobuf.FieldMask
	(*access.ListAccessBindingsRequest)(nil),   // 32: yandex.cloud.access.ListAccessBindingsRequest
	(*access.SetAccessBindingsRequest)(nil),    // 33: yandex.cloud.access.SetAccessBindingsRequest
	(*access.UpdateAccessBindingsRequest)(nil), // 34: yandex.cloud.access.UpdateAccessBindingsRequest
	(*operation.Operation)(nil),                // 35: yandex.cloud.operation.Operation
	(*access.ListAccessBindingsResponse)(nil),  // 36: yandex.cloud.access.ListAccessBindingsResponse
}
var file_yandex_cloud_ydb_v1_database_service_proto_depIdxs = []int32{
	21, // 0: yandex.cloud.ydb.v1.BackupDatabaseRequest.backup_settings:type_name -> yandex.cloud.ydb.v1.BackupSettings
	22, // 1: yandex.cloud.ydb.v1.ListDatabasesResponse.databases:type_name -> yandex.cloud.ydb.v1.Database
	23, // 2: yandex.cloud.ydb.v1.CreateDatabaseRequest.storage_config:type_name -> yandex.cloud.ydb.v1.StorageConfig
	24, // 3: yandex.cloud.ydb.v1.CreateDatabaseRequest.scale_policy:type_name -> yandex.cloud.ydb.v1.ScalePolicy
	25, // 4: yandex.cloud.ydb.v1.CreateDatabaseRequest.zonal_database:type_name -> yandex.cloud.ydb.v1.ZonalDatabase
	26, // 5: yandex.cloud.ydb.v1.CreateDatabaseRequest.regional_database:type_name -> yandex.cloud.ydb.v1.RegionalDatabase
	27, // 6: yandex.cloud.ydb.v1.CreateDatabaseRequest.dedicated_database:type_name -> yandex.cloud.ydb.v1.DedicatedDatabase
	28, // 7: yandex.cloud.ydb.v1.CreateDatabaseRequest.serverless_database:type_name -> yandex.cloud.ydb.v1.ServerlessDatabase
	19, // 8: yandex.cloud.ydb.v1.CreateDatabaseRequest.labels:type_name -> yandex.cloud.ydb.v1.CreateDatabaseRequest.LabelsEntry
	29, // 9: yandex.cloud.ydb.v1.CreateDatabaseRequest.backup_config:type_name -> yandex.cloud.ydb.v1.BackupConfig
	30, // 10: yandex.cloud.ydb.v1.CreateDatabaseRequest.monitoring_config:type_name -> yandex.cloud.ydb.v1.MonitoringConfig
	31, // 11: yandex.cloud.ydb.v1.UpdateDatabaseRequest.update_mask:type_name -> google.protobuf.FieldMask
	23, // 12: yandex.cloud.ydb.v1.UpdateDatabaseRequest.storage_config:type_name -> yandex.cloud.ydb.v1.StorageConfig
	24, // 13: yandex.cloud.ydb.v1.UpdateDatabaseRequest.scale_policy:type_name -> yandex.cloud.ydb.v1.ScalePolicy
	25, // 14: yandex.cloud.ydb.v1.UpdateDatabaseRequest.zonal_database:type_name -> yandex.cloud.ydb.v1.ZonalDatabase
	26, // 15: yandex.cloud.ydb.v1.UpdateDatabaseRequest.regional_database:type_name -> yandex.cloud.ydb.v1.RegionalDatabase
	27, // 16: yandex.cloud.ydb.v1.UpdateDatabaseRequest.dedicated_database:type_name -> yandex.cloud.ydb.v1.DedicatedDatabase
	28, // 17: yandex.cloud.ydb.v1.UpdateDatabaseRequest.serverless_database:type_name -> yandex.cloud.ydb.v1.ServerlessDatabase
	20, // 18: yandex.cloud.ydb.v1.UpdateDatabaseRequest.labels:type_name -> yandex.cloud.ydb.v1.UpdateDatabaseRequest.LabelsEntry
	29, // 19: yandex.cloud.ydb.v1.UpdateDatabaseRequest.backup_config:type_name -> yandex.cloud.ydb.v1.BackupConfig
	30, // 20: yandex.cloud.ydb.v1.UpdateDatabaseRequest.monitoring_config:type_name -> yandex.cloud.ydb.v1.MonitoringConfig
	10, // 21: yandex.cloud.ydb.v1.DatabaseService.Get:input_type -> yandex.cloud.ydb.v1.GetDatabaseRequest
	11, // 22: yandex.cloud.ydb.v1.DatabaseService.List:input_type -> yandex.cloud.ydb.v1.ListDatabasesRequest
	13, // 23: yandex.cloud.ydb.v1.DatabaseService.Create:input_type -> yandex.cloud.ydb.v1.CreateDatabaseRequest
	15, // 24: yandex.cloud.ydb.v1.DatabaseService.Update:input_type -> yandex.cloud.ydb.v1.UpdateDatabaseRequest
	6,  // 25: yandex.cloud.ydb.v1.DatabaseService.Start:input_type -> yandex.cloud.ydb.v1.StartDatabaseRequest
	8,  // 26: yandex.cloud.ydb.v1.DatabaseService.Stop:input_type -> yandex.cloud.ydb.v1.StopDatabaseRequest
	0,  // 27: yandex.cloud.ydb.v1.DatabaseService.Move:input_type -> yandex.cloud.ydb.v1.MoveDatabaseRequest
	32, // 28: yandex.cloud.ydb.v1.DatabaseService.ListAccessBindings:input_type -> yandex.cloud.access.ListAccessBindingsRequest
	33, // 29: yandex.cloud.ydb.v1.DatabaseService.SetAccessBindings:input_type -> yandex.cloud.access.SetAccessBindingsRequest
	34, // 30: yandex.cloud.ydb.v1.DatabaseService.UpdateAccessBindings:input_type -> yandex.cloud.access.UpdateAccessBindingsRequest
	17, // 31: yandex.cloud.ydb.v1.DatabaseService.Delete:input_type -> yandex.cloud.ydb.v1.DeleteDatabaseRequest
	2,  // 32: yandex.cloud.ydb.v1.DatabaseService.Restore:input_type -> yandex.cloud.ydb.v1.RestoreBackupRequest
	4,  // 33: yandex.cloud.ydb.v1.DatabaseService.Backup:input_type -> yandex.cloud.ydb.v1.BackupDatabaseRequest
	22, // 34: yandex.cloud.ydb.v1.DatabaseService.Get:output_type -> yandex.cloud.ydb.v1.Database
	12, // 35: yandex.cloud.ydb.v1.DatabaseService.List:output_type -> yandex.cloud.ydb.v1.ListDatabasesResponse
	35, // 36: yandex.cloud.ydb.v1.DatabaseService.Create:output_type -> yandex.cloud.operation.Operation
	35, // 37: yandex.cloud.ydb.v1.DatabaseService.Update:output_type -> yandex.cloud.operation.Operation
	35, // 38: yandex.cloud.ydb.v1.DatabaseService.Start:output_type -> yandex.cloud.operation.Operation
	35, // 39: yandex.cloud.ydb.v1.DatabaseService.Stop:output_type -> yandex.cloud.operation.Operation
	35, // 40: yandex.cloud.ydb.v1.DatabaseService.Move:output_type -> yandex.cloud.operation.Operation
	36, // 41: yandex.cloud.ydb.v1.DatabaseService.ListAccessBindings:output_type -> yandex.cloud.access.ListAccessBindingsResponse
	35, // 42: yandex.cloud.ydb.v1.DatabaseService.SetAccessBindings:output_type -> yandex.cloud.operation.Operation
	35, // 43: yandex.cloud.ydb.v1.DatabaseService.UpdateAccessBindings:output_type -> yandex.cloud.operation.Operation
	35, // 44: yandex.cloud.ydb.v1.DatabaseService.Delete:output_type -> yandex.cloud.operation.Operation
	35, // 45: yandex.cloud.ydb.v1.DatabaseService.Restore:output_type -> yandex.cloud.operation.Operation
	35, // 46: yandex.cloud.ydb.v1.DatabaseService.Backup:output_type -> yandex.cloud.operation.Operation
	34, // [34:47] is the sub-list for method output_type
	21, // [21:34] is the sub-list for method input_type
	21, // [21:21] is the sub-list for extension type_name
	21, // [21:21] is the sub-list for extension extendee
	0,  // [0:21] is the sub-list for field type_name
}

func init() { file_yandex_cloud_ydb_v1_database_service_proto_init() }
func file_yandex_cloud_ydb_v1_database_service_proto_init() {
	if File_yandex_cloud_ydb_v1_database_service_proto != nil {
		return
	}
	file_yandex_cloud_ydb_v1_database_proto_init()
	file_yandex_cloud_ydb_v1_backup_proto_init()
	file_yandex_cloud_ydb_v1_database_service_proto_msgTypes[13].OneofWrappers = []any{
		(*CreateDatabaseRequest_ZonalDatabase)(nil),
		(*CreateDatabaseRequest_RegionalDatabase)(nil),
		(*CreateDatabaseRequest_DedicatedDatabase)(nil),
		(*CreateDatabaseRequest_ServerlessDatabase)(nil),
	}
	file_yandex_cloud_ydb_v1_database_service_proto_msgTypes[15].OneofWrappers = []any{
		(*UpdateDatabaseRequest_ZonalDatabase)(nil),
		(*UpdateDatabaseRequest_RegionalDatabase)(nil),
		(*UpdateDatabaseRequest_DedicatedDatabase)(nil),
		(*UpdateDatabaseRequest_ServerlessDatabase)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_ydb_v1_database_service_proto_rawDesc), len(file_yandex_cloud_ydb_v1_database_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   21,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_ydb_v1_database_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_ydb_v1_database_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_ydb_v1_database_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_ydb_v1_database_service_proto = out.File
	file_yandex_cloud_ydb_v1_database_service_proto_goTypes = nil
	file_yandex_cloud_ydb_v1_database_service_proto_depIdxs = nil
}
