public function setPhpMetadataNamespace($var)
    {
        GPBUtil::checkString($var, True);
        $this->php_metadata_namespace = $var;
        $this->has_php_metadata_namespace = true;

        return $this;
    }