Class StringAnyValueMarshaler
- java.lang.Object
-
- io.opentelemetry.exporter.internal.marshal.Marshaler
-
- io.opentelemetry.exporter.internal.marshal.MarshalerWithSize
-
- io.opentelemetry.exporter.internal.otlp.StringAnyValueMarshaler
-
final class StringAnyValueMarshaler extends MarshalerWithSize
A Marshaler of string-valuedAnyValue.This class is internal and is hence not for public use. Its APIs are unstable and can change at any time.
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]valueUtf8
-
Constructor Summary
Constructors Modifier Constructor Description privateStringAnyValueMarshaler(byte[] valueUtf8)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static intcalculateSize(byte[] valueUtf8)(package private) static MarshalerWithSizecreate(java.lang.String value)voidwriteTo(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
-
-
-
-
Method Detail
-
create
static MarshalerWithSize create(java.lang.String value)
-
writeTo
public void writeTo(Serializer output) throws java.io.IOException
-
calculateSize
private static int calculateSize(byte[] valueUtf8)
-
-