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
3c5ee28a
Commit
3c5ee28a
authored
Dec 25, 2022
by
Wei Shoulin
Browse files
hstdm
parent
9d8fdc02
Changes
12
Show whitespace changes
Inline
Side-by-side
csst_dfs_proto/facility/level0/level0_pb2.py
View file @
3c5ee28a
...
...
@@ -19,7 +19,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package
=
'dfs.facility.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\x13\x64\x66
s.facility.level0
\x1a\x12\x63
ommon/error.proto
\"\x
b
a\x02\n\x0c
Level0Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x0e\n\x06
obs_id
\x18\x03
\x01
(
\t\x12\x13\n\x0b\x64\x65
tector_no
\x18\x04
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x05
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x06
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x07
\x01
(
\x02\x12\x1a\n\x12\x64\x65
tector_status_id
\x18\
x08
\x01
(
\x03\x12\x10\n\x08\x66
ilename
\x18\
t
\x01
(
\t\x12\x11\n\t
file_path
\x18\
n
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\x0
b
\x01
(
\x05\x12\x10\n\x08
qc0_time
\x18\
x0c
\x01
(
\t\x12\x12\n\n
prc_status
\x18\
r
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x0
e
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0
f
\x01
(
\t\x12\x0e\n\x06
header
\x18\x1
0
\x01
(
\t\"\xa8\x03\n\x11\x46
indLevel0DataReq
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\t\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
(
\x05\x12\x12\n\n
prc_status
\x18\x07
\x01
(
\x05\x12\x11\n\t
file_name
\x18\x08
\x01
(
\t\x12\x0e\n\x06
ra_obj
\x18\t
\x01
(
\x02\x12\x0f\n\x07\x64\x65\x63
_obj
\x18\n
\x01
(
\x02\x12\x0e\n\x06
radius
\x18\x0b
\x01
(
\x02\x12\x13\n\x0b
object_name
\x18\x0c
\x01
(
\t\x12\x0f\n\x07
version
\x18\r
\x01
(
\t\x12\r\n\x05
limit
\x18\x0e
\x01
(
\x05\x12
U
\n\x10
other_conditions
\x18\x0f
\x03
(
\x0b\x32
;.dfs.facility.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\"\x8b\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\x32\n\x07
records
\x18\x04
\x03
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
C
\n\x10
GetLevel0DataReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x03
\x01
(
\t\"
F
\n\x11
GetLevel0DataResp
\x12\x31\n\x06
record
\x18\x01
\x01
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
G
\n\x12
WriteLevel0DataReq
\x12\x31\n\x06
record
\x18\x01
\x01
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
w
\n\x13
WriteLevel0DataResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x31\n\x06
record
\x18\x03
\x01
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
U
\n\x12
UpdateQc0StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x03
\x01
(
\t\x12\x0e\n\x06
status
\x18\x04
\x01
(
\x05\"
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
\"
V
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x03
\x01
(
\t\x12\x0e\n\x06
status
\x18\x04
\x01
(
\x05\"
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
ef
\x0
3
\n\t
Level0Srv
\x12
Y
\n\x04\x46
ind
\x12
&.dfs.facility.level0.FindLevel0DataReq
\x1a\'
.dfs.facility.level0.FindLevel0DataResp
\"\x00\x12
V
\n\x03
Get
\x12
%.dfs.facility.level0.GetLevel0DataReq
\x1a
&.dfs.facility.level0.GetLevel0DataResp
\"\x00\x12\\\n\x05
Write
\x12\'
.dfs.facility.level0.WriteLevel0DataReq
\x1a
(.dfs.facility.level0.WriteLevel0DataResp
\"\x00\x12\x66\n\x0f
UpdateQc0Status
\x12\'
.dfs.facility.level0.UpdateQc0StatusReq
\x1a
(.dfs.facility.level0.UpdateQc0StatusResp
\"\x00\x12
i
\n\x10
UpdateProcStatus
\x12
(.dfs.facility.level0.UpdateProcStatusReq
\x1a
).dfs.facility.level0.UpdateProcStatusResp
\"\x00\x42
&Z$cnlab.net/csst/proto/facility/level0b
\x06
proto3'
serialized_pb
=
b
'
\n\x1c\x66\x61\x63
ility/level0/level0.proto
\x12\x13\x64\x66
s.facility.level0
\x1a\x12\x63
ommon/error.proto
\"\x
c
a\x02\n\x0c
Level0Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x0e\n\x06
obs_id
\x18\x03
\x01
(
\t\x12\x13\n\x0b\x64\x65
tector_no
\x18\x04
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x05
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x06
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x07
\x01
(
\x02\x12\
x0e\n\x06\x66
ilter
\x18\x08
\x01
(
\t\x12\
x1a\n\x12\x64\x65
tector_status_id
\x18\
t
\x01
(
\x03\x12\x10\n\x08\x66
ilename
\x18\
n
\x01
(
\t\x12\x11\n\t
file_path
\x18\
x0b
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\x0
c
\x01
(
\x05\x12\x10\n\x08
qc0_time
\x18\
r
\x01
(
\t\x12\x12\n\n
prc_status
\x18\
x0e
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x0
f
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x
1
0
\x01
(
\t\x12\x0e\n\x06
header
\x18\x1
1
\x01
(
\t\"\xa8\x03\n\x11\x46
indLevel0DataReq
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\t\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
(
\x05\x12\x12\n\n
prc_status
\x18\x07
\x01
(
\x05\x12\x11\n\t
file_name
\x18\x08
\x01
(
\t\x12\x0e\n\x06
ra_obj
\x18\t
\x01
(
\x02\x12\x0f\n\x07\x64\x65\x63
_obj
\x18\n
\x01
(
\x02\x12\x0e\n\x06
radius
\x18\x0b
\x01
(
\x02\x12\x13\n\x0b
object_name
\x18\x0c
\x01
(
\t\x12\x0f\n\x07
version
\x18\r
\x01
(
\t\x12\r\n\x05
limit
\x18\x0e
\x01
(
\x05\x12
U
\n\x10
other_conditions
\x18\x0f
\x03
(
\x0b\x32
;.dfs.facility.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\"\x8b\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\x32\n\x07
records
\x18\x04
\x03
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
&
\n\x11\x46
indByBrickIdsReq
\x12\x11\n\t
brick_ids
\x18\x01
\x03
(
\x05\"
w
\n\x12\x46
indByBrickIdsResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x32\n\x07
records
\x18\x03
\x03
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
C
\n\x10
GetLevel0DataReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x03
\x01
(
\t\"
F
\n\x11
GetLevel0DataResp
\x12\x31\n\x06
record
\x18\x01
\x01
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
G
\n\x12
WriteLevel0DataReq
\x12\x31\n\x06
record
\x18\x01
\x01
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
w
\n\x13
WriteLevel0DataResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x31\n\x06
record
\x18\x03
\x01
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
U
\n\x12
UpdateQc0StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x03
\x01
(
\t\x12\x0e\n\x06
status
\x18\x04
\x01
(
\x05\"
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
\"
V
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x03
\x01
(
\t\x12\x0e\n\x06
status
\x18\x04
\x01
(
\x05\"
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
d4
\x0
4
\n\t
Level0Srv
\x12
Y
\n\x04\x46
ind
\x12
&.dfs.facility.level0.FindLevel0DataReq
\x1a\'
.dfs.facility.level0.FindLevel0DataResp
\"\x00\
x12\x63\n\x0e\x46
indByBrickIds
\x12
&.dfs.facility.level0.FindByBrickIdsReq
\x1a\'
.dfs.facility.level0.FindByBrickIdsResp
\"\x00\
x12
V
\n\x03
Get
\x12
%.dfs.facility.level0.GetLevel0DataReq
\x1a
&.dfs.facility.level0.GetLevel0DataResp
\"\x00\x12\\\n\x05
Write
\x12\'
.dfs.facility.level0.WriteLevel0DataReq
\x1a
(.dfs.facility.level0.WriteLevel0DataResp
\"\x00\x12\x66\n\x0f
UpdateQc0Status
\x12\'
.dfs.facility.level0.UpdateQc0StatusReq
\x1a
(.dfs.facility.level0.UpdateQc0StatusResp
\"\x00\x12
i
\n\x10
UpdateProcStatus
\x12
(.dfs.facility.level0.UpdateProcStatusReq
\x1a
).dfs.facility.level0.UpdateProcStatusResp
\"\x00\x42
&Z$cnlab.net/csst/proto/facility/level0b
\x06
proto3'
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -83,64 +83,71 @@ _LEVEL0RECORD = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'detector_status_id'
,
full_name
=
'dfs.facility.level0.Level0Record.detector_status_id'
,
index
=
7
,
number
=
8
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
name
=
'filter'
,
full_name
=
'dfs.facility.level0.Level0Record.filter'
,
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
=
'detector_status_id'
,
full_name
=
'dfs.facility.level0.Level0Record.detector_status_id'
,
index
=
8
,
number
=
9
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'filename'
,
full_name
=
'dfs.facility.level0.Level0Record.filename'
,
index
=
8
,
number
=
9
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'filename'
,
full_name
=
'dfs.facility.level0.Level0Record.filename'
,
index
=
9
,
number
=
10
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'file_path'
,
full_name
=
'dfs.facility.level0.Level0Record.file_path'
,
index
=
9
,
number
=
1
0
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'file_path'
,
full_name
=
'dfs.facility.level0.Level0Record.file_path'
,
index
=
10
,
number
=
1
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
=
'qc0_status'
,
full_name
=
'dfs.facility.level0.Level0Record.qc0_status'
,
index
=
1
0
,
number
=
1
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
name
=
'qc0_status'
,
full_name
=
'dfs.facility.level0.Level0Record.qc0_status'
,
index
=
1
1
,
number
=
1
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
=
'qc0_time'
,
full_name
=
'dfs.facility.level0.Level0Record.qc0_time'
,
index
=
1
1
,
number
=
1
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'qc0_time'
,
full_name
=
'dfs.facility.level0.Level0Record.qc0_time'
,
index
=
1
2
,
number
=
1
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_status'
,
full_name
=
'dfs.facility.level0.Level0Record.prc_status'
,
index
=
1
2
,
number
=
1
3
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
name
=
'prc_status'
,
full_name
=
'dfs.facility.level0.Level0Record.prc_status'
,
index
=
1
3
,
number
=
1
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_time'
,
full_name
=
'dfs.facility.level0.Level0Record.prc_time'
,
index
=
1
3
,
number
=
1
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'prc_time'
,
full_name
=
'dfs.facility.level0.Level0Record.prc_time'
,
index
=
1
4
,
number
=
1
5
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time'
,
full_name
=
'dfs.facility.level0.Level0Record.create_time'
,
index
=
1
4
,
number
=
1
5
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'create_time'
,
full_name
=
'dfs.facility.level0.Level0Record.create_time'
,
index
=
1
5
,
number
=
1
6
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'header'
,
full_name
=
'dfs.facility.level0.Level0Record.header'
,
index
=
1
5
,
number
=
1
6
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'header'
,
full_name
=
'dfs.facility.level0.Level0Record.header'
,
index
=
1
6
,
number
=
1
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
,
...
...
@@ -158,7 +165,7 @@ _LEVEL0RECORD = _descriptor.Descriptor(
oneofs
=
[
],
serialized_start
=
74
,
serialized_end
=
388
,
serialized_end
=
404
,
)
...
...
@@ -195,8 +202,8 @@ _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
7
61
,
serialized_end
=
81
5
,
serialized_start
=
7
77
,
serialized_end
=
8
3
1
,
)
_FINDLEVEL0DATAREQ
=
_descriptor
.
Descriptor
(
...
...
@@ -323,8 +330,8 @@ _FINDLEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
391
,
serialized_end
=
81
5
,
serialized_start
=
407
,
serialized_end
=
8
3
1
,
)
...
...
@@ -375,8 +382,84 @@ _FINDLEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
818
,
serialized_end
=
957
,
serialized_start
=
834
,
serialized_end
=
973
,
)
_FINDBYBRICKIDSREQ
=
_descriptor
.
Descriptor
(
name
=
'FindByBrickIdsReq'
,
full_name
=
'dfs.facility.level0.FindByBrickIdsReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'brick_ids'
,
full_name
=
'dfs.facility.level0.FindByBrickIdsReq.brick_ids'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
975
,
serialized_end
=
1013
,
)
_FINDBYBRICKIDSRESP
=
_descriptor
.
Descriptor
(
name
=
'FindByBrickIdsResp'
,
full_name
=
'dfs.facility.level0.FindByBrickIdsResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.facility.level0.FindByBrickIdsResp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.facility.level0.FindByBrickIdsResp.error'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'records'
,
full_name
=
'dfs.facility.level0.FindByBrickIdsResp.records'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1015
,
serialized_end
=
1134
,
)
...
...
@@ -420,8 +503,8 @@ _GETLEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
959
,
serialized_end
=
1
026
,
serialized_start
=
1136
,
serialized_end
=
1
203
,
)
...
...
@@ -451,8 +534,8 @@ _GETLEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
028
,
serialized_end
=
1
098
,
serialized_start
=
1
205
,
serialized_end
=
1
275
,
)
...
...
@@ -482,8 +565,8 @@ _WRITELEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
100
,
serialized_end
=
1
171
,
serialized_start
=
1
277
,
serialized_end
=
1
348
,
)
...
...
@@ -527,8 +610,8 @@ _WRITELEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
173
,
serialized_end
=
1
292
,
serialized_start
=
1
350
,
serialized_end
=
1
469
,
)
...
...
@@ -579,8 +662,8 @@ _UPDATEQC0STATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
294
,
serialized_end
=
1
379
,
serialized_start
=
1
471
,
serialized_end
=
1
556
,
)
...
...
@@ -617,8 +700,8 @@ _UPDATEQC0STATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
381
,
serialized_end
=
1
449
,
serialized_start
=
1
558
,
serialized_end
=
1
626
,
)
...
...
@@ -669,8 +752,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
451
,
serialized_end
=
1
537
,
serialized_start
=
1
628
,
serialized_end
=
1
714
,
)
...
...
@@ -707,14 +790,16 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
539
,
serialized_end
=
1
608
,
serialized_start
=
1
716
,
serialized_end
=
1
785
,
)
_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
_FINDBYBRICKIDSRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDBYBRICKIDSRESP
.
fields_by_name
[
'records'
].
message_type
=
_LEVEL0RECORD
_GETLEVEL0DATARESP
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL0RECORD
_WRITELEVEL0DATAREQ
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL0RECORD
_WRITELEVEL0DATARESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
...
...
@@ -724,6 +809,8 @@ _UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__p
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
[
'FindByBrickIdsReq'
]
=
_FINDBYBRICKIDSREQ
DESCRIPTOR
.
message_types_by_name
[
'FindByBrickIdsResp'
]
=
_FINDBYBRICKIDSRESP
DESCRIPTOR
.
message_types_by_name
[
'GetLevel0DataReq'
]
=
_GETLEVEL0DATAREQ
DESCRIPTOR
.
message_types_by_name
[
'GetLevel0DataResp'
]
=
_GETLEVEL0DATARESP
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel0DataReq'
]
=
_WRITELEVEL0DATAREQ
...
...
@@ -763,6 +850,20 @@ FindLevel0DataResp = _reflection.GeneratedProtocolMessageType('FindLevel0DataRes
})
_sym_db
.
RegisterMessage
(
FindLevel0DataResp
)
FindByBrickIdsReq
=
_reflection
.
GeneratedProtocolMessageType
(
'FindByBrickIdsReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDBYBRICKIDSREQ
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:dfs.facility.level0.FindByBrickIdsReq)
})
_sym_db
.
RegisterMessage
(
FindByBrickIdsReq
)
FindByBrickIdsResp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindByBrickIdsResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDBYBRICKIDSRESP
,
'__module__'
:
'facility.level0.level0_pb2'
# @@protoc_insertion_point(class_scope:dfs.facility.level0.FindByBrickIdsResp)
})
_sym_db
.
RegisterMessage
(
FindByBrickIdsResp
)
GetLevel0DataReq
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLevel0DataReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLEVEL0DATAREQ
,
'__module__'
:
'facility.level0.level0_pb2'
...
...
@@ -829,8 +930,8 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1
611
,
serialized_end
=
2
106
,
serialized_start
=
1
788
,
serialized_end
=
2
384
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
...
...
@@ -841,10 +942,19 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor(
output_type
=
_FINDLEVEL0DATARESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'FindByBrickIds'
,
full_name
=
'dfs.facility.level0.Level0Srv.FindByBrickIds'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_FINDBYBRICKIDSREQ
,
output_type
=
_FINDBYBRICKIDSRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Get'
,
full_name
=
'dfs.facility.level0.Level0Srv.Get'
,
index
=
1
,
index
=
2
,
containing_service
=
None
,
input_type
=
_GETLEVEL0DATAREQ
,
output_type
=
_GETLEVEL0DATARESP
,
...
...
@@ -853,7 +963,7 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor(
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'dfs.facility.level0.Level0Srv.Write'
,
index
=
2
,
index
=
3
,
containing_service
=
None
,
input_type
=
_WRITELEVEL0DATAREQ
,
output_type
=
_WRITELEVEL0DATARESP
,
...
...
@@ -862,7 +972,7 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor(
_descriptor
.
MethodDescriptor
(
name
=
'UpdateQc0Status'
,
full_name
=
'dfs.facility.level0.Level0Srv.UpdateQc0Status'
,
index
=
3
,
index
=
4
,
containing_service
=
None
,
input_type
=
_UPDATEQC0STATUSREQ
,
output_type
=
_UPDATEQC0STATUSRESP
,
...
...
@@ -871,7 +981,7 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor(
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'dfs.facility.level0.Level0Srv.UpdateProcStatus'
,
index
=
4
,
index
=
5
,
containing_service
=
None
,
input_type
=
_UPDATEPROCSTATUSREQ
,
output_type
=
_UPDATEPROCSTATUSRESP
,
...
...
csst_dfs_proto/facility/level0/level0_pb2_grpc.py
View file @
3c5ee28a
...
...
@@ -18,6 +18,11 @@ class Level0SrvStub(object):
request_serializer
=
facility_dot_level0_dot_level0__pb2
.
FindLevel0DataReq
.
SerializeToString
,
response_deserializer
=
facility_dot_level0_dot_level0__pb2
.
FindLevel0DataResp
.
FromString
,
)
self
.
FindByBrickIds
=
channel
.
unary_unary
(
'/dfs.facility.level0.Level0Srv/FindByBrickIds'
,
request_serializer
=
facility_dot_level0_dot_level0__pb2
.
FindByBrickIdsReq
.
SerializeToString
,
response_deserializer
=
facility_dot_level0_dot_level0__pb2
.
FindByBrickIdsResp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/dfs.facility.level0.Level0Srv/Get'
,
request_serializer
=
facility_dot_level0_dot_level0__pb2
.
GetLevel0DataReq
.
SerializeToString
,
...
...
@@ -49,6 +54,12 @@ class Level0SrvServicer(object):
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
FindByBrickIds
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Get
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
...
...
@@ -81,6 +92,11 @@ def add_Level0SrvServicer_to_server(servicer, server):
request_deserializer
=
facility_dot_level0_dot_level0__pb2
.
FindLevel0DataReq
.
FromString
,
response_serializer
=
facility_dot_level0_dot_level0__pb2
.
FindLevel0DataResp
.
SerializeToString
,
),
'FindByBrickIds'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
FindByBrickIds
,
request_deserializer
=
facility_dot_level0_dot_level0__pb2
.
FindByBrickIdsReq
.
FromString
,
response_serializer
=
facility_dot_level0_dot_level0__pb2
.
FindByBrickIdsResp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
facility_dot_level0_dot_level0__pb2
.
GetLevel0DataReq
.
FromString
,
...
...
@@ -127,6 +143,22 @@ class Level0Srv(object):
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
FindByBrickIds
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.facility.level0.Level0Srv/FindByBrickIds'
,
facility_dot_level0_dot_level0__pb2
.
FindByBrickIdsReq
.
SerializeToString
,
facility_dot_level0_dot_level0__pb2
.
FindByBrickIdsResp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
Get
(
request
,
target
,
...
...
csst_dfs_proto/hstdm/level1/__init__.py
0 → 100644
View file @
3c5ee28a
csst_dfs_proto/hstdm/level1/level1_pb2.py
0 → 100644
View file @
3c5ee28a
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: hstdm/level1/level1.proto
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
from
...common
import
error_pb2
as
common_dot_error__pb2
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'hstdm/level1/level1.proto'
,
package
=
'dfs.hstdm.level1'
,
syntax
=
'proto3'
,
serialized_options
=
b
'Z!cnlab.net/csst/proto/hstdm/level1'
,
serialized_pb
=
b
'
\n\x19
hstdm/level1/level1.proto
\x12\x10\x64\x66
s.hstdm.level1
\x1a\x12\x63
ommon/error.proto
\"\xe8\x02\n\x0c
Level1Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\x12\x12\n\n
cor_sci_id
\x18\x04
\x01
(
\x03\x12\x12\n\n
prc_params
\x18\x05
\x01
(
\t\x12\x10\n\x08\x66
ilename
\x18\x06
\x01
(
\t\x12\x11\n\t
file_path
\x18\x07
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x08
\x01
(
\x05\x12\x10\n\x08
qc1_time
\x18\t
\x01
(
\t\x12\x12\n\n
prc_status
\x18\n
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x0b
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0c
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\r
\x01
(
\t\x12\x36\n\x04
refs
\x18\x0e
\x03
(
\x0b\x32
(.dfs.hstdm.level1.Level1Record.RefsEntry
\x1a
+
\n\t
RefsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x03
:
\x02\x38\x01\"\xba\x02\n\r
FindLevel1Req
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\t\x12\x11\n\t
data_type
\x18\x02
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x03
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\x05\x12
N
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32\x34
.dfs.hstdm.level1.FindLevel1Req.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x84\x01\n\x0e\x46
indLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
/
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1e
.dfs.hstdm.level1.Level1Record
\"
@
\n\x0c
GetLevel1Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\"
?
\n\r
GetLevel1Resp
\x12
.
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1e
.dfs.hstdm.level1.Level1Record
\"
N
\n\x0e
WriteLevel1Req
\x12
.
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1e
.dfs.hstdm.level1.Level1Record
\x12\x0c\n\x04\x64\x61
ta
\x18\x02
\x01
(
\x0c\"
p
\n\x0f
WriteLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
.
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x1e
.dfs.hstdm.level1.Level1Record
\"
0
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc1StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
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
\xbb\x03\n\t
Level1Srv
\x12
K
\n\x04\x46
ind
\x12\x1f
.dfs.hstdm.level1.FindLevel1Req
\x1a
.dfs.hstdm.level1.FindLevel1Resp
\"\x00\x12
H
\n\x03
Get
\x12\x1e
.dfs.hstdm.level1.GetLevel1Req
\x1a\x1f
.dfs.hstdm.level1.GetLevel1Resp
\"\x00\x12
P
\n\x05
Write
\x12
.dfs.hstdm.level1.WriteLevel1Req
\x1a
!.dfs.hstdm.level1.WriteLevel1Resp
\"\x00
(
\x01\x12
`
\n\x0f
UpdateQc1Status
\x12
$.dfs.hstdm.level1.UpdateQc1StatusReq
\x1a
%.dfs.hstdm.level1.UpdateQc1StatusResp
\"\x00\x12\x63\n\x10
UpdateProcStatus
\x12
%.dfs.hstdm.level1.UpdateProcStatusReq
\x1a
&.dfs.hstdm.level1.UpdateProcStatusResp
\"\x00\x42
#Z!cnlab.net/csst/proto/hstdm/level1b
\x06
proto3'
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
_LEVEL1RECORD_REFSENTRY
=
_descriptor
.
Descriptor
(
name
=
'RefsEntry'
,
full_name
=
'dfs.hstdm.level1.Level1Record.RefsEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'dfs.hstdm.level1.Level1Record.RefsEntry.key'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'value'
,
full_name
=
'dfs.hstdm.level1.Level1Record.RefsEntry.value'
,
index
=
1
,
number
=
2
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
b
'8
\001
'
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
385
,
serialized_end
=
428
,
)
_LEVEL1RECORD
=
_descriptor
.
Descriptor
(
name
=
'Level1Record'
,
full_name
=
'dfs.hstdm.level1.Level1Record'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'dfs.hstdm.level1.Level1Record.id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.hstdm.level1.Level1Record.level0_id'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'data_type'
,
full_name
=
'dfs.hstdm.level1.Level1Record.data_type'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'cor_sci_id'
,
full_name
=
'dfs.hstdm.level1.Level1Record.cor_sci_id'
,
index
=
3
,
number
=
4
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_params'
,
full_name
=
'dfs.hstdm.level1.Level1Record.prc_params'
,
index
=
4
,
number
=
5
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'filename'
,
full_name
=
'dfs.hstdm.level1.Level1Record.filename'
,
index
=
5
,
number
=
6
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'file_path'
,
full_name
=
'dfs.hstdm.level1.Level1Record.file_path'
,
index
=
6
,
number
=
7
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'qc1_status'
,
full_name
=
'dfs.hstdm.level1.Level1Record.qc1_status'
,
index
=
7
,
number
=
8
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'qc1_time'
,
full_name
=
'dfs.hstdm.level1.Level1Record.qc1_time'
,
index
=
8
,
number
=
9
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_status'
,
full_name
=
'dfs.hstdm.level1.Level1Record.prc_status'
,
index
=
9
,
number
=
10
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_time'
,
full_name
=
'dfs.hstdm.level1.Level1Record.prc_time'
,
index
=
10
,
number
=
11
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time'
,
full_name
=
'dfs.hstdm.level1.Level1Record.create_time'
,
index
=
11
,
number
=
12
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'pipeline_id'
,
full_name
=
'dfs.hstdm.level1.Level1Record.pipeline_id'
,
index
=
12
,
number
=
13
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'refs'
,
full_name
=
'dfs.hstdm.level1.Level1Record.refs'
,
index
=
13
,
number
=
14
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[
_LEVEL1RECORD_REFSENTRY
,
],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
68
,
serialized_end
=
428
,
)
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
=
_descriptor
.
Descriptor
(
name
=
'OtherConditionsEntry'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Req.OtherConditionsEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Req.OtherConditionsEntry.key'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'value'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Req.OtherConditionsEntry.value'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
b
'8
\001
'
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
691
,
serialized_end
=
745
,
)
_FINDLEVEL1REQ
=
_descriptor
.
Descriptor
(
name
=
'FindLevel1Req'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Req.level0_id'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'data_type'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Req.data_type'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time_start'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Req.create_time_start'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time_end'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Req.create_time_end'
,
index
=
3
,
number
=
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'qc1_status'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Req.qc1_status'
,
index
=
4
,
number
=
5
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_status'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Req.prc_status'
,
index
=
5
,
number
=
6
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'filename'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Req.filename'
,
index
=
6
,
number
=
7
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'limit'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Req.limit'
,
index
=
7
,
number
=
8
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'other_conditions'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Req.other_conditions'
,
index
=
8
,
number
=
9
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
,
],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
431
,
serialized_end
=
745
,
)
_FINDLEVEL1RESP
=
_descriptor
.
Descriptor
(
name
=
'FindLevel1Resp'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Resp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'totalCount'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Resp.totalCount'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Resp.error'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'records'
,
full_name
=
'dfs.hstdm.level1.FindLevel1Resp.records'
,
index
=
3
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
748
,
serialized_end
=
880
,
)
_GETLEVEL1REQ
=
_descriptor
.
Descriptor
(
name
=
'GetLevel1Req'
,
full_name
=
'dfs.hstdm.level1.GetLevel1Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'dfs.hstdm.level1.GetLevel1Req.id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.hstdm.level1.GetLevel1Req.level0_id'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'data_type'
,
full_name
=
'dfs.hstdm.level1.GetLevel1Req.data_type'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
882
,
serialized_end
=
946
,
)
_GETLEVEL1RESP
=
_descriptor
.
Descriptor
(
name
=
'GetLevel1Resp'
,
full_name
=
'dfs.hstdm.level1.GetLevel1Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'dfs.hstdm.level1.GetLevel1Resp.record'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
948
,
serialized_end
=
1011
,
)
_WRITELEVEL1REQ
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel1Req'
,
full_name
=
'dfs.hstdm.level1.WriteLevel1Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'dfs.hstdm.level1.WriteLevel1Req.record'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'data'
,
full_name
=
'dfs.hstdm.level1.WriteLevel1Req.data'
,
index
=
1
,
number
=
2
,
type
=
12
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1013
,
serialized_end
=
1091
,
)
_WRITELEVEL1RESP
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel1Resp'
,
full_name
=
'dfs.hstdm.level1.WriteLevel1Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.hstdm.level1.WriteLevel1Resp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.hstdm.level1.WriteLevel1Resp.error'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'dfs.hstdm.level1.WriteLevel1Resp.record'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1093
,
serialized_end
=
1205
,
)
_UPDATEQC1STATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc1StatusReq'
,
full_name
=
'dfs.hstdm.level1.UpdateQc1StatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'dfs.hstdm.level1.UpdateQc1StatusReq.id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'status'
,
full_name
=
'dfs.hstdm.level1.UpdateQc1StatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1207
,
serialized_end
=
1255
,
)
_UPDATEQC1STATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc1StatusResp'
,
full_name
=
'dfs.hstdm.level1.UpdateQc1StatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.hstdm.level1.UpdateQc1StatusResp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.hstdm.level1.UpdateQc1StatusResp.error'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1257
,
serialized_end
=
1325
,
)
_UPDATEPROCSTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusReq'
,
full_name
=
'dfs.hstdm.level1.UpdateProcStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'dfs.hstdm.level1.UpdateProcStatusReq.id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'status'
,
full_name
=
'dfs.hstdm.level1.UpdateProcStatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1327
,
serialized_end
=
1376
,
)
_UPDATEPROCSTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusResp'
,
full_name
=
'dfs.hstdm.level1.UpdateProcStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.hstdm.level1.UpdateProcStatusResp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.hstdm.level1.UpdateProcStatusResp.error'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1378
,
serialized_end
=
1447
,
)
_LEVEL1RECORD_REFSENTRY
.
containing_type
=
_LEVEL1RECORD
_LEVEL1RECORD
.
fields_by_name
[
'refs'
].
message_type
=
_LEVEL1RECORD_REFSENTRY
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDLEVEL1REQ
_FINDLEVEL1REQ
.
fields_by_name
[
'other_conditions'
].
message_type
=
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
_FINDLEVEL1RESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDLEVEL1RESP
.
fields_by_name
[
'records'
].
message_type
=
_LEVEL1RECORD
_GETLEVEL1RESP
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL1RECORD
_WRITELEVEL1REQ
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL1RECORD
_WRITELEVEL1RESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITELEVEL1RESP
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL1RECORD
_UPDATEQC1STATUSRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_UPDATEPROCSTATUSRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
DESCRIPTOR
.
message_types_by_name
[
'Level1Record'
]
=
_LEVEL1RECORD
DESCRIPTOR
.
message_types_by_name
[
'FindLevel1Req'
]
=
_FINDLEVEL1REQ
DESCRIPTOR
.
message_types_by_name
[
'FindLevel1Resp'
]
=
_FINDLEVEL1RESP
DESCRIPTOR
.
message_types_by_name
[
'GetLevel1Req'
]
=
_GETLEVEL1REQ
DESCRIPTOR
.
message_types_by_name
[
'GetLevel1Resp'
]
=
_GETLEVEL1RESP
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel1Req'
]
=
_WRITELEVEL1REQ
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel1Resp'
]
=
_WRITELEVEL1RESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateQc1StatusReq'
]
=
_UPDATEQC1STATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateQc1StatusResp'
]
=
_UPDATEQC1STATUSRESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusReq'
]
=
_UPDATEPROCSTATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusResp'
]
=
_UPDATEPROCSTATUSRESP
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
Level1Record
=
_reflection
.
GeneratedProtocolMessageType
(
'Level1Record'
,
(
_message
.
Message
,),
{
'RefsEntry'
:
_reflection
.
GeneratedProtocolMessageType
(
'RefsEntry'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_LEVEL1RECORD_REFSENTRY
,
'__module__'
:
'hstdm.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1.Level1Record.RefsEntry)
})
,
'DESCRIPTOR'
:
_LEVEL1RECORD
,
'__module__'
:
'hstdm.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1.Level1Record)
})
_sym_db
.
RegisterMessage
(
Level1Record
)
_sym_db
.
RegisterMessage
(
Level1Record
.
RefsEntry
)
FindLevel1Req
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel1Req'
,
(
_message
.
Message
,),
{
'OtherConditionsEntry'
:
_reflection
.
GeneratedProtocolMessageType
(
'OtherConditionsEntry'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
,
'__module__'
:
'hstdm.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1.FindLevel1Req.OtherConditionsEntry)
})
,
'DESCRIPTOR'
:
_FINDLEVEL1REQ
,
'__module__'
:
'hstdm.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1.FindLevel1Req)
})
_sym_db
.
RegisterMessage
(
FindLevel1Req
)
_sym_db
.
RegisterMessage
(
FindLevel1Req
.
OtherConditionsEntry
)
FindLevel1Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel1Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL1RESP
,
'__module__'
:
'hstdm.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1.FindLevel1Resp)
})
_sym_db
.
RegisterMessage
(
FindLevel1Resp
)
GetLevel1Req
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLevel1Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLEVEL1REQ
,
'__module__'
:
'hstdm.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1.GetLevel1Req)
})
_sym_db
.
RegisterMessage
(
GetLevel1Req
)
GetLevel1Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLevel1Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLEVEL1RESP
,
'__module__'
:
'hstdm.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1.GetLevel1Resp)
})
_sym_db
.
RegisterMessage
(
GetLevel1Resp
)
WriteLevel1Req
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel1Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL1REQ
,
'__module__'
:
'hstdm.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1.WriteLevel1Req)
})
_sym_db
.
RegisterMessage
(
WriteLevel1Req
)
WriteLevel1Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel1Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL1RESP
,
'__module__'
:
'hstdm.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1.WriteLevel1Resp)
})
_sym_db
.
RegisterMessage
(
WriteLevel1Resp
)
UpdateQc1StatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc1StatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC1STATUSREQ
,
'__module__'
:
'hstdm.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1.UpdateQc1StatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateQc1StatusReq
)
UpdateQc1StatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc1StatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC1STATUSRESP
,
'__module__'
:
'hstdm.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1.UpdateQc1StatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateQc1StatusResp
)
UpdateProcStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSREQ
,
'__module__'
:
'hstdm.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1.UpdateProcStatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusReq
)
UpdateProcStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSRESP
,
'__module__'
:
'hstdm.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1.UpdateProcStatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusResp
)
DESCRIPTOR
.
_options
=
None
_LEVEL1RECORD_REFSENTRY
.
_options
=
None
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
.
_options
=
None
_LEVEL1SRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'Level1Srv'
,
full_name
=
'dfs.hstdm.level1.Level1Srv'
,
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1450
,
serialized_end
=
1893
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
full_name
=
'dfs.hstdm.level1.Level1Srv.Find'
,
index
=
0
,
containing_service
=
None
,
input_type
=
_FINDLEVEL1REQ
,
output_type
=
_FINDLEVEL1RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Get'
,
full_name
=
'dfs.hstdm.level1.Level1Srv.Get'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_GETLEVEL1REQ
,
output_type
=
_GETLEVEL1RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'dfs.hstdm.level1.Level1Srv.Write'
,
index
=
2
,
containing_service
=
None
,
input_type
=
_WRITELEVEL1REQ
,
output_type
=
_WRITELEVEL1RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateQc1Status'
,
full_name
=
'dfs.hstdm.level1.Level1Srv.UpdateQc1Status'
,
index
=
3
,
containing_service
=
None
,
input_type
=
_UPDATEQC1STATUSREQ
,
output_type
=
_UPDATEQC1STATUSRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'dfs.hstdm.level1.Level1Srv.UpdateProcStatus'
,
index
=
4
,
containing_service
=
None
,
input_type
=
_UPDATEPROCSTATUSREQ
,
output_type
=
_UPDATEPROCSTATUSRESP
,
serialized_options
=
None
,
),
])
_sym_db
.
RegisterServiceDescriptor
(
_LEVEL1SRV
)
DESCRIPTOR
.
services_by_name
[
'Level1Srv'
]
=
_LEVEL1SRV
# @@protoc_insertion_point(module_scope)
csst_dfs_proto/hstdm/level1/level1_pb2_grpc.py
0 → 100644
View file @
3c5ee28a
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
.
import
level1_pb2
as
hstdm_dot_level1_dot_level1__pb2
class
Level1SrvStub
(
object
):
"""Missing associated documentation comment in .proto file"""
def
__init__
(
self
,
channel
):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self
.
Find
=
channel
.
unary_unary
(
'/dfs.hstdm.level1.Level1Srv/Find'
,
request_serializer
=
hstdm_dot_level1_dot_level1__pb2
.
FindLevel1Req
.
SerializeToString
,
response_deserializer
=
hstdm_dot_level1_dot_level1__pb2
.
FindLevel1Resp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/dfs.hstdm.level1.Level1Srv/Get'
,
request_serializer
=
hstdm_dot_level1_dot_level1__pb2
.
GetLevel1Req
.
SerializeToString
,
response_deserializer
=
hstdm_dot_level1_dot_level1__pb2
.
GetLevel1Resp
.
FromString
,
)
self
.
Write
=
channel
.
stream_unary
(
'/dfs.hstdm.level1.Level1Srv/Write'
,
request_serializer
=
hstdm_dot_level1_dot_level1__pb2
.
WriteLevel1Req
.
SerializeToString
,
response_deserializer
=
hstdm_dot_level1_dot_level1__pb2
.
WriteLevel1Resp
.
FromString
,
)
self
.
UpdateQc1Status
=
channel
.
unary_unary
(
'/dfs.hstdm.level1.Level1Srv/UpdateQc1Status'
,
request_serializer
=
hstdm_dot_level1_dot_level1__pb2
.
UpdateQc1StatusReq
.
SerializeToString
,
response_deserializer
=
hstdm_dot_level1_dot_level1__pb2
.
UpdateQc1StatusResp
.
FromString
,
)
self
.
UpdateProcStatus
=
channel
.
unary_unary
(
'/dfs.hstdm.level1.Level1Srv/UpdateProcStatus'
,
request_serializer
=
hstdm_dot_level1_dot_level1__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
response_deserializer
=
hstdm_dot_level1_dot_level1__pb2
.
UpdateProcStatusResp
.
FromString
,
)
class
Level1SrvServicer
(
object
):
"""Missing associated documentation comment in .proto file"""
def
Find
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Get
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Write
(
self
,
request_iterator
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
UpdateQc1Status
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
UpdateProcStatus
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
add_Level1SrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
'Find'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Find
,
request_deserializer
=
hstdm_dot_level1_dot_level1__pb2
.
FindLevel1Req
.
FromString
,
response_serializer
=
hstdm_dot_level1_dot_level1__pb2
.
FindLevel1Resp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
hstdm_dot_level1_dot_level1__pb2
.
GetLevel1Req
.
FromString
,
response_serializer
=
hstdm_dot_level1_dot_level1__pb2
.
GetLevel1Resp
.
SerializeToString
,
),
'Write'
:
grpc
.
stream_unary_rpc_method_handler
(
servicer
.
Write
,
request_deserializer
=
hstdm_dot_level1_dot_level1__pb2
.
WriteLevel1Req
.
FromString
,
response_serializer
=
hstdm_dot_level1_dot_level1__pb2
.
WriteLevel1Resp
.
SerializeToString
,
),
'UpdateQc1Status'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateQc1Status
,
request_deserializer
=
hstdm_dot_level1_dot_level1__pb2
.
UpdateQc1StatusReq
.
FromString
,
response_serializer
=
hstdm_dot_level1_dot_level1__pb2
.
UpdateQc1StatusResp
.
SerializeToString
,
),
'UpdateProcStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateProcStatus
,
request_deserializer
=
hstdm_dot_level1_dot_level1__pb2
.
UpdateProcStatusReq
.
FromString
,
response_serializer
=
hstdm_dot_level1_dot_level1__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'dfs.hstdm.level1.Level1Srv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
# This class is part of an EXPERIMENTAL API.
class
Level1Srv
(
object
):
"""Missing associated documentation comment in .proto file"""
@
staticmethod
def
Find
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.hstdm.level1.Level1Srv/Find'
,
hstdm_dot_level1_dot_level1__pb2
.
FindLevel1Req
.
SerializeToString
,
hstdm_dot_level1_dot_level1__pb2
.
FindLevel1Resp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
Get
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.hstdm.level1.Level1Srv/Get'
,
hstdm_dot_level1_dot_level1__pb2
.
GetLevel1Req
.
SerializeToString
,
hstdm_dot_level1_dot_level1__pb2
.
GetLevel1Resp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
Write
(
request_iterator
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
stream_unary
(
request_iterator
,
target
,
'/dfs.hstdm.level1.Level1Srv/Write'
,
hstdm_dot_level1_dot_level1__pb2
.
WriteLevel1Req
.
SerializeToString
,
hstdm_dot_level1_dot_level1__pb2
.
WriteLevel1Resp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
UpdateQc1Status
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.hstdm.level1.Level1Srv/UpdateQc1Status'
,
hstdm_dot_level1_dot_level1__pb2
.
UpdateQc1StatusReq
.
SerializeToString
,
hstdm_dot_level1_dot_level1__pb2
.
UpdateQc1StatusResp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
UpdateProcStatus
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.hstdm.level1.Level1Srv/UpdateProcStatus'
,
hstdm_dot_level1_dot_level1__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
hstdm_dot_level1_dot_level1__pb2
.
UpdateProcStatusResp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
csst_dfs_proto/hstdm/level1prc/__init__.py
0 → 100644
View file @
3c5ee28a
csst_dfs_proto/hstdm/level1prc/level1prc_pb2.py
0 → 100644
View file @
3c5ee28a
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: hstdm/level1prc/level1prc.proto
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
from
...common
import
error_pb2
as
common_dot_error__pb2
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'hstdm/level1prc/level1prc.proto'
,
package
=
'dfs.hstdm.level1prc'
,
syntax
=
'proto3'
,
serialized_options
=
b
'Z$cnlab.net/csst/proto/hstdm/level1prc'
,
serialized_pb
=
b
'
\n\x1f
hstdm/level1prc/level1prc.proto
\x12\x13\x64\x66
s.hstdm.level1prc
\x1a\x12\x63
ommon/error.proto
\"\xb3\x01\n\x0f
Level1PrcRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level1_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\x18\n\x10
params_file_path
\x18\x05
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x07
\x01
(
\t\x12\x18\n\x10
result_file_path
\x18\x08
\x01
(
\t\"\xf0\x01\n\x10\x46
indLevel1PrcReq
\x12\x11\n\t
level1_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
(
\x05\x12
T
\n\x10
other_conditions
\x18\x05
\x03
(
\x0b\x32
:.dfs.hstdm.level1prc.FindLevel1PrcReq.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\"\x8d\x01\n\x11\x46
indLevel1PrcResp
\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\x35\n\x07
records
\x18\x04
\x03
(
\x0b\x32
$.dfs.hstdm.level1prc.Level1PrcRecord
\"
I
\n\x11
WriteLevel1PrcReq
\x12\x34\n\x06
record
\x18\x01
\x01
(
\x0b\x32
$.dfs.hstdm.level1prc.Level1PrcRecord
\"
y
\n\x12
WriteLevel1PrcResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x34\n\x06
record
\x18\x03
\x01
(
\x0b\x32
$.dfs.hstdm.level1prc.Level1PrcRecord
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
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
\xae\x02\n\x0c
Level1PrcSrv
\x12
W
\n\x04\x46
ind
\x12
%.dfs.hstdm.level1prc.FindLevel1PrcReq
\x1a
&.dfs.hstdm.level1prc.FindLevel1PrcResp
\"\x00\x12
Z
\n\x05
Write
\x12
&.dfs.hstdm.level1prc.WriteLevel1PrcReq
\x1a\'
.dfs.hstdm.level1prc.WriteLevel1PrcResp
\"\x00\x12
i
\n\x10
UpdateProcStatus
\x12
(.dfs.hstdm.level1prc.UpdateProcStatusReq
\x1a
).dfs.hstdm.level1prc.UpdateProcStatusResp
\"\x00\x42
&Z$cnlab.net/csst/proto/hstdm/level1prcb
\x06
proto3'
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
_LEVEL1PRCRECORD
=
_descriptor
.
Descriptor
(
name
=
'Level1PrcRecord'
,
full_name
=
'dfs.hstdm.level1prc.Level1PrcRecord'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'dfs.hstdm.level1prc.Level1PrcRecord.id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'level1_id'
,
full_name
=
'dfs.hstdm.level1prc.Level1PrcRecord.level1_id'
,
index
=
1
,
number
=
2
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'pipeline_id'
,
full_name
=
'dfs.hstdm.level1prc.Level1PrcRecord.pipeline_id'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_module'
,
full_name
=
'dfs.hstdm.level1prc.Level1PrcRecord.prc_module'
,
index
=
3
,
number
=
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'params_file_path'
,
full_name
=
'dfs.hstdm.level1prc.Level1PrcRecord.params_file_path'
,
index
=
4
,
number
=
5
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_status'
,
full_name
=
'dfs.hstdm.level1prc.Level1PrcRecord.prc_status'
,
index
=
5
,
number
=
6
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_time'
,
full_name
=
'dfs.hstdm.level1prc.Level1PrcRecord.prc_time'
,
index
=
6
,
number
=
7
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'result_file_path'
,
full_name
=
'dfs.hstdm.level1prc.Level1PrcRecord.result_file_path'
,
index
=
7
,
number
=
8
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
77
,
serialized_end
=
256
,
)
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
=
_descriptor
.
Descriptor
(
name
=
'OtherConditionsEntry'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcReq.OtherConditionsEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcReq.OtherConditionsEntry.key'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'value'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcReq.OtherConditionsEntry.value'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
b
'8
\001
'
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
445
,
serialized_end
=
499
,
)
_FINDLEVEL1PRCREQ
=
_descriptor
.
Descriptor
(
name
=
'FindLevel1PrcReq'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'level1_id'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcReq.level1_id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'pipeline_id'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcReq.pipeline_id'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_module'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcReq.prc_module'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_status'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcReq.prc_status'
,
index
=
3
,
number
=
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'other_conditions'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcReq.other_conditions'
,
index
=
4
,
number
=
5
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
,
],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
259
,
serialized_end
=
499
,
)
_FINDLEVEL1PRCRESP
=
_descriptor
.
Descriptor
(
name
=
'FindLevel1PrcResp'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcResp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'totalCount'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcResp.totalCount'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcResp.error'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'records'
,
full_name
=
'dfs.hstdm.level1prc.FindLevel1PrcResp.records'
,
index
=
3
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
502
,
serialized_end
=
643
,
)
_WRITELEVEL1PRCREQ
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel1PrcReq'
,
full_name
=
'dfs.hstdm.level1prc.WriteLevel1PrcReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'dfs.hstdm.level1prc.WriteLevel1PrcReq.record'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
645
,
serialized_end
=
718
,
)
_WRITELEVEL1PRCRESP
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel1PrcResp'
,
full_name
=
'dfs.hstdm.level1prc.WriteLevel1PrcResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.hstdm.level1prc.WriteLevel1PrcResp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.hstdm.level1prc.WriteLevel1PrcResp.error'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'dfs.hstdm.level1prc.WriteLevel1PrcResp.record'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
720
,
serialized_end
=
841
,
)
_UPDATEPROCSTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusReq'
,
full_name
=
'dfs.hstdm.level1prc.UpdateProcStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'dfs.hstdm.level1prc.UpdateProcStatusReq.id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'status'
,
full_name
=
'dfs.hstdm.level1prc.UpdateProcStatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
843
,
serialized_end
=
892
,
)
_UPDATEPROCSTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusResp'
,
full_name
=
'dfs.hstdm.level1prc.UpdateProcStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.hstdm.level1prc.UpdateProcStatusResp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.hstdm.level1prc.UpdateProcStatusResp.error'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
894
,
serialized_end
=
963
,
)
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDLEVEL1PRCREQ
_FINDLEVEL1PRCREQ
.
fields_by_name
[
'other_conditions'
].
message_type
=
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
_FINDLEVEL1PRCRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDLEVEL1PRCRESP
.
fields_by_name
[
'records'
].
message_type
=
_LEVEL1PRCRECORD
_WRITELEVEL1PRCREQ
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL1PRCRECORD
_WRITELEVEL1PRCRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITELEVEL1PRCRESP
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL1PRCRECORD
_UPDATEPROCSTATUSRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
DESCRIPTOR
.
message_types_by_name
[
'Level1PrcRecord'
]
=
_LEVEL1PRCRECORD
DESCRIPTOR
.
message_types_by_name
[
'FindLevel1PrcReq'
]
=
_FINDLEVEL1PRCREQ
DESCRIPTOR
.
message_types_by_name
[
'FindLevel1PrcResp'
]
=
_FINDLEVEL1PRCRESP
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel1PrcReq'
]
=
_WRITELEVEL1PRCREQ
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel1PrcResp'
]
=
_WRITELEVEL1PRCRESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusReq'
]
=
_UPDATEPROCSTATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusResp'
]
=
_UPDATEPROCSTATUSRESP
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
Level1PrcRecord
=
_reflection
.
GeneratedProtocolMessageType
(
'Level1PrcRecord'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_LEVEL1PRCRECORD
,
'__module__'
:
'hstdm.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1prc.Level1PrcRecord)
})
_sym_db
.
RegisterMessage
(
Level1PrcRecord
)
FindLevel1PrcReq
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel1PrcReq'
,
(
_message
.
Message
,),
{
'OtherConditionsEntry'
:
_reflection
.
GeneratedProtocolMessageType
(
'OtherConditionsEntry'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
,
'__module__'
:
'hstdm.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1prc.FindLevel1PrcReq.OtherConditionsEntry)
})
,
'DESCRIPTOR'
:
_FINDLEVEL1PRCREQ
,
'__module__'
:
'hstdm.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1prc.FindLevel1PrcReq)
})
_sym_db
.
RegisterMessage
(
FindLevel1PrcReq
)
_sym_db
.
RegisterMessage
(
FindLevel1PrcReq
.
OtherConditionsEntry
)
FindLevel1PrcResp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel1PrcResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL1PRCRESP
,
'__module__'
:
'hstdm.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1prc.FindLevel1PrcResp)
})
_sym_db
.
RegisterMessage
(
FindLevel1PrcResp
)
WriteLevel1PrcReq
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel1PrcReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL1PRCREQ
,
'__module__'
:
'hstdm.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1prc.WriteLevel1PrcReq)
})
_sym_db
.
RegisterMessage
(
WriteLevel1PrcReq
)
WriteLevel1PrcResp
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel1PrcResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL1PRCRESP
,
'__module__'
:
'hstdm.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1prc.WriteLevel1PrcResp)
})
_sym_db
.
RegisterMessage
(
WriteLevel1PrcResp
)
UpdateProcStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSREQ
,
'__module__'
:
'hstdm.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1prc.UpdateProcStatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusReq
)
UpdateProcStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSRESP
,
'__module__'
:
'hstdm.level1prc.level1prc_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level1prc.UpdateProcStatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusResp
)
DESCRIPTOR
.
_options
=
None
_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY
.
_options
=
None
_LEVEL1PRCSRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'Level1PrcSrv'
,
full_name
=
'dfs.hstdm.level1prc.Level1PrcSrv'
,
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
966
,
serialized_end
=
1268
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
full_name
=
'dfs.hstdm.level1prc.Level1PrcSrv.Find'
,
index
=
0
,
containing_service
=
None
,
input_type
=
_FINDLEVEL1PRCREQ
,
output_type
=
_FINDLEVEL1PRCRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'dfs.hstdm.level1prc.Level1PrcSrv.Write'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_WRITELEVEL1PRCREQ
,
output_type
=
_WRITELEVEL1PRCRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'dfs.hstdm.level1prc.Level1PrcSrv.UpdateProcStatus'
,
index
=
2
,
containing_service
=
None
,
input_type
=
_UPDATEPROCSTATUSREQ
,
output_type
=
_UPDATEPROCSTATUSRESP
,
serialized_options
=
None
,
),
])
_sym_db
.
RegisterServiceDescriptor
(
_LEVEL1PRCSRV
)
DESCRIPTOR
.
services_by_name
[
'Level1PrcSrv'
]
=
_LEVEL1PRCSRV
# @@protoc_insertion_point(module_scope)
csst_dfs_proto/hstdm/level1prc/level1prc_pb2_grpc.py
0 → 100644
View file @
3c5ee28a
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
.
import
level1prc_pb2
as
hstdm_dot_level1prc_dot_level1prc__pb2
class
Level1PrcSrvStub
(
object
):
"""Missing associated documentation comment in .proto file"""
def
__init__
(
self
,
channel
):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self
.
Find
=
channel
.
unary_unary
(
'/dfs.hstdm.level1prc.Level1PrcSrv/Find'
,
request_serializer
=
hstdm_dot_level1prc_dot_level1prc__pb2
.
FindLevel1PrcReq
.
SerializeToString
,
response_deserializer
=
hstdm_dot_level1prc_dot_level1prc__pb2
.
FindLevel1PrcResp
.
FromString
,
)
self
.
Write
=
channel
.
unary_unary
(
'/dfs.hstdm.level1prc.Level1PrcSrv/Write'
,
request_serializer
=
hstdm_dot_level1prc_dot_level1prc__pb2
.
WriteLevel1PrcReq
.
SerializeToString
,
response_deserializer
=
hstdm_dot_level1prc_dot_level1prc__pb2
.
WriteLevel1PrcResp
.
FromString
,
)
self
.
UpdateProcStatus
=
channel
.
unary_unary
(
'/dfs.hstdm.level1prc.Level1PrcSrv/UpdateProcStatus'
,
request_serializer
=
hstdm_dot_level1prc_dot_level1prc__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
response_deserializer
=
hstdm_dot_level1prc_dot_level1prc__pb2
.
UpdateProcStatusResp
.
FromString
,
)
class
Level1PrcSrvServicer
(
object
):
"""Missing associated documentation comment in .proto file"""
def
Find
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Write
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
UpdateProcStatus
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
add_Level1PrcSrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
'Find'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Find
,
request_deserializer
=
hstdm_dot_level1prc_dot_level1prc__pb2
.
FindLevel1PrcReq
.
FromString
,
response_serializer
=
hstdm_dot_level1prc_dot_level1prc__pb2
.
FindLevel1PrcResp
.
SerializeToString
,
),
'Write'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Write
,
request_deserializer
=
hstdm_dot_level1prc_dot_level1prc__pb2
.
WriteLevel1PrcReq
.
FromString
,
response_serializer
=
hstdm_dot_level1prc_dot_level1prc__pb2
.
WriteLevel1PrcResp
.
SerializeToString
,
),
'UpdateProcStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateProcStatus
,
request_deserializer
=
hstdm_dot_level1prc_dot_level1prc__pb2
.
UpdateProcStatusReq
.
FromString
,
response_serializer
=
hstdm_dot_level1prc_dot_level1prc__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'dfs.hstdm.level1prc.Level1PrcSrv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
# This class is part of an EXPERIMENTAL API.
class
Level1PrcSrv
(
object
):
"""Missing associated documentation comment in .proto file"""
@
staticmethod
def
Find
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.hstdm.level1prc.Level1PrcSrv/Find'
,
hstdm_dot_level1prc_dot_level1prc__pb2
.
FindLevel1PrcReq
.
SerializeToString
,
hstdm_dot_level1prc_dot_level1prc__pb2
.
FindLevel1PrcResp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
Write
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.hstdm.level1prc.Level1PrcSrv/Write'
,
hstdm_dot_level1prc_dot_level1prc__pb2
.
WriteLevel1PrcReq
.
SerializeToString
,
hstdm_dot_level1prc_dot_level1prc__pb2
.
WriteLevel1PrcResp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
UpdateProcStatus
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.hstdm.level1prc.Level1PrcSrv/UpdateProcStatus'
,
hstdm_dot_level1prc_dot_level1prc__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
hstdm_dot_level1prc_dot_level1prc__pb2
.
UpdateProcStatusResp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
csst_dfs_proto/msc/level1/level1_pb2.py
View file @
3c5ee28a
...
...
@@ -2,8 +2,6 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: msc/level1/level1.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
...
...
@@ -20,8 +18,8 @@ DESCRIPTOR = _descriptor.FileDescriptor(
name
=
'msc/level1/level1.proto'
,
package
=
'dfs.msc.level1'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z
\037
cnlab.net/csst/proto/msc/level1'
)
,
serialized_pb
=
_b
(
'
\n\x17
msc/level1/level1.proto
\x12\x0e\x64\x66
s.msc.level1
\x1a\x12\x63
ommon/error.proto
\"\x
e
6\x02\n\x0c
Level1Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\x12\x12\n\n
cor_sci_id
\x18\x04
\x01
(
\x03\x12\x12\n\n
prc_params
\x18\x05
\x01
(
\t\x12\x10\n\x08\x66
ilename
\x18\x0
6
\x01
(
\t\x12\x11\n\t
file_path
\x18\x0
7
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\
x08
\x01
(
\x05\x12\x10\n\x08
qc1_time
\x18\
t
\x01
(
\t\x12\x12\n\n
prc_status
\x18\
n
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x0
b
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\
x0c
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\
r
\x01
(
\t\x12\x34\n\x04
refs
\x18\x0
e
\x03
(
\x0b\x32
&.dfs.msc.level1.Level1Record.RefsEntry
\x1a
+
\n\t
RefsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x03
:
\x02\x38\x01\"\xb8\x02\n\r
FindLevel1Req
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\t\x12\x11\n\t
data_type
\x18\x02
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x03
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\x05\x12
L
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32\x32
.dfs.msc.level1.FindLevel1Req.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x82\x01\n\x0e\x46
indLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
-
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"
@
\n\x0c
GetLevel1Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\"
=
\n\r
GetLevel1Resp
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"
L
\n\x0e
WriteLevel1Req
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\x12\x0c\n\x04\x64\x61
ta
\x18\x02
\x01
(
\x0c\"
n
\n\x0f
WriteLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
,
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"
0
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc1StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
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
a7
\x0
3
\n\t
Level1Srv
\x12
G
\n\x04\x46
ind
\x12\x1d
.dfs.msc.level1.FindLevel1Req
\x1a\x1e
.dfs.msc.level1.FindLevel1Resp
\"\x00\x12\x44\n\x03
Get
\x12\x1c
.dfs.msc.level1.GetLevel1Req
\x1a\x1d
.dfs.msc.level1.GetLevel1Resp
\"\x00\x12
L
\n\x05
Write
\x12\x1e
.dfs.msc.level1.WriteLevel1Req
\x1a\x1f
.dfs.msc.level1.WriteLevel1Resp
\"\x00
(
\x01\x12\\\n\x0f
UpdateQc1Status
\x12\"
.dfs.msc.level1.UpdateQc1StatusReq
\x1a
#.dfs.msc.level1.UpdateQc1StatusResp
\"\x00\x12
_
\n\x10
UpdateProcStatus
\x12
#.dfs.msc.level1.UpdateProcStatusReq
\x1a
$.dfs.msc.level1.UpdateProcStatusResp
\"\x00\x42
!Z
\x1f\x63
nlab.net/csst/proto/msc/level1b
\x06
proto3'
)
serialized_options
=
b
'Z
\037
cnlab.net/csst/proto/msc/level1'
,
serialized_pb
=
b
'
\n\x17
msc/level1/level1.proto
\x12\x0e\x64\x66
s.msc.level1
\x1a\x12\x63
ommon/error.proto
\"\x
f
6\x02\n\x0c
Level1Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\x12\x12\n\n
cor_sci_id
\x18\x04
\x01
(
\x03\x12\x12\n\n
prc_params
\x18\x05
\x01
(
\t\x12\x0e\n\x06\x66
ilter
\x18\x06
\x01
(
\t\x12\x10\n\x08\x66
ilename
\x18\x0
7
\x01
(
\t\x12\x11\n\t
file_path
\x18\x0
8
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\
t
\x01
(
\x05\x12\x10\n\x08
qc1_time
\x18\
n
\x01
(
\t\x12\x12\n\n
prc_status
\x18\
x0b
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x0
c
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\
r
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\
x0e
\x01
(
\t\x12\x34\n\x04
refs
\x18\x0
f
\x03
(
\x0b\x32
&.dfs.msc.level1.Level1Record.RefsEntry
\x1a
+
\n\t
RefsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x03
:
\x02\x38\x01\"\xb8\x02\n\r
FindLevel1Req
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\t\x12\x11\n\t
data_type
\x18\x02
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x03
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\x05\x12
L
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32\x32
.dfs.msc.level1.FindLevel1Req.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x82\x01\n\x0e\x46
indLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
-
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"
&
\n\x11\x46
indByBrickIdsReq
\x12\x11\n\t
brick_ids
\x18\x01
\x03
(
\x05\"
r
\n\x12\x46
indByBrickIdsResp
\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\x07
records
\x18\x03
\x03
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"
@
\n\x0c
GetLevel1Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\"
=
\n\r
GetLevel1Resp
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"
L
\n\x0e
WriteLevel1Req
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\x12\x0c\n\x04\x64\x61
ta
\x18\x02
\x01
(
\x0c\"
n
\n\x0f
WriteLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
,
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"
0
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc1StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
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
82
\x0
4
\n\t
Level1Srv
\x12
G
\n\x04\x46
ind
\x12\x1d
.dfs.msc.level1.FindLevel1Req
\x1a\x1e
.dfs.msc.level1.FindLevel1Resp
\"\x00\
x12
Y
\n\x0e\x46
indByBrickIds
\x12
!.dfs.msc.level1.FindByBrickIdsReq
\x1a\"
.dfs.msc.level1.FindByBrickIdsResp
\"\x00\
x12\x44\n\x03
Get
\x12\x1c
.dfs.msc.level1.GetLevel1Req
\x1a\x1d
.dfs.msc.level1.GetLevel1Resp
\"\x00\x12
L
\n\x05
Write
\x12\x1e
.dfs.msc.level1.WriteLevel1Req
\x1a\x1f
.dfs.msc.level1.WriteLevel1Resp
\"\x00
(
\x01\x12\\\n\x0f
UpdateQc1Status
\x12\"
.dfs.msc.level1.UpdateQc1StatusReq
\x1a
#.dfs.msc.level1.UpdateQc1StatusResp
\"\x00\x12
_
\n\x10
UpdateProcStatus
\x12
#.dfs.msc.level1.UpdateProcStatusReq
\x1a
$.dfs.msc.level1.UpdateProcStatusResp
\"\x00\x42
!Z
\x1f\x63
nlab.net/csst/proto/msc/level1b
\x06
proto3'
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -38,7 +36,7 @@ _LEVEL1RECORD_REFSENTRY = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'dfs.msc.level1.Level1Record.RefsEntry.key'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
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
),
...
...
@@ -55,14 +53,14 @@ _LEVEL1RECORD_REFSENTRY = _descriptor.Descriptor(
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
_b
(
'8
\001
'
)
,
serialized_options
=
b
'8
\001
'
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
3
7
9
,
serialized_end
=
4
22
,
serialized_start
=
39
5
,
serialized_end
=
4
38
,
)
_LEVEL1RECORD
=
_descriptor
.
Descriptor
(
...
...
@@ -82,14 +80,14 @@ _LEVEL1RECORD = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.msc.level1.Level1Record.level0_id'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'data_type'
,
full_name
=
'dfs.msc.level1.Level1Record.data_type'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
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
),
...
...
@@ -103,69 +101,76 @@ _LEVEL1RECORD = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'prc_params'
,
full_name
=
'dfs.msc.level1.Level1Record.prc_params'
,
index
=
4
,
number
=
5
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
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
=
'fil
ename
'
,
full_name
=
'dfs.msc.level1.Level1Record.fil
ename
'
,
index
=
5
,
name
=
'fil
ter
'
,
full_name
=
'dfs.msc.level1.Level1Record.fil
ter
'
,
index
=
5
,
number
=
6
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'file
_path
'
,
full_name
=
'dfs.msc.level1.Level1Record.file
_path
'
,
index
=
6
,
name
=
'file
name
'
,
full_name
=
'dfs.msc.level1.Level1Record.file
name
'
,
index
=
6
,
number
=
7
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'
qc1_status
'
,
full_name
=
'dfs.msc.level1.Level1Record.
qc1_status
'
,
index
=
7
,
number
=
8
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'
file_path
'
,
full_name
=
'dfs.msc.level1.Level1Record.
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
),
_descriptor
.
FieldDescriptor
(
name
=
'qc1_
time
'
,
full_name
=
'dfs.msc.level1.Level1Record.qc1_
time
'
,
index
=
8
,
number
=
9
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
)
,
name
=
'qc1_
status
'
,
full_name
=
'dfs.msc.level1.Level1Record.qc1_
status
'
,
index
=
8
,
number
=
9
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'
prc_status
'
,
full_name
=
'dfs.msc.level1.Level1Record.
prc_status
'
,
index
=
9
,
number
=
10
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'
qc1_time
'
,
full_name
=
'dfs.msc.level1.Level1Record.
qc1_time
'
,
index
=
9
,
number
=
10
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
)
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_
time
'
,
full_name
=
'dfs.msc.level1.Level1Record.prc_
time
'
,
index
=
10
,
number
=
11
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
)
,
name
=
'prc_
status
'
,
full_name
=
'dfs.msc.level1.Level1Record.prc_
status
'
,
index
=
10
,
number
=
11
,
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
=
'
create
_time'
,
full_name
=
'dfs.msc.level1.Level1Record.
create
_time'
,
index
=
11
,
name
=
'
prc
_time'
,
full_name
=
'dfs.msc.level1.Level1Record.
prc
_time'
,
index
=
11
,
number
=
12
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'
pipeline_id
'
,
full_name
=
'dfs.msc.level1.Level1Record.
pipeline_id
'
,
index
=
12
,
name
=
'
create_time
'
,
full_name
=
'dfs.msc.level1.Level1Record.
create_time
'
,
index
=
12
,
number
=
13
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'refs'
,
full_name
=
'dfs.msc.level1.Level1Record.refs'
,
index
=
13
,
number
=
14
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
name
=
'pipeline_id'
,
full_name
=
'dfs.msc.level1.Level1Record.pipeline_id'
,
index
=
13
,
number
=
14
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'refs'
,
full_name
=
'dfs.msc.level1.Level1Record.refs'
,
index
=
14
,
number
=
15
,
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
,
...
...
@@ -183,7 +188,7 @@ _LEVEL1RECORD = _descriptor.Descriptor(
oneofs
=
[
],
serialized_start
=
64
,
serialized_end
=
4
22
,
serialized_end
=
4
38
,
)
...
...
@@ -197,14 +202,14 @@ _FINDLEVEL1REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'dfs.msc.level1.FindLevel1Req.OtherConditionsEntry.key'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'value'
,
full_name
=
'dfs.msc.level1.FindLevel1Req.OtherConditionsEntry.value'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
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
),
...
...
@@ -214,14 +219,14 @@ _FINDLEVEL1REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
_b
(
'8
\001
'
)
,
serialized_options
=
b
'8
\001
'
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
6
83
,
serialized_end
=
73
7
,
serialized_start
=
6
99
,
serialized_end
=
7
5
3
,
)
_FINDLEVEL1REQ
=
_descriptor
.
Descriptor
(
...
...
@@ -234,28 +239,28 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.msc.level1.FindLevel1Req.level0_id'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'data_type'
,
full_name
=
'dfs.msc.level1.FindLevel1Req.data_type'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time_start'
,
full_name
=
'dfs.msc.level1.FindLevel1Req.create_time_start'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time_end'
,
full_name
=
'dfs.msc.level1.FindLevel1Req.create_time_end'
,
index
=
3
,
number
=
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
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
),
...
...
@@ -276,7 +281,7 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'filename'
,
full_name
=
'dfs.msc.level1.FindLevel1Req.filename'
,
index
=
6
,
number
=
7
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
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
),
...
...
@@ -306,8 +311,8 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
4
25
,
serialized_end
=
73
7
,
serialized_start
=
4
41
,
serialized_end
=
7
5
3
,
)
...
...
@@ -358,8 +363,84 @@ _FINDLEVEL1RESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
740
,
serialized_end
=
870
,
serialized_start
=
756
,
serialized_end
=
886
,
)
_FINDBYBRICKIDSREQ
=
_descriptor
.
Descriptor
(
name
=
'FindByBrickIdsReq'
,
full_name
=
'dfs.msc.level1.FindByBrickIdsReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'brick_ids'
,
full_name
=
'dfs.msc.level1.FindByBrickIdsReq.brick_ids'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
888
,
serialized_end
=
926
,
)
_FINDBYBRICKIDSRESP
=
_descriptor
.
Descriptor
(
name
=
'FindByBrickIdsResp'
,
full_name
=
'dfs.msc.level1.FindByBrickIdsResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.msc.level1.FindByBrickIdsResp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.msc.level1.FindByBrickIdsResp.error'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'records'
,
full_name
=
'dfs.msc.level1.FindByBrickIdsResp.records'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
928
,
serialized_end
=
1042
,
)
...
...
@@ -380,14 +461,14 @@ _GETLEVEL1REQ = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.msc.level1.GetLevel1Req.level0_id'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'data_type'
,
full_name
=
'dfs.msc.level1.GetLevel1Req.data_type'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
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
),
...
...
@@ -403,8 +484,8 @@ _GETLEVEL1REQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
872
,
serialized_end
=
936
,
serialized_start
=
1044
,
serialized_end
=
1108
,
)
...
...
@@ -434,8 +515,8 @@ _GETLEVEL1RESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
938
,
serialized_end
=
999
,
serialized_start
=
1110
,
serialized_end
=
1171
,
)
...
...
@@ -456,7 +537,7 @@ _WRITELEVEL1REQ = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'data'
,
full_name
=
'dfs.msc.level1.WriteLevel1Req.data'
,
index
=
1
,
number
=
2
,
type
=
12
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
,
has_default_value
=
False
,
default_value
=
b
""
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
...
...
@@ -472,8 +553,8 @@ _WRITELEVEL1REQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
001
,
serialized_end
=
1
077
,
serialized_start
=
1
173
,
serialized_end
=
1
249
,
)
...
...
@@ -517,8 +598,8 @@ _WRITELEVEL1RESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
079
,
serialized_end
=
1
189
,
serialized_start
=
1
251
,
serialized_end
=
1
361
,
)
...
...
@@ -555,8 +636,8 @@ _UPDATEQC1STATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
191
,
serialized_end
=
1
239
,
serialized_start
=
1
363
,
serialized_end
=
1
411
,
)
...
...
@@ -593,8 +674,8 @@ _UPDATEQC1STATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
2
41
,
serialized_end
=
1
309
,
serialized_start
=
141
3
,
serialized_end
=
1
481
,
)
...
...
@@ -631,8 +712,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
311
,
serialized_end
=
1
360
,
serialized_start
=
1
483
,
serialized_end
=
1
532
,
)
...
...
@@ -669,8 +750,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
362
,
serialized_end
=
1
431
,
serialized_start
=
1
534
,
serialized_end
=
1
603
,
)
_LEVEL1RECORD_REFSENTRY
.
containing_type
=
_LEVEL1RECORD
...
...
@@ -679,6 +760,8 @@ _FINDLEVEL1REQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL1REQ
_FINDLEVEL1REQ
.
fields_by_name
[
'other_conditions'
].
message_type
=
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
_FINDLEVEL1RESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDLEVEL1RESP
.
fields_by_name
[
'records'
].
message_type
=
_LEVEL1RECORD
_FINDBYBRICKIDSRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDBYBRICKIDSRESP
.
fields_by_name
[
'records'
].
message_type
=
_LEVEL1RECORD
_GETLEVEL1RESP
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL1RECORD
_WRITELEVEL1REQ
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL1RECORD
_WRITELEVEL1RESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
...
...
@@ -688,6 +771,8 @@ _UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__p
DESCRIPTOR
.
message_types_by_name
[
'Level1Record'
]
=
_LEVEL1RECORD
DESCRIPTOR
.
message_types_by_name
[
'FindLevel1Req'
]
=
_FINDLEVEL1REQ
DESCRIPTOR
.
message_types_by_name
[
'FindLevel1Resp'
]
=
_FINDLEVEL1RESP
DESCRIPTOR
.
message_types_by_name
[
'FindByBrickIdsReq'
]
=
_FINDBYBRICKIDSREQ
DESCRIPTOR
.
message_types_by_name
[
'FindByBrickIdsResp'
]
=
_FINDBYBRICKIDSRESP
DESCRIPTOR
.
message_types_by_name
[
'GetLevel1Req'
]
=
_GETLEVEL1REQ
DESCRIPTOR
.
message_types_by_name
[
'GetLevel1Resp'
]
=
_GETLEVEL1RESP
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel1Req'
]
=
_WRITELEVEL1REQ
...
...
@@ -735,6 +820,20 @@ FindLevel1Resp = _reflection.GeneratedProtocolMessageType('FindLevel1Resp', (_me
})
_sym_db
.
RegisterMessage
(
FindLevel1Resp
)
FindByBrickIdsReq
=
_reflection
.
GeneratedProtocolMessageType
(
'FindByBrickIdsReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDBYBRICKIDSREQ
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.msc.level1.FindByBrickIdsReq)
})
_sym_db
.
RegisterMessage
(
FindByBrickIdsReq
)
FindByBrickIdsResp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindByBrickIdsResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDBYBRICKIDSRESP
,
'__module__'
:
'msc.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.msc.level1.FindByBrickIdsResp)
})
_sym_db
.
RegisterMessage
(
FindByBrickIdsResp
)
GetLevel1Req
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLevel1Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLEVEL1REQ
,
'__module__'
:
'msc.level1.level1_pb2'
...
...
@@ -802,8 +901,8 @@ _LEVEL1SRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1
434
,
serialized_end
=
1857
,
serialized_start
=
1
606
,
serialized_end
=
2120
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
...
...
@@ -814,10 +913,19 @@ _LEVEL1SRV = _descriptor.ServiceDescriptor(
output_type
=
_FINDLEVEL1RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'FindByBrickIds'
,
full_name
=
'dfs.msc.level1.Level1Srv.FindByBrickIds'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_FINDBYBRICKIDSREQ
,
output_type
=
_FINDBYBRICKIDSRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Get'
,
full_name
=
'dfs.msc.level1.Level1Srv.Get'
,
index
=
1
,
index
=
2
,
containing_service
=
None
,
input_type
=
_GETLEVEL1REQ
,
output_type
=
_GETLEVEL1RESP
,
...
...
@@ -826,7 +934,7 @@ _LEVEL1SRV = _descriptor.ServiceDescriptor(
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'dfs.msc.level1.Level1Srv.Write'
,
index
=
2
,
index
=
3
,
containing_service
=
None
,
input_type
=
_WRITELEVEL1REQ
,
output_type
=
_WRITELEVEL1RESP
,
...
...
@@ -835,7 +943,7 @@ _LEVEL1SRV = _descriptor.ServiceDescriptor(
_descriptor
.
MethodDescriptor
(
name
=
'UpdateQc1Status'
,
full_name
=
'dfs.msc.level1.Level1Srv.UpdateQc1Status'
,
index
=
3
,
index
=
4
,
containing_service
=
None
,
input_type
=
_UPDATEQC1STATUSREQ
,
output_type
=
_UPDATEQC1STATUSRESP
,
...
...
@@ -844,7 +952,7 @@ _LEVEL1SRV = _descriptor.ServiceDescriptor(
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'dfs.msc.level1.Level1Srv.UpdateProcStatus'
,
index
=
4
,
index
=
5
,
containing_service
=
None
,
input_type
=
_UPDATEPROCSTATUSREQ
,
output_type
=
_UPDATEPROCSTATUSRESP
,
...
...
csst_dfs_proto/msc/level1/level1_pb2_grpc.py
View file @
3c5ee28a
...
...
@@ -5,8 +5,7 @@ from . import level1_pb2 as msc_dot_level1_dot_level1__pb2
class
Level1SrvStub
(
object
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
def
__init__
(
self
,
channel
):
"""Constructor.
...
...
@@ -19,6 +18,11 @@ class Level1SrvStub(object):
request_serializer
=
msc_dot_level1_dot_level1__pb2
.
FindLevel1Req
.
SerializeToString
,
response_deserializer
=
msc_dot_level1_dot_level1__pb2
.
FindLevel1Resp
.
FromString
,
)
self
.
FindByBrickIds
=
channel
.
unary_unary
(
'/dfs.msc.level1.Level1Srv/FindByBrickIds'
,
request_serializer
=
msc_dot_level1_dot_level1__pb2
.
FindByBrickIdsReq
.
SerializeToString
,
response_deserializer
=
msc_dot_level1_dot_level1__pb2
.
FindByBrickIdsResp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/dfs.msc.level1.Level1Srv/Get'
,
request_serializer
=
msc_dot_level1_dot_level1__pb2
.
GetLevel1Req
.
SerializeToString
,
...
...
@@ -42,40 +46,40 @@ class Level1SrvStub(object):
class
Level1SrvServicer
(
object
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
def
Find
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
FindByBrickIds
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Get
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Write
(
self
,
request_iterator
,
context
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
UpdateQc1Status
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
UpdateProcStatus
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
...
...
@@ -88,6 +92,11 @@ def add_Level1SrvServicer_to_server(servicer, server):
request_deserializer
=
msc_dot_level1_dot_level1__pb2
.
FindLevel1Req
.
FromString
,
response_serializer
=
msc_dot_level1_dot_level1__pb2
.
FindLevel1Resp
.
SerializeToString
,
),
'FindByBrickIds'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
FindByBrickIds
,
request_deserializer
=
msc_dot_level1_dot_level1__pb2
.
FindByBrickIdsReq
.
FromString
,
response_serializer
=
msc_dot_level1_dot_level1__pb2
.
FindByBrickIdsResp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
msc_dot_level1_dot_level1__pb2
.
GetLevel1Req
.
FromString
,
...
...
@@ -112,3 +121,104 @@ def add_Level1SrvServicer_to_server(servicer, server):
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'dfs.msc.level1.Level1Srv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
# This class is part of an EXPERIMENTAL API.
class
Level1Srv
(
object
):
"""Missing associated documentation comment in .proto file"""
@
staticmethod
def
Find
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.msc.level1.Level1Srv/Find'
,
msc_dot_level1_dot_level1__pb2
.
FindLevel1Req
.
SerializeToString
,
msc_dot_level1_dot_level1__pb2
.
FindLevel1Resp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
FindByBrickIds
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.msc.level1.Level1Srv/FindByBrickIds'
,
msc_dot_level1_dot_level1__pb2
.
FindByBrickIdsReq
.
SerializeToString
,
msc_dot_level1_dot_level1__pb2
.
FindByBrickIdsResp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
Get
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.msc.level1.Level1Srv/Get'
,
msc_dot_level1_dot_level1__pb2
.
GetLevel1Req
.
SerializeToString
,
msc_dot_level1_dot_level1__pb2
.
GetLevel1Resp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
Write
(
request_iterator
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
stream_unary
(
request_iterator
,
target
,
'/dfs.msc.level1.Level1Srv/Write'
,
msc_dot_level1_dot_level1__pb2
.
WriteLevel1Req
.
SerializeToString
,
msc_dot_level1_dot_level1__pb2
.
WriteLevel1Resp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
UpdateQc1Status
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.msc.level1.Level1Srv/UpdateQc1Status'
,
msc_dot_level1_dot_level1__pb2
.
UpdateQc1StatusReq
.
SerializeToString
,
msc_dot_level1_dot_level1__pb2
.
UpdateQc1StatusResp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
UpdateProcStatus
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.msc.level1.Level1Srv/UpdateProcStatus'
,
msc_dot_level1_dot_level1__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
msc_dot_level1_dot_level1__pb2
.
UpdateProcStatusResp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
csst_dfs_proto/sls/level1/level1_pb2.py
View file @
3c5ee28a
...
...
@@ -2,8 +2,6 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: sls/level1/level1.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
...
...
@@ -20,8 +18,8 @@ DESCRIPTOR = _descriptor.FileDescriptor(
name
=
'sls/level1/level1.proto'
,
package
=
'dfs.sls.level1'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z
\037
cnlab.net/csst/proto/sls/level1'
)
,
serialized_pb
=
_b
(
'
\n\x17
sls/level1/level1.proto
\x12\x0e\x64\x66
s.sls.level1
\x1a\x12\x63
ommon/error.proto
\"\x
d
2\x02\n\x0c
Level1Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_params
\x18\x04
\x01
(
\t\x12\x10\n\x08\x66
ilename
\x18\x0
5
\x01
(
\t\x12\x11\n\t
file_path
\x18\x0
6
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x0
7
\x01
(
\x05\x12\x10\n\x08
qc1_time
\x18\
x08
\x01
(
\t\x12\x12\n\n
prc_status
\x18\
t
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\
n
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0
b
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\
x0c
\x01
(
\t\x12\x34\n\x04
refs
\x18\
r
\x03
(
\x0b\x32
&.dfs.sls.level1.Level1Record.RefsEntry
\x1a
+
\n\t
RefsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x03
:
\x02\x38\x01\"\xb8\x02\n\r
FindLevel1Req
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\t\x12\x11\n\t
data_type
\x18\x02
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x03
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\x05\x12
L
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32\x32
.dfs.sls.level1.FindLevel1Req.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x82\x01\n\x0e\x46
indLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
-
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1c
.dfs.sls.level1.Level1Record
\"
@
\n\x0c
GetLevel1Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\"
=
\n\r
GetLevel1Resp
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.sls.level1.Level1Record
\"
L
\n\x0e
WriteLevel1Req
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.sls.level1.Level1Record
\x12\x0c\n\x04\x64\x61
ta
\x18\x02
\x01
(
\x0c\"
n
\n\x0f
WriteLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
,
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x1c
.dfs.sls.level1.Level1Record
\"
0
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc1StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
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
a7
\x0
3
\n\t
Level1Srv
\x12
G
\n\x04\x46
ind
\x12\x1d
.dfs.sls.level1.FindLevel1Req
\x1a\x1e
.dfs.sls.level1.FindLevel1Resp
\"\x00\x12\x44\n\x03
Get
\x12\x1c
.dfs.sls.level1.GetLevel1Req
\x1a\x1d
.dfs.sls.level1.GetLevel1Resp
\"\x00\x12
L
\n\x05
Write
\x12\x1e
.dfs.sls.level1.WriteLevel1Req
\x1a\x1f
.dfs.sls.level1.WriteLevel1Resp
\"\x00
(
\x01\x12\\\n\x0f
UpdateQc1Status
\x12\"
.dfs.sls.level1.UpdateQc1StatusReq
\x1a
#.dfs.sls.level1.UpdateQc1StatusResp
\"\x00\x12
_
\n\x10
UpdateProcStatus
\x12
#.dfs.sls.level1.UpdateProcStatusReq
\x1a
$.dfs.sls.level1.UpdateProcStatusResp
\"\x00\x42
!Z
\x1f\x63
nlab.net/csst/proto/sls/level1b
\x06
proto3'
)
serialized_options
=
b
'Z
\037
cnlab.net/csst/proto/sls/level1'
,
serialized_pb
=
b
'
\n\x17
sls/level1/level1.proto
\x12\x0e\x64\x66
s.sls.level1
\x1a\x12\x63
ommon/error.proto
\"\x
e
2\x02\n\x0c
Level1Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_params
\x18\x04
\x01
(
\t\x12\x0e\n\x06\x66
ilter
\x18\x05
\x01
(
\t\x12\x10\n\x08\x66
ilename
\x18\x0
6
\x01
(
\t\x12\x11\n\t
file_path
\x18\x0
7
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x0
8
\x01
(
\x05\x12\x10\n\x08
qc1_time
\x18\
t
\x01
(
\t\x12\x12\n\n
prc_status
\x18\
n
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\
x0b
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0
c
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\
r
\x01
(
\t\x12\x34\n\x04
refs
\x18\
x0e
\x03
(
\x0b\x32
&.dfs.sls.level1.Level1Record.RefsEntry
\x1a
+
\n\t
RefsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\x03
:
\x02\x38\x01\"\xb8\x02\n\r
FindLevel1Req
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\t\x12\x11\n\t
data_type
\x18\x02
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x03
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\x05\x12
L
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32\x32
.dfs.sls.level1.FindLevel1Req.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x82\x01\n\x0e\x46
indLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
-
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1c
.dfs.sls.level1.Level1Record
\"
&
\n\x11\x46
indByBrickIdsReq
\x12\x11\n\t
brick_ids
\x18\x01
\x03
(
\x05\"
r
\n\x12\x46
indByBrickIdsResp
\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\x07
records
\x18\x03
\x03
(
\x0b\x32\x1c
.dfs.sls.level1.Level1Record
\"
@
\n\x0c
GetLevel1Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\"
=
\n\r
GetLevel1Resp
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.sls.level1.Level1Record
\"
L
\n\x0e
WriteLevel1Req
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.sls.level1.Level1Record
\x12\x0c\n\x04\x64\x61
ta
\x18\x02
\x01
(
\x0c\"
n
\n\x0f
WriteLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
,
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x1c
.dfs.sls.level1.Level1Record
\"
0
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc1StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
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
82
\x0
4
\n\t
Level1Srv
\x12
G
\n\x04\x46
ind
\x12\x1d
.dfs.sls.level1.FindLevel1Req
\x1a\x1e
.dfs.sls.level1.FindLevel1Resp
\"\x00\
x12
Y
\n\x0e\x46
indByBrickIds
\x12
!.dfs.sls.level1.FindByBrickIdsReq
\x1a\"
.dfs.sls.level1.FindByBrickIdsResp
\"\x00\
x12\x44\n\x03
Get
\x12\x1c
.dfs.sls.level1.GetLevel1Req
\x1a\x1d
.dfs.sls.level1.GetLevel1Resp
\"\x00\x12
L
\n\x05
Write
\x12\x1e
.dfs.sls.level1.WriteLevel1Req
\x1a\x1f
.dfs.sls.level1.WriteLevel1Resp
\"\x00
(
\x01\x12\\\n\x0f
UpdateQc1Status
\x12\"
.dfs.sls.level1.UpdateQc1StatusReq
\x1a
#.dfs.sls.level1.UpdateQc1StatusResp
\"\x00\x12
_
\n\x10
UpdateProcStatus
\x12
#.dfs.sls.level1.UpdateProcStatusReq
\x1a
$.dfs.sls.level1.UpdateProcStatusResp
\"\x00\x42
!Z
\x1f\x63
nlab.net/csst/proto/sls/level1b
\x06
proto3'
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -38,7 +36,7 @@ _LEVEL1RECORD_REFSENTRY = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'dfs.sls.level1.Level1Record.RefsEntry.key'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
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
),
...
...
@@ -55,14 +53,14 @@ _LEVEL1RECORD_REFSENTRY = _descriptor.Descriptor(
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
_b
(
'8
\001
'
)
,
serialized_options
=
b
'8
\001
'
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
35
9
,
serialized_end
=
4
02
,
serialized_start
=
3
7
5
,
serialized_end
=
4
18
,
)
_LEVEL1RECORD
=
_descriptor
.
Descriptor
(
...
...
@@ -82,83 +80,90 @@ _LEVEL1RECORD = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.sls.level1.Level1Record.level0_id'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'data_type'
,
full_name
=
'dfs.sls.level1.Level1Record.data_type'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_params'
,
full_name
=
'dfs.sls.level1.Level1Record.prc_params'
,
index
=
3
,
number
=
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
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
=
'fil
ename
'
,
full_name
=
'dfs.sls.level1.Level1Record.fil
ename
'
,
index
=
4
,
name
=
'fil
ter
'
,
full_name
=
'dfs.sls.level1.Level1Record.fil
ter
'
,
index
=
4
,
number
=
5
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'file
_path
'
,
full_name
=
'dfs.sls.level1.Level1Record.file
_path
'
,
index
=
5
,
name
=
'file
name
'
,
full_name
=
'dfs.sls.level1.Level1Record.file
name
'
,
index
=
5
,
number
=
6
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'
qc1_status
'
,
full_name
=
'dfs.sls.level1.Level1Record.
qc1_status
'
,
index
=
6
,
number
=
7
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'
file_path
'
,
full_name
=
'dfs.sls.level1.Level1Record.
file_path
'
,
index
=
6
,
number
=
7
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
)
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'qc1_
time
'
,
full_name
=
'dfs.sls.level1.Level1Record.qc1_
time
'
,
index
=
7
,
number
=
8
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
)
,
name
=
'qc1_
status
'
,
full_name
=
'dfs.sls.level1.Level1Record.qc1_
status
'
,
index
=
7
,
number
=
8
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'
prc_status
'
,
full_name
=
'dfs.sls.level1.Level1Record.
prc_status
'
,
index
=
8
,
number
=
9
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'
qc1_time
'
,
full_name
=
'dfs.sls.level1.Level1Record.
qc1_time
'
,
index
=
8
,
number
=
9
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
)
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_
time
'
,
full_name
=
'dfs.sls.level1.Level1Record.prc_
time
'
,
index
=
9
,
number
=
10
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
)
,
name
=
'prc_
status
'
,
full_name
=
'dfs.sls.level1.Level1Record.prc_
status
'
,
index
=
9
,
number
=
10
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'
create
_time'
,
full_name
=
'dfs.sls.level1.Level1Record.
create
_time'
,
index
=
10
,
name
=
'
prc
_time'
,
full_name
=
'dfs.sls.level1.Level1Record.
prc
_time'
,
index
=
10
,
number
=
11
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'
pipeline_id
'
,
full_name
=
'dfs.sls.level1.Level1Record.
pipeline_id
'
,
index
=
11
,
name
=
'
create_time
'
,
full_name
=
'dfs.sls.level1.Level1Record.
create_time
'
,
index
=
11
,
number
=
12
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'refs'
,
full_name
=
'dfs.sls.level1.Level1Record.refs'
,
index
=
12
,
number
=
13
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
name
=
'pipeline_id'
,
full_name
=
'dfs.sls.level1.Level1Record.pipeline_id'
,
index
=
12
,
number
=
13
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'refs'
,
full_name
=
'dfs.sls.level1.Level1Record.refs'
,
index
=
13
,
number
=
14
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
...
...
@@ -176,7 +181,7 @@ _LEVEL1RECORD = _descriptor.Descriptor(
oneofs
=
[
],
serialized_start
=
64
,
serialized_end
=
4
02
,
serialized_end
=
4
18
,
)
...
...
@@ -190,14 +195,14 @@ _FINDLEVEL1REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'dfs.sls.level1.FindLevel1Req.OtherConditionsEntry.key'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'value'
,
full_name
=
'dfs.sls.level1.FindLevel1Req.OtherConditionsEntry.value'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
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
),
...
...
@@ -207,14 +212,14 @@ _FINDLEVEL1REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
_b
(
'8
\001
'
)
,
serialized_options
=
b
'8
\001
'
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
6
63
,
serialized_end
=
7
17
,
serialized_start
=
6
79
,
serialized_end
=
7
33
,
)
_FINDLEVEL1REQ
=
_descriptor
.
Descriptor
(
...
...
@@ -227,28 +232,28 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.sls.level1.FindLevel1Req.level0_id'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'data_type'
,
full_name
=
'dfs.sls.level1.FindLevel1Req.data_type'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time_start'
,
full_name
=
'dfs.sls.level1.FindLevel1Req.create_time_start'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time_end'
,
full_name
=
'dfs.sls.level1.FindLevel1Req.create_time_end'
,
index
=
3
,
number
=
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
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
),
...
...
@@ -269,7 +274,7 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'filename'
,
full_name
=
'dfs.sls.level1.FindLevel1Req.filename'
,
index
=
6
,
number
=
7
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
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
),
...
...
@@ -299,8 +304,8 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
4
05
,
serialized_end
=
7
17
,
serialized_start
=
4
21
,
serialized_end
=
7
33
,
)
...
...
@@ -351,8 +356,84 @@ _FINDLEVEL1RESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
720
,
serialized_end
=
850
,
serialized_start
=
736
,
serialized_end
=
866
,
)
_FINDBYBRICKIDSREQ
=
_descriptor
.
Descriptor
(
name
=
'FindByBrickIdsReq'
,
full_name
=
'dfs.sls.level1.FindByBrickIdsReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'brick_ids'
,
full_name
=
'dfs.sls.level1.FindByBrickIdsReq.brick_ids'
,
index
=
0
,
number
=
1
,
type
=
5
,
cpp_type
=
1
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
868
,
serialized_end
=
906
,
)
_FINDBYBRICKIDSRESP
=
_descriptor
.
Descriptor
(
name
=
'FindByBrickIdsResp'
,
full_name
=
'dfs.sls.level1.FindByBrickIdsResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.sls.level1.FindByBrickIdsResp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.sls.level1.FindByBrickIdsResp.error'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'records'
,
full_name
=
'dfs.sls.level1.FindByBrickIdsResp.records'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
908
,
serialized_end
=
1022
,
)
...
...
@@ -373,14 +454,14 @@ _GETLEVEL1REQ = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.sls.level1.GetLevel1Req.level0_id'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'data_type'
,
full_name
=
'dfs.sls.level1.GetLevel1Req.data_type'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
.
decode
(
'utf-8'
),
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
),
...
...
@@ -396,8 +477,8 @@ _GETLEVEL1REQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
852
,
serialized_end
=
916
,
serialized_start
=
1024
,
serialized_end
=
1088
,
)
...
...
@@ -427,8 +508,8 @@ _GETLEVEL1RESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
918
,
serialized_end
=
979
,
serialized_start
=
1090
,
serialized_end
=
1151
,
)
...
...
@@ -449,7 +530,7 @@ _WRITELEVEL1REQ = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
name
=
'data'
,
full_name
=
'dfs.sls.level1.WriteLevel1Req.data'
,
index
=
1
,
number
=
2
,
type
=
12
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
)
,
has_default_value
=
False
,
default_value
=
b
""
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
...
...
@@ -465,8 +546,8 @@ _WRITELEVEL1REQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
981
,
serialized_end
=
1
057
,
serialized_start
=
1153
,
serialized_end
=
1
229
,
)
...
...
@@ -510,8 +591,8 @@ _WRITELEVEL1RESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
059
,
serialized_end
=
1
169
,
serialized_start
=
1
231
,
serialized_end
=
1
341
,
)
...
...
@@ -548,8 +629,8 @@ _UPDATEQC1STATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
171
,
serialized_end
=
1
219
,
serialized_start
=
1
343
,
serialized_end
=
1
391
,
)
...
...
@@ -586,8 +667,8 @@ _UPDATEQC1STATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
221
,
serialized_end
=
1
289
,
serialized_start
=
1
393
,
serialized_end
=
1
461
,
)
...
...
@@ -624,8 +705,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
291
,
serialized_end
=
1
340
,
serialized_start
=
1
463
,
serialized_end
=
1
512
,
)
...
...
@@ -662,8 +743,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
342
,
serialized_end
=
1
411
,
serialized_start
=
1
514
,
serialized_end
=
1
583
,
)
_LEVEL1RECORD_REFSENTRY
.
containing_type
=
_LEVEL1RECORD
...
...
@@ -672,6 +753,8 @@ _FINDLEVEL1REQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL1REQ
_FINDLEVEL1REQ
.
fields_by_name
[
'other_conditions'
].
message_type
=
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
_FINDLEVEL1RESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDLEVEL1RESP
.
fields_by_name
[
'records'
].
message_type
=
_LEVEL1RECORD
_FINDBYBRICKIDSRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDBYBRICKIDSRESP
.
fields_by_name
[
'records'
].
message_type
=
_LEVEL1RECORD
_GETLEVEL1RESP
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL1RECORD
_WRITELEVEL1REQ
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL1RECORD
_WRITELEVEL1RESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
...
...
@@ -681,6 +764,8 @@ _UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__p
DESCRIPTOR
.
message_types_by_name
[
'Level1Record'
]
=
_LEVEL1RECORD
DESCRIPTOR
.
message_types_by_name
[
'FindLevel1Req'
]
=
_FINDLEVEL1REQ
DESCRIPTOR
.
message_types_by_name
[
'FindLevel1Resp'
]
=
_FINDLEVEL1RESP
DESCRIPTOR
.
message_types_by_name
[
'FindByBrickIdsReq'
]
=
_FINDBYBRICKIDSREQ
DESCRIPTOR
.
message_types_by_name
[
'FindByBrickIdsResp'
]
=
_FINDBYBRICKIDSRESP
DESCRIPTOR
.
message_types_by_name
[
'GetLevel1Req'
]
=
_GETLEVEL1REQ
DESCRIPTOR
.
message_types_by_name
[
'GetLevel1Resp'
]
=
_GETLEVEL1RESP
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel1Req'
]
=
_WRITELEVEL1REQ
...
...
@@ -728,6 +813,20 @@ FindLevel1Resp = _reflection.GeneratedProtocolMessageType('FindLevel1Resp', (_me
})
_sym_db
.
RegisterMessage
(
FindLevel1Resp
)
FindByBrickIdsReq
=
_reflection
.
GeneratedProtocolMessageType
(
'FindByBrickIdsReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDBYBRICKIDSREQ
,
'__module__'
:
'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.FindByBrickIdsReq)
})
_sym_db
.
RegisterMessage
(
FindByBrickIdsReq
)
FindByBrickIdsResp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindByBrickIdsResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDBYBRICKIDSRESP
,
'__module__'
:
'sls.level1.level1_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level1.FindByBrickIdsResp)
})
_sym_db
.
RegisterMessage
(
FindByBrickIdsResp
)
GetLevel1Req
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLevel1Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLEVEL1REQ
,
'__module__'
:
'sls.level1.level1_pb2'
...
...
@@ -795,8 +894,8 @@ _LEVEL1SRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1
414
,
serialized_end
=
1837
,
serialized_start
=
1
586
,
serialized_end
=
2100
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
...
...
@@ -807,10 +906,19 @@ _LEVEL1SRV = _descriptor.ServiceDescriptor(
output_type
=
_FINDLEVEL1RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'FindByBrickIds'
,
full_name
=
'dfs.sls.level1.Level1Srv.FindByBrickIds'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_FINDBYBRICKIDSREQ
,
output_type
=
_FINDBYBRICKIDSRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Get'
,
full_name
=
'dfs.sls.level1.Level1Srv.Get'
,
index
=
1
,
index
=
2
,
containing_service
=
None
,
input_type
=
_GETLEVEL1REQ
,
output_type
=
_GETLEVEL1RESP
,
...
...
@@ -819,7 +927,7 @@ _LEVEL1SRV = _descriptor.ServiceDescriptor(
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'dfs.sls.level1.Level1Srv.Write'
,
index
=
2
,
index
=
3
,
containing_service
=
None
,
input_type
=
_WRITELEVEL1REQ
,
output_type
=
_WRITELEVEL1RESP
,
...
...
@@ -828,7 +936,7 @@ _LEVEL1SRV = _descriptor.ServiceDescriptor(
_descriptor
.
MethodDescriptor
(
name
=
'UpdateQc1Status'
,
full_name
=
'dfs.sls.level1.Level1Srv.UpdateQc1Status'
,
index
=
3
,
index
=
4
,
containing_service
=
None
,
input_type
=
_UPDATEQC1STATUSREQ
,
output_type
=
_UPDATEQC1STATUSRESP
,
...
...
@@ -837,7 +945,7 @@ _LEVEL1SRV = _descriptor.ServiceDescriptor(
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'dfs.sls.level1.Level1Srv.UpdateProcStatus'
,
index
=
4
,
index
=
5
,
containing_service
=
None
,
input_type
=
_UPDATEPROCSTATUSREQ
,
output_type
=
_UPDATEPROCSTATUSRESP
,
...
...
csst_dfs_proto/sls/level1/level1_pb2_grpc.py
View file @
3c5ee28a
...
...
@@ -5,8 +5,7 @@ from . import level1_pb2 as sls_dot_level1_dot_level1__pb2
class
Level1SrvStub
(
object
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
def
__init__
(
self
,
channel
):
"""Constructor.
...
...
@@ -19,6 +18,11 @@ class Level1SrvStub(object):
request_serializer
=
sls_dot_level1_dot_level1__pb2
.
FindLevel1Req
.
SerializeToString
,
response_deserializer
=
sls_dot_level1_dot_level1__pb2
.
FindLevel1Resp
.
FromString
,
)
self
.
FindByBrickIds
=
channel
.
unary_unary
(
'/dfs.sls.level1.Level1Srv/FindByBrickIds'
,
request_serializer
=
sls_dot_level1_dot_level1__pb2
.
FindByBrickIdsReq
.
SerializeToString
,
response_deserializer
=
sls_dot_level1_dot_level1__pb2
.
FindByBrickIdsResp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/dfs.sls.level1.Level1Srv/Get'
,
request_serializer
=
sls_dot_level1_dot_level1__pb2
.
GetLevel1Req
.
SerializeToString
,
...
...
@@ -42,40 +46,40 @@ class Level1SrvStub(object):
class
Level1SrvServicer
(
object
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
def
Find
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
FindByBrickIds
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Get
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Write
(
self
,
request_iterator
,
context
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
UpdateQc1Status
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
UpdateProcStatus
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
...
...
@@ -88,6 +92,11 @@ def add_Level1SrvServicer_to_server(servicer, server):
request_deserializer
=
sls_dot_level1_dot_level1__pb2
.
FindLevel1Req
.
FromString
,
response_serializer
=
sls_dot_level1_dot_level1__pb2
.
FindLevel1Resp
.
SerializeToString
,
),
'FindByBrickIds'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
FindByBrickIds
,
request_deserializer
=
sls_dot_level1_dot_level1__pb2
.
FindByBrickIdsReq
.
FromString
,
response_serializer
=
sls_dot_level1_dot_level1__pb2
.
FindByBrickIdsResp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
sls_dot_level1_dot_level1__pb2
.
GetLevel1Req
.
FromString
,
...
...
@@ -112,3 +121,104 @@ def add_Level1SrvServicer_to_server(servicer, server):
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'dfs.sls.level1.Level1Srv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
# This class is part of an EXPERIMENTAL API.
class
Level1Srv
(
object
):
"""Missing associated documentation comment in .proto file"""
@
staticmethod
def
Find
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.sls.level1.Level1Srv/Find'
,
sls_dot_level1_dot_level1__pb2
.
FindLevel1Req
.
SerializeToString
,
sls_dot_level1_dot_level1__pb2
.
FindLevel1Resp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
FindByBrickIds
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.sls.level1.Level1Srv/FindByBrickIds'
,
sls_dot_level1_dot_level1__pb2
.
FindByBrickIdsReq
.
SerializeToString
,
sls_dot_level1_dot_level1__pb2
.
FindByBrickIdsResp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
Get
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.sls.level1.Level1Srv/Get'
,
sls_dot_level1_dot_level1__pb2
.
GetLevel1Req
.
SerializeToString
,
sls_dot_level1_dot_level1__pb2
.
GetLevel1Resp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
Write
(
request_iterator
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
stream_unary
(
request_iterator
,
target
,
'/dfs.sls.level1.Level1Srv/Write'
,
sls_dot_level1_dot_level1__pb2
.
WriteLevel1Req
.
SerializeToString
,
sls_dot_level1_dot_level1__pb2
.
WriteLevel1Resp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
UpdateQc1Status
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.sls.level1.Level1Srv/UpdateQc1Status'
,
sls_dot_level1_dot_level1__pb2
.
UpdateQc1StatusReq
.
SerializeToString
,
sls_dot_level1_dot_level1__pb2
.
UpdateQc1StatusResp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
UpdateProcStatus
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.sls.level1.Level1Srv/UpdateProcStatus'
,
sls_dot_level1_dot_level1__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
sls_dot_level1_dot_level1__pb2
.
UpdateProcStatusResp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
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