public static AttackVector forNumber(int value) {
      switch (value) {
        case 0:
          return ATTACK_VECTOR_UNSPECIFIED;
        case 1:
          return LOCAL_STORAGE;
        case 2:
          return SESSION_STORAGE;
        case 3:
          return WINDOW_NAME;
        case 4:
          return REFERRER;
        case 5:
          return FORM_INPUT;
        case 6:
          return COOKIE;
        case 7:
          return POST_MESSAGE;
        case 8:
          return GET_PARAMETERS;
        case 9:
          return URL_FRAGMENT;
        case 10:
          return HTML_COMMENT;
        case 11:
          return POST_PARAMETERS;
        case 12:
          return PROTOCOL;
        case 13:
          return STORED_XSS;
        case 14:
          return SAME_ORIGIN;
        case 15:
          return USER_CONTROLLABLE_URL;
        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-websecurityscanner/proto-google-cloud-websecurityscanner-v1/src/main/java/com/google/cloud/websecurityscanner/v1/Xss.java