Talent/src/V4beta1/Job.php
public function setJobBenefits($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\Talent\V4beta1\JobBenefit::class);
        $this->job_benefits = $arr;

        return $this;
    }
public function setJobBenefits($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Google\Cloud\Talent\V4beta1\JobBenefit::class);
        $this->job_benefits = $arr;

        return $this;
    }
public function setJobBenefits ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: ENUM , \ Google \ Cloud \ Talent \ V4beta1 \ JobBenefit :: class ) ; $ this -> job_benefits = $ arr ; return $ this ; }
Optional.
The benefits included with the job.

Generated from protobuf field <code>repeated .google.cloud.talent.v4beta1.JobBenefit job_benefits = 8;</code>
@param int[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Optional . The benefits included with the job .