cloudRepo = $cloudRepo;
}
/**
* @return CloudRepoSourceContext
*/
public function getCloudRepo()
{
return $this->cloudRepo;
}
/**
* @param GerritSourceContext
*/
public function setGerrit(GerritSourceContext $gerrit)
{
$this->gerrit = $gerrit;
}
/**
* @return GerritSourceContext
*/
public function getGerrit()
{
return $this->gerrit;
}
/**
* @param GitSourceContext
*/
public function setGit(GitSourceContext $git)
{
$this->git = $git;
}
/**
* @return GitSourceContext
*/
public function getGit()
{
return $this->git;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(SourceContext::class, 'Google_Service_ContainerAnalysis_SourceContext');