CommonProtos/src/DevTools/Source/V1/SourceContext.php
public function setCloudRepo($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\DevTools\Source\V1\CloudRepoSourceContext::class);
        $this->writeOneof(1, $var);

        return $this;
    }
public function setCloudRepo($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\DevTools\Source\V1\CloudRepoSourceContext::class);
        $this->writeOneof(1, $var);

        return $this;
    }
public function setCloudRepo ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ DevTools \ Source \ V1 \ CloudRepoSourceContext :: class ) ; $ this -> writeOneof ( 1 , $ var ) ; return $ this ; }
A SourceContext referring to a revision in a cloud repo.

Generated from protobuf field <code>.google.devtools.source.v1.CloudRepoSourceContext cloud_repo = 1;</code>
@param \Google\Cloud\DevTools\Source\V1\CloudRepoSourceContext $var
@return $this
A SourceContext referring to a revision in a cloud repo .