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

package compute

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"
)

func (m *GetSnapshotScheduleRequest) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

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

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

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

func (m *ListSnapshotSchedulesRequest) SetFilter(v string) {
	m.Filter = v
}

func (m *ListSnapshotSchedulesRequest) SetOrderBy(v string) {
	m.OrderBy = v
}

func (m *ListSnapshotSchedulesResponse) SetSnapshotSchedules(v []*SnapshotSchedule) {
	m.SnapshotSchedules = v
}

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

type CreateSnapshotScheduleRequest_RetentionPolicy = isCreateSnapshotScheduleRequest_RetentionPolicy

func (m *CreateSnapshotScheduleRequest) SetRetentionPolicy(v CreateSnapshotScheduleRequest_RetentionPolicy) {
	m.RetentionPolicy = v
}

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

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

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

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

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

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

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

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

func (m *CreateSnapshotScheduleRequest) SetDiskIds(v []string) {
	m.DiskIds = v
}

func (m *CreateSnapshotScheduleMetadata) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

type UpdateSnapshotScheduleRequest_RetentionPolicy = isUpdateSnapshotScheduleRequest_RetentionPolicy

func (m *UpdateSnapshotScheduleRequest) SetRetentionPolicy(v UpdateSnapshotScheduleRequest_RetentionPolicy) {
	m.RetentionPolicy = v
}

func (m *UpdateSnapshotScheduleRequest) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

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

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

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

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

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

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

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

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

func (m *UpdateSnapshotScheduleMetadata) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

func (m *DeleteSnapshotScheduleRequest) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

func (m *DeleteSnapshotScheduleMetadata) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

func (m *DisableSnapshotScheduleRequest) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

func (m *DisableSnapshotScheduleMetadata) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

func (m *EnableSnapshotScheduleRequest) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

func (m *EnableSnapshotScheduleMetadata) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

func (m *ListSnapshotScheduleOperationsRequest) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

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

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

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

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

func (m *ListSnapshotScheduleSnapshotsRequest) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

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

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

func (m *ListSnapshotScheduleSnapshotsResponse) SetSnapshots(v []*Snapshot) {
	m.Snapshots = v
}

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

func (m *ListSnapshotScheduleDisksRequest) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

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

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

func (m *ListSnapshotScheduleDisksResponse) SetDisks(v []*Disk) {
	m.Disks = v
}

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

func (m *UpdateSnapshotScheduleDisksRequest) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}

func (m *UpdateSnapshotScheduleDisksRequest) SetRemove(v []string) {
	m.Remove = v
}

func (m *UpdateSnapshotScheduleDisksRequest) SetAdd(v []string) {
	m.Add = v
}

func (m *UpdateSnapshotScheduleDisksMetadata) SetSnapshotScheduleId(v string) {
	m.SnapshotScheduleId = v
}
