EMANE  1.2.1
emane/events/commeffectevent_pb2.py
Go to the documentation of this file.
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: commeffectevent.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='commeffectevent.proto',
20  package='EMANEMessage',
21  syntax='proto2',
22  serialized_pb=_b('\n\x15\x63ommeffectevent.proto\x12\x0c\x45MANEMessage\"\x8c\x02\n\x0f\x43ommEffectEvent\x12=\n\x0b\x63ommEffects\x18\x01 \x03(\x0b\x32(.EMANEMessage.CommEffectEvent.CommEffect\x1a\xb9\x01\n\nCommEffect\x12\r\n\x05nemId\x18\x01 \x02(\r\x12\x16\n\x0elatencySeconds\x18\x02 \x02(\x02\x12\x15\n\rjitterSeconds\x18\x03 \x02(\x02\x12\x17\n\x0fprobabilityLoss\x18\x04 \x02(\x02\x12\x1c\n\x14probabilityDuplicate\x18\x05 \x02(\x02\x12\x19\n\x11unicastBitRatebps\x18\x06 \x02(\x04\x12\x1b\n\x13\x62roadcastBitRatebps\x18\x07 \x02(\x04\x42\x02H\x01')
23 )
24 
25 
26 
27 
28 _COMMEFFECTEVENT_COMMEFFECT = _descriptor.Descriptor(
29  name='CommEffect',
30  full_name='EMANEMessage.CommEffectEvent.CommEffect',
31  filename=None,
32  file=DESCRIPTOR,
33  containing_type=None,
34  fields=[
35  _descriptor.FieldDescriptor(
36  name='nemId', full_name='EMANEMessage.CommEffectEvent.CommEffect.nemId', index=0,
37  number=1, type=13, cpp_type=3, label=2,
38  has_default_value=False, default_value=0,
39  message_type=None, enum_type=None, containing_type=None,
40  is_extension=False, extension_scope=None,
41  options=None),
42  _descriptor.FieldDescriptor(
43  name='latencySeconds', full_name='EMANEMessage.CommEffectEvent.CommEffect.latencySeconds', index=1,
44  number=2, type=2, cpp_type=6, label=2,
45  has_default_value=False, default_value=float(0),
46  message_type=None, enum_type=None, containing_type=None,
47  is_extension=False, extension_scope=None,
48  options=None),
49  _descriptor.FieldDescriptor(
50  name='jitterSeconds', full_name='EMANEMessage.CommEffectEvent.CommEffect.jitterSeconds', index=2,
51  number=3, type=2, cpp_type=6, label=2,
52  has_default_value=False, default_value=float(0),
53  message_type=None, enum_type=None, containing_type=None,
54  is_extension=False, extension_scope=None,
55  options=None),
56  _descriptor.FieldDescriptor(
57  name='probabilityLoss', full_name='EMANEMessage.CommEffectEvent.CommEffect.probabilityLoss', index=3,
58  number=4, type=2, cpp_type=6, label=2,
59  has_default_value=False, default_value=float(0),
60  message_type=None, enum_type=None, containing_type=None,
61  is_extension=False, extension_scope=None,
62  options=None),
63  _descriptor.FieldDescriptor(
64  name='probabilityDuplicate', full_name='EMANEMessage.CommEffectEvent.CommEffect.probabilityDuplicate', index=4,
65  number=5, type=2, cpp_type=6, label=2,
66  has_default_value=False, default_value=float(0),
67  message_type=None, enum_type=None, containing_type=None,
68  is_extension=False, extension_scope=None,
69  options=None),
70  _descriptor.FieldDescriptor(
71  name='unicastBitRatebps', full_name='EMANEMessage.CommEffectEvent.CommEffect.unicastBitRatebps', index=5,
72  number=6, type=4, cpp_type=4, label=2,
73  has_default_value=False, default_value=0,
74  message_type=None, enum_type=None, containing_type=None,
75  is_extension=False, extension_scope=None,
76  options=None),
77  _descriptor.FieldDescriptor(
78  name='broadcastBitRatebps', full_name='EMANEMessage.CommEffectEvent.CommEffect.broadcastBitRatebps', index=6,
79  number=7, type=4, cpp_type=4, label=2,
80  has_default_value=False, default_value=0,
81  message_type=None, enum_type=None, containing_type=None,
82  is_extension=False, extension_scope=None,
83  options=None),
84  ],
85  extensions=[
86  ],
87  nested_types=[],
88  enum_types=[
89  ],
90  options=None,
91  is_extendable=False,
92  syntax='proto2',
93  extension_ranges=[],
94  oneofs=[
95  ],
96  serialized_start=123,
97  serialized_end=308,
98 )
99 
100 _COMMEFFECTEVENT = _descriptor.Descriptor(
101  name='CommEffectEvent',
102  full_name='EMANEMessage.CommEffectEvent',
103  filename=None,
104  file=DESCRIPTOR,
105  containing_type=None,
106  fields=[
107  _descriptor.FieldDescriptor(
108  name='commEffects', full_name='EMANEMessage.CommEffectEvent.commEffects', index=0,
109  number=1, type=11, cpp_type=10, label=3,
110  has_default_value=False, default_value=[],
111  message_type=None, enum_type=None, containing_type=None,
112  is_extension=False, extension_scope=None,
113  options=None),
114  ],
115  extensions=[
116  ],
117  nested_types=[_COMMEFFECTEVENT_COMMEFFECT, ],
118  enum_types=[
119  ],
120  options=None,
121  is_extendable=False,
122  syntax='proto2',
123  extension_ranges=[],
124  oneofs=[
125  ],
126  serialized_start=40,
127  serialized_end=308,
128 )
129 
130 _COMMEFFECTEVENT_COMMEFFECT.containing_type = _COMMEFFECTEVENT
131 _COMMEFFECTEVENT.fields_by_name['commEffects'].message_type = _COMMEFFECTEVENT_COMMEFFECT
132 DESCRIPTOR.message_types_by_name['CommEffectEvent'] = _COMMEFFECTEVENT
133 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
134 
135 CommEffectEvent = _reflection.GeneratedProtocolMessageType('CommEffectEvent', (_message.Message,), dict(
136 
137  CommEffect = _reflection.GeneratedProtocolMessageType('CommEffect', (_message.Message,), dict(
138  DESCRIPTOR = _COMMEFFECTEVENT_COMMEFFECT,
139  __module__ = 'commeffectevent_pb2'
140  # @@protoc_insertion_point(class_scope:EMANEMessage.CommEffectEvent.CommEffect)
141  ))
142  ,
143  DESCRIPTOR = _COMMEFFECTEVENT,
144  __module__ = 'commeffectevent_pb2'
145  # @@protoc_insertion_point(class_scope:EMANEMessage.CommEffectEvent)
146  ))
147 _sym_db.RegisterMessage(CommEffectEvent)
148 _sym_db.RegisterMessage(CommEffectEvent.CommEffect)
149 
150 
151 DESCRIPTOR.has_options = True
152 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('H\001'))
153 # @@protoc_insertion_point(module_scope)