def METHOD_NAME(link_data: LinkData) -> core_pb2.Event:
    """
    Handle link event when there is a link event
    :param link_data: link data
    :return: link event that has message type and link information
    """
    link = convert_link_data(link_data)
    message_type = link_data.message_type.value
    link_event = core_pb2.LinkEvent(message_type=message_type, link=link)
    return core_pb2.Event(link_event=link_event, source=link_data.source)