public function setTag($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Language\V1beta2\PartOfSpeech_Tag::class);
        $this->tag = $var;

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

        return $this;
    }
public function setTag ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Language \ V1beta2 \ PartOfSpeech_Tag :: class ) ; $ this -> tag = $ var ; return $ this ; }
The part of speech tag.

Generated from protobuf field <code>.google.cloud.language.v1beta2.PartOfSpeech.Tag tag = 1;</code>
@param int $var
@return $this
The part of speech tag .