Descriptor for an enum type in a .proto file.
More...
Descriptor for an enum type in a .proto file.
◆ FindValueByName()
Finds an enum value by name.
- Parameters
-
name | The unqualified name of the value (e.g. "FOO"). |
- Returns
- The value's descriptor, or null if not found.
◆ FindValueByNumber()
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
.
◆ ClrType
Type Google.Protobuf.Reflection.EnumDescriptor.ClrType |
|
get |
The CLR type for this enum. For generated code, this will be a CLR enum type.
◆ ContainingType
If this is a nested type, get the outer descriptor, otherwise null.
◆ Name
override string Google.Protobuf.Reflection.EnumDescriptor.Name |
|
get |
The brief name of the descriptor's target.
◆ Values
An unmodifiable list of defined value descriptors for this enum.
The documentation for this class was generated from the following file:
- Source/ThirdParty/libwebrtc/Source/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/EnumDescriptor.cs