public static String getString(final @NotNull InterestType kind) {
    switch (kind) {
      case KEY:
        return "KEY";
      case REGULAR_EXPRESSION:
        return "REGEX";
      case FILTER_CLASS:
        return "FILTER";
      case OQL_QUERY:
        return "OQL_QUERY";
      case CQ:
        return "CQ";
      default:
        return "Invalid(" + kind + ")";
    }
  }
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