Package org.infinispan.protostream.annotations
Annotations for defining Protocol Buffers schemas in Java code.
See
AutoProtoSchemaBuilder
.-
Class Summary Class Description ProtoSchemaBuilder Deprecated. since 4.3.4. -
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
.ProtoAdapter A marshalling adapter for a target class or enum that cannot be annotated for various reasons.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 An optional annotation that 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.