Uses of Enum Class
org.infinispan.protostream.descriptors.Type
Packages that use Type
Package
Description
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.
Represents information contained in a proto file
Protostream internals.
-
Uses of Type in org.infinispan.protostream.annotations.impl
Fields in org.infinispan.protostream.annotations.impl declared as TypeMethods in org.infinispan.protostream.annotations.impl that return TypeModifier and TypeMethodDescriptionprivate TypeProtoMessageTypeMetadata.defaultType(ProtoField annotation, XClass type) ProtoFieldMetadata.getProtobufType()private TypeProtoMessageTypeMetadata.getProtobufType(XClass javaType, Type declaredType) Methods in org.infinispan.protostream.annotations.impl with parameters of type TypeModifier and TypeMethodDescriptionprivate ObjectProtoMessageTypeMetadata.getDefaultValue(XClass clazz, String fieldName, XClass fieldType, Type protobufType, String value, boolean isRepeated) Parses the value from string form (coming from proto schema) to an actual Java instance value, according to its type.private TypeProtoMessageTypeMetadata.getProtobufType(XClass javaType, Type declaredType) private booleanprivate booleanProtoMessageTypeMetadata.isRepeated(XClass javaType, Type type) Constructors in org.infinispan.protostream.annotations.impl with parameters of type TypeModifierConstructorDescription(package private)ProtoFieldMetadata(int number, String name, String oneof, XClass javaType, XClass repeatedImplementation, Type protobufType, ProtoTypeMetadata protoTypeMetadata, boolean isRequired, boolean isRepeated, boolean isArray, Object defaultValue, String propertyName, XMethod definingMethod, XMethod getter, XMethod setter) (package private)ProtoFieldMetadata(int number, String name, String oneof, XClass javaType, XClass repeatedImplementation, Type protobufType, ProtoTypeMetadata protoTypeMetadata, boolean isRequired, boolean isRepeated, boolean isArray, Object defaultValue, XField field) (package private)ProtoMapMetadata(int number, String name, XClass keyJavaType, XClass keyValueType, XClass mapImplementation, Type keyType, Type valueType, ProtoTypeMetadata protoTypeMetadata, String propertyName, XMethod definingMethod, XMethod getter, XMethod setter) (package private)ProtoMapMetadata(int number, String name, XClass keyJavaType, XClass valueJavaType, XClass mapImplementation, Type keyType, Type valueType, ProtoTypeMetadata protoTypeMetadata, XField field) -
Uses of Type in org.infinispan.protostream.descriptors
Fields in org.infinispan.protostream.descriptors declared as TypeModifier and TypeFieldDescriptionprivate final TypeMapDescriptor.keyTypeprotected TypeFieldDescriptor.typeMethods in org.infinispan.protostream.descriptors that return TypeModifier and TypeMethodDescriptionMapDescriptor.getKeyType()FieldDescriptor.getType()static TypeType.primitiveFromString(String typeName) If the type name is a primitive, it returns the corresponding enum constant, otherwise it returnsnull.static TypeReturns the enum constant of this class with the specified name.static Type[]Type.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of Type in org.infinispan.protostream.impl
Fields in org.infinispan.protostream.impl with type parameters of type TypeMethods in org.infinispan.protostream.impl with parameters of type TypeModifier and TypeMethodDescriptionprivate ObjectProtoStreamReaderImpl.convertWireTypeToJavaType(Type type, Object o) private static intJsonUtils.getPrimitiveFieldId(Type primitiveType) private static voidJsonUtils.processPrimitive(com.fasterxml.jackson.core.JsonParser parser, TagWriter writer, Type fieldType) private static voidJsonUtils.writeField(com.fasterxml.jackson.core.JsonParser parser, TagWriter writer, Type fieldType, int fieldNumber)