private short floorVersion(String className, short v) {
        MessageInfo message = messages.get(className);
        return message.schemaForVersion.floorKey(v);
    }
Find the lowest schema version for a given class that is the same as the
given version.
generator/src/main/java/org/apache/kafka/message/SchemaGenerator.java