def _received_message_pb_to_mapping(received_message_pb):
 return {'ackId': received_message_pb.ack_id, 'message': _message_pb_to_mapping(received_message_pb.message)}

def _received_message_pb_to_mapping ( received_message_pb ) : return { 'ackId' : received_message_pb . ack_id , 'message' : _message_pb_to_mapping ( received_message_pb . message ) }
helper for :meth:pull .