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
59d2e932
Commit
59d2e932
authored
Apr 22, 2022
by
Wei Shoulin
Browse files
new test
parent
d8fe36fb
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
csst_dfs_proto/facility/brick/brick_pb2.py
View file @
59d2e932
...
...
@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package
=
'dfs.facility.brick'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z#cnlab.net/csst/proto/facility/brick'
),
serialized_pb
=
_b
(
'
\n\x1a\x66\x61\x63
ility/brick/brick.proto
\x12\x12\x64\x66
s.facility.brick
\x1a\x12\x63
ommon/error.proto
\"
G
\n\x0b\x42
rickRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\n\n\x02
ra
\x18\x02
\x01
(
\x02\x12\x0b\n\x03\x64\x65\x63\x18\x03
\x01
(
\x02\x12\x13\n\x0b\x62
oundingbox
\x18\x04
\x01
(
\t\"
^
\n\x14\x42
rickObsStatusRecord
\x12\x10\n\x08\x62
rick_id
\x18\x01
\x01
(
\x03\x12\x0c\n\x04\x62\x61
nd
\x18\x02
\x01
(
\t\x12\x11\n\t
cover_num
\x18\x03
\x01
(
\x05\x12\x13\n\x0b
update_time
\x18\x04
\x01
(
\t\"
j
\n\x11\x42
rickLevel1Record
\x12\x10\n\x08\x62
rick_id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level1_id
\x18\x02
\x01
(
\x03\x12\x0e\n\x06
obs_id
\x18\x03
\x01
(
\t\x12\x0e\n\x06
module
\x18\x04
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x05
\x01
(
\t\"\xa6\x01\n\x0c\x46
indBrickReq
\x12\r\n\x05
limit
\x18\x01
\x01
(
\x05\x12
O
\n\x10
other_conditions
\x18\x02
\x03
(
\x0b\x32\x35
.dfs.facility.brick.FindBrickReq.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\r
FindBrickResp
\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\x30\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1f
.dfs.facility.brick.BrickRecord
\"\x19\n\x0b
GetBrickReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
?
\n\x0c
GetBrickResp
\x12
/
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1f
.dfs.facility.brick.BrickRecord
\"
@
\n\r
WriteBrickReq
\x12
/
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1f
.dfs.facility.brick.BrickRecord
\"
p
\n\x0e
WriteBrickResp
\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\x1f
.dfs.facility.brick.BrickRecord
\"\x
bf
\x01\n\x10\x46
indObsStatusReq
\x12\x10\n\x08\x62
rick_id
\x18\x01
\x01
(
\x03\x12\x0c\n\x04\x62\x61
nd
\x18\x02
\x01
(
\t\x12
S
\n\x10
other_conditions
\x18\x0
3
\x03
(
\x0b\x32\x39
.dfs.facility.brick.FindObsStatusReq.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\"\x91\x01\n\x11\x46
indObsStatusResp
\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\x39\n\x07
records
\x18\x04
\x03
(
\x0b\x32
(.dfs.facility.brick.BrickObsStatusRecord
\"
D
\n\r
FindLevel1Req
\x12\x10\n\x08\x62
rick_id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level1_id
\x18\x02
\x01
(
\x03\x12\x0e\n\x06
module
\x18\x03
\x01
(
\t\"\x8b\x01\n\x0e\x46
indLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x36\n\x07
records
\x18\x04
\x03
(
\x0b\x32
%.dfs.facility.brick.BrickLevel1Record2
\xae\x03\n\x08\x42
rickSrv
\x12
M
\n\x04\x46
ind
\x12
.dfs.facility.brick.FindBrickReq
\x1a
!.dfs.facility.brick.FindBrickResp
\"\x00\x12
J
\n\x03
Get
\x12\x1f
.dfs.facility.brick.GetBrickReq
\x1a
.dfs.facility.brick.GetBrickResp
\"\x00\x12
P
\n\x05
Write
\x12
!.dfs.facility.brick.WriteBrickReq
\x1a\"
.dfs.facility.brick.WriteBrickResp
\"\x00\x12
^
\n\r
FindObsStatus
\x12
$.dfs.facility.brick.FindObsStatusReq
\x1a
%.dfs.facility.brick.FindObsStatusResp
\"\x00\x12
U
\n\n
FindLevel1
\x12
!.dfs.facility.brick.FindLevel1Req
\x1a\"
.dfs.facility.brick.FindLevel1Resp
\"\x00\x42
%Z#cnlab.net/csst/proto/facility/brickb
\x06
proto3'
)
serialized_pb
=
_b
(
'
\n\x1a\x66\x61\x63
ility/brick/brick.proto
\x12\x12\x64\x66
s.facility.brick
\x1a\x12\x63
ommon/error.proto
\"
G
\n\x0b\x42
rickRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\n\n\x02
ra
\x18\x02
\x01
(
\x02\x12\x0b\n\x03\x64\x65\x63\x18\x03
\x01
(
\x02\x12\x13\n\x0b\x62
oundingbox
\x18\x04
\x01
(
\t\"
^
\n\x14\x42
rickObsStatusRecord
\x12\x10\n\x08\x62
rick_id
\x18\x01
\x01
(
\x03\x12\x0c\n\x04\x62\x61
nd
\x18\x02
\x01
(
\t\x12\x11\n\t
cover_num
\x18\x03
\x01
(
\x05\x12\x13\n\x0b
update_time
\x18\x04
\x01
(
\t\"
j
\n\x11\x42
rickLevel1Record
\x12\x10\n\x08\x62
rick_id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level1_id
\x18\x02
\x01
(
\x03\x12\x0e\n\x06
obs_id
\x18\x03
\x01
(
\t\x12\x0e\n\x06
module
\x18\x04
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x05
\x01
(
\t\"\xa6\x01\n\x0c\x46
indBrickReq
\x12\r\n\x05
limit
\x18\x01
\x01
(
\x05\x12
O
\n\x10
other_conditions
\x18\x02
\x03
(
\x0b\x32\x35
.dfs.facility.brick.FindBrickReq.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\r
FindBrickResp
\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\x30\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1f
.dfs.facility.brick.BrickRecord
\"\x19\n\x0b
GetBrickReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
?
\n\x0c
GetBrickResp
\x12
/
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1f
.dfs.facility.brick.BrickRecord
\"
@
\n\r
WriteBrickReq
\x12
/
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1f
.dfs.facility.brick.BrickRecord
\"
p
\n\x0e
WriteBrickResp
\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\x1f
.dfs.facility.brick.BrickRecord
\"\x
ce
\x01\n\x10\x46
indObsStatusReq
\x12\x10\n\x08\x62
rick_id
\x18\x01
\x01
(
\x03\x12\x0c\n\x04\x62\x61
nd
\x18\x02
\x01
(
\t\
x12\r\n\x05
limit
\x18\x03
\x01
(
\x05\
x12
S
\n\x10
other_conditions
\x18\x0
4
\x03
(
\x0b\x32\x39
.dfs.facility.brick.FindObsStatusReq.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\"\x91\x01\n\x11\x46
indObsStatusResp
\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\x39\n\x07
records
\x18\x04
\x03
(
\x0b\x32
(.dfs.facility.brick.BrickObsStatusRecord
\"
S
\n\r
FindLevel1Req
\x12\x10\n\x08\x62
rick_id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level1_id
\x18\x02
\x01
(
\x03\x12\x0e\n\x06
module
\x18\x03
\x01
(
\t\
x12\r\n\x05
limit
\x18\x04
\x01
(
\x05\
"\x8b\x01\n\x0e\x46
indLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x36\n\x07
records
\x18\x04
\x03
(
\x0b\x32
%.dfs.facility.brick.BrickLevel1Record2
\xae\x03\n\x08\x42
rickSrv
\x12
M
\n\x04\x46
ind
\x12
.dfs.facility.brick.FindBrickReq
\x1a
!.dfs.facility.brick.FindBrickResp
\"\x00\x12
J
\n\x03
Get
\x12\x1f
.dfs.facility.brick.GetBrickReq
\x1a
.dfs.facility.brick.GetBrickResp
\"\x00\x12
P
\n\x05
Write
\x12
!.dfs.facility.brick.WriteBrickReq
\x1a\"
.dfs.facility.brick.WriteBrickResp
\"\x00\x12
^
\n\r
FindObsStatus
\x12
$.dfs.facility.brick.FindObsStatusReq
\x1a
%.dfs.facility.brick.FindObsStatusResp
\"\x00\x12
U
\n\n
FindLevel1
\x12
!.dfs.facility.brick.FindLevel1Req
\x1a\"
.dfs.facility.brick.FindLevel1Resp
\"\x00\x42
%Z#cnlab.net/csst/proto/facility/brickb
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -515,8 +515,15 @@ _FINDOBSSTATUSREQ = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'other_conditions'
,
full_name
=
'dfs.facility.brick.FindObsStatusReq.other_conditions'
,
index
=
2
,
number
=
3
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
name
=
'limit'
,
full_name
=
'dfs.facility.brick.FindObsStatusReq.limit'
,
index
=
2
,
number
=
3
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'other_conditions'
,
full_name
=
'dfs.facility.brick.FindObsStatusReq.other_conditions'
,
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
,
...
...
@@ -534,7 +541,7 @@ _FINDOBSSTATUSREQ = _descriptor.Descriptor(
oneofs
=
[
],
serialized_start
=
924
,
serialized_end
=
11
15
,
serialized_end
=
11
30
,
)
...
...
@@ -585,8 +592,8 @@ _FINDOBSSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
11
18
,
serialized_end
=
12
63
,
serialized_start
=
11
33
,
serialized_end
=
12
78
,
)
...
...
@@ -618,6 +625,13 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'limit'
,
full_name
=
'dfs.facility.brick.FindLevel1Req.limit'
,
index
=
3
,
number
=
4
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
],
extensions
=
[
],
...
...
@@ -630,8 +644,8 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
12
65
,
serialized_end
=
13
3
3
,
serialized_start
=
12
80
,
serialized_end
=
13
6
3
,
)
...
...
@@ -682,8 +696,8 @@ _FINDLEVEL1RESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
13
3
6
,
serialized_end
=
1
47
5
,
serialized_start
=
13
6
6
,
serialized_end
=
1
50
5
,
)
_FINDBRICKREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDBRICKREQ
...
...
@@ -833,8 +847,8 @@ _BRICKSRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1
47
8
,
serialized_end
=
19
0
8
,
serialized_start
=
1
50
8
,
serialized_end
=
19
3
8
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
...
...
csst_dfs_proto/facility/level2producer/level2producer_pb2.py
View file @
59d2e932
This diff is collapsed.
Click to expand it.
csst_dfs_proto/facility/level2producer/level2producer_pb2_grpc.py
View file @
59d2e932
...
...
@@ -3,7 +3,6 @@ import grpc
from
.
import
level2producer_pb2
as
facility_dot_level2producer_dot_level2producer__pb2
class
Level2ProducerSrvStub
(
object
):
# missing associated documentation comment in .proto file
pass
...
...
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