Class MapDescriptor
java.lang.Object
org.infinispan.protostream.impl.AnnotatedDescriptorImpl
org.infinispan.protostream.descriptors.FieldDescriptor
org.infinispan.protostream.descriptors.MapDescriptor
- All Implemented Interfaces:
AnnotatedDescriptor
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Descriptorprivate final Typeprivate final StringFields inherited from class org.infinispan.protostream.descriptors.FieldDescriptor
containingMessage, defaultValue, enumType, fileDescriptor, label, messageType, number, options, type, typeNameFields inherited from class org.infinispan.protostream.impl.AnnotatedDescriptorImpl
annotations, documentation, fullName, name, processedAnnotations -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetLabel()intintbooleanisMap()boolean(package private) voidsetEnumType(EnumDescriptor enumDescriptor) (package private) voidsetMessageType(Descriptor descriptor) toString()Methods inherited from class org.infinispan.protostream.descriptors.FieldDescriptor
getAnnotationConfig, getContainingMessage, getDefaultValue, getEnumType, getFileDescriptor, getJavaType, getMessageType, getNumber, getOptionByName, getOptions, getType, getTypeName, hasDefaultValue, setContainingMessage, setFileDescriptorMethods inherited from class org.infinispan.protostream.impl.AnnotatedDescriptorImpl
getAnnotations, getAnnotationsConfig, getDocumentation, getFullName, getName, getProcessedAnnotationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.infinispan.protostream.descriptors.AnnotatedDescriptor
getAnnotations, getDocumentation, getFullName, getName, getProcessedAnnotation
-
Field Details
-
keyTypeName
-
keyType
-
descriptor
-
-
Constructor Details
-
MapDescriptor
-
-
Method Details
-
asDescriptor
-
isRepeated
public boolean isRepeated()- Overrides:
isRepeatedin classFieldDescriptor
-
isMap
public boolean isMap()- Overrides:
isMapin classFieldDescriptor
-
getKeyType
-
getKeyTypeName
-
getKeyJavaType
-
getWireTag
public int getWireTag()- Overrides:
getWireTagin classFieldDescriptor
-
getKeyWireTag
public int getKeyWireTag() -
getValueWireTag
public int getValueWireTag() -
getLabel
- Overrides:
getLabelin classFieldDescriptor
-
setMessageType
- Overrides:
setMessageTypein classFieldDescriptor
-
setEnumType
- Overrides:
setEnumTypein classFieldDescriptor
-
toString
- Overrides:
toStringin classFieldDescriptor
-