public static SchemaChangePolicy getInstance(int code) {
        for (SchemaChangePolicy policy : values()) {
            if (policy.code == code) {
                return policy;
            }
        }
        throw new IllegalArgumentException(String.format("Unsupported policy of schema-change: %s for InLong", code));
    }
The code represents this policy {@link SchemaChangePolicy}
inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/protocol/enums/SchemaChangePolicy.java