Spanner/src/V1/ResultSet.php
public function setMetadata($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Spanner\V1\ResultSetMetadata::class);
        $this->metadata = $var;

        return $this;
    }
public function setMetadata($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Spanner\V1\ResultSetMetadata::class);
        $this->metadata = $var;

        return $this;
    }
public function setMetadata ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Spanner \ V1 \ ResultSetMetadata :: class ) ; $ this -> metadata = $ var ; return $ this ; }
Metadata about the result set, such as row type information.

Generated from protobuf field <code>.google.spanner.v1.ResultSetMetadata metadata = 1;</code>
@param \Google\Cloud\Spanner\V1\ResultSetMetadata $var
@return $this
Metadata about the result set such as row type information .