Commit 0984ca62 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

qc1->qc2

parent 66d96545
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
# Generated by the protocol buffer compiler. DO NOT EDIT! # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: sls/level2spectra/level2spectra.proto # source: sls/level2spectra/level2spectra.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 descriptor as _descriptor
from google.protobuf import message as _message from google.protobuf import message as _message
from google.protobuf import reflection as _reflection from google.protobuf import reflection as _reflection
...@@ -20,8 +18,8 @@ DESCRIPTOR = _descriptor.FileDescriptor( ...@@ -20,8 +18,8 @@ DESCRIPTOR = _descriptor.FileDescriptor(
name='sls/level2spectra/level2spectra.proto', name='sls/level2spectra/level2spectra.proto',
package='dfs.sls.level2spectra', package='dfs.sls.level2spectra',
syntax='proto3', syntax='proto3',
serialized_options=_b('Z&cnlab.net/csst/proto/sls/level2spectra'), serialized_options=b'Z&cnlab.net/csst/proto/sls/level2spectra',
serialized_pb=_b('\n%sls/level2spectra/level2spectra.proto\x12\x15\x64\x66s.sls.level2spectra\x1a\x12\x63ommon/error.proto\"\x86\x02\n\x13Level2spectraRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x12\n\nspectra_id\x18\x03 \x01(\t\x12\x11\n\tlevel1_id\x18\x04 \x01(\x03\x12\x0e\n\x06region\x18\x05 \x01(\t\x12\x10\n\x08\x66ilename\x18\x06 \x01(\t\x12\x11\n\tfile_path\x18\x07 \x01(\t\x12\x12\n\nqc1_status\x18\x08 \x01(\x05\x12\x10\n\x08qc1_time\x18\t \x01(\t\x12\x12\n\nprc_status\x18\n \x01(\x05\x12\x10\n\x08prc_time\x18\x0b \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x0c \x01(\t\x12\x13\n\x0bpipeline_id\x18\r \x01(\t\"\xe1\x02\n\x14\x46indLevel2spectraReq\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x12\n\nspectra_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\x12Z\n\x10other_conditions\x18\n \x03(\x0b\x32@.dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x97\x01\n\x15\x46indLevel2spectraResp\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*.dfs.sls.level2spectra.Level2spectraRecord\"!\n\x13GetLevel2spectraReq\x12\n\n\x02id\x18\x01 \x01(\x03\"R\n\x14GetLevel2spectraResp\x12:\n\x06record\x18\x01 \x01(\x0b\x32*.dfs.sls.level2spectra.Level2spectraRecord\"a\n\x15WriteLevel2spectraReq\x12:\n\x06record\x18\x01 \x01(\x0b\x32*.dfs.sls.level2spectra.Level2spectraRecord\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\x83\x01\n\x16WriteLevel2spectraResp\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*.dfs.sls.level2spectra.Level2spectraRecord\"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\x9e\x04\n\x10Level2spectraSrv\x12\x63\n\x04\x46ind\x12+.dfs.sls.level2spectra.FindLevel2spectraReq\x1a,.dfs.sls.level2spectra.FindLevel2spectraResp\"\x00\x12`\n\x03Get\x12*.dfs.sls.level2spectra.GetLevel2spectraReq\x1a+.dfs.sls.level2spectra.GetLevel2spectraResp\"\x00\x12h\n\x05Write\x12,.dfs.sls.level2spectra.WriteLevel2spectraReq\x1a-.dfs.sls.level2spectra.WriteLevel2spectraResp\"\x00(\x01\x12j\n\x0fUpdateQc1Status\x12).dfs.sls.level2spectra.UpdateQc1StatusReq\x1a*.dfs.sls.level2spectra.UpdateQc1StatusResp\"\x00\x12m\n\x10UpdateProcStatus\x12*.dfs.sls.level2spectra.UpdateProcStatusReq\x1a+.dfs.sls.level2spectra.UpdateProcStatusResp\"\x00\x42(Z&cnlab.net/csst/proto/sls/level2spectrab\x06proto3') serialized_pb=b'\n%sls/level2spectra/level2spectra.proto\x12\x15\x64\x66s.sls.level2spectra\x1a\x12\x63ommon/error.proto\"\x86\x02\n\x13Level2spectraRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x12\n\nspectra_id\x18\x03 \x01(\t\x12\x11\n\tlevel1_id\x18\x04 \x01(\x03\x12\x0e\n\x06region\x18\x05 \x01(\t\x12\x10\n\x08\x66ilename\x18\x06 \x01(\t\x12\x11\n\tfile_path\x18\x07 \x01(\t\x12\x12\n\nqc2_status\x18\x08 \x01(\x05\x12\x10\n\x08qc2_time\x18\t \x01(\t\x12\x12\n\nprc_status\x18\n \x01(\x05\x12\x10\n\x08prc_time\x18\x0b \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x0c \x01(\t\x12\x13\n\x0bpipeline_id\x18\r \x01(\t\"\xe1\x02\n\x14\x46indLevel2spectraReq\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x12\n\nspectra_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\nqc2_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\x12Z\n\x10other_conditions\x18\n \x03(\x0b\x32@.dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x97\x01\n\x15\x46indLevel2spectraResp\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*.dfs.sls.level2spectra.Level2spectraRecord\"!\n\x13GetLevel2spectraReq\x12\n\n\x02id\x18\x01 \x01(\x03\"R\n\x14GetLevel2spectraResp\x12:\n\x06record\x18\x01 \x01(\x0b\x32*.dfs.sls.level2spectra.Level2spectraRecord\"a\n\x15WriteLevel2spectraReq\x12:\n\x06record\x18\x01 \x01(\x0b\x32*.dfs.sls.level2spectra.Level2spectraRecord\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\x83\x01\n\x16WriteLevel2spectraResp\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*.dfs.sls.level2spectra.Level2spectraRecord\"0\n\x12UpdateQc2StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"D\n\x13UpdateQc2StatusResp\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\x9e\x04\n\x10Level2spectraSrv\x12\x63\n\x04\x46ind\x12+.dfs.sls.level2spectra.FindLevel2spectraReq\x1a,.dfs.sls.level2spectra.FindLevel2spectraResp\"\x00\x12`\n\x03Get\x12*.dfs.sls.level2spectra.GetLevel2spectraReq\x1a+.dfs.sls.level2spectra.GetLevel2spectraResp\"\x00\x12h\n\x05Write\x12,.dfs.sls.level2spectra.WriteLevel2spectraReq\x1a-.dfs.sls.level2spectra.WriteLevel2spectraResp\"\x00(\x01\x12j\n\x0fUpdateQc2Status\x12).dfs.sls.level2spectra.UpdateQc2StatusReq\x1a*.dfs.sls.level2spectra.UpdateQc2StatusResp\"\x00\x12m\n\x10UpdateProcStatus\x12*.dfs.sls.level2spectra.UpdateProcStatusReq\x1a+.dfs.sls.level2spectra.UpdateProcStatusResp\"\x00\x42(Z&cnlab.net/csst/proto/sls/level2spectrab\x06proto3'
, ,
dependencies=[common_dot_error__pb2.DESCRIPTOR,]) dependencies=[common_dot_error__pb2.DESCRIPTOR,])
...@@ -45,14 +43,14 @@ _LEVEL2SPECTRARECORD = _descriptor.Descriptor( ...@@ -45,14 +43,14 @@ _LEVEL2SPECTRARECORD = _descriptor.Descriptor(
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='level0_id', full_name='dfs.sls.level2spectra.Level2spectraRecord.level0_id', index=1, name='level0_id', full_name='dfs.sls.level2spectra.Level2spectraRecord.level0_id', index=1,
number=2, type=9, cpp_type=9, label=1, number=2, 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='spectra_id', full_name='dfs.sls.level2spectra.Level2spectraRecord.spectra_id', index=2, name='spectra_id', full_name='dfs.sls.level2spectra.Level2spectraRecord.spectra_id', index=2,
number=3, type=9, cpp_type=9, label=1, number=3, 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),
...@@ -66,35 +64,35 @@ _LEVEL2SPECTRARECORD = _descriptor.Descriptor( ...@@ -66,35 +64,35 @@ _LEVEL2SPECTRARECORD = _descriptor.Descriptor(
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='region', full_name='dfs.sls.level2spectra.Level2spectraRecord.region', index=4, name='region', full_name='dfs.sls.level2spectra.Level2spectraRecord.region', 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='filename', full_name='dfs.sls.level2spectra.Level2spectraRecord.filename', index=5, name='filename', full_name='dfs.sls.level2spectra.Level2spectraRecord.filename', 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='file_path', full_name='dfs.sls.level2spectra.Level2spectraRecord.file_path', index=6, name='file_path', full_name='dfs.sls.level2spectra.Level2spectraRecord.file_path', index=6,
number=7, type=9, cpp_type=9, label=1, number=7, 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='qc1_status', full_name='dfs.sls.level2spectra.Level2spectraRecord.qc1_status', index=7, name='qc2_status', full_name='dfs.sls.level2spectra.Level2spectraRecord.qc2_status', index=7,
number=8, type=5, cpp_type=1, label=1, number=8, 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='qc1_time', full_name='dfs.sls.level2spectra.Level2spectraRecord.qc1_time', index=8, name='qc2_time', full_name='dfs.sls.level2spectra.Level2spectraRecord.qc2_time', index=8,
number=9, type=9, cpp_type=9, label=1, 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),
...@@ -108,21 +106,21 @@ _LEVEL2SPECTRARECORD = _descriptor.Descriptor( ...@@ -108,21 +106,21 @@ _LEVEL2SPECTRARECORD = _descriptor.Descriptor(
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='prc_time', full_name='dfs.sls.level2spectra.Level2spectraRecord.prc_time', index=10, name='prc_time', full_name='dfs.sls.level2spectra.Level2spectraRecord.prc_time', index=10,
number=11, 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='create_time', full_name='dfs.sls.level2spectra.Level2spectraRecord.create_time', index=11, name='create_time', full_name='dfs.sls.level2spectra.Level2spectraRecord.create_time', index=11,
number=12, type=9, cpp_type=9, label=1, number=12, 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='pipeline_id', full_name='dfs.sls.level2spectra.Level2spectraRecord.pipeline_id', index=12, name='pipeline_id', full_name='dfs.sls.level2spectra.Level2spectraRecord.pipeline_id', index=12,
number=13, 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),
...@@ -153,14 +151,14 @@ _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( ...@@ -153,14 +151,14 @@ _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='key', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry.key', index=0, name='key', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry.key', index=0,
number=1, type=9, cpp_type=9, label=1, number=1, 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='value', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry.value', index=1, name='value', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry.value', index=1,
number=2, type=9, cpp_type=9, label=1, number=2, 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),
...@@ -170,7 +168,7 @@ _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( ...@@ -170,7 +168,7 @@ _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
nested_types=[], nested_types=[],
enum_types=[ enum_types=[
], ],
serialized_options=_b('8\001'), serialized_options=b'8\001',
is_extendable=False, is_extendable=False,
syntax='proto3', syntax='proto3',
extension_ranges=[], extension_ranges=[],
...@@ -190,7 +188,7 @@ _FINDLEVEL2SPECTRAREQ = _descriptor.Descriptor( ...@@ -190,7 +188,7 @@ _FINDLEVEL2SPECTRAREQ = _descriptor.Descriptor(
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='level0_id', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.level0_id', index=0, name='level0_id', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.level0_id', index=0,
number=1, type=9, cpp_type=9, label=1, number=1, 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),
...@@ -204,26 +202,26 @@ _FINDLEVEL2SPECTRAREQ = _descriptor.Descriptor( ...@@ -204,26 +202,26 @@ _FINDLEVEL2SPECTRAREQ = _descriptor.Descriptor(
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='spectra_id', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.spectra_id', index=2, name='spectra_id', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.spectra_id', index=2,
number=3, type=9, cpp_type=9, label=1, number=3, 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_start', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.create_time_start', index=3, name='create_time_start', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.create_time_start', 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='create_time_end', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.create_time_end', index=4, name='create_time_end', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.create_time_end', 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='qc1_status', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.qc1_status', index=5, name='qc2_status', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.qc2_status', index=5,
number=6, type=5, cpp_type=1, label=1, number=6, 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,
...@@ -239,7 +237,7 @@ _FINDLEVEL2SPECTRAREQ = _descriptor.Descriptor( ...@@ -239,7 +237,7 @@ _FINDLEVEL2SPECTRAREQ = _descriptor.Descriptor(
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='filename', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.filename', index=7, name='filename', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.filename', index=7,
number=8, type=9, cpp_type=9, label=1, number=8, 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),
...@@ -405,7 +403,7 @@ _WRITELEVEL2SPECTRAREQ = _descriptor.Descriptor( ...@@ -405,7 +403,7 @@ _WRITELEVEL2SPECTRAREQ = _descriptor.Descriptor(
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='data', full_name='dfs.sls.level2spectra.WriteLevel2spectraReq.data', index=1, name='data', full_name='dfs.sls.level2spectra.WriteLevel2spectraReq.data', index=1,
number=2, type=12, cpp_type=9, label=1, number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""), has_default_value=False, default_value=b"",
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),
...@@ -471,22 +469,22 @@ _WRITELEVEL2SPECTRARESP = _descriptor.Descriptor( ...@@ -471,22 +469,22 @@ _WRITELEVEL2SPECTRARESP = _descriptor.Descriptor(
) )
_UPDATEQC1STATUSREQ = _descriptor.Descriptor( _UPDATEQC2STATUSREQ = _descriptor.Descriptor(
name='UpdateQc1StatusReq', name='UpdateQc2StatusReq',
full_name='dfs.sls.level2spectra.UpdateQc1StatusReq', full_name='dfs.sls.level2spectra.UpdateQc2StatusReq',
filename=None, filename=None,
file=DESCRIPTOR, file=DESCRIPTOR,
containing_type=None, containing_type=None,
fields=[ fields=[
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='id', full_name='dfs.sls.level2spectra.UpdateQc1StatusReq.id', index=0, name='id', full_name='dfs.sls.level2spectra.UpdateQc2StatusReq.id', index=0,
number=1, type=3, cpp_type=2, label=1, number=1, 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='status', full_name='dfs.sls.level2spectra.UpdateQc1StatusReq.status', index=1, name='status', full_name='dfs.sls.level2spectra.UpdateQc2StatusReq.status', index=1,
number=2, type=5, cpp_type=1, label=1, number=2, 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,
...@@ -509,22 +507,22 @@ _UPDATEQC1STATUSREQ = _descriptor.Descriptor( ...@@ -509,22 +507,22 @@ _UPDATEQC1STATUSREQ = _descriptor.Descriptor(
) )
_UPDATEQC1STATUSRESP = _descriptor.Descriptor( _UPDATEQC2STATUSRESP = _descriptor.Descriptor(
name='UpdateQc1StatusResp', name='UpdateQc2StatusResp',
full_name='dfs.sls.level2spectra.UpdateQc1StatusResp', full_name='dfs.sls.level2spectra.UpdateQc2StatusResp',
filename=None, filename=None,
file=DESCRIPTOR, file=DESCRIPTOR,
containing_type=None, containing_type=None,
fields=[ fields=[
_descriptor.FieldDescriptor( _descriptor.FieldDescriptor(
name='success', full_name='dfs.sls.level2spectra.UpdateQc1StatusResp.success', index=0, name='success', full_name='dfs.sls.level2spectra.UpdateQc2StatusResp.success', index=0,
number=1, type=8, cpp_type=7, label=1, number=1, type=8, cpp_type=7, label=1,
has_default_value=False, default_value=False, has_default_value=False, default_value=False,
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='error', full_name='dfs.sls.level2spectra.UpdateQc1StatusResp.error', index=1, name='error', full_name='dfs.sls.level2spectra.UpdateQc2StatusResp.error', index=1,
number=2, type=11, cpp_type=10, label=1, number=2, type=11, cpp_type=10, label=1,
has_default_value=False, default_value=None, has_default_value=False, default_value=None,
message_type=None, enum_type=None, containing_type=None, message_type=None, enum_type=None, containing_type=None,
...@@ -630,7 +628,7 @@ _GETLEVEL2SPECTRARESP.fields_by_name['record'].message_type = _LEVEL2SPECTRARECO ...@@ -630,7 +628,7 @@ _GETLEVEL2SPECTRARESP.fields_by_name['record'].message_type = _LEVEL2SPECTRARECO
_WRITELEVEL2SPECTRAREQ.fields_by_name['record'].message_type = _LEVEL2SPECTRARECORD _WRITELEVEL2SPECTRAREQ.fields_by_name['record'].message_type = _LEVEL2SPECTRARECORD
_WRITELEVEL2SPECTRARESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR _WRITELEVEL2SPECTRARESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_WRITELEVEL2SPECTRARESP.fields_by_name['record'].message_type = _LEVEL2SPECTRARECORD _WRITELEVEL2SPECTRARESP.fields_by_name['record'].message_type = _LEVEL2SPECTRARECORD
_UPDATEQC1STATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR _UPDATEQC2STATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_UPDATEPROCSTATUSRESP.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['Level2spectraRecord'] = _LEVEL2SPECTRARECORD DESCRIPTOR.message_types_by_name['Level2spectraRecord'] = _LEVEL2SPECTRARECORD
DESCRIPTOR.message_types_by_name['FindLevel2spectraReq'] = _FINDLEVEL2SPECTRAREQ DESCRIPTOR.message_types_by_name['FindLevel2spectraReq'] = _FINDLEVEL2SPECTRAREQ
...@@ -639,8 +637,8 @@ DESCRIPTOR.message_types_by_name['GetLevel2spectraReq'] = _GETLEVEL2SPECTRAREQ ...@@ -639,8 +637,8 @@ DESCRIPTOR.message_types_by_name['GetLevel2spectraReq'] = _GETLEVEL2SPECTRAREQ
DESCRIPTOR.message_types_by_name['GetLevel2spectraResp'] = _GETLEVEL2SPECTRARESP DESCRIPTOR.message_types_by_name['GetLevel2spectraResp'] = _GETLEVEL2SPECTRARESP
DESCRIPTOR.message_types_by_name['WriteLevel2spectraReq'] = _WRITELEVEL2SPECTRAREQ DESCRIPTOR.message_types_by_name['WriteLevel2spectraReq'] = _WRITELEVEL2SPECTRAREQ
DESCRIPTOR.message_types_by_name['WriteLevel2spectraResp'] = _WRITELEVEL2SPECTRARESP DESCRIPTOR.message_types_by_name['WriteLevel2spectraResp'] = _WRITELEVEL2SPECTRARESP
DESCRIPTOR.message_types_by_name['UpdateQc1StatusReq'] = _UPDATEQC1STATUSREQ DESCRIPTOR.message_types_by_name['UpdateQc2StatusReq'] = _UPDATEQC2STATUSREQ
DESCRIPTOR.message_types_by_name['UpdateQc1StatusResp'] = _UPDATEQC1STATUSRESP DESCRIPTOR.message_types_by_name['UpdateQc2StatusResp'] = _UPDATEQC2STATUSRESP
DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ
DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP
_sym_db.RegisterFileDescriptor(DESCRIPTOR) _sym_db.RegisterFileDescriptor(DESCRIPTOR)
...@@ -702,19 +700,19 @@ WriteLevel2spectraResp = _reflection.GeneratedProtocolMessageType('WriteLevel2sp ...@@ -702,19 +700,19 @@ WriteLevel2spectraResp = _reflection.GeneratedProtocolMessageType('WriteLevel2sp
}) })
_sym_db.RegisterMessage(WriteLevel2spectraResp) _sym_db.RegisterMessage(WriteLevel2spectraResp)
UpdateQc1StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc1StatusReq', (_message.Message,), { UpdateQc2StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc2StatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEQC1STATUSREQ, 'DESCRIPTOR' : _UPDATEQC2STATUSREQ,
'__module__' : 'sls.level2spectra.level2spectra_pb2' '__module__' : 'sls.level2spectra.level2spectra_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.UpdateQc1StatusReq) # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.UpdateQc2StatusReq)
}) })
_sym_db.RegisterMessage(UpdateQc1StatusReq) _sym_db.RegisterMessage(UpdateQc2StatusReq)
UpdateQc1StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc1StatusResp', (_message.Message,), { UpdateQc2StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc2StatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEQC1STATUSRESP, 'DESCRIPTOR' : _UPDATEQC2STATUSRESP,
'__module__' : 'sls.level2spectra.level2spectra_pb2' '__module__' : 'sls.level2spectra.level2spectra_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.UpdateQc1StatusResp) # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.UpdateQc2StatusResp)
}) })
_sym_db.RegisterMessage(UpdateQc1StatusResp) _sym_db.RegisterMessage(UpdateQc2StatusResp)
UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), { UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSREQ, 'DESCRIPTOR' : _UPDATEPROCSTATUSREQ,
...@@ -771,12 +769,12 @@ _LEVEL2SPECTRASRV = _descriptor.ServiceDescriptor( ...@@ -771,12 +769,12 @@ _LEVEL2SPECTRASRV = _descriptor.ServiceDescriptor(
serialized_options=None, serialized_options=None,
), ),
_descriptor.MethodDescriptor( _descriptor.MethodDescriptor(
name='UpdateQc1Status', name='UpdateQc2Status',
full_name='dfs.sls.level2spectra.Level2spectraSrv.UpdateQc1Status', full_name='dfs.sls.level2spectra.Level2spectraSrv.UpdateQc2Status',
index=3, index=3,
containing_service=None, containing_service=None,
input_type=_UPDATEQC1STATUSREQ, input_type=_UPDATEQC2STATUSREQ,
output_type=_UPDATEQC1STATUSRESP, output_type=_UPDATEQC2STATUSRESP,
serialized_options=None, serialized_options=None,
), ),
_descriptor.MethodDescriptor( _descriptor.MethodDescriptor(
......
...@@ -5,110 +5,188 @@ from . import level2spectra_pb2 as sls_dot_level2spectra_dot_level2spectra__pb2 ...@@ -5,110 +5,188 @@ from . import level2spectra_pb2 as sls_dot_level2spectra_dot_level2spectra__pb2
class Level2spectraSrvStub(object): class Level2spectraSrvStub(object):
# missing associated documentation comment in .proto file """Missing associated documentation comment in .proto file"""
pass
def __init__(self, channel):
def __init__(self, channel): """Constructor.
"""Constructor.
Args:
Args: channel: A grpc.Channel.
channel: A grpc.Channel. """
""" self.Find = channel.unary_unary(
self.Find = channel.unary_unary( '/dfs.sls.level2spectra.Level2spectraSrv/Find',
'/dfs.sls.level2spectra.Level2spectraSrv/Find', request_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraReq.SerializeToString,
request_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraReq.SerializeToString, response_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraResp.FromString,
response_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraResp.FromString, )
) self.Get = channel.unary_unary(
self.Get = channel.unary_unary( '/dfs.sls.level2spectra.Level2spectraSrv/Get',
'/dfs.sls.level2spectra.Level2spectraSrv/Get', request_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraReq.SerializeToString,
request_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraReq.SerializeToString, response_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraResp.FromString,
response_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraResp.FromString, )
) self.Write = channel.stream_unary(
self.Write = channel.stream_unary( '/dfs.sls.level2spectra.Level2spectraSrv/Write',
'/dfs.sls.level2spectra.Level2spectraSrv/Write', request_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraReq.SerializeToString,
request_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraReq.SerializeToString, response_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraResp.FromString,
response_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraResp.FromString, )
) self.UpdateQc2Status = channel.unary_unary(
self.UpdateQc1Status = channel.unary_unary( '/dfs.sls.level2spectra.Level2spectraSrv/UpdateQc2Status',
'/dfs.sls.level2spectra.Level2spectraSrv/UpdateQc1Status', request_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc2StatusReq.SerializeToString,
request_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc1StatusReq.SerializeToString, response_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc2StatusResp.FromString,
response_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc1StatusResp.FromString, )
) self.UpdateProcStatus = channel.unary_unary(
self.UpdateProcStatus = channel.unary_unary( '/dfs.sls.level2spectra.Level2spectraSrv/UpdateProcStatus',
'/dfs.sls.level2spectra.Level2spectraSrv/UpdateProcStatus', request_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusReq.SerializeToString,
request_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusReq.SerializeToString, response_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusResp.FromString,
response_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusResp.FromString, )
)
class Level2spectraSrvServicer(object): class Level2spectraSrvServicer(object):
# missing associated documentation comment in .proto file """Missing associated documentation comment in .proto file"""
pass
def Find(self, request, context):
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)
pass context.set_details('Method not implemented!')
context.set_code(grpc.StatusCode.UNIMPLEMENTED) raise NotImplementedError('Method not implemented!')
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!') def Get(self, request, context):
"""Missing associated documentation comment in .proto file"""
def Get(self, request, context): context.set_code(grpc.StatusCode.UNIMPLEMENTED)
# missing associated documentation comment in .proto file context.set_details('Method not implemented!')
pass raise NotImplementedError('Method not implemented!')
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!') def Write(self, request_iterator, context):
raise NotImplementedError('Method not implemented!') """Missing associated documentation comment in .proto file"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
def Write(self, request_iterator, context): context.set_details('Method not implemented!')
# missing associated documentation comment in .proto file raise NotImplementedError('Method not implemented!')
pass
context.set_code(grpc.StatusCode.UNIMPLEMENTED) def UpdateQc2Status(self, request, context):
context.set_details('Method not implemented!') """Missing associated documentation comment in .proto file"""
raise NotImplementedError('Method not implemented!') context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
def UpdateQc1Status(self, request, context): raise NotImplementedError('Method not implemented!')
# missing associated documentation comment in .proto file
pass def UpdateProcStatus(self, request, context):
context.set_code(grpc.StatusCode.UNIMPLEMENTED) """Missing associated documentation comment in .proto file"""
context.set_details('Method not implemented!') context.set_code(grpc.StatusCode.UNIMPLEMENTED)
raise NotImplementedError('Method not implemented!') 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_Level2spectraSrvServicer_to_server(servicer, server): def add_Level2spectraSrvServicer_to_server(servicer, server):
rpc_method_handlers = { rpc_method_handlers = {
'Find': grpc.unary_unary_rpc_method_handler( 'Find': grpc.unary_unary_rpc_method_handler(
servicer.Find, servicer.Find,
request_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraReq.FromString, request_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraReq.FromString,
response_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraResp.SerializeToString, response_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraResp.SerializeToString,
), ),
'Get': grpc.unary_unary_rpc_method_handler( 'Get': grpc.unary_unary_rpc_method_handler(
servicer.Get, servicer.Get,
request_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraReq.FromString, request_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraReq.FromString,
response_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraResp.SerializeToString, response_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraResp.SerializeToString,
), ),
'Write': grpc.stream_unary_rpc_method_handler( 'Write': grpc.stream_unary_rpc_method_handler(
servicer.Write, servicer.Write,
request_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraReq.FromString, request_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraReq.FromString,
response_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraResp.SerializeToString, response_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraResp.SerializeToString,
), ),
'UpdateQc1Status': grpc.unary_unary_rpc_method_handler( 'UpdateQc2Status': grpc.unary_unary_rpc_method_handler(
servicer.UpdateQc1Status, servicer.UpdateQc2Status,
request_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc1StatusReq.FromString, request_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc2StatusReq.FromString,
response_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc1StatusResp.SerializeToString, response_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc2StatusResp.SerializeToString,
), ),
'UpdateProcStatus': grpc.unary_unary_rpc_method_handler( 'UpdateProcStatus': grpc.unary_unary_rpc_method_handler(
servicer.UpdateProcStatus, servicer.UpdateProcStatus,
request_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusReq.FromString, request_deserializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusReq.FromString,
response_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusResp.SerializeToString, response_serializer=sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusResp.SerializeToString,
), ),
} }
generic_handler = grpc.method_handlers_generic_handler( generic_handler = grpc.method_handlers_generic_handler(
'dfs.sls.level2spectra.Level2spectraSrv', rpc_method_handlers) 'dfs.sls.level2spectra.Level2spectraSrv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,)) server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class Level2spectraSrv(object):
"""Missing associated documentation comment in .proto file"""
@staticmethod
def Find(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/dfs.sls.level2spectra.Level2spectraSrv/Find',
sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraReq.SerializeToString,
sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Get(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/dfs.sls.level2spectra.Level2spectraSrv/Get',
sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraReq.SerializeToString,
sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Write(request_iterator,
target,
options=(),
channel_credentials=None,
call_credentials=None,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.stream_unary(request_iterator, target, '/dfs.sls.level2spectra.Level2spectraSrv/Write',
sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraReq.SerializeToString,
sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def UpdateQc2Status(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/dfs.sls.level2spectra.Level2spectraSrv/UpdateQc2Status',
sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc2StatusReq.SerializeToString,
sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc2StatusResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def UpdateProcStatus(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/dfs.sls.level2spectra.Level2spectraSrv/UpdateProcStatus',
sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusReq.SerializeToString,
sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
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