Message in google.protobuf
EnumOptions
google.protobuf.EnumOptions
Fields
| Field | Type | Number | Description |
|---|---|---|---|
| allow_alias | optionalbool | 2 | Set this option to true to allow mapping different tag names to the same value. |
| deprecated | optionalbool | 3 | Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums. |
| deprecated_legacy_json_field_conflictsDeprecated | optionalbool | 6 | Enable the legacy handling of JSON field name conflicts. This lowercases
and strips underscored from the fields before comparison in proto3 only.
The new behavior takes |
| features | optionalFeatureSet | 7 | Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language. |
| uninterpreted_option | repeatedUninterpretedOption | 999 | The parser stores options it doesn't recognize here. See above. |
Reserved numbers: 5
Extension ranges: 990 to 998, 1000 to max
Used by
Defined in google/protobuf/descriptor.proto