public ByteBuffer leaderEpochIndex() {
        return leaderEpochIndex;
    }
@return Leader epoch index until this segment.
storage/api/src/main/java/org/apache/kafka/server/log/remote/storage/LogSegmentData.java