public SearchResult<WorkflowSummary> search(
            @Nullable Integer start,
            @Nullable Integer size,
            @Nullable String sort,
            @Nullable String freeText,
            @Nullable String query) {

        SearchPb.Request searchRequest = createSearchRequest(start, size, sort, freeText, query);
        WorkflowServicePb.WorkflowSummarySearchResult result = stub.search(searchRequest);
        return new SearchResult<>(
                result.getTotalHits(),
                result.getResultsList().stream()
                        .map(protoMapper::fromProto)
                        .collect(Collectors.toList()));
    }
Paginated search for workflows based on payload

@param start start value of page
@param size number of workflows to be returned
@param sort sort order
@param freeText additional free text query
@param query the search query
@return the {@link SearchResult} containing the {@link WorkflowSummary} that match the query
grpc-client/src/main/java/com/netflix/conductor/client/grpc/WorkflowClient.java