EMANE  1.2.1
emane/events/tdmascheduleevent_pb2.py
Go to the documentation of this file.
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: tdmascheduleevent.proto
3 
4 import sys
5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
6 from google.protobuf import descriptor as _descriptor
7 from google.protobuf import message as _message
8 from google.protobuf import reflection as _reflection
9 from google.protobuf import symbol_database as _symbol_database
10 from google.protobuf import descriptor_pb2
11 # @@protoc_insertion_point(imports)
12 
13 _sym_db = _symbol_database.Default()
14 
15 
16 
17 
18 DESCRIPTOR = _descriptor.FileDescriptor(
19  name='tdmascheduleevent.proto',
20  package='EMANEMessage',
21  syntax='proto2',
22  serialized_pb=_b('\n\x17tdmascheduleevent.proto\x12\x0c\x45MANEMessage\"\xa1\x07\n\x11TDMAScheduleEvent\x12\x35\n\x06\x66rames\x18\x01 \x03(\x0b\x32%.EMANEMessage.TDMAScheduleEvent.Frame\x12<\n\tstructure\x18\x02 \x01(\x0b\x32).EMANEMessage.TDMAScheduleEvent.Structure\x12\x13\n\x0b\x66requencyHz\x18\x03 \x01(\x04\x12\x13\n\x0b\x64\x61taRatebps\x18\x04 \x01(\x04\x12\x14\n\x0cserviceClass\x18\x05 \x01(\r\x12\x10\n\x08powerdBm\x18\x06 \x01(\x01\x1a\xa9\x04\n\x05\x46rame\x12\r\n\x05index\x18\x01 \x02(\r\x12\x13\n\x0b\x66requencyHz\x18\x02 \x01(\x04\x12\x13\n\x0b\x64\x61taRatebps\x18\x03 \x01(\x04\x12\x14\n\x0cserviceClass\x18\x04 \x01(\r\x12\x10\n\x08powerdBm\x18\x05 \x01(\x01\x12\x39\n\x05slots\x18\x06 \x03(\x0b\x32*.EMANEMessage.TDMAScheduleEvent.Frame.Slot\x1a\x83\x03\n\x04Slot\x12\r\n\x05index\x18\x01 \x02(\r\x12=\n\x04type\x18\x02 \x02(\x0e\x32/.EMANEMessage.TDMAScheduleEvent.Frame.Slot.Type\x12\x39\n\x02tx\x18\x03 \x01(\x0b\x32-.EMANEMessage.TDMAScheduleEvent.Frame.Slot.Tx\x12\x39\n\x02rx\x18\x04 \x01(\x0b\x32-.EMANEMessage.TDMAScheduleEvent.Frame.Slot.Rx\x1ak\n\x02Tx\x12\x13\n\x0b\x66requencyHz\x18\x01 \x01(\x04\x12\x13\n\x0b\x64\x61taRatebps\x18\x02 \x01(\x04\x12\x14\n\x0cserviceClass\x18\x03 \x01(\r\x12\x10\n\x08powerdBm\x18\x04 \x01(\x01\x12\x13\n\x0b\x64\x65stination\x18\x05 \x01(\r\x1a\x19\n\x02Rx\x12\x13\n\x0b\x66requencyHz\x18\x01 \x01(\x04\"/\n\x04Type\x12\x0b\n\x07SLOT_TX\x10\x01\x12\x0b\n\x07SLOT_RX\x10\x02\x12\r\n\tSLOT_IDLE\x10\x03\x1a\x98\x01\n\tStructure\x12\x15\n\rslotsPerFrame\x18\x01 \x02(\r\x12\x1b\n\x13\x66ramesPerMultiFrame\x18\x02 \x02(\r\x12 \n\x18slotDurationMicroseconds\x18\x03 \x02(\x04\x12 \n\x18slotOverheadMicroseconds\x18\x04 \x02(\x04\x12\x13\n\x0b\x62\x61ndwidthHz\x18\x05 \x02(\x04\x42\x02H\x01')
23 )
24 
25 
26 
27 _TDMASCHEDULEEVENT_FRAME_SLOT_TYPE = _descriptor.EnumDescriptor(
28  name='Type',
29  full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot.Type',
30  filename=None,
31  file=DESCRIPTOR,
32  values=[
33  _descriptor.EnumValueDescriptor(
34  name='SLOT_TX', index=0, number=1,
35  options=None,
36  type=None),
37  _descriptor.EnumValueDescriptor(
38  name='SLOT_RX', index=1, number=2,
39  options=None,
40  type=None),
41  _descriptor.EnumValueDescriptor(
42  name='SLOT_IDLE', index=2, number=3,
43  options=None,
44  type=None),
45  ],
46  containing_type=None,
47  options=None,
48  serialized_start=769,
49  serialized_end=816,
50 )
51 _sym_db.RegisterEnumDescriptor(_TDMASCHEDULEEVENT_FRAME_SLOT_TYPE)
52 
53 
54 _TDMASCHEDULEEVENT_FRAME_SLOT_TX = _descriptor.Descriptor(
55  name='Tx',
56  full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot.Tx',
57  filename=None,
58  file=DESCRIPTOR,
59  containing_type=None,
60  fields=[
61  _descriptor.FieldDescriptor(
62  name='frequencyHz', full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot.Tx.frequencyHz', index=0,
63  number=1, type=4, cpp_type=4, label=1,
64  has_default_value=False, default_value=0,
65  message_type=None, enum_type=None, containing_type=None,
66  is_extension=False, extension_scope=None,
67  options=None),
68  _descriptor.FieldDescriptor(
69  name='dataRatebps', full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot.Tx.dataRatebps', index=1,
70  number=2, type=4, cpp_type=4, label=1,
71  has_default_value=False, default_value=0,
72  message_type=None, enum_type=None, containing_type=None,
73  is_extension=False, extension_scope=None,
74  options=None),
75  _descriptor.FieldDescriptor(
76  name='serviceClass', full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot.Tx.serviceClass', index=2,
77  number=3, type=13, cpp_type=3, label=1,
78  has_default_value=False, default_value=0,
79  message_type=None, enum_type=None, containing_type=None,
80  is_extension=False, extension_scope=None,
81  options=None),
82  _descriptor.FieldDescriptor(
83  name='powerdBm', full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot.Tx.powerdBm', index=3,
84  number=4, type=1, cpp_type=5, label=1,
85  has_default_value=False, default_value=float(0),
86  message_type=None, enum_type=None, containing_type=None,
87  is_extension=False, extension_scope=None,
88  options=None),
89  _descriptor.FieldDescriptor(
90  name='destination', full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot.Tx.destination', index=4,
91  number=5, type=13, cpp_type=3, label=1,
92  has_default_value=False, default_value=0,
93  message_type=None, enum_type=None, containing_type=None,
94  is_extension=False, extension_scope=None,
95  options=None),
96  ],
97  extensions=[
98  ],
99  nested_types=[],
100  enum_types=[
101  ],
102  options=None,
103  is_extendable=False,
104  syntax='proto2',
105  extension_ranges=[],
106  oneofs=[
107  ],
108  serialized_start=633,
109  serialized_end=740,
110 )
111 
112 _TDMASCHEDULEEVENT_FRAME_SLOT_RX = _descriptor.Descriptor(
113  name='Rx',
114  full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot.Rx',
115  filename=None,
116  file=DESCRIPTOR,
117  containing_type=None,
118  fields=[
119  _descriptor.FieldDescriptor(
120  name='frequencyHz', full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot.Rx.frequencyHz', index=0,
121  number=1, type=4, cpp_type=4, label=1,
122  has_default_value=False, default_value=0,
123  message_type=None, enum_type=None, containing_type=None,
124  is_extension=False, extension_scope=None,
125  options=None),
126  ],
127  extensions=[
128  ],
129  nested_types=[],
130  enum_types=[
131  ],
132  options=None,
133  is_extendable=False,
134  syntax='proto2',
135  extension_ranges=[],
136  oneofs=[
137  ],
138  serialized_start=742,
139  serialized_end=767,
140 )
141 
142 _TDMASCHEDULEEVENT_FRAME_SLOT = _descriptor.Descriptor(
143  name='Slot',
144  full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot',
145  filename=None,
146  file=DESCRIPTOR,
147  containing_type=None,
148  fields=[
149  _descriptor.FieldDescriptor(
150  name='index', full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot.index', index=0,
151  number=1, type=13, cpp_type=3, label=2,
152  has_default_value=False, default_value=0,
153  message_type=None, enum_type=None, containing_type=None,
154  is_extension=False, extension_scope=None,
155  options=None),
156  _descriptor.FieldDescriptor(
157  name='type', full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot.type', index=1,
158  number=2, type=14, cpp_type=8, label=2,
159  has_default_value=False, default_value=1,
160  message_type=None, enum_type=None, containing_type=None,
161  is_extension=False, extension_scope=None,
162  options=None),
163  _descriptor.FieldDescriptor(
164  name='tx', full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot.tx', index=2,
165  number=3, type=11, cpp_type=10, label=1,
166  has_default_value=False, default_value=None,
167  message_type=None, enum_type=None, containing_type=None,
168  is_extension=False, extension_scope=None,
169  options=None),
170  _descriptor.FieldDescriptor(
171  name='rx', full_name='EMANEMessage.TDMAScheduleEvent.Frame.Slot.rx', index=3,
172  number=4, type=11, cpp_type=10, label=1,
173  has_default_value=False, default_value=None,
174  message_type=None, enum_type=None, containing_type=None,
175  is_extension=False, extension_scope=None,
176  options=None),
177  ],
178  extensions=[
179  ],
180  nested_types=[_TDMASCHEDULEEVENT_FRAME_SLOT_TX, _TDMASCHEDULEEVENT_FRAME_SLOT_RX, ],
181  enum_types=[
182  _TDMASCHEDULEEVENT_FRAME_SLOT_TYPE,
183  ],
184  options=None,
185  is_extendable=False,
186  syntax='proto2',
187  extension_ranges=[],
188  oneofs=[
189  ],
190  serialized_start=429,
191  serialized_end=816,
192 )
193 
194 _TDMASCHEDULEEVENT_FRAME = _descriptor.Descriptor(
195  name='Frame',
196  full_name='EMANEMessage.TDMAScheduleEvent.Frame',
197  filename=None,
198  file=DESCRIPTOR,
199  containing_type=None,
200  fields=[
201  _descriptor.FieldDescriptor(
202  name='index', full_name='EMANEMessage.TDMAScheduleEvent.Frame.index', index=0,
203  number=1, type=13, cpp_type=3, label=2,
204  has_default_value=False, default_value=0,
205  message_type=None, enum_type=None, containing_type=None,
206  is_extension=False, extension_scope=None,
207  options=None),
208  _descriptor.FieldDescriptor(
209  name='frequencyHz', full_name='EMANEMessage.TDMAScheduleEvent.Frame.frequencyHz', index=1,
210  number=2, type=4, cpp_type=4, label=1,
211  has_default_value=False, default_value=0,
212  message_type=None, enum_type=None, containing_type=None,
213  is_extension=False, extension_scope=None,
214  options=None),
215  _descriptor.FieldDescriptor(
216  name='dataRatebps', full_name='EMANEMessage.TDMAScheduleEvent.Frame.dataRatebps', index=2,
217  number=3, type=4, cpp_type=4, label=1,
218  has_default_value=False, default_value=0,
219  message_type=None, enum_type=None, containing_type=None,
220  is_extension=False, extension_scope=None,
221  options=None),
222  _descriptor.FieldDescriptor(
223  name='serviceClass', full_name='EMANEMessage.TDMAScheduleEvent.Frame.serviceClass', index=3,
224  number=4, type=13, cpp_type=3, label=1,
225  has_default_value=False, default_value=0,
226  message_type=None, enum_type=None, containing_type=None,
227  is_extension=False, extension_scope=None,
228  options=None),
229  _descriptor.FieldDescriptor(
230  name='powerdBm', full_name='EMANEMessage.TDMAScheduleEvent.Frame.powerdBm', index=4,
231  number=5, type=1, cpp_type=5, label=1,
232  has_default_value=False, default_value=float(0),
233  message_type=None, enum_type=None, containing_type=None,
234  is_extension=False, extension_scope=None,
235  options=None),
236  _descriptor.FieldDescriptor(
237  name='slots', full_name='EMANEMessage.TDMAScheduleEvent.Frame.slots', index=5,
238  number=6, type=11, cpp_type=10, label=3,
239  has_default_value=False, default_value=[],
240  message_type=None, enum_type=None, containing_type=None,
241  is_extension=False, extension_scope=None,
242  options=None),
243  ],
244  extensions=[
245  ],
246  nested_types=[_TDMASCHEDULEEVENT_FRAME_SLOT, ],
247  enum_types=[
248  ],
249  options=None,
250  is_extendable=False,
251  syntax='proto2',
252  extension_ranges=[],
253  oneofs=[
254  ],
255  serialized_start=263,
256  serialized_end=816,
257 )
258 
259 _TDMASCHEDULEEVENT_STRUCTURE = _descriptor.Descriptor(
260  name='Structure',
261  full_name='EMANEMessage.TDMAScheduleEvent.Structure',
262  filename=None,
263  file=DESCRIPTOR,
264  containing_type=None,
265  fields=[
266  _descriptor.FieldDescriptor(
267  name='slotsPerFrame', full_name='EMANEMessage.TDMAScheduleEvent.Structure.slotsPerFrame', index=0,
268  number=1, type=13, cpp_type=3, label=2,
269  has_default_value=False, default_value=0,
270  message_type=None, enum_type=None, containing_type=None,
271  is_extension=False, extension_scope=None,
272  options=None),
273  _descriptor.FieldDescriptor(
274  name='framesPerMultiFrame', full_name='EMANEMessage.TDMAScheduleEvent.Structure.framesPerMultiFrame', index=1,
275  number=2, type=13, cpp_type=3, label=2,
276  has_default_value=False, default_value=0,
277  message_type=None, enum_type=None, containing_type=None,
278  is_extension=False, extension_scope=None,
279  options=None),
280  _descriptor.FieldDescriptor(
281  name='slotDurationMicroseconds', full_name='EMANEMessage.TDMAScheduleEvent.Structure.slotDurationMicroseconds', index=2,
282  number=3, type=4, cpp_type=4, label=2,
283  has_default_value=False, default_value=0,
284  message_type=None, enum_type=None, containing_type=None,
285  is_extension=False, extension_scope=None,
286  options=None),
287  _descriptor.FieldDescriptor(
288  name='slotOverheadMicroseconds', full_name='EMANEMessage.TDMAScheduleEvent.Structure.slotOverheadMicroseconds', index=3,
289  number=4, type=4, cpp_type=4, label=2,
290  has_default_value=False, default_value=0,
291  message_type=None, enum_type=None, containing_type=None,
292  is_extension=False, extension_scope=None,
293  options=None),
294  _descriptor.FieldDescriptor(
295  name='bandwidthHz', full_name='EMANEMessage.TDMAScheduleEvent.Structure.bandwidthHz', index=4,
296  number=5, type=4, cpp_type=4, label=2,
297  has_default_value=False, default_value=0,
298  message_type=None, enum_type=None, containing_type=None,
299  is_extension=False, extension_scope=None,
300  options=None),
301  ],
302  extensions=[
303  ],
304  nested_types=[],
305  enum_types=[
306  ],
307  options=None,
308  is_extendable=False,
309  syntax='proto2',
310  extension_ranges=[],
311  oneofs=[
312  ],
313  serialized_start=819,
314  serialized_end=971,
315 )
316 
317 _TDMASCHEDULEEVENT = _descriptor.Descriptor(
318  name='TDMAScheduleEvent',
319  full_name='EMANEMessage.TDMAScheduleEvent',
320  filename=None,
321  file=DESCRIPTOR,
322  containing_type=None,
323  fields=[
324  _descriptor.FieldDescriptor(
325  name='frames', full_name='EMANEMessage.TDMAScheduleEvent.frames', index=0,
326  number=1, type=11, cpp_type=10, label=3,
327  has_default_value=False, default_value=[],
328  message_type=None, enum_type=None, containing_type=None,
329  is_extension=False, extension_scope=None,
330  options=None),
331  _descriptor.FieldDescriptor(
332  name='structure', full_name='EMANEMessage.TDMAScheduleEvent.structure', index=1,
333  number=2, type=11, cpp_type=10, label=1,
334  has_default_value=False, default_value=None,
335  message_type=None, enum_type=None, containing_type=None,
336  is_extension=False, extension_scope=None,
337  options=None),
338  _descriptor.FieldDescriptor(
339  name='frequencyHz', full_name='EMANEMessage.TDMAScheduleEvent.frequencyHz', index=2,
340  number=3, type=4, cpp_type=4, label=1,
341  has_default_value=False, default_value=0,
342  message_type=None, enum_type=None, containing_type=None,
343  is_extension=False, extension_scope=None,
344  options=None),
345  _descriptor.FieldDescriptor(
346  name='dataRatebps', full_name='EMANEMessage.TDMAScheduleEvent.dataRatebps', index=3,
347  number=4, type=4, cpp_type=4, label=1,
348  has_default_value=False, default_value=0,
349  message_type=None, enum_type=None, containing_type=None,
350  is_extension=False, extension_scope=None,
351  options=None),
352  _descriptor.FieldDescriptor(
353  name='serviceClass', full_name='EMANEMessage.TDMAScheduleEvent.serviceClass', index=4,
354  number=5, type=13, cpp_type=3, label=1,
355  has_default_value=False, default_value=0,
356  message_type=None, enum_type=None, containing_type=None,
357  is_extension=False, extension_scope=None,
358  options=None),
359  _descriptor.FieldDescriptor(
360  name='powerdBm', full_name='EMANEMessage.TDMAScheduleEvent.powerdBm', index=5,
361  number=6, type=1, cpp_type=5, label=1,
362  has_default_value=False, default_value=float(0),
363  message_type=None, enum_type=None, containing_type=None,
364  is_extension=False, extension_scope=None,
365  options=None),
366  ],
367  extensions=[
368  ],
369  nested_types=[_TDMASCHEDULEEVENT_FRAME, _TDMASCHEDULEEVENT_STRUCTURE, ],
370  enum_types=[
371  ],
372  options=None,
373  is_extendable=False,
374  syntax='proto2',
375  extension_ranges=[],
376  oneofs=[
377  ],
378  serialized_start=42,
379  serialized_end=971,
380 )
381 
382 _TDMASCHEDULEEVENT_FRAME_SLOT_TX.containing_type = _TDMASCHEDULEEVENT_FRAME_SLOT
383 _TDMASCHEDULEEVENT_FRAME_SLOT_RX.containing_type = _TDMASCHEDULEEVENT_FRAME_SLOT
384 _TDMASCHEDULEEVENT_FRAME_SLOT.fields_by_name['type'].enum_type = _TDMASCHEDULEEVENT_FRAME_SLOT_TYPE
385 _TDMASCHEDULEEVENT_FRAME_SLOT.fields_by_name['tx'].message_type = _TDMASCHEDULEEVENT_FRAME_SLOT_TX
386 _TDMASCHEDULEEVENT_FRAME_SLOT.fields_by_name['rx'].message_type = _TDMASCHEDULEEVENT_FRAME_SLOT_RX
387 _TDMASCHEDULEEVENT_FRAME_SLOT.containing_type = _TDMASCHEDULEEVENT_FRAME
388 _TDMASCHEDULEEVENT_FRAME_SLOT_TYPE.containing_type = _TDMASCHEDULEEVENT_FRAME_SLOT
389 _TDMASCHEDULEEVENT_FRAME.fields_by_name['slots'].message_type = _TDMASCHEDULEEVENT_FRAME_SLOT
390 _TDMASCHEDULEEVENT_FRAME.containing_type = _TDMASCHEDULEEVENT
391 _TDMASCHEDULEEVENT_STRUCTURE.containing_type = _TDMASCHEDULEEVENT
392 _TDMASCHEDULEEVENT.fields_by_name['frames'].message_type = _TDMASCHEDULEEVENT_FRAME
393 _TDMASCHEDULEEVENT.fields_by_name['structure'].message_type = _TDMASCHEDULEEVENT_STRUCTURE
394 DESCRIPTOR.message_types_by_name['TDMAScheduleEvent'] = _TDMASCHEDULEEVENT
395 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
396 
397 TDMAScheduleEvent = _reflection.GeneratedProtocolMessageType('TDMAScheduleEvent', (_message.Message,), dict(
398 
399  Frame = _reflection.GeneratedProtocolMessageType('Frame', (_message.Message,), dict(
400 
401  Slot = _reflection.GeneratedProtocolMessageType('Slot', (_message.Message,), dict(
402 
403  Tx = _reflection.GeneratedProtocolMessageType('Tx', (_message.Message,), dict(
404  DESCRIPTOR = _TDMASCHEDULEEVENT_FRAME_SLOT_TX,
405  __module__ = 'tdmascheduleevent_pb2'
406  # @@protoc_insertion_point(class_scope:EMANEMessage.TDMAScheduleEvent.Frame.Slot.Tx)
407  ))
408  ,
409 
410  Rx = _reflection.GeneratedProtocolMessageType('Rx', (_message.Message,), dict(
411  DESCRIPTOR = _TDMASCHEDULEEVENT_FRAME_SLOT_RX,
412  __module__ = 'tdmascheduleevent_pb2'
413  # @@protoc_insertion_point(class_scope:EMANEMessage.TDMAScheduleEvent.Frame.Slot.Rx)
414  ))
415  ,
416  DESCRIPTOR = _TDMASCHEDULEEVENT_FRAME_SLOT,
417  __module__ = 'tdmascheduleevent_pb2'
418  # @@protoc_insertion_point(class_scope:EMANEMessage.TDMAScheduleEvent.Frame.Slot)
419  ))
420  ,
421  DESCRIPTOR = _TDMASCHEDULEEVENT_FRAME,
422  __module__ = 'tdmascheduleevent_pb2'
423  # @@protoc_insertion_point(class_scope:EMANEMessage.TDMAScheduleEvent.Frame)
424  ))
425  ,
426 
427  Structure = _reflection.GeneratedProtocolMessageType('Structure', (_message.Message,), dict(
428  DESCRIPTOR = _TDMASCHEDULEEVENT_STRUCTURE,
429  __module__ = 'tdmascheduleevent_pb2'
430  # @@protoc_insertion_point(class_scope:EMANEMessage.TDMAScheduleEvent.Structure)
431  ))
432  ,
433  DESCRIPTOR = _TDMASCHEDULEEVENT,
434  __module__ = 'tdmascheduleevent_pb2'
435  # @@protoc_insertion_point(class_scope:EMANEMessage.TDMAScheduleEvent)
436  ))
437 _sym_db.RegisterMessage(TDMAScheduleEvent)
438 _sym_db.RegisterMessage(TDMAScheduleEvent.Frame)
439 _sym_db.RegisterMessage(TDMAScheduleEvent.Frame.Slot)
440 _sym_db.RegisterMessage(TDMAScheduleEvent.Frame.Slot.Tx)
441 _sym_db.RegisterMessage(TDMAScheduleEvent.Frame.Slot.Rx)
442 _sym_db.RegisterMessage(TDMAScheduleEvent.Structure)
443 
444 
445 DESCRIPTOR.has_options = True
446 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('H\001'))
447 # @@protoc_insertion_point(module_scope)