code: def _parse_message(self, message):
          
          _logger.debug("Parsing received message %r.", self.delivery_no)
          self._message = message
          body_type = message.body_type
          if body_type == c_uamqp.MessageBodyType.NoneType:
              self._body = None
          elif body_type == c_uamqp.MessageBodyType.DataType:
              self._body = DataBody(self._message)
          elif body_type == c_uamqp.MessageBodyType.SequenceType:
              raise TypeError("Message body type Sequence not supported.")
          else:
              self._body = ValueBody(self._message)
          _props = self._message.properties
          if _props:
              _logger.debug("Parsing received message properties %r.", self.delivery_no)
              self.properties = MessageProperties(properties=_props, encoding=self._encoding)
          _header = self._message.header
          if _header:
              _logger.debug("Parsing received message header %r.", self.delivery_no)
              self.header = MessageHeader(header=_header)
          _footer = self._message.footer
          if _footer:
              _logger.debug("Parsing received message footer %r.", self.delivery_no)
              self.footer = _footer.map
          _app_props = self._message.application_properties
          if _app_props:
              _logger.debug("Parsing received message application properties %r.", self.delivery_no)
              self.application_properties = _app_props.map
          _ann = self._message.message_annotations
          if _ann:
              _logger.debug("Parsing received message annotations %r.", self.delivery_no)
              self.annotations = _ann.map
          _delivery_ann = self._message.delivery_annotations
          if _delivery_ann:
              _logger.debug("Parsing received message delivery annotations %r.", self.delivery_no)
              self.delivery_annotations = _delivery_ann.map
docs: Parse a message received from an AMQP service.
  
          :param message: The received C message.
          :type message: uamqp.c_uamqp.cMessage