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
f439da0e
Commit
f439da0e
authored
Jun 04, 2021
by
Wei Shoulin
Browse files
leve0
parent
60afdbeb
Changes
17
Show whitespace changes
Inline
Side-by-side
csst_dfs_proto/cpic/__init__.py
0 → 100644
View file @
f439da0e
csst_dfs_proto/facility/calmerge/__init__.py
0 → 100644
View file @
f439da0e
csst_dfs_proto/facility/detector/__init__.py
0 → 100644
View file @
f439da0e
csst_dfs_proto/facility/detector_pb2.py
→
csst_dfs_proto/facility/detector
/detector
_pb2.py
View file @
f439da0e
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: facility/detector.proto
# source: facility/detector
/detector
.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
...
...
@@ -13,15 +13,15 @@ from google.protobuf import symbol_database as _symbol_database
_sym_db
=
_symbol_database
.
Default
()
from
..common
import
error_pb2
as
common_dot_error__pb2
from
..
.
common
import
error_pb2
as
common_dot_error__pb2
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'facility/detector.proto'
,
package
=
'
facility
'
,
name
=
'facility/detector
/detector
.proto'
,
package
=
'
detector
'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z
\035
cnlab.net/csst/proto/facility'
),
serialized_pb
=
_b
(
'
\n
\x17\x66\x61\x63
ility/detector.proto
\x12\x08\x6
6\x61\x63
ility
\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
(
\
x03
\"
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
(
\
x03
\x12\x13\n\x0b\x63
reate_time
\x18\x05
\x01
(
\
x03
\"
1
\n\x0f\x46
indDetectorReq
\x12\x11\n\t
module_id
\x18\x01
\x01
(
\t\x12\x0b\n\x03
key
\x18\x02
\x01
(
\t\"
{
\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\x0
8\x44\x65
t
ec
t
or
\x18\x04
\x03
(
\x0b\x32\x12
.
facility
.Detector
\"\x1c\n\x0e
GetDetectorReq
\x12\n\n\x02
no
\x18\x01
\x01
(
\t\"
7
\n\x0f
GetDetectorResp
\x12
$
\n\x08\x44\x65
tector
\x18\x01
\x01
(
\x0b\x32\x12
.
facility
.Detector
\"
[
\n\x10
WriteDetectorReq
\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\"
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\x08\x44\x65
tector
\x18\x03
\x01
(
\x0b\x32\x12
.
facility
.Detector
\"\\\n\x11
UpdateDetectorReq
\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\"
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
\"
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
.
facility
.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
.
facility
.DetectorStatus
\"
J
\n\x0e
WriteStatusReq
\x12\x13\n\x0b\x64\x65
tector_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
.
facility
.DetectorStatus2
\x
e0
\x0
3
\n\x0b\x44\x65
tectorSrv
\x12
?
\n\x04\x46
ind
\x12\x19
.
facility
.FindDetectorReq
\x1a\x1a
.
facility
.FindDetectorResp
\"\x00\x12
<
\n\x03
Get
\x12\x18
.
facility
.GetDetectorReq
\x1a\x19
.
facility
.GetDetectorResp
\"\x00\x12\x42\n\x05
Write
\x12\x1a
.
facility
.WriteDetectorReq
\x1a\x1b
.
facility
.WriteDetectorResp
\"\x00\x12\x45\n\x06
Update
\x12\x1b
.
facility
.UpdateDetectorReq
\x1a\x1c
.
facility.Upda
teDetectorResp
\"\x00\x12\x41\n\n
FindStatus
\x12\x17
.
facility
.FindStatusReq
\x1a\x18
.
facility
.FindStatusResp
\"\x00\x12
>
\n\t
GetStatus
\x12\x16
.
facility
.GetStatusReq
\x1a\x17
.
facility
.GetStatusResp
\"\x00\x12\x44\n\x0b
WriteStatus
\x12\x18
.
facility
.WriteStatusReq
\x1a\x19
.
facility
.WriteStatusResp
\"\x00\x42\x1f
Z
\x1d\x63
nlab.net/csst/proto/facilityb
\x06
proto3'
)
serialized_pb
=
_b
(
'
\n
fac
ility/detector
/detector
.proto
\x12\x08\x6
4\x65
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\x0
7
r
ecor
ds
\x18\x04
\x03
(
\x0b\x32\x12
.
detector
.Detector
\"\x1c\n\x0e
GetDetectorReq
\x12\n\n\x02
no
\x18\x01
\x01
(
\t\"
7
\n\x0f
GetDetectorResp
\x12
$
\n\x08\x44\x65
tector
\x18\x01
\x01
(
\x0b\x32\x12
.
detector
.Detector
\"
[
\n\x10
WriteDetectorReq
\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\"
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\x08\x44\x65
tector
\x18\x03
\x01
(
\x0b\x32\x12
.
detector
.Detector
\"\\\n\x11
UpdateDetectorReq
\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\"
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\x13\n\x0b\x64\x65
tector_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
a7
\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.Dele
teDetectorResp
\"\x00\x12\x41\n\n
FindStatus
\x12\x17
.
detector
.FindStatusReq
\x1a\x18
.
detector
.FindStatusResp
\"\x00\x12
>
\n\t
GetStatus
\x12\x16
.
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'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -30,50 +30,50 @@ DESCRIPTOR = _descriptor.FileDescriptor(
_DETECTOR
=
_descriptor
.
Descriptor
(
name
=
'Detector'
,
full_name
=
'
facility
.Detector'
,
full_name
=
'
detector
.Detector'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'no'
,
full_name
=
'
facility
.Detector.no'
,
index
=
0
,
name
=
'no'
,
full_name
=
'
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
=
'
facility
.Detector.detector_name'
,
index
=
1
,
name
=
'detector_name'
,
full_name
=
'
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
=
'
facility
.Detector.module_id'
,
index
=
2
,
name
=
'module_id'
,
full_name
=
'
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
=
'
facility
.Detector.filter_id'
,
index
=
3
,
name
=
'filter_id'
,
full_name
=
'
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
=
'
facility
.Detector.create_time'
,
index
=
4
,
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
,
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
=
'
facility
.Detector.update_time'
,
index
=
5
,
number
=
6
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'update_time'
,
full_name
=
'
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
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
...
...
@@ -89,50 +89,50 @@ _DETECTOR = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
57
,
serialized_end
=
1
82
,
serialized_start
=
66
,
serialized_end
=
1
91
,
)
_DETECTORSTATUS
=
_descriptor
.
Descriptor
(
name
=
'DetectorStatus'
,
full_name
=
'
facility
.DetectorStatus'
,
full_name
=
'
detector
.DetectorStatus'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'
facility
.DetectorStatus.id'
,
index
=
0
,
name
=
'id'
,
full_name
=
'
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
=
'
facility
.DetectorStatus.detector_no'
,
index
=
1
,
name
=
'detector_no'
,
full_name
=
'
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
=
'
facility
.DetectorStatus.status'
,
index
=
2
,
name
=
'status'
,
full_name
=
'
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
=
'
facility
.DetectorStatus.status_time'
,
index
=
3
,
number
=
4
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'status_time'
,
full_name
=
'
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
=
'
facility
.DetectorStatus.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
=
'
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
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
...
...
@@ -148,27 +148,27 @@ _DETECTORSTATUS = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
84
,
serialized_end
=
291
,
serialized_start
=
1
93
,
serialized_end
=
300
,
)
_FINDDETECTORREQ
=
_descriptor
.
Descriptor
(
name
=
'FindDetectorReq'
,
full_name
=
'
facility
.FindDetectorReq'
,
full_name
=
'
detector
.FindDetectorReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'module_id'
,
full_name
=
'
facility
.FindDetectorReq.module_id'
,
index
=
0
,
name
=
'module_id'
,
full_name
=
'
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
=
'
facility
.FindDetectorReq.key'
,
index
=
1
,
name
=
'key'
,
full_name
=
'
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
=
293
,
serialized_end
=
3
42
,
serialized_start
=
302
,
serialized_end
=
3
51
,
)
_FINDDETECTORRESP
=
_descriptor
.
Descriptor
(
name
=
'FindDetectorResp'
,
full_name
=
'
facility
.FindDetectorResp'
,
full_name
=
'
detector
.FindDetectorResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'
facility
.FindDetectorResp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
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
=
'
facility
.FindDetectorResp.totalCount'
,
index
=
1
,
name
=
'totalCount'
,
full_name
=
'
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
=
'
facility
.FindDetectorResp.error'
,
index
=
2
,
name
=
'error'
,
full_name
=
'
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
=
'
Det
ec
t
or'
,
full_name
=
'
facility
.FindDetectorResp.
Det
ec
t
or'
,
index
=
3
,
name
=
'
r
ecor
ds
'
,
full_name
=
'
detector
.FindDetectorResp.
r
ecor
ds
'
,
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
44
,
serialized_end
=
4
6
7
,
serialized_start
=
3
53
,
serialized_end
=
47
5
,
)
_GETDETECTORREQ
=
_descriptor
.
Descriptor
(
name
=
'GetDetectorReq'
,
full_name
=
'
facility
.GetDetectorReq'
,
full_name
=
'
detector
.GetDetectorReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'no'
,
full_name
=
'
facility
.GetDetectorReq.no'
,
index
=
0
,
name
=
'no'
,
full_name
=
'
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
69
,
serialized_end
=
497
,
serialized_start
=
4
77
,
serialized_end
=
505
,
)
_GETDETECTORRESP
=
_descriptor
.
Descriptor
(
name
=
'GetDetectorResp'
,
full_name
=
'
facility
.GetDetectorResp'
,
full_name
=
'
detector
.GetDetectorResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'Detector'
,
full_name
=
'
facility
.GetDetectorResp.Detector'
,
index
=
0
,
name
=
'Detector'
,
full_name
=
'
detector
.GetDetectorResp.Detector'
,
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,41 +300,41 @@ _GETDETECTORRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
499
,
serialized_end
=
5
54
,
serialized_start
=
507
,
serialized_end
=
5
62
,
)
_WRITEDETECTORREQ
=
_descriptor
.
Descriptor
(
name
=
'WriteDetectorReq'
,
full_name
=
'
facility
.WriteDetectorReq'
,
full_name
=
'
detector
.WriteDetectorReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'no'
,
full_name
=
'
facility
.WriteDetectorReq.no'
,
index
=
0
,
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
=
'
facility
.WriteDetectorReq.detector_name'
,
index
=
1
,
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
=
'
facility
.WriteDetectorReq.module_id'
,
index
=
2
,
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
=
'
facility
.WriteDetectorReq.filter_id'
,
index
=
3
,
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'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
...
...
@@ -352,34 +352,34 @@ _WRITEDETECTORREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
5
5
6
,
serialized_end
=
6
47
,
serialized_start
=
56
4
,
serialized_end
=
6
55
,
)
_WRITEDETECTORRESP
=
_descriptor
.
Descriptor
(
name
=
'WriteDetectorResp'
,
full_name
=
'
facility
.WriteDetectorResp'
,
full_name
=
'
detector
.WriteDetectorResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'
facility
.WriteDetectorResp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
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
=
'
facility
.WriteDetectorResp.error'
,
index
=
1
,
name
=
'error'
,
full_name
=
'
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
=
'Detector'
,
full_name
=
'
facility
.WriteDetectorResp.Detector'
,
index
=
2
,
name
=
'Detector'
,
full_name
=
'
detector
.WriteDetectorResp.Detector'
,
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,41 +397,41 @@ _WRITEDETECTORRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
6
49
,
serialized_end
=
7
53
,
serialized_start
=
6
57
,
serialized_end
=
7
61
,
)
_UPDATEDETECTORREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateDetectorReq'
,
full_name
=
'
facility
.UpdateDetectorReq'
,
full_name
=
'
detector
.UpdateDetectorReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'no'
,
full_name
=
'
facility
.UpdateDetectorReq.no'
,
index
=
0
,
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
=
'
facility
.UpdateDetectorReq.detector_name'
,
index
=
1
,
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
=
'
facility
.UpdateDetectorReq.module_id'
,
index
=
2
,
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
=
'
facility
.UpdateDetectorReq.filter_id'
,
index
=
3
,
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'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
...
...
@@ -449,27 +449,96 @@ _UPDATEDETECTORREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
7
55
,
serialized_end
=
8
47
,
serialized_start
=
7
63
,
serialized_end
=
8
55
,
)
_UPDATEDETECTORRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateDetectorResp'
,
full_name
=
'facility.UpdateDetectorResp'
,
full_name
=
'detector.UpdateDetectorResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'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
,
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
=
857
,
serialized_end
=
924
,
)
_DELETEDETECTORREQ
=
_descriptor
.
Descriptor
(
name
=
'DeleteDetectorReq'
,
full_name
=
'detector.DeleteDetectorReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'facility.UpdateDetectorResp.success'
,
index
=
0
,
name
=
'no'
,
full_name
=
'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
,
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
=
926
,
serialized_end
=
957
,
)
_DELETEDETECTORRESP
=
_descriptor
.
Descriptor
(
name
=
'DeleteDetectorResp'
,
full_name
=
'detector.DeleteDetectorResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'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
=
'
facility.Upda
teDetectorResp.error'
,
index
=
1
,
name
=
'error'
,
full_name
=
'
detector.Dele
teDetectorResp.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,41 +556,41 @@ _UPDATEDETECTORRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
84
9
,
serialized_end
=
9
16
,
serialized_start
=
95
9
,
serialized_end
=
1
02
6
,
)
_FINDSTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'FindStatusReq'
,
full_name
=
'
facility
.FindStatusReq'
,
full_name
=
'
detector
.FindStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'detector_no'
,
full_name
=
'
facility
.FindStatusReq.detector_no'
,
index
=
0
,
name
=
'detector_no'
,
full_name
=
'
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
=
'
facility
.FindStatusReq.status_begin_time'
,
index
=
1
,
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
,
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
=
'
facility
.FindStatusReq.status_end_time'
,
index
=
2
,
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
,
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
=
'
facility
.FindStatusReq.limit'
,
index
=
3
,
name
=
'limit'
,
full_name
=
'
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
,
...
...
@@ -539,41 +608,41 @@ _FINDSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
9
18
,
serialized_end
=
1
02
1
,
serialized_start
=
1
02
8
,
serialized_end
=
1
13
1
,
)
_FINDSTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'FindStatusResp'
,
full_name
=
'
facility
.FindStatusResp'
,
full_name
=
'
detector
.FindStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'
facility
.FindStatusResp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
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
=
'
facility
.FindStatusResp.totalCount'
,
index
=
1
,
name
=
'totalCount'
,
full_name
=
'
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
=
'
facility
.FindStatusResp.error'
,
index
=
2
,
name
=
'error'
,
full_name
=
'
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
=
'
facility
.FindStatusResp.records'
,
index
=
3
,
name
=
'records'
,
full_name
=
'
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
,
...
...
@@ -591,20 +660,20 @@ _FINDSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
02
3
,
serialized_end
=
1
14
9
,
serialized_start
=
1
13
3
,
serialized_end
=
1
25
9
,
)
_GETSTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'GetStatusReq'
,
full_name
=
'
facility
.GetStatusReq'
,
full_name
=
'
detector
.GetStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'status_id'
,
full_name
=
'
facility
.GetStatusReq.status_id'
,
index
=
0
,
name
=
'status_id'
,
full_name
=
'
detector
.GetStatusReq.status_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
,
...
...
@@ -622,20 +691,20 @@ _GETSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
15
1
,
serialized_end
=
1
18
4
,
serialized_start
=
1
26
1
,
serialized_end
=
1
29
4
,
)
_GETSTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'GetStatusResp'
,
full_name
=
'
facility
.GetStatusResp'
,
full_name
=
'
detector
.GetStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'
facility
.GetStatusResp.record'
,
index
=
0
,
name
=
'record'
,
full_name
=
'
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
,
...
...
@@ -653,34 +722,34 @@ _GETSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
18
6
,
serialized_end
=
1
24
3
,
serialized_start
=
1
29
6
,
serialized_end
=
1
35
3
,
)
_WRITESTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'WriteStatusReq'
,
full_name
=
'
facility
.WriteStatusReq'
,
full_name
=
'
detector
.WriteStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'detector_no'
,
full_name
=
'
facility
.WriteStatusReq.detector_no'
,
index
=
0
,
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
=
'
facility
.WriteStatusReq.status'
,
index
=
1
,
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
=
'
facility
.WriteStatusReq.status_time'
,
index
=
2
,
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
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
...
...
@@ -698,34 +767,34 @@ _WRITESTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
24
5
,
serialized_end
=
1
31
9
,
serialized_start
=
1
35
5
,
serialized_end
=
1
42
9
,
)
_WRITESTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'WriteStatusResp'
,
full_name
=
'
facility
.WriteStatusResp'
,
full_name
=
'
detector
.WriteStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'
facility
.WriteStatusResp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
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
=
'
facility
.WriteStatusResp.error'
,
index
=
1
,
name
=
'error'
,
full_name
=
'
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
=
'
facility
.WriteStatusResp.record'
,
index
=
2
,
name
=
'record'
,
full_name
=
'
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
,
...
...
@@ -743,16 +812,17 @@ _WRITESTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
13
2
1
,
serialized_end
=
1
42
7
,
serialized_start
=
1
4
31
,
serialized_end
=
1
53
7
,
)
_FINDDETECTORRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDDETECTORRESP
.
fields_by_name
[
'
Det
ec
t
or'
].
message_type
=
_DETECTOR
_FINDDETECTORRESP
.
fields_by_name
[
'
r
ecor
ds
'
].
message_type
=
_DETECTOR
_GETDETECTORRESP
.
fields_by_name
[
'Detector'
].
message_type
=
_DETECTOR
_WRITEDETECTORRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITEDETECTORRESP
.
fields_by_name
[
'Detector'
].
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
...
...
@@ -768,6 +838,8 @@ DESCRIPTOR.message_types_by_name['WriteDetectorReq'] = _WRITEDETECTORREQ
DESCRIPTOR
.
message_types_by_name
[
'WriteDetectorResp'
]
=
_WRITEDETECTORRESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateDetectorReq'
]
=
_UPDATEDETECTORREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateDetectorResp'
]
=
_UPDATEDETECTORRESP
DESCRIPTOR
.
message_types_by_name
[
'DeleteDetectorReq'
]
=
_DELETEDETECTORREQ
DESCRIPTOR
.
message_types_by_name
[
'DeleteDetectorResp'
]
=
_DELETEDETECTORRESP
DESCRIPTOR
.
message_types_by_name
[
'FindStatusReq'
]
=
_FINDSTATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'FindStatusResp'
]
=
_FINDSTATUSRESP
DESCRIPTOR
.
message_types_by_name
[
'GetStatusReq'
]
=
_GETSTATUSREQ
...
...
@@ -778,113 +850,127 @@ _sym_db.RegisterFileDescriptor(DESCRIPTOR)
Detector
=
_reflection
.
GeneratedProtocolMessageType
(
'Detector'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_DETECTOR
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.Detector)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.Detector)
})
_sym_db
.
RegisterMessage
(
Detector
)
DetectorStatus
=
_reflection
.
GeneratedProtocolMessageType
(
'DetectorStatus'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_DETECTORSTATUS
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.DetectorStatus)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.DetectorStatus)
})
_sym_db
.
RegisterMessage
(
DetectorStatus
)
FindDetectorReq
=
_reflection
.
GeneratedProtocolMessageType
(
'FindDetectorReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDDETECTORREQ
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.FindDetectorReq)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.FindDetectorReq)
})
_sym_db
.
RegisterMessage
(
FindDetectorReq
)
FindDetectorResp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindDetectorResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDDETECTORRESP
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.FindDetectorResp)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.FindDetectorResp)
})
_sym_db
.
RegisterMessage
(
FindDetectorResp
)
GetDetectorReq
=
_reflection
.
GeneratedProtocolMessageType
(
'GetDetectorReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETDETECTORREQ
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.GetDetectorReq)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.GetDetectorReq)
})
_sym_db
.
RegisterMessage
(
GetDetectorReq
)
GetDetectorResp
=
_reflection
.
GeneratedProtocolMessageType
(
'GetDetectorResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETDETECTORRESP
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.GetDetectorResp)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.GetDetectorResp)
})
_sym_db
.
RegisterMessage
(
GetDetectorResp
)
WriteDetectorReq
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteDetectorReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITEDETECTORREQ
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.WriteDetectorReq)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.WriteDetectorReq)
})
_sym_db
.
RegisterMessage
(
WriteDetectorReq
)
WriteDetectorResp
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteDetectorResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITEDETECTORRESP
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.WriteDetectorResp)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.WriteDetectorResp)
})
_sym_db
.
RegisterMessage
(
WriteDetectorResp
)
UpdateDetectorReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateDetectorReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEDETECTORREQ
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.UpdateDetectorReq)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.UpdateDetectorReq)
})
_sym_db
.
RegisterMessage
(
UpdateDetectorReq
)
UpdateDetectorResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateDetectorResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEDETECTORRESP
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.UpdateDetectorResp)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
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)
})
_sym_db
.
RegisterMessage
(
DeleteDetectorReq
)
DeleteDetectorResp
=
_reflection
.
GeneratedProtocolMessageType
(
'DeleteDetectorResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_DELETEDETECTORRESP
,
'__module__'
:
'facility.detector.detector_pb2'
# @@protoc_insertion_point(class_scope:detector.DeleteDetectorResp)
})
_sym_db
.
RegisterMessage
(
DeleteDetectorResp
)
FindStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'FindStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDSTATUSREQ
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.FindStatusReq)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.FindStatusReq)
})
_sym_db
.
RegisterMessage
(
FindStatusReq
)
FindStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDSTATUSRESP
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.FindStatusResp)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.FindStatusResp)
})
_sym_db
.
RegisterMessage
(
FindStatusResp
)
GetStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'GetStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETSTATUSREQ
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.GetStatusReq)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.GetStatusReq)
})
_sym_db
.
RegisterMessage
(
GetStatusReq
)
GetStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'GetStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETSTATUSRESP
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.GetStatusResp)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.GetStatusResp)
})
_sym_db
.
RegisterMessage
(
GetStatusResp
)
WriteStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITESTATUSREQ
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.WriteStatusReq)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.WriteStatusReq)
})
_sym_db
.
RegisterMessage
(
WriteStatusReq
)
WriteStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITESTATUSRESP
,
'__module__'
:
'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:
facility
.WriteStatusResp)
'__module__'
:
'facility.detector
.detector
_pb2'
# @@protoc_insertion_point(class_scope:
detector
.WriteStatusResp)
})
_sym_db
.
RegisterMessage
(
WriteStatusResp
)
...
...
@@ -893,16 +979,16 @@ DESCRIPTOR._options = None
_DETECTORSRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'DetectorSrv'
,
full_name
=
'
facility
.DetectorSrv'
,
full_name
=
'
detector
.DetectorSrv'
,
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
14
3
0
,
serialized_end
=
1
91
0
,
serialized_start
=
1
5
40
,
serialized_end
=
20
91
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
full_name
=
'
facility
.DetectorSrv.Find'
,
full_name
=
'
detector
.DetectorSrv.Find'
,
index
=
0
,
containing_service
=
None
,
input_type
=
_FINDDETECTORREQ
,
...
...
@@ -911,7 +997,7 @@ _DETECTORSRV = _descriptor.ServiceDescriptor(
),
_descriptor
.
MethodDescriptor
(
name
=
'Get'
,
full_name
=
'
facility
.DetectorSrv.Get'
,
full_name
=
'
detector
.DetectorSrv.Get'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_GETDETECTORREQ
,
...
...
@@ -920,7 +1006,7 @@ _DETECTORSRV = _descriptor.ServiceDescriptor(
),
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'
facility
.DetectorSrv.Write'
,
full_name
=
'
detector
.DetectorSrv.Write'
,
index
=
2
,
containing_service
=
None
,
input_type
=
_WRITEDETECTORREQ
,
...
...
@@ -929,7 +1015,7 @@ _DETECTORSRV = _descriptor.ServiceDescriptor(
),
_descriptor
.
MethodDescriptor
(
name
=
'Update'
,
full_name
=
'
facility
.DetectorSrv.Update'
,
full_name
=
'
detector
.DetectorSrv.Update'
,
index
=
3
,
containing_service
=
None
,
input_type
=
_UPDATEDETECTORREQ
,
...
...
@@ -937,18 +1023,27 @@ _DETECTORSRV = _descriptor.ServiceDescriptor(
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'
FindStatus
'
,
full_name
=
'
facility
.DetectorSrv.
FindStatus
'
,
name
=
'
Delete
'
,
full_name
=
'
detector
.DetectorSrv.
Delete
'
,
index
=
4
,
containing_service
=
None
,
input_type
=
_DELETEDETECTORREQ
,
output_type
=
_DELETEDETECTORRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'FindStatus'
,
full_name
=
'detector.DetectorSrv.FindStatus'
,
index
=
5
,
containing_service
=
None
,
input_type
=
_FINDSTATUSREQ
,
output_type
=
_FINDSTATUSRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'GetStatus'
,
full_name
=
'
facility
.DetectorSrv.GetStatus'
,
index
=
5
,
full_name
=
'
detector
.DetectorSrv.GetStatus'
,
index
=
6
,
containing_service
=
None
,
input_type
=
_GETSTATUSREQ
,
output_type
=
_GETSTATUSRESP
,
...
...
@@ -956,8 +1051,8 @@ _DETECTORSRV = _descriptor.ServiceDescriptor(
),
_descriptor
.
MethodDescriptor
(
name
=
'WriteStatus'
,
full_name
=
'
facility
.DetectorSrv.WriteStatus'
,
index
=
6
,
full_name
=
'
detector
.DetectorSrv.WriteStatus'
,
index
=
7
,
containing_service
=
None
,
input_type
=
_WRITESTATUSREQ
,
output_type
=
_WRITESTATUSRESP
,
...
...
csst_dfs_proto/facility/detector_pb2_grpc.py
→
csst_dfs_proto/facility/detector
/detector
_pb2_grpc.py
View file @
f439da0e
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
.
import
detector_pb2
as
facility_dot_detector__pb2
from
.
import
detector_pb2
as
facility_dot_detector_
dot_detector_
_pb2
class
DetectorSrvStub
(
object
):
...
...
@@ -15,39 +15,44 @@ class DetectorSrvStub(object):
channel: A grpc.Channel.
"""
self
.
Find
=
channel
.
unary_unary
(
'/
facility
.DetectorSrv/Find'
,
request_serializer
=
facility_dot_detector__pb2
.
FindDetectorReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector__pb2
.
FindDetectorResp
.
FromString
,
'/
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
(
'/
facility
.DetectorSrv/Get'
,
request_serializer
=
facility_dot_detector__pb2
.
GetDetectorReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector__pb2
.
GetDetectorResp
.
FromString
,
'/
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
(
'/
facility
.DetectorSrv/Write'
,
request_serializer
=
facility_dot_detector__pb2
.
WriteDetectorReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector__pb2
.
WriteDetectorResp
.
FromString
,
'/
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
(
'/facility.DetectorSrv/Update'
,
request_serializer
=
facility_dot_detector__pb2
.
UpdateDetectorReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector__pb2
.
UpdateDetectorResp
.
FromString
,
'/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'
,
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
(
'/
facility
.DetectorSrv/FindStatus'
,
request_serializer
=
facility_dot_detector__pb2
.
FindStatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector__pb2
.
FindStatusResp
.
FromString
,
'/
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
(
'/
facility
.DetectorSrv/GetStatus'
,
request_serializer
=
facility_dot_detector__pb2
.
GetStatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector__pb2
.
GetStatusResp
.
FromString
,
'/
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
(
'/
facility
.DetectorSrv/WriteStatus'
,
request_serializer
=
facility_dot_detector__pb2
.
WriteStatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector__pb2
.
WriteStatusResp
.
FromString
,
'/
detector
.DetectorSrv/WriteStatus'
,
request_serializer
=
facility_dot_detector_
dot_detector_
_pb2
.
WriteStatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_detector_
dot_detector_
_pb2
.
WriteStatusResp
.
FromString
,
)
...
...
@@ -83,6 +88,13 @@ class DetectorSrvServicer(object):
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Delete
(
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
FindStatus
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
...
...
@@ -109,40 +121,45 @@ def add_DetectorSrvServicer_to_server(servicer, server):
rpc_method_handlers
=
{
'Find'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Find
,
request_deserializer
=
facility_dot_detector__pb2
.
FindDetectorReq
.
FromString
,
response_serializer
=
facility_dot_detector__pb2
.
FindDetectorResp
.
SerializeToString
,
request_deserializer
=
facility_dot_detector_
dot_detector_
_pb2
.
FindDetectorReq
.
FromString
,
response_serializer
=
facility_dot_detector_
dot_detector_
_pb2
.
FindDetectorResp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
facility_dot_detector__pb2
.
GetDetectorReq
.
FromString
,
response_serializer
=
facility_dot_detector__pb2
.
GetDetectorResp
.
SerializeToString
,
request_deserializer
=
facility_dot_detector_
dot_detector_
_pb2
.
GetDetectorReq
.
FromString
,
response_serializer
=
facility_dot_detector_
dot_detector_
_pb2
.
GetDetectorResp
.
SerializeToString
,
),
'Write'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Write
,
request_deserializer
=
facility_dot_detector__pb2
.
WriteDetectorReq
.
FromString
,
response_serializer
=
facility_dot_detector__pb2
.
WriteDetectorResp
.
SerializeToString
,
request_deserializer
=
facility_dot_detector_
dot_detector_
_pb2
.
WriteDetectorReq
.
FromString
,
response_serializer
=
facility_dot_detector_
dot_detector_
_pb2
.
WriteDetectorResp
.
SerializeToString
,
),
'Update'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Update
,
request_deserializer
=
facility_dot_detector__pb2
.
UpdateDetectorReq
.
FromString
,
response_serializer
=
facility_dot_detector__pb2
.
UpdateDetectorResp
.
SerializeToString
,
request_deserializer
=
facility_dot_detector_dot_detector__pb2
.
UpdateDetectorReq
.
FromString
,
response_serializer
=
facility_dot_detector_dot_detector__pb2
.
UpdateDetectorResp
.
SerializeToString
,
),
'Delete'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Delete
,
request_deserializer
=
facility_dot_detector_dot_detector__pb2
.
DeleteDetectorReq
.
FromString
,
response_serializer
=
facility_dot_detector_dot_detector__pb2
.
DeleteDetectorResp
.
SerializeToString
,
),
'FindStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
FindStatus
,
request_deserializer
=
facility_dot_detector__pb2
.
FindStatusReq
.
FromString
,
response_serializer
=
facility_dot_detector__pb2
.
FindStatusResp
.
SerializeToString
,
request_deserializer
=
facility_dot_detector_
dot_detector_
_pb2
.
FindStatusReq
.
FromString
,
response_serializer
=
facility_dot_detector_
dot_detector_
_pb2
.
FindStatusResp
.
SerializeToString
,
),
'GetStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
GetStatus
,
request_deserializer
=
facility_dot_detector__pb2
.
GetStatusReq
.
FromString
,
response_serializer
=
facility_dot_detector__pb2
.
GetStatusResp
.
SerializeToString
,
request_deserializer
=
facility_dot_detector_
dot_detector_
_pb2
.
GetStatusReq
.
FromString
,
response_serializer
=
facility_dot_detector_
dot_detector_
_pb2
.
GetStatusResp
.
SerializeToString
,
),
'WriteStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
WriteStatus
,
request_deserializer
=
facility_dot_detector__pb2
.
WriteStatusReq
.
FromString
,
response_serializer
=
facility_dot_detector__pb2
.
WriteStatusResp
.
SerializeToString
,
request_deserializer
=
facility_dot_detector_
dot_detector_
_pb2
.
WriteStatusReq
.
FromString
,
response_serializer
=
facility_dot_detector_
dot_detector_
_pb2
.
WriteStatusResp
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'
facility
.DetectorSrv'
,
rpc_method_handlers
)
'
detector
.DetectorSrv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
csst_dfs_proto/facility/level0/__init__.py
0 → 100644
View file @
f439da0e
csst_dfs_proto/facility/level0/level0_pb2.py
0 → 100644
View file @
f439da0e
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: facility/level0/level0.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/level0/level0.proto'
,
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
\xa9\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'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
_LEVEL0RECORD
=
_descriptor
.
Descriptor
(
name
=
'Level0Record'
,
full_name
=
'level0.Level0Record'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'level0.Level0Record.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
=
'obs_id'
,
full_name
=
'level0.Level0Record.obs_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
=
'detector_no'
,
full_name
=
'level0.Level0Record.detector_no'
,
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_type'
,
full_name
=
'level0.Level0Record.obs_type'
,
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_time'
,
full_name
=
'level0.Level0Record.obs_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
=
'exp_time'
,
full_name
=
'level0.Level0Record.exp_time'
,
index
=
5
,
number
=
6
,
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
=
'detector_status_id'
,
full_name
=
'level0.Level0Record.detector_status_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
=
'filename'
,
full_name
=
'level0.Level0Record.filename'
,
index
=
7
,
number
=
8
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'file_path'
,
full_name
=
'level0.Level0Record.file_path'
,
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
=
'qc0_status'
,
full_name
=
'level0.Level0Record.qc0_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
=
'qc0_time'
,
full_name
=
'level0.Level0Record.qc0_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
=
'prc_status'
,
full_name
=
'level0.Level0Record.prc_status'
,
index
=
11
,
number
=
12
,
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
=
'level0.Level0Record.prc_time'
,
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
=
'create_time'
,
full_name
=
'level0.Level0Record.create_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
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
61
,
serialized_end
=
340
,
)
_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY
=
_descriptor
.
Descriptor
(
name
=
'OtherConditionsEntry'
,
full_name
=
'level0.FindLevel0DataReq.OtherConditionsEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'level0.FindLevel0DataReq.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
=
'level0.FindLevel0DataReq.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
=
613
,
serialized_end
=
667
,
)
_FINDLEVEL0DATAREQ
=
_descriptor
.
Descriptor
(
name
=
'FindLevel0DataReq'
,
full_name
=
'level0.FindLevel0DataReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'obs_id'
,
full_name
=
'level0.FindLevel0DataReq.obs_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
=
'level0.FindLevel0DataReq.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
=
'obs_type'
,
full_name
=
'level0.FindLevel0DataReq.obs_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
=
'exp_time_start'
,
full_name
=
'level0.FindLevel0DataReq.exp_time_start'
,
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_end'
,
full_name
=
'level0.FindLevel0DataReq.exp_time_end'
,
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
=
'qc0_status'
,
full_name
=
'level0.FindLevel0DataReq.qc0_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
=
'prc_status'
,
full_name
=
'level0.FindLevel0DataReq.prc_status'
,
index
=
6
,
number
=
7
,
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
=
'level0.FindLevel0DataReq.file_name'
,
index
=
7
,
number
=
8
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'limit'
,
full_name
=
'level0.FindLevel0DataReq.limit'
,
index
=
8
,
number
=
9
,
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
=
'level0.FindLevel0DataReq.other_conditions'
,
index
=
9
,
number
=
10
,
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
=
[
_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY
,
],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
343
,
serialized_end
=
667
,
)
_FINDLEVEL0DATARESP
=
_descriptor
.
Descriptor
(
name
=
'FindLevel0DataResp'
,
full_name
=
'level0.FindLevel0DataResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'level0.FindLevel0DataResp.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
=
'level0.FindLevel0DataResp.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
=
'level0.FindLevel0DataResp.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
=
'level0.FindLevel0DataResp.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
=
669
,
serialized_end
=
795
,
)
_GETLEVEL0DATAREQ
=
_descriptor
.
Descriptor
(
name
=
'GetLevel0DataReq'
,
full_name
=
'level0.GetLevel0DataReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'level0.GetLevel0DataReq.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
=
797
,
serialized_end
=
827
,
)
_GETLEVEL0DATARESP
=
_descriptor
.
Descriptor
(
name
=
'GetLevel0DataResp'
,
full_name
=
'level0.GetLevel0DataResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'level0.GetLevel0DataResp.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
=
829
,
serialized_end
=
886
,
)
_UPDATEQC0STATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc0StatusReq'
,
full_name
=
'level0.UpdateQc0StatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'level0.UpdateQc0StatusReq.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
=
'level0.UpdateQc0StatusReq.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
=
888
,
serialized_end
=
936
,
)
_UPDATEQC0STATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc0StatusResp'
,
full_name
=
'level0.UpdateQc0StatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'level0.UpdateQc0StatusResp.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.UpdateQc0StatusResp.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
=
938
,
serialized_end
=
1006
,
)
_UPDATEPROCSTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusReq'
,
full_name
=
'level0.UpdateProcStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'level0.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
=
'level0.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
=
1008
,
serialized_end
=
1057
,
)
_UPDATEPROCSTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusResp'
,
full_name
=
'level0.UpdateProcStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'level0.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
=
'level0.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
=
1059
,
serialized_end
=
1128
,
)
_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDLEVEL0DATAREQ
_FINDLEVEL0DATAREQ
.
fields_by_name
[
'other_conditions'
].
message_type
=
_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY
_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
_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
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
[
'UpdateQc0StatusReq'
]
=
_UPDATEQC0STATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateQc0StatusResp'
]
=
_UPDATEQC0STATUSRESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusReq'
]
=
_UPDATEPROCSTATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusResp'
]
=
_UPDATEPROCSTATUSRESP
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
Level0Record
=
_reflection
.
GeneratedProtocolMessageType
(
'Level0Record'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_LEVEL0RECORD
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:level0.Level0Record)
})
_sym_db
.
RegisterMessage
(
Level0Record
)
FindLevel0DataReq
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel0DataReq'
,
(
_message
.
Message
,),
{
'OtherConditionsEntry'
:
_reflection
.
GeneratedProtocolMessageType
(
'OtherConditionsEntry'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:level0.FindLevel0DataReq.OtherConditionsEntry)
})
,
'DESCRIPTOR'
:
_FINDLEVEL0DATAREQ
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:level0.FindLevel0DataReq)
})
_sym_db
.
RegisterMessage
(
FindLevel0DataReq
)
_sym_db
.
RegisterMessage
(
FindLevel0DataReq
.
OtherConditionsEntry
)
FindLevel0DataResp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel0DataResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL0DATARESP
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:level0.FindLevel0DataResp)
})
_sym_db
.
RegisterMessage
(
FindLevel0DataResp
)
GetLevel0DataReq
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLevel0DataReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLEVEL0DATAREQ
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:level0.GetLevel0DataReq)
})
_sym_db
.
RegisterMessage
(
GetLevel0DataReq
)
GetLevel0DataResp
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLevel0DataResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLEVEL0DATARESP
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:level0.GetLevel0DataResp)
})
_sym_db
.
RegisterMessage
(
GetLevel0DataResp
)
UpdateQc0StatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc0StatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC0STATUSREQ
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:level0.UpdateQc0StatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateQc0StatusReq
)
UpdateQc0StatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc0StatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC0STATUSRESP
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:level0.UpdateQc0StatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateQc0StatusResp
)
UpdateProcStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSREQ
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:level0.UpdateProcStatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusReq
)
UpdateProcStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSRESP
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:level0.UpdateProcStatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusResp
)
DESCRIPTOR
.
_options
=
None
_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY
.
_options
=
None
_LEVEL0SRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'Level0Srv'
,
full_name
=
'level0.Level0Srv'
,
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1131
,
serialized_end
=
1428
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
full_name
=
'level0.Level0Srv.Find'
,
index
=
0
,
containing_service
=
None
,
input_type
=
_FINDLEVEL0DATAREQ
,
output_type
=
_FINDLEVEL0DATARESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Get'
,
full_name
=
'level0.Level0Srv.Get'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_GETLEVEL0DATAREQ
,
output_type
=
_GETLEVEL0DATARESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateQc0Status'
,
full_name
=
'level0.Level0Srv.UpdateQc0Status'
,
index
=
2
,
containing_service
=
None
,
input_type
=
_UPDATEQC0STATUSREQ
,
output_type
=
_UPDATEQC0STATUSRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'level0.Level0Srv.UpdateProcStatus'
,
index
=
3
,
containing_service
=
None
,
input_type
=
_UPDATEPROCSTATUSREQ
,
output_type
=
_UPDATEPROCSTATUSRESP
,
serialized_options
=
None
,
),
])
_sym_db
.
RegisterServiceDescriptor
(
_LEVEL0SRV
)
DESCRIPTOR
.
services_by_name
[
'Level0Srv'
]
=
_LEVEL0SRV
# @@protoc_insertion_point(module_scope)
csst_dfs_proto/facility/level0/level0_pb2_grpc.py
0 → 100644
View file @
f439da0e
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
.
import
level0_pb2
as
facility_dot_level0_dot_level0__pb2
class
Level0SrvStub
(
object
):
# missing associated documentation comment in .proto file
pass
def
__init__
(
self
,
channel
):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self
.
Find
=
channel
.
unary_unary
(
'/level0.Level0Srv/Find'
,
request_serializer
=
facility_dot_level0_dot_level0__pb2
.
FindLevel0DataReq
.
SerializeToString
,
response_deserializer
=
facility_dot_level0_dot_level0__pb2
.
FindLevel0DataResp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/level0.Level0Srv/Get'
,
request_serializer
=
facility_dot_level0_dot_level0__pb2
.
GetLevel0DataReq
.
SerializeToString
,
response_deserializer
=
facility_dot_level0_dot_level0__pb2
.
GetLevel0DataResp
.
FromString
,
)
self
.
UpdateQc0Status
=
channel
.
unary_unary
(
'/level0.Level0Srv/UpdateQc0Status'
,
request_serializer
=
facility_dot_level0_dot_level0__pb2
.
UpdateQc0StatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_level0_dot_level0__pb2
.
UpdateQc0StatusResp
.
FromString
,
)
self
.
UpdateProcStatus
=
channel
.
unary_unary
(
'/level0.Level0Srv/UpdateProcStatus'
,
request_serializer
=
facility_dot_level0_dot_level0__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_level0_dot_level0__pb2
.
UpdateProcStatusResp
.
FromString
,
)
class
Level0SrvServicer
(
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
UpdateQc0Status
(
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_Level0SrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
'Find'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Find
,
request_deserializer
=
facility_dot_level0_dot_level0__pb2
.
FindLevel0DataReq
.
FromString
,
response_serializer
=
facility_dot_level0_dot_level0__pb2
.
FindLevel0DataResp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
facility_dot_level0_dot_level0__pb2
.
GetLevel0DataReq
.
FromString
,
response_serializer
=
facility_dot_level0_dot_level0__pb2
.
GetLevel0DataResp
.
SerializeToString
,
),
'UpdateQc0Status'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateQc0Status
,
request_deserializer
=
facility_dot_level0_dot_level0__pb2
.
UpdateQc0StatusReq
.
FromString
,
response_serializer
=
facility_dot_level0_dot_level0__pb2
.
UpdateQc0StatusResp
.
SerializeToString
,
),
'UpdateProcStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateProcStatus
,
request_deserializer
=
facility_dot_level0_dot_level0__pb2
.
UpdateProcStatusReq
.
FromString
,
response_serializer
=
facility_dot_level0_dot_level0__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'level0.Level0Srv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
csst_dfs_proto/facility/level0prc/__init__.py
0 → 100644
View file @
f439da0e
csst_dfs_proto/facility/level0prc/level0prc_pb2.py
0 → 100644
View file @
f439da0e
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: facility/level0prc/level0prc.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/level0prc/level0prc.proto'
,
package
=
'level0prc'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z
\'
cnlab.net/csst/proto/facility/level0prc'
),
serialized_pb
=
_b
(
'
\n\"
facility/level0prc/level0prc.proto
\x12\t
level0prc
\x1a\x12\x63
ommon/error.proto
\"\xa5\x01\n\x0f
Level0PrcRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\x03\x12\x13\n\x0b
pipeline_id
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x04
\x01
(
\t\x12\x11\n\t
params_id
\x18\x05
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\r\x12\x10\n\x08
prc_time
\x18\x07
\x01
(
\t\x12\x11\n\t
file_path
\x18\x08
\x01
(
\t\"\xe6\x01\n\x10\x46
indLevel0PrcReq
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\x03\x12\x13\n\x0b
pipeline_id
\x18\x02
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x04
\x01
(
\r\x12
J
\n\x10
other_conditions
\x18\x05
\x03
(
\x0b\x32\x30
.level0prc.FindLevel0PrcReq.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\x11\x46
indLevel0PrcResp
\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\x1a
.level0prc.Level0PrcRecord
\"
?
\n\x11
WriteLevel0PrcReq
\x12
*
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1a
.level0prc.Level0PrcRecord
\"
o
\n\x12
WriteLevel0PrcResp
\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\x1a
.level0prc.Level0PrcRecord
\"
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
\xf2\x01\n\x0c
Level0PrcSrv
\x12\x43\n\x04\x46
ind
\x12\x1b
.level0prc.FindLevel0PrcReq
\x1a\x1c
.level0prc.FindLevel0PrcResp
\"\x00\x12\x46\n\x05
Write
\x12\x1c
.level0prc.WriteLevel0PrcReq
\x1a\x1d
.level0prc.WriteLevel0PrcResp
\"\x00\x12
U
\n\x10
UpdateProcStatus
\x12\x1e
.level0prc.UpdateProcStatusReq
\x1a\x1f
.level0prc.UpdateProcStatusResp
\"\x00\x42
)Z
\'
cnlab.net/csst/proto/facility/level0prcb
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
_LEVEL0PRCRECORD
=
_descriptor
.
Descriptor
(
name
=
'Level0PrcRecord'
,
full_name
=
'level0prc.Level0PrcRecord'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'level0prc.Level0PrcRecord.id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'level0prc.Level0PrcRecord.level0_id'
,
index
=
1
,
number
=
2
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'pipeline_id'
,
full_name
=
'level0prc.Level0PrcRecord.pipeline_id'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_module'
,
full_name
=
'level0prc.Level0PrcRecord.prc_module'
,
index
=
3
,
number
=
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'params_id'
,
full_name
=
'level0prc.Level0PrcRecord.params_id'
,
index
=
4
,
number
=
5
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_status'
,
full_name
=
'level0prc.Level0PrcRecord.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
=
'prc_time'
,
full_name
=
'level0prc.Level0PrcRecord.prc_time'
,
index
=
6
,
number
=
7
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'file_path'
,
full_name
=
'level0prc.Level0PrcRecord.file_path'
,
index
=
7
,
number
=
8
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
70
,
serialized_end
=
235
,
)
_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY
=
_descriptor
.
Descriptor
(
name
=
'OtherConditionsEntry'
,
full_name
=
'level0prc.FindLevel0PrcReq.OtherConditionsEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'level0prc.FindLevel0PrcReq.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
=
'level0prc.FindLevel0PrcReq.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
=
414
,
serialized_end
=
468
,
)
_FINDLEVEL0PRCREQ
=
_descriptor
.
Descriptor
(
name
=
'FindLevel0PrcReq'
,
full_name
=
'level0prc.FindLevel0PrcReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'level0prc.FindLevel0PrcReq.level0_id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'pipeline_id'
,
full_name
=
'level0prc.FindLevel0PrcReq.pipeline_id'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_module'
,
full_name
=
'level0prc.FindLevel0PrcReq.prc_module'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_status'
,
full_name
=
'level0prc.FindLevel0PrcReq.prc_status'
,
index
=
3
,
number
=
4
,
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
=
'level0prc.FindLevel0PrcReq.other_conditions'
,
index
=
4
,
number
=
5
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[
_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY
,
],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
238
,
serialized_end
=
468
,
)
_FINDLEVEL0PRCRESP
=
_descriptor
.
Descriptor
(
name
=
'FindLevel0PrcResp'
,
full_name
=
'level0prc.FindLevel0PrcResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'level0prc.FindLevel0PrcResp.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
=
'level0prc.FindLevel0PrcResp.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
=
'level0prc.FindLevel0PrcResp.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
=
'level0prc.FindLevel0PrcResp.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
=
471
,
serialized_end
=
602
,
)
_WRITELEVEL0PRCREQ
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel0PrcReq'
,
full_name
=
'level0prc.WriteLevel0PrcReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'level0prc.WriteLevel0PrcReq.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
=
604
,
serialized_end
=
667
,
)
_WRITELEVEL0PRCRESP
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel0PrcResp'
,
full_name
=
'level0prc.WriteLevel0PrcResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'level0prc.WriteLevel0PrcResp.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
=
'level0prc.WriteLevel0PrcResp.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
=
'level0prc.WriteLevel0PrcResp.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
=
669
,
serialized_end
=
780
,
)
_UPDATEPROCSTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusReq'
,
full_name
=
'level0prc.UpdateProcStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'level0prc.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
=
'level0prc.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
=
782
,
serialized_end
=
831
,
)
_UPDATEPROCSTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusResp'
,
full_name
=
'level0prc.UpdateProcStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'level0prc.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
=
'level0prc.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
=
833
,
serialized_end
=
902
,
)
_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDLEVEL0PRCREQ
_FINDLEVEL0PRCREQ
.
fields_by_name
[
'other_conditions'
].
message_type
=
_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY
_FINDLEVEL0PRCRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDLEVEL0PRCRESP
.
fields_by_name
[
'records'
].
message_type
=
_LEVEL0PRCRECORD
_WRITELEVEL0PRCREQ
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL0PRCRECORD
_WRITELEVEL0PRCRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITELEVEL0PRCRESP
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL0PRCRECORD
_UPDATEPROCSTATUSRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
DESCRIPTOR
.
message_types_by_name
[
'Level0PrcRecord'
]
=
_LEVEL0PRCRECORD
DESCRIPTOR
.
message_types_by_name
[
'FindLevel0PrcReq'
]
=
_FINDLEVEL0PRCREQ
DESCRIPTOR
.
message_types_by_name
[
'FindLevel0PrcResp'
]
=
_FINDLEVEL0PRCRESP
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel0PrcReq'
]
=
_WRITELEVEL0PRCREQ
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel0PrcResp'
]
=
_WRITELEVEL0PRCRESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusReq'
]
=
_UPDATEPROCSTATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusResp'
]
=
_UPDATEPROCSTATUSRESP
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
Level0PrcRecord
=
_reflection
.
GeneratedProtocolMessageType
(
'Level0PrcRecord'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_LEVEL0PRCRECORD
,
'__module__'
:
'facility.level0prc.level0prc_pb2'
# @@protoc_insertion_point(class_scope:level0prc.Level0PrcRecord)
})
_sym_db
.
RegisterMessage
(
Level0PrcRecord
)
FindLevel0PrcReq
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel0PrcReq'
,
(
_message
.
Message
,),
{
'OtherConditionsEntry'
:
_reflection
.
GeneratedProtocolMessageType
(
'OtherConditionsEntry'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY
,
'__module__'
:
'facility.level0prc.level0prc_pb2'
# @@protoc_insertion_point(class_scope:level0prc.FindLevel0PrcReq.OtherConditionsEntry)
})
,
'DESCRIPTOR'
:
_FINDLEVEL0PRCREQ
,
'__module__'
:
'facility.level0prc.level0prc_pb2'
# @@protoc_insertion_point(class_scope:level0prc.FindLevel0PrcReq)
})
_sym_db
.
RegisterMessage
(
FindLevel0PrcReq
)
_sym_db
.
RegisterMessage
(
FindLevel0PrcReq
.
OtherConditionsEntry
)
FindLevel0PrcResp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel0PrcResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL0PRCRESP
,
'__module__'
:
'facility.level0prc.level0prc_pb2'
# @@protoc_insertion_point(class_scope:level0prc.FindLevel0PrcResp)
})
_sym_db
.
RegisterMessage
(
FindLevel0PrcResp
)
WriteLevel0PrcReq
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel0PrcReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL0PRCREQ
,
'__module__'
:
'facility.level0prc.level0prc_pb2'
# @@protoc_insertion_point(class_scope:level0prc.WriteLevel0PrcReq)
})
_sym_db
.
RegisterMessage
(
WriteLevel0PrcReq
)
WriteLevel0PrcResp
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel0PrcResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL0PRCRESP
,
'__module__'
:
'facility.level0prc.level0prc_pb2'
# @@protoc_insertion_point(class_scope:level0prc.WriteLevel0PrcResp)
})
_sym_db
.
RegisterMessage
(
WriteLevel0PrcResp
)
UpdateProcStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSREQ
,
'__module__'
:
'facility.level0prc.level0prc_pb2'
# @@protoc_insertion_point(class_scope:level0prc.UpdateProcStatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusReq
)
UpdateProcStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSRESP
,
'__module__'
:
'facility.level0prc.level0prc_pb2'
# @@protoc_insertion_point(class_scope:level0prc.UpdateProcStatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusResp
)
DESCRIPTOR
.
_options
=
None
_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY
.
_options
=
None
_LEVEL0PRCSRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'Level0PrcSrv'
,
full_name
=
'level0prc.Level0PrcSrv'
,
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
905
,
serialized_end
=
1147
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
full_name
=
'level0prc.Level0PrcSrv.Find'
,
index
=
0
,
containing_service
=
None
,
input_type
=
_FINDLEVEL0PRCREQ
,
output_type
=
_FINDLEVEL0PRCRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'level0prc.Level0PrcSrv.Write'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_WRITELEVEL0PRCREQ
,
output_type
=
_WRITELEVEL0PRCRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'level0prc.Level0PrcSrv.UpdateProcStatus'
,
index
=
2
,
containing_service
=
None
,
input_type
=
_UPDATEPROCSTATUSREQ
,
output_type
=
_UPDATEPROCSTATUSRESP
,
serialized_options
=
None
,
),
])
_sym_db
.
RegisterServiceDescriptor
(
_LEVEL0PRCSRV
)
DESCRIPTOR
.
services_by_name
[
'Level0PrcSrv'
]
=
_LEVEL0PRCSRV
# @@protoc_insertion_point(module_scope)
csst_dfs_proto/facility/level0prc/level0prc_pb2_grpc.py
0 → 100644
View file @
f439da0e
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
.
import
level0prc_pb2
as
facility_dot_level0prc_dot_level0prc__pb2
class
Level0PrcSrvStub
(
object
):
# missing associated documentation comment in .proto file
pass
def
__init__
(
self
,
channel
):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self
.
Find
=
channel
.
unary_unary
(
'/level0prc.Level0PrcSrv/Find'
,
request_serializer
=
facility_dot_level0prc_dot_level0prc__pb2
.
FindLevel0PrcReq
.
SerializeToString
,
response_deserializer
=
facility_dot_level0prc_dot_level0prc__pb2
.
FindLevel0PrcResp
.
FromString
,
)
self
.
Write
=
channel
.
unary_unary
(
'/level0prc.Level0PrcSrv/Write'
,
request_serializer
=
facility_dot_level0prc_dot_level0prc__pb2
.
WriteLevel0PrcReq
.
SerializeToString
,
response_deserializer
=
facility_dot_level0prc_dot_level0prc__pb2
.
WriteLevel0PrcResp
.
FromString
,
)
self
.
UpdateProcStatus
=
channel
.
unary_unary
(
'/level0prc.Level0PrcSrv/UpdateProcStatus'
,
request_serializer
=
facility_dot_level0prc_dot_level0prc__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_level0prc_dot_level0prc__pb2
.
UpdateProcStatusResp
.
FromString
,
)
class
Level0PrcSrvServicer
(
object
):
# missing associated documentation comment in .proto file
pass
def
Find
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Write
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
UpdateProcStatus
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
add_Level0PrcSrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
'Find'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Find
,
request_deserializer
=
facility_dot_level0prc_dot_level0prc__pb2
.
FindLevel0PrcReq
.
FromString
,
response_serializer
=
facility_dot_level0prc_dot_level0prc__pb2
.
FindLevel0PrcResp
.
SerializeToString
,
),
'Write'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Write
,
request_deserializer
=
facility_dot_level0prc_dot_level0prc__pb2
.
WriteLevel0PrcReq
.
FromString
,
response_serializer
=
facility_dot_level0prc_dot_level0prc__pb2
.
WriteLevel0PrcResp
.
SerializeToString
,
),
'UpdateProcStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateProcStatus
,
request_deserializer
=
facility_dot_level0prc_dot_level0prc__pb2
.
UpdateProcStatusReq
.
FromString
,
response_serializer
=
facility_dot_level0prc_dot_level0prc__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'level0prc.Level0PrcSrv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
csst_dfs_proto/facility/observation/__init__.py
0 → 100644
View file @
f439da0e
csst_dfs_proto/facility/
exposure
_pb2.py
→
csst_dfs_proto/facility/
observation/observation
_pb2.py
View file @
f439da0e
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: facility/
exposure
.proto
# source: facility/
observation/observation
.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
...
...
@@ -13,108 +13,115 @@ from google.protobuf import symbol_database as _symbol_database
_sym_db
=
_symbol_database
.
Default
()
from
..common
import
error_pb2
as
common_dot_error__pb2
from
..
.
common
import
error_pb2
as
common_dot_error__pb2
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'facility/
exposure
.proto'
,
package
=
'
facility
'
,
name
=
'facility/
observation/observation
.proto'
,
package
=
'
observation
'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z
\035
cnlab.net/csst/proto/facility'
),
serialized_pb
=
_b
(
'
\n
\x17\x66\x61\x63
ility/exposure.proto
\x12\x08\x66\x61\x63
ility
\x1a\x12\x63
ommon/error.proto
\"\x
8
0\x02\n\x0
8\x45
xposure
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x1
6
\n\x0
e\x65
xp_begin
_time
\x18\x02
\x01
(
\
x03
\x12\x1
4
\n\x0
c
\x65
xp_
end_
time
\x18\x03
\x01
(
\x0
3
\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
(
\
x03
\x12\x12\n\n
prc_status
\x18\n
\x01
(
\r\x12\x10\n\x08
prc_time
\x18\x0b
\x01
(
\
x03
\x12\x13\n\x0b\x63
reate_time
\x18\x0c
\x01
(
\
x03
\"\xa
1
\x02\n\x
0f
\x46
ind
Exposure
Req
\x12\x11\n\t
module_id
\x18\x01
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x02
\x01
(
\t\x12\x11\n\t
file_name
\x18\x03
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x0
4
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x0
5
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\x0
6
\x01
(
\r\x12\x12\n\n
prc_status
\x18\x07
\x01
(
\r\x12
H
\n\x10
other_conditions
\x18\x08
\x03
(
\x0b\x32
..facility.FindExposure
Req.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\x1
0
\x46
ind
Exposure
Resp
\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\x0
8\x45
xposure
\x18\x04
\x03
(
\x0b\x32\x1
2
.facility.Exposure
\"
\n\x
0e
Get
Exposure
Req
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\x03\"
7
\n\x
0f
Get
Exposure
Resp
\x12
$
\n\x0
8\x45
xposure
\x18\x01
\x01
(
\x0b\x32\x1
2
.facility.Exposure
\"\xa
7
\x01\n\x1
0
Write
Exposure
Req
\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\x03
\x01
(
\x03\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\"
h
\n\x1
1
Write
Exposure
Resp
\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\x65
xposure
\x18\x03
\x01
(
\x0b\x32\x1
2
.facility.Exposure
\"
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
\x
f9
\x0
2
\n\x0
b\x45
xposure
Srv
\x12
?
\n\x04\x46
ind
\x12\x1
9
.facility.FindExposureReq
\x1a\x1a
.facility.FindExposure
Resp
\"\x00\x12
<
\n\x03
Get
\x12\x1
8
.facility.GetExposureReq
\x1a\x19
.facility.GetExposure
Resp
\"\x00\x12
\x44
\n\x05
Write
\x12
\x1a
.facility.WriteExposureReq
\x1a\x1b
.facility.WriteExposure
Resp
\"\x00
(
\x01\x12
P
\n\x0f
UpdateQc0Status
\x12\x1
c
.facility
.UpdateQc0StatusReq
\x1a
\x1d
.facility
.UpdateQc0StatusResp
\"\x00\x12
S
\n\x10
UpdateProcStatus
\x12
\x1d
.facility
.UpdateProcStatusReq
\x1a
\x1e
.facility
.UpdateProcStatusResp
\"\x00\x42
\x1f
Z
\x1d\x63
nlab.net/csst/proto/facilityb
\x06
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
\"\x
9
0\x02\n\x0
b
Observation
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x1
0
\n\x0
8
obs
_time
\x18\x02
\x01
(
\
t
\x12\x1
0
\n\x0
8
\x65
xp_time
\x18\x03
\x01
(
\x0
2
\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
\"\xa
6
\x02\n\x
12
\x46
ind
Observation
Req
\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\x0
3
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x0
4
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\x0
5
\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.FindObservation
Req.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\x1
3
\x46
ind
Observation
Resp
\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\x0
7
records
\x18\x04
\x03
(
\x0b\x32\x1
8
.observation.Observation
\"
#
\n\x
11
Get
Observation
Req
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\x03\"
C
\n\x
12
Get
Observation
Resp
\x12
-
\n\x0
b
observation
\x18\x01
\x01
(
\x0b\x32\x1
8
.observation.Observation
\"\xa
a
\x01\n\x1
3
Write
Observation
Req
\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\x03
\x01
(
\x03\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\"
t
\n\x1
4
Write
Observation
Resp
\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\x1
8
.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
\x
ac
\x0
3
\n\x0
e
Observation
Srv
\x12
K
\n\x04\x46
ind
\x12\x1
f
.observation.FindObservationReq
\x1a
.observation.FindObservation
Resp
\"\x00\x12
H
\n\x03
Get
\x12\x1
e
.observation.GetObservationReq
\x1a\x1f
.observation.GetObservation
Resp
\"\x00\x12
P
\n\x05
Write
\x12
.observation.WriteObservationReq
\x1a
!.observation.WriteObservation
Resp
\"\x00
(
\x01\x12
V
\n\x0f
UpdateQc0Status
\x12\x1
f
.observation
.UpdateQc0StatusReq
\x1a
.observation
.UpdateQc0StatusResp
\"\x00\x12
Y
\n\x10
UpdateProcStatus
\x12
.observation
.UpdateProcStatusReq
\x1a
!.observation
.UpdateProcStatusResp
\"\x00\x42
+Z)c
nlab.net/csst/proto/facility
/observation
b
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
_
EXPOSURE
=
_descriptor
.
Descriptor
(
name
=
'
Exposure
'
,
full_name
=
'
facility.Exposure
'
,
_
OBSERVATION
=
_descriptor
.
Descriptor
(
name
=
'
Observation
'
,
full_name
=
'
observation.Observation
'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'
facility.Exposure
.id'
,
index
=
0
,
name
=
'id'
,
full_name
=
'
observation.Observation
.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
=
'
facility.Exposure.exp_begin
_time'
,
index
=
1
,
number
=
2
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'
obs
_time'
,
full_name
=
'
observation.Observation.obs
_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
=
'exp_
end_
time'
,
full_name
=
'
facility.Exposure.exp_end
_time'
,
index
=
2
,
number
=
3
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'exp_time'
,
full_name
=
'
observation.Observation.exp
_time'
,
index
=
2
,
number
=
3
,
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
=
'module_id'
,
full_name
=
'
facility.Exposure
.module_id'
,
index
=
3
,
name
=
'module_id'
,
full_name
=
'
observation.Observation
.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
=
'
facility.Exposure
.obs_type'
,
index
=
4
,
name
=
'obs_type'
,
full_name
=
'
observation.Observation
.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
=
'
facility.Exposure
.facility_status_id'
,
index
=
5
,
name
=
'facility_status_id'
,
full_name
=
'
observation.Observation
.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
=
'
facility.Exposure
.module_status_id'
,
index
=
6
,
name
=
'module_status_id'
,
full_name
=
'
observation.Observation
.module_status_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
=
'qc0_status'
,
full_name
=
'
facility.Exposure
.qc0_status'
,
index
=
7
,
name
=
'qc0_status'
,
full_name
=
'
observation.Observation
.qc0_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
=
'qc0_time'
,
full_name
=
'
facility.Exposure
.qc0_time'
,
index
=
8
,
number
=
9
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'qc0_time'
,
full_name
=
'
observation.Observation
.qc0_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
=
'
facility.Exposure
.prc_status'
,
index
=
9
,
name
=
'prc_status'
,
full_name
=
'
observation.Observation
.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
=
'
facility.Exposure
.prc_time'
,
index
=
10
,
number
=
11
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'prc_time'
,
full_name
=
'
observation.Observation
.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
=
'facility.Exposure.create_time'
,
index
=
11
,
number
=
12
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
name
=
'create_time'
,
full_name
=
'observation.Observation.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
=
'import_status'
,
full_name
=
'observation.Observation.import_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
,
...
...
@@ -131,27 +138,27 @@ _EXPOSURE = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
58
,
serialized_end
=
3
1
4
,
serialized_start
=
76
,
serialized_end
=
34
8
,
)
_FIND
EXPOSURE
REQ_OTHERCONDITIONSENTRY
=
_descriptor
.
Descriptor
(
_FIND
OBSERVATION
REQ_OTHERCONDITIONSENTRY
=
_descriptor
.
Descriptor
(
name
=
'OtherConditionsEntry'
,
full_name
=
'
facility.FindExposure
Req.OtherConditionsEntry'
,
full_name
=
'
observation.FindObservation
Req.OtherConditionsEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'
facility.FindExposure
Req.OtherConditionsEntry.key'
,
index
=
0
,
name
=
'key'
,
full_name
=
'
observation.FindObservation
Req.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
=
'
facility.FindExposure
Req.OtherConditionsEntry.value'
,
index
=
1
,
name
=
'value'
,
full_name
=
'
observation.FindObservation
Req.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
,
...
...
@@ -169,68 +176,68 @@ _FINDEXPOSUREREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
5
52
,
serialized_end
=
6
06
,
serialized_start
=
5
91
,
serialized_end
=
6
45
,
)
_FIND
EXPOSURE
REQ
=
_descriptor
.
Descriptor
(
name
=
'Find
Exposure
Req'
,
full_name
=
'
facility.FindExposure
Req'
,
_FIND
OBSERVATION
REQ
=
_descriptor
.
Descriptor
(
name
=
'Find
Observation
Req'
,
full_name
=
'
observation.FindObservation
Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'module_id'
,
full_name
=
'
facility.FindExposure
Req.module_id'
,
index
=
0
,
name
=
'module_id'
,
full_name
=
'
observation.FindObservation
Req.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
=
'obs_type'
,
full_name
=
'
facility.FindExposure
Req.obs_type'
,
index
=
1
,
name
=
'obs_type'
,
full_name
=
'
observation.FindObservation
Req.obs_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
=
'
file_name'
,
full_name
=
'facility.FindExposureReq.file_name
'
,
index
=
2
,
name
=
'
exp_time_start'
,
full_name
=
'observation.FindObservationReq.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_
start
'
,
full_name
=
'
facility.FindExposure
Req.exp_time_
start
'
,
index
=
3
,
name
=
'exp_time_
end
'
,
full_name
=
'
observation.FindObservation
Req.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
=
'
exp_time_end
'
,
full_name
=
'
facility.FindExposureReq.exp_time_end
'
,
index
=
4
,
number
=
5
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
)
,
name
=
'
qc0_status
'
,
full_name
=
'
observation.FindObservationReq.qc0_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
=
'
qc0
_status'
,
full_name
=
'
facility.FindExposure
Req.
qc0
_status'
,
index
=
5
,
name
=
'
prc
_status'
,
full_name
=
'
observation.FindObservation
Req.
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
=
'
prc_status
'
,
full_name
=
'
facility.FindExposureReq.prc_status
'
,
index
=
6
,
name
=
'
limit
'
,
full_name
=
'
observation.FindObservationReq.limit
'
,
index
=
6
,
number
=
7
,
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
=
'
facility.FindExposure
Req.other_conditions'
,
index
=
7
,
name
=
'other_conditions'
,
full_name
=
'
observation.FindObservation
Req.other_conditions'
,
index
=
7
,
number
=
8
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
...
...
@@ -239,7 +246,7 @@ _FINDEXPOSUREREQ = _descriptor.Descriptor(
],
extensions
=
[
],
nested_types
=
[
_FIND
EXPOSURE
REQ_OTHERCONDITIONSENTRY
,
],
nested_types
=
[
_FIND
OBSERVATION
REQ_OTHERCONDITIONSENTRY
,
],
enum_types
=
[
],
serialized_options
=
None
,
...
...
@@ -248,41 +255,41 @@ _FINDEXPOSUREREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
31
7
,
serialized_end
=
6
06
,
serialized_start
=
3
5
1
,
serialized_end
=
6
45
,
)
_FIND
EXPOSURE
RESP
=
_descriptor
.
Descriptor
(
name
=
'Find
Exposure
Resp'
,
full_name
=
'
facility.FindExposure
Resp'
,
_FIND
OBSERVATION
RESP
=
_descriptor
.
Descriptor
(
name
=
'Find
Observation
Resp'
,
full_name
=
'
observation.FindObservation
Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'
facility.FindExposure
Resp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
observation.FindObservation
Resp.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
=
'
facility.FindExposure
Resp.totalCount'
,
index
=
1
,
name
=
'totalCount'
,
full_name
=
'
observation.FindObservation
Resp.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
=
'
facility.FindExposure
Resp.error'
,
index
=
2
,
name
=
'error'
,
full_name
=
'
observation.FindObservation
Resp.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
=
'
Exposure
'
,
full_name
=
'
facility.FindExposureResp.Exposure
'
,
index
=
3
,
name
=
'
records
'
,
full_name
=
'
observation.FindObservationResp.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
,
...
...
@@ -300,20 +307,20 @@ _FINDEXPOSURERESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
6
0
8
,
serialized_end
=
7
31
,
serialized_start
=
6
4
8
,
serialized_end
=
7
79
,
)
_GET
EXPOSURE
REQ
=
_descriptor
.
Descriptor
(
name
=
'Get
Exposure
Req'
,
full_name
=
'
facility.GetExposure
Req'
,
_GET
OBSERVATION
REQ
=
_descriptor
.
Descriptor
(
name
=
'Get
Observation
Req'
,
full_name
=
'
observation.GetObservation
Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'obs_id'
,
full_name
=
'
facility.GetExposure
Req.obs_id'
,
index
=
0
,
name
=
'obs_id'
,
full_name
=
'
observation.GetObservation
Req.obs_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
,
...
...
@@ -331,20 +338,20 @@ _GETEXPOSUREREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
7
33
,
serialized_end
=
765
,
serialized_start
=
7
81
,
serialized_end
=
816
,
)
_GET
EXPOSURE
RESP
=
_descriptor
.
Descriptor
(
name
=
'Get
Exposure
Resp'
,
full_name
=
'
facility.GetExposure
Resp'
,
_GET
OBSERVATION
RESP
=
_descriptor
.
Descriptor
(
name
=
'Get
Observation
Resp'
,
full_name
=
'
observation.GetObservation
Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'
Exposure
'
,
full_name
=
'
facility.GetExposureResp.Exposure
'
,
index
=
0
,
name
=
'
observation
'
,
full_name
=
'
observation.GetObservationResp.observation
'
,
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
,
...
...
@@ -362,62 +369,62 @@ _GETEXPOSURERESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
767
,
serialized_end
=
8
22
,
serialized_start
=
818
,
serialized_end
=
8
85
,
)
_WRITE
EXPOSURE
REQ
=
_descriptor
.
Descriptor
(
name
=
'Write
Exposure
Req'
,
full_name
=
'
facility.WriteExposure
Req'
,
_WRITE
OBSERVATION
REQ
=
_descriptor
.
Descriptor
(
name
=
'Write
Observation
Req'
,
full_name
=
'
observation.WriteObservation
Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'
facility.WriteExposure
Req.id'
,
index
=
0
,
name
=
'id'
,
full_name
=
'
observation.WriteObservation
Req.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
=
'
facility.WriteExposure
Req.exp_begin_time'
,
index
=
1
,
name
=
'exp_begin_time'
,
full_name
=
'
observation.WriteObservation
Req.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
=
'
facility.WriteExposure
Req.exp_end_time'
,
index
=
2
,
name
=
'exp_end_time'
,
full_name
=
'
observation.WriteObservation
Req.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
=
'
facility.WriteExposure
Req.module_id'
,
index
=
3
,
name
=
'module_id'
,
full_name
=
'
observation.WriteObservation
Req.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
=
'
facility.WriteExposure
Req.obs_type'
,
index
=
4
,
name
=
'obs_type'
,
full_name
=
'
observation.WriteObservation
Req.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
=
'
facility.WriteExposure
Req.facility_status_id'
,
index
=
5
,
name
=
'facility_status_id'
,
full_name
=
'
observation.WriteObservation
Req.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
=
'
facility.WriteExposure
Req.module_status_id'
,
index
=
6
,
name
=
'module_status_id'
,
full_name
=
'
observation.WriteObservation
Req.module_status_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
,
...
...
@@ -435,34 +442,34 @@ _WRITEEXPOSUREREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
8
25
,
serialized_end
=
992
,
serialized_start
=
8
88
,
serialized_end
=
1058
,
)
_WRITE
EXPOSURE
RESP
=
_descriptor
.
Descriptor
(
name
=
'Write
Exposure
Resp'
,
full_name
=
'
facility.WriteExposure
Resp'
,
_WRITE
OBSERVATION
RESP
=
_descriptor
.
Descriptor
(
name
=
'Write
Observation
Resp'
,
full_name
=
'
observation.WriteObservation
Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'
facility.WriteExposure
Resp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
observation.WriteObservation
Resp.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
=
'
facility.WriteExposure
Resp.error'
,
index
=
1
,
name
=
'error'
,
full_name
=
'
observation.WriteObservation
Resp.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
=
'
exposure
'
,
full_name
=
'
facility.WriteExposureResp.exposure
'
,
index
=
2
,
name
=
'
observation
'
,
full_name
=
'
observation.WriteObservationResp.observation
'
,
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
,
...
...
@@ -480,27 +487,27 @@ _WRITEEXPOSURERESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
994
,
serialized_end
=
1
098
,
serialized_start
=
1060
,
serialized_end
=
1
176
,
)
_UPDATEQC0STATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc0StatusReq'
,
full_name
=
'
facility
.UpdateQc0StatusReq'
,
full_name
=
'
observation
.UpdateQc0StatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'obs_id'
,
full_name
=
'
facility
.UpdateQc0StatusReq.obs_id'
,
index
=
0
,
name
=
'obs_id'
,
full_name
=
'
observation
.UpdateQc0StatusReq.obs_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
=
'
facility
.UpdateQc0StatusReq.status'
,
index
=
1
,
name
=
'status'
,
full_name
=
'
observation
.UpdateQc0StatusReq.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
,
...
...
@@ -518,27 +525,27 @@ _UPDATEQC0STATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
11
00
,
serialized_end
=
1
152
,
serialized_start
=
11
78
,
serialized_end
=
1
230
,
)
_UPDATEQC0STATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc0StatusResp'
,
full_name
=
'
facility
.UpdateQc0StatusResp'
,
full_name
=
'
observation
.UpdateQc0StatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'
facility
.UpdateQc0StatusResp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
observation
.UpdateQc0StatusResp.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
=
'
facility
.UpdateQc0StatusResp.error'
,
index
=
1
,
name
=
'error'
,
full_name
=
'
observation
.UpdateQc0StatusResp.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,27 +563,27 @@ _UPDATEQC0STATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
154
,
serialized_end
=
1
222
,
serialized_start
=
1
232
,
serialized_end
=
1
300
,
)
_UPDATEPROCSTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusReq'
,
full_name
=
'
facility
.UpdateProcStatusReq'
,
full_name
=
'
observation
.UpdateProcStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'obs_id'
,
full_name
=
'
facility
.UpdateProcStatusReq.obs_id'
,
index
=
0
,
name
=
'obs_id'
,
full_name
=
'
observation
.UpdateProcStatusReq.obs_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
=
'
facility
.UpdateProcStatusReq.status'
,
index
=
1
,
name
=
'status'
,
full_name
=
'
observation
.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
,
...
...
@@ -594,27 +601,27 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
224
,
serialized_end
=
1
277
,
serialized_start
=
1
302
,
serialized_end
=
1
355
,
)
_UPDATEPROCSTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusResp'
,
full_name
=
'
facility
.UpdateProcStatusResp'
,
full_name
=
'
observation
.UpdateProcStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'
facility
.UpdateProcStatusResp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'
observation
.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
=
'
facility
.UpdateProcStatusResp.error'
,
index
=
1
,
name
=
'error'
,
full_name
=
'
observation
.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
,
...
...
@@ -632,160 +639,160 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
279
,
serialized_end
=
1
348
,
serialized_start
=
1
357
,
serialized_end
=
1
426
,
)
_FIND
EXPOSURE
REQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FIND
EXPOSURE
REQ
_FIND
EXPOSURE
REQ
.
fields_by_name
[
'other_conditions'
].
message_type
=
_FIND
EXPOSURE
REQ_OTHERCONDITIONSENTRY
_FIND
EXPOSURE
RESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FIND
EXPOSURE
RESP
.
fields_by_name
[
'
Exposure
'
].
message_type
=
_
EXPOSURE
_GET
EXPOSURE
RESP
.
fields_by_name
[
'
Exposure
'
].
message_type
=
_
EXPOSURE
_WRITE
EXPOSURE
RESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITE
EXPOSURE
RESP
.
fields_by_name
[
'
exposure
'
].
message_type
=
_
EXPOSURE
_FIND
OBSERVATION
REQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FIND
OBSERVATION
REQ
_FIND
OBSERVATION
REQ
.
fields_by_name
[
'other_conditions'
].
message_type
=
_FIND
OBSERVATION
REQ_OTHERCONDITIONSENTRY
_FIND
OBSERVATION
RESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FIND
OBSERVATION
RESP
.
fields_by_name
[
'
records
'
].
message_type
=
_
OBSERVATION
_GET
OBSERVATION
RESP
.
fields_by_name
[
'
observation
'
].
message_type
=
_
OBSERVATION
_WRITE
OBSERVATION
RESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITE
OBSERVATION
RESP
.
fields_by_name
[
'
observation
'
].
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
[
'
Exposure'
]
=
_EXPOSURE
DESCRIPTOR
.
message_types_by_name
[
'Find
Exposure
Req'
]
=
_FIND
EXPOSURE
REQ
DESCRIPTOR
.
message_types_by_name
[
'Find
Exposure
Resp'
]
=
_FIND
EXPOSURE
RESP
DESCRIPTOR
.
message_types_by_name
[
'Get
Exposure
Req'
]
=
_GET
EXPOSURE
REQ
DESCRIPTOR
.
message_types_by_name
[
'Get
Exposure
Resp'
]
=
_GET
EXPOSURE
RESP
DESCRIPTOR
.
message_types_by_name
[
'Write
Exposure
Req'
]
=
_WRITE
EXPOSURE
REQ
DESCRIPTOR
.
message_types_by_name
[
'Write
Exposure
Resp'
]
=
_WRITE
EXPOSURE
RESP
DESCRIPTOR
.
message_types_by_name
[
'
Observation'
]
=
_OBSERVATION
DESCRIPTOR
.
message_types_by_name
[
'Find
Observation
Req'
]
=
_FIND
OBSERVATION
REQ
DESCRIPTOR
.
message_types_by_name
[
'Find
Observation
Resp'
]
=
_FIND
OBSERVATION
RESP
DESCRIPTOR
.
message_types_by_name
[
'Get
Observation
Req'
]
=
_GET
OBSERVATION
REQ
DESCRIPTOR
.
message_types_by_name
[
'Get
Observation
Resp'
]
=
_GET
OBSERVATION
RESP
DESCRIPTOR
.
message_types_by_name
[
'Write
Observation
Req'
]
=
_WRITE
OBSERVATION
REQ
DESCRIPTOR
.
message_types_by_name
[
'Write
Observation
Resp'
]
=
_WRITE
OBSERVATION
RESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateQc0StatusReq'
]
=
_UPDATEQC0STATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateQc0StatusResp'
]
=
_UPDATEQC0STATUSRESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusReq'
]
=
_UPDATEPROCSTATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusResp'
]
=
_UPDATEPROCSTATUSRESP
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
Exposure
=
_reflection
.
GeneratedProtocolMessageType
(
'
Exposure
'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_
EXPOSURE
,
'__module__'
:
'facility.
exposure
_pb2'
# @@protoc_insertion_point(class_scope:
facility.Exposure
)
Observation
=
_reflection
.
GeneratedProtocolMessageType
(
'
Observation
'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_
OBSERVATION
,
'__module__'
:
'facility.
observation.observation
_pb2'
# @@protoc_insertion_point(class_scope:
observation.Observation
)
})
_sym_db
.
RegisterMessage
(
Exposure
)
_sym_db
.
RegisterMessage
(
Observation
)
Find
Exposure
Req
=
_reflection
.
GeneratedProtocolMessageType
(
'Find
Exposure
Req'
,
(
_message
.
Message
,),
{
Find
Observation
Req
=
_reflection
.
GeneratedProtocolMessageType
(
'Find
Observation
Req'
,
(
_message
.
Message
,),
{
'OtherConditionsEntry'
:
_reflection
.
GeneratedProtocolMessageType
(
'OtherConditionsEntry'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FIND
EXPOSURE
REQ_OTHERCONDITIONSENTRY
,
'__module__'
:
'facility.
exposure
_pb2'
# @@protoc_insertion_point(class_scope:
facility.FindExposure
Req.OtherConditionsEntry)
'DESCRIPTOR'
:
_FIND
OBSERVATION
REQ_OTHERCONDITIONSENTRY
,
'__module__'
:
'facility.
observation.observation
_pb2'
# @@protoc_insertion_point(class_scope:
observation.FindObservation
Req.OtherConditionsEntry)
})
,
'DESCRIPTOR'
:
_FIND
EXPOSURE
REQ
,
'__module__'
:
'facility.
exposure
_pb2'
# @@protoc_insertion_point(class_scope:
facility.FindExposure
Req)
'DESCRIPTOR'
:
_FIND
OBSERVATION
REQ
,
'__module__'
:
'facility.
observation.observation
_pb2'
# @@protoc_insertion_point(class_scope:
observation.FindObservation
Req)
})
_sym_db
.
RegisterMessage
(
Find
Exposure
Req
)
_sym_db
.
RegisterMessage
(
Find
Exposure
Req
.
OtherConditionsEntry
)
_sym_db
.
RegisterMessage
(
Find
Observation
Req
)
_sym_db
.
RegisterMessage
(
Find
Observation
Req
.
OtherConditionsEntry
)
Find
Exposure
Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'Find
Exposure
Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FIND
EXPOSURE
RESP
,
'__module__'
:
'facility.
exposure
_pb2'
# @@protoc_insertion_point(class_scope:
facility.FindExposure
Resp)
Find
Observation
Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'Find
Observation
Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FIND
OBSERVATION
RESP
,
'__module__'
:
'facility.
observation.observation
_pb2'
# @@protoc_insertion_point(class_scope:
observation.FindObservation
Resp)
})
_sym_db
.
RegisterMessage
(
Find
Exposure
Resp
)
_sym_db
.
RegisterMessage
(
Find
Observation
Resp
)
Get
Exposure
Req
=
_reflection
.
GeneratedProtocolMessageType
(
'Get
Exposure
Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GET
EXPOSURE
REQ
,
'__module__'
:
'facility.
exposure
_pb2'
# @@protoc_insertion_point(class_scope:
facility.GetExposure
Req)
Get
Observation
Req
=
_reflection
.
GeneratedProtocolMessageType
(
'Get
Observation
Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GET
OBSERVATION
REQ
,
'__module__'
:
'facility.
observation.observation
_pb2'
# @@protoc_insertion_point(class_scope:
observation.GetObservation
Req)
})
_sym_db
.
RegisterMessage
(
Get
Exposure
Req
)
_sym_db
.
RegisterMessage
(
Get
Observation
Req
)
Get
Exposure
Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'Get
Exposure
Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GET
EXPOSURE
RESP
,
'__module__'
:
'facility.
exposure
_pb2'
# @@protoc_insertion_point(class_scope:
facility.GetExposure
Resp)
Get
Observation
Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'Get
Observation
Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GET
OBSERVATION
RESP
,
'__module__'
:
'facility.
observation.observation
_pb2'
# @@protoc_insertion_point(class_scope:
observation.GetObservation
Resp)
})
_sym_db
.
RegisterMessage
(
Get
Exposure
Resp
)
_sym_db
.
RegisterMessage
(
Get
Observation
Resp
)
Write
Exposure
Req
=
_reflection
.
GeneratedProtocolMessageType
(
'Write
Exposure
Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITE
EXPOSURE
REQ
,
'__module__'
:
'facility.
exposure
_pb2'
# @@protoc_insertion_point(class_scope:
facility.WriteExposure
Req)
Write
Observation
Req
=
_reflection
.
GeneratedProtocolMessageType
(
'Write
Observation
Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITE
OBSERVATION
REQ
,
'__module__'
:
'facility.
observation.observation
_pb2'
# @@protoc_insertion_point(class_scope:
observation.WriteObservation
Req)
})
_sym_db
.
RegisterMessage
(
Write
Exposure
Req
)
_sym_db
.
RegisterMessage
(
Write
Observation
Req
)
Write
Exposure
Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'Write
Exposure
Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITE
EXPOSURE
RESP
,
'__module__'
:
'facility.
exposure
_pb2'
# @@protoc_insertion_point(class_scope:
facility.WriteExposure
Resp)
Write
Observation
Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'Write
Observation
Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITE
OBSERVATION
RESP
,
'__module__'
:
'facility.
observation.observation
_pb2'
# @@protoc_insertion_point(class_scope:
observation.WriteObservation
Resp)
})
_sym_db
.
RegisterMessage
(
Write
Exposure
Resp
)
_sym_db
.
RegisterMessage
(
Write
Observation
Resp
)
UpdateQc0StatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc0StatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC0STATUSREQ
,
'__module__'
:
'facility.
exposure
_pb2'
# @@protoc_insertion_point(class_scope:
facility
.UpdateQc0StatusReq)
'__module__'
:
'facility.
observation.observation
_pb2'
# @@protoc_insertion_point(class_scope:
observation
.UpdateQc0StatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateQc0StatusReq
)
UpdateQc0StatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc0StatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC0STATUSRESP
,
'__module__'
:
'facility.
exposure
_pb2'
# @@protoc_insertion_point(class_scope:
facility
.UpdateQc0StatusResp)
'__module__'
:
'facility.
observation.observation
_pb2'
# @@protoc_insertion_point(class_scope:
observation
.UpdateQc0StatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateQc0StatusResp
)
UpdateProcStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSREQ
,
'__module__'
:
'facility.
exposure
_pb2'
# @@protoc_insertion_point(class_scope:
facility
.UpdateProcStatusReq)
'__module__'
:
'facility.
observation.observation
_pb2'
# @@protoc_insertion_point(class_scope:
observation
.UpdateProcStatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusReq
)
UpdateProcStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSRESP
,
'__module__'
:
'facility.
exposure
_pb2'
# @@protoc_insertion_point(class_scope:
facility
.UpdateProcStatusResp)
'__module__'
:
'facility.
observation.observation
_pb2'
# @@protoc_insertion_point(class_scope:
observation
.UpdateProcStatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusResp
)
DESCRIPTOR
.
_options
=
None
_FIND
EXPOSURE
REQ_OTHERCONDITIONSENTRY
.
_options
=
None
_FIND
OBSERVATION
REQ_OTHERCONDITIONSENTRY
.
_options
=
None
_
EXPOSURE
SRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'
Exposure
Srv'
,
full_name
=
'
facility.Exposure
Srv'
,
_
OBSERVATION
SRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'
Observation
Srv'
,
full_name
=
'
observation.Observation
Srv'
,
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1
351
,
serialized_end
=
1
728
,
serialized_start
=
1
429
,
serialized_end
=
1
857
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
full_name
=
'
facility.Exposure
Srv.Find'
,
full_name
=
'
observation.Observation
Srv.Find'
,
index
=
0
,
containing_service
=
None
,
input_type
=
_FIND
EXPOSURE
REQ
,
output_type
=
_FIND
EXPOSURE
RESP
,
input_type
=
_FIND
OBSERVATION
REQ
,
output_type
=
_FIND
OBSERVATION
RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Get'
,
full_name
=
'
facility.Exposure
Srv.Get'
,
full_name
=
'
observation.Observation
Srv.Get'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_GET
EXPOSURE
REQ
,
output_type
=
_GET
EXPOSURE
RESP
,
input_type
=
_GET
OBSERVATION
REQ
,
output_type
=
_GET
OBSERVATION
RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'
facility.Exposure
Srv.Write'
,
full_name
=
'
observation.Observation
Srv.Write'
,
index
=
2
,
containing_service
=
None
,
input_type
=
_WRITE
EXPOSURE
REQ
,
output_type
=
_WRITE
EXPOSURE
RESP
,
input_type
=
_WRITE
OBSERVATION
REQ
,
output_type
=
_WRITE
OBSERVATION
RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateQc0Status'
,
full_name
=
'
facility.Exposure
Srv.UpdateQc0Status'
,
full_name
=
'
observation.Observation
Srv.UpdateQc0Status'
,
index
=
3
,
containing_service
=
None
,
input_type
=
_UPDATEQC0STATUSREQ
,
...
...
@@ -794,7 +801,7 @@ _EXPOSURESRV = _descriptor.ServiceDescriptor(
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'
facility.Exposure
Srv.UpdateProcStatus'
,
full_name
=
'
observation.Observation
Srv.UpdateProcStatus'
,
index
=
4
,
containing_service
=
None
,
input_type
=
_UPDATEPROCSTATUSREQ
,
...
...
@@ -802,8 +809,8 @@ _EXPOSURESRV = _descriptor.ServiceDescriptor(
serialized_options
=
None
,
),
])
_sym_db
.
RegisterServiceDescriptor
(
_
EXPOSURE
SRV
)
_sym_db
.
RegisterServiceDescriptor
(
_
OBSERVATION
SRV
)
DESCRIPTOR
.
services_by_name
[
'
ExposureSrv'
]
=
_EXPOSURE
SRV
DESCRIPTOR
.
services_by_name
[
'
ObservationSrv'
]
=
_OBSERVATION
SRV
# @@protoc_insertion_point(module_scope)
csst_dfs_proto/facility/
exposure
_pb2_grpc.py
→
csst_dfs_proto/facility/
observation/observation
_pb2_grpc.py
View file @
f439da0e
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
.
import
exposure
_pb2
as
facility_dot_
exposure
__pb2
from
.
import
observation
_pb2
as
facility_dot_
observation_dot_observation
__pb2
class
Exposure
SrvStub
(
object
):
class
Observation
SrvStub
(
object
):
# missing associated documentation comment in .proto file
pass
...
...
@@ -15,33 +15,33 @@ class ExposureSrvStub(object):
channel: A grpc.Channel.
"""
self
.
Find
=
channel
.
unary_unary
(
'/
facility.Exposure
Srv/Find'
,
request_serializer
=
facility_dot_
exposure__pb2
.
FindExposure
Req
.
SerializeToString
,
response_deserializer
=
facility_dot_
exposure__pb2
.
FindExposure
Resp
.
FromString
,
'/
observation.Observation
Srv/Find'
,
request_serializer
=
facility_dot_
observation_dot_observation__pb2
.
FindObservation
Req
.
SerializeToString
,
response_deserializer
=
facility_dot_
observation_dot_observation__pb2
.
FindObservation
Resp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/
facility.Exposure
Srv/Get'
,
request_serializer
=
facility_dot_
exposure__pb2
.
GetExposure
Req
.
SerializeToString
,
response_deserializer
=
facility_dot_
exposure__pb2
.
GetExposure
Resp
.
FromString
,
'/
observation.Observation
Srv/Get'
,
request_serializer
=
facility_dot_
observation_dot_observation__pb2
.
GetObservation
Req
.
SerializeToString
,
response_deserializer
=
facility_dot_
observation_dot_observation__pb2
.
GetObservation
Resp
.
FromString
,
)
self
.
Write
=
channel
.
stream_unary
(
'/
facility.Exposure
Srv/Write'
,
request_serializer
=
facility_dot_
exposure__pb2
.
WriteExposure
Req
.
SerializeToString
,
response_deserializer
=
facility_dot_
exposure__pb2
.
WriteExposure
Resp
.
FromString
,
'/
observation.Observation
Srv/Write'
,
request_serializer
=
facility_dot_
observation_dot_observation__pb2
.
WriteObservation
Req
.
SerializeToString
,
response_deserializer
=
facility_dot_
observation_dot_observation__pb2
.
WriteObservation
Resp
.
FromString
,
)
self
.
UpdateQc0Status
=
channel
.
unary_unary
(
'/
facility.Exposure
Srv/UpdateQc0Status'
,
request_serializer
=
facility_dot_
exposure
__pb2
.
UpdateQc0StatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_
exposure
__pb2
.
UpdateQc0StatusResp
.
FromString
,
'/
observation.Observation
Srv/UpdateQc0Status'
,
request_serializer
=
facility_dot_
observation_dot_observation
__pb2
.
UpdateQc0StatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_
observation_dot_observation
__pb2
.
UpdateQc0StatusResp
.
FromString
,
)
self
.
UpdateProcStatus
=
channel
.
unary_unary
(
'/
facility.Exposure
Srv/UpdateProcStatus'
,
request_serializer
=
facility_dot_
exposure
__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_
exposure
__pb2
.
UpdateProcStatusResp
.
FromString
,
'/
observation.Observation
Srv/UpdateProcStatus'
,
request_serializer
=
facility_dot_
observation_dot_observation
__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
response_deserializer
=
facility_dot_
observation_dot_observation
__pb2
.
UpdateProcStatusResp
.
FromString
,
)
class
Exposure
SrvServicer
(
object
):
class
Observation
SrvServicer
(
object
):
# missing associated documentation comment in .proto file
pass
...
...
@@ -81,34 +81,34 @@ class ExposureSrvServicer(object):
raise
NotImplementedError
(
'Method not implemented!'
)
def
add_
Exposure
SrvServicer_to_server
(
servicer
,
server
):
def
add_
Observation
SrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
'Find'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Find
,
request_deserializer
=
facility_dot_
exposure__pb2
.
FindExposure
Req
.
FromString
,
response_serializer
=
facility_dot_
exposure__pb2
.
FindExposure
Resp
.
SerializeToString
,
request_deserializer
=
facility_dot_
observation_dot_observation__pb2
.
FindObservation
Req
.
FromString
,
response_serializer
=
facility_dot_
observation_dot_observation__pb2
.
FindObservation
Resp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
facility_dot_
exposure__pb2
.
GetExposure
Req
.
FromString
,
response_serializer
=
facility_dot_
exposure__pb2
.
GetExposure
Resp
.
SerializeToString
,
request_deserializer
=
facility_dot_
observation_dot_observation__pb2
.
GetObservation
Req
.
FromString
,
response_serializer
=
facility_dot_
observation_dot_observation__pb2
.
GetObservation
Resp
.
SerializeToString
,
),
'Write'
:
grpc
.
stream_unary_rpc_method_handler
(
servicer
.
Write
,
request_deserializer
=
facility_dot_
exposure__pb2
.
WriteExposure
Req
.
FromString
,
response_serializer
=
facility_dot_
exposure__pb2
.
WriteExposure
Resp
.
SerializeToString
,
request_deserializer
=
facility_dot_
observation_dot_observation__pb2
.
WriteObservation
Req
.
FromString
,
response_serializer
=
facility_dot_
observation_dot_observation__pb2
.
WriteObservation
Resp
.
SerializeToString
,
),
'UpdateQc0Status'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateQc0Status
,
request_deserializer
=
facility_dot_
exposure
__pb2
.
UpdateQc0StatusReq
.
FromString
,
response_serializer
=
facility_dot_
exposure
__pb2
.
UpdateQc0StatusResp
.
SerializeToString
,
request_deserializer
=
facility_dot_
observation_dot_observation
__pb2
.
UpdateQc0StatusReq
.
FromString
,
response_serializer
=
facility_dot_
observation_dot_observation
__pb2
.
UpdateQc0StatusResp
.
SerializeToString
,
),
'UpdateProcStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateProcStatus
,
request_deserializer
=
facility_dot_
exposure
__pb2
.
UpdateProcStatusReq
.
FromString
,
response_serializer
=
facility_dot_
exposure
__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
request_deserializer
=
facility_dot_
observation_dot_observation
__pb2
.
UpdateProcStatusReq
.
FromString
,
response_serializer
=
facility_dot_
observation_dot_observation
__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'
facility.Exposure
Srv'
,
rpc_method_handlers
)
'
observation.Observation
Srv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
csst_dfs_proto/hstdm/__init__.py
0 → 100644
View file @
f439da0e
csst_dfs_proto/mci/__init__.py
0 → 100644
View file @
f439da0e
csst_dfs_proto/msc/__init__.py
0 → 100644
View file @
f439da0e
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