Class Span.Types.TimeEvent.Types.MessageEvent (2.2.0)

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

An event describing a message sent/received between Spans.

Inheritance

Object > Span.Types.TimeEvent.Types.MessageEvent

Namespace

Google.Cloud.Trace.V2

Assembly

Google.Cloud.Trace.V2.dll

Constructors

MessageEvent()

public MessageEvent()

MessageEvent(Span.Types.TimeEvent.Types.MessageEvent)

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

Properties

CompressedSizeBytes

public long CompressedSizeBytes { get; set; }

The number of compressed bytes sent or received. If missing assumed to be the same size as uncompressed.

Property Value
TypeDescription
Int64

Id

public long Id { get; set; }

An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents. It is recommended to be unique within a Span.

Property Value
TypeDescription
Int64

Type

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

Type of MessageEvent. Indicates whether the message was sent or received.

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

UncompressedSizeBytes

public long UncompressedSizeBytes { get; set; }

The number of uncompressed bytes sent or received.

Property Value
TypeDescription
Int64