# Generated by the protocol buffer compiler. DO NOT EDIT! # source: nb_identity.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( name='nb_identity.proto', package='entities', syntax='proto3', serialized_options=None, serialized_pb=_b('\n\x11nb_identity.proto\x12\x08\x65ntities\",\n\nGlobalNbId\x12\x0f\n\x07plmn_id\x18\x01 \x01(\t\x12\r\n\x05nb_id\x18\x02 \x01(\t\"\xd5\x01\n\nNbIdentity\x12\x16\n\x0einventory_name\x18\x01 \x01(\t\x12*\n\x0cglobal_nb_id\x18\x02 \x01(\x0b\x32\x14.entities.GlobalNbId\x12\x35\n\x11\x63onnection_status\x18\x03 \x01(\x0e\x32\x1a.entities.ConnectionStatus\x12#\n\x1bhealth_check_timestamp_sent\x18\x04 \x01(\x03\x12\'\n\x1fhealth_check_timestamp_received\x18\x05 \x01(\x03*\xa0\x01\n\x10\x43onnectionStatus\x12\x1d\n\x19UNKNOWN_CONNECTION_STATUS\x10\x00\x12\r\n\tCONNECTED\x10\x01\x12\x10\n\x0c\x44ISCONNECTED\x10\x02\x12\x1a\n\x16\x43ONNECTED_SETUP_FAILED\x10\x03\x12\x0e\n\nCONNECTING\x10\x04\x12\x11\n\rSHUTTING_DOWN\x10\x05\x12\r\n\tSHUT_DOWN\x10\x06\x62\x06proto3') ) _CONNECTIONSTATUS = _descriptor.EnumDescriptor( name='ConnectionStatus', full_name='entities.ConnectionStatus', filename=None, file=DESCRIPTOR, values=[ _descriptor.EnumValueDescriptor( name='UNKNOWN_CONNECTION_STATUS', index=0, number=0, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='CONNECTED', index=1, number=1, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='DISCONNECTED', index=2, number=2, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='CONNECTED_SETUP_FAILED', index=3, number=3, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='CONNECTING', index=4, number=4, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='SHUTTING_DOWN', index=5, number=5, serialized_options=None, type=None), _descriptor.EnumValueDescriptor( name='SHUT_DOWN', index=6, number=6, serialized_options=None, type=None), ], containing_type=None, serialized_options=None, serialized_start=294, serialized_end=454, ) _sym_db.RegisterEnumDescriptor(_CONNECTIONSTATUS) ConnectionStatus = enum_type_wrapper.EnumTypeWrapper(_CONNECTIONSTATUS) UNKNOWN_CONNECTION_STATUS = 0 CONNECTED = 1 DISCONNECTED = 2 CONNECTED_SETUP_FAILED = 3 CONNECTING = 4 SHUTTING_DOWN = 5 SHUT_DOWN = 6 _GLOBALNBID = _descriptor.Descriptor( name='GlobalNbId', full_name='entities.GlobalNbId', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='plmn_id', full_name='entities.GlobalNbId.plmn_id', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='nb_id', full_name='entities.GlobalNbId.nb_id', index=1, number=2, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=31, serialized_end=75, ) _NBIDENTITY = _descriptor.Descriptor( name='NbIdentity', full_name='entities.NbIdentity', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='inventory_name', full_name='entities.NbIdentity.inventory_name', index=0, number=1, type=9, cpp_type=9, label=1, has_default_value=False, default_value=_b("").decode('utf-8'), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='global_nb_id', full_name='entities.NbIdentity.global_nb_id', index=1, number=2, type=11, cpp_type=10, label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='connection_status', full_name='entities.NbIdentity.connection_status', index=2, number=3, type=14, cpp_type=8, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='health_check_timestamp_sent', full_name='entities.NbIdentity.health_check_timestamp_sent', index=3, number=4, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='health_check_timestamp_received', full_name='entities.NbIdentity.health_check_timestamp_received', index=4, number=5, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=78, serialized_end=291, ) _NBIDENTITY.fields_by_name['global_nb_id'].message_type = _GLOBALNBID _NBIDENTITY.fields_by_name['connection_status'].enum_type = _CONNECTIONSTATUS DESCRIPTOR.message_types_by_name['GlobalNbId'] = _GLOBALNBID DESCRIPTOR.message_types_by_name['NbIdentity'] = _NBIDENTITY DESCRIPTOR.enum_types_by_name['ConnectionStatus'] = _CONNECTIONSTATUS _sym_db.RegisterFileDescriptor(DESCRIPTOR) GlobalNbId = _reflection.GeneratedProtocolMessageType('GlobalNbId', (_message.Message,), dict( DESCRIPTOR = _GLOBALNBID, __module__ = 'nb_identity_pb2' # @@protoc_insertion_point(class_scope:entities.GlobalNbId) )) _sym_db.RegisterMessage(GlobalNbId) NbIdentity = _reflection.GeneratedProtocolMessageType('NbIdentity', (_message.Message,), dict( DESCRIPTOR = _NBIDENTITY, __module__ = 'nb_identity_pb2' # @@protoc_insertion_point(class_scope:entities.NbIdentity) )) _sym_db.RegisterMessage(NbIdentity) # @@protoc_insertion_point(module_scope)