Skip to content

Commit

Permalink
Re-generate client code using latest OpenSearch API specification (20…
Browse files Browse the repository at this point in the history
…24-10-14) (#1210)

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent a1525e1 commit 2ce0975
Show file tree
Hide file tree
Showing 6 changed files with 1,400 additions and 947 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public static BulkByScrollTaskStatus of(Function<BulkByScrollTaskStatus.Builder,
}

/**
* Required - The number of scroll responses pulled back by the reindex.
* Required - The number of scroll responses pulled back by the reindex operation.
* <p>
* API name: {@code batches}
* </p>
Expand Down Expand Up @@ -174,7 +174,7 @@ public final long noops() {
}

/**
* Required - The number of requests per second effectively executed during the reindex.
* Required - The number of requests per second effectively executed during the reindex operation.
* <p>
* API name: {@code requests_per_second}
* </p>
Expand Down Expand Up @@ -248,8 +248,7 @@ public final long total() {
}

/**
* The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex
* updating it.
* The number of documents that were successfully updated after the reindex operation.
* <p>
* API name: {@code updated}
* </p>
Expand All @@ -260,7 +259,7 @@ public final Long updated() {
}

/**
* Required - The number of version conflicts that reindex hits.
* Required - The number of version conflicts encountered by the reindex operation.
* <p>
* API name: {@code version_conflicts}
* </p>
Expand Down Expand Up @@ -378,7 +377,7 @@ public static class Builder extends ObjectBuilderBase implements ObjectBuilder<B
private Long versionConflicts;

/**
* Required - The number of scroll responses pulled back by the reindex.
* Required - The number of scroll responses pulled back by the reindex operation.
* <p>
* API name: {@code batches}
* </p>
Expand Down Expand Up @@ -430,7 +429,7 @@ public final Builder noops(long value) {
}

/**
* Required - The number of requests per second effectively executed during the reindex.
* Required - The number of requests per second effectively executed during the reindex operation.
* <p>
* API name: {@code requests_per_second}
* </p>
Expand Down Expand Up @@ -558,8 +557,7 @@ public final Builder total(long value) {
}

/**
* The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex
* updating it.
* The number of documents that were successfully updated after the reindex operation.
* <p>
* API name: {@code updated}
* </p>
Expand All @@ -570,7 +568,7 @@ public final Builder updated(@Nullable Long value) {
}

/**
* Required - The number of version conflicts that reindex hits.
* Required - The number of version conflicts encountered by the reindex operation.
* <p>
* API name: {@code version_conflicts}
* </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public final ErrorCause causedBy() {
}

/**
* A human-readable explanation of the error, in english
* A human-readable explanation of the error, in English.
* <p>
* API name: {@code reason}
* </p>
Expand All @@ -127,7 +127,7 @@ public final List<ErrorCause> rootCause() {
}

/**
* The server stack trace. Present only if the <code>error_trace=true</code> parameter was sent with the request.
* The server stack trace, present only if the <code>error_trace=true</code> parameter was sent with the request.
* <p>
* API name: {@code stack_trace}
* </p>
Expand All @@ -146,7 +146,7 @@ public final List<ErrorCause> suppressed() {
}

/**
* Required - The type of error
* Required - The type of error.
* <p>
* API name: {@code type}
* </p>
Expand All @@ -157,7 +157,7 @@ public final String type() {
}

/**
* Additional details about the error.
* Any additional information about the error.
*/
@Nonnull
public final Map<String, JsonData> metadata() {
Expand Down Expand Up @@ -252,7 +252,7 @@ public final Builder causedBy(Function<ErrorCause.Builder, ObjectBuilder<ErrorCa
}

/**
* A human-readable explanation of the error, in english
* A human-readable explanation of the error, in English.
* <p>
* API name: {@code reason}
* </p>
Expand Down Expand Up @@ -298,7 +298,7 @@ public final Builder rootCause(Function<ErrorCause.Builder, ObjectBuilder<ErrorC
}

/**
* The server stack trace. Present only if the <code>error_trace=true</code> parameter was sent with the request.
* The server stack trace, present only if the <code>error_trace=true</code> parameter was sent with the request.
* <p>
* API name: {@code stack_trace}
* </p>
Expand Down Expand Up @@ -344,7 +344,7 @@ public final Builder suppressed(Function<ErrorCause.Builder, ObjectBuilder<Error
}

/**
* Required - The type of error
* Required - The type of error.
* <p>
* API name: {@code type}
* </p>
Expand All @@ -355,7 +355,7 @@ public final Builder type(String value) {
}

/**
* Additional details about the error.
* Any additional information about the error.
*
* <p>
* Adds all elements of <code>map</code> to <code>metadata</code>.
Expand All @@ -367,7 +367,7 @@ public final Builder metadata(Map<String, JsonData> map) {
}

/**
* Additional details about the error.
* Any additional information about the error.
*
* <p>
* Adds an entry to <code>metadata</code>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ public static NodeStatistics of(Function<NodeStatistics.Builder, ObjectBuilder<N
}

/**
* Required - Number of nodes that rejected the request or failed to respond. If this value is not 0, a reason for the rejection or
* failure is included in the response.
* Required - The number of nodes that rejected the request or failed to respond. If this value is not 0, then a reason for the
* rejection or failure is included in the response.
* <p>
* API name: {@code failed}
* </p>
Expand All @@ -101,7 +101,7 @@ public final List<ErrorCause> failures() {
}

/**
* Required - Number of nodes that responded successfully to the request.
* Required - The number of nodes that responded successfully to the request.
* <p>
* API name: {@code successful}
* </p>
Expand All @@ -111,7 +111,7 @@ public final int successful() {
}

/**
* Required - Total number of nodes selected by the request.
* Required - The total number of nodes selected by the request.
* <p>
* API name: {@code total}
* </p>
Expand Down Expand Up @@ -163,8 +163,8 @@ public static class Builder extends ObjectBuilderBase implements ObjectBuilder<N
private Integer total;

/**
* Required - Number of nodes that rejected the request or failed to respond. If this value is not 0, a reason for the rejection or
* failure is included in the response.
* Required - The number of nodes that rejected the request or failed to respond. If this value is not 0, then a reason for the
* rejection or failure is included in the response.
* <p>
* API name: {@code failed}
* </p>
Expand Down Expand Up @@ -210,7 +210,7 @@ public final Builder failures(Function<ErrorCause.Builder, ObjectBuilder<ErrorCa
}

/**
* Required - Number of nodes that responded successfully to the request.
* Required - The number of nodes that responded successfully to the request.
* <p>
* API name: {@code successful}
* </p>
Expand All @@ -221,7 +221,7 @@ public final Builder successful(int value) {
}

/**
* Required - Total number of nodes selected by the request.
* Required - The total number of nodes selected by the request.
* <p>
* API name: {@code total}
* </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public static Status of(Function<Status.Builder, ObjectBuilder<Status>> fn) {
}

/**
* The number of scroll responses pulled back by the reindex.
* The number of scroll responses pulled back by the reindex operation.
* <p>
* API name: {@code batches}
* </p>
Expand Down Expand Up @@ -214,7 +214,7 @@ public final String phase() {
}

/**
* The number of requests per second effectively executed during the reindex.
* The number of requests per second effectively executed during the reindex operation.
* <p>
* API name: {@code requests_per_second}
* </p>
Expand Down Expand Up @@ -300,8 +300,7 @@ public final Long total() {
}

/**
* The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex
* updating it.
* The number of documents that were successfully updated after the reindex operation.
* <p>
* API name: {@code updated}
* </p>
Expand All @@ -312,7 +311,7 @@ public final Long updated() {
}

/**
* The number of version conflicts that reindex hits.
* The number of version conflicts encountered by the reindex operation.
* <p>
* API name: {@code version_conflicts}
* </p>
Expand Down Expand Up @@ -485,7 +484,7 @@ public static class Builder extends ObjectBuilderBase implements ObjectBuilder<S
private Map<String, JsonData> metadata;

/**
* The number of scroll responses pulled back by the reindex.
* The number of scroll responses pulled back by the reindex operation.
* <p>
* API name: {@code batches}
* </p>
Expand Down Expand Up @@ -545,7 +544,7 @@ public final Builder phase(@Nullable String value) {
}

/**
* The number of requests per second effectively executed during the reindex.
* The number of requests per second effectively executed during the reindex operation.
* <p>
* API name: {@code requests_per_second}
* </p>
Expand Down Expand Up @@ -681,8 +680,7 @@ public final Builder total(@Nullable Long value) {
}

/**
* The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex
* updating it.
* The number of documents that were successfully updated after the reindex operation.
* <p>
* API name: {@code updated}
* </p>
Expand All @@ -693,7 +691,7 @@ public final Builder updated(@Nullable Long value) {
}

/**
* The number of version conflicts that reindex hits.
* The number of version conflicts encountered by the reindex operation.
* <p>
* API name: {@code version_conflicts}
* </p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static TaskResponse of(Function<TaskResponse.Builder, ObjectBuilder<TaskR
}

/**
* Required - The number of scroll responses pulled back by the reindex.
* Required - The number of scroll responses pulled back by the reindex operation.
* <p>
* API name: {@code batches}
* </p>
Expand Down Expand Up @@ -196,7 +196,7 @@ public final long noops() {
}

/**
* Required - The number of requests per second effectively executed during the reindex.
* Required - The number of requests per second effectively executed during the reindex operation.
* <p>
* API name: {@code requests_per_second}
* </p>
Expand Down Expand Up @@ -284,8 +284,7 @@ public final long total() {
}

/**
* The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex
* updating it.
* The number of documents that were successfully updated after the reindex operation.
* <p>
* API name: {@code updated}
* </p>
Expand All @@ -296,7 +295,7 @@ public final Long updated() {
}

/**
* Required - The number of version conflicts that reindex hits.
* Required - The number of version conflicts encountered by the reindex operation.
* <p>
* API name: {@code version_conflicts}
* </p>
Expand Down Expand Up @@ -430,7 +429,7 @@ public static class Builder extends ObjectBuilderBase implements ObjectBuilder<T
private Long versionConflicts;

/**
* Required - The number of scroll responses pulled back by the reindex.
* Required - The number of scroll responses pulled back by the reindex operation.
* <p>
* API name: {@code batches}
* </p>
Expand Down Expand Up @@ -517,7 +516,7 @@ public final Builder noops(long value) {
}

/**
* Required - The number of requests per second effectively executed during the reindex.
* Required - The number of requests per second effectively executed during the reindex operation.
* <p>
* API name: {@code requests_per_second}
* </p>
Expand Down Expand Up @@ -661,8 +660,7 @@ public final Builder total(long value) {
}

/**
* The number of documents that were successfully updated, for example, a document with same ID already existed prior to reindex
* updating it.
* The number of documents that were successfully updated after the reindex operation.
* <p>
* API name: {@code updated}
* </p>
Expand All @@ -673,7 +671,7 @@ public final Builder updated(@Nullable Long value) {
}

/**
* Required - The number of version conflicts that reindex hits.
* Required - The number of version conflicts encountered by the reindex operation.
* <p>
* API name: {@code version_conflicts}
* </p>
Expand Down
Loading

0 comments on commit 2ce0975

Please sign in to comment.