1 # -*- coding: utf-8 -*-
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: nodeb_info.proto
6 _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
7 from google.protobuf.internal import enum_type_wrapper
8 from google.protobuf import descriptor as _descriptor
9 from google.protobuf import message as _message
10 from google.protobuf import reflection as _reflection
11 from google.protobuf import symbol_database as _symbol_database
12 # @@protoc_insertion_point(imports)
14 _sym_db = _symbol_database.Default()
17 from . import gnb_pb2 as gnb__pb2
18 from . import enb_pb2 as enb__pb2
19 from . import x2_setup_failure_response_pb2 as x2__setup__failure__response__pb2
20 from . import nb_identity_pb2 as nb__identity__pb2
23 DESCRIPTOR = _descriptor.FileDescriptor(
24 name='nodeb_info.proto',
27 serialized_options=None,
28 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')
30 dependencies=[gnb__pb2.DESCRIPTOR,enb__pb2.DESCRIPTOR,x2__setup__failure__response__pb2.DESCRIPTOR,nb__identity__pb2.DESCRIPTOR,])
32 _E2APPLICATIONPROTOCOL = _descriptor.EnumDescriptor(
33 name='E2ApplicationProtocol',
34 full_name='entities.E2ApplicationProtocol',
38 _descriptor.EnumValueDescriptor(
39 name='UNKNOWN_E2_APPLICATION_PROTOCOL', index=0, number=0,
40 serialized_options=None,
42 _descriptor.EnumValueDescriptor(
43 name='X2_SETUP_REQUEST', index=1, number=1,
44 serialized_options=None,
46 _descriptor.EnumValueDescriptor(
47 name='ENDC_X2_SETUP_REQUEST', index=2, number=2,
48 serialized_options=None,
52 serialized_options=None,
56 _sym_db.RegisterEnumDescriptor(_E2APPLICATIONPROTOCOL)
58 E2ApplicationProtocol = enum_type_wrapper.EnumTypeWrapper(_E2APPLICATIONPROTOCOL)
59 UNKNOWN_E2_APPLICATION_PROTOCOL = 0
61 ENDC_X2_SETUP_REQUEST = 2
64 _NODE_TYPE = _descriptor.EnumDescriptor(
66 full_name='entities.Node.Type',
70 _descriptor.EnumValueDescriptor(
71 name='UNKNOWN', index=0, number=0,
72 serialized_options=None,
74 _descriptor.EnumValueDescriptor(
75 name='ENB', index=1, number=1,
76 serialized_options=None,
78 _descriptor.EnumValueDescriptor(
79 name='GNB', index=2, number=2,
80 serialized_options=None,
84 serialized_options=None,
88 _sym_db.RegisterEnumDescriptor(_NODE_TYPE)
90 _FAILURE_TYPE = _descriptor.EnumDescriptor(
92 full_name='entities.Failure.Type',
96 _descriptor.EnumValueDescriptor(
97 name='UNKNOWN_TYPE', index=0, number=0,
98 serialized_options=None,
100 _descriptor.EnumValueDescriptor(
101 name='X2_SETUP_FAILURE', index=1, number=1,
102 serialized_options=None,
104 _descriptor.EnumValueDescriptor(
105 name='ENDC_X2_SETUP_FAILURE', index=2, number=2,
106 serialized_options=None,
109 containing_type=None,
110 serialized_options=None,
111 serialized_start=664,
114 _sym_db.RegisterEnumDescriptor(_FAILURE_TYPE)
117 _NODEBINFO = _descriptor.Descriptor(
119 full_name='entities.NodebInfo',
122 containing_type=None,
124 _descriptor.FieldDescriptor(
125 name='ran_name', full_name='entities.NodebInfo.ran_name', index=0,
126 number=1, type=9, cpp_type=9, label=1,
127 has_default_value=False, default_value=_b("").decode('utf-8'),
128 message_type=None, enum_type=None, containing_type=None,
129 is_extension=False, extension_scope=None,
130 serialized_options=None, file=DESCRIPTOR),
131 _descriptor.FieldDescriptor(
132 name='ip', full_name='entities.NodebInfo.ip', index=1,
133 number=2, type=9, cpp_type=9, label=1,
134 has_default_value=False, default_value=_b("").decode('utf-8'),
135 message_type=None, enum_type=None, containing_type=None,
136 is_extension=False, extension_scope=None,
137 serialized_options=None, file=DESCRIPTOR),
138 _descriptor.FieldDescriptor(
139 name='port', full_name='entities.NodebInfo.port', index=2,
140 number=3, type=13, cpp_type=3, label=1,
141 has_default_value=False, default_value=0,
142 message_type=None, enum_type=None, containing_type=None,
143 is_extension=False, extension_scope=None,
144 serialized_options=None, file=DESCRIPTOR),
145 _descriptor.FieldDescriptor(
146 name='e2_application_protocol', full_name='entities.NodebInfo.e2_application_protocol', index=3,
147 number=4, type=14, cpp_type=8, label=1,
148 has_default_value=False, default_value=0,
149 message_type=None, enum_type=None, containing_type=None,
150 is_extension=False, extension_scope=None,
151 serialized_options=None, file=DESCRIPTOR),
152 _descriptor.FieldDescriptor(
153 name='connection_status', full_name='entities.NodebInfo.connection_status', index=4,
154 number=5, type=14, cpp_type=8, label=1,
155 has_default_value=False, default_value=0,
156 message_type=None, enum_type=None, containing_type=None,
157 is_extension=False, extension_scope=None,
158 serialized_options=None, file=DESCRIPTOR),
159 _descriptor.FieldDescriptor(
160 name='global_nb_id', full_name='entities.NodebInfo.global_nb_id', index=5,
161 number=6, type=11, cpp_type=10, label=1,
162 has_default_value=False, default_value=None,
163 message_type=None, enum_type=None, containing_type=None,
164 is_extension=False, extension_scope=None,
165 serialized_options=None, file=DESCRIPTOR),
166 _descriptor.FieldDescriptor(
167 name='node_type', full_name='entities.NodebInfo.node_type', index=6,
168 number=7, type=14, cpp_type=8, label=1,
169 has_default_value=False, default_value=0,
170 message_type=None, enum_type=None, containing_type=None,
171 is_extension=False, extension_scope=None,
172 serialized_options=None, file=DESCRIPTOR),
173 _descriptor.FieldDescriptor(
174 name='enb', full_name='entities.NodebInfo.enb', index=7,
175 number=8, type=11, cpp_type=10, label=1,
176 has_default_value=False, default_value=None,
177 message_type=None, enum_type=None, containing_type=None,
178 is_extension=False, extension_scope=None,
179 serialized_options=None, file=DESCRIPTOR),
180 _descriptor.FieldDescriptor(
181 name='gnb', full_name='entities.NodebInfo.gnb', index=8,
182 number=9, type=11, cpp_type=10, label=1,
183 has_default_value=False, default_value=None,
184 message_type=None, enum_type=None, containing_type=None,
185 is_extension=False, extension_scope=None,
186 serialized_options=None, file=DESCRIPTOR),
187 _descriptor.FieldDescriptor(
188 name='failure_type', full_name='entities.NodebInfo.failure_type', index=9,
189 number=10, type=14, cpp_type=8, label=1,
190 has_default_value=False, default_value=0,
191 message_type=None, enum_type=None, containing_type=None,
192 is_extension=False, extension_scope=None,
193 serialized_options=None, file=DESCRIPTOR),
194 _descriptor.FieldDescriptor(
195 name='setup_failure', full_name='entities.NodebInfo.setup_failure', index=10,
196 number=11, type=11, cpp_type=10, label=1,
197 has_default_value=False, default_value=None,
198 message_type=None, enum_type=None, containing_type=None,
199 is_extension=False, extension_scope=None,
200 serialized_options=None, file=DESCRIPTOR),
201 _descriptor.FieldDescriptor(
202 name='associated_e2t_instance_address', full_name='entities.NodebInfo.associated_e2t_instance_address', index=11,
203 number=12, type=9, cpp_type=9, label=1,
204 has_default_value=False, default_value=_b("").decode('utf-8'),
205 message_type=None, enum_type=None, containing_type=None,
206 is_extension=False, extension_scope=None,
207 serialized_options=None, file=DESCRIPTOR),
208 _descriptor.FieldDescriptor(
209 name='setup_from_network', full_name='entities.NodebInfo.setup_from_network', index=12,
210 number=13, type=8, cpp_type=7, label=1,
211 has_default_value=False, default_value=False,
212 message_type=None, enum_type=None, containing_type=None,
213 is_extension=False, extension_scope=None,
214 serialized_options=None, file=DESCRIPTOR),
221 serialized_options=None,
226 _descriptor.OneofDescriptor(
227 name='configuration', full_name='entities.NodebInfo.configuration',
228 index=0, containing_type=None, fields=[]),
230 serialized_start=105,
235 _NODE = _descriptor.Descriptor(
237 full_name='entities.Node',
240 containing_type=None,
249 serialized_options=None,
255 serialized_start=606,
260 _FAILURE = _descriptor.Descriptor(
262 full_name='entities.Failure',
265 containing_type=None,
274 serialized_options=None,
280 serialized_start=653,
284 _NODEBINFO.fields_by_name['e2_application_protocol'].enum_type = _E2APPLICATIONPROTOCOL
285 _NODEBINFO.fields_by_name['connection_status'].enum_type = nb__identity__pb2._CONNECTIONSTATUS
286 _NODEBINFO.fields_by_name['global_nb_id'].message_type = nb__identity__pb2._GLOBALNBID
287 _NODEBINFO.fields_by_name['node_type'].enum_type = _NODE_TYPE
288 _NODEBINFO.fields_by_name['enb'].message_type = enb__pb2._ENB
289 _NODEBINFO.fields_by_name['gnb'].message_type = gnb__pb2._GNB
290 _NODEBINFO.fields_by_name['failure_type'].enum_type = _FAILURE_TYPE
291 _NODEBINFO.fields_by_name['setup_failure'].message_type = x2__setup__failure__response__pb2._SETUPFAILURE
292 _NODEBINFO.oneofs_by_name['configuration'].fields.append(
293 _NODEBINFO.fields_by_name['enb'])
294 _NODEBINFO.fields_by_name['enb'].containing_oneof = _NODEBINFO.oneofs_by_name['configuration']
295 _NODEBINFO.oneofs_by_name['configuration'].fields.append(
296 _NODEBINFO.fields_by_name['gnb'])
297 _NODEBINFO.fields_by_name['gnb'].containing_oneof = _NODEBINFO.oneofs_by_name['configuration']
298 _NODE_TYPE.containing_type = _NODE
299 _FAILURE_TYPE.containing_type = _FAILURE
300 DESCRIPTOR.message_types_by_name['NodebInfo'] = _NODEBINFO
301 DESCRIPTOR.message_types_by_name['Node'] = _NODE
302 DESCRIPTOR.message_types_by_name['Failure'] = _FAILURE
303 DESCRIPTOR.enum_types_by_name['E2ApplicationProtocol'] = _E2APPLICATIONPROTOCOL
304 _sym_db.RegisterFileDescriptor(DESCRIPTOR)
306 NodebInfo = _reflection.GeneratedProtocolMessageType('NodebInfo', (_message.Message,), {
307 'DESCRIPTOR' : _NODEBINFO,
308 '__module__' : 'nodeb_info_pb2'
309 # @@protoc_insertion_point(class_scope:entities.NodebInfo)
311 _sym_db.RegisterMessage(NodebInfo)
313 Node = _reflection.GeneratedProtocolMessageType('Node', (_message.Message,), {
314 'DESCRIPTOR' : _NODE,
315 '__module__' : 'nodeb_info_pb2'
316 # @@protoc_insertion_point(class_scope:entities.Node)
318 _sym_db.RegisterMessage(Node)
320 Failure = _reflection.GeneratedProtocolMessageType('Failure', (_message.Message,), {
321 'DESCRIPTOR' : _FAILURE,
322 '__module__' : 'nodeb_info_pb2'
323 # @@protoc_insertion_point(class_scope:entities.Failure)
325 _sym_db.RegisterMessage(Failure)
328 # @@protoc_insertion_point(module_scope)