Class: OpenCensus::Trace::SpanBuilder::MessageEventBuilder

Inherits:
Struct
  • Object
show all
Defined in:
lib/opencensus/trace/span_builder.rb

Overview

Internal structure for holding message events.

Instance Attribute Summary collapse

Instance Attribute Details

#compressed_sizeObject

Returns the value of attribute compressed_size

Returns:

  • (Object)

    the current value of compressed_size



412
413
414
# File 'lib/opencensus/trace/span_builder.rb', line 412

def compressed_size
  @compressed_size
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



412
413
414
# File 'lib/opencensus/trace/span_builder.rb', line 412

def id
  @id
end

#timeObject

Returns the value of attribute time

Returns:

  • (Object)

    the current value of time



412
413
414
# File 'lib/opencensus/trace/span_builder.rb', line 412

def time
  @time
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



412
413
414
# File 'lib/opencensus/trace/span_builder.rb', line 412

def type
  @type
end

#uncompressed_sizeObject

Returns the value of attribute uncompressed_size

Returns:

  • (Object)

    the current value of uncompressed_size



412
413
414
# File 'lib/opencensus/trace/span_builder.rb', line 412

def uncompressed_size
  @uncompressed_size
end