| Package | Description |
|---|---|
| org.infinispan.protostream |
Library for easy and efficient marshalling of Java objects in Protocol Buffers format.
|
| org.infinispan.protostream.descriptors |
Represents information contained in a proto file
|
| org.infinispan.protostream.impl |
Protostream internals.
|
| org.infinispan.protostream.impl.parser |
.proto schema file parser and a documentation pseudo-annotation parser.
|
| Modifier and Type | Method and Description |
|---|---|
default void |
FileDescriptorSource.ProgressCallback.handleError(String fileName,
DescriptorParserException exception)
This is invoked when an error is encountered, possibly more thant once per file.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,FileDescriptor> |
DescriptorParser.parse(FileDescriptorSource fileDescriptorSource)
Parses a set of .proto files but does not resolve type dependencies and does not detect semantic errors like
duplicate type definitions.
|
void |
SerializationContext.registerProtoFiles(FileDescriptorSource source)
Register some proto schema definition files from a
FileDescriptorSource. |
| Modifier and Type | Method and Description |
|---|---|
FileDescriptor.Builder |
FileDescriptor.Builder.withParsingException(DescriptorParserException parsingException) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileDescriptor.resolveDependencies(ResolutionContext resolutionContext)
Resolve type references across files and report semantic errors like duplicate type declarations, duplicate type
ids or clashing enum value constants.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract AnnotationConfiguration |
AnnotatedDescriptorImpl.getAnnotationConfig(String annotationName)
Subclasses are responsible for fetching the
AnnotationConfiguration from the appropriate config (it it
exists) and to validate that the target is suitable. |
void |
SerializationContextImpl.registerProtoFiles(FileDescriptorSource source) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,FileDescriptor> |
SquareProtoParser.parse(FileDescriptorSource fileDescriptorSource) |
Copyright © 2021 JBoss, a division of Red Hat. All rights reserved.