Skip to content

Commit adf3fa8

Browse files
[9.2] Regenerate client (#1205)
* [codegen] update to latest spec * revert unwanted changes --------- Co-authored-by: Laura Trotta <laura.trotta@elastic.co>
1 parent ba7433f commit adf3fa8

File tree

7 files changed

+201
-75
lines changed

7 files changed

+201
-75
lines changed

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -522,6 +522,17 @@ public CompletableFuture<HelpResponse> help() {
522522
* include hidden nested documents. To get an accurate count of Elasticsearch
523523
* documents, use the cat count or count APIs.
524524
* <p>
525+
* NOTE: Storage metrics reported by this API reflect the post-compression size
526+
* of the indices on disk. Because these values are calculated after
527+
* Elasticsearch compresses the data and processes deletions, they are typically
528+
* significantly smaller than the raw, uncompressed data volume ingested.
529+
* <p>
530+
* IMPORTANT: For Elastic Cloud Serverless, ingest billing is based on the raw,
531+
* uncompressed data volume, not the post-compression metrics reported here. To
532+
* learn more, refer to <a href=
533+
* "https://www.elastic.co/docs/deploy-manage/cloud-organization/billing/elasticsearch-billing-dimensions">Elasticsearch
534+
* billing dimensions</a>.
535+
* <p>
525536
* CAT APIs are only intended for human consumption using the command line or
526537
* Kibana console. They are not intended for use by applications. For
527538
* application consumption, use an index endpoint.
@@ -559,6 +570,17 @@ public CompletableFuture<IndicesResponse> indices(IndicesRequest request) {
559570
* include hidden nested documents. To get an accurate count of Elasticsearch
560571
* documents, use the cat count or count APIs.
561572
* <p>
573+
* NOTE: Storage metrics reported by this API reflect the post-compression size
574+
* of the indices on disk. Because these values are calculated after
575+
* Elasticsearch compresses the data and processes deletions, they are typically
576+
* significantly smaller than the raw, uncompressed data volume ingested.
577+
* <p>
578+
* IMPORTANT: For Elastic Cloud Serverless, ingest billing is based on the raw,
579+
* uncompressed data volume, not the post-compression metrics reported here. To
580+
* learn more, refer to <a href=
581+
* "https://www.elastic.co/docs/deploy-manage/cloud-organization/billing/elasticsearch-billing-dimensions">Elasticsearch
582+
* billing dimensions</a>.
583+
* <p>
562584
* CAT APIs are only intended for human consumption using the command line or
563585
* Kibana console. They are not intended for use by applications. For
564586
* application consumption, use an index endpoint.
@@ -597,6 +619,17 @@ public final CompletableFuture<IndicesResponse> indices(
597619
* include hidden nested documents. To get an accurate count of Elasticsearch
598620
* documents, use the cat count or count APIs.
599621
* <p>
622+
* NOTE: Storage metrics reported by this API reflect the post-compression size
623+
* of the indices on disk. Because these values are calculated after
624+
* Elasticsearch compresses the data and processes deletions, they are typically
625+
* significantly smaller than the raw, uncompressed data volume ingested.
626+
* <p>
627+
* IMPORTANT: For Elastic Cloud Serverless, ingest billing is based on the raw,
628+
* uncompressed data volume, not the post-compression metrics reported here. To
629+
* learn more, refer to <a href=
630+
* "https://www.elastic.co/docs/deploy-manage/cloud-organization/billing/elasticsearch-billing-dimensions">Elasticsearch
631+
* billing dimensions</a>.
632+
* <p>
600633
* CAT APIs are only intended for human consumption using the command line or
601634
* Kibana console. They are not intended for use by applications. For
602635
* application consumption, use an index endpoint.

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -525,6 +525,17 @@ public HelpResponse help() throws IOException, ElasticsearchException {
525525
* include hidden nested documents. To get an accurate count of Elasticsearch
526526
* documents, use the cat count or count APIs.
527527
* <p>
528+
* NOTE: Storage metrics reported by this API reflect the post-compression size
529+
* of the indices on disk. Because these values are calculated after
530+
* Elasticsearch compresses the data and processes deletions, they are typically
531+
* significantly smaller than the raw, uncompressed data volume ingested.
532+
* <p>
533+
* IMPORTANT: For Elastic Cloud Serverless, ingest billing is based on the raw,
534+
* uncompressed data volume, not the post-compression metrics reported here. To
535+
* learn more, refer to <a href=
536+
* "https://www.elastic.co/docs/deploy-manage/cloud-organization/billing/elasticsearch-billing-dimensions">Elasticsearch
537+
* billing dimensions</a>.
538+
* <p>
528539
* CAT APIs are only intended for human consumption using the command line or
529540
* Kibana console. They are not intended for use by applications. For
530541
* application consumption, use an index endpoint.
@@ -562,6 +573,17 @@ public IndicesResponse indices(IndicesRequest request) throws IOException, Elast
562573
* include hidden nested documents. To get an accurate count of Elasticsearch
563574
* documents, use the cat count or count APIs.
564575
* <p>
576+
* NOTE: Storage metrics reported by this API reflect the post-compression size
577+
* of the indices on disk. Because these values are calculated after
578+
* Elasticsearch compresses the data and processes deletions, they are typically
579+
* significantly smaller than the raw, uncompressed data volume ingested.
580+
* <p>
581+
* IMPORTANT: For Elastic Cloud Serverless, ingest billing is based on the raw,
582+
* uncompressed data volume, not the post-compression metrics reported here. To
583+
* learn more, refer to <a href=
584+
* "https://www.elastic.co/docs/deploy-manage/cloud-organization/billing/elasticsearch-billing-dimensions">Elasticsearch
585+
* billing dimensions</a>.
586+
* <p>
565587
* CAT APIs are only intended for human consumption using the command line or
566588
* Kibana console. They are not intended for use by applications. For
567589
* application consumption, use an index endpoint.
@@ -600,6 +622,17 @@ public final IndicesResponse indices(Function<IndicesRequest.Builder, ObjectBuil
600622
* include hidden nested documents. To get an accurate count of Elasticsearch
601623
* documents, use the cat count or count APIs.
602624
* <p>
625+
* NOTE: Storage metrics reported by this API reflect the post-compression size
626+
* of the indices on disk. Because these values are calculated after
627+
* Elasticsearch compresses the data and processes deletions, they are typically
628+
* significantly smaller than the raw, uncompressed data volume ingested.
629+
* <p>
630+
* IMPORTANT: For Elastic Cloud Serverless, ingest billing is based on the raw,
631+
* uncompressed data volume, not the post-compression metrics reported here. To
632+
* learn more, refer to <a href=
633+
* "https://www.elastic.co/docs/deploy-manage/cloud-organization/billing/elasticsearch-billing-dimensions">Elasticsearch
634+
* billing dimensions</a>.
635+
* <p>
603636
* CAT APIs are only intended for human consumption using the command line or
604637
* Kibana console. They are not intended for use by applications. For
605638
* application consumption, use an index endpoint.

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,17 @@
8383
* include hidden nested documents. To get an accurate count of Elasticsearch
8484
* documents, use the cat count or count APIs.
8585
* <p>
86+
* NOTE: Storage metrics reported by this API reflect the post-compression size
87+
* of the indices on disk. Because these values are calculated after
88+
* Elasticsearch compresses the data and processes deletions, they are typically
89+
* significantly smaller than the raw, uncompressed data volume ingested.
90+
* <p>
91+
* IMPORTANT: For Elastic Cloud Serverless, ingest billing is based on the raw,
92+
* uncompressed data volume, not the post-compression metrics reported here. To
93+
* learn more, refer to <a href=
94+
* "https://www.elastic.co/docs/deploy-manage/cloud-organization/billing/elasticsearch-billing-dimensions">Elasticsearch
95+
* billing dimensions</a>.
96+
* <p>
8697
* CAT APIs are only intended for human consumption using the command line or
8798
* Kibana console. They are not intended for use by applications. For
8899
* application consumption, use an index endpoint.

java-client/src/main/java/co/elastic/clients/elasticsearch/core/bulk/BulkResponseItem.java

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,9 @@ public final Long primaryTerm() {
197197
}
198198

199199
/**
200-
* The result of the operation. Successful values are <code>created</code>,
201-
* <code>deleted</code>, and <code>updated</code>.
200+
* The result of the operation. Possible values are <code>created</code>,
201+
* <code>updated</code>, <code>deleted</code>, <code>noop</code>, and
202+
* <code>not_found</code>.
202203
* <p>
203204
* API name: {@code result}
204205
*/
@@ -475,8 +476,9 @@ public final Builder primaryTerm(@Nullable Long value) {
475476
}
476477

477478
/**
478-
* The result of the operation. Successful values are <code>created</code>,
479-
* <code>deleted</code>, and <code>updated</code>.
479+
* The result of the operation. Possible values are <code>created</code>,
480+
* <code>updated</code>, <code>deleted</code>, <code>noop</code>, and
481+
* <code>not_found</code>.
480482
* <p>
481483
* API name: {@code result}
482484
*/

java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1137,7 +1137,7 @@
11371137
'cat.help.Request': 'cat/help/CatHelpRequest.ts#L22-L39',
11381138
'cat.help.Response': 'cat/help/CatHelpResponse.ts#L20-L25',
11391139
'cat.indices.IndicesRecord': 'cat/indices/types.ts#L20-L808',
1140-
'cat.indices.Request': 'cat/indices/CatIndicesRequest.ts#L30-L107',
1140+
'cat.indices.Request': 'cat/indices/CatIndicesRequest.ts#L30-L111',
11411141
'cat.indices.Response': 'cat/indices/CatIndicesResponse.ts#L22-L25',
11421142
'cat.master.MasterRecord': 'cat/master/types.ts#L20-L39',
11431143
'cat.master.Request': 'cat/master/CatMasterRequest.ts#L24-L69',
@@ -2812,42 +2812,42 @@
28122812
'security._types.ApiKey': 'security/_types/ApiKey.ts#L27-L113',
28132813
'security._types.ApiKeyManagedBy': 'security/_types/ApiKey.ts#L120-L123',
28142814
'security._types.ApiKeyType': 'security/_types/ApiKey.ts#L115-L118',
2815-
'security._types.ApplicationGlobalUserPrivileges': 'security/_types/Privileges.ts#L436-L438',
2816-
'security._types.ApplicationPrivileges': 'security/_types/Privileges.ts#L27-L40',
2815+
'security._types.ApplicationGlobalUserPrivileges': 'security/_types/Privileges.ts#L400-L402',
2816+
'security._types.ApplicationPrivileges': 'security/_types/Privileges.ts#L28-L41',
28172817
'security._types.BulkError': 'security/_types/Bulk.ts#L24-L33',
28182818
'security._types.ClusterNode': 'security/_types/ClusterNode.ts#L22-L24',
2819-
'security._types.ClusterPrivilege': 'security/_types/Privileges.ts#L42-L201',
2819+
'security._types.ClusterPrivilege': 'security/_types/Privileges.ts#L43-L202',
28202820
'security._types.CreatedStatus': 'security/_types/CreatedStatus.ts#L20-L22',
28212821
'security._types.FieldSecurity': 'security/_types/FieldSecurity.ts#L22-L25',
2822-
'security._types.GlobalPrivilege': 'security/_types/Privileges.ts#L432-L434',
2822+
'security._types.GlobalPrivilege': 'security/_types/Privileges.ts#L396-L398',
28232823
'security._types.GrantType': 'security/_types/GrantType.ts#L20-L30',
2824-
'security._types.IndexPrivilege': 'security/_types/Privileges.ts#L388-L430',
2825-
'security._types.IndicesPrivileges': 'security/_types/Privileges.ts#L218-L244',
2826-
'security._types.IndicesPrivilegesQuery': 'security/_types/Privileges.ts#L343-L351',
2827-
'security._types.ManageUserPrivileges': 'security/_types/Privileges.ts#L440-L442',
2824+
'security._types.IndexPrivilege': 'security/_types/Privileges.ts#L352-L394',
2825+
'security._types.IndicesPrivileges': 'security/_types/Privileges.ts#L246-L246',
2826+
'security._types.IndicesPrivilegesQuery': 'security/_types/Privileges.ts#L307-L315',
2827+
'security._types.ManageUserPrivileges': 'security/_types/Privileges.ts#L404-L406',
28282828
'security._types.NodeSecurityStats': 'security/_types/NodeSecurityStats.ts#L22-L27',
28292829
'security._types.RealmInfo': 'security/_types/RealmInfo.ts#L22-L25',
2830-
'security._types.RemoteClusterPrivilege': 'security/_types/Privileges.ts#L203-L215',
2831-
'security._types.RemoteClusterPrivileges': 'security/_types/Privileges.ts#L280-L292',
2832-
'security._types.RemoteIndicesPrivileges': 'security/_types/Privileges.ts#L246-L278',
2833-
'security._types.RemoteUserIndicesPrivileges': 'security/_types/Privileges.ts#L318-L341',
2834-
'security._types.ReplicationAccess': 'security/_types/Privileges.ts#L444-L454',
2830+
'security._types.RemoteClusterPrivilege': 'security/_types/Privileges.ts#L204-L216',
2831+
'security._types.RemoteClusterPrivileges': 'security/_types/Privileges.ts#L260-L272',
2832+
'security._types.RemoteIndicesPrivileges': 'security/_types/Privileges.ts#L248-L258',
2833+
'security._types.RemoteUserIndicesPrivileges': 'security/_types/Privileges.ts#L301-L305',
2834+
'security._types.ReplicationAccess': 'security/_types/Privileges.ts#L408-L418',
28352835
'security._types.Restriction': 'security/_types/RoleDescriptor.ts#L90-L96',
28362836
'security._types.RestrictionWorkflow': 'security/_types/RoleDescriptor.ts#L98-L101',
28372837
'security._types.RoleDescriptor': 'security/_types/RoleDescriptor.ts#L33-L83',
28382838
'security._types.RoleDescriptorRead': 'security/_types/RoleDescriptor.ts#L85-L88',
28392839
'security._types.RoleMapping': 'security/_types/RoleMapping.ts#L25-L33',
28402840
'security._types.RoleMappingRule': 'security/_types/RoleMappingRule.ts#L23-L31',
28412841
'security._types.RoleTemplate': 'security/_types/RoleTemplate.ts#L28-L31',
2842-
'security._types.RoleTemplateInlineQuery': 'security/_types/Privileges.ts#L385-L386',
2843-
'security._types.RoleTemplateQuery': 'security/_types/Privileges.ts#L353-L363',
2844-
'security._types.RoleTemplateScript': 'security/_types/Privileges.ts#L365-L383',
2842+
'security._types.RoleTemplateInlineQuery': 'security/_types/Privileges.ts#L349-L350',
2843+
'security._types.RoleTemplateQuery': 'security/_types/Privileges.ts#L317-L327',
2844+
'security._types.RoleTemplateScript': 'security/_types/Privileges.ts#L329-L347',
28452845
'security._types.RolesStats': 'security/_types/NodeSecurityStats.ts#L29-L34',
2846-
'security._types.SearchAccess': 'security/_types/Privileges.ts#L456-L476',
2846+
'security._types.SearchAccess': 'security/_types/Privileges.ts#L420-L440',
28472847
'security._types.SecuritySettings': 'security/_types/SecuritySettings.ts#L22-L24',
28482848
'security._types.TemplateFormat': 'security/_types/RoleTemplate.ts#L22-L25',
28492849
'security._types.User': 'security/_types/User.ts#L23-L31',
2850-
'security._types.UserIndicesPrivileges': 'security/_types/Privileges.ts#L294-L316',
2850+
'security._types.UserIndicesPrivileges': 'security/_types/Privileges.ts#L298-L299',
28512851
'security._types.UserProfile': 'security/_types/UserProfile.ts#L41-L47',
28522852
'security._types.UserProfileHitMetadata': 'security/_types/UserProfile.ts#L27-L30',
28532853
'security._types.UserProfileUser': 'security/_types/UserProfile.ts#L32-L39',
@@ -3197,10 +3197,10 @@
31973197
'transform._types.PivotGroupByContainer': 'transform/_types/Transform.ts#L70-L78',
31983198
'transform._types.RetentionPolicy': 'transform/_types/Transform.ts#L88-L96',
31993199
'transform._types.RetentionPolicyContainer': 'transform/_types/Transform.ts#L80-L86',
3200-
'transform._types.Settings': 'transform/_types/Transform.ts#L98-L154',
3201-
'transform._types.Source': 'transform/_types/Transform.ts#L156-L175',
3202-
'transform._types.SyncContainer': 'transform/_types/Transform.ts#L179-L185',
3203-
'transform._types.TimeSync': 'transform/_types/Transform.ts#L187-L199',
3200+
'transform._types.Settings': 'transform/_types/Transform.ts#L98-L166',
3201+
'transform._types.Source': 'transform/_types/Transform.ts#L168-L187',
3202+
'transform._types.SyncContainer': 'transform/_types/Transform.ts#L191-L197',
3203+
'transform._types.TimeSync': 'transform/_types/Transform.ts#L199-L211',
32043204
'transform.delete_transform.Request': 'transform/delete_transform/DeleteTransformRequest.ts#L24-L66',
32053205
'transform.delete_transform.Response': 'transform/delete_transform/DeleteTransformResponse.ts#L22-L25',
32063206
'transform.get_node_stats.Request': 'transform/get_node_stats/GetNodeStatsRequest.ts#L23-L40',
@@ -3442,10 +3442,10 @@
34423442
if (hash.length > 1) {
34433443
hash = hash.substring(1);
34443444
}
3445-
window.location = "https://github.com/elastic/elasticsearch-specification/tree/58d568d71a372deb7872cb34e82f0a2631d52bb3/specification/" + (paths[hash] || "");
3445+
window.location = "https://github.com/elastic/elasticsearch-specification/tree/49022a2c08d291955de83e26c583b7dc628fb558/specification/" + (paths[hash] || "");
34463446
</script>
34473447
</head>
34483448
<body>
3449-
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/58d568d71a372deb7872cb34e82f0a2631d52bb3/specification/">Elasticsearch API specification</a>.
3449+
Please see the <a href="https://github.com/elastic/elasticsearch-specification/tree/49022a2c08d291955de83e26c583b7dc628fb558/specification/">Elasticsearch API specification</a>.
34503450
</body>
34513451
</html>

0 commit comments

Comments
 (0)