public static @NotNull InterestType valueOf(final int ordinal) {
    return values()[ordinal];
  }
Convert an interest type to a printable string

@param kind the type to convert
@return a printable string
geode-core/src/main/java/org/apache/geode/internal/cache/tier/InterestType.java