Class BoolAnyValueStatelessMarshaler
java.lang.Object
io.opentelemetry.exporter.internal.otlp.BoolAnyValueStatelessMarshaler
- All Implemented Interfaces:
StatelessMarshaler<Boolean>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetBinarySerializedSize(Boolean value, MarshalerContext context) Returns the number of bytes marshaling given value will write in proto binary format.voidwriteTo(Serializer output, Boolean value, MarshalerContext context) Marshal given value using the providedSerializer.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
BoolAnyValueStatelessMarshaler
private BoolAnyValueStatelessMarshaler()
-
-
Method Details
-
writeTo
Description copied from interface:StatelessMarshalerMarshal given value using the providedSerializer.- Specified by:
writeToin interfaceStatelessMarshaler<Boolean>- Throws:
IOException
-
getBinarySerializedSize
Description copied from interface:StatelessMarshalerReturns the number of bytes marshaling given value will write in proto binary format.- Specified by:
getBinarySerializedSizein interfaceStatelessMarshaler<Boolean>
-