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

package kms

import (
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
)

func (m *SymmetricKey) SetId(v string) {
	m.Id = v
}

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

func (m *SymmetricKey) SetCreatedAt(v *timestamppb.Timestamp) {
	m.CreatedAt = v
}

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

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

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

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

func (m *SymmetricKey) SetPrimaryVersion(v *SymmetricKeyVersion) {
	m.PrimaryVersion = v
}

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

func (m *SymmetricKey) SetRotatedAt(v *timestamppb.Timestamp) {
	m.RotatedAt = v
}

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

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

func (m *SymmetricKeyVersion) SetId(v string) {
	m.Id = v
}

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

func (m *SymmetricKeyVersion) SetStatus(v SymmetricKeyVersion_Status) {
	m.Status = v
}

func (m *SymmetricKeyVersion) SetAlgorithm(v SymmetricAlgorithm) {
	m.Algorithm = v
}

func (m *SymmetricKeyVersion) SetCreatedAt(v *timestamppb.Timestamp) {
	m.CreatedAt = v
}

func (m *SymmetricKeyVersion) SetPrimary(v bool) {
	m.Primary = v
}

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

func (m *SymmetricKeyVersion) SetHostedByHsm(v bool) {
	m.HostedByHsm = v
}
