Skip to content

Commit baa74a3

Browse files
committed
regenerate after generator changes
1 parent 96766e7 commit baa74a3

File tree

571 files changed

+1382
-1329
lines changed

Some content is hidden

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

571 files changed

+1382
-1329
lines changed

java-client/src/main/java/co/elastic/clients/elasticsearch/_types/AcknowledgedResponseBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public abstract class AcknowledgedResponseBase implements AcknowledgedResponse,
6363

6464
protected AcknowledgedResponseBase(AbstractBuilder<?> builder) {
6565

66-
this.acknowledged = ApiTypeHelper.requireNonNull(builder.acknowledged, this, "acknowledged");
66+
this.acknowledged = ApiTypeHelper.requireNonNull(builder.acknowledged, this, "acknowledged", false);
6767

6868
}
6969

java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BulkIndexByScrollFailure.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ private BulkIndexByScrollFailure(Builder builder) {
7575
this.cause = ApiTypeHelper.requireNonNull(builder.cause, this, "cause");
7676
this.id = ApiTypeHelper.requireNonNull(builder.id, this, "id");
7777
this.index = ApiTypeHelper.requireNonNull(builder.index, this, "index");
78-
this.status = ApiTypeHelper.requireNonNull(builder.status, this, "status");
78+
this.status = ApiTypeHelper.requireNonNull(builder.status, this, "status", 0);
7979

8080
}
8181

java-client/src/main/java/co/elastic/clients/elasticsearch/_types/BulkStats.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,15 +86,15 @@ public class BulkStats implements JsonpSerializable {
8686

8787
private BulkStats(Builder builder) {
8888

89-
this.totalOperations = ApiTypeHelper.requireNonNull(builder.totalOperations, this, "totalOperations");
89+
this.totalOperations = ApiTypeHelper.requireNonNull(builder.totalOperations, this, "totalOperations", 0);
9090
this.totalTime = builder.totalTime;
91-
this.totalTimeInMillis = ApiTypeHelper.requireNonNull(builder.totalTimeInMillis, this, "totalTimeInMillis");
91+
this.totalTimeInMillis = ApiTypeHelper.requireNonNull(builder.totalTimeInMillis, this, "totalTimeInMillis", 0);
9292
this.totalSize = builder.totalSize;
93-
this.totalSizeInBytes = ApiTypeHelper.requireNonNull(builder.totalSizeInBytes, this, "totalSizeInBytes");
93+
this.totalSizeInBytes = ApiTypeHelper.requireNonNull(builder.totalSizeInBytes, this, "totalSizeInBytes", 0);
9494
this.avgTime = builder.avgTime;
95-
this.avgTimeInMillis = ApiTypeHelper.requireNonNull(builder.avgTimeInMillis, this, "avgTimeInMillis");
95+
this.avgTimeInMillis = ApiTypeHelper.requireNonNull(builder.avgTimeInMillis, this, "avgTimeInMillis", 0);
9696
this.avgSize = builder.avgSize;
97-
this.avgSizeInBytes = ApiTypeHelper.requireNonNull(builder.avgSizeInBytes, this, "avgSizeInBytes");
97+
this.avgSizeInBytes = ApiTypeHelper.requireNonNull(builder.avgSizeInBytes, this, "avgSizeInBytes", 0);
9898

9999
}
100100

java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ClusterDetails.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ private ClusterDetails(Builder builder) {
8383
this.status = ApiTypeHelper.requireNonNull(builder.status, this, "status");
8484
this.indices = ApiTypeHelper.requireNonNull(builder.indices, this, "indices");
8585
this.took = builder.took;
86-
this.timedOut = ApiTypeHelper.requireNonNull(builder.timedOut, this, "timedOut");
86+
this.timedOut = ApiTypeHelper.requireNonNull(builder.timedOut, this, "timedOut", false);
8787
this.shards = builder.shards;
8888
this.failures = ApiTypeHelper.unmodifiable(builder.failures);
8989

java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ClusterStatistics.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,12 @@ public class ClusterStatistics implements JsonpSerializable {
7979

8080
private ClusterStatistics(Builder builder) {
8181

82-
this.skipped = ApiTypeHelper.requireNonNull(builder.skipped, this, "skipped");
83-
this.successful = ApiTypeHelper.requireNonNull(builder.successful, this, "successful");
84-
this.total = ApiTypeHelper.requireNonNull(builder.total, this, "total");
85-
this.running = ApiTypeHelper.requireNonNull(builder.running, this, "running");
86-
this.partial = ApiTypeHelper.requireNonNull(builder.partial, this, "partial");
87-
this.failed = ApiTypeHelper.requireNonNull(builder.failed, this, "failed");
82+
this.skipped = ApiTypeHelper.requireNonNull(builder.skipped, this, "skipped", 0);
83+
this.successful = ApiTypeHelper.requireNonNull(builder.successful, this, "successful", 0);
84+
this.total = ApiTypeHelper.requireNonNull(builder.total, this, "total", 0);
85+
this.running = ApiTypeHelper.requireNonNull(builder.running, this, "running", 0);
86+
this.partial = ApiTypeHelper.requireNonNull(builder.partial, this, "partial", 0);
87+
this.failed = ApiTypeHelper.requireNonNull(builder.failed, this, "failed", 0);
8888
this.details = ApiTypeHelper.unmodifiable(builder.details);
8989

9090
}

java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CompletionStats.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class CompletionStats implements JsonpSerializable {
7272

7373
private CompletionStats(Builder builder) {
7474

75-
this.sizeInBytes = ApiTypeHelper.requireNonNull(builder.sizeInBytes, this, "sizeInBytes");
75+
this.sizeInBytes = ApiTypeHelper.requireNonNull(builder.sizeInBytes, this, "sizeInBytes", 0);
7676
this.size = builder.size;
7777
this.fields = ApiTypeHelper.unmodifiable(builder.fields);
7878

java-client/src/main/java/co/elastic/clients/elasticsearch/_types/CoordsGeoBounds.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ public class CoordsGeoBounds implements JsonpSerializable {
7070

7171
private CoordsGeoBounds(Builder builder) {
7272

73-
this.top = ApiTypeHelper.requireNonNull(builder.top, this, "top");
74-
this.bottom = ApiTypeHelper.requireNonNull(builder.bottom, this, "bottom");
75-
this.left = ApiTypeHelper.requireNonNull(builder.left, this, "left");
76-
this.right = ApiTypeHelper.requireNonNull(builder.right, this, "right");
73+
this.top = ApiTypeHelper.requireNonNull(builder.top, this, "top", 0);
74+
this.bottom = ApiTypeHelper.requireNonNull(builder.bottom, this, "bottom", 0);
75+
this.left = ApiTypeHelper.requireNonNull(builder.left, this, "left", 0);
76+
this.right = ApiTypeHelper.requireNonNull(builder.right, this, "right", 0);
7777

7878
}
7979

java-client/src/main/java/co/elastic/clients/elasticsearch/_types/DocStats.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class DocStats implements JsonpSerializable {
6868

6969
private DocStats(Builder builder) {
7070

71-
this.count = ApiTypeHelper.requireNonNull(builder.count, this, "count");
71+
this.count = ApiTypeHelper.requireNonNull(builder.count, this, "count", 0);
7272
this.deleted = builder.deleted;
7373

7474
}

java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ElasticsearchVersionInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private ElasticsearchVersionInfo(Builder builder) {
8686
this.buildDate = ApiTypeHelper.requireNonNull(builder.buildDate, this, "buildDate");
8787
this.buildFlavor = ApiTypeHelper.requireNonNull(builder.buildFlavor, this, "buildFlavor");
8888
this.buildHash = ApiTypeHelper.requireNonNull(builder.buildHash, this, "buildHash");
89-
this.buildSnapshot = ApiTypeHelper.requireNonNull(builder.buildSnapshot, this, "buildSnapshot");
89+
this.buildSnapshot = ApiTypeHelper.requireNonNull(builder.buildSnapshot, this, "buildSnapshot", false);
9090
this.buildType = ApiTypeHelper.requireNonNull(builder.buildType, this, "buildType");
9191
this.luceneVersion = ApiTypeHelper.requireNonNull(builder.luceneVersion, this, "luceneVersion");
9292
this.minimumIndexCompatibilityVersion = ApiTypeHelper.requireNonNull(builder.minimumIndexCompatibilityVersion,

java-client/src/main/java/co/elastic/clients/elasticsearch/_types/ErrorResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public class ErrorResponse implements JsonpSerializable {
7070
private ErrorResponse(Builder builder) {
7171

7272
this.error = ApiTypeHelper.requireNonNull(builder.error, this, "error");
73-
this.status = ApiTypeHelper.requireNonNull(builder.status, this, "status");
73+
this.status = ApiTypeHelper.requireNonNull(builder.status, this, "status", 0);
7474

7575
}
7676

0 commit comments

Comments
 (0)