Commit 2c219ab9 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

object name and level2

parent 59d2e932
Pipeline #10 canceled with stages
...@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor( ...@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package='dfs.ifs.level0', package='dfs.ifs.level0',
syntax='proto3', syntax='proto3',
serialized_options=_b('Z\037cnlab.net/csst/proto/ifs/level0'), serialized_options=_b('Z\037cnlab.net/csst/proto/ifs/level0'),
serialized_pb=_b('\n\x17ifs/level0/level0.proto\x12\x0e\x64\x66s.ifs.level0\x1a\x12\x63ommon/error.proto\"\xaa\x02\n\x0cLevel0Record\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x0e\n\x06obs_id\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x04 \x01(\t\x12\x10\n\x08obs_type\x18\x05 \x01(\t\x12\x10\n\x08obs_time\x18\x06 \x01(\t\x12\x10\n\x08\x65xp_time\x18\x07 \x01(\x02\x12\x1a\n\x12\x64\x65tector_status_id\x18\x08 \x01(\x03\x12\x10\n\x08\x66ilename\x18\t \x01(\t\x12\x11\n\tfile_path\x18\n \x01(\t\x12\x12\n\nqc0_status\x18\x0b \x01(\x05\x12\x10\n\x08qc0_time\x18\x0c \x01(\t\x12\x12\n\nprc_status\x18\r \x01(\x05\x12\x10\n\x08prc_time\x18\x0e \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x0f \x01(\t\"\xcc\x02\n\x11\x46indLevel0DataReq\x12\x0e\n\x06obs_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x02 \x01(\t\x12\x10\n\x08obs_type\x18\x03 \x01(\t\x12\x16\n\x0e\x65xp_time_start\x18\x04 \x01(\t\x12\x14\n\x0c\x65xp_time_end\x18\x05 \x01(\t\x12\x12\n\nqc0_status\x18\x06 \x01(\x05\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x11\n\tfile_name\x18\x08 \x01(\t\x12\r\n\x05limit\x18\t \x01(\x05\x12P\n\x10other_conditions\x18\n \x03(\x0b\x32\x36.dfs.ifs.level0.FindLevel0DataReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x86\x01\n\x12\x46indLevel0DataResp\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\x1c.dfs.ifs.level0.Level0Record\"1\n\x10GetLevel0DataReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\"A\n\x11GetLevel0DataResp\x12,\n\x06record\x18\x01 \x01(\x0b\x32\x1c.dfs.ifs.level0.Level0Record\"B\n\x12WriteLevel0DataReq\x12,\n\x06record\x18\x01 \x01(\x0b\x32\x1c.dfs.ifs.level0.Level0Record\"r\n\x13WriteLevel0DataResp\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\x1c.dfs.ifs.level0.Level0Record\"C\n\x12UpdateQc0StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\"D\n\x13UpdateQc0StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"D\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \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\xbd\x03\n\tLevel0Srv\x12O\n\x04\x46ind\x12!.dfs.ifs.level0.FindLevel0DataReq\x1a\".dfs.ifs.level0.FindLevel0DataResp\"\x00\x12L\n\x03Get\x12 .dfs.ifs.level0.GetLevel0DataReq\x1a!.dfs.ifs.level0.GetLevel0DataResp\"\x00\x12R\n\x05Write\x12\".dfs.ifs.level0.WriteLevel0DataReq\x1a#.dfs.ifs.level0.WriteLevel0DataResp\"\x00\x12\\\n\x0fUpdateQc0Status\x12\".dfs.ifs.level0.UpdateQc0StatusReq\x1a#.dfs.ifs.level0.UpdateQc0StatusResp\"\x00\x12_\n\x10UpdateProcStatus\x12#.dfs.ifs.level0.UpdateProcStatusReq\x1a$.dfs.ifs.level0.UpdateProcStatusResp\"\x00\x42!Z\x1f\x63nlab.net/csst/proto/ifs/level0b\x06proto3') serialized_pb=_b('\n\x17ifs/level0/level0.proto\x12\x0e\x64\x66s.ifs.level0\x1a\x12\x63ommon/error.proto\"\xbf\x02\n\x0cLevel0Record\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x0e\n\x06obs_id\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x04 \x01(\t\x12\x10\n\x08obs_type\x18\x05 \x01(\t\x12\x13\n\x0bobject_name\x18\x06 \x01(\t\x12\x10\n\x08obs_time\x18\x07 \x01(\t\x12\x10\n\x08\x65xp_time\x18\x08 \x01(\x02\x12\x1a\n\x12\x64\x65tector_status_id\x18\t \x01(\x03\x12\x10\n\x08\x66ilename\x18\n \x01(\t\x12\x11\n\tfile_path\x18\x0b \x01(\t\x12\x12\n\nqc0_status\x18\x0c \x01(\x05\x12\x10\n\x08qc0_time\x18\r \x01(\t\x12\x12\n\nprc_status\x18\x0e \x01(\x05\x12\x10\n\x08prc_time\x18\x0f \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x10 \x01(\t\"\xe1\x02\n\x11\x46indLevel0DataReq\x12\x0e\n\x06obs_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x02 \x01(\t\x12\x10\n\x08obs_type\x18\x03 \x01(\t\x12\x13\n\x0bobject_name\x18\x04 \x01(\t\x12\x16\n\x0e\x65xp_time_start\x18\x05 \x01(\t\x12\x14\n\x0c\x65xp_time_end\x18\x06 \x01(\t\x12\x12\n\nqc0_status\x18\x07 \x01(\x05\x12\x12\n\nprc_status\x18\x08 \x01(\x05\x12\x11\n\tfile_name\x18\t \x01(\t\x12\r\n\x05limit\x18\n \x01(\x05\x12P\n\x10other_conditions\x18\x0b \x03(\x0b\x32\x36.dfs.ifs.level0.FindLevel0DataReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x86\x01\n\x12\x46indLevel0DataResp\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\x1c.dfs.ifs.level0.Level0Record\"1\n\x10GetLevel0DataReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\"A\n\x11GetLevel0DataResp\x12,\n\x06record\x18\x01 \x01(\x0b\x32\x1c.dfs.ifs.level0.Level0Record\"B\n\x12WriteLevel0DataReq\x12,\n\x06record\x18\x01 \x01(\x0b\x32\x1c.dfs.ifs.level0.Level0Record\"r\n\x13WriteLevel0DataResp\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\x1c.dfs.ifs.level0.Level0Record\"C\n\x12UpdateQc0StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\"D\n\x13UpdateQc0StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"D\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \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\xbd\x03\n\tLevel0Srv\x12O\n\x04\x46ind\x12!.dfs.ifs.level0.FindLevel0DataReq\x1a\".dfs.ifs.level0.FindLevel0DataResp\"\x00\x12L\n\x03Get\x12 .dfs.ifs.level0.GetLevel0DataReq\x1a!.dfs.ifs.level0.GetLevel0DataResp\"\x00\x12R\n\x05Write\x12\".dfs.ifs.level0.WriteLevel0DataReq\x1a#.dfs.ifs.level0.WriteLevel0DataResp\"\x00\x12\\\n\x0fUpdateQc0Status\x12\".dfs.ifs.level0.UpdateQc0StatusReq\x1a#.dfs.ifs.level0.UpdateQc0StatusResp\"\x00\x12_\n\x10UpdateProcStatus\x12#.dfs.ifs.level0.UpdateProcStatusReq\x1a$.dfs.ifs.level0.UpdateProcStatusResp\"\x00\x42!Z\x1f\x63nlab.net/csst/proto/ifs/level0b\x06proto3')
, ,
dependencies=[common_dot_error__pb2.DESCRIPTOR,]) dependencies=[common_dot_error__pb2.DESCRIPTOR,])
...@@ -71,71 +71,78 @@ _LEVEL0RECORD = _descriptor.Descriptor( ...@@ -71,71 +71,78 @@ _LEVEL0RECORD = _descriptor.Descriptor(
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='obs_time', full_name='dfs.ifs.level0.Level0Record.obs_time', index=5, name='object_name', full_name='dfs.ifs.level0.Level0Record.object_name', index=5,
number=6, type=9, cpp_type=9, label=1, number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'), has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='exp_time', full_name='dfs.ifs.level0.Level0Record.exp_time', index=6, name='obs_time', full_name='dfs.ifs.level0.Level0Record.obs_time', index=6,
number=7, type=2, cpp_type=6, label=1, 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='exp_time', full_name='dfs.ifs.level0.Level0Record.exp_time', index=7,
number=8, type=2, cpp_type=6, label=1,
has_default_value=False, default_value=float(0), has_default_value=False, default_value=float(0),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='detector_status_id', full_name='dfs.ifs.level0.Level0Record.detector_status_id', index=7, name='detector_status_id', full_name='dfs.ifs.level0.Level0Record.detector_status_id', index=8,
number=8, type=3, cpp_type=2, label=1, number=9, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0, has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='filename', full_name='dfs.ifs.level0.Level0Record.filename', index=8, name='filename', full_name='dfs.ifs.level0.Level0Record.filename', index=9,
number=9, type=9, cpp_type=9, label=1, number=10, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'), has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='file_path', full_name='dfs.ifs.level0.Level0Record.file_path', index=9, name='file_path', full_name='dfs.ifs.level0.Level0Record.file_path', index=10,
number=10, type=9, cpp_type=9, label=1, number=11, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'), has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='qc0_status', full_name='dfs.ifs.level0.Level0Record.qc0_status', index=10, name='qc0_status', full_name='dfs.ifs.level0.Level0Record.qc0_status', index=11,
number=11, type=5, cpp_type=1, label=1, number=12, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0, has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='qc0_time', full_name='dfs.ifs.level0.Level0Record.qc0_time', index=11, name='qc0_time', full_name='dfs.ifs.level0.Level0Record.qc0_time', index=12,
number=12, type=9, cpp_type=9, label=1, number=13, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'), has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='prc_status', full_name='dfs.ifs.level0.Level0Record.prc_status', index=12, name='prc_status', full_name='dfs.ifs.level0.Level0Record.prc_status', index=13,
number=13, type=5, cpp_type=1, label=1, number=14, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0, has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='prc_time', full_name='dfs.ifs.level0.Level0Record.prc_time', index=13, name='prc_time', full_name='dfs.ifs.level0.Level0Record.prc_time', index=14,
number=14, type=9, cpp_type=9, label=1, number=15, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'), has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='create_time', full_name='dfs.ifs.level0.Level0Record.create_time', index=14, name='create_time', full_name='dfs.ifs.level0.Level0Record.create_time', index=15,
number=15, type=9, cpp_type=9, label=1, number=16, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'), has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
...@@ -153,7 +160,7 @@ _LEVEL0RECORD = _descriptor.Descriptor( ...@@ -153,7 +160,7 @@ _LEVEL0RECORD = _descriptor.Descriptor(
oneofs=[ oneofs=[
], ],
serialized_start=64, serialized_start=64,
serialized_end=362, serialized_end=383,
) )
...@@ -190,8 +197,8 @@ _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( ...@@ -190,8 +197,8 @@ _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
extension_ranges=[], extension_ranges=[],
oneofs=[ oneofs=[
], ],
serialized_start=643, serialized_start=685,
serialized_end=697, serialized_end=739,
) )
_FINDLEVEL0DATAREQ = _descriptor.Descriptor( _FINDLEVEL0DATAREQ = _descriptor.Descriptor(
...@@ -223,50 +230,57 @@ _FINDLEVEL0DATAREQ = _descriptor.Descriptor( ...@@ -223,50 +230,57 @@ _FINDLEVEL0DATAREQ = _descriptor.Descriptor(
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='exp_time_start', full_name='dfs.ifs.level0.FindLevel0DataReq.exp_time_start', index=3, name='object_name', full_name='dfs.ifs.level0.FindLevel0DataReq.object_name', index=3,
number=4, type=9, cpp_type=9, label=1, number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'), has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='exp_time_end', full_name='dfs.ifs.level0.FindLevel0DataReq.exp_time_end', index=4, name='exp_time_start', full_name='dfs.ifs.level0.FindLevel0DataReq.exp_time_start', index=4,
number=5, type=9, cpp_type=9, label=1, number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'), has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='qc0_status', full_name='dfs.ifs.level0.FindLevel0DataReq.qc0_status', index=5, name='exp_time_end', full_name='dfs.ifs.level0.FindLevel0DataReq.exp_time_end', index=5,
number=6, type=5, cpp_type=1, label=1, number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=0, has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='prc_status', full_name='dfs.ifs.level0.FindLevel0DataReq.prc_status', index=6, name='qc0_status', full_name='dfs.ifs.level0.FindLevel0DataReq.qc0_status', index=6,
number=7, type=5, cpp_type=1, label=1, number=7, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0, has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='file_name', full_name='dfs.ifs.level0.FindLevel0DataReq.file_name', index=7, name='prc_status', full_name='dfs.ifs.level0.FindLevel0DataReq.prc_status', index=7,
number=8, type=9, cpp_type=9, label=1, number=8, 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='file_name', full_name='dfs.ifs.level0.FindLevel0DataReq.file_name', index=8,
number=9, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'), has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='limit', full_name='dfs.ifs.level0.FindLevel0DataReq.limit', index=8, name='limit', full_name='dfs.ifs.level0.FindLevel0DataReq.limit', index=9,
number=9, type=5, cpp_type=1, label=1, number=10, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0, has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR), serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='other_conditions', full_name='dfs.ifs.level0.FindLevel0DataReq.other_conditions', index=9, name='other_conditions', full_name='dfs.ifs.level0.FindLevel0DataReq.other_conditions', index=10,
number=10, type=11, cpp_type=10, label=3, number=11, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[], has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None, is_extension=False, extension_scope=None,
...@@ -283,8 +297,8 @@ _FINDLEVEL0DATAREQ = _descriptor.Descriptor( ...@@ -283,8 +297,8 @@ _FINDLEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges=[], extension_ranges=[],
oneofs=[ oneofs=[
], ],
serialized_start=365, serialized_start=386,
serialized_end=697, serialized_end=739,
) )
...@@ -335,8 +349,8 @@ _FINDLEVEL0DATARESP = _descriptor.Descriptor( ...@@ -335,8 +349,8 @@ _FINDLEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges=[], extension_ranges=[],
oneofs=[ oneofs=[
], ],
serialized_start=700, serialized_start=742,
serialized_end=834, serialized_end=876,
) )
...@@ -373,8 +387,8 @@ _GETLEVEL0DATAREQ = _descriptor.Descriptor( ...@@ -373,8 +387,8 @@ _GETLEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges=[], extension_ranges=[],
oneofs=[ oneofs=[
], ],
serialized_start=836, serialized_start=878,
serialized_end=885, serialized_end=927,
) )
...@@ -404,8 +418,8 @@ _GETLEVEL0DATARESP = _descriptor.Descriptor( ...@@ -404,8 +418,8 @@ _GETLEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges=[], extension_ranges=[],
oneofs=[ oneofs=[
], ],
serialized_start=887, serialized_start=929,
serialized_end=952, serialized_end=994,
) )
...@@ -435,8 +449,8 @@ _WRITELEVEL0DATAREQ = _descriptor.Descriptor( ...@@ -435,8 +449,8 @@ _WRITELEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges=[], extension_ranges=[],
oneofs=[ oneofs=[
], ],
serialized_start=954, serialized_start=996,
serialized_end=1020, serialized_end=1062,
) )
...@@ -480,8 +494,8 @@ _WRITELEVEL0DATARESP = _descriptor.Descriptor( ...@@ -480,8 +494,8 @@ _WRITELEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges=[], extension_ranges=[],
oneofs=[ oneofs=[
], ],
serialized_start=1022, serialized_start=1064,
serialized_end=1136, serialized_end=1178,
) )
...@@ -525,8 +539,8 @@ _UPDATEQC0STATUSREQ = _descriptor.Descriptor( ...@@ -525,8 +539,8 @@ _UPDATEQC0STATUSREQ = _descriptor.Descriptor(
extension_ranges=[], extension_ranges=[],
oneofs=[ oneofs=[
], ],
serialized_start=1138, serialized_start=1180,
serialized_end=1205, serialized_end=1247,
) )
...@@ -563,8 +577,8 @@ _UPDATEQC0STATUSRESP = _descriptor.Descriptor( ...@@ -563,8 +577,8 @@ _UPDATEQC0STATUSRESP = _descriptor.Descriptor(
extension_ranges=[], extension_ranges=[],
oneofs=[ oneofs=[
], ],
serialized_start=1207, serialized_start=1249,
serialized_end=1275, serialized_end=1317,
) )
...@@ -608,8 +622,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor( ...@@ -608,8 +622,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges=[], extension_ranges=[],
oneofs=[ oneofs=[
], ],
serialized_start=1277, serialized_start=1319,
serialized_end=1345, serialized_end=1387,
) )
...@@ -646,8 +660,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor( ...@@ -646,8 +660,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges=[], extension_ranges=[],
oneofs=[ oneofs=[
], ],
serialized_start=1347, serialized_start=1389,
serialized_end=1416, serialized_end=1458,
) )
_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL0DATAREQ _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL0DATAREQ
...@@ -768,8 +782,8 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor( ...@@ -768,8 +782,8 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor(
file=DESCRIPTOR, file=DESCRIPTOR,
index=0, index=0,
serialized_options=None, serialized_options=None,
serialized_start=1419, serialized_start=1461,
serialized_end=1864, serialized_end=1906,
methods=[ methods=[
_descriptor.MethodDescriptor( _descriptor.MethodDescriptor(
name='Find', name='Find',
......
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from . import level2_pb2 as msc_dot_level2_dot_level2__pb2
class Level2SrvStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Find = channel.unary_unary(
'/dfs.msc.level2.Level2Srv/Find',
request_serializer=msc_dot_level2_dot_level2__pb2.FindLevel2Req.SerializeToString,
response_deserializer=msc_dot_level2_dot_level2__pb2.FindLevel2Resp.FromString,
)
self.FindCatalog = channel.unary_unary(
'/dfs.msc.level2.Level2Srv/FindCatalog',
request_serializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogReq.SerializeToString,
response_deserializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogResp.FromString,
)
self.Get = channel.unary_unary(
'/dfs.msc.level2.Level2Srv/Get',
request_serializer=msc_dot_level2_dot_level2__pb2.GetLevel2Req.SerializeToString,
response_deserializer=msc_dot_level2_dot_level2__pb2.GetLevel2Resp.FromString,
)
self.Write = channel.stream_unary(
'/dfs.msc.level2.Level2Srv/Write',
request_serializer=msc_dot_level2_dot_level2__pb2.WriteLevel2Req.SerializeToString,
response_deserializer=msc_dot_level2_dot_level2__pb2.WriteLevel2Resp.FromString,
)
self.UpdateQc2Status = channel.unary_unary(
'/dfs.msc.level2.Level2Srv/UpdateQc2Status',
request_serializer=msc_dot_level2_dot_level2__pb2.UpdateQc2StatusReq.SerializeToString,
response_deserializer=msc_dot_level2_dot_level2__pb2.UpdateQc2StatusResp.FromString,
)
self.UpdateProcStatus = channel.unary_unary(
'/dfs.msc.level2.Level2Srv/UpdateProcStatus',
request_serializer=msc_dot_level2_dot_level2__pb2.UpdateProcStatusReq.SerializeToString,
response_deserializer=msc_dot_level2_dot_level2__pb2.UpdateProcStatusResp.FromString,
)
class Level2SrvServicer(object):
# missing associated documentation comment in .proto file
pass
def Find(self, request, context):
# missing associated documentation comment in .proto file
pass
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def FindCatalog(self, request, context):
# missing associated documentation comment in .proto file
pass
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
pass
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
pass
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def UpdateQc2Status(self, request, context):
# missing associated documentation comment in .proto file
pass
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
pass
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_Level2SrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'Find': grpc.unary_unary_rpc_method_handler(
servicer.Find,
request_deserializer=msc_dot_level2_dot_level2__pb2.FindLevel2Req.FromString,
response_serializer=msc_dot_level2_dot_level2__pb2.FindLevel2Resp.SerializeToString,
),
'FindCatalog': grpc.unary_unary_rpc_method_handler(
servicer.FindCatalog,
request_deserializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogReq.FromString,
response_serializer=msc_dot_level2_dot_level2__pb2.FindLevel2CatalogResp.SerializeToString,
),
'Get': grpc.unary_unary_rpc_method_handler(
servicer.Get,
request_deserializer=msc_dot_level2_dot_level2__pb2.GetLevel2Req.FromString,
response_serializer=msc_dot_level2_dot_level2__pb2.GetLevel2Resp.SerializeToString,
),
'Write': grpc.stream_unary_rpc_method_handler(
servicer.Write,
request_deserializer=msc_dot_level2_dot_level2__pb2.WriteLevel2Req.FromString,
response_serializer=msc_dot_level2_dot_level2__pb2.WriteLevel2Resp.SerializeToString,
),
'UpdateQc2Status': grpc.unary_unary_rpc_method_handler(
servicer.UpdateQc2Status,
request_deserializer=msc_dot_level2_dot_level2__pb2.UpdateQc2StatusReq.FromString,
response_serializer=msc_dot_level2_dot_level2__pb2.UpdateQc2StatusResp.SerializeToString,
),
'UpdateProcStatus': grpc.unary_unary_rpc_method_handler(
servicer.UpdateProcStatus,
request_deserializer=msc_dot_level2_dot_level2__pb2.UpdateProcStatusReq.FromString,
response_serializer=msc_dot_level2_dot_level2__pb2.UpdateProcStatusResp.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'dfs.msc.level2.Level2Srv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from . import level2catalog_pb2 as msc_dot_level2catalog_dot_level2catalog__pb2
class Level2CatalogSrvStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Find = channel.unary_unary(
'/dfs.msc.level2catalog.Level2CatalogSrv/Find',
request_serializer=msc_dot_level2catalog_dot_level2catalog__pb2.FindLevel2CatalogReq.SerializeToString,
response_deserializer=msc_dot_level2catalog_dot_level2catalog__pb2.FindLevel2CatalogResp.FromString,
)
self.Write = channel.unary_unary(
'/dfs.msc.level2catalog.Level2CatalogSrv/Write',
request_serializer=msc_dot_level2catalog_dot_level2catalog__pb2.WriteLevel2CatalogReq.SerializeToString,
response_deserializer=msc_dot_level2catalog_dot_level2catalog__pb2.WriteLevel2CatalogResp.FromString,
)
class Level2CatalogSrvServicer(object):
# missing associated documentation comment in .proto file
pass
def Find(self, request, context):
# missing associated documentation comment in .proto file
pass
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Write(self, request, context):
# missing associated documentation comment in .proto file
pass
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_Level2CatalogSrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'Find': grpc.unary_unary_rpc_method_handler(
servicer.Find,
request_deserializer=msc_dot_level2catalog_dot_level2catalog__pb2.FindLevel2CatalogReq.FromString,
response_serializer=msc_dot_level2catalog_dot_level2catalog__pb2.FindLevel2CatalogResp.SerializeToString,
),
'Write': grpc.unary_unary_rpc_method_handler(
servicer.Write,
request_deserializer=msc_dot_level2catalog_dot_level2catalog__pb2.WriteLevel2CatalogReq.FromString,
response_serializer=msc_dot_level2catalog_dot_level2catalog__pb2.WriteLevel2CatalogResp.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'dfs.msc.level2catalog.Level2CatalogSrv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment