A map field. key is a scalar other than a float, double or bytes.
Attributes#
| Attribute | Type | Description |
|---|---|---|
key | ScalarValueType | |
type | ValueType | |
kind | Literal['map'] = 'map' |
Functions#
__init__#
__init__(name, number, parent, oneof, proto, key, type, kind='map') -> None| Parameter | Type | Description |
|---|---|---|
name | str | |
number | int | |
parent | MessageDescriptor | |
oneof | OneofDescriptor | None | |
proto | FieldDescriptorProto | |
key | ScalarValueType | |
type | ValueType | |
kind | Literal['map'] = 'map' |