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, the compressed size is assumed to be the same size as the uncompressed size.
#compressed_size_bytes=
def compressed_size_bytes=(value) -> ::Integer
Parameter
- value (::Integer) — The number of compressed bytes sent or received. If missing, the compressed size is assumed to be the same size as the uncompressed size.
Returns
- (::Integer) — The number of compressed bytes sent or received. If missing, the compressed size is assumed to be the same size as the uncompressed size.
#id
def id() -> ::Integer
Returns
-
(::Integer) — An identifier for the MessageEvent's message that can be used to match
SENT
andRECEIVED
MessageEvents.
#id=
def id=(value) -> ::Integer
Parameter
-
value (::Integer) — An identifier for the MessageEvent's message that can be used to match
SENT
andRECEIVED
MessageEvents.
Returns
-
(::Integer) — An identifier for the MessageEvent's message that can be used to match
SENT
andRECEIVED
MessageEvents.
#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.