Package org.infinispan.protostream
package org.infinispan.protostream
Library for easy and efficient marshalling of Java objects in Protocol Buffers format.
-
ClassDescriptionAnnotationMetadataCreator<MetadataOutType,
AnnotatedDescriptorType extends AnnotatedDescriptor> Creates an application specific alternative metadata representation of anAnnotationElement.Annotation
value.Exception indicating a syntax or semantic error encountered during parsing or validation of annotations.This is the base interface of the marshaller hierarchy, exposing common methods for identifying the Java and Protobuf types handled by this marshaller instance.Exception for parse error.EnumMarshaller<E extends Enum<E>>Contract to be implemented by marshallers ofEnum
types.Aggregator for source proto files to be passed toSerializationContext.registerProtoFiles(FileDescriptorSource)
.A callback interface that receives status notifications during the processing of files defined by aFileDescriptorSource
.An annotation-based generated proto schema file.A repository of Protobuf type definitions and their marshallers.Deprecated.MessageContext<E extends MessageContext<E>>A nested message processing context.Contract to be implemented by manually written marshallers for Protobuf message (entity) types.A high-level interface for the wire encoding of a Protobuf stream that allows reading named (and typed) message fields.A high-level interface for the wire encoding of a Protobuf stream that allows writing named (and typed) message fields.A marshaller for message types that has direct access to the low level Protobuf streams (TagReader/TagWriter) to freely read and write tags.Base interface for marshalling operation contexts.Operation context of unmarshalling operations.Operation context of marshalling operations.This is the entry point to the ProtoStream library.A repository for Protobuf type definitions and their marshallers.Interface to be implemented for dynamic lookup of marshallers where the type is part of the entity being marshalled.Deprecated.Since 4.4.An interface to be used in conjunction with theAutoProtoSchemaBuilder
annotation.An event based interface for consuming a (read only) Protobuf stream containing exactly one top level message.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).Deprecated.since 4.3.1.Provides version information about this ProtoStream release.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.
UnknownFieldSetHandler
interface.