public function setReportLocation($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\ErrorReporting\V1beta1\SourceLocation::class);
        $this->report_location = $var;

        return $this;
    }