class ExtendedSourceContext extends Message

An ExtendedSourceContext is a SourceContext combined with additional details describing the context.

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

Methods

__construct(array $data = NULL)

Constructor.

getContext()

Any source context.

$this
setContext(SourceContext $var)

Any source context.

MapField
getLabels()

Labels with user defined metadata.

$this
setLabels(array|MapField $var)

Labels with user defined metadata.

Details

at line 44
__construct(array $data = NULL)

Constructor.

Parameters

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

@type \Google\Cloud\DevTools\Source\V1\SourceContext $context
      Any source context.
@type array|\Google\Protobuf\Internal\MapField $labels
      Labels with user defined metadata.

}

at line 55
SourceContext getContext()

Any source context.

Generated from protobuf field .google.devtools.source.v1.SourceContext context = 1;

Return Value

SourceContext

at line 67
$this setContext(SourceContext $var)

Any source context.

Generated from protobuf field .google.devtools.source.v1.SourceContext context = 1;

Parameters

SourceContext $var

Return Value

$this

at line 81
MapField getLabels()

Labels with user defined metadata.

Generated from protobuf field map<string, string> labels = 2;

Return Value

MapField

at line 93
$this setLabels(array|MapField $var)

Labels with user defined metadata.

Generated from protobuf field map<string, string> labels = 2;

Parameters

array|MapField $var

Return Value

$this