| Package | Description |
|---|---|
| org.infinispan.protostream |
Library for easy and efficient marshalling of Java objects in Protocol Buffers format.
|
| org.infinispan.protostream.annotations.impl |
Holds the internal representation of Protobuf type metadata defined via annotations and the processors that handle
this metadata in order to generate protobuf schemas and marshallers.
|
| org.infinispan.protostream.descriptors |
Represents information contained in a proto file
|
| org.infinispan.protostream.impl |
Protostream internals.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TagHandler.onTag(int fieldNumber,
java.lang.String fieldName,
Type type,
JavaType javaType,
java.lang.Object tagValue) |
| Modifier and Type | Field and Description |
|---|---|
private Type |
ProtoFieldMetadata.protobufType |
| Modifier and Type | Method and Description |
|---|---|
Type |
ProtoFieldMetadata.getProtobufType() |
private Type |
ProtoMessageTypeMetadata.getProtobufType(java.lang.Class<?> javaType,
Type type) |
| Modifier and Type | Method and Description |
|---|---|
private Type |
ProtoMessageTypeMetadata.getProtobufType(java.lang.Class<?> javaType,
Type type) |
| Constructor and Description |
|---|
ProtoFieldMetadata(java.lang.Class<?> declaringClass,
int number,
java.lang.String name,
java.lang.Class<?> javaType,
java.lang.Class<?> collectionImplementation,
Type protobufType,
ProtoTypeMetadata protoTypeMetadata,
boolean isRequired,
boolean isRepeated,
boolean isArray,
java.lang.Object defaultValue,
java.lang.reflect.Field field) |
ProtoFieldMetadata(java.lang.Class<?> declaringClass,
int number,
java.lang.String name,
java.lang.Class<?> javaType,
java.lang.Class<?> collectionImplementation,
Type protobufType,
ProtoTypeMetadata protoTypeMetadata,
boolean isRequired,
boolean isRepeated,
boolean isArray,
java.lang.Object defaultValue,
java.lang.String propertyName,
java.lang.reflect.Method getter,
java.lang.reflect.Method setter) |
| Modifier and Type | Field and Description |
|---|---|
private Type |
FieldDescriptor.type |
| Modifier and Type | Method and Description |
|---|---|
Type |
FieldDescriptor.getType() |
static Type |
Type.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Type[] |
Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
FieldDescriptor.setType(Type type) |
| Modifier and Type | Field and Description |
|---|---|
private static java.util.EnumSet<Type> |
ProtoStreamReaderImpl.primitiveTypes |
| Modifier and Type | Method and Description |
|---|---|
private java.lang.Object |
ProtoStreamReaderImpl.convertWireTypeToJavaType(Type type,
java.lang.Object o) |