Package org.infinispan.protostream.annotations
Annotations for defining Protocol Buffers schemas in Java code.
-
Class Summary Class Description ProtoSchemaBuilder Generates a Protocol Buffers schema definition file and the associated marshallers instances based on a set of given@Proto*
annotated classes. -
Exception Summary Exception Description ProtoSchemaBuilderException A runtime exception that can be thrown during the generation of the Protocol Buffers schema and marshallers either due to improper API usage or due to internal errors. -
Annotation Types Summary Annotation Type Description AutoProtoSchemaBuilder Generates compile-time auto-implementations ofSerializationContextInitializer
.ProtoDoc The documentation text of the generated message type, enum type or field.ProtoDocs Aggregates repeatedProtoDoc
annotations.ProtoEnum Deprecated. replaced byProtoName
ProtoEnumValue Defines a Protobuf enum value.ProtoFactory Designates the constructor or static method that is used for creating instances of a message class.ProtoField Defines a Protocol Buffers message field.ProtoMessage Deprecated. replaced byProtoName
ProtoName An optional annotation for specifying the Protobuf message or enum type name.ProtoReserved Injects 'reserved' statements in the generated schema of a message or enum type.ProtoReserved.Range A range of field numbers or enum constants.ProtoReservedStatements Aggregates multipleProtoReserved
annotations.ProtoTypeId An optional annotation for specifying the a numeric type identifier for a Protobuf message or enum type.ProtoUnknownFieldSet Indicates the field or java-bean property of typeUnknownFieldSet
to be used for storing the unknown field set.