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

package backup

type ListArchivesRequest_Id = isListArchivesRequest_Id

func (m *ListArchivesRequest) SetId(v ListArchivesRequest_Id) {
	m.Id = v
}

func (m *ListArchivesRequest) SetFolderId(v string) {
	m.Id = &ListArchivesRequest_FolderId{
		FolderId: v,
	}
}

func (m *ListArchivesRequest) SetComputeInstanceId(v string) {
	m.Id = &ListArchivesRequest_ComputeInstanceId{
		ComputeInstanceId: v,
	}
}

func (m *ListArchivesResponse) SetArchives(v []*Archive) {
	m.Archives = v
}

type ListBackupsRequest_Id = isListBackupsRequest_Id

func (m *ListBackupsRequest) SetId(v ListBackupsRequest_Id) {
	m.Id = v
}

func (m *ListBackupsRequest) SetComputeInstanceId(v string) {
	m.Id = &ListBackupsRequest_ComputeInstanceId{
		ComputeInstanceId: v,
	}
}

func (m *ListBackupsRequest) SetArchive(v *ListBackupsRequest_ArchiveParameters) {
	m.Id = &ListBackupsRequest_Archive{
		Archive: v,
	}
}

func (m *ListBackupsRequest) SetFolderId(v string) {
	m.Id = &ListBackupsRequest_FolderId{
		FolderId: v,
	}
}

func (m *ListBackupsRequest) SetInstancePolicy(v *ListBackupsRequest_InstancePolicy) {
	m.Id = &ListBackupsRequest_InstancePolicy_{
		InstancePolicy: v,
	}
}

func (m *ListBackupsRequest) SetResourceId(v string) {
	m.Id = &ListBackupsRequest_ResourceId{
		ResourceId: v,
	}
}

func (m *ListBackupsRequest) SetPolicyId(v string) {
	m.Id = &ListBackupsRequest_PolicyId{
		PolicyId: v,
	}
}

func (m *ListBackupsRequest) SetBackup(v *ListBackupsRequest_BackupParameters) {
	m.Id = &ListBackupsRequest_Backup{
		Backup: v,
	}
}

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

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

func (m *ListBackupsRequest) SetType(v ResourceType) {
	m.Type = v
}

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

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

func (m *ListBackupsRequest_ArchiveParameters) SetArchiveId(v string) {
	m.ArchiveId = v
}

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

func (m *ListBackupsRequest_InstancePolicy) SetComputeInstanceId(v string) {
	m.ComputeInstanceId = v
}

func (m *ListBackupsRequest_InstancePolicy) SetPolicyId(v string) {
	m.PolicyId = v
}

func (m *ListBackupsRequest_BackupParameters) SetBackupId(v string) {
	m.BackupId = v
}

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

func (m *ListBackupsResponse) SetBackups(v []*Backup) {
	m.Backups = v
}

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

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

func (m *ListFilesRequest) SetBackupId(v string) {
	m.BackupId = v
}

func (m *ListFilesRequest) SetSourceId(v string) {
	m.SourceId = v
}

func (m *ListFilesResponse) SetFiles(v []*BackupFile) {
	m.Files = v
}

func (m *GetBackupRequest) SetBackupId(v string) {
	m.BackupId = v
}

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

func (m *StartRecoveryRequest) SetComputeInstanceId(v string) {
	m.ComputeInstanceId = v
}

func (m *StartRecoveryRequest) SetBackupId(v string) {
	m.BackupId = v
}

func (m *StartRecoveryMetadata) SetProgressPercentage(v float64) {
	m.ProgressPercentage = v
}

func (m *StartRecoveryMetadata) SetSrcBackupId(v string) {
	m.SrcBackupId = v
}

func (m *StartRecoveryMetadata) SetDstComputeInstanceId(v string) {
	m.DstComputeInstanceId = v
}

func (m *TargetPathCustom) SetPath(v string) {
	m.Path = v
}

type FilesRecoveryOptions_Type = isFilesRecoveryOptions_Type

func (m *FilesRecoveryOptions) SetType(v FilesRecoveryOptions_Type) {
	m.Type = v
}

func (m *FilesRecoveryOptions) SetOverwrite(v FilesRecoveryOptions_Overwrite) {
	m.Overwrite = v
}

func (m *FilesRecoveryOptions) SetRebootIfNeeded(v bool) {
	m.RebootIfNeeded = v
}

func (m *FilesRecoveryOptions) SetOriginal(v *TargetPathOriginal) {
	m.Type = &FilesRecoveryOptions_Original{
		Original: v,
	}
}

func (m *FilesRecoveryOptions) SetCustom(v *TargetPathCustom) {
	m.Type = &FilesRecoveryOptions_Custom{
		Custom: v,
	}
}

func (m *StartFilesRecoveryRequest) SetComputeInstanceId(v string) {
	m.ComputeInstanceId = v
}

func (m *StartFilesRecoveryRequest) SetBackupId(v string) {
	m.BackupId = v
}

func (m *StartFilesRecoveryRequest) SetOpts(v *FilesRecoveryOptions) {
	m.Opts = v
}

func (m *StartFilesRecoveryRequest) SetSourceIds(v []string) {
	m.SourceIds = v
}

func (m *StartFilesRecoveryMetadata) SetProgressPercentage(v float64) {
	m.ProgressPercentage = v
}

func (m *StartFilesRecoveryMetadata) SetComputeInstanceId(v string) {
	m.ComputeInstanceId = v
}

func (m *StartFilesRecoveryMetadata) SetBackupId(v string) {
	m.BackupId = v
}

func (m *StartFilesRecoveryMetadata) SetSourceIds(v []string) {
	m.SourceIds = v
}

func (m *DeleteBackupRequest) SetComputeInstanceId(v string) {
	m.ComputeInstanceId = v
}

func (m *DeleteBackupRequest) SetBackupId(v string) {
	m.BackupId = v
}

func (m *DeleteBackupMetadata) SetComputeInstanceId(v string) {
	m.ComputeInstanceId = v
}

func (m *DeleteBackupMetadata) SetBackupId(v string) {
	m.BackupId = v
}

func (m *DeleteArchiveRequest) SetArchiveId(v string) {
	m.ArchiveId = v
}

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

func (m *DeleteArchiveRequest) SetInstanceId(v string) {
	m.InstanceId = v
}

func (m *DeleteArchiveRequest) SetPolicyId(v string) {
	m.PolicyId = v
}

func (m *DeleteArchiveMetadata) SetArchiveId(v string) {
	m.ArchiveId = v
}

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