@Override
    public boolean equals(Object o) {
        if (o == null || !o.getClass().equals(this.getClass())) return false;
        MetadataProvenance other = (MetadataProvenance) o;
        return lastContainedOffset == other.lastContainedOffset &&
            lastContainedEpoch == other.lastContainedEpoch &&
            lastContainedLogTimeMs == other.lastContainedLogTimeMs;
    }
Returns the name that a snapshot with this provenance would have.
metadata/src/main/java/org/apache/kafka/image/MetadataProvenance.java