Talent/src/V4beta1/Degree.php
public function setDegreeType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Talent\V4beta1\DegreeType::class);
        $this->degree_type = $var;

        return $this;
    }
public function setDegreeType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Talent\V4beta1\DegreeType::class);
        $this->degree_type = $var;

        return $this;
    }
public function setDegreeType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Talent \ V4beta1 \ DegreeType :: class ) ; $ this -> degree_type = $ var ; return $ this ; }
Optional.
ISCED degree type.

Generated from protobuf field <code>.google.cloud.talent.v4beta1.DegreeType degree_type = 1;</code>
@param int $var
@return $this
Optional . ISCED degree type .