public static AuthenticationCase forNumber(int value) {
        switch (value) {
          case 1:
            return GOOGLE_ACCOUNT;
          case 2:
            return CUSTOM_ACCOUNT;
          case 0:
            return AUTHENTICATION_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-websecurityscanner/proto-google-cloud-websecurityscanner-v1beta/src/main/java/com/google/cloud/websecurityscanner/v1beta/ScanConfig.java