Class: Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent
- Inherits:
-
Object
- Object
- Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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
andRECEIVED
MessageEvents. -
#type ⇒ ::Google::Cloud::Trace::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, the compressed size is assumed to be the same size as the uncompressed size.
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
# File 'proto_docs/google/devtools/cloudtrace/v2/trace.rb', line 182 class MessageEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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.
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
# File 'proto_docs/google/devtools/cloudtrace/v2/trace.rb', line 182 class MessageEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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::Cloud::Trace::V2::Span::TimeEvent::MessageEvent::Type
Returns Type of MessageEvent. Indicates whether the message was sent or received.
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
# File 'proto_docs/google/devtools/cloudtrace/v2/trace.rb', line 182 class MessageEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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.
182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 |
# File 'proto_docs/google/devtools/cloudtrace/v2/trace.rb', line 182 class MessageEvent include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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 |