Class: Google::Cloud::Trace::V2::Span::TimeEvent::MessageEvent

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::Integer)

    The number of compressed bytes sent or received. If missing assumed to be the same size as uncompressed.



177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# File 'proto_docs/google/devtools/cloudtrace/v2/trace.rb', line 177

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



177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# File 'proto_docs/google/devtools/cloudtrace/v2/trace.rb', line 177

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.

Returns:



177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# File 'proto_docs/google/devtools/cloudtrace/v2/trace.rb', line 177

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.

Returns:

  • (::Integer)

    The number of uncompressed bytes sent or received.



177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# File 'proto_docs/google/devtools/cloudtrace/v2/trace.rb', line 177

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