1syntax = "proto2";
2
3package acts.metrics;
4
5option java_package = "com.android.acts.metrics";
6
7// next id: 9
8message BoundedMetric {
9  // required
10  optional string test_class = 1;
11  optional string test_method = 2;
12  // required
13  optional string metric = 3;
14  // required
15  optional double value = 4;
16  optional DoubleValue lower_limit = 5;
17  optional DoubleValue upper_limit = 6;
18  optional string unit = 7;
19  repeated KeyValue extra = 8;
20}
21
22// Wrapper needed to support proto3-like style nullable values.
23// next id: 2
24message DoubleValue {
25  optional double value = 1;
26}
27
28// next id: 3
29message KeyValue {
30  optional string key = 1;
31  optional string value = 2;
32}
33
34// next id: 2
35message BoundedMetricsBundle {
36  repeated BoundedMetric bounded_metrics = 1;
37}
38