Talent/src/V4beta1/SearchProfilesResponse.php
public function setSpellCorrection($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Talent\V4beta1\SpellingCorrection::class);
        $this->spell_correction = $var;

        return $this;
    }
public function setSpellCorrection($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Talent\V4beta1\SpellingCorrection::class);
        $this->spell_correction = $var;

        return $this;
    }
public function setSpellCorrection ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Talent \ V4beta1 \ SpellingCorrection :: class ) ; $ this -> spell_correction = $ var ; return $ this ; }
The spell checking result, and correction.

Generated from protobuf field <code>.google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 2;</code>
@param \Google\Cloud\Talent\V4beta1\SpellingCorrection $var
@return $this
The spell checking result and correction .