-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlogbatch.proto3
110 lines (97 loc) · 2.58 KB
/
logbatch.proto3
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
syntax = "proto3";
//import "google/protobuf/any.proto";
message DeviceInfo { //cbye
int64 androidID = 1;
string loggingID =2;
int32 SDKVersion =3;
string model =4;
string product =5;
string buildID =6;
string googlePlayServicesVersionString =7;
string hardware =8;
string device =9;
string simOperator =10;
string language =11;
string country =12;
string manufacturer =13;
string brand =14;
string board =15;
string radioVersion =16;
string buildFingerprint =17;
int32 googlePlayServicesVersionCode =19;
bool bool23 =20;
bytes dynamiteModules=21; // protobuf with details of dynamite modules
int32 value23 = 23;
AccessibilitySettings accessibilitySettings=25;
string buildType =26;
GooglePlayServicesVersionName googlePlayServicesVersionName=32;
int32 simCarrierId =33;
SdkExtensionVersions sdkExtensionVersions=34;
}
message AccessibilitySettings {//bgob
AccessibilitySetting fontScale_gt_1=5;
AccessibilitySetting accessibilityDisplayMagnificationSnabled=6;
AccessibilitySetting highTextContrastEnabled=7;
}
enum AccessibilitySetting {
UNKNOWN_Setting=0;
TRUE_Setting=1;
FALSE_Setting=2;
}
message GooglePlayServicesVersionName { //askg
//e.g. for com.google.android.gms@213916046@21.39.16 (150400-402663742)
// versioName = 150400 and entries below are 15,6,1
int32 verMajor=1; //(long(versionName) / 10000)+1
int32 verMinor=2; //long(versionName)%100+1
int32 verMinor2=3; //(long(versioName)/ 100) % 100 +1
}
message SdkExtensionVersions {//bror
int32 sdkExtension=1;
int32 extensionVersion=2;
}
//message LogBatchHeader { //cbyi
message ClearcutLoggerHeader {
int32 always4 =1; // seems to have fixed value 4
DeviceInfo deviceInfo =2;
int64 timestamp =12;
}
message DeviceStatus {
bool networkConnected =1;
bool batteryCharged =2;
// int32 unknown =3;
bool accountIsGoogleCom =4;
}
// message LogBatchInner { //cbyu
message ClearcutLoggerEvent {
//LogBatchHeader header =1;
ClearcutLoggerHeader header =1;
int64 currentTimeMillis =4;
bytes logEntry =5;
string logSourceName =6;
string pseudonymousIdToken = 7;
int64 elapsedTime =8;
enum QosTier {
DUMMY=0;
DEFAULT=1;
UNMETERED_ONLY=2;
UNMETERED_OR_DAILY=3;
FAST_IF_RADIO_AWAKE=4;
NEVER=5;
UNRECOGNIZED=6;
}
QosTier qosTier = 9;
QosServiceType QqsServiceType= 10;
DeviceStatus deviceStatus =11;
}
enum QosServiceType{
QOS_UNKNOWN_SERVICE=0;
QOS_OTHER_SERVICE=1;
QOS_ONEOFF_SERVICE=4;
QOS_DEFAULT_PERIODIC_SERVICE=5;
QOS_UNMETERED_PERIODIC_SERVICE=6;
}
//message LogBatchContainer {
message ClearcutLoggerEvents {
repeated ClearcutLoggerEvent inner=1;
// int32 unknown =3;
}