Skip to content

Commit 068a7a8

Browse files
lucy66hwgithub-actions[bot]
authored andcommitted
Protobuf schema change detected
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent ffdb1f3 commit 068a7a8

1 file changed

Lines changed: 14 additions & 16 deletions

File tree

protos/generated/models/aggregated_models.proto

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ message BulkRequestBody {
770770

771771
optional UpdateAction update_action = 2;
772772

773-
optional ObjectMap object_map = 3;
773+
optional Bytes object = 3;
774774
}
775775
message BulkResponse {
776776
bool errors = 1;
@@ -964,7 +964,7 @@ message CompletionAllOfOptionsInner {
964964

965965
optional float x_score = 9;
966966

967-
optional ObjectMap x_source = 10;
967+
optional Bytes x_source = 10;
968968
}
969969
message CompletionContext {
970970
optional double boost = 1;
@@ -1009,7 +1009,7 @@ message CompletionSuggestAllOfOptions {
10091009

10101010
optional float x_score = 9;
10111011

1012-
optional ObjectMap x_source = 10;
1012+
optional Bytes x_source = 10;
10131013
}
10141014
message CompletionSuggestOption {
10151015
optional bool collate_match = 1;
@@ -1031,7 +1031,7 @@ message CompletionSuggestOption {
10311031

10321032
optional float x_score = 9;
10331033

1034-
optional ObjectMap x_source = 10;
1034+
optional Bytes x_source = 10;
10351035
}
10361036
message CompletionSuggester {
10371037
optional string analyzer = 1;
@@ -2684,15 +2684,13 @@ message GlobalAggregation {
26842684
map<string, AggregationContainer> aggs = 4;
26852685
}
26862686
message GlobalParams {
2687-
optional ObjectMap pretty = 1;
2687+
// Whether to return human-readable values for statistics.
2688+
optional bool human = 1;
26882689

2689-
optional ObjectMap human = 2;
2690+
// Whether to include the stack trace of returned errors.
2691+
optional bool error_trace = 2;
26902692

2691-
optional ObjectMap error_trace = 3;
2692-
2693-
optional ObjectMap source = 4;
2694-
2695-
optional ObjectMap filter_path = 5;
2693+
repeated string filter_path = 3;
26962694
}
26972695
message GoogleNormalizedDistanceHeuristic {
26982696
// Set to `false` if you defined a custom background filter that represents a different set of documents that you want to compare to.
@@ -3050,7 +3048,7 @@ message Hit {
30503048

30513049
optional string x_routing = 16;
30523050

3053-
optional ObjectMap x_source = 17;
3051+
optional Bytes x_source = 17;
30543052

30553053
// The sequence number of the document.
30563054
optional int64 x_seq_no = 18;
@@ -3108,7 +3106,7 @@ message HitsMetadataHitsInner {
31083106

31093107
optional string x_routing = 16;
31103108

3111-
optional ObjectMap x_source = 17;
3109+
optional Bytes x_source = 17;
31123110

31133111
// The sequence number of the document.
31143112
optional int64 x_seq_no = 18;
@@ -3286,7 +3284,7 @@ message InlineGetDictUserDefined {
32863284
optional string x_routing = 5;
32873285

32883286
// The source of the document.
3289-
optional ObjectMap x_source = 6;
3287+
optional Bytes x_source = 6;
32903288

32913289
optional ObjectMap metadata_fields = 7;
32923290
}
@@ -7262,7 +7260,7 @@ message UpdateAction {
72627260
optional bool detect_noop = 1;
72637261

72647262
// A partial update to an existing document.
7265-
optional ObjectMap doc = 2;
7263+
optional Bytes doc = 2;
72667264

72677265
// When `true`, uses the contents of `doc` as the value of `upsert`.
72687266
optional bool doc_as_upsert = 3;
@@ -7276,7 +7274,7 @@ message UpdateAction {
72767274
optional bool scripted_upsert = 6;
72777275

72787276
// If the document does not already exist, the contents of `upsert` are inserted as a new document. If the document exists, the `script` is executed.
7279-
optional ObjectMap upsert = 7;
7277+
optional Bytes upsert = 7;
72807278

72817279
optional SourceConfig x_source = 8;
72827280
}

0 commit comments

Comments
 (0)