webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
def | __init__ (self, extended_message) |
def | __getitem__ (self, extension_handle) |
def | __eq__ (self, other) |
def | __ne__ (self, other) |
def | __hash__ (self) |
def | __setitem__ (self, extension_handle, value) |
Dict-like container for supporting an indexable "Extensions" field on proto instances. Note that in all cases we expect extension handles to be FieldDescriptors.
def google.protobuf.internal.python_message._ExtensionDict.__init__ | ( | self, | |
extended_message | |||
) |
extended_message: Message instance for which we are the Extensions dict.
def google.protobuf.internal.python_message._ExtensionDict.__eq__ | ( | self, | |
other | |||
) |
def google.protobuf.internal.python_message._ExtensionDict.__getitem__ | ( | self, | |
extension_handle | |||
) |
Returns the current value of the given extension handle.
def google.protobuf.internal.python_message._ExtensionDict.__hash__ | ( | self | ) |
def google.protobuf.internal.python_message._ExtensionDict.__ne__ | ( | self, | |
other | |||
) |
def google.protobuf.internal.python_message._ExtensionDict.__setitem__ | ( | self, | |
extension_handle, | |||
value | |||
) |
If extension_handle specifies a non-repeated, scalar extension field, sets the value of that field.