EMANE  1.2.1
emane/events/fadingselectionevent_pb2.py
Go to the documentation of this file.
1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: fadingselectionevent.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='fadingselectionevent.proto',
20  package='EMANEMessage',
21  syntax='proto2',
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')
23 )
24 
25 
26 
27 _FADINGSELECTIONEVENT_MODEL = _descriptor.EnumDescriptor(
28  name='Model',
29  full_name='EMANEMessage.FadingSelectionEvent.Model',
30  filename=None,
31  file=DESCRIPTOR,
32  values=[
33  _descriptor.EnumValueDescriptor(
34  name='TYPE_NONE', index=0, number=1,
35  options=None,
36  type=None),
37  _descriptor.EnumValueDescriptor(
38  name='TYPE_NAKAGAMI', index=1, number=2,
39  options=None,
40  type=None),
41  ],
42  containing_type=None,
43  options=None,
44  serialized_start=209,
45  serialized_end=250,
46 )
47 _sym_db.RegisterEnumDescriptor(_FADINGSELECTIONEVENT_MODEL)
48 
49 
50 _FADINGSELECTIONEVENT_ENTRY = _descriptor.Descriptor(
51  name='Entry',
52  full_name='EMANEMessage.FadingSelectionEvent.Entry',
53  filename=None,
54  file=DESCRIPTOR,
55  containing_type=None,
56  fields=[
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,
63  options=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,
70  options=None),
71  ],
72  extensions=[
73  ],
74  nested_types=[],
75  enum_types=[
76  ],
77  options=None,
78  is_extendable=False,
79  syntax='proto2',
80  extension_ranges=[],
81  oneofs=[
82  ],
83  serialized_start=128,
84  serialized_end=207,
85 )
86 
87 _FADINGSELECTIONEVENT = _descriptor.Descriptor(
88  name='FadingSelectionEvent',
89  full_name='EMANEMessage.FadingSelectionEvent',
90  filename=None,
91  file=DESCRIPTOR,
92  containing_type=None,
93  fields=[
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,
100  options=None),
101  ],
102  extensions=[
103  ],
104  nested_types=[_FADINGSELECTIONEVENT_ENTRY, ],
105  enum_types=[
106  _FADINGSELECTIONEVENT_MODEL,
107  ],
108  options=None,
109  is_extendable=False,
110  syntax='proto2',
111  extension_ranges=[],
112  oneofs=[
113  ],
114  serialized_start=45,
115  serialized_end=250,
116 )
117 
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)
124 
125 FadingSelectionEvent = _reflection.GeneratedProtocolMessageType('FadingSelectionEvent', (_message.Message,), dict(
126 
127  Entry = _reflection.GeneratedProtocolMessageType('Entry', (_message.Message,), dict(
128  DESCRIPTOR = _FADINGSELECTIONEVENT_ENTRY,
129  __module__ = 'fadingselectionevent_pb2'
130  # @@protoc_insertion_point(class_scope:EMANEMessage.FadingSelectionEvent.Entry)
131  ))
132  ,
133  DESCRIPTOR = _FADINGSELECTIONEVENT,
134  __module__ = 'fadingselectionevent_pb2'
135  # @@protoc_insertion_point(class_scope:EMANEMessage.FadingSelectionEvent)
136  ))
137 _sym_db.RegisterMessage(FadingSelectionEvent)
138 _sym_db.RegisterMessage(FadingSelectionEvent.Entry)
139 
140 
141 DESCRIPTOR.has_options = True
142 DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('H\001'))
143 # @@protoc_insertion_point(module_scope)