public static ConfidenceLevel forNumber(int value) {
        switch (value) {
          case 0:
            return CONFIDENCE_LEVEL_UNSPECIFIED;
          case 1:
            return LOW;
          case 2:
            return MEDIUM;
          case 3:
            return HIGH;
          default:
            return null;
        }
      }
@param value The numeric wire value of the corresponding enum entry.
@return The enum associated with the given numeric wire value.
java-webrisk/proto-google-cloud-webrisk-v1/src/main/java/com/google/webrisk/v1/ThreatInfo.java