Skip to content

Commit f8ab40c

Browse files
committed
[codegen] updated to latest api spec
1 parent 1ed0b48 commit f8ab40c

File tree

79 files changed

+1330
-886
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1330
-886
lines changed

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/AliasesRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
* <p>
6363
* CAT APIs are only intended for human consumption using the command line or
6464
* the Kibana console. They are not intended for use by applications. For
65-
* application consumption, use the /_alias endpoints.
65+
* application consumption, use the aliases API.
6666
*
6767
* @see <a href="../doc-files/api-spec.html#cat.aliases.Request">API
6868
* specification</a>

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ComponentTemplatesRequest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
* <p>
6060
* CAT APIs are only intended for human consumption using the command line or
6161
* Kibana console. They are not intended for use by applications. For
62-
* application consumption, use the /_component_template endpoints.
62+
* application consumption, use the get component template API.
6363
*
6464
* @see <a href="../doc-files/api-spec.html#cat.component_templates.Request">API
6565
* specification</a>

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/CountRequest.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@
5757

5858
/**
5959
* Get a document count. Provides quick access to a document count for a data
60-
* stream, an index, or an entire cluster.n/ The document count only includes
61-
* live documents, not deleted documents which have not yet been removed by the
62-
* merge process.
60+
* stream, an index, or an entire cluster. The document count only includes live
61+
* documents, not deleted documents which have not yet been removed by the merge
62+
* process.
6363
* <p>
6464
* CAT APIs are only intended for human consumption using the command line or
6565
* Kibana console. They are not intended for use by applications. For
66-
* application consumption, use /_count endpoints.
66+
* application consumption, use the count API.
6767
*
6868
* @see <a href="../doc-files/api-spec.html#cat.count.Request">API
6969
* specification</a>

java-client/src/main/java/co/elastic/clients/elasticsearch/cat/ElasticsearchCatAsyncClient.java

+36-36
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public ElasticsearchCatAsyncClient withTransportOptions(@Nullable TransportOptio
7272
* <p>
7373
* CAT APIs are only intended for human consumption using the command line or
7474
* the Kibana console. They are not intended for use by applications. For
75-
* application consumption, use the /_alias endpoints.
75+
* application consumption, use the aliases API.
7676
*
7777
* @see <a href=
7878
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-alias.html">Documentation
@@ -92,7 +92,7 @@ public CompletableFuture<AliasesResponse> aliases(AliasesRequest request) {
9292
* <p>
9393
* CAT APIs are only intended for human consumption using the command line or
9494
* the Kibana console. They are not intended for use by applications. For
95-
* application consumption, use the /_alias endpoints.
95+
* application consumption, use the aliases API.
9696
*
9797
* @param fn
9898
* a function that initializes a builder to create the
@@ -113,7 +113,7 @@ public final CompletableFuture<AliasesResponse> aliases(
113113
* <p>
114114
* CAT APIs are only intended for human consumption using the command line or
115115
* the Kibana console. They are not intended for use by applications. For
116-
* application consumption, use the /_alias endpoints.
116+
* application consumption, use the aliases API.
117117
*
118118
* @see <a href=
119119
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-alias.html">Documentation
@@ -189,7 +189,7 @@ public CompletableFuture<AllocationResponse> allocation() {
189189
* <p>
190190
* CAT APIs are only intended for human consumption using the command line or
191191
* Kibana console. They are not intended for use by applications. For
192-
* application consumption, use the /_component_template endpoints.
192+
* application consumption, use the get component template API.
193193
*
194194
* @see <a href=
195195
* "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html">Documentation
@@ -210,7 +210,7 @@ public CompletableFuture<ComponentTemplatesResponse> componentTemplates(Componen
210210
* <p>
211211
* CAT APIs are only intended for human consumption using the command line or
212212
* Kibana console. They are not intended for use by applications. For
213-
* application consumption, use the /_component_template endpoints.
213+
* application consumption, use the get component template API.
214214
*
215215
* @param fn
216216
* a function that initializes a builder to create the
@@ -232,7 +232,7 @@ public final CompletableFuture<ComponentTemplatesResponse> componentTemplates(
232232
* <p>
233233
* CAT APIs are only intended for human consumption using the command line or
234234
* Kibana console. They are not intended for use by applications. For
235-
* application consumption, use the /_component_template endpoints.
235+
* application consumption, use the get component template API.
236236
*
237237
* @see <a href=
238238
* "https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-component-templates.html">Documentation
@@ -248,13 +248,13 @@ public CompletableFuture<ComponentTemplatesResponse> componentTemplates() {
248248

249249
/**
250250
* Get a document count. Provides quick access to a document count for a data
251-
* stream, an index, or an entire cluster.n/ The document count only includes
252-
* live documents, not deleted documents which have not yet been removed by the
253-
* merge process.
251+
* stream, an index, or an entire cluster. The document count only includes live
252+
* documents, not deleted documents which have not yet been removed by the merge
253+
* process.
254254
* <p>
255255
* CAT APIs are only intended for human consumption using the command line or
256256
* Kibana console. They are not intended for use by applications. For
257-
* application consumption, use /_count endpoints.
257+
* application consumption, use the count API.
258258
*
259259
* @see <a href=
260260
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-count.html">Documentation
@@ -270,13 +270,13 @@ public CompletableFuture<CountResponse> count(CountRequest request) {
270270

271271
/**
272272
* Get a document count. Provides quick access to a document count for a data
273-
* stream, an index, or an entire cluster.n/ The document count only includes
274-
* live documents, not deleted documents which have not yet been removed by the
275-
* merge process.
273+
* stream, an index, or an entire cluster. The document count only includes live
274+
* documents, not deleted documents which have not yet been removed by the merge
275+
* process.
276276
* <p>
277277
* CAT APIs are only intended for human consumption using the command line or
278278
* Kibana console. They are not intended for use by applications. For
279-
* application consumption, use /_count endpoints.
279+
* application consumption, use the count API.
280280
*
281281
* @param fn
282282
* a function that initializes a builder to create the
@@ -293,13 +293,13 @@ public final CompletableFuture<CountResponse> count(
293293

294294
/**
295295
* Get a document count. Provides quick access to a document count for a data
296-
* stream, an index, or an entire cluster.n/ The document count only includes
297-
* live documents, not deleted documents which have not yet been removed by the
298-
* merge process.
296+
* stream, an index, or an entire cluster. The document count only includes live
297+
* documents, not deleted documents which have not yet been removed by the merge
298+
* process.
299299
* <p>
300300
* CAT APIs are only intended for human consumption using the command line or
301301
* Kibana console. They are not intended for use by applications. For
302-
* application consumption, use /_count endpoints.
302+
* application consumption, use the count API.
303303
*
304304
* @see <a href=
305305
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-count.html">Documentation
@@ -480,7 +480,7 @@ public CompletableFuture<HelpResponse> help() {
480480
* These metrics are retrieved directly from Lucene, which Elasticsearch uses
481481
* internally to power indexing and search. As a result, all document counts
482482
* include hidden nested documents. To get an accurate count of Elasticsearch
483-
* documents, use the /_cat/count or _count endpoints.
483+
* documents, use the cat count or count APIs.
484484
* <p>
485485
* CAT APIs are only intended for human consumption using the command line or
486486
* Kibana console. They are not intended for use by applications. For
@@ -515,7 +515,7 @@ public CompletableFuture<IndicesResponse> indices(IndicesRequest request) {
515515
* These metrics are retrieved directly from Lucene, which Elasticsearch uses
516516
* internally to power indexing and search. As a result, all document counts
517517
* include hidden nested documents. To get an accurate count of Elasticsearch
518-
* documents, use the /_cat/count or _count endpoints.
518+
* documents, use the cat count or count APIs.
519519
* <p>
520520
* CAT APIs are only intended for human consumption using the command line or
521521
* Kibana console. They are not intended for use by applications. For
@@ -551,7 +551,7 @@ public final CompletableFuture<IndicesResponse> indices(
551551
* These metrics are retrieved directly from Lucene, which Elasticsearch uses
552552
* internally to power indexing and search. As a result, all document counts
553553
* include hidden nested documents. To get an accurate count of Elasticsearch
554-
* documents, use the /_cat/count or _count endpoints.
554+
* documents, use the cat count or count APIs.
555555
* <p>
556556
* CAT APIs are only intended for human consumption using the command line or
557557
* Kibana console. They are not intended for use by applications. For
@@ -592,7 +592,7 @@ public CompletableFuture<MasterResponse> master() {
592592
* <p>
593593
* CAT APIs are only intended for human consumption using the Kibana console or
594594
* command line. They are not intended for use by applications. For application
595-
* consumption, use the /_ml/data_frame/analytics endpoints.
595+
* consumption, use the get data frame analytics jobs statistics API.
596596
*
597597
* @see <a href=
598598
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-dfanalytics.html">Documentation
@@ -612,7 +612,7 @@ public CompletableFuture<MlDataFrameAnalyticsResponse> mlDataFrameAnalytics(MlDa
612612
* <p>
613613
* CAT APIs are only intended for human consumption using the Kibana console or
614614
* command line. They are not intended for use by applications. For application
615-
* consumption, use the /_ml/data_frame/analytics endpoints.
615+
* consumption, use the get data frame analytics jobs statistics API.
616616
*
617617
* @param fn
618618
* a function that initializes a builder to create the
@@ -633,7 +633,7 @@ public final CompletableFuture<MlDataFrameAnalyticsResponse> mlDataFrameAnalytic
633633
* <p>
634634
* CAT APIs are only intended for human consumption using the Kibana console or
635635
* command line. They are not intended for use by applications. For application
636-
* consumption, use the /_ml/data_frame/analytics endpoints.
636+
* consumption, use the get data frame analytics jobs statistics API.
637637
*
638638
* @see <a href=
639639
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-dfanalytics.html">Documentation
@@ -656,7 +656,7 @@ public CompletableFuture<MlDataFrameAnalyticsResponse> mlDataFrameAnalytics() {
656656
* <p>
657657
* CAT APIs are only intended for human consumption using the Kibana console or
658658
* command line. They are not intended for use by applications. For application
659-
* consumption, use the /_ml/datafeeds endpoints.
659+
* consumption, use the get datafeed statistics API.
660660
*
661661
* @see <a href=
662662
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-datafeeds.html">Documentation
@@ -679,7 +679,7 @@ public CompletableFuture<MlDatafeedsResponse> mlDatafeeds(MlDatafeedsRequest req
679679
* <p>
680680
* CAT APIs are only intended for human consumption using the Kibana console or
681681
* command line. They are not intended for use by applications. For application
682-
* consumption, use the /_ml/datafeeds endpoints.
682+
* consumption, use the get datafeed statistics API.
683683
*
684684
* @param fn
685685
* a function that initializes a builder to create the
@@ -703,7 +703,7 @@ public final CompletableFuture<MlDatafeedsResponse> mlDatafeeds(
703703
* <p>
704704
* CAT APIs are only intended for human consumption using the Kibana console or
705705
* command line. They are not intended for use by applications. For application
706-
* consumption, use the /_ml/datafeeds endpoints.
706+
* consumption, use the get datafeed statistics API.
707707
*
708708
* @see <a href=
709709
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-datafeeds.html">Documentation
@@ -726,7 +726,7 @@ public CompletableFuture<MlDatafeedsResponse> mlDatafeeds() {
726726
* <p>
727727
* CAT APIs are only intended for human consumption using the Kibana console or
728728
* command line. They are not intended for use by applications. For application
729-
* consumption, use the /_ml/anomaly_detectors endpoints.
729+
* consumption, use the get anomaly detection job statistics API.
730730
*
731731
* @see <a href=
732732
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-anomaly-detectors.html">Documentation
@@ -749,7 +749,7 @@ public CompletableFuture<MlJobsResponse> mlJobs(MlJobsRequest request) {
749749
* <p>
750750
* CAT APIs are only intended for human consumption using the Kibana console or
751751
* command line. They are not intended for use by applications. For application
752-
* consumption, use the /_ml/anomaly_detectors endpoints.
752+
* consumption, use the get anomaly detection job statistics API.
753753
*
754754
* @param fn
755755
* a function that initializes a builder to create the
@@ -773,7 +773,7 @@ public final CompletableFuture<MlJobsResponse> mlJobs(
773773
* <p>
774774
* CAT APIs are only intended for human consumption using the Kibana console or
775775
* command line. They are not intended for use by applications. For application
776-
* consumption, use the /_ml/anomaly_detectors endpoints.
776+
* consumption, use the get anomaly detection job statistics API.
777777
*
778778
* @see <a href=
779779
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-anomaly-detectors.html">Documentation
@@ -793,7 +793,7 @@ public CompletableFuture<MlJobsResponse> mlJobs() {
793793
* <p>
794794
* CAT APIs are only intended for human consumption using the Kibana console or
795795
* command line. They are not intended for use by applications. For application
796-
* consumption, use the /_ml/trained_models endpoints.
796+
* consumption, use the get trained models statistics API.
797797
*
798798
* @see <a href=
799799
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-trained-model.html">Documentation
@@ -813,7 +813,7 @@ public CompletableFuture<MlTrainedModelsResponse> mlTrainedModels(MlTrainedModel
813813
* <p>
814814
* CAT APIs are only intended for human consumption using the Kibana console or
815815
* command line. They are not intended for use by applications. For application
816-
* consumption, use the /_ml/trained_models endpoints.
816+
* consumption, use the get trained models statistics API.
817817
*
818818
* @param fn
819819
* a function that initializes a builder to create the
@@ -834,7 +834,7 @@ public final CompletableFuture<MlTrainedModelsResponse> mlTrainedModels(
834834
* <p>
835835
* CAT APIs are only intended for human consumption using the Kibana console or
836836
* command line. They are not intended for use by applications. For application
837-
* consumption, use the /_ml/trained_models endpoints.
837+
* consumption, use the get trained models statistics API.
838838
*
839839
* @see <a href=
840840
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-trained-model.html">Documentation
@@ -1388,7 +1388,7 @@ public CompletableFuture<ThreadPoolResponse> threadPool() {
13881388
* <p>
13891389
* CAT APIs are only intended for human consumption using the Kibana console or
13901390
* command line. They are not intended for use by applications. For application
1391-
* consumption, use the /_transform endpoints.
1391+
* consumption, use the get transform statistics API.
13921392
*
13931393
* @see <a href=
13941394
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-transforms.html">Documentation
@@ -1407,7 +1407,7 @@ public CompletableFuture<TransformsResponse> transforms(TransformsRequest reques
14071407
* <p>
14081408
* CAT APIs are only intended for human consumption using the Kibana console or
14091409
* command line. They are not intended for use by applications. For application
1410-
* consumption, use the /_transform endpoints.
1410+
* consumption, use the get transform statistics API.
14111411
*
14121412
* @param fn
14131413
* a function that initializes a builder to create the
@@ -1427,7 +1427,7 @@ public final CompletableFuture<TransformsResponse> transforms(
14271427
* <p>
14281428
* CAT APIs are only intended for human consumption using the Kibana console or
14291429
* command line. They are not intended for use by applications. For application
1430-
* consumption, use the /_transform endpoints.
1430+
* consumption, use the get transform statistics API.
14311431
*
14321432
* @see <a href=
14331433
* "https://www.elastic.co/guide/en/elasticsearch/reference/8.16/cat-transforms.html">Documentation

0 commit comments

Comments
 (0)