public sealed class Span.Types.TimeEvent : IMessage<Span.Types.TimeEvent>, IEquatable<Span.Types.TimeEvent>, IDeepCloneable<Span.Types.TimeEvent>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Trace v2 API class Span.Types.TimeEvent.
A time-stamped annotation or message event in the Span.
Implements
IMessageSpanTypesTimeEvent, IEquatableSpanTypesTimeEvent, IDeepCloneableSpanTypesTimeEvent, IBufferMessage, IMessageNamespace
Google.Cloud.Trace.V2Assembly
Google.Cloud.Trace.V2.dll
Constructors
TimeEvent()
public TimeEvent()
TimeEvent(TimeEvent)
public TimeEvent(Span.Types.TimeEvent other)
Parameter | |
---|---|
Name | Description |
other |
SpanTypesTimeEvent |
Properties
Annotation
public Span.Types.TimeEvent.Types.Annotation Annotation { get; set; }
Text annotation with a set of attributes.
Property Value | |
---|---|
Type | Description |
SpanTypesTimeEventTypesAnnotation |
MessageEvent
public Span.Types.TimeEvent.Types.MessageEvent MessageEvent { get; set; }
An event describing a message sent/received between Spans.
Property Value | |
---|---|
Type | Description |
SpanTypesTimeEventTypesMessageEvent |
Time
public Timestamp Time { get; set; }
The timestamp indicating the time the event occurred.
Property Value | |
---|---|
Type | Description |
Timestamp |
ValueCase
public Span.Types.TimeEvent.ValueOneofCase ValueCase { get; }
Property Value | |
---|---|
Type | Description |
SpanTypesTimeEventValueOneofCase |