From dc8a6c9acda140a38677e13a91f1da5e2a2d2303 Mon Sep 17 00:00:00 2001 From: Laura Trotta Date: Tue, 17 Nov 2026 10:28:01 +0000 Subject: [PATCH] [codegen] update to latest spec --- .../stats/DenseVectorOffHeapStats.java | 56 +++++++++---------- .../elasticsearch/doc-files/api-spec.html | 4 +- 2 files changed, 30 insertions(+), 30 deletions(-) diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/DenseVectorOffHeapStats.java b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/DenseVectorOffHeapStats.java index 6f13b5f0ac..25235fe928 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/DenseVectorOffHeapStats.java +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/cluster/stats/DenseVectorOffHeapStats.java @@ -87,10 +87,10 @@ public class DenseVectorOffHeapStats implements JsonpSerializable { @Nullable private final String totalVexSize; - private final long totalCenifSizeBytes; + private final long totalCenivfSizeBytes; @Nullable - private final String totalCenifSize; + private final String totalCenivfSize; private final long totalClivfSizeBytes; @@ -113,9 +113,9 @@ private DenseVectorOffHeapStats(Builder builder) { this.totalVeqSize = builder.totalVeqSize; this.totalVexSizeBytes = ApiTypeHelper.requireNonNull(builder.totalVexSizeBytes, this, "totalVexSizeBytes", 0); this.totalVexSize = builder.totalVexSize; - this.totalCenifSizeBytes = ApiTypeHelper.requireNonNull(builder.totalCenifSizeBytes, this, - "totalCenifSizeBytes", 0); - this.totalCenifSize = builder.totalCenifSize; + this.totalCenivfSizeBytes = ApiTypeHelper.requireNonNull(builder.totalCenivfSizeBytes, this, + "totalCenivfSizeBytes", 0); + this.totalCenivfSize = builder.totalCenivfSize; this.totalClivfSizeBytes = ApiTypeHelper.requireNonNull(builder.totalClivfSizeBytes, this, "totalClivfSizeBytes", 0); this.totalClivfSize = builder.totalClivfSize; @@ -203,18 +203,18 @@ public final String totalVexSize() { } /** - * Required - API name: {@code total_cenif_size_bytes} + * Required - API name: {@code total_cenivf_size_bytes} */ - public final long totalCenifSizeBytes() { - return this.totalCenifSizeBytes; + public final long totalCenivfSizeBytes() { + return this.totalCenivfSizeBytes; } /** - * API name: {@code total_cenif_size} + * API name: {@code total_cenivf_size} */ @Nullable - public final String totalCenifSize() { - return this.totalCenifSize; + public final String totalCenivfSize() { + return this.totalCenivfSize; } /** @@ -290,12 +290,12 @@ protected void serializeInternal(JsonGenerator generator, JsonpMapper mapper) { generator.write(this.totalVexSize); } - generator.writeKey("total_cenif_size_bytes"); - generator.write(this.totalCenifSizeBytes); + generator.writeKey("total_cenivf_size_bytes"); + generator.write(this.totalCenivfSizeBytes); - if (this.totalCenifSize != null) { - generator.writeKey("total_cenif_size"); - generator.write(this.totalCenifSize); + if (this.totalCenivfSize != null) { + generator.writeKey("total_cenivf_size"); + generator.write(this.totalCenivfSize); } generator.writeKey("total_clivf_size_bytes"); @@ -367,10 +367,10 @@ public static class Builder extends WithJsonObjectBuilderBase @Nullable private String totalVexSize; - private Long totalCenifSizeBytes; + private Long totalCenivfSizeBytes; @Nullable - private String totalCenifSize; + private String totalCenivfSize; private Long totalClivfSizeBytes; @@ -393,8 +393,8 @@ private Builder(DenseVectorOffHeapStats instance) { this.totalVeqSize = instance.totalVeqSize; this.totalVexSizeBytes = instance.totalVexSizeBytes; this.totalVexSize = instance.totalVexSize; - this.totalCenifSizeBytes = instance.totalCenifSizeBytes; - this.totalCenifSize = instance.totalCenifSize; + this.totalCenivfSizeBytes = instance.totalCenivfSizeBytes; + this.totalCenivfSize = instance.totalCenivfSize; this.totalClivfSizeBytes = instance.totalClivfSizeBytes; this.totalClivfSize = instance.totalClivfSize; this.fielddata = instance.fielddata; @@ -481,18 +481,18 @@ public final Builder totalVexSize(@Nullable String value) { } /** - * Required - API name: {@code total_cenif_size_bytes} + * Required - API name: {@code total_cenivf_size_bytes} */ - public final Builder totalCenifSizeBytes(long value) { - this.totalCenifSizeBytes = value; + public final Builder totalCenivfSizeBytes(long value) { + this.totalCenivfSizeBytes = value; return this; } /** - * API name: {@code total_cenif_size} + * API name: {@code total_cenivf_size} */ - public final Builder totalCenifSize(@Nullable String value) { - this.totalCenifSize = value; + public final Builder totalCenivfSize(@Nullable String value) { + this.totalCenivfSize = value; return this; } @@ -577,8 +577,8 @@ protected static void setupDenseVectorOffHeapStatsDeserializer( op.add(Builder::totalVeqSize, JsonpDeserializer.stringDeserializer(), "total_veq_size"); op.add(Builder::totalVexSizeBytes, JsonpDeserializer.longDeserializer(), "total_vex_size_bytes"); op.add(Builder::totalVexSize, JsonpDeserializer.stringDeserializer(), "total_vex_size"); - op.add(Builder::totalCenifSizeBytes, JsonpDeserializer.longDeserializer(), "total_cenif_size_bytes"); - op.add(Builder::totalCenifSize, JsonpDeserializer.stringDeserializer(), "total_cenif_size"); + op.add(Builder::totalCenivfSizeBytes, JsonpDeserializer.longDeserializer(), "total_cenivf_size_bytes"); + op.add(Builder::totalCenivfSize, JsonpDeserializer.stringDeserializer(), "total_cenivf_size"); op.add(Builder::totalClivfSizeBytes, JsonpDeserializer.longDeserializer(), "total_clivf_size_bytes"); op.add(Builder::totalClivfSize, JsonpDeserializer.stringDeserializer(), "total_clivf_size"); op.add(Builder::fielddata, JsonpDeserializer.stringMapDeserializer( diff --git a/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html b/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html index 32ba79edeb..4600254239 100644 --- a/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html +++ b/java-client/src/main/java/co/elastic/clients/elasticsearch/doc-files/api-spec.html @@ -3576,10 +3576,10 @@ if (hash.length > 1) { hash = hash.substring(1); } - window.location = "https://github.com/elastic/elasticsearch-specification/tree/84a2141415f45cd5078d0785c5686f801d479e6f/specification/" + (paths[hash] || ""); + window.location = "https://github.com/elastic/elasticsearch-specification/tree/c20dd2ab2589479650a2e0bdfa8c21cd60a570fb/specification/" + (paths[hash] || ""); - Please see the Elasticsearch API specification. + Please see the Elasticsearch API specification.