class CloudRepoSourceContext extends Message

A CloudRepoSourceContext denotes a particular revision in a cloud repo (a repo hosted by the Google Cloud Platform).

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

Properties

protected $revision

Methods

__construct()

No description

getRepoId()

The ID of the repo.

$this
setRepoId(RepoId $var)

The ID of the repo.

string
getRevisionId()

A revision ID.

$this
setRevisionId(string $var)

A revision 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 27
__construct()

at line 38
RepoId getRepoId()

The ID of the repo.

Generated from protobuf field .google.devtools.source.v1.RepoId repo_id = 1;

Return Value

RepoId

at line 50
$this setRepoId(RepoId $var)

The ID of the repo.

Generated from protobuf field .google.devtools.source.v1.RepoId repo_id = 1;

Parameters

RepoId $var

Return Value

$this

at line 64
string getRevisionId()

A revision ID.

Generated from protobuf field string revision_id = 2;

Return Value

string

at line 76
$this setRevisionId(string $var)

A revision ID.

Generated from protobuf field string revision_id = 2;

Parameters

string $var

Return Value

$this

at line 90
string getAliasName()

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

Generated from protobuf field string alias_name = 3;

Return Value

string

at line 102
$this setAliasName(string $var)

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

Generated from protobuf field string alias_name = 3;

Parameters

string $var

Return Value

$this

at line 116
AliasContext getAliasContext()

An alias, which may be a branch or tag.

Generated from protobuf field .google.devtools.source.v1.AliasContext alias_context = 4;

Return Value

AliasContext

at line 128
$this setAliasContext(AliasContext $var)

An alias, which may be a branch or tag.

Generated from protobuf field .google.devtools.source.v1.AliasContext alias_context = 4;

Parameters

AliasContext $var

Return Value

$this

at line 139
string getRevision()

Return Value

string