public function setFeatures($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Language\V1\AnnotateTextRequest_Features::class);
        $this->features = $var;

        return $this;
    }