def _message_pb_to_mapping(message_pb):
 return {'messageId': message_pb.message_id, 'data': message_pb.data, 'attributes': message_pb.attributes, 'publishTime': _pb_timestamp_to_rfc3339(message_pb.publish_time)}

def _message_pb_to_mapping ( message_pb ) : return { 'messageId' : message_pb . message_id , 'data' : message_pb . data , 'attributes' : message_pb . attributes , 'publishTime' : _pb_timestamp_to_rfc3339 ( message_pb . publish_time ) }
helper for :meth:pull .