// 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/idp/application/saml/signature_certificate.proto

package saml

import (
	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)
)

// Represents the current status of a signature certificate.
type SignatureCertificate_Status int32

const (
	// The status is not specified.
	SignatureCertificate_STATUS_UNSPECIFIED SignatureCertificate_Status = 0
	// The certificate is active and can be used for signing.
	SignatureCertificate_ACTIVE SignatureCertificate_Status = 1
	// The certificate is inactive and cannot be used for signing.
	SignatureCertificate_INACTIVE SignatureCertificate_Status = 2
)

// Enum value maps for SignatureCertificate_Status.
var (
	SignatureCertificate_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "ACTIVE",
		2: "INACTIVE",
	}
	SignatureCertificate_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"ACTIVE":             1,
		"INACTIVE":           2,
	}
)

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

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

func (SignatureCertificate_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_enumTypes[0].Descriptor()
}

func (SignatureCertificate_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_enumTypes[0]
}

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

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

// A signature certificate for SAML applications.
type SignatureCertificate struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Unique identifier of the signature certificate.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the SAML application that the signature certificate belongs to.
	ApplicationId string `protobuf:"bytes,2,opt,name=application_id,json=applicationId,proto3" json:"application_id,omitempty"`
	// Current status of the signature certificate.
	Status SignatureCertificate_Status `protobuf:"varint,3,opt,name=status,proto3,enum=yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificate_Status" json:"status,omitempty"`
	// Name of the signature certificate.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the signature certificate.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Certificate data in PEM format.
	Data string `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
	// SHA256-fingerprint of the signature certificate.
	Fingerprint string `protobuf:"bytes,8,opt,name=fingerprint,proto3" json:"fingerprint,omitempty"`
	// Time after which the signature certificate is not valid.
	NotAfter *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"`
	// Time before which the signature certificate is not valid.
	NotBefore     *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=not_before,json=notBefore,proto3" json:"not_before,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SignatureCertificate) ProtoMessage() {}

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

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

func (x *SignatureCertificate) GetApplicationId() string {
	if x != nil {
		return x.ApplicationId
	}
	return ""
}

func (x *SignatureCertificate) GetStatus() SignatureCertificate_Status {
	if x != nil {
		return x.Status
	}
	return SignatureCertificate_STATUS_UNSPECIFIED
}

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

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

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

func (x *SignatureCertificate) GetData() string {
	if x != nil {
		return x.Data
	}
	return ""
}

func (x *SignatureCertificate) GetFingerprint() string {
	if x != nil {
		return x.Fingerprint
	}
	return ""
}

func (x *SignatureCertificate) GetNotAfter() *timestamppb.Timestamp {
	if x != nil {
		return x.NotAfter
	}
	return nil
}

func (x *SignatureCertificate) GetNotBefore() *timestamppb.Timestamp {
	if x != nil {
		return x.NotBefore
	}
	return nil
}

var File_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto protoreflect.FileDescriptor

const file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_rawDesc = "" +
	"\n" +
	"Tyandex/cloud/organizationmanager/v1/idp/application/saml/signature_certificate.proto\x128yandex.cloud.organizationmanager.v1.idp.application.saml\x1a\x1fgoogle/protobuf/timestamp.proto\"\x93\x04\n" +
	"\x14SignatureCertificate\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12%\n" +
	"\x0eapplication_id\x18\x02 \x01(\tR\rapplicationId\x12m\n" +
	"\x06status\x18\x03 \x01(\x0e2U.yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificate.StatusR\x06status\x12\x12\n" +
	"\x04name\x18\x04 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x05 \x01(\tR\vdescription\x129\n" +
	"\n" +
	"created_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x12\n" +
	"\x04data\x18\a \x01(\tR\x04data\x12 \n" +
	"\vfingerprint\x18\b \x01(\tR\vfingerprint\x127\n" +
	"\tnot_after\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\bnotAfter\x129\n" +
	"\n" +
	"not_before\x18\n" +
	" \x01(\v2\x1a.google.protobuf.TimestampR\tnotBefore\":\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\n" +
	"\n" +
	"\x06ACTIVE\x10\x01\x12\f\n" +
	"\bINACTIVE\x10\x02B\xa1\x01\n" +
	"<yandex.cloud.api.organizationmanager.v1.idp.application.samlZagithub.com/yandex-cloud/go-genproto/yandex/cloud/organizationmanager/v1/idp/application/saml;samlb\x06proto3"

var (
	file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_rawDescOnce sync.Once
	file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_rawDescData []byte
)

func file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_rawDescGZIP() []byte {
	file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_rawDesc), len(file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_rawDesc)))
	})
	return file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_rawDescData
}

var file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_goTypes = []any{
	(SignatureCertificate_Status)(0), // 0: yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificate.Status
	(*SignatureCertificate)(nil),     // 1: yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificate
	(*timestamppb.Timestamp)(nil),    // 2: google.protobuf.Timestamp
}
var file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_depIdxs = []int32{
	0, // 0: yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificate.status:type_name -> yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificate.Status
	2, // 1: yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificate.created_at:type_name -> google.protobuf.Timestamp
	2, // 2: yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificate.not_after:type_name -> google.protobuf.Timestamp
	2, // 3: yandex.cloud.organizationmanager.v1.idp.application.saml.SignatureCertificate.not_before:type_name -> google.protobuf.Timestamp
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() {
	file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_init()
}
func file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_init() {
	if File_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_rawDesc), len(file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_msgTypes,
	}.Build()
	File_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto = out.File
	file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_goTypes = nil
	file_yandex_cloud_organizationmanager_v1_idp_application_saml_signature_certificate_proto_depIdxs = nil
}
