def METHOD_NAME(proto_str):
    """
    Converts the serialized Event protobufs from `tf.data.TFRecordDataset` into a `Message` object.
    """
    event_msg = Event()
    event_msg.ParseFromString(proto_str)
    return event_msg