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. ProtobufTagMarshallers are expected to handle
unknown fields manually and cannot benefit from automatic handling by implementing this interface.- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptiongetUnknownFieldSet(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 Details
-
getUnknownFieldSet
Deprecated.Extract theUnknownFieldSetthat was previously attached to a message during unmarshalling.- Returns:
- the UnknownFieldSet or
null
-
setUnknownFieldSet
Deprecated.Attach a non-emptyUnknownFieldSetto a message that was newly unmarshalled.
-
MessageMarshaller