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

package kms

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

// Supported symmetric encryption algorithms.
type SymmetricAlgorithm int32

const (
	SymmetricAlgorithm_SYMMETRIC_ALGORITHM_UNSPECIFIED SymmetricAlgorithm = 0
	// AES algorithm with 128-bit keys.
	SymmetricAlgorithm_AES_128 SymmetricAlgorithm = 1
	// AES algorithm with 192-bit keys.
	SymmetricAlgorithm_AES_192 SymmetricAlgorithm = 2
	// AES algorithm with 256-bit keys.
	SymmetricAlgorithm_AES_256 SymmetricAlgorithm = 3
	// AES algorithm with 256-bit keys hosted by HSM
	SymmetricAlgorithm_AES_256_HSM SymmetricAlgorithm = 4
	// GOST R 34.12-2015 Kuznyechik algorithm
	SymmetricAlgorithm_GOST_R_3412_2015_K SymmetricAlgorithm = 5
)

// Enum value maps for SymmetricAlgorithm.
var (
	SymmetricAlgorithm_name = map[int32]string{
		0: "SYMMETRIC_ALGORITHM_UNSPECIFIED",
		1: "AES_128",
		2: "AES_192",
		3: "AES_256",
		4: "AES_256_HSM",
		5: "GOST_R_3412_2015_K",
	}
	SymmetricAlgorithm_value = map[string]int32{
		"SYMMETRIC_ALGORITHM_UNSPECIFIED": 0,
		"AES_128":                         1,
		"AES_192":                         2,
		"AES_256":                         3,
		"AES_256_HSM":                     4,
		"GOST_R_3412_2015_K":              5,
	}
)

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

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

func (SymmetricAlgorithm) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_kms_v1_symmetric_key_proto_enumTypes[0].Descriptor()
}

func (SymmetricAlgorithm) Type() protoreflect.EnumType {
	return &file_yandex_cloud_kms_v1_symmetric_key_proto_enumTypes[0]
}

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

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

type SymmetricKey_Status int32

const (
	SymmetricKey_STATUS_UNSPECIFIED SymmetricKey_Status = 0
	// The key is being created.
	SymmetricKey_CREATING SymmetricKey_Status = 1
	// The key is active and can be used for encryption and decryption.
	// Can be set to INACTIVE using the [SymmetricKeyService.Update] method.
	SymmetricKey_ACTIVE SymmetricKey_Status = 2
	// The key is inactive and unusable.
	// Can be set to ACTIVE using the [SymmetricKeyService.Update] method.
	SymmetricKey_INACTIVE SymmetricKey_Status = 3
)

// Enum value maps for SymmetricKey_Status.
var (
	SymmetricKey_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "INACTIVE",
	}
	SymmetricKey_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"CREATING":           1,
		"ACTIVE":             2,
		"INACTIVE":           3,
	}
)

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

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

func (SymmetricKey_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_kms_v1_symmetric_key_proto_enumTypes[1].Descriptor()
}

func (SymmetricKey_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_kms_v1_symmetric_key_proto_enumTypes[1]
}

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

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

// Possible version status.
type SymmetricKeyVersion_Status int32

const (
	SymmetricKeyVersion_STATUS_UNSPECIFIED SymmetricKeyVersion_Status = 0
	// The version is active and can be used for encryption and decryption.
	SymmetricKeyVersion_ACTIVE SymmetricKeyVersion_Status = 1
	// The version is scheduled for destruction, the time when it will be destroyed
	// is specified in the [SymmetricKeyVersion.destroy_at] field.
	SymmetricKeyVersion_SCHEDULED_FOR_DESTRUCTION SymmetricKeyVersion_Status = 2
	// The version is destroyed and cannot be recovered.
	SymmetricKeyVersion_DESTROYED SymmetricKeyVersion_Status = 3
)

// Enum value maps for SymmetricKeyVersion_Status.
var (
	SymmetricKeyVersion_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "ACTIVE",
		2: "SCHEDULED_FOR_DESTRUCTION",
		3: "DESTROYED",
	}
	SymmetricKeyVersion_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED":        0,
		"ACTIVE":                    1,
		"SCHEDULED_FOR_DESTRUCTION": 2,
		"DESTROYED":                 3,
	}
)

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

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

func (SymmetricKeyVersion_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_kms_v1_symmetric_key_proto_enumTypes[2].Descriptor()
}

func (SymmetricKeyVersion_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_kms_v1_symmetric_key_proto_enumTypes[2]
}

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

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

// A symmetric KMS key that may contain several versions of the cryptographic material.
type SymmetricKey struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the key belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Time when the key was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the key.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the key.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the key as `key:value` pairs. Maximum 64 per key.
	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"`
	// Current status of the key.
	Status SymmetricKey_Status `protobuf:"varint,7,opt,name=status,proto3,enum=yandex.cloud.kms.v1.SymmetricKey_Status" json:"status,omitempty"`
	// Primary version of the key, used as the default for all encrypt/decrypt operations,
	// when no version ID is specified.
	PrimaryVersion *SymmetricKeyVersion `protobuf:"bytes,8,opt,name=primary_version,json=primaryVersion,proto3" json:"primary_version,omitempty"`
	// Default encryption algorithm to be used with new versions of the key.
	DefaultAlgorithm SymmetricAlgorithm `protobuf:"varint,9,opt,name=default_algorithm,json=defaultAlgorithm,proto3,enum=yandex.cloud.kms.v1.SymmetricAlgorithm" json:"default_algorithm,omitempty"`
	// Time of the last key rotation (time when the last version was created).
	// Empty if the key does not have versions yet.
	RotatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=rotated_at,json=rotatedAt,proto3" json:"rotated_at,omitempty"`
	// Time period between automatic key rotations.
	RotationPeriod *durationpb.Duration `protobuf:"bytes,11,opt,name=rotation_period,json=rotationPeriod,proto3" json:"rotation_period,omitempty"`
	// Flag that inhibits deletion of the key
	DeletionProtection bool `protobuf:"varint,12,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*SymmetricKey) ProtoMessage() {}

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

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

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

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

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

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

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

func (x *SymmetricKey) GetStatus() SymmetricKey_Status {
	if x != nil {
		return x.Status
	}
	return SymmetricKey_STATUS_UNSPECIFIED
}

func (x *SymmetricKey) GetPrimaryVersion() *SymmetricKeyVersion {
	if x != nil {
		return x.PrimaryVersion
	}
	return nil
}

func (x *SymmetricKey) GetDefaultAlgorithm() SymmetricAlgorithm {
	if x != nil {
		return x.DefaultAlgorithm
	}
	return SymmetricAlgorithm_SYMMETRIC_ALGORITHM_UNSPECIFIED
}

func (x *SymmetricKey) GetRotatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.RotatedAt
	}
	return nil
}

func (x *SymmetricKey) GetRotationPeriod() *durationpb.Duration {
	if x != nil {
		return x.RotationPeriod
	}
	return nil
}

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

// Symmetric KMS key version: metadata about actual cryptographic data.
type SymmetricKeyVersion struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key version.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the symmetric KMS key that the version belongs to.
	KeyId string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// Status of the key version.
	Status SymmetricKeyVersion_Status `protobuf:"varint,3,opt,name=status,proto3,enum=yandex.cloud.kms.v1.SymmetricKeyVersion_Status" json:"status,omitempty"`
	// Encryption algorithm that should be used when using the key version to encrypt plaintext.
	Algorithm SymmetricAlgorithm `protobuf:"varint,4,opt,name=algorithm,proto3,enum=yandex.cloud.kms.v1.SymmetricAlgorithm" json:"algorithm,omitempty"`
	// Time when the key version was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Indication of a primary version, that is to be used by default for all cryptographic
	// operations that don't have a key version explicitly specified.
	Primary bool `protobuf:"varint,6,opt,name=primary,proto3" json:"primary,omitempty"`
	// Time when the key version is going to be destroyed. Empty unless the status
	// is `SCHEDULED_FOR_DESTRUCTION`.
	DestroyAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=destroy_at,json=destroyAt,proto3" json:"destroy_at,omitempty"`
	// Indication of the version that is hosted by HSM.
	HostedByHsm   bool `protobuf:"varint,8,opt,name=hosted_by_hsm,json=hostedByHsm,proto3" json:"hosted_by_hsm,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SymmetricKeyVersion) ProtoMessage() {}

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

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

func (x *SymmetricKeyVersion) GetKeyId() string {
	if x != nil {
		return x.KeyId
	}
	return ""
}

func (x *SymmetricKeyVersion) GetStatus() SymmetricKeyVersion_Status {
	if x != nil {
		return x.Status
	}
	return SymmetricKeyVersion_STATUS_UNSPECIFIED
}

func (x *SymmetricKeyVersion) GetAlgorithm() SymmetricAlgorithm {
	if x != nil {
		return x.Algorithm
	}
	return SymmetricAlgorithm_SYMMETRIC_ALGORITHM_UNSPECIFIED
}

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

func (x *SymmetricKeyVersion) GetPrimary() bool {
	if x != nil {
		return x.Primary
	}
	return false
}

func (x *SymmetricKeyVersion) GetDestroyAt() *timestamppb.Timestamp {
	if x != nil {
		return x.DestroyAt
	}
	return nil
}

func (x *SymmetricKeyVersion) GetHostedByHsm() bool {
	if x != nil {
		return x.HostedByHsm
	}
	return false
}

var File_yandex_cloud_kms_v1_symmetric_key_proto protoreflect.FileDescriptor

const file_yandex_cloud_kms_v1_symmetric_key_proto_rawDesc = "" +
	"\n" +
	"'yandex/cloud/kms/v1/symmetric_key.proto\x12\x13yandex.cloud.kms.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\"\x93\x06\n" +
	"\fSymmetricKey\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\x12E\n" +
	"\x06labels\x18\x06 \x03(\v2-.yandex.cloud.kms.v1.SymmetricKey.LabelsEntryR\x06labels\x12@\n" +
	"\x06status\x18\a \x01(\x0e2(.yandex.cloud.kms.v1.SymmetricKey.StatusR\x06status\x12Q\n" +
	"\x0fprimary_version\x18\b \x01(\v2(.yandex.cloud.kms.v1.SymmetricKeyVersionR\x0eprimaryVersion\x12T\n" +
	"\x11default_algorithm\x18\t \x01(\x0e2'.yandex.cloud.kms.v1.SymmetricAlgorithmR\x10defaultAlgorithm\x129\n" +
	"\n" +
	"rotated_at\x18\n" +
	" \x01(\v2\x1a.google.protobuf.TimestampR\trotatedAt\x12B\n" +
	"\x0frotation_period\x18\v \x01(\v2\x19.google.protobuf.DurationR\x0erotationPeriod\x12/\n" +
	"\x13deletion_protection\x18\f \x01(\bR\x12deletionProtection\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"H\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\f\n" +
	"\bCREATING\x10\x01\x12\n" +
	"\n" +
	"\x06ACTIVE\x10\x02\x12\f\n" +
	"\bINACTIVE\x10\x03\"\xdc\x03\n" +
	"\x13SymmetricKeyVersion\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n" +
	"\x06key_id\x18\x02 \x01(\tR\x05keyId\x12G\n" +
	"\x06status\x18\x03 \x01(\x0e2/.yandex.cloud.kms.v1.SymmetricKeyVersion.StatusR\x06status\x12E\n" +
	"\talgorithm\x18\x04 \x01(\x0e2'.yandex.cloud.kms.v1.SymmetricAlgorithmR\talgorithm\x129\n" +
	"\n" +
	"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x18\n" +
	"\aprimary\x18\x06 \x01(\bR\aprimary\x129\n" +
	"\n" +
	"destroy_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tdestroyAt\x12\"\n" +
	"\rhosted_by_hsm\x18\b \x01(\bR\vhostedByHsm\"Z\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\n" +
	"\n" +
	"\x06ACTIVE\x10\x01\x12\x1d\n" +
	"\x19SCHEDULED_FOR_DESTRUCTION\x10\x02\x12\r\n" +
	"\tDESTROYED\x10\x03*\x89\x01\n" +
	"\x12SymmetricAlgorithm\x12#\n" +
	"\x1fSYMMETRIC_ALGORITHM_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aAES_128\x10\x01\x12\v\n" +
	"\aAES_192\x10\x02\x12\v\n" +
	"\aAES_256\x10\x03\x12\x0f\n" +
	"\vAES_256_HSM\x10\x04\x12\x16\n" +
	"\x12GOST_R_3412_2015_K\x10\x05BV\n" +
	"\x17yandex.cloud.api.kms.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/kms/v1;kmsb\x06proto3"

var (
	file_yandex_cloud_kms_v1_symmetric_key_proto_rawDescOnce sync.Once
	file_yandex_cloud_kms_v1_symmetric_key_proto_rawDescData []byte
)

func file_yandex_cloud_kms_v1_symmetric_key_proto_rawDescGZIP() []byte {
	file_yandex_cloud_kms_v1_symmetric_key_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_kms_v1_symmetric_key_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_kms_v1_symmetric_key_proto_rawDesc), len(file_yandex_cloud_kms_v1_symmetric_key_proto_rawDesc)))
	})
	return file_yandex_cloud_kms_v1_symmetric_key_proto_rawDescData
}

var file_yandex_cloud_kms_v1_symmetric_key_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_yandex_cloud_kms_v1_symmetric_key_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_kms_v1_symmetric_key_proto_goTypes = []any{
	(SymmetricAlgorithm)(0),         // 0: yandex.cloud.kms.v1.SymmetricAlgorithm
	(SymmetricKey_Status)(0),        // 1: yandex.cloud.kms.v1.SymmetricKey.Status
	(SymmetricKeyVersion_Status)(0), // 2: yandex.cloud.kms.v1.SymmetricKeyVersion.Status
	(*SymmetricKey)(nil),            // 3: yandex.cloud.kms.v1.SymmetricKey
	(*SymmetricKeyVersion)(nil),     // 4: yandex.cloud.kms.v1.SymmetricKeyVersion
	nil,                             // 5: yandex.cloud.kms.v1.SymmetricKey.LabelsEntry
	(*timestamppb.Timestamp)(nil),   // 6: google.protobuf.Timestamp
	(*durationpb.Duration)(nil),     // 7: google.protobuf.Duration
}
var file_yandex_cloud_kms_v1_symmetric_key_proto_depIdxs = []int32{
	6,  // 0: yandex.cloud.kms.v1.SymmetricKey.created_at:type_name -> google.protobuf.Timestamp
	5,  // 1: yandex.cloud.kms.v1.SymmetricKey.labels:type_name -> yandex.cloud.kms.v1.SymmetricKey.LabelsEntry
	1,  // 2: yandex.cloud.kms.v1.SymmetricKey.status:type_name -> yandex.cloud.kms.v1.SymmetricKey.Status
	4,  // 3: yandex.cloud.kms.v1.SymmetricKey.primary_version:type_name -> yandex.cloud.kms.v1.SymmetricKeyVersion
	0,  // 4: yandex.cloud.kms.v1.SymmetricKey.default_algorithm:type_name -> yandex.cloud.kms.v1.SymmetricAlgorithm
	6,  // 5: yandex.cloud.kms.v1.SymmetricKey.rotated_at:type_name -> google.protobuf.Timestamp
	7,  // 6: yandex.cloud.kms.v1.SymmetricKey.rotation_period:type_name -> google.protobuf.Duration
	2,  // 7: yandex.cloud.kms.v1.SymmetricKeyVersion.status:type_name -> yandex.cloud.kms.v1.SymmetricKeyVersion.Status
	0,  // 8: yandex.cloud.kms.v1.SymmetricKeyVersion.algorithm:type_name -> yandex.cloud.kms.v1.SymmetricAlgorithm
	6,  // 9: yandex.cloud.kms.v1.SymmetricKeyVersion.created_at:type_name -> google.protobuf.Timestamp
	6,  // 10: yandex.cloud.kms.v1.SymmetricKeyVersion.destroy_at:type_name -> google.protobuf.Timestamp
	11, // [11:11] is the sub-list for method output_type
	11, // [11:11] is the sub-list for method input_type
	11, // [11:11] is the sub-list for extension type_name
	11, // [11:11] is the sub-list for extension extendee
	0,  // [0:11] is the sub-list for field type_name
}

func init() { file_yandex_cloud_kms_v1_symmetric_key_proto_init() }
func file_yandex_cloud_kms_v1_symmetric_key_proto_init() {
	if File_yandex_cloud_kms_v1_symmetric_key_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_kms_v1_symmetric_key_proto_rawDesc), len(file_yandex_cloud_kms_v1_symmetric_key_proto_rawDesc)),
			NumEnums:      3,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_kms_v1_symmetric_key_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_kms_v1_symmetric_key_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_kms_v1_symmetric_key_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_kms_v1_symmetric_key_proto_msgTypes,
	}.Build()
	File_yandex_cloud_kms_v1_symmetric_key_proto = out.File
	file_yandex_cloud_kms_v1_symmetric_key_proto_goTypes = nil
	file_yandex_cloud_kms_v1_symmetric_key_proto_depIdxs = nil
}
