GerritSourceContext
class GerritSourceContext extends Message
A SourceContext referring to a Gerrit project.
Generated from protobuf message google.devtools.source.v1.GerritSourceContext
Properties
protected | $revision |
Methods
No description
The URI of a running Gerrit instance.
The URI of a running Gerrit instance.
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name.
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name.
A revision (commit) ID.
A revision (commit) ID.
The name of an alias (branch, tag, etc.).
The name of an alias (branch, tag, etc.).
An alias, which may be a branch or tag.
No description
Details
at line 34
__construct()
at line 45
string
getHostUri()
The URI of a running Gerrit instance.
Generated from protobuf field string host_uri = 1;
at line 57
$this
setHostUri(string $var)
The URI of a running Gerrit instance.
Generated from protobuf field string host_uri = 1;
at line 73
string
getGerritProject()
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name.
The "repo name" is hostURI/project.
Generated from protobuf field string gerrit_project = 2;
at line 87
$this
setGerritProject(string $var)
The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name.
The "repo name" is hostURI/project.
Generated from protobuf field string gerrit_project = 2;
at line 101
string
getRevisionId()
A revision (commit) ID.
Generated from protobuf field string revision_id = 3;
at line 113
$this
setRevisionId(string $var)
A revision (commit) ID.
Generated from protobuf field string revision_id = 3;
at line 127
string
getAliasName()
The name of an alias (branch, tag, etc.).
Generated from protobuf field string alias_name = 4;
at line 139
$this
setAliasName(string $var)
The name of an alias (branch, tag, etc.).
Generated from protobuf field string alias_name = 4;
at line 153
AliasContext
getAliasContext()
An alias, which may be a branch or tag.
Generated from protobuf field .google.devtools.source.v1.AliasContext alias_context = 5;
at line 165
$this
setAliasContext(AliasContext $var)
An alias, which may be a branch or tag.
Generated from protobuf field .google.devtools.source.v1.AliasContext alias_context = 5;