Cloud Trace V2 API - Class Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent (v0.9.0)

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 and RECEIVED MessageEvents.

#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.
Returns
  • (::Integer) — An identifier for the MessageEvent's message that can be used to match SENT and RECEIVED MessageEvents.

#type

def type() -> ::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent::Type
Parameter
Returns

#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.