Package org.infinispan.protostream
Interface UnknownFieldSetHandler<T>
-
@Deprecated public interface UnknownFieldSetHandler<T>
Deprecated.since 4.3.1. This will be removed together withMessageMarshallerAn interface to be implemented by marshaller objects of typeMessageMarshaller) that are able to handle unknown fields by storing them into anUnknownFieldSet.ProtobufTagMarshallers are expected to handle unknown fields manually and cannot benefit from automatic handling by implementing this interface.- Since:
- 3.0
- Author:
- anistor@redhat.com
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description UnknownFieldSetgetUnknownFieldSet(T message)Deprecated.Extract theUnknownFieldSetthat was previously attached to a message during unmarshalling.voidsetUnknownFieldSet(T message, UnknownFieldSet unknownFieldSet)Deprecated.Attach a non-emptyUnknownFieldSetto a message that was newly unmarshalled.
-
-
-
Method Detail
-
getUnknownFieldSet
UnknownFieldSet getUnknownFieldSet(T message)
Deprecated.Extract theUnknownFieldSetthat was previously attached to a message during unmarshalling.- Returns:
- the UnknownFieldSet or
null
-
setUnknownFieldSet
void setUnknownFieldSet(T message, UnknownFieldSet unknownFieldSet)
Deprecated.Attach a non-emptyUnknownFieldSetto a message that was newly unmarshalled.
-
-