Talent/src/V4beta1/Address.php
public function setUsage($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Talent\V4beta1\ContactInfoUsage::class);
        $this->usage = $var;

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

        return $this;
    }
public function setUsage ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Talent \ V4beta1 \ ContactInfoUsage :: class ) ; $ this -> usage = $ var ; return $ this ; }
Optional.
The usage of the address. For example, SCHOOL, WORK, PERSONAL.

Generated from protobuf field <code>.google.cloud.talent.v4beta1.ContactInfoUsage usage = 1;</code>
@param int $var
@return $this
Optional . The usage of the address . For example SCHOOL WORK PERSONAL .