Dataproc/src/V1/Job.php
public function setPigJob($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\PigJob::class);
        $this->writeOneof(7, $var);

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

        return $this;
    }
public function setPigJob ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dataproc \ V1 \ PigJob :: class ) ; $ this -> writeOneof ( 7 , $ var ) ; return $ this ; }
Job is a Pig job.

Generated from protobuf field <code>.google.cloud.dataproc.v1.PigJob pig_job = 7;</code>
@param \Google\Cloud\Dataproc\V1\PigJob $var
@return $this
Job is a Pig job .