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

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

        return $this;
    }
public function setDegreeTypes ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: ENUM , \ Google \ Cloud \ Talent \ V4beta1 \ DegreeType :: class ) ; $ this -> degree_types = $ arr ; return $ this ; }
Optional.
The desired education degrees for the job, such as Bachelors, Masters.

Generated from protobuf field <code>repeated .google.cloud.talent.v4beta1.DegreeType degree_types = 11;</code>
@param int[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Optional . The desired education degrees for the job such as Bachelors Masters .