public Optional<Path> transactionIndex() {
        return transactionIndex;
    }
@return Transaction index file of this segment if it exists.
storage/api/src/main/java/org/apache/kafka/server/log/remote/storage/LogSegmentData.java