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
0984ca62
Commit
0984ca62
authored
Feb 15, 2023
by
Wei Shoulin
Browse files
qc1->qc2
parent
66d96545
Changes
2
Hide whitespace changes
Inline
Side-by-side
csst_dfs_proto/sls/level2spectra/level2spectra_pb2.py
View file @
0984ca62
...
@@ -2,8 +2,6 @@
...
@@ -2,8 +2,6 @@
# Generated by the protocol buffer compiler. DO NOT EDIT!
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: sls/level2spectra/level2spectra.proto
# source: sls/level2spectra/level2spectra.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
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
reflection
as
_reflection
...
@@ -20,8 +18,8 @@ DESCRIPTOR = _descriptor.FileDescriptor(
...
@@ -20,8 +18,8 @@ DESCRIPTOR = _descriptor.FileDescriptor(
name
=
'sls/level2spectra/level2spectra.proto'
,
name
=
'sls/level2spectra/level2spectra.proto'
,
package
=
'dfs.sls.level2spectra'
,
package
=
'dfs.sls.level2spectra'
,
syntax
=
'proto3'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z&cnlab.net/csst/proto/sls/level2spectra'
)
,
serialized_options
=
b
'Z&cnlab.net/csst/proto/sls/level2spectra'
,
serialized_pb
=
_b
(
'
\n
%sls/level2spectra/level2spectra.proto
\x12\x15\x64\x66
s.sls.level2spectra
\x1a\x12\x63
ommon/error.proto
\"\x86\x02\n\x13
Level2spectraRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x12\n\n
spectra_id
\x18\x03
\x01
(
\t\x12\x11\n\t
level1_id
\x18\x04
\x01
(
\x03\x12\x0e\n\x06
region
\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
qc
1
_status
\x18\x08
\x01
(
\x05\x12\x10\n\x08
qc
1
_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\"\xe1\x02\n\x14\x46
indLevel2spectraReq
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\t\x12\x11\n\t
level1_id
\x18\x02
\x01
(
\x03\x12\x12\n\n
spectra_id
\x18\x03
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x04
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x05
\x01
(
\t\x12\x12\n\n
qc
1
_status
\x18\x06
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x07
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\x08
\x01
(
\t\x12\r\n\x05
limit
\x18\t
\x01
(
\x05\x12
Z
\n\x10
other_conditions
\x18\n
\x03
(
\x0b\x32
@.dfs.sls.level2spectra.FindLevel2spectraReq.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\"\x97\x01\n\x15\x46
indLevel2spectraResp
\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
*.dfs.sls.level2spectra.Level2spectraRecord
\"
!
\n\x13
GetLevel2spectraReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
R
\n\x14
GetLevel2spectraResp
\x12
:
\n\x06
record
\x18\x01
\x01
(
\x0b\x32
*.dfs.sls.level2spectra.Level2spectraRecord
\"
a
\n\x15
WriteLevel2spectraReq
\x12
:
\n\x06
record
\x18\x01
\x01
(
\x0b\x32
*.dfs.sls.level2spectra.Level2spectraRecord
\x12\x0c\n\x04\x64\x61
ta
\x18\x02
\x01
(
\x0c\"\x83\x01\n\x16
WriteLevel2spectraResp
\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
*.dfs.sls.level2spectra.Level2spectraRecord
\"
0
\n\x12
UpdateQc
1
StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc
1
StatusResp
\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
\x9e\x04\n\x10
Level2spectraSrv
\x12\x63\n\x04\x46
ind
\x12
+.dfs.sls.level2spectra.FindLevel2spectraReq
\x1a
,.dfs.sls.level2spectra.FindLevel2spectraResp
\"\x00\x12
`
\n\x03
Get
\x12
*.dfs.sls.level2spectra.GetLevel2spectraReq
\x1a
+.dfs.sls.level2spectra.GetLevel2spectraResp
\"\x00\x12
h
\n\x05
Write
\x12
,.dfs.sls.level2spectra.WriteLevel2spectraReq
\x1a
-.dfs.sls.level2spectra.WriteLevel2spectraResp
\"\x00
(
\x01\x12
j
\n\x0f
UpdateQc
1
Status
\x12
).dfs.sls.level2spectra.UpdateQc
1
StatusReq
\x1a
*.dfs.sls.level2spectra.UpdateQc
1
StatusResp
\"\x00\x12
m
\n\x10
UpdateProcStatus
\x12
*.dfs.sls.level2spectra.UpdateProcStatusReq
\x1a
+.dfs.sls.level2spectra.UpdateProcStatusResp
\"\x00\x42
(Z&cnlab.net/csst/proto/sls/level2spectrab
\x06
proto3'
)
serialized_pb
=
b
'
\n
%sls/level2spectra/level2spectra.proto
\x12\x15\x64\x66
s.sls.level2spectra
\x1a\x12\x63
ommon/error.proto
\"\x86\x02\n\x13
Level2spectraRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x12\n\n
spectra_id
\x18\x03
\x01
(
\t\x12\x11\n\t
level1_id
\x18\x04
\x01
(
\x03\x12\x0e\n\x06
region
\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
qc
2
_status
\x18\x08
\x01
(
\x05\x12\x10\n\x08
qc
2
_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\"\xe1\x02\n\x14\x46
indLevel2spectraReq
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\t\x12\x11\n\t
level1_id
\x18\x02
\x01
(
\x03\x12\x12\n\n
spectra_id
\x18\x03
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x04
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x05
\x01
(
\t\x12\x12\n\n
qc
2
_status
\x18\x06
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x07
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\x08
\x01
(
\t\x12\r\n\x05
limit
\x18\t
\x01
(
\x05\x12
Z
\n\x10
other_conditions
\x18\n
\x03
(
\x0b\x32
@.dfs.sls.level2spectra.FindLevel2spectraReq.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\"\x97\x01\n\x15\x46
indLevel2spectraResp
\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
*.dfs.sls.level2spectra.Level2spectraRecord
\"
!
\n\x13
GetLevel2spectraReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
R
\n\x14
GetLevel2spectraResp
\x12
:
\n\x06
record
\x18\x01
\x01
(
\x0b\x32
*.dfs.sls.level2spectra.Level2spectraRecord
\"
a
\n\x15
WriteLevel2spectraReq
\x12
:
\n\x06
record
\x18\x01
\x01
(
\x0b\x32
*.dfs.sls.level2spectra.Level2spectraRecord
\x12\x0c\n\x04\x64\x61
ta
\x18\x02
\x01
(
\x0c\"\x83\x01\n\x16
WriteLevel2spectraResp
\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
*.dfs.sls.level2spectra.Level2spectraRecord
\"
0
\n\x12
UpdateQc
2
StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc
2
StatusResp
\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
\x9e\x04\n\x10
Level2spectraSrv
\x12\x63\n\x04\x46
ind
\x12
+.dfs.sls.level2spectra.FindLevel2spectraReq
\x1a
,.dfs.sls.level2spectra.FindLevel2spectraResp
\"\x00\x12
`
\n\x03
Get
\x12
*.dfs.sls.level2spectra.GetLevel2spectraReq
\x1a
+.dfs.sls.level2spectra.GetLevel2spectraResp
\"\x00\x12
h
\n\x05
Write
\x12
,.dfs.sls.level2spectra.WriteLevel2spectraReq
\x1a
-.dfs.sls.level2spectra.WriteLevel2spectraResp
\"\x00
(
\x01\x12
j
\n\x0f
UpdateQc
2
Status
\x12
).dfs.sls.level2spectra.UpdateQc
2
StatusReq
\x1a
*.dfs.sls.level2spectra.UpdateQc
2
StatusResp
\"\x00\x12
m
\n\x10
UpdateProcStatus
\x12
*.dfs.sls.level2spectra.UpdateProcStatusReq
\x1a
+.dfs.sls.level2spectra.UpdateProcStatusResp
\"\x00\x42
(Z&cnlab.net/csst/proto/sls/level2spectrab
\x06
proto3'
,
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
@@ -45,14 +43,14 @@ _LEVEL2SPECTRARECORD = _descriptor.Descriptor(
...
@@ -45,14 +43,14 @@ _LEVEL2SPECTRARECORD = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.level0_id'
,
index
=
1
,
name
=
'level0_id'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.level0_id'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
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
,
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
=
'spectra_id'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.spectra_id'
,
index
=
2
,
name
=
'spectra_id'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.spectra_id'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
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
,
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
),
...
@@ -66,35 +64,35 @@ _LEVEL2SPECTRARECORD = _descriptor.Descriptor(
...
@@ -66,35 +64,35 @@ _LEVEL2SPECTRARECORD = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'region'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.region'
,
index
=
4
,
name
=
'region'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.region'
,
index
=
4
,
number
=
5
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
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
,
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.sls.level2spectra.Level2spectraRecord.filename'
,
index
=
5
,
name
=
'filename'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.filename'
,
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
=
'file_path'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.file_path'
,
index
=
6
,
name
=
'file_path'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.file_path'
,
index
=
6
,
number
=
7
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
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
,
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
=
'qc
1
_status'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.qc
1
_status'
,
index
=
7
,
name
=
'qc
2
_status'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.qc
2
_status'
,
index
=
7
,
number
=
8
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
number
=
8
,
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
=
'qc
1
_time'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.qc
1
_time'
,
index
=
8
,
name
=
'qc
2
_time'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.qc
2
_time'
,
index
=
8
,
number
=
9
,
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
),
...
@@ -108,21 +106,21 @@ _LEVEL2SPECTRARECORD = _descriptor.Descriptor(
...
@@ -108,21 +106,21 @@ _LEVEL2SPECTRARECORD = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'prc_time'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.prc_time'
,
index
=
10
,
name
=
'prc_time'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.prc_time'
,
index
=
10
,
number
=
11
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
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
,
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.sls.level2spectra.Level2spectraRecord.create_time'
,
index
=
11
,
name
=
'create_time'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.create_time'
,
index
=
11
,
number
=
12
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
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
,
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
=
'pipeline_id'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.pipeline_id'
,
index
=
12
,
name
=
'pipeline_id'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraRecord.pipeline_id'
,
index
=
12
,
number
=
13
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
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
,
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
),
...
@@ -153,14 +151,14 @@ _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
...
@@ -153,14 +151,14 @@ _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry.key'
,
index
=
0
,
name
=
'key'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry.key'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
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
,
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
=
'value'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry.value'
,
index
=
1
,
name
=
'value'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry.value'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
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
,
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
),
...
@@ -170,7 +168,7 @@ _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
...
@@ -170,7 +168,7 @@ _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
nested_types
=
[],
nested_types
=
[],
enum_types
=
[
enum_types
=
[
],
],
serialized_options
=
_b
(
'8
\001
'
)
,
serialized_options
=
b
'8
\001
'
,
is_extendable
=
False
,
is_extendable
=
False
,
syntax
=
'proto3'
,
syntax
=
'proto3'
,
extension_ranges
=
[],
extension_ranges
=
[],
...
@@ -190,7 +188,7 @@ _FINDLEVEL2SPECTRAREQ = _descriptor.Descriptor(
...
@@ -190,7 +188,7 @@ _FINDLEVEL2SPECTRAREQ = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.level0_id'
,
index
=
0
,
name
=
'level0_id'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.level0_id'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
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
,
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
),
...
@@ -204,26 +202,26 @@ _FINDLEVEL2SPECTRAREQ = _descriptor.Descriptor(
...
@@ -204,26 +202,26 @@ _FINDLEVEL2SPECTRAREQ = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'spectra_id'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.spectra_id'
,
index
=
2
,
name
=
'spectra_id'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.spectra_id'
,
index
=
2
,
number
=
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
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
,
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_start'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.create_time_start'
,
index
=
3
,
name
=
'create_time_start'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.create_time_start'
,
index
=
3
,
number
=
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
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
,
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_end'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.create_time_end'
,
index
=
4
,
name
=
'create_time_end'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.create_time_end'
,
index
=
4
,
number
=
5
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
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
,
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
=
'qc
1
_status'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.qc
1
_status'
,
index
=
5
,
name
=
'qc
2
_status'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.qc
2
_status'
,
index
=
5
,
number
=
6
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
number
=
6
,
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
,
...
@@ -239,7 +237,7 @@ _FINDLEVEL2SPECTRAREQ = _descriptor.Descriptor(
...
@@ -239,7 +237,7 @@ _FINDLEVEL2SPECTRAREQ = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'filename'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.filename'
,
index
=
7
,
name
=
'filename'
,
full_name
=
'dfs.sls.level2spectra.FindLevel2spectraReq.filename'
,
index
=
7
,
number
=
8
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
number
=
8
,
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
),
...
@@ -405,7 +403,7 @@ _WRITELEVEL2SPECTRAREQ = _descriptor.Descriptor(
...
@@ -405,7 +403,7 @@ _WRITELEVEL2SPECTRAREQ = _descriptor.Descriptor(
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'data'
,
full_name
=
'dfs.sls.level2spectra.WriteLevel2spectraReq.data'
,
index
=
1
,
name
=
'data'
,
full_name
=
'dfs.sls.level2spectra.WriteLevel2spectraReq.data'
,
index
=
1
,
number
=
2
,
type
=
12
,
cpp_type
=
9
,
label
=
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
,
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
),
...
@@ -471,22 +469,22 @@ _WRITELEVEL2SPECTRARESP = _descriptor.Descriptor(
...
@@ -471,22 +469,22 @@ _WRITELEVEL2SPECTRARESP = _descriptor.Descriptor(
)
)
_UPDATEQC
1
STATUSREQ
=
_descriptor
.
Descriptor
(
_UPDATEQC
2
STATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc
1
StatusReq'
,
name
=
'UpdateQc
2
StatusReq'
,
full_name
=
'dfs.sls.level2spectra.UpdateQc
1
StatusReq'
,
full_name
=
'dfs.sls.level2spectra.UpdateQc
2
StatusReq'
,
filename
=
None
,
filename
=
None
,
file
=
DESCRIPTOR
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
containing_type
=
None
,
fields
=
[
fields
=
[
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'dfs.sls.level2spectra.UpdateQc
1
StatusReq.id'
,
index
=
0
,
name
=
'id'
,
full_name
=
'dfs.sls.level2spectra.UpdateQc
2
StatusReq.id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
number
=
1
,
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
=
'status'
,
full_name
=
'dfs.sls.level2spectra.UpdateQc
1
StatusReq.status'
,
index
=
1
,
name
=
'status'
,
full_name
=
'dfs.sls.level2spectra.UpdateQc
2
StatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
number
=
2
,
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
,
...
@@ -509,22 +507,22 @@ _UPDATEQC1STATUSREQ = _descriptor.Descriptor(
...
@@ -509,22 +507,22 @@ _UPDATEQC1STATUSREQ = _descriptor.Descriptor(
)
)
_UPDATEQC
1
STATUSRESP
=
_descriptor
.
Descriptor
(
_UPDATEQC
2
STATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc
1
StatusResp'
,
name
=
'UpdateQc
2
StatusResp'
,
full_name
=
'dfs.sls.level2spectra.UpdateQc
1
StatusResp'
,
full_name
=
'dfs.sls.level2spectra.UpdateQc
2
StatusResp'
,
filename
=
None
,
filename
=
None
,
file
=
DESCRIPTOR
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
containing_type
=
None
,
fields
=
[
fields
=
[
_descriptor
.
FieldDescriptor
(
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.sls.level2spectra.UpdateQc
1
StatusResp.success'
,
index
=
0
,
name
=
'success'
,
full_name
=
'dfs.sls.level2spectra.UpdateQc
2
StatusResp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
has_default_value
=
False
,
default_value
=
False
,
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
=
'error'
,
full_name
=
'dfs.sls.level2spectra.UpdateQc
1
StatusResp.error'
,
index
=
1
,
name
=
'error'
,
full_name
=
'dfs.sls.level2spectra.UpdateQc
2
StatusResp.error'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
...
@@ -630,7 +628,7 @@ _GETLEVEL2SPECTRARESP.fields_by_name['record'].message_type = _LEVEL2SPECTRARECO
...
@@ -630,7 +628,7 @@ _GETLEVEL2SPECTRARESP.fields_by_name['record'].message_type = _LEVEL2SPECTRARECO
_WRITELEVEL2SPECTRAREQ
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL2SPECTRARECORD
_WRITELEVEL2SPECTRAREQ
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL2SPECTRARECORD
_WRITELEVEL2SPECTRARESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITELEVEL2SPECTRARESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITELEVEL2SPECTRARESP
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL2SPECTRARECORD
_WRITELEVEL2SPECTRARESP
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL2SPECTRARECORD
_UPDATEQC
1
STATUSRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_UPDATEQC
2
STATUSRESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_UPDATEPROCSTATUSRESP
.
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
[
'Level2spectraRecord'
]
=
_LEVEL2SPECTRARECORD
DESCRIPTOR
.
message_types_by_name
[
'Level2spectraRecord'
]
=
_LEVEL2SPECTRARECORD
DESCRIPTOR
.
message_types_by_name
[
'FindLevel2spectraReq'
]
=
_FINDLEVEL2SPECTRAREQ
DESCRIPTOR
.
message_types_by_name
[
'FindLevel2spectraReq'
]
=
_FINDLEVEL2SPECTRAREQ
...
@@ -639,8 +637,8 @@ DESCRIPTOR.message_types_by_name['GetLevel2spectraReq'] = _GETLEVEL2SPECTRAREQ
...
@@ -639,8 +637,8 @@ DESCRIPTOR.message_types_by_name['GetLevel2spectraReq'] = _GETLEVEL2SPECTRAREQ
DESCRIPTOR
.
message_types_by_name
[
'GetLevel2spectraResp'
]
=
_GETLEVEL2SPECTRARESP
DESCRIPTOR
.
message_types_by_name
[
'GetLevel2spectraResp'
]
=
_GETLEVEL2SPECTRARESP
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel2spectraReq'
]
=
_WRITELEVEL2SPECTRAREQ
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel2spectraReq'
]
=
_WRITELEVEL2SPECTRAREQ
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel2spectraResp'
]
=
_WRITELEVEL2SPECTRARESP
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel2spectraResp'
]
=
_WRITELEVEL2SPECTRARESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateQc
1
StatusReq'
]
=
_UPDATEQC
1
STATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateQc
2
StatusReq'
]
=
_UPDATEQC
2
STATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateQc
1
StatusResp'
]
=
_UPDATEQC
1
STATUSRESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateQc
2
StatusResp'
]
=
_UPDATEQC
2
STATUSRESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusReq'
]
=
_UPDATEPROCSTATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusReq'
]
=
_UPDATEPROCSTATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusResp'
]
=
_UPDATEPROCSTATUSRESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusResp'
]
=
_UPDATEPROCSTATUSRESP
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
...
@@ -702,19 +700,19 @@ WriteLevel2spectraResp = _reflection.GeneratedProtocolMessageType('WriteLevel2sp
...
@@ -702,19 +700,19 @@ WriteLevel2spectraResp = _reflection.GeneratedProtocolMessageType('WriteLevel2sp
})
})
_sym_db
.
RegisterMessage
(
WriteLevel2spectraResp
)
_sym_db
.
RegisterMessage
(
WriteLevel2spectraResp
)
UpdateQc
1
StatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc
1
StatusReq'
,
(
_message
.
Message
,),
{
UpdateQc
2
StatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc
2
StatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC
1
STATUSREQ
,
'DESCRIPTOR'
:
_UPDATEQC
2
STATUSREQ
,
'__module__'
:
'sls.level2spectra.level2spectra_pb2'
'__module__'
:
'sls.level2spectra.level2spectra_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.UpdateQc
1
StatusReq)
# @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.UpdateQc
2
StatusReq)
})
})
_sym_db
.
RegisterMessage
(
UpdateQc
1
StatusReq
)
_sym_db
.
RegisterMessage
(
UpdateQc
2
StatusReq
)
UpdateQc
1
StatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc
1
StatusResp'
,
(
_message
.
Message
,),
{
UpdateQc
2
StatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc
2
StatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC
1
STATUSRESP
,
'DESCRIPTOR'
:
_UPDATEQC
2
STATUSRESP
,
'__module__'
:
'sls.level2spectra.level2spectra_pb2'
'__module__'
:
'sls.level2spectra.level2spectra_pb2'
# @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.UpdateQc
1
StatusResp)
# @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.UpdateQc
2
StatusResp)
})
})
_sym_db
.
RegisterMessage
(
UpdateQc
1
StatusResp
)
_sym_db
.
RegisterMessage
(
UpdateQc
2
StatusResp
)
UpdateProcStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusReq'
,
(
_message
.
Message
,),
{
UpdateProcStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSREQ
,
'DESCRIPTOR'
:
_UPDATEPROCSTATUSREQ
,
...
@@ -771,12 +769,12 @@ _LEVEL2SPECTRASRV = _descriptor.ServiceDescriptor(
...
@@ -771,12 +769,12 @@ _LEVEL2SPECTRASRV = _descriptor.ServiceDescriptor(
serialized_options
=
None
,
serialized_options
=
None
,
),
),
_descriptor
.
MethodDescriptor
(
_descriptor
.
MethodDescriptor
(
name
=
'UpdateQc
1
Status'
,
name
=
'UpdateQc
2
Status'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraSrv.UpdateQc
1
Status'
,
full_name
=
'dfs.sls.level2spectra.Level2spectraSrv.UpdateQc
2
Status'
,
index
=
3
,
index
=
3
,
containing_service
=
None
,
containing_service
=
None
,
input_type
=
_UPDATEQC
1
STATUSREQ
,
input_type
=
_UPDATEQC
2
STATUSREQ
,
output_type
=
_UPDATEQC
1
STATUSRESP
,
output_type
=
_UPDATEQC
2
STATUSRESP
,
serialized_options
=
None
,
serialized_options
=
None
,
),
),
_descriptor
.
MethodDescriptor
(
_descriptor
.
MethodDescriptor
(
...
...
csst_dfs_proto/sls/level2spectra/level2spectra_pb2_grpc.py
View file @
0984ca62
...
@@ -5,110 +5,188 @@ from . import level2spectra_pb2 as sls_dot_level2spectra_dot_level2spectra__pb2
...
@@ -5,110 +5,188 @@ from . import level2spectra_pb2 as sls_dot_level2spectra_dot_level2spectra__pb2
class
Level2spectraSrvStub
(
object
):
class
Level2spectraSrvStub
(
object
):
# missing associated documentation comment in .proto file
"""Missing associated documentation comment in .proto file"""
pass
def
__init__
(
self
,
channel
):
def
__init__
(
self
,
channel
):
"""Constructor.
"""Constructor.
Args:
Args:
channel: A grpc.Channel.
channel: A grpc.Channel.
"""
"""
self
.
Find
=
channel
.
unary_unary
(
self
.
Find
=
channel
.
unary_unary
(
'/dfs.sls.level2spectra.Level2spectraSrv/Find'
,
'/dfs.sls.level2spectra.Level2spectraSrv/Find'
,
request_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
FindLevel2spectraReq
.
SerializeToString
,
request_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
FindLevel2spectraReq
.
SerializeToString
,
response_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
FindLevel2spectraResp
.
FromString
,
response_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
FindLevel2spectraResp
.
FromString
,
)
)
self
.
Get
=
channel
.
unary_unary
(
self
.
Get
=
channel
.
unary_unary
(
'/dfs.sls.level2spectra.Level2spectraSrv/Get'
,
'/dfs.sls.level2spectra.Level2spectraSrv/Get'
,
request_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
GetLevel2spectraReq
.
SerializeToString
,
request_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
GetLevel2spectraReq
.
SerializeToString
,
response_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
GetLevel2spectraResp
.
FromString
,
response_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
GetLevel2spectraResp
.
FromString
,
)
)
self
.
Write
=
channel
.
stream_unary
(
self
.
Write
=
channel
.
stream_unary
(
'/dfs.sls.level2spectra.Level2spectraSrv/Write'
,
'/dfs.sls.level2spectra.Level2spectraSrv/Write'
,
request_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
WriteLevel2spectraReq
.
SerializeToString
,
request_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
WriteLevel2spectraReq
.
SerializeToString
,
response_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
WriteLevel2spectraResp
.
FromString
,
response_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
WriteLevel2spectraResp
.
FromString
,
)
)
self
.
UpdateQc2Status
=
channel
.
unary_unary
(
self
.
UpdateQc1Status
=
channel
.
unary_unary
(
'/dfs.sls.level2spectra.Level2spectraSrv/UpdateQc2Status'
,
'/dfs.sls.level2spectra.Level2spectraSrv/UpdateQc1Status'
,
request_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateQc2StatusReq
.
SerializeToString
,
request_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateQc1StatusReq
.
SerializeToString
,
response_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateQc2StatusResp
.
FromString
,
response_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateQc1StatusResp
.
FromString
,
)
)
self
.
UpdateProcStatus
=
channel
.
unary_unary
(
self
.
UpdateProcStatus
=
channel
.
unary_unary
(
'/dfs.sls.level2spectra.Level2spectraSrv/UpdateProcStatus'
,
'/dfs.sls.level2spectra.Level2spectraSrv/UpdateProcStatus'
,
request_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
request_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
response_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateProcStatusResp
.
FromString
,
response_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateProcStatusResp
.
FromString
,
)
)
class
Level2spectraSrvServicer
(
object
):
class
Level2spectraSrvServicer
(
object
):
# missing associated documentation comment in .proto file
"""Missing associated documentation comment in .proto file"""
pass
def
Find
(
self
,
request
,
context
):
def
Find
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
# missing associated documentation comment in .proto file
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
pass
context
.
set_details
(
'Method not implemented!'
)
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
raise
NotImplementedError
(
'Method not implemented!'
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Get
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
def
Get
(
self
,
request
,
context
):
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
# missing associated documentation comment in .proto file
context
.
set_details
(
'Method not implemented!'
)
pass
raise
NotImplementedError
(
'Method not implemented!'
)
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
def
Write
(
self
,
request_iterator
,
context
):
raise
NotImplementedError
(
'Method not implemented!'
)
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
def
Write
(
self
,
request_iterator
,
context
):
context
.
set_details
(
'Method not implemented!'
)
# missing associated documentation comment in .proto file
raise
NotImplementedError
(
'Method not implemented!'
)
pass
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
def
UpdateQc2Status
(
self
,
request
,
context
):
context
.
set_details
(
'Method not implemented!'
)
"""Missing associated documentation comment in .proto file"""
raise
NotImplementedError
(
'Method not implemented!'
)
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
def
UpdateQc1Status
(
self
,
request
,
context
):
raise
NotImplementedError
(
'Method not implemented!'
)
# missing associated documentation comment in .proto file
pass
def
UpdateProcStatus
(
self
,
request
,
context
):
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
"""Missing associated documentation comment in .proto file"""
context
.
set_details
(
'Method not implemented!'
)
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
raise
NotImplementedError
(
'Method not implemented!'
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
UpdateProcStatus
(
self
,
request
,
context
):
# missing associated documentation comment in .proto file
pass
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
add_Level2spectraSrvServicer_to_server
(
servicer
,
server
):
def
add_Level2spectraSrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
rpc_method_handlers
=
{
'Find'
:
grpc
.
unary_unary_rpc_method_handler
(
'Find'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Find
,
servicer
.
Find
,
request_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
FindLevel2spectraReq
.
FromString
,
request_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
FindLevel2spectraReq
.
FromString
,
response_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
FindLevel2spectraResp
.
SerializeToString
,
response_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
FindLevel2spectraResp
.
SerializeToString
,
),
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
servicer
.
Get
,
request_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
GetLevel2spectraReq
.
FromString
,
request_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
GetLevel2spectraReq
.
FromString
,
response_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
GetLevel2spectraResp
.
SerializeToString
,
response_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
GetLevel2spectraResp
.
SerializeToString
,
),
),
'Write'
:
grpc
.
stream_unary_rpc_method_handler
(
'Write'
:
grpc
.
stream_unary_rpc_method_handler
(
servicer
.
Write
,
servicer
.
Write
,
request_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
WriteLevel2spectraReq
.
FromString
,
request_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
WriteLevel2spectraReq
.
FromString
,
response_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
WriteLevel2spectraResp
.
SerializeToString
,
response_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
WriteLevel2spectraResp
.
SerializeToString
,
),
),
'UpdateQc1Status'
:
grpc
.
unary_unary_rpc_method_handler
(
'UpdateQc2Status'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateQc1Status
,
servicer
.
UpdateQc2Status
,
request_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateQc1StatusReq
.
FromString
,
request_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateQc2StatusReq
.
FromString
,
response_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateQc1StatusResp
.
SerializeToString
,
response_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateQc2StatusResp
.
SerializeToString
,
),
),
'UpdateProcStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
'UpdateProcStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateProcStatus
,
servicer
.
UpdateProcStatus
,
request_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateProcStatusReq
.
FromString
,
request_deserializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateProcStatusReq
.
FromString
,
response_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
response_serializer
=
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
),
),
}
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'dfs.sls.level2spectra.Level2spectraSrv'
,
rpc_method_handlers
)
'dfs.sls.level2spectra.Level2spectraSrv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
server
.
add_generic_rpc_handlers
((
generic_handler
,))
# This class is part of an EXPERIMENTAL API.
class
Level2spectraSrv
(
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.level2spectra.Level2spectraSrv/Find'
,
sls_dot_level2spectra_dot_level2spectra__pb2
.
FindLevel2spectraReq
.
SerializeToString
,
sls_dot_level2spectra_dot_level2spectra__pb2
.
FindLevel2spectraResp
.
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.level2spectra.Level2spectraSrv/Get'
,
sls_dot_level2spectra_dot_level2spectra__pb2
.
GetLevel2spectraReq
.
SerializeToString
,
sls_dot_level2spectra_dot_level2spectra__pb2
.
GetLevel2spectraResp
.
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.level2spectra.Level2spectraSrv/Write'
,
sls_dot_level2spectra_dot_level2spectra__pb2
.
WriteLevel2spectraReq
.
SerializeToString
,
sls_dot_level2spectra_dot_level2spectra__pb2
.
WriteLevel2spectraResp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
UpdateQc2Status
(
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.level2spectra.Level2spectraSrv/UpdateQc2Status'
,
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateQc2StatusReq
.
SerializeToString
,
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateQc2StatusResp
.
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.level2spectra.Level2spectraSrv/UpdateProcStatus'
,
sls_dot_level2spectra_dot_level2spectra__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
sls_dot_level2spectra_dot_level2spectra__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