# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: facility/detector.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) 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() from ..common import error_pb2 as common_dot_error__pb2 DESCRIPTOR = _descriptor.FileDescriptor( name='facility/detector.proto', package='facility', syntax='proto3', serialized_options=_b('Z\035cnlab.net/csst/proto/facility'), serialized_pb=_b('\n\x17\x66\x61\x63ility/detector.proto\x12\x08\x66\x61\x63ility\x1a\x12\x63ommon/error.proto\"}\n\x08\x44\x65tector\x12\n\n\x02no\x18\x01 \x01(\t\x12\x15\n\rdetector_name\x18\x02 \x01(\t\x12\x11\n\tmodule_id\x18\x03 \x01(\t\x12\x11\n\tfilter_id\x18\x04 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x05 \x01(\x03\x12\x13\n\x0bupdate_time\x18\x06 \x01(\x03\"k\n\x0e\x44\x65tectorStatus\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x13\n\x0b\x64\x65tector_no\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\t\x12\x13\n\x0bstatus_time\x18\x04 \x01(\x03\x12\x13\n\x0b\x63reate_time\x18\x05 \x01(\x03\"1\n\x0f\x46indDetectorReq\x12\x11\n\tmodule_id\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\"{\n\x10\x46indDetectorResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12$\n\x08\x44\x65tector\x18\x04 \x03(\x0b\x32\x12.facility.Detector\"\x1c\n\x0eGetDetectorReq\x12\n\n\x02no\x18\x01 \x01(\t\"7\n\x0fGetDetectorResp\x12$\n\x08\x44\x65tector\x18\x01 \x01(\x0b\x32\x12.facility.Detector\"[\n\x10WriteDetectorReq\x12\n\n\x02no\x18\x01 \x01(\t\x12\x15\n\rdetector_name\x18\x02 \x01(\t\x12\x11\n\tmodule_id\x18\x03 \x01(\t\x12\x11\n\tfilter_id\x18\x04 \x01(\t\"h\n\x11WriteDetectorResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12$\n\x08\x44\x65tector\x18\x03 \x01(\x0b\x32\x12.facility.Detector\"\\\n\x11UpdateDetectorReq\x12\n\n\x02no\x18\x01 \x01(\t\x12\x15\n\rdetector_name\x18\x02 \x01(\t\x12\x11\n\tmodule_id\x18\x03 \x01(\t\x12\x11\n\tfilter_id\x18\x04 \x01(\t\"C\n\x12UpdateDetectorResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"g\n\rFindStatusReq\x12\x13\n\x0b\x64\x65tector_no\x18\x01 \x01(\t\x12\x19\n\x11status_begin_time\x18\x02 \x01(\x03\x12\x17\n\x0fstatus_end_time\x18\x03 \x01(\x03\x12\r\n\x05limit\x18\x04 \x01(\x05\"~\n\x0e\x46indStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12)\n\x07records\x18\x04 \x03(\x0b\x32\x18.facility.DetectorStatus\"!\n\x0cGetStatusReq\x12\x11\n\tstatus_id\x18\x01 \x01(\x03\"9\n\rGetStatusResp\x12(\n\x06record\x18\x01 \x01(\x0b\x32\x18.facility.DetectorStatus\"J\n\x0eWriteStatusReq\x12\x13\n\x0b\x64\x65tector_no\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x13\n\x0bstatus_time\x18\x03 \x01(\x03\"j\n\x0fWriteStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12(\n\x06record\x18\x03 \x01(\x0b\x32\x18.facility.DetectorStatus2\xe0\x03\n\x0b\x44\x65tectorSrv\x12?\n\x04\x46ind\x12\x19.facility.FindDetectorReq\x1a\x1a.facility.FindDetectorResp\"\x00\x12<\n\x03Get\x12\x18.facility.GetDetectorReq\x1a\x19.facility.GetDetectorResp\"\x00\x12\x42\n\x05Write\x12\x1a.facility.WriteDetectorReq\x1a\x1b.facility.WriteDetectorResp\"\x00\x12\x45\n\x06Update\x12\x1b.facility.UpdateDetectorReq\x1a\x1c.facility.UpdateDetectorResp\"\x00\x12\x41\n\nFindStatus\x12\x17.facility.FindStatusReq\x1a\x18.facility.FindStatusResp\"\x00\x12>\n\tGetStatus\x12\x16.facility.GetStatusReq\x1a\x17.facility.GetStatusResp\"\x00\x12\x44\n\x0bWriteStatus\x12\x18.facility.WriteStatusReq\x1a\x19.facility.WriteStatusResp\"\x00\x42\x1fZ\x1d\x63nlab.net/csst/proto/facilityb\x06proto3') , dependencies=[common_dot_error__pb2.DESCRIPTOR,]) _DETECTOR = _descriptor.Descriptor( name='Detector', full_name='facility.Detector', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='no', full_name='facility.Detector.no', 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='detector_name', full_name='facility.Detector.detector_name', 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), _descriptor.FieldDescriptor( name='module_id', full_name='facility.Detector.module_id', index=2, number=3, 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='filter_id', full_name='facility.Detector.filter_id', index=3, number=4, 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='create_time', full_name='facility.Detector.create_time', 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), _descriptor.FieldDescriptor( name='update_time', full_name='facility.Detector.update_time', index=5, number=6, 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=57, serialized_end=182, ) _DETECTORSTATUS = _descriptor.Descriptor( name='DetectorStatus', full_name='facility.DetectorStatus', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='id', full_name='facility.DetectorStatus.id', index=0, number=1, 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='detector_no', full_name='facility.DetectorStatus.detector_no', 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), _descriptor.FieldDescriptor( name='status', full_name='facility.DetectorStatus.status', index=2, number=3, 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='status_time', full_name='facility.DetectorStatus.status_time', 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='create_time', full_name='facility.DetectorStatus.create_time', 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=184, serialized_end=291, ) _FINDDETECTORREQ = _descriptor.Descriptor( name='FindDetectorReq', full_name='facility.FindDetectorReq', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='module_id', full_name='facility.FindDetectorReq.module_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='key', full_name='facility.FindDetectorReq.key', 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=293, serialized_end=342, ) _FINDDETECTORRESP = _descriptor.Descriptor( name='FindDetectorResp', full_name='facility.FindDetectorResp', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='success', full_name='facility.FindDetectorResp.success', index=0, number=1, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='totalCount', full_name='facility.FindDetectorResp.totalCount', index=1, number=2, type=5, cpp_type=1, 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='error', full_name='facility.FindDetectorResp.error', index=2, number=3, 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='Detector', full_name='facility.FindDetectorResp.Detector', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], 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=344, serialized_end=467, ) _GETDETECTORREQ = _descriptor.Descriptor( name='GetDetectorReq', full_name='facility.GetDetectorReq', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='no', full_name='facility.GetDetectorReq.no', 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=469, serialized_end=497, ) _GETDETECTORRESP = _descriptor.Descriptor( name='GetDetectorResp', full_name='facility.GetDetectorResp', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='Detector', full_name='facility.GetDetectorResp.Detector', index=0, number=1, 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=499, serialized_end=554, ) _WRITEDETECTORREQ = _descriptor.Descriptor( name='WriteDetectorReq', full_name='facility.WriteDetectorReq', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='no', full_name='facility.WriteDetectorReq.no', 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='detector_name', full_name='facility.WriteDetectorReq.detector_name', 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), _descriptor.FieldDescriptor( name='module_id', full_name='facility.WriteDetectorReq.module_id', index=2, number=3, 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='filter_id', full_name='facility.WriteDetectorReq.filter_id', index=3, number=4, 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=556, serialized_end=647, ) _WRITEDETECTORRESP = _descriptor.Descriptor( name='WriteDetectorResp', full_name='facility.WriteDetectorResp', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='success', full_name='facility.WriteDetectorResp.success', index=0, number=1, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='error', full_name='facility.WriteDetectorResp.error', 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='Detector', full_name='facility.WriteDetectorResp.Detector', index=2, number=3, 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=649, serialized_end=753, ) _UPDATEDETECTORREQ = _descriptor.Descriptor( name='UpdateDetectorReq', full_name='facility.UpdateDetectorReq', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='no', full_name='facility.UpdateDetectorReq.no', 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='detector_name', full_name='facility.UpdateDetectorReq.detector_name', 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), _descriptor.FieldDescriptor( name='module_id', full_name='facility.UpdateDetectorReq.module_id', index=2, number=3, 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='filter_id', full_name='facility.UpdateDetectorReq.filter_id', index=3, number=4, 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=755, serialized_end=847, ) _UPDATEDETECTORRESP = _descriptor.Descriptor( name='UpdateDetectorResp', full_name='facility.UpdateDetectorResp', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='success', full_name='facility.UpdateDetectorResp.success', index=0, number=1, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='error', full_name='facility.UpdateDetectorResp.error', 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=849, serialized_end=916, ) _FINDSTATUSREQ = _descriptor.Descriptor( name='FindStatusReq', full_name='facility.FindStatusReq', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='detector_no', full_name='facility.FindStatusReq.detector_no', 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='status_begin_time', full_name='facility.FindStatusReq.status_begin_time', index=1, number=2, 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='status_end_time', full_name='facility.FindStatusReq.status_end_time', index=2, number=3, 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='limit', full_name='facility.FindStatusReq.limit', index=3, number=4, type=5, cpp_type=1, 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=918, serialized_end=1021, ) _FINDSTATUSRESP = _descriptor.Descriptor( name='FindStatusResp', full_name='facility.FindStatusResp', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='success', full_name='facility.FindStatusResp.success', index=0, number=1, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='totalCount', full_name='facility.FindStatusResp.totalCount', index=1, number=2, type=5, cpp_type=1, 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='error', full_name='facility.FindStatusResp.error', index=2, number=3, 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='records', full_name='facility.FindStatusResp.records', index=3, number=4, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], 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=1023, serialized_end=1149, ) _GETSTATUSREQ = _descriptor.Descriptor( name='GetStatusReq', full_name='facility.GetStatusReq', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='status_id', full_name='facility.GetStatusReq.status_id', index=0, number=1, 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=1151, serialized_end=1184, ) _GETSTATUSRESP = _descriptor.Descriptor( name='GetStatusResp', full_name='facility.GetStatusResp', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='record', full_name='facility.GetStatusResp.record', index=0, number=1, 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1186, serialized_end=1243, ) _WRITESTATUSREQ = _descriptor.Descriptor( name='WriteStatusReq', full_name='facility.WriteStatusReq', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='detector_no', full_name='facility.WriteStatusReq.detector_no', 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='status', full_name='facility.WriteStatusReq.status', 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), _descriptor.FieldDescriptor( name='status_time', full_name='facility.WriteStatusReq.status_time', index=2, number=3, 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=1245, serialized_end=1319, ) _WRITESTATUSRESP = _descriptor.Descriptor( name='WriteStatusResp', full_name='facility.WriteStatusResp', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='success', full_name='facility.WriteStatusResp.success', index=0, number=1, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, serialized_options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='error', full_name='facility.WriteStatusResp.error', 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='record', full_name='facility.WriteStatusResp.record', index=2, number=3, 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1321, serialized_end=1427, ) _FINDDETECTORRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR _FINDDETECTORRESP.fields_by_name['Detector'].message_type = _DETECTOR _GETDETECTORRESP.fields_by_name['Detector'].message_type = _DETECTOR _WRITEDETECTORRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR _WRITEDETECTORRESP.fields_by_name['Detector'].message_type = _DETECTOR _UPDATEDETECTORRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR _FINDSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR _FINDSTATUSRESP.fields_by_name['records'].message_type = _DETECTORSTATUS _GETSTATUSRESP.fields_by_name['record'].message_type = _DETECTORSTATUS _WRITESTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR _WRITESTATUSRESP.fields_by_name['record'].message_type = _DETECTORSTATUS DESCRIPTOR.message_types_by_name['Detector'] = _DETECTOR DESCRIPTOR.message_types_by_name['DetectorStatus'] = _DETECTORSTATUS DESCRIPTOR.message_types_by_name['FindDetectorReq'] = _FINDDETECTORREQ DESCRIPTOR.message_types_by_name['FindDetectorResp'] = _FINDDETECTORRESP DESCRIPTOR.message_types_by_name['GetDetectorReq'] = _GETDETECTORREQ DESCRIPTOR.message_types_by_name['GetDetectorResp'] = _GETDETECTORRESP DESCRIPTOR.message_types_by_name['WriteDetectorReq'] = _WRITEDETECTORREQ DESCRIPTOR.message_types_by_name['WriteDetectorResp'] = _WRITEDETECTORRESP DESCRIPTOR.message_types_by_name['UpdateDetectorReq'] = _UPDATEDETECTORREQ DESCRIPTOR.message_types_by_name['UpdateDetectorResp'] = _UPDATEDETECTORRESP DESCRIPTOR.message_types_by_name['FindStatusReq'] = _FINDSTATUSREQ DESCRIPTOR.message_types_by_name['FindStatusResp'] = _FINDSTATUSRESP DESCRIPTOR.message_types_by_name['GetStatusReq'] = _GETSTATUSREQ DESCRIPTOR.message_types_by_name['GetStatusResp'] = _GETSTATUSRESP DESCRIPTOR.message_types_by_name['WriteStatusReq'] = _WRITESTATUSREQ DESCRIPTOR.message_types_by_name['WriteStatusResp'] = _WRITESTATUSRESP _sym_db.RegisterFileDescriptor(DESCRIPTOR) Detector = _reflection.GeneratedProtocolMessageType('Detector', (_message.Message,), { 'DESCRIPTOR' : _DETECTOR, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.Detector) }) _sym_db.RegisterMessage(Detector) DetectorStatus = _reflection.GeneratedProtocolMessageType('DetectorStatus', (_message.Message,), { 'DESCRIPTOR' : _DETECTORSTATUS, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.DetectorStatus) }) _sym_db.RegisterMessage(DetectorStatus) FindDetectorReq = _reflection.GeneratedProtocolMessageType('FindDetectorReq', (_message.Message,), { 'DESCRIPTOR' : _FINDDETECTORREQ, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.FindDetectorReq) }) _sym_db.RegisterMessage(FindDetectorReq) FindDetectorResp = _reflection.GeneratedProtocolMessageType('FindDetectorResp', (_message.Message,), { 'DESCRIPTOR' : _FINDDETECTORRESP, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.FindDetectorResp) }) _sym_db.RegisterMessage(FindDetectorResp) GetDetectorReq = _reflection.GeneratedProtocolMessageType('GetDetectorReq', (_message.Message,), { 'DESCRIPTOR' : _GETDETECTORREQ, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.GetDetectorReq) }) _sym_db.RegisterMessage(GetDetectorReq) GetDetectorResp = _reflection.GeneratedProtocolMessageType('GetDetectorResp', (_message.Message,), { 'DESCRIPTOR' : _GETDETECTORRESP, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.GetDetectorResp) }) _sym_db.RegisterMessage(GetDetectorResp) WriteDetectorReq = _reflection.GeneratedProtocolMessageType('WriteDetectorReq', (_message.Message,), { 'DESCRIPTOR' : _WRITEDETECTORREQ, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.WriteDetectorReq) }) _sym_db.RegisterMessage(WriteDetectorReq) WriteDetectorResp = _reflection.GeneratedProtocolMessageType('WriteDetectorResp', (_message.Message,), { 'DESCRIPTOR' : _WRITEDETECTORRESP, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.WriteDetectorResp) }) _sym_db.RegisterMessage(WriteDetectorResp) UpdateDetectorReq = _reflection.GeneratedProtocolMessageType('UpdateDetectorReq', (_message.Message,), { 'DESCRIPTOR' : _UPDATEDETECTORREQ, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.UpdateDetectorReq) }) _sym_db.RegisterMessage(UpdateDetectorReq) UpdateDetectorResp = _reflection.GeneratedProtocolMessageType('UpdateDetectorResp', (_message.Message,), { 'DESCRIPTOR' : _UPDATEDETECTORRESP, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.UpdateDetectorResp) }) _sym_db.RegisterMessage(UpdateDetectorResp) FindStatusReq = _reflection.GeneratedProtocolMessageType('FindStatusReq', (_message.Message,), { 'DESCRIPTOR' : _FINDSTATUSREQ, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.FindStatusReq) }) _sym_db.RegisterMessage(FindStatusReq) FindStatusResp = _reflection.GeneratedProtocolMessageType('FindStatusResp', (_message.Message,), { 'DESCRIPTOR' : _FINDSTATUSRESP, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.FindStatusResp) }) _sym_db.RegisterMessage(FindStatusResp) GetStatusReq = _reflection.GeneratedProtocolMessageType('GetStatusReq', (_message.Message,), { 'DESCRIPTOR' : _GETSTATUSREQ, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.GetStatusReq) }) _sym_db.RegisterMessage(GetStatusReq) GetStatusResp = _reflection.GeneratedProtocolMessageType('GetStatusResp', (_message.Message,), { 'DESCRIPTOR' : _GETSTATUSRESP, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.GetStatusResp) }) _sym_db.RegisterMessage(GetStatusResp) WriteStatusReq = _reflection.GeneratedProtocolMessageType('WriteStatusReq', (_message.Message,), { 'DESCRIPTOR' : _WRITESTATUSREQ, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.WriteStatusReq) }) _sym_db.RegisterMessage(WriteStatusReq) WriteStatusResp = _reflection.GeneratedProtocolMessageType('WriteStatusResp', (_message.Message,), { 'DESCRIPTOR' : _WRITESTATUSRESP, '__module__' : 'facility.detector_pb2' # @@protoc_insertion_point(class_scope:facility.WriteStatusResp) }) _sym_db.RegisterMessage(WriteStatusResp) DESCRIPTOR._options = None _DETECTORSRV = _descriptor.ServiceDescriptor( name='DetectorSrv', full_name='facility.DetectorSrv', file=DESCRIPTOR, index=0, serialized_options=None, serialized_start=1430, serialized_end=1910, methods=[ _descriptor.MethodDescriptor( name='Find', full_name='facility.DetectorSrv.Find', index=0, containing_service=None, input_type=_FINDDETECTORREQ, output_type=_FINDDETECTORRESP, serialized_options=None, ), _descriptor.MethodDescriptor( name='Get', full_name='facility.DetectorSrv.Get', index=1, containing_service=None, input_type=_GETDETECTORREQ, output_type=_GETDETECTORRESP, serialized_options=None, ), _descriptor.MethodDescriptor( name='Write', full_name='facility.DetectorSrv.Write', index=2, containing_service=None, input_type=_WRITEDETECTORREQ, output_type=_WRITEDETECTORRESP, serialized_options=None, ), _descriptor.MethodDescriptor( name='Update', full_name='facility.DetectorSrv.Update', index=3, containing_service=None, input_type=_UPDATEDETECTORREQ, output_type=_UPDATEDETECTORRESP, serialized_options=None, ), _descriptor.MethodDescriptor( name='FindStatus', full_name='facility.DetectorSrv.FindStatus', index=4, containing_service=None, input_type=_FINDSTATUSREQ, output_type=_FINDSTATUSRESP, serialized_options=None, ), _descriptor.MethodDescriptor( name='GetStatus', full_name='facility.DetectorSrv.GetStatus', index=5, containing_service=None, input_type=_GETSTATUSREQ, output_type=_GETSTATUSRESP, serialized_options=None, ), _descriptor.MethodDescriptor( name='WriteStatus', full_name='facility.DetectorSrv.WriteStatus', index=6, containing_service=None, input_type=_WRITESTATUSREQ, output_type=_WRITESTATUSRESP, serialized_options=None, ), ]) _sym_db.RegisterServiceDescriptor(_DETECTORSRV) DESCRIPTOR.services_by_name['DetectorSrv'] = _DETECTORSRV # @@protoc_insertion_point(module_scope)