Reference documentation and code samples for the Stackdriver Trace V2 Client class TimeEvent.
A time-stamped annotation or message event in the Span.
Generated from protobuf message google.devtools.cloudtrace.v2.Span.TimeEvent
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ time
Google\Protobuf\Timestamp
The timestamp indicating the time the event occurred.
↳ annotation
↳ message_event
Google\Cloud\Trace\V2\Span\TimeEvent\MessageEvent
An event describing a message sent/received between Spans.
getTime
The timestamp indicating the time the event occurred.
Generated from protobuf field .google.protobuf.Timestamp time = 1;
Google\Protobuf\Timestamp|null
hasTime
clearTime
setTime
The timestamp indicating the time the event occurred.
Generated from protobuf field .google.protobuf.Timestamp time = 1;
var
Google\Protobuf\Timestamp
$this
getAnnotation
Text annotation with a set of attributes.
Generated from protobuf field .google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
hasAnnotation
setAnnotation
Text annotation with a set of attributes.
Generated from protobuf field .google.devtools.cloudtrace.v2.Span.TimeEvent.Annotation annotation = 2;
$this
getMessageEvent
An event describing a message sent/received between Spans.
Generated from protobuf field .google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;
hasMessageEvent
setMessageEvent
An event describing a message sent/received between Spans.
Generated from protobuf field .google.devtools.cloudtrace.v2.Span.TimeEvent.MessageEvent message_event = 3;
$this
getValue
string