struct OpenTelemetry::Proto::Common::V1::KeyValue

Included Modules

Defined in:

proto/common.pb.cr

Constant Summary

FIELDS = {1 => {name: :key, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :value, pb_type: AnyValue, crystal_type: AnyValue, cast_type: AnyValue?, native: false, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

def self.new(key : String | Nil = nil, value : AnyValue | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def key : String | Nil #

def key=(key : String | Nil) #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def value : AnyValue | Nil #

def value=(value : AnyValue | Nil) #