// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v3.21.12
// source: yandex/cloud/organizationmanager/v1/saml/federation.proto

package saml

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

const (
	BindingType_BINDING_TYPE_UNSPECIFIED BindingType = 0
	// HTTP POST binding.
	BindingType_POST BindingType = 1
	// HTTP redirect binding.
	BindingType_REDIRECT BindingType = 2
	// HTTP artifact binding.
	BindingType_ARTIFACT BindingType = 3
)

// Enum value maps for BindingType.
var (
	BindingType_name = map[int32]string{
		0: "BINDING_TYPE_UNSPECIFIED",
		1: "POST",
		2: "REDIRECT",
		3: "ARTIFACT",
	}
	BindingType_value = map[string]int32{
		"BINDING_TYPE_UNSPECIFIED": 0,
		"POST":                     1,
		"REDIRECT":                 2,
		"ARTIFACT":                 3,
	}
)

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

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

func (BindingType) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_organizationmanager_v1_saml_federation_proto_enumTypes[0].Descriptor()
}

func (BindingType) Type() protoreflect.EnumType {
	return &file_yandex_cloud_organizationmanager_v1_saml_federation_proto_enumTypes[0]
}

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

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

// Status of the domain.
type Domain_Status int32

const (
	Domain_STATUS_UNSPECIFIED Domain_Status = 0
	// Domain requires ownership validation.
	Domain_NEED_TO_VALIDATE Domain_Status = 1
	// Domain validation is in progress.
	Domain_VALIDATING Domain_Status = 2
	// Domain has been successfully validated and is active.
	Domain_VALID Domain_Status = 3
	// Domain validation failed (check status_code for details).
	Domain_INVALID Domain_Status = 4
	// Domain is being deleted.
	Domain_DELETING Domain_Status = 5
)

// Enum value maps for Domain_Status.
var (
	Domain_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "NEED_TO_VALIDATE",
		2: "VALIDATING",
		3: "VALID",
		4: "INVALID",
		5: "DELETING",
	}
	Domain_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"NEED_TO_VALIDATE":   1,
		"VALIDATING":         2,
		"VALID":              3,
		"INVALID":            4,
		"DELETING":           5,
	}
)

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

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

func (Domain_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_organizationmanager_v1_saml_federation_proto_enumTypes[1].Descriptor()
}

func (Domain_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_organizationmanager_v1_saml_federation_proto_enumTypes[1]
}

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

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

// Type of validation challenge.
type DomainChallenge_Type int32

const (
	DomainChallenge_TYPE_UNSPECIFIED DomainChallenge_Type = 0
	// DNS TXT record validation method.
	DomainChallenge_DNS_TXT DomainChallenge_Type = 1
)

// Enum value maps for DomainChallenge_Type.
var (
	DomainChallenge_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "DNS_TXT",
	}
	DomainChallenge_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"DNS_TXT":          1,
	}
)

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

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

func (DomainChallenge_Type) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_organizationmanager_v1_saml_federation_proto_enumTypes[2].Descriptor()
}

func (DomainChallenge_Type) Type() protoreflect.EnumType {
	return &file_yandex_cloud_organizationmanager_v1_saml_federation_proto_enumTypes[2]
}

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

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

// Status of the validation challenge.
type DomainChallenge_Status int32

const (
	DomainChallenge_STATUS_UNSPECIFIED DomainChallenge_Status = 0
	// Challenge is awaiting completion.
	DomainChallenge_PENDING DomainChallenge_Status = 1
	// Challenge verification is in progress.
	DomainChallenge_PROCESSING DomainChallenge_Status = 2
	// Challenge has been completed successfully.
	DomainChallenge_VALID DomainChallenge_Status = 3
	// Challenge verification failed.
	DomainChallenge_INVALID DomainChallenge_Status = 4
)

// Enum value maps for DomainChallenge_Status.
var (
	DomainChallenge_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "PENDING",
		2: "PROCESSING",
		3: "VALID",
		4: "INVALID",
	}
	DomainChallenge_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"PENDING":            1,
		"PROCESSING":         2,
		"VALID":              3,
		"INVALID":            4,
	}
)

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

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

func (DomainChallenge_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_organizationmanager_v1_saml_federation_proto_enumTypes[3].Descriptor()
}

func (DomainChallenge_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_organizationmanager_v1_saml_federation_proto_enumTypes[3]
}

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

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

// Type of DNS record.
type DomainChallenge_DnsRecord_Type int32

const (
	DomainChallenge_DnsRecord_TYPE_UNSPECIFIED DomainChallenge_DnsRecord_Type = 0
	// TXT record type.
	DomainChallenge_DnsRecord_TXT DomainChallenge_DnsRecord_Type = 1
)

// Enum value maps for DomainChallenge_DnsRecord_Type.
var (
	DomainChallenge_DnsRecord_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "TXT",
	}
	DomainChallenge_DnsRecord_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"TXT":              1,
	}
)

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

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

func (DomainChallenge_DnsRecord_Type) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_organizationmanager_v1_saml_federation_proto_enumTypes[4].Descriptor()
}

func (DomainChallenge_DnsRecord_Type) Type() protoreflect.EnumType {
	return &file_yandex_cloud_organizationmanager_v1_saml_federation_proto_enumTypes[4]
}

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

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

// A federation.
// For more information, see [SAML-compatible identity federations](/docs/iam/concepts/federations).
type Federation struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the federation.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the organization that the federation belongs to.
	OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"`
	// Name of the federation.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the federation.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Browser cookie lifetime in seconds.
	// If the cookie is still valid, the management console
	// authenticates the user immediately and redirects them to the home page.
	CookieMaxAge *durationpb.Duration `protobuf:"bytes,6,opt,name=cookie_max_age,json=cookieMaxAge,proto3" json:"cookie_max_age,omitempty"`
	// Add new users automatically on successful authentication.
	// The user becomes member of the organization automatically,
	// but you need to grant other roles to them.
	//
	// If the value is `false`, users who aren't added to the organization
	// can't log in, even if they have authenticated on your server.
	AutoCreateAccountOnLogin bool `protobuf:"varint,7,opt,name=auto_create_account_on_login,json=autoCreateAccountOnLogin,proto3" json:"auto_create_account_on_login,omitempty"`
	// ID of the IdP server to be used for authentication.
	// The IdP server also responds to IAM with this ID after the user authenticates.
	Issuer string `protobuf:"bytes,8,opt,name=issuer,proto3" json:"issuer,omitempty"`
	// Single sign-on endpoint binding type. Most Identity Providers support the `POST` binding type.
	//
	// SAML Binding is a mapping of a SAML protocol message onto standard messaging
	// formats and/or communications protocols.
	SsoBinding BindingType `protobuf:"varint,9,opt,name=sso_binding,json=ssoBinding,proto3,enum=yandex.cloud.organizationmanager.v1.saml.BindingType" json:"sso_binding,omitempty"`
	// Single sign-on endpoint URL.
	// Specify the link to the IdP login page here.
	SsoUrl string `protobuf:"bytes,10,opt,name=sso_url,json=ssoUrl,proto3" json:"sso_url,omitempty"`
	// Federation security settings.
	SecuritySettings *FederationSecuritySettings `protobuf:"bytes,11,opt,name=security_settings,json=securitySettings,proto3" json:"security_settings,omitempty"`
	// Use case insensitive Name IDs.
	CaseInsensitiveNameIds bool `protobuf:"varint,12,opt,name=case_insensitive_name_ids,json=caseInsensitiveNameIds,proto3" json:"case_insensitive_name_ids,omitempty"`
	// Resource labels as “ key:value “ pairs. Maximum of 64 per resource.
	Labels        map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Federation) ProtoMessage() {}

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

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

func (x *Federation) GetOrganizationId() string {
	if x != nil {
		return x.OrganizationId
	}
	return ""
}

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

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

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

func (x *Federation) GetCookieMaxAge() *durationpb.Duration {
	if x != nil {
		return x.CookieMaxAge
	}
	return nil
}

func (x *Federation) GetAutoCreateAccountOnLogin() bool {
	if x != nil {
		return x.AutoCreateAccountOnLogin
	}
	return false
}

func (x *Federation) GetIssuer() string {
	if x != nil {
		return x.Issuer
	}
	return ""
}

func (x *Federation) GetSsoBinding() BindingType {
	if x != nil {
		return x.SsoBinding
	}
	return BindingType_BINDING_TYPE_UNSPECIFIED
}

func (x *Federation) GetSsoUrl() string {
	if x != nil {
		return x.SsoUrl
	}
	return ""
}

func (x *Federation) GetSecuritySettings() *FederationSecuritySettings {
	if x != nil {
		return x.SecuritySettings
	}
	return nil
}

func (x *Federation) GetCaseInsensitiveNameIds() bool {
	if x != nil {
		return x.CaseInsensitiveNameIds
	}
	return false
}

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

// Federation security settings.
type FederationSecuritySettings struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Enable encrypted assertions.
	EncryptedAssertions bool `protobuf:"varint,1,opt,name=encrypted_assertions,json=encryptedAssertions,proto3" json:"encrypted_assertions,omitempty"`
	// Value parameter ForceAuthn in SAMLRequest.
	ForceAuthn    bool `protobuf:"varint,2,opt,name=force_authn,json=forceAuthn,proto3" json:"force_authn,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*FederationSecuritySettings) ProtoMessage() {}

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

func (x *FederationSecuritySettings) GetEncryptedAssertions() bool {
	if x != nil {
		return x.EncryptedAssertions
	}
	return false
}

func (x *FederationSecuritySettings) GetForceAuthn() bool {
	if x != nil {
		return x.ForceAuthn
	}
	return false
}

// A domain.
type Domain struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Domain name
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// Current status of the domain.
	Status Domain_Status `protobuf:"varint,2,opt,name=status,proto3,enum=yandex.cloud.organizationmanager.v1.saml.Domain_Status" json:"status,omitempty"`
	// Optional code providing details about validation errors.
	StatusCode string `protobuf:"bytes,3,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
	// Timestamp of domain creation.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Timestamp when the domain was successfully validated.
	// Not set if validation hasn't been completed.
	ValidatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=validated_at,json=validatedAt,proto3" json:"validated_at,omitempty"`
	// List of challenges to confirm domain ownership.
	Challenges    []*DomainChallenge `protobuf:"bytes,6,rep,name=challenges,proto3" json:"challenges,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Domain) ProtoMessage() {}

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

func (x *Domain) GetDomain() string {
	if x != nil {
		return x.Domain
	}
	return ""
}

func (x *Domain) GetStatus() Domain_Status {
	if x != nil {
		return x.Status
	}
	return Domain_STATUS_UNSPECIFIED
}

func (x *Domain) GetStatusCode() string {
	if x != nil {
		return x.StatusCode
	}
	return ""
}

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

func (x *Domain) GetValidatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.ValidatedAt
	}
	return nil
}

func (x *Domain) GetChallenges() []*DomainChallenge {
	if x != nil {
		return x.Challenges
	}
	return nil
}

// A domain validation challenge.
type DomainChallenge struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Timestamp of challenge creation.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Timestamp of the last challenge status update.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	// Type of the validation challenge.
	Type DomainChallenge_Type `protobuf:"varint,3,opt,name=type,proto3,enum=yandex.cloud.organizationmanager.v1.saml.DomainChallenge_Type" json:"type,omitempty"`
	// Current status of the challenge.
	Status DomainChallenge_Status `protobuf:"varint,4,opt,name=status,proto3,enum=yandex.cloud.organizationmanager.v1.saml.DomainChallenge_Status" json:"status,omitempty"`
	// Validation challenge payload. Currently supports only DNS records.
	//
	// Types that are valid to be assigned to Challenge:
	//
	//	*DomainChallenge_DnsChallenge
	Challenge     isDomainChallenge_Challenge `protobuf_oneof:"challenge"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DomainChallenge) ProtoMessage() {}

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

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

func (x *DomainChallenge) GetUpdatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdatedAt
	}
	return nil
}

func (x *DomainChallenge) GetType() DomainChallenge_Type {
	if x != nil {
		return x.Type
	}
	return DomainChallenge_TYPE_UNSPECIFIED
}

func (x *DomainChallenge) GetStatus() DomainChallenge_Status {
	if x != nil {
		return x.Status
	}
	return DomainChallenge_STATUS_UNSPECIFIED
}

func (x *DomainChallenge) GetChallenge() isDomainChallenge_Challenge {
	if x != nil {
		return x.Challenge
	}
	return nil
}

func (x *DomainChallenge) GetDnsChallenge() *DomainChallenge_DnsRecord {
	if x != nil {
		if x, ok := x.Challenge.(*DomainChallenge_DnsChallenge); ok {
			return x.DnsChallenge
		}
	}
	return nil
}

type isDomainChallenge_Challenge interface {
	isDomainChallenge_Challenge()
}

type DomainChallenge_DnsChallenge struct {
	// DNS record configuration for domain verification.
	DnsChallenge *DomainChallenge_DnsRecord `protobuf:"bytes,5,opt,name=dns_challenge,json=dnsChallenge,proto3,oneof"`
}

func (*DomainChallenge_DnsChallenge) isDomainChallenge_Challenge() {}

// DNS record data for validation challenges.
type DomainChallenge_DnsRecord struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Fully qualified domain name for the record.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// DNS record type (always TXT for current implementation).
	Type DomainChallenge_DnsRecord_Type `protobuf:"varint,2,opt,name=type,proto3,enum=yandex.cloud.organizationmanager.v1.saml.DomainChallenge_DnsRecord_Type" json:"type,omitempty"`
	// Value to set in the DNS record for verification.
	Value         string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DomainChallenge_DnsRecord) ProtoMessage() {}

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

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

func (x *DomainChallenge_DnsRecord) GetType() DomainChallenge_DnsRecord_Type {
	if x != nil {
		return x.Type
	}
	return DomainChallenge_DnsRecord_TYPE_UNSPECIFIED
}

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

var File_yandex_cloud_organizationmanager_v1_saml_federation_proto protoreflect.FileDescriptor

const file_yandex_cloud_organizationmanager_v1_saml_federation_proto_rawDesc = "" +
	"\n" +
	"9yandex/cloud/organizationmanager/v1/saml/federation.proto\x12(yandex.cloud.organizationmanager.v1.saml\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xf0\x06\n" +
	"\n" +
	"Federation\x12\x1c\n" +
	"\x02id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x02id\x12'\n" +
	"\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x129\n" +
	"\x04name\x18\x03 \x01(\tB%\xe8\xc71\x01\xf2\xc71\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]R\x04name\x12+\n" +
	"\vdescription\x18\x04 \x01(\tB\t\x8a\xc81\x05<=256R\vdescription\x129\n" +
	"\n" +
	"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12L\n" +
	"\x0ecookie_max_age\x18\x06 \x01(\v2\x19.google.protobuf.DurationB\v\xfa\xc71\a10m-12hR\fcookieMaxAge\x12>\n" +
	"\x1cauto_create_account_on_login\x18\a \x01(\bR\x18autoCreateAccountOnLogin\x12&\n" +
	"\x06issuer\x18\b \x01(\tB\x0e\xe8\xc71\x01\x8a\xc81\x06<=8000R\x06issuer\x12V\n" +
	"\vsso_binding\x18\t \x01(\x0e25.yandex.cloud.organizationmanager.v1.saml.BindingTypeR\n" +
	"ssoBinding\x12'\n" +
	"\asso_url\x18\n" +
	" \x01(\tB\x0e\xe8\xc71\x01\x8a\xc81\x06<=8000R\x06ssoUrl\x12q\n" +
	"\x11security_settings\x18\v \x01(\v2D.yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettingsR\x10securitySettings\x129\n" +
	"\x19case_insensitive_name_ids\x18\f \x01(\bR\x16caseInsensitiveNameIds\x12X\n" +
	"\x06labels\x18\r \x03(\v2@.yandex.cloud.organizationmanager.v1.saml.Federation.LabelsEntryR\x06labels\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"p\n" +
	"\x1aFederationSecuritySettings\x121\n" +
	"\x14encrypted_assertions\x18\x01 \x01(\bR\x13encryptedAssertions\x12\x1f\n" +
	"\vforce_authn\x18\x02 \x01(\bR\n" +
	"forceAuthn\"\xd5\x03\n" +
	"\x06Domain\x12\x16\n" +
	"\x06domain\x18\x01 \x01(\tR\x06domain\x12O\n" +
	"\x06status\x18\x02 \x01(\x0e27.yandex.cloud.organizationmanager.v1.saml.Domain.StatusR\x06status\x12\x1f\n" +
	"\vstatus_code\x18\x03 \x01(\tR\n" +
	"statusCode\x129\n" +
	"\n" +
	"created_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12=\n" +
	"\fvalidated_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\vvalidatedAt\x12Y\n" +
	"\n" +
	"challenges\x18\x06 \x03(\v29.yandex.cloud.organizationmanager.v1.saml.DomainChallengeR\n" +
	"challenges\"l\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\x14\n" +
	"\x10NEED_TO_VALIDATE\x10\x01\x12\x0e\n" +
	"\n" +
	"VALIDATING\x10\x02\x12\t\n" +
	"\x05VALID\x10\x03\x12\v\n" +
	"\aINVALID\x10\x04\x12\f\n" +
	"\bDELETING\x10\x05\"\xed\x05\n" +
	"\x0fDomainChallenge\x129\n" +
	"\n" +
	"created_at\x18\x01 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
	"\n" +
	"updated_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\x12R\n" +
	"\x04type\x18\x03 \x01(\x0e2>.yandex.cloud.organizationmanager.v1.saml.DomainChallenge.TypeR\x04type\x12X\n" +
	"\x06status\x18\x04 \x01(\x0e2@.yandex.cloud.organizationmanager.v1.saml.DomainChallenge.StatusR\x06status\x12j\n" +
	"\rdns_challenge\x18\x05 \x01(\v2C.yandex.cloud.organizationmanager.v1.saml.DomainChallenge.DnsRecordH\x00R\fdnsChallenge\x1a\xba\x01\n" +
	"\tDnsRecord\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\\\n" +
	"\x04type\x18\x02 \x01(\x0e2H.yandex.cloud.organizationmanager.v1.saml.DomainChallenge.DnsRecord.TypeR\x04type\x12\x14\n" +
	"\x05value\x18\x03 \x01(\tR\x05value\"%\n" +
	"\x04Type\x12\x14\n" +
	"\x10TYPE_UNSPECIFIED\x10\x00\x12\a\n" +
	"\x03TXT\x10\x01\")\n" +
	"\x04Type\x12\x14\n" +
	"\x10TYPE_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aDNS_TXT\x10\x01\"U\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aPENDING\x10\x01\x12\x0e\n" +
	"\n" +
	"PROCESSING\x10\x02\x12\t\n" +
	"\x05VALID\x10\x03\x12\v\n" +
	"\aINVALID\x10\x04B\v\n" +
	"\tchallenge*Q\n" +
	"\vBindingType\x12\x1c\n" +
	"\x18BINDING_TYPE_UNSPECIFIED\x10\x00\x12\b\n" +
	"\x04POST\x10\x01\x12\f\n" +
	"\bREDIRECT\x10\x02\x12\f\n" +
	"\bARTIFACT\x10\x03B\x81\x01\n" +
	",yandex.cloud.api.organizationmanager.v1.samlZQgithub.com/yandex-cloud/go-genproto/yandex/cloud/organizationmanager/v1/saml;samlb\x06proto3"

var (
	file_yandex_cloud_organizationmanager_v1_saml_federation_proto_rawDescOnce sync.Once
	file_yandex_cloud_organizationmanager_v1_saml_federation_proto_rawDescData []byte
)

func file_yandex_cloud_organizationmanager_v1_saml_federation_proto_rawDescGZIP() []byte {
	file_yandex_cloud_organizationmanager_v1_saml_federation_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_organizationmanager_v1_saml_federation_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_organizationmanager_v1_saml_federation_proto_rawDesc), len(file_yandex_cloud_organizationmanager_v1_saml_federation_proto_rawDesc)))
	})
	return file_yandex_cloud_organizationmanager_v1_saml_federation_proto_rawDescData
}

var file_yandex_cloud_organizationmanager_v1_saml_federation_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
var file_yandex_cloud_organizationmanager_v1_saml_federation_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_yandex_cloud_organizationmanager_v1_saml_federation_proto_goTypes = []any{
	(BindingType)(0),                    // 0: yandex.cloud.organizationmanager.v1.saml.BindingType
	(Domain_Status)(0),                  // 1: yandex.cloud.organizationmanager.v1.saml.Domain.Status
	(DomainChallenge_Type)(0),           // 2: yandex.cloud.organizationmanager.v1.saml.DomainChallenge.Type
	(DomainChallenge_Status)(0),         // 3: yandex.cloud.organizationmanager.v1.saml.DomainChallenge.Status
	(DomainChallenge_DnsRecord_Type)(0), // 4: yandex.cloud.organizationmanager.v1.saml.DomainChallenge.DnsRecord.Type
	(*Federation)(nil),                  // 5: yandex.cloud.organizationmanager.v1.saml.Federation
	(*FederationSecuritySettings)(nil),  // 6: yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings
	(*Domain)(nil),                      // 7: yandex.cloud.organizationmanager.v1.saml.Domain
	(*DomainChallenge)(nil),             // 8: yandex.cloud.organizationmanager.v1.saml.DomainChallenge
	nil,                                 // 9: yandex.cloud.organizationmanager.v1.saml.Federation.LabelsEntry
	(*DomainChallenge_DnsRecord)(nil),   // 10: yandex.cloud.organizationmanager.v1.saml.DomainChallenge.DnsRecord
	(*timestamppb.Timestamp)(nil),       // 11: google.protobuf.Timestamp
	(*durationpb.Duration)(nil),         // 12: google.protobuf.Duration
}
var file_yandex_cloud_organizationmanager_v1_saml_federation_proto_depIdxs = []int32{
	11, // 0: yandex.cloud.organizationmanager.v1.saml.Federation.created_at:type_name -> google.protobuf.Timestamp
	12, // 1: yandex.cloud.organizationmanager.v1.saml.Federation.cookie_max_age:type_name -> google.protobuf.Duration
	0,  // 2: yandex.cloud.organizationmanager.v1.saml.Federation.sso_binding:type_name -> yandex.cloud.organizationmanager.v1.saml.BindingType
	6,  // 3: yandex.cloud.organizationmanager.v1.saml.Federation.security_settings:type_name -> yandex.cloud.organizationmanager.v1.saml.FederationSecuritySettings
	9,  // 4: yandex.cloud.organizationmanager.v1.saml.Federation.labels:type_name -> yandex.cloud.organizationmanager.v1.saml.Federation.LabelsEntry
	1,  // 5: yandex.cloud.organizationmanager.v1.saml.Domain.status:type_name -> yandex.cloud.organizationmanager.v1.saml.Domain.Status
	11, // 6: yandex.cloud.organizationmanager.v1.saml.Domain.created_at:type_name -> google.protobuf.Timestamp
	11, // 7: yandex.cloud.organizationmanager.v1.saml.Domain.validated_at:type_name -> google.protobuf.Timestamp
	8,  // 8: yandex.cloud.organizationmanager.v1.saml.Domain.challenges:type_name -> yandex.cloud.organizationmanager.v1.saml.DomainChallenge
	11, // 9: yandex.cloud.organizationmanager.v1.saml.DomainChallenge.created_at:type_name -> google.protobuf.Timestamp
	11, // 10: yandex.cloud.organizationmanager.v1.saml.DomainChallenge.updated_at:type_name -> google.protobuf.Timestamp
	2,  // 11: yandex.cloud.organizationmanager.v1.saml.DomainChallenge.type:type_name -> yandex.cloud.organizationmanager.v1.saml.DomainChallenge.Type
	3,  // 12: yandex.cloud.organizationmanager.v1.saml.DomainChallenge.status:type_name -> yandex.cloud.organizationmanager.v1.saml.DomainChallenge.Status
	10, // 13: yandex.cloud.organizationmanager.v1.saml.DomainChallenge.dns_challenge:type_name -> yandex.cloud.organizationmanager.v1.saml.DomainChallenge.DnsRecord
	4,  // 14: yandex.cloud.organizationmanager.v1.saml.DomainChallenge.DnsRecord.type:type_name -> yandex.cloud.organizationmanager.v1.saml.DomainChallenge.DnsRecord.Type
	15, // [15:15] is the sub-list for method output_type
	15, // [15:15] is the sub-list for method input_type
	15, // [15:15] is the sub-list for extension type_name
	15, // [15:15] is the sub-list for extension extendee
	0,  // [0:15] is the sub-list for field type_name
}

func init() { file_yandex_cloud_organizationmanager_v1_saml_federation_proto_init() }
func file_yandex_cloud_organizationmanager_v1_saml_federation_proto_init() {
	if File_yandex_cloud_organizationmanager_v1_saml_federation_proto != nil {
		return
	}
	file_yandex_cloud_organizationmanager_v1_saml_federation_proto_msgTypes[3].OneofWrappers = []any{
		(*DomainChallenge_DnsChallenge)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_organizationmanager_v1_saml_federation_proto_rawDesc), len(file_yandex_cloud_organizationmanager_v1_saml_federation_proto_rawDesc)),
			NumEnums:      5,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_organizationmanager_v1_saml_federation_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_organizationmanager_v1_saml_federation_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_organizationmanager_v1_saml_federation_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_organizationmanager_v1_saml_federation_proto_msgTypes,
	}.Build()
	File_yandex_cloud_organizationmanager_v1_saml_federation_proto = out.File
	file_yandex_cloud_organizationmanager_v1_saml_federation_proto_goTypes = nil
	file_yandex_cloud_organizationmanager_v1_saml_federation_proto_depIdxs = nil
}
