Java - 5.0.0 DeleteByQuery plugin removed in favor of a new Delete By Query API implementation in core

According to [1] the plugin is no longer needed as it has been replaced in favor of a delete by query feature in the core. The link redirects me to the REST documentation which describes these features. However, there doesn't seem to be any Java class that allows me to build a DeleteByQueryRequest.

Looks like the following classes are missing:
DeleteByQueryRequestBuilder
DeleteByQueryRequest
DeleteByQueryAction
...

Am I missing something?

==
Background: I'm trying to upgrade our java client from 2.4.1 to 5.0.0 which uses the delete-by-query plugin

[1] https://www.elastic.co/guide/en/elasticsearch/plugins/current/plugins-delete-by-query.html

feel free to delete this.

had a problem with dependencies in gradle.