b0396d77b300a10e539d360dfb170159d23a50dc
[leap_pycommon.git] / src / leap / common / events / events_pb2.py
1 # Generated by the protocol buffer compiler.  DO NOT EDIT!
2
3 from google.protobuf import descriptor
4 from google.protobuf import message
5 from google.protobuf import reflection
6 from google.protobuf import service
7 from google.protobuf import service_reflection
8 from google.protobuf import descriptor_pb2
9 # @@protoc_insertion_point(imports)
10
11
12
13 DESCRIPTOR = descriptor.FileDescriptor(
14   name='events.proto',
15   package='leap.common.events',
16   serialized_pb='\n\x0c\x65vents.proto\x12\x12leap.common.events\"\x97\x01\n\rSignalRequest\x12(\n\x05\x65vent\x18\x01 \x02(\x0e\x32\x19.leap.common.events.Event\x12\x0f\n\x07\x63ontent\x18\x02 \x02(\t\x12\x12\n\nmac_method\x18\x03 \x02(\t\x12\x0b\n\x03mac\x18\x04 \x02(\x0c\x12\x12\n\nenc_method\x18\x05 \x01(\t\x12\x16\n\x0e\x65rror_occurred\x18\x06 \x01(\x08\"j\n\x0fRegisterRequest\x12(\n\x05\x65vent\x18\x01 \x02(\x0e\x32\x19.leap.common.events.Event\x12\x0c\n\x04port\x18\x02 \x02(\x05\x12\x12\n\nmac_method\x18\x03 \x02(\t\x12\x0b\n\x03mac\x18\x04 \x02(\x0c\"l\n\x11UnregisterRequest\x12(\n\x05\x65vent\x18\x01 \x02(\x0e\x32\x19.leap.common.events.Event\x12\x0c\n\x04port\x18\x02 \x02(\x05\x12\x12\n\nmac_method\x18\x03 \x02(\t\x12\x0b\n\x03mac\x18\x04 \x02(\x0c\"\r\n\x0bPingRequest\"\x82\x01\n\rEventResponse\x12\x38\n\x06status\x18\x01 \x02(\x0e\x32(.leap.common.events.EventResponse.Status\x12\x0e\n\x06result\x18\x02 \x01(\t\"\'\n\x06Status\x12\x06\n\x02OK\x10\x01\x12\n\n\x06UNAUTH\x10\x02\x12\t\n\x05\x45RROR\x10\x03*\xaa\t\n\x05\x45vent\x12\x15\n\x11\x43LIENT_SESSION_ID\x10\x01\x12\x0e\n\nCLIENT_UID\x10\x02\x12\x19\n\x15SOLEDAD_CREATING_KEYS\x10\x03\x12\x1e\n\x1aSOLEDAD_DONE_CREATING_KEYS\x10\x04\x12\x1a\n\x16SOLEDAD_UPLOADING_KEYS\x10\x05\x12\x1f\n\x1bSOLEDAD_DONE_UPLOADING_KEYS\x10\x06\x12\x1c\n\x18SOLEDAD_DOWNLOADING_KEYS\x10\x07\x12!\n\x1dSOLEDAD_DONE_DOWNLOADING_KEYS\x10\x08\x12\x1c\n\x18SOLEDAD_NEW_DATA_TO_SYNC\x10\t\x12\x1a\n\x16SOLEDAD_DONE_DATA_SYNC\x10\n\x12\x17\n\x13UPDATER_NEW_UPDATES\x10\x0b\x12\x19\n\x15UPDATER_DONE_UPDATING\x10\x0c\x12\x10\n\x0cRAISE_WINDOW\x10\r\x12\x18\n\x14SMTP_SERVICE_STARTED\x10\x0e\x12 \n\x1cSMTP_SERVICE_FAILED_TO_START\x10\x0f\x12%\n!SMTP_RECIPIENT_ACCEPTED_ENCRYPTED\x10\x10\x12\'\n#SMTP_RECIPIENT_ACCEPTED_UNENCRYPTED\x10\x11\x12\x1b\n\x17SMTP_RECIPIENT_REJECTED\x10\x12\x12\x1f\n\x1bSMTP_START_ENCRYPT_AND_SIGN\x10\x13\x12\x1d\n\x19SMTP_END_ENCRYPT_AND_SIGN\x10\x14\x12\x13\n\x0fSMTP_START_SIGN\x10\x15\x12\x11\n\rSMTP_END_SIGN\x10\x16\x12\x1b\n\x17SMTP_SEND_MESSAGE_START\x10\x17\x12\x1d\n\x19SMTP_SEND_MESSAGE_SUCCESS\x10\x18\x12\x1b\n\x17SMTP_SEND_MESSAGE_ERROR\x10\x19\x12\x18\n\x14SMTP_CONNECTION_LOST\x10\x1a\x12\x18\n\x14IMAP_SERVICE_STARTED\x10\x1e\x12 \n\x1cIMAP_SERVICE_FAILED_TO_START\x10\x1f\x12\x15\n\x11IMAP_CLIENT_LOGIN\x10 \x12\x19\n\x15IMAP_FETCHED_INCOMING\x10!\x12\x17\n\x13IMAP_MSG_PROCESSING\x10\"\x12\x16\n\x12IMAP_MSG_DECRYPTED\x10#\x12\x1a\n\x16IMAP_MSG_SAVED_LOCALLY\x10$\x12\x1d\n\x19IMAP_MSG_DELETED_INCOMING\x10%\x12\x18\n\x14IMAP_UNHANDLED_ERROR\x10&\x12\x1e\n\x1aKEYMANAGER_LOOKING_FOR_KEY\x10(\x12\x18\n\x14KEYMANAGER_KEY_FOUND\x10)\x12\x1c\n\x18KEYMANAGER_KEY_NOT_FOUND\x10*\x12%\n!KEYMANAGER_STARTED_KEY_GENERATION\x10+\x12&\n\"KEYMANAGER_FINISHED_KEY_GENERATION\x10,\x12\"\n\x1eKEYMANAGER_DONE_UPLOADING_KEYS\x10-2\xdd\x02\n\x13\x45ventsServerService\x12J\n\x04ping\x12\x1f.leap.common.events.PingRequest\x1a!.leap.common.events.EventResponse\x12R\n\x08register\x12#.leap.common.events.RegisterRequest\x1a!.leap.common.events.EventResponse\x12V\n\nunregister\x12%.leap.common.events.UnregisterRequest\x1a!.leap.common.events.EventResponse\x12N\n\x06signal\x12!.leap.common.events.SignalRequest\x1a!.leap.common.events.EventResponse2\xb1\x01\n\x13\x45ventsClientService\x12J\n\x04ping\x12\x1f.leap.common.events.PingRequest\x1a!.leap.common.events.EventResponse\x12N\n\x06signal\x12!.leap.common.events.SignalRequest\x1a!.leap.common.events.EventResponseB\x03\x90\x01\x01')
17
18 _EVENT = descriptor.EnumDescriptor(
19   name='Event',
20   full_name='leap.common.events.Event',
21   filename=None,
22   file=DESCRIPTOR,
23   values=[
24     descriptor.EnumValueDescriptor(
25       name='CLIENT_SESSION_ID', index=0, number=1,
26       options=None,
27       type=None),
28     descriptor.EnumValueDescriptor(
29       name='CLIENT_UID', index=1, number=2,
30       options=None,
31       type=None),
32     descriptor.EnumValueDescriptor(
33       name='SOLEDAD_CREATING_KEYS', index=2, number=3,
34       options=None,
35       type=None),
36     descriptor.EnumValueDescriptor(
37       name='SOLEDAD_DONE_CREATING_KEYS', index=3, number=4,
38       options=None,
39       type=None),
40     descriptor.EnumValueDescriptor(
41       name='SOLEDAD_UPLOADING_KEYS', index=4, number=5,
42       options=None,
43       type=None),
44     descriptor.EnumValueDescriptor(
45       name='SOLEDAD_DONE_UPLOADING_KEYS', index=5, number=6,
46       options=None,
47       type=None),
48     descriptor.EnumValueDescriptor(
49       name='SOLEDAD_DOWNLOADING_KEYS', index=6, number=7,
50       options=None,
51       type=None),
52     descriptor.EnumValueDescriptor(
53       name='SOLEDAD_DONE_DOWNLOADING_KEYS', index=7, number=8,
54       options=None,
55       type=None),
56     descriptor.EnumValueDescriptor(
57       name='SOLEDAD_NEW_DATA_TO_SYNC', index=8, number=9,
58       options=None,
59       type=None),
60     descriptor.EnumValueDescriptor(
61       name='SOLEDAD_DONE_DATA_SYNC', index=9, number=10,
62       options=None,
63       type=None),
64     descriptor.EnumValueDescriptor(
65       name='UPDATER_NEW_UPDATES', index=10, number=11,
66       options=None,
67       type=None),
68     descriptor.EnumValueDescriptor(
69       name='UPDATER_DONE_UPDATING', index=11, number=12,
70       options=None,
71       type=None),
72     descriptor.EnumValueDescriptor(
73       name='RAISE_WINDOW', index=12, number=13,
74       options=None,
75       type=None),
76     descriptor.EnumValueDescriptor(
77       name='SMTP_SERVICE_STARTED', index=13, number=14,
78       options=None,
79       type=None),
80     descriptor.EnumValueDescriptor(
81       name='SMTP_SERVICE_FAILED_TO_START', index=14, number=15,
82       options=None,
83       type=None),
84     descriptor.EnumValueDescriptor(
85       name='SMTP_RECIPIENT_ACCEPTED_ENCRYPTED', index=15, number=16,
86       options=None,
87       type=None),
88     descriptor.EnumValueDescriptor(
89       name='SMTP_RECIPIENT_ACCEPTED_UNENCRYPTED', index=16, number=17,
90       options=None,
91       type=None),
92     descriptor.EnumValueDescriptor(
93       name='SMTP_RECIPIENT_REJECTED', index=17, number=18,
94       options=None,
95       type=None),
96     descriptor.EnumValueDescriptor(
97       name='SMTP_START_ENCRYPT_AND_SIGN', index=18, number=19,
98       options=None,
99       type=None),
100     descriptor.EnumValueDescriptor(
101       name='SMTP_END_ENCRYPT_AND_SIGN', index=19, number=20,
102       options=None,
103       type=None),
104     descriptor.EnumValueDescriptor(
105       name='SMTP_START_SIGN', index=20, number=21,
106       options=None,
107       type=None),
108     descriptor.EnumValueDescriptor(
109       name='SMTP_END_SIGN', index=21, number=22,
110       options=None,
111       type=None),
112     descriptor.EnumValueDescriptor(
113       name='SMTP_SEND_MESSAGE_START', index=22, number=23,
114       options=None,
115       type=None),
116     descriptor.EnumValueDescriptor(
117       name='SMTP_SEND_MESSAGE_SUCCESS', index=23, number=24,
118       options=None,
119       type=None),
120     descriptor.EnumValueDescriptor(
121       name='SMTP_SEND_MESSAGE_ERROR', index=24, number=25,
122       options=None,
123       type=None),
124     descriptor.EnumValueDescriptor(
125       name='SMTP_CONNECTION_LOST', index=25, number=26,
126       options=None,
127       type=None),
128     descriptor.EnumValueDescriptor(
129       name='IMAP_SERVICE_STARTED', index=26, number=30,
130       options=None,
131       type=None),
132     descriptor.EnumValueDescriptor(
133       name='IMAP_SERVICE_FAILED_TO_START', index=27, number=31,
134       options=None,
135       type=None),
136     descriptor.EnumValueDescriptor(
137       name='IMAP_CLIENT_LOGIN', index=28, number=32,
138       options=None,
139       type=None),
140     descriptor.EnumValueDescriptor(
141       name='IMAP_FETCHED_INCOMING', index=29, number=33,
142       options=None,
143       type=None),
144     descriptor.EnumValueDescriptor(
145       name='IMAP_MSG_PROCESSING', index=30, number=34,
146       options=None,
147       type=None),
148     descriptor.EnumValueDescriptor(
149       name='IMAP_MSG_DECRYPTED', index=31, number=35,
150       options=None,
151       type=None),
152     descriptor.EnumValueDescriptor(
153       name='IMAP_MSG_SAVED_LOCALLY', index=32, number=36,
154       options=None,
155       type=None),
156     descriptor.EnumValueDescriptor(
157       name='IMAP_MSG_DELETED_INCOMING', index=33, number=37,
158       options=None,
159       type=None),
160     descriptor.EnumValueDescriptor(
161       name='IMAP_UNHANDLED_ERROR', index=34, number=38,
162       options=None,
163       type=None),
164     descriptor.EnumValueDescriptor(
165       name='KEYMANAGER_LOOKING_FOR_KEY', index=35, number=40,
166       options=None,
167       type=None),
168     descriptor.EnumValueDescriptor(
169       name='KEYMANAGER_KEY_FOUND', index=36, number=41,
170       options=None,
171       type=None),
172     descriptor.EnumValueDescriptor(
173       name='KEYMANAGER_KEY_NOT_FOUND', index=37, number=42,
174       options=None,
175       type=None),
176     descriptor.EnumValueDescriptor(
177       name='KEYMANAGER_STARTED_KEY_GENERATION', index=38, number=43,
178       options=None,
179       type=None),
180     descriptor.EnumValueDescriptor(
181       name='KEYMANAGER_FINISHED_KEY_GENERATION', index=39, number=44,
182       options=None,
183       type=None),
184     descriptor.EnumValueDescriptor(
185       name='KEYMANAGER_DONE_UPLOADING_KEYS', index=40, number=45,
186       options=None,
187       type=None),
188   ],
189   containing_type=None,
190   options=None,
191   serialized_start=557,
192   serialized_end=1751,
193 )
194
195
196 CLIENT_SESSION_ID = 1
197 CLIENT_UID = 2
198 SOLEDAD_CREATING_KEYS = 3
199 SOLEDAD_DONE_CREATING_KEYS = 4
200 SOLEDAD_UPLOADING_KEYS = 5
201 SOLEDAD_DONE_UPLOADING_KEYS = 6
202 SOLEDAD_DOWNLOADING_KEYS = 7
203 SOLEDAD_DONE_DOWNLOADING_KEYS = 8
204 SOLEDAD_NEW_DATA_TO_SYNC = 9
205 SOLEDAD_DONE_DATA_SYNC = 10
206 UPDATER_NEW_UPDATES = 11
207 UPDATER_DONE_UPDATING = 12
208 RAISE_WINDOW = 13
209 SMTP_SERVICE_STARTED = 14
210 SMTP_SERVICE_FAILED_TO_START = 15
211 SMTP_RECIPIENT_ACCEPTED_ENCRYPTED = 16
212 SMTP_RECIPIENT_ACCEPTED_UNENCRYPTED = 17
213 SMTP_RECIPIENT_REJECTED = 18
214 SMTP_START_ENCRYPT_AND_SIGN = 19
215 SMTP_END_ENCRYPT_AND_SIGN = 20
216 SMTP_START_SIGN = 21
217 SMTP_END_SIGN = 22
218 SMTP_SEND_MESSAGE_START = 23
219 SMTP_SEND_MESSAGE_SUCCESS = 24
220 SMTP_SEND_MESSAGE_ERROR = 25
221 SMTP_CONNECTION_LOST = 26
222 IMAP_SERVICE_STARTED = 30
223 IMAP_SERVICE_FAILED_TO_START = 31
224 IMAP_CLIENT_LOGIN = 32
225 IMAP_FETCHED_INCOMING = 33
226 IMAP_MSG_PROCESSING = 34
227 IMAP_MSG_DECRYPTED = 35
228 IMAP_MSG_SAVED_LOCALLY = 36
229 IMAP_MSG_DELETED_INCOMING = 37
230 IMAP_UNHANDLED_ERROR = 38
231 KEYMANAGER_LOOKING_FOR_KEY = 40
232 KEYMANAGER_KEY_FOUND = 41
233 KEYMANAGER_KEY_NOT_FOUND = 42
234 KEYMANAGER_STARTED_KEY_GENERATION = 43
235 KEYMANAGER_FINISHED_KEY_GENERATION = 44
236 KEYMANAGER_DONE_UPLOADING_KEYS = 45
237
238
239 _EVENTRESPONSE_STATUS = descriptor.EnumDescriptor(
240   name='Status',
241   full_name='leap.common.events.EventResponse.Status',
242   filename=None,
243   file=DESCRIPTOR,
244   values=[
245     descriptor.EnumValueDescriptor(
246       name='OK', index=0, number=1,
247       options=None,
248       type=None),
249     descriptor.EnumValueDescriptor(
250       name='UNAUTH', index=1, number=2,
251       options=None,
252       type=None),
253     descriptor.EnumValueDescriptor(
254       name='ERROR', index=2, number=3,
255       options=None,
256       type=None),
257   ],
258   containing_type=None,
259   options=None,
260   serialized_start=515,
261   serialized_end=554,
262 )
263
264
265 _SIGNALREQUEST = descriptor.Descriptor(
266   name='SignalRequest',
267   full_name='leap.common.events.SignalRequest',
268   filename=None,
269   file=DESCRIPTOR,
270   containing_type=None,
271   fields=[
272     descriptor.FieldDescriptor(
273       name='event', full_name='leap.common.events.SignalRequest.event', index=0,
274       number=1, type=14, cpp_type=8, label=2,
275       has_default_value=False, default_value=1,
276       message_type=None, enum_type=None, containing_type=None,
277       is_extension=False, extension_scope=None,
278       options=None),
279     descriptor.FieldDescriptor(
280       name='content', full_name='leap.common.events.SignalRequest.content', index=1,
281       number=2, type=9, cpp_type=9, label=2,
282       has_default_value=False, default_value=unicode("", "utf-8"),
283       message_type=None, enum_type=None, containing_type=None,
284       is_extension=False, extension_scope=None,
285       options=None),
286     descriptor.FieldDescriptor(
287       name='mac_method', full_name='leap.common.events.SignalRequest.mac_method', index=2,
288       number=3, type=9, cpp_type=9, label=2,
289       has_default_value=False, default_value=unicode("", "utf-8"),
290       message_type=None, enum_type=None, containing_type=None,
291       is_extension=False, extension_scope=None,
292       options=None),
293     descriptor.FieldDescriptor(
294       name='mac', full_name='leap.common.events.SignalRequest.mac', index=3,
295       number=4, type=12, cpp_type=9, label=2,
296       has_default_value=False, default_value="",
297       message_type=None, enum_type=None, containing_type=None,
298       is_extension=False, extension_scope=None,
299       options=None),
300     descriptor.FieldDescriptor(
301       name='enc_method', full_name='leap.common.events.SignalRequest.enc_method', index=4,
302       number=5, type=9, cpp_type=9, label=1,
303       has_default_value=False, default_value=unicode("", "utf-8"),
304       message_type=None, enum_type=None, containing_type=None,
305       is_extension=False, extension_scope=None,
306       options=None),
307     descriptor.FieldDescriptor(
308       name='error_occurred', full_name='leap.common.events.SignalRequest.error_occurred', index=5,
309       number=6, type=8, cpp_type=7, label=1,
310       has_default_value=False, default_value=False,
311       message_type=None, enum_type=None, containing_type=None,
312       is_extension=False, extension_scope=None,
313       options=None),
314   ],
315   extensions=[
316   ],
317   nested_types=[],
318   enum_types=[
319   ],
320   options=None,
321   is_extendable=False,
322   extension_ranges=[],
323   serialized_start=37,
324   serialized_end=188,
325 )
326
327
328 _REGISTERREQUEST = descriptor.Descriptor(
329   name='RegisterRequest',
330   full_name='leap.common.events.RegisterRequest',
331   filename=None,
332   file=DESCRIPTOR,
333   containing_type=None,
334   fields=[
335     descriptor.FieldDescriptor(
336       name='event', full_name='leap.common.events.RegisterRequest.event', index=0,
337       number=1, type=14, cpp_type=8, label=2,
338       has_default_value=False, default_value=1,
339       message_type=None, enum_type=None, containing_type=None,
340       is_extension=False, extension_scope=None,
341       options=None),
342     descriptor.FieldDescriptor(
343       name='port', full_name='leap.common.events.RegisterRequest.port', index=1,
344       number=2, type=5, cpp_type=1, label=2,
345       has_default_value=False, default_value=0,
346       message_type=None, enum_type=None, containing_type=None,
347       is_extension=False, extension_scope=None,
348       options=None),
349     descriptor.FieldDescriptor(
350       name='mac_method', full_name='leap.common.events.RegisterRequest.mac_method', index=2,
351       number=3, type=9, cpp_type=9, label=2,
352       has_default_value=False, default_value=unicode("", "utf-8"),
353       message_type=None, enum_type=None, containing_type=None,
354       is_extension=False, extension_scope=None,
355       options=None),
356     descriptor.FieldDescriptor(
357       name='mac', full_name='leap.common.events.RegisterRequest.mac', index=3,
358       number=4, type=12, cpp_type=9, label=2,
359       has_default_value=False, default_value="",
360       message_type=None, enum_type=None, containing_type=None,
361       is_extension=False, extension_scope=None,
362       options=None),
363   ],
364   extensions=[
365   ],
366   nested_types=[],
367   enum_types=[
368   ],
369   options=None,
370   is_extendable=False,
371   extension_ranges=[],
372   serialized_start=190,
373   serialized_end=296,
374 )
375
376
377 _UNREGISTERREQUEST = descriptor.Descriptor(
378   name='UnregisterRequest',
379   full_name='leap.common.events.UnregisterRequest',
380   filename=None,
381   file=DESCRIPTOR,
382   containing_type=None,
383   fields=[
384     descriptor.FieldDescriptor(
385       name='event', full_name='leap.common.events.UnregisterRequest.event', index=0,
386       number=1, type=14, cpp_type=8, label=2,
387       has_default_value=False, default_value=1,
388       message_type=None, enum_type=None, containing_type=None,
389       is_extension=False, extension_scope=None,
390       options=None),
391     descriptor.FieldDescriptor(
392       name='port', full_name='leap.common.events.UnregisterRequest.port', index=1,
393       number=2, type=5, cpp_type=1, label=2,
394       has_default_value=False, default_value=0,
395       message_type=None, enum_type=None, containing_type=None,
396       is_extension=False, extension_scope=None,
397       options=None),
398     descriptor.FieldDescriptor(
399       name='mac_method', full_name='leap.common.events.UnregisterRequest.mac_method', index=2,
400       number=3, type=9, cpp_type=9, label=2,
401       has_default_value=False, default_value=unicode("", "utf-8"),
402       message_type=None, enum_type=None, containing_type=None,
403       is_extension=False, extension_scope=None,
404       options=None),
405     descriptor.FieldDescriptor(
406       name='mac', full_name='leap.common.events.UnregisterRequest.mac', index=3,
407       number=4, type=12, cpp_type=9, label=2,
408       has_default_value=False, default_value="",
409       message_type=None, enum_type=None, containing_type=None,
410       is_extension=False, extension_scope=None,
411       options=None),
412   ],
413   extensions=[
414   ],
415   nested_types=[],
416   enum_types=[
417   ],
418   options=None,
419   is_extendable=False,
420   extension_ranges=[],
421   serialized_start=298,
422   serialized_end=406,
423 )
424
425
426 _PINGREQUEST = descriptor.Descriptor(
427   name='PingRequest',
428   full_name='leap.common.events.PingRequest',
429   filename=None,
430   file=DESCRIPTOR,
431   containing_type=None,
432   fields=[
433   ],
434   extensions=[
435   ],
436   nested_types=[],
437   enum_types=[
438   ],
439   options=None,
440   is_extendable=False,
441   extension_ranges=[],
442   serialized_start=408,
443   serialized_end=421,
444 )
445
446
447 _EVENTRESPONSE = descriptor.Descriptor(
448   name='EventResponse',
449   full_name='leap.common.events.EventResponse',
450   filename=None,
451   file=DESCRIPTOR,
452   containing_type=None,
453   fields=[
454     descriptor.FieldDescriptor(
455       name='status', full_name='leap.common.events.EventResponse.status', index=0,
456       number=1, type=14, cpp_type=8, label=2,
457       has_default_value=False, default_value=1,
458       message_type=None, enum_type=None, containing_type=None,
459       is_extension=False, extension_scope=None,
460       options=None),
461     descriptor.FieldDescriptor(
462       name='result', full_name='leap.common.events.EventResponse.result', index=1,
463       number=2, type=9, cpp_type=9, label=1,
464       has_default_value=False, default_value=unicode("", "utf-8"),
465       message_type=None, enum_type=None, containing_type=None,
466       is_extension=False, extension_scope=None,
467       options=None),
468   ],
469   extensions=[
470   ],
471   nested_types=[],
472   enum_types=[
473     _EVENTRESPONSE_STATUS,
474   ],
475   options=None,
476   is_extendable=False,
477   extension_ranges=[],
478   serialized_start=424,
479   serialized_end=554,
480 )
481
482 _SIGNALREQUEST.fields_by_name['event'].enum_type = _EVENT
483 _REGISTERREQUEST.fields_by_name['event'].enum_type = _EVENT
484 _UNREGISTERREQUEST.fields_by_name['event'].enum_type = _EVENT
485 _EVENTRESPONSE.fields_by_name['status'].enum_type = _EVENTRESPONSE_STATUS
486 _EVENTRESPONSE_STATUS.containing_type = _EVENTRESPONSE;
487 DESCRIPTOR.message_types_by_name['SignalRequest'] = _SIGNALREQUEST
488 DESCRIPTOR.message_types_by_name['RegisterRequest'] = _REGISTERREQUEST
489 DESCRIPTOR.message_types_by_name['UnregisterRequest'] = _UNREGISTERREQUEST
490 DESCRIPTOR.message_types_by_name['PingRequest'] = _PINGREQUEST
491 DESCRIPTOR.message_types_by_name['EventResponse'] = _EVENTRESPONSE
492
493 class SignalRequest(message.Message):
494   __metaclass__ = reflection.GeneratedProtocolMessageType
495   DESCRIPTOR = _SIGNALREQUEST
496   
497   # @@protoc_insertion_point(class_scope:leap.common.events.SignalRequest)
498
499 class RegisterRequest(message.Message):
500   __metaclass__ = reflection.GeneratedProtocolMessageType
501   DESCRIPTOR = _REGISTERREQUEST
502   
503   # @@protoc_insertion_point(class_scope:leap.common.events.RegisterRequest)
504
505 class UnregisterRequest(message.Message):
506   __metaclass__ = reflection.GeneratedProtocolMessageType
507   DESCRIPTOR = _UNREGISTERREQUEST
508   
509   # @@protoc_insertion_point(class_scope:leap.common.events.UnregisterRequest)
510
511 class PingRequest(message.Message):
512   __metaclass__ = reflection.GeneratedProtocolMessageType
513   DESCRIPTOR = _PINGREQUEST
514   
515   # @@protoc_insertion_point(class_scope:leap.common.events.PingRequest)
516
517 class EventResponse(message.Message):
518   __metaclass__ = reflection.GeneratedProtocolMessageType
519   DESCRIPTOR = _EVENTRESPONSE
520   
521   # @@protoc_insertion_point(class_scope:leap.common.events.EventResponse)
522
523
524 _EVENTSSERVERSERVICE = descriptor.ServiceDescriptor(
525   name='EventsServerService',
526   full_name='leap.common.events.EventsServerService',
527   file=DESCRIPTOR,
528   index=0,
529   options=None,
530   serialized_start=1754,
531   serialized_end=2103,
532   methods=[
533   descriptor.MethodDescriptor(
534     name='ping',
535     full_name='leap.common.events.EventsServerService.ping',
536     index=0,
537     containing_service=None,
538     input_type=_PINGREQUEST,
539     output_type=_EVENTRESPONSE,
540     options=None,
541   ),
542   descriptor.MethodDescriptor(
543     name='register',
544     full_name='leap.common.events.EventsServerService.register',
545     index=1,
546     containing_service=None,
547     input_type=_REGISTERREQUEST,
548     output_type=_EVENTRESPONSE,
549     options=None,
550   ),
551   descriptor.MethodDescriptor(
552     name='unregister',
553     full_name='leap.common.events.EventsServerService.unregister',
554     index=2,
555     containing_service=None,
556     input_type=_UNREGISTERREQUEST,
557     output_type=_EVENTRESPONSE,
558     options=None,
559   ),
560   descriptor.MethodDescriptor(
561     name='signal',
562     full_name='leap.common.events.EventsServerService.signal',
563     index=3,
564     containing_service=None,
565     input_type=_SIGNALREQUEST,
566     output_type=_EVENTRESPONSE,
567     options=None,
568   ),
569 ])
570
571 class EventsServerService(service.Service):
572   __metaclass__ = service_reflection.GeneratedServiceType
573   DESCRIPTOR = _EVENTSSERVERSERVICE
574 class EventsServerService_Stub(EventsServerService):
575   __metaclass__ = service_reflection.GeneratedServiceStubType
576   DESCRIPTOR = _EVENTSSERVERSERVICE
577
578
579 _EVENTSCLIENTSERVICE = descriptor.ServiceDescriptor(
580   name='EventsClientService',
581   full_name='leap.common.events.EventsClientService',
582   file=DESCRIPTOR,
583   index=1,
584   options=None,
585   serialized_start=2106,
586   serialized_end=2283,
587   methods=[
588   descriptor.MethodDescriptor(
589     name='ping',
590     full_name='leap.common.events.EventsClientService.ping',
591     index=0,
592     containing_service=None,
593     input_type=_PINGREQUEST,
594     output_type=_EVENTRESPONSE,
595     options=None,
596   ),
597   descriptor.MethodDescriptor(
598     name='signal',
599     full_name='leap.common.events.EventsClientService.signal',
600     index=1,
601     containing_service=None,
602     input_type=_SIGNALREQUEST,
603     output_type=_EVENTRESPONSE,
604     options=None,
605   ),
606 ])
607
608 class EventsClientService(service.Service):
609   __metaclass__ = service_reflection.GeneratedServiceType
610   DESCRIPTOR = _EVENTSCLIENTSERVICE
611 class EventsClientService_Stub(EventsClientService):
612   __metaclass__ = service_reflection.GeneratedServiceStubType
613   DESCRIPTOR = _EVENTSCLIENTSERVICE
614
615 # @@protoc_insertion_point(module_scope)