Class InstrumentationScopeMarshaler.RealInstrumentationScopeMarshaler
- java.lang.Object
-
- io.opentelemetry.exporter.internal.marshal.Marshaler
-
- io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
-
- io.opentelemetry.exporter.internal.otlp.InstrumentationScopeMarshaler.RealInstrumentationScopeMarshaler
-
- Enclosing class:
- InstrumentationScopeMarshaler
private static final class InstrumentationScopeMarshaler.RealInstrumentationScopeMarshaler extends MarshalerWithSize
-
-
Field Summary
Fields Modifier and Type Field Description private KeyValueMarshaler[]
attributes
private byte[]
name
private byte[]
version
-
Constructor Summary
Constructors Constructor Description RealInstrumentationScopeMarshaler(byte[] name, byte[] version, KeyValueMarshaler[] attributes)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static int
computeSize(byte[] name, byte[] version, KeyValueMarshaler[] attributes)
protected void
writeTo(Serializer output)
-
Methods inherited from class io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
getBinarySerializedSize
-
Methods inherited from class io.opentelemetry.exporter.internal.marshal.Marshaler
writeBinaryTo, writeJsonTo, writeJsonTo, writeJsonWithNewline
-
-
-
-
Field Detail
-
name
private final byte[] name
-
version
private final byte[] version
-
attributes
private final KeyValueMarshaler[] attributes
-
-
Constructor Detail
-
RealInstrumentationScopeMarshaler
RealInstrumentationScopeMarshaler(byte[] name, byte[] version, KeyValueMarshaler[] attributes)
-
-
Method Detail
-
writeTo
protected void writeTo(Serializer output) throws java.io.IOException
-
computeSize
private static int computeSize(byte[] name, byte[] version, KeyValueMarshaler[] attributes)
-
-