Skip to content

Commit 39f6e80

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 68c1884 commit 39f6e80

1 file changed

Lines changed: 32 additions & 12 deletions

File tree

protos/generated/models/aggregated_models.proto

Lines changed: 32 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -369,11 +369,14 @@ message AggregationProfile {
369369

370370
string description = 2;
371371

372-
string type = 3;
372+
// Time unit for nanoseconds.
373+
int64 time_in_nanos = 3;
373374

374-
optional AggregationProfileDebug debug = 4;
375+
string type = 4;
375376

376-
repeated AggregationProfile children = 5;
377+
optional AggregationProfileDebug debug = 5;
378+
379+
repeated AggregationProfile children = 6;
377380
}
378381
message AggregationProfileDebug {
379382
optional int32 segments_with_multi_valued_ords = 1;
@@ -517,7 +520,6 @@ message AutoDateHistogramAggregation {
517520

518521
optional MinimumInterval minimum_interval = 8;
519522

520-
// A date and time, either as a string whose format depends on the context (defaulting to ISO_8601) or the number of milliseconds since the epoch. OpenSearch accepts both as an input but will generally output a string. representation.
521523
optional string missing = 9;
522524

523525
// Time zone specified as a ISO 8601 UTC offset.
@@ -881,7 +883,10 @@ message Collector {
881883

882884
string reason = 2;
883885

884-
repeated Collector children = 3;
886+
// Time unit for nanoseconds.
887+
int64 time_in_nanos = 3;
888+
889+
repeated Collector children = 4;
885890
}
886891
enum CombinedFieldsOperator {
887892
COMBINED_FIELDS_OPERATOR_UNSPECIFIED = 0;
@@ -1250,7 +1255,6 @@ message DateDecayPlacement {
12501255
// A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts `0` without a unit and `-1` to indicate an unspecified value.
12511256
optional string offset = 2;
12521257

1253-
// A date and time, either as a string whose format depends on the context (defaulting to ISO_8601) or the number of milliseconds since the epoch. OpenSearch accepts both as an input but will generally output a string. representation.
12541258
optional string origin = 3;
12551259

12561260
// A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts `0` without a unit and `-1` to indicate an unspecified value.
@@ -1295,7 +1299,6 @@ message DateHistogramAggregation {
12951299
// Only returns buckets that have `min_doc_count` number of documents. By default, all buckets between the first bucket that matches documents and the last one are returned.
12961300
optional int32 min_doc_count = 12;
12971301

1298-
// A date and time, either as a string whose format depends on the context (defaulting to ISO_8601) or the number of milliseconds since the epoch. OpenSearch accepts both as an input but will generally output a string. representation.
12991302
optional string missing = 13;
13001303

13011304
// A duration. Units can be `nanos`, `micros`, `ms` (milliseconds), `s` (seconds), `m` (minutes), `h` (hours) and `d` (days). Also accepts `0` without a unit and `-1` to indicate an unspecified value.
@@ -1317,6 +1320,9 @@ message DateHistogramBucket {
13171320
int64 doc_count = 1;
13181321

13191322
optional string key_as_string = 2;
1323+
1324+
// The time unit for milliseconds.
1325+
int64 key = 3;
13201326
}
13211327
message DateRangeAggregate {
13221328
// The custom metadata attached to a resource.
@@ -1409,6 +1415,14 @@ message DateRangeQueryAllOfTo {
14091415
NullValue null_value = 2;
14101416
}
14111417
}
1418+
message DateTime {
1419+
oneof date_time {
1420+
string string = 1;
1421+
1422+
// The time unit for milliseconds.
1423+
int64 int64 = 2;
1424+
}
1425+
}
14121426
enum Day {
14131427
DAY_UNSPECIFIED = 0;
14141428
DAY_DAY = 1;
@@ -1951,11 +1965,14 @@ message FetchProfile {
19511965

19521966
string description = 2;
19531967

1954-
FetchProfileBreakdown breakdown = 3;
1968+
// Time unit for nanoseconds.
1969+
int64 time_in_nanos = 3;
19551970

1956-
optional FetchProfileDebug debug = 4;
1971+
FetchProfileBreakdown breakdown = 4;
19571972

1958-
repeated FetchProfile children = 5;
1973+
optional FetchProfileDebug debug = 5;
1974+
1975+
repeated FetchProfile children = 6;
19591976
}
19601977
message FetchProfileBreakdown {
19611978
optional int32 load_source = 1;
@@ -5130,9 +5147,12 @@ message QueryProfile {
51305147

51315148
string description = 2;
51325149

5133-
string type = 3;
5150+
// Time unit for nanoseconds.
5151+
int64 time_in_nanos = 3;
5152+
5153+
string type = 4;
51345154

5135-
repeated QueryProfile children = 4;
5155+
repeated QueryProfile children = 5;
51365156
}
51375157
message QueryStringQuery {
51385158
// Floating point number used to decrease or increase the relevance scores of the query. Boost values are relative to the default value of 1.0. A boost value between 0 and 1.0 decreases the relevance score. A value greater than 1.0 increases the relevance score.

0 commit comments

Comments
 (0)