Reference documentation and code samples for the Cloud Trace V2 API class Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent.
An event describing a message sent/received between Spans.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#compressed_size_bytes
def compressed_size_bytes() -> ::Integer
Returns
- (::Integer) — The number of compressed bytes sent or received. If missing assumed to be the same size as uncompressed.
#compressed_size_bytes=
def compressed_size_bytes=(value) -> ::Integer
Parameter
- value (::Integer) — The number of compressed bytes sent or received. If missing assumed to be the same size as uncompressed.
Returns
- (::Integer) — The number of compressed bytes sent or received. If missing assumed to be the same size as uncompressed.
#id
def id() -> ::Integer
Returns
- (::Integer) — 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.
#id=
def id=(value) -> ::Integer
Parameter
- value (::Integer) — 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.
Returns
- (::Integer) — 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.
#type
def type() -> ::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent::Type
Returns
- (::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent::Type) — Type of MessageEvent. Indicates whether the message was sent or received.
#type=
def type=(value) -> ::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent::Type
Parameter
- value (::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent::Type) — Type of MessageEvent. Indicates whether the message was sent or received.
Returns
- (::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent::Type) — Type of MessageEvent. Indicates whether the message was sent or received.
#uncompressed_size_bytes
def uncompressed_size_bytes() -> ::Integer
Returns
- (::Integer) — The number of uncompressed bytes sent or received.
#uncompressed_size_bytes=
def uncompressed_size_bytes=(value) -> ::Integer
Parameter
- value (::Integer) — The number of uncompressed bytes sent or received.
Returns
- (::Integer) — The number of uncompressed bytes sent or received.