Language/src/V1beta2/Entity.php
public function setMetadata($var)
    {
        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
        $this->metadata = $arr;

        return $this;
    }
public function setMetadata($var)
    {
        $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
        $this->metadata = $arr;

        return $this;
    }
public function setMetadata ( $ var ) { $ arr = GPBUtil :: checkMapField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: STRING , \ Google \ Protobuf \ Internal \ GPBType :: STRING ) ; $ this -> metadata = $ arr ; return $ this ; }
Metadata associated with the entity.
Currently, Wikipedia URLs and Knowledge Graph MIDs are provided, if
available. The associated keys are "wikipedia_url" and "mid", respectively.

Generated from protobuf field <code>map<string, string> metadata = 3;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this
Metadata associated with the entity . Currently Wikipedia URLs and Knowledge Graph MIDs are provided if available . The associated keys are wikipedia_url and mid respectively .