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=
'onehopneighborsevent.proto',
20 package=
'EMANEEventMessage',
22 serialized_pb=_b(
'\n\x1aonehopneighborsevent.proto\x12\x11\x45MANEEventMessage\"\x8b\x01\n\x14OneHopNeighborsEvent\x12\x13\n\x0b\x65ventSource\x18\x01 \x02(\r\x12\x43\n\tneighbors\x18\x02 \x03(\x0b\x32\x30.EMANEEventMessage.OneHopNeighborsEvent.Neighbor\x1a\x19\n\x08Neighbor\x12\r\n\x05nemId\x18\x01 \x02(\rB\x02H\x01')
28 _ONEHOPNEIGHBORSEVENT_NEIGHBOR = _descriptor.Descriptor(
30 full_name=
'EMANEEventMessage.OneHopNeighborsEvent.Neighbor',
35 _descriptor.FieldDescriptor(
36 name=
'nemId', full_name=
'EMANEEventMessage.OneHopNeighborsEvent.Neighbor.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,
58 _ONEHOPNEIGHBORSEVENT = _descriptor.Descriptor(
59 name=
'OneHopNeighborsEvent',
60 full_name=
'EMANEEventMessage.OneHopNeighborsEvent',
65 _descriptor.FieldDescriptor(
66 name=
'eventSource', full_name=
'EMANEEventMessage.OneHopNeighborsEvent.eventSource', index=0,
67 number=1, type=13, cpp_type=3, label=2,
68 has_default_value=
False, default_value=0,
69 message_type=
None, enum_type=
None, containing_type=
None,
70 is_extension=
False, extension_scope=
None,
72 _descriptor.FieldDescriptor(
73 name=
'neighbors', full_name=
'EMANEEventMessage.OneHopNeighborsEvent.neighbors', index=1,
74 number=2, type=11, cpp_type=10, label=3,
75 has_default_value=
False, default_value=[],
76 message_type=
None, enum_type=
None, containing_type=
None,
77 is_extension=
False, extension_scope=
None,
82 nested_types=[_ONEHOPNEIGHBORSEVENT_NEIGHBOR, ],
95 _ONEHOPNEIGHBORSEVENT_NEIGHBOR.containing_type = _ONEHOPNEIGHBORSEVENT
96 _ONEHOPNEIGHBORSEVENT.fields_by_name[
'neighbors'].message_type = _ONEHOPNEIGHBORSEVENT_NEIGHBOR
97 DESCRIPTOR.message_types_by_name[
'OneHopNeighborsEvent'] = _ONEHOPNEIGHBORSEVENT
98 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
100 OneHopNeighborsEvent = _reflection.GeneratedProtocolMessageType(
'OneHopNeighborsEvent', (_message.Message,), dict(
102 Neighbor = _reflection.GeneratedProtocolMessageType(
'Neighbor', (_message.Message,), dict(
103 DESCRIPTOR = _ONEHOPNEIGHBORSEVENT_NEIGHBOR,
104 __module__ =
'onehopneighborsevent_pb2' 108 DESCRIPTOR = _ONEHOPNEIGHBORSEVENT,
109 __module__ =
'onehopneighborsevent_pb2' 112 _sym_db.RegisterMessage(OneHopNeighborsEvent)
113 _sym_db.RegisterMessage(OneHopNeighborsEvent.Neighbor)
116 DESCRIPTOR.has_options =
True 117 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b(
'H\001'))