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

package sqlserver

import (
	config "github.com/yandex-cloud/go-genproto/yandex/cloud/mdb/sqlserver/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"
	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
	// Stable environment with a conservative update policy: only hotfixes are applied during regular maintenance.
	Cluster_PRODUCTION Cluster_Environment = 1
	// Environment with more aggressive update policy: new versions are rolled out irrespective of 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_sqlserver_v1_cluster_proto_enumTypes[0].Descriptor()
}

func (Cluster_Environment) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_sqlserver_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_sqlserver_v1_cluster_proto_rawDescGZIP(), []int{0, 0}
}

type Cluster_Health int32

const (
	// State of the cluster is unknown ([Host.health] of all hosts in the cluster is `UNKNOWN`).
	Cluster_HEALTH_UNKNOWN Cluster_Health = 0
	// Cluster is alive and works well ([Host.health] of all hosts in the cluster is `ALIVE`).
	Cluster_ALIVE Cluster_Health = 1
	// Cluster is inoperable ([Host.health] of all hosts in the cluster is `DEAD`).
	Cluster_DEAD Cluster_Health = 2
	// Cluster is in degraded state ([Host.health] of at least one of the hosts 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_sqlserver_v1_cluster_proto_enumTypes[1].Descriptor()
}

func (Cluster_Health) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_sqlserver_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_sqlserver_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 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_sqlserver_v1_cluster_proto_enumTypes[2].Descriptor()
}

func (Cluster_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_sqlserver_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_sqlserver_v1_cluster_proto_rawDescGZIP(), []int{0, 2}
}

type ClusterConfig_SecondaryConnections int32

const (
	ClusterConfig_SECONDARY_CONNECTIONS_UNSPECIFIED ClusterConfig_SecondaryConnections = 0
	// Connections to secondary replicas are prohibited
	ClusterConfig_SECONDARY_CONNECTIONS_OFF ClusterConfig_SecondaryConnections = 1
	// Secondary replicas are read-only
	ClusterConfig_SECONDARY_CONNECTIONS_READ_ONLY ClusterConfig_SecondaryConnections = 2
)

// Enum value maps for ClusterConfig_SecondaryConnections.
var (
	ClusterConfig_SecondaryConnections_name = map[int32]string{
		0: "SECONDARY_CONNECTIONS_UNSPECIFIED",
		1: "SECONDARY_CONNECTIONS_OFF",
		2: "SECONDARY_CONNECTIONS_READ_ONLY",
	}
	ClusterConfig_SecondaryConnections_value = map[string]int32{
		"SECONDARY_CONNECTIONS_UNSPECIFIED": 0,
		"SECONDARY_CONNECTIONS_OFF":         1,
		"SECONDARY_CONNECTIONS_READ_ONLY":   2,
	}
)

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

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

func (ClusterConfig_SecondaryConnections) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_enumTypes[3].Descriptor()
}

func (ClusterConfig_SecondaryConnections) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_enumTypes[3]
}

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

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

type Host_Role int32

const (
	// Role of the host in the cluster is unknown.
	Host_ROLE_UNKNOWN Host_Role = 0
	// Host is the master SQL Server instance in the cluster.
	Host_MASTER Host_Role = 1
	// Host is a replica SQL Server instance in the cluster.
	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_sqlserver_v1_cluster_proto_enumTypes[4].Descriptor()
}

func (Host_Role) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_enumTypes[4]
}

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_sqlserver_v1_cluster_proto_rawDescGZIP(), []int{3, 0}
}

type Host_Health int32

const (
	// Health of the host is unknown.
	Host_HEALTH_UNKNOWN Host_Health = 0
	// The host is performing all its functions normally.
	Host_ALIVE Host_Health = 1
	// The host is inoperable and cannot perform any of its essential functions.
	Host_DEAD Host_Health = 2
	// The host is degraded and can perform only some of its essential functions.
	Host_DEGRADED Host_Health = 3
)

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

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_sqlserver_v1_cluster_proto_enumTypes[5].Descriptor()
}

func (Host_Health) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_enumTypes[5]
}

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_sqlserver_v1_cluster_proto_rawDescGZIP(), []int{3, 1}
}

type Service_Type int32

const (
	Service_TYPE_UNSPECIFIED Service_Type = 0
	// SQL Server service.
	Service_SQLSERVER Service_Type = 1
)

// Enum value maps for Service_Type.
var (
	Service_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "SQLSERVER",
	}
	Service_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"SQLSERVER":        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_sqlserver_v1_cluster_proto_enumTypes[6].Descriptor()
}

func (Service_Type) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_enumTypes[6]
}

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_sqlserver_v1_cluster_proto_rawDescGZIP(), []int{4, 0}
}

type Service_Health int32

const (
	// Health of the server is unknown.
	Service_HEALTH_UNKNOWN Service_Health = 0
	// The server is working normally.
	Service_ALIVE Service_Health = 1
	// The server is dead or unresponsive.
	Service_DEAD Service_Health = 2
)

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

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_sqlserver_v1_cluster_proto_enumTypes[7].Descriptor()
}

func (Service_Health) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_enumTypes[7]
}

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_sqlserver_v1_cluster_proto_rawDescGZIP(), []int{4, 1}
}

// An SQL Server cluster.
//
// For more information, see the [Concepts](/docs/managed-sqlserver/concepts) section of the documentation.
type Cluster struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the SQL Server cluster.
	//
	// This ID is assigned by Managed Service for SQL Server at the moment of creation.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder the SQL Server cluster belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Time when SQL Server cluster was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the SQL Server cluster.
	//
	// The name must be unique within the folder, comply with [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt) and be 1-63 characters long.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the SQL Server cluster.
	//
	// Must be 0-256 characters long.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the SQL Server cluster as `key:value` pairs.
	//
	// Maximum 64 per resource.
	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 SQL Server cluster.
	Environment Cluster_Environment `protobuf:"varint,7,opt,name=environment,proto3,enum=yandex.cloud.mdb.sqlserver.v1.Cluster_Environment" json:"environment,omitempty"`
	// Description of monitoring systems relevant to the SQL Server cluster.
	Monitoring []*Monitoring `protobuf:"bytes,8,rep,name=monitoring,proto3" json:"monitoring,omitempty"`
	// Configuration of the SQL Server 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 cluster health.
	Health Cluster_Health `protobuf:"varint,11,opt,name=health,proto3,enum=yandex.cloud.mdb.sqlserver.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.sqlserver.v1.Cluster_Status" json:"status,omitempty"`
	// User security groups.
	SecurityGroupIds []string `protobuf:"bytes,13,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// Determines whether the cluster is protected from being deleted.
	DeletionProtection bool `protobuf:"varint,14,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// SQL Server Collation.
	Sqlcollation string `protobuf:"bytes,15,opt,name=sqlcollation,proto3" json:"sqlcollation,omitempty"`
	// Host groups hosting VMs of the cluster.
	HostGroupIds []string `protobuf:"bytes,16,rep,name=host_group_ids,json=hostGroupIds,proto3" json:"host_group_ids,omitempty"`
	// ID of the service account which is used for access to Object Storage.
	ServiceAccountId string `protobuf:"bytes,17,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

func (x *Cluster) Reset() {
	*x = Cluster{}
	mi := &file_yandex_cloud_mdb_sqlserver_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_sqlserver_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_sqlserver_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) 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) GetSqlcollation() string {
	if x != nil {
		return x.Sqlcollation
	}
	return ""
}

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

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

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 SQL Server 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_sqlserver_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_sqlserver_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_sqlserver_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 the SQL Server.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Configuration of the SQL Server instances in the cluster.
	//
	// Types that are valid to be assigned to SqlserverConfig:
	//
	//	*ClusterConfig_SqlserverConfig_2016Sp2Std
	//	*ClusterConfig_SqlserverConfig_2016Sp2Ent
	//	*ClusterConfig_SqlserverConfig_2017Std
	//	*ClusterConfig_SqlserverConfig_2017Ent
	//	*ClusterConfig_SqlserverConfig_2019Std
	//	*ClusterConfig_SqlserverConfig_2019Ent
	SqlserverConfig isClusterConfig_SqlserverConfig `protobuf_oneof:"sqlserver_config"`
	// Resources allocated to SQL Server hosts.
	Resources *Resources `protobuf:"bytes,3,opt,name=resources,proto3" json:"resources,omitempty"`
	// Start time for the daily backup in UTC timezone.
	BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,4,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"`
	// Database access policy.
	Access *Access `protobuf:"bytes,6,opt,name=access,proto3" json:"access,omitempty"`
	// Secondary replicas connection mode
	SecondaryConnections ClusterConfig_SecondaryConnections `protobuf:"varint,7,opt,name=secondary_connections,json=secondaryConnections,proto3,enum=yandex.cloud.mdb.sqlserver.v1.ClusterConfig_SecondaryConnections" json:"secondary_connections,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

func (x *ClusterConfig) Reset() {
	*x = ClusterConfig{}
	mi := &file_yandex_cloud_mdb_sqlserver_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_sqlserver_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_sqlserver_v1_cluster_proto_rawDescGZIP(), []int{2}
}

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

func (x *ClusterConfig) GetSqlserverConfig() isClusterConfig_SqlserverConfig {
	if x != nil {
		return x.SqlserverConfig
	}
	return nil
}

func (x *ClusterConfig) GetSqlserverConfig_2016Sp2Std() *config.SQLServerConfigSet2016Sp2Std {
	if x != nil {
		if x, ok := x.SqlserverConfig.(*ClusterConfig_SqlserverConfig_2016Sp2Std); ok {
			return x.SqlserverConfig_2016Sp2Std
		}
	}
	return nil
}

func (x *ClusterConfig) GetSqlserverConfig_2016Sp2Ent() *config.SQLServerConfigSet2016Sp2Ent {
	if x != nil {
		if x, ok := x.SqlserverConfig.(*ClusterConfig_SqlserverConfig_2016Sp2Ent); ok {
			return x.SqlserverConfig_2016Sp2Ent
		}
	}
	return nil
}

func (x *ClusterConfig) GetSqlserverConfig_2017Std() *config.SQLServerConfigSet2017Std {
	if x != nil {
		if x, ok := x.SqlserverConfig.(*ClusterConfig_SqlserverConfig_2017Std); ok {
			return x.SqlserverConfig_2017Std
		}
	}
	return nil
}

func (x *ClusterConfig) GetSqlserverConfig_2017Ent() *config.SQLServerConfigSet2017Ent {
	if x != nil {
		if x, ok := x.SqlserverConfig.(*ClusterConfig_SqlserverConfig_2017Ent); ok {
			return x.SqlserverConfig_2017Ent
		}
	}
	return nil
}

func (x *ClusterConfig) GetSqlserverConfig_2019Std() *config.SQLServerConfigSet2019Std {
	if x != nil {
		if x, ok := x.SqlserverConfig.(*ClusterConfig_SqlserverConfig_2019Std); ok {
			return x.SqlserverConfig_2019Std
		}
	}
	return nil
}

func (x *ClusterConfig) GetSqlserverConfig_2019Ent() *config.SQLServerConfigSet2019Ent {
	if x != nil {
		if x, ok := x.SqlserverConfig.(*ClusterConfig_SqlserverConfig_2019Ent); ok {
			return x.SqlserverConfig_2019Ent
		}
	}
	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) GetSecondaryConnections() ClusterConfig_SecondaryConnections {
	if x != nil {
		return x.SecondaryConnections
	}
	return ClusterConfig_SECONDARY_CONNECTIONS_UNSPECIFIED
}

type isClusterConfig_SqlserverConfig interface {
	isClusterConfig_SqlserverConfig()
}

type ClusterConfig_SqlserverConfig_2016Sp2Std struct {
	// Configuration of the SQL Server 2016sp2 standard edition instance.
	SqlserverConfig_2016Sp2Std *config.SQLServerConfigSet2016Sp2Std `protobuf:"bytes,2,opt,name=sqlserver_config_2016sp2std,json=sqlserverConfig_2016sp2std,proto3,oneof"`
}

type ClusterConfig_SqlserverConfig_2016Sp2Ent struct {
	// Configuration of the SQL Server 2016sp2 enterprise edition instance.
	SqlserverConfig_2016Sp2Ent *config.SQLServerConfigSet2016Sp2Ent `protobuf:"bytes,5,opt,name=sqlserver_config_2016sp2ent,json=sqlserverConfig_2016sp2ent,proto3,oneof"`
}

type ClusterConfig_SqlserverConfig_2017Std struct {
	// Configuration of the SQL Server 2017 standard edition instance.
	SqlserverConfig_2017Std *config.SQLServerConfigSet2017Std `protobuf:"bytes,8,opt,name=sqlserver_config_2017std,json=sqlserverConfig_2017std,proto3,oneof"`
}

type ClusterConfig_SqlserverConfig_2017Ent struct {
	// Configuration of the SQL Server 2017 enterprise edition instance.
	SqlserverConfig_2017Ent *config.SQLServerConfigSet2017Ent `protobuf:"bytes,9,opt,name=sqlserver_config_2017ent,json=sqlserverConfig_2017ent,proto3,oneof"`
}

type ClusterConfig_SqlserverConfig_2019Std struct {
	// Configuration of the SQL Server 2019 standard edition instance.
	SqlserverConfig_2019Std *config.SQLServerConfigSet2019Std `protobuf:"bytes,10,opt,name=sqlserver_config_2019std,json=sqlserverConfig_2019std,proto3,oneof"`
}

type ClusterConfig_SqlserverConfig_2019Ent struct {
	// Configuration of the SQL Server 2019 enterprise edition instance.
	SqlserverConfig_2019Ent *config.SQLServerConfigSet2019Ent `protobuf:"bytes,11,opt,name=sqlserver_config_2019ent,json=sqlserverConfig_2019ent,proto3,oneof"`
}

func (*ClusterConfig_SqlserverConfig_2016Sp2Std) isClusterConfig_SqlserverConfig() {}

func (*ClusterConfig_SqlserverConfig_2016Sp2Ent) isClusterConfig_SqlserverConfig() {}

func (*ClusterConfig_SqlserverConfig_2017Std) isClusterConfig_SqlserverConfig() {}

func (*ClusterConfig_SqlserverConfig_2017Ent) isClusterConfig_SqlserverConfig() {}

func (*ClusterConfig_SqlserverConfig_2019Std) isClusterConfig_SqlserverConfig() {}

func (*ClusterConfig_SqlserverConfig_2019Ent) isClusterConfig_SqlserverConfig() {}

type Host struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Name of the SQL Server host.
	//
	// The host name is assigned by Managed Service for SQL Server at the moment of creation and cannot be changed. 1-63 characters long.
	//
	// The name is unique across all database 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 SQL Server host.
	//
	// The ID is assigned by Managed Service for SQL Server at the moment of creation.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the availability zone where the SQL Server 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.
	Role Host_Role `protobuf:"varint,5,opt,name=role,proto3,enum=yandex.cloud.mdb.sqlserver.v1.Host_Role" json:"role,omitempty"`
	// Status code of the aggregated health of the host.
	Health Host_Health `protobuf:"varint,6,opt,name=health,proto3,enum=yandex.cloud.mdb.sqlserver.v1.Host_Health" json:"health,omitempty"`
	// 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 showing public IP assignment status to this host.
	AssignPublicIp bool `protobuf:"varint,9,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *Host) Reset() {
	*x = Host{}
	mi := &file_yandex_cloud_mdb_sqlserver_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_sqlserver_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_sqlserver_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
}

type Service struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Type of the service provided by the host.
	Type Service_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.mdb.sqlserver.v1.Service_Type" json:"type,omitempty"`
	// Status code of server availability.
	Health        Service_Health `protobuf:"varint,2,opt,name=health,proto3,enum=yandex.cloud.mdb.sqlserver.v1.Service_Health" json:"health,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Service) Reset() {
	*x = Service{}
	mi := &file_yandex_cloud_mdb_sqlserver_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_sqlserver_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_sqlserver_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
}

type Resources struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the preset for computational resources available to a host (CPU, memory, etc.).
	//
	// All available presets are listed in the [documentation](/docs/managed-sqlserver/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 available to a host.
	DiskSize int64 `protobuf:"varint,2,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"`
	// Type of the storage environment for the host.
	//
	// Possible values:
	// * `network-hdd` - network HDD drive;
	// * `network-ssd` - network SSD drive;
	// * `local-ssd` - local SSD storage.
	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_sqlserver_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_sqlserver_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_sqlserver_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 for DataLens.
	DataLens bool `protobuf:"varint,1,opt,name=data_lens,json=dataLens,proto3" json:"data_lens,omitempty"`
	// Allows access for Web SQL.
	WebSql        bool `protobuf:"varint,2,opt,name=web_sql,json=webSql,proto3" json:"web_sql,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Access) Reset() {
	*x = Access{}
	mi := &file_yandex_cloud_mdb_sqlserver_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_sqlserver_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_sqlserver_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
}

var File_yandex_cloud_mdb_sqlserver_v1_cluster_proto protoreflect.FileDescriptor

const file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_rawDesc = "" +
	"\n" +
	"+yandex/cloud/mdb/sqlserver/v1/cluster.proto\x12\x1dyandex.cloud.mdb.sqlserver.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1bgoogle/type/timeofday.proto\x1a;yandex/cloud/mdb/sqlserver/v1/config/sqlserver2016sp2.proto\x1a8yandex/cloud/mdb/sqlserver/v1/config/sqlserver2017.proto\x1a8yandex/cloud/mdb/sqlserver/v1/config/sqlserver2019.proto\"\xa0\t\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\x12J\n" +
	"\x06labels\x18\x06 \x03(\v22.yandex.cloud.mdb.sqlserver.v1.Cluster.LabelsEntryR\x06labels\x12T\n" +
	"\venvironment\x18\a \x01(\x0e22.yandex.cloud.mdb.sqlserver.v1.Cluster.EnvironmentR\venvironment\x12I\n" +
	"\n" +
	"monitoring\x18\b \x03(\v2).yandex.cloud.mdb.sqlserver.v1.MonitoringR\n" +
	"monitoring\x12D\n" +
	"\x06config\x18\t \x01(\v2,.yandex.cloud.mdb.sqlserver.v1.ClusterConfigR\x06config\x12\x1d\n" +
	"\n" +
	"network_id\x18\n" +
	" \x01(\tR\tnetworkId\x12E\n" +
	"\x06health\x18\v \x01(\x0e2-.yandex.cloud.mdb.sqlserver.v1.Cluster.HealthR\x06health\x12E\n" +
	"\x06status\x18\f \x01(\x0e2-.yandex.cloud.mdb.sqlserver.v1.Cluster.StatusR\x06status\x12,\n" +
	"\x12security_group_ids\x18\r \x03(\tR\x10securityGroupIds\x12/\n" +
	"\x13deletion_protection\x18\x0e \x01(\bR\x12deletionProtection\x12\"\n" +
	"\fsqlcollation\x18\x0f \x01(\tR\fsqlcollation\x12$\n" +
	"\x0ehost_group_ids\x18\x10 \x03(\tR\fhostGroupIds\x12,\n" +
	"\x12service_account_id\x18\x11 \x01(\tR\x10serviceAccountId\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\a\"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\"\x90\n" +
	"\n" +
	"\rClusterConfig\x12\x18\n" +
	"\aversion\x18\x01 \x01(\tR\aversion\x12\x85\x01\n" +
	"\x1bsqlserver_config_2016sp2std\x18\x02 \x01(\v2B.yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2016sp2stdH\x00R\x1asqlserverConfig_2016sp2std\x12\x85\x01\n" +
	"\x1bsqlserver_config_2016sp2ent\x18\x05 \x01(\v2B.yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2016sp2entH\x00R\x1asqlserverConfig_2016sp2ent\x12|\n" +
	"\x18sqlserver_config_2017std\x18\b \x01(\v2?.yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2017stdH\x00R\x17sqlserverConfig_2017std\x12|\n" +
	"\x18sqlserver_config_2017ent\x18\t \x01(\v2?.yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2017entH\x00R\x17sqlserverConfig_2017ent\x12|\n" +
	"\x18sqlserver_config_2019std\x18\n" +
	" \x01(\v2?.yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2019stdH\x00R\x17sqlserverConfig_2019std\x12|\n" +
	"\x18sqlserver_config_2019ent\x18\v \x01(\v2?.yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2019entH\x00R\x17sqlserverConfig_2019ent\x12F\n" +
	"\tresources\x18\x03 \x01(\v2(.yandex.cloud.mdb.sqlserver.v1.ResourcesR\tresources\x12F\n" +
	"\x13backup_window_start\x18\x04 \x01(\v2\x16.google.type.TimeOfDayR\x11backupWindowStart\x12=\n" +
	"\x06access\x18\x06 \x01(\v2%.yandex.cloud.mdb.sqlserver.v1.AccessR\x06access\x12v\n" +
	"\x15secondary_connections\x18\a \x01(\x0e2A.yandex.cloud.mdb.sqlserver.v1.ClusterConfig.SecondaryConnectionsR\x14secondaryConnections\"\x81\x01\n" +
	"\x14SecondaryConnections\x12%\n" +
	"!SECONDARY_CONNECTIONS_UNSPECIFIED\x10\x00\x12\x1d\n" +
	"\x19SECONDARY_CONNECTIONS_OFF\x10\x01\x12#\n" +
	"\x1fSECONDARY_CONNECTIONS_READ_ONLY\x10\x02B\x12\n" +
	"\x10sqlserver_config\"\x9b\x04\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\x12F\n" +
	"\tresources\x18\x04 \x01(\v2(.yandex.cloud.mdb.sqlserver.v1.ResourcesR\tresources\x12<\n" +
	"\x04role\x18\x05 \x01(\x0e2(.yandex.cloud.mdb.sqlserver.v1.Host.RoleR\x04role\x12B\n" +
	"\x06health\x18\x06 \x01(\x0e2*.yandex.cloud.mdb.sqlserver.v1.Host.HealthR\x06health\x12B\n" +
	"\bservices\x18\a \x03(\v2&.yandex.cloud.mdb.sqlserver.v1.ServiceR\bservices\x12\x1b\n" +
	"\tsubnet_id\x18\b \x01(\tR\bsubnetId\x12(\n" +
	"\x10assign_public_ip\x18\t \x01(\bR\x0eassignPublicIp\"1\n" +
	"\x04Role\x12\x10\n" +
	"\fROLE_UNKNOWN\x10\x00\x12\n" +
	"\n" +
	"\x06MASTER\x10\x01\x12\v\n" +
	"\aREPLICA\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\"\xf1\x01\n" +
	"\aService\x12?\n" +
	"\x04type\x18\x01 \x01(\x0e2+.yandex.cloud.mdb.sqlserver.v1.Service.TypeR\x04type\x12E\n" +
	"\x06health\x18\x02 \x01(\x0e2-.yandex.cloud.mdb.sqlserver.v1.Service.HealthR\x06health\"+\n" +
	"\x04Type\x12\x14\n" +
	"\x10TYPE_UNSPECIFIED\x10\x00\x12\r\n" +
	"\tSQLSERVER\x10\x01\"1\n" +
	"\x06Health\x12\x12\n" +
	"\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n" +
	"\x05ALIVE\x10\x01\x12\b\n" +
	"\x04DEAD\x10\x02\"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\">\n" +
	"\x06Access\x12\x1b\n" +
	"\tdata_lens\x18\x01 \x01(\bR\bdataLens\x12\x17\n" +
	"\aweb_sql\x18\x02 \x01(\bR\x06webSqlBu\n" +
	"!yandex.cloud.api.mdb.sqlserver.v1B\x03PSCZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/sqlserver/v1;sqlserverb\x06proto3"

var (
	file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_rawDescOnce sync.Once
	file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_rawDescData []byte
)

func file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_rawDescGZIP() []byte {
	file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_rawDesc), len(file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_rawDesc)))
	})
	return file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_rawDescData
}

var file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_enumTypes = make([]protoimpl.EnumInfo, 8)
var file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_goTypes = []any{
	(Cluster_Environment)(0),                // 0: yandex.cloud.mdb.sqlserver.v1.Cluster.Environment
	(Cluster_Health)(0),                     // 1: yandex.cloud.mdb.sqlserver.v1.Cluster.Health
	(Cluster_Status)(0),                     // 2: yandex.cloud.mdb.sqlserver.v1.Cluster.Status
	(ClusterConfig_SecondaryConnections)(0), // 3: yandex.cloud.mdb.sqlserver.v1.ClusterConfig.SecondaryConnections
	(Host_Role)(0),                          // 4: yandex.cloud.mdb.sqlserver.v1.Host.Role
	(Host_Health)(0),                        // 5: yandex.cloud.mdb.sqlserver.v1.Host.Health
	(Service_Type)(0),                       // 6: yandex.cloud.mdb.sqlserver.v1.Service.Type
	(Service_Health)(0),                     // 7: yandex.cloud.mdb.sqlserver.v1.Service.Health
	(*Cluster)(nil),                         // 8: yandex.cloud.mdb.sqlserver.v1.Cluster
	(*Monitoring)(nil),                      // 9: yandex.cloud.mdb.sqlserver.v1.Monitoring
	(*ClusterConfig)(nil),                   // 10: yandex.cloud.mdb.sqlserver.v1.ClusterConfig
	(*Host)(nil),                            // 11: yandex.cloud.mdb.sqlserver.v1.Host
	(*Service)(nil),                         // 12: yandex.cloud.mdb.sqlserver.v1.Service
	(*Resources)(nil),                       // 13: yandex.cloud.mdb.sqlserver.v1.Resources
	(*Access)(nil),                          // 14: yandex.cloud.mdb.sqlserver.v1.Access
	nil,                                     // 15: yandex.cloud.mdb.sqlserver.v1.Cluster.LabelsEntry
	(*timestamppb.Timestamp)(nil),           // 16: google.protobuf.Timestamp
	(*config.SQLServerConfigSet2016Sp2Std)(nil), // 17: yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2016sp2std
	(*config.SQLServerConfigSet2016Sp2Ent)(nil), // 18: yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2016sp2ent
	(*config.SQLServerConfigSet2017Std)(nil),    // 19: yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2017std
	(*config.SQLServerConfigSet2017Ent)(nil),    // 20: yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2017ent
	(*config.SQLServerConfigSet2019Std)(nil),    // 21: yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2019std
	(*config.SQLServerConfigSet2019Ent)(nil),    // 22: yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2019ent
	(*timeofday.TimeOfDay)(nil),                 // 23: google.type.TimeOfDay
}
var file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_depIdxs = []int32{
	16, // 0: yandex.cloud.mdb.sqlserver.v1.Cluster.created_at:type_name -> google.protobuf.Timestamp
	15, // 1: yandex.cloud.mdb.sqlserver.v1.Cluster.labels:type_name -> yandex.cloud.mdb.sqlserver.v1.Cluster.LabelsEntry
	0,  // 2: yandex.cloud.mdb.sqlserver.v1.Cluster.environment:type_name -> yandex.cloud.mdb.sqlserver.v1.Cluster.Environment
	9,  // 3: yandex.cloud.mdb.sqlserver.v1.Cluster.monitoring:type_name -> yandex.cloud.mdb.sqlserver.v1.Monitoring
	10, // 4: yandex.cloud.mdb.sqlserver.v1.Cluster.config:type_name -> yandex.cloud.mdb.sqlserver.v1.ClusterConfig
	1,  // 5: yandex.cloud.mdb.sqlserver.v1.Cluster.health:type_name -> yandex.cloud.mdb.sqlserver.v1.Cluster.Health
	2,  // 6: yandex.cloud.mdb.sqlserver.v1.Cluster.status:type_name -> yandex.cloud.mdb.sqlserver.v1.Cluster.Status
	17, // 7: yandex.cloud.mdb.sqlserver.v1.ClusterConfig.sqlserver_config_2016sp2std:type_name -> yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2016sp2std
	18, // 8: yandex.cloud.mdb.sqlserver.v1.ClusterConfig.sqlserver_config_2016sp2ent:type_name -> yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2016sp2ent
	19, // 9: yandex.cloud.mdb.sqlserver.v1.ClusterConfig.sqlserver_config_2017std:type_name -> yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2017std
	20, // 10: yandex.cloud.mdb.sqlserver.v1.ClusterConfig.sqlserver_config_2017ent:type_name -> yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2017ent
	21, // 11: yandex.cloud.mdb.sqlserver.v1.ClusterConfig.sqlserver_config_2019std:type_name -> yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2019std
	22, // 12: yandex.cloud.mdb.sqlserver.v1.ClusterConfig.sqlserver_config_2019ent:type_name -> yandex.cloud.mdb.sqlserver.v1.config.SQLServerConfigSet2019ent
	13, // 13: yandex.cloud.mdb.sqlserver.v1.ClusterConfig.resources:type_name -> yandex.cloud.mdb.sqlserver.v1.Resources
	23, // 14: yandex.cloud.mdb.sqlserver.v1.ClusterConfig.backup_window_start:type_name -> google.type.TimeOfDay
	14, // 15: yandex.cloud.mdb.sqlserver.v1.ClusterConfig.access:type_name -> yandex.cloud.mdb.sqlserver.v1.Access
	3,  // 16: yandex.cloud.mdb.sqlserver.v1.ClusterConfig.secondary_connections:type_name -> yandex.cloud.mdb.sqlserver.v1.ClusterConfig.SecondaryConnections
	13, // 17: yandex.cloud.mdb.sqlserver.v1.Host.resources:type_name -> yandex.cloud.mdb.sqlserver.v1.Resources
	4,  // 18: yandex.cloud.mdb.sqlserver.v1.Host.role:type_name -> yandex.cloud.mdb.sqlserver.v1.Host.Role
	5,  // 19: yandex.cloud.mdb.sqlserver.v1.Host.health:type_name -> yandex.cloud.mdb.sqlserver.v1.Host.Health
	12, // 20: yandex.cloud.mdb.sqlserver.v1.Host.services:type_name -> yandex.cloud.mdb.sqlserver.v1.Service
	6,  // 21: yandex.cloud.mdb.sqlserver.v1.Service.type:type_name -> yandex.cloud.mdb.sqlserver.v1.Service.Type
	7,  // 22: yandex.cloud.mdb.sqlserver.v1.Service.health:type_name -> yandex.cloud.mdb.sqlserver.v1.Service.Health
	23, // [23:23] is the sub-list for method output_type
	23, // [23:23] is the sub-list for method input_type
	23, // [23:23] is the sub-list for extension type_name
	23, // [23:23] is the sub-list for extension extendee
	0,  // [0:23] is the sub-list for field type_name
}

func init() { file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_init() }
func file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_init() {
	if File_yandex_cloud_mdb_sqlserver_v1_cluster_proto != nil {
		return
	}
	file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_msgTypes[2].OneofWrappers = []any{
		(*ClusterConfig_SqlserverConfig_2016Sp2Std)(nil),
		(*ClusterConfig_SqlserverConfig_2016Sp2Ent)(nil),
		(*ClusterConfig_SqlserverConfig_2017Std)(nil),
		(*ClusterConfig_SqlserverConfig_2017Ent)(nil),
		(*ClusterConfig_SqlserverConfig_2019Std)(nil),
		(*ClusterConfig_SqlserverConfig_2019Ent)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_rawDesc), len(file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_rawDesc)),
			NumEnums:      8,
			NumMessages:   8,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_msgTypes,
	}.Build()
	File_yandex_cloud_mdb_sqlserver_v1_cluster_proto = out.File
	file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_goTypes = nil
	file_yandex_cloud_mdb_sqlserver_v1_cluster_proto_depIdxs = nil
}
