Dataproc/src/V1/OrderedJob.php
public function setSparkJob($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\SparkJob::class);
        $this->writeOneof(3, $var);

        return $this;
    }
public function setSparkJob($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\SparkJob::class);
        $this->writeOneof(3, $var);

        return $this;
    }
public function setSparkJob ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dataproc \ V1 \ SparkJob :: class ) ; $ this -> writeOneof ( 3 , $ var ) ; return $ this ; }
Job is a Spark job.

Generated from protobuf field <code>.google.cloud.dataproc.v1.SparkJob spark_job = 3;</code>
@param \Google\Cloud\Dataproc\V1\SparkJob $var
@return $this
Job is a Spark job .