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
13 _sym_db = _symbol_database.Default()
18 DESCRIPTOR = _descriptor.FileDescriptor(
19 name=
'otaheader.proto',
20 package=
'EMANEMessage',
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')
28 _OTAHEADER_PAYLOADINFO = _descriptor.Descriptor(
30 full_name=
'EMANEMessage.OTAHeader.PayloadInfo',
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,
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,
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,
72 _OTAHEADER = _descriptor.Descriptor(
74 full_name=
'EMANEMessage.OTAHeader',
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,
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,
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,
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,
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,
117 nested_types=[_OTAHEADER_PAYLOADINFO, ],
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)
135 OTAHeader = _reflection.GeneratedProtocolMessageType(
'OTAHeader', (_message.Message,), dict(
137 PayloadInfo = _reflection.GeneratedProtocolMessageType(
'PayloadInfo', (_message.Message,), dict(
138 DESCRIPTOR = _OTAHEADER_PAYLOADINFO,
139 __module__ =
'otaheader_pb2' 143 DESCRIPTOR = _OTAHEADER,
144 __module__ =
'otaheader_pb2' 147 _sym_db.RegisterMessage(OTAHeader)
148 _sym_db.RegisterMessage(OTAHeader.PayloadInfo)
151 DESCRIPTOR.has_options =
True 152 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b(
'H\001'))