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=
'fadingselectionevent.proto',
20 package=
'EMANEMessage',
22 serialized_pb=_b(
'\n\x1a\x66\x61\x64ingselectionevent.proto\x12\x0c\x45MANEMessage\"\xcd\x01\n\x14\x46\x61\x64ingSelectionEvent\x12\x39\n\x07\x65ntries\x18\x01 \x03(\x0b\x32(.EMANEMessage.FadingSelectionEvent.Entry\x1aO\n\x05\x45ntry\x12\r\n\x05nemId\x18\x01 \x02(\r\x12\x37\n\x05model\x18\x02 \x02(\x0e\x32(.EMANEMessage.FadingSelectionEvent.Model\")\n\x05Model\x12\r\n\tTYPE_NONE\x10\x01\x12\x11\n\rTYPE_NAKAGAMI\x10\x02\x42\x02H\x01')
27 _FADINGSELECTIONEVENT_MODEL = _descriptor.EnumDescriptor(
29 full_name=
'EMANEMessage.FadingSelectionEvent.Model',
33 _descriptor.EnumValueDescriptor(
34 name=
'TYPE_NONE', index=0, number=1,
37 _descriptor.EnumValueDescriptor(
38 name=
'TYPE_NAKAGAMI', index=1, number=2,
47 _sym_db.RegisterEnumDescriptor(_FADINGSELECTIONEVENT_MODEL)
50 _FADINGSELECTIONEVENT_ENTRY = _descriptor.Descriptor(
52 full_name=
'EMANEMessage.FadingSelectionEvent.Entry',
57 _descriptor.FieldDescriptor(
58 name=
'nemId', full_name=
'EMANEMessage.FadingSelectionEvent.Entry.nemId', index=0,
59 number=1, type=13, cpp_type=3, label=2,
60 has_default_value=
False, default_value=0,
61 message_type=
None, enum_type=
None, containing_type=
None,
62 is_extension=
False, extension_scope=
None,
64 _descriptor.FieldDescriptor(
65 name=
'model', full_name=
'EMANEMessage.FadingSelectionEvent.Entry.model', index=1,
66 number=2, type=14, cpp_type=8, label=2,
67 has_default_value=
False, default_value=1,
68 message_type=
None, enum_type=
None, containing_type=
None,
69 is_extension=
False, extension_scope=
None,
87 _FADINGSELECTIONEVENT = _descriptor.Descriptor(
88 name=
'FadingSelectionEvent',
89 full_name=
'EMANEMessage.FadingSelectionEvent',
94 _descriptor.FieldDescriptor(
95 name=
'entries', full_name=
'EMANEMessage.FadingSelectionEvent.entries', index=0,
96 number=1, type=11, cpp_type=10, label=3,
97 has_default_value=
False, default_value=[],
98 message_type=
None, enum_type=
None, containing_type=
None,
99 is_extension=
False, extension_scope=
None,
104 nested_types=[_FADINGSELECTIONEVENT_ENTRY, ],
106 _FADINGSELECTIONEVENT_MODEL,
118 _FADINGSELECTIONEVENT_ENTRY.fields_by_name[
'model'].enum_type = _FADINGSELECTIONEVENT_MODEL
119 _FADINGSELECTIONEVENT_ENTRY.containing_type = _FADINGSELECTIONEVENT
120 _FADINGSELECTIONEVENT.fields_by_name[
'entries'].message_type = _FADINGSELECTIONEVENT_ENTRY
121 _FADINGSELECTIONEVENT_MODEL.containing_type = _FADINGSELECTIONEVENT
122 DESCRIPTOR.message_types_by_name[
'FadingSelectionEvent'] = _FADINGSELECTIONEVENT
123 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
125 FadingSelectionEvent = _reflection.GeneratedProtocolMessageType(
'FadingSelectionEvent', (_message.Message,), dict(
127 Entry = _reflection.GeneratedProtocolMessageType(
'Entry', (_message.Message,), dict(
128 DESCRIPTOR = _FADINGSELECTIONEVENT_ENTRY,
129 __module__ =
'fadingselectionevent_pb2' 133 DESCRIPTOR = _FADINGSELECTIONEVENT,
134 __module__ =
'fadingselectionevent_pb2' 137 _sym_db.RegisterMessage(FadingSelectionEvent)
138 _sym_db.RegisterMessage(FadingSelectionEvent.Entry)
141 DESCRIPTOR.has_options =
True 142 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b(
'H\001'))