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

package datasphere

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

func (m *JobParameters) SetInputFiles(v []*File) {
	m.InputFiles = v
}

func (m *JobParameters) SetOutputFiles(v []*FileDesc) {
	m.OutputFiles = v
}

func (m *JobParameters) SetS3MountIds(v []string) {
	m.S3MountIds = v
}

func (m *JobParameters) SetDatasetIds(v []string) {
	m.DatasetIds = v
}

func (m *JobParameters) SetCmd(v string) {
	m.Cmd = v
}

func (m *JobParameters) SetEnv(v *Environment) {
	m.Env = v
}

func (m *JobParameters) SetAttachProjectDisk(v bool) {
	m.AttachProjectDisk = v
}

func (m *JobParameters) SetCloudInstanceTypes(v []*CloudInstanceType) {
	m.CloudInstanceTypes = v
}

func (m *JobParameters) SetExtendedWorkingStorage(v *ExtendedWorkingStorage) {
	m.ExtendedWorkingStorage = v
}

func (m *JobParameters) SetArguments(v []*Argument) {
	m.Arguments = v
}

func (m *JobParameters) SetOutputDatasets(v []*OutputDatasetDesc) {
	m.OutputDatasets = v
}

func (m *JobParameters) SetGracefulShutdownParameters(v *GracefulShutdownParameters) {
	m.GracefulShutdownParameters = v
}

func (m *JobParameters) SetSparkParameters(v *SparkParameters) {
	m.SparkParameters = v
}

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

func (m *ExtendedWorkingStorage) SetType(v ExtendedWorkingStorage_StorageType) {
	m.Type = v
}

func (m *ExtendedWorkingStorage) SetSizeGb(v int64) {
	m.SizeGb = v
}

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

func (m *Argument) SetValue(v string) {
	m.Value = v
}

func (m *File) SetDesc(v *FileDesc) {
	m.Desc = v
}

func (m *File) SetSha256(v string) {
	m.Sha256 = v
}

func (m *File) SetSizeBytes(v int64) {
	m.SizeBytes = v
}

func (m *File) SetCompressionType(v FileCompressionType) {
	m.CompressionType = v
}

func (m *StorageFile) SetFile(v *File) {
	m.File = v
}

func (m *StorageFile) SetUrl(v string) {
	m.Url = v
}

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

func (m *FileDesc) SetVar(v string) {
	m.Var = v
}

type FileUploadError_FileType = isFileUploadError_FileType

func (m *FileUploadError) SetFileType(v FileUploadError_FileType) {
	m.FileType = v
}

func (m *FileUploadError) SetOutputFileDesc(v *FileDesc) {
	m.FileType = &FileUploadError_OutputFileDesc{
		OutputFileDesc: v,
	}
}

func (m *FileUploadError) SetLogFileName(v string) {
	m.FileType = &FileUploadError_LogFileName{
		LogFileName: v,
	}
}

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

func (m *FileUploadError) SetType(v FileUploadError_ErrorType) {
	m.Type = v
}

type Environment_DockerImage = isEnvironment_DockerImage

func (m *Environment) SetDockerImage(v Environment_DockerImage) {
	m.DockerImage = v
}

func (m *Environment) SetVars(v map[string]string) {
	m.Vars = v
}

func (m *Environment) SetDockerImageResourceId(v string) {
	m.DockerImage = &Environment_DockerImageResourceId{
		DockerImageResourceId: v,
	}
}

func (m *Environment) SetDockerImageSpec(v *DockerImageSpec) {
	m.DockerImage = &Environment_DockerImageSpec{
		DockerImageSpec: v,
	}
}

func (m *Environment) SetPythonEnv(v *PythonEnv) {
	m.PythonEnv = v
}

type DockerImageSpec_Password = isDockerImageSpec_Password

func (m *DockerImageSpec) SetPassword(v DockerImageSpec_Password) {
	m.Password = v
}

func (m *DockerImageSpec) SetImageUrl(v string) {
	m.ImageUrl = v
}

func (m *DockerImageSpec) SetUsername(v string) {
	m.Username = v
}

func (m *DockerImageSpec) SetPasswordPlainText(v string) {
	m.Password = &DockerImageSpec_PasswordPlainText{
		PasswordPlainText: v,
	}
}

func (m *DockerImageSpec) SetPasswordDsSecretName(v string) {
	m.Password = &DockerImageSpec_PasswordDsSecretName{
		PasswordDsSecretName: v,
	}
}

func (m *PythonEnv) SetCondaYaml(v string) {
	m.CondaYaml = v
}

func (m *PythonEnv) SetLocalModules(v []*File) {
	m.LocalModules = v
}

func (m *PythonEnv) SetPythonVersion(v string) {
	m.PythonVersion = v
}

func (m *PythonEnv) SetRequirements(v []string) {
	m.Requirements = v
}

func (m *PythonEnv) SetPipOptions(v *PipOptions) {
	m.PipOptions = v
}

func (m *PipOptions) SetIndexUrl(v string) {
	m.IndexUrl = v
}

func (m *PipOptions) SetExtraIndexUrls(v []string) {
	m.ExtraIndexUrls = v
}

func (m *PipOptions) SetTrustedHosts(v []string) {
	m.TrustedHosts = v
}

func (m *PipOptions) SetNoDeps(v bool) {
	m.NoDeps = v
}

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

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

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

func (m *OutputDatasetDesc) SetSizeGb(v int64) {
	m.SizeGb = v
}

func (m *OutputDatasetDesc) SetVar(v string) {
	m.Var = v
}

func (m *OutputDataset) SetDesc(v *OutputDatasetDesc) {
	m.Desc = v
}

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

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

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

func (m *Job) SetDesc(v string) {
	m.Desc = v
}

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

func (m *Job) SetFinishedAt(v *timestamppb.Timestamp) {
	m.FinishedAt = v
}

func (m *Job) SetStatus(v JobStatus) {
	m.Status = v
}

func (m *Job) SetConfig(v string) {
	m.Config = v
}

func (m *Job) SetCreatedById(v string) {
	m.CreatedById = v
}

func (m *Job) SetProjectId(v string) {
	m.ProjectId = v
}

func (m *Job) SetJobParameters(v *JobParameters) {
	m.JobParameters = v
}

func (m *Job) SetDataExpiresAt(v *timestamppb.Timestamp) {
	m.DataExpiresAt = v
}

func (m *Job) SetDataCleared(v bool) {
	m.DataCleared = v
}

func (m *Job) SetOutputFiles(v []*File) {
	m.OutputFiles = v
}

func (m *Job) SetLogFiles(v []*File) {
	m.LogFiles = v
}

func (m *Job) SetDiagnosticFiles(v []*File) {
	m.DiagnosticFiles = v
}

func (m *Job) SetDataSizeBytes(v int64) {
	m.DataSizeBytes = v
}

func (m *Job) SetStartedAt(v *timestamppb.Timestamp) {
	m.StartedAt = v
}

func (m *Job) SetStatusDetails(v string) {
	m.StatusDetails = v
}

func (m *Job) SetActualCloudInstanceType(v *CloudInstanceType) {
	m.ActualCloudInstanceType = v
}

func (m *Job) SetParentJobId(v string) {
	m.ParentJobId = v
}

func (m *Job) SetFileErrors(v []*FileUploadError) {
	m.FileErrors = v
}

func (m *Job) SetOutputDatasets(v []*OutputDataset) {
	m.OutputDatasets = v
}

func (m *JobResult) SetReturnCode(v int64) {
	m.ReturnCode = v
}

func (m *GracefulShutdownParameters) SetTimeout(v *durationpb.Duration) {
	m.Timeout = v
}

func (m *GracefulShutdownParameters) SetSignal(v int64) {
	m.Signal = v
}

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

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

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

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

func (m *JobMetadata) SetStartedAt(v *timestamppb.Timestamp) {
	m.StartedAt = v
}

func (m *JobMetadata) SetFinishedAt(v *timestamppb.Timestamp) {
	m.FinishedAt = v
}

func (m *JobMetadata) SetDataExpiresAt(v *timestamppb.Timestamp) {
	m.DataExpiresAt = v
}

func (m *JobMetadata) SetStatus(v JobStatus) {
	m.Status = v
}

func (m *JobMetadata) SetStatusDetails(v string) {
	m.StatusDetails = v
}

func (m *JobMetadata) SetCreatedById(v string) {
	m.CreatedById = v
}

func (m *JobMetadata) SetProjectId(v string) {
	m.ProjectId = v
}

func (m *JobMetadata) SetParentJobId(v string) {
	m.ParentJobId = v
}

func (m *JobProgress) SetMessage(v string) {
	m.Message = v
}

func (m *JobProgress) SetProgress(v int64) {
	m.Progress = v
}

func (m *JobProgress) SetCreateTime(v *timestamppb.Timestamp) {
	m.CreateTime = v
}

func (m *SparkParameters) SetConnectorId(v string) {
	m.ConnectorId = v
}
