EMANE  1.2.1
emane/events/pathlossevent_pb2.py
Go to the documentation of this file.
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: pathlossevent.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='pathlossevent.proto',
20  package='EMANEMessage',
21  syntax='proto2',
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')
23 )
24 
25 
26 
27 
28 _PATHLOSSEVENT_PATHLOSS = _descriptor.Descriptor(
29  name='Pathloss',
30  full_name='EMANEMessage.PathlossEvent.Pathloss',
31  filename=None,
32  file=DESCRIPTOR,
33  containing_type=None,
34  fields=[
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,
41  options=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,
48  options=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,
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=113,
69  serialized_end=192,
70 )
71 
72 _PATHLOSSEVENT = _descriptor.Descriptor(
73  name='PathlossEvent',
74  full_name='EMANEMessage.PathlossEvent',
75  filename=None,
76  file=DESCRIPTOR,
77  containing_type=None,
78  fields=[
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,
85  options=None),
86  ],
87  extensions=[
88  ],
89  nested_types=[_PATHLOSSEVENT_PATHLOSS, ],
90  enum_types=[
91  ],
92  options=None,
93  is_extendable=False,
94  syntax='proto2',
95  extension_ranges=[],
96  oneofs=[
97  ],
98  serialized_start=38,
99  serialized_end=192,
100 )
101 
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)
106 
107 PathlossEvent = _reflection.GeneratedProtocolMessageType('PathlossEvent', (_message.Message,), dict(
108 
109  Pathloss = _reflection.GeneratedProtocolMessageType('Pathloss', (_message.Message,), dict(
110  DESCRIPTOR = _PATHLOSSEVENT_PATHLOSS,
111  __module__ = 'pathlossevent_pb2'
112  # @@protoc_insertion_point(class_scope:EMANEMessage.PathlossEvent.Pathloss)
113  ))
114  ,
115  DESCRIPTOR = _PATHLOSSEVENT,
116  __module__ = 'pathlossevent_pb2'
117  # @@protoc_insertion_point(class_scope:EMANEMessage.PathlossEvent)
118  ))
119 _sym_db.RegisterMessage(PathlossEvent)
120 _sym_db.RegisterMessage(PathlossEvent.Pathloss)
121 
122 
123 DESCRIPTOR.has_options = True
124 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('H\001'))
125 # @@protoc_insertion_point(module_scope)