docs: public HttpRequestBuilder withRetries(int n) {
      Preconditions.checkArg(n >= 0, "number of retries must be >= 0");
      this.numAttempts = n + 1;
      entry.withMaxAttempts(numAttempts);
      return this;
    }