-
Notifications
You must be signed in to change notification settings - Fork 1
/
hqs.proto
49 lines (40 loc) · 933 Bytes
/
hqs.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
syntax = "proto3";
package kaist.iclab.abclogger;
option java_package = "kaist.iclab.abclogger.grpc.proto";
option java_outer_classname = "HqsProtos";
message Statistic {
double mean = 1;
double std_dev = 2;
double min = 3;
double max = 4;
double median = 5;
double lower_quartile = 6;
double upper_quartile = 7;
}
message Hqs {
Statistic statistic = 1;
double value = 2;
int32 rank_percentile = 3;
}
message PhysicalHqs {
Hqs active_duration = 1;
Hqs inactive_duration = 2;
Hqs step_count = 3;
Hqs distance = 4;
Hqs calories = 5;
}
message SocialHqs {
Hqs call_duration = 1;
Hqs message_count = 2;
Hqs social_app_duration = 3;
}
message DigitalHqs {
repeated AppUsage app_usage = 1;
Hqs data_usage = 2;
Hqs phone_usage_duration = 3;
Hqs media_taken = 4;
message AppUsage {
string type = 1;
Hqs duration = 2;
}
}