Spanner/src/Admin/Instance/V1/UpdateInstanceMetadata.php
public function setInstance($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Spanner\Admin\Instance\V1\Instance::class);
        $this->instance = $var;

        return $this;
    }
public function setInstance($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Spanner\Admin\Instance\V1\Instance::class);
        $this->instance = $var;

        return $this;
    }
public function setInstance ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Spanner \ Admin \ Instance \ V1 \ Instance :: class ) ; $ this -> instance = $ var ; return $ this ; }
The desired end state of the update.

Generated from protobuf field <code>.google.spanner.admin.instance.v1.Instance instance = 1;</code>
@param \Google\Cloud\Spanner\Admin\Instance\V1\Instance $var
@return $this
The desired end state of the update .