public function setPersonNames($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Talent\V4beta1\PersonName::class);
        $this->person_names = $arr;

        return $this;
    }
public function setPersonNames($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Talent\V4beta1\PersonName::class);
        $this->person_names = $arr;

        return $this;
    }
public function setPersonNames ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: MESSAGE , \ Google \ Cloud \ Talent \ V4beta1 \ PersonName :: class ) ; $ this -> person_names = $ arr ; return $ this ; }
Optional.
The names of the candidate this profile references.
Currently only one person name is supported.

Generated from protobuf field <code>repeated .google.cloud.talent.v4beta1.PersonName person_names = 11;</code>
@param \Google\Cloud\Talent\V4beta1\PersonName[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Optional . The names of the candidate this profile references . Currently only one person name is supported .