public function setThreat($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\WebRisk\V1beta1\SearchUrisResponse_ThreatUri::class);
        $this->threat = $var;

        return $this;
    }