public SchemaBuilder required() {
        checkCanSet(OPTIONAL_FIELD, optional, false);
        optional = false;
        return this;
    }
Set this schema as required. This is the default, but this method can be used to make this choice explicit.
@return the SchemaBuilder
connect/api/src/main/java/org/apache/kafka/connect/data/SchemaBuilder.java