EMANE  1.2.1
emane/events/onehopneighborsevent_pb2.py
Go to the documentation of this file.
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: onehopneighborsevent.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='onehopneighborsevent.proto',
20  package='EMANEEventMessage',
21  syntax='proto2',
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')
23 )
24 
25 
26 
27 
28 _ONEHOPNEIGHBORSEVENT_NEIGHBOR = _descriptor.Descriptor(
29  name='Neighbor',
30  full_name='EMANEEventMessage.OneHopNeighborsEvent.Neighbor',
31  filename=None,
32  file=DESCRIPTOR,
33  containing_type=None,
34  fields=[
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,
41  options=None),
42  ],
43  extensions=[
44  ],
45  nested_types=[],
46  enum_types=[
47  ],
48  options=None,
49  is_extendable=False,
50  syntax='proto2',
51  extension_ranges=[],
52  oneofs=[
53  ],
54  serialized_start=164,
55  serialized_end=189,
56 )
57 
58 _ONEHOPNEIGHBORSEVENT = _descriptor.Descriptor(
59  name='OneHopNeighborsEvent',
60  full_name='EMANEEventMessage.OneHopNeighborsEvent',
61  filename=None,
62  file=DESCRIPTOR,
63  containing_type=None,
64  fields=[
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,
71  options=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,
78  options=None),
79  ],
80  extensions=[
81  ],
82  nested_types=[_ONEHOPNEIGHBORSEVENT_NEIGHBOR, ],
83  enum_types=[
84  ],
85  options=None,
86  is_extendable=False,
87  syntax='proto2',
88  extension_ranges=[],
89  oneofs=[
90  ],
91  serialized_start=50,
92  serialized_end=189,
93 )
94 
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)
99 
100 OneHopNeighborsEvent = _reflection.GeneratedProtocolMessageType('OneHopNeighborsEvent', (_message.Message,), dict(
101 
102  Neighbor = _reflection.GeneratedProtocolMessageType('Neighbor', (_message.Message,), dict(
103  DESCRIPTOR = _ONEHOPNEIGHBORSEVENT_NEIGHBOR,
104  __module__ = 'onehopneighborsevent_pb2'
105  # @@protoc_insertion_point(class_scope:EMANEEventMessage.OneHopNeighborsEvent.Neighbor)
106  ))
107  ,
108  DESCRIPTOR = _ONEHOPNEIGHBORSEVENT,
109  __module__ = 'onehopneighborsevent_pb2'
110  # @@protoc_insertion_point(class_scope:EMANEEventMessage.OneHopNeighborsEvent)
111  ))
112 _sym_db.RegisterMessage(OneHopNeighborsEvent)
113 _sym_db.RegisterMessage(OneHopNeighborsEvent.Neighbor)
114 
115 
116 DESCRIPTOR.has_options = True
117 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('H\001'))
118 # @@protoc_insertion_point(module_scope)