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
2979ecf5
Commit
2979ecf5
authored
Feb 12, 2023
by
Wei Shoulin
Browse files
add filter
parent
8b47ad2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dfs_proto/facility/level0/level0_pb2.py
View file @
2979ecf5
...
...
@@ -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
\"\xca\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\x0c
\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\x0f
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x10
\x01
(
\t\x12\x0e\n\x06
header
\x18\x11
\x01
(
\t\"\x
a
8\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\x0
e
\x01
(
\x05\x12
U
\n\x10
other_conditions
\x18\x0
f
\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
\xd4\x04\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'
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
\"\xca\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\x0c
\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\x0f
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x10
\x01
(
\t\x12\x0e\n\x06
header
\x18\x11
\x01
(
\t\"\x
b
8\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\x0e\n\x06\x66
ilter
\x18\r
\x01
(
\t\x12\x0f\n\x07
version
\x18\
x0e
\x01
(
\t\x12\r\n\x05
limit
\x18\x0
f
\x01
(
\x05\x12
U
\n\x10
other_conditions
\x18\x
1
0
\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
\xd4\x04\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
,])
...
...
@@ -202,8 +202,8 @@ _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
7
77
,
serialized_end
=
8
31
,
serialized_start
=
7
93
,
serialized_end
=
8
47
,
)
_FINDLEVEL0DATAREQ
=
_descriptor
.
Descriptor
(
...
...
@@ -298,22 +298,29 @@ _FINDLEVEL0DATAREQ = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'
version
'
,
full_name
=
'dfs.facility.level0.FindLevel0DataReq.
version
'
,
index
=
12
,
name
=
'
filter
'
,
full_name
=
'dfs.facility.level0.FindLevel0DataReq.
filter
'
,
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
=
'limit'
,
full_name
=
'dfs.facility.level0.FindLevel0DataReq.limit'
,
index
=
13
,
number
=
14
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
name
=
'version'
,
full_name
=
'dfs.facility.level0.FindLevel0DataReq.version'
,
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
=
'limit'
,
full_name
=
'dfs.facility.level0.FindLevel0DataReq.limit'
,
index
=
14
,
number
=
15
,
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.facility.level0.FindLevel0DataReq.other_conditions'
,
index
=
1
4
,
number
=
1
5
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
name
=
'other_conditions'
,
full_name
=
'dfs.facility.level0.FindLevel0DataReq.other_conditions'
,
index
=
1
5
,
number
=
1
6
,
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
,
...
...
@@ -331,7 +338,7 @@ _FINDLEVEL0DATAREQ = _descriptor.Descriptor(
oneofs
=
[
],
serialized_start
=
407
,
serialized_end
=
8
31
,
serialized_end
=
8
47
,
)
...
...
@@ -382,8 +389,8 @@ _FINDLEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
8
34
,
serialized_end
=
9
73
,
serialized_start
=
8
50
,
serialized_end
=
9
89
,
)
...
...
@@ -413,8 +420,8 @@ _FINDBYBRICKIDSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
9
75
,
serialized_end
=
10
13
,
serialized_start
=
9
91
,
serialized_end
=
10
29
,
)
...
...
@@ -458,8 +465,8 @@ _FINDBYBRICKIDSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
101
5
,
serialized_end
=
11
34
,
serialized_start
=
10
3
1
,
serialized_end
=
11
50
,
)
...
...
@@ -503,8 +510,8 @@ _GETLEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
11
36
,
serialized_end
=
12
03
,
serialized_start
=
11
52
,
serialized_end
=
12
19
,
)
...
...
@@ -534,8 +541,8 @@ _GETLEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
12
05
,
serialized_end
=
12
75
,
serialized_start
=
12
21
,
serialized_end
=
12
91
,
)
...
...
@@ -565,8 +572,8 @@ _WRITELEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
12
77
,
serialized_end
=
134
8
,
serialized_start
=
12
93
,
serialized_end
=
13
6
4
,
)
...
...
@@ -610,8 +617,8 @@ _WRITELEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
13
50
,
serialized_end
=
14
69
,
serialized_start
=
13
66
,
serialized_end
=
14
85
,
)
...
...
@@ -662,8 +669,8 @@ _UPDATEQC0STATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
147
1
,
serialized_end
=
15
56
,
serialized_start
=
14
8
7
,
serialized_end
=
15
72
,
)
...
...
@@ -700,8 +707,8 @@ _UPDATEQC0STATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
15
58
,
serialized_end
=
162
6
,
serialized_start
=
15
74
,
serialized_end
=
16
4
2
,
)
...
...
@@ -752,8 +759,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
16
28
,
serialized_end
=
17
14
,
serialized_start
=
16
44
,
serialized_end
=
17
30
,
)
...
...
@@ -790,8 +797,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
17
16
,
serialized_end
=
1
785
,
serialized_start
=
17
32
,
serialized_end
=
1
801
,
)
_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDLEVEL0DATAREQ
...
...
@@ -930,8 +937,8 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1
788
,
serialized_end
=
2
384
,
serialized_start
=
1
804
,
serialized_end
=
2
400
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
...
...
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