flinkJob = $flinkJob; } /** * @return FlinkJob */ public function getFlinkJob() { return $this->flinkJob; } /** * Optional. Job is a Hadoop job. * * @param HadoopJob $hadoopJob */ public function setHadoopJob(HadoopJob $hadoopJob) { $this->hadoopJob = $hadoopJob; } /** * @return HadoopJob */ public function getHadoopJob() { return $this->hadoopJob; } /** * Optional. Job is a Hive job. * * @param HiveJob $hiveJob */ public function setHiveJob(HiveJob $hiveJob) { $this->hiveJob = $hiveJob; } /** * @return HiveJob */ public function getHiveJob() { return $this->hiveJob; } /** * Optional. The labels to associate with this job.Label keys must be between * 1 and 63 characters long, and must conform to the following regular * expression: \p{Ll}\p{Lo}{0,62}Label values must be between 1 and 63 * characters long, and must conform to the following regular expression: * \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels can be associated with a * given job. * * @param string[] $labels */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * Optional. Job is a Pig job. * * @param PigJob $pigJob */ public function setPigJob(PigJob $pigJob) { $this->pigJob = $pigJob; } /** * @return PigJob */ public function getPigJob() { return $this->pigJob; } /** * Optional. The optional list of prerequisite job step_ids. If not specified, * the job will start at the beginning of workflow. * * @param string[] $prerequisiteStepIds */ public function setPrerequisiteStepIds($prerequisiteStepIds) { $this->prerequisiteStepIds = $prerequisiteStepIds; } /** * @return string[] */ public function getPrerequisiteStepIds() { return $this->prerequisiteStepIds; } /** * Optional. Job is a Presto job. * * @param PrestoJob $prestoJob */ public function setPrestoJob(PrestoJob $prestoJob) { $this->prestoJob = $prestoJob; } /** * @return PrestoJob */ public function getPrestoJob() { return $this->prestoJob; } /** * Optional. Job is a PySpark job. * * @param PySparkJob $pysparkJob */ public function setPysparkJob(PySparkJob $pysparkJob) { $this->pysparkJob = $pysparkJob; } /** * @return PySparkJob */ public function getPysparkJob() { return $this->pysparkJob; } /** * Optional. Job scheduling configuration. * * @param JobScheduling $scheduling */ public function setScheduling(JobScheduling $scheduling) { $this->scheduling = $scheduling; } /** * @return JobScheduling */ public function getScheduling() { return $this->scheduling; } /** * Optional. Job is a Spark job. * * @param SparkJob $sparkJob */ public function setSparkJob(SparkJob $sparkJob) { $this->sparkJob = $sparkJob; } /** * @return SparkJob */ public function getSparkJob() { return $this->sparkJob; } /** * Optional. Job is a SparkR job. * * @param SparkRJob $sparkRJob */ public function setSparkRJob(SparkRJob $sparkRJob) { $this->sparkRJob = $sparkRJob; } /** * @return SparkRJob */ public function getSparkRJob() { return $this->sparkRJob; } /** * Optional. Job is a SparkSql job. * * @param SparkSqlJob $sparkSqlJob */ public function setSparkSqlJob(SparkSqlJob $sparkSqlJob) { $this->sparkSqlJob = $sparkSqlJob; } /** * @return SparkSqlJob */ public function getSparkSqlJob() { return $this->sparkSqlJob; } /** * Required. The step id. The id must be unique among all jobs within the * template.The step id is used as prefix for job id, as job goog-dataproc- * workflow-step-id label, and in prerequisiteStepIds field from other * steps.The id must contain only letters (a-z, A-Z), numbers (0-9), * underscores (_), and hyphens (-). Cannot begin or end with underscore or * hyphen. Must consist of between 3 and 50 characters. * * @param string $stepId */ public function setStepId($stepId) { $this->stepId = $stepId; } /** * @return string */ public function getStepId() { return $this->stepId; } /** * Optional. Job is a Trino job. * * @param TrinoJob $trinoJob */ public function setTrinoJob(TrinoJob $trinoJob) { $this->trinoJob = $trinoJob; } /** * @return TrinoJob */ public function getTrinoJob() { return $this->trinoJob; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(OrderedJob::class, 'Google_Service_Dataproc_OrderedJob');