class OpenTelemetry::Proto::Trace::V1::Status
- OpenTelemetry::Proto::Trace::V1::Status
- Reference
- Object
Included Modules
- Protobuf::Message
Defined in:
proto/trace.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .new(deprecated_code : Status::DeprecatedStatusCode | Nil = nil, message : String | Nil = nil, code : Status::StatusCode | Nil = nil)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #code : Status::StatusCode | Nil
- #code=(code : Status::StatusCode | Nil)
- #deprecated_code : Status::DeprecatedStatusCode | Nil
- #deprecated_code=(deprecated_code : Status::DeprecatedStatusCode | Nil)
- #message : String | Nil
- #message=(message : String | Nil)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(deprecated_code : Status::DeprecatedStatusCode | Nil = nil, message : String | Nil = nil, code : Status::StatusCode | Nil = nil)
#