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

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
NameDescription
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
TypeDescription
Google\Cloud\DevTools\Source\V1\SourceContext|null

hasContext

clearContext

setContext

Any source context.

Parameter
NameDescription
var Google\Cloud\DevTools\Source\V1\SourceContext
Returns
TypeDescription
$this

getLabels

Labels with user defined metadata.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

Labels with user defined metadata.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this