EMANE  1.2.1
emane/ota/commonphyheader_pb2.py
Go to the documentation of this file.
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: commonphyheader.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='commonphyheader.proto',
20  package='EMANEMessage',
21  syntax='proto2',
22  serialized_pb=_b('\n\x15\x63ommonphyheader.proto\x12\x0c\x45MANEMessage\"\xcc\x03\n\x0f\x43ommonPHYHeader\x12\x16\n\x0eregistrationId\x18\x01 \x02(\r\x12\r\n\x05subId\x18\x02 \x02(\r\x12\x16\n\x0esequenceNumber\x18\x03 \x02(\r\x12\x13\n\x0b\x62\x61ndwidthHz\x18\x04 \x02(\x04\x12\x1a\n\x12txTimeMicroseconds\x18\x05 \x02(\x04\x12?\n\x0ctransmitters\x18\x06 \x03(\x0b\x32).EMANEMessage.CommonPHYHeader.Transmitter\x12I\n\x11\x66requencySegments\x18\x07 \x03(\x0b\x32..EMANEMessage.CommonPHYHeader.FrequencySegment\x12\x18\n\x10\x66ixedAntennaGain\x18\x08 \x01(\x01\x1a.\n\x0bTransmitter\x12\r\n\x05nemId\x18\x01 \x02(\r\x12\x10\n\x08powerdBm\x18\x02 \x02(\x01\x1as\n\x10\x46requencySegment\x12\x13\n\x0b\x66requencyHz\x18\x01 \x02(\x04\x12\x1a\n\x12offsetMicroseconds\x18\x02 \x02(\x04\x12\x1c\n\x14\x64urationMicroseconds\x18\x03 \x02(\x04\x12\x10\n\x08powerdBm\x18\x04 \x01(\x01\x42\x02H\x01')
23 )
24 
25 
26 
27 
28 _COMMONPHYHEADER_TRANSMITTER = _descriptor.Descriptor(
29  name='Transmitter',
30  full_name='EMANEMessage.CommonPHYHeader.Transmitter',
31  filename=None,
32  file=DESCRIPTOR,
33  containing_type=None,
34  fields=[
35  _descriptor.FieldDescriptor(
36  name='nemId', full_name='EMANEMessage.CommonPHYHeader.Transmitter.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='powerdBm', full_name='EMANEMessage.CommonPHYHeader.Transmitter.powerdBm', index=1,
44  number=2, type=1, cpp_type=5, 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  ],
50  extensions=[
51  ],
52  nested_types=[],
53  enum_types=[
54  ],
55  options=None,
56  is_extendable=False,
57  syntax='proto2',
58  extension_ranges=[],
59  oneofs=[
60  ],
61  serialized_start=337,
62  serialized_end=383,
63 )
64 
65 _COMMONPHYHEADER_FREQUENCYSEGMENT = _descriptor.Descriptor(
66  name='FrequencySegment',
67  full_name='EMANEMessage.CommonPHYHeader.FrequencySegment',
68  filename=None,
69  file=DESCRIPTOR,
70  containing_type=None,
71  fields=[
72  _descriptor.FieldDescriptor(
73  name='frequencyHz', full_name='EMANEMessage.CommonPHYHeader.FrequencySegment.frequencyHz', index=0,
74  number=1, type=4, cpp_type=4, label=2,
75  has_default_value=False, default_value=0,
76  message_type=None, enum_type=None, containing_type=None,
77  is_extension=False, extension_scope=None,
78  options=None),
79  _descriptor.FieldDescriptor(
80  name='offsetMicroseconds', full_name='EMANEMessage.CommonPHYHeader.FrequencySegment.offsetMicroseconds', index=1,
81  number=2, type=4, cpp_type=4, label=2,
82  has_default_value=False, default_value=0,
83  message_type=None, enum_type=None, containing_type=None,
84  is_extension=False, extension_scope=None,
85  options=None),
86  _descriptor.FieldDescriptor(
87  name='durationMicroseconds', full_name='EMANEMessage.CommonPHYHeader.FrequencySegment.durationMicroseconds', index=2,
88  number=3, type=4, cpp_type=4, label=2,
89  has_default_value=False, default_value=0,
90  message_type=None, enum_type=None, containing_type=None,
91  is_extension=False, extension_scope=None,
92  options=None),
93  _descriptor.FieldDescriptor(
94  name='powerdBm', full_name='EMANEMessage.CommonPHYHeader.FrequencySegment.powerdBm', index=3,
95  number=4, type=1, cpp_type=5, label=1,
96  has_default_value=False, default_value=float(0),
97  message_type=None, enum_type=None, containing_type=None,
98  is_extension=False, extension_scope=None,
99  options=None),
100  ],
101  extensions=[
102  ],
103  nested_types=[],
104  enum_types=[
105  ],
106  options=None,
107  is_extendable=False,
108  syntax='proto2',
109  extension_ranges=[],
110  oneofs=[
111  ],
112  serialized_start=385,
113  serialized_end=500,
114 )
115 
116 _COMMONPHYHEADER = _descriptor.Descriptor(
117  name='CommonPHYHeader',
118  full_name='EMANEMessage.CommonPHYHeader',
119  filename=None,
120  file=DESCRIPTOR,
121  containing_type=None,
122  fields=[
123  _descriptor.FieldDescriptor(
124  name='registrationId', full_name='EMANEMessage.CommonPHYHeader.registrationId', index=0,
125  number=1, type=13, cpp_type=3, label=2,
126  has_default_value=False, default_value=0,
127  message_type=None, enum_type=None, containing_type=None,
128  is_extension=False, extension_scope=None,
129  options=None),
130  _descriptor.FieldDescriptor(
131  name='subId', full_name='EMANEMessage.CommonPHYHeader.subId', index=1,
132  number=2, type=13, cpp_type=3, label=2,
133  has_default_value=False, default_value=0,
134  message_type=None, enum_type=None, containing_type=None,
135  is_extension=False, extension_scope=None,
136  options=None),
137  _descriptor.FieldDescriptor(
138  name='sequenceNumber', full_name='EMANEMessage.CommonPHYHeader.sequenceNumber', index=2,
139  number=3, type=13, cpp_type=3, label=2,
140  has_default_value=False, default_value=0,
141  message_type=None, enum_type=None, containing_type=None,
142  is_extension=False, extension_scope=None,
143  options=None),
144  _descriptor.FieldDescriptor(
145  name='bandwidthHz', full_name='EMANEMessage.CommonPHYHeader.bandwidthHz', index=3,
146  number=4, type=4, cpp_type=4, label=2,
147  has_default_value=False, default_value=0,
148  message_type=None, enum_type=None, containing_type=None,
149  is_extension=False, extension_scope=None,
150  options=None),
151  _descriptor.FieldDescriptor(
152  name='txTimeMicroseconds', full_name='EMANEMessage.CommonPHYHeader.txTimeMicroseconds', index=4,
153  number=5, type=4, cpp_type=4, label=2,
154  has_default_value=False, default_value=0,
155  message_type=None, enum_type=None, containing_type=None,
156  is_extension=False, extension_scope=None,
157  options=None),
158  _descriptor.FieldDescriptor(
159  name='transmitters', full_name='EMANEMessage.CommonPHYHeader.transmitters', index=5,
160  number=6, type=11, cpp_type=10, label=3,
161  has_default_value=False, default_value=[],
162  message_type=None, enum_type=None, containing_type=None,
163  is_extension=False, extension_scope=None,
164  options=None),
165  _descriptor.FieldDescriptor(
166  name='frequencySegments', full_name='EMANEMessage.CommonPHYHeader.frequencySegments', index=6,
167  number=7, type=11, cpp_type=10, label=3,
168  has_default_value=False, default_value=[],
169  message_type=None, enum_type=None, containing_type=None,
170  is_extension=False, extension_scope=None,
171  options=None),
172  _descriptor.FieldDescriptor(
173  name='fixedAntennaGain', full_name='EMANEMessage.CommonPHYHeader.fixedAntennaGain', index=7,
174  number=8, type=1, cpp_type=5, label=1,
175  has_default_value=False, default_value=float(0),
176  message_type=None, enum_type=None, containing_type=None,
177  is_extension=False, extension_scope=None,
178  options=None),
179  ],
180  extensions=[
181  ],
182  nested_types=[_COMMONPHYHEADER_TRANSMITTER, _COMMONPHYHEADER_FREQUENCYSEGMENT, ],
183  enum_types=[
184  ],
185  options=None,
186  is_extendable=False,
187  syntax='proto2',
188  extension_ranges=[],
189  oneofs=[
190  ],
191  serialized_start=40,
192  serialized_end=500,
193 )
194 
195 _COMMONPHYHEADER_TRANSMITTER.containing_type = _COMMONPHYHEADER
196 _COMMONPHYHEADER_FREQUENCYSEGMENT.containing_type = _COMMONPHYHEADER
197 _COMMONPHYHEADER.fields_by_name['transmitters'].message_type = _COMMONPHYHEADER_TRANSMITTER
198 _COMMONPHYHEADER.fields_by_name['frequencySegments'].message_type = _COMMONPHYHEADER_FREQUENCYSEGMENT
199 DESCRIPTOR.message_types_by_name['CommonPHYHeader'] = _COMMONPHYHEADER
200 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
201 
202 CommonPHYHeader = _reflection.GeneratedProtocolMessageType('CommonPHYHeader', (_message.Message,), dict(
203 
204  Transmitter = _reflection.GeneratedProtocolMessageType('Transmitter', (_message.Message,), dict(
205  DESCRIPTOR = _COMMONPHYHEADER_TRANSMITTER,
206  __module__ = 'commonphyheader_pb2'
207  # @@protoc_insertion_point(class_scope:EMANEMessage.CommonPHYHeader.Transmitter)
208  ))
209  ,
210 
211  FrequencySegment = _reflection.GeneratedProtocolMessageType('FrequencySegment', (_message.Message,), dict(
212  DESCRIPTOR = _COMMONPHYHEADER_FREQUENCYSEGMENT,
213  __module__ = 'commonphyheader_pb2'
214  # @@protoc_insertion_point(class_scope:EMANEMessage.CommonPHYHeader.FrequencySegment)
215  ))
216  ,
217  DESCRIPTOR = _COMMONPHYHEADER,
218  __module__ = 'commonphyheader_pb2'
219  # @@protoc_insertion_point(class_scope:EMANEMessage.CommonPHYHeader)
220  ))
221 _sym_db.RegisterMessage(CommonPHYHeader)
222 _sym_db.RegisterMessage(CommonPHYHeader.Transmitter)
223 _sym_db.RegisterMessage(CommonPHYHeader.FrequencySegment)
224 
225 
226 DESCRIPTOR.has_options = True
227 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('H\001'))
228 # @@protoc_insertion_point(module_scope)