| Modifier and Type | Field and Description |
|---|---|
| protected final String | |
| protected final boolean | _standardIndexing
Flag 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. |
| protected final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Integer | |
| public boolean | |
| public Map |
| _name | back to summary |
|---|---|
| protected final String _name | |
| _standardIndexing | back to summary |
|---|---|
| protected final boolean _standardIndexing Flag 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. | |
| _valuesByName | back to summary |
|---|---|
| protected final Map<String, Integer> _valuesByName | |
| ProtobufEnum | back to summary |
|---|---|
| public ProtobufEnum(String name, Map<String, Integer> valuesByName, boolean standardIndexing) | |
| findEnum | back to summary |
|---|---|
| public Integer findEnum(String name) | |
| usesStandardIndexing | back to summary |
|---|---|
| public boolean usesStandardIndexing() | |
| valueMapping | back to summary |
|---|---|
| public Map | |