public function setNumber($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Language\V1beta2\PartOfSpeech_Number::class);
        $this->number = $var;

        return $this;
    }
public function setNumber($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Language\V1beta2\PartOfSpeech_Number::class);
        $this->number = $var;

        return $this;
    }
public function setNumber ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Language \ V1beta2 \ PartOfSpeech_Number :: class ) ; $ this -> number = $ var ; return $ this ; }
The grammatical number.

Generated from protobuf field <code>.google.cloud.language.v1beta2.PartOfSpeech.Number number = 7;</code>
@param int $var
@return $this
The grammatical number .