code: @VisibleForTesting
    String constructContentRangeHeaderValue(
        long requestLength, boolean isLastRequest, BatchJobUploadStatus batchJobUploadStatus) {
      Preconditions.checkArgument(requestLength > 0, "Request length %s is <= 0", requestLength);
      long previousTotalLength = batchJobUploadStatus.getTotalContentLength();
      long contentLowerBound = previousTotalLength;
      long contentUpperBound = previousTotalLength + requestLength - 1;
  
      String totalBytesString;
      if (isLastRequest) {
        totalBytesString = String.valueOf(contentUpperBound + 1);
      } else {
        totalBytesString = "*";
      }
      return String.format("bytes %d-%d/%s", contentLowerBound, contentUpperBound, totalBytesString);
    }
docs: Constructs the content range header value for the specified arguments.
  @param requestLength the length of the request that's about to be uploaded
  @param isLastRequest if the request is the last request for the job
  @param batchJobUploadStatus the status of the job <em>before</em> this upload
  @return the content range header value, e.g., {@code bytes 0-99/100},
  {@code 100-199/*}, etc.