class RepoId extends Message

A unique identifier for a cloud repo.

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

Properties

protected $id

Methods

__construct(array $data = NULL)

Constructor.

getProjectRepoId()

A combination of a project ID and a repo name.

$this
setProjectRepoId(ProjectRepoId $var)

A combination of a project ID and a repo name.

string
getUid()

A server-assigned, globally unique identifier.

$this
setUid(string $var)

A server-assigned, globally unique identifier.

string
getId()

No description

Details

at line 32
__construct(array $data = NULL)

Constructor.

Parameters

array $data { Optional. Data for populating the Message object.

@type \Google\Cloud\DevTools\Source\V1\ProjectRepoId $project_repo_id
      A combination of a project ID and a repo name.
@type string $uid
      A server-assigned, globally unique identifier.

}

at line 43
ProjectRepoId getProjectRepoId()

A combination of a project ID and a repo name.

Generated from protobuf field .google.devtools.source.v1.ProjectRepoId project_repo_id = 1;

Return Value

ProjectRepoId

at line 55
$this setProjectRepoId(ProjectRepoId $var)

A combination of a project ID and a repo name.

Generated from protobuf field .google.devtools.source.v1.ProjectRepoId project_repo_id = 1;

Parameters

ProjectRepoId $var

Return Value

$this

at line 69
string getUid()

A server-assigned, globally unique identifier.

Generated from protobuf field string uid = 2;

Return Value

string

at line 81
$this setUid(string $var)

A server-assigned, globally unique identifier.

Generated from protobuf field string uid = 2;

Parameters

string $var

Return Value

$this

at line 92
string getId()

Return Value

string