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

package kms

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	access "github.com/yandex-cloud/go-genproto/yandex/cloud/access"
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud/api"
	operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation"
	_ "google.golang.org/genproto/googleapis/api/annotations"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	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 CreateSymmetricKeyRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder to create a symmetric KMS key in.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the key.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the key.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the symmetric KMS key as `key:value` pairs. Maximum 64 per key.
	// For example, `"project": "mvp"` or `"source": "dictionary"`.
	Labels map[string]string `protobuf:"bytes,4,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Encryption algorithm to be used with a new key version, generated with the next rotation.
	DefaultAlgorithm SymmetricAlgorithm `protobuf:"varint,5,opt,name=default_algorithm,json=defaultAlgorithm,proto3,enum=yandex.cloud.kms.v1.SymmetricAlgorithm" json:"default_algorithm,omitempty"`
	// Interval between automatic rotations. To disable automatic rotation, don't include
	// this field in the creation request.
	RotationPeriod *durationpb.Duration `protobuf:"bytes,6,opt,name=rotation_period,json=rotationPeriod,proto3" json:"rotation_period,omitempty"`
	// Flag that inhibits deletion of the symmetric KMS key
	DeletionProtection bool `protobuf:"varint,7,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*CreateSymmetricKeyRequest) ProtoMessage() {}

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

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

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

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

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

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

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

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

type CreateSymmetricKeyMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key being created.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// ID of the primary version of the key being created.
	PrimaryVersionId string `protobuf:"bytes,2,opt,name=primary_version_id,json=primaryVersionId,proto3" json:"primary_version_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*CreateSymmetricKeyMetadata) ProtoMessage() {}

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

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

func (x *CreateSymmetricKeyMetadata) GetPrimaryVersionId() string {
	if x != nil {
		return x.PrimaryVersionId
	}
	return ""
}

type GetSymmetricKeyRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the symmetric KMS key to return.
	// To get the ID of a symmetric KMS key use a [SymmetricKeyService.List] request.
	KeyId         string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetSymmetricKeyRequest) ProtoMessage() {}

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

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

type ListSymmetricKeysRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the folder to list symmetric KMS keys in.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListSymmetricKeysResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the
	// [ListSymmetricKeysResponse.next_page_token] returned by a previous list request.
	PageToken     string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListSymmetricKeysRequest) ProtoMessage() {}

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

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

func (x *ListSymmetricKeysRequest) GetPageSize() int64 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListSymmetricKeysRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

type ListSymmetricKeysResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of symmetric KMS keys in the specified folder.
	Keys []*SymmetricKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number
	// of results is greater than the specified [ListSymmetricKeysRequest.page_size], use
	// the [next_page_token] as the value for the [ListSymmetricKeysRequest.page_token] query parameter
	// in the next list request. Each subsequent list request will have its own
	// [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListSymmetricKeysResponse) Reset() {
	*x = ListSymmetricKeysResponse{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListSymmetricKeysResponse) ProtoMessage() {}

func (x *ListSymmetricKeysResponse) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_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 ListSymmetricKeysResponse.ProtoReflect.Descriptor instead.
func (*ListSymmetricKeysResponse) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{4}
}

func (x *ListSymmetricKeysResponse) GetKeys() []*SymmetricKey {
	if x != nil {
		return x.Keys
	}
	return nil
}

func (x *ListSymmetricKeysResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

type ListSymmetricKeyVersionsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the symmetric KMS key to list versions for.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListSymmetricKeyVersionsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the
	// [ListSymmetricKeyVersionsResponse.next_page_token] returned by a previous list request.
	PageToken     string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ListSymmetricKeyVersionsRequest) ProtoMessage() {}

func (x *ListSymmetricKeyVersionsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_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 ListSymmetricKeyVersionsRequest.ProtoReflect.Descriptor instead.
func (*ListSymmetricKeyVersionsRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{5}
}

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

func (x *ListSymmetricKeyVersionsRequest) GetPageSize() int64 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListSymmetricKeyVersionsRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

type ListSymmetricKeyVersionsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of versions for the specified symmetric KMS key.
	KeyVersions []*SymmetricKeyVersion `protobuf:"bytes,1,rep,name=key_versions,json=keyVersions,proto3" json:"key_versions,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number
	// of results is greater than the specified [ListSymmetricKeyVersionsRequest.page_size], use
	// the [next_page_token] as the value for the [ListSymmetricKeyVersionsRequest.page_token] query parameter
	// in the next list request. Each subsequent list request will have its own
	// [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListSymmetricKeyVersionsResponse) Reset() {
	*x = ListSymmetricKeyVersionsResponse{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListSymmetricKeyVersionsResponse) ProtoMessage() {}

func (x *ListSymmetricKeyVersionsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_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 ListSymmetricKeyVersionsResponse.ProtoReflect.Descriptor instead.
func (*ListSymmetricKeyVersionsResponse) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{6}
}

func (x *ListSymmetricKeyVersionsResponse) GetKeyVersions() []*SymmetricKeyVersion {
	if x != nil {
		return x.KeyVersions
	}
	return nil
}

func (x *ListSymmetricKeyVersionsResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

type UpdateSymmetricKeyRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the symmetric KMS key to update.
	// To get the ID of a symmetric KMS key use a [SymmetricKeyService.List] request.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// Field mask that specifies which attributes of the symmetric KMS key are going to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// New name for the symmetric KMS key.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// New description for the symmetric KMS key.
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// New status for the symmetric KMS key.
	// Using the [SymmetricKeyService.Update] method you can only set ACTIVE or INACTIVE status.
	Status SymmetricKey_Status `protobuf:"varint,5,opt,name=status,proto3,enum=yandex.cloud.kms.v1.SymmetricKey_Status" json:"status,omitempty"`
	// Custom labels for the symmetric KMS 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"`
	// Default encryption algorithm to be used with new versions of the symmetric KMS key.
	DefaultAlgorithm SymmetricAlgorithm `protobuf:"varint,7,opt,name=default_algorithm,json=defaultAlgorithm,proto3,enum=yandex.cloud.kms.v1.SymmetricAlgorithm" json:"default_algorithm,omitempty"`
	// Time period between automatic symmetric KMS key rotations.
	RotationPeriod *durationpb.Duration `protobuf:"bytes,8,opt,name=rotation_period,json=rotationPeriod,proto3" json:"rotation_period,omitempty"` // period between two automatic rotations
	// Flag that inhibits deletion of the symmetric KMS key
	DeletionProtection bool `protobuf:"varint,9,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

func (x *UpdateSymmetricKeyRequest) Reset() {
	*x = UpdateSymmetricKeyRequest{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UpdateSymmetricKeyRequest) ProtoMessage() {}

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

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

func (x *UpdateSymmetricKeyRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
	if x != nil {
		return x.UpdateMask
	}
	return nil
}

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

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

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

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

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

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

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

type UpdateSymmetricKeyMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key being updated.
	KeyId         string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UpdateSymmetricKeyMetadata) Reset() {
	*x = UpdateSymmetricKeyMetadata{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*UpdateSymmetricKeyMetadata) ProtoMessage() {}

func (x *UpdateSymmetricKeyMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[8]
	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 UpdateSymmetricKeyMetadata.ProtoReflect.Descriptor instead.
func (*UpdateSymmetricKeyMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{8}
}

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

type DeleteSymmetricKeyRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key to be deleted.
	KeyId         string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteSymmetricKeyRequest) Reset() {
	*x = DeleteSymmetricKeyRequest{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeleteSymmetricKeyRequest) ProtoMessage() {}

func (x *DeleteSymmetricKeyRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[9]
	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 DeleteSymmetricKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteSymmetricKeyRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{9}
}

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

type DeleteSymmetricKeyMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key being deleted.
	KeyId         string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteSymmetricKeyMetadata) Reset() {
	*x = DeleteSymmetricKeyMetadata{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeleteSymmetricKeyMetadata) ProtoMessage() {}

func (x *DeleteSymmetricKeyMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[10]
	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 DeleteSymmetricKeyMetadata.ProtoReflect.Descriptor instead.
func (*DeleteSymmetricKeyMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{10}
}

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

type SetPrimarySymmetricKeyVersionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key to set a primary version for.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// ID of the version that should become primary for the specified key.
	VersionId     string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SetPrimarySymmetricKeyVersionRequest) Reset() {
	*x = SetPrimarySymmetricKeyVersionRequest{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SetPrimarySymmetricKeyVersionRequest) ProtoMessage() {}

func (x *SetPrimarySymmetricKeyVersionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[11]
	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 SetPrimarySymmetricKeyVersionRequest.ProtoReflect.Descriptor instead.
func (*SetPrimarySymmetricKeyVersionRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{11}
}

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

func (x *SetPrimarySymmetricKeyVersionRequest) GetVersionId() string {
	if x != nil {
		return x.VersionId
	}
	return ""
}

type SetPrimarySymmetricKeyVersionMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key that the primary version if being changed for.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// ID of the version that is being made primary for the key.
	VersionId     string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SetPrimarySymmetricKeyVersionMetadata) Reset() {
	*x = SetPrimarySymmetricKeyVersionMetadata{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SetPrimarySymmetricKeyVersionMetadata) ProtoMessage() {}

func (x *SetPrimarySymmetricKeyVersionMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[12]
	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 SetPrimarySymmetricKeyVersionMetadata.ProtoReflect.Descriptor instead.
func (*SetPrimarySymmetricKeyVersionMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{12}
}

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

func (x *SetPrimarySymmetricKeyVersionMetadata) GetVersionId() string {
	if x != nil {
		return x.VersionId
	}
	return ""
}

type RotateSymmetricKeyRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key to be rotated.
	KeyId         string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *RotateSymmetricKeyRequest) Reset() {
	*x = RotateSymmetricKeyRequest{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[13]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*RotateSymmetricKeyRequest) ProtoMessage() {}

func (x *RotateSymmetricKeyRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[13]
	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 RotateSymmetricKeyRequest.ProtoReflect.Descriptor instead.
func (*RotateSymmetricKeyRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{13}
}

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

type RotateSymmetricKeyMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key being rotated.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// ID of the version generated as a result of key rotation.
	NewPrimaryVersionId string `protobuf:"bytes,2,opt,name=new_primary_version_id,json=newPrimaryVersionId,proto3" json:"new_primary_version_id,omitempty"`
	unknownFields       protoimpl.UnknownFields
	sizeCache           protoimpl.SizeCache
}

func (x *RotateSymmetricKeyMetadata) Reset() {
	*x = RotateSymmetricKeyMetadata{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[14]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*RotateSymmetricKeyMetadata) ProtoMessage() {}

func (x *RotateSymmetricKeyMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[14]
	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 RotateSymmetricKeyMetadata.ProtoReflect.Descriptor instead.
func (*RotateSymmetricKeyMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{14}
}

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

func (x *RotateSymmetricKeyMetadata) GetNewPrimaryVersionId() string {
	if x != nil {
		return x.NewPrimaryVersionId
	}
	return ""
}

type ScheduleSymmetricKeyVersionDestructionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key whose version should be scheduled for destruction.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// ID of the version to be destroyed.
	VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// Time interval between the version destruction request and actual destruction.
	// Default value: 7 days.
	PendingPeriod *durationpb.Duration `protobuf:"bytes,3,opt,name=pending_period,json=pendingPeriod,proto3" json:"pending_period,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ScheduleSymmetricKeyVersionDestructionRequest) Reset() {
	*x = ScheduleSymmetricKeyVersionDestructionRequest{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[15]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ScheduleSymmetricKeyVersionDestructionRequest) ProtoMessage() {}

func (x *ScheduleSymmetricKeyVersionDestructionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[15]
	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 ScheduleSymmetricKeyVersionDestructionRequest.ProtoReflect.Descriptor instead.
func (*ScheduleSymmetricKeyVersionDestructionRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{15}
}

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

func (x *ScheduleSymmetricKeyVersionDestructionRequest) GetVersionId() string {
	if x != nil {
		return x.VersionId
	}
	return ""
}

func (x *ScheduleSymmetricKeyVersionDestructionRequest) GetPendingPeriod() *durationpb.Duration {
	if x != nil {
		return x.PendingPeriod
	}
	return nil
}

type ScheduleSymmetricKeyVersionDestructionMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key whose version is being scheduled for destruction.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// ID of the version that is being scheduled for destruction.
	VersionId string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	// Time when the version is scheduled to be destroyed.
	DestroyAt     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=destroy_at,json=destroyAt,proto3" json:"destroy_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ScheduleSymmetricKeyVersionDestructionMetadata) Reset() {
	*x = ScheduleSymmetricKeyVersionDestructionMetadata{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[16]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ScheduleSymmetricKeyVersionDestructionMetadata) ProtoMessage() {}

func (x *ScheduleSymmetricKeyVersionDestructionMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[16]
	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 ScheduleSymmetricKeyVersionDestructionMetadata.ProtoReflect.Descriptor instead.
func (*ScheduleSymmetricKeyVersionDestructionMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{16}
}

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

func (x *ScheduleSymmetricKeyVersionDestructionMetadata) GetVersionId() string {
	if x != nil {
		return x.VersionId
	}
	return ""
}

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

type CancelSymmetricKeyVersionDestructionRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key to cancel a version's destruction for.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// ID of the version whose scheduled destruction should be cancelled.
	VersionId     string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CancelSymmetricKeyVersionDestructionRequest) Reset() {
	*x = CancelSymmetricKeyVersionDestructionRequest{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[17]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CancelSymmetricKeyVersionDestructionRequest) ProtoMessage() {}

func (x *CancelSymmetricKeyVersionDestructionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[17]
	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 CancelSymmetricKeyVersionDestructionRequest.ProtoReflect.Descriptor instead.
func (*CancelSymmetricKeyVersionDestructionRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{17}
}

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

func (x *CancelSymmetricKeyVersionDestructionRequest) GetVersionId() string {
	if x != nil {
		return x.VersionId
	}
	return ""
}

type CancelSymmetricKeyVersionDestructionMetadata struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the key whose version's destruction is being cancelled.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// ID of the version whose scheduled destruction is being cancelled.
	VersionId     string `protobuf:"bytes,2,opt,name=version_id,json=versionId,proto3" json:"version_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *CancelSymmetricKeyVersionDestructionMetadata) Reset() {
	*x = CancelSymmetricKeyVersionDestructionMetadata{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[18]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*CancelSymmetricKeyVersionDestructionMetadata) ProtoMessage() {}

func (x *CancelSymmetricKeyVersionDestructionMetadata) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[18]
	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 CancelSymmetricKeyVersionDestructionMetadata.ProtoReflect.Descriptor instead.
func (*CancelSymmetricKeyVersionDestructionMetadata) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{18}
}

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

func (x *CancelSymmetricKeyVersionDestructionMetadata) GetVersionId() string {
	if x != nil {
		return x.VersionId
	}
	return ""
}

type ListSymmetricKeyOperationsRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the symmetric KMS key to get operations for.
	//
	// To get the key ID, use a [SymmetricKeyService.List] request.
	KeyId string `protobuf:"bytes,1,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
	// The maximum number of results per page that should be returned. If the number of available
	// results is larger than [page_size], the service returns a [ListSymmetricKeyOperationsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	// Default value: 100.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the
	// [ListSymmetricKeyOperationsResponse.next_page_token] returned by a previous list request.
	PageToken     string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListSymmetricKeyOperationsRequest) Reset() {
	*x = ListSymmetricKeyOperationsRequest{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[19]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListSymmetricKeyOperationsRequest) ProtoMessage() {}

func (x *ListSymmetricKeyOperationsRequest) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[19]
	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 ListSymmetricKeyOperationsRequest.ProtoReflect.Descriptor instead.
func (*ListSymmetricKeyOperationsRequest) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{19}
}

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

func (x *ListSymmetricKeyOperationsRequest) GetPageSize() int64 {
	if x != nil {
		return x.PageSize
	}
	return 0
}

func (x *ListSymmetricKeyOperationsRequest) GetPageToken() string {
	if x != nil {
		return x.PageToken
	}
	return ""
}

type ListSymmetricKeyOperationsResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of operations for the specified key.
	Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListSymmetricKeyOperationsRequest.page_size], use the [next_page_token] as the value
	// for the [ListSymmetricKeyOperationsRequest.page_token] query parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ListSymmetricKeyOperationsResponse) Reset() {
	*x = ListSymmetricKeyOperationsResponse{}
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[20]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ListSymmetricKeyOperationsResponse) ProtoMessage() {}

func (x *ListSymmetricKeyOperationsResponse) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes[20]
	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 ListSymmetricKeyOperationsResponse.ProtoReflect.Descriptor instead.
func (*ListSymmetricKeyOperationsResponse) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP(), []int{20}
}

func (x *ListSymmetricKeyOperationsResponse) GetOperations() []*operation.Operation {
	if x != nil {
		return x.Operations
	}
	return nil
}

func (x *ListSymmetricKeyOperationsResponse) GetNextPageToken() string {
	if x != nil {
		return x.NextPageToken
	}
	return ""
}

var File_yandex_cloud_kms_v1_symmetric_key_service_proto protoreflect.FileDescriptor

const file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDesc = "" +
	"\n" +
	"/yandex/cloud/kms/v1/symmetric_key_service.proto\x12\x13yandex.cloud.kms.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/duration.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a'yandex/cloud/kms/v1/symmetric_key.proto\"\xb1\x04\n" +
	"\x19CreateSymmetricKeyRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\x12\x1d\n" +
	"\x04name\x18\x02 \x01(\tB\t\x8a\xc81\x05<=100R\x04name\x12,\n" +
	"\vdescription\x18\x03 \x01(\tB\n" +
	"\x8a\xc81\x06<=1024R\vdescription\x12\x8f\x01\n" +
	"\x06labels\x18\x04 \x03(\v2:.yandex.cloud.kms.v1.CreateSymmetricKeyRequest.LabelsEntryB;\xf2\xc71\v[-_0-9a-z]*\x82\xc81\x04<=64\x8a\xc81\x04<=63\xb2\xc81\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63R\x06labels\x12Z\n" +
	"\x11default_algorithm\x18\x05 \x01(\x0e2'.yandex.cloud.kms.v1.SymmetricAlgorithmB\x04\xe8\xc71\x01R\x10defaultAlgorithm\x12B\n" +
	"\x0frotation_period\x18\x06 \x01(\v2\x19.google.protobuf.DurationR\x0erotationPeriod\x12/\n" +
	"\x13deletion_protection\x18\a \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\"a\n" +
	"\x1aCreateSymmetricKeyMetadata\x12\x15\n" +
	"\x06key_id\x18\x01 \x01(\tR\x05keyId\x12,\n" +
	"\x12primary_version_id\x18\x02 \x01(\tR\x10primaryVersionId\"=\n" +
	"\x16GetSymmetricKeyRequest\x12#\n" +
	"\x06key_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x05keyId\"\x98\x01\n" +
	"\x18ListSymmetricKeysRequest\x12)\n" +
	"\tfolder_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\bfolderId\x12'\n" +
	"\tpage_size\x18\x02 \x01(\x03B\n" +
	"\xfa\xc71\x06<=1000R\bpageSize\x12(\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tB\t\x8a\xc81\x05<=100R\tpageToken\"z\n" +
	"\x19ListSymmetricKeysResponse\x125\n" +
	"\x04keys\x18\x01 \x03(\v2!.yandex.cloud.kms.v1.SymmetricKeyR\x04keys\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\x99\x01\n" +
	"\x1fListSymmetricKeyVersionsRequest\x12#\n" +
	"\x06key_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x05keyId\x12'\n" +
	"\tpage_size\x18\x02 \x01(\x03B\n" +
	"\xfa\xc71\x06<=1000R\bpageSize\x12(\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tB\t\x8a\xc81\x05<=100R\tpageToken\"\x97\x01\n" +
	" ListSymmetricKeyVersionsResponse\x12K\n" +
	"\fkey_versions\x18\x01 \x03(\v2(.yandex.cloud.kms.v1.SymmetricKeyVersionR\vkeyVersions\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"\xaa\x05\n" +
	"\x19UpdateSymmetricKeyRequest\x12#\n" +
	"\x06key_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x05keyId\x12A\n" +
	"\vupdate_mask\x18\x02 \x01(\v2\x1a.google.protobuf.FieldMaskB\x04\xe8\xc71\x01R\n" +
	"updateMask\x12\x1d\n" +
	"\x04name\x18\x03 \x01(\tB\t\x8a\xc81\x05<=100R\x04name\x12,\n" +
	"\vdescription\x18\x04 \x01(\tB\n" +
	"\x8a\xc81\x06<=1024R\vdescription\x12@\n" +
	"\x06status\x18\x05 \x01(\x0e2(.yandex.cloud.kms.v1.SymmetricKey.StatusR\x06status\x12\x8f\x01\n" +
	"\x06labels\x18\x06 \x03(\v2:.yandex.cloud.kms.v1.UpdateSymmetricKeyRequest.LabelsEntryB;\xf2\xc71\v[-_0-9a-z]*\x82\xc81\x04<=64\x8a\xc81\x04<=63\xb2\xc81\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63R\x06labels\x12T\n" +
	"\x11default_algorithm\x18\a \x01(\x0e2'.yandex.cloud.kms.v1.SymmetricAlgorithmR\x10defaultAlgorithm\x12B\n" +
	"\x0frotation_period\x18\b \x01(\v2\x19.google.protobuf.DurationR\x0erotationPeriod\x12/\n" +
	"\x13deletion_protection\x18\t \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\"3\n" +
	"\x1aUpdateSymmetricKeyMetadata\x12\x15\n" +
	"\x06key_id\x18\x01 \x01(\tR\x05keyId\"@\n" +
	"\x19DeleteSymmetricKeyRequest\x12#\n" +
	"\x06key_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x05keyId\"3\n" +
	"\x1aDeleteSymmetricKeyMetadata\x12\x15\n" +
	"\x06key_id\x18\x01 \x01(\tR\x05keyId\"x\n" +
	"$SetPrimarySymmetricKeyVersionRequest\x12#\n" +
	"\x06key_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x05keyId\x12+\n" +
	"\n" +
	"version_id\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tversionId\"]\n" +
	"%SetPrimarySymmetricKeyVersionMetadata\x12\x15\n" +
	"\x06key_id\x18\x01 \x01(\tR\x05keyId\x12\x1d\n" +
	"\n" +
	"version_id\x18\x02 \x01(\tR\tversionId\"@\n" +
	"\x19RotateSymmetricKeyRequest\x12#\n" +
	"\x06key_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x05keyId\"h\n" +
	"\x1aRotateSymmetricKeyMetadata\x12\x15\n" +
	"\x06key_id\x18\x01 \x01(\tR\x05keyId\x123\n" +
	"\x16new_primary_version_id\x18\x02 \x01(\tR\x13newPrimaryVersionId\"\xc3\x01\n" +
	"-ScheduleSymmetricKeyVersionDestructionRequest\x12#\n" +
	"\x06key_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x05keyId\x12+\n" +
	"\n" +
	"version_id\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tversionId\x12@\n" +
	"\x0epending_period\x18\x03 \x01(\v2\x19.google.protobuf.DurationR\rpendingPeriod\"\xa1\x01\n" +
	".ScheduleSymmetricKeyVersionDestructionMetadata\x12\x15\n" +
	"\x06key_id\x18\x01 \x01(\tR\x05keyId\x12\x1d\n" +
	"\n" +
	"version_id\x18\x02 \x01(\tR\tversionId\x129\n" +
	"\n" +
	"destroy_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tdestroyAt\"\x7f\n" +
	"+CancelSymmetricKeyVersionDestructionRequest\x12#\n" +
	"\x06key_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x05keyId\x12+\n" +
	"\n" +
	"version_id\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\tversionId\"d\n" +
	",CancelSymmetricKeyVersionDestructionMetadata\x12\x15\n" +
	"\x06key_id\x18\x01 \x01(\tR\x05keyId\x12\x1d\n" +
	"\n" +
	"version_id\x18\x02 \x01(\tR\tversionId\"\x9b\x01\n" +
	"!ListSymmetricKeyOperationsRequest\x12#\n" +
	"\x06key_id\x18\x01 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x05keyId\x12'\n" +
	"\tpage_size\x18\x02 \x01(\x03B\n" +
	"\xfa\xc71\x06<=1000R\bpageSize\x12(\n" +
	"\n" +
	"page_token\x18\x03 \x01(\tB\t\x8a\xc81\x05<=100R\tpageToken\"\x8f\x01\n" +
	"\"ListSymmetricKeyOperationsResponse\x12A\n" +
	"\n" +
	"operations\x18\x01 \x03(\v2!.yandex.cloud.operation.OperationR\n" +
	"operations\x12&\n" +
	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken2\xf6\x14\n" +
	"\x13SymmetricKeyService\x12\xa2\x01\n" +
	"\x06Create\x12..yandex.cloud.kms.v1.CreateSymmetricKeyRequest\x1a!.yandex.cloud.operation.Operation\"E\xb2\xd2**\n" +
	"\x1aCreateSymmetricKeyMetadata\x12\fSymmetricKey\x82\xd3\xe4\x93\x02\x11:\x01*\"\f/kms/v1/keys\x12t\n" +
	"\x03Get\x12+.yandex.cloud.kms.v1.GetSymmetricKeyRequest\x1a!.yandex.cloud.kms.v1.SymmetricKey\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/kms/v1/keys/{key_id}\x12{\n" +
	"\x04List\x12-.yandex.cloud.kms.v1.ListSymmetricKeysRequest\x1a..yandex.cloud.kms.v1.ListSymmetricKeysResponse\"\x14\x82\xd3\xe4\x93\x02\x0e\x12\f/kms/v1/keys\x12\xa3\x01\n" +
	"\fListVersions\x124.yandex.cloud.kms.v1.ListSymmetricKeyVersionsRequest\x1a5.yandex.cloud.kms.v1.ListSymmetricKeyVersionsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/kms/v1/keys/{key_id}/versions\x12\xab\x01\n" +
	"\x06Update\x12..yandex.cloud.kms.v1.UpdateSymmetricKeyRequest\x1a!.yandex.cloud.operation.Operation\"N\xb2\xd2**\n" +
	"\x1aUpdateSymmetricKeyMetadata\x12\fSymmetricKey\x82\xd3\xe4\x93\x02\x1a:\x01*2\x15/kms/v1/keys/{key_id}\x12\xa8\x01\n" +
	"\x06Delete\x12..yandex.cloud.kms.v1.DeleteSymmetricKeyRequest\x1a!.yandex.cloud.operation.Operation\"K\xb2\xd2**\n" +
	"\x1aDeleteSymmetricKeyMetadata\x12\fSymmetricKey\x82\xd3\xe4\x93\x02\x17*\x15/kms/v1/keys/{key_id}\x12\xde\x01\n" +
	"\x11SetPrimaryVersion\x129.yandex.cloud.kms.v1.SetPrimarySymmetricKeyVersionRequest\x1a!.yandex.cloud.operation.Operation\"k\xb2\xd2*5\n" +
	"%SetPrimarySymmetricKeyVersionMetadata\x12\fSymmetricKey\x82\xd3\xe4\x93\x02,:\x01*\"'/kms/v1/keys/{key_id}:setPrimaryVersion\x12\x8a\x02\n" +
	"\x1aScheduleVersionDestruction\x12B.yandex.cloud.kms.v1.ScheduleSymmetricKeyVersionDestructionRequest\x1a!.yandex.cloud.operation.Operation\"\x84\x01\xb2\xd2*E\n" +
	".ScheduleSymmetricKeyVersionDestructionMetadata\x12\x13SymmetricKeyVersion\x82\xd3\xe4\x93\x025:\x01*\"0/kms/v1/keys/{key_id}:scheduleVersionDestruction\x12\x82\x02\n" +
	"\x18CancelVersionDestruction\x12@.yandex.cloud.kms.v1.CancelSymmetricKeyVersionDestructionRequest\x1a!.yandex.cloud.operation.Operation\"\x80\x01\xb2\xd2*C\n" +
	",CancelSymmetricKeyVersionDestructionMetadata\x12\x13SymmetricKeyVersion\x82\xd3\xe4\x93\x023:\x01*\"./kms/v1/keys/{key_id}:cancelVersionDestruction\x12\xaf\x01\n" +
	"\x06Rotate\x12..yandex.cloud.kms.v1.RotateSymmetricKeyRequest\x1a!.yandex.cloud.operation.Operation\"R\xb2\xd2**\n" +
	"\x1aRotateSymmetricKeyMetadata\x12\fSymmetricKey\x82\xd3\xe4\x93\x02\x1e\"\x1c/kms/v1/keys/{key_id}:rotate\x12\xab\x01\n" +
	"\x0eListOperations\x126.yandex.cloud.kms.v1.ListSymmetricKeyOperationsRequest\x1a7.yandex.cloud.kms.v1.ListSymmetricKeyOperationsResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /kms/v1/keys/{key_id}/operations\x12\xac\x01\n" +
	"\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/kms/v1/keys/{resource_id}:listAccessBindings\x12\xdb\x01\n" +
	"\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"t\xb2\xd2*9\n" +
	" access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x021:\x01*\",/kms/v1/keys/{resource_id}:setAccessBindings\x12\xe7\x01\n" +
	"\x14UpdateAccessBindings\x120.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"z\xb2\xd2*<\n" +
	"#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x024:\x01*\"//kms/v1/keys/{resource_id}:updateAccessBindingsBV\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_service_proto_rawDescOnce sync.Once
	file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescData []byte
)

func file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescGZIP() []byte {
	file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDesc), len(file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDesc)))
	})
	return file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDescData
}

var file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
var file_yandex_cloud_kms_v1_symmetric_key_service_proto_goTypes = []any{
	(*CreateSymmetricKeyRequest)(nil),                      // 0: yandex.cloud.kms.v1.CreateSymmetricKeyRequest
	(*CreateSymmetricKeyMetadata)(nil),                     // 1: yandex.cloud.kms.v1.CreateSymmetricKeyMetadata
	(*GetSymmetricKeyRequest)(nil),                         // 2: yandex.cloud.kms.v1.GetSymmetricKeyRequest
	(*ListSymmetricKeysRequest)(nil),                       // 3: yandex.cloud.kms.v1.ListSymmetricKeysRequest
	(*ListSymmetricKeysResponse)(nil),                      // 4: yandex.cloud.kms.v1.ListSymmetricKeysResponse
	(*ListSymmetricKeyVersionsRequest)(nil),                // 5: yandex.cloud.kms.v1.ListSymmetricKeyVersionsRequest
	(*ListSymmetricKeyVersionsResponse)(nil),               // 6: yandex.cloud.kms.v1.ListSymmetricKeyVersionsResponse
	(*UpdateSymmetricKeyRequest)(nil),                      // 7: yandex.cloud.kms.v1.UpdateSymmetricKeyRequest
	(*UpdateSymmetricKeyMetadata)(nil),                     // 8: yandex.cloud.kms.v1.UpdateSymmetricKeyMetadata
	(*DeleteSymmetricKeyRequest)(nil),                      // 9: yandex.cloud.kms.v1.DeleteSymmetricKeyRequest
	(*DeleteSymmetricKeyMetadata)(nil),                     // 10: yandex.cloud.kms.v1.DeleteSymmetricKeyMetadata
	(*SetPrimarySymmetricKeyVersionRequest)(nil),           // 11: yandex.cloud.kms.v1.SetPrimarySymmetricKeyVersionRequest
	(*SetPrimarySymmetricKeyVersionMetadata)(nil),          // 12: yandex.cloud.kms.v1.SetPrimarySymmetricKeyVersionMetadata
	(*RotateSymmetricKeyRequest)(nil),                      // 13: yandex.cloud.kms.v1.RotateSymmetricKeyRequest
	(*RotateSymmetricKeyMetadata)(nil),                     // 14: yandex.cloud.kms.v1.RotateSymmetricKeyMetadata
	(*ScheduleSymmetricKeyVersionDestructionRequest)(nil),  // 15: yandex.cloud.kms.v1.ScheduleSymmetricKeyVersionDestructionRequest
	(*ScheduleSymmetricKeyVersionDestructionMetadata)(nil), // 16: yandex.cloud.kms.v1.ScheduleSymmetricKeyVersionDestructionMetadata
	(*CancelSymmetricKeyVersionDestructionRequest)(nil),    // 17: yandex.cloud.kms.v1.CancelSymmetricKeyVersionDestructionRequest
	(*CancelSymmetricKeyVersionDestructionMetadata)(nil),   // 18: yandex.cloud.kms.v1.CancelSymmetricKeyVersionDestructionMetadata
	(*ListSymmetricKeyOperationsRequest)(nil),              // 19: yandex.cloud.kms.v1.ListSymmetricKeyOperationsRequest
	(*ListSymmetricKeyOperationsResponse)(nil),             // 20: yandex.cloud.kms.v1.ListSymmetricKeyOperationsResponse
	nil,                                        // 21: yandex.cloud.kms.v1.CreateSymmetricKeyRequest.LabelsEntry
	nil,                                        // 22: yandex.cloud.kms.v1.UpdateSymmetricKeyRequest.LabelsEntry
	(SymmetricAlgorithm)(0),                    // 23: yandex.cloud.kms.v1.SymmetricAlgorithm
	(*durationpb.Duration)(nil),                // 24: google.protobuf.Duration
	(*SymmetricKey)(nil),                       // 25: yandex.cloud.kms.v1.SymmetricKey
	(*SymmetricKeyVersion)(nil),                // 26: yandex.cloud.kms.v1.SymmetricKeyVersion
	(*fieldmaskpb.FieldMask)(nil),              // 27: google.protobuf.FieldMask
	(SymmetricKey_Status)(0),                   // 28: yandex.cloud.kms.v1.SymmetricKey.Status
	(*timestamppb.Timestamp)(nil),              // 29: google.protobuf.Timestamp
	(*operation.Operation)(nil),                // 30: yandex.cloud.operation.Operation
	(*access.ListAccessBindingsRequest)(nil),   // 31: yandex.cloud.access.ListAccessBindingsRequest
	(*access.SetAccessBindingsRequest)(nil),    // 32: yandex.cloud.access.SetAccessBindingsRequest
	(*access.UpdateAccessBindingsRequest)(nil), // 33: yandex.cloud.access.UpdateAccessBindingsRequest
	(*access.ListAccessBindingsResponse)(nil),  // 34: yandex.cloud.access.ListAccessBindingsResponse
}
var file_yandex_cloud_kms_v1_symmetric_key_service_proto_depIdxs = []int32{
	21, // 0: yandex.cloud.kms.v1.CreateSymmetricKeyRequest.labels:type_name -> yandex.cloud.kms.v1.CreateSymmetricKeyRequest.LabelsEntry
	23, // 1: yandex.cloud.kms.v1.CreateSymmetricKeyRequest.default_algorithm:type_name -> yandex.cloud.kms.v1.SymmetricAlgorithm
	24, // 2: yandex.cloud.kms.v1.CreateSymmetricKeyRequest.rotation_period:type_name -> google.protobuf.Duration
	25, // 3: yandex.cloud.kms.v1.ListSymmetricKeysResponse.keys:type_name -> yandex.cloud.kms.v1.SymmetricKey
	26, // 4: yandex.cloud.kms.v1.ListSymmetricKeyVersionsResponse.key_versions:type_name -> yandex.cloud.kms.v1.SymmetricKeyVersion
	27, // 5: yandex.cloud.kms.v1.UpdateSymmetricKeyRequest.update_mask:type_name -> google.protobuf.FieldMask
	28, // 6: yandex.cloud.kms.v1.UpdateSymmetricKeyRequest.status:type_name -> yandex.cloud.kms.v1.SymmetricKey.Status
	22, // 7: yandex.cloud.kms.v1.UpdateSymmetricKeyRequest.labels:type_name -> yandex.cloud.kms.v1.UpdateSymmetricKeyRequest.LabelsEntry
	23, // 8: yandex.cloud.kms.v1.UpdateSymmetricKeyRequest.default_algorithm:type_name -> yandex.cloud.kms.v1.SymmetricAlgorithm
	24, // 9: yandex.cloud.kms.v1.UpdateSymmetricKeyRequest.rotation_period:type_name -> google.protobuf.Duration
	24, // 10: yandex.cloud.kms.v1.ScheduleSymmetricKeyVersionDestructionRequest.pending_period:type_name -> google.protobuf.Duration
	29, // 11: yandex.cloud.kms.v1.ScheduleSymmetricKeyVersionDestructionMetadata.destroy_at:type_name -> google.protobuf.Timestamp
	30, // 12: yandex.cloud.kms.v1.ListSymmetricKeyOperationsResponse.operations:type_name -> yandex.cloud.operation.Operation
	0,  // 13: yandex.cloud.kms.v1.SymmetricKeyService.Create:input_type -> yandex.cloud.kms.v1.CreateSymmetricKeyRequest
	2,  // 14: yandex.cloud.kms.v1.SymmetricKeyService.Get:input_type -> yandex.cloud.kms.v1.GetSymmetricKeyRequest
	3,  // 15: yandex.cloud.kms.v1.SymmetricKeyService.List:input_type -> yandex.cloud.kms.v1.ListSymmetricKeysRequest
	5,  // 16: yandex.cloud.kms.v1.SymmetricKeyService.ListVersions:input_type -> yandex.cloud.kms.v1.ListSymmetricKeyVersionsRequest
	7,  // 17: yandex.cloud.kms.v1.SymmetricKeyService.Update:input_type -> yandex.cloud.kms.v1.UpdateSymmetricKeyRequest
	9,  // 18: yandex.cloud.kms.v1.SymmetricKeyService.Delete:input_type -> yandex.cloud.kms.v1.DeleteSymmetricKeyRequest
	11, // 19: yandex.cloud.kms.v1.SymmetricKeyService.SetPrimaryVersion:input_type -> yandex.cloud.kms.v1.SetPrimarySymmetricKeyVersionRequest
	15, // 20: yandex.cloud.kms.v1.SymmetricKeyService.ScheduleVersionDestruction:input_type -> yandex.cloud.kms.v1.ScheduleSymmetricKeyVersionDestructionRequest
	17, // 21: yandex.cloud.kms.v1.SymmetricKeyService.CancelVersionDestruction:input_type -> yandex.cloud.kms.v1.CancelSymmetricKeyVersionDestructionRequest
	13, // 22: yandex.cloud.kms.v1.SymmetricKeyService.Rotate:input_type -> yandex.cloud.kms.v1.RotateSymmetricKeyRequest
	19, // 23: yandex.cloud.kms.v1.SymmetricKeyService.ListOperations:input_type -> yandex.cloud.kms.v1.ListSymmetricKeyOperationsRequest
	31, // 24: yandex.cloud.kms.v1.SymmetricKeyService.ListAccessBindings:input_type -> yandex.cloud.access.ListAccessBindingsRequest
	32, // 25: yandex.cloud.kms.v1.SymmetricKeyService.SetAccessBindings:input_type -> yandex.cloud.access.SetAccessBindingsRequest
	33, // 26: yandex.cloud.kms.v1.SymmetricKeyService.UpdateAccessBindings:input_type -> yandex.cloud.access.UpdateAccessBindingsRequest
	30, // 27: yandex.cloud.kms.v1.SymmetricKeyService.Create:output_type -> yandex.cloud.operation.Operation
	25, // 28: yandex.cloud.kms.v1.SymmetricKeyService.Get:output_type -> yandex.cloud.kms.v1.SymmetricKey
	4,  // 29: yandex.cloud.kms.v1.SymmetricKeyService.List:output_type -> yandex.cloud.kms.v1.ListSymmetricKeysResponse
	6,  // 30: yandex.cloud.kms.v1.SymmetricKeyService.ListVersions:output_type -> yandex.cloud.kms.v1.ListSymmetricKeyVersionsResponse
	30, // 31: yandex.cloud.kms.v1.SymmetricKeyService.Update:output_type -> yandex.cloud.operation.Operation
	30, // 32: yandex.cloud.kms.v1.SymmetricKeyService.Delete:output_type -> yandex.cloud.operation.Operation
	30, // 33: yandex.cloud.kms.v1.SymmetricKeyService.SetPrimaryVersion:output_type -> yandex.cloud.operation.Operation
	30, // 34: yandex.cloud.kms.v1.SymmetricKeyService.ScheduleVersionDestruction:output_type -> yandex.cloud.operation.Operation
	30, // 35: yandex.cloud.kms.v1.SymmetricKeyService.CancelVersionDestruction:output_type -> yandex.cloud.operation.Operation
	30, // 36: yandex.cloud.kms.v1.SymmetricKeyService.Rotate:output_type -> yandex.cloud.operation.Operation
	20, // 37: yandex.cloud.kms.v1.SymmetricKeyService.ListOperations:output_type -> yandex.cloud.kms.v1.ListSymmetricKeyOperationsResponse
	34, // 38: yandex.cloud.kms.v1.SymmetricKeyService.ListAccessBindings:output_type -> yandex.cloud.access.ListAccessBindingsResponse
	30, // 39: yandex.cloud.kms.v1.SymmetricKeyService.SetAccessBindings:output_type -> yandex.cloud.operation.Operation
	30, // 40: yandex.cloud.kms.v1.SymmetricKeyService.UpdateAccessBindings:output_type -> yandex.cloud.operation.Operation
	27, // [27:41] is the sub-list for method output_type
	13, // [13:27] is the sub-list for method input_type
	13, // [13:13] is the sub-list for extension type_name
	13, // [13:13] is the sub-list for extension extendee
	0,  // [0:13] is the sub-list for field type_name
}

func init() { file_yandex_cloud_kms_v1_symmetric_key_service_proto_init() }
func file_yandex_cloud_kms_v1_symmetric_key_service_proto_init() {
	if File_yandex_cloud_kms_v1_symmetric_key_service_proto != nil {
		return
	}
	file_yandex_cloud_kms_v1_symmetric_key_proto_init()
	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_service_proto_rawDesc), len(file_yandex_cloud_kms_v1_symmetric_key_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   23,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_yandex_cloud_kms_v1_symmetric_key_service_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_kms_v1_symmetric_key_service_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_kms_v1_symmetric_key_service_proto_msgTypes,
	}.Build()
	File_yandex_cloud_kms_v1_symmetric_key_service_proto = out.File
	file_yandex_cloud_kms_v1_symmetric_key_service_proto_goTypes = nil
	file_yandex_cloud_kms_v1_symmetric_key_service_proto_depIdxs = nil
}
