// Code generated by protoc-gen-goext. DO NOT EDIT.

package kms

import (
	operation "github.com/yandex-cloud/go-genproto/yandex/cloud/operation"
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

func (m *CreateSymmetricKeyRequest) SetFolderId(v string) {
	m.FolderId = v
}

func (m *CreateSymmetricKeyRequest) SetName(v string) {
	m.Name = v
}

func (m *CreateSymmetricKeyRequest) SetDescription(v string) {
	m.Description = v
}

func (m *CreateSymmetricKeyRequest) SetLabels(v map[string]string) {
	m.Labels = v
}

func (m *CreateSymmetricKeyRequest) SetDefaultAlgorithm(v SymmetricAlgorithm) {
	m.DefaultAlgorithm = v
}

func (m *CreateSymmetricKeyRequest) SetRotationPeriod(v *durationpb.Duration) {
	m.RotationPeriod = v
}

func (m *CreateSymmetricKeyRequest) SetDeletionProtection(v bool) {
	m.DeletionProtection = v
}

func (m *CreateSymmetricKeyMetadata) SetKeyId(v string) {
	m.KeyId = v
}

func (m *CreateSymmetricKeyMetadata) SetPrimaryVersionId(v string) {
	m.PrimaryVersionId = v
}

func (m *GetSymmetricKeyRequest) SetKeyId(v string) {
	m.KeyId = v
}

func (m *ListSymmetricKeysRequest) SetFolderId(v string) {
	m.FolderId = v
}

func (m *ListSymmetricKeysRequest) SetPageSize(v int64) {
	m.PageSize = v
}

func (m *ListSymmetricKeysRequest) SetPageToken(v string) {
	m.PageToken = v
}

func (m *ListSymmetricKeysResponse) SetKeys(v []*SymmetricKey) {
	m.Keys = v
}

func (m *ListSymmetricKeysResponse) SetNextPageToken(v string) {
	m.NextPageToken = v
}

func (m *ListSymmetricKeyVersionsRequest) SetKeyId(v string) {
	m.KeyId = v
}

func (m *ListSymmetricKeyVersionsRequest) SetPageSize(v int64) {
	m.PageSize = v
}

func (m *ListSymmetricKeyVersionsRequest) SetPageToken(v string) {
	m.PageToken = v
}

func (m *ListSymmetricKeyVersionsResponse) SetKeyVersions(v []*SymmetricKeyVersion) {
	m.KeyVersions = v
}

func (m *ListSymmetricKeyVersionsResponse) SetNextPageToken(v string) {
	m.NextPageToken = v
}

func (m *UpdateSymmetricKeyRequest) SetKeyId(v string) {
	m.KeyId = v
}

func (m *UpdateSymmetricKeyRequest) SetUpdateMask(v *fieldmaskpb.FieldMask) {
	m.UpdateMask = v
}

func (m *UpdateSymmetricKeyRequest) SetName(v string) {
	m.Name = v
}

func (m *UpdateSymmetricKeyRequest) SetDescription(v string) {
	m.Description = v
}

func (m *UpdateSymmetricKeyRequest) SetStatus(v SymmetricKey_Status) {
	m.Status = v
}

func (m *UpdateSymmetricKeyRequest) SetLabels(v map[string]string) {
	m.Labels = v
}

func (m *UpdateSymmetricKeyRequest) SetDefaultAlgorithm(v SymmetricAlgorithm) {
	m.DefaultAlgorithm = v
}

func (m *UpdateSymmetricKeyRequest) SetRotationPeriod(v *durationpb.Duration) {
	m.RotationPeriod = v
}

func (m *UpdateSymmetricKeyRequest) SetDeletionProtection(v bool) {
	m.DeletionProtection = v
}

func (m *UpdateSymmetricKeyMetadata) SetKeyId(v string) {
	m.KeyId = v
}

func (m *DeleteSymmetricKeyRequest) SetKeyId(v string) {
	m.KeyId = v
}

func (m *DeleteSymmetricKeyMetadata) SetKeyId(v string) {
	m.KeyId = v
}

func (m *SetPrimarySymmetricKeyVersionRequest) SetKeyId(v string) {
	m.KeyId = v
}

func (m *SetPrimarySymmetricKeyVersionRequest) SetVersionId(v string) {
	m.VersionId = v
}

func (m *SetPrimarySymmetricKeyVersionMetadata) SetKeyId(v string) {
	m.KeyId = v
}

func (m *SetPrimarySymmetricKeyVersionMetadata) SetVersionId(v string) {
	m.VersionId = v
}

func (m *RotateSymmetricKeyRequest) SetKeyId(v string) {
	m.KeyId = v
}

func (m *RotateSymmetricKeyMetadata) SetKeyId(v string) {
	m.KeyId = v
}

func (m *RotateSymmetricKeyMetadata) SetNewPrimaryVersionId(v string) {
	m.NewPrimaryVersionId = v
}

func (m *ScheduleSymmetricKeyVersionDestructionRequest) SetKeyId(v string) {
	m.KeyId = v
}

func (m *ScheduleSymmetricKeyVersionDestructionRequest) SetVersionId(v string) {
	m.VersionId = v
}

func (m *ScheduleSymmetricKeyVersionDestructionRequest) SetPendingPeriod(v *durationpb.Duration) {
	m.PendingPeriod = v
}

func (m *ScheduleSymmetricKeyVersionDestructionMetadata) SetKeyId(v string) {
	m.KeyId = v
}

func (m *ScheduleSymmetricKeyVersionDestructionMetadata) SetVersionId(v string) {
	m.VersionId = v
}

func (m *ScheduleSymmetricKeyVersionDestructionMetadata) SetDestroyAt(v *timestamppb.Timestamp) {
	m.DestroyAt = v
}

func (m *CancelSymmetricKeyVersionDestructionRequest) SetKeyId(v string) {
	m.KeyId = v
}

func (m *CancelSymmetricKeyVersionDestructionRequest) SetVersionId(v string) {
	m.VersionId = v
}

func (m *CancelSymmetricKeyVersionDestructionMetadata) SetKeyId(v string) {
	m.KeyId = v
}

func (m *CancelSymmetricKeyVersionDestructionMetadata) SetVersionId(v string) {
	m.VersionId = v
}

func (m *ListSymmetricKeyOperationsRequest) SetKeyId(v string) {
	m.KeyId = v
}

func (m *ListSymmetricKeyOperationsRequest) SetPageSize(v int64) {
	m.PageSize = v
}

func (m *ListSymmetricKeyOperationsRequest) SetPageToken(v string) {
	m.PageToken = v
}

func (m *ListSymmetricKeyOperationsResponse) SetOperations(v []*operation.Operation) {
	m.Operations = v
}

func (m *ListSymmetricKeyOperationsResponse) SetNextPageToken(v string) {
	m.NextPageToken = v
}
