Reference documentation and code samples for the Common Protos for Google Cloud APIs V1 Client class ExtendedSourceContext.
An ExtendedSourceContext is a SourceContext combined with additional details describing the context.
Generated from protobuf message google.devtools.source.v1.ExtendedSourceContext
Namespace
Google \ Cloud \ DevTools \ Source \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ context |
SourceContext
Any source context. |
↳ labels |
array|Google\Protobuf\Internal\MapField
Labels with user defined metadata. |
getContext
Any source context.
| Returns | |
|---|---|
| Type | Description |
SourceContext|null |
|
hasContext
clearContext
setContext
Any source context.
| Parameter | |
|---|---|
| Name | Description |
var |
SourceContext
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLabels
Labels with user defined metadata.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\MapField |
|
setLabels
Labels with user defined metadata.
| Parameter | |
|---|---|
| Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
| Returns | |
|---|---|
| Type | Description |
$this |
|