public static RowKindEnum fromByteValue(byte value) {
        switch (value) {
            case 0:
                return INSERT;
            case 1:
                return UPDATE_BEFORE;
            case 2:
                return UPDATE_AFTER;
            case 3:
                return DELETE;
            default:
                throw new UnsupportedOperationException("Unsupported byte value '" + value + "' for row kind.");
        }
    }
Creates a {@link RowKindEnum} from the given byte value. Each {@link RowKindEnum} has a byte value
representation.

@see #toByteValue() for mapping of byte value and {@link RowKindEnum}.
inlong-common/src/main/java/org/apache/inlong/common/enums/RowKindEnum.java