Commit 66d96545 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

rm module level1

parent 5c953105
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ifs/level1prc/level1prc.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from ...common import error_pb2 as common_dot_error__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='ifs/level1prc/level1prc.proto',
package='dfs.ifs.level1prc',
syntax='proto3',
serialized_options=_b('Z\"cnlab.net/csst/proto/ifs/level1prc'),
serialized_pb=_b('\n\x1difs/level1prc/level1prc.proto\x12\x11\x64\x66s.ifs.level1prc\x1a\x12\x63ommon/error.proto\"\xb3\x01\n\x0fLevel1PrcRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x13\n\x0bpipeline_id\x18\x03 \x01(\t\x12\x12\n\nprc_module\x18\x04 \x01(\t\x12\x18\n\x10params_file_path\x18\x05 \x01(\t\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\x10\n\x08prc_time\x18\x07 \x01(\t\x12\x18\n\x10result_file_path\x18\x08 \x01(\t\"\xee\x01\n\x10\x46indLevel1PrcReq\x12\x11\n\tlevel1_id\x18\x01 \x01(\x03\x12\x13\n\x0bpipeline_id\x18\x02 \x01(\t\x12\x12\n\nprc_module\x18\x03 \x01(\t\x12\x12\n\nprc_status\x18\x04 \x01(\x05\x12R\n\x10other_conditions\x18\x05 \x03(\x0b\x32\x38.dfs.ifs.level1prc.FindLevel1PrcReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8b\x01\n\x11\x46indLevel1PrcResp\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\x33\n\x07records\x18\x04 \x03(\x0b\x32\".dfs.ifs.level1prc.Level1PrcRecord\"G\n\x11WriteLevel1PrcReq\x12\x32\n\x06record\x18\x01 \x01(\x0b\x32\".dfs.ifs.level1prc.Level1PrcRecord\"w\n\x12WriteLevel1PrcResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x32\n\x06record\x18\x03 \x01(\x0b\x32\".dfs.ifs.level1prc.Level1PrcRecord\"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\xa2\x02\n\x0cLevel1PrcSrv\x12S\n\x04\x46ind\x12#.dfs.ifs.level1prc.FindLevel1PrcReq\x1a$.dfs.ifs.level1prc.FindLevel1PrcResp\"\x00\x12V\n\x05Write\x12$.dfs.ifs.level1prc.WriteLevel1PrcReq\x1a%.dfs.ifs.level1prc.WriteLevel1PrcResp\"\x00\x12\x65\n\x10UpdateProcStatus\x12&.dfs.ifs.level1prc.UpdateProcStatusReq\x1a\'.dfs.ifs.level1prc.UpdateProcStatusResp\"\x00\x42$Z\"cnlab.net/csst/proto/ifs/level1prcb\x06proto3')
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
_LEVEL1PRCRECORD = _descriptor.Descriptor(
name='Level1PrcRecord',
full_name='dfs.ifs.level1prc.Level1PrcRecord',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.ifs.level1prc.Level1PrcRecord.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='level1_id', full_name='dfs.ifs.level1prc.Level1PrcRecord.level1_id', index=1,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='pipeline_id', full_name='dfs.ifs.level1prc.Level1PrcRecord.pipeline_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='prc_module', full_name='dfs.ifs.level1prc.Level1PrcRecord.prc_module', 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='params_file_path', full_name='dfs.ifs.level1prc.Level1PrcRecord.params_file_path', 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_status', full_name='dfs.ifs.level1prc.Level1PrcRecord.prc_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_time', full_name='dfs.ifs.level1prc.Level1PrcRecord.prc_time', 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='result_file_path', full_name='dfs.ifs.level1prc.Level1PrcRecord.result_file_path', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=73,
serialized_end=252,
)
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
name='OtherConditionsEntry',
full_name='dfs.ifs.level1prc.FindLevel1PrcReq.OtherConditionsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='dfs.ifs.level1prc.FindLevel1PrcReq.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.ifs.level1prc.FindLevel1PrcReq.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=439,
serialized_end=493,
)
_FINDLEVEL1PRCREQ = _descriptor.Descriptor(
name='FindLevel1PrcReq',
full_name='dfs.ifs.level1prc.FindLevel1PrcReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='level1_id', full_name='dfs.ifs.level1prc.FindLevel1PrcReq.level1_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='pipeline_id', full_name='dfs.ifs.level1prc.FindLevel1PrcReq.pipeline_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='prc_module', full_name='dfs.ifs.level1prc.FindLevel1PrcReq.prc_module', 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='prc_status', full_name='dfs.ifs.level1prc.FindLevel1PrcReq.prc_status', index=3,
number=4, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='other_conditions', full_name='dfs.ifs.level1prc.FindLevel1PrcReq.other_conditions', index=4,
number=5, 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=[_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=255,
serialized_end=493,
)
_FINDLEVEL1PRCRESP = _descriptor.Descriptor(
name='FindLevel1PrcResp',
full_name='dfs.ifs.level1prc.FindLevel1PrcResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.ifs.level1prc.FindLevel1PrcResp.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.ifs.level1prc.FindLevel1PrcResp.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.ifs.level1prc.FindLevel1PrcResp.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.ifs.level1prc.FindLevel1PrcResp.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=496,
serialized_end=635,
)
_WRITELEVEL1PRCREQ = _descriptor.Descriptor(
name='WriteLevel1PrcReq',
full_name='dfs.ifs.level1prc.WriteLevel1PrcReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='record', full_name='dfs.ifs.level1prc.WriteLevel1PrcReq.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=637,
serialized_end=708,
)
_WRITELEVEL1PRCRESP = _descriptor.Descriptor(
name='WriteLevel1PrcResp',
full_name='dfs.ifs.level1prc.WriteLevel1PrcResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.ifs.level1prc.WriteLevel1PrcResp.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.ifs.level1prc.WriteLevel1PrcResp.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.ifs.level1prc.WriteLevel1PrcResp.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=710,
serialized_end=829,
)
_UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
name='UpdateProcStatusReq',
full_name='dfs.ifs.level1prc.UpdateProcStatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.ifs.level1prc.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.ifs.level1prc.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=831,
serialized_end=880,
)
_UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
name='UpdateProcStatusResp',
full_name='dfs.ifs.level1prc.UpdateProcStatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.ifs.level1prc.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.ifs.level1prc.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=882,
serialized_end=951,
)
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL1PRCREQ
_FINDLEVEL1PRCREQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
_FINDLEVEL1PRCRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_FINDLEVEL1PRCRESP.fields_by_name['records'].message_type = _LEVEL1PRCRECORD
_WRITELEVEL1PRCREQ.fields_by_name['record'].message_type = _LEVEL1PRCRECORD
_WRITELEVEL1PRCRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_WRITELEVEL1PRCRESP.fields_by_name['record'].message_type = _LEVEL1PRCRECORD
_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
DESCRIPTOR.message_types_by_name['Level1PrcRecord'] = _LEVEL1PRCRECORD
DESCRIPTOR.message_types_by_name['FindLevel1PrcReq'] = _FINDLEVEL1PRCREQ
DESCRIPTOR.message_types_by_name['FindLevel1PrcResp'] = _FINDLEVEL1PRCRESP
DESCRIPTOR.message_types_by_name['WriteLevel1PrcReq'] = _WRITELEVEL1PRCREQ
DESCRIPTOR.message_types_by_name['WriteLevel1PrcResp'] = _WRITELEVEL1PRCRESP
DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ
DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Level1PrcRecord = _reflection.GeneratedProtocolMessageType('Level1PrcRecord', (_message.Message,), {
'DESCRIPTOR' : _LEVEL1PRCRECORD,
'__module__' : 'ifs.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.ifs.level1prc.Level1PrcRecord)
})
_sym_db.RegisterMessage(Level1PrcRecord)
FindLevel1PrcReq = _reflection.GeneratedProtocolMessageType('FindLevel1PrcReq', (_message.Message,), {
'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), {
'DESCRIPTOR' : _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY,
'__module__' : 'ifs.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.ifs.level1prc.FindLevel1PrcReq.OtherConditionsEntry)
})
,
'DESCRIPTOR' : _FINDLEVEL1PRCREQ,
'__module__' : 'ifs.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.ifs.level1prc.FindLevel1PrcReq)
})
_sym_db.RegisterMessage(FindLevel1PrcReq)
_sym_db.RegisterMessage(FindLevel1PrcReq.OtherConditionsEntry)
FindLevel1PrcResp = _reflection.GeneratedProtocolMessageType('FindLevel1PrcResp', (_message.Message,), {
'DESCRIPTOR' : _FINDLEVEL1PRCRESP,
'__module__' : 'ifs.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.ifs.level1prc.FindLevel1PrcResp)
})
_sym_db.RegisterMessage(FindLevel1PrcResp)
WriteLevel1PrcReq = _reflection.GeneratedProtocolMessageType('WriteLevel1PrcReq', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL1PRCREQ,
'__module__' : 'ifs.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.ifs.level1prc.WriteLevel1PrcReq)
})
_sym_db.RegisterMessage(WriteLevel1PrcReq)
WriteLevel1PrcResp = _reflection.GeneratedProtocolMessageType('WriteLevel1PrcResp', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL1PRCRESP,
'__module__' : 'ifs.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.ifs.level1prc.WriteLevel1PrcResp)
})
_sym_db.RegisterMessage(WriteLevel1PrcResp)
UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSREQ,
'__module__' : 'ifs.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.ifs.level1prc.UpdateProcStatusReq)
})
_sym_db.RegisterMessage(UpdateProcStatusReq)
UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSRESP,
'__module__' : 'ifs.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.ifs.level1prc.UpdateProcStatusResp)
})
_sym_db.RegisterMessage(UpdateProcStatusResp)
DESCRIPTOR._options = None
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY._options = None
_LEVEL1PRCSRV = _descriptor.ServiceDescriptor(
name='Level1PrcSrv',
full_name='dfs.ifs.level1prc.Level1PrcSrv',
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=954,
serialized_end=1244,
methods=[
_descriptor.MethodDescriptor(
name='Find',
full_name='dfs.ifs.level1prc.Level1PrcSrv.Find',
index=0,
containing_service=None,
input_type=_FINDLEVEL1PRCREQ,
output_type=_FINDLEVEL1PRCRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Write',
full_name='dfs.ifs.level1prc.Level1PrcSrv.Write',
index=1,
containing_service=None,
input_type=_WRITELEVEL1PRCREQ,
output_type=_WRITELEVEL1PRCRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='UpdateProcStatus',
full_name='dfs.ifs.level1prc.Level1PrcSrv.UpdateProcStatus',
index=2,
containing_service=None,
input_type=_UPDATEPROCSTATUSREQ,
output_type=_UPDATEPROCSTATUSRESP,
serialized_options=None,
),
])
_sym_db.RegisterServiceDescriptor(_LEVEL1PRCSRV)
DESCRIPTOR.services_by_name['Level1PrcSrv'] = _LEVEL1PRCSRV
# @@protoc_insertion_point(module_scope)
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from . import level1prc_pb2 as ifs_dot_level1prc_dot_level1prc__pb2
class Level1PrcSrvStub(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.ifs.level1prc.Level1PrcSrv/Find',
request_serializer=ifs_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcReq.SerializeToString,
response_deserializer=ifs_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcResp.FromString,
)
self.Write = channel.unary_unary(
'/dfs.ifs.level1prc.Level1PrcSrv/Write',
request_serializer=ifs_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcReq.SerializeToString,
response_deserializer=ifs_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcResp.FromString,
)
self.UpdateProcStatus = channel.unary_unary(
'/dfs.ifs.level1prc.Level1PrcSrv/UpdateProcStatus',
request_serializer=ifs_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusReq.SerializeToString,
response_deserializer=ifs_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusResp.FromString,
)
class Level1PrcSrvServicer(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 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_Level1PrcSrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'Find': grpc.unary_unary_rpc_method_handler(
servicer.Find,
request_deserializer=ifs_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcReq.FromString,
response_serializer=ifs_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcResp.SerializeToString,
),
'Write': grpc.unary_unary_rpc_method_handler(
servicer.Write,
request_deserializer=ifs_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcReq.FromString,
response_serializer=ifs_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcResp.SerializeToString,
),
'UpdateProcStatus': grpc.unary_unary_rpc_method_handler(
servicer.UpdateProcStatus,
request_deserializer=ifs_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusReq.FromString,
response_serializer=ifs_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusResp.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'dfs.ifs.level1prc.Level1PrcSrv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mci/level1/level1.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from ...common import error_pb2 as common_dot_error__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='mci/level1/level1.proto',
package='dfs.mci.level1',
syntax='proto3',
serialized_options=b'Z\037cnlab.net/csst/proto/mci/level1',
serialized_pb=b'\n\x17mci/level1/level1.proto\x12\x0e\x64\x66s.mci.level1\x1a\x12\x63ommon/error.proto\"\xe6\x02\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\x12\n\nprc_params\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\x12\x34\n\x04refs\x18\x0e \x03(\x0b\x32&.dfs.mci.level1.Level1Record.RefsEntry\x1a+\n\tRefsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"\xb8\x02\n\rFindLevel1Req\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x19\n\x11\x63reate_time_start\x18\x03 \x01(\t\x12\x17\n\x0f\x63reate_time_end\x18\x04 \x01(\t\x12\x12\n\nqc1_status\x18\x05 \x01(\x05\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\x10\n\x08\x66ilename\x18\x07 \x01(\t\x12\r\n\x05limit\x18\x08 \x01(\x05\x12L\n\x10other_conditions\x18\t \x03(\x0b\x32\x32.dfs.mci.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\"\x82\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-\n\x07records\x18\x04 \x03(\x0b\x32\x1c.dfs.mci.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\"=\n\rGetLevel1Resp\x12,\n\x06record\x18\x01 \x01(\x0b\x32\x1c.dfs.mci.level1.Level1Record\"L\n\x0eWriteLevel1Req\x12,\n\x06record\x18\x01 \x01(\x0b\x32\x1c.dfs.mci.level1.Level1Record\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"n\n\x0fWriteLevel1Resp\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.mci.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\xa7\x03\n\tLevel1Srv\x12G\n\x04\x46ind\x12\x1d.dfs.mci.level1.FindLevel1Req\x1a\x1e.dfs.mci.level1.FindLevel1Resp\"\x00\x12\x44\n\x03Get\x12\x1c.dfs.mci.level1.GetLevel1Req\x1a\x1d.dfs.mci.level1.GetLevel1Resp\"\x00\x12L\n\x05Write\x12\x1e.dfs.mci.level1.WriteLevel1Req\x1a\x1f.dfs.mci.level1.WriteLevel1Resp\"\x00(\x01\x12\\\n\x0fUpdateQc1Status\x12\".dfs.mci.level1.UpdateQc1StatusReq\x1a#.dfs.mci.level1.UpdateQc1StatusResp\"\x00\x12_\n\x10UpdateProcStatus\x12#.dfs.mci.level1.UpdateProcStatusReq\x1a$.dfs.mci.level1.UpdateProcStatusResp\"\x00\x42!Z\x1f\x63nlab.net/csst/proto/mci/level1b\x06proto3'
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
_LEVEL1RECORD_REFSENTRY = _descriptor.Descriptor(
name='RefsEntry',
full_name='dfs.mci.level1.Level1Record.RefsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='dfs.mci.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.mci.level1.Level1Record.RefsEntry.value', index=1,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=b'8\001',
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=379,
serialized_end=422,
)
_LEVEL1RECORD = _descriptor.Descriptor(
name='Level1Record',
full_name='dfs.mci.level1.Level1Record',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.mci.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.mci.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.mci.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.mci.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='prc_params', full_name='dfs.mci.level1.Level1Record.prc_params', 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='filename', full_name='dfs.mci.level1.Level1Record.filename', 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='file_path', full_name='dfs.mci.level1.Level1Record.file_path', 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='qc1_status', full_name='dfs.mci.level1.Level1Record.qc1_status', index=7,
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='qc1_time', full_name='dfs.mci.level1.Level1Record.qc1_time', 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='prc_status', full_name='dfs.mci.level1.Level1Record.prc_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='prc_time', full_name='dfs.mci.level1.Level1Record.prc_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='create_time', full_name='dfs.mci.level1.Level1Record.create_time', 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='pipeline_id', full_name='dfs.mci.level1.Level1Record.pipeline_id', 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='refs', full_name='dfs.mci.level1.Level1Record.refs', 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=[_LEVEL1RECORD_REFSENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=64,
serialized_end=422,
)
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
name='OtherConditionsEntry',
full_name='dfs.mci.level1.FindLevel1Req.OtherConditionsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='dfs.mci.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.mci.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=683,
serialized_end=737,
)
_FINDLEVEL1REQ = _descriptor.Descriptor(
name='FindLevel1Req',
full_name='dfs.mci.level1.FindLevel1Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='level0_id', full_name='dfs.mci.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.mci.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='create_time_start', full_name='dfs.mci.level1.FindLevel1Req.create_time_start', 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_end', full_name='dfs.mci.level1.FindLevel1Req.create_time_end', 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='qc1_status', full_name='dfs.mci.level1.FindLevel1Req.qc1_status', index=4,
number=5, 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.mci.level1.FindLevel1Req.prc_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='filename', full_name='dfs.mci.level1.FindLevel1Req.filename', 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='limit', full_name='dfs.mci.level1.FindLevel1Req.limit', index=7,
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='other_conditions', full_name='dfs.mci.level1.FindLevel1Req.other_conditions', index=8,
number=9, 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=425,
serialized_end=737,
)
_FINDLEVEL1RESP = _descriptor.Descriptor(
name='FindLevel1Resp',
full_name='dfs.mci.level1.FindLevel1Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.mci.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.mci.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.mci.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.mci.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=740,
serialized_end=870,
)
_GETLEVEL1REQ = _descriptor.Descriptor(
name='GetLevel1Req',
full_name='dfs.mci.level1.GetLevel1Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.mci.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.mci.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.mci.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=872,
serialized_end=936,
)
_GETLEVEL1RESP = _descriptor.Descriptor(
name='GetLevel1Resp',
full_name='dfs.mci.level1.GetLevel1Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='record', full_name='dfs.mci.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=938,
serialized_end=999,
)
_WRITELEVEL1REQ = _descriptor.Descriptor(
name='WriteLevel1Req',
full_name='dfs.mci.level1.WriteLevel1Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='record', full_name='dfs.mci.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.mci.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=1001,
serialized_end=1077,
)
_WRITELEVEL1RESP = _descriptor.Descriptor(
name='WriteLevel1Resp',
full_name='dfs.mci.level1.WriteLevel1Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.mci.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.mci.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.mci.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=1079,
serialized_end=1189,
)
_UPDATEQC1STATUSREQ = _descriptor.Descriptor(
name='UpdateQc1StatusReq',
full_name='dfs.mci.level1.UpdateQc1StatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.mci.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.mci.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=1191,
serialized_end=1239,
)
_UPDATEQC1STATUSRESP = _descriptor.Descriptor(
name='UpdateQc1StatusResp',
full_name='dfs.mci.level1.UpdateQc1StatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.mci.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.mci.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=1241,
serialized_end=1309,
)
_UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
name='UpdateProcStatusReq',
full_name='dfs.mci.level1.UpdateProcStatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.mci.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.mci.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=1311,
serialized_end=1360,
)
_UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
name='UpdateProcStatusResp',
full_name='dfs.mci.level1.UpdateProcStatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.mci.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.mci.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=1362,
serialized_end=1431,
)
_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
_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['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__' : 'mci.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1.Level1Record.RefsEntry)
})
,
'DESCRIPTOR' : _LEVEL1RECORD,
'__module__' : 'mci.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.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__' : 'mci.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1.FindLevel1Req.OtherConditionsEntry)
})
,
'DESCRIPTOR' : _FINDLEVEL1REQ,
'__module__' : 'mci.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1.FindLevel1Req)
})
_sym_db.RegisterMessage(FindLevel1Req)
_sym_db.RegisterMessage(FindLevel1Req.OtherConditionsEntry)
FindLevel1Resp = _reflection.GeneratedProtocolMessageType('FindLevel1Resp', (_message.Message,), {
'DESCRIPTOR' : _FINDLEVEL1RESP,
'__module__' : 'mci.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1.FindLevel1Resp)
})
_sym_db.RegisterMessage(FindLevel1Resp)
GetLevel1Req = _reflection.GeneratedProtocolMessageType('GetLevel1Req', (_message.Message,), {
'DESCRIPTOR' : _GETLEVEL1REQ,
'__module__' : 'mci.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1.GetLevel1Req)
})
_sym_db.RegisterMessage(GetLevel1Req)
GetLevel1Resp = _reflection.GeneratedProtocolMessageType('GetLevel1Resp', (_message.Message,), {
'DESCRIPTOR' : _GETLEVEL1RESP,
'__module__' : 'mci.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1.GetLevel1Resp)
})
_sym_db.RegisterMessage(GetLevel1Resp)
WriteLevel1Req = _reflection.GeneratedProtocolMessageType('WriteLevel1Req', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL1REQ,
'__module__' : 'mci.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1.WriteLevel1Req)
})
_sym_db.RegisterMessage(WriteLevel1Req)
WriteLevel1Resp = _reflection.GeneratedProtocolMessageType('WriteLevel1Resp', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL1RESP,
'__module__' : 'mci.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1.WriteLevel1Resp)
})
_sym_db.RegisterMessage(WriteLevel1Resp)
UpdateQc1StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc1StatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEQC1STATUSREQ,
'__module__' : 'mci.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1.UpdateQc1StatusReq)
})
_sym_db.RegisterMessage(UpdateQc1StatusReq)
UpdateQc1StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc1StatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEQC1STATUSRESP,
'__module__' : 'mci.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1.UpdateQc1StatusResp)
})
_sym_db.RegisterMessage(UpdateQc1StatusResp)
UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSREQ,
'__module__' : 'mci.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1.UpdateProcStatusReq)
})
_sym_db.RegisterMessage(UpdateProcStatusReq)
UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSRESP,
'__module__' : 'mci.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.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.mci.level1.Level1Srv',
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=1434,
serialized_end=1857,
methods=[
_descriptor.MethodDescriptor(
name='Find',
full_name='dfs.mci.level1.Level1Srv.Find',
index=0,
containing_service=None,
input_type=_FINDLEVEL1REQ,
output_type=_FINDLEVEL1RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Get',
full_name='dfs.mci.level1.Level1Srv.Get',
index=1,
containing_service=None,
input_type=_GETLEVEL1REQ,
output_type=_GETLEVEL1RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Write',
full_name='dfs.mci.level1.Level1Srv.Write',
index=2,
containing_service=None,
input_type=_WRITELEVEL1REQ,
output_type=_WRITELEVEL1RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='UpdateQc1Status',
full_name='dfs.mci.level1.Level1Srv.UpdateQc1Status',
index=3,
containing_service=None,
input_type=_UPDATEQC1STATUSREQ,
output_type=_UPDATEQC1STATUSRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='UpdateProcStatus',
full_name='dfs.mci.level1.Level1Srv.UpdateProcStatus',
index=4,
containing_service=None,
input_type=_UPDATEPROCSTATUSREQ,
output_type=_UPDATEPROCSTATUSRESP,
serialized_options=None,
),
])
_sym_db.RegisterServiceDescriptor(_LEVEL1SRV)
DESCRIPTOR.services_by_name['Level1Srv'] = _LEVEL1SRV
# @@protoc_insertion_point(module_scope)
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from . import level1_pb2 as mci_dot_level1_dot_level1__pb2
class Level1SrvStub(object):
"""Missing associated documentation comment in .proto file"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Find = channel.unary_unary(
'/dfs.mci.level1.Level1Srv/Find',
request_serializer=mci_dot_level1_dot_level1__pb2.FindLevel1Req.SerializeToString,
response_deserializer=mci_dot_level1_dot_level1__pb2.FindLevel1Resp.FromString,
)
self.Get = channel.unary_unary(
'/dfs.mci.level1.Level1Srv/Get',
request_serializer=mci_dot_level1_dot_level1__pb2.GetLevel1Req.SerializeToString,
response_deserializer=mci_dot_level1_dot_level1__pb2.GetLevel1Resp.FromString,
)
self.Write = channel.stream_unary(
'/dfs.mci.level1.Level1Srv/Write',
request_serializer=mci_dot_level1_dot_level1__pb2.WriteLevel1Req.SerializeToString,
response_deserializer=mci_dot_level1_dot_level1__pb2.WriteLevel1Resp.FromString,
)
self.UpdateQc1Status = channel.unary_unary(
'/dfs.mci.level1.Level1Srv/UpdateQc1Status',
request_serializer=mci_dot_level1_dot_level1__pb2.UpdateQc1StatusReq.SerializeToString,
response_deserializer=mci_dot_level1_dot_level1__pb2.UpdateQc1StatusResp.FromString,
)
self.UpdateProcStatus = channel.unary_unary(
'/dfs.mci.level1.Level1Srv/UpdateProcStatus',
request_serializer=mci_dot_level1_dot_level1__pb2.UpdateProcStatusReq.SerializeToString,
response_deserializer=mci_dot_level1_dot_level1__pb2.UpdateProcStatusResp.FromString,
)
class Level1SrvServicer(object):
"""Missing associated documentation comment in .proto file"""
def Find(self, request, context):
"""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"""
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"""
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"""
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"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_Level1SrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'Find': grpc.unary_unary_rpc_method_handler(
servicer.Find,
request_deserializer=mci_dot_level1_dot_level1__pb2.FindLevel1Req.FromString,
response_serializer=mci_dot_level1_dot_level1__pb2.FindLevel1Resp.SerializeToString,
),
'Get': grpc.unary_unary_rpc_method_handler(
servicer.Get,
request_deserializer=mci_dot_level1_dot_level1__pb2.GetLevel1Req.FromString,
response_serializer=mci_dot_level1_dot_level1__pb2.GetLevel1Resp.SerializeToString,
),
'Write': grpc.stream_unary_rpc_method_handler(
servicer.Write,
request_deserializer=mci_dot_level1_dot_level1__pb2.WriteLevel1Req.FromString,
response_serializer=mci_dot_level1_dot_level1__pb2.WriteLevel1Resp.SerializeToString,
),
'UpdateQc1Status': grpc.unary_unary_rpc_method_handler(
servicer.UpdateQc1Status,
request_deserializer=mci_dot_level1_dot_level1__pb2.UpdateQc1StatusReq.FromString,
response_serializer=mci_dot_level1_dot_level1__pb2.UpdateQc1StatusResp.SerializeToString,
),
'UpdateProcStatus': grpc.unary_unary_rpc_method_handler(
servicer.UpdateProcStatus,
request_deserializer=mci_dot_level1_dot_level1__pb2.UpdateProcStatusReq.FromString,
response_serializer=mci_dot_level1_dot_level1__pb2.UpdateProcStatusResp.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'dfs.mci.level1.Level1Srv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class Level1Srv(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.mci.level1.Level1Srv/Find',
mci_dot_level1_dot_level1__pb2.FindLevel1Req.SerializeToString,
mci_dot_level1_dot_level1__pb2.FindLevel1Resp.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.mci.level1.Level1Srv/Get',
mci_dot_level1_dot_level1__pb2.GetLevel1Req.SerializeToString,
mci_dot_level1_dot_level1__pb2.GetLevel1Resp.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.mci.level1.Level1Srv/Write',
mci_dot_level1_dot_level1__pb2.WriteLevel1Req.SerializeToString,
mci_dot_level1_dot_level1__pb2.WriteLevel1Resp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def UpdateQc1Status(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.mci.level1.Level1Srv/UpdateQc1Status',
mci_dot_level1_dot_level1__pb2.UpdateQc1StatusReq.SerializeToString,
mci_dot_level1_dot_level1__pb2.UpdateQc1StatusResp.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.mci.level1.Level1Srv/UpdateProcStatus',
mci_dot_level1_dot_level1__pb2.UpdateProcStatusReq.SerializeToString,
mci_dot_level1_dot_level1__pb2.UpdateProcStatusResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: mci/level1prc/level1prc.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from ...common import error_pb2 as common_dot_error__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='mci/level1prc/level1prc.proto',
package='dfs.mci.level1prc',
syntax='proto3',
serialized_options=b'Z\"cnlab.net/csst/proto/mci/level1prc',
serialized_pb=b'\n\x1dmci/level1prc/level1prc.proto\x12\x11\x64\x66s.mci.level1prc\x1a\x12\x63ommon/error.proto\"\xb3\x01\n\x0fLevel1PrcRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x13\n\x0bpipeline_id\x18\x03 \x01(\t\x12\x12\n\nprc_module\x18\x04 \x01(\t\x12\x18\n\x10params_file_path\x18\x05 \x01(\t\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\x10\n\x08prc_time\x18\x07 \x01(\t\x12\x18\n\x10result_file_path\x18\x08 \x01(\t\"\xee\x01\n\x10\x46indLevel1PrcReq\x12\x11\n\tlevel1_id\x18\x01 \x01(\x03\x12\x13\n\x0bpipeline_id\x18\x02 \x01(\t\x12\x12\n\nprc_module\x18\x03 \x01(\t\x12\x12\n\nprc_status\x18\x04 \x01(\x05\x12R\n\x10other_conditions\x18\x05 \x03(\x0b\x32\x38.dfs.mci.level1prc.FindLevel1PrcReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8b\x01\n\x11\x46indLevel1PrcResp\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\x33\n\x07records\x18\x04 \x03(\x0b\x32\".dfs.mci.level1prc.Level1PrcRecord\"G\n\x11WriteLevel1PrcReq\x12\x32\n\x06record\x18\x01 \x01(\x0b\x32\".dfs.mci.level1prc.Level1PrcRecord\"w\n\x12WriteLevel1PrcResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x32\n\x06record\x18\x03 \x01(\x0b\x32\".dfs.mci.level1prc.Level1PrcRecord\"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\xa2\x02\n\x0cLevel1PrcSrv\x12S\n\x04\x46ind\x12#.dfs.mci.level1prc.FindLevel1PrcReq\x1a$.dfs.mci.level1prc.FindLevel1PrcResp\"\x00\x12V\n\x05Write\x12$.dfs.mci.level1prc.WriteLevel1PrcReq\x1a%.dfs.mci.level1prc.WriteLevel1PrcResp\"\x00\x12\x65\n\x10UpdateProcStatus\x12&.dfs.mci.level1prc.UpdateProcStatusReq\x1a\'.dfs.mci.level1prc.UpdateProcStatusResp\"\x00\x42$Z\"cnlab.net/csst/proto/mci/level1prcb\x06proto3'
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
_LEVEL1PRCRECORD = _descriptor.Descriptor(
name='Level1PrcRecord',
full_name='dfs.mci.level1prc.Level1PrcRecord',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.mci.level1prc.Level1PrcRecord.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='level1_id', full_name='dfs.mci.level1prc.Level1PrcRecord.level1_id', index=1,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='pipeline_id', full_name='dfs.mci.level1prc.Level1PrcRecord.pipeline_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='prc_module', full_name='dfs.mci.level1prc.Level1PrcRecord.prc_module', 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='params_file_path', full_name='dfs.mci.level1prc.Level1PrcRecord.params_file_path', 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_status', full_name='dfs.mci.level1prc.Level1PrcRecord.prc_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_time', full_name='dfs.mci.level1prc.Level1PrcRecord.prc_time', 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='result_file_path', full_name='dfs.mci.level1prc.Level1PrcRecord.result_file_path', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=73,
serialized_end=252,
)
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
name='OtherConditionsEntry',
full_name='dfs.mci.level1prc.FindLevel1PrcReq.OtherConditionsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='dfs.mci.level1prc.FindLevel1PrcReq.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.mci.level1prc.FindLevel1PrcReq.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=439,
serialized_end=493,
)
_FINDLEVEL1PRCREQ = _descriptor.Descriptor(
name='FindLevel1PrcReq',
full_name='dfs.mci.level1prc.FindLevel1PrcReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='level1_id', full_name='dfs.mci.level1prc.FindLevel1PrcReq.level1_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='pipeline_id', full_name='dfs.mci.level1prc.FindLevel1PrcReq.pipeline_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='prc_module', full_name='dfs.mci.level1prc.FindLevel1PrcReq.prc_module', 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='prc_status', full_name='dfs.mci.level1prc.FindLevel1PrcReq.prc_status', index=3,
number=4, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='other_conditions', full_name='dfs.mci.level1prc.FindLevel1PrcReq.other_conditions', index=4,
number=5, 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=[_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=255,
serialized_end=493,
)
_FINDLEVEL1PRCRESP = _descriptor.Descriptor(
name='FindLevel1PrcResp',
full_name='dfs.mci.level1prc.FindLevel1PrcResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.mci.level1prc.FindLevel1PrcResp.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.mci.level1prc.FindLevel1PrcResp.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.mci.level1prc.FindLevel1PrcResp.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.mci.level1prc.FindLevel1PrcResp.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=496,
serialized_end=635,
)
_WRITELEVEL1PRCREQ = _descriptor.Descriptor(
name='WriteLevel1PrcReq',
full_name='dfs.mci.level1prc.WriteLevel1PrcReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='record', full_name='dfs.mci.level1prc.WriteLevel1PrcReq.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=637,
serialized_end=708,
)
_WRITELEVEL1PRCRESP = _descriptor.Descriptor(
name='WriteLevel1PrcResp',
full_name='dfs.mci.level1prc.WriteLevel1PrcResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.mci.level1prc.WriteLevel1PrcResp.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.mci.level1prc.WriteLevel1PrcResp.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.mci.level1prc.WriteLevel1PrcResp.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=710,
serialized_end=829,
)
_UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
name='UpdateProcStatusReq',
full_name='dfs.mci.level1prc.UpdateProcStatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.mci.level1prc.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.mci.level1prc.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=831,
serialized_end=880,
)
_UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
name='UpdateProcStatusResp',
full_name='dfs.mci.level1prc.UpdateProcStatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.mci.level1prc.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.mci.level1prc.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=882,
serialized_end=951,
)
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL1PRCREQ
_FINDLEVEL1PRCREQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
_FINDLEVEL1PRCRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_FINDLEVEL1PRCRESP.fields_by_name['records'].message_type = _LEVEL1PRCRECORD
_WRITELEVEL1PRCREQ.fields_by_name['record'].message_type = _LEVEL1PRCRECORD
_WRITELEVEL1PRCRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_WRITELEVEL1PRCRESP.fields_by_name['record'].message_type = _LEVEL1PRCRECORD
_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
DESCRIPTOR.message_types_by_name['Level1PrcRecord'] = _LEVEL1PRCRECORD
DESCRIPTOR.message_types_by_name['FindLevel1PrcReq'] = _FINDLEVEL1PRCREQ
DESCRIPTOR.message_types_by_name['FindLevel1PrcResp'] = _FINDLEVEL1PRCRESP
DESCRIPTOR.message_types_by_name['WriteLevel1PrcReq'] = _WRITELEVEL1PRCREQ
DESCRIPTOR.message_types_by_name['WriteLevel1PrcResp'] = _WRITELEVEL1PRCRESP
DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ
DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Level1PrcRecord = _reflection.GeneratedProtocolMessageType('Level1PrcRecord', (_message.Message,), {
'DESCRIPTOR' : _LEVEL1PRCRECORD,
'__module__' : 'mci.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1prc.Level1PrcRecord)
})
_sym_db.RegisterMessage(Level1PrcRecord)
FindLevel1PrcReq = _reflection.GeneratedProtocolMessageType('FindLevel1PrcReq', (_message.Message,), {
'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), {
'DESCRIPTOR' : _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY,
'__module__' : 'mci.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1prc.FindLevel1PrcReq.OtherConditionsEntry)
})
,
'DESCRIPTOR' : _FINDLEVEL1PRCREQ,
'__module__' : 'mci.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1prc.FindLevel1PrcReq)
})
_sym_db.RegisterMessage(FindLevel1PrcReq)
_sym_db.RegisterMessage(FindLevel1PrcReq.OtherConditionsEntry)
FindLevel1PrcResp = _reflection.GeneratedProtocolMessageType('FindLevel1PrcResp', (_message.Message,), {
'DESCRIPTOR' : _FINDLEVEL1PRCRESP,
'__module__' : 'mci.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1prc.FindLevel1PrcResp)
})
_sym_db.RegisterMessage(FindLevel1PrcResp)
WriteLevel1PrcReq = _reflection.GeneratedProtocolMessageType('WriteLevel1PrcReq', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL1PRCREQ,
'__module__' : 'mci.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1prc.WriteLevel1PrcReq)
})
_sym_db.RegisterMessage(WriteLevel1PrcReq)
WriteLevel1PrcResp = _reflection.GeneratedProtocolMessageType('WriteLevel1PrcResp', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL1PRCRESP,
'__module__' : 'mci.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1prc.WriteLevel1PrcResp)
})
_sym_db.RegisterMessage(WriteLevel1PrcResp)
UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSREQ,
'__module__' : 'mci.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1prc.UpdateProcStatusReq)
})
_sym_db.RegisterMessage(UpdateProcStatusReq)
UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSRESP,
'__module__' : 'mci.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.mci.level1prc.UpdateProcStatusResp)
})
_sym_db.RegisterMessage(UpdateProcStatusResp)
DESCRIPTOR._options = None
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY._options = None
_LEVEL1PRCSRV = _descriptor.ServiceDescriptor(
name='Level1PrcSrv',
full_name='dfs.mci.level1prc.Level1PrcSrv',
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=954,
serialized_end=1244,
methods=[
_descriptor.MethodDescriptor(
name='Find',
full_name='dfs.mci.level1prc.Level1PrcSrv.Find',
index=0,
containing_service=None,
input_type=_FINDLEVEL1PRCREQ,
output_type=_FINDLEVEL1PRCRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Write',
full_name='dfs.mci.level1prc.Level1PrcSrv.Write',
index=1,
containing_service=None,
input_type=_WRITELEVEL1PRCREQ,
output_type=_WRITELEVEL1PRCRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='UpdateProcStatus',
full_name='dfs.mci.level1prc.Level1PrcSrv.UpdateProcStatus',
index=2,
containing_service=None,
input_type=_UPDATEPROCSTATUSREQ,
output_type=_UPDATEPROCSTATUSRESP,
serialized_options=None,
),
])
_sym_db.RegisterServiceDescriptor(_LEVEL1PRCSRV)
DESCRIPTOR.services_by_name['Level1PrcSrv'] = _LEVEL1PRCSRV
# @@protoc_insertion_point(module_scope)
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: msc/level1prc/level1prc.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from ...common import error_pb2 as common_dot_error__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='msc/level1prc/level1prc.proto',
package='dfs.msc.level1prc',
syntax='proto3',
serialized_options=_b('Z\"cnlab.net/csst/proto/msc/level1prc'),
serialized_pb=_b('\n\x1dmsc/level1prc/level1prc.proto\x12\x11\x64\x66s.msc.level1prc\x1a\x12\x63ommon/error.proto\"\xb3\x01\n\x0fLevel1PrcRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x13\n\x0bpipeline_id\x18\x03 \x01(\t\x12\x12\n\nprc_module\x18\x04 \x01(\t\x12\x18\n\x10params_file_path\x18\x05 \x01(\t\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\x10\n\x08prc_time\x18\x07 \x01(\t\x12\x18\n\x10result_file_path\x18\x08 \x01(\t\"\xee\x01\n\x10\x46indLevel1PrcReq\x12\x11\n\tlevel1_id\x18\x01 \x01(\x03\x12\x13\n\x0bpipeline_id\x18\x02 \x01(\t\x12\x12\n\nprc_module\x18\x03 \x01(\t\x12\x12\n\nprc_status\x18\x04 \x01(\x05\x12R\n\x10other_conditions\x18\x05 \x03(\x0b\x32\x38.dfs.msc.level1prc.FindLevel1PrcReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8b\x01\n\x11\x46indLevel1PrcResp\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\x33\n\x07records\x18\x04 \x03(\x0b\x32\".dfs.msc.level1prc.Level1PrcRecord\"G\n\x11WriteLevel1PrcReq\x12\x32\n\x06record\x18\x01 \x01(\x0b\x32\".dfs.msc.level1prc.Level1PrcRecord\"w\n\x12WriteLevel1PrcResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x32\n\x06record\x18\x03 \x01(\x0b\x32\".dfs.msc.level1prc.Level1PrcRecord\"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\xa2\x02\n\x0cLevel1PrcSrv\x12S\n\x04\x46ind\x12#.dfs.msc.level1prc.FindLevel1PrcReq\x1a$.dfs.msc.level1prc.FindLevel1PrcResp\"\x00\x12V\n\x05Write\x12$.dfs.msc.level1prc.WriteLevel1PrcReq\x1a%.dfs.msc.level1prc.WriteLevel1PrcResp\"\x00\x12\x65\n\x10UpdateProcStatus\x12&.dfs.msc.level1prc.UpdateProcStatusReq\x1a\'.dfs.msc.level1prc.UpdateProcStatusResp\"\x00\x42$Z\"cnlab.net/csst/proto/msc/level1prcb\x06proto3')
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
_LEVEL1PRCRECORD = _descriptor.Descriptor(
name='Level1PrcRecord',
full_name='dfs.msc.level1prc.Level1PrcRecord',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.msc.level1prc.Level1PrcRecord.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='level1_id', full_name='dfs.msc.level1prc.Level1PrcRecord.level1_id', index=1,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='pipeline_id', full_name='dfs.msc.level1prc.Level1PrcRecord.pipeline_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='prc_module', full_name='dfs.msc.level1prc.Level1PrcRecord.prc_module', 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='params_file_path', full_name='dfs.msc.level1prc.Level1PrcRecord.params_file_path', 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_status', full_name='dfs.msc.level1prc.Level1PrcRecord.prc_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_time', full_name='dfs.msc.level1prc.Level1PrcRecord.prc_time', 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='result_file_path', full_name='dfs.msc.level1prc.Level1PrcRecord.result_file_path', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=73,
serialized_end=252,
)
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
name='OtherConditionsEntry',
full_name='dfs.msc.level1prc.FindLevel1PrcReq.OtherConditionsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='dfs.msc.level1prc.FindLevel1PrcReq.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.msc.level1prc.FindLevel1PrcReq.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=439,
serialized_end=493,
)
_FINDLEVEL1PRCREQ = _descriptor.Descriptor(
name='FindLevel1PrcReq',
full_name='dfs.msc.level1prc.FindLevel1PrcReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='level1_id', full_name='dfs.msc.level1prc.FindLevel1PrcReq.level1_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='pipeline_id', full_name='dfs.msc.level1prc.FindLevel1PrcReq.pipeline_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='prc_module', full_name='dfs.msc.level1prc.FindLevel1PrcReq.prc_module', 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='prc_status', full_name='dfs.msc.level1prc.FindLevel1PrcReq.prc_status', index=3,
number=4, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='other_conditions', full_name='dfs.msc.level1prc.FindLevel1PrcReq.other_conditions', index=4,
number=5, 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=[_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=255,
serialized_end=493,
)
_FINDLEVEL1PRCRESP = _descriptor.Descriptor(
name='FindLevel1PrcResp',
full_name='dfs.msc.level1prc.FindLevel1PrcResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.msc.level1prc.FindLevel1PrcResp.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.msc.level1prc.FindLevel1PrcResp.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.msc.level1prc.FindLevel1PrcResp.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.msc.level1prc.FindLevel1PrcResp.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=496,
serialized_end=635,
)
_WRITELEVEL1PRCREQ = _descriptor.Descriptor(
name='WriteLevel1PrcReq',
full_name='dfs.msc.level1prc.WriteLevel1PrcReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='record', full_name='dfs.msc.level1prc.WriteLevel1PrcReq.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=637,
serialized_end=708,
)
_WRITELEVEL1PRCRESP = _descriptor.Descriptor(
name='WriteLevel1PrcResp',
full_name='dfs.msc.level1prc.WriteLevel1PrcResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.msc.level1prc.WriteLevel1PrcResp.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.msc.level1prc.WriteLevel1PrcResp.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.msc.level1prc.WriteLevel1PrcResp.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=710,
serialized_end=829,
)
_UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
name='UpdateProcStatusReq',
full_name='dfs.msc.level1prc.UpdateProcStatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.msc.level1prc.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.msc.level1prc.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=831,
serialized_end=880,
)
_UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
name='UpdateProcStatusResp',
full_name='dfs.msc.level1prc.UpdateProcStatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.msc.level1prc.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.msc.level1prc.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=882,
serialized_end=951,
)
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL1PRCREQ
_FINDLEVEL1PRCREQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
_FINDLEVEL1PRCRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_FINDLEVEL1PRCRESP.fields_by_name['records'].message_type = _LEVEL1PRCRECORD
_WRITELEVEL1PRCREQ.fields_by_name['record'].message_type = _LEVEL1PRCRECORD
_WRITELEVEL1PRCRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_WRITELEVEL1PRCRESP.fields_by_name['record'].message_type = _LEVEL1PRCRECORD
_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
DESCRIPTOR.message_types_by_name['Level1PrcRecord'] = _LEVEL1PRCRECORD
DESCRIPTOR.message_types_by_name['FindLevel1PrcReq'] = _FINDLEVEL1PRCREQ
DESCRIPTOR.message_types_by_name['FindLevel1PrcResp'] = _FINDLEVEL1PRCRESP
DESCRIPTOR.message_types_by_name['WriteLevel1PrcReq'] = _WRITELEVEL1PRCREQ
DESCRIPTOR.message_types_by_name['WriteLevel1PrcResp'] = _WRITELEVEL1PRCRESP
DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ
DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Level1PrcRecord = _reflection.GeneratedProtocolMessageType('Level1PrcRecord', (_message.Message,), {
'DESCRIPTOR' : _LEVEL1PRCRECORD,
'__module__' : 'msc.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.msc.level1prc.Level1PrcRecord)
})
_sym_db.RegisterMessage(Level1PrcRecord)
FindLevel1PrcReq = _reflection.GeneratedProtocolMessageType('FindLevel1PrcReq', (_message.Message,), {
'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), {
'DESCRIPTOR' : _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY,
'__module__' : 'msc.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.msc.level1prc.FindLevel1PrcReq.OtherConditionsEntry)
})
,
'DESCRIPTOR' : _FINDLEVEL1PRCREQ,
'__module__' : 'msc.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.msc.level1prc.FindLevel1PrcReq)
})
_sym_db.RegisterMessage(FindLevel1PrcReq)
_sym_db.RegisterMessage(FindLevel1PrcReq.OtherConditionsEntry)
FindLevel1PrcResp = _reflection.GeneratedProtocolMessageType('FindLevel1PrcResp', (_message.Message,), {
'DESCRIPTOR' : _FINDLEVEL1PRCRESP,
'__module__' : 'msc.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.msc.level1prc.FindLevel1PrcResp)
})
_sym_db.RegisterMessage(FindLevel1PrcResp)
WriteLevel1PrcReq = _reflection.GeneratedProtocolMessageType('WriteLevel1PrcReq', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL1PRCREQ,
'__module__' : 'msc.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.msc.level1prc.WriteLevel1PrcReq)
})
_sym_db.RegisterMessage(WriteLevel1PrcReq)
WriteLevel1PrcResp = _reflection.GeneratedProtocolMessageType('WriteLevel1PrcResp', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL1PRCRESP,
'__module__' : 'msc.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.msc.level1prc.WriteLevel1PrcResp)
})
_sym_db.RegisterMessage(WriteLevel1PrcResp)
UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSREQ,
'__module__' : 'msc.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.msc.level1prc.UpdateProcStatusReq)
})
_sym_db.RegisterMessage(UpdateProcStatusReq)
UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSRESP,
'__module__' : 'msc.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.msc.level1prc.UpdateProcStatusResp)
})
_sym_db.RegisterMessage(UpdateProcStatusResp)
DESCRIPTOR._options = None
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY._options = None
_LEVEL1PRCSRV = _descriptor.ServiceDescriptor(
name='Level1PrcSrv',
full_name='dfs.msc.level1prc.Level1PrcSrv',
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=954,
serialized_end=1244,
methods=[
_descriptor.MethodDescriptor(
name='Find',
full_name='dfs.msc.level1prc.Level1PrcSrv.Find',
index=0,
containing_service=None,
input_type=_FINDLEVEL1PRCREQ,
output_type=_FINDLEVEL1PRCRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Write',
full_name='dfs.msc.level1prc.Level1PrcSrv.Write',
index=1,
containing_service=None,
input_type=_WRITELEVEL1PRCREQ,
output_type=_WRITELEVEL1PRCRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='UpdateProcStatus',
full_name='dfs.msc.level1prc.Level1PrcSrv.UpdateProcStatus',
index=2,
containing_service=None,
input_type=_UPDATEPROCSTATUSREQ,
output_type=_UPDATEPROCSTATUSRESP,
serialized_options=None,
),
])
_sym_db.RegisterServiceDescriptor(_LEVEL1PRCSRV)
DESCRIPTOR.services_by_name['Level1PrcSrv'] = _LEVEL1PRCSRV
# @@protoc_insertion_point(module_scope)
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from . import level1prc_pb2 as msc_dot_level1prc_dot_level1prc__pb2
class Level1PrcSrvStub(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.level1prc.Level1PrcSrv/Find',
request_serializer=msc_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcReq.SerializeToString,
response_deserializer=msc_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcResp.FromString,
)
self.Write = channel.unary_unary(
'/dfs.msc.level1prc.Level1PrcSrv/Write',
request_serializer=msc_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcReq.SerializeToString,
response_deserializer=msc_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcResp.FromString,
)
self.UpdateProcStatus = channel.unary_unary(
'/dfs.msc.level1prc.Level1PrcSrv/UpdateProcStatus',
request_serializer=msc_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusReq.SerializeToString,
response_deserializer=msc_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusResp.FromString,
)
class Level1PrcSrvServicer(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 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_Level1PrcSrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'Find': grpc.unary_unary_rpc_method_handler(
servicer.Find,
request_deserializer=msc_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcReq.FromString,
response_serializer=msc_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcResp.SerializeToString,
),
'Write': grpc.unary_unary_rpc_method_handler(
servicer.Write,
request_deserializer=msc_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcReq.FromString,
response_serializer=msc_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcResp.SerializeToString,
),
'UpdateProcStatus': grpc.unary_unary_rpc_method_handler(
servicer.UpdateProcStatus,
request_deserializer=msc_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusReq.FromString,
response_serializer=msc_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusResp.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'dfs.msc.level1prc.Level1PrcSrv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: sls/level1/level1.proto
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from ...common import error_pb2 as common_dot_error__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='sls/level1/level1.proto',
package='dfs.sls.level1',
syntax='proto3',
serialized_options=b'Z\037cnlab.net/csst/proto/sls/level1',
serialized_pb=b'\n\x17sls/level1/level1.proto\x12\x0e\x64\x66s.sls.level1\x1a\x12\x63ommon/error.proto\"\xe2\x02\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\nprc_params\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\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\x12\x34\n\x04refs\x18\x0e \x03(\x0b\x32&.dfs.sls.level1.Level1Record.RefsEntry\x1a+\n\tRefsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x03:\x02\x38\x01\"\xb8\x02\n\rFindLevel1Req\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x19\n\x11\x63reate_time_start\x18\x03 \x01(\t\x12\x17\n\x0f\x63reate_time_end\x18\x04 \x01(\t\x12\x12\n\nqc1_status\x18\x05 \x01(\x05\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\x10\n\x08\x66ilename\x18\x07 \x01(\t\x12\r\n\x05limit\x18\x08 \x01(\x05\x12L\n\x10other_conditions\x18\t \x03(\x0b\x32\x32.dfs.sls.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\"\x82\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-\n\x07records\x18\x04 \x03(\x0b\x32\x1c.dfs.sls.level1.Level1Record\"&\n\x11\x46indByBrickIdsReq\x12\x11\n\tbrick_ids\x18\x01 \x03(\x05\"r\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-\n\x07records\x18\x03 \x03(\x0b\x32\x1c.dfs.sls.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\"=\n\rGetLevel1Resp\x12,\n\x06record\x18\x01 \x01(\x0b\x32\x1c.dfs.sls.level1.Level1Record\"L\n\x0eWriteLevel1Req\x12,\n\x06record\x18\x01 \x01(\x0b\x32\x1c.dfs.sls.level1.Level1Record\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"n\n\x0fWriteLevel1Resp\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.sls.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\xd6\x04\n\tLevel1Srv\x12G\n\x04\x46ind\x12\x1d.dfs.sls.level1.FindLevel1Req\x1a\x1e.dfs.sls.level1.FindLevel1Resp\"\x00\x12R\n\x0f\x46indByPrcStatus\x12\x1d.dfs.sls.level1.FindLevel1Req\x1a\x1e.dfs.sls.level1.FindLevel1Resp\"\x00\x12Y\n\x0e\x46indByBrickIds\x12!.dfs.sls.level1.FindByBrickIdsReq\x1a\".dfs.sls.level1.FindByBrickIdsResp\"\x00\x12\x44\n\x03Get\x12\x1c.dfs.sls.level1.GetLevel1Req\x1a\x1d.dfs.sls.level1.GetLevel1Resp\"\x00\x12L\n\x05Write\x12\x1e.dfs.sls.level1.WriteLevel1Req\x1a\x1f.dfs.sls.level1.WriteLevel1Resp\"\x00(\x01\x12\\\n\x0fUpdateQc1Status\x12\".dfs.sls.level1.UpdateQc1StatusReq\x1a#.dfs.sls.level1.UpdateQc1StatusResp\"\x00\x12_\n\x10UpdateProcStatus\x12#.dfs.sls.level1.UpdateProcStatusReq\x1a$.dfs.sls.level1.UpdateProcStatusResp\"\x00\x42!Z\x1f\x63nlab.net/csst/proto/sls/level1b\x06proto3'
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
_LEVEL1RECORD_REFSENTRY = _descriptor.Descriptor(
name='RefsEntry',
full_name='dfs.sls.level1.Level1Record.RefsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='dfs.sls.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.sls.level1.Level1Record.RefsEntry.value', index=1,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=b'8\001',
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=375,
serialized_end=418,
)
_LEVEL1RECORD = _descriptor.Descriptor(
name='Level1Record',
full_name='dfs.sls.level1.Level1Record',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.sls.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.sls.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.sls.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='prc_params', full_name='dfs.sls.level1.Level1Record.prc_params', 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='filter', full_name='dfs.sls.level1.Level1Record.filter', 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='filename', full_name='dfs.sls.level1.Level1Record.filename', 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='file_path', full_name='dfs.sls.level1.Level1Record.file_path', 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='qc1_status', full_name='dfs.sls.level1.Level1Record.qc1_status', index=7,
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='qc1_time', full_name='dfs.sls.level1.Level1Record.qc1_time', 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='prc_status', full_name='dfs.sls.level1.Level1Record.prc_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='prc_time', full_name='dfs.sls.level1.Level1Record.prc_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='create_time', full_name='dfs.sls.level1.Level1Record.create_time', 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='pipeline_id', full_name='dfs.sls.level1.Level1Record.pipeline_id', 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='refs', full_name='dfs.sls.level1.Level1Record.refs', 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=[_LEVEL1RECORD_REFSENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=64,
serialized_end=418,
)
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
name='OtherConditionsEntry',
full_name='dfs.sls.level1.FindLevel1Req.OtherConditionsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='dfs.sls.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.sls.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=679,
serialized_end=733,
)
_FINDLEVEL1REQ = _descriptor.Descriptor(
name='FindLevel1Req',
full_name='dfs.sls.level1.FindLevel1Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='level0_id', full_name='dfs.sls.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.sls.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='create_time_start', full_name='dfs.sls.level1.FindLevel1Req.create_time_start', 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_end', full_name='dfs.sls.level1.FindLevel1Req.create_time_end', 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='qc1_status', full_name='dfs.sls.level1.FindLevel1Req.qc1_status', index=4,
number=5, 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.sls.level1.FindLevel1Req.prc_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='filename', full_name='dfs.sls.level1.FindLevel1Req.filename', 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='limit', full_name='dfs.sls.level1.FindLevel1Req.limit', index=7,
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='other_conditions', full_name='dfs.sls.level1.FindLevel1Req.other_conditions', index=8,
number=9, 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=421,
serialized_end=733,
)
_FINDLEVEL1RESP = _descriptor.Descriptor(
name='FindLevel1Resp',
full_name='dfs.sls.level1.FindLevel1Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.sls.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.sls.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.sls.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.sls.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=736,
serialized_end=866,
)
_FINDBYBRICKIDSREQ = _descriptor.Descriptor(
name='FindByBrickIdsReq',
full_name='dfs.sls.level1.FindByBrickIdsReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='brick_ids', full_name='dfs.sls.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=868,
serialized_end=906,
)
_FINDBYBRICKIDSRESP = _descriptor.Descriptor(
name='FindByBrickIdsResp',
full_name='dfs.sls.level1.FindByBrickIdsResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.sls.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.sls.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.sls.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=908,
serialized_end=1022,
)
_GETLEVEL1REQ = _descriptor.Descriptor(
name='GetLevel1Req',
full_name='dfs.sls.level1.GetLevel1Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.sls.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.sls.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.sls.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=1024,
serialized_end=1088,
)
_GETLEVEL1RESP = _descriptor.Descriptor(
name='GetLevel1Resp',
full_name='dfs.sls.level1.GetLevel1Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='record', full_name='dfs.sls.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=1090,
serialized_end=1151,
)
_WRITELEVEL1REQ = _descriptor.Descriptor(
name='WriteLevel1Req',
full_name='dfs.sls.level1.WriteLevel1Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='record', full_name='dfs.sls.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.sls.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=1153,
serialized_end=1229,
)
_WRITELEVEL1RESP = _descriptor.Descriptor(
name='WriteLevel1Resp',
full_name='dfs.sls.level1.WriteLevel1Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.sls.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.sls.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.sls.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=1231,
serialized_end=1341,
)
_UPDATEQC1STATUSREQ = _descriptor.Descriptor(
name='UpdateQc1StatusReq',
full_name='dfs.sls.level1.UpdateQc1StatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.sls.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.sls.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=1343,
serialized_end=1391,
)
_UPDATEQC1STATUSRESP = _descriptor.Descriptor(
name='UpdateQc1StatusResp',
full_name='dfs.sls.level1.UpdateQc1StatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.sls.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.sls.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=1393,
serialized_end=1461,
)
_UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
name='UpdateProcStatusReq',
full_name='dfs.sls.level1.UpdateProcStatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.sls.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.sls.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=1463,
serialized_end=1512,
)
_UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
name='UpdateProcStatusResp',
full_name='dfs.sls.level1.UpdateProcStatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.sls.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.sls.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=1514,
serialized_end=1583,
)
_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__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.Level1Record.RefsEntry)
})
,
'DESCRIPTOR' : _LEVEL1RECORD,
'__module__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.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__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.FindLevel1Req.OtherConditionsEntry)
})
,
'DESCRIPTOR' : _FINDLEVEL1REQ,
'__module__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.FindLevel1Req)
})
_sym_db.RegisterMessage(FindLevel1Req)
_sym_db.RegisterMessage(FindLevel1Req.OtherConditionsEntry)
FindLevel1Resp = _reflection.GeneratedProtocolMessageType('FindLevel1Resp', (_message.Message,), {
'DESCRIPTOR' : _FINDLEVEL1RESP,
'__module__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.FindLevel1Resp)
})
_sym_db.RegisterMessage(FindLevel1Resp)
FindByBrickIdsReq = _reflection.GeneratedProtocolMessageType('FindByBrickIdsReq', (_message.Message,), {
'DESCRIPTOR' : _FINDBYBRICKIDSREQ,
'__module__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.FindByBrickIdsReq)
})
_sym_db.RegisterMessage(FindByBrickIdsReq)
FindByBrickIdsResp = _reflection.GeneratedProtocolMessageType('FindByBrickIdsResp', (_message.Message,), {
'DESCRIPTOR' : _FINDBYBRICKIDSRESP,
'__module__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.FindByBrickIdsResp)
})
_sym_db.RegisterMessage(FindByBrickIdsResp)
GetLevel1Req = _reflection.GeneratedProtocolMessageType('GetLevel1Req', (_message.Message,), {
'DESCRIPTOR' : _GETLEVEL1REQ,
'__module__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.GetLevel1Req)
})
_sym_db.RegisterMessage(GetLevel1Req)
GetLevel1Resp = _reflection.GeneratedProtocolMessageType('GetLevel1Resp', (_message.Message,), {
'DESCRIPTOR' : _GETLEVEL1RESP,
'__module__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.GetLevel1Resp)
})
_sym_db.RegisterMessage(GetLevel1Resp)
WriteLevel1Req = _reflection.GeneratedProtocolMessageType('WriteLevel1Req', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL1REQ,
'__module__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.WriteLevel1Req)
})
_sym_db.RegisterMessage(WriteLevel1Req)
WriteLevel1Resp = _reflection.GeneratedProtocolMessageType('WriteLevel1Resp', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL1RESP,
'__module__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.WriteLevel1Resp)
})
_sym_db.RegisterMessage(WriteLevel1Resp)
UpdateQc1StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc1StatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEQC1STATUSREQ,
'__module__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.UpdateQc1StatusReq)
})
_sym_db.RegisterMessage(UpdateQc1StatusReq)
UpdateQc1StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc1StatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEQC1STATUSRESP,
'__module__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.UpdateQc1StatusResp)
})
_sym_db.RegisterMessage(UpdateQc1StatusResp)
UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSREQ,
'__module__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.UpdateProcStatusReq)
})
_sym_db.RegisterMessage(UpdateProcStatusReq)
UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSRESP,
'__module__' : 'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.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.sls.level1.Level1Srv',
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=1586,
serialized_end=2184,
methods=[
_descriptor.MethodDescriptor(
name='Find',
full_name='dfs.sls.level1.Level1Srv.Find',
index=0,
containing_service=None,
input_type=_FINDLEVEL1REQ,
output_type=_FINDLEVEL1RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='FindByPrcStatus',
full_name='dfs.sls.level1.Level1Srv.FindByPrcStatus',
index=1,
containing_service=None,
input_type=_FINDLEVEL1REQ,
output_type=_FINDLEVEL1RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='FindByBrickIds',
full_name='dfs.sls.level1.Level1Srv.FindByBrickIds',
index=2,
containing_service=None,
input_type=_FINDBYBRICKIDSREQ,
output_type=_FINDBYBRICKIDSRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Get',
full_name='dfs.sls.level1.Level1Srv.Get',
index=3,
containing_service=None,
input_type=_GETLEVEL1REQ,
output_type=_GETLEVEL1RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Write',
full_name='dfs.sls.level1.Level1Srv.Write',
index=4,
containing_service=None,
input_type=_WRITELEVEL1REQ,
output_type=_WRITELEVEL1RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='UpdateQc1Status',
full_name='dfs.sls.level1.Level1Srv.UpdateQc1Status',
index=5,
containing_service=None,
input_type=_UPDATEQC1STATUSREQ,
output_type=_UPDATEQC1STATUSRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='UpdateProcStatus',
full_name='dfs.sls.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
# @@protoc_insertion_point(module_scope)
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from . import level1_pb2 as sls_dot_level1_dot_level1__pb2
class Level1SrvStub(object):
"""Missing associated documentation comment in .proto file"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Find = channel.unary_unary(
'/dfs.sls.level1.Level1Srv/Find',
request_serializer=sls_dot_level1_dot_level1__pb2.FindLevel1Req.SerializeToString,
response_deserializer=sls_dot_level1_dot_level1__pb2.FindLevel1Resp.FromString,
)
self.FindByPrcStatus = channel.unary_unary(
'/dfs.sls.level1.Level1Srv/FindByPrcStatus',
request_serializer=sls_dot_level1_dot_level1__pb2.FindLevel1Req.SerializeToString,
response_deserializer=sls_dot_level1_dot_level1__pb2.FindLevel1Resp.FromString,
)
self.FindByBrickIds = channel.unary_unary(
'/dfs.sls.level1.Level1Srv/FindByBrickIds',
request_serializer=sls_dot_level1_dot_level1__pb2.FindByBrickIdsReq.SerializeToString,
response_deserializer=sls_dot_level1_dot_level1__pb2.FindByBrickIdsResp.FromString,
)
self.Get = channel.unary_unary(
'/dfs.sls.level1.Level1Srv/Get',
request_serializer=sls_dot_level1_dot_level1__pb2.GetLevel1Req.SerializeToString,
response_deserializer=sls_dot_level1_dot_level1__pb2.GetLevel1Resp.FromString,
)
self.Write = channel.stream_unary(
'/dfs.sls.level1.Level1Srv/Write',
request_serializer=sls_dot_level1_dot_level1__pb2.WriteLevel1Req.SerializeToString,
response_deserializer=sls_dot_level1_dot_level1__pb2.WriteLevel1Resp.FromString,
)
self.UpdateQc1Status = channel.unary_unary(
'/dfs.sls.level1.Level1Srv/UpdateQc1Status',
request_serializer=sls_dot_level1_dot_level1__pb2.UpdateQc1StatusReq.SerializeToString,
response_deserializer=sls_dot_level1_dot_level1__pb2.UpdateQc1StatusResp.FromString,
)
self.UpdateProcStatus = channel.unary_unary(
'/dfs.sls.level1.Level1Srv/UpdateProcStatus',
request_serializer=sls_dot_level1_dot_level1__pb2.UpdateProcStatusReq.SerializeToString,
response_deserializer=sls_dot_level1_dot_level1__pb2.UpdateProcStatusResp.FromString,
)
class Level1SrvServicer(object):
"""Missing associated documentation comment in .proto file"""
def Find(self, request, context):
"""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 FindByPrcStatus(self, request, context):
"""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"""
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"""
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"""
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"""
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"""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def add_Level1SrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'Find': grpc.unary_unary_rpc_method_handler(
servicer.Find,
request_deserializer=sls_dot_level1_dot_level1__pb2.FindLevel1Req.FromString,
response_serializer=sls_dot_level1_dot_level1__pb2.FindLevel1Resp.SerializeToString,
),
'FindByPrcStatus': grpc.unary_unary_rpc_method_handler(
servicer.FindByPrcStatus,
request_deserializer=sls_dot_level1_dot_level1__pb2.FindLevel1Req.FromString,
response_serializer=sls_dot_level1_dot_level1__pb2.FindLevel1Resp.SerializeToString,
),
'FindByBrickIds': grpc.unary_unary_rpc_method_handler(
servicer.FindByBrickIds,
request_deserializer=sls_dot_level1_dot_level1__pb2.FindByBrickIdsReq.FromString,
response_serializer=sls_dot_level1_dot_level1__pb2.FindByBrickIdsResp.SerializeToString,
),
'Get': grpc.unary_unary_rpc_method_handler(
servicer.Get,
request_deserializer=sls_dot_level1_dot_level1__pb2.GetLevel1Req.FromString,
response_serializer=sls_dot_level1_dot_level1__pb2.GetLevel1Resp.SerializeToString,
),
'Write': grpc.stream_unary_rpc_method_handler(
servicer.Write,
request_deserializer=sls_dot_level1_dot_level1__pb2.WriteLevel1Req.FromString,
response_serializer=sls_dot_level1_dot_level1__pb2.WriteLevel1Resp.SerializeToString,
),
'UpdateQc1Status': grpc.unary_unary_rpc_method_handler(
servicer.UpdateQc1Status,
request_deserializer=sls_dot_level1_dot_level1__pb2.UpdateQc1StatusReq.FromString,
response_serializer=sls_dot_level1_dot_level1__pb2.UpdateQc1StatusResp.SerializeToString,
),
'UpdateProcStatus': grpc.unary_unary_rpc_method_handler(
servicer.UpdateProcStatus,
request_deserializer=sls_dot_level1_dot_level1__pb2.UpdateProcStatusReq.FromString,
response_serializer=sls_dot_level1_dot_level1__pb2.UpdateProcStatusResp.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'dfs.sls.level1.Level1Srv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class Level1Srv(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.level1.Level1Srv/Find',
sls_dot_level1_dot_level1__pb2.FindLevel1Req.SerializeToString,
sls_dot_level1_dot_level1__pb2.FindLevel1Resp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def FindByPrcStatus(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.level1.Level1Srv/FindByPrcStatus',
sls_dot_level1_dot_level1__pb2.FindLevel1Req.SerializeToString,
sls_dot_level1_dot_level1__pb2.FindLevel1Resp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def FindByBrickIds(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.level1.Level1Srv/FindByBrickIds',
sls_dot_level1_dot_level1__pb2.FindByBrickIdsReq.SerializeToString,
sls_dot_level1_dot_level1__pb2.FindByBrickIdsResp.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.level1.Level1Srv/Get',
sls_dot_level1_dot_level1__pb2.GetLevel1Req.SerializeToString,
sls_dot_level1_dot_level1__pb2.GetLevel1Resp.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.level1.Level1Srv/Write',
sls_dot_level1_dot_level1__pb2.WriteLevel1Req.SerializeToString,
sls_dot_level1_dot_level1__pb2.WriteLevel1Resp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def UpdateQc1Status(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.level1.Level1Srv/UpdateQc1Status',
sls_dot_level1_dot_level1__pb2.UpdateQc1StatusReq.SerializeToString,
sls_dot_level1_dot_level1__pb2.UpdateQc1StatusResp.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.level1.Level1Srv/UpdateProcStatus',
sls_dot_level1_dot_level1__pb2.UpdateProcStatusReq.SerializeToString,
sls_dot_level1_dot_level1__pb2.UpdateProcStatusResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: sls/level1prc/level1prc.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
from ...common import error_pb2 as common_dot_error__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='sls/level1prc/level1prc.proto',
package='dfs.sls.level1prc',
syntax='proto3',
serialized_options=_b('Z\"cnlab.net/csst/proto/sls/level1prc'),
serialized_pb=_b('\n\x1dsls/level1prc/level1prc.proto\x12\x11\x64\x66s.sls.level1prc\x1a\x12\x63ommon/error.proto\"\xb3\x01\n\x0fLevel1PrcRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x13\n\x0bpipeline_id\x18\x03 \x01(\t\x12\x12\n\nprc_module\x18\x04 \x01(\t\x12\x18\n\x10params_file_path\x18\x05 \x01(\t\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\x10\n\x08prc_time\x18\x07 \x01(\t\x12\x18\n\x10result_file_path\x18\x08 \x01(\t\"\xee\x01\n\x10\x46indLevel1PrcReq\x12\x11\n\tlevel1_id\x18\x01 \x01(\x03\x12\x13\n\x0bpipeline_id\x18\x02 \x01(\t\x12\x12\n\nprc_module\x18\x03 \x01(\t\x12\x12\n\nprc_status\x18\x04 \x01(\x05\x12R\n\x10other_conditions\x18\x05 \x03(\x0b\x32\x38.dfs.sls.level1prc.FindLevel1PrcReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8b\x01\n\x11\x46indLevel1PrcResp\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\x33\n\x07records\x18\x04 \x03(\x0b\x32\".dfs.sls.level1prc.Level1PrcRecord\"G\n\x11WriteLevel1PrcReq\x12\x32\n\x06record\x18\x01 \x01(\x0b\x32\".dfs.sls.level1prc.Level1PrcRecord\"w\n\x12WriteLevel1PrcResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x32\n\x06record\x18\x03 \x01(\x0b\x32\".dfs.sls.level1prc.Level1PrcRecord\"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\xa2\x02\n\x0cLevel1PrcSrv\x12S\n\x04\x46ind\x12#.dfs.sls.level1prc.FindLevel1PrcReq\x1a$.dfs.sls.level1prc.FindLevel1PrcResp\"\x00\x12V\n\x05Write\x12$.dfs.sls.level1prc.WriteLevel1PrcReq\x1a%.dfs.sls.level1prc.WriteLevel1PrcResp\"\x00\x12\x65\n\x10UpdateProcStatus\x12&.dfs.sls.level1prc.UpdateProcStatusReq\x1a\'.dfs.sls.level1prc.UpdateProcStatusResp\"\x00\x42$Z\"cnlab.net/csst/proto/sls/level1prcb\x06proto3')
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
_LEVEL1PRCRECORD = _descriptor.Descriptor(
name='Level1PrcRecord',
full_name='dfs.sls.level1prc.Level1PrcRecord',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.sls.level1prc.Level1PrcRecord.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='level1_id', full_name='dfs.sls.level1prc.Level1PrcRecord.level1_id', index=1,
number=2, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='pipeline_id', full_name='dfs.sls.level1prc.Level1PrcRecord.pipeline_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='prc_module', full_name='dfs.sls.level1prc.Level1PrcRecord.prc_module', 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='params_file_path', full_name='dfs.sls.level1prc.Level1PrcRecord.params_file_path', 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_status', full_name='dfs.sls.level1prc.Level1PrcRecord.prc_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_time', full_name='dfs.sls.level1prc.Level1PrcRecord.prc_time', 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='result_file_path', full_name='dfs.sls.level1prc.Level1PrcRecord.result_file_path', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=73,
serialized_end=252,
)
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
name='OtherConditionsEntry',
full_name='dfs.sls.level1prc.FindLevel1PrcReq.OtherConditionsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='dfs.sls.level1prc.FindLevel1PrcReq.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.sls.level1prc.FindLevel1PrcReq.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=439,
serialized_end=493,
)
_FINDLEVEL1PRCREQ = _descriptor.Descriptor(
name='FindLevel1PrcReq',
full_name='dfs.sls.level1prc.FindLevel1PrcReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='level1_id', full_name='dfs.sls.level1prc.FindLevel1PrcReq.level1_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='pipeline_id', full_name='dfs.sls.level1prc.FindLevel1PrcReq.pipeline_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='prc_module', full_name='dfs.sls.level1prc.FindLevel1PrcReq.prc_module', 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='prc_status', full_name='dfs.sls.level1prc.FindLevel1PrcReq.prc_status', index=3,
number=4, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='other_conditions', full_name='dfs.sls.level1prc.FindLevel1PrcReq.other_conditions', index=4,
number=5, 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=[_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=255,
serialized_end=493,
)
_FINDLEVEL1PRCRESP = _descriptor.Descriptor(
name='FindLevel1PrcResp',
full_name='dfs.sls.level1prc.FindLevel1PrcResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.sls.level1prc.FindLevel1PrcResp.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.sls.level1prc.FindLevel1PrcResp.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.sls.level1prc.FindLevel1PrcResp.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.sls.level1prc.FindLevel1PrcResp.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=496,
serialized_end=635,
)
_WRITELEVEL1PRCREQ = _descriptor.Descriptor(
name='WriteLevel1PrcReq',
full_name='dfs.sls.level1prc.WriteLevel1PrcReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='record', full_name='dfs.sls.level1prc.WriteLevel1PrcReq.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=637,
serialized_end=708,
)
_WRITELEVEL1PRCRESP = _descriptor.Descriptor(
name='WriteLevel1PrcResp',
full_name='dfs.sls.level1prc.WriteLevel1PrcResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.sls.level1prc.WriteLevel1PrcResp.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.sls.level1prc.WriteLevel1PrcResp.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.sls.level1prc.WriteLevel1PrcResp.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=710,
serialized_end=829,
)
_UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
name='UpdateProcStatusReq',
full_name='dfs.sls.level1prc.UpdateProcStatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.sls.level1prc.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.sls.level1prc.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=831,
serialized_end=880,
)
_UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
name='UpdateProcStatusResp',
full_name='dfs.sls.level1prc.UpdateProcStatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.sls.level1prc.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.sls.level1prc.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=882,
serialized_end=951,
)
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL1PRCREQ
_FINDLEVEL1PRCREQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
_FINDLEVEL1PRCRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_FINDLEVEL1PRCRESP.fields_by_name['records'].message_type = _LEVEL1PRCRECORD
_WRITELEVEL1PRCREQ.fields_by_name['record'].message_type = _LEVEL1PRCRECORD
_WRITELEVEL1PRCRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_WRITELEVEL1PRCRESP.fields_by_name['record'].message_type = _LEVEL1PRCRECORD
_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
DESCRIPTOR.message_types_by_name['Level1PrcRecord'] = _LEVEL1PRCRECORD
DESCRIPTOR.message_types_by_name['FindLevel1PrcReq'] = _FINDLEVEL1PRCREQ
DESCRIPTOR.message_types_by_name['FindLevel1PrcResp'] = _FINDLEVEL1PRCRESP
DESCRIPTOR.message_types_by_name['WriteLevel1PrcReq'] = _WRITELEVEL1PRCREQ
DESCRIPTOR.message_types_by_name['WriteLevel1PrcResp'] = _WRITELEVEL1PRCRESP
DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ
DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Level1PrcRecord = _reflection.GeneratedProtocolMessageType('Level1PrcRecord', (_message.Message,), {
'DESCRIPTOR' : _LEVEL1PRCRECORD,
'__module__' : 'sls.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1prc.Level1PrcRecord)
})
_sym_db.RegisterMessage(Level1PrcRecord)
FindLevel1PrcReq = _reflection.GeneratedProtocolMessageType('FindLevel1PrcReq', (_message.Message,), {
'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), {
'DESCRIPTOR' : _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY,
'__module__' : 'sls.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1prc.FindLevel1PrcReq.OtherConditionsEntry)
})
,
'DESCRIPTOR' : _FINDLEVEL1PRCREQ,
'__module__' : 'sls.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1prc.FindLevel1PrcReq)
})
_sym_db.RegisterMessage(FindLevel1PrcReq)
_sym_db.RegisterMessage(FindLevel1PrcReq.OtherConditionsEntry)
FindLevel1PrcResp = _reflection.GeneratedProtocolMessageType('FindLevel1PrcResp', (_message.Message,), {
'DESCRIPTOR' : _FINDLEVEL1PRCRESP,
'__module__' : 'sls.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1prc.FindLevel1PrcResp)
})
_sym_db.RegisterMessage(FindLevel1PrcResp)
WriteLevel1PrcReq = _reflection.GeneratedProtocolMessageType('WriteLevel1PrcReq', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL1PRCREQ,
'__module__' : 'sls.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1prc.WriteLevel1PrcReq)
})
_sym_db.RegisterMessage(WriteLevel1PrcReq)
WriteLevel1PrcResp = _reflection.GeneratedProtocolMessageType('WriteLevel1PrcResp', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL1PRCRESP,
'__module__' : 'sls.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1prc.WriteLevel1PrcResp)
})
_sym_db.RegisterMessage(WriteLevel1PrcResp)
UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSREQ,
'__module__' : 'sls.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1prc.UpdateProcStatusReq)
})
_sym_db.RegisterMessage(UpdateProcStatusReq)
UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSRESP,
'__module__' : 'sls.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1prc.UpdateProcStatusResp)
})
_sym_db.RegisterMessage(UpdateProcStatusResp)
DESCRIPTOR._options = None
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY._options = None
_LEVEL1PRCSRV = _descriptor.ServiceDescriptor(
name='Level1PrcSrv',
full_name='dfs.sls.level1prc.Level1PrcSrv',
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=954,
serialized_end=1244,
methods=[
_descriptor.MethodDescriptor(
name='Find',
full_name='dfs.sls.level1prc.Level1PrcSrv.Find',
index=0,
containing_service=None,
input_type=_FINDLEVEL1PRCREQ,
output_type=_FINDLEVEL1PRCRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Write',
full_name='dfs.sls.level1prc.Level1PrcSrv.Write',
index=1,
containing_service=None,
input_type=_WRITELEVEL1PRCREQ,
output_type=_WRITELEVEL1PRCRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='UpdateProcStatus',
full_name='dfs.sls.level1prc.Level1PrcSrv.UpdateProcStatus',
index=2,
containing_service=None,
input_type=_UPDATEPROCSTATUSREQ,
output_type=_UPDATEPROCSTATUSRESP,
serialized_options=None,
),
])
_sym_db.RegisterServiceDescriptor(_LEVEL1PRCSRV)
DESCRIPTOR.services_by_name['Level1PrcSrv'] = _LEVEL1PRCSRV
# @@protoc_insertion_point(module_scope)
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from . import level1prc_pb2 as sls_dot_level1prc_dot_level1prc__pb2
class Level1PrcSrvStub(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.sls.level1prc.Level1PrcSrv/Find',
request_serializer=sls_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcReq.SerializeToString,
response_deserializer=sls_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcResp.FromString,
)
self.Write = channel.unary_unary(
'/dfs.sls.level1prc.Level1PrcSrv/Write',
request_serializer=sls_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcReq.SerializeToString,
response_deserializer=sls_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcResp.FromString,
)
self.UpdateProcStatus = channel.unary_unary(
'/dfs.sls.level1prc.Level1PrcSrv/UpdateProcStatus',
request_serializer=sls_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusReq.SerializeToString,
response_deserializer=sls_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusResp.FromString,
)
class Level1PrcSrvServicer(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 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_Level1PrcSrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'Find': grpc.unary_unary_rpc_method_handler(
servicer.Find,
request_deserializer=sls_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcReq.FromString,
response_serializer=sls_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcResp.SerializeToString,
),
'Write': grpc.unary_unary_rpc_method_handler(
servicer.Write,
request_deserializer=sls_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcReq.FromString,
response_serializer=sls_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcResp.SerializeToString,
),
'UpdateProcStatus': grpc.unary_unary_rpc_method_handler(
servicer.UpdateProcStatus,
request_deserializer=sls_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusReq.FromString,
response_serializer=sls_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusResp.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'dfs.sls.level1prc.Level1PrcSrv', 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