def _getMsgTypeAttr(msg_name):
    """
    Get the attribute name for the type of a message.

    :param msg_name: name of message
    :return: attribute name of message's type
    """
    return "Type_{}".format(msg_name)