Class ProtobufEnum
java.lang.Object
tools.jackson.dataformat.protobuf.schema.ProtobufEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Stringprotected final booleanFlag that indicates whether mapping from enum value and id is standard or not; standard means that first enum has value 0, and all following enums have value one bigger than preceding one. -
Constructor Summary
ConstructorsConstructorDescriptionProtobufEnum(String name, Map<String, Integer> valuesByName, boolean standardIndexing) -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Field Details
-
_name
-
_valuesByName
-
_standardIndexing
protected final boolean _standardIndexingFlag that indicates whether mapping from enum value and id is standard or not; standard means that first enum has value 0, and all following enums have value one bigger than preceding one.
-
-
Constructor Details
-
ProtobufEnum
-
-
Method Details
-
findEnum
-
valueMapping
-
usesStandardIndexing
public boolean usesStandardIndexing()
-