class GitSourceContext extends Message

A GitSourceContext denotes a particular revision in a third party Git repository (e.g. GitHub).

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

Methods

__construct()

No description

string
getUrl()

Git repository URL.

$this
setUrl(string $var)

Git repository URL.

string
getRevisionId()

Git commit hash.

$this
setRevisionId(string $var)

Git commit hash.

Details

at line 33
__construct()

at line 44
string getUrl()

Git repository URL.

Generated from protobuf field string url = 1;

Return Value

string

at line 56
$this setUrl(string $var)

Git repository URL.

Generated from protobuf field string url = 1;

Parameters

string $var

Return Value

$this

at line 71
string getRevisionId()

Git commit hash.

required.

Generated from protobuf field string revision_id = 2;

Return Value

string

at line 84
$this setRevisionId(string $var)

Git commit hash.

required.

Generated from protobuf field string revision_id = 2;

Parameters

string $var

Return Value

$this