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

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

        return $this;
    }
public function setHadoopJob ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dataproc \ V1 \ HadoopJob :: class ) ; $ this -> writeOneof ( 2 , $ var ) ; return $ this ; }
Job is a Hadoop job.

Generated from protobuf field <code>.google.cloud.dataproc.v1.HadoopJob hadoop_job = 2;</code>
@param \Google\Cloud\Dataproc\V1\HadoopJob $var
@return $this
Job is a Hadoop job .