public EnumValueDescriptor FindValueByNumber(int number)
Finds an enum value by number. If multiple enum values have the
same number, this returns the first defined value with that number.
If there is no value for the given number, this returns null.
The EnumOptions, defined in descriptor.proto.
If the options message is not present (i.e. there are no options), null is returned.
Custom options can be retrieved as extensions of the returned message.
NOTE: A defensive copy is created each time this property is retrieved.
Returns a clone of the underlying EnumDescriptorProto describing this enum.
Note that a copy is taken every time this method is called, so clients using it frequently
(and not modifying it) may want to cache the returned value.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The `EnumDescriptor` class represents the descriptor for an enum type within a .proto file, offering a way to interact with enum definitions programmatically."],["This class inherits from `DescriptorBase` and implements the `IDescriptor` interface, providing access to properties like `Name`, `FullName`, and `File`, among other members."],["Key properties of `EnumDescriptor` include `ClrType` for the corresponding CLR type, `ContainingType` for nested types, and `Values` for accessing the defined enum value descriptors."],["`EnumDescriptor` provides methods like `FindValueByName` and `FindValueByNumber` to locate specific enum values, as well as `GetOptions` and the ability to get options for the enum from the `descriptor.proto` file, along with a `ToProto` method to get a protobuf representation of the enum descriptor."],["The class `CustomOptions`, as well as methods `GetOption\u003cT\u003e(Extension\u003cEnumOptions, T\u003e extension)` and `GetOption\u003cT\u003e(RepeatedExtension\u003cEnumOptions, T\u003e extension)`, are obsolete and you should instead use `GetOptions()`."]]],[]]