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
Constructor.
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 54
__construct(array $data = NULL)
Constructor.
at line 65
string
getHostUri()
The URI of a running Gerrit instance.
Generated from protobuf field string host_uri = 1;
at line 77
$this
setHostUri(string $var)
The URI of a running Gerrit instance.
Generated from protobuf field string host_uri = 1;
at line 93
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 107
$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 121
string
getRevisionId()
A revision (commit) ID.
Generated from protobuf field string revision_id = 3;
at line 133
$this
setRevisionId(string $var)
A revision (commit) ID.
Generated from protobuf field string revision_id = 3;
at line 147
string
getAliasName()
The name of an alias (branch, tag, etc.).
Generated from protobuf field string alias_name = 4;
at line 159
$this
setAliasName(string $var)
The name of an alias (branch, tag, etc.).
Generated from protobuf field string alias_name = 4;
at line 173
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 185
$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;