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

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

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

Generated from protobuf field <code>.google.cloud.language.v1.AnnotateTextRequest.Features features = 2 [(.google.api.field_behavior) = REQUIRED];</code>
@param \Google\Cloud\Language\V1\AnnotateTextRequest\Features $var
@return $this
The enabled features .