Package org.infinispan.protostream
Interface UnknownFieldSetHandler<T>
Deprecated.
An interface to be implemented by marshaller objects of type
MessageMarshaller
) that are able to handle
unknown fields by storing them into an UnknownFieldSet
. ProtobufTagMarshaller
s are expected to handle
unknown fields manually and cannot benefit from automatic handling by implementing this interface.- Since:
- 3.0
- Author:
- [email protected]
-
Method Summary
Modifier and TypeMethodDescriptiongetUnknownFieldSet
(T message) Deprecated.Extract theUnknownFieldSet
that was previously attached to a message during unmarshalling.void
setUnknownFieldSet
(T message, UnknownFieldSet unknownFieldSet) Deprecated.Attach a non-emptyUnknownFieldSet
to a message that was newly unmarshalled.
-
Method Details
-
getUnknownFieldSet
Deprecated.Extract theUnknownFieldSet
that was previously attached to a message during unmarshalling.- Returns:
- the UnknownFieldSet or
null
-
setUnknownFieldSet
Deprecated.Attach a non-emptyUnknownFieldSet
to a message that was newly unmarshalled.
-
MessageMarshaller