1 # Generated by the protocol buffer compiler. DO NOT EDIT!
2 # source: nodeb_info.proto
5 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
6 from google.protobuf.internal import enum_type_wrapper
7 from google.protobuf import descriptor as _descriptor
8 from google.protobuf import message as _message
9 from google.protobuf import reflection as _reflection
10 from google.protobuf import symbol_database as _symbol_database
11 # @@protoc_insertion_point(imports)
13 _sym_db = _symbol_database.Default()
16 from . import gnb_pb2 as gnb__pb2
17 from . import enb_pb2 as enb__pb2
18 from . import x2_setup_failure_response_pb2 as x2__setup__failure__response__pb2
19 from . import nb_identity_pb2 as nb__identity__pb2
22 DESCRIPTOR = _descriptor.FileDescriptor(
23 name='nodeb_info.proto',
26 serialized_options=None,
27 serialized_pb=_b('\n\x10nodeb_info.proto\x12\x08\x65ntities\x1a\tgnb.proto\x1a\tenb.proto\x1a\x1fx2_setup_failure_response.proto\x1a\x11nb_identity.proto\"\xf3\x03\n\tNodebInfo\x12\x10\n\x08ran_name\x18\x01 \x01(\t\x12\n\n\x02ip\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\r\x12@\n\x17\x65\x32_application_protocol\x18\x04 \x01(\x0e\x32\x1f.entities.E2ApplicationProtocol\x12\x35\n\x11\x63onnection_status\x18\x05 \x01(\x0e\x32\x1a.entities.ConnectionStatus\x12*\n\x0cglobal_nb_id\x18\x06 \x01(\x0b\x32\x14.entities.GlobalNbId\x12&\n\tnode_type\x18\x07 \x01(\x0e\x32\x13.entities.Node.Type\x12\x1c\n\x03\x65nb\x18\x08 \x01(\x0b\x32\r.entities.EnbH\x00\x12\x1c\n\x03gnb\x18\t \x01(\x0b\x32\r.entities.GnbH\x00\x12,\n\x0c\x66\x61ilure_type\x18\n \x01(\x0e\x32\x16.entities.Failure.Type\x12-\n\rsetup_failure\x18\x0b \x01(\x0b\x32\x16.entities.SetupFailure\x12\'\n\x1f\x61ssociated_e2t_instance_address\x18\x0c \x01(\t\x12\x1a\n\x12setup_from_network\x18\r \x01(\x08\x42\x0f\n\rconfiguration\"-\n\x04Node\"%\n\x04Type\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x07\n\x03\x45NB\x10\x01\x12\x07\n\x03GNB\x10\x02\"T\n\x07\x46\x61ilure\"I\n\x04Type\x12\x10\n\x0cUNKNOWN_TYPE\x10\x00\x12\x14\n\x10X2_SETUP_FAILURE\x10\x01\x12\x19\n\x15\x45NDC_X2_SETUP_FAILURE\x10\x02*m\n\x15\x45\x32\x41pplicationProtocol\x12#\n\x1fUNKNOWN_E2_APPLICATION_PROTOCOL\x10\x00\x12\x14\n\x10X2_SETUP_REQUEST\x10\x01\x12\x19\n\x15\x45NDC_X2_SETUP_REQUEST\x10\x02\x62\x06proto3')
29 dependencies=[gnb__pb2.DESCRIPTOR,enb__pb2.DESCRIPTOR,x2__setup__failure__response__pb2.DESCRIPTOR,nb__identity__pb2.DESCRIPTOR,])
31 _E2APPLICATIONPROTOCOL = _descriptor.EnumDescriptor(
32 name='E2ApplicationProtocol',
33 full_name='entities.E2ApplicationProtocol',
37 _descriptor.EnumValueDescriptor(
38 name='UNKNOWN_E2_APPLICATION_PROTOCOL', index=0, number=0,
39 serialized_options=None,
41 _descriptor.EnumValueDescriptor(
42 name='X2_SETUP_REQUEST', index=1, number=1,
43 serialized_options=None,
45 _descriptor.EnumValueDescriptor(
46 name='ENDC_X2_SETUP_REQUEST', index=2, number=2,
47 serialized_options=None,
51 serialized_options=None,
55 _sym_db.RegisterEnumDescriptor(_E2APPLICATIONPROTOCOL)
57 E2ApplicationProtocol = enum_type_wrapper.EnumTypeWrapper(_E2APPLICATIONPROTOCOL)
58 UNKNOWN_E2_APPLICATION_PROTOCOL = 0
60 ENDC_X2_SETUP_REQUEST = 2
63 _NODE_TYPE = _descriptor.EnumDescriptor(
65 full_name='entities.Node.Type',
69 _descriptor.EnumValueDescriptor(
70 name='UNKNOWN', index=0, number=0,
71 serialized_options=None,
73 _descriptor.EnumValueDescriptor(
74 name='ENB', index=1, number=1,
75 serialized_options=None,
77 _descriptor.EnumValueDescriptor(
78 name='GNB', index=2, number=2,
79 serialized_options=None,
83 serialized_options=None,
87 _sym_db.RegisterEnumDescriptor(_NODE_TYPE)
89 _FAILURE_TYPE = _descriptor.EnumDescriptor(
91 full_name='entities.Failure.Type',
95 _descriptor.EnumValueDescriptor(
96 name='UNKNOWN_TYPE', index=0, number=0,
97 serialized_options=None,
99 _descriptor.EnumValueDescriptor(
100 name='X2_SETUP_FAILURE', index=1, number=1,
101 serialized_options=None,
103 _descriptor.EnumValueDescriptor(
104 name='ENDC_X2_SETUP_FAILURE', index=2, number=2,
105 serialized_options=None,
108 containing_type=None,
109 serialized_options=None,
110 serialized_start=664,
113 _sym_db.RegisterEnumDescriptor(_FAILURE_TYPE)
116 _NODEBINFO = _descriptor.Descriptor(
118 full_name='entities.NodebInfo',
121 containing_type=None,
123 _descriptor.FieldDescriptor(
124 name='ran_name', full_name='entities.NodebInfo.ran_name', index=0,
125 number=1, type=9, cpp_type=9, label=1,
126 has_default_value=False, default_value=_b("").decode('utf-8'),
127 message_type=None, enum_type=None, containing_type=None,
128 is_extension=False, extension_scope=None,
129 serialized_options=None, file=DESCRIPTOR),
130 _descriptor.FieldDescriptor(
131 name='ip', full_name='entities.NodebInfo.ip', index=1,
132 number=2, type=9, cpp_type=9, label=1,
133 has_default_value=False, default_value=_b("").decode('utf-8'),
134 message_type=None, enum_type=None, containing_type=None,
135 is_extension=False, extension_scope=None,
136 serialized_options=None, file=DESCRIPTOR),
137 _descriptor.FieldDescriptor(
138 name='port', full_name='entities.NodebInfo.port', index=2,
139 number=3, type=13, cpp_type=3, label=1,
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 serialized_options=None, file=DESCRIPTOR),
144 _descriptor.FieldDescriptor(
145 name='e2_application_protocol', full_name='entities.NodebInfo.e2_application_protocol', index=3,
146 number=4, type=14, cpp_type=8, label=1,
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 serialized_options=None, file=DESCRIPTOR),
151 _descriptor.FieldDescriptor(
152 name='connection_status', full_name='entities.NodebInfo.connection_status', index=4,
153 number=5, type=14, cpp_type=8, label=1,
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 serialized_options=None, file=DESCRIPTOR),
158 _descriptor.FieldDescriptor(
159 name='global_nb_id', full_name='entities.NodebInfo.global_nb_id', index=5,
160 number=6, type=11, cpp_type=10, label=1,
161 has_default_value=False, default_value=None,
162 message_type=None, enum_type=None, containing_type=None,
163 is_extension=False, extension_scope=None,
164 serialized_options=None, file=DESCRIPTOR),
165 _descriptor.FieldDescriptor(
166 name='node_type', full_name='entities.NodebInfo.node_type', index=6,
167 number=7, type=14, cpp_type=8, label=1,
168 has_default_value=False, default_value=0,
169 message_type=None, enum_type=None, containing_type=None,
170 is_extension=False, extension_scope=None,
171 serialized_options=None, file=DESCRIPTOR),
172 _descriptor.FieldDescriptor(
173 name='enb', full_name='entities.NodebInfo.enb', index=7,
174 number=8, type=11, cpp_type=10, label=1,
175 has_default_value=False, default_value=None,
176 message_type=None, enum_type=None, containing_type=None,
177 is_extension=False, extension_scope=None,
178 serialized_options=None, file=DESCRIPTOR),
179 _descriptor.FieldDescriptor(
180 name='gnb', full_name='entities.NodebInfo.gnb', index=8,
181 number=9, type=11, cpp_type=10, label=1,
182 has_default_value=False, default_value=None,
183 message_type=None, enum_type=None, containing_type=None,
184 is_extension=False, extension_scope=None,
185 serialized_options=None, file=DESCRIPTOR),
186 _descriptor.FieldDescriptor(
187 name='failure_type', full_name='entities.NodebInfo.failure_type', index=9,
188 number=10, type=14, cpp_type=8, label=1,
189 has_default_value=False, default_value=0,
190 message_type=None, enum_type=None, containing_type=None,
191 is_extension=False, extension_scope=None,
192 serialized_options=None, file=DESCRIPTOR),
193 _descriptor.FieldDescriptor(
194 name='setup_failure', full_name='entities.NodebInfo.setup_failure', index=10,
195 number=11, type=11, cpp_type=10, label=1,
196 has_default_value=False, default_value=None,
197 message_type=None, enum_type=None, containing_type=None,
198 is_extension=False, extension_scope=None,
199 serialized_options=None, file=DESCRIPTOR),
200 _descriptor.FieldDescriptor(
201 name='associated_e2t_instance_address', full_name='entities.NodebInfo.associated_e2t_instance_address', index=11,
202 number=12, type=9, cpp_type=9, label=1,
203 has_default_value=False, default_value=_b("").decode('utf-8'),
204 message_type=None, enum_type=None, containing_type=None,
205 is_extension=False, extension_scope=None,
206 serialized_options=None, file=DESCRIPTOR),
207 _descriptor.FieldDescriptor(
208 name='setup_from_network', full_name='entities.NodebInfo.setup_from_network', index=12,
209 number=13, type=8, cpp_type=7, label=1,
210 has_default_value=False, default_value=False,
211 message_type=None, enum_type=None, containing_type=None,
212 is_extension=False, extension_scope=None,
213 serialized_options=None, file=DESCRIPTOR),
220 serialized_options=None,
225 _descriptor.OneofDescriptor(
226 name='configuration', full_name='entities.NodebInfo.configuration',
227 index=0, containing_type=None, fields=[]),
229 serialized_start=105,
234 _NODE = _descriptor.Descriptor(
236 full_name='entities.Node',
239 containing_type=None,
248 serialized_options=None,
254 serialized_start=606,
259 _FAILURE = _descriptor.Descriptor(
261 full_name='entities.Failure',
264 containing_type=None,
273 serialized_options=None,
279 serialized_start=653,
283 _NODEBINFO.fields_by_name['e2_application_protocol'].enum_type = _E2APPLICATIONPROTOCOL
284 _NODEBINFO.fields_by_name['connection_status'].enum_type = nb__identity__pb2._CONNECTIONSTATUS
285 _NODEBINFO.fields_by_name['global_nb_id'].message_type = nb__identity__pb2._GLOBALNBID
286 _NODEBINFO.fields_by_name['node_type'].enum_type = _NODE_TYPE
287 _NODEBINFO.fields_by_name['enb'].message_type = enb__pb2._ENB
288 _NODEBINFO.fields_by_name['gnb'].message_type = gnb__pb2._GNB
289 _NODEBINFO.fields_by_name['failure_type'].enum_type = _FAILURE_TYPE
290 _NODEBINFO.fields_by_name['setup_failure'].message_type = x2__setup__failure__response__pb2._SETUPFAILURE
291 _NODEBINFO.oneofs_by_name['configuration'].fields.append(
292 _NODEBINFO.fields_by_name['enb'])
293 _NODEBINFO.fields_by_name['enb'].containing_oneof = _NODEBINFO.oneofs_by_name['configuration']
294 _NODEBINFO.oneofs_by_name['configuration'].fields.append(
295 _NODEBINFO.fields_by_name['gnb'])
296 _NODEBINFO.fields_by_name['gnb'].containing_oneof = _NODEBINFO.oneofs_by_name['configuration']
297 _NODE_TYPE.containing_type = _NODE
298 _FAILURE_TYPE.containing_type = _FAILURE
299 DESCRIPTOR.message_types_by_name['NodebInfo'] = _NODEBINFO
300 DESCRIPTOR.message_types_by_name['Node'] = _NODE
301 DESCRIPTOR.message_types_by_name['Failure'] = _FAILURE
302 DESCRIPTOR.enum_types_by_name['E2ApplicationProtocol'] = _E2APPLICATIONPROTOCOL
303 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
305 NodebInfo = _reflection.GeneratedProtocolMessageType('NodebInfo', (_message.Message,), dict(
306 DESCRIPTOR = _NODEBINFO,
307 __module__ = 'nodeb_info_pb2'
308 # @@protoc_insertion_point(class_scope:entities.NodebInfo)
310 _sym_db.RegisterMessage(NodebInfo)
312 Node = _reflection.GeneratedProtocolMessageType('Node', (_message.Message,), dict(
314 __module__ = 'nodeb_info_pb2'
315 # @@protoc_insertion_point(class_scope:entities.Node)
317 _sym_db.RegisterMessage(Node)
319 Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), dict(
320 DESCRIPTOR = _FAILURE,
321 __module__ = 'nodeb_info_pb2'
322 # @@protoc_insertion_point(class_scope:entities.Failure)
324 _sym_db.RegisterMessage(Failure)
327 # @@protoc_insertion_point(module_scope)