SourceContext
class SourceContext extends Message
A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
Generated from protobuf message google.devtools.source.v1.SourceContext
Properties
protected | $context |
Methods
Constructor.
A SourceContext referring to a revision in a cloud repo.
A SourceContext referring to a snapshot in a cloud workspace.
A SourceContext referring to a snapshot in a cloud workspace.
A SourceContext referring to a Gerrit project.
A SourceContext referring to any third party Git repo (e.g. GitHub).
No description
Details
at line 37
__construct(array $data = NULL)
Constructor.
at line 48
CloudRepoSourceContext
getCloudRepo()
A SourceContext referring to a revision in a cloud repo.
Generated from protobuf field .google.devtools.source.v1.CloudRepoSourceContext cloud_repo = 1;
at line 60
$this
setCloudRepo(CloudRepoSourceContext $var)
A SourceContext referring to a revision in a cloud repo.
Generated from protobuf field .google.devtools.source.v1.CloudRepoSourceContext cloud_repo = 1;
at line 74
CloudWorkspaceSourceContext
getCloudWorkspace()
A SourceContext referring to a snapshot in a cloud workspace.
Generated from protobuf field .google.devtools.source.v1.CloudWorkspaceSourceContext cloud_workspace = 2;
at line 86
$this
setCloudWorkspace(CloudWorkspaceSourceContext $var)
A SourceContext referring to a snapshot in a cloud workspace.
Generated from protobuf field .google.devtools.source.v1.CloudWorkspaceSourceContext cloud_workspace = 2;
at line 100
GerritSourceContext
getGerrit()
A SourceContext referring to a Gerrit project.
Generated from protobuf field .google.devtools.source.v1.GerritSourceContext gerrit = 3;
at line 112
$this
setGerrit(GerritSourceContext $var)
A SourceContext referring to a Gerrit project.
Generated from protobuf field .google.devtools.source.v1.GerritSourceContext gerrit = 3;
at line 126
GitSourceContext
getGit()
A SourceContext referring to any third party Git repo (e.g. GitHub).
Generated from protobuf field .google.devtools.source.v1.GitSourceContext git = 6;
at line 138
$this
setGit(GitSourceContext $var)
A SourceContext referring to any third party Git repo (e.g. GitHub).
Generated from protobuf field .google.devtools.source.v1.GitSourceContext git = 6;