|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
| def | __init__ (self, enum_type) |
| def | Name (self, number) |
| def | Value (self, name) |
| def | keys (self) |
| def | values (self) |
| def | items (self) |
Static Public Attributes | |
| DESCRIPTOR = None | |
A utility for finding the names of enum values.
| def google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper.__init__ | ( | self, | |
| enum_type | |||
| ) |
Inits EnumTypeWrapper with an EnumDescriptor.
| def google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper.items | ( | self | ) |
Return a list of the (name, value) pairs of the enum. These are returned in the order they were defined in the .proto file.
| def google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper.keys | ( | self | ) |
Return a list of the string names in the enum. These are returned in the order they were defined in the .proto file.
| def google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper.Name | ( | self, | |
| number | |||
| ) |
Returns a string containing the name of an enum value.
| def google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper.Value | ( | self, | |
| name | |||
| ) |
Returns the value coresponding to the given enum name.
| def google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper.values | ( | self | ) |
Return a list of the integer values in the enum. These are returned in the order they were defined in the .proto file.
|
static |
1.8.13