class OpenTelemetry::Proto::Trace::V1::Status

Included Modules

Defined in:

proto/trace.pb.cr

Constant Summary

FIELDS = {1 => {name: :deprecated_code, pb_type: Status::DeprecatedStatusCode, crystal_type: Status::DeprecatedStatusCode, cast_type: Status::DeprecatedStatusCode?, native: false, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :code, pb_type: Status::StatusCode, crystal_type: Status::StatusCode, cast_type: Status::StatusCode?, 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(deprecated_code : Status::DeprecatedStatusCode | Nil = nil, message : String | Nil = nil, code : Status::StatusCode | Nil = nil) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def code : Status::StatusCode | Nil #

def code=(code : Status::StatusCode | Nil) #

def deprecated_code : Status::DeprecatedStatusCode | Nil #

def deprecated_code=(deprecated_code : Status::DeprecatedStatusCode | Nil) #

def message : String | Nil #

def message=(message : String | Nil) #

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

def to_protobuf #