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

package ydb

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	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 AlertEvaluationStatus int32

const (
	AlertEvaluationStatus_ALERT_EVALUATION_STATUS_UNSPECIFIED AlertEvaluationStatus = 0
	AlertEvaluationStatus_ALERT_EVALUATION_STATUS_OK          AlertEvaluationStatus = 1
	AlertEvaluationStatus_ALERT_EVALUATION_STATUS_NO_DATA     AlertEvaluationStatus = 2
	AlertEvaluationStatus_ALERT_EVALUATION_STATUS_ERROR       AlertEvaluationStatus = 3
	AlertEvaluationStatus_ALERT_EVALUATION_STATUS_ALARM       AlertEvaluationStatus = 4
	AlertEvaluationStatus_ALERT_EVALUATION_STATUS_WARN        AlertEvaluationStatus = 5
)

// Enum value maps for AlertEvaluationStatus.
var (
	AlertEvaluationStatus_name = map[int32]string{
		0: "ALERT_EVALUATION_STATUS_UNSPECIFIED",
		1: "ALERT_EVALUATION_STATUS_OK",
		2: "ALERT_EVALUATION_STATUS_NO_DATA",
		3: "ALERT_EVALUATION_STATUS_ERROR",
		4: "ALERT_EVALUATION_STATUS_ALARM",
		5: "ALERT_EVALUATION_STATUS_WARN",
	}
	AlertEvaluationStatus_value = map[string]int32{
		"ALERT_EVALUATION_STATUS_UNSPECIFIED": 0,
		"ALERT_EVALUATION_STATUS_OK":          1,
		"ALERT_EVALUATION_STATUS_NO_DATA":     2,
		"ALERT_EVALUATION_STATUS_ERROR":       3,
		"ALERT_EVALUATION_STATUS_ALARM":       4,
		"ALERT_EVALUATION_STATUS_WARN":        5,
	}
)

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

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

func (AlertEvaluationStatus) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_ydb_v1_database_proto_enumTypes[0].Descriptor()
}

func (AlertEvaluationStatus) Type() protoreflect.EnumType {
	return &file_yandex_cloud_ydb_v1_database_proto_enumTypes[0]
}

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

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

type Database_Status int32

const (
	Database_STATUS_UNSPECIFIED Database_Status = 0
	Database_PROVISIONING       Database_Status = 1
	Database_RUNNING            Database_Status = 2
	Database_UPDATING           Database_Status = 4
	Database_ERROR              Database_Status = 5
	Database_DELETING           Database_Status = 6
	Database_STARTING           Database_Status = 7
	Database_STOPPED            Database_Status = 8
)

// Enum value maps for Database_Status.
var (
	Database_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "PROVISIONING",
		2: "RUNNING",
		4: "UPDATING",
		5: "ERROR",
		6: "DELETING",
		7: "STARTING",
		8: "STOPPED",
	}
	Database_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"PROVISIONING":       1,
		"RUNNING":            2,
		"UPDATING":           4,
		"ERROR":              5,
		"DELETING":           6,
		"STARTING":           7,
		"STOPPED":            8,
	}
)

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

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

func (Database_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_ydb_v1_database_proto_enumTypes[1].Descriptor()
}

func (Database_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_ydb_v1_database_proto_enumTypes[1]
}

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

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

// YDB database.
type Database struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	Id               string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	FolderId         string                 `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	CreatedAt        *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Name             string                 `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	Description      string                 `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	Status           Database_Status        `protobuf:"varint,6,opt,name=status,proto3,enum=yandex.cloud.ydb.v1.Database_Status" json:"status,omitempty"`
	Endpoint         string                 `protobuf:"bytes,8,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	ResourcePresetId string                 `protobuf:"bytes,9,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	StorageConfig    *StorageConfig         `protobuf:"bytes,10,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
	ScalePolicy      *ScalePolicy           `protobuf:"bytes,11,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"`
	NetworkId        string                 `protobuf:"bytes,12,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	SubnetIds        []string               `protobuf:"bytes,13,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"`
	SecurityGroupIds []string               `protobuf:"bytes,27,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// Types that are valid to be assigned to DatabaseType:
	//
	//	*Database_ZonalDatabase
	//	*Database_RegionalDatabase
	//	*Database_DedicatedDatabase
	//	*Database_ServerlessDatabase
	DatabaseType        isDatabase_DatabaseType `protobuf_oneof:"database_type"`
	AssignPublicIps     bool                    `protobuf:"varint,16,opt,name=assign_public_ips,json=assignPublicIps,proto3" json:"assign_public_ips,omitempty"`
	LocationId          string                  `protobuf:"bytes,17,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
	Labels              map[string]string       `protobuf:"bytes,20,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,21,opt,name=backup_config,json=backupConfig,proto3" json:"backup_config,omitempty"`
	DocumentApiEndpoint string                  `protobuf:"bytes,22,opt,name=document_api_endpoint,json=documentApiEndpoint,proto3" json:"document_api_endpoint,omitempty"`
	KinesisApiEndpoint  string                  `protobuf:"bytes,23,opt,name=kinesis_api_endpoint,json=kinesisApiEndpoint,proto3" json:"kinesis_api_endpoint,omitempty"`
	KafkaApiEndpoint    string                  `protobuf:"bytes,26,opt,name=kafka_api_endpoint,json=kafkaApiEndpoint,proto3" json:"kafka_api_endpoint,omitempty"`
	MonitoringConfig    *MonitoringConfig       `protobuf:"bytes,24,opt,name=monitoring_config,json=monitoringConfig,proto3" json:"monitoring_config,omitempty"`
	DeletionProtection  bool                    `protobuf:"varint,25,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

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

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

func (*Database) ProtoMessage() {}

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

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

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

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

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

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

func (x *Database) GetStatus() Database_Status {
	if x != nil {
		return x.Status
	}
	return Database_STATUS_UNSPECIFIED
}

func (x *Database) GetEndpoint() string {
	if x != nil {
		return x.Endpoint
	}
	return ""
}

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

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

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

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

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

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

func (x *Database) GetDatabaseType() isDatabase_DatabaseType {
	if x != nil {
		return x.DatabaseType
	}
	return nil
}

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

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

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

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

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

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

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

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

func (x *Database) GetDocumentApiEndpoint() string {
	if x != nil {
		return x.DocumentApiEndpoint
	}
	return ""
}

func (x *Database) GetKinesisApiEndpoint() string {
	if x != nil {
		return x.KinesisApiEndpoint
	}
	return ""
}

func (x *Database) GetKafkaApiEndpoint() string {
	if x != nil {
		return x.KafkaApiEndpoint
	}
	return ""
}

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

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

type isDatabase_DatabaseType interface {
	isDatabase_DatabaseType()
}

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

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

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

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

func (*Database_ZonalDatabase) isDatabase_DatabaseType() {}

func (*Database_RegionalDatabase) isDatabase_DatabaseType() {}

func (*Database_DedicatedDatabase) isDatabase_DatabaseType() {}

func (*Database_ServerlessDatabase) isDatabase_DatabaseType() {}

type AlertParameter struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Parameter:
	//
	//	*AlertParameter_DoubleParameterValue_
	//	*AlertParameter_IntegerParameterValue_
	//	*AlertParameter_TextParameterValue_
	//	*AlertParameter_TextListParameterValue_
	//	*AlertParameter_LabelListParameterValue_
	Parameter     isAlertParameter_Parameter `protobuf_oneof:"parameter"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AlertParameter) ProtoMessage() {}

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

func (x *AlertParameter) GetParameter() isAlertParameter_Parameter {
	if x != nil {
		return x.Parameter
	}
	return nil
}

func (x *AlertParameter) GetDoubleParameterValue() *AlertParameter_DoubleParameterValue {
	if x != nil {
		if x, ok := x.Parameter.(*AlertParameter_DoubleParameterValue_); ok {
			return x.DoubleParameterValue
		}
	}
	return nil
}

func (x *AlertParameter) GetIntegerParameterValue() *AlertParameter_IntegerParameterValue {
	if x != nil {
		if x, ok := x.Parameter.(*AlertParameter_IntegerParameterValue_); ok {
			return x.IntegerParameterValue
		}
	}
	return nil
}

func (x *AlertParameter) GetTextParameterValue() *AlertParameter_TextParameterValue {
	if x != nil {
		if x, ok := x.Parameter.(*AlertParameter_TextParameterValue_); ok {
			return x.TextParameterValue
		}
	}
	return nil
}

func (x *AlertParameter) GetTextListParameterValue() *AlertParameter_TextListParameterValue {
	if x != nil {
		if x, ok := x.Parameter.(*AlertParameter_TextListParameterValue_); ok {
			return x.TextListParameterValue
		}
	}
	return nil
}

func (x *AlertParameter) GetLabelListParameterValue() *AlertParameter_LabelListParameterValue {
	if x != nil {
		if x, ok := x.Parameter.(*AlertParameter_LabelListParameterValue_); ok {
			return x.LabelListParameterValue
		}
	}
	return nil
}

type isAlertParameter_Parameter interface {
	isAlertParameter_Parameter()
}

type AlertParameter_DoubleParameterValue_ struct {
	DoubleParameterValue *AlertParameter_DoubleParameterValue `protobuf:"bytes,1,opt,name=double_parameter_value,json=doubleParameterValue,proto3,oneof"`
}

type AlertParameter_IntegerParameterValue_ struct {
	IntegerParameterValue *AlertParameter_IntegerParameterValue `protobuf:"bytes,2,opt,name=integer_parameter_value,json=integerParameterValue,proto3,oneof"`
}

type AlertParameter_TextParameterValue_ struct {
	TextParameterValue *AlertParameter_TextParameterValue `protobuf:"bytes,3,opt,name=text_parameter_value,json=textParameterValue,proto3,oneof"`
}

type AlertParameter_TextListParameterValue_ struct {
	TextListParameterValue *AlertParameter_TextListParameterValue `protobuf:"bytes,4,opt,name=text_list_parameter_value,json=textListParameterValue,proto3,oneof"`
}

type AlertParameter_LabelListParameterValue_ struct {
	LabelListParameterValue *AlertParameter_LabelListParameterValue `protobuf:"bytes,5,opt,name=label_list_parameter_value,json=labelListParameterValue,proto3,oneof"`
}

func (*AlertParameter_DoubleParameterValue_) isAlertParameter_Parameter() {}

func (*AlertParameter_IntegerParameterValue_) isAlertParameter_Parameter() {}

func (*AlertParameter_TextParameterValue_) isAlertParameter_Parameter() {}

func (*AlertParameter_TextListParameterValue_) isAlertParameter_Parameter() {}

func (*AlertParameter_LabelListParameterValue_) isAlertParameter_Parameter() {}

type NotificationChannel struct {
	state                 protoimpl.MessageState  `protogen:"open.v1"`
	NotificationChannelId string                  `protobuf:"bytes,1,opt,name=notification_channel_id,json=notificationChannelId,proto3" json:"notification_channel_id,omitempty"`
	NotifyAboutStatuses   []AlertEvaluationStatus `protobuf:"varint,2,rep,packed,name=notify_about_statuses,json=notifyAboutStatuses,proto3,enum=yandex.cloud.ydb.v1.AlertEvaluationStatus" json:"notify_about_statuses,omitempty"`
	RepeateNotifyDelayMs  int64                   `protobuf:"varint,3,opt,name=repeate_notify_delay_ms,json=repeateNotifyDelayMs,proto3" json:"repeate_notify_delay_ms,omitempty"`
	unknownFields         protoimpl.UnknownFields
	sizeCache             protoimpl.SizeCache
}

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

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

func (*NotificationChannel) ProtoMessage() {}

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

func (x *NotificationChannel) GetNotificationChannelId() string {
	if x != nil {
		return x.NotificationChannelId
	}
	return ""
}

func (x *NotificationChannel) GetNotifyAboutStatuses() []AlertEvaluationStatus {
	if x != nil {
		return x.NotifyAboutStatuses
	}
	return nil
}

func (x *NotificationChannel) GetRepeateNotifyDelayMs() int64 {
	if x != nil {
		return x.RepeateNotifyDelayMs
	}
	return 0
}

type Alert struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// output only field.
	AlertId string `protobuf:"bytes,1,opt,name=alert_id,json=alertId,proto3" json:"alert_id,omitempty"`
	// template of the alert.
	AlertTemplateId string `protobuf:"bytes,2,opt,name=alert_template_id,json=alertTemplateId,proto3" json:"alert_template_id,omitempty"`
	// name of the alert.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// human readable description of the alert.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// the notification channels of the alert.
	NotificationChannels []*NotificationChannel `protobuf:"bytes,5,rep,name=notification_channels,json=notificationChannels,proto3" json:"notification_channels,omitempty"`
	// alert parameters to override.
	AlertParameters []*AlertParameter `protobuf:"bytes,6,rep,name=alert_parameters,json=alertParameters,proto3" json:"alert_parameters,omitempty"`
	// alert paratemers to override.
	AlertThresholds []*AlertParameter `protobuf:"bytes,7,rep,name=alert_thresholds,json=alertThresholds,proto3" json:"alert_thresholds,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*Alert) ProtoMessage() {}

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

func (x *Alert) GetAlertId() string {
	if x != nil {
		return x.AlertId
	}
	return ""
}

func (x *Alert) GetAlertTemplateId() string {
	if x != nil {
		return x.AlertTemplateId
	}
	return ""
}

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

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

func (x *Alert) GetNotificationChannels() []*NotificationChannel {
	if x != nil {
		return x.NotificationChannels
	}
	return nil
}

func (x *Alert) GetAlertParameters() []*AlertParameter {
	if x != nil {
		return x.AlertParameters
	}
	return nil
}

func (x *Alert) GetAlertThresholds() []*AlertParameter {
	if x != nil {
		return x.AlertThresholds
	}
	return nil
}

type MonitoringConfig struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Alerts        []*Alert               `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*MonitoringConfig) ProtoMessage() {}

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

func (x *MonitoringConfig) GetAlerts() []*Alert {
	if x != nil {
		return x.Alerts
	}
	return nil
}

type DedicatedDatabase struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	ResourcePresetId string                 `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	StorageConfig    *StorageConfig         `protobuf:"bytes,2,opt,name=storage_config,json=storageConfig,proto3" json:"storage_config,omitempty"`
	ScalePolicy      *ScalePolicy           `protobuf:"bytes,3,opt,name=scale_policy,json=scalePolicy,proto3" json:"scale_policy,omitempty"`
	NetworkId        string                 `protobuf:"bytes,4,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	SubnetIds        []string               `protobuf:"bytes,5,rep,name=subnet_ids,json=subnetIds,proto3" json:"subnet_ids,omitempty"`
	SecurityGroupIds []string               `protobuf:"bytes,7,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	AssignPublicIps  bool                   `protobuf:"varint,6,opt,name=assign_public_ips,json=assignPublicIps,proto3" json:"assign_public_ips,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*DedicatedDatabase) ProtoMessage() {}

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

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

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

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

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

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

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

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

type ServerlessDatabase struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Let's define 1 RU  - 1 request unit
	// Let's define 1 RCU - 1 request capacity unit, which is 1 RU per second.
	// If `enable_throttling_rcu_limit` flag is true, the database will be throttled using `throttling_rcu_limit` value.
	// Otherwise, the database is throttled using the cloud quotas.
	// If zero, all requests will be blocked until non zero value is set.
	ThrottlingRcuLimit int64 `protobuf:"varint,1,opt,name=throttling_rcu_limit,json=throttlingRcuLimit,proto3" json:"throttling_rcu_limit,omitempty"`
	// Specify serverless database storage size limit. If zero, default value is applied.
	StorageSizeLimit int64 `protobuf:"varint,2,opt,name=storage_size_limit,json=storageSizeLimit,proto3" json:"storage_size_limit,omitempty"`
	// If false, the database is throttled by cloud value.
	EnableThrottlingRcuLimit bool `protobuf:"varint,3,opt,name=enable_throttling_rcu_limit,json=enableThrottlingRcuLimit,proto3" json:"enable_throttling_rcu_limit,omitempty"`
	// Specify the number of provisioned RCUs to pay less if the database has predictable load.
	// You will be charged for the provisioned capacity regularly even if this capacity is not fully consumed.
	// You will be charged for the on-demand consumption only if provisioned capacity is consumed.
	ProvisionedRcuLimit int64 `protobuf:"varint,4,opt,name=provisioned_rcu_limit,json=provisionedRcuLimit,proto3" json:"provisioned_rcu_limit,omitempty"`
	// write quota for topic service, defined in bytes per second.
	TopicWriteQuota int64 `protobuf:"varint,5,opt,name=topic_write_quota,json=topicWriteQuota,proto3" json:"topic_write_quota,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*ServerlessDatabase) ProtoMessage() {}

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

func (x *ServerlessDatabase) GetThrottlingRcuLimit() int64 {
	if x != nil {
		return x.ThrottlingRcuLimit
	}
	return 0
}

func (x *ServerlessDatabase) GetStorageSizeLimit() int64 {
	if x != nil {
		return x.StorageSizeLimit
	}
	return 0
}

func (x *ServerlessDatabase) GetEnableThrottlingRcuLimit() bool {
	if x != nil {
		return x.EnableThrottlingRcuLimit
	}
	return false
}

func (x *ServerlessDatabase) GetProvisionedRcuLimit() int64 {
	if x != nil {
		return x.ProvisionedRcuLimit
	}
	return 0
}

func (x *ServerlessDatabase) GetTopicWriteQuota() int64 {
	if x != nil {
		return x.TopicWriteQuota
	}
	return 0
}

type ZonalDatabase struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ZoneId        string                 `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ZonalDatabase) ProtoMessage() {}

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

func (x *ZonalDatabase) GetZoneId() string {
	if x != nil {
		return x.ZoneId
	}
	return ""
}

type RegionalDatabase struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	RegionId      string                 `protobuf:"bytes,1,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*RegionalDatabase) ProtoMessage() {}

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

func (x *RegionalDatabase) GetRegionId() string {
	if x != nil {
		return x.RegionId
	}
	return ""
}

type ScalePolicy struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to ScaleType:
	//
	//	*ScalePolicy_FixedScale_
	//	*ScalePolicy_AutoScale_
	ScaleType     isScalePolicy_ScaleType `protobuf_oneof:"scale_type"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ScalePolicy) ProtoMessage() {}

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

func (x *ScalePolicy) GetScaleType() isScalePolicy_ScaleType {
	if x != nil {
		return x.ScaleType
	}
	return nil
}

func (x *ScalePolicy) GetFixedScale() *ScalePolicy_FixedScale {
	if x != nil {
		if x, ok := x.ScaleType.(*ScalePolicy_FixedScale_); ok {
			return x.FixedScale
		}
	}
	return nil
}

func (x *ScalePolicy) GetAutoScale() *ScalePolicy_AutoScale {
	if x != nil {
		if x, ok := x.ScaleType.(*ScalePolicy_AutoScale_); ok {
			return x.AutoScale
		}
	}
	return nil
}

type isScalePolicy_ScaleType interface {
	isScalePolicy_ScaleType()
}

type ScalePolicy_FixedScale_ struct {
	FixedScale *ScalePolicy_FixedScale `protobuf:"bytes,1,opt,name=fixed_scale,json=fixedScale,proto3,oneof"`
}

type ScalePolicy_AutoScale_ struct {
	AutoScale *ScalePolicy_AutoScale `protobuf:"bytes,2,opt,name=auto_scale,json=autoScale,proto3,oneof"`
}

func (*ScalePolicy_FixedScale_) isScalePolicy_ScaleType() {}

func (*ScalePolicy_AutoScale_) isScalePolicy_ScaleType() {}

type StorageConfig struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	StorageOptions []*StorageOption       `protobuf:"bytes,1,rep,name=storage_options,json=storageOptions,proto3" json:"storage_options,omitempty"`
	// output only field: storage size limit of dedicated database.
	StorageSizeLimit int64 `protobuf:"varint,2,opt,name=storage_size_limit,json=storageSizeLimit,proto3" json:"storage_size_limit,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*StorageConfig) ProtoMessage() {}

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

func (x *StorageConfig) GetStorageOptions() []*StorageOption {
	if x != nil {
		return x.StorageOptions
	}
	return nil
}

func (x *StorageConfig) GetStorageSizeLimit() int64 {
	if x != nil {
		return x.StorageSizeLimit
	}
	return 0
}

type StorageOption struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	StorageTypeId string                 `protobuf:"bytes,1,opt,name=storage_type_id,json=storageTypeId,proto3" json:"storage_type_id,omitempty"`
	GroupCount    int64                  `protobuf:"varint,2,opt,name=group_count,json=groupCount,proto3" json:"group_count,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*StorageOption) ProtoMessage() {}

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

func (x *StorageOption) GetStorageTypeId() string {
	if x != nil {
		return x.StorageTypeId
	}
	return ""
}

func (x *StorageOption) GetGroupCount() int64 {
	if x != nil {
		return x.GroupCount
	}
	return 0
}

type AlertParameter_DoubleParameterValue struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Parameter name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Parameter value
	Value         float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AlertParameter_DoubleParameterValue) ProtoMessage() {}

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

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

func (x *AlertParameter_DoubleParameterValue) GetValue() float64 {
	if x != nil {
		return x.Value
	}
	return 0
}

type AlertParameter_IntegerParameterValue struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Parameter name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Parameter value
	Value         int64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AlertParameter_IntegerParameterValue) ProtoMessage() {}

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

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

func (x *AlertParameter_IntegerParameterValue) GetValue() int64 {
	if x != nil {
		return x.Value
	}
	return 0
}

type AlertParameter_TextParameterValue struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Parameter name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Parameter value
	Value         string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AlertParameter_TextParameterValue) ProtoMessage() {}

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

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

func (x *AlertParameter_TextParameterValue) GetValue() string {
	if x != nil {
		return x.Value
	}
	return ""
}

type AlertParameter_TextListParameterValue struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Parameter name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Parameter value
	Values        []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AlertParameter_TextListParameterValue) ProtoMessage() {}

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

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

func (x *AlertParameter_TextListParameterValue) GetValues() []string {
	if x != nil {
		return x.Values
	}
	return nil
}

type AlertParameter_LabelListParameterValue struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Required. Parameter name
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. Parameter value
	Values        []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AlertParameter_LabelListParameterValue) ProtoMessage() {}

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

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

func (x *AlertParameter_LabelListParameterValue) GetValues() []string {
	if x != nil {
		return x.Values
	}
	return nil
}

type ScalePolicy_FixedScale struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Size          int64                  `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ScalePolicy_FixedScale) ProtoMessage() {}

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

func (x *ScalePolicy_FixedScale) GetSize() int64 {
	if x != nil {
		return x.Size
	}
	return 0
}

// Scale policy that dynamically changes the number of database nodes within a user-defined range.
type ScalePolicy_AutoScale struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Type of autoscaling algorithm.
	//
	// Types that are valid to be assigned to AutoScaleType:
	//
	//	*ScalePolicy_AutoScale_TargetTracking_
	AutoScaleType isScalePolicy_AutoScale_AutoScaleType `protobuf_oneof:"auto_scale_type"`
	// Minimum number of nodes to which autoscaling can scale the database.
	MinSize int64 `protobuf:"varint,1,opt,name=min_size,json=minSize,proto3" json:"min_size,omitempty"`
	// Maximum number of nodes to which autoscaling can scale the database.
	MaxSize       int64 `protobuf:"varint,2,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ScalePolicy_AutoScale) Reset() {
	*x = ScalePolicy_AutoScale{}
	mi := &file_yandex_cloud_ydb_v1_database_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ScalePolicy_AutoScale) ProtoMessage() {}

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

func (x *ScalePolicy_AutoScale) GetAutoScaleType() isScalePolicy_AutoScale_AutoScaleType {
	if x != nil {
		return x.AutoScaleType
	}
	return nil
}

func (x *ScalePolicy_AutoScale) GetTargetTracking() *ScalePolicy_AutoScale_TargetTracking {
	if x != nil {
		if x, ok := x.AutoScaleType.(*ScalePolicy_AutoScale_TargetTracking_); ok {
			return x.TargetTracking
		}
	}
	return nil
}

func (x *ScalePolicy_AutoScale) GetMinSize() int64 {
	if x != nil {
		return x.MinSize
	}
	return 0
}

func (x *ScalePolicy_AutoScale) GetMaxSize() int64 {
	if x != nil {
		return x.MaxSize
	}
	return 0
}

type isScalePolicy_AutoScale_AutoScaleType interface {
	isScalePolicy_AutoScale_AutoScaleType()
}

type ScalePolicy_AutoScale_TargetTracking_ struct {
	TargetTracking *ScalePolicy_AutoScale_TargetTracking `protobuf:"bytes,3,opt,name=target_tracking,json=targetTracking,proto3,oneof"`
}

func (*ScalePolicy_AutoScale_TargetTracking_) isScalePolicy_AutoScale_AutoScaleType() {}

// Autoscaling algorithm that tracks metric and reactively scale database nodes to keep metric
// close to the specified target value.
type ScalePolicy_AutoScale_TargetTracking struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Target:
	//
	//	*ScalePolicy_AutoScale_TargetTracking_CpuUtilizationPercent
	Target        isScalePolicy_AutoScale_TargetTracking_Target `protobuf_oneof:"target"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ScalePolicy_AutoScale_TargetTracking) Reset() {
	*x = ScalePolicy_AutoScale_TargetTracking{}
	mi := &file_yandex_cloud_ydb_v1_database_proto_msgTypes[20]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ScalePolicy_AutoScale_TargetTracking) ProtoMessage() {}

func (x *ScalePolicy_AutoScale_TargetTracking) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_ydb_v1_database_proto_msgTypes[20]
	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 ScalePolicy_AutoScale_TargetTracking.ProtoReflect.Descriptor instead.
func (*ScalePolicy_AutoScale_TargetTracking) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_ydb_v1_database_proto_rawDescGZIP(), []int{9, 1, 0}
}

func (x *ScalePolicy_AutoScale_TargetTracking) GetTarget() isScalePolicy_AutoScale_TargetTracking_Target {
	if x != nil {
		return x.Target
	}
	return nil
}

func (x *ScalePolicy_AutoScale_TargetTracking) GetCpuUtilizationPercent() int64 {
	if x != nil {
		if x, ok := x.Target.(*ScalePolicy_AutoScale_TargetTracking_CpuUtilizationPercent); ok {
			return x.CpuUtilizationPercent
		}
	}
	return 0
}

type isScalePolicy_AutoScale_TargetTracking_Target interface {
	isScalePolicy_AutoScale_TargetTracking_Target()
}

type ScalePolicy_AutoScale_TargetTracking_CpuUtilizationPercent struct {
	// A percentage of database nodes average CPU utilization.
	CpuUtilizationPercent int64 `protobuf:"varint,1,opt,name=cpu_utilization_percent,json=cpuUtilizationPercent,proto3,oneof"`
}

func (*ScalePolicy_AutoScale_TargetTracking_CpuUtilizationPercent) isScalePolicy_AutoScale_TargetTracking_Target() {
}

var File_yandex_cloud_ydb_v1_database_proto protoreflect.FileDescriptor

const file_yandex_cloud_ydb_v1_database_proto_rawDesc = "" +
	"\n" +
	"\"yandex/cloud/ydb/v1/database.proto\x12\x13yandex.cloud.ydb.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/ydb/v1/backup.proto\"\xcb\f\n" +
	"\bDatabase\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n" +
	"\tfolder_id\x18\x02 \x01(\tR\bfolderId\x129\n" +
	"\n" +
	"created_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x12\n" +
	"\x04name\x18\x04 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x05 \x01(\tR\vdescription\x12<\n" +
	"\x06status\x18\x06 \x01(\x0e2$.yandex.cloud.ydb.v1.Database.StatusR\x06status\x12\x1a\n" +
	"\bendpoint\x18\b \x01(\tR\bendpoint\x12,\n" +
	"\x12resource_preset_id\x18\t \x01(\tR\x10resourcePresetId\x12I\n" +
	"\x0estorage_config\x18\n" +
	" \x01(\v2\".yandex.cloud.ydb.v1.StorageConfigR\rstorageConfig\x12C\n" +
	"\fscale_policy\x18\v \x01(\v2 .yandex.cloud.ydb.v1.ScalePolicyR\vscalePolicy\x12\x1d\n" +
	"\n" +
	"network_id\x18\f \x01(\tR\tnetworkId\x12\x1d\n" +
	"\n" +
	"subnet_ids\x18\r \x03(\tR\tsubnetIds\x12,\n" +
	"\x12security_group_ids\x18\x1b \x03(\tR\x10securityGroupIds\x12K\n" +
	"\x0ezonal_database\x18\x0e \x01(\v2\".yandex.cloud.ydb.v1.ZonalDatabaseH\x00R\rzonalDatabase\x12T\n" +
	"\x11regional_database\x18\x0f \x01(\v2%.yandex.cloud.ydb.v1.RegionalDatabaseH\x00R\x10regionalDatabase\x12W\n" +
	"\x12dedicated_database\x18\x12 \x01(\v2&.yandex.cloud.ydb.v1.DedicatedDatabaseH\x00R\x11dedicatedDatabase\x12Z\n" +
	"\x13serverless_database\x18\x13 \x01(\v2'.yandex.cloud.ydb.v1.ServerlessDatabaseH\x00R\x12serverlessDatabase\x12*\n" +
	"\x11assign_public_ips\x18\x10 \x01(\bR\x0fassignPublicIps\x12\x1f\n" +
	"\vlocation_id\x18\x11 \x01(\tR\n" +
	"locationId\x12A\n" +
	"\x06labels\x18\x14 \x03(\v2).yandex.cloud.ydb.v1.Database.LabelsEntryR\x06labels\x12F\n" +
	"\rbackup_config\x18\x15 \x01(\v2!.yandex.cloud.ydb.v1.BackupConfigR\fbackupConfig\x122\n" +
	"\x15document_api_endpoint\x18\x16 \x01(\tR\x13documentApiEndpoint\x120\n" +
	"\x14kinesis_api_endpoint\x18\x17 \x01(\tR\x12kinesisApiEndpoint\x12,\n" +
	"\x12kafka_api_endpoint\x18\x1a \x01(\tR\x10kafkaApiEndpoint\x12R\n" +
	"\x11monitoring_config\x18\x18 \x01(\v2%.yandex.cloud.ydb.v1.MonitoringConfigR\x10monitoringConfig\x12/\n" +
	"\x13deletion_protection\x18\x19 \x01(\bR\x12deletionProtection\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x81\x01\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\x10\n" +
	"\fPROVISIONING\x10\x01\x12\v\n" +
	"\aRUNNING\x10\x02\x12\f\n" +
	"\bUPDATING\x10\x04\x12\t\n" +
	"\x05ERROR\x10\x05\x12\f\n" +
	"\bDELETING\x10\x06\x12\f\n" +
	"\bSTARTING\x10\a\x12\v\n" +
	"\aSTOPPED\x10\bB\x0f\n" +
	"\rdatabase_typeJ\x04\b\a\x10\b\"\xb7\a\n" +
	"\x0eAlertParameter\x12p\n" +
	"\x16double_parameter_value\x18\x01 \x01(\v28.yandex.cloud.ydb.v1.AlertParameter.DoubleParameterValueH\x00R\x14doubleParameterValue\x12s\n" +
	"\x17integer_parameter_value\x18\x02 \x01(\v29.yandex.cloud.ydb.v1.AlertParameter.IntegerParameterValueH\x00R\x15integerParameterValue\x12j\n" +
	"\x14text_parameter_value\x18\x03 \x01(\v26.yandex.cloud.ydb.v1.AlertParameter.TextParameterValueH\x00R\x12textParameterValue\x12w\n" +
	"\x19text_list_parameter_value\x18\x04 \x01(\v2:.yandex.cloud.ydb.v1.AlertParameter.TextListParameterValueH\x00R\x16textListParameterValue\x12z\n" +
	"\x1alabel_list_parameter_value\x18\x05 \x01(\v2;.yandex.cloud.ydb.v1.AlertParameter.LabelListParameterValueH\x00R\x17labelListParameterValue\x1a@\n" +
	"\x14DoubleParameterValue\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
	"\x05value\x18\x02 \x01(\x01R\x05value\x1aA\n" +
	"\x15IntegerParameterValue\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
	"\x05value\x18\x02 \x01(\x03R\x05value\x1a>\n" +
	"\x12TextParameterValue\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value\x1aD\n" +
	"\x16TextListParameterValue\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
	"\x06values\x18\x02 \x03(\tR\x06values\x1aE\n" +
	"\x17LabelListParameterValue\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x16\n" +
	"\x06values\x18\x02 \x03(\tR\x06valuesB\v\n" +
	"\tparameter\"\xe4\x01\n" +
	"\x13NotificationChannel\x126\n" +
	"\x17notification_channel_id\x18\x01 \x01(\tR\x15notificationChannelId\x12^\n" +
	"\x15notify_about_statuses\x18\x02 \x03(\x0e2*.yandex.cloud.ydb.v1.AlertEvaluationStatusR\x13notifyAboutStatuses\x125\n" +
	"\x17repeate_notify_delay_ms\x18\x03 \x01(\x03R\x14repeateNotifyDelayMs\"\x83\x03\n" +
	"\x05Alert\x12\x19\n" +
	"\balert_id\x18\x01 \x01(\tR\aalertId\x12*\n" +
	"\x11alert_template_id\x18\x02 \x01(\tR\x0falertTemplateId\x12\x12\n" +
	"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x04 \x01(\tR\vdescription\x12]\n" +
	"\x15notification_channels\x18\x05 \x03(\v2(.yandex.cloud.ydb.v1.NotificationChannelR\x14notificationChannels\x12N\n" +
	"\x10alert_parameters\x18\x06 \x03(\v2#.yandex.cloud.ydb.v1.AlertParameterR\x0falertParameters\x12N\n" +
	"\x10alert_thresholds\x18\a \x03(\v2#.yandex.cloud.ydb.v1.AlertParameterR\x0falertThresholds\"F\n" +
	"\x10MonitoringConfig\x122\n" +
	"\x06alerts\x18\x01 \x03(\v2\x1a.yandex.cloud.ydb.v1.AlertR\x06alerts\"\xe9\x02\n" +
	"\x11DedicatedDatabase\x12,\n" +
	"\x12resource_preset_id\x18\x01 \x01(\tR\x10resourcePresetId\x12I\n" +
	"\x0estorage_config\x18\x02 \x01(\v2\".yandex.cloud.ydb.v1.StorageConfigR\rstorageConfig\x12C\n" +
	"\fscale_policy\x18\x03 \x01(\v2 .yandex.cloud.ydb.v1.ScalePolicyR\vscalePolicy\x12\x1d\n" +
	"\n" +
	"network_id\x18\x04 \x01(\tR\tnetworkId\x12\x1d\n" +
	"\n" +
	"subnet_ids\x18\x05 \x03(\tR\tsubnetIds\x12,\n" +
	"\x12security_group_ids\x18\a \x03(\tR\x10securityGroupIds\x12*\n" +
	"\x11assign_public_ips\x18\x06 \x01(\bR\x0fassignPublicIps\"\x93\x02\n" +
	"\x12ServerlessDatabase\x120\n" +
	"\x14throttling_rcu_limit\x18\x01 \x01(\x03R\x12throttlingRcuLimit\x12,\n" +
	"\x12storage_size_limit\x18\x02 \x01(\x03R\x10storageSizeLimit\x12=\n" +
	"\x1benable_throttling_rcu_limit\x18\x03 \x01(\bR\x18enableThrottlingRcuLimit\x122\n" +
	"\x15provisioned_rcu_limit\x18\x04 \x01(\x03R\x13provisionedRcuLimit\x12*\n" +
	"\x11topic_write_quota\x18\x05 \x01(\x03R\x0ftopicWriteQuota\".\n" +
	"\rZonalDatabase\x12\x1d\n" +
	"\azone_id\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\x06zoneId\"5\n" +
	"\x10RegionalDatabase\x12!\n" +
	"\tregion_id\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\bregionId\"\xa5\x04\n" +
	"\vScalePolicy\x12N\n" +
	"\vfixed_scale\x18\x01 \x01(\v2+.yandex.cloud.ydb.v1.ScalePolicy.FixedScaleH\x00R\n" +
	"fixedScale\x12K\n" +
	"\n" +
	"auto_scale\x18\x02 \x01(\v2*.yandex.cloud.ydb.v1.ScalePolicy.AutoScaleH\x00R\tautoScale\x1a)\n" +
	"\n" +
	"FixedScale\x12\x1b\n" +
	"\x04size\x18\x01 \x01(\x03B\a\xfa\xc71\x03>=1R\x04size\x1a\xb9\x02\n" +
	"\tAutoScale\x12d\n" +
	"\x0ftarget_tracking\x18\x03 \x01(\v29.yandex.cloud.ydb.v1.ScalePolicy.AutoScale.TargetTrackingH\x00R\x0etargetTracking\x12\"\n" +
	"\bmin_size\x18\x01 \x01(\x03B\a\xfa\xc71\x03>=1R\aminSize\x12\"\n" +
	"\bmax_size\x18\x02 \x01(\x03B\a\xfa\xc71\x03>=1R\amaxSize\x1ae\n" +
	"\x0eTargetTracking\x12C\n" +
	"\x17cpu_utilization_percent\x18\x01 \x01(\x03B\t\xfa\xc71\x0510-90H\x00R\x15cpuUtilizationPercentB\x0e\n" +
	"\x06target\x12\x04\xc0\xc11\x01B\x17\n" +
	"\x0fauto_scale_type\x12\x04\xc0\xc11\x01B\x12\n" +
	"\n" +
	"scale_type\x12\x04\xc0\xc11\x01\"\x93\x01\n" +
	"\rStorageConfig\x12T\n" +
	"\x0fstorage_options\x18\x01 \x03(\v2\".yandex.cloud.ydb.v1.StorageOptionB\a\x82\xc81\x03>=1R\x0estorageOptions\x12,\n" +
	"\x12storage_size_limit\x18\x02 \x01(\x03R\x10storageSizeLimit\"X\n" +
	"\rStorageOption\x12&\n" +
	"\x0fstorage_type_id\x18\x01 \x01(\tR\rstorageTypeId\x12\x1f\n" +
	"\vgroup_count\x18\x02 \x01(\x03R\n" +
	"groupCount*\xed\x01\n" +
	"\x15AlertEvaluationStatus\x12'\n" +
	"#ALERT_EVALUATION_STATUS_UNSPECIFIED\x10\x00\x12\x1e\n" +
	"\x1aALERT_EVALUATION_STATUS_OK\x10\x01\x12#\n" +
	"\x1fALERT_EVALUATION_STATUS_NO_DATA\x10\x02\x12!\n" +
	"\x1dALERT_EVALUATION_STATUS_ERROR\x10\x03\x12!\n" +
	"\x1dALERT_EVALUATION_STATUS_ALARM\x10\x04\x12 \n" +
	"\x1cALERT_EVALUATION_STATUS_WARN\x10\x05BV\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_proto_rawDescOnce sync.Once
	file_yandex_cloud_ydb_v1_database_proto_rawDescData []byte
)

func file_yandex_cloud_ydb_v1_database_proto_rawDescGZIP() []byte {
	file_yandex_cloud_ydb_v1_database_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_ydb_v1_database_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_ydb_v1_database_proto_rawDesc), len(file_yandex_cloud_ydb_v1_database_proto_rawDesc)))
	})
	return file_yandex_cloud_ydb_v1_database_proto_rawDescData
}

var file_yandex_cloud_ydb_v1_database_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_yandex_cloud_ydb_v1_database_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
var file_yandex_cloud_ydb_v1_database_proto_goTypes = []any{
	(AlertEvaluationStatus)(0),                     // 0: yandex.cloud.ydb.v1.AlertEvaluationStatus
	(Database_Status)(0),                           // 1: yandex.cloud.ydb.v1.Database.Status
	(*Database)(nil),                               // 2: yandex.cloud.ydb.v1.Database
	(*AlertParameter)(nil),                         // 3: yandex.cloud.ydb.v1.AlertParameter
	(*NotificationChannel)(nil),                    // 4: yandex.cloud.ydb.v1.NotificationChannel
	(*Alert)(nil),                                  // 5: yandex.cloud.ydb.v1.Alert
	(*MonitoringConfig)(nil),                       // 6: yandex.cloud.ydb.v1.MonitoringConfig
	(*DedicatedDatabase)(nil),                      // 7: yandex.cloud.ydb.v1.DedicatedDatabase
	(*ServerlessDatabase)(nil),                     // 8: yandex.cloud.ydb.v1.ServerlessDatabase
	(*ZonalDatabase)(nil),                          // 9: yandex.cloud.ydb.v1.ZonalDatabase
	(*RegionalDatabase)(nil),                       // 10: yandex.cloud.ydb.v1.RegionalDatabase
	(*ScalePolicy)(nil),                            // 11: yandex.cloud.ydb.v1.ScalePolicy
	(*StorageConfig)(nil),                          // 12: yandex.cloud.ydb.v1.StorageConfig
	(*StorageOption)(nil),                          // 13: yandex.cloud.ydb.v1.StorageOption
	nil,                                            // 14: yandex.cloud.ydb.v1.Database.LabelsEntry
	(*AlertParameter_DoubleParameterValue)(nil),    // 15: yandex.cloud.ydb.v1.AlertParameter.DoubleParameterValue
	(*AlertParameter_IntegerParameterValue)(nil),   // 16: yandex.cloud.ydb.v1.AlertParameter.IntegerParameterValue
	(*AlertParameter_TextParameterValue)(nil),      // 17: yandex.cloud.ydb.v1.AlertParameter.TextParameterValue
	(*AlertParameter_TextListParameterValue)(nil),  // 18: yandex.cloud.ydb.v1.AlertParameter.TextListParameterValue
	(*AlertParameter_LabelListParameterValue)(nil), // 19: yandex.cloud.ydb.v1.AlertParameter.LabelListParameterValue
	(*ScalePolicy_FixedScale)(nil),                 // 20: yandex.cloud.ydb.v1.ScalePolicy.FixedScale
	(*ScalePolicy_AutoScale)(nil),                  // 21: yandex.cloud.ydb.v1.ScalePolicy.AutoScale
	(*ScalePolicy_AutoScale_TargetTracking)(nil),   // 22: yandex.cloud.ydb.v1.ScalePolicy.AutoScale.TargetTracking
	(*timestamppb.Timestamp)(nil),                  // 23: google.protobuf.Timestamp
	(*BackupConfig)(nil),                           // 24: yandex.cloud.ydb.v1.BackupConfig
}
var file_yandex_cloud_ydb_v1_database_proto_depIdxs = []int32{
	23, // 0: yandex.cloud.ydb.v1.Database.created_at:type_name -> google.protobuf.Timestamp
	1,  // 1: yandex.cloud.ydb.v1.Database.status:type_name -> yandex.cloud.ydb.v1.Database.Status
	12, // 2: yandex.cloud.ydb.v1.Database.storage_config:type_name -> yandex.cloud.ydb.v1.StorageConfig
	11, // 3: yandex.cloud.ydb.v1.Database.scale_policy:type_name -> yandex.cloud.ydb.v1.ScalePolicy
	9,  // 4: yandex.cloud.ydb.v1.Database.zonal_database:type_name -> yandex.cloud.ydb.v1.ZonalDatabase
	10, // 5: yandex.cloud.ydb.v1.Database.regional_database:type_name -> yandex.cloud.ydb.v1.RegionalDatabase
	7,  // 6: yandex.cloud.ydb.v1.Database.dedicated_database:type_name -> yandex.cloud.ydb.v1.DedicatedDatabase
	8,  // 7: yandex.cloud.ydb.v1.Database.serverless_database:type_name -> yandex.cloud.ydb.v1.ServerlessDatabase
	14, // 8: yandex.cloud.ydb.v1.Database.labels:type_name -> yandex.cloud.ydb.v1.Database.LabelsEntry
	24, // 9: yandex.cloud.ydb.v1.Database.backup_config:type_name -> yandex.cloud.ydb.v1.BackupConfig
	6,  // 10: yandex.cloud.ydb.v1.Database.monitoring_config:type_name -> yandex.cloud.ydb.v1.MonitoringConfig
	15, // 11: yandex.cloud.ydb.v1.AlertParameter.double_parameter_value:type_name -> yandex.cloud.ydb.v1.AlertParameter.DoubleParameterValue
	16, // 12: yandex.cloud.ydb.v1.AlertParameter.integer_parameter_value:type_name -> yandex.cloud.ydb.v1.AlertParameter.IntegerParameterValue
	17, // 13: yandex.cloud.ydb.v1.AlertParameter.text_parameter_value:type_name -> yandex.cloud.ydb.v1.AlertParameter.TextParameterValue
	18, // 14: yandex.cloud.ydb.v1.AlertParameter.text_list_parameter_value:type_name -> yandex.cloud.ydb.v1.AlertParameter.TextListParameterValue
	19, // 15: yandex.cloud.ydb.v1.AlertParameter.label_list_parameter_value:type_name -> yandex.cloud.ydb.v1.AlertParameter.LabelListParameterValue
	0,  // 16: yandex.cloud.ydb.v1.NotificationChannel.notify_about_statuses:type_name -> yandex.cloud.ydb.v1.AlertEvaluationStatus
	4,  // 17: yandex.cloud.ydb.v1.Alert.notification_channels:type_name -> yandex.cloud.ydb.v1.NotificationChannel
	3,  // 18: yandex.cloud.ydb.v1.Alert.alert_parameters:type_name -> yandex.cloud.ydb.v1.AlertParameter
	3,  // 19: yandex.cloud.ydb.v1.Alert.alert_thresholds:type_name -> yandex.cloud.ydb.v1.AlertParameter
	5,  // 20: yandex.cloud.ydb.v1.MonitoringConfig.alerts:type_name -> yandex.cloud.ydb.v1.Alert
	12, // 21: yandex.cloud.ydb.v1.DedicatedDatabase.storage_config:type_name -> yandex.cloud.ydb.v1.StorageConfig
	11, // 22: yandex.cloud.ydb.v1.DedicatedDatabase.scale_policy:type_name -> yandex.cloud.ydb.v1.ScalePolicy
	20, // 23: yandex.cloud.ydb.v1.ScalePolicy.fixed_scale:type_name -> yandex.cloud.ydb.v1.ScalePolicy.FixedScale
	21, // 24: yandex.cloud.ydb.v1.ScalePolicy.auto_scale:type_name -> yandex.cloud.ydb.v1.ScalePolicy.AutoScale
	13, // 25: yandex.cloud.ydb.v1.StorageConfig.storage_options:type_name -> yandex.cloud.ydb.v1.StorageOption
	22, // 26: yandex.cloud.ydb.v1.ScalePolicy.AutoScale.target_tracking:type_name -> yandex.cloud.ydb.v1.ScalePolicy.AutoScale.TargetTracking
	27, // [27:27] is the sub-list for method output_type
	27, // [27:27] is the sub-list for method input_type
	27, // [27:27] is the sub-list for extension type_name
	27, // [27:27] is the sub-list for extension extendee
	0,  // [0:27] is the sub-list for field type_name
}

func init() { file_yandex_cloud_ydb_v1_database_proto_init() }
func file_yandex_cloud_ydb_v1_database_proto_init() {
	if File_yandex_cloud_ydb_v1_database_proto != nil {
		return
	}
	file_yandex_cloud_ydb_v1_backup_proto_init()
	file_yandex_cloud_ydb_v1_database_proto_msgTypes[0].OneofWrappers = []any{
		(*Database_ZonalDatabase)(nil),
		(*Database_RegionalDatabase)(nil),
		(*Database_DedicatedDatabase)(nil),
		(*Database_ServerlessDatabase)(nil),
	}
	file_yandex_cloud_ydb_v1_database_proto_msgTypes[1].OneofWrappers = []any{
		(*AlertParameter_DoubleParameterValue_)(nil),
		(*AlertParameter_IntegerParameterValue_)(nil),
		(*AlertParameter_TextParameterValue_)(nil),
		(*AlertParameter_TextListParameterValue_)(nil),
		(*AlertParameter_LabelListParameterValue_)(nil),
	}
	file_yandex_cloud_ydb_v1_database_proto_msgTypes[9].OneofWrappers = []any{
		(*ScalePolicy_FixedScale_)(nil),
		(*ScalePolicy_AutoScale_)(nil),
	}
	file_yandex_cloud_ydb_v1_database_proto_msgTypes[19].OneofWrappers = []any{
		(*ScalePolicy_AutoScale_TargetTracking_)(nil),
	}
	file_yandex_cloud_ydb_v1_database_proto_msgTypes[20].OneofWrappers = []any{
		(*ScalePolicy_AutoScale_TargetTracking_CpuUtilizationPercent)(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_proto_rawDesc), len(file_yandex_cloud_ydb_v1_database_proto_rawDesc)),
			NumEnums:      2,
			NumMessages:   21,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_ydb_v1_database_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_ydb_v1_database_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_ydb_v1_database_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_ydb_v1_database_proto_msgTypes,
	}.Build()
	File_yandex_cloud_ydb_v1_database_proto = out.File
	file_yandex_cloud_ydb_v1_database_proto_goTypes = nil
	file_yandex_cloud_ydb_v1_database_proto_depIdxs = nil
}
