Google Cloud Ces V1 Client - Class DiagnosticInfo (0.1.1)

Reference documentation and code samples for the Google Cloud Ces V1 Client class DiagnosticInfo.

Contains execution details during the processing.

Generated from protobuf message google.cloud.ces.v1.SessionOutput.DiagnosticInfo

Namespace

Google \ Cloud \ Ces \ V1 \ SessionOutput

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ messages array<Google\Cloud\Ces\V1\Message>

List of the messages that happened during the processing.

↳ root_span Google\Cloud\Ces\V1\Span

A trace of the entire request processing, represented as a root span. This span can contain nested child spans for specific operations.

getMessages

List of the messages that happened during the processing.

Returns
Type Description
Google\Protobuf\RepeatedField<Google\Cloud\Ces\V1\Message>

setMessages

List of the messages that happened during the processing.

Parameter
Name Description
var array<Google\Cloud\Ces\V1\Message>
Returns
Type Description
$this

getRootSpan

A trace of the entire request processing, represented as a root span.

This span can contain nested child spans for specific operations.

Returns
Type Description
Google\Cloud\Ces\V1\Span|null

hasRootSpan

clearRootSpan

setRootSpan

A trace of the entire request processing, represented as a root span.

This span can contain nested child spans for specific operations.

Parameter
Name Description
var Google\Cloud\Ces\V1\Span
Returns
Type Description
$this