Package org.infinispan.protostream
Library for easy and efficient marshalling of Java objects in Protocol Buffers format.
-
Interface Summary Interface Description AnnotationMetadataCreator<MetadataOutType,AnnotatedDescriptorType extends AnnotatedDescriptor> Creates an application specific alternative metadata representation of anAnnotationElement.Annotation
value.BaseMarshaller<T> This is the base interface of the marshaller hierarchy, exposing common methods for identifying the Java and Protobuf types handled by this marshaller instance.DescriptorParser Main parser interface.EnumMarshaller<E extends Enum<E>> Contract to be implemented by marshallers ofEnum
types.FileDescriptorSource.ProgressCallback A callback interface that receives status notifications during the processing of files defined by aFileDescriptorSource
.GeneratedSchema An annotation-based generated proto schema file.ImmutableSerializationContext A repository of Protobuf type definitions and their marshallers.Message Deprecated. this mechanism was replaced byUnknownFieldSetHandler
interface.MessageMarshaller<T> Deprecated. since 4.3.1.Final.MessageMarshaller.ProtoStreamReader An high-level interface for the wire encoding of a Protobuf stream that allows reading named (and typed) message fields.MessageMarshaller.ProtoStreamWriter An high-level interface for the wire encoding of a Protobuf stream that allows writing named (and typed) message fields.RawProtobufMarshaller<T> A marshaller for message types that has direct access to the low level Protobuf streams to read and write tags in an unchecked manner.RawProtoStreamReader RawProtoStreamWriter SerializationContext A repository for Protobuf type definitions and their marshallers.SerializationContext.MarshallerProvider Interface to be implemented for dynamic lookup of marshallers.SerializationContextInitializer An interface to be used in conjunction with theAutoProtoSchemaBuilder
annotation.TagHandler An event based interface for consuming a (read only) Protobuf stream containing exactly one top level message.UnknownFieldSet UnknownFieldSet
keeps track of fields seen during parsing of a protocol message but whose field numbers are not recognized by the user provided marshallers (are never requested by them).UnknownFieldSetHandler<T> Deprecated. since 4.3.1.WrappedMessageTypeIdMapper Deprecated. since 4.3.1 because it does not suit the intended purpose. -
Class Summary Class Description FileDescriptorSource Aggregator for source proto files to be passed toSerializationContext.registerProtoFiles(FileDescriptorSource)
.MessageContext<E extends MessageContext> ProtobufParser ProtobufUtil This is the entry point to the ProtoStream library.Version Contains version information about this ProtoStream release.WrappedMessage A wrapper for messages, enums or primitive types that encodes the type of the inner object/value and also helps keep track of where the message ends. -
Exception Summary Exception Description AnnotationParserException Exception indicating a syntax or semantic error encountered during parsing or validation of annotations.DescriptorParserException Exception for parse error.