error = $error; } /** * @return string */ public function getError() { return $this->error; } /** * Output only. The job id; populated after the node enters RUNNING state. * * @param string $jobId */ public function setJobId($jobId) { $this->jobId = $jobId; } /** * @return string */ public function getJobId() { return $this->jobId; } /** * Output only. Node's prerequisite nodes. * * @param string[] $prerequisiteStepIds */ public function setPrerequisiteStepIds($prerequisiteStepIds) { $this->prerequisiteStepIds = $prerequisiteStepIds; } /** * @return string[] */ public function getPrerequisiteStepIds() { return $this->prerequisiteStepIds; } /** * Output only. The node state. * * Accepted values: NODE_STATE_UNSPECIFIED, BLOCKED, RUNNABLE, RUNNING, * COMPLETED, FAILED * * @param self::STATE_* $state */ public function setState($state) { $this->state = $state; } /** * @return self::STATE_* */ public function getState() { return $this->state; } /** * Output only. The name of the node. * * @param string $stepId */ public function setStepId($stepId) { $this->stepId = $stepId; } /** * @return string */ public function getStepId() { return $this->stepId; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(WorkflowNode::class, 'Google_Service_Dataproc_WorkflowNode');