public boolean isPrimitive() {
            switch (this) {
                case INT8:
                case INT16:
                case INT32:
                case INT64:
                case FLOAT32:
                case FLOAT64:
                case BOOLEAN:
                case STRING:
                case BYTES:
                    return true;
            }
            return false;
        }
A structured record containing a set of named fields, each field using a fixed, independent {@link Schema}.
connect/api/src/main/java/org/apache/kafka/connect/data/Schema.java