pycupra 0.1.11__py3-2ndver-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pycupra/__init__.py +8 -0
- pycupra/__version__.py +6 -0
- pycupra/connection.py +1895 -0
- pycupra/const.py +195 -0
- pycupra/dashboard.py +1527 -0
- pycupra/exceptions.py +87 -0
- pycupra/firebase.py +90 -0
- pycupra/firebase_messaging/__init__.py +30 -0
- pycupra/firebase_messaging/android_checkin.proto +96 -0
- pycupra/firebase_messaging/android_checkin_pb2.py +36 -0
- pycupra/firebase_messaging/android_checkin_pb2.pyi +257 -0
- pycupra/firebase_messaging/checkin.proto +155 -0
- pycupra/firebase_messaging/checkin_pb2.py +31 -0
- pycupra/firebase_messaging/checkin_pb2.pyi +424 -0
- pycupra/firebase_messaging/const.py +32 -0
- pycupra/firebase_messaging/fcmpushclient.py +812 -0
- pycupra/firebase_messaging/fcmregister.py +519 -0
- pycupra/firebase_messaging/mcs.proto +328 -0
- pycupra/firebase_messaging/mcs_pb2.py +65 -0
- pycupra/firebase_messaging/mcs_pb2.pyi +1118 -0
- pycupra/firebase_messaging/py.typed +0 -0
- pycupra/utilities.py +116 -0
- pycupra/vehicle.py +3453 -0
- pycupra-0.1.11.dist-info/METADATA +13 -0
- pycupra-0.1.11.dist-info/RECORD +28 -0
- pycupra-0.1.11.dist-info/WHEEL +5 -0
- pycupra-0.1.11.dist-info/licenses/LICENSE +201 -0
- pycupra-0.1.11.dist-info/top_level.txt +1 -0
@@ -0,0 +1,328 @@
|
|
1
|
+
// Copyright 2013 The Chromium Authors. All rights reserved.
|
2
|
+
// Use of this source code is governed by a BSD-style license that can be
|
3
|
+
// found in the LICENSE file.
|
4
|
+
//
|
5
|
+
// MCS protocol for communication between Chrome client and Mobile Connection
|
6
|
+
// Server .
|
7
|
+
|
8
|
+
syntax = "proto2";
|
9
|
+
|
10
|
+
option optimize_for = LITE_RUNTIME;
|
11
|
+
|
12
|
+
package mcs_proto;
|
13
|
+
|
14
|
+
/*
|
15
|
+
Common fields/comments:
|
16
|
+
|
17
|
+
stream_id: no longer sent by server, each side keeps a counter
|
18
|
+
last_stream_id_received: sent only if a packet was received since last time
|
19
|
+
a last_stream was sent
|
20
|
+
status: new bitmask including the 'idle' as bit 0.
|
21
|
+
|
22
|
+
*/
|
23
|
+
|
24
|
+
/**
|
25
|
+
TAG: 0
|
26
|
+
*/
|
27
|
+
message HeartbeatPing {
|
28
|
+
optional int32 stream_id = 1;
|
29
|
+
optional int32 last_stream_id_received = 2;
|
30
|
+
optional int64 status = 3;
|
31
|
+
}
|
32
|
+
|
33
|
+
/**
|
34
|
+
TAG: 1
|
35
|
+
*/
|
36
|
+
message HeartbeatAck {
|
37
|
+
optional int32 stream_id = 1;
|
38
|
+
optional int32 last_stream_id_received = 2;
|
39
|
+
optional int64 status = 3;
|
40
|
+
}
|
41
|
+
|
42
|
+
message ErrorInfo {
|
43
|
+
required int32 code = 1;
|
44
|
+
optional string message = 2;
|
45
|
+
optional string type = 3;
|
46
|
+
optional Extension extension = 4;
|
47
|
+
}
|
48
|
+
|
49
|
+
// MobileSettings class.
|
50
|
+
// "u:f", "u:b", "u:s" - multi user devices reporting foreground, background
|
51
|
+
// and stopped users.
|
52
|
+
// hbping: heatbeat ping interval
|
53
|
+
// rmq2v: include explicit stream IDs
|
54
|
+
|
55
|
+
message Setting {
|
56
|
+
required string name = 1;
|
57
|
+
required string value = 2;
|
58
|
+
}
|
59
|
+
|
60
|
+
message HeartbeatStat {
|
61
|
+
required string ip = 1;
|
62
|
+
required bool timeout = 2;
|
63
|
+
required int32 interval_ms = 3;
|
64
|
+
}
|
65
|
+
|
66
|
+
message HeartbeatConfig {
|
67
|
+
optional bool upload_stat = 1;
|
68
|
+
optional string ip = 2;
|
69
|
+
optional int32 interval_ms = 3;
|
70
|
+
}
|
71
|
+
|
72
|
+
// ClientEvents are used to inform the server of failed and successful
|
73
|
+
// connections.
|
74
|
+
message ClientEvent {
|
75
|
+
enum Type {
|
76
|
+
UNKNOWN = 0;
|
77
|
+
// Count of discarded events if the buffer filled up and was trimmed.
|
78
|
+
DISCARDED_EVENTS = 1;
|
79
|
+
// Failed connection event: the connection failed to be established or we
|
80
|
+
// had a login error.
|
81
|
+
FAILED_CONNECTION = 2;
|
82
|
+
// Successful connection event: information about the last successful
|
83
|
+
// connection, including the time at which it was established.
|
84
|
+
SUCCESSFUL_CONNECTION = 3;
|
85
|
+
}
|
86
|
+
|
87
|
+
// Common fields [1-99]
|
88
|
+
optional Type type = 1;
|
89
|
+
|
90
|
+
// Fields for DISCARDED_EVENTS messages [100-199]
|
91
|
+
optional uint32 number_discarded_events = 100;
|
92
|
+
|
93
|
+
// Fields for FAILED_CONNECTION and SUCCESSFUL_CONNECTION messages [200-299]
|
94
|
+
// Network type is a value in net::NetworkChangeNotifier::ConnectionType.
|
95
|
+
optional int32 network_type = 200;
|
96
|
+
// Reserved for network_port.
|
97
|
+
reserved 201;
|
98
|
+
optional uint64 time_connection_started_ms = 202;
|
99
|
+
optional uint64 time_connection_ended_ms = 203;
|
100
|
+
// Error code should be a net::Error value.
|
101
|
+
optional int32 error_code = 204;
|
102
|
+
|
103
|
+
// Fields for SUCCESSFUL_CONNECTION messages [300-399]
|
104
|
+
optional uint64 time_connection_established_ms = 300;
|
105
|
+
}
|
106
|
+
|
107
|
+
/**
|
108
|
+
TAG: 2
|
109
|
+
*/
|
110
|
+
message LoginRequest {
|
111
|
+
enum AuthService {
|
112
|
+
ANDROID_ID = 2;
|
113
|
+
}
|
114
|
+
required string id = 1; // Must be present ( proto required ), may be empty
|
115
|
+
// string.
|
116
|
+
// mcs.android.com.
|
117
|
+
required string domain = 2;
|
118
|
+
// Decimal android ID
|
119
|
+
required string user = 3;
|
120
|
+
|
121
|
+
required string resource = 4;
|
122
|
+
|
123
|
+
// Secret
|
124
|
+
required string auth_token = 5;
|
125
|
+
|
126
|
+
// Format is: android-HEX_DEVICE_ID
|
127
|
+
// The user is the decimal value.
|
128
|
+
optional string device_id = 6;
|
129
|
+
|
130
|
+
// RMQ1 - no longer used
|
131
|
+
optional int64 last_rmq_id = 7;
|
132
|
+
|
133
|
+
repeated Setting setting = 8;
|
134
|
+
//optional int32 compress = 9;
|
135
|
+
repeated string received_persistent_id = 10;
|
136
|
+
|
137
|
+
// Replaced by "rmq2v" setting
|
138
|
+
// optional bool include_stream_ids = 11;
|
139
|
+
|
140
|
+
optional bool adaptive_heartbeat = 12;
|
141
|
+
optional HeartbeatStat heartbeat_stat = 13;
|
142
|
+
// Must be true.
|
143
|
+
optional bool use_rmq2 = 14;
|
144
|
+
optional int64 account_id = 15;
|
145
|
+
|
146
|
+
// ANDROID_ID = 2
|
147
|
+
optional AuthService auth_service = 16;
|
148
|
+
|
149
|
+
optional int32 network_type = 17;
|
150
|
+
optional int64 status = 18;
|
151
|
+
|
152
|
+
// 19, 20, and 21 are not currently populated by Chrome.
|
153
|
+
reserved 19, 20, 21;
|
154
|
+
|
155
|
+
// Events recorded on the client after the last successful connection.
|
156
|
+
repeated ClientEvent client_event = 22;
|
157
|
+
}
|
158
|
+
|
159
|
+
/**
|
160
|
+
* TAG: 3
|
161
|
+
*/
|
162
|
+
message LoginResponse {
|
163
|
+
required string id = 1;
|
164
|
+
// Not used.
|
165
|
+
optional string jid = 2;
|
166
|
+
// Null if login was ok.
|
167
|
+
optional ErrorInfo error = 3;
|
168
|
+
repeated Setting setting = 4;
|
169
|
+
optional int32 stream_id = 5;
|
170
|
+
// Should be "1"
|
171
|
+
optional int32 last_stream_id_received = 6;
|
172
|
+
optional HeartbeatConfig heartbeat_config = 7;
|
173
|
+
// used by the client to synchronize with the server timestamp.
|
174
|
+
optional int64 server_timestamp = 8;
|
175
|
+
}
|
176
|
+
|
177
|
+
message StreamErrorStanza {
|
178
|
+
required string type = 1;
|
179
|
+
optional string text = 2;
|
180
|
+
}
|
181
|
+
|
182
|
+
/**
|
183
|
+
* TAG: 4
|
184
|
+
*/
|
185
|
+
message Close {
|
186
|
+
}
|
187
|
+
|
188
|
+
message Extension {
|
189
|
+
// 12: SelectiveAck
|
190
|
+
// 13: StreamAck
|
191
|
+
required int32 id = 1;
|
192
|
+
required bytes data = 2;
|
193
|
+
}
|
194
|
+
|
195
|
+
/**
|
196
|
+
* TAG: 7
|
197
|
+
* IqRequest must contain a single extension. IqResponse may contain 0 or 1
|
198
|
+
* extensions.
|
199
|
+
*/
|
200
|
+
message IqStanza {
|
201
|
+
enum IqType {
|
202
|
+
GET = 0;
|
203
|
+
SET = 1;
|
204
|
+
RESULT = 2;
|
205
|
+
IQ_ERROR = 3;
|
206
|
+
}
|
207
|
+
|
208
|
+
optional int64 rmq_id = 1;
|
209
|
+
required IqType type = 2;
|
210
|
+
required string id = 3;
|
211
|
+
optional string from = 4;
|
212
|
+
optional string to = 5;
|
213
|
+
optional ErrorInfo error = 6;
|
214
|
+
|
215
|
+
// Only field used in the 38+ protocol (besides common last_stream_id_received, status, rmq_id)
|
216
|
+
optional Extension extension = 7;
|
217
|
+
|
218
|
+
optional string persistent_id = 8;
|
219
|
+
optional int32 stream_id = 9;
|
220
|
+
optional int32 last_stream_id_received = 10;
|
221
|
+
optional int64 account_id = 11;
|
222
|
+
optional int64 status = 12;
|
223
|
+
}
|
224
|
+
|
225
|
+
message AppData {
|
226
|
+
required string key = 1;
|
227
|
+
required string value = 2;
|
228
|
+
}
|
229
|
+
|
230
|
+
/**
|
231
|
+
* TAG: 8
|
232
|
+
*/
|
233
|
+
message DataMessageStanza {
|
234
|
+
// Not used.
|
235
|
+
// optional int64 rmq_id = 1;
|
236
|
+
|
237
|
+
// This is the message ID, set by client, DMP.9 (message_id)
|
238
|
+
optional string id = 2;
|
239
|
+
|
240
|
+
// Project ID of the sender, DMP.1
|
241
|
+
required string from = 3;
|
242
|
+
|
243
|
+
// Part of DMRequest - also the key in DataMessageProto.
|
244
|
+
optional string to = 4;
|
245
|
+
|
246
|
+
// Package name. DMP.2
|
247
|
+
required string category = 5;
|
248
|
+
|
249
|
+
// The collapsed key, DMP.3
|
250
|
+
optional string token = 6;
|
251
|
+
|
252
|
+
// User data + GOOGLE. prefixed special entries, DMP.4
|
253
|
+
repeated AppData app_data = 7;
|
254
|
+
|
255
|
+
// Not used.
|
256
|
+
optional bool from_trusted_server = 8;
|
257
|
+
|
258
|
+
// Part of the ACK protocol, returned in DataMessageResponse on server side.
|
259
|
+
// It's part of the key of DMP.
|
260
|
+
optional string persistent_id = 9;
|
261
|
+
|
262
|
+
// In-stream ack. Increments on each message sent - a bit redundant
|
263
|
+
// Not used in DMP/DMR.
|
264
|
+
optional int32 stream_id = 10;
|
265
|
+
optional int32 last_stream_id_received = 11;
|
266
|
+
|
267
|
+
// Not used.
|
268
|
+
// optional string permission = 12;
|
269
|
+
|
270
|
+
// Sent by the device shortly after registration.
|
271
|
+
optional string reg_id = 13;
|
272
|
+
|
273
|
+
// Not used.
|
274
|
+
// optional string pkg_signature = 14;
|
275
|
+
// Not used.
|
276
|
+
// optional string client_id = 15;
|
277
|
+
|
278
|
+
// serial number of the target user, DMP.8
|
279
|
+
// It is the 'serial number' according to user manager.
|
280
|
+
optional int64 device_user_id = 16;
|
281
|
+
|
282
|
+
// Time to live, in seconds.
|
283
|
+
optional int32 ttl = 17;
|
284
|
+
// Timestamp ( according to client ) when message was sent by app, in seconds
|
285
|
+
optional int64 sent = 18;
|
286
|
+
|
287
|
+
// How long has the message been queued before the flush, in seconds.
|
288
|
+
// This is needed to account for the time difference between server and
|
289
|
+
// client: server should adjust 'sent' based on its 'receive' time.
|
290
|
+
optional int32 queued = 19;
|
291
|
+
|
292
|
+
optional int64 status = 20;
|
293
|
+
|
294
|
+
// Optional field containing the binary payload of the message.
|
295
|
+
optional bytes raw_data = 21;
|
296
|
+
|
297
|
+
// Not used.
|
298
|
+
// The maximum delay of the message, in seconds.
|
299
|
+
// optional int32 max_delay = 22;
|
300
|
+
|
301
|
+
// Not used.
|
302
|
+
// How long the message was delayed before it was sent, in seconds.
|
303
|
+
// optional int32 actual_delay = 23;
|
304
|
+
|
305
|
+
// If set the server requests immediate ack. Used for important messages and
|
306
|
+
// for testing.
|
307
|
+
optional bool immediate_ack = 24;
|
308
|
+
|
309
|
+
// Not used.
|
310
|
+
// Enables message receipts from MCS/GCM back to CCS clients
|
311
|
+
// optional bool delivery_receipt_requested = 25;
|
312
|
+
}
|
313
|
+
|
314
|
+
/**
|
315
|
+
Included in IQ with ID 13, sent from client or server after 10 unconfirmed
|
316
|
+
messages.
|
317
|
+
*/
|
318
|
+
message StreamAck {
|
319
|
+
// No last_streamid_received required. This is included within an IqStanza,
|
320
|
+
// which includes the last_stream_id_received.
|
321
|
+
}
|
322
|
+
|
323
|
+
/**
|
324
|
+
Included in IQ sent after LoginResponse from server with ID 12.
|
325
|
+
*/
|
326
|
+
message SelectiveAck {
|
327
|
+
repeated string id = 1;
|
328
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: mcs.proto
|
3
|
+
"""Generated protocol buffer code."""
|
4
|
+
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
8
|
+
from google.protobuf.internal import builder as _builder
|
9
|
+
|
10
|
+
# @@protoc_insertion_point(imports)
|
11
|
+
|
12
|
+
_sym_db = _symbol_database.Default()
|
13
|
+
|
14
|
+
|
15
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
16
|
+
b'\n\tmcs.proto\x12\tmcs_proto"S\n\rHeartbeatPing\x12\x11\n\tstream_id\x18\x01 \x01(\x05\x12\x1f\n\x17last_stream_id_received\x18\x02 \x01(\x05\x12\x0e\n\x06status\x18\x03 \x01(\x03"R\n\x0cHeartbeatAck\x12\x11\n\tstream_id\x18\x01 \x01(\x05\x12\x1f\n\x17last_stream_id_received\x18\x02 \x01(\x05\x12\x0e\n\x06status\x18\x03 \x01(\x03"a\n\tErrorInfo\x12\x0c\n\x04\x63ode\x18\x01 \x02(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12\x0c\n\x04type\x18\x03 \x01(\t\x12\'\n\textension\x18\x04 \x01(\x0b\x32\x14.mcs_proto.Extension"&\n\x07Setting\x12\x0c\n\x04name\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t"A\n\rHeartbeatStat\x12\n\n\x02ip\x18\x01 \x02(\t\x12\x0f\n\x07timeout\x18\x02 \x02(\x08\x12\x13\n\x0binterval_ms\x18\x03 \x02(\x05"G\n\x0fHeartbeatConfig\x12\x13\n\x0bupload_stat\x18\x01 \x01(\x08\x12\n\n\x02ip\x18\x02 \x01(\t\x12\x13\n\x0binterval_ms\x18\x03 \x01(\x05"\xdb\x02\n\x0b\x43lientEvent\x12)\n\x04type\x18\x01 \x01(\x0e\x32\x1b.mcs_proto.ClientEvent.Type\x12\x1f\n\x17number_discarded_events\x18\x64 \x01(\r\x12\x15\n\x0cnetwork_type\x18\xc8\x01 \x01(\x05\x12#\n\x1atime_connection_started_ms\x18\xca\x01 \x01(\x04\x12!\n\x18time_connection_ended_ms\x18\xcb\x01 \x01(\x04\x12\x13\n\nerror_code\x18\xcc\x01 \x01(\x05\x12\'\n\x1etime_connection_established_ms\x18\xac\x02 \x01(\x04"[\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x14\n\x10\x44ISCARDED_EVENTS\x10\x01\x12\x15\n\x11\x46\x41ILED_CONNECTION\x10\x02\x12\x19\n\x15SUCCESSFUL_CONNECTION\x10\x03J\x06\x08\xc9\x01\x10\xca\x01"\xff\x03\n\x0cLoginRequest\x12\n\n\x02id\x18\x01 \x02(\t\x12\x0e\n\x06\x64omain\x18\x02 \x02(\t\x12\x0c\n\x04user\x18\x03 \x02(\t\x12\x10\n\x08resource\x18\x04 \x02(\t\x12\x12\n\nauth_token\x18\x05 \x02(\t\x12\x11\n\tdevice_id\x18\x06 \x01(\t\x12\x13\n\x0blast_rmq_id\x18\x07 \x01(\x03\x12#\n\x07setting\x18\x08 \x03(\x0b\x32\x12.mcs_proto.Setting\x12\x1e\n\x16received_persistent_id\x18\n \x03(\t\x12\x1a\n\x12\x61\x64\x61ptive_heartbeat\x18\x0c \x01(\x08\x12\x30\n\x0eheartbeat_stat\x18\r \x01(\x0b\x32\x18.mcs_proto.HeartbeatStat\x12\x10\n\x08use_rmq2\x18\x0e \x01(\x08\x12\x12\n\naccount_id\x18\x0f \x01(\x03\x12\x39\n\x0c\x61uth_service\x18\x10 \x01(\x0e\x32#.mcs_proto.LoginRequest.AuthService\x12\x14\n\x0cnetwork_type\x18\x11 \x01(\x05\x12\x0e\n\x06status\x18\x12 \x01(\x03\x12,\n\x0c\x63lient_event\x18\x16 \x03(\x0b\x32\x16.mcs_proto.ClientEvent"\x1d\n\x0b\x41uthService\x12\x0e\n\nANDROID_ID\x10\x02J\x04\x08\x13\x10\x14J\x04\x08\x14\x10\x15J\x04\x08\x15\x10\x16"\xf6\x01\n\rLoginResponse\x12\n\n\x02id\x18\x01 \x02(\t\x12\x0b\n\x03jid\x18\x02 \x01(\t\x12#\n\x05\x65rror\x18\x03 \x01(\x0b\x32\x14.mcs_proto.ErrorInfo\x12#\n\x07setting\x18\x04 \x03(\x0b\x32\x12.mcs_proto.Setting\x12\x11\n\tstream_id\x18\x05 \x01(\x05\x12\x1f\n\x17last_stream_id_received\x18\x06 \x01(\x05\x12\x34\n\x10heartbeat_config\x18\x07 \x01(\x0b\x32\x1a.mcs_proto.HeartbeatConfig\x12\x18\n\x10server_timestamp\x18\x08 \x01(\x03"/\n\x11StreamErrorStanza\x12\x0c\n\x04type\x18\x01 \x02(\t\x12\x0c\n\x04text\x18\x02 \x01(\t"\x07\n\x05\x43lose"%\n\tExtension\x12\n\n\x02id\x18\x01 \x02(\x05\x12\x0c\n\x04\x64\x61ta\x18\x02 \x02(\x0c"\xdd\x02\n\x08IqStanza\x12\x0e\n\x06rmq_id\x18\x01 \x01(\x03\x12(\n\x04type\x18\x02 \x02(\x0e\x32\x1a.mcs_proto.IqStanza.IqType\x12\n\n\x02id\x18\x03 \x02(\t\x12\x0c\n\x04\x66rom\x18\x04 \x01(\t\x12\n\n\x02to\x18\x05 \x01(\t\x12#\n\x05\x65rror\x18\x06 \x01(\x0b\x32\x14.mcs_proto.ErrorInfo\x12\'\n\textension\x18\x07 \x01(\x0b\x32\x14.mcs_proto.Extension\x12\x15\n\rpersistent_id\x18\x08 \x01(\t\x12\x11\n\tstream_id\x18\t \x01(\x05\x12\x1f\n\x17last_stream_id_received\x18\n \x01(\x05\x12\x12\n\naccount_id\x18\x0b \x01(\x03\x12\x0e\n\x06status\x18\x0c \x01(\x03"4\n\x06IqType\x12\x07\n\x03GET\x10\x00\x12\x07\n\x03SET\x10\x01\x12\n\n\x06RESULT\x10\x02\x12\x0c\n\x08IQ_ERROR\x10\x03"%\n\x07\x41ppData\x12\x0b\n\x03key\x18\x01 \x02(\t\x12\r\n\x05value\x18\x02 \x02(\t"\xf4\x02\n\x11\x44\x61taMessageStanza\x12\n\n\x02id\x18\x02 \x01(\t\x12\x0c\n\x04\x66rom\x18\x03 \x02(\t\x12\n\n\x02to\x18\x04 \x01(\t\x12\x10\n\x08\x63\x61tegory\x18\x05 \x02(\t\x12\r\n\x05token\x18\x06 \x01(\t\x12$\n\x08\x61pp_data\x18\x07 \x03(\x0b\x32\x12.mcs_proto.AppData\x12\x1b\n\x13\x66rom_trusted_server\x18\x08 \x01(\x08\x12\x15\n\rpersistent_id\x18\t \x01(\t\x12\x11\n\tstream_id\x18\n \x01(\x05\x12\x1f\n\x17last_stream_id_received\x18\x0b \x01(\x05\x12\x0e\n\x06reg_id\x18\r \x01(\t\x12\x16\n\x0e\x64\x65vice_user_id\x18\x10 \x01(\x03\x12\x0b\n\x03ttl\x18\x11 \x01(\x05\x12\x0c\n\x04sent\x18\x12 \x01(\x03\x12\x0e\n\x06queued\x18\x13 \x01(\x05\x12\x0e\n\x06status\x18\x14 \x01(\x03\x12\x10\n\x08raw_data\x18\x15 \x01(\x0c\x12\x15\n\rimmediate_ack\x18\x18 \x01(\x08"\x0b\n\tStreamAck"\x1a\n\x0cSelectiveAck\x12\n\n\x02id\x18\x01 \x03(\tB\x02H\x03'
|
17
|
+
)
|
18
|
+
|
19
|
+
_globals = globals()
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "mcs_pb2", _globals)
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
23
|
+
_globals["DESCRIPTOR"]._options = None
|
24
|
+
_globals["DESCRIPTOR"]._serialized_options = b"H\003"
|
25
|
+
_globals["_HEARTBEATPING"]._serialized_start = 24
|
26
|
+
_globals["_HEARTBEATPING"]._serialized_end = 107
|
27
|
+
_globals["_HEARTBEATACK"]._serialized_start = 109
|
28
|
+
_globals["_HEARTBEATACK"]._serialized_end = 191
|
29
|
+
_globals["_ERRORINFO"]._serialized_start = 193
|
30
|
+
_globals["_ERRORINFO"]._serialized_end = 290
|
31
|
+
_globals["_SETTING"]._serialized_start = 292
|
32
|
+
_globals["_SETTING"]._serialized_end = 330
|
33
|
+
_globals["_HEARTBEATSTAT"]._serialized_start = 332
|
34
|
+
_globals["_HEARTBEATSTAT"]._serialized_end = 397
|
35
|
+
_globals["_HEARTBEATCONFIG"]._serialized_start = 399
|
36
|
+
_globals["_HEARTBEATCONFIG"]._serialized_end = 470
|
37
|
+
_globals["_CLIENTEVENT"]._serialized_start = 473
|
38
|
+
_globals["_CLIENTEVENT"]._serialized_end = 820
|
39
|
+
_globals["_CLIENTEVENT_TYPE"]._serialized_start = 721
|
40
|
+
_globals["_CLIENTEVENT_TYPE"]._serialized_end = 812
|
41
|
+
_globals["_LOGINREQUEST"]._serialized_start = 823
|
42
|
+
_globals["_LOGINREQUEST"]._serialized_end = 1334
|
43
|
+
_globals["_LOGINREQUEST_AUTHSERVICE"]._serialized_start = 1287
|
44
|
+
_globals["_LOGINREQUEST_AUTHSERVICE"]._serialized_end = 1316
|
45
|
+
_globals["_LOGINRESPONSE"]._serialized_start = 1337
|
46
|
+
_globals["_LOGINRESPONSE"]._serialized_end = 1583
|
47
|
+
_globals["_STREAMERRORSTANZA"]._serialized_start = 1585
|
48
|
+
_globals["_STREAMERRORSTANZA"]._serialized_end = 1632
|
49
|
+
_globals["_CLOSE"]._serialized_start = 1634
|
50
|
+
_globals["_CLOSE"]._serialized_end = 1641
|
51
|
+
_globals["_EXTENSION"]._serialized_start = 1643
|
52
|
+
_globals["_EXTENSION"]._serialized_end = 1680
|
53
|
+
_globals["_IQSTANZA"]._serialized_start = 1683
|
54
|
+
_globals["_IQSTANZA"]._serialized_end = 2032
|
55
|
+
_globals["_IQSTANZA_IQTYPE"]._serialized_start = 1980
|
56
|
+
_globals["_IQSTANZA_IQTYPE"]._serialized_end = 2032
|
57
|
+
_globals["_APPDATA"]._serialized_start = 2034
|
58
|
+
_globals["_APPDATA"]._serialized_end = 2071
|
59
|
+
_globals["_DATAMESSAGESTANZA"]._serialized_start = 2074
|
60
|
+
_globals["_DATAMESSAGESTANZA"]._serialized_end = 2446
|
61
|
+
_globals["_STREAMACK"]._serialized_start = 2448
|
62
|
+
_globals["_STREAMACK"]._serialized_end = 2459
|
63
|
+
_globals["_SELECTIVEACK"]._serialized_start = 2461
|
64
|
+
_globals["_SELECTIVEACK"]._serialized_end = 2487
|
65
|
+
# @@protoc_insertion_point(module_scope)
|