There should be defines in the message for _type and the python __slots__ are defined for the fields.