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

package mysql

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	_ "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 GetDatabaseRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the cluster that the database belongs to.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the database to return information about.
	//
	// To get this name, make a [DatabaseService.List] request.
	DatabaseName  string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *GetDatabaseRequest) Reset() {
	*x = GetDatabaseRequest{}
	mi := &file_yandex_cloud_mdb_mysql_v1_database_service_proto_msgTypes[0]
	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_mdb_mysql_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 GetDatabaseRequest.ProtoReflect.Descriptor instead.
func (*GetDatabaseRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescGZIP(), []int{0}
}

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

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

type ListDatabasesRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the cluster to list databases in.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return.
	//
	// If the number of available results is larger than [page_size], the API returns a [ListDatabasesResponse.next_page_token] that can be used to get the next page of results in the subsequent [DatabaseService.List] requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token that can be used to iterate through multiple pages of results.
	//
	// To get the next page of results, set [page_token] to the [ListDatabasesResponse.next_page_token] returned by the previous [DatabaseService.List] request.
	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_mdb_mysql_v1_database_service_proto_msgTypes[1]
	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_mdb_mysql_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 ListDatabasesRequest.ProtoReflect.Descriptor instead.
func (*ListDatabasesRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescGZIP(), []int{1}
}

func (x *ListDatabasesRequest) GetClusterId() string {
	if x != nil {
		return x.ClusterId
	}
	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"`
	// List of databases.
	Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
	// The token that can be used to get the next page of results.
	//
	// If the number of results is larger than [ListDatabasesRequest.page_size], use the [next_page_token] as the value for the [ListDatabasesRequest.page_token] in the subsequent [DatabaseService.List] request to iterate through multiple pages of results.
	//
	// Each of the subsequent [DatabaseService.List] requests should use the [next_page_token] value returned by the previous request 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_mdb_mysql_v1_database_service_proto_msgTypes[2]
	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_mdb_mysql_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 ListDatabasesResponse.ProtoReflect.Descriptor instead.
func (*ListDatabasesResponse) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescGZIP(), []int{2}
}

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"`
	// ID of the cluster to create the database in.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Configuration of the database.
	DatabaseSpec  *DatabaseSpec `protobuf:"bytes,2,opt,name=database_spec,json=databaseSpec,proto3" json:"database_spec,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CreateDatabaseRequest) Reset() {
	*x = CreateDatabaseRequest{}
	mi := &file_yandex_cloud_mdb_mysql_v1_database_service_proto_msgTypes[3]
	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_mdb_mysql_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 CreateDatabaseRequest.ProtoReflect.Descriptor instead.
func (*CreateDatabaseRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescGZIP(), []int{3}
}

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

func (x *CreateDatabaseRequest) GetDatabaseSpec() *DatabaseSpec {
	if x != nil {
		return x.DatabaseSpec
	}
	return nil
}

type CreateDatabaseMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the cluster the database is being created in.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the database that is being created.
	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_mdb_mysql_v1_database_service_proto_msgTypes[4]
	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_mdb_mysql_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 CreateDatabaseMetadata.ProtoReflect.Descriptor instead.
func (*CreateDatabaseMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescGZIP(), []int{4}
}

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

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

type UpdateDatabaseRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the cluster to update a database in.
	//
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the database to update.
	//
	// To get the name of the database use a [DatabaseService.List] request.
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// Field mask that specifies which fields of the Database resource should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Deletion Protection inhibits deletion of the database
	//
	// Default value: `DELETION_PROTECTION_MODE_DISABLED` (protection is disabled)
	DeletionProtectionMode DeletionProtectionMode `protobuf:"varint,4,opt,name=deletion_protection_mode,json=deletionProtectionMode,proto3,enum=yandex.cloud.mdb.mysql.v1.DeletionProtectionMode" json:"deletion_protection_mode,omitempty"`
	unknownFields          protoimpl.UnknownFields
	sizeCache              protoimpl.SizeCache
}

func (x *UpdateDatabaseRequest) Reset() {
	*x = UpdateDatabaseRequest{}
	mi := &file_yandex_cloud_mdb_mysql_v1_database_service_proto_msgTypes[5]
	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_mdb_mysql_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 UpdateDatabaseRequest.ProtoReflect.Descriptor instead.
func (*UpdateDatabaseRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescGZIP(), []int{5}
}

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

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

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

func (x *UpdateDatabaseRequest) GetDeletionProtectionMode() DeletionProtectionMode {
	if x != nil {
		return x.DeletionProtectionMode
	}
	return DeletionProtectionMode_DELETION_PROTECTION_MODE_UNSPECIFIED
}

type UpdateDatabaseMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the cluster where a database is being updated.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the database that is being updated.
	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_mdb_mysql_v1_database_service_proto_msgTypes[6]
	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_mdb_mysql_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 UpdateDatabaseMetadata.ProtoReflect.Descriptor instead.
func (*UpdateDatabaseMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescGZIP(), []int{6}
}

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

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

type DeleteDatabaseRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the cluster to delete the database from.
	//
	// To get this ID, make a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the database to delete.
	//
	// To get this name, make a [DatabaseService.List] request.
	DatabaseName  string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteDatabaseRequest) Reset() {
	*x = DeleteDatabaseRequest{}
	mi := &file_yandex_cloud_mdb_mysql_v1_database_service_proto_msgTypes[7]
	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_mdb_mysql_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 DeleteDatabaseRequest.ProtoReflect.Descriptor instead.
func (*DeleteDatabaseRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescGZIP(), []int{7}
}

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

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

type DeleteDatabaseMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the cluster the database is being deleted from.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the database that is being deleted.
	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_mdb_mysql_v1_database_service_proto_msgTypes[8]
	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_mdb_mysql_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 DeleteDatabaseMetadata.ProtoReflect.Descriptor instead.
func (*DeleteDatabaseMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescGZIP(), []int{8}
}

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

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

var File_yandex_cloud_mdb_mysql_v1_database_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDesc = "" +
	"\n" +
	"0yandex/cloud/mdb/mysql/v1/database_service.proto\x12\x19yandex.cloud.mdb.mysql.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a(yandex/cloud/mdb/mysql/v1/database.proto\x1a3yandex/cloud/mdb/mysql/v1/deletion_protection.proto\"\x86\x01\n" +
	"\x12GetDatabaseRequest\x12+\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tclusterId\x12C\n" +
	"\rdatabase_name\x18\x02 \x01(\tB\x1e\xe8\xc71\x01\xf2\xc71\x0e[a-zA-Z0-9_-]*\x8a\xc81\x04<=63R\fdatabaseName\"\x96\x01\n" +
	"\x14ListDatabasesRequest\x12+\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tclusterId\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\"\x82\x01\n" +
	"\x15ListDatabasesResponse\x12A\n" +
	"\tdatabases\x18\x01 \x03(\v2#.yandex.cloud.mdb.mysql.v1.DatabaseR\tdatabases\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\x98\x01\n" +
	"\x15CreateDatabaseRequest\x12+\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tclusterId\x12R\n" +
	"\rdatabase_spec\x18\x02 \x01(\v2'.yandex.cloud.mdb.mysql.v1.DatabaseSpecB\x04\xe8\xc71\x01R\fdatabaseSpec\"\\\n" +
	"\x16CreateDatabaseMetadata\x12\x1d\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tR\tclusterId\x12#\n" +
	"\rdatabase_name\x18\x02 \x01(\tR\fdatabaseName\"\xb3\x02\n" +
	"\x15UpdateDatabaseRequest\x12+\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tclusterId\x12C\n" +
	"\rdatabase_name\x18\x02 \x01(\tB\x1e\xe8\xc71\x01\xf2\xc71\x0e[a-zA-Z0-9_-]*\x8a\xc81\x04<=63R\fdatabaseName\x12;\n" +
	"\vupdate_mask\x18\x03 \x01(\v2\x1a.google.protobuf.FieldMaskR\n" +
	"updateMask\x12k\n" +
	"\x18deletion_protection_mode\x18\x04 \x01(\x0e21.yandex.cloud.mdb.mysql.v1.DeletionProtectionModeR\x16deletionProtectionMode\"\\\n" +
	"\x16UpdateDatabaseMetadata\x12\x1d\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tR\tclusterId\x12#\n" +
	"\rdatabase_name\x18\x02 \x01(\tR\fdatabaseName\"\x89\x01\n" +
	"\x15DeleteDatabaseRequest\x12+\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tclusterId\x12C\n" +
	"\rdatabase_name\x18\x02 \x01(\tB\x1e\xe8\xc71\x01\xf2\xc71\x0e[a-zA-Z0-9_-]*\x8a\xc81\x04<=63R\fdatabaseName\"\\\n" +
	"\x16DeleteDatabaseMetadata\x12\x1d\n" +
	"\n" +
	"cluster_id\x18\x01 \x01(\tR\tclusterId\x12#\n" +
	"\rdatabase_name\x18\x02 \x01(\tR\fdatabaseName2\xd5\a\n" +
	"\x0fDatabaseService\x12\xa4\x01\n" +
	"\x03Get\x12-.yandex.cloud.mdb.mysql.v1.GetDatabaseRequest\x1a#.yandex.cloud.mdb.mysql.v1.Database\"I\x82\xd3\xe4\x93\x02C\x12A/managed-mysql/v1/clusters/{cluster_id}/databases/{database_name}\x12\xa4\x01\n" +
	"\x04List\x12/.yandex.cloud.mdb.mysql.v1.ListDatabasesRequest\x1a0.yandex.cloud.mdb.mysql.v1.ListDatabasesResponse\"9\x82\xd3\xe4\x93\x023\x121/managed-mysql/v1/clusters/{cluster_id}/databases\x12\xc1\x01\n" +
	"\x06Create\x120.yandex.cloud.mdb.mysql.v1.CreateDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"b\xb2\xd2*\"\n" +
	"\x16CreateDatabaseMetadata\x12\bDatabase\x82\xd3\xe4\x93\x026:\x01*\"1/managed-mysql/v1/clusters/{cluster_id}/databases\x12\xd1\x01\n" +
	"\x06Update\x120.yandex.cloud.mdb.mysql.v1.UpdateDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"r\xb2\xd2*\"\n" +
	"\x16UpdateDatabaseMetadata\x12\bDatabase\x82\xd3\xe4\x93\x02F:\x01*2A/managed-mysql/v1/clusters/{cluster_id}/databases/{database_name}\x12\xdb\x01\n" +
	"\x06Delete\x120.yandex.cloud.mdb.mysql.v1.DeleteDatabaseRequest\x1a!.yandex.cloud.operation.Operation\"|\xb2\xd2*/\n" +
	"\x16DeleteDatabaseMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02C*A/managed-mysql/v1/clusters/{cluster_id}/databases/{database_name}Bd\n" +
	"\x1dyandex.cloud.api.mdb.mysql.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1;mysqlb\x06proto3"

var (
	file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescData []byte
)

func file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDesc), len(file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDesc)))
	})
	return file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDescData
}

var file_yandex_cloud_mdb_mysql_v1_database_service_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
var file_yandex_cloud_mdb_mysql_v1_database_service_proto_goTypes = []any{
	(*GetDatabaseRequest)(nil),     // 0: yandex.cloud.mdb.mysql.v1.GetDatabaseRequest
	(*ListDatabasesRequest)(nil),   // 1: yandex.cloud.mdb.mysql.v1.ListDatabasesRequest
	(*ListDatabasesResponse)(nil),  // 2: yandex.cloud.mdb.mysql.v1.ListDatabasesResponse
	(*CreateDatabaseRequest)(nil),  // 3: yandex.cloud.mdb.mysql.v1.CreateDatabaseRequest
	(*CreateDatabaseMetadata)(nil), // 4: yandex.cloud.mdb.mysql.v1.CreateDatabaseMetadata
	(*UpdateDatabaseRequest)(nil),  // 5: yandex.cloud.mdb.mysql.v1.UpdateDatabaseRequest
	(*UpdateDatabaseMetadata)(nil), // 6: yandex.cloud.mdb.mysql.v1.UpdateDatabaseMetadata
	(*DeleteDatabaseRequest)(nil),  // 7: yandex.cloud.mdb.mysql.v1.DeleteDatabaseRequest
	(*DeleteDatabaseMetadata)(nil), // 8: yandex.cloud.mdb.mysql.v1.DeleteDatabaseMetadata
	(*Database)(nil),               // 9: yandex.cloud.mdb.mysql.v1.Database
	(*DatabaseSpec)(nil),           // 10: yandex.cloud.mdb.mysql.v1.DatabaseSpec
	(*fieldmaskpb.FieldMask)(nil),  // 11: google.protobuf.FieldMask
	(DeletionProtectionMode)(0),    // 12: yandex.cloud.mdb.mysql.v1.DeletionProtectionMode
	(*operation.Operation)(nil),    // 13: yandex.cloud.operation.Operation
}
var file_yandex_cloud_mdb_mysql_v1_database_service_proto_depIdxs = []int32{
	9,  // 0: yandex.cloud.mdb.mysql.v1.ListDatabasesResponse.databases:type_name -> yandex.cloud.mdb.mysql.v1.Database
	10, // 1: yandex.cloud.mdb.mysql.v1.CreateDatabaseRequest.database_spec:type_name -> yandex.cloud.mdb.mysql.v1.DatabaseSpec
	11, // 2: yandex.cloud.mdb.mysql.v1.UpdateDatabaseRequest.update_mask:type_name -> google.protobuf.FieldMask
	12, // 3: yandex.cloud.mdb.mysql.v1.UpdateDatabaseRequest.deletion_protection_mode:type_name -> yandex.cloud.mdb.mysql.v1.DeletionProtectionMode
	0,  // 4: yandex.cloud.mdb.mysql.v1.DatabaseService.Get:input_type -> yandex.cloud.mdb.mysql.v1.GetDatabaseRequest
	1,  // 5: yandex.cloud.mdb.mysql.v1.DatabaseService.List:input_type -> yandex.cloud.mdb.mysql.v1.ListDatabasesRequest
	3,  // 6: yandex.cloud.mdb.mysql.v1.DatabaseService.Create:input_type -> yandex.cloud.mdb.mysql.v1.CreateDatabaseRequest
	5,  // 7: yandex.cloud.mdb.mysql.v1.DatabaseService.Update:input_type -> yandex.cloud.mdb.mysql.v1.UpdateDatabaseRequest
	7,  // 8: yandex.cloud.mdb.mysql.v1.DatabaseService.Delete:input_type -> yandex.cloud.mdb.mysql.v1.DeleteDatabaseRequest
	9,  // 9: yandex.cloud.mdb.mysql.v1.DatabaseService.Get:output_type -> yandex.cloud.mdb.mysql.v1.Database
	2,  // 10: yandex.cloud.mdb.mysql.v1.DatabaseService.List:output_type -> yandex.cloud.mdb.mysql.v1.ListDatabasesResponse
	13, // 11: yandex.cloud.mdb.mysql.v1.DatabaseService.Create:output_type -> yandex.cloud.operation.Operation
	13, // 12: yandex.cloud.mdb.mysql.v1.DatabaseService.Update:output_type -> yandex.cloud.operation.Operation
	13, // 13: yandex.cloud.mdb.mysql.v1.DatabaseService.Delete:output_type -> yandex.cloud.operation.Operation
	9,  // [9:14] is the sub-list for method output_type
	4,  // [4:9] is the sub-list for method input_type
	4,  // [4:4] is the sub-list for extension type_name
	4,  // [4:4] is the sub-list for extension extendee
	0,  // [0:4] is the sub-list for field type_name
}

func init() { file_yandex_cloud_mdb_mysql_v1_database_service_proto_init() }
func file_yandex_cloud_mdb_mysql_v1_database_service_proto_init() {
	if File_yandex_cloud_mdb_mysql_v1_database_service_proto != nil {
		return
	}
	file_yandex_cloud_mdb_mysql_v1_database_proto_init()
	file_yandex_cloud_mdb_mysql_v1_deletion_protection_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDesc), len(file_yandex_cloud_mdb_mysql_v1_database_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   9,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_mdb_mysql_v1_database_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_mdb_mysql_v1_database_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_mdb_mysql_v1_database_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_mdb_mysql_v1_database_service_proto = out.File
	file_yandex_cloud_mdb_mysql_v1_database_service_proto_goTypes = nil
	file_yandex_cloud_mdb_mysql_v1_database_service_proto_depIdxs = nil
}
