public long endOffset() {
        return endOffset;
    }
@return End offset of this segment (inclusive).
storage/api/src/main/java/org/apache/kafka/server/log/remote/storage/RemoteLogSegmentMetadata.java