Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-dfs
csst-dfs-proto-py
Commits
d9e935a3
Commit
d9e935a3
authored
Jun 07, 2021
by
Wei Shoulin
Browse files
c3
parent
f439da0e
Changes
13
Show whitespace changes
Inline
Side-by-side
csst_dfs_proto/facility/calmerge/calmerge_pb2.py
0 → 100644
View file @
d9e935a3
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: facility/calmerge/calmerge.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
=
'facility/calmerge/calmerge.proto'
,
package
=
'calmerge'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z&cnlab.net/csst/proto/facility/calmerge'
),
serialized_pb
=
_b
(
'
\n
facility/calmerge/calmerge.proto
\x12\x08\x63\x61
lmerge
\x1a\x12\x63
ommon/error.proto
\"\x81\x02\n\x0e\x43\x61
lMergeRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x13\n\x0b\x64\x65
tector_no
\x18\x02
\x01
(
\t\x12\x10\n\x08
ref_type
\x18\x03
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x04
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x05
\x01
(
\x02\x12\x10\n\x08\x66
ilename
\x18\x06
\x01
(
\t\x12\x11\n\t
file_path
\x18\x07
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x08
\x01
(
\r\x12\x10\n\x08
qc1_time
\x18\t
\x01
(
\t\x12\x12\n\n
prc_status
\x18\n
\x01
(
\r\x12\x10\n\x08
prc_time
\x18\x0b
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0c
\x01
(
\t\x12\x12\n\n
level0_ids
\x18\r
\x03
(
\x03\"\xb2\x02\n\x0f\x46
indCalMergeReq
\x12\x13\n\x0b\x64\x65
tector_no
\x18\x01
\x01
(
\t\x12\x10\n\x08
ref_type
\x18\x02
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x03
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\r\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\r\x12\x11\n\t
file_name
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\r\x12
H
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32
..calmerge.FindCalMergeReq.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x80\x01\n\x10\x46
indCalMergeResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
)
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x18
.calmerge.CalMergeRecord
\"\x1c\n\x0e
GetCalMergeReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
;
\n\x0f
GetCalMergeResp
\x12
(
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x18
.calmerge.CalMergeRecord
\"
<
\n\x10
WriteCalMergeReq
\x12
(
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x18
.calmerge.CalMergeRecord
\"
l
\n\x11
WriteCalMergeResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
(
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x18
.calmerge.CalMergeRecord
\"
0
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
D
\n\x13
UpdateQc1StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\xf7\x02\n\x0b\x43\x61
lMergeSrv
\x12
?
\n\x04\x46
ind
\x12\x19
.calmerge.FindCalMergeReq
\x1a\x1a
.calmerge.FindCalMergeResp
\"\x00\x12
<
\n\x03
Get
\x12\x18
.calmerge.GetCalMergeReq
\x1a\x19
.calmerge.GetCalMergeResp
\"\x00\x12\x42\n\x05
Write
\x12\x1a
.calmerge.WriteCalMergeReq
\x1a\x1b
.calmerge.WriteCalMergeResp
\"\x00\x12
P
\n\x0f
UpdateQc1Status
\x12\x1c
.calmerge.UpdateQc1StatusReq
\x1a\x1d
.calmerge.UpdateQc1StatusResp
\"\x00\x12
S
\n\x10
UpdateProcStatus
\x12\x1d
.calmerge.UpdateProcStatusReq
\x1a\x1e
.calmerge.UpdateProcStatusResp
\"\x00\x42
(Z&cnlab.net/csst/proto/facility/calmergeb
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
_CALMERGERECORD
=
_descriptor
.
Descriptor
(
name
=
'CalMergeRecord'
,
full_name
=
'calmerge.CalMergeRecord'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'calmerge.CalMergeRecord.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
=
'detector_no'
,
full_name
=
'calmerge.CalMergeRecord.detector_no'
,
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
=
'ref_type'
,
full_name
=
'calmerge.CalMergeRecord.ref_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
=
'obs_time'
,
full_name
=
'calmerge.CalMergeRecord.obs_time'
,
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
=
'exp_time'
,
full_name
=
'calmerge.CalMergeRecord.exp_time'
,
index
=
4
,
number
=
5
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
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
=
'calmerge.CalMergeRecord.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
=
'calmerge.CalMergeRecord.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
=
'calmerge.CalMergeRecord.qc1_status'
,
index
=
7
,
number
=
8
,
type
=
13
,
cpp_type
=
3
,
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
=
'calmerge.CalMergeRecord.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
=
'calmerge.CalMergeRecord.prc_status'
,
index
=
9
,
number
=
10
,
type
=
13
,
cpp_type
=
3
,
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
=
'calmerge.CalMergeRecord.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
=
'calmerge.CalMergeRecord.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
=
'level0_ids'
,
full_name
=
'calmerge.CalMergeRecord.level0_ids'
,
index
=
12
,
number
=
13
,
type
=
3
,
cpp_type
=
2
,
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
=
67
,
serialized_end
=
324
,
)
_FINDCALMERGEREQ_OTHERCONDITIONSENTRY
=
_descriptor
.
Descriptor
(
name
=
'OtherConditionsEntry'
,
full_name
=
'calmerge.FindCalMergeReq.OtherConditionsEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'calmerge.FindCalMergeReq.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
=
'calmerge.FindCalMergeReq.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
=
579
,
serialized_end
=
633
,
)
_FINDCALMERGEREQ
=
_descriptor
.
Descriptor
(
name
=
'FindCalMergeReq'
,
full_name
=
'calmerge.FindCalMergeReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'detector_no'
,
full_name
=
'calmerge.FindCalMergeReq.detector_no'
,
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
=
'ref_type'
,
full_name
=
'calmerge.FindCalMergeReq.ref_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
=
'exp_time_start'
,
full_name
=
'calmerge.FindCalMergeReq.exp_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
=
'exp_time_end'
,
full_name
=
'calmerge.FindCalMergeReq.exp_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
=
'calmerge.FindCalMergeReq.qc1_status'
,
index
=
4
,
number
=
5
,
type
=
13
,
cpp_type
=
3
,
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
=
'calmerge.FindCalMergeReq.prc_status'
,
index
=
5
,
number
=
6
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'file_name'
,
full_name
=
'calmerge.FindCalMergeReq.file_name'
,
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
=
'calmerge.FindCalMergeReq.limit'
,
index
=
7
,
number
=
8
,
type
=
13
,
cpp_type
=
3
,
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
=
'calmerge.FindCalMergeReq.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
=
[
_FINDCALMERGEREQ_OTHERCONDITIONSENTRY
,
],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
327
,
serialized_end
=
633
,
)
_FINDCALMERGERESP
=
_descriptor
.
Descriptor
(
name
=
'FindCalMergeResp'
,
full_name
=
'calmerge.FindCalMergeResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'calmerge.FindCalMergeResp.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
=
'calmerge.FindCalMergeResp.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
=
'calmerge.FindCalMergeResp.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
=
'calmerge.FindCalMergeResp.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
=
636
,
serialized_end
=
764
,
)
_GETCALMERGEREQ
=
_descriptor
.
Descriptor
(
name
=
'GetCalMergeReq'
,
full_name
=
'calmerge.GetCalMergeReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'calmerge.GetCalMergeReq.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
=
766
,
serialized_end
=
794
,
)
_GETCALMERGERESP
=
_descriptor
.
Descriptor
(
name
=
'GetCalMergeResp'
,
full_name
=
'calmerge.GetCalMergeResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'calmerge.GetCalMergeResp.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
=
796
,
serialized_end
=
855
,
)
_WRITECALMERGEREQ
=
_descriptor
.
Descriptor
(
name
=
'WriteCalMergeReq'
,
full_name
=
'calmerge.WriteCalMergeReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'calmerge.WriteCalMergeReq.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
=
857
,
serialized_end
=
917
,
)
_WRITECALMERGERESP
=
_descriptor
.
Descriptor
(
name
=
'WriteCalMergeResp'
,
full_name
=
'calmerge.WriteCalMergeResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'calmerge.WriteCalMergeResp.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
=
'calmerge.WriteCalMergeResp.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
=
'calmerge.WriteCalMergeResp.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
=
919
,
serialized_end
=
1027
,
)
_UPDATEQC1STATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc1StatusReq'
,
full_name
=
'calmerge.UpdateQc1StatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'calmerge.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
=
'calmerge.UpdateQc1StatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
13
,
cpp_type
=
3
,
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
=
1029
,
serialized_end
=
1077
,
)
_UPDATEQC1STATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc1StatusResp'
,
full_name
=
'calmerge.UpdateQc1StatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'calmerge.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
=
'calmerge.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
=
1079
,
serialized_end
=
1147
,
)
_UPDATEPROCSTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusReq'
,
full_name
=
'calmerge.UpdateProcStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'calmerge.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
=
'calmerge.UpdateProcStatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
13
,
cpp_type
=
3
,
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
=
1149
,
serialized_end
=
1198
,
)
_UPDATEPROCSTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusResp'
,
full_name
=
'calmerge.UpdateProcStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'calmerge.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
=
'calmerge.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
=
1200
,
serialized_end
=
1269
,
)
_FINDCALMERGEREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDCALMERGEREQ
_FINDCALMERGEREQ
.
fields_by_name
[
'other_conditions'
].
message_type
=
_FINDCALMERGEREQ_OTHERCONDITIONSENTRY
_FINDCALMERGERESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDCALMERGERESP
.
fields_by_name
[
'records'
].
message_type
=
_CALMERGERECORD
_GETCALMERGERESP
.
fields_by_name
[
'record'
].
message_type
=
_CALMERGERECORD
_WRITECALMERGEREQ
.
fields_by_name
[
'record'
].
message_type
=
_CALMERGERECORD
_WRITECALMERGERESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITECALMERGERESP
.
fields_by_name
[
'record'
].
message_type
=
_CALMERGERECORD
_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
[
'CalMergeRecord'
]
=
_CALMERGERECORD
DESCRIPTOR
.
message_types_by_name
[
'FindCalMergeReq'
]
=
_FINDCALMERGEREQ
DESCRIPTOR
.
message_types_by_name
[
'FindCalMergeResp'
]
=
_FINDCALMERGERESP
DESCRIPTOR
.
message_types_by_name
[
'GetCalMergeReq'
]
=
_GETCALMERGEREQ
DESCRIPTOR
.
message_types_by_name
[
'GetCalMergeResp'
]
=
_GETCALMERGERESP
DESCRIPTOR
.
message_types_by_name
[
'WriteCalMergeReq'
]
=
_WRITECALMERGEREQ
DESCRIPTOR
.
message_types_by_name
[
'WriteCalMergeResp'
]
=
_WRITECALMERGERESP
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
)
CalMergeRecord
=
_reflection
.
GeneratedProtocolMessageType
(
'CalMergeRecord'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_CALMERGERECORD
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:calmerge.CalMergeRecord)
})
_sym_db
.
RegisterMessage
(
CalMergeRecord
)
FindCalMergeReq
=
_reflection
.
GeneratedProtocolMessageType
(
'FindCalMergeReq'
,
(
_message
.
Message
,),
{
'OtherConditionsEntry'
:
_reflection
.
GeneratedProtocolMessageType
(
'OtherConditionsEntry'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDCALMERGEREQ_OTHERCONDITIONSENTRY
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:calmerge.FindCalMergeReq.OtherConditionsEntry)
})
,
'DESCRIPTOR'
:
_FINDCALMERGEREQ
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:calmerge.FindCalMergeReq)
})
_sym_db
.
RegisterMessage
(
FindCalMergeReq
)
_sym_db
.
RegisterMessage
(
FindCalMergeReq
.
OtherConditionsEntry
)
FindCalMergeResp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindCalMergeResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDCALMERGERESP
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:calmerge.FindCalMergeResp)
})
_sym_db
.
RegisterMessage
(
FindCalMergeResp
)
GetCalMergeReq
=
_reflection
.
GeneratedProtocolMessageType
(
'GetCalMergeReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETCALMERGEREQ
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:calmerge.GetCalMergeReq)
})
_sym_db
.
RegisterMessage
(
GetCalMergeReq
)
GetCalMergeResp
=
_reflection
.
GeneratedProtocolMessageType
(
'GetCalMergeResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETCALMERGERESP
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:calmerge.GetCalMergeResp)
})
_sym_db
.
RegisterMessage
(
GetCalMergeResp
)
WriteCalMergeReq
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteCalMergeReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITECALMERGEREQ
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:calmerge.WriteCalMergeReq)
})
_sym_db
.
RegisterMessage
(
WriteCalMergeReq
)
WriteCalMergeResp
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteCalMergeResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITECALMERGERESP
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:calmerge.WriteCalMergeResp)
})
_sym_db
.
RegisterMessage
(
WriteCalMergeResp
)
UpdateQc1StatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc1StatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC1STATUSREQ
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:calmerge.UpdateQc1StatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateQc1StatusReq
)
UpdateQc1StatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc1StatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC1STATUSRESP
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:calmerge.UpdateQc1StatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateQc1StatusResp
)
UpdateProcStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSREQ
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:calmerge.UpdateProcStatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusReq
)
UpdateProcStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSRESP
,
'__module__'
:
'facility.calmerge.calmerge_pb2'
# @@protoc_insertion_point(class_scope:calmerge.UpdateProcStatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusResp
)
DESCRIPTOR
.
_options
=
None
_FINDCALMERGEREQ_OTHERCONDITIONSENTRY
.
_options
=
None
_CALMERGESRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'CalMergeSrv'
,
full_name
=
'calmerge.CalMergeSrv'
,
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1272
,
serialized_end
=
1647
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
full_name
=
'calmerge.CalMergeSrv.Find'
,
index
=
0
,
containing_service
=
None
,
input_type
=
_FINDCALMERGEREQ
,
output_type
=
_FINDCALMERGERESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Get'
,
full_name
=
'calmerge.CalMergeSrv.Get'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_GETCALMERGEREQ
,
output_type
=
_GETCALMERGERESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'calmerge.CalMergeSrv.Write'
,
index
=
2
,
containing_service
=
None
,
input_type
=
_WRITECALMERGEREQ
,
output_type
=
_WRITECALMERGERESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateQc1Status'
,
full_name
=
'calmerge.CalMergeSrv.UpdateQc1Status'
,
index
=
3
,
containing_service
=
None
,
input_type
=
_UPDATEQC1STATUSREQ
,
output_type
=
_UPDATEQC1STATUSRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'calmerge.CalMergeSrv.UpdateProcStatus'
,
index
=
4
,
containing_service
=
None
,
input_type
=
_UPDATEPROCSTATUSREQ
,
output_type
=
_UPDATEPROCSTATUSRESP
,
serialized_options
=
None
,
),
])
_sym_db
.
RegisterServiceDescriptor
(
_CALMERGESRV
)
DESCRIPTOR
.
services_by_name
[
'CalMergeSrv'
]
=
_CALMERGESRV
# @@protoc_insertion_point(module_scope)
csst_dfs_proto/facility/calmerge/calmerge_pb2_grpc.py
0 → 100644
View file @
d9e935a3
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
.
import
calmerge_pb2
as
facility_dot_calmerge_dot_calmerge__pb2
class
CalMergeSrvStub
(
object
):
# missing associated documentation comment in .proto file
pass
def
__init__
(
self
,
channel
):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self
.
Find
=
channel
.
unary_unary
(
'/calmerge.CalMergeSrv/Find'
,
request_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
FindCalMergeReq
.
SerializeToString
,
response_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
FindCalMergeResp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/calmerge.CalMergeSrv/Get'
,
request_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
GetCalMergeReq
.
SerializeToString
,
response_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
GetCalMergeResp
.
FromString
,
)
self
.
Write
=
channel
.
unary_unary
(
'/calmerge.CalMergeSrv/Write'
,
request_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
WriteCalMergeReq
.
SerializeToString
,
response_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
WriteCalMergeResp
.
FromString
,
)
self
.
UpdateQc1Status
=
channel
.
unary_unary
(
'/calmerge.CalMergeSrv/UpdateQc1Status'
,
request_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
UpdateQc1StatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
UpdateQc1StatusResp
.
FromString
,
)
self
.
UpdateProcStatus
=
channel
.
unary_unary
(
'/calmerge.CalMergeSrv/UpdateProcStatus'
,
request_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
UpdateProcStatusResp
.
FromString
,
)
class
CalMergeSrvServicer
(
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
Get
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Write
(
self
,
request
,
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
UpdateQc1Status
(
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_CalMergeSrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
'Find'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Find
,
request_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
FindCalMergeReq
.
FromString
,
response_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
FindCalMergeResp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
GetCalMergeReq
.
FromString
,
response_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
GetCalMergeResp
.
SerializeToString
,
),
'Write'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Write
,
request_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
WriteCalMergeReq
.
FromString
,
response_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
WriteCalMergeResp
.
SerializeToString
,
),
'UpdateQc1Status'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateQc1Status
,
request_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
UpdateQc1StatusReq
.
FromString
,
response_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
UpdateQc1StatusResp
.
SerializeToString
,
),
'UpdateProcStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateProcStatus
,
request_deserializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
UpdateProcStatusReq
.
FromString
,
response_serializer
=
facility_dot_calmerge_dot_calmerge__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'calmerge.CalMergeSrv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
csst_dfs_proto/facility/detector/detector_pb2.py
View file @
d9e935a3
...
...
@@ -18,10 +18,10 @@ from ...common import error_pb2 as common_dot_error__pb2
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'facility/detector/detector.proto'
,
package
=
'detector'
,
package
=
'
facility.
detector'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z
\035
cnlab.net/csst/proto/facility'
),
serialized_pb
=
_b
(
'
\n
facility/detector/detector.proto
\x12\x
08
\x6
4
\x6
5
tector
\x1a\x12\x63
ommon/error.proto
\"
}
\n\x08\x44\x65
tector
\x12\n\n\x02
no
\x18\x01
\x01
(
\t\x12\x15\n\r
detector_name
\x18\x02
\x01
(
\t\x12\x11\n\t
module_id
\x18\x03
\x01
(
\t\x12\x11\n\t
filter_id
\x18\x04
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x05
\x01
(
\
x03
\x12\x13\n\x0b
update_time
\x18\x06
\x01
(
\t\"
k
\n\x0e\x44\x65
tectorStatus
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x13\n\x0b\x64\x65
tector_no
\x18\x02
\x01
(
\t\x12\x0e\n\x06
status
\x18\x03
\x01
(
\t\x12\x13\n\x0b
status_time
\x18\x04
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x05
\x01
(
\t\"
1
\n\x0f\x46
indDetectorReq
\x12\x11\n\t
module_id
\x18\x01
\x01
(
\t\x12\x0b\n\x03
key
\x18\x02
\x01
(
\t\"
z
\n\x10\x46
indDetectorResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
#
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1
2
.detector.Detector
\"\x1c\n\x0e
GetDetectorReq
\x12\n\n\x02
no
\x18\x01
\x01
(
\t\"
7
\n\x0f
GetDetectorResp
\x12
$
\n\x0
8\x44\x65
t
ec
t
or
\x18\x01
\x01
(
\x0b\x32\x1
2
.detector.Detector
\"
[
\n\x10
WriteDetectorReq
\x12
\n
\n\x0
2
no
\x18\x01
\x01
(
\
t
\x
1
2\x1
5\n\r
detector_name
\x18\x02
\x01
(
\t\x12\x11\n\t
module_id
\x18\x03
\x01
(
\t\x12\x11\n\t
filter_id
\x18\x04
\x01
(
\t
\"
h
\n\x11
WriteDetectorResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
$
\n\x0
8\x44\x65
t
ec
t
or
\x18\x03
\x01
(
\x0b\x32\x1
2
.detector.Detector
\"
\\
\n\x11
UpdateDetectorReq
\x12
\n
\n\x0
2
no
\x18\x0
1
\x01
(
\
t
\x
1
2\x1
5\n\r
detector_name
\x18\x02
\x01
(
\t\x12\x11\n\t
module_id
\x18\x03
\x01
(
\t\x12\x11\n\t
filter_id
\x18\x04
\x01
(
\t
\"
C
\n\x12
UpdateDetectorResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"\x1f\n\x11\x44\x65
leteDetectorReq
\x12\n\n\x02
no
\x18\x01
\x01
(
\t\"
C
\n\x12\x44\x65
leteDetectorResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
g
\n\r
FindStatusReq
\x12\x13\n\x0b\x64\x65
tector_no
\x18\x01
\x01
(
\t\x12\x19\n\x11
status_begin_time
\x18\x02
\x01
(
\
x03
\x12\x17\n\x0f
status_end_time
\x18\x03
\x01
(
\
x03
\x12\r\n\x05
limit
\x18\x04
\x01
(
\x05\"
~
\n\x0e\x46
indStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
)
\n\x07
records
\x18\x04
\x03
(
\x0b\x32
\x18
.detector.DetectorStatus
\"
!
\n\x0c
GetStatusReq
\x12\
x11\n\t
status_
id
\x18\x01
\x01
(
\x03\"
9
\n\r
GetStatusResp
\x12
(
\n\x06
record
\x18\x01
\x01
(
\x0b\x32
\x18
.detector.DetectorStatus
\"
J
\n\x0e
WriteStatusReq
\x12\x
1
3\n\x0
b\x64\x65
t
ec
t
or
_no
\x18\x01
\x01
(
\
t\x12\x0e\n\x06
status
\x18\x02
\x01
(
\t\x12\x13\n\x0b
status_time
\x18\x03
\x01
(
\x03
\"
j
\n\x0f
WriteStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
(
\n\x06
record
\x18\x03
\x01
(
\x0b\x32
\x18
.detector.DetectorStatus2
\x
a
7\x0
4
\n\x0b\x44\x65
tectorSrv
\x12
?
\n\x04\x46
ind
\x12\
x19
.detector.FindDetectorReq
\x1a
\x1a
.detector.FindDetectorResp
\"\x00\x12
<
\n\x03
Get
\x12
\x18
.detector.GetDetectorReq
\x1a\
x19
.detector.GetDetectorResp
\"\x00\x12
\x42
\n\x05
Write
\x12
\x1a
.detector.WriteDetectorReq
\x1a
\x1b
.detector.WriteDetectorResp
\"\x00\x12
\x45
\n\x06
Update
\x12
\x1b
.detector.UpdateDetectorReq
\x1a
\x1c
.detector.UpdateDetectorResp
\"\x00\x12
\x45
\n\x06\x44\x65
lete
\x12
\x1b
.detector.DeleteDetectorReq
\x1a
\x1c
.detector.DeleteDetectorResp
\"\x00\x12
\x41
\n\n
FindStatus
\x12
\x17
.detector.FindStatusReq
\x1a
\x18
.detector.FindStatusResp
\"\x00\x12
>
\n\t
GetStatus
\x12\x1
6
.detector.GetStatusReq
\x1a
\x17
.detector.GetStatusResp
\"\x00\x12
\x44
\n\x0b
WriteStatus
\x12
\x18
.detector.WriteStatusReq
\x1a\
x19
.detector.WriteStatusResp
\"\x00\x42
\x1f
Z
\x1d\x63
nlab.net/csst/proto/facilityb
\x06
proto3'
)
serialized_options
=
_b
(
'Z
&
cnlab.net/csst/proto/facility
/detector
'
),
serialized_pb
=
_b
(
'
\n
facility/detector/detector.proto
\x12\x
11
\x6
6
\x6
1\x63
ility.de
tector
\x1a\x12\x63
ommon/error.proto
\"
}
\n\x08\x44\x65
tector
\x12\n\n\x02
no
\x18\x01
\x01
(
\t\x12\x15\n\r
detector_name
\x18\x02
\x01
(
\t\x12\x11\n\t
module_id
\x18\x03
\x01
(
\t\x12\x11\n\t
filter_id
\x18\x04
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x05
\x01
(
\
t
\x12\x13\n\x0b
update_time
\x18\x06
\x01
(
\t\"
k
\n\x0e\x44\x65
tectorStatus
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x13\n\x0b\x64\x65
tector_no
\x18\x02
\x01
(
\t\x12\x0e\n\x06
status
\x18\x03
\x01
(
\t\x12\x13\n\x0b
status_time
\x18\x04
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x05
\x01
(
\t\"
1
\n\x0f\x46
indDetectorReq
\x12\x11\n\t
module_id
\x18\x01
\x01
(
\t\x12\x0b\n\x03
key
\x18\x02
\x01
(
\t\"
\x83\x01
\n\x10\x46
indDetectorResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
,
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1
b
.facility
.detector.Detector
\"\x1c\n\x0e
GetDetectorReq
\x12\n\n\x02
no
\x18\x01
\x01
(
\t\"
>
\n\x0f
GetDetectorResp
\x12
+
\n\x0
6
r
ecor
d
\x18\x01
\x01
(
\x0b\x32\x1
b
.facility
.detector.Detector
\"
?
\n\x10
WriteDetectorReq
\x12
+
\n\x0
6
record
\x18\x01
\x01
(
\
x0b
\x
3
2\x1
b
.facility.detector.Detector
\"
o
\n\x11
WriteDetectorResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
+
\n\x0
6
r
ecor
d
\x18\x03
\x01
(
\x0b\x32\x1
b
.facility
.detector.Detector
\"
@
\n\x11
UpdateDetectorReq
\x12
+
\n\x0
6
record
\x18\x0
3
\x01
(
\
x0b
\x
3
2\x1
b
.facility.detector.Detector
\"
C
\n\x12
UpdateDetectorResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"\x1f\n\x11\x44\x65
leteDetectorReq
\x12\n\n\x02
no
\x18\x01
\x01
(
\t\"
C
\n\x12\x44\x65
leteDetectorResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
g
\n\r
FindStatusReq
\x12\x13\n\x0b\x64\x65
tector_no
\x18\x01
\x01
(
\t\x12\x19\n\x11
status_begin_time
\x18\x02
\x01
(
\
t
\x12\x17\n\x0f
status_end_time
\x18\x03
\x01
(
\
t
\x12\r\n\x05
limit
\x18\x04
\x01
(
\x05\"
\x87\x01
\n\x0e\x46
indStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
\x32
\n\x07
records
\x18\x04
\x03
(
\x0b\x32
!.facility
.detector.DetectorStatus
\"
\x1a
\n\x0c
GetStatusReq
\x12\
n\n\x02
id
\x18\x01
\x01
(
\x03\"
B
\n\r
GetStatusResp
\x12
\x31
\n\x06
record
\x18\x01
\x01
(
\x0b\x32
!.facility
.detector.DetectorStatus
\"
C
\n\x0e
WriteStatusReq
\x12\x3
1
\n\x0
6
r
ecor
d
\x18\x01
\x01
(
\
x0b\x32
!.facility.detector.DetectorStatus
\"
s
\n\x0f
WriteStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
\x31
\n\x06
record
\x18\x03
\x01
(
\x0b\x32
!.facility
.detector.DetectorStatus2
\x
b
7\x0
5
\n\x0b\x44\x65
tectorSrv
\x12
Q
\n\x04\x46
ind
\x12\
"
.facility
.detector.FindDetectorReq
\x1a
#.facility
.detector.FindDetectorResp
\"\x00\x12
N
\n\x03
Get
\x12
!.facility
.detector.GetDetectorReq
\x1a\
"
.facility
.detector.GetDetectorResp
\"\x00\x12
T
\n\x05
Write
\x12
#.facility
.detector.WriteDetectorReq
\x1a
$.facility
.detector.WriteDetectorResp
\"\x00\x12
W
\n\x06
Update
\x12
$.facility
.detector.UpdateDetectorReq
\x1a
%.facility
.detector.UpdateDetectorResp
\"\x00\x12
W
\n\x06\x44\x65
lete
\x12
$.facility
.detector.DeleteDetectorReq
\x1a
%.facility
.detector.DeleteDetectorResp
\"\x00\x12
S
\n\n
FindStatus
\x12
.facility
.detector.FindStatusReq
\x1a
!.facility
.detector.FindStatusResp
\"\x00\x12
P
\n\t
GetStatus
\x12\x1
f
.facility
.detector.GetStatusReq
\x1a
.facility
.detector.GetStatusResp
\"\x00\x12
V
\n\x0b
WriteStatus
\x12
!.facility
.detector.WriteStatusReq
\x1a\
"
.facility
.detector.WriteStatusResp
\"\x00\x42
(Z&c
nlab.net/csst/proto/facility
/detector
b
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -30,48 +30,48 @@ DESCRIPTOR = _descriptor.FileDescriptor(
_DETECTOR
=
_descriptor
.
Descriptor
(
name
=
'Detector'
,
full_name
=
'detector.Detector'
,
full_name
=
'
facility.
detector.Detector'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'no'
,
full_name
=
'detector.Detector.no'
,
index
=
0
,
name
=
'no'
,
full_name
=
'
facility.
detector.Detector.no'
,
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
=
'detector_name'
,
full_name
=
'detector.Detector.detector_name'
,
index
=
1
,
name
=
'detector_name'
,
full_name
=
'
facility.
detector.Detector.detector_name'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'module_id'
,
full_name
=
'detector.Detector.module_id'
,
index
=
2
,
name
=
'module_id'
,
full_name
=
'
facility.
detector.Detector.module_id'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'filter_id'
,
full_name
=
'detector.Detector.filter_id'
,
index
=
3
,
name
=
'filter_id'
,
full_name
=
'
facility.
detector.Detector.filter_id'
,
index
=
3
,
number
=
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time'
,
full_name
=
'detector.Detector.create_time'
,
index
=
4
,
number
=
5
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'create_time'
,
full_name
=
'
facility.
detector.Detector.create_time'
,
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
=
'update_time'
,
full_name
=
'detector.Detector.update_time'
,
index
=
5
,
name
=
'update_time'
,
full_name
=
'
facility.
detector.Detector.update_time'
,
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
,
...
...
@@ -89,48 +89,48 @@ _DETECTOR = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
66
,
serialized_end
=
191
,
serialized_start
=
75
,
serialized_end
=
200
,
)
_DETECTORSTATUS
=
_descriptor
.
Descriptor
(
name
=
'DetectorStatus'
,
full_name
=
'detector.DetectorStatus'
,
full_name
=
'
facility.
detector.DetectorStatus'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'detector.DetectorStatus.id'
,
index
=
0
,
name
=
'id'
,
full_name
=
'
facility.
detector.DetectorStatus.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
=
'detector_no'
,
full_name
=
'detector.DetectorStatus.detector_no'
,
index
=
1
,
name
=
'detector_no'
,
full_name
=
'
facility.
detector.DetectorStatus.detector_no'
,
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
=
'status'
,
full_name
=
'detector.DetectorStatus.status'
,
index
=
2
,
name
=
'status'
,
full_name
=
'
facility.
detector.DetectorStatus.status'
,
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
=
'status_time'
,
full_name
=
'detector.DetectorStatus.status_time'
,
index
=
3
,
name
=
'status_time'
,
full_name
=
'
facility.
detector.DetectorStatus.status_time'
,
index
=
3
,
number
=
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time'
,
full_name
=
'detector.DetectorStatus.create_time'
,
index
=
4
,
name
=
'create_time'
,
full_name
=
'
facility.
detector.DetectorStatus.create_time'
,
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
,
...
...
@@ -148,27 +148,27 @@ _DETECTORSTATUS = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
193
,
serialized_end
=
30
0
,
serialized_start
=
202
,
serialized_end
=
30
9
,
)
_FINDDETECTORREQ
=
_descriptor
.
Descriptor
(
name
=
'FindDetectorReq'
,
full_name
=
'detector.FindDetectorReq'
,
full_name
=
'
facility.
detector.FindDetectorReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'module_id'
,
full_name
=
'detector.FindDetectorReq.module_id'
,
index
=
0
,
name
=
'module_id'
,
full_name
=
'
facility.
detector.FindDetectorReq.module_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
=
'key'
,
full_name
=
'detector.FindDetectorReq.key'
,
index
=
1
,
name
=
'key'
,
full_name
=
'
facility.
detector.FindDetectorReq.key'
,
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
,
...
...
@@ -186,41 +186,41 @@ _FINDDETECTORREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
3
02
,
serialized_end
=
3
51
,
serialized_start
=
3
11
,
serialized_end
=
3
60
,
)
_FINDDETECTORRESP
=
_descriptor
.
Descriptor
(
name
=
'FindDetectorResp'
,
full_name
=
'detector.FindDetectorResp'
,
full_name
=
'
facility.
detector.FindDetectorResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'detector.FindDetectorResp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
facility.
detector.FindDetectorResp.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
=
'detector.FindDetectorResp.totalCount'
,
index
=
1
,
name
=
'totalCount'
,
full_name
=
'
facility.
detector.FindDetectorResp.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
=
'detector.FindDetectorResp.error'
,
index
=
2
,
name
=
'error'
,
full_name
=
'
facility.
detector.FindDetectorResp.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
=
'detector.FindDetectorResp.records'
,
index
=
3
,
name
=
'records'
,
full_name
=
'
facility.
detector.FindDetectorResp.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
,
...
...
@@ -238,20 +238,20 @@ _FINDDETECTORRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
3
5
3
,
serialized_end
=
4
75
,
serialized_start
=
3
6
3
,
serialized_end
=
4
94
,
)
_GETDETECTORREQ
=
_descriptor
.
Descriptor
(
name
=
'GetDetectorReq'
,
full_name
=
'detector.GetDetectorReq'
,
full_name
=
'
facility.
detector.GetDetectorReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'no'
,
full_name
=
'detector.GetDetectorReq.no'
,
index
=
0
,
name
=
'no'
,
full_name
=
'
facility.
detector.GetDetectorReq.no'
,
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
,
...
...
@@ -269,20 +269,20 @@ _GETDETECTORREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
4
77
,
serialized_end
=
5
05
,
serialized_start
=
4
96
,
serialized_end
=
5
24
,
)
_GETDETECTORRESP
=
_descriptor
.
Descriptor
(
name
=
'GetDetectorResp'
,
full_name
=
'detector.GetDetectorResp'
,
full_name
=
'
facility.
detector.GetDetectorResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'
Det
ec
t
or'
,
full_name
=
'detector.GetDetectorResp.
Det
ec
t
or'
,
index
=
0
,
name
=
'
r
ecor
d
'
,
full_name
=
'
facility.
detector.GetDetectorResp.
r
ecor
d
'
,
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
,
...
...
@@ -300,43 +300,22 @@ _GETDETECTORRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
5
07
,
serialized_end
=
5
62
,
serialized_start
=
5
26
,
serialized_end
=
5
88
,
)
_WRITEDETECTORREQ
=
_descriptor
.
Descriptor
(
name
=
'WriteDetectorReq'
,
full_name
=
'detector.WriteDetectorReq'
,
full_name
=
'
facility.
detector.WriteDetectorReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'no'
,
full_name
=
'detector.WriteDetectorReq.no'
,
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
=
'detector_name'
,
full_name
=
'detector.WriteDetectorReq.detector_name'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'module_id'
,
full_name
=
'detector.WriteDetectorReq.module_id'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'filter_id'
,
full_name
=
'detector.WriteDetectorReq.filter_id'
,
index
=
3
,
number
=
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
name
=
'record'
,
full_name
=
'facility.detector.WriteDetectorReq.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
),
...
...
@@ -352,34 +331,34 @@ _WRITEDETECTORREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
5
64
,
serialized_end
=
65
5
,
serialized_start
=
5
90
,
serialized_end
=
65
3
,
)
_WRITEDETECTORRESP
=
_descriptor
.
Descriptor
(
name
=
'WriteDetectorResp'
,
full_name
=
'detector.WriteDetectorResp'
,
full_name
=
'
facility.
detector.WriteDetectorResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'detector.WriteDetectorResp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
facility.
detector.WriteDetectorResp.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
=
'detector.WriteDetectorResp.error'
,
index
=
1
,
name
=
'error'
,
full_name
=
'
facility.
detector.WriteDetectorResp.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
=
'
Det
ec
t
or'
,
full_name
=
'detector.WriteDetectorResp.
Det
ec
t
or'
,
index
=
2
,
name
=
'
r
ecor
d
'
,
full_name
=
'
facility.
detector.WriteDetectorResp.
r
ecor
d
'
,
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
,
...
...
@@ -397,43 +376,22 @@ _WRITEDETECTORRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
65
7
,
serialized_end
=
76
1
,
serialized_start
=
65
5
,
serialized_end
=
76
6
,
)
_UPDATEDETECTORREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateDetectorReq'
,
full_name
=
'detector.UpdateDetectorReq'
,
full_name
=
'
facility.
detector.UpdateDetectorReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'no'
,
full_name
=
'detector.UpdateDetectorReq.no'
,
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
=
'detector_name'
,
full_name
=
'detector.UpdateDetectorReq.detector_name'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'module_id'
,
full_name
=
'detector.UpdateDetectorReq.module_id'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'filter_id'
,
full_name
=
'detector.UpdateDetectorReq.filter_id'
,
index
=
3
,
number
=
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
name
=
'record'
,
full_name
=
'facility.detector.UpdateDetectorReq.record'
,
index
=
0
,
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
),
...
...
@@ -449,27 +407,27 @@ _UPDATEDETECTORREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
76
3
,
serialized_end
=
8
55
,
serialized_start
=
76
8
,
serialized_end
=
8
32
,
)
_UPDATEDETECTORRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateDetectorResp'
,
full_name
=
'detector.UpdateDetectorResp'
,
full_name
=
'
facility.
detector.UpdateDetectorResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'detector.UpdateDetectorResp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
facility.
detector.UpdateDetectorResp.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
=
'detector.UpdateDetectorResp.error'
,
index
=
1
,
name
=
'error'
,
full_name
=
'
facility.
detector.UpdateDetectorResp.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
,
...
...
@@ -487,20 +445,20 @@ _UPDATEDETECTORRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
8
57
,
serialized_end
=
9
24
,
serialized_start
=
8
34
,
serialized_end
=
9
01
,
)
_DELETEDETECTORREQ
=
_descriptor
.
Descriptor
(
name
=
'DeleteDetectorReq'
,
full_name
=
'detector.DeleteDetectorReq'
,
full_name
=
'
facility.
detector.DeleteDetectorReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'no'
,
full_name
=
'detector.DeleteDetectorReq.no'
,
index
=
0
,
name
=
'no'
,
full_name
=
'
facility.
detector.DeleteDetectorReq.no'
,
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
,
...
...
@@ -518,27 +476,27 @@ _DELETEDETECTORREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
9
26
,
serialized_end
=
9
57
,
serialized_start
=
9
03
,
serialized_end
=
9
34
,
)
_DELETEDETECTORRESP
=
_descriptor
.
Descriptor
(
name
=
'DeleteDetectorResp'
,
full_name
=
'detector.DeleteDetectorResp'
,
full_name
=
'
facility.
detector.DeleteDetectorResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'detector.DeleteDetectorResp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
facility.
detector.DeleteDetectorResp.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
=
'detector.DeleteDetectorResp.error'
,
index
=
1
,
name
=
'error'
,
full_name
=
'
facility.
detector.DeleteDetectorResp.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
,
...
...
@@ -556,41 +514,41 @@ _DELETEDETECTORRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
9
59
,
serialized_end
=
10
26
,
serialized_start
=
9
36
,
serialized_end
=
10
03
,
)
_FINDSTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'FindStatusReq'
,
full_name
=
'detector.FindStatusReq'
,
full_name
=
'
facility.
detector.FindStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'detector_no'
,
full_name
=
'detector.FindStatusReq.detector_no'
,
index
=
0
,
name
=
'detector_no'
,
full_name
=
'
facility.
detector.FindStatusReq.detector_no'
,
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
=
'status_begin_time'
,
full_name
=
'detector.FindStatusReq.status_begin_time'
,
index
=
1
,
number
=
2
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'status_begin_time'
,
full_name
=
'
facility.
detector.FindStatusReq.status_begin_time'
,
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
=
'status_end_time'
,
full_name
=
'detector.FindStatusReq.status_end_time'
,
index
=
2
,
number
=
3
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'status_end_time'
,
full_name
=
'
facility.
detector.FindStatusReq.status_end_time'
,
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
=
'limit'
,
full_name
=
'detector.FindStatusReq.limit'
,
index
=
3
,
name
=
'limit'
,
full_name
=
'
facility.
detector.FindStatusReq.limit'
,
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
,
...
...
@@ -608,41 +566,41 @@ _FINDSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
10
28
,
serialized_end
=
11
31
,
serialized_start
=
10
05
,
serialized_end
=
11
08
,
)
_FINDSTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'FindStatusResp'
,
full_name
=
'detector.FindStatusResp'
,
full_name
=
'
facility.
detector.FindStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'detector.FindStatusResp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
facility.
detector.FindStatusResp.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
=
'detector.FindStatusResp.totalCount'
,
index
=
1
,
name
=
'totalCount'
,
full_name
=
'
facility.
detector.FindStatusResp.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
=
'detector.FindStatusResp.error'
,
index
=
2
,
name
=
'error'
,
full_name
=
'
facility.
detector.FindStatusResp.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
=
'detector.FindStatusResp.records'
,
index
=
3
,
name
=
'records'
,
full_name
=
'
facility.
detector.FindStatusResp.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
,
...
...
@@ -660,20 +618,20 @@ _FINDSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
11
33
,
serialized_end
=
12
59
,
serialized_start
=
11
11
,
serialized_end
=
12
46
,
)
_GETSTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'GetStatusReq'
,
full_name
=
'detector.GetStatusReq'
,
full_name
=
'
facility.
detector.GetStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'
status_
id'
,
full_name
=
'detector.GetStatusReq.
status_
id'
,
index
=
0
,
name
=
'id'
,
full_name
=
'
facility.
detector.GetStatusReq.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
,
...
...
@@ -691,20 +649,20 @@ _GETSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
12
61
,
serialized_end
=
12
9
4
,
serialized_start
=
12
48
,
serialized_end
=
12
7
4
,
)
_GETSTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'GetStatusResp'
,
full_name
=
'detector.GetStatusResp'
,
full_name
=
'
facility.
detector.GetStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'detector.GetStatusResp.record'
,
index
=
0
,
name
=
'record'
,
full_name
=
'
facility.
detector.GetStatusResp.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
,
...
...
@@ -722,36 +680,22 @@ _GETSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
12
9
6
,
serialized_end
=
13
53
,
serialized_start
=
12
7
6
,
serialized_end
=
13
42
,
)
_WRITESTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'WriteStatusReq'
,
full_name
=
'detector.WriteStatusReq'
,
full_name
=
'
facility.
detector.WriteStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'detector_no'
,
full_name
=
'detector.WriteStatusReq.detector_no'
,
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
=
'status'
,
full_name
=
'detector.WriteStatusReq.status'
,
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
=
'status_time'
,
full_name
=
'detector.WriteStatusReq.status_time'
,
index
=
2
,
number
=
3
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'record'
,
full_name
=
'facility.detector.WriteStatusReq.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
),
...
...
@@ -767,34 +711,34 @@ _WRITESTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
13
55
,
serialized_end
=
14
29
,
serialized_start
=
13
44
,
serialized_end
=
14
11
,
)
_WRITESTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'WriteStatusResp'
,
full_name
=
'detector.WriteStatusResp'
,
full_name
=
'
facility.
detector.WriteStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'detector.WriteStatusResp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
facility.
detector.WriteStatusResp.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
=
'detector.WriteStatusResp.error'
,
index
=
1
,
name
=
'error'
,
full_name
=
'
facility.
detector.WriteStatusResp.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
=
'detector.WriteStatusResp.record'
,
index
=
2
,
name
=
'record'
,
full_name
=
'
facility.
detector.WriteStatusResp.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
,
...
...
@@ -812,20 +756,23 @@ _WRITESTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
14
3
1
,
serialized_end
=
15
37
,
serialized_start
=
141
3
,
serialized_end
=
15
28
,
)
_FINDDETECTORRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDDETECTORRESP
.
fields_by_name
[
'records'
].
message_type
=
_DETECTOR
_GETDETECTORRESP
.
fields_by_name
[
'Detector'
].
message_type
=
_DETECTOR
_GETDETECTORRESP
.
fields_by_name
[
'record'
].
message_type
=
_DETECTOR
_WRITEDETECTORREQ
.
fields_by_name
[
'record'
].
message_type
=
_DETECTOR
_WRITEDETECTORRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITEDETECTORRESP
.
fields_by_name
[
'Detector'
].
message_type
=
_DETECTOR
_WRITEDETECTORRESP
.
fields_by_name
[
'record'
].
message_type
=
_DETECTOR
_UPDATEDETECTORREQ
.
fields_by_name
[
'record'
].
message_type
=
_DETECTOR
_UPDATEDETECTORRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_DELETEDETECTORRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDSTATUSRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDSTATUSRESP
.
fields_by_name
[
'records'
].
message_type
=
_DETECTORSTATUS
_GETSTATUSRESP
.
fields_by_name
[
'record'
].
message_type
=
_DETECTORSTATUS
_WRITESTATUSREQ
.
fields_by_name
[
'record'
].
message_type
=
_DETECTORSTATUS
_WRITESTATUSRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITESTATUSRESP
.
fields_by_name
[
'record'
].
message_type
=
_DETECTORSTATUS
DESCRIPTOR
.
message_types_by_name
[
'Detector'
]
=
_DETECTOR
...
...
@@ -851,126 +798,126 @@ _sym_db.RegisterFileDescriptor(DESCRIPTOR)
Detector
=
_reflection
.
GeneratedProtocolMessageType
(
'Detector'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_DETECTOR
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.Detector)
# @@protoc_insertion_point(class_scope:
facility.
detector.Detector)
})
_sym_db
.
RegisterMessage
(
Detector
)
DetectorStatus
=
_reflection
.
GeneratedProtocolMessageType
(
'DetectorStatus'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_DETECTORSTATUS
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.DetectorStatus)
# @@protoc_insertion_point(class_scope:
facility.
detector.DetectorStatus)
})
_sym_db
.
RegisterMessage
(
DetectorStatus
)
FindDetectorReq
=
_reflection
.
GeneratedProtocolMessageType
(
'FindDetectorReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDDETECTORREQ
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.FindDetectorReq)
# @@protoc_insertion_point(class_scope:
facility.
detector.FindDetectorReq)
})
_sym_db
.
RegisterMessage
(
FindDetectorReq
)
FindDetectorResp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindDetectorResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDDETECTORRESP
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.FindDetectorResp)
# @@protoc_insertion_point(class_scope:
facility.
detector.FindDetectorResp)
})
_sym_db
.
RegisterMessage
(
FindDetectorResp
)
GetDetectorReq
=
_reflection
.
GeneratedProtocolMessageType
(
'GetDetectorReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETDETECTORREQ
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.GetDetectorReq)
# @@protoc_insertion_point(class_scope:
facility.
detector.GetDetectorReq)
})
_sym_db
.
RegisterMessage
(
GetDetectorReq
)
GetDetectorResp
=
_reflection
.
GeneratedProtocolMessageType
(
'GetDetectorResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETDETECTORRESP
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.GetDetectorResp)
# @@protoc_insertion_point(class_scope:
facility.
detector.GetDetectorResp)
})
_sym_db
.
RegisterMessage
(
GetDetectorResp
)
WriteDetectorReq
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteDetectorReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITEDETECTORREQ
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.WriteDetectorReq)
# @@protoc_insertion_point(class_scope:
facility.
detector.WriteDetectorReq)
})
_sym_db
.
RegisterMessage
(
WriteDetectorReq
)
WriteDetectorResp
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteDetectorResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITEDETECTORRESP
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.WriteDetectorResp)
# @@protoc_insertion_point(class_scope:
facility.
detector.WriteDetectorResp)
})
_sym_db
.
RegisterMessage
(
WriteDetectorResp
)
UpdateDetectorReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateDetectorReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEDETECTORREQ
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.UpdateDetectorReq)
# @@protoc_insertion_point(class_scope:
facility.
detector.UpdateDetectorReq)
})
_sym_db
.
RegisterMessage
(
UpdateDetectorReq
)
UpdateDetectorResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateDetectorResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEDETECTORRESP
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.UpdateDetectorResp)
# @@protoc_insertion_point(class_scope:
facility.
detector.UpdateDetectorResp)
})
_sym_db
.
RegisterMessage
(
UpdateDetectorResp
)
DeleteDetectorReq
=
_reflection
.
GeneratedProtocolMessageType
(
'DeleteDetectorReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_DELETEDETECTORREQ
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.DeleteDetectorReq)
# @@protoc_insertion_point(class_scope:
facility.
detector.DeleteDetectorReq)
})
_sym_db
.
RegisterMessage
(
DeleteDetectorReq
)
DeleteDetectorResp
=
_reflection
.
GeneratedProtocolMessageType
(
'DeleteDetectorResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_DELETEDETECTORRESP
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.DeleteDetectorResp)
# @@protoc_insertion_point(class_scope:
facility.
detector.DeleteDetectorResp)
})
_sym_db
.
RegisterMessage
(
DeleteDetectorResp
)
FindStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'FindStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDSTATUSREQ
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.FindStatusReq)
# @@protoc_insertion_point(class_scope:
facility.
detector.FindStatusReq)
})
_sym_db
.
RegisterMessage
(
FindStatusReq
)
FindStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDSTATUSRESP
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.FindStatusResp)
# @@protoc_insertion_point(class_scope:
facility.
detector.FindStatusResp)
})
_sym_db
.
RegisterMessage
(
FindStatusResp
)
GetStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'GetStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETSTATUSREQ
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.GetStatusReq)
# @@protoc_insertion_point(class_scope:
facility.
detector.GetStatusReq)
})
_sym_db
.
RegisterMessage
(
GetStatusReq
)
GetStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'GetStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETSTATUSRESP
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.GetStatusResp)
# @@protoc_insertion_point(class_scope:
facility.
detector.GetStatusResp)
})
_sym_db
.
RegisterMessage
(
GetStatusResp
)
WriteStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITESTATUSREQ
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.WriteStatusReq)
# @@protoc_insertion_point(class_scope:
facility.
detector.WriteStatusReq)
})
_sym_db
.
RegisterMessage
(
WriteStatusReq
)
WriteStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITESTATUSRESP
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.WriteStatusResp)
# @@protoc_insertion_point(class_scope:
facility.
detector.WriteStatusResp)
})
_sym_db
.
RegisterMessage
(
WriteStatusResp
)
...
...
@@ -979,16 +926,16 @@ DESCRIPTOR._options = None
_DETECTORSRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'DetectorSrv'
,
full_name
=
'detector.DetectorSrv'
,
full_name
=
'
facility.
detector.DetectorSrv'
,
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
15
40
,
serialized_end
=
2
091
,
serialized_start
=
15
31
,
serialized_end
=
2
226
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
full_name
=
'detector.DetectorSrv.Find'
,
full_name
=
'
facility.
detector.DetectorSrv.Find'
,
index
=
0
,
containing_service
=
None
,
input_type
=
_FINDDETECTORREQ
,
...
...
@@ -997,7 +944,7 @@ _DETECTORSRV = _descriptor.ServiceDescriptor(
),
_descriptor
.
MethodDescriptor
(
name
=
'Get'
,
full_name
=
'detector.DetectorSrv.Get'
,
full_name
=
'
facility.
detector.DetectorSrv.Get'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_GETDETECTORREQ
,
...
...
@@ -1006,7 +953,7 @@ _DETECTORSRV = _descriptor.ServiceDescriptor(
),
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'detector.DetectorSrv.Write'
,
full_name
=
'
facility.
detector.DetectorSrv.Write'
,
index
=
2
,
containing_service
=
None
,
input_type
=
_WRITEDETECTORREQ
,
...
...
@@ -1015,7 +962,7 @@ _DETECTORSRV = _descriptor.ServiceDescriptor(
),
_descriptor
.
MethodDescriptor
(
name
=
'Update'
,
full_name
=
'detector.DetectorSrv.Update'
,
full_name
=
'
facility.
detector.DetectorSrv.Update'
,
index
=
3
,
containing_service
=
None
,
input_type
=
_UPDATEDETECTORREQ
,
...
...
@@ -1024,7 +971,7 @@ _DETECTORSRV = _descriptor.ServiceDescriptor(
),
_descriptor
.
MethodDescriptor
(
name
=
'Delete'
,
full_name
=
'detector.DetectorSrv.Delete'
,
full_name
=
'
facility.
detector.DetectorSrv.Delete'
,
index
=
4
,
containing_service
=
None
,
input_type
=
_DELETEDETECTORREQ
,
...
...
@@ -1033,7 +980,7 @@ _DETECTORSRV = _descriptor.ServiceDescriptor(
),
_descriptor
.
MethodDescriptor
(
name
=
'FindStatus'
,
full_name
=
'detector.DetectorSrv.FindStatus'
,
full_name
=
'
facility.
detector.DetectorSrv.FindStatus'
,
index
=
5
,
containing_service
=
None
,
input_type
=
_FINDSTATUSREQ
,
...
...
@@ -1042,7 +989,7 @@ _DETECTORSRV = _descriptor.ServiceDescriptor(
),
_descriptor
.
MethodDescriptor
(
name
=
'GetStatus'
,
full_name
=
'detector.DetectorSrv.GetStatus'
,
full_name
=
'
facility.
detector.DetectorSrv.GetStatus'
,
index
=
6
,
containing_service
=
None
,
input_type
=
_GETSTATUSREQ
,
...
...
@@ -1051,7 +998,7 @@ _DETECTORSRV = _descriptor.ServiceDescriptor(
),
_descriptor
.
MethodDescriptor
(
name
=
'WriteStatus'
,
full_name
=
'detector.DetectorSrv.WriteStatus'
,
full_name
=
'
facility.
detector.DetectorSrv.WriteStatus'
,
index
=
7
,
containing_service
=
None
,
input_type
=
_WRITESTATUSREQ
,
...
...
csst_dfs_proto/facility/detector/detector_pb2_grpc.py
View file @
d9e935a3
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
.
import
detector_pb2
as
facility_dot_detector_dot_detector__pb2
from
.
..facility.detector
import
detector_pb2
as
facility_dot_detector_dot_detector__pb2
class
DetectorSrvStub
(
object
):
...
...
@@ -15,42 +15,42 @@ class DetectorSrvStub(object):
channel: A grpc.Channel.
"""
self
.
Find
=
channel
.
unary_unary
(
'/detector.DetectorSrv/Find'
,
'/
facility.
detector.DetectorSrv/Find'
,
request_serializer
=
facility_dot_detector_dot_detector__pb2
.
FindDetectorReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector_dot_detector__pb2
.
FindDetectorResp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/detector.DetectorSrv/Get'
,
'/
facility.
detector.DetectorSrv/Get'
,
request_serializer
=
facility_dot_detector_dot_detector__pb2
.
GetDetectorReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector_dot_detector__pb2
.
GetDetectorResp
.
FromString
,
)
self
.
Write
=
channel
.
unary_unary
(
'/detector.DetectorSrv/Write'
,
'/
facility.
detector.DetectorSrv/Write'
,
request_serializer
=
facility_dot_detector_dot_detector__pb2
.
WriteDetectorReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector_dot_detector__pb2
.
WriteDetectorResp
.
FromString
,
)
self
.
Update
=
channel
.
unary_unary
(
'/detector.DetectorSrv/Update'
,
'/
facility.
detector.DetectorSrv/Update'
,
request_serializer
=
facility_dot_detector_dot_detector__pb2
.
UpdateDetectorReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector_dot_detector__pb2
.
UpdateDetectorResp
.
FromString
,
)
self
.
Delete
=
channel
.
unary_unary
(
'/detector.DetectorSrv/Delete'
,
'/
facility.
detector.DetectorSrv/Delete'
,
request_serializer
=
facility_dot_detector_dot_detector__pb2
.
DeleteDetectorReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector_dot_detector__pb2
.
DeleteDetectorResp
.
FromString
,
)
self
.
FindStatus
=
channel
.
unary_unary
(
'/detector.DetectorSrv/FindStatus'
,
'/
facility.
detector.DetectorSrv/FindStatus'
,
request_serializer
=
facility_dot_detector_dot_detector__pb2
.
FindStatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector_dot_detector__pb2
.
FindStatusResp
.
FromString
,
)
self
.
GetStatus
=
channel
.
unary_unary
(
'/detector.DetectorSrv/GetStatus'
,
'/
facility.
detector.DetectorSrv/GetStatus'
,
request_serializer
=
facility_dot_detector_dot_detector__pb2
.
GetStatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector_dot_detector__pb2
.
GetStatusResp
.
FromString
,
)
self
.
WriteStatus
=
channel
.
unary_unary
(
'/detector.DetectorSrv/WriteStatus'
,
'/
facility.
detector.DetectorSrv/WriteStatus'
,
request_serializer
=
facility_dot_detector_dot_detector__pb2
.
WriteStatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector_dot_detector__pb2
.
WriteStatusResp
.
FromString
,
)
...
...
@@ -161,5 +161,5 @@ def add_DetectorSrvServicer_to_server(servicer, server):
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'detector.DetectorSrv'
,
rpc_method_handlers
)
'
facility.
detector.DetectorSrv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
csst_dfs_proto/facility/level0/level0_pb2.py
View file @
d9e935a3
...
...
@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package
=
'level0'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z$cnlab.net/csst/proto/facility/level0'
),
serialized_pb
=
_b
(
'
\n\x1c\x66\x61\x63
ility/level0/level0.proto
\x12\x06
level0
\x1a\x12\x63
ommon/error.proto
\"\x97\x02\n\x0c
Level0Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
obs_id
\x18\x02
\x01
(
\x03\x12\x13\n\x0b\x64\x65
tector_no
\x18\x03
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x04
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x05
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x06
\x01
(
\x02\x12\x1a\n\x12\x64\x65
tector_status_id
\x18\x07
\x01
(
\x03\x12\x10\n\x08\x66
ilename
\x18\x08
\x01
(
\t\x12\x11\n\t
file_path
\x18\t
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\n
\x01
(
\r\x12\x10\n\x08
qc0_time
\x18\x0b
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x0c
\x01
(
\r\x12\x10\n\x08
prc_time
\x18\r
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0e
\x01
(
\t\"\xc4\x02\n\x11\x46
indLevel0DataReq
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\x03\x12\x13\n\x0b\x64\x65
tector_no
\x18\x02
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x03
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x04
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x05
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\x06
\x01
(
\r\x12\x12\n\n
prc_status
\x18\x07
\x01
(
\r\x12\x11\n\t
file_name
\x18\x08
\x01
(
\t\x12\r\n\x05
limit
\x18\t
\x01
(
\r\x12
H
\n\x10
other_conditions
\x18\n
\x03
(
\x0b\x32
..level0.FindLevel0DataReq.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"
~
\n\x12\x46
indLevel0DataResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
%
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x14
.level0.Level0Record
\"\x1e\n\x10
GetLevel0DataReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
9
\n\x11
GetLevel0DataResp
\x12
$
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x14
.level0.Level0Record
\"
0
\n\x12
UpdateQc0StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
D
\n\x13
UpdateQc0StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\x
a9
\x02\n\t
Level0Srv
\x12
?
\n\x04\x46
ind
\x12\x19
.level0.FindLevel0DataReq
\x1a\x1a
.level0.FindLevel0DataResp
\"\x00\x12
<
\n\x03
Get
\x12\x18
.level0.GetLevel0DataReq
\x1a\x19
.level0.GetLevel0DataResp
\"\x00\x12
L
\n\x0f
UpdateQc0Status
\x12\x1a
.level0.UpdateQc0StatusReq
\x1a\x1b
.level0.UpdateQc0StatusResp
\"\x00\x12
O
\n\x10
UpdateProcStatus
\x12\x1b
.level0.UpdateProcStatusReq
\x1a\x1c
.level0.UpdateProcStatusResp
\"\x00\x42
&Z$cnlab.net/csst/proto/facility/level0b
\x06
proto3'
)
serialized_pb
=
_b
(
'
\n\x1c\x66\x61\x63
ility/level0/level0.proto
\x12\x06
level0
\x1a\x12\x63
ommon/error.proto
\"\x97\x02\n\x0c
Level0Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
obs_id
\x18\x02
\x01
(
\x03\x12\x13\n\x0b\x64\x65
tector_no
\x18\x03
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x04
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x05
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x06
\x01
(
\x02\x12\x1a\n\x12\x64\x65
tector_status_id
\x18\x07
\x01
(
\x03\x12\x10\n\x08\x66
ilename
\x18\x08
\x01
(
\t\x12\x11\n\t
file_path
\x18\t
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\n
\x01
(
\r\x12\x10\n\x08
qc0_time
\x18\x0b
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x0c
\x01
(
\r\x12\x10\n\x08
prc_time
\x18\r
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0e
\x01
(
\t\"\xc4\x02\n\x11\x46
indLevel0DataReq
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\x03\x12\x13\n\x0b\x64\x65
tector_no
\x18\x02
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x03
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x04
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x05
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\x06
\x01
(
\r\x12\x12\n\n
prc_status
\x18\x07
\x01
(
\r\x12\x11\n\t
file_name
\x18\x08
\x01
(
\t\x12\r\n\x05
limit
\x18\t
\x01
(
\r\x12
H
\n\x10
other_conditions
\x18\n
\x03
(
\x0b\x32
..level0.FindLevel0DataReq.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"
~
\n\x12\x46
indLevel0DataResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
%
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x14
.level0.Level0Record
\"\x1e\n\x10
GetLevel0DataReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
9
\n\x11
GetLevel0DataResp
\x12
$
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x14
.level0.Level0Record
\"
:
\n\x12
WriteLevel0DataReq
\x12
$
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x14
.level0.Level0Record
\"
j
\n\x13
WriteLevel0DataResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
$
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x14
.level0.Level0Record
\"
0
\n\x12
UpdateQc0StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
D
\n\x13
UpdateQc0StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\x
ed
\x02\n\t
Level0Srv
\x12
?
\n\x04\x46
ind
\x12\x19
.level0.FindLevel0DataReq
\x1a\x1a
.level0.FindLevel0DataResp
\"\x00\x12
<
\n\x03
Get
\x12\x18
.level0.GetLevel0DataReq
\x1a\x19
.level0.GetLevel0DataResp
\"\x00\
x12\x42\n\x05
Write
\x12\x1a
.level0.WriteLevel0DataReq
\x1a\x1b
.level0.WriteLevel0DataResp
\"\x00\
x12
L
\n\x0f
UpdateQc0Status
\x12\x1a
.level0.UpdateQc0StatusReq
\x1a\x1b
.level0.UpdateQc0StatusResp
\"\x00\x12
O
\n\x10
UpdateProcStatus
\x12\x1b
.level0.UpdateProcStatusReq
\x1a\x1c
.level0.UpdateProcStatusResp
\"\x00\x42
&Z$cnlab.net/csst/proto/facility/level0b
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -395,6 +395,82 @@ _GETLEVEL0DATARESP = _descriptor.Descriptor(
)
_WRITELEVEL0DATAREQ
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel0DataReq'
,
full_name
=
'level0.WriteLevel0DataReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'level0.WriteLevel0DataReq.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
=
888
,
serialized_end
=
946
,
)
_WRITELEVEL0DATARESP
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel0DataResp'
,
full_name
=
'level0.WriteLevel0DataResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'level0.WriteLevel0DataResp.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
=
'level0.WriteLevel0DataResp.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
=
'level0.WriteLevel0DataResp.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
=
948
,
serialized_end
=
1054
,
)
_UPDATEQC0STATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc0StatusReq'
,
full_name
=
'level0.UpdateQc0StatusReq'
,
...
...
@@ -428,8 +504,8 @@ _UPDATEQC0STATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
888
,
serialized_end
=
936
,
serialized_start
=
1056
,
serialized_end
=
1104
,
)
...
...
@@ -466,8 +542,8 @@ _UPDATEQC0STATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
938
,
serialized_end
=
1
006
,
serialized_start
=
1106
,
serialized_end
=
1
174
,
)
...
...
@@ -504,8 +580,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
008
,
serialized_end
=
1
057
,
serialized_start
=
1
176
,
serialized_end
=
1
225
,
)
...
...
@@ -542,8 +618,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
059
,
serialized_end
=
1
128
,
serialized_start
=
1
227
,
serialized_end
=
1
296
,
)
_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDLEVEL0DATAREQ
...
...
@@ -551,6 +627,9 @@ _FINDLEVEL0DATAREQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL0
_FINDLEVEL0DATARESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDLEVEL0DATARESP
.
fields_by_name
[
'records'
].
message_type
=
_LEVEL0RECORD
_GETLEVEL0DATARESP
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL0RECORD
_WRITELEVEL0DATAREQ
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL0RECORD
_WRITELEVEL0DATARESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITELEVEL0DATARESP
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL0RECORD
_UPDATEQC0STATUSRESP
.
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
[
'Level0Record'
]
=
_LEVEL0RECORD
...
...
@@ -558,6 +637,8 @@ DESCRIPTOR.message_types_by_name['FindLevel0DataReq'] = _FINDLEVEL0DATAREQ
DESCRIPTOR
.
message_types_by_name
[
'FindLevel0DataResp'
]
=
_FINDLEVEL0DATARESP
DESCRIPTOR
.
message_types_by_name
[
'GetLevel0DataReq'
]
=
_GETLEVEL0DATAREQ
DESCRIPTOR
.
message_types_by_name
[
'GetLevel0DataResp'
]
=
_GETLEVEL0DATARESP
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel0DataReq'
]
=
_WRITELEVEL0DATAREQ
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel0DataResp'
]
=
_WRITELEVEL0DATARESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateQc0StatusReq'
]
=
_UPDATEQC0STATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateQc0StatusResp'
]
=
_UPDATEQC0STATUSRESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusReq'
]
=
_UPDATEPROCSTATUSREQ
...
...
@@ -607,6 +688,20 @@ GetLevel0DataResp = _reflection.GeneratedProtocolMessageType('GetLevel0DataResp'
})
_sym_db
.
RegisterMessage
(
GetLevel0DataResp
)
WriteLevel0DataReq
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel0DataReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL0DATAREQ
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:level0.WriteLevel0DataReq)
})
_sym_db
.
RegisterMessage
(
WriteLevel0DataReq
)
WriteLevel0DataResp
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel0DataResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL0DATARESP
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:level0.WriteLevel0DataResp)
})
_sym_db
.
RegisterMessage
(
WriteLevel0DataResp
)
UpdateQc0StatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc0StatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC0STATUSREQ
,
'__module__'
:
'facility.level0.level0_pb2'
...
...
@@ -645,8 +740,8 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1
131
,
serialized_end
=
1
428
,
serialized_start
=
1
299
,
serialized_end
=
1
664
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
...
...
@@ -666,10 +761,19 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor(
output_type
=
_GETLEVEL0DATARESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'level0.Level0Srv.Write'
,
index
=
2
,
containing_service
=
None
,
input_type
=
_WRITELEVEL0DATAREQ
,
output_type
=
_WRITELEVEL0DATARESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateQc0Status'
,
full_name
=
'level0.Level0Srv.UpdateQc0Status'
,
index
=
2
,
index
=
3
,
containing_service
=
None
,
input_type
=
_UPDATEQC0STATUSREQ
,
output_type
=
_UPDATEQC0STATUSRESP
,
...
...
@@ -678,7 +782,7 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor(
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'level0.Level0Srv.UpdateProcStatus'
,
index
=
3
,
index
=
4
,
containing_service
=
None
,
input_type
=
_UPDATEPROCSTATUSREQ
,
output_type
=
_UPDATEPROCSTATUSRESP
,
...
...
csst_dfs_proto/facility/level0/level0_pb2_grpc.py
View file @
d9e935a3
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
.
import
level0_pb2
as
facility_dot_level0_dot_level0__pb2
from
.
..facility.level0
import
level0_pb2
as
facility_dot_level0_dot_level0__pb2
class
Level0SrvStub
(
object
):
...
...
@@ -24,6 +24,11 @@ class Level0SrvStub(object):
request_serializer
=
facility_dot_level0_dot_level0__pb2
.
GetLevel0DataReq
.
SerializeToString
,
response_deserializer
=
facility_dot_level0_dot_level0__pb2
.
GetLevel0DataResp
.
FromString
,
)
self
.
Write
=
channel
.
unary_unary
(
'/level0.Level0Srv/Write'
,
request_serializer
=
facility_dot_level0_dot_level0__pb2
.
WriteLevel0DataReq
.
SerializeToString
,
response_deserializer
=
facility_dot_level0_dot_level0__pb2
.
WriteLevel0DataResp
.
FromString
,
)
self
.
UpdateQc0Status
=
channel
.
unary_unary
(
'/level0.Level0Srv/UpdateQc0Status'
,
request_serializer
=
facility_dot_level0_dot_level0__pb2
.
UpdateQc0StatusReq
.
SerializeToString
,
...
...
@@ -54,6 +59,13 @@ class Level0SrvServicer(object):
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
UpdateQc0Status
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
...
...
@@ -81,6 +93,11 @@ def add_Level0SrvServicer_to_server(servicer, server):
request_deserializer
=
facility_dot_level0_dot_level0__pb2
.
GetLevel0DataReq
.
FromString
,
response_serializer
=
facility_dot_level0_dot_level0__pb2
.
GetLevel0DataResp
.
SerializeToString
,
),
'Write'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Write
,
request_deserializer
=
facility_dot_level0_dot_level0__pb2
.
WriteLevel0DataReq
.
FromString
,
response_serializer
=
facility_dot_level0_dot_level0__pb2
.
WriteLevel0DataResp
.
SerializeToString
,
),
'UpdateQc0Status'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateQc0Status
,
request_deserializer
=
facility_dot_level0_dot_level0__pb2
.
UpdateQc0StatusReq
.
FromString
,
...
...
csst_dfs_proto/facility/observation/observation_pb2.py
View file @
d9e935a3
...
...
@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package
=
'observation'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z)cnlab.net/csst/proto/facility/observation'
),
serialized_pb
=
_b
(
'
\n
&facility/observation/observation.proto
\x12\x0b
observation
\x1a\x12\x63
ommon/error.proto
\"\x90\x02\n\x0b
Observation
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x10\n\x08
obs_time
\x18\x02
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x03
\x01
(
\x02\x12\x11\n\t
module_id
\x18\x04
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x05
\x01
(
\t\x12\x1a\n\x12\x66\x61\x63
ility_status_id
\x18\x06
\x01
(
\x03\x12\x18\n\x10
module_status_id
\x18\x07
\x01
(
\x03\x12\x12\n\n
qc0_status
\x18\x08
\x01
(
\r\x12\x10\n\x08
qc0_time
\x18\t
\x01
(
\t\x12\x12\n\n
prc_status
\x18\n
\x01
(
\r\x12\x10\n\x08
prc_time
\x18\x0b
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0c
\x01
(
\t\x12\x15\n\r
import_status
\x18\r
\x01
(
\r\"\xa6\x02\n\x12\x46
indObservationReq
\x12\x11\n\t
module_id
\x18\x01
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x02
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x03
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\x05
\x01
(
\r\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\r\x12\r\n\x05
limit
\x18\x07
\x01
(
\r\x12
N
\n\x10
other_conditions
\x18\x08
\x03
(
\x0b\x32\x34
.observation.FindObservationReq.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x83\x01\n\x13\x46
indObservationResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
)
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x18
.observation.Observation
\"
#
\n\x11
GetObservationReq
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\x03\"
C
\n\x12
GetObservationResp
\x12
-
\n\x0b
observation
\x18\x01
\x01
(
\x0b\x32\x18
.observation.Observation
\"
\xaa\x01
\n\x13
WriteObservationReq
\x12
\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x16\n\x0e\x65
xp_begin_time
\x18\x02
\x01
(
\x03\x12\x14\n\x0c\x65
xp_end_time
\x18\x0
3
\x01
(
\x0
3
\x
1
2\x1
1\n\t
module_id
\x18\x04
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x05
\x01
(
\t\x12\x1a\n\x12\x66\x61\x63
ility_status_id
\x18\x06
\x01
(
\x03\x12\x18\n\x10
module_status_id
\x18\x07
\x01
(
\x03
\"
t
\n\x14
WriteObservationResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
-
\n\x0
b
observation
\x18\x03
\x01
(
\x0b\x32\x18
.observation.Observation
\"
4
\n\x12
UpdateQc0StatusReq
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
D
\n\x13
UpdateQc0StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
5
\n\x13
UpdateProcStatusReq
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\xa
c
\x03\n\x0e
ObservationSrv
\x12
K
\n\x04\x46
ind
\x12\x1f
.observation.FindObservationReq
\x1a
.observation.FindObservationResp
\"\x00\x12
H
\n\x03
Get
\x12\x1e
.observation.GetObservationReq
\x1a\x1f
.observation.GetObservationResp
\"\x00\x12
P
\n\x05
Write
\x12
.observation.WriteObservationReq
\x1a
!.observation.WriteObservationResp
\"\x00
(
\x01
\x12
V
\n\x0f
UpdateQc0Status
\x12\x1f
.observation.UpdateQc0StatusReq
\x1a
.observation.UpdateQc0StatusResp
\"\x00\x12
Y
\n\x10
UpdateProcStatus
\x12
.observation.UpdateProcStatusReq
\x1a
!.observation.UpdateProcStatusResp
\"\x00\x42
+Z)cnlab.net/csst/proto/facility/observationb
\x06
proto3'
)
serialized_pb
=
_b
(
'
\n
&facility/observation/observation.proto
\x12\x0b
observation
\x1a\x12\x63
ommon/error.proto
\"\x90\x02\n\x0b
Observation
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x10\n\x08
obs_time
\x18\x02
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x03
\x01
(
\x02\x12\x11\n\t
module_id
\x18\x04
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x05
\x01
(
\t\x12\x1a\n\x12\x66\x61\x63
ility_status_id
\x18\x06
\x01
(
\x03\x12\x18\n\x10
module_status_id
\x18\x07
\x01
(
\x03\x12\x12\n\n
qc0_status
\x18\x08
\x01
(
\r\x12\x10\n\x08
qc0_time
\x18\t
\x01
(
\t\x12\x12\n\n
prc_status
\x18\n
\x01
(
\r\x12\x10\n\x08
prc_time
\x18\x0b
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0c
\x01
(
\t\x12\x15\n\r
import_status
\x18\r
\x01
(
\r\"\xa6\x02\n\x12\x46
indObservationReq
\x12\x11\n\t
module_id
\x18\x01
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x02
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x03
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\x05
\x01
(
\r\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\r\x12\r\n\x05
limit
\x18\x07
\x01
(
\r\x12
N
\n\x10
other_conditions
\x18\x08
\x03
(
\x0b\x32\x34
.observation.FindObservationReq.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x83\x01\n\x13\x46
indObservationResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
)
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x18
.observation.Observation
\"
#
\n\x11
GetObservationReq
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\x03\"
C
\n\x12
GetObservationResp
\x12
-
\n\x0b
observation
\x18\x01
\x01
(
\x0b\x32\x18
.observation.Observation
\"
?
\n\x13
WriteObservationReq
\x12
(
\n\x06
record
\x18\x0
1
\x01
(
\x0
b
\x
3
2\x1
8
.observation.Observation
\"
o
\n\x14
WriteObservationResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
(
\n\x0
6
record
\x18\x03
\x01
(
\x0b\x32\x18
.observation.Observation
\"
4
\n\x12
UpdateQc0StatusReq
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
D
\n\x13
UpdateQc0StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
5
\n\x13
UpdateProcStatusReq
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\xa
a
\x03\n\x0e
ObservationSrv
\x12
K
\n\x04\x46
ind
\x12\x1f
.observation.FindObservationReq
\x1a
.observation.FindObservationResp
\"\x00\x12
H
\n\x03
Get
\x12\x1e
.observation.GetObservationReq
\x1a\x1f
.observation.GetObservationResp
\"\x00\x12
N
\n\x05
Write
\x12
.observation.WriteObservationReq
\x1a
!.observation.WriteObservationResp
\"\x00\x12
V
\n\x0f
UpdateQc0Status
\x12\x1f
.observation.UpdateQc0StatusReq
\x1a
.observation.UpdateQc0StatusResp
\"\x00\x12
Y
\n\x10
UpdateProcStatus
\x12
.observation.UpdateProcStatusReq
\x1a
!.observation.UpdateProcStatusResp
\"\x00\x42
+Z)cnlab.net/csst/proto/facility/observationb
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -382,51 +382,9 @@ _WRITEOBSERVATIONREQ = _descriptor.Descriptor(
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'observation.WriteObservationReq.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
=
'exp_begin_time'
,
full_name
=
'observation.WriteObservationReq.exp_begin_time'
,
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
=
'exp_end_time'
,
full_name
=
'observation.WriteObservationReq.exp_end_time'
,
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
=
'module_id'
,
full_name
=
'observation.WriteObservationReq.module_id'
,
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
=
'obs_type'
,
full_name
=
'observation.WriteObservationReq.obs_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
=
'facility_status_id'
,
full_name
=
'observation.WriteObservationReq.facility_status_id'
,
index
=
5
,
number
=
6
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'module_status_id'
,
full_name
=
'observation.WriteObservationReq.module_status_id'
,
index
=
6
,
number
=
7
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'record'
,
full_name
=
'observation.WriteObservationReq.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
),
...
...
@@ -442,8 +400,8 @@ _WRITEOBSERVATIONREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
88
8
,
serialized_end
=
1058
,
serialized_start
=
88
7
,
serialized_end
=
950
,
)
...
...
@@ -469,7 +427,7 @@ _WRITEOBSERVATIONRESP = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'
observation
'
,
full_name
=
'observation.WriteObservationResp.
observation
'
,
index
=
2
,
name
=
'
record
'
,
full_name
=
'observation.WriteObservationResp.
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
,
...
...
@@ -487,8 +445,8 @@ _WRITEOBSERVATIONRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1060
,
serialized_end
=
1
176
,
serialized_start
=
952
,
serialized_end
=
1
063
,
)
...
...
@@ -525,8 +483,8 @@ _UPDATEQC0STATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
178
,
serialized_end
=
1
230
,
serialized_start
=
1
065
,
serialized_end
=
1
117
,
)
...
...
@@ -563,8 +521,8 @@ _UPDATEQC0STATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
232
,
serialized_end
=
1
300
,
serialized_start
=
1
119
,
serialized_end
=
1
187
,
)
...
...
@@ -601,8 +559,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
302
,
serialized_end
=
1
355
,
serialized_start
=
1
189
,
serialized_end
=
1
242
,
)
...
...
@@ -639,8 +597,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
357
,
serialized_end
=
1
426
,
serialized_start
=
1
244
,
serialized_end
=
1
313
,
)
_FINDOBSERVATIONREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDOBSERVATIONREQ
...
...
@@ -648,8 +606,9 @@ _FINDOBSERVATIONREQ.fields_by_name['other_conditions'].message_type = _FINDOBSER
_FINDOBSERVATIONRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDOBSERVATIONRESP
.
fields_by_name
[
'records'
].
message_type
=
_OBSERVATION
_GETOBSERVATIONRESP
.
fields_by_name
[
'observation'
].
message_type
=
_OBSERVATION
_WRITEOBSERVATIONREQ
.
fields_by_name
[
'record'
].
message_type
=
_OBSERVATION
_WRITEOBSERVATIONRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITEOBSERVATIONRESP
.
fields_by_name
[
'
observation
'
].
message_type
=
_OBSERVATION
_WRITEOBSERVATIONRESP
.
fields_by_name
[
'
record
'
].
message_type
=
_OBSERVATION
_UPDATEQC0STATUSRESP
.
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
[
'Observation'
]
=
_OBSERVATION
...
...
@@ -760,8 +719,8 @@ _OBSERVATIONSRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1
429
,
serialized_end
=
1
857
,
serialized_start
=
1
316
,
serialized_end
=
1
742
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
...
...
csst_dfs_proto/facility/observation/observation_pb2_grpc.py
View file @
d9e935a3
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
.
import
observation_pb2
as
facility_dot_observation_dot_observation__pb2
from
.
..facility.observation
import
observation_pb2
as
facility_dot_observation_dot_observation__pb2
class
ObservationSrvStub
(
object
):
...
...
@@ -24,7 +24,7 @@ class ObservationSrvStub(object):
request_serializer
=
facility_dot_observation_dot_observation__pb2
.
GetObservationReq
.
SerializeToString
,
response_deserializer
=
facility_dot_observation_dot_observation__pb2
.
GetObservationResp
.
FromString
,
)
self
.
Write
=
channel
.
stream
_unary
(
self
.
Write
=
channel
.
unary
_unary
(
'/observation.ObservationSrv/Write'
,
request_serializer
=
facility_dot_observation_dot_observation__pb2
.
WriteObservationReq
.
SerializeToString
,
response_deserializer
=
facility_dot_observation_dot_observation__pb2
.
WriteObservationResp
.
FromString
,
...
...
@@ -59,7 +59,7 @@ class ObservationSrvServicer(object):
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Write
(
self
,
request
_iterator
,
context
):
def
Write
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
...
...
@@ -93,7 +93,7 @@ def add_ObservationSrvServicer_to_server(servicer, server):
request_deserializer
=
facility_dot_observation_dot_observation__pb2
.
GetObservationReq
.
FromString
,
response_serializer
=
facility_dot_observation_dot_observation__pb2
.
GetObservationResp
.
SerializeToString
,
),
'Write'
:
grpc
.
stream
_unary_rpc_method_handler
(
'Write'
:
grpc
.
unary
_unary_rpc_method_handler
(
servicer
.
Write
,
request_deserializer
=
facility_dot_observation_dot_observation__pb2
.
WriteObservationReq
.
FromString
,
response_serializer
=
facility_dot_observation_dot_observation__pb2
.
WriteObservationResp
.
SerializeToString
,
...
...
csst_dfs_proto/ifs/level1/level1_pb2.py
0 → 100644
View file @
d9e935a3
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ifs/level1/level1.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/level1/level1.proto'
,
package
=
'ifs.level1'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z
\037
cnlab.net/csst/proto/ifs/level1'
),
serialized_pb
=
_b
(
'
\n\x17
ifs/level1/level1.proto
\x12\n
ifs.level1
\x1a\x12\x63
ommon/error.proto
\"\xe4\x02\n\x0c
Level1Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
raw_id
\x18\x02
\x01
(
\x03\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\x12\x12\n\n
cor_sci_id
\x18\x04
\x01
(
\x03\x12\x12\n\n
prc_params
\x18\x05
\x01
(
\t\x12\x0f\n\x07\x66
lat_id
\x18\x06
\x01
(
\x03\x12\x0f\n\x07\x64\x61
rk_id
\x18\x07
\x01
(
\x03\x12\x0f\n\x07\x62
ias_id
\x18\x08
\x01
(
\x03\x12\x0f\n\x07
lamp_id
\x18\t
\x01
(
\x03\x12\x0e\n\x06\x61
rc_id
\x18\n
\x01
(
\x03\x12\x0e\n\x06
sky_id
\x18\x0b
\x01
(
\x03\x12\x10\n\x08\x66
ilename
\x18\x0c
\x01
(
\t\x12\x11\n\t
file_path
\x18\r
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x0e
\x01
(
\r\x12\x10\n\x08
qc1_time
\x18\x0f
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x10
\x01
(
\r\x12\x10\n\x08
prc_time
\x18\x11
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x12
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\x13
\x01
(
\t\"\xb1\x02\n\r
FindLevel1Req
\x12\x0e\n\x06
raw_id
\x18\x01
\x01
(
\x03\x12\x11\n\t
data_type
\x18\x02
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x03
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\r\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\r\x12\x10\n\x08\x66
ilename
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\r\x12
H
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32
..ifs.level1.FindLevel1Req.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"
~
\n\x0e\x46
indLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
)
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x18
.ifs.level1.Level1Record
\"\x1a\n\x0c
GetLevel1Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
9
\n\r
GetLevel1Resp
\x12
(
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x18
.ifs.level1.Level1Record
\"
:
\n\x0e
WriteLevel1Req
\x12
(
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x18
.ifs.level1.Level1Record
\"
j
\n\x0f
WriteLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
(
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x18
.ifs.level1.Level1Record
\"
0
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
D
\n\x13
UpdateQc1StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\xfd\x02\n\t
Level1Srv
\x12
?
\n\x04\x46
ind
\x12\x19
.ifs.level1.FindLevel1Req
\x1a\x1a
.ifs.level1.FindLevel1Resp
\"\x00\x12
<
\n\x03
Get
\x12\x18
.ifs.level1.GetLevel1Req
\x1a\x19
.ifs.level1.GetLevel1Resp
\"\x00\x12\x42\n\x05
Write
\x12\x1a
.ifs.level1.WriteLevel1Req
\x1a\x1b
.ifs.level1.WriteLevel1Resp
\"\x00\x12
T
\n\x0f
UpdateQc1Status
\x12\x1e
.ifs.level1.UpdateQc1StatusReq
\x1a\x1f
.ifs.level1.UpdateQc1StatusResp
\"\x00\x12
W
\n\x10
UpdateProcStatus
\x12\x1f
.ifs.level1.UpdateProcStatusReq
\x1a
.ifs.level1.UpdateProcStatusResp
\"\x00\x42
!Z
\x1f\x63
nlab.net/csst/proto/ifs/level1b
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
_LEVEL1RECORD
=
_descriptor
.
Descriptor
(
name
=
'Level1Record'
,
full_name
=
'ifs.level1.Level1Record'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'ifs.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
=
'raw_id'
,
full_name
=
'ifs.level1.Level1Record.raw_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
=
'data_type'
,
full_name
=
'ifs.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
=
'ifs.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
=
'ifs.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
=
'flat_id'
,
full_name
=
'ifs.level1.Level1Record.flat_id'
,
index
=
5
,
number
=
6
,
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
=
'dark_id'
,
full_name
=
'ifs.level1.Level1Record.dark_id'
,
index
=
6
,
number
=
7
,
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
=
'bias_id'
,
full_name
=
'ifs.level1.Level1Record.bias_id'
,
index
=
7
,
number
=
8
,
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
=
'lamp_id'
,
full_name
=
'ifs.level1.Level1Record.lamp_id'
,
index
=
8
,
number
=
9
,
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
=
'arc_id'
,
full_name
=
'ifs.level1.Level1Record.arc_id'
,
index
=
9
,
number
=
10
,
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
=
'sky_id'
,
full_name
=
'ifs.level1.Level1Record.sky_id'
,
index
=
10
,
number
=
11
,
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
=
'filename'
,
full_name
=
'ifs.level1.Level1Record.filename'
,
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
=
'file_path'
,
full_name
=
'ifs.level1.Level1Record.file_path'
,
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
=
'qc1_status'
,
full_name
=
'ifs.level1.Level1Record.qc1_status'
,
index
=
13
,
number
=
14
,
type
=
13
,
cpp_type
=
3
,
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
=
'ifs.level1.Level1Record.qc1_time'
,
index
=
14
,
number
=
15
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_status'
,
full_name
=
'ifs.level1.Level1Record.prc_status'
,
index
=
15
,
number
=
16
,
type
=
13
,
cpp_type
=
3
,
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
=
'ifs.level1.Level1Record.prc_time'
,
index
=
16
,
number
=
17
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time'
,
full_name
=
'ifs.level1.Level1Record.create_time'
,
index
=
17
,
number
=
18
,
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
=
'ifs.level1.Level1Record.pipeline_id'
,
index
=
18
,
number
=
19
,
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
=
60
,
serialized_end
=
416
,
)
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
=
_descriptor
.
Descriptor
(
name
=
'OtherConditionsEntry'
,
full_name
=
'ifs.level1.FindLevel1Req.OtherConditionsEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'ifs.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
=
'ifs.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
=
670
,
serialized_end
=
724
,
)
_FINDLEVEL1REQ
=
_descriptor
.
Descriptor
(
name
=
'FindLevel1Req'
,
full_name
=
'ifs.level1.FindLevel1Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'raw_id'
,
full_name
=
'ifs.level1.FindLevel1Req.raw_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
=
'data_type'
,
full_name
=
'ifs.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
=
'ifs.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
=
'ifs.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
=
'ifs.level1.FindLevel1Req.qc1_status'
,
index
=
4
,
number
=
5
,
type
=
13
,
cpp_type
=
3
,
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
=
'ifs.level1.FindLevel1Req.prc_status'
,
index
=
5
,
number
=
6
,
type
=
13
,
cpp_type
=
3
,
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
=
'ifs.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
=
'ifs.level1.FindLevel1Req.limit'
,
index
=
7
,
number
=
8
,
type
=
13
,
cpp_type
=
3
,
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
=
'ifs.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
=
419
,
serialized_end
=
724
,
)
_FINDLEVEL1RESP
=
_descriptor
.
Descriptor
(
name
=
'FindLevel1Resp'
,
full_name
=
'ifs.level1.FindLevel1Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'ifs.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
=
'ifs.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
=
'ifs.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
=
'ifs.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
=
726
,
serialized_end
=
852
,
)
_GETLEVEL1REQ
=
_descriptor
.
Descriptor
(
name
=
'GetLevel1Req'
,
full_name
=
'ifs.level1.GetLevel1Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'ifs.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
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
854
,
serialized_end
=
880
,
)
_GETLEVEL1RESP
=
_descriptor
.
Descriptor
(
name
=
'GetLevel1Resp'
,
full_name
=
'ifs.level1.GetLevel1Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'ifs.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
=
882
,
serialized_end
=
939
,
)
_WRITELEVEL1REQ
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel1Req'
,
full_name
=
'ifs.level1.WriteLevel1Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'ifs.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
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
941
,
serialized_end
=
999
,
)
_WRITELEVEL1RESP
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel1Resp'
,
full_name
=
'ifs.level1.WriteLevel1Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'ifs.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
=
'ifs.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
=
'ifs.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
=
1001
,
serialized_end
=
1107
,
)
_UPDATEQC1STATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc1StatusReq'
,
full_name
=
'ifs.level1.UpdateQc1StatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'ifs.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
=
'ifs.level1.UpdateQc1StatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
13
,
cpp_type
=
3
,
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
=
1109
,
serialized_end
=
1157
,
)
_UPDATEQC1STATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc1StatusResp'
,
full_name
=
'ifs.level1.UpdateQc1StatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'ifs.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
=
'ifs.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
=
1159
,
serialized_end
=
1227
,
)
_UPDATEPROCSTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusReq'
,
full_name
=
'ifs.level1.UpdateProcStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'ifs.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
=
'ifs.level1.UpdateProcStatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
13
,
cpp_type
=
3
,
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
=
1229
,
serialized_end
=
1278
,
)
_UPDATEPROCSTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusResp'
,
full_name
=
'ifs.level1.UpdateProcStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'ifs.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
=
'ifs.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
=
1280
,
serialized_end
=
1349
,
)
_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
,),
{
'DESCRIPTOR'
:
_LEVEL1RECORD
,
'__module__'
:
'ifs.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:ifs.level1.Level1Record)
})
_sym_db
.
RegisterMessage
(
Level1Record
)
FindLevel1Req
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel1Req'
,
(
_message
.
Message
,),
{
'OtherConditionsEntry'
:
_reflection
.
GeneratedProtocolMessageType
(
'OtherConditionsEntry'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
,
'__module__'
:
'ifs.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:ifs.level1.FindLevel1Req.OtherConditionsEntry)
})
,
'DESCRIPTOR'
:
_FINDLEVEL1REQ
,
'__module__'
:
'ifs.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:ifs.level1.FindLevel1Req)
})
_sym_db
.
RegisterMessage
(
FindLevel1Req
)
_sym_db
.
RegisterMessage
(
FindLevel1Req
.
OtherConditionsEntry
)
FindLevel1Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel1Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL1RESP
,
'__module__'
:
'ifs.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:ifs.level1.FindLevel1Resp)
})
_sym_db
.
RegisterMessage
(
FindLevel1Resp
)
GetLevel1Req
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLevel1Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLEVEL1REQ
,
'__module__'
:
'ifs.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:ifs.level1.GetLevel1Req)
})
_sym_db
.
RegisterMessage
(
GetLevel1Req
)
GetLevel1Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLevel1Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLEVEL1RESP
,
'__module__'
:
'ifs.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:ifs.level1.GetLevel1Resp)
})
_sym_db
.
RegisterMessage
(
GetLevel1Resp
)
WriteLevel1Req
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel1Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL1REQ
,
'__module__'
:
'ifs.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:ifs.level1.WriteLevel1Req)
})
_sym_db
.
RegisterMessage
(
WriteLevel1Req
)
WriteLevel1Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel1Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL1RESP
,
'__module__'
:
'ifs.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:ifs.level1.WriteLevel1Resp)
})
_sym_db
.
RegisterMessage
(
WriteLevel1Resp
)
UpdateQc1StatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc1StatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC1STATUSREQ
,
'__module__'
:
'ifs.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:ifs.level1.UpdateQc1StatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateQc1StatusReq
)
UpdateQc1StatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc1StatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC1STATUSRESP
,
'__module__'
:
'ifs.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:ifs.level1.UpdateQc1StatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateQc1StatusResp
)
UpdateProcStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSREQ
,
'__module__'
:
'ifs.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:ifs.level1.UpdateProcStatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusReq
)
UpdateProcStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSRESP
,
'__module__'
:
'ifs.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:ifs.level1.UpdateProcStatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusResp
)
DESCRIPTOR
.
_options
=
None
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
.
_options
=
None
_LEVEL1SRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'Level1Srv'
,
full_name
=
'ifs.level1.Level1Srv'
,
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1352
,
serialized_end
=
1733
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
full_name
=
'ifs.level1.Level1Srv.Find'
,
index
=
0
,
containing_service
=
None
,
input_type
=
_FINDLEVEL1REQ
,
output_type
=
_FINDLEVEL1RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Get'
,
full_name
=
'ifs.level1.Level1Srv.Get'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_GETLEVEL1REQ
,
output_type
=
_GETLEVEL1RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'ifs.level1.Level1Srv.Write'
,
index
=
2
,
containing_service
=
None
,
input_type
=
_WRITELEVEL1REQ
,
output_type
=
_WRITELEVEL1RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateQc1Status'
,
full_name
=
'ifs.level1.Level1Srv.UpdateQc1Status'
,
index
=
3
,
containing_service
=
None
,
input_type
=
_UPDATEQC1STATUSREQ
,
output_type
=
_UPDATEQC1STATUSRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'ifs.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)
csst_dfs_proto/ifs/level1/level1_pb2_grpc.py
0 → 100644
View file @
d9e935a3
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
...ifs.level1
import
level1_pb2
as
ifs_dot_level1_dot_level1__pb2
class
Level1SrvStub
(
object
):
# missing associated documentation comment in .proto file
pass
def
__init__
(
self
,
channel
):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self
.
Find
=
channel
.
unary_unary
(
'/ifs.level1.Level1Srv/Find'
,
request_serializer
=
ifs_dot_level1_dot_level1__pb2
.
FindLevel1Req
.
SerializeToString
,
response_deserializer
=
ifs_dot_level1_dot_level1__pb2
.
FindLevel1Resp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/ifs.level1.Level1Srv/Get'
,
request_serializer
=
ifs_dot_level1_dot_level1__pb2
.
GetLevel1Req
.
SerializeToString
,
response_deserializer
=
ifs_dot_level1_dot_level1__pb2
.
GetLevel1Resp
.
FromString
,
)
self
.
Write
=
channel
.
unary_unary
(
'/ifs.level1.Level1Srv/Write'
,
request_serializer
=
ifs_dot_level1_dot_level1__pb2
.
WriteLevel1Req
.
SerializeToString
,
response_deserializer
=
ifs_dot_level1_dot_level1__pb2
.
WriteLevel1Resp
.
FromString
,
)
self
.
UpdateQc1Status
=
channel
.
unary_unary
(
'/ifs.level1.Level1Srv/UpdateQc1Status'
,
request_serializer
=
ifs_dot_level1_dot_level1__pb2
.
UpdateQc1StatusReq
.
SerializeToString
,
response_deserializer
=
ifs_dot_level1_dot_level1__pb2
.
UpdateQc1StatusResp
.
FromString
,
)
self
.
UpdateProcStatus
=
channel
.
unary_unary
(
'/ifs.level1.Level1Srv/UpdateProcStatus'
,
request_serializer
=
ifs_dot_level1_dot_level1__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
response_deserializer
=
ifs_dot_level1_dot_level1__pb2
.
UpdateProcStatusResp
.
FromString
,
)
class
Level1SrvServicer
(
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
Get
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Write
(
self
,
request
,
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
UpdateQc1Status
(
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_Level1SrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
'Find'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Find
,
request_deserializer
=
ifs_dot_level1_dot_level1__pb2
.
FindLevel1Req
.
FromString
,
response_serializer
=
ifs_dot_level1_dot_level1__pb2
.
FindLevel1Resp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
ifs_dot_level1_dot_level1__pb2
.
GetLevel1Req
.
FromString
,
response_serializer
=
ifs_dot_level1_dot_level1__pb2
.
GetLevel1Resp
.
SerializeToString
,
),
'Write'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Write
,
request_deserializer
=
ifs_dot_level1_dot_level1__pb2
.
WriteLevel1Req
.
FromString
,
response_serializer
=
ifs_dot_level1_dot_level1__pb2
.
WriteLevel1Resp
.
SerializeToString
,
),
'UpdateQc1Status'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateQc1Status
,
request_deserializer
=
ifs_dot_level1_dot_level1__pb2
.
UpdateQc1StatusReq
.
FromString
,
response_serializer
=
ifs_dot_level1_dot_level1__pb2
.
UpdateQc1StatusResp
.
SerializeToString
,
),
'UpdateProcStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateProcStatus
,
request_deserializer
=
ifs_dot_level1_dot_level1__pb2
.
UpdateProcStatusReq
.
FromString
,
response_serializer
=
ifs_dot_level1_dot_level1__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'ifs.level1.Level1Srv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
csst_dfs_proto/msc/level1/__init__.py
0 → 100644
View file @
d9e935a3
csst_dfs_proto/msc/level1/level1_pb2.py
0 → 100644
View file @
d9e935a3
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: msc/level1/level1.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/level1/level1.proto'
,
package
=
'msc.level1'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z
\037
cnlab.net/csst/proto/msc/level1'
),
serialized_pb
=
_b
(
'
\n\x17
msc/level1/level1.proto
\x12\n
msc.level1
\x1a\x12\x63
ommon/error.proto
\"\xb3\x02\n\x0c
Level1Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
raw_id
\x18\x02
\x01
(
\x03\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\x12\x12\n\n
cor_sci_id
\x18\x04
\x01
(
\x03\x12\x12\n\n
prc_params
\x18\x05
\x01
(
\t\x12\x0f\n\x07\x66
lat_id
\x18\x06
\x01
(
\x03\x12\x0f\n\x07\x64\x61
rk_id
\x18\x07
\x01
(
\x03\x12\x0f\n\x07\x62
ias_id
\x18\x08
\x01
(
\x03\x12\x10\n\x08\x66
ilename
\x18\t
\x01
(
\t\x12\x11\n\t
file_path
\x18\n
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x0b
\x01
(
\r\x12\x10\n\x08
qc1_time
\x18\x0c
\x01
(
\t\x12\x12\n\n
prc_status
\x18\r
\x01
(
\r\x12\x10\n\x08
prc_time
\x18\x0e
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0f
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\x10
\x01
(
\t\"\xb1\x02\n\r
FindLevel1Req
\x12\x0e\n\x06
raw_id
\x18\x01
\x01
(
\x03\x12\x11\n\t
data_type
\x18\x02
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x03
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\r\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\r\x12\x10\n\x08\x66
ilename
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\r\x12
H
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32
..msc.level1.FindLevel1Req.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"
~
\n\x0e\x46
indLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
)
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x18
.msc.level1.Level1Record
\"\x1a\n\x0c
GetLevel1Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
9
\n\r
GetLevel1Resp
\x12
(
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x18
.msc.level1.Level1Record
\"
:
\n\x0e
WriteLevel1Req
\x12
(
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x18
.msc.level1.Level1Record
\"
j
\n\x0f
WriteLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
(
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x18
.msc.level1.Level1Record
\"
0
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
D
\n\x13
UpdateQc1StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\r\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\xfd\x02\n\t
Level1Srv
\x12
?
\n\x04\x46
ind
\x12\x19
.msc.level1.FindLevel1Req
\x1a\x1a
.msc.level1.FindLevel1Resp
\"\x00\x12
<
\n\x03
Get
\x12\x18
.msc.level1.GetLevel1Req
\x1a\x19
.msc.level1.GetLevel1Resp
\"\x00\x12\x42\n\x05
Write
\x12\x1a
.msc.level1.WriteLevel1Req
\x1a\x1b
.msc.level1.WriteLevel1Resp
\"\x00\x12
T
\n\x0f
UpdateQc1Status
\x12\x1e
.msc.level1.UpdateQc1StatusReq
\x1a\x1f
.msc.level1.UpdateQc1StatusResp
\"\x00\x12
W
\n\x10
UpdateProcStatus
\x12\x1f
.msc.level1.UpdateProcStatusReq
\x1a
.msc.level1.UpdateProcStatusResp
\"\x00\x42
!Z
\x1f\x63
nlab.net/csst/proto/msc/level1b
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
_LEVEL1RECORD
=
_descriptor
.
Descriptor
(
name
=
'Level1Record'
,
full_name
=
'msc.level1.Level1Record'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'msc.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
=
'raw_id'
,
full_name
=
'msc.level1.Level1Record.raw_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
=
'data_type'
,
full_name
=
'msc.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
=
'msc.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
=
'msc.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
=
'flat_id'
,
full_name
=
'msc.level1.Level1Record.flat_id'
,
index
=
5
,
number
=
6
,
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
=
'dark_id'
,
full_name
=
'msc.level1.Level1Record.dark_id'
,
index
=
6
,
number
=
7
,
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
=
'bias_id'
,
full_name
=
'msc.level1.Level1Record.bias_id'
,
index
=
7
,
number
=
8
,
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
=
'filename'
,
full_name
=
'msc.level1.Level1Record.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
=
'file_path'
,
full_name
=
'msc.level1.Level1Record.file_path'
,
index
=
9
,
number
=
10
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'qc1_status'
,
full_name
=
'msc.level1.Level1Record.qc1_status'
,
index
=
10
,
number
=
11
,
type
=
13
,
cpp_type
=
3
,
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
=
'msc.level1.Level1Record.qc1_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
=
'prc_status'
,
full_name
=
'msc.level1.Level1Record.prc_status'
,
index
=
12
,
number
=
13
,
type
=
13
,
cpp_type
=
3
,
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
=
'msc.level1.Level1Record.prc_time'
,
index
=
13
,
number
=
14
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time'
,
full_name
=
'msc.level1.Level1Record.create_time'
,
index
=
14
,
number
=
15
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'pipeline_id'
,
full_name
=
'msc.level1.Level1Record.pipeline_id'
,
index
=
15
,
number
=
16
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
60
,
serialized_end
=
367
,
)
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
=
_descriptor
.
Descriptor
(
name
=
'OtherConditionsEntry'
,
full_name
=
'msc.level1.FindLevel1Req.OtherConditionsEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'msc.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
=
'msc.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
=
621
,
serialized_end
=
675
,
)
_FINDLEVEL1REQ
=
_descriptor
.
Descriptor
(
name
=
'FindLevel1Req'
,
full_name
=
'msc.level1.FindLevel1Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'raw_id'
,
full_name
=
'msc.level1.FindLevel1Req.raw_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
=
'data_type'
,
full_name
=
'msc.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
=
'msc.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
=
'msc.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
=
'msc.level1.FindLevel1Req.qc1_status'
,
index
=
4
,
number
=
5
,
type
=
13
,
cpp_type
=
3
,
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
=
'msc.level1.FindLevel1Req.prc_status'
,
index
=
5
,
number
=
6
,
type
=
13
,
cpp_type
=
3
,
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
=
'msc.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
=
'msc.level1.FindLevel1Req.limit'
,
index
=
7
,
number
=
8
,
type
=
13
,
cpp_type
=
3
,
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
=
'msc.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
=
370
,
serialized_end
=
675
,
)
_FINDLEVEL1RESP
=
_descriptor
.
Descriptor
(
name
=
'FindLevel1Resp'
,
full_name
=
'msc.level1.FindLevel1Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'msc.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
=
'msc.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
=
'msc.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
=
'msc.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
=
677
,
serialized_end
=
803
,
)
_GETLEVEL1REQ
=
_descriptor
.
Descriptor
(
name
=
'GetLevel1Req'
,
full_name
=
'msc.level1.GetLevel1Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'msc.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
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
805
,
serialized_end
=
831
,
)
_GETLEVEL1RESP
=
_descriptor
.
Descriptor
(
name
=
'GetLevel1Resp'
,
full_name
=
'msc.level1.GetLevel1Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'msc.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
=
833
,
serialized_end
=
890
,
)
_WRITELEVEL1REQ
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel1Req'
,
full_name
=
'msc.level1.WriteLevel1Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'msc.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
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
892
,
serialized_end
=
950
,
)
_WRITELEVEL1RESP
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel1Resp'
,
full_name
=
'msc.level1.WriteLevel1Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'msc.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
=
'msc.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
=
'msc.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
=
952
,
serialized_end
=
1058
,
)
_UPDATEQC1STATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc1StatusReq'
,
full_name
=
'msc.level1.UpdateQc1StatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'msc.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
=
'msc.level1.UpdateQc1StatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
13
,
cpp_type
=
3
,
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
=
1060
,
serialized_end
=
1108
,
)
_UPDATEQC1STATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc1StatusResp'
,
full_name
=
'msc.level1.UpdateQc1StatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'msc.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
=
'msc.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
=
1110
,
serialized_end
=
1178
,
)
_UPDATEPROCSTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusReq'
,
full_name
=
'msc.level1.UpdateProcStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'msc.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
=
'msc.level1.UpdateProcStatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
13
,
cpp_type
=
3
,
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
=
1180
,
serialized_end
=
1229
,
)
_UPDATEPROCSTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusResp'
,
full_name
=
'msc.level1.UpdateProcStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'msc.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
=
'msc.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
=
1231
,
serialized_end
=
1300
,
)
_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
,),
{
'DESCRIPTOR'
:
_LEVEL1RECORD
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:msc.level1.Level1Record)
})
_sym_db
.
RegisterMessage
(
Level1Record
)
FindLevel1Req
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel1Req'
,
(
_message
.
Message
,),
{
'OtherConditionsEntry'
:
_reflection
.
GeneratedProtocolMessageType
(
'OtherConditionsEntry'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:msc.level1.FindLevel1Req.OtherConditionsEntry)
})
,
'DESCRIPTOR'
:
_FINDLEVEL1REQ
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:msc.level1.FindLevel1Req)
})
_sym_db
.
RegisterMessage
(
FindLevel1Req
)
_sym_db
.
RegisterMessage
(
FindLevel1Req
.
OtherConditionsEntry
)
FindLevel1Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel1Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL1RESP
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:msc.level1.FindLevel1Resp)
})
_sym_db
.
RegisterMessage
(
FindLevel1Resp
)
GetLevel1Req
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLevel1Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLEVEL1REQ
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:msc.level1.GetLevel1Req)
})
_sym_db
.
RegisterMessage
(
GetLevel1Req
)
GetLevel1Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLevel1Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLEVEL1RESP
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:msc.level1.GetLevel1Resp)
})
_sym_db
.
RegisterMessage
(
GetLevel1Resp
)
WriteLevel1Req
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel1Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL1REQ
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:msc.level1.WriteLevel1Req)
})
_sym_db
.
RegisterMessage
(
WriteLevel1Req
)
WriteLevel1Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel1Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL1RESP
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:msc.level1.WriteLevel1Resp)
})
_sym_db
.
RegisterMessage
(
WriteLevel1Resp
)
UpdateQc1StatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc1StatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC1STATUSREQ
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:msc.level1.UpdateQc1StatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateQc1StatusReq
)
UpdateQc1StatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc1StatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC1STATUSRESP
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:msc.level1.UpdateQc1StatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateQc1StatusResp
)
UpdateProcStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSREQ
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:msc.level1.UpdateProcStatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusReq
)
UpdateProcStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSRESP
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:msc.level1.UpdateProcStatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusResp
)
DESCRIPTOR
.
_options
=
None
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
.
_options
=
None
_LEVEL1SRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'Level1Srv'
,
full_name
=
'msc.level1.Level1Srv'
,
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1303
,
serialized_end
=
1684
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
full_name
=
'msc.level1.Level1Srv.Find'
,
index
=
0
,
containing_service
=
None
,
input_type
=
_FINDLEVEL1REQ
,
output_type
=
_FINDLEVEL1RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Get'
,
full_name
=
'msc.level1.Level1Srv.Get'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_GETLEVEL1REQ
,
output_type
=
_GETLEVEL1RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'msc.level1.Level1Srv.Write'
,
index
=
2
,
containing_service
=
None
,
input_type
=
_WRITELEVEL1REQ
,
output_type
=
_WRITELEVEL1RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateQc1Status'
,
full_name
=
'msc.level1.Level1Srv.UpdateQc1Status'
,
index
=
3
,
containing_service
=
None
,
input_type
=
_UPDATEQC1STATUSREQ
,
output_type
=
_UPDATEQC1STATUSRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'msc.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)
csst_dfs_proto/msc/level1/level1_pb2_grpc.py
0 → 100644
View file @
d9e935a3
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
...msc.level1
import
level1_pb2
as
msc_dot_level1_dot_level1__pb2
class
Level1SrvStub
(
object
):
# missing associated documentation comment in .proto file
pass
def
__init__
(
self
,
channel
):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self
.
Find
=
channel
.
unary_unary
(
'/msc.level1.Level1Srv/Find'
,
request_serializer
=
msc_dot_level1_dot_level1__pb2
.
FindLevel1Req
.
SerializeToString
,
response_deserializer
=
msc_dot_level1_dot_level1__pb2
.
FindLevel1Resp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/msc.level1.Level1Srv/Get'
,
request_serializer
=
msc_dot_level1_dot_level1__pb2
.
GetLevel1Req
.
SerializeToString
,
response_deserializer
=
msc_dot_level1_dot_level1__pb2
.
GetLevel1Resp
.
FromString
,
)
self
.
Write
=
channel
.
unary_unary
(
'/msc.level1.Level1Srv/Write'
,
request_serializer
=
msc_dot_level1_dot_level1__pb2
.
WriteLevel1Req
.
SerializeToString
,
response_deserializer
=
msc_dot_level1_dot_level1__pb2
.
WriteLevel1Resp
.
FromString
,
)
self
.
UpdateQc1Status
=
channel
.
unary_unary
(
'/msc.level1.Level1Srv/UpdateQc1Status'
,
request_serializer
=
msc_dot_level1_dot_level1__pb2
.
UpdateQc1StatusReq
.
SerializeToString
,
response_deserializer
=
msc_dot_level1_dot_level1__pb2
.
UpdateQc1StatusResp
.
FromString
,
)
self
.
UpdateProcStatus
=
channel
.
unary_unary
(
'/msc.level1.Level1Srv/UpdateProcStatus'
,
request_serializer
=
msc_dot_level1_dot_level1__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
response_deserializer
=
msc_dot_level1_dot_level1__pb2
.
UpdateProcStatusResp
.
FromString
,
)
class
Level1SrvServicer
(
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
Get
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Write
(
self
,
request
,
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
UpdateQc1Status
(
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_Level1SrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
'Find'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Find
,
request_deserializer
=
msc_dot_level1_dot_level1__pb2
.
FindLevel1Req
.
FromString
,
response_serializer
=
msc_dot_level1_dot_level1__pb2
.
FindLevel1Resp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
msc_dot_level1_dot_level1__pb2
.
GetLevel1Req
.
FromString
,
response_serializer
=
msc_dot_level1_dot_level1__pb2
.
GetLevel1Resp
.
SerializeToString
,
),
'Write'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Write
,
request_deserializer
=
msc_dot_level1_dot_level1__pb2
.
WriteLevel1Req
.
FromString
,
response_serializer
=
msc_dot_level1_dot_level1__pb2
.
WriteLevel1Resp
.
SerializeToString
,
),
'UpdateQc1Status'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateQc1Status
,
request_deserializer
=
msc_dot_level1_dot_level1__pb2
.
UpdateQc1StatusReq
.
FromString
,
response_serializer
=
msc_dot_level1_dot_level1__pb2
.
UpdateQc1StatusResp
.
SerializeToString
,
),
'UpdateProcStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateProcStatus
,
request_deserializer
=
msc_dot_level1_dot_level1__pb2
.
UpdateProcStatusReq
.
FromString
,
response_serializer
=
msc_dot_level1_dot_level1__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'msc.level1.Level1Srv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment