Class: Google::Devtools::Cloudtrace::V2::Span::TimeEvent::MessageEvent
- Inherits:
-
Object
- Object
- Google::Devtools::Cloudtrace::V2::Span::TimeEvent::MessageEvent
- Defined in:
- lib/google/cloud/trace/v2/doc/google/devtools/cloudtrace/v2/trace.rb
Overview
An event describing a message sent/received between Spans.
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
-
#compressed_size_bytes ⇒ Integer
The number of compressed bytes sent or received.
-
#id ⇒ Integer
An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents.
-
#type ⇒ Google::Devtools::Cloudtrace::V2::Span::TimeEvent::MessageEvent::Type
Type of MessageEvent.
-
#uncompressed_size_bytes ⇒ Integer
The number of uncompressed bytes sent or received.
Instance Attribute Details
#compressed_size_bytes ⇒ Integer
Returns The number of compressed bytes sent or received. If missing assumed to be the same size as uncompressed.
147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/google/cloud/trace/v2/doc/google/devtools/cloudtrace/v2/trace.rb', line 147 class MessageEvent # Indicates whether the message was sent or received. module Type # Unknown event type. TYPE_UNSPECIFIED = 0 # Indicates a sent message. SENT = 1 # Indicates a received message. RECEIVED = 2 end end |
#id ⇒ Integer
Returns 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.
147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/google/cloud/trace/v2/doc/google/devtools/cloudtrace/v2/trace.rb', line 147 class MessageEvent # Indicates whether the message was sent or received. module Type # Unknown event type. TYPE_UNSPECIFIED = 0 # Indicates a sent message. SENT = 1 # Indicates a received message. RECEIVED = 2 end end |
#type ⇒ Google::Devtools::Cloudtrace::V2::Span::TimeEvent::MessageEvent::Type
Returns Type of MessageEvent. Indicates whether the message was sent or received.
147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/google/cloud/trace/v2/doc/google/devtools/cloudtrace/v2/trace.rb', line 147 class MessageEvent # Indicates whether the message was sent or received. module Type # Unknown event type. TYPE_UNSPECIFIED = 0 # Indicates a sent message. SENT = 1 # Indicates a received message. RECEIVED = 2 end end |
#uncompressed_size_bytes ⇒ Integer
Returns The number of uncompressed bytes sent or received.
147 148 149 150 151 152 153 154 155 156 157 158 159 |
# File 'lib/google/cloud/trace/v2/doc/google/devtools/cloudtrace/v2/trace.rb', line 147 class MessageEvent # Indicates whether the message was sent or received. module Type # Unknown event type. TYPE_UNSPECIFIED = 0 # Indicates a sent message. SENT = 1 # Indicates a received message. RECEIVED = 2 end end |