EMANE  1.2.1
build/lib/emane/events/event_pb2.py
Go to the documentation of this file.
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: event.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='event.proto',
20  package='EMANEMessage',
21  syntax='proto2',
22  serialized_pb=_b('\n\x0b\x65vent.proto\x12\x0c\x45MANEMessage\"\xdd\x01\n\x05\x45vent\x12\x0c\n\x04uuid\x18\x01 \x02(\x0c\x12\x16\n\x0esequenceNumber\x18\x02 \x02(\x04\x12&\n\x04\x64\x61ta\x18\x03 \x02(\x0b\x32\x18.EMANEMessage.Event.Data\x1a\x85\x01\n\x04\x44\x61ta\x12>\n\x0eserializations\x18\x01 \x03(\x0b\x32&.EMANEMessage.Event.Data.Serialization\x1a=\n\rSerialization\x12\r\n\x05nemId\x18\x01 \x02(\r\x12\x0f\n\x07\x65ventId\x18\x02 \x02(\r\x12\x0c\n\x04\x64\x61ta\x18\x03 \x02(\x0c\x42\x02H\x01')
23 )
24 
25 
26 
27 
28 _EVENT_DATA_SERIALIZATION = _descriptor.Descriptor(
29  name='Serialization',
30  full_name='EMANEMessage.Event.Data.Serialization',
31  filename=None,
32  file=DESCRIPTOR,
33  containing_type=None,
34  fields=[
35  _descriptor.FieldDescriptor(
36  name='nemId', full_name='EMANEMessage.Event.Data.Serialization.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='eventId', full_name='EMANEMessage.Event.Data.Serialization.eventId', index=1,
44  number=2, type=13, cpp_type=3, label=2,
45  has_default_value=False, default_value=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='data', full_name='EMANEMessage.Event.Data.Serialization.data', index=2,
51  number=3, type=12, cpp_type=9, label=2,
52  has_default_value=False, default_value=_b(""),
53  message_type=None, enum_type=None, containing_type=None,
54  is_extension=False, extension_scope=None,
55  options=None),
56  ],
57  extensions=[
58  ],
59  nested_types=[],
60  enum_types=[
61  ],
62  options=None,
63  is_extendable=False,
64  syntax='proto2',
65  extension_ranges=[],
66  oneofs=[
67  ],
68  serialized_start=190,
69  serialized_end=251,
70 )
71 
72 _EVENT_DATA = _descriptor.Descriptor(
73  name='Data',
74  full_name='EMANEMessage.Event.Data',
75  filename=None,
76  file=DESCRIPTOR,
77  containing_type=None,
78  fields=[
79  _descriptor.FieldDescriptor(
80  name='serializations', full_name='EMANEMessage.Event.Data.serializations', 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,
85  options=None),
86  ],
87  extensions=[
88  ],
89  nested_types=[_EVENT_DATA_SERIALIZATION, ],
90  enum_types=[
91  ],
92  options=None,
93  is_extendable=False,
94  syntax='proto2',
95  extension_ranges=[],
96  oneofs=[
97  ],
98  serialized_start=118,
99  serialized_end=251,
100 )
101 
102 _EVENT = _descriptor.Descriptor(
103  name='Event',
104  full_name='EMANEMessage.Event',
105  filename=None,
106  file=DESCRIPTOR,
107  containing_type=None,
108  fields=[
109  _descriptor.FieldDescriptor(
110  name='uuid', full_name='EMANEMessage.Event.uuid', index=0,
111  number=1, type=12, cpp_type=9, label=2,
112  has_default_value=False, default_value=_b(""),
113  message_type=None, enum_type=None, containing_type=None,
114  is_extension=False, extension_scope=None,
115  options=None),
116  _descriptor.FieldDescriptor(
117  name='sequenceNumber', full_name='EMANEMessage.Event.sequenceNumber', index=1,
118  number=2, type=4, cpp_type=4, label=2,
119  has_default_value=False, default_value=0,
120  message_type=None, enum_type=None, containing_type=None,
121  is_extension=False, extension_scope=None,
122  options=None),
123  _descriptor.FieldDescriptor(
124  name='data', full_name='EMANEMessage.Event.data', index=2,
125  number=3, type=11, cpp_type=10, label=2,
126  has_default_value=False, default_value=None,
127  message_type=None, enum_type=None, containing_type=None,
128  is_extension=False, extension_scope=None,
129  options=None),
130  ],
131  extensions=[
132  ],
133  nested_types=[_EVENT_DATA, ],
134  enum_types=[
135  ],
136  options=None,
137  is_extendable=False,
138  syntax='proto2',
139  extension_ranges=[],
140  oneofs=[
141  ],
142  serialized_start=30,
143  serialized_end=251,
144 )
145 
146 _EVENT_DATA_SERIALIZATION.containing_type = _EVENT_DATA
147 _EVENT_DATA.fields_by_name['serializations'].message_type = _EVENT_DATA_SERIALIZATION
148 _EVENT_DATA.containing_type = _EVENT
149 _EVENT.fields_by_name['data'].message_type = _EVENT_DATA
150 DESCRIPTOR.message_types_by_name['Event'] = _EVENT
151 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
152 
153 Event = _reflection.GeneratedProtocolMessageType('Event', (_message.Message,), dict(
154 
155  Data = _reflection.GeneratedProtocolMessageType('Data', (_message.Message,), dict(
156 
157  Serialization = _reflection.GeneratedProtocolMessageType('Serialization', (_message.Message,), dict(
158  DESCRIPTOR = _EVENT_DATA_SERIALIZATION,
159  __module__ = 'event_pb2'
160  # @@protoc_insertion_point(class_scope:EMANEMessage.Event.Data.Serialization)
161  ))
162  ,
163  DESCRIPTOR = _EVENT_DATA,
164  __module__ = 'event_pb2'
165  # @@protoc_insertion_point(class_scope:EMANEMessage.Event.Data)
166  ))
167  ,
168  DESCRIPTOR = _EVENT,
169  __module__ = 'event_pb2'
170  # @@protoc_insertion_point(class_scope:EMANEMessage.Event)
171  ))
172 _sym_db.RegisterMessage(Event)
173 _sym_db.RegisterMessage(Event.Data)
174 _sym_db.RegisterMessage(Event.Data.Serialization)
175 
176 
177 DESCRIPTOR.has_options = True
178 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('H\001'))
179 # @@protoc_insertion_point(module_scope)