Collection<RemoteLogSegmentId> referencedSegmentIds() {
        return Collections.unmodifiableCollection(offsetToId.values());
    }
Returns the RemoteLogSegmentId of a segment for the given offset, if there exists a mapping associated with
the greatest offset less than or equal to the given offset, or null if there is no such mapping.

@param offset offset
storage/src/main/java/org/apache/kafka/server/log/remote/metadata/storage/RemoteLogLeaderEpochState.java