public static VersionRange of(int min, int max) {
        return new VersionRange((short) min, (short) max);
    }
An immutable class which represents version ranges.
metadata/src/main/java/org/apache/kafka/metadata/VersionRange.java