Migrating Response Size Limit functionality from HLRC to Java Api client

I was previously using the RestHighLeveLClient's RequestOptions to allow for larger response limits but I do not see a corresponding function/ability to do this using the new Java API client. Can someone shed some light on this or point me in the right direction? TIA

Previous way we were doing this:

requestOptionsBuilder.setHttpAsyncResponseConsumerFactory(() -> new ContentLengthResponseConsumer(queryResponseLimitInBytes));
client.search(searchRequest, requestOptionsBuilder.build());

I also saw this somewhat-relevant question but I think this has more to do with the request - not the response.