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
13 _sym_db = _symbol_database.Default()
18 DESCRIPTOR = _descriptor.FileDescriptor(
19 name=
'pathlossevent.proto',
20 package=
'EMANEMessage',
22 serialized_pb=_b(
'\n\x13pathlossevent.proto\x12\x0c\x45MANEMessage\"\x9a\x01\n\rPathlossEvent\x12\x38\n\npathlosses\x18\x01 \x03(\x0b\x32$.EMANEMessage.PathlossEvent.Pathloss\x1aO\n\x08Pathloss\x12\r\n\x05nemId\x18\x01 \x02(\r\x12\x19\n\x11\x66orwardPathlossdB\x18\x02 \x02(\x02\x12\x19\n\x11reversePathlossdB\x18\x03 \x02(\x02\x42\x02H\x01')
28 _PATHLOSSEVENT_PATHLOSS = _descriptor.Descriptor(
30 full_name=
'EMANEMessage.PathlossEvent.Pathloss',
35 _descriptor.FieldDescriptor(
36 name=
'nemId', full_name=
'EMANEMessage.PathlossEvent.Pathloss.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,
42 _descriptor.FieldDescriptor(
43 name=
'forwardPathlossdB', full_name=
'EMANEMessage.PathlossEvent.Pathloss.forwardPathlossdB', 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,
49 _descriptor.FieldDescriptor(
50 name=
'reversePathlossdB', full_name=
'EMANEMessage.PathlossEvent.Pathloss.reversePathlossdB', 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,
72 _PATHLOSSEVENT = _descriptor.Descriptor(
74 full_name=
'EMANEMessage.PathlossEvent',
79 _descriptor.FieldDescriptor(
80 name=
'pathlosses', full_name=
'EMANEMessage.PathlossEvent.pathlosses', index=0,
81 number=1, type=11, cpp_type=10, label=3,
82 has_default_value=
False, default_value=[],
83 message_type=
None, enum_type=
None, containing_type=
None,
84 is_extension=
False, extension_scope=
None,
89 nested_types=[_PATHLOSSEVENT_PATHLOSS, ],
102 _PATHLOSSEVENT_PATHLOSS.containing_type = _PATHLOSSEVENT
103 _PATHLOSSEVENT.fields_by_name[
'pathlosses'].message_type = _PATHLOSSEVENT_PATHLOSS
104 DESCRIPTOR.message_types_by_name[
'PathlossEvent'] = _PATHLOSSEVENT
105 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
107 PathlossEvent = _reflection.GeneratedProtocolMessageType(
'PathlossEvent', (_message.Message,), dict(
109 Pathloss = _reflection.GeneratedProtocolMessageType(
'Pathloss', (_message.Message,), dict(
110 DESCRIPTOR = _PATHLOSSEVENT_PATHLOSS,
111 __module__ =
'pathlossevent_pb2' 115 DESCRIPTOR = _PATHLOSSEVENT,
116 __module__ =
'pathlossevent_pb2' 119 _sym_db.RegisterMessage(PathlossEvent)
120 _sym_db.RegisterMessage(PathlossEvent.Pathloss)
123 DESCRIPTOR.has_options =
True 124 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b(
'H\001'))