class GerritSourceContext extends Message

A SourceContext referring to a Gerrit project.

Generated from protobuf message google.devtools.source.v1.GerritSourceContext

Properties

protected $revision

Methods

__construct()

No description

string
getHostUri()

The URI of a running Gerrit instance.

$this
setHostUri(string $var)

The URI of a running Gerrit instance.

string
getGerritProject()

The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name.

$this
setGerritProject(string $var)

The full project name within the host. Projects may be nested, so "project/subproject" is a valid project name.

string
getRevisionId()

A revision (commit) ID.

$this
setRevisionId(string $var)

A revision (commit) ID.

string
getAliasName()

The name of an alias (branch, tag, etc.).

$this
setAliasName(string $var)

The name of an alias (branch, tag, etc.).

getAliasContext()

An alias, which may be a branch or tag.

$this
setAliasContext(AliasContext $var)

An alias, which may be a branch or tag.

string
getRevision()

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;

Return Value

string

at line 57
$this setHostUri(string $var)

The URI of a running Gerrit instance.

Generated from protobuf field string host_uri = 1;

Parameters

string $var

Return Value

$this

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;

Return Value

string

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;

Parameters

string $var

Return Value

$this

at line 101
string getRevisionId()

A revision (commit) ID.

Generated from protobuf field string revision_id = 3;

Return Value

string

at line 113
$this setRevisionId(string $var)

A revision (commit) ID.

Generated from protobuf field string revision_id = 3;

Parameters

string $var

Return Value

$this

at line 127
string getAliasName()

The name of an alias (branch, tag, etc.).

Generated from protobuf field string alias_name = 4;

Return Value

string

at line 139
$this setAliasName(string $var)

The name of an alias (branch, tag, etc.).

Generated from protobuf field string alias_name = 4;

Parameters

string $var

Return Value

$this

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;

Return Value

AliasContext

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;

Parameters

AliasContext $var

Return Value

$this

at line 176
string getRevision()

Return Value

string