EMANE  1.2.1
build/lib/emane/ota/otaheader_pb2.py
Go to the documentation of this file.
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: otaheader.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='otaheader.proto',
20  package='EMANEMessage',
21  syntax='proto2',
22  serialized_pb=_b('\n\x0fotaheader.proto\x12\x0c\x45MANEMessage\"\xd9\x01\n\tOTAHeader\x12\x0e\n\x06source\x18\x01 \x02(\r\x12\x13\n\x0b\x64\x65stination\x18\x02 \x02(\r\x12\x10\n\x08sequence\x18\x03 \x02(\x04\x12\x0c\n\x04uuid\x18\x04 \x02(\x0c\x12\x38\n\x0bpayloadInfo\x18\x05 \x01(\x0b\x32#.EMANEMessage.OTAHeader.PayloadInfo\x1aM\n\x0bPayloadInfo\x12\x13\n\x0b\x65ventLength\x18\x01 \x02(\r\x12\x15\n\rcontrolLength\x18\x02 \x02(\r\x12\x12\n\ndataLength\x18\x03 \x02(\rB\x02H\x01')
23 )
24 
25 
26 
27 
28 _OTAHEADER_PAYLOADINFO = _descriptor.Descriptor(
29  name='PayloadInfo',
30  full_name='EMANEMessage.OTAHeader.PayloadInfo',
31  filename=None,
32  file=DESCRIPTOR,
33  containing_type=None,
34  fields=[
35  _descriptor.FieldDescriptor(
36  name='eventLength', full_name='EMANEMessage.OTAHeader.PayloadInfo.eventLength', 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='controlLength', full_name='EMANEMessage.OTAHeader.PayloadInfo.controlLength', 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='dataLength', full_name='EMANEMessage.OTAHeader.PayloadInfo.dataLength', index=2,
51  number=3, type=13, cpp_type=3, label=2,
52  has_default_value=False, default_value=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=174,
69  serialized_end=251,
70 )
71 
72 _OTAHEADER = _descriptor.Descriptor(
73  name='OTAHeader',
74  full_name='EMANEMessage.OTAHeader',
75  filename=None,
76  file=DESCRIPTOR,
77  containing_type=None,
78  fields=[
79  _descriptor.FieldDescriptor(
80  name='source', full_name='EMANEMessage.OTAHeader.source', index=0,
81  number=1, type=13, cpp_type=3, 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='destination', full_name='EMANEMessage.OTAHeader.destination', index=1,
88  number=2, type=13, cpp_type=3, 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='sequence', full_name='EMANEMessage.OTAHeader.sequence', index=2,
95  number=3, type=4, cpp_type=4, label=2,
96  has_default_value=False, default_value=0,
97  message_type=None, enum_type=None, containing_type=None,
98  is_extension=False, extension_scope=None,
99  options=None),
100  _descriptor.FieldDescriptor(
101  name='uuid', full_name='EMANEMessage.OTAHeader.uuid', index=3,
102  number=4, type=12, cpp_type=9, label=2,
103  has_default_value=False, default_value=_b(""),
104  message_type=None, enum_type=None, containing_type=None,
105  is_extension=False, extension_scope=None,
106  options=None),
107  _descriptor.FieldDescriptor(
108  name='payloadInfo', full_name='EMANEMessage.OTAHeader.payloadInfo', index=4,
109  number=5, type=11, cpp_type=10, label=1,
110  has_default_value=False, default_value=None,
111  message_type=None, enum_type=None, containing_type=None,
112  is_extension=False, extension_scope=None,
113  options=None),
114  ],
115  extensions=[
116  ],
117  nested_types=[_OTAHEADER_PAYLOADINFO, ],
118  enum_types=[
119  ],
120  options=None,
121  is_extendable=False,
122  syntax='proto2',
123  extension_ranges=[],
124  oneofs=[
125  ],
126  serialized_start=34,
127  serialized_end=251,
128 )
129 
130 _OTAHEADER_PAYLOADINFO.containing_type = _OTAHEADER
131 _OTAHEADER.fields_by_name['payloadInfo'].message_type = _OTAHEADER_PAYLOADINFO
132 DESCRIPTOR.message_types_by_name['OTAHeader'] = _OTAHEADER
133 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
134 
135 OTAHeader = _reflection.GeneratedProtocolMessageType('OTAHeader', (_message.Message,), dict(
136 
137  PayloadInfo = _reflection.GeneratedProtocolMessageType('PayloadInfo', (_message.Message,), dict(
138  DESCRIPTOR = _OTAHEADER_PAYLOADINFO,
139  __module__ = 'otaheader_pb2'
140  # @@protoc_insertion_point(class_scope:EMANEMessage.OTAHeader.PayloadInfo)
141  ))
142  ,
143  DESCRIPTOR = _OTAHEADER,
144  __module__ = 'otaheader_pb2'
145  # @@protoc_insertion_point(class_scope:EMANEMessage.OTAHeader)
146  ))
147 _sym_db.RegisterMessage(OTAHeader)
148 _sym_db.RegisterMessage(OTAHeader.PayloadInfo)
149 
150 
151 DESCRIPTOR.has_options = True
152 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('H\001'))
153 # @@protoc_insertion_point(module_scope)