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

package connectionmanager

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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 PostgreSQLCluster_Host_Role int32

const (
	PostgreSQLCluster_Host_ROLE_UNSPECIFIED PostgreSQLCluster_Host_Role = 0
	PostgreSQLCluster_Host_MASTER           PostgreSQLCluster_Host_Role = 1
	PostgreSQLCluster_Host_REPLICA          PostgreSQLCluster_Host_Role = 2
)

// Enum value maps for PostgreSQLCluster_Host_Role.
var (
	PostgreSQLCluster_Host_Role_name = map[int32]string{
		0: "ROLE_UNSPECIFIED",
		1: "MASTER",
		2: "REPLICA",
	}
	PostgreSQLCluster_Host_Role_value = map[string]int32{
		"ROLE_UNSPECIFIED": 0,
		"MASTER":           1,
		"REPLICA":          2,
	}
)

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

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

func (PostgreSQLCluster_Host_Role) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_connectionmanager_v1_postgresql_proto_enumTypes[0].Descriptor()
}

func (PostgreSQLCluster_Host_Role) Type() protoreflect.EnumType {
	return &file_yandex_cloud_connectionmanager_v1_postgresql_proto_enumTypes[0]
}

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

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

type PostgreSQLCluster_Host_ReplicaType int32

const (
	PostgreSQLCluster_Host_REPLICA_TYPE_UNSPECIFIED PostgreSQLCluster_Host_ReplicaType = 0
	PostgreSQLCluster_Host_ASYNC                    PostgreSQLCluster_Host_ReplicaType = 1
	PostgreSQLCluster_Host_SYNC                     PostgreSQLCluster_Host_ReplicaType = 2
	PostgreSQLCluster_Host_QUORUM                   PostgreSQLCluster_Host_ReplicaType = 3
)

// Enum value maps for PostgreSQLCluster_Host_ReplicaType.
var (
	PostgreSQLCluster_Host_ReplicaType_name = map[int32]string{
		0: "REPLICA_TYPE_UNSPECIFIED",
		1: "ASYNC",
		2: "SYNC",
		3: "QUORUM",
	}
	PostgreSQLCluster_Host_ReplicaType_value = map[string]int32{
		"REPLICA_TYPE_UNSPECIFIED": 0,
		"ASYNC":                    1,
		"SYNC":                     2,
		"QUORUM":                   3,
	}
)

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

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

func (PostgreSQLCluster_Host_ReplicaType) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_connectionmanager_v1_postgresql_proto_enumTypes[1].Descriptor()
}

func (PostgreSQLCluster_Host_ReplicaType) Type() protoreflect.EnumType {
	return &file_yandex_cloud_connectionmanager_v1_postgresql_proto_enumTypes[1]
}

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

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

type PostgreSQLCluster_Host_Health int32

const (
	PostgreSQLCluster_Host_HEALTH_UNSPECIFIED PostgreSQLCluster_Host_Health = 0
	PostgreSQLCluster_Host_ALIVE              PostgreSQLCluster_Host_Health = 1
	PostgreSQLCluster_Host_DEAD               PostgreSQLCluster_Host_Health = 2
	PostgreSQLCluster_Host_DEGRADED           PostgreSQLCluster_Host_Health = 3
	PostgreSQLCluster_Host_READONLY           PostgreSQLCluster_Host_Health = 4
)

// Enum value maps for PostgreSQLCluster_Host_Health.
var (
	PostgreSQLCluster_Host_Health_name = map[int32]string{
		0: "HEALTH_UNSPECIFIED",
		1: "ALIVE",
		2: "DEAD",
		3: "DEGRADED",
		4: "READONLY",
	}
	PostgreSQLCluster_Host_Health_value = map[string]int32{
		"HEALTH_UNSPECIFIED": 0,
		"ALIVE":              1,
		"DEAD":               2,
		"DEGRADED":           3,
		"READONLY":           4,
	}
)

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

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

func (PostgreSQLCluster_Host_Health) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_connectionmanager_v1_postgresql_proto_enumTypes[2].Descriptor()
}

func (PostgreSQLCluster_Host_Health) Type() protoreflect.EnumType {
	return &file_yandex_cloud_connectionmanager_v1_postgresql_proto_enumTypes[2]
}

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

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

type PostgreSQLAuth struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Security:
	//
	//	*PostgreSQLAuth_UserPassword
	Security      isPostgreSQLAuth_Security `protobuf_oneof:"security"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PostgreSQLAuth) ProtoMessage() {}

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

func (x *PostgreSQLAuth) GetSecurity() isPostgreSQLAuth_Security {
	if x != nil {
		return x.Security
	}
	return nil
}

func (x *PostgreSQLAuth) GetUserPassword() *UserPasswordAuth {
	if x != nil {
		if x, ok := x.Security.(*PostgreSQLAuth_UserPassword); ok {
			return x.UserPassword
		}
	}
	return nil
}

type isPostgreSQLAuth_Security interface {
	isPostgreSQLAuth_Security()
}

type PostgreSQLAuth_UserPassword struct {
	UserPassword *UserPasswordAuth `protobuf:"bytes,1,opt,name=user_password,json=userPassword,proto3,oneof"`
}

func (*PostgreSQLAuth_UserPassword) isPostgreSQLAuth_Security() {}

type PostgreSQLCluster struct {
	state         protoimpl.MessageState    `protogen:"open.v1"`
	Hosts         []*PostgreSQLCluster_Host `protobuf:"bytes,4,rep,name=hosts,proto3" json:"hosts,omitempty"`
	TlsParams     *TLSParams                `protobuf:"bytes,3,opt,name=tls_params,json=tlsParams,proto3" json:"tls_params,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PostgreSQLCluster) ProtoMessage() {}

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

func (x *PostgreSQLCluster) GetHosts() []*PostgreSQLCluster_Host {
	if x != nil {
		return x.Hosts
	}
	return nil
}

func (x *PostgreSQLCluster) GetTlsParams() *TLSParams {
	if x != nil {
		return x.TlsParams
	}
	return nil
}

type PostgreSQLConnection struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// When creating/updating Connection, the field "cluster" is mutually
	// exclusive with "managed_cluster_id".
	Cluster *PostgreSQLCluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// When creating/updating Connection, the field "managed_cluster_id" is
	// mutually exclusive with "cluster".
	ManagedClusterId string          `protobuf:"bytes,2,opt,name=managed_cluster_id,json=managedClusterId,proto3" json:"managed_cluster_id,omitempty"`
	Auth             *PostgreSQLAuth `protobuf:"bytes,4,opt,name=auth,proto3" json:"auth,omitempty"`
	Databases        []string        `protobuf:"bytes,5,rep,name=databases,proto3" json:"databases,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*PostgreSQLConnection) ProtoMessage() {}

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

func (x *PostgreSQLConnection) GetCluster() *PostgreSQLCluster {
	if x != nil {
		return x.Cluster
	}
	return nil
}

func (x *PostgreSQLConnection) GetManagedClusterId() string {
	if x != nil {
		return x.ManagedClusterId
	}
	return ""
}

func (x *PostgreSQLConnection) GetAuth() *PostgreSQLAuth {
	if x != nil {
		return x.Auth
	}
	return nil
}

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

type PostgreSQLCluster_Host struct {
	state         protoimpl.MessageState             `protogen:"open.v1"`
	Host          string                             `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	Port          int64                              `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	Role          PostgreSQLCluster_Host_Role        `protobuf:"varint,3,opt,name=role,proto3,enum=yandex.cloud.connectionmanager.v1.PostgreSQLCluster_Host_Role" json:"role,omitempty"`
	ReplicaType   PostgreSQLCluster_Host_ReplicaType `protobuf:"varint,4,opt,name=replica_type,json=replicaType,proto3,enum=yandex.cloud.connectionmanager.v1.PostgreSQLCluster_Host_ReplicaType" json:"replica_type,omitempty"`
	Health        PostgreSQLCluster_Host_Health      `protobuf:"varint,5,opt,name=health,proto3,enum=yandex.cloud.connectionmanager.v1.PostgreSQLCluster_Host_Health" json:"health,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PostgreSQLCluster_Host) ProtoMessage() {}

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

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

func (x *PostgreSQLCluster_Host) GetPort() int64 {
	if x != nil {
		return x.Port
	}
	return 0
}

func (x *PostgreSQLCluster_Host) GetRole() PostgreSQLCluster_Host_Role {
	if x != nil {
		return x.Role
	}
	return PostgreSQLCluster_Host_ROLE_UNSPECIFIED
}

func (x *PostgreSQLCluster_Host) GetReplicaType() PostgreSQLCluster_Host_ReplicaType {
	if x != nil {
		return x.ReplicaType
	}
	return PostgreSQLCluster_Host_REPLICA_TYPE_UNSPECIFIED
}

func (x *PostgreSQLCluster_Host) GetHealth() PostgreSQLCluster_Host_Health {
	if x != nil {
		return x.Health
	}
	return PostgreSQLCluster_Host_HEALTH_UNSPECIFIED
}

var File_yandex_cloud_connectionmanager_v1_postgresql_proto protoreflect.FileDescriptor

const file_yandex_cloud_connectionmanager_v1_postgresql_proto_rawDesc = "" +
	"\n" +
	"2yandex/cloud/connectionmanager/v1/postgresql.proto\x12!yandex.cloud.connectionmanager.v1\x1a.yandex/cloud/connectionmanager/v1/common.proto\"x\n" +
	"\x0ePostgreSQLAuth\x12Z\n" +
	"\ruser_password\x18\x01 \x01(\v23.yandex.cloud.connectionmanager.v1.UserPasswordAuthH\x00R\fuserPasswordB\n" +
	"\n" +
	"\bsecurity\"\xde\x05\n" +
	"\x11PostgreSQLCluster\x12O\n" +
	"\x05hosts\x18\x04 \x03(\v29.yandex.cloud.connectionmanager.v1.PostgreSQLCluster.HostR\x05hosts\x12K\n" +
	"\n" +
	"tls_params\x18\x03 \x01(\v2,.yandex.cloud.connectionmanager.v1.TLSParamsR\ttlsParams\x1a\x9e\x04\n" +
	"\x04Host\x12\x12\n" +
	"\x04host\x18\x01 \x01(\tR\x04host\x12\x12\n" +
	"\x04port\x18\x02 \x01(\x03R\x04port\x12R\n" +
	"\x04role\x18\x03 \x01(\x0e2>.yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.RoleR\x04role\x12h\n" +
	"\freplica_type\x18\x04 \x01(\x0e2E.yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.ReplicaTypeR\vreplicaType\x12X\n" +
	"\x06health\x18\x05 \x01(\x0e2@.yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.HealthR\x06health\"5\n" +
	"\x04Role\x12\x14\n" +
	"\x10ROLE_UNSPECIFIED\x10\x00\x12\n" +
	"\n" +
	"\x06MASTER\x10\x01\x12\v\n" +
	"\aREPLICA\x10\x02\"L\n" +
	"\vReplicaType\x12\x1c\n" +
	"\x18REPLICA_TYPE_UNSPECIFIED\x10\x00\x12\t\n" +
	"\x05ASYNC\x10\x01\x12\b\n" +
	"\x04SYNC\x10\x02\x12\n" +
	"\n" +
	"\x06QUORUM\x10\x03\"Q\n" +
	"\x06Health\x12\x16\n" +
	"\x12HEALTH_UNSPECIFIED\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\x04J\x04\b\x01\x10\x02J\x04\b\x02\x10\x03\"\xff\x01\n" +
	"\x14PostgreSQLConnection\x12N\n" +
	"\acluster\x18\x01 \x01(\v24.yandex.cloud.connectionmanager.v1.PostgreSQLClusterR\acluster\x12,\n" +
	"\x12managed_cluster_id\x18\x02 \x01(\tR\x10managedClusterId\x12E\n" +
	"\x04auth\x18\x04 \x01(\v21.yandex.cloud.connectionmanager.v1.PostgreSQLAuthR\x04auth\x12\x1c\n" +
	"\tdatabases\x18\x05 \x03(\tR\tdatabasesJ\x04\b\x03\x10\x04B\x80\x01\n" +
	"%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3"

var (
	file_yandex_cloud_connectionmanager_v1_postgresql_proto_rawDescOnce sync.Once
	file_yandex_cloud_connectionmanager_v1_postgresql_proto_rawDescData []byte
)

func file_yandex_cloud_connectionmanager_v1_postgresql_proto_rawDescGZIP() []byte {
	file_yandex_cloud_connectionmanager_v1_postgresql_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_connectionmanager_v1_postgresql_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_connectionmanager_v1_postgresql_proto_rawDesc), len(file_yandex_cloud_connectionmanager_v1_postgresql_proto_rawDesc)))
	})
	return file_yandex_cloud_connectionmanager_v1_postgresql_proto_rawDescData
}

var file_yandex_cloud_connectionmanager_v1_postgresql_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_yandex_cloud_connectionmanager_v1_postgresql_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_yandex_cloud_connectionmanager_v1_postgresql_proto_goTypes = []any{
	(PostgreSQLCluster_Host_Role)(0),        // 0: yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.Role
	(PostgreSQLCluster_Host_ReplicaType)(0), // 1: yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.ReplicaType
	(PostgreSQLCluster_Host_Health)(0),      // 2: yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.Health
	(*PostgreSQLAuth)(nil),                  // 3: yandex.cloud.connectionmanager.v1.PostgreSQLAuth
	(*PostgreSQLCluster)(nil),               // 4: yandex.cloud.connectionmanager.v1.PostgreSQLCluster
	(*PostgreSQLConnection)(nil),            // 5: yandex.cloud.connectionmanager.v1.PostgreSQLConnection
	(*PostgreSQLCluster_Host)(nil),          // 6: yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host
	(*UserPasswordAuth)(nil),                // 7: yandex.cloud.connectionmanager.v1.UserPasswordAuth
	(*TLSParams)(nil),                       // 8: yandex.cloud.connectionmanager.v1.TLSParams
}
var file_yandex_cloud_connectionmanager_v1_postgresql_proto_depIdxs = []int32{
	7, // 0: yandex.cloud.connectionmanager.v1.PostgreSQLAuth.user_password:type_name -> yandex.cloud.connectionmanager.v1.UserPasswordAuth
	6, // 1: yandex.cloud.connectionmanager.v1.PostgreSQLCluster.hosts:type_name -> yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host
	8, // 2: yandex.cloud.connectionmanager.v1.PostgreSQLCluster.tls_params:type_name -> yandex.cloud.connectionmanager.v1.TLSParams
	4, // 3: yandex.cloud.connectionmanager.v1.PostgreSQLConnection.cluster:type_name -> yandex.cloud.connectionmanager.v1.PostgreSQLCluster
	3, // 4: yandex.cloud.connectionmanager.v1.PostgreSQLConnection.auth:type_name -> yandex.cloud.connectionmanager.v1.PostgreSQLAuth
	0, // 5: yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.role:type_name -> yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.Role
	1, // 6: yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.replica_type:type_name -> yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.ReplicaType
	2, // 7: yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.health:type_name -> yandex.cloud.connectionmanager.v1.PostgreSQLCluster.Host.Health
	8, // [8:8] is the sub-list for method output_type
	8, // [8:8] is the sub-list for method input_type
	8, // [8:8] is the sub-list for extension type_name
	8, // [8:8] is the sub-list for extension extendee
	0, // [0:8] is the sub-list for field type_name
}

func init() { file_yandex_cloud_connectionmanager_v1_postgresql_proto_init() }
func file_yandex_cloud_connectionmanager_v1_postgresql_proto_init() {
	if File_yandex_cloud_connectionmanager_v1_postgresql_proto != nil {
		return
	}
	file_yandex_cloud_connectionmanager_v1_common_proto_init()
	file_yandex_cloud_connectionmanager_v1_postgresql_proto_msgTypes[0].OneofWrappers = []any{
		(*PostgreSQLAuth_UserPassword)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_connectionmanager_v1_postgresql_proto_rawDesc), len(file_yandex_cloud_connectionmanager_v1_postgresql_proto_rawDesc)),
			NumEnums:      3,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_connectionmanager_v1_postgresql_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_connectionmanager_v1_postgresql_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_connectionmanager_v1_postgresql_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_connectionmanager_v1_postgresql_proto_msgTypes,
	}.Build()
	File_yandex_cloud_connectionmanager_v1_postgresql_proto = out.File
	file_yandex_cloud_connectionmanager_v1_postgresql_proto_goTypes = nil
	file_yandex_cloud_connectionmanager_v1_postgresql_proto_depIdxs = nil
}
