Class SpanStatusMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.marshal.Marshaler
io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
io.opentelemetry.exporter.internal.otlp.traces.SpanStatusMarshaler
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateSpanStatusMarshaler(ProtoEnumInfo protoStatusCode, byte[] descriptionUtf8) -
Method Summary
Modifier and TypeMethodDescriptionprivate static intcomputeSize(ProtoEnumInfo protoStatusCode, byte[] descriptionUtf8) (package private) static SpanStatusMarshalercreate(StatusData status) (package private) static ProtoEnumInfotoProtoSpanStatus(StatusData status) voidwriteTo(Serializer output) Methods inherited from class io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
getBinarySerializedSizeMethods inherited from class io.opentelemetry.exporter.internal.marshal.Marshaler
writeBinaryTo, writeJsonTo, writeJsonTo, writeJsonWithNewline
-
Field Details
-
protoStatusCode
-
descriptionUtf8
private final byte[] descriptionUtf8
-
-
Constructor Details
-
SpanStatusMarshaler
-
-
Method Details
-
create
-
writeTo
- Specified by:
writeToin classMarshaler- Throws:
IOException
-
computeSize
-
toProtoSpanStatus
-