Class FieldDescriptor

java.lang.Object
org.infinispan.protostream.impl.AnnotatedDescriptorImpl
org.infinispan.protostream.descriptors.FieldDescriptor
All Implemented Interfaces:
AnnotatedDescriptor
Direct Known Subclasses:
MapDescriptor, RepeatedFieldDescriptor

public class FieldDescriptor extends AnnotatedDescriptorImpl implements AnnotatedDescriptor
Represents a field in a proto file.
Since:
2.0
  • Field Details

    • number

      protected final int number
    • label

      protected final Label label
    • typeName

      protected final String typeName
    • defaultValue

      protected final String defaultValue
    • options

      protected final List<Option> options
    • type

      protected Type type
    • fileDescriptor

      protected FileDescriptor fileDescriptor
    • containingMessage

      protected Descriptor containingMessage
    • messageType

      protected Descriptor messageType
    • enumType

      protected EnumDescriptor enumType
  • Constructor Details

  • Method Details