public static ThreatType forNumber(int value) {
    switch (value) {
      case 0:
        return THREAT_TYPE_UNSPECIFIED;
      case 1:
        return MALWARE;
      case 2:
        return SOCIAL_ENGINEERING;
      case 3:
        return UNWANTED_SOFTWARE;
      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-v1beta1/src/main/java/com/google/webrisk/v1beta1/ThreatType.java