public static ValueCase forNumber(int value) {
        switch (value) {
          case 1:
            return SCORE;
          case 2:
            return LEVEL;
          case 0:
            return VALUE_NOT_SET;
          default:
            return null;
        }
      }
@param value The number of the enum to look for.
@return The enum associated with the given number.
@deprecated Use {@link #forNumber(int)} instead.
java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/ThreatInfo.java