Dataproc/src/V1beta2/OrderedJob.php
public function setPysparkJob($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\PySparkJob::class);
        $this->writeOneof(4, $var);

        return $this;
    }
public function setPysparkJob($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\PySparkJob::class);
        $this->writeOneof(4, $var);

        return $this;
    }
public function setPysparkJob ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dataproc \ V1beta2 \ PySparkJob :: class ) ; $ this -> writeOneof ( 4 , $ var ) ; return $ this ; }
Job is a Pyspark job.

Generated from protobuf field <code>.google.cloud.dataproc.v1beta2.PySparkJob pyspark_job = 4;</code>
@param \Google\Cloud\Dataproc\V1beta2\PySparkJob $var
@return $this
Job is a Pyspark job .