docs: public SearchResult withResults(SearchRecord... results) {
          if (this.results == null) {
              setResults(new java.util.ArrayList<SearchRecord>(results.length));
          }
          for (SearchRecord ele : results) {
              this.results.add(ele);
          }
          return this;
      }