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
15f08467
Commit
15f08467
authored
Jul 20, 2023
by
Wei Shoulin
Browse files
hstdm l2
parent
923c9488
Changes
3
Hide whitespace changes
Inline
Side-by-side
csst_dfs_proto/hstdm/level2/__init__.py
0 → 100644
View file @
15f08467
csst_dfs_proto/hstdm/level2/level2_pb2.py
0 → 100644
View file @
15f08467
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: hstdm/level2/level2.proto
from
google.protobuf
import
descriptor
as
_descriptor
from
google.protobuf
import
message
as
_message
from
google.protobuf
import
reflection
as
_reflection
from
google.protobuf
import
symbol_database
as
_symbol_database
# @@protoc_insertion_point(imports)
_sym_db
=
_symbol_database
.
Default
()
from
...common
import
error_pb2
as
common_dot_error__pb2
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'hstdm/level2/level2.proto'
,
package
=
'dfs.hstdm.level2'
,
syntax
=
'proto3'
,
serialized_options
=
b
'Z!cnlab.net/csst/proto/hstdm/level2'
,
serialized_pb
=
b
'
\n\x19
hstdm/level2/level2.proto
\x12\x10\x64\x66
s.hstdm.level2
\x1a\x12\x63
ommon/error.proto
\"\x82\x02\n\x0c
Level2Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\x11\n\t
level1_id
\x18\x03
\x01
(
\x03\x12\x12\n\n
project_id
\x18\x04
\x01
(
\x03\x12\x11\n\t
file_type
\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
qc2_status
\x18\x08
\x01
(
\x05\x12\x10\n\x08
qc2_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\r
FindLevel2Req
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\t\x12\x11\n\t
level1_id
\x18\x02
\x01
(
\x03\x12\x12\n\n
project_id
\x18\x03
\x01
(
\x03\x12\x11\n\t
file_type
\x18\x04
\x01
(
\x03\x12\x19\n\x11\x63
reate_time_start
\x18\x05
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x06
\x01
(
\t\x12\x12\n\n
qc2_status
\x18\x07
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x08
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\t
\x01
(
\t\x12\r\n\x05
limit
\x18\n
\x01
(
\x05\x12
N
\n\x10
other_conditions
\x18\x0b
\x03
(
\x0b\x32\x34
.dfs.hstdm.level2.FindLevel2Req.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x84\x01\n\x0e\x46
indLevel2Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12
/
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1e
.dfs.hstdm.level2.Level2Record
\"\x1a\n\x0c
GetLevel2Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
?
\n\r
GetLevel2Resp
\x12
.
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1e
.dfs.hstdm.level2.Level2Record
\"
N
\n\x0e
WriteLevel2Req
\x12
.
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1e
.dfs.hstdm.level2.Level2Record
\x12\x0c\n\x04\x64\x61
ta
\x18\x02
\x01
(
\x0c\"
p
\n\x0f
WriteLevel2Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
.
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x1e
.dfs.hstdm.level2.Level2Record
\"
0
\n\x12
UpdateQc2StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc2StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
E
\n\x14
UpdateProcStatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error2
\xbb\x03\n\t
Level2Srv
\x12
K
\n\x04\x46
ind
\x12\x1f
.dfs.hstdm.level2.FindLevel2Req
\x1a
.dfs.hstdm.level2.FindLevel2Resp
\"\x00\x12
H
\n\x03
Get
\x12\x1e
.dfs.hstdm.level2.GetLevel2Req
\x1a\x1f
.dfs.hstdm.level2.GetLevel2Resp
\"\x00\x12
P
\n\x05
Write
\x12
.dfs.hstdm.level2.WriteLevel2Req
\x1a
!.dfs.hstdm.level2.WriteLevel2Resp
\"\x00
(
\x01\x12
`
\n\x0f
UpdateQc2Status
\x12
$.dfs.hstdm.level2.UpdateQc2StatusReq
\x1a
%.dfs.hstdm.level2.UpdateQc2StatusResp
\"\x00\x12\x63\n\x10
UpdateProcStatus
\x12
%.dfs.hstdm.level2.UpdateProcStatusReq
\x1a
&.dfs.hstdm.level2.UpdateProcStatusResp
\"\x00\x42
#Z!cnlab.net/csst/proto/hstdm/level2b
\x06
proto3'
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
_LEVEL2RECORD
=
_descriptor
.
Descriptor
(
name
=
'Level2Record'
,
full_name
=
'dfs.hstdm.level2.Level2Record'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'dfs.hstdm.level2.Level2Record.id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.hstdm.level2.Level2Record.level0_id'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'level1_id'
,
full_name
=
'dfs.hstdm.level2.Level2Record.level1_id'
,
index
=
2
,
number
=
3
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'project_id'
,
full_name
=
'dfs.hstdm.level2.Level2Record.project_id'
,
index
=
3
,
number
=
4
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'file_type'
,
full_name
=
'dfs.hstdm.level2.Level2Record.file_type'
,
index
=
4
,
number
=
5
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'filename'
,
full_name
=
'dfs.hstdm.level2.Level2Record.filename'
,
index
=
5
,
number
=
6
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'file_path'
,
full_name
=
'dfs.hstdm.level2.Level2Record.file_path'
,
index
=
6
,
number
=
7
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'qc2_status'
,
full_name
=
'dfs.hstdm.level2.Level2Record.qc2_status'
,
index
=
7
,
number
=
8
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'qc2_time'
,
full_name
=
'dfs.hstdm.level2.Level2Record.qc2_time'
,
index
=
8
,
number
=
9
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_status'
,
full_name
=
'dfs.hstdm.level2.Level2Record.prc_status'
,
index
=
9
,
number
=
10
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_time'
,
full_name
=
'dfs.hstdm.level2.Level2Record.prc_time'
,
index
=
10
,
number
=
11
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time'
,
full_name
=
'dfs.hstdm.level2.Level2Record.create_time'
,
index
=
11
,
number
=
12
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'pipeline_id'
,
full_name
=
'dfs.hstdm.level2.Level2Record.pipeline_id'
,
index
=
12
,
number
=
13
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
68
,
serialized_end
=
326
,
)
_FINDLEVEL2REQ_OTHERCONDITIONSENTRY
=
_descriptor
.
Descriptor
(
name
=
'OtherConditionsEntry'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.OtherConditionsEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.OtherConditionsEntry.key'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'value'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.OtherConditionsEntry.value'
,
index
=
1
,
number
=
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
b
'8
\001
'
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
628
,
serialized_end
=
682
,
)
_FINDLEVEL2REQ
=
_descriptor
.
Descriptor
(
name
=
'FindLevel2Req'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.level0_id'
,
index
=
0
,
number
=
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'level1_id'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.level1_id'
,
index
=
1
,
number
=
2
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'project_id'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.project_id'
,
index
=
2
,
number
=
3
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'file_type'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.file_type'
,
index
=
3
,
number
=
4
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time_start'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.create_time_start'
,
index
=
4
,
number
=
5
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'create_time_end'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.create_time_end'
,
index
=
5
,
number
=
6
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'qc2_status'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.qc2_status'
,
index
=
6
,
number
=
7
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'prc_status'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.prc_status'
,
index
=
7
,
number
=
8
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'filename'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.filename'
,
index
=
8
,
number
=
9
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
.
decode
(
'utf-8'
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'limit'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.limit'
,
index
=
9
,
number
=
10
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'other_conditions'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Req.other_conditions'
,
index
=
10
,
number
=
11
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[
_FINDLEVEL2REQ_OTHERCONDITIONSENTRY
,
],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
329
,
serialized_end
=
682
,
)
_FINDLEVEL2RESP
=
_descriptor
.
Descriptor
(
name
=
'FindLevel2Resp'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Resp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'totalCount'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Resp.totalCount'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Resp.error'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'records'
,
full_name
=
'dfs.hstdm.level2.FindLevel2Resp.records'
,
index
=
3
,
number
=
4
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
685
,
serialized_end
=
817
,
)
_GETLEVEL2REQ
=
_descriptor
.
Descriptor
(
name
=
'GetLevel2Req'
,
full_name
=
'dfs.hstdm.level2.GetLevel2Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'dfs.hstdm.level2.GetLevel2Req.id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
819
,
serialized_end
=
845
,
)
_GETLEVEL2RESP
=
_descriptor
.
Descriptor
(
name
=
'GetLevel2Resp'
,
full_name
=
'dfs.hstdm.level2.GetLevel2Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'dfs.hstdm.level2.GetLevel2Resp.record'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
847
,
serialized_end
=
910
,
)
_WRITELEVEL2REQ
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel2Req'
,
full_name
=
'dfs.hstdm.level2.WriteLevel2Req'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'dfs.hstdm.level2.WriteLevel2Req.record'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'data'
,
full_name
=
'dfs.hstdm.level2.WriteLevel2Req.data'
,
index
=
1
,
number
=
2
,
type
=
12
,
cpp_type
=
9
,
label
=
1
,
has_default_value
=
False
,
default_value
=
b
""
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
912
,
serialized_end
=
990
,
)
_WRITELEVEL2RESP
=
_descriptor
.
Descriptor
(
name
=
'WriteLevel2Resp'
,
full_name
=
'dfs.hstdm.level2.WriteLevel2Resp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.hstdm.level2.WriteLevel2Resp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.hstdm.level2.WriteLevel2Resp.error'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'record'
,
full_name
=
'dfs.hstdm.level2.WriteLevel2Resp.record'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
992
,
serialized_end
=
1104
,
)
_UPDATEQC2STATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc2StatusReq'
,
full_name
=
'dfs.hstdm.level2.UpdateQc2StatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'dfs.hstdm.level2.UpdateQc2StatusReq.id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'status'
,
full_name
=
'dfs.hstdm.level2.UpdateQc2StatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1106
,
serialized_end
=
1154
,
)
_UPDATEQC2STATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateQc2StatusResp'
,
full_name
=
'dfs.hstdm.level2.UpdateQc2StatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.hstdm.level2.UpdateQc2StatusResp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.hstdm.level2.UpdateQc2StatusResp.error'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1156
,
serialized_end
=
1224
,
)
_UPDATEPROCSTATUSREQ
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusReq'
,
full_name
=
'dfs.hstdm.level2.UpdateProcStatusReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'id'
,
full_name
=
'dfs.hstdm.level2.UpdateProcStatusReq.id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'status'
,
full_name
=
'dfs.hstdm.level2.UpdateProcStatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1226
,
serialized_end
=
1275
,
)
_UPDATEPROCSTATUSRESP
=
_descriptor
.
Descriptor
(
name
=
'UpdateProcStatusResp'
,
full_name
=
'dfs.hstdm.level2.UpdateProcStatusResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.hstdm.level2.UpdateProcStatusResp.success'
,
index
=
0
,
number
=
1
,
type
=
8
,
cpp_type
=
7
,
label
=
1
,
has_default_value
=
False
,
default_value
=
False
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'error'
,
full_name
=
'dfs.hstdm.level2.UpdateProcStatusResp.error'
,
index
=
1
,
number
=
2
,
type
=
11
,
cpp_type
=
10
,
label
=
1
,
has_default_value
=
False
,
default_value
=
None
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
nested_types
=
[],
enum_types
=
[
],
serialized_options
=
None
,
is_extendable
=
False
,
syntax
=
'proto3'
,
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1277
,
serialized_end
=
1346
,
)
_FINDLEVEL2REQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDLEVEL2REQ
_FINDLEVEL2REQ
.
fields_by_name
[
'other_conditions'
].
message_type
=
_FINDLEVEL2REQ_OTHERCONDITIONSENTRY
_FINDLEVEL2RESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_FINDLEVEL2RESP
.
fields_by_name
[
'records'
].
message_type
=
_LEVEL2RECORD
_GETLEVEL2RESP
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL2RECORD
_WRITELEVEL2REQ
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL2RECORD
_WRITELEVEL2RESP
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
_WRITELEVEL2RESP
.
fields_by_name
[
'record'
].
message_type
=
_LEVEL2RECORD
_UPDATEQC2STATUSRESP
.
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
[
'Level2Record'
]
=
_LEVEL2RECORD
DESCRIPTOR
.
message_types_by_name
[
'FindLevel2Req'
]
=
_FINDLEVEL2REQ
DESCRIPTOR
.
message_types_by_name
[
'FindLevel2Resp'
]
=
_FINDLEVEL2RESP
DESCRIPTOR
.
message_types_by_name
[
'GetLevel2Req'
]
=
_GETLEVEL2REQ
DESCRIPTOR
.
message_types_by_name
[
'GetLevel2Resp'
]
=
_GETLEVEL2RESP
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel2Req'
]
=
_WRITELEVEL2REQ
DESCRIPTOR
.
message_types_by_name
[
'WriteLevel2Resp'
]
=
_WRITELEVEL2RESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateQc2StatusReq'
]
=
_UPDATEQC2STATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateQc2StatusResp'
]
=
_UPDATEQC2STATUSRESP
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusReq'
]
=
_UPDATEPROCSTATUSREQ
DESCRIPTOR
.
message_types_by_name
[
'UpdateProcStatusResp'
]
=
_UPDATEPROCSTATUSRESP
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
Level2Record
=
_reflection
.
GeneratedProtocolMessageType
(
'Level2Record'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_LEVEL2RECORD
,
'__module__'
:
'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.Level2Record)
})
_sym_db
.
RegisterMessage
(
Level2Record
)
FindLevel2Req
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel2Req'
,
(
_message
.
Message
,),
{
'OtherConditionsEntry'
:
_reflection
.
GeneratedProtocolMessageType
(
'OtherConditionsEntry'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL2REQ_OTHERCONDITIONSENTRY
,
'__module__'
:
'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.FindLevel2Req.OtherConditionsEntry)
})
,
'DESCRIPTOR'
:
_FINDLEVEL2REQ
,
'__module__'
:
'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.FindLevel2Req)
})
_sym_db
.
RegisterMessage
(
FindLevel2Req
)
_sym_db
.
RegisterMessage
(
FindLevel2Req
.
OtherConditionsEntry
)
FindLevel2Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'FindLevel2Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_FINDLEVEL2RESP
,
'__module__'
:
'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.FindLevel2Resp)
})
_sym_db
.
RegisterMessage
(
FindLevel2Resp
)
GetLevel2Req
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLevel2Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLEVEL2REQ
,
'__module__'
:
'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.GetLevel2Req)
})
_sym_db
.
RegisterMessage
(
GetLevel2Req
)
GetLevel2Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'GetLevel2Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETLEVEL2RESP
,
'__module__'
:
'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.GetLevel2Resp)
})
_sym_db
.
RegisterMessage
(
GetLevel2Resp
)
WriteLevel2Req
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel2Req'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL2REQ
,
'__module__'
:
'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.WriteLevel2Req)
})
_sym_db
.
RegisterMessage
(
WriteLevel2Req
)
WriteLevel2Resp
=
_reflection
.
GeneratedProtocolMessageType
(
'WriteLevel2Resp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_WRITELEVEL2RESP
,
'__module__'
:
'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.WriteLevel2Resp)
})
_sym_db
.
RegisterMessage
(
WriteLevel2Resp
)
UpdateQc2StatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc2StatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC2STATUSREQ
,
'__module__'
:
'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.UpdateQc2StatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateQc2StatusReq
)
UpdateQc2StatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateQc2StatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEQC2STATUSRESP
,
'__module__'
:
'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.UpdateQc2StatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateQc2StatusResp
)
UpdateProcStatusReq
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSREQ
,
'__module__'
:
'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.UpdateProcStatusReq)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusReq
)
UpdateProcStatusResp
=
_reflection
.
GeneratedProtocolMessageType
(
'UpdateProcStatusResp'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_UPDATEPROCSTATUSRESP
,
'__module__'
:
'hstdm.level2.level2_pb2'
# @@protoc_insertion_point(class_scope:dfs.hstdm.level2.UpdateProcStatusResp)
})
_sym_db
.
RegisterMessage
(
UpdateProcStatusResp
)
DESCRIPTOR
.
_options
=
None
_FINDLEVEL2REQ_OTHERCONDITIONSENTRY
.
_options
=
None
_LEVEL2SRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'Level2Srv'
,
full_name
=
'dfs.hstdm.level2.Level2Srv'
,
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1349
,
serialized_end
=
1792
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
full_name
=
'dfs.hstdm.level2.Level2Srv.Find'
,
index
=
0
,
containing_service
=
None
,
input_type
=
_FINDLEVEL2REQ
,
output_type
=
_FINDLEVEL2RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Get'
,
full_name
=
'dfs.hstdm.level2.Level2Srv.Get'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_GETLEVEL2REQ
,
output_type
=
_GETLEVEL2RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'Write'
,
full_name
=
'dfs.hstdm.level2.Level2Srv.Write'
,
index
=
2
,
containing_service
=
None
,
input_type
=
_WRITELEVEL2REQ
,
output_type
=
_WRITELEVEL2RESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateQc2Status'
,
full_name
=
'dfs.hstdm.level2.Level2Srv.UpdateQc2Status'
,
index
=
3
,
containing_service
=
None
,
input_type
=
_UPDATEQC2STATUSREQ
,
output_type
=
_UPDATEQC2STATUSRESP
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'UpdateProcStatus'
,
full_name
=
'dfs.hstdm.level2.Level2Srv.UpdateProcStatus'
,
index
=
4
,
containing_service
=
None
,
input_type
=
_UPDATEPROCSTATUSREQ
,
output_type
=
_UPDATEPROCSTATUSRESP
,
serialized_options
=
None
,
),
])
_sym_db
.
RegisterServiceDescriptor
(
_LEVEL2SRV
)
DESCRIPTOR
.
services_by_name
[
'Level2Srv'
]
=
_LEVEL2SRV
# @@protoc_insertion_point(module_scope)
csst_dfs_proto/hstdm/level2/level2_pb2_grpc.py
0 → 100644
View file @
15f08467
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
.
import
level2_pb2
as
hstdm_dot_level2_dot_level2__pb2
class
Level2SrvStub
(
object
):
"""Missing associated documentation comment in .proto file"""
def
__init__
(
self
,
channel
):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self
.
Find
=
channel
.
unary_unary
(
'/dfs.hstdm.level2.Level2Srv/Find'
,
request_serializer
=
hstdm_dot_level2_dot_level2__pb2
.
FindLevel2Req
.
SerializeToString
,
response_deserializer
=
hstdm_dot_level2_dot_level2__pb2
.
FindLevel2Resp
.
FromString
,
)
self
.
Get
=
channel
.
unary_unary
(
'/dfs.hstdm.level2.Level2Srv/Get'
,
request_serializer
=
hstdm_dot_level2_dot_level2__pb2
.
GetLevel2Req
.
SerializeToString
,
response_deserializer
=
hstdm_dot_level2_dot_level2__pb2
.
GetLevel2Resp
.
FromString
,
)
self
.
Write
=
channel
.
stream_unary
(
'/dfs.hstdm.level2.Level2Srv/Write'
,
request_serializer
=
hstdm_dot_level2_dot_level2__pb2
.
WriteLevel2Req
.
SerializeToString
,
response_deserializer
=
hstdm_dot_level2_dot_level2__pb2
.
WriteLevel2Resp
.
FromString
,
)
self
.
UpdateQc2Status
=
channel
.
unary_unary
(
'/dfs.hstdm.level2.Level2Srv/UpdateQc2Status'
,
request_serializer
=
hstdm_dot_level2_dot_level2__pb2
.
UpdateQc2StatusReq
.
SerializeToString
,
response_deserializer
=
hstdm_dot_level2_dot_level2__pb2
.
UpdateQc2StatusResp
.
FromString
,
)
self
.
UpdateProcStatus
=
channel
.
unary_unary
(
'/dfs.hstdm.level2.Level2Srv/UpdateProcStatus'
,
request_serializer
=
hstdm_dot_level2_dot_level2__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
response_deserializer
=
hstdm_dot_level2_dot_level2__pb2
.
UpdateProcStatusResp
.
FromString
,
)
class
Level2SrvServicer
(
object
):
"""Missing associated documentation comment in .proto file"""
def
Find
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Get
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
Write
(
self
,
request_iterator
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
UpdateQc2Status
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
UpdateProcStatus
(
self
,
request
,
context
):
"""Missing associated documentation comment in .proto file"""
context
.
set_code
(
grpc
.
StatusCode
.
UNIMPLEMENTED
)
context
.
set_details
(
'Method not implemented!'
)
raise
NotImplementedError
(
'Method not implemented!'
)
def
add_Level2SrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
'Find'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Find
,
request_deserializer
=
hstdm_dot_level2_dot_level2__pb2
.
FindLevel2Req
.
FromString
,
response_serializer
=
hstdm_dot_level2_dot_level2__pb2
.
FindLevel2Resp
.
SerializeToString
,
),
'Get'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
Get
,
request_deserializer
=
hstdm_dot_level2_dot_level2__pb2
.
GetLevel2Req
.
FromString
,
response_serializer
=
hstdm_dot_level2_dot_level2__pb2
.
GetLevel2Resp
.
SerializeToString
,
),
'Write'
:
grpc
.
stream_unary_rpc_method_handler
(
servicer
.
Write
,
request_deserializer
=
hstdm_dot_level2_dot_level2__pb2
.
WriteLevel2Req
.
FromString
,
response_serializer
=
hstdm_dot_level2_dot_level2__pb2
.
WriteLevel2Resp
.
SerializeToString
,
),
'UpdateQc2Status'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateQc2Status
,
request_deserializer
=
hstdm_dot_level2_dot_level2__pb2
.
UpdateQc2StatusReq
.
FromString
,
response_serializer
=
hstdm_dot_level2_dot_level2__pb2
.
UpdateQc2StatusResp
.
SerializeToString
,
),
'UpdateProcStatus'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
UpdateProcStatus
,
request_deserializer
=
hstdm_dot_level2_dot_level2__pb2
.
UpdateProcStatusReq
.
FromString
,
response_serializer
=
hstdm_dot_level2_dot_level2__pb2
.
UpdateProcStatusResp
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'dfs.hstdm.level2.Level2Srv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
# This class is part of an EXPERIMENTAL API.
class
Level2Srv
(
object
):
"""Missing associated documentation comment in .proto file"""
@
staticmethod
def
Find
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.hstdm.level2.Level2Srv/Find'
,
hstdm_dot_level2_dot_level2__pb2
.
FindLevel2Req
.
SerializeToString
,
hstdm_dot_level2_dot_level2__pb2
.
FindLevel2Resp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
Get
(
request
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
unary_unary
(
request
,
target
,
'/dfs.hstdm.level2.Level2Srv/Get'
,
hstdm_dot_level2_dot_level2__pb2
.
GetLevel2Req
.
SerializeToString
,
hstdm_dot_level2_dot_level2__pb2
.
GetLevel2Resp
.
FromString
,
options
,
channel_credentials
,
call_credentials
,
compression
,
wait_for_ready
,
timeout
,
metadata
)
@
staticmethod
def
Write
(
request_iterator
,
target
,
options
=
(),
channel_credentials
=
None
,
call_credentials
=
None
,
compression
=
None
,
wait_for_ready
=
None
,
timeout
=
None
,
metadata
=
None
):
return
grpc
.
experimental
.
stream_unary
(
request_iterator
,
target
,
'/dfs.hstdm.level2.Level2Srv/Write'
,
hstdm_dot_level2_dot_level2__pb2
.
WriteLevel2Req
.
SerializeToString
,
hstdm_dot_level2_dot_level2__pb2
.
WriteLevel2Resp
.
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.hstdm.level2.Level2Srv/UpdateQc2Status'
,
hstdm_dot_level2_dot_level2__pb2
.
UpdateQc2StatusReq
.
SerializeToString
,
hstdm_dot_level2_dot_level2__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.hstdm.level2.Level2Srv/UpdateProcStatus'
,
hstdm_dot_level2_dot_level2__pb2
.
UpdateProcStatusReq
.
SerializeToString
,
hstdm_dot_level2_dot_level2__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