Common Protos for Google Cloud APIs V1 Client - Class ExtendedSourceContext (0.5.1)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ context Google\Cloud\DevTools\Source\V1\SourceContext

Any source context.

↳ labels array|Google\Protobuf\Internal\MapField

Labels with user defined metadata.

getContext

Any source context.

Returns
Type Description
Google\Cloud\DevTools\Source\V1\SourceContext|null

hasContext

clearContext

setContext

Any source context.

Parameter
Name Description
var Google\Cloud\DevTools\Source\V1\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