Skip to content

Commit 614888c

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 7ddc81f commit 614888c

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

protos/generated/models/aggregated_models.proto

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ message ObjectMap {
2929
repeated Value value = 1;
3030
}
3131
}
32+
33+
message GeneralNumber {
34+
oneof value {
35+
int32 int32_value = 1;
36+
int64 int64_value = 2;
37+
float float_value = 3;
38+
double double_value = 4;
39+
}
40+
}
3241
message AdjacencyMatrixAggregate {
3342
// The custom metadata attached to a resource.
3443
optional ObjectMap meta = 1;
@@ -1636,7 +1645,7 @@ message ErrorResponseBase {
16361645
ErrorCause error = 1;
16371646

16381647
// The HTTP status code.
1639-
float status = 2;
1648+
GeneralNumber status = 2;
16401649
}
16411650
message EwmaModelSettings {
16421651
optional float alpha = 1;
@@ -2063,7 +2072,7 @@ enum FieldType {
20632072
message FieldValue {
20642073
optional bool bool = 1;
20652074

2066-
optional float float = 2;
2075+
optional GeneralNumber general_number = 2;
20672076

20682077
optional string string = 3;
20692078
}
@@ -2537,7 +2546,7 @@ message GeoTileGridAggregation {
25372546
optional string field = 3;
25382547

25392548
// The precision level for geo tile calculations.
2540-
optional float precision = 4;
2549+
optional GeneralNumber precision = 4;
25412550

25422551
// Allows for more accurate counting of the top cells returned in the final result the aggregation. Defaults to returning `max(10,(size x number-of-shards))` buckets from each shard.
25432552
optional int32 shard_size = 5;

0 commit comments

Comments
 (0)