- generateAndRegister() - Method in class org.infinispan.protostream.annotations.impl.ProtoSchemaGenerator
-
- GeneratedMarshallerBase - Class in org.infinispan.protostream.annotations.impl
-
Base class for generated marshallers.
- GeneratedMarshallerBase() - Constructor for class org.infinispan.protostream.annotations.impl.GeneratedMarshallerBase
-
- generateSchemaDebugComments - Static variable in class org.infinispan.protostream.annotations.ProtoSchemaBuilder
-
Set this flag to true
to enable output of debug comments in the generated protobuf schema.
- GenericDescriptor - Interface in org.infinispan.protostream.descriptors
-
Base interface for type (message and enum) descriptors.
- get(String) - Method in class org.infinispan.protostream.descriptors.namespace.LocalNamespace
-
- get(String) - Method in interface org.infinispan.protostream.descriptors.namespace.Namespace
-
Looks up the descriptor by name.
- getAnnotationConfig(String) - Method in class org.infinispan.protostream.descriptors.Descriptor
-
- getAnnotationConfig(String) - Method in class org.infinispan.protostream.descriptors.EnumDescriptor
-
- getAnnotationConfig(String) - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getAnnotationConfig(String) - Method in class org.infinispan.protostream.impl.AnnotatedDescriptorImpl
-
- getAnnotations() - Method in interface org.infinispan.protostream.descriptors.AnnotatedDescriptor
-
Get the documentation annotations in the form of a map of abstract syntax trees of
AnnotationElement
nodes.
- getAnnotations() - Method in class org.infinispan.protostream.impl.AnnotatedDescriptorImpl
-
- getAttributes() - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Annotation
-
- getAttributeValue(String) - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Annotation
-
- getByteBuffer() - Method in class org.infinispan.protostream.impl.ByteArrayOutputStreamEx
-
- getConfiguration() - Method in class org.infinispan.protostream.impl.SerializationContextImpl
-
- getConfiguration() - Method in interface org.infinispan.protostream.SerializationContext
-
Get the configuration.
- getContainingEnum() - Method in class org.infinispan.protostream.descriptors.EnumValueDescriptor
-
- getContainingMessage() - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getContainingMessage() - Method in class org.infinispan.protostream.descriptors.OneOfDescriptor
-
- getContainingType() - Method in class org.infinispan.protostream.descriptors.Descriptor
-
- getContainingType() - Method in class org.infinispan.protostream.descriptors.EnumDescriptor
-
- getContainingType() - Method in interface org.infinispan.protostream.descriptors.GenericDescriptor
-
- getDefaultAttributeValue() - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Annotation
-
- getDefaultValue() - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getDelegate() - Method in class org.infinispan.protostream.impl.RawProtoStreamReaderImpl
-
- getDelegate() - Method in class org.infinispan.protostream.impl.RawProtoStreamWriterImpl
-
- getDependants() - Method in class org.infinispan.protostream.descriptors.FileDescriptor
-
- getDescriptorByName(String) - Method in interface org.infinispan.protostream.ImmutableSerializationContext
-
- getDescriptorByName(String) - Method in class org.infinispan.protostream.impl.SerializationContextImpl
-
- getDescriptorByTypeId(Integer) - Method in interface org.infinispan.protostream.ImmutableSerializationContext
-
Obtains the type name associated with a numeric type id.
- getDescriptorByTypeId(Integer) - Method in class org.infinispan.protostream.impl.SerializationContextImpl
-
- getDocumentation() - Method in interface org.infinispan.protostream.descriptors.AnnotatedDescriptor
-
Return the documentation text associated with this descriptor.
- getDocumentation() - Method in class org.infinispan.protostream.descriptors.EnumValueDescriptor
-
- getDocumentation() - Method in class org.infinispan.protostream.descriptors.OneOfDescriptor
-
- getDocumentation() - Method in class org.infinispan.protostream.impl.AnnotatedDescriptorImpl
-
- getEnumDescriptor(String) - Method in interface org.infinispan.protostream.ImmutableSerializationContext
-
- getEnumDescriptor(String) - Method in class org.infinispan.protostream.impl.SerializationContextImpl
-
- getEnumType() - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getEnumTypes() - Method in class org.infinispan.protostream.descriptors.Descriptor
-
- getEnumTypes() - Method in class org.infinispan.protostream.descriptors.FileDescriptor
-
- getExportedNamespace() - Method in class org.infinispan.protostream.descriptors.FileDescriptor
-
- getExportedNamespace() - Method in class org.infinispan.protostream.descriptors.namespace.FileNamespace
-
The types defined in this file or defined in publicly imported files.
- getExtendedMessage() - Method in class org.infinispan.protostream.descriptors.ExtendDescriptor
-
- getExtensionsTypes() - Method in class org.infinispan.protostream.descriptors.FileDescriptor
-
- getFieldName() - Method in class org.infinispan.protostream.MessageContext
-
Gets the name of the nested field.
- getFields() - Method in class org.infinispan.protostream.descriptors.Descriptor
-
- getFields() - Method in class org.infinispan.protostream.descriptors.ExtendDescriptor
-
- getFields() - Method in class org.infinispan.protostream.descriptors.OneOfDescriptor
-
- getFileDescriptor() - Method in interface org.infinispan.protostream.descriptors.AnnotatedDescriptor
-
Return the containing files's descriptor
- getFileDescriptor() - Method in class org.infinispan.protostream.descriptors.Descriptor
-
- getFileDescriptor() - Method in class org.infinispan.protostream.descriptors.EnumDescriptor
-
- getFileDescriptor() - Method in class org.infinispan.protostream.descriptors.EnumValueDescriptor
-
- getFileDescriptor() - Method in class org.infinispan.protostream.descriptors.ExtendDescriptor
-
- getFileDescriptor() - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getFileDescriptors() - Method in class org.infinispan.protostream.FileDescriptorSource
-
- getFileDescriptors() - Method in interface org.infinispan.protostream.ImmutableSerializationContext
-
Obtain the currently registered file descriptors.
- getFileDescriptors() - Method in class org.infinispan.protostream.impl.SerializationContextImpl
-
- getFullFieldName() - Method in class org.infinispan.protostream.MessageContext
-
- getFullName() - Method in interface org.infinispan.protostream.descriptors.AnnotatedDescriptor
-
Return the fulla name of the descriptor.
- getFullName() - Method in class org.infinispan.protostream.descriptors.EnumValueDescriptor
-
- getFullName() - Method in class org.infinispan.protostream.descriptors.ExtendDescriptor
-
- getFullName() - Method in class org.infinispan.protostream.impl.AnnotatedDescriptorImpl
-
- getIdentifier() - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Identifier
-
- getJavaClass() - Method in interface org.infinispan.protostream.BaseMarshaller
-
Returns the Java type handled by this marshaller.
- getJavaClass() - Method in class org.infinispan.protostream.WrappedMessage.Marshaller
-
- getJavaType() - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getJavaType() - Method in enum org.infinispan.protostream.descriptors.Type
-
- getLabel() - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getLocalNamespace() - Method in class org.infinispan.protostream.descriptors.namespace.FileNamespace
-
Types defined in this file.
- getLog(Class<?>) - Static method in class org.infinispan.protostream.impl.Log.LogFactory
-
- getMarshaller(String) - Method in interface org.infinispan.protostream.ImmutableSerializationContext
-
- getMarshaller(Class<T>) - Method in interface org.infinispan.protostream.ImmutableSerializationContext
-
- getMarshaller() - Method in interface org.infinispan.protostream.impl.BaseMarshallerDelegate
-
Gets the wrapped marshaller.
- getMarshaller() - Method in class org.infinispan.protostream.impl.EnumMarshallerDelegate
-
- getMarshaller(String) - Method in class org.infinispan.protostream.impl.SerializationContextImpl
-
- getMarshaller(Class<T>) - Method in class org.infinispan.protostream.impl.SerializationContextImpl
-
- getMarshaller(String) - Method in interface org.infinispan.protostream.SerializationContext.MarshallerProvider
-
Get marshaller given a type name.
- getMarshaller(Class<?>) - Method in interface org.infinispan.protostream.SerializationContext.MarshallerProvider
-
Get marshaller given a Java class.
- getMarshallerDelegate(String) - Method in class org.infinispan.protostream.impl.SerializationContextImpl
-
- getMarshallerDelegate(Class<T>) - Method in class org.infinispan.protostream.impl.SerializationContextImpl
-
- getMaxSeenFieldNumber() - Method in class org.infinispan.protostream.MessageContext
-
- getMessageDescriptor(String) - Method in interface org.infinispan.protostream.ImmutableSerializationContext
-
- getMessageDescriptor(String) - Method in class org.infinispan.protostream.impl.SerializationContextImpl
-
- getMessageDescriptor() - Method in class org.infinispan.protostream.MessageContext
-
- getMessageType() - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getMessageTypes() - Method in class org.infinispan.protostream.descriptors.FileDescriptor
-
Top level message types defined in this file.
- getName() - Method in interface org.infinispan.protostream.descriptors.AnnotatedDescriptor
-
Return the name of the descriptor.
- getName() - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Annotation
-
- getName() - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Attribute
-
- getName() - Method in class org.infinispan.protostream.descriptors.EnumValueDescriptor
-
- getName() - Method in class org.infinispan.protostream.descriptors.ExtendDescriptor
-
- getName() - Method in class org.infinispan.protostream.descriptors.FileDescriptor
-
- getName() - Method in class org.infinispan.protostream.descriptors.OneOfDescriptor
-
- getName() - Method in class org.infinispan.protostream.descriptors.Option
-
- getName() - Method in class org.infinispan.protostream.impl.AnnotatedDescriptorImpl
-
- getNamespaces() - Method in class org.infinispan.protostream.descriptors.namespace.FileNamespace
-
- getNestedTypes() - Method in class org.infinispan.protostream.descriptors.Descriptor
-
- getNumber() - Method in class org.infinispan.protostream.descriptors.EnumValueDescriptor
-
- getNumber() - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getOneOfs() - Method in class org.infinispan.protostream.descriptors.Descriptor
-
- getOption(String) - Method in class org.infinispan.protostream.descriptors.Descriptor
-
- getOption(String) - Method in class org.infinispan.protostream.descriptors.EnumDescriptor
-
- getOption(String) - Method in class org.infinispan.protostream.descriptors.EnumValueDescriptor
-
- getOption(String) - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getOption(String) - Method in class org.infinispan.protostream.descriptors.FileDescriptor
-
- getOptionByName(String) - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getOptions() - Method in class org.infinispan.protostream.descriptors.Descriptor
-
- getOptions() - Method in class org.infinispan.protostream.descriptors.EnumDescriptor
-
- getOptions() - Method in class org.infinispan.protostream.descriptors.EnumValueDescriptor
-
- getOptions() - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getOptions() - Method in class org.infinispan.protostream.descriptors.FileDescriptor
-
- getPackage() - Method in class org.infinispan.protostream.descriptors.FileDescriptor
-
- getParentContext() - Method in class org.infinispan.protostream.MessageContext
-
- getProcessedAnnotation(String) - Method in interface org.infinispan.protostream.descriptors.AnnotatedDescriptor
-
- getProcessedAnnotation(String) - Method in class org.infinispan.protostream.impl.AnnotatedDescriptorImpl
-
- getProgressCallback() - Method in class org.infinispan.protostream.FileDescriptorSource
-
- getScopedName() - Method in class org.infinispan.protostream.descriptors.EnumValueDescriptor
-
- getSerializationContext() - Method in interface org.infinispan.protostream.MessageMarshaller.ProtoStreamReader
-
- getSerializationContext() - Method in interface org.infinispan.protostream.MessageMarshaller.ProtoStreamWriter
-
- getTagFieldNumber(int) - Static method in class org.infinispan.protostream.impl.WireFormat
-
Given a tag value, determines the field number (the upper 29 bits).
- getTagWireType(int) - Static method in class org.infinispan.protostream.impl.WireFormat
-
Given a tag value, determines the wire type (the lower 3 bits).
- getType() - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getTypeId() - Method in class org.infinispan.protostream.descriptors.Descriptor
-
- getTypeId() - Method in class org.infinispan.protostream.descriptors.EnumDescriptor
-
- getTypeId() - Method in interface org.infinispan.protostream.descriptors.GenericDescriptor
-
- getTypeIdByName(String) - Method in interface org.infinispan.protostream.ImmutableSerializationContext
-
Obtains the associated numeric type id, if one was defined.
- getTypeIdByName(String) - Method in class org.infinispan.protostream.impl.SerializationContextImpl
-
- getTypeName() - Method in interface org.infinispan.protostream.BaseMarshaller
-
Returns the full name of the message or enum type as declared in the protobuf file.
- getTypeName() - Method in class org.infinispan.protostream.descriptors.FieldDescriptor
-
- getTypeName() - Method in class org.infinispan.protostream.WrappedMessage.Marshaller
-
- getTypeNameById(Integer) - Method in interface org.infinispan.protostream.ImmutableSerializationContext
-
Obtains the type name associated with a numeric type id.
- getTypeNameById(Integer) - Method in class org.infinispan.protostream.impl.SerializationContextImpl
-
- getTypes() - Method in class org.infinispan.protostream.descriptors.FileDescriptor
-
All types defined in this file (both message and enum).
- getTypes() - Method in class org.infinispan.protostream.descriptors.namespace.LocalNamespace
-
- getUnknownFieldSet() - Method in class org.infinispan.protostream.BaseMessage
-
Deprecated.
- getUnknownFieldSet() - Method in interface org.infinispan.protostream.Message
-
Deprecated.
- getUnknownFieldSet(T) - Method in interface org.infinispan.protostream.UnknownFieldSetHandler
-
- getValue() - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Annotation
-
- getValue() - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Array
-
- getValue() - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Attribute
-
- getValue() - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Identifier
-
- getValue() - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Literal
-
- getValue() - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Value
-
- getValue() - Method in class org.infinispan.protostream.descriptors.Option
-
- getValue() - Method in class org.infinispan.protostream.WrappedMessage
-
- getValues() - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Array
-
- getValues() - Method in class org.infinispan.protostream.descriptors.EnumDescriptor
-
- getWireType() - Method in enum org.infinispan.protostream.descriptors.Type
-
- PACKAGE_LONG_OPT - Static variable in class org.infinispan.protostream.annotations.ProtoSchemaBuilder
-
- PACKAGE_OPT - Static variable in class org.infinispan.protostream.annotations.ProtoSchemaBuilder
-
- packageName(String) - Method in class org.infinispan.protostream.annotations.ProtoSchemaBuilder
-
Set the name of the protobuf package to generate.
- parentBuilder() - Method in interface org.infinispan.protostream.config.AnnotationAttributeConfiguration.Builder
-
- parse(FileDescriptorSource) - Method in interface org.infinispan.protostream.DescriptorParser
-
Parses a set of .proto files but does not resolve type dependencies and does not detect semantic errors like
duplicate type definitions.
- parse() - Method in class org.infinispan.protostream.impl.parser.AnnotationParser
-
Parse the text and extract the annotations.
- parse(FileDescriptorSource) - Method in class org.infinispan.protostream.impl.parser.SquareProtoParser
-
- parse(TagHandler, Descriptor, InputStream) - Method in class org.infinispan.protostream.ProtobufParser
-
- parse(TagHandler, Descriptor, byte[], int, int) - Method in class org.infinispan.protostream.ProtobufParser
-
- parse(TagHandler, Descriptor, byte[]) - Method in class org.infinispan.protostream.ProtobufParser
-
- parse(TagHandler, Descriptor, RawProtoStreamReader) - Method in class org.infinispan.protostream.ProtobufParser
-
- popLimit(int) - Method in class org.infinispan.protostream.impl.RawProtoStreamReaderImpl
-
- popLimit(int) - Method in interface org.infinispan.protostream.RawProtoStreamReader
-
- position - Variable in class org.infinispan.protostream.descriptors.AnnotationElement
-
Text position, encoded in the form of a long
.
- positionToString(long) - Static method in class org.infinispan.protostream.descriptors.AnnotationElement
-
- processedAnnotations - Variable in class org.infinispan.protostream.impl.AnnotatedDescriptorImpl
-
The annotation metadata objects created by the
AnnotationMetadataCreator
based
on the annotations found in the documentation text.
- PROTOBUF_TYPE_NAME - Static variable in class org.infinispan.protostream.WrappedMessage
-
The fully qualified Protobuf type name of this message.
- ProtobufParser - Class in org.infinispan.protostream
-
- ProtobufParser() - Constructor for class org.infinispan.protostream.ProtobufParser
-
- ProtobufUtil - Class in org.infinispan.protostream
-
This is the entry point to the ProtoStream library.
- ProtoDoc - Annotation Type in org.infinispan.protostream.annotations
-
Defines the documentation text of the generated message type, enum type or field.
- ProtoDocs - Annotation Type in org.infinispan.protostream.annotations
-
Aggregates repeated
ProtoDoc
annotations.
- ProtoEnum - Annotation Type in org.infinispan.protostream.annotations
-
Defines a Protobuf enum type.
- ProtoEnumValue - Annotation Type in org.infinispan.protostream.annotations
-
Defines a Protobuf enum value.
- ProtoField - Annotation Type in org.infinispan.protostream.annotations
-
Defines a Protocol Buffers message field.
- ProtofileMapper - Class in org.infinispan.protostream.impl.parser.mappers
-
Mapper for high level protofile to FileDescriptor.
- ProtofileMapper() - Constructor for class org.infinispan.protostream.impl.parser.mappers.ProtofileMapper
-
- ProtoMessage - Annotation Type in org.infinispan.protostream.annotations
-
Defines a Protobuf message type.
- ProtoSchemaBuilder - Class in org.infinispan.protostream.annotations
-
Generates a Protocol Buffers schema definition file based on a set of @Proto*
annotated classes.
- ProtoSchemaBuilder() - Constructor for class org.infinispan.protostream.annotations.ProtoSchemaBuilder
-
- ProtoSchemaBuilderException - Exception in org.infinispan.protostream.annotations
-
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.
- ProtoSchemaBuilderException(String) - Constructor for exception org.infinispan.protostream.annotations.ProtoSchemaBuilderException
-
- ProtoSchemaBuilderException(Throwable) - Constructor for exception org.infinispan.protostream.annotations.ProtoSchemaBuilderException
-
- ProtoSchemaBuilderException(String, Throwable) - Constructor for exception org.infinispan.protostream.annotations.ProtoSchemaBuilderException
-
- ProtoSchemaGenerator - Class in org.infinispan.protostream.annotations.impl
-
- ProtoSchemaGenerator(SerializationContext, String, String, Set<Class<?>>) - Constructor for class org.infinispan.protostream.annotations.impl.ProtoSchemaGenerator
-
- ProtoUnknownFieldSet - Annotation Type in org.infinispan.protostream.annotations
-
Indicates the field or java-bean property of type
UnknownFieldSet
to be used for
storing the unknown field set.
- pushLimit(int) - Method in class org.infinispan.protostream.impl.RawProtoStreamReaderImpl
-
- pushLimit(int) - Method in interface org.infinispan.protostream.RawProtoStreamReader
-
- put(String, GenericDescriptor) - Method in class org.infinispan.protostream.descriptors.namespace.FileNamespace
-
- putVarintField(int, int) - Method in interface org.infinispan.protostream.UnknownFieldSet
-
Convenience method for merging a new field containing a single varint value.
- Value(long) - Constructor for class org.infinispan.protostream.descriptors.AnnotationElement.Value
-
- VALUE_DEFAULT_ATTRIBUTE - Static variable in class org.infinispan.protostream.descriptors.AnnotationElement.Annotation
-
Name of 'default' attribute.
- valueOf(String) - Static method in enum org.infinispan.protostream.descriptors.AnnotationElement.AnnotationTarget
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.infinispan.protostream.descriptors.AnnotationElement.AttributeType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.infinispan.protostream.descriptors.JavaType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.infinispan.protostream.descriptors.Label
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.infinispan.protostream.descriptors.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.infinispan.protostream.descriptors.AnnotationElement.AnnotationTarget
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.infinispan.protostream.descriptors.AnnotationElement.AttributeType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.infinispan.protostream.descriptors.JavaType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.infinispan.protostream.descriptors.Label
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum org.infinispan.protostream.descriptors.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- visit(AnnotationElement.Annotation) - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Visitor
-
- visit(AnnotationElement.Attribute) - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Visitor
-
- visit(AnnotationElement.Array) - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Visitor
-
- visit(AnnotationElement.Identifier) - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Visitor
-
- visit(AnnotationElement.Literal) - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Visitor
-
- visit(AnnotationElement) - Method in class org.infinispan.protostream.descriptors.AnnotationElement.Visitor
-
- Visitor() - Constructor for class org.infinispan.protostream.descriptors.AnnotationElement.Visitor
-