forked from ekampf/googleplay-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
googleservicesframework.proto
executable file
·136 lines (121 loc) · 3.34 KB
/
googleservicesframework.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
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
option java_package = "com.akdeniz.googleplaycrawler.gsf";
message LoginRequest {
optional string packetid = 1;
optional string domain = 2;
optional string user = 3;
optional string resource = 4;
optional string token = 5;
optional string deviceid = 6;
optional int64 lastrmqid = 7;
repeated Setting settings = 8;
optional int32 compress = 9;
repeated string persistentids = 10;
optional bool includestreamidinprotobuf = 11;
optional bool adaptiveheartbeat = 12;
optional HeartBeatStat heartbeatstat = 13;
optional bool usermq2 = 14;
optional int64 accountid = 15;
optional int64 unknown1 = 16;
optional int32 networktype = 17;
}
message HeartBeatStat {
optional string ip = 1;
optional bool timeout = 2;
optional int64 interval = 3;
}
message Setting {
optional string key = 1;
optional string value = 2;
}
message HeartBeatConfig {
optional int64 interval = 3;
optional string ip = 2;
optional bool uploadstat = 1;
}
message LoginResponse {
optional string packetid = 1;
optional string jid = 2;
optional int64 servertimestamp = 8;
optional HeartBeatConfig heartbeatconfig = 7;
repeated Setting settings = 4;
optional int32 laststreamid = 6;
optional int32 streamid = 5;
optional XMPPError error = 3;
}
message XMPPError {
optional int32 code = 1;
optional string message = 2;
optional string type = 3;
repeated Extension extension = 4;
}
message Extension {
optional int32 code = 1;
optional string message = 2;
}
message BindAccountRequest {
optional string packetid = 1;
optional string domain = 2;
optional string user = 3;
optional string resource = 4;
optional int64 accountid = 9;
optional string token = 5;
}
message BindAccountResponse {
optional string packetid = 1;
optional string jid = 2;
optional int32 laststreamid = 5;
optional int32 streamid = 4;
optional XMPPError error = 3;
}
message Close{
}
message HeartbeatAck{
}
message DataMessageStanza{
optional int64 rmqid = 1;
optional string packetid = 2;
optional string from = 3;
optional string to = 4;
optional string category = 5;
optional string token = 6;
repeated AppData appdata = 7;
optional bool fromtrustedserver = 8;
optional string rmq2id = 9;
optional int32 streamid =10;
optional int32 laststreamid = 11;
optional string permission = 12;
optional string regid = 13;
optional string pkgsignature = 14;
}
message AppData {
optional string key = 1;
optional string value = 2;
}
message IQStanza {
optional int64 rmqid = 1;
optional int32 type = 2;
optional string packetid = 3;
optional string from = 4;
optional string to = 5;
optional XMPPError error = 6;
optional Extension extension = 7;
optional string rmq2id = 8;
optional int32 streamid = 9;
optional int32 laststreamid =10;
optional int64 accountid=11;
}
message State {
optional bool state1 = 1;
optional bool state2 = 2;
}
message PostAuthBatchQuery {
optional bool online = 1;
optional bool deviceidle = 2;
optional bool showmobileindicator = 3;
optional int32 sharedstatusversion = 4;
optional string rosteretag = 5;
optional string otretag = 6;
optional string avatarhash = 7;
optional string vcardquerystanzaid = 8;
optional int32 capabilities = 9;
}