diff --git a/csst_dfs_proto/facility/level1/level1_pb2.py b/csst_dfs_proto/facility/level1/level1_pb2.py index 1ed872d42150ae9ff87665e6d956aa88b1ffc2cb..44fb21d15b909016993714788ff3bb9a4109d972 100644 --- a/csst_dfs_proto/facility/level1/level1_pb2.py +++ b/csst_dfs_proto/facility/level1/level1_pb2.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: facility/level1/level1.proto - +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -14,1018 +14,48 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='facility/level1/level1.proto', - package='dfs.facility.level1', - syntax='proto3', - serialized_options=b'Z$cnlab.net/csst/proto/facility/level1', - serialized_pb=b'\n\x1c\x66\x61\x63ility/level1/level1.proto\x12\x13\x64\x66s.facility.level1\x1a\x12\x63ommon/error.proto\"\xb3\x03\n\x0cLevel1Record\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x11\n\tdata_type\x18\x03 \x01(\t\x12\x12\n\ncor_sci_id\x18\x04 \x01(\x03\x12\x11\n\tmodule_id\x18\x05 \x01(\t\x12\x12\n\nprc_params\x18\x06 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x07 \x01(\t\x12\x10\n\x08\x66ilename\x18\x08 \x01(\t\x12\x11\n\tfile_path\x18\t \x01(\t\x12\x12\n\nqc1_status\x18\n \x01(\x05\x12\x10\n\x08qc1_time\x18\x0b \x01(\t\x12\x12\n\nprc_status\x18\x0c \x01(\x05\x12\x10\n\x08prc_time\x18\r \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x0e \x01(\t\x12\x13\n\x0bpipeline_id\x18\x0f \x01(\t\x12\x0e\n\x06header\x18\x10 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x11 \x01(\t\x12\x39\n\x04refs\x18\x12 \x03(\x0b\x32+.dfs.facility.level1.Level1Record.RefsEntry\x1a+\n\tRefsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9f\x03\n\rFindLevel1Req\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x11\n\tmodule_id\x18\x03 \x01(\t\x12\x19\n\x11\x63reate_time_start\x18\x04 \x01(\t\x12\x17\n\x0f\x63reate_time_end\x18\x05 \x01(\t\x12\x12\n\nqc1_status\x18\x06 \x01(\x05\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x10\n\x08\x66ilename\x18\x08 \x01(\t\x12\r\n\x05limit\x18\t \x01(\x05\x12\x13\n\x0bpipeline_id\x18\n \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x0b \x01(\t\x12\x0e\n\x06\x66ilter\x18\x0c \x01(\t\x12\x13\n\x0bobject_name\x18\r \x01(\t\x12Q\n\x10other_conditions\x18\x0e \x03(\x0b\x32\x37.dfs.facility.level1.FindLevel1Req.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x01\n\x0e\x46indLevel1Resp\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\x32\n\x07records\x18\x04 \x03(\x0b\x32!.dfs.facility.level1.Level1Record\"&\n\x11\x46indByBrickIdsReq\x12\x11\n\tbrick_ids\x18\x01 \x03(\x05\"w\n\x12\x46indByBrickIdsResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x32\n\x07records\x18\x03 \x03(\x0b\x32!.dfs.facility.level1.Level1Record\"@\n\x0cGetLevel1Req\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x11\n\tdata_type\x18\x03 \x01(\t\"B\n\rGetLevel1Resp\x12\x31\n\x06record\x18\x01 \x01(\x0b\x32!.dfs.facility.level1.Level1Record\"Q\n\x0eWriteLevel1Req\x12\x31\n\x06record\x18\x01 \x01(\x0b\x32!.dfs.facility.level1.Level1Record\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"s\n\x0fWriteLevel1Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x31\n\x06record\x18\x03 \x01(\x0b\x32!.dfs.facility.level1.Level1Record\"0\n\x12UpdateQc1StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"D\n\x13UpdateQc1StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\x9c\x05\n\tLevel1Srv\x12Q\n\x04\x46ind\x12\".dfs.facility.level1.FindLevel1Req\x1a#.dfs.facility.level1.FindLevel1Resp\"\x00\x12\x63\n\x0e\x46indByBrickIds\x12&.dfs.facility.level1.FindByBrickIdsReq\x1a\'.dfs.facility.level1.FindByBrickIdsResp\"\x00\x12\\\n\x0f\x46indByQc1Status\x12\".dfs.facility.level1.FindLevel1Req\x1a#.dfs.facility.level1.FindLevel1Resp\"\x00\x12N\n\x03Get\x12!.dfs.facility.level1.GetLevel1Req\x1a\".dfs.facility.level1.GetLevel1Resp\"\x00\x12V\n\x05Write\x12#.dfs.facility.level1.WriteLevel1Req\x1a$.dfs.facility.level1.WriteLevel1Resp\"\x00(\x01\x12\x66\n\x0fUpdateQc1Status\x12\'.dfs.facility.level1.UpdateQc1StatusReq\x1a(.dfs.facility.level1.UpdateQc1StatusResp\"\x00\x12i\n\x10UpdateProcStatus\x12(.dfs.facility.level1.UpdateProcStatusReq\x1a).dfs.facility.level1.UpdateProcStatusResp\"\x00\x42&Z$cnlab.net/csst/proto/facility/level1b\x06proto3' - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_LEVEL1RECORD_REFSENTRY = _descriptor.Descriptor( - name='RefsEntry', - full_name='dfs.facility.level1.Level1Record.RefsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.facility.level1.Level1Record.RefsEntry.key', 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='value', full_name='dfs.facility.level1.Level1Record.RefsEntry.value', 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=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=466, - serialized_end=509, -) - -_LEVEL1RECORD = _descriptor.Descriptor( - name='Level1Record', - full_name='dfs.facility.level1.Level1Record', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level1.Level1Record.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='level0_id', full_name='dfs.facility.level1.Level1Record.level0_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), - _descriptor.FieldDescriptor( - name='data_type', full_name='dfs.facility.level1.Level1Record.data_type', 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='cor_sci_id', full_name='dfs.facility.level1.Level1Record.cor_sci_id', 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='module_id', full_name='dfs.facility.level1.Level1Record.module_id', index=4, - number=5, 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='prc_params', full_name='dfs.facility.level1.Level1Record.prc_params', index=5, - number=6, 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', full_name='dfs.facility.level1.Level1Record.filter', index=6, - number=7, 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='filename', full_name='dfs.facility.level1.Level1Record.filename', index=7, - number=8, 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='file_path', full_name='dfs.facility.level1.Level1Record.file_path', index=8, - number=9, 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='qc1_status', full_name='dfs.facility.level1.Level1Record.qc1_status', index=9, - number=10, 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='qc1_time', full_name='dfs.facility.level1.Level1Record.qc1_time', index=10, - number=11, 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='prc_status', full_name='dfs.facility.level1.Level1Record.prc_status', index=11, - number=12, 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='prc_time', full_name='dfs.facility.level1.Level1Record.prc_time', index=12, - number=13, 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='dfs.facility.level1.Level1Record.create_time', index=13, - number=14, 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='pipeline_id', full_name='dfs.facility.level1.Level1Record.pipeline_id', index=14, - number=15, 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='header', full_name='dfs.facility.level1.Level1Record.header', index=15, - number=16, 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_no', full_name='dfs.facility.level1.Level1Record.detector_no', index=16, - number=17, 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='refs', full_name='dfs.facility.level1.Level1Record.refs', index=17, - number=18, 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=[_LEVEL1RECORD_REFSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=74, - serialized_end=509, -) - - -_FINDLEVEL1REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( - name='OtherConditionsEntry', - full_name='dfs.facility.level1.FindLevel1Req.OtherConditionsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.facility.level1.FindLevel1Req.OtherConditionsEntry.key', 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='value', full_name='dfs.facility.level1.FindLevel1Req.OtherConditionsEntry.value', 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=b'8\001', - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=873, - serialized_end=927, -) - -_FINDLEVEL1REQ = _descriptor.Descriptor( - name='FindLevel1Req', - full_name='dfs.facility.level1.FindLevel1Req', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.facility.level1.FindLevel1Req.level0_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='data_type', full_name='dfs.facility.level1.FindLevel1Req.data_type', 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='dfs.facility.level1.FindLevel1Req.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='create_time_start', full_name='dfs.facility.level1.FindLevel1Req.create_time_start', 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_end', full_name='dfs.facility.level1.FindLevel1Req.create_time_end', index=4, - number=5, 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='qc1_status', full_name='dfs.facility.level1.FindLevel1Req.qc1_status', index=5, - number=6, 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='prc_status', full_name='dfs.facility.level1.FindLevel1Req.prc_status', index=6, - number=7, 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='filename', full_name='dfs.facility.level1.FindLevel1Req.filename', index=7, - number=8, 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='limit', full_name='dfs.facility.level1.FindLevel1Req.limit', index=8, - number=9, 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='pipeline_id', full_name='dfs.facility.level1.FindLevel1Req.pipeline_id', index=9, - number=10, 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_no', full_name='dfs.facility.level1.FindLevel1Req.detector_no', index=10, - number=11, 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', full_name='dfs.facility.level1.FindLevel1Req.filter', index=11, - number=12, 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='object_name', full_name='dfs.facility.level1.FindLevel1Req.object_name', index=12, - number=13, 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='other_conditions', full_name='dfs.facility.level1.FindLevel1Req.other_conditions', index=13, - number=14, 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=[_FINDLEVEL1REQ_OTHERCONDITIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=512, - serialized_end=927, -) - - -_FINDLEVEL1RESP = _descriptor.Descriptor( - name='FindLevel1Resp', - full_name='dfs.facility.level1.FindLevel1Resp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level1.FindLevel1Resp.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='dfs.facility.level1.FindLevel1Resp.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='dfs.facility.level1.FindLevel1Resp.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='dfs.facility.level1.FindLevel1Resp.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=930, - serialized_end=1065, -) - - -_FINDBYBRICKIDSREQ = _descriptor.Descriptor( - name='FindByBrickIdsReq', - full_name='dfs.facility.level1.FindByBrickIdsReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='brick_ids', full_name='dfs.facility.level1.FindByBrickIdsReq.brick_ids', index=0, - number=1, type=5, cpp_type=1, 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=1067, - serialized_end=1105, -) - - -_FINDBYBRICKIDSRESP = _descriptor.Descriptor( - name='FindByBrickIdsResp', - full_name='dfs.facility.level1.FindByBrickIdsResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level1.FindByBrickIdsResp.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='dfs.facility.level1.FindByBrickIdsResp.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='records', full_name='dfs.facility.level1.FindByBrickIdsResp.records', index=2, - number=3, 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=1107, - serialized_end=1226, -) - - -_GETLEVEL1REQ = _descriptor.Descriptor( - name='GetLevel1Req', - full_name='dfs.facility.level1.GetLevel1Req', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level1.GetLevel1Req.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='level0_id', full_name='dfs.facility.level1.GetLevel1Req.level0_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), - _descriptor.FieldDescriptor( - name='data_type', full_name='dfs.facility.level1.GetLevel1Req.data_type', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1228, - serialized_end=1292, -) - - -_GETLEVEL1RESP = _descriptor.Descriptor( - name='GetLevel1Resp', - full_name='dfs.facility.level1.GetLevel1Resp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level1.GetLevel1Resp.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=1294, - serialized_end=1360, -) - - -_WRITELEVEL1REQ = _descriptor.Descriptor( - name='WriteLevel1Req', - full_name='dfs.facility.level1.WriteLevel1Req', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level1.WriteLevel1Req.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), - _descriptor.FieldDescriptor( - name='data', full_name='dfs.facility.level1.WriteLevel1Req.data', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=b"", - 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=1362, - serialized_end=1443, -) - - -_WRITELEVEL1RESP = _descriptor.Descriptor( - name='WriteLevel1Resp', - full_name='dfs.facility.level1.WriteLevel1Resp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level1.WriteLevel1Resp.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='dfs.facility.level1.WriteLevel1Resp.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='dfs.facility.level1.WriteLevel1Resp.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=1445, - serialized_end=1560, -) - - -_UPDATEQC1STATUSREQ = _descriptor.Descriptor( - name='UpdateQc1StatusReq', - full_name='dfs.facility.level1.UpdateQc1StatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level1.UpdateQc1StatusReq.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='status', full_name='dfs.facility.level1.UpdateQc1StatusReq.status', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1562, - serialized_end=1610, -) - - -_UPDATEQC1STATUSRESP = _descriptor.Descriptor( - name='UpdateQc1StatusResp', - full_name='dfs.facility.level1.UpdateQc1StatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level1.UpdateQc1StatusResp.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='dfs.facility.level1.UpdateQc1StatusResp.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=1612, - serialized_end=1680, -) - - -_UPDATEPROCSTATUSREQ = _descriptor.Descriptor( - name='UpdateProcStatusReq', - full_name='dfs.facility.level1.UpdateProcStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level1.UpdateProcStatusReq.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='status', full_name='dfs.facility.level1.UpdateProcStatusReq.status', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1682, - serialized_end=1731, -) - - -_UPDATEPROCSTATUSRESP = _descriptor.Descriptor( - name='UpdateProcStatusResp', - full_name='dfs.facility.level1.UpdateProcStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level1.UpdateProcStatusResp.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='dfs.facility.level1.UpdateProcStatusResp.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=1733, - serialized_end=1802, -) - -_LEVEL1RECORD_REFSENTRY.containing_type = _LEVEL1RECORD -_LEVEL1RECORD.fields_by_name['refs'].message_type = _LEVEL1RECORD_REFSENTRY -_FINDLEVEL1REQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL1REQ -_FINDLEVEL1REQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL1REQ_OTHERCONDITIONSENTRY -_FINDLEVEL1RESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDLEVEL1RESP.fields_by_name['records'].message_type = _LEVEL1RECORD -_FINDBYBRICKIDSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDBYBRICKIDSRESP.fields_by_name['records'].message_type = _LEVEL1RECORD -_GETLEVEL1RESP.fields_by_name['record'].message_type = _LEVEL1RECORD -_WRITELEVEL1REQ.fields_by_name['record'].message_type = _LEVEL1RECORD -_WRITELEVEL1RESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITELEVEL1RESP.fields_by_name['record'].message_type = _LEVEL1RECORD -_UPDATEQC1STATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -DESCRIPTOR.message_types_by_name['Level1Record'] = _LEVEL1RECORD -DESCRIPTOR.message_types_by_name['FindLevel1Req'] = _FINDLEVEL1REQ -DESCRIPTOR.message_types_by_name['FindLevel1Resp'] = _FINDLEVEL1RESP -DESCRIPTOR.message_types_by_name['FindByBrickIdsReq'] = _FINDBYBRICKIDSREQ -DESCRIPTOR.message_types_by_name['FindByBrickIdsResp'] = _FINDBYBRICKIDSRESP -DESCRIPTOR.message_types_by_name['GetLevel1Req'] = _GETLEVEL1REQ -DESCRIPTOR.message_types_by_name['GetLevel1Resp'] = _GETLEVEL1RESP -DESCRIPTOR.message_types_by_name['WriteLevel1Req'] = _WRITELEVEL1REQ -DESCRIPTOR.message_types_by_name['WriteLevel1Resp'] = _WRITELEVEL1RESP -DESCRIPTOR.message_types_by_name['UpdateQc1StatusReq'] = _UPDATEQC1STATUSREQ -DESCRIPTOR.message_types_by_name['UpdateQc1StatusResp'] = _UPDATEQC1STATUSRESP -DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ -DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Level1Record = _reflection.GeneratedProtocolMessageType('Level1Record', (_message.Message,), { - - 'RefsEntry' : _reflection.GeneratedProtocolMessageType('RefsEntry', (_message.Message,), { - 'DESCRIPTOR' : _LEVEL1RECORD_REFSENTRY, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.Level1Record.RefsEntry) - }) - , - 'DESCRIPTOR' : _LEVEL1RECORD, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.Level1Record) - }) -_sym_db.RegisterMessage(Level1Record) -_sym_db.RegisterMessage(Level1Record.RefsEntry) - -FindLevel1Req = _reflection.GeneratedProtocolMessageType('FindLevel1Req', (_message.Message,), { - - 'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL1REQ_OTHERCONDITIONSENTRY, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.FindLevel1Req.OtherConditionsEntry) - }) - , - 'DESCRIPTOR' : _FINDLEVEL1REQ, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.FindLevel1Req) - }) -_sym_db.RegisterMessage(FindLevel1Req) -_sym_db.RegisterMessage(FindLevel1Req.OtherConditionsEntry) - -FindLevel1Resp = _reflection.GeneratedProtocolMessageType('FindLevel1Resp', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL1RESP, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.FindLevel1Resp) - }) -_sym_db.RegisterMessage(FindLevel1Resp) - -FindByBrickIdsReq = _reflection.GeneratedProtocolMessageType('FindByBrickIdsReq', (_message.Message,), { - 'DESCRIPTOR' : _FINDBYBRICKIDSREQ, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.FindByBrickIdsReq) - }) -_sym_db.RegisterMessage(FindByBrickIdsReq) - -FindByBrickIdsResp = _reflection.GeneratedProtocolMessageType('FindByBrickIdsResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDBYBRICKIDSRESP, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.FindByBrickIdsResp) - }) -_sym_db.RegisterMessage(FindByBrickIdsResp) - -GetLevel1Req = _reflection.GeneratedProtocolMessageType('GetLevel1Req', (_message.Message,), { - 'DESCRIPTOR' : _GETLEVEL1REQ, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.GetLevel1Req) - }) -_sym_db.RegisterMessage(GetLevel1Req) - -GetLevel1Resp = _reflection.GeneratedProtocolMessageType('GetLevel1Resp', (_message.Message,), { - 'DESCRIPTOR' : _GETLEVEL1RESP, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.GetLevel1Resp) - }) -_sym_db.RegisterMessage(GetLevel1Resp) - -WriteLevel1Req = _reflection.GeneratedProtocolMessageType('WriteLevel1Req', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL1REQ, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.WriteLevel1Req) - }) -_sym_db.RegisterMessage(WriteLevel1Req) - -WriteLevel1Resp = _reflection.GeneratedProtocolMessageType('WriteLevel1Resp', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL1RESP, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.WriteLevel1Resp) - }) -_sym_db.RegisterMessage(WriteLevel1Resp) - -UpdateQc1StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc1StatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC1STATUSREQ, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.UpdateQc1StatusReq) - }) -_sym_db.RegisterMessage(UpdateQc1StatusReq) - -UpdateQc1StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc1StatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC1STATUSRESP, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.UpdateQc1StatusResp) - }) -_sym_db.RegisterMessage(UpdateQc1StatusResp) - -UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSREQ, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.UpdateProcStatusReq) - }) -_sym_db.RegisterMessage(UpdateProcStatusReq) - -UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSRESP, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.UpdateProcStatusResp) - }) -_sym_db.RegisterMessage(UpdateProcStatusResp) - - -DESCRIPTOR._options = None -_LEVEL1RECORD_REFSENTRY._options = None -_FINDLEVEL1REQ_OTHERCONDITIONSENTRY._options = None - -_LEVEL1SRV = _descriptor.ServiceDescriptor( - name='Level1Srv', - full_name='dfs.facility.level1.Level1Srv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=1805, - serialized_end=2473, - methods=[ - _descriptor.MethodDescriptor( - name='Find', - full_name='dfs.facility.level1.Level1Srv.Find', - index=0, - containing_service=None, - input_type=_FINDLEVEL1REQ, - output_type=_FINDLEVEL1RESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindByBrickIds', - full_name='dfs.facility.level1.Level1Srv.FindByBrickIds', - index=1, - containing_service=None, - input_type=_FINDBYBRICKIDSREQ, - output_type=_FINDBYBRICKIDSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindByQc1Status', - full_name='dfs.facility.level1.Level1Srv.FindByQc1Status', - index=2, - containing_service=None, - input_type=_FINDLEVEL1REQ, - output_type=_FINDLEVEL1RESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Get', - full_name='dfs.facility.level1.Level1Srv.Get', - index=3, - containing_service=None, - input_type=_GETLEVEL1REQ, - output_type=_GETLEVEL1RESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Write', - full_name='dfs.facility.level1.Level1Srv.Write', - index=4, - containing_service=None, - input_type=_WRITELEVEL1REQ, - output_type=_WRITELEVEL1RESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateQc1Status', - full_name='dfs.facility.level1.Level1Srv.UpdateQc1Status', - index=5, - containing_service=None, - input_type=_UPDATEQC1STATUSREQ, - output_type=_UPDATEQC1STATUSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateProcStatus', - full_name='dfs.facility.level1.Level1Srv.UpdateProcStatus', - index=6, - containing_service=None, - input_type=_UPDATEPROCSTATUSREQ, - output_type=_UPDATEPROCSTATUSRESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_LEVEL1SRV) - -DESCRIPTOR.services_by_name['Level1Srv'] = _LEVEL1SRV - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66\x61\x63ility/level1/level1.proto\x12\x13\x64\x66s.facility.level1\x1a\x12\x63ommon/error.proto\"\xb3\x03\n\x0cLevel1Record\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x11\n\tdata_type\x18\x03 \x01(\t\x12\x12\n\ncor_sci_id\x18\x04 \x01(\x03\x12\x11\n\tmodule_id\x18\x05 \x01(\t\x12\x12\n\nprc_params\x18\x06 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x07 \x01(\t\x12\x10\n\x08\x66ilename\x18\x08 \x01(\t\x12\x11\n\tfile_path\x18\t \x01(\t\x12\x12\n\nqc1_status\x18\n \x01(\x05\x12\x10\n\x08qc1_time\x18\x0b \x01(\t\x12\x12\n\nprc_status\x18\x0c \x01(\x05\x12\x10\n\x08prc_time\x18\r \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x0e \x01(\t\x12\x13\n\x0bpipeline_id\x18\x0f \x01(\t\x12\x0e\n\x06header\x18\x10 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x11 \x01(\t\x12\x39\n\x04refs\x18\x12 \x03(\x0b\x32+.dfs.facility.level1.Level1Record.RefsEntry\x1a+\n\tRefsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9f\x03\n\rFindLevel1Req\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x11\n\tmodule_id\x18\x03 \x01(\t\x12\x19\n\x11\x63reate_time_start\x18\x04 \x01(\t\x12\x17\n\x0f\x63reate_time_end\x18\x05 \x01(\t\x12\x12\n\nqc1_status\x18\x06 \x01(\x05\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x10\n\x08\x66ilename\x18\x08 \x01(\t\x12\r\n\x05limit\x18\t \x01(\x05\x12\x13\n\x0bpipeline_id\x18\n \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x0b \x01(\t\x12\x0e\n\x06\x66ilter\x18\x0c \x01(\t\x12\x13\n\x0bobject_name\x18\r \x01(\t\x12Q\n\x10other_conditions\x18\x0e \x03(\x0b\x32\x37.dfs.facility.level1.FindLevel1Req.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x01\n\x0e\x46indLevel1Resp\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\x32\n\x07records\x18\x04 \x03(\x0b\x32!.dfs.facility.level1.Level1Record\"&\n\x11\x46indByBrickIdsReq\x12\x11\n\tbrick_ids\x18\x01 \x03(\x05\"w\n\x12\x46indByBrickIdsResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x32\n\x07records\x18\x03 \x03(\x0b\x32!.dfs.facility.level1.Level1Record\"@\n\x0cGetLevel1Req\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x11\n\tdata_type\x18\x03 \x01(\t\"B\n\rGetLevel1Resp\x12\x31\n\x06record\x18\x01 \x01(\x0b\x32!.dfs.facility.level1.Level1Record\"Q\n\x0eWriteLevel1Req\x12\x31\n\x06record\x18\x01 \x01(\x0b\x32!.dfs.facility.level1.Level1Record\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"s\n\x0fWriteLevel1Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x31\n\x06record\x18\x03 \x01(\x0b\x32!.dfs.facility.level1.Level1Record\"0\n\x12UpdateQc1StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"D\n\x13UpdateQc1StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\x9c\x05\n\tLevel1Srv\x12Q\n\x04\x46ind\x12\".dfs.facility.level1.FindLevel1Req\x1a#.dfs.facility.level1.FindLevel1Resp\"\x00\x12\x63\n\x0e\x46indByBrickIds\x12&.dfs.facility.level1.FindByBrickIdsReq\x1a\'.dfs.facility.level1.FindByBrickIdsResp\"\x00\x12\\\n\x0f\x46indByQc1Status\x12\".dfs.facility.level1.FindLevel1Req\x1a#.dfs.facility.level1.FindLevel1Resp\"\x00\x12N\n\x03Get\x12!.dfs.facility.level1.GetLevel1Req\x1a\".dfs.facility.level1.GetLevel1Resp\"\x00\x12V\n\x05Write\x12#.dfs.facility.level1.WriteLevel1Req\x1a$.dfs.facility.level1.WriteLevel1Resp\"\x00(\x01\x12\x66\n\x0fUpdateQc1Status\x12\'.dfs.facility.level1.UpdateQc1StatusReq\x1a(.dfs.facility.level1.UpdateQc1StatusResp\"\x00\x12i\n\x10UpdateProcStatus\x12(.dfs.facility.level1.UpdateProcStatusReq\x1a).dfs.facility.level1.UpdateProcStatusResp\"\x00\x42&Z$cnlab.net/csst/proto/facility/level1b\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'facility.level1.level1_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z$cnlab.net/csst/proto/facility/level1' + _LEVEL1RECORD_REFSENTRY._options = None + _LEVEL1RECORD_REFSENTRY._serialized_options = b'8\001' + _FINDLEVEL1REQ_OTHERCONDITIONSENTRY._options = None + _FINDLEVEL1REQ_OTHERCONDITIONSENTRY._serialized_options = b'8\001' + _LEVEL1RECORD._serialized_start=74 + _LEVEL1RECORD._serialized_end=509 + _LEVEL1RECORD_REFSENTRY._serialized_start=466 + _LEVEL1RECORD_REFSENTRY._serialized_end=509 + _FINDLEVEL1REQ._serialized_start=512 + _FINDLEVEL1REQ._serialized_end=927 + _FINDLEVEL1REQ_OTHERCONDITIONSENTRY._serialized_start=873 + _FINDLEVEL1REQ_OTHERCONDITIONSENTRY._serialized_end=927 + _FINDLEVEL1RESP._serialized_start=930 + _FINDLEVEL1RESP._serialized_end=1065 + _FINDBYBRICKIDSREQ._serialized_start=1067 + _FINDBYBRICKIDSREQ._serialized_end=1105 + _FINDBYBRICKIDSRESP._serialized_start=1107 + _FINDBYBRICKIDSRESP._serialized_end=1226 + _GETLEVEL1REQ._serialized_start=1228 + _GETLEVEL1REQ._serialized_end=1292 + _GETLEVEL1RESP._serialized_start=1294 + _GETLEVEL1RESP._serialized_end=1360 + _WRITELEVEL1REQ._serialized_start=1362 + _WRITELEVEL1REQ._serialized_end=1443 + _WRITELEVEL1RESP._serialized_start=1445 + _WRITELEVEL1RESP._serialized_end=1560 + _UPDATEQC1STATUSREQ._serialized_start=1562 + _UPDATEQC1STATUSREQ._serialized_end=1610 + _UPDATEQC1STATUSRESP._serialized_start=1612 + _UPDATEQC1STATUSRESP._serialized_end=1680 + _UPDATEPROCSTATUSREQ._serialized_start=1682 + _UPDATEPROCSTATUSREQ._serialized_end=1731 + _UPDATEPROCSTATUSRESP._serialized_start=1733 + _UPDATEPROCSTATUSRESP._serialized_end=1802 + _LEVEL1SRV._serialized_start=1805 + _LEVEL1SRV._serialized_end=2473 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/facility/level1/level1_pb2_grpc.py b/csst_dfs_proto/facility/level1/level1_pb2_grpc.py index 40b5f32c4ad56d1ccec8820fcf9df47fc9fbfb8b..00a3f5395861eb55246fcfd216a5853c2046c3cd 100644 --- a/csst_dfs_proto/facility/level1/level1_pb2_grpc.py +++ b/csst_dfs_proto/facility/level1/level1_pb2_grpc.py @@ -1,11 +1,12 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import level1_pb2 as facility_dot_level1_dot_level1__pb2 class Level1SrvStub(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def __init__(self, channel): """Constructor. @@ -51,46 +52,46 @@ class Level1SrvStub(object): class Level1SrvServicer(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def Find(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def FindByBrickIds(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def FindByQc1Status(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Get(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Write(self, request_iterator, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateQc1Status(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateProcStatus(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') @@ -141,7 +142,7 @@ def add_Level1SrvServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class Level1Srv(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" @staticmethod def Find(request, @@ -149,6 +150,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -157,7 +159,7 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.FindLevel1Req.SerializeToString, facility_dot_level1_dot_level1__pb2.FindLevel1Resp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FindByBrickIds(request, @@ -165,6 +167,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -173,7 +176,7 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.FindByBrickIdsReq.SerializeToString, facility_dot_level1_dot_level1__pb2.FindByBrickIdsResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FindByQc1Status(request, @@ -181,6 +184,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -189,7 +193,7 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.FindLevel1Req.SerializeToString, facility_dot_level1_dot_level1__pb2.FindLevel1Resp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Get(request, @@ -197,6 +201,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -205,7 +210,7 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.GetLevel1Req.SerializeToString, facility_dot_level1_dot_level1__pb2.GetLevel1Resp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Write(request_iterator, @@ -213,6 +218,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -221,7 +227,7 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.WriteLevel1Req.SerializeToString, facility_dot_level1_dot_level1__pb2.WriteLevel1Resp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateQc1Status(request, @@ -229,6 +235,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -237,7 +244,7 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.UpdateQc1StatusReq.SerializeToString, facility_dot_level1_dot_level1__pb2.UpdateQc1StatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateProcStatus(request, @@ -245,6 +252,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -253,4 +261,4 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.UpdateProcStatusReq.SerializeToString, facility_dot_level1_dot_level1__pb2.UpdateProcStatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata)