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
952e9518
Commit
952e9518
authored
Sep 10, 2022
by
Wei Shoulin
Browse files
bugs
parent
2c219ab9
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
csst_dfs_proto/facility/level2producer/level2producer_pb2.py
View file @
952e9518
This diff is collapsed.
Click to expand it.
csst_dfs_proto/facility/level2producer/level2producer_pb2_grpc.py
View file @
952e9518
...
@@ -3,6 +3,7 @@ import grpc
...
@@ -3,6 +3,7 @@ import grpc
from
.
import
level2producer_pb2
as
facility_dot_level2producer_dot_level2producer__pb2
from
.
import
level2producer_pb2
as
facility_dot_level2producer_dot_level2producer__pb2
class
Level2ProducerSrvStub
(
object
):
class
Level2ProducerSrvStub
(
object
):
# missing associated documentation comment in .proto file
# missing associated documentation comment in .proto file
pass
pass
...
...
csst_dfs_proto/ifs/level0/level0_pb2.py
View file @
952e9518
...
@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
...
@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package
=
'dfs.ifs.level0'
,
package
=
'dfs.ifs.level0'
,
syntax
=
'proto3'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z
\037
cnlab.net/csst/proto/ifs/level0'
),
serialized_options
=
_b
(
'Z
\037
cnlab.net/csst/proto/ifs/level0'
),
serialized_pb
=
_b
(
'
\n\x17
ifs/level0/level0.proto
\x12\x0e\x64\x66
s.ifs.level0
\x1a\x12\x63
ommon/error.proto
\"\x
bf
\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\x13\n\x0b
object_name
\x18\x06
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x0
7
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x0
8
\x01
(
\x02\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\"\x
e1
\x0
2
\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\x13\n\x0b
object_name
\x18\x04
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x05
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x06
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\x07
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x08
\x01
(
\x05\x12\x11\n\t
file_name
\x18\t
\x01
(
\t\x12\r\n\x05
limit
\x18\n
\x01
(
\x05\x12
P
\n\x10
other_conditions
\x18\x0
b
\x03
(
\x0b\x32\x36
.dfs.ifs.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\"\x86\x01\n\x12\x46
indLevel0DataResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
-
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1c
.dfs.ifs.level0.Level0Record
\"
1
\n\x10
GetLevel0DataReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\"
A
\n\x11
GetLevel0DataResp
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.ifs.level0.Level0Record
\"
B
\n\x12
WriteLevel0DataReq
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.ifs.level0.Level0Record
\"
r
\n\x13
WriteLevel0DataResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
,
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x1c
.dfs.ifs.level0.Level0Record
\"
C
\n\x12
UpdateQc0StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x0e\n\x06
status
\x18\x03
\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
\"
D
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x0e\n\x06
status
\x18\x03
\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
\xbd\x03\n\t
Level0Srv
\x12
O
\n\x04\x46
ind
\x12
!.dfs.ifs.level0.FindLevel0DataReq
\x1a\"
.dfs.ifs.level0.FindLevel0DataResp
\"\x00\x12
L
\n\x03
Get
\x12
.dfs.ifs.level0.GetLevel0DataReq
\x1a
!.dfs.ifs.level0.GetLevel0DataResp
\"\x00\x12
R
\n\x05
Write
\x12\"
.dfs.ifs.level0.WriteLevel0DataReq
\x1a
#.dfs.ifs.level0.WriteLevel0DataResp
\"\x00\x12\\\n\x0f
UpdateQc0Status
\x12\"
.dfs.ifs.level0.UpdateQc0StatusReq
\x1a
#.dfs.ifs.level0.UpdateQc0StatusResp
\"\x00\x12
_
\n\x10
UpdateProcStatus
\x12
#.dfs.ifs.level0.UpdateProcStatusReq
\x1a
$.dfs.ifs.level0.UpdateProcStatusResp
\"\x00\x42
!Z
\x1f\x63
nlab.net/csst/proto/ifs/level0b
\x06
proto3'
)
serialized_pb
=
_b
(
'
\n\x17
ifs/level0/level0.proto
\x12\x0e\x64\x66
s.ifs.level0
\x1a\x12\x63
ommon/error.proto
\"\x
aa
\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\x0
6
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x0
7
\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\"\x
9b
\x0
3
\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\x13\n\x0b
object_name
\x18\x04
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x05
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x06
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\x07
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x08
\x01
(
\x05\x12\x11\n\t
file_name
\x18\t
\x01
(
\t\x12\r\n\x05
limit
\x18\n
\x01
(
\x05\
x12\x0f\n\x07
version
\x18\x0b
\x01
(
\t\x12\n\n\x02
ra
\x18\x0c
\x01
(
\x01\x12\x0b\n\x03\x64\x65\x63\x18\r
\x01
(
\x01\x12\x0e\n\x06
radius
\x18\x0e
\x01
(
\x02\
x12
P
\n\x10
other_conditions
\x18\x0
f
\x03
(
\x0b\x32\x36
.dfs.ifs.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\"\x86\x01\n\x12\x46
indLevel0DataResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
-
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1c
.dfs.ifs.level0.Level0Record
\"
1
\n\x10
GetLevel0DataReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\"
A
\n\x11
GetLevel0DataResp
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.ifs.level0.Level0Record
\"
B
\n\x12
WriteLevel0DataReq
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.ifs.level0.Level0Record
\"
r
\n\x13
WriteLevel0DataResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
,
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x1c
.dfs.ifs.level0.Level0Record
\"
C
\n\x12
UpdateQc0StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x0e\n\x06
status
\x18\x03
\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
\"
D
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x0e\n\x06
status
\x18\x03
\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
\xbd\x03\n\t
Level0Srv
\x12
O
\n\x04\x46
ind
\x12
!.dfs.ifs.level0.FindLevel0DataReq
\x1a\"
.dfs.ifs.level0.FindLevel0DataResp
\"\x00\x12
L
\n\x03
Get
\x12
.dfs.ifs.level0.GetLevel0DataReq
\x1a
!.dfs.ifs.level0.GetLevel0DataResp
\"\x00\x12
R
\n\x05
Write
\x12\"
.dfs.ifs.level0.WriteLevel0DataReq
\x1a
#.dfs.ifs.level0.WriteLevel0DataResp
\"\x00\x12\\\n\x0f
UpdateQc0Status
\x12\"
.dfs.ifs.level0.UpdateQc0StatusReq
\x1a
#.dfs.ifs.level0.UpdateQc0StatusResp
\"\x00\x12
_
\n\x10
UpdateProcStatus
\x12
#.dfs.ifs.level0.UpdateProcStatusReq
\x1a
$.dfs.ifs.level0.UpdateProcStatusResp
\"\x00\x42
!Z
\x1f\x63
nlab.net/csst/proto/ifs/level0b
\x06
proto3'
)
,
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
@@ -71,78 +71,71 @@ _LEVEL0RECORD = _descriptor.Descriptor(
...
@@ -71,78 +71,71 @@ _LEVEL0RECORD = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'ob
ject_na
me'
,
full_name
=
'dfs.ifs.level0.Level0Record.ob
ject_na
me'
,
index
=
5
,
name
=
'ob
s_ti
me'
,
full_name
=
'dfs.ifs.level0.Level0Record.ob
s_ti
me'
,
index
=
5
,
number
=
6
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
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
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'obs_time'
,
full_name
=
'dfs.ifs.level0.Level0Record.obs_time'
,
index
=
6
,
name
=
'exp_time'
,
full_name
=
'dfs.ifs.level0.Level0Record.exp_time'
,
index
=
6
,
number
=
7
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
number
=
7
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
_b
(
""
).
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'exp_time'
,
full_name
=
'dfs.ifs.level0.Level0Record.exp_time'
,
index
=
7
,
number
=
8
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'detector_status_id'
,
full_name
=
'dfs.ifs.level0.Level0Record.detector_status_id'
,
index
=
8
,
name
=
'detector_status_id'
,
full_name
=
'dfs.ifs.level0.Level0Record.detector_status_id'
,
index
=
7
,
number
=
9
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
number
=
8
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'filename'
,
full_name
=
'dfs.ifs.level0.Level0Record.filename'
,
index
=
9
,
name
=
'filename'
,
full_name
=
'dfs.ifs.level0.Level0Record.filename'
,
index
=
8
,
number
=
10
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
number
=
9
,
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
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'file_path'
,
full_name
=
'dfs.ifs.level0.Level0Record.file_path'
,
index
=
10
,
name
=
'file_path'
,
full_name
=
'dfs.ifs.level0.Level0Record.file_path'
,
index
=
9
,
number
=
1
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
number
=
1
0
,
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
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'qc0_status'
,
full_name
=
'dfs.ifs.level0.Level0Record.qc0_status'
,
index
=
1
1
,
name
=
'qc0_status'
,
full_name
=
'dfs.ifs.level0.Level0Record.qc0_status'
,
index
=
1
0
,
number
=
1
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
number
=
1
1
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'qc0_time'
,
full_name
=
'dfs.ifs.level0.Level0Record.qc0_time'
,
index
=
1
2
,
name
=
'qc0_time'
,
full_name
=
'dfs.ifs.level0.Level0Record.qc0_time'
,
index
=
1
1
,
number
=
1
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
number
=
1
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
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'prc_status'
,
full_name
=
'dfs.ifs.level0.Level0Record.prc_status'
,
index
=
1
3
,
name
=
'prc_status'
,
full_name
=
'dfs.ifs.level0.Level0Record.prc_status'
,
index
=
1
2
,
number
=
1
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
number
=
1
3
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'prc_time'
,
full_name
=
'dfs.ifs.level0.Level0Record.prc_time'
,
index
=
1
4
,
name
=
'prc_time'
,
full_name
=
'dfs.ifs.level0.Level0Record.prc_time'
,
index
=
1
3
,
number
=
1
5
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
number
=
1
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
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'create_time'
,
full_name
=
'dfs.ifs.level0.Level0Record.create_time'
,
index
=
1
5
,
name
=
'create_time'
,
full_name
=
'dfs.ifs.level0.Level0Record.create_time'
,
index
=
1
4
,
number
=
1
6
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
number
=
1
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
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
...
@@ -160,7 +153,7 @@ _LEVEL0RECORD = _descriptor.Descriptor(
...
@@ -160,7 +153,7 @@ _LEVEL0RECORD = _descriptor.Descriptor(
oneofs
=
[
oneofs
=
[
],
],
serialized_start
=
64
,
serialized_start
=
64
,
serialized_end
=
3
83
,
serialized_end
=
3
62
,
)
)
...
@@ -197,8 +190,8 @@ _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
...
@@ -197,8 +190,8 @@ _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[
oneofs
=
[
],
],
serialized_start
=
685
,
serialized_start
=
722
,
serialized_end
=
7
39
,
serialized_end
=
7
76
,
)
)
_FINDLEVEL0DATAREQ
=
_descriptor
.
Descriptor
(
_FINDLEVEL0DATAREQ
=
_descriptor
.
Descriptor
(
...
@@ -279,8 +272,36 @@ _FINDLEVEL0DATAREQ = _descriptor.Descriptor(
...
@@ -279,8 +272,36 @@ _FINDLEVEL0DATAREQ = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'other_conditions'
,
full_name
=
'dfs.ifs.level0.FindLevel0DataReq.other_conditions'
,
index
=
10
,
name
=
'version'
,
full_name
=
'dfs.ifs.level0.FindLevel0DataReq.version'
,
index
=
10
,
number
=
11
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
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
=
'ra'
,
full_name
=
'dfs.ifs.level0.FindLevel0DataReq.ra'
,
index
=
11
,
number
=
12
,
type
=
1
,
cpp_type
=
5
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'dec'
,
full_name
=
'dfs.ifs.level0.FindLevel0DataReq.dec'
,
index
=
12
,
number
=
13
,
type
=
1
,
cpp_type
=
5
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'radius'
,
full_name
=
'dfs.ifs.level0.FindLevel0DataReq.radius'
,
index
=
13
,
number
=
14
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'other_conditions'
,
full_name
=
'dfs.ifs.level0.FindLevel0DataReq.other_conditions'
,
index
=
14
,
number
=
15
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
...
@@ -297,8 +318,8 @@ _FINDLEVEL0DATAREQ = _descriptor.Descriptor(
...
@@ -297,8 +318,8 @@ _FINDLEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[
oneofs
=
[
],
],
serialized_start
=
3
8
6
,
serialized_start
=
36
5
,
serialized_end
=
7
39
,
serialized_end
=
7
76
,
)
)
...
@@ -349,8 +370,8 @@ _FINDLEVEL0DATARESP = _descriptor.Descriptor(
...
@@ -349,8 +370,8 @@ _FINDLEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[
oneofs
=
[
],
],
serialized_start
=
7
42
,
serialized_start
=
7
79
,
serialized_end
=
876
,
serialized_end
=
913
,
)
)
...
@@ -387,8 +408,8 @@ _GETLEVEL0DATAREQ = _descriptor.Descriptor(
...
@@ -387,8 +408,8 @@ _GETLEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[
oneofs
=
[
],
],
serialized_start
=
878
,
serialized_start
=
915
,
serialized_end
=
9
27
,
serialized_end
=
9
64
,
)
)
...
@@ -418,8 +439,8 @@ _GETLEVEL0DATARESP = _descriptor.Descriptor(
...
@@ -418,8 +439,8 @@ _GETLEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[
oneofs
=
[
],
],
serialized_start
=
9
29
,
serialized_start
=
9
66
,
serialized_end
=
994
,
serialized_end
=
1031
,
)
)
...
@@ -449,8 +470,8 @@ _WRITELEVEL0DATAREQ = _descriptor.Descriptor(
...
@@ -449,8 +470,8 @@ _WRITELEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[
oneofs
=
[
],
],
serialized_start
=
996
,
serialized_start
=
1033
,
serialized_end
=
10
62
,
serialized_end
=
10
99
,
)
)
...
@@ -494,8 +515,8 @@ _WRITELEVEL0DATARESP = _descriptor.Descriptor(
...
@@ -494,8 +515,8 @@ _WRITELEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[
oneofs
=
[
],
],
serialized_start
=
1
064
,
serialized_start
=
1
101
,
serialized_end
=
1
178
,
serialized_end
=
1
215
,
)
)
...
@@ -539,8 +560,8 @@ _UPDATEQC0STATUSREQ = _descriptor.Descriptor(
...
@@ -539,8 +560,8 @@ _UPDATEQC0STATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[
oneofs
=
[
],
],
serialized_start
=
1
180
,
serialized_start
=
1
217
,
serialized_end
=
124
7
,
serialized_end
=
12
8
4
,
)
)
...
@@ -577,8 +598,8 @@ _UPDATEQC0STATUSRESP = _descriptor.Descriptor(
...
@@ -577,8 +598,8 @@ _UPDATEQC0STATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[
oneofs
=
[
],
],
serialized_start
=
12
49
,
serialized_start
=
12
86
,
serialized_end
=
13
17
,
serialized_end
=
13
54
,
)
)
...
@@ -622,8 +643,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
...
@@ -622,8 +643,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[
oneofs
=
[
],
],
serialized_start
=
13
19
,
serialized_start
=
13
56
,
serialized_end
=
1
387
,
serialized_end
=
1
424
,
)
)
...
@@ -660,8 +681,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
...
@@ -660,8 +681,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
extension_ranges
=
[],
oneofs
=
[
oneofs
=
[
],
],
serialized_start
=
1
389
,
serialized_start
=
1
426
,
serialized_end
=
145
8
,
serialized_end
=
14
9
5
,
)
)
_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDLEVEL0DATAREQ
_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDLEVEL0DATAREQ
...
@@ -782,8 +803,8 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor(
...
@@ -782,8 +803,8 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
file
=
DESCRIPTOR
,
index
=
0
,
index
=
0
,
serialized_options
=
None
,
serialized_options
=
None
,
serialized_start
=
14
61
,
serialized_start
=
14
98
,
serialized_end
=
19
06
,
serialized_end
=
19
43
,
methods
=
[
methods
=
[
_descriptor
.
MethodDescriptor
(
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
name
=
'Find'
,
...
...
csst_dfs_proto/msc/level2/level2_pb2.py
View file @
952e9518
This diff is collapsed.
Click to expand it.
csst_dfs_proto/msc/level2/level2_pb2_grpc.py
View file @
952e9518
...
@@ -44,6 +44,11 @@ class Level2SrvStub(object):
...
@@ -44,6 +44,11 @@ class Level2SrvStub(object):
request_serializer
=
msc_dot_level2_dot_level2__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
request_serializer
=
msc_dot_level2_dot_level2__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
response_deserializer
=
msc_dot_level2_dot_level2__pb2
.
UpdateProcStatusResp
.
FromString
,
response_deserializer
=
msc_dot_level2_dot_level2__pb2
.
UpdateProcStatusResp
.
FromString
,
)
)
self
.
DeleteCatalogByLevel2Id
=
channel
.
unary_unary
(
'/dfs.msc.level2.Level2Srv/DeleteCatalogByLevel2Id'
,
request_serializer
=
msc_dot_level2_dot_level2__pb2
.
DeleteCatalogByLevel2IdReq
.
SerializeToString
,
response_deserializer
=
msc_dot_level2_dot_level2__pb2
.
DeleteCatalogByLevel2IdResp
.
FromString
,
)
class
Level2SrvServicer
(
object
):
class
Level2SrvServicer
(
object
):
...
@@ -92,6 +97,13 @@ class Level2SrvServicer(object):
...
@@ -92,6 +97,13 @@ class Level2SrvServicer(object):
context
.
set_details
(
'Method not implemented!'
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
DeleteCatalogByLevel2Id
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
add_Level2SrvServicer_to_server
(
servicer
,
server
):
def
add_Level2SrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
rpc_method_handlers
=
{
...
@@ -125,6 +137,11 @@ def add_Level2SrvServicer_to_server(servicer, server):
...
@@ -125,6 +137,11 @@ def add_Level2SrvServicer_to_server(servicer, server):
request_deserializer
=
msc_dot_level2_dot_level2__pb2
.
UpdateProcStatusReq
.
FromString
,
request_deserializer
=
msc_dot_level2_dot_level2__pb2
.
UpdateProcStatusReq
.
FromString
,
response_serializer
=
msc_dot_level2_dot_level2__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
response_serializer
=
msc_dot_level2_dot_level2__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
),
),
'DeleteCatalogByLevel2Id'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
DeleteCatalogByLevel2Id
,
request_deserializer
=
msc_dot_level2_dot_level2__pb2
.
DeleteCatalogByLevel2IdReq
.
FromString
,
response_serializer
=
msc_dot_level2_dot_level2__pb2
.
DeleteCatalogByLevel2IdResp
.
SerializeToString
,
),
}
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'dfs.msc.level2.Level2Srv'
,
rpc_method_handlers
)
'dfs.msc.level2.Level2Srv'
,
rpc_method_handlers
)
...
...
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