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

package mysql

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1/config"
	timeofday "google.golang.org/genproto/googleapis/type/timeofday"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type Cluster_Environment int32

const (
	Cluster_ENVIRONMENT_UNSPECIFIED Cluster_Environment = 0
	// Environment for stable versions of your apps.
	// A conservative update policy is in effect: only bug fixes are applied during regular maintenance.
	Cluster_PRODUCTION Cluster_Environment = 1
	// Environment for testing, including the Managed Service for MySQL itself.
	// This environment gets new features, improvements, and bug fixes in the first place, compared to the production environment.
	// However, not every update ensures backward compatibility.
	Cluster_PRESTABLE Cluster_Environment = 2
)

// Enum value maps for Cluster_Environment.
var (
	Cluster_Environment_name = map[int32]string{
		0: "ENVIRONMENT_UNSPECIFIED",
		1: "PRODUCTION",
		2: "PRESTABLE",
	}
	Cluster_Environment_value = map[string]int32{
		"ENVIRONMENT_UNSPECIFIED": 0,
		"PRODUCTION":              1,
		"PRESTABLE":               2,
	}
)

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

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

func (Cluster_Environment) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[0].Descriptor()
}

func (Cluster_Environment) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[0]
}

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

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

type Cluster_Health int32

const (
	// Health of the cluster is unknown ([Host.health] for every host in the cluster is `UNKNOWN`).
	Cluster_HEALTH_UNKNOWN Cluster_Health = 0
	// Cluster is alive and well ([Host.health] for every host in the cluster is `ALIVE`).
	Cluster_ALIVE Cluster_Health = 1
	// Cluster is inoperable ([Host.health] for every host in the cluster is `DEAD`).
	Cluster_DEAD Cluster_Health = 2
	// Cluster is degraded ([Host.health] for at least one host in the cluster is not `ALIVE`).
	Cluster_DEGRADED Cluster_Health = 3
)

// Enum value maps for Cluster_Health.
var (
	Cluster_Health_name = map[int32]string{
		0: "HEALTH_UNKNOWN",
		1: "ALIVE",
		2: "DEAD",
		3: "DEGRADED",
	}
	Cluster_Health_value = map[string]int32{
		"HEALTH_UNKNOWN": 0,
		"ALIVE":          1,
		"DEAD":           2,
		"DEGRADED":       3,
	}
)

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

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

func (Cluster_Health) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[1].Descriptor()
}

func (Cluster_Health) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[1]
}

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

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

type Cluster_Status int32

const (
	// Cluster state is unknown.
	Cluster_STATUS_UNKNOWN Cluster_Status = 0
	// Cluster is being created.
	Cluster_CREATING Cluster_Status = 1
	// Cluster is running normally.
	Cluster_RUNNING Cluster_Status = 2
	// Cluster encountered a problem and cannot operate.
	Cluster_ERROR Cluster_Status = 3
	// Cluster is being updated.
	Cluster_UPDATING Cluster_Status = 4
	// Cluster is stopping.
	Cluster_STOPPING Cluster_Status = 5
	// Cluster is stopped.
	Cluster_STOPPED Cluster_Status = 6
	// Cluster is starting.
	Cluster_STARTING Cluster_Status = 7
)

// Enum value maps for Cluster_Status.
var (
	Cluster_Status_name = map[int32]string{
		0: "STATUS_UNKNOWN",
		1: "CREATING",
		2: "RUNNING",
		3: "ERROR",
		4: "UPDATING",
		5: "STOPPING",
		6: "STOPPED",
		7: "STARTING",
	}
	Cluster_Status_value = map[string]int32{
		"STATUS_UNKNOWN": 0,
		"CREATING":       1,
		"RUNNING":        2,
		"ERROR":          3,
		"UPDATING":       4,
		"STOPPING":       5,
		"STOPPED":        6,
		"STARTING":       7,
	}
)

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

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

func (Cluster_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[2].Descriptor()
}

func (Cluster_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[2]
}

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

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

type Host_Role int32

const (
	// Role of the host is unknown. Default value.
	Host_ROLE_UNKNOWN Host_Role = 0
	// Host is the master.
	Host_MASTER Host_Role = 1
	// Host is a replica.
	Host_REPLICA Host_Role = 2
)

// Enum value maps for Host_Role.
var (
	Host_Role_name = map[int32]string{
		0: "ROLE_UNKNOWN",
		1: "MASTER",
		2: "REPLICA",
	}
	Host_Role_value = map[string]int32{
		"ROLE_UNKNOWN": 0,
		"MASTER":       1,
		"REPLICA":      2,
	}
)

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

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

func (Host_Role) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[3].Descriptor()
}

func (Host_Role) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[3]
}

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

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

type Host_Health int32

const (
	// Health of the host is unknown. Default value.
	Host_HEALTH_UNKNOWN Host_Health = 0
	// Host is performing all its functions normally.
	Host_ALIVE Host_Health = 1
	// Host is inoperable, and cannot perform any of its essential functions.
	Host_DEAD Host_Health = 2
	// Host is degraded, and can perform only some of its essential functions.
	Host_DEGRADED Host_Health = 3
	// Host is alive, but in read-only mode.
	Host_READONLY Host_Health = 4
)

// Enum value maps for Host_Health.
var (
	Host_Health_name = map[int32]string{
		0: "HEALTH_UNKNOWN",
		1: "ALIVE",
		2: "DEAD",
		3: "DEGRADED",
		4: "READONLY",
	}
	Host_Health_value = map[string]int32{
		"HEALTH_UNKNOWN": 0,
		"ALIVE":          1,
		"DEAD":           2,
		"DEGRADED":       3,
		"READONLY":       4,
	}
)

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

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

func (Host_Health) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[4].Descriptor()
}

func (Host_Health) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[4]
}

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

// Deprecated: Use Host_Health.Descriptor instead.
func (Host_Health) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_mysql_v1_cluster_proto_rawDescGZIP(), []int{3, 1}
}

type Service_Type int32

const (
	// Service type of the host is unspecified. Default value.
	Service_TYPE_UNSPECIFIED Service_Type = 0
	// The host is a MySQL server.
	Service_MYSQL Service_Type = 1
)

// Enum value maps for Service_Type.
var (
	Service_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "MYSQL",
	}
	Service_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"MYSQL":            1,
	}
)

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

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

func (Service_Type) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[5].Descriptor()
}

func (Service_Type) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[5]
}

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

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

type Service_Health int32

const (
	// Health of the service is unknown. Default value.
	Service_HEALTH_UNKNOWN Service_Health = 0
	// The service is working normally.
	Service_ALIVE Service_Health = 1
	// The service is dead or unresponsive.
	Service_DEAD Service_Health = 2
	// The service is in read-only mode.
	Service_READONLY Service_Health = 3
)

// Enum value maps for Service_Health.
var (
	Service_Health_name = map[int32]string{
		0: "HEALTH_UNKNOWN",
		1: "ALIVE",
		2: "DEAD",
		3: "READONLY",
	}
	Service_Health_value = map[string]int32{
		"HEALTH_UNKNOWN": 0,
		"ALIVE":          1,
		"DEAD":           2,
		"READONLY":       3,
	}
)

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

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

func (Service_Health) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[6].Descriptor()
}

func (Service_Health) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes[6]
}

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

// Deprecated: Use Service_Health.Descriptor instead.
func (Service_Health) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_mysql_v1_cluster_proto_rawDescGZIP(), []int{4, 1}
}

// An object that represents MySQL cluster.
//
// See [the documentation](/docs/managed-mysql/concepts) for details.
type Cluster struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the cluster.
	//
	// This ID is assigned by the platform at the time of creation.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the cluster belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp of the cluster.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the cluster.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the cluster.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the cluster as `key:value` pairs.
	Labels map[string]string `protobuf:"bytes,6,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Deployment environment of the MySQL cluster.
	Environment Cluster_Environment `protobuf:"varint,7,opt,name=environment,proto3,enum=yandex.cloud.mdb.mysql.v1.Cluster_Environment" json:"environment,omitempty"`
	// Monitoring systems data that is relevant to the cluster.
	Monitoring []*Monitoring `protobuf:"bytes,8,rep,name=monitoring,proto3" json:"monitoring,omitempty"`
	// Configuration of the cluster.
	Config *ClusterConfig `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"`
	// ID of the network that the cluster belongs to.
	NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// Aggregated health of the cluster.
	Health Cluster_Health `protobuf:"varint,11,opt,name=health,proto3,enum=yandex.cloud.mdb.mysql.v1.Cluster_Health" json:"health,omitempty"`
	// Current state of the cluster.
	Status Cluster_Status `protobuf:"varint,12,opt,name=status,proto3,enum=yandex.cloud.mdb.mysql.v1.Cluster_Status" json:"status,omitempty"`
	// Maintenance window settings for the cluster.
	MaintenanceWindow *MaintenanceWindow `protobuf:"bytes,13,opt,name=maintenance_window,json=maintenanceWindow,proto3" json:"maintenance_window,omitempty"`
	// Planned maintenance operation to be started for the cluster within the nearest [maintenance_window].
	PlannedOperation *MaintenanceOperation `protobuf:"bytes,14,opt,name=planned_operation,json=plannedOperation,proto3" json:"planned_operation,omitempty"`
	// Effective list of security group IDs applied to the cluster.
	SecurityGroupIds []string `protobuf:"bytes,15,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// This option prevents unintended deletion of the cluster.
	DeletionProtection bool `protobuf:"varint,16,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Host groups hosting VMs of the cluster.
	HostGroupIds []string `protobuf:"bytes,17,rep,name=host_group_ids,json=hostGroupIds,proto3" json:"host_group_ids,omitempty"`
	// ID of the key to encrypt cluster disks.
	DiskEncryptionKeyId *wrapperspb.StringValue `protobuf:"bytes,19,opt,name=disk_encryption_key_id,json=diskEncryptionKeyId,proto3" json:"disk_encryption_key_id,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

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

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

func (*Cluster) ProtoMessage() {}

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

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

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

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

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

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

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

func (x *Cluster) GetEnvironment() Cluster_Environment {
	if x != nil {
		return x.Environment
	}
	return Cluster_ENVIRONMENT_UNSPECIFIED
}

func (x *Cluster) GetMonitoring() []*Monitoring {
	if x != nil {
		return x.Monitoring
	}
	return nil
}

func (x *Cluster) GetConfig() *ClusterConfig {
	if x != nil {
		return x.Config
	}
	return nil
}

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

func (x *Cluster) GetHealth() Cluster_Health {
	if x != nil {
		return x.Health
	}
	return Cluster_HEALTH_UNKNOWN
}

func (x *Cluster) GetStatus() Cluster_Status {
	if x != nil {
		return x.Status
	}
	return Cluster_STATUS_UNKNOWN
}

func (x *Cluster) GetMaintenanceWindow() *MaintenanceWindow {
	if x != nil {
		return x.MaintenanceWindow
	}
	return nil
}

func (x *Cluster) GetPlannedOperation() *MaintenanceOperation {
	if x != nil {
		return x.PlannedOperation
	}
	return nil
}

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

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

func (x *Cluster) GetHostGroupIds() []string {
	if x != nil {
		return x.HostGroupIds
	}
	return nil
}

func (x *Cluster) GetDiskEncryptionKeyId() *wrapperspb.StringValue {
	if x != nil {
		return x.DiskEncryptionKeyId
	}
	return nil
}

// Cluster-related monitoring system data.
type Monitoring struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Name of the monitoring system.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the monitoring system.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Link to the monitoring system charts for the cluster.
	Link          string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Monitoring) ProtoMessage() {}

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

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

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

func (x *Monitoring) GetLink() string {
	if x != nil {
		return x.Link
	}
	return ""
}

type ClusterConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Version of MySQL used in the cluster.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Cluster-wide MySQL configuration.
	//
	// Types that are valid to be assigned to MysqlConfig:
	//
	//	*ClusterConfig_MysqlConfig_5_7
	//	*ClusterConfig_MysqlConfig_8_0
	//	*ClusterConfig_MysqlConfig_8_4
	MysqlConfig isClusterConfig_MysqlConfig `protobuf_oneof:"mysql_config"`
	// Resource preset for the cluster hosts.
	Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
	// Time to start the daily backup, in the UTC timezone.
	BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"`
	// Access policy for external services.
	Access *Access `protobuf:"bytes,5,opt,name=access,proto3" json:"access,omitempty"`
	// Configuration of the performance diagnostics service.
	PerformanceDiagnostics *PerformanceDiagnostics `protobuf:"bytes,7,opt,name=performance_diagnostics,json=performanceDiagnostics,proto3" json:"performance_diagnostics,omitempty"`
	// Retention policy of automated backups.
	BackupRetainPeriodDays *wrapperspb.Int64Value `protobuf:"bytes,8,opt,name=backup_retain_period_days,json=backupRetainPeriodDays,proto3" json:"backup_retain_period_days,omitempty"`
	// Disk size autoscaling
	DiskSizeAutoscaling *DiskSizeAutoscaling `protobuf:"bytes,9,opt,name=disk_size_autoscaling,json=diskSizeAutoscaling,proto3" json:"disk_size_autoscaling,omitempty"`
	// Full version
	FullVersion   string `protobuf:"bytes,11,opt,name=full_version,json=fullVersion,proto3" json:"full_version,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ClusterConfig) ProtoMessage() {}

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

func (x *ClusterConfig) GetVersion() string {
	if x != nil {
		return x.Version
	}
	return ""
}

func (x *ClusterConfig) GetMysqlConfig() isClusterConfig_MysqlConfig {
	if x != nil {
		return x.MysqlConfig
	}
	return nil
}

func (x *ClusterConfig) GetMysqlConfig_5_7() *config.MysqlConfigSet5_7 {
	if x != nil {
		if x, ok := x.MysqlConfig.(*ClusterConfig_MysqlConfig_5_7); ok {
			return x.MysqlConfig_5_7
		}
	}
	return nil
}

func (x *ClusterConfig) GetMysqlConfig_8_0() *config.MysqlConfigSet8_0 {
	if x != nil {
		if x, ok := x.MysqlConfig.(*ClusterConfig_MysqlConfig_8_0); ok {
			return x.MysqlConfig_8_0
		}
	}
	return nil
}

func (x *ClusterConfig) GetMysqlConfig_8_4() *config.MysqlConfigSet8_4 {
	if x != nil {
		if x, ok := x.MysqlConfig.(*ClusterConfig_MysqlConfig_8_4); ok {
			return x.MysqlConfig_8_4
		}
	}
	return nil
}

func (x *ClusterConfig) GetResources() *Resources {
	if x != nil {
		return x.Resources
	}
	return nil
}

func (x *ClusterConfig) GetBackupWindowStart() *timeofday.TimeOfDay {
	if x != nil {
		return x.BackupWindowStart
	}
	return nil
}

func (x *ClusterConfig) GetAccess() *Access {
	if x != nil {
		return x.Access
	}
	return nil
}

func (x *ClusterConfig) GetPerformanceDiagnostics() *PerformanceDiagnostics {
	if x != nil {
		return x.PerformanceDiagnostics
	}
	return nil
}

func (x *ClusterConfig) GetBackupRetainPeriodDays() *wrapperspb.Int64Value {
	if x != nil {
		return x.BackupRetainPeriodDays
	}
	return nil
}

func (x *ClusterConfig) GetDiskSizeAutoscaling() *DiskSizeAutoscaling {
	if x != nil {
		return x.DiskSizeAutoscaling
	}
	return nil
}

func (x *ClusterConfig) GetFullVersion() string {
	if x != nil {
		return x.FullVersion
	}
	return ""
}

type isClusterConfig_MysqlConfig interface {
	isClusterConfig_MysqlConfig()
}

type ClusterConfig_MysqlConfig_5_7 struct {
	// Configuration of a MySQL 5.7 server.
	MysqlConfig_5_7 *config.MysqlConfigSet5_7 `protobuf:"bytes,2,opt,name=mysql_config_5_7,json=mysqlConfig_5_7,proto3,oneof"`
}

type ClusterConfig_MysqlConfig_8_0 struct {
	// Configuration of a MySQL 8.0 server.
	MysqlConfig_8_0 *config.MysqlConfigSet8_0 `protobuf:"bytes,6,opt,name=mysql_config_8_0,json=mysqlConfig_8_0,proto3,oneof"`
}

type ClusterConfig_MysqlConfig_8_4 struct {
	// Configuration of a MySQL 8.4 server.
	MysqlConfig_8_4 *config.MysqlConfigSet8_4 `protobuf:"bytes,10,opt,name=mysql_config_8_4,json=mysqlConfig_8_4,proto3,oneof"`
}

func (*ClusterConfig_MysqlConfig_5_7) isClusterConfig_MysqlConfig() {}

func (*ClusterConfig_MysqlConfig_8_0) isClusterConfig_MysqlConfig() {}

func (*ClusterConfig_MysqlConfig_8_4) isClusterConfig_MysqlConfig() {}

type Host struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Name of the host.
	//
	// This name is assigned by the platform at the time of creation.
	// The name is unique across all MDB hosts that exist on the platform, as it defines the FQDN of the host.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the cluster the host belongs to.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the availability zone where the host resides.
	ZoneId string `protobuf:"bytes,3,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	// Resources allocated to the host.
	Resources *Resources `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"`
	// Role of the host in the cluster. If the field has default value, it is not returned in the response.
	Role Host_Role `protobuf:"varint,5,opt,name=role,proto3,enum=yandex.cloud.mdb.mysql.v1.Host_Role" json:"role,omitempty"`
	// Aggregated health of the host. If the field has default value, it is not returned in the response.
	Health Host_Health `protobuf:"varint,6,opt,name=health,proto3,enum=yandex.cloud.mdb.mysql.v1.Host_Health" json:"health,omitempty"`
	// List of services provided by the host.
	Services []*Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"`
	// ID of the subnet that the host belongs to.
	SubnetId string `protobuf:"bytes,8,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// Flag that shows if public IP address is assigned to the host so that the host can be accessed from the internet.
	AssignPublicIp bool `protobuf:"varint,9,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"`
	// Name of the host to be used as the replication source for cascading replication.
	ReplicationSource string `protobuf:"bytes,10,opt,name=replication_source,json=replicationSource,proto3" json:"replication_source,omitempty"`
	// Host backup priority.
	BackupPriority int64 `protobuf:"varint,11,opt,name=backup_priority,json=backupPriority,proto3" json:"backup_priority,omitempty"`
	// Host master promotion priority.
	Priority      int64 `protobuf:"varint,12,opt,name=priority,proto3" json:"priority,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Host) ProtoMessage() {}

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

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

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

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

func (x *Host) GetResources() *Resources {
	if x != nil {
		return x.Resources
	}
	return nil
}

func (x *Host) GetRole() Host_Role {
	if x != nil {
		return x.Role
	}
	return Host_ROLE_UNKNOWN
}

func (x *Host) GetHealth() Host_Health {
	if x != nil {
		return x.Health
	}
	return Host_HEALTH_UNKNOWN
}

func (x *Host) GetServices() []*Service {
	if x != nil {
		return x.Services
	}
	return nil
}

func (x *Host) GetSubnetId() string {
	if x != nil {
		return x.SubnetId
	}
	return ""
}

func (x *Host) GetAssignPublicIp() bool {
	if x != nil {
		return x.AssignPublicIp
	}
	return false
}

func (x *Host) GetReplicationSource() string {
	if x != nil {
		return x.ReplicationSource
	}
	return ""
}

func (x *Host) GetBackupPriority() int64 {
	if x != nil {
		return x.BackupPriority
	}
	return 0
}

func (x *Host) GetPriority() int64 {
	if x != nil {
		return x.Priority
	}
	return 0
}

type Service struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Type of the service provided by the host. If the field has default value, it is not returned in the response.
	Type Service_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.mdb.mysql.v1.Service_Type" json:"type,omitempty"`
	// Aggregated health of the service. If the field has default value, it is not returned in the response.
	Health        Service_Health `protobuf:"varint,2,opt,name=health,proto3,enum=yandex.cloud.mdb.mysql.v1.Service_Health" json:"health,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Service) ProtoMessage() {}

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

func (x *Service) GetType() Service_Type {
	if x != nil {
		return x.Type
	}
	return Service_TYPE_UNSPECIFIED
}

func (x *Service) GetHealth() Service_Health {
	if x != nil {
		return x.Health
	}
	return Service_HEALTH_UNKNOWN
}

// Cluster resource preset.
type Resources struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the resource preset that defines available computational resources (vCPU, RAM, etc.) for a cluster host.
	//
	// All available presets are listed in [the documentation](/docs/managed-mysql/concepts/instance-types).
	ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	// Volume of the storage (for each cluster host, in bytes).
	DiskSize int64 `protobuf:"varint,2,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"`
	// Type of the storage.
	//
	// Possible values:
	// * `network-hdd` - standard network storage
	// * `network-ssd` - fast network storage
	// * `network-ssd-nonreplicated` - fast network nonreplicated storage
	// * `local-ssd` - fast local storage.
	//
	// See [the documentation](/docs/managed-mysql/concepts/storage) for details.
	DiskTypeId    string `protobuf:"bytes,3,opt,name=disk_type_id,json=diskTypeId,proto3" json:"disk_type_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Resources) ProtoMessage() {}

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

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

func (x *Resources) GetDiskSize() int64 {
	if x != nil {
		return x.DiskSize
	}
	return 0
}

func (x *Resources) GetDiskTypeId() string {
	if x != nil {
		return x.DiskTypeId
	}
	return ""
}

type Access struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Allows access from DataLens.
	//
	// See [the documentation](/docs/managed-mysql/operations/datalens-connect) for details.
	DataLens bool `protobuf:"varint,1,opt,name=data_lens,json=dataLens,proto3" json:"data_lens,omitempty"`
	// Allows SQL queries to the cluster databases from management console.
	//
	// See [the documentation](/docs/managed-mysql/operations/web-sql-query) for details.
	WebSql bool `protobuf:"varint,2,opt,name=web_sql,json=webSql,proto3" json:"web_sql,omitempty"`
	// Allow access for DataTransfer.
	DataTransfer bool `protobuf:"varint,3,opt,name=data_transfer,json=dataTransfer,proto3" json:"data_transfer,omitempty"`
	// Allow access for YandexQuery.
	YandexQuery   bool `protobuf:"varint,4,opt,name=yandex_query,json=yandexQuery,proto3" json:"yandex_query,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Access) ProtoMessage() {}

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

func (x *Access) GetDataLens() bool {
	if x != nil {
		return x.DataLens
	}
	return false
}

func (x *Access) GetWebSql() bool {
	if x != nil {
		return x.WebSql
	}
	return false
}

func (x *Access) GetDataTransfer() bool {
	if x != nil {
		return x.DataTransfer
	}
	return false
}

func (x *Access) GetYandexQuery() bool {
	if x != nil {
		return x.YandexQuery
	}
	return false
}

type PerformanceDiagnostics struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Flag that shows if performance statistics gathering is enabled for the cluster.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Interval (in seconds) for `my_session` sampling.
	SessionsSamplingInterval int64 `protobuf:"varint,2,opt,name=sessions_sampling_interval,json=sessionsSamplingInterval,proto3" json:"sessions_sampling_interval,omitempty"`
	// Interval (in seconds) for `my_statements` sampling.
	StatementsSamplingInterval int64 `protobuf:"varint,3,opt,name=statements_sampling_interval,json=statementsSamplingInterval,proto3" json:"statements_sampling_interval,omitempty"`
	unknownFields              protoimpl.UnknownFields
	sizeCache                  protoimpl.SizeCache
}

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

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

func (*PerformanceDiagnostics) ProtoMessage() {}

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

func (x *PerformanceDiagnostics) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *PerformanceDiagnostics) GetSessionsSamplingInterval() int64 {
	if x != nil {
		return x.SessionsSamplingInterval
	}
	return 0
}

func (x *PerformanceDiagnostics) GetStatementsSamplingInterval() int64 {
	if x != nil {
		return x.StatementsSamplingInterval
	}
	return 0
}

type DiskSizeAutoscaling struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Amount of used storage for automatic disk scaling in the maintenance window, 0 means disabled, in percent.
	PlannedUsageThreshold int64 `protobuf:"varint,1,opt,name=planned_usage_threshold,json=plannedUsageThreshold,proto3" json:"planned_usage_threshold,omitempty"`
	// Amount of used storage for immediately  automatic disk scaling, 0 means disabled, in percent.
	EmergencyUsageThreshold int64 `protobuf:"varint,2,opt,name=emergency_usage_threshold,json=emergencyUsageThreshold,proto3" json:"emergency_usage_threshold,omitempty"`
	// Limit on how large the storage for database instances can automatically grow, in bytes.
	DiskSizeLimit int64 `protobuf:"varint,3,opt,name=disk_size_limit,json=diskSizeLimit,proto3" json:"disk_size_limit,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DiskSizeAutoscaling) ProtoMessage() {}

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

func (x *DiskSizeAutoscaling) GetPlannedUsageThreshold() int64 {
	if x != nil {
		return x.PlannedUsageThreshold
	}
	return 0
}

func (x *DiskSizeAutoscaling) GetEmergencyUsageThreshold() int64 {
	if x != nil {
		return x.EmergencyUsageThreshold
	}
	return 0
}

func (x *DiskSizeAutoscaling) GetDiskSizeLimit() int64 {
	if x != nil {
		return x.DiskSizeLimit
	}
	return 0
}

var File_yandex_cloud_mdb_mysql_v1_cluster_proto protoreflect.FileDescriptor

const file_yandex_cloud_mdb_mysql_v1_cluster_proto_rawDesc = "" +
	"\n" +
	"'yandex/cloud/mdb/mysql/v1/cluster.proto\x12\x19yandex.cloud.mdb.mysql.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/timeofday.proto\x1a\x1dyandex/cloud/validation.proto\x1a/yandex/cloud/mdb/mysql/v1/config/mysql5_7.proto\x1a/yandex/cloud/mdb/mysql/v1/config/mysql8_0.proto\x1a/yandex/cloud/mdb/mysql/v1/config/mysql8_4.proto\x1a+yandex/cloud/mdb/mysql/v1/maintenance.proto\"\xca\n" +
	"\n" +
	"\aCluster\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\x12F\n" +
	"\x06labels\x18\x06 \x03(\v2..yandex.cloud.mdb.mysql.v1.Cluster.LabelsEntryR\x06labels\x12P\n" +
	"\venvironment\x18\a \x01(\x0e2..yandex.cloud.mdb.mysql.v1.Cluster.EnvironmentR\venvironment\x12E\n" +
	"\n" +
	"monitoring\x18\b \x03(\v2%.yandex.cloud.mdb.mysql.v1.MonitoringR\n" +
	"monitoring\x12@\n" +
	"\x06config\x18\t \x01(\v2(.yandex.cloud.mdb.mysql.v1.ClusterConfigR\x06config\x12\x1d\n" +
	"\n" +
	"network_id\x18\n" +
	" \x01(\tR\tnetworkId\x12A\n" +
	"\x06health\x18\v \x01(\x0e2).yandex.cloud.mdb.mysql.v1.Cluster.HealthR\x06health\x12A\n" +
	"\x06status\x18\f \x01(\x0e2).yandex.cloud.mdb.mysql.v1.Cluster.StatusR\x06status\x12[\n" +
	"\x12maintenance_window\x18\r \x01(\v2,.yandex.cloud.mdb.mysql.v1.MaintenanceWindowR\x11maintenanceWindow\x12\\\n" +
	"\x11planned_operation\x18\x0e \x01(\v2/.yandex.cloud.mdb.mysql.v1.MaintenanceOperationR\x10plannedOperation\x12,\n" +
	"\x12security_group_ids\x18\x0f \x03(\tR\x10securityGroupIds\x12/\n" +
	"\x13deletion_protection\x18\x10 \x01(\bR\x12deletionProtection\x12$\n" +
	"\x0ehost_group_ids\x18\x11 \x03(\tR\fhostGroupIds\x12Q\n" +
	"\x16disk_encryption_key_id\x18\x13 \x01(\v2\x1c.google.protobuf.StringValueR\x13diskEncryptionKeyId\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"I\n" +
	"\vEnvironment\x12\x1b\n" +
	"\x17ENVIRONMENT_UNSPECIFIED\x10\x00\x12\x0e\n" +
	"\n" +
	"PRODUCTION\x10\x01\x12\r\n" +
	"\tPRESTABLE\x10\x02\"?\n" +
	"\x06Health\x12\x12\n" +
	"\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n" +
	"\x05ALIVE\x10\x01\x12\b\n" +
	"\x04DEAD\x10\x02\x12\f\n" +
	"\bDEGRADED\x10\x03\"y\n" +
	"\x06Status\x12\x12\n" +
	"\x0eSTATUS_UNKNOWN\x10\x00\x12\f\n" +
	"\bCREATING\x10\x01\x12\v\n" +
	"\aRUNNING\x10\x02\x12\t\n" +
	"\x05ERROR\x10\x03\x12\f\n" +
	"\bUPDATING\x10\x04\x12\f\n" +
	"\bSTOPPING\x10\x05\x12\v\n" +
	"\aSTOPPED\x10\x06\x12\f\n" +
	"\bSTARTING\x10\aJ\x04\b\x12\x10\x13\"V\n" +
	"\n" +
	"Monitoring\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x02 \x01(\tR\vdescription\x12\x12\n" +
	"\x04link\x18\x03 \x01(\tR\x04link\"\xfb\x06\n" +
	"\rClusterConfig\x12\x18\n" +
	"\aversion\x18\x01 \x01(\tR\aversion\x12`\n" +
	"\x10mysql_config_5_7\x18\x02 \x01(\v23.yandex.cloud.mdb.mysql.v1.config.MysqlConfigSet5_7H\x00R\x0fmysqlConfig_5_7\x12`\n" +
	"\x10mysql_config_8_0\x18\x06 \x01(\v23.yandex.cloud.mdb.mysql.v1.config.MysqlConfigSet8_0H\x00R\x0fmysqlConfig_8_0\x12`\n" +
	"\x10mysql_config_8_4\x18\n" +
	" \x01(\v23.yandex.cloud.mdb.mysql.v1.config.MysqlConfigSet8_4H\x00R\x0fmysqlConfig_8_4\x12B\n" +
	"\tresources\x18\x03 \x01(\v2$.yandex.cloud.mdb.mysql.v1.ResourcesR\tresources\x12F\n" +
	"\x13backup_window_start\x18\x04 \x01(\v2\x16.google.type.TimeOfDayR\x11backupWindowStart\x129\n" +
	"\x06access\x18\x05 \x01(\v2!.yandex.cloud.mdb.mysql.v1.AccessR\x06access\x12j\n" +
	"\x17performance_diagnostics\x18\a \x01(\v21.yandex.cloud.mdb.mysql.v1.PerformanceDiagnosticsR\x16performanceDiagnostics\x12`\n" +
	"\x19backup_retain_period_days\x18\b \x01(\v2\x1b.google.protobuf.Int64ValueB\b\xfa\xc71\x047-60R\x16backupRetainPeriodDays\x12b\n" +
	"\x15disk_size_autoscaling\x18\t \x01(\v2..yandex.cloud.mdb.mysql.v1.DiskSizeAutoscalingR\x13diskSizeAutoscaling\x12!\n" +
	"\ffull_version\x18\v \x01(\tR\vfullVersionB\x0e\n" +
	"\fmysql_config\"\xa3\x05\n" +
	"\x04Host\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x1d\n" +
	"\n" +
	"cluster_id\x18\x02 \x01(\tR\tclusterId\x12\x17\n" +
	"\azone_id\x18\x03 \x01(\tR\x06zoneId\x12B\n" +
	"\tresources\x18\x04 \x01(\v2$.yandex.cloud.mdb.mysql.v1.ResourcesR\tresources\x128\n" +
	"\x04role\x18\x05 \x01(\x0e2$.yandex.cloud.mdb.mysql.v1.Host.RoleR\x04role\x12>\n" +
	"\x06health\x18\x06 \x01(\x0e2&.yandex.cloud.mdb.mysql.v1.Host.HealthR\x06health\x12>\n" +
	"\bservices\x18\a \x03(\v2\".yandex.cloud.mdb.mysql.v1.ServiceR\bservices\x12\x1b\n" +
	"\tsubnet_id\x18\b \x01(\tR\bsubnetId\x12(\n" +
	"\x10assign_public_ip\x18\t \x01(\bR\x0eassignPublicIp\x12-\n" +
	"\x12replication_source\x18\n" +
	" \x01(\tR\x11replicationSource\x122\n" +
	"\x0fbackup_priority\x18\v \x01(\x03B\t\xfa\xc71\x050-100R\x0ebackupPriority\x12%\n" +
	"\bpriority\x18\f \x01(\x03B\t\xfa\xc71\x050-100R\bpriority\"1\n" +
	"\x04Role\x12\x10\n" +
	"\fROLE_UNKNOWN\x10\x00\x12\n" +
	"\n" +
	"\x06MASTER\x10\x01\x12\v\n" +
	"\aREPLICA\x10\x02\"M\n" +
	"\x06Health\x12\x12\n" +
	"\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n" +
	"\x05ALIVE\x10\x01\x12\b\n" +
	"\x04DEAD\x10\x02\x12\f\n" +
	"\bDEGRADED\x10\x03\x12\f\n" +
	"\bREADONLY\x10\x04\"\xf3\x01\n" +
	"\aService\x12;\n" +
	"\x04type\x18\x01 \x01(\x0e2'.yandex.cloud.mdb.mysql.v1.Service.TypeR\x04type\x12A\n" +
	"\x06health\x18\x02 \x01(\x0e2).yandex.cloud.mdb.mysql.v1.Service.HealthR\x06health\"'\n" +
	"\x04Type\x12\x14\n" +
	"\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n" +
	"\x05MYSQL\x10\x01\"?\n" +
	"\x06Health\x12\x12\n" +
	"\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n" +
	"\x05ALIVE\x10\x01\x12\b\n" +
	"\x04DEAD\x10\x02\x12\f\n" +
	"\bREADONLY\x10\x03\"x\n" +
	"\tResources\x12,\n" +
	"\x12resource_preset_id\x18\x01 \x01(\tR\x10resourcePresetId\x12\x1b\n" +
	"\tdisk_size\x18\x02 \x01(\x03R\bdiskSize\x12 \n" +
	"\fdisk_type_id\x18\x03 \x01(\tR\n" +
	"diskTypeId\"\x86\x01\n" +
	"\x06Access\x12\x1b\n" +
	"\tdata_lens\x18\x01 \x01(\bR\bdataLens\x12\x17\n" +
	"\aweb_sql\x18\x02 \x01(\bR\x06webSql\x12#\n" +
	"\rdata_transfer\x18\x03 \x01(\bR\fdataTransfer\x12!\n" +
	"\fyandex_query\x18\x04 \x01(\bR\vyandexQuery\"\xcc\x01\n" +
	"\x16PerformanceDiagnostics\x12\x18\n" +
	"\aenabled\x18\x01 \x01(\bR\aenabled\x12I\n" +
	"\x1asessions_sampling_interval\x18\x02 \x01(\x03B\v\xfa\xc71\a1-86400R\x18sessionsSamplingInterval\x12M\n" +
	"\x1cstatements_sampling_interval\x18\x03 \x01(\x03B\v\xfa\xc71\a1-86400R\x1astatementsSamplingInterval\"\xcf\x01\n" +
	"\x13DiskSizeAutoscaling\x12E\n" +
	"\x17planned_usage_threshold\x18\x01 \x01(\x03B\r\xe8\xc71\x00\xfa\xc71\x050-100R\x15plannedUsageThreshold\x12I\n" +
	"\x19emergency_usage_threshold\x18\x02 \x01(\x03B\r\xe8\xc71\x00\xfa\xc71\x050-100R\x17emergencyUsageThreshold\x12&\n" +
	"\x0fdisk_size_limit\x18\x03 \x01(\x03R\rdiskSizeLimitBd\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_cluster_proto_rawDescOnce sync.Once
	file_yandex_cloud_mdb_mysql_v1_cluster_proto_rawDescData []byte
)

func file_yandex_cloud_mdb_mysql_v1_cluster_proto_rawDescGZIP() []byte {
	file_yandex_cloud_mdb_mysql_v1_cluster_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_mdb_mysql_v1_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_mysql_v1_cluster_proto_rawDesc), len(file_yandex_cloud_mdb_mysql_v1_cluster_proto_rawDesc)))
	})
	return file_yandex_cloud_mdb_mysql_v1_cluster_proto_rawDescData
}

var file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes = make([]protoimpl.EnumInfo, 7)
var file_yandex_cloud_mdb_mysql_v1_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
var file_yandex_cloud_mdb_mysql_v1_cluster_proto_goTypes = []any{
	(Cluster_Environment)(0),         // 0: yandex.cloud.mdb.mysql.v1.Cluster.Environment
	(Cluster_Health)(0),              // 1: yandex.cloud.mdb.mysql.v1.Cluster.Health
	(Cluster_Status)(0),              // 2: yandex.cloud.mdb.mysql.v1.Cluster.Status
	(Host_Role)(0),                   // 3: yandex.cloud.mdb.mysql.v1.Host.Role
	(Host_Health)(0),                 // 4: yandex.cloud.mdb.mysql.v1.Host.Health
	(Service_Type)(0),                // 5: yandex.cloud.mdb.mysql.v1.Service.Type
	(Service_Health)(0),              // 6: yandex.cloud.mdb.mysql.v1.Service.Health
	(*Cluster)(nil),                  // 7: yandex.cloud.mdb.mysql.v1.Cluster
	(*Monitoring)(nil),               // 8: yandex.cloud.mdb.mysql.v1.Monitoring
	(*ClusterConfig)(nil),            // 9: yandex.cloud.mdb.mysql.v1.ClusterConfig
	(*Host)(nil),                     // 10: yandex.cloud.mdb.mysql.v1.Host
	(*Service)(nil),                  // 11: yandex.cloud.mdb.mysql.v1.Service
	(*Resources)(nil),                // 12: yandex.cloud.mdb.mysql.v1.Resources
	(*Access)(nil),                   // 13: yandex.cloud.mdb.mysql.v1.Access
	(*PerformanceDiagnostics)(nil),   // 14: yandex.cloud.mdb.mysql.v1.PerformanceDiagnostics
	(*DiskSizeAutoscaling)(nil),      // 15: yandex.cloud.mdb.mysql.v1.DiskSizeAutoscaling
	nil,                              // 16: yandex.cloud.mdb.mysql.v1.Cluster.LabelsEntry
	(*timestamppb.Timestamp)(nil),    // 17: google.protobuf.Timestamp
	(*MaintenanceWindow)(nil),        // 18: yandex.cloud.mdb.mysql.v1.MaintenanceWindow
	(*MaintenanceOperation)(nil),     // 19: yandex.cloud.mdb.mysql.v1.MaintenanceOperation
	(*wrapperspb.StringValue)(nil),   // 20: google.protobuf.StringValue
	(*config.MysqlConfigSet5_7)(nil), // 21: yandex.cloud.mdb.mysql.v1.config.MysqlConfigSet5_7
	(*config.MysqlConfigSet8_0)(nil), // 22: yandex.cloud.mdb.mysql.v1.config.MysqlConfigSet8_0
	(*config.MysqlConfigSet8_4)(nil), // 23: yandex.cloud.mdb.mysql.v1.config.MysqlConfigSet8_4
	(*timeofday.TimeOfDay)(nil),      // 24: google.type.TimeOfDay
	(*wrapperspb.Int64Value)(nil),    // 25: google.protobuf.Int64Value
}
var file_yandex_cloud_mdb_mysql_v1_cluster_proto_depIdxs = []int32{
	17, // 0: yandex.cloud.mdb.mysql.v1.Cluster.created_at:type_name -> google.protobuf.Timestamp
	16, // 1: yandex.cloud.mdb.mysql.v1.Cluster.labels:type_name -> yandex.cloud.mdb.mysql.v1.Cluster.LabelsEntry
	0,  // 2: yandex.cloud.mdb.mysql.v1.Cluster.environment:type_name -> yandex.cloud.mdb.mysql.v1.Cluster.Environment
	8,  // 3: yandex.cloud.mdb.mysql.v1.Cluster.monitoring:type_name -> yandex.cloud.mdb.mysql.v1.Monitoring
	9,  // 4: yandex.cloud.mdb.mysql.v1.Cluster.config:type_name -> yandex.cloud.mdb.mysql.v1.ClusterConfig
	1,  // 5: yandex.cloud.mdb.mysql.v1.Cluster.health:type_name -> yandex.cloud.mdb.mysql.v1.Cluster.Health
	2,  // 6: yandex.cloud.mdb.mysql.v1.Cluster.status:type_name -> yandex.cloud.mdb.mysql.v1.Cluster.Status
	18, // 7: yandex.cloud.mdb.mysql.v1.Cluster.maintenance_window:type_name -> yandex.cloud.mdb.mysql.v1.MaintenanceWindow
	19, // 8: yandex.cloud.mdb.mysql.v1.Cluster.planned_operation:type_name -> yandex.cloud.mdb.mysql.v1.MaintenanceOperation
	20, // 9: yandex.cloud.mdb.mysql.v1.Cluster.disk_encryption_key_id:type_name -> google.protobuf.StringValue
	21, // 10: yandex.cloud.mdb.mysql.v1.ClusterConfig.mysql_config_5_7:type_name -> yandex.cloud.mdb.mysql.v1.config.MysqlConfigSet5_7
	22, // 11: yandex.cloud.mdb.mysql.v1.ClusterConfig.mysql_config_8_0:type_name -> yandex.cloud.mdb.mysql.v1.config.MysqlConfigSet8_0
	23, // 12: yandex.cloud.mdb.mysql.v1.ClusterConfig.mysql_config_8_4:type_name -> yandex.cloud.mdb.mysql.v1.config.MysqlConfigSet8_4
	12, // 13: yandex.cloud.mdb.mysql.v1.ClusterConfig.resources:type_name -> yandex.cloud.mdb.mysql.v1.Resources
	24, // 14: yandex.cloud.mdb.mysql.v1.ClusterConfig.backup_window_start:type_name -> google.type.TimeOfDay
	13, // 15: yandex.cloud.mdb.mysql.v1.ClusterConfig.access:type_name -> yandex.cloud.mdb.mysql.v1.Access
	14, // 16: yandex.cloud.mdb.mysql.v1.ClusterConfig.performance_diagnostics:type_name -> yandex.cloud.mdb.mysql.v1.PerformanceDiagnostics
	25, // 17: yandex.cloud.mdb.mysql.v1.ClusterConfig.backup_retain_period_days:type_name -> google.protobuf.Int64Value
	15, // 18: yandex.cloud.mdb.mysql.v1.ClusterConfig.disk_size_autoscaling:type_name -> yandex.cloud.mdb.mysql.v1.DiskSizeAutoscaling
	12, // 19: yandex.cloud.mdb.mysql.v1.Host.resources:type_name -> yandex.cloud.mdb.mysql.v1.Resources
	3,  // 20: yandex.cloud.mdb.mysql.v1.Host.role:type_name -> yandex.cloud.mdb.mysql.v1.Host.Role
	4,  // 21: yandex.cloud.mdb.mysql.v1.Host.health:type_name -> yandex.cloud.mdb.mysql.v1.Host.Health
	11, // 22: yandex.cloud.mdb.mysql.v1.Host.services:type_name -> yandex.cloud.mdb.mysql.v1.Service
	5,  // 23: yandex.cloud.mdb.mysql.v1.Service.type:type_name -> yandex.cloud.mdb.mysql.v1.Service.Type
	6,  // 24: yandex.cloud.mdb.mysql.v1.Service.health:type_name -> yandex.cloud.mdb.mysql.v1.Service.Health
	25, // [25:25] is the sub-list for method output_type
	25, // [25:25] is the sub-list for method input_type
	25, // [25:25] is the sub-list for extension type_name
	25, // [25:25] is the sub-list for extension extendee
	0,  // [0:25] is the sub-list for field type_name
}

func init() { file_yandex_cloud_mdb_mysql_v1_cluster_proto_init() }
func file_yandex_cloud_mdb_mysql_v1_cluster_proto_init() {
	if File_yandex_cloud_mdb_mysql_v1_cluster_proto != nil {
		return
	}
	file_yandex_cloud_mdb_mysql_v1_maintenance_proto_init()
	file_yandex_cloud_mdb_mysql_v1_cluster_proto_msgTypes[2].OneofWrappers = []any{
		(*ClusterConfig_MysqlConfig_5_7)(nil),
		(*ClusterConfig_MysqlConfig_8_0)(nil),
		(*ClusterConfig_MysqlConfig_8_4)(nil),
	}
	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_cluster_proto_rawDesc), len(file_yandex_cloud_mdb_mysql_v1_cluster_proto_rawDesc)),
			NumEnums:      7,
			NumMessages:   10,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_mdb_mysql_v1_cluster_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_mdb_mysql_v1_cluster_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_mdb_mysql_v1_cluster_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_mdb_mysql_v1_cluster_proto_msgTypes,
	}.Build()
	File_yandex_cloud_mdb_mysql_v1_cluster_proto = out.File
	file_yandex_cloud_mdb_mysql_v1_cluster_proto_goTypes = nil
	file_yandex_cloud_mdb_mysql_v1_cluster_proto_depIdxs = nil
}
