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

package compute

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

type SnapshotSchedule_RetentionPolicy = isSnapshotSchedule_RetentionPolicy

func (m *SnapshotSchedule) SetRetentionPolicy(v SnapshotSchedule_RetentionPolicy) {
	m.RetentionPolicy = v
}

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

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

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

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

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

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

func (m *SnapshotSchedule) SetStatus(v SnapshotSchedule_Status) {
	m.Status = v
}

func (m *SnapshotSchedule) SetSchedulePolicy(v *SchedulePolicy) {
	m.SchedulePolicy = v
}

func (m *SnapshotSchedule) SetRetentionPeriod(v *durationpb.Duration) {
	m.RetentionPolicy = &SnapshotSchedule_RetentionPeriod{
		RetentionPeriod: v,
	}
}

func (m *SnapshotSchedule) SetSnapshotCount(v int64) {
	m.RetentionPolicy = &SnapshotSchedule_SnapshotCount{
		SnapshotCount: v,
	}
}

func (m *SnapshotSchedule) SetSnapshotSpec(v *SnapshotSpec) {
	m.SnapshotSpec = v
}

func (m *SchedulePolicy) SetStartAt(v *timestamppb.Timestamp) {
	m.StartAt = v
}

func (m *SchedulePolicy) SetExpression(v string) {
	m.Expression = v
}

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

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