Class Span.Types.TimeEvent (2.2.0)

public sealed class TimeEvent : IMessage<Span.Types.TimeEvent>, IEquatable<Span.Types.TimeEvent>, IDeepCloneable<Span.Types.TimeEvent>, IBufferMessage, IMessage

A time-stamped annotation or message event in the Span.

Inheritance

Object > Span.Types.TimeEvent

Namespace

Google.Cloud.Trace.V2

Assembly

Google.Cloud.Trace.V2.dll

Constructors

TimeEvent()

public TimeEvent()

TimeEvent(Span.Types.TimeEvent)

public TimeEvent(Span.Types.TimeEvent other)
Parameter
NameDescription
otherSpan.Types.TimeEvent

Properties

Annotation

public Span.Types.TimeEvent.Types.Annotation Annotation { get; set; }

Text annotation with a set of attributes.

Property Value
TypeDescription
Span.Types.TimeEvent.Types.Annotation

MessageEvent

public Span.Types.TimeEvent.Types.MessageEvent MessageEvent { get; set; }

An event describing a message sent/received between Spans.

Property Value
TypeDescription
Span.Types.TimeEvent.Types.MessageEvent

Time

public Timestamp Time { get; set; }

The timestamp indicating the time the event occurred.

Property Value
TypeDescription
Timestamp

ValueCase

public Span.Types.TimeEvent.ValueOneofCase ValueCase { get; }
Property Value
TypeDescription
Span.Types.TimeEvent.ValueOneofCase