Commit 15f08467 authored by Wei Shoulin's avatar Wei Shoulin
Browse files

hstdm l2

parent 923c9488
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: hstdm/level2/level2.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='hstdm/level2/level2.proto',
package='dfs.hstdm.level2',
syntax='proto3',
serialized_options=b'Z!cnlab.net/csst/proto/hstdm/level2',
serialized_pb=b'\n\x19hstdm/level2/level2.proto\x12\x10\x64\x66s.hstdm.level2\x1a\x12\x63ommon/error.proto\"\x82\x02\n\x0cLevel2Record\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x11\n\tlevel1_id\x18\x03 \x01(\x03\x12\x12\n\nproject_id\x18\x04 \x01(\x03\x12\x11\n\tfile_type\x18\x05 \x01(\t\x12\x10\n\x08\x66ilename\x18\x06 \x01(\t\x12\x11\n\tfile_path\x18\x07 \x01(\t\x12\x12\n\nqc2_status\x18\x08 \x01(\x05\x12\x10\n\x08qc2_time\x18\t \x01(\t\x12\x12\n\nprc_status\x18\n \x01(\x05\x12\x10\n\x08prc_time\x18\x0b \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x0c \x01(\t\x12\x13\n\x0bpipeline_id\x18\r \x01(\t\"\xe1\x02\n\rFindLevel2Req\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x12\n\nproject_id\x18\x03 \x01(\x03\x12\x11\n\tfile_type\x18\x04 \x01(\x03\x12\x19\n\x11\x63reate_time_start\x18\x05 \x01(\t\x12\x17\n\x0f\x63reate_time_end\x18\x06 \x01(\t\x12\x12\n\nqc2_status\x18\x07 \x01(\x05\x12\x12\n\nprc_status\x18\x08 \x01(\x05\x12\x10\n\x08\x66ilename\x18\t \x01(\t\x12\r\n\x05limit\x18\n \x01(\x05\x12N\n\x10other_conditions\x18\x0b \x03(\x0b\x32\x34.dfs.hstdm.level2.FindLevel2Req.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\x0e\x46indLevel2Resp\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\x1e.dfs.hstdm.level2.Level2Record\"\x1a\n\x0cGetLevel2Req\x12\n\n\x02id\x18\x01 \x01(\x03\"?\n\rGetLevel2Resp\x12.\n\x06record\x18\x01 \x01(\x0b\x32\x1e.dfs.hstdm.level2.Level2Record\"N\n\x0eWriteLevel2Req\x12.\n\x06record\x18\x01 \x01(\x0b\x32\x1e.dfs.hstdm.level2.Level2Record\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"p\n\x0fWriteLevel2Resp\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\x1e.dfs.hstdm.level2.Level2Record\"0\n\x12UpdateQc2StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"D\n\x13UpdateQc2StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xbb\x03\n\tLevel2Srv\x12K\n\x04\x46ind\x12\x1f.dfs.hstdm.level2.FindLevel2Req\x1a .dfs.hstdm.level2.FindLevel2Resp\"\x00\x12H\n\x03Get\x12\x1e.dfs.hstdm.level2.GetLevel2Req\x1a\x1f.dfs.hstdm.level2.GetLevel2Resp\"\x00\x12P\n\x05Write\x12 .dfs.hstdm.level2.WriteLevel2Req\x1a!.dfs.hstdm.level2.WriteLevel2Resp\"\x00(\x01\x12`\n\x0fUpdateQc2Status\x12$.dfs.hstdm.level2.UpdateQc2StatusReq\x1a%.dfs.hstdm.level2.UpdateQc2StatusResp\"\x00\x12\x63\n\x10UpdateProcStatus\x12%.dfs.hstdm.level2.UpdateProcStatusReq\x1a&.dfs.hstdm.level2.UpdateProcStatusResp\"\x00\x42#Z!cnlab.net/csst/proto/hstdm/level2b\x06proto3'
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
_LEVEL2RECORD = _descriptor.Descriptor(
name='Level2Record',
full_name='dfs.hstdm.level2.Level2Record',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.hstdm.level2.Level2Record.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.hstdm.level2.Level2Record.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='level1_id', full_name='dfs.hstdm.level2.Level2Record.level1_id', index=2,
number=3, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='project_id', full_name='dfs.hstdm.level2.Level2Record.project_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='file_type', full_name='dfs.hstdm.level2.Level2Record.file_type', 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.hstdm.level2.Level2Record.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.hstdm.level2.Level2Record.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='qc2_status', full_name='dfs.hstdm.level2.Level2Record.qc2_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='qc2_time', full_name='dfs.hstdm.level2.Level2Record.qc2_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.hstdm.level2.Level2Record.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.hstdm.level2.Level2Record.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.hstdm.level2.Level2Record.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.hstdm.level2.Level2Record.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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=68,
serialized_end=326,
)
_FINDLEVEL2REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
name='OtherConditionsEntry',
full_name='dfs.hstdm.level2.FindLevel2Req.OtherConditionsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='dfs.hstdm.level2.FindLevel2Req.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.hstdm.level2.FindLevel2Req.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=628,
serialized_end=682,
)
_FINDLEVEL2REQ = _descriptor.Descriptor(
name='FindLevel2Req',
full_name='dfs.hstdm.level2.FindLevel2Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='level0_id', full_name='dfs.hstdm.level2.FindLevel2Req.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='level1_id', full_name='dfs.hstdm.level2.FindLevel2Req.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='project_id', full_name='dfs.hstdm.level2.FindLevel2Req.project_id', index=2,
number=3, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='file_type', full_name='dfs.hstdm.level2.FindLevel2Req.file_type', index=3,
number=4, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='create_time_start', full_name='dfs.hstdm.level2.FindLevel2Req.create_time_start', 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='create_time_end', full_name='dfs.hstdm.level2.FindLevel2Req.create_time_end', 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='qc2_status', full_name='dfs.hstdm.level2.FindLevel2Req.qc2_status', index=6,
number=7, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='prc_status', full_name='dfs.hstdm.level2.FindLevel2Req.prc_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='filename', full_name='dfs.hstdm.level2.FindLevel2Req.filename', 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='limit', full_name='dfs.hstdm.level2.FindLevel2Req.limit', 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='other_conditions', full_name='dfs.hstdm.level2.FindLevel2Req.other_conditions', index=10,
number=11, 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=[_FINDLEVEL2REQ_OTHERCONDITIONSENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=329,
serialized_end=682,
)
_FINDLEVEL2RESP = _descriptor.Descriptor(
name='FindLevel2Resp',
full_name='dfs.hstdm.level2.FindLevel2Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.hstdm.level2.FindLevel2Resp.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.hstdm.level2.FindLevel2Resp.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.hstdm.level2.FindLevel2Resp.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.hstdm.level2.FindLevel2Resp.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=685,
serialized_end=817,
)
_GETLEVEL2REQ = _descriptor.Descriptor(
name='GetLevel2Req',
full_name='dfs.hstdm.level2.GetLevel2Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.hstdm.level2.GetLevel2Req.id', index=0,
number=1, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=819,
serialized_end=845,
)
_GETLEVEL2RESP = _descriptor.Descriptor(
name='GetLevel2Resp',
full_name='dfs.hstdm.level2.GetLevel2Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='record', full_name='dfs.hstdm.level2.GetLevel2Resp.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=847,
serialized_end=910,
)
_WRITELEVEL2REQ = _descriptor.Descriptor(
name='WriteLevel2Req',
full_name='dfs.hstdm.level2.WriteLevel2Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='record', full_name='dfs.hstdm.level2.WriteLevel2Req.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.hstdm.level2.WriteLevel2Req.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=912,
serialized_end=990,
)
_WRITELEVEL2RESP = _descriptor.Descriptor(
name='WriteLevel2Resp',
full_name='dfs.hstdm.level2.WriteLevel2Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.hstdm.level2.WriteLevel2Resp.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.hstdm.level2.WriteLevel2Resp.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.hstdm.level2.WriteLevel2Resp.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=992,
serialized_end=1104,
)
_UPDATEQC2STATUSREQ = _descriptor.Descriptor(
name='UpdateQc2StatusReq',
full_name='dfs.hstdm.level2.UpdateQc2StatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.hstdm.level2.UpdateQc2StatusReq.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.hstdm.level2.UpdateQc2StatusReq.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=1106,
serialized_end=1154,
)
_UPDATEQC2STATUSRESP = _descriptor.Descriptor(
name='UpdateQc2StatusResp',
full_name='dfs.hstdm.level2.UpdateQc2StatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.hstdm.level2.UpdateQc2StatusResp.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.hstdm.level2.UpdateQc2StatusResp.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=1156,
serialized_end=1224,
)
_UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
name='UpdateProcStatusReq',
full_name='dfs.hstdm.level2.UpdateProcStatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='dfs.hstdm.level2.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.hstdm.level2.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=1226,
serialized_end=1275,
)
_UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
name='UpdateProcStatusResp',
full_name='dfs.hstdm.level2.UpdateProcStatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='dfs.hstdm.level2.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.hstdm.level2.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=1277,
serialized_end=1346,
)
_FINDLEVEL2REQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL2REQ
_FINDLEVEL2REQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL2REQ_OTHERCONDITIONSENTRY
_FINDLEVEL2RESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_FINDLEVEL2RESP.fields_by_name['records'].message_type = _LEVEL2RECORD
_GETLEVEL2RESP.fields_by_name['record'].message_type = _LEVEL2RECORD
_WRITELEVEL2REQ.fields_by_name['record'].message_type = _LEVEL2RECORD
_WRITELEVEL2RESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_WRITELEVEL2RESP.fields_by_name['record'].message_type = _LEVEL2RECORD
_UPDATEQC2STATUSRESP.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['Level2Record'] = _LEVEL2RECORD
DESCRIPTOR.message_types_by_name['FindLevel2Req'] = _FINDLEVEL2REQ
DESCRIPTOR.message_types_by_name['FindLevel2Resp'] = _FINDLEVEL2RESP
DESCRIPTOR.message_types_by_name['GetLevel2Req'] = _GETLEVEL2REQ
DESCRIPTOR.message_types_by_name['GetLevel2Resp'] = _GETLEVEL2RESP
DESCRIPTOR.message_types_by_name['WriteLevel2Req'] = _WRITELEVEL2REQ
DESCRIPTOR.message_types_by_name['WriteLevel2Resp'] = _WRITELEVEL2RESP
DESCRIPTOR.message_types_by_name['UpdateQc2StatusReq'] = _UPDATEQC2STATUSREQ
DESCRIPTOR.message_types_by_name['UpdateQc2StatusResp'] = _UPDATEQC2STATUSRESP
DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ
DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Level2Record = _reflection.GeneratedProtocolMessageType('Level2Record', (_message.Message,), {
'DESCRIPTOR' : _LEVEL2RECORD,
'__module__' : 'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.Level2Record)
})
_sym_db.RegisterMessage(Level2Record)
FindLevel2Req = _reflection.GeneratedProtocolMessageType('FindLevel2Req', (_message.Message,), {
'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), {
'DESCRIPTOR' : _FINDLEVEL2REQ_OTHERCONDITIONSENTRY,
'__module__' : 'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.FindLevel2Req.OtherConditionsEntry)
})
,
'DESCRIPTOR' : _FINDLEVEL2REQ,
'__module__' : 'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.FindLevel2Req)
})
_sym_db.RegisterMessage(FindLevel2Req)
_sym_db.RegisterMessage(FindLevel2Req.OtherConditionsEntry)
FindLevel2Resp = _reflection.GeneratedProtocolMessageType('FindLevel2Resp', (_message.Message,), {
'DESCRIPTOR' : _FINDLEVEL2RESP,
'__module__' : 'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.FindLevel2Resp)
})
_sym_db.RegisterMessage(FindLevel2Resp)
GetLevel2Req = _reflection.GeneratedProtocolMessageType('GetLevel2Req', (_message.Message,), {
'DESCRIPTOR' : _GETLEVEL2REQ,
'__module__' : 'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.GetLevel2Req)
})
_sym_db.RegisterMessage(GetLevel2Req)
GetLevel2Resp = _reflection.GeneratedProtocolMessageType('GetLevel2Resp', (_message.Message,), {
'DESCRIPTOR' : _GETLEVEL2RESP,
'__module__' : 'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.GetLevel2Resp)
})
_sym_db.RegisterMessage(GetLevel2Resp)
WriteLevel2Req = _reflection.GeneratedProtocolMessageType('WriteLevel2Req', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL2REQ,
'__module__' : 'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.WriteLevel2Req)
})
_sym_db.RegisterMessage(WriteLevel2Req)
WriteLevel2Resp = _reflection.GeneratedProtocolMessageType('WriteLevel2Resp', (_message.Message,), {
'DESCRIPTOR' : _WRITELEVEL2RESP,
'__module__' : 'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.WriteLevel2Resp)
})
_sym_db.RegisterMessage(WriteLevel2Resp)
UpdateQc2StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc2StatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEQC2STATUSREQ,
'__module__' : 'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.UpdateQc2StatusReq)
})
_sym_db.RegisterMessage(UpdateQc2StatusReq)
UpdateQc2StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc2StatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEQC2STATUSRESP,
'__module__' : 'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.UpdateQc2StatusResp)
})
_sym_db.RegisterMessage(UpdateQc2StatusResp)
UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSREQ,
'__module__' : 'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.UpdateProcStatusReq)
})
_sym_db.RegisterMessage(UpdateProcStatusReq)
UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSRESP,
'__module__' : 'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.UpdateProcStatusResp)
})
_sym_db.RegisterMessage(UpdateProcStatusResp)
DESCRIPTOR._options = None
_FINDLEVEL2REQ_OTHERCONDITIONSENTRY._options = None
_LEVEL2SRV = _descriptor.ServiceDescriptor(
name='Level2Srv',
full_name='dfs.hstdm.level2.Level2Srv',
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=1349,
serialized_end=1792,
methods=[
_descriptor.MethodDescriptor(
name='Find',
full_name='dfs.hstdm.level2.Level2Srv.Find',
index=0,
containing_service=None,
input_type=_FINDLEVEL2REQ,
output_type=_FINDLEVEL2RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Get',
full_name='dfs.hstdm.level2.Level2Srv.Get',
index=1,
containing_service=None,
input_type=_GETLEVEL2REQ,
output_type=_GETLEVEL2RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Write',
full_name='dfs.hstdm.level2.Level2Srv.Write',
index=2,
containing_service=None,
input_type=_WRITELEVEL2REQ,
output_type=_WRITELEVEL2RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='UpdateQc2Status',
full_name='dfs.hstdm.level2.Level2Srv.UpdateQc2Status',
index=3,
containing_service=None,
input_type=_UPDATEQC2STATUSREQ,
output_type=_UPDATEQC2STATUSRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='UpdateProcStatus',
full_name='dfs.hstdm.level2.Level2Srv.UpdateProcStatus',
index=4,
containing_service=None,
input_type=_UPDATEPROCSTATUSREQ,
output_type=_UPDATEPROCSTATUSRESP,
serialized_options=None,
),
])
_sym_db.RegisterServiceDescriptor(_LEVEL2SRV)
DESCRIPTOR.services_by_name['Level2Srv'] = _LEVEL2SRV
# @@protoc_insertion_point(module_scope)
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from . import level2_pb2 as hstdm_dot_level2_dot_level2__pb2
class Level2SrvStub(object):
"""Missing associated documentation comment in .proto file"""
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Find = channel.unary_unary(
'/dfs.hstdm.level2.Level2Srv/Find',
request_serializer=hstdm_dot_level2_dot_level2__pb2.FindLevel2Req.SerializeToString,
response_deserializer=hstdm_dot_level2_dot_level2__pb2.FindLevel2Resp.FromString,
)
self.Get = channel.unary_unary(
'/dfs.hstdm.level2.Level2Srv/Get',
request_serializer=hstdm_dot_level2_dot_level2__pb2.GetLevel2Req.SerializeToString,
response_deserializer=hstdm_dot_level2_dot_level2__pb2.GetLevel2Resp.FromString,
)
self.Write = channel.stream_unary(
'/dfs.hstdm.level2.Level2Srv/Write',
request_serializer=hstdm_dot_level2_dot_level2__pb2.WriteLevel2Req.SerializeToString,
response_deserializer=hstdm_dot_level2_dot_level2__pb2.WriteLevel2Resp.FromString,
)
self.UpdateQc2Status = channel.unary_unary(
'/dfs.hstdm.level2.Level2Srv/UpdateQc2Status',
request_serializer=hstdm_dot_level2_dot_level2__pb2.UpdateQc2StatusReq.SerializeToString,
response_deserializer=hstdm_dot_level2_dot_level2__pb2.UpdateQc2StatusResp.FromString,
)
self.UpdateProcStatus = channel.unary_unary(
'/dfs.hstdm.level2.Level2Srv/UpdateProcStatus',
request_serializer=hstdm_dot_level2_dot_level2__pb2.UpdateProcStatusReq.SerializeToString,
response_deserializer=hstdm_dot_level2_dot_level2__pb2.UpdateProcStatusResp.FromString,
)
class Level2SrvServicer(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 UpdateQc2Status(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_Level2SrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'Find': grpc.unary_unary_rpc_method_handler(
servicer.Find,
request_deserializer=hstdm_dot_level2_dot_level2__pb2.FindLevel2Req.FromString,
response_serializer=hstdm_dot_level2_dot_level2__pb2.FindLevel2Resp.SerializeToString,
),
'Get': grpc.unary_unary_rpc_method_handler(
servicer.Get,
request_deserializer=hstdm_dot_level2_dot_level2__pb2.GetLevel2Req.FromString,
response_serializer=hstdm_dot_level2_dot_level2__pb2.GetLevel2Resp.SerializeToString,
),
'Write': grpc.stream_unary_rpc_method_handler(
servicer.Write,
request_deserializer=hstdm_dot_level2_dot_level2__pb2.WriteLevel2Req.FromString,
response_serializer=hstdm_dot_level2_dot_level2__pb2.WriteLevel2Resp.SerializeToString,
),
'UpdateQc2Status': grpc.unary_unary_rpc_method_handler(
servicer.UpdateQc2Status,
request_deserializer=hstdm_dot_level2_dot_level2__pb2.UpdateQc2StatusReq.FromString,
response_serializer=hstdm_dot_level2_dot_level2__pb2.UpdateQc2StatusResp.SerializeToString,
),
'UpdateProcStatus': grpc.unary_unary_rpc_method_handler(
servicer.UpdateProcStatus,
request_deserializer=hstdm_dot_level2_dot_level2__pb2.UpdateProcStatusReq.FromString,
response_serializer=hstdm_dot_level2_dot_level2__pb2.UpdateProcStatusResp.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'dfs.hstdm.level2.Level2Srv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# This class is part of an EXPERIMENTAL API.
class Level2Srv(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.hstdm.level2.Level2Srv/Find',
hstdm_dot_level2_dot_level2__pb2.FindLevel2Req.SerializeToString,
hstdm_dot_level2_dot_level2__pb2.FindLevel2Resp.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.hstdm.level2.Level2Srv/Get',
hstdm_dot_level2_dot_level2__pb2.GetLevel2Req.SerializeToString,
hstdm_dot_level2_dot_level2__pb2.GetLevel2Resp.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.hstdm.level2.Level2Srv/Write',
hstdm_dot_level2_dot_level2__pb2.WriteLevel2Req.SerializeToString,
hstdm_dot_level2_dot_level2__pb2.WriteLevel2Resp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def UpdateQc2Status(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/dfs.hstdm.level2.Level2Srv/UpdateQc2Status',
hstdm_dot_level2_dot_level2__pb2.UpdateQc2StatusReq.SerializeToString,
hstdm_dot_level2_dot_level2__pb2.UpdateQc2StatusResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def UpdateProcStatus(request,
target,
options=(),
channel_credentials=None,
call_credentials=None,
compression=None,
wait_for_ready=None,
timeout=None,
metadata=None):
return grpc.experimental.unary_unary(request, target, '/dfs.hstdm.level2.Level2Srv/UpdateProcStatus',
hstdm_dot_level2_dot_level2__pb2.UpdateProcStatusReq.SerializeToString,
hstdm_dot_level2_dot_level2__pb2.UpdateProcStatusResp.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment