CommonProtos/src/DevTools/Source/V1/CloudWorkspaceSourceContext.php
public function setWorkspaceId($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\DevTools\Source\V1\CloudWorkspaceId::class);
        $this->workspace_id = $var;

        return $this;
    }
public function setWorkspaceId($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\DevTools\Source\V1\CloudWorkspaceId::class);
        $this->workspace_id = $var;

        return $this;
    }
public function setWorkspaceId ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ DevTools \ Source \ V1 \ CloudWorkspaceId :: class ) ; $ this -> workspace_id = $ var ; return $ this ; }
The ID of the workspace.

Generated from protobuf field <code>.google.devtools.source.v1.CloudWorkspaceId workspace_id = 1;</code>
@param \Google\Cloud\DevTools\Source\V1\CloudWorkspaceId $var
@return $this
The ID of the workspace .