class MapElement

February 26, 2020 ยท View on GitHub

Member values

Member nameData typeDescriptionUsage
eventMapEventMap event that occuredTo set event, you simply assign a value directly to a field within event. You can also use the parent message's HasField() method to check if a message type field value has been set.
actionActionAction to invoke upon event occurenceTo set action, you simply assign a value directly to a field within action. You can also use the parent message's HasField() method to check if a message type field value has been set.
namestrMap element friendly nameYou can manipulate the field name as if it were a regular field. To clear the value of name and reset it to the default value for its type, you call the ClearField() method of the Message interface.

Parent topic: Base (Python)