public sealed class MessageEvent : IMessage<Span.Types.TimeEvent.Types.MessageEvent>, IEquatable<Span.Types.TimeEvent.Types.MessageEvent>, IDeepCloneable<Span.Types.TimeEvent.Types.MessageEvent>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Trace v2 API class Span.Types.TimeEvent.Types.MessageEvent.
An event describing a message sent/received between Spans.
Implements
IMessage<Span.Types.TimeEvent.Types.MessageEvent>, IEquatable<Span.Types.TimeEvent.Types.MessageEvent>, IDeepCloneable<Span.Types.TimeEvent.Types.MessageEvent>, IBufferMessage, IMessageNamespace
Google.Cloud.Trace.V2Assembly
Google.Cloud.Trace.V2.dll
Constructors
MessageEvent()
public MessageEvent()
MessageEvent(Span.Types.TimeEvent.Types.MessageEvent)
public MessageEvent(Span.Types.TimeEvent.Types.MessageEvent other)
Parameter | |
---|---|
Name | Description |
other | Span.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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
Span.Types.TimeEvent.Types.MessageEvent.Types.Type |
UncompressedSizeBytes
public long UncompressedSizeBytes { get; set; }
The number of uncompressed bytes sent or received.
Property Value | |
---|---|
Type | Description |
Int64 |