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
d041bb14
Commit
d041bb14
authored
Jul 27, 2021
by
Wei Shoulin
Browse files
level0_id
parent
1dd2e55d
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
csst_dfs_proto/auth/__init__.py
deleted
100644 → 0
View file @
1dd2e55d
csst_dfs_proto/auth/auth_pb2.py
deleted
100644 → 0
View file @
1dd2e55d
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: auth/auth.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
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
=
'auth/auth.proto'
,
package
=
'dfs.auth'
,
syntax
=
'proto3'
,
serialized_options
=
None
,
serialized_pb
=
_b
(
'
\n\x0f\x61
uth/auth.proto
\x12\x08\x64\x66
s.auth
\x1a\x12\x63
ommon/error.proto
\"
:
\n\x07
Request
\x12\x0e\n\x06
userId
\x18\x01
\x01
(
\x03\x12\x10\n\x08
userName
\x18\x02
\x01
(
\t\x12\r\n\x05
token
\x18\x03
\x01
(
\t\"
H
\n\x08
Response
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\r\n\x05
token
\x18\x03
\x01
(
\t
2
\xc5\x01\n\x07\x41
uthSrv
\x12
:
\n\x0f
MakeAccessToken
\x12\x11
.dfs.auth.Request
\x1a\x12
.dfs.auth.Response
\"\x00\x12
=
\n\x12\x44\x65
lUserAccessToken
\x12\x11
.dfs.auth.Request
\x1a\x12
.dfs.auth.Response
\"\x00\x12
?
\n\x14
GetCachedAccessToken
\x12\x11
.dfs.auth.Request
\x1a\x12
.dfs.auth.Response
\"\x00\x62\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
_REQUEST
=
_descriptor
.
Descriptor
(
name
=
'Request'
,
full_name
=
'dfs.auth.Request'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'userId'
,
full_name
=
'dfs.auth.Request.userId'
,
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
=
'userName'
,
full_name
=
'dfs.auth.Request.userName'
,
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
=
'token'
,
full_name
=
'dfs.auth.Request.token'
,
index
=
2
,
number
=
3
,
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
=
49
,
serialized_end
=
107
,
)
_RESPONSE
=
_descriptor
.
Descriptor
(
name
=
'Response'
,
full_name
=
'dfs.auth.Response'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'success'
,
full_name
=
'dfs.auth.Response.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.auth.Response.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
=
'token'
,
full_name
=
'dfs.auth.Response.token'
,
index
=
2
,
number
=
3
,
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
=
109
,
serialized_end
=
181
,
)
_RESPONSE
.
fields_by_name
[
'error'
].
message_type
=
common_dot_error__pb2
.
_ERROR
DESCRIPTOR
.
message_types_by_name
[
'Request'
]
=
_REQUEST
DESCRIPTOR
.
message_types_by_name
[
'Response'
]
=
_RESPONSE
_sym_db
.
RegisterFileDescriptor
(
DESCRIPTOR
)
Request
=
_reflection
.
GeneratedProtocolMessageType
(
'Request'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_REQUEST
,
'__module__'
:
'auth.auth_pb2'
# @@protoc_insertion_point(class_scope:dfs.auth.Request)
})
_sym_db
.
RegisterMessage
(
Request
)
Response
=
_reflection
.
GeneratedProtocolMessageType
(
'Response'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_RESPONSE
,
'__module__'
:
'auth.auth_pb2'
# @@protoc_insertion_point(class_scope:dfs.auth.Response)
})
_sym_db
.
RegisterMessage
(
Response
)
_AUTHSRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'AuthSrv'
,
full_name
=
'dfs.auth.AuthSrv'
,
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
184
,
serialized_end
=
381
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'MakeAccessToken'
,
full_name
=
'dfs.auth.AuthSrv.MakeAccessToken'
,
index
=
0
,
containing_service
=
None
,
input_type
=
_REQUEST
,
output_type
=
_RESPONSE
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'DelUserAccessToken'
,
full_name
=
'dfs.auth.AuthSrv.DelUserAccessToken'
,
index
=
1
,
containing_service
=
None
,
input_type
=
_REQUEST
,
output_type
=
_RESPONSE
,
serialized_options
=
None
,
),
_descriptor
.
MethodDescriptor
(
name
=
'GetCachedAccessToken'
,
full_name
=
'dfs.auth.AuthSrv.GetCachedAccessToken'
,
index
=
2
,
containing_service
=
None
,
input_type
=
_REQUEST
,
output_type
=
_RESPONSE
,
serialized_options
=
None
,
),
])
_sym_db
.
RegisterServiceDescriptor
(
_AUTHSRV
)
DESCRIPTOR
.
services_by_name
[
'AuthSrv'
]
=
_AUTHSRV
# @@protoc_insertion_point(module_scope)
csst_dfs_proto/auth/auth_pb2_grpc.py
deleted
100644 → 0
View file @
1dd2e55d
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
.
import
auth_pb2
as
auth_dot_auth__pb2
class
AuthSrvStub
(
object
):
# missing associated documentation comment in .proto file
pass
def
__init__
(
self
,
channel
):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self
.
MakeAccessToken
=
channel
.
unary_unary
(
'/dfs.auth.AuthSrv/MakeAccessToken'
,
request_serializer
=
auth_dot_auth__pb2
.
Request
.
SerializeToString
,
response_deserializer
=
auth_dot_auth__pb2
.
Response
.
FromString
,
)
self
.
DelUserAccessToken
=
channel
.
unary_unary
(
'/dfs.auth.AuthSrv/DelUserAccessToken'
,
request_serializer
=
auth_dot_auth__pb2
.
Request
.
SerializeToString
,
response_deserializer
=
auth_dot_auth__pb2
.
Response
.
FromString
,
)
self
.
GetCachedAccessToken
=
channel
.
unary_unary
(
'/dfs.auth.AuthSrv/GetCachedAccessToken'
,
request_serializer
=
auth_dot_auth__pb2
.
Request
.
SerializeToString
,
response_deserializer
=
auth_dot_auth__pb2
.
Response
.
FromString
,
)
class
AuthSrvServicer
(
object
):
# missing associated documentation comment in .proto file
pass
def
MakeAccessToken
(
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
DelUserAccessToken
(
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
GetCachedAccessToken
(
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_AuthSrvServicer_to_server
(
servicer
,
server
):
rpc_method_handlers
=
{
'MakeAccessToken'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
MakeAccessToken
,
request_deserializer
=
auth_dot_auth__pb2
.
Request
.
FromString
,
response_serializer
=
auth_dot_auth__pb2
.
Response
.
SerializeToString
,
),
'DelUserAccessToken'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
DelUserAccessToken
,
request_deserializer
=
auth_dot_auth__pb2
.
Request
.
FromString
,
response_serializer
=
auth_dot_auth__pb2
.
Response
.
SerializeToString
,
),
'GetCachedAccessToken'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
GetCachedAccessToken
,
request_deserializer
=
auth_dot_auth__pb2
.
Request
.
FromString
,
response_serializer
=
auth_dot_auth__pb2
.
Response
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'dfs.auth.AuthSrv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
csst_dfs_proto/common/fits_process/fits
_p
rocess_pb2.py
→
csst_dfs_proto/common/fits_process/fits
P
rocess_pb2.py
View file @
d041bb14
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: common/fits_process/fits
_p
rocess.proto
# source: common/fits_process/fits
P
rocess.proto
import
sys
_b
=
sys
.
version_info
[
0
]
<
3
and
(
lambda
x
:
x
)
or
(
lambda
x
:
x
.
encode
(
'latin1'
))
...
...
@@ -16,11 +16,11 @@ _sym_db = _symbol_database.Default()
DESCRIPTOR
=
_descriptor
.
FileDescriptor
(
name
=
'common/fits_process/fits
_p
rocess.proto'
,
package
=
'dfs.fits
_p
rocess'
,
name
=
'common/fits_process/fits
P
rocess.proto'
,
package
=
'dfs.
common.
fits
P
rocess'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z
(
cnlab.net/csst/proto/common/fits
_p
rocess'
),
serialized_pb
=
_b
(
'
\n
&
common/fits_process/fits
_p
rocess.proto
\x12\x1
0
\x64\x66
s.fits
_p
rocess
\"
0
\n\r
GetHeadersReq
\x12\x11\n\t
file_path
\x18\x01
\x01
(
\t\x12\x0c\n\x04
type
\x18\x02
\x01
(
\r\"
}
\n\x0e
GetHeadersResp
\x12
<
\n\x06
values
\x18\x01
\x03
(
\x0b\x32
,
.dfs.fits
_p
rocess.GetHeadersResp.ValuesEntry
\x1a
-
\n\x0b
ValuesEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\x32
\x63
\n\x0e\x46
itsProcessSrv
\x12
Q
\n\n
GetHeaders
\x12
\x1f
.dfs.fits
_p
rocess.GetHeadersReq
\x1a
.dfs.fits
_p
rocess.GetHeadersResp
\"\x00\x42
*Z(
cnlab.net/csst/proto/common/fits
_p
rocessb
\x06
proto3'
)
serialized_options
=
_b
(
'Z
\'
cnlab.net/csst/proto/common/fits
P
rocess'
),
serialized_pb
=
_b
(
'
\n
%
common/fits_process/fits
P
rocess.proto
\x12\x1
6
\x64\x66
s.
common.
fits
P
rocess
\"
0
\n\r
GetHeadersReq
\x12\x11\n\t
file_path
\x18\x01
\x01
(
\t\x12\x0c\n\x04
type
\x18\x02
\x01
(
\r\"
\x83\x01
\n\x0e
GetHeadersResp
\x12
\x42
\n\x06
values
\x18\x01
\x03
(
\x0b\x32
\x32
.dfs.
common.
fits
P
rocess.GetHeadersResp.ValuesEntry
\x1a
-
\n\x0b
ValuesEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\x32
o
\n\x0e\x46
itsProcessSrv
\x12
]
\n\n
GetHeaders
\x12
%
.dfs.
common.
fits
P
rocess.GetHeadersReq
\x1a
&
.dfs.
common.
fits
P
rocess.GetHeadersResp
\"\x00\x42
)Z
\'
cnlab.net/csst/proto/common/fits
P
rocessb
\x06
proto3'
)
)
...
...
@@ -28,20 +28,20 @@ DESCRIPTOR = _descriptor.FileDescriptor(
_GETHEADERSREQ
=
_descriptor
.
Descriptor
(
name
=
'GetHeadersReq'
,
full_name
=
'dfs.fits
_p
rocess.GetHeadersReq'
,
full_name
=
'dfs.
common.
fits
P
rocess.GetHeadersReq'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'file_path'
,
full_name
=
'dfs.fits
_p
rocess.GetHeadersReq.file_path'
,
index
=
0
,
name
=
'file_path'
,
full_name
=
'dfs.
common.
fits
P
rocess.GetHeadersReq.file_path'
,
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
=
'type'
,
full_name
=
'dfs.fits
_p
rocess.GetHeadersReq.type'
,
index
=
1
,
name
=
'type'
,
full_name
=
'dfs.
common.
fits
P
rocess.GetHeadersReq.type'
,
index
=
1
,
number
=
2
,
type
=
13
,
cpp_type
=
3
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
...
...
@@ -59,27 +59,27 @@ _GETHEADERSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
6
0
,
serialized_end
=
1
08
,
serialized_start
=
6
5
,
serialized_end
=
1
13
,
)
_GETHEADERSRESP_VALUESENTRY
=
_descriptor
.
Descriptor
(
name
=
'ValuesEntry'
,
full_name
=
'dfs.fits
_p
rocess.GetHeadersResp.ValuesEntry'
,
full_name
=
'dfs.
common.
fits
P
rocess.GetHeadersResp.ValuesEntry'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'key'
,
full_name
=
'dfs.fits
_p
rocess.GetHeadersResp.ValuesEntry.key'
,
index
=
0
,
name
=
'key'
,
full_name
=
'dfs.
common.
fits
P
rocess.GetHeadersResp.ValuesEntry.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.fits
_p
rocess.GetHeadersResp.ValuesEntry.value'
,
index
=
1
,
name
=
'value'
,
full_name
=
'dfs.
common.
fits
P
rocess.GetHeadersResp.ValuesEntry.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
,
...
...
@@ -97,19 +97,19 @@ _GETHEADERSRESP_VALUESENTRY = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
190
,
serialized_end
=
2
35
,
serialized_start
=
202
,
serialized_end
=
2
47
,
)
_GETHEADERSRESP
=
_descriptor
.
Descriptor
(
name
=
'GetHeadersResp'
,
full_name
=
'dfs.fits
_p
rocess.GetHeadersResp'
,
full_name
=
'dfs.
common.
fits
P
rocess.GetHeadersResp'
,
filename
=
None
,
file
=
DESCRIPTOR
,
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'values'
,
full_name
=
'dfs.fits
_p
rocess.GetHeadersResp.values'
,
index
=
0
,
name
=
'values'
,
full_name
=
'dfs.
common.
fits
P
rocess.GetHeadersResp.values'
,
index
=
0
,
number
=
1
,
type
=
11
,
cpp_type
=
10
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
...
...
@@ -127,8 +127,8 @@ _GETHEADERSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
11
0
,
serialized_end
=
2
35
,
serialized_start
=
11
6
,
serialized_end
=
2
47
,
)
_GETHEADERSRESP_VALUESENTRY
.
containing_type
=
_GETHEADERSRESP
...
...
@@ -139,8 +139,8 @@ _sym_db.RegisterFileDescriptor(DESCRIPTOR)
GetHeadersReq
=
_reflection
.
GeneratedProtocolMessageType
(
'GetHeadersReq'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETHEADERSREQ
,
'__module__'
:
'common.fits_process.fits
_p
rocess_pb2'
# @@protoc_insertion_point(class_scope:dfs.fits
_p
rocess.GetHeadersReq)
'__module__'
:
'common.fits_process.fits
P
rocess_pb2'
# @@protoc_insertion_point(class_scope:dfs.
common.
fits
P
rocess.GetHeadersReq)
})
_sym_db
.
RegisterMessage
(
GetHeadersReq
)
...
...
@@ -148,13 +148,13 @@ GetHeadersResp = _reflection.GeneratedProtocolMessageType('GetHeadersResp', (_me
'ValuesEntry'
:
_reflection
.
GeneratedProtocolMessageType
(
'ValuesEntry'
,
(
_message
.
Message
,),
{
'DESCRIPTOR'
:
_GETHEADERSRESP_VALUESENTRY
,
'__module__'
:
'common.fits_process.fits
_p
rocess_pb2'
# @@protoc_insertion_point(class_scope:dfs.fits
_p
rocess.GetHeadersResp.ValuesEntry)
'__module__'
:
'common.fits_process.fits
P
rocess_pb2'
# @@protoc_insertion_point(class_scope:dfs.
common.
fits
P
rocess.GetHeadersResp.ValuesEntry)
})
,
'DESCRIPTOR'
:
_GETHEADERSRESP
,
'__module__'
:
'common.fits_process.fits
_p
rocess_pb2'
# @@protoc_insertion_point(class_scope:dfs.fits
_p
rocess.GetHeadersResp)
'__module__'
:
'common.fits_process.fits
P
rocess_pb2'
# @@protoc_insertion_point(class_scope:dfs.
common.
fits
P
rocess.GetHeadersResp)
})
_sym_db
.
RegisterMessage
(
GetHeadersResp
)
_sym_db
.
RegisterMessage
(
GetHeadersResp
.
ValuesEntry
)
...
...
@@ -165,16 +165,16 @@ _GETHEADERSRESP_VALUESENTRY._options = None
_FITSPROCESSSRV
=
_descriptor
.
ServiceDescriptor
(
name
=
'FitsProcessSrv'
,
full_name
=
'dfs.fits
_p
rocess.FitsProcessSrv'
,
full_name
=
'dfs.
common.
fits
P
rocess.FitsProcessSrv'
,
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
2
37
,
serialized_end
=
3
3
6
,
serialized_start
=
2
49
,
serialized_end
=
36
0
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'GetHeaders'
,
full_name
=
'dfs.fits
_p
rocess.FitsProcessSrv.GetHeaders'
,
full_name
=
'dfs.
common.
fits
P
rocess.FitsProcessSrv.GetHeaders'
,
index
=
0
,
containing_service
=
None
,
input_type
=
_GETHEADERSREQ
,
...
...
csst_dfs_proto/common/fits_process/fits
_p
rocess_pb2_grpc.py
→
csst_dfs_proto/common/fits_process/fits
P
rocess_pb2_grpc.py
View file @
d041bb14
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import
grpc
from
.
import
fits
_p
rocess_pb2
as
common_dot_fits__process_dot_fits
__p
rocess__pb2
from
.
import
fits
P
rocess_pb2
as
common_dot_fits__process_dot_fits
P
rocess__pb2
class
FitsProcessSrvStub
(
object
):
...
...
@@ -15,9 +15,9 @@ class FitsProcessSrvStub(object):
channel: A grpc.Channel.
"""
self
.
GetHeaders
=
channel
.
unary_unary
(
'/dfs.fits
_p
rocess.FitsProcessSrv/GetHeaders'
,
request_serializer
=
common_dot_fits__process_dot_fits
__p
rocess__pb2
.
GetHeadersReq
.
SerializeToString
,
response_deserializer
=
common_dot_fits__process_dot_fits
__p
rocess__pb2
.
GetHeadersResp
.
FromString
,
'/dfs.
common.
fits
P
rocess.FitsProcessSrv/GetHeaders'
,
request_serializer
=
common_dot_fits__process_dot_fits
P
rocess__pb2
.
GetHeadersReq
.
SerializeToString
,
response_deserializer
=
common_dot_fits__process_dot_fits
P
rocess__pb2
.
GetHeadersResp
.
FromString
,
)
...
...
@@ -37,10 +37,10 @@ def add_FitsProcessSrvServicer_to_server(servicer, server):
rpc_method_handlers
=
{
'GetHeaders'
:
grpc
.
unary_unary_rpc_method_handler
(
servicer
.
GetHeaders
,
request_deserializer
=
common_dot_fits__process_dot_fits
__p
rocess__pb2
.
GetHeadersReq
.
FromString
,
response_serializer
=
common_dot_fits__process_dot_fits
__p
rocess__pb2
.
GetHeadersResp
.
SerializeToString
,
request_deserializer
=
common_dot_fits__process_dot_fits
P
rocess__pb2
.
GetHeadersReq
.
FromString
,
response_serializer
=
common_dot_fits__process_dot_fits
P
rocess__pb2
.
GetHeadersResp
.
SerializeToString
,
),
}
generic_handler
=
grpc
.
method_handlers_generic_handler
(
'dfs.fits
_p
rocess.FitsProcessSrv'
,
rpc_method_handlers
)
'dfs.
common.
fits
P
rocess.FitsProcessSrv'
,
rpc_method_handlers
)
server
.
add_generic_rpc_handlers
((
generic_handler
,))
csst_dfs_proto/facility/calmerge/calmerge_pb2.py
View file @
d041bb14
...
...
@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package
=
'dfs.facility.calmerge'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z&cnlab.net/csst/proto/facility/calmerge'
),
serialized_pb
=
_b
(
'
\n
facility/calmerge/calmerge.proto
\x12\x15\x64\x66
s.facility.calmerge
\x1a\x12\x63
ommon/error.proto
\"\x
8
1\x02\n\x0e\x43\x61
lMergeRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x13\n\x0b\x64\x65
tector_no
\x18\x0
2
\x01
(
\t\x12\x10\n\x08
ref_type
\x18\x0
3
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x0
4
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x0
5
\x01
(
\x02\x12\x10\n\x08\x66
ilename
\x18\x0
6
\x01
(
\t\x12\x11\n\t
file_path
\x18\x0
7
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\
x08
\x01
(
\x05\x12\x10\n\x08
qc1_time
\x18\
t
\x01
(
\t\x12\x12\n\n
prc_status
\x18\
n
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x0
b
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\
x0c
\x01
(
\t\x12\x12\n\n
level0_ids
\x18\
r
\x03
(
\
x03
\"\xbf\x02\n\x0f\x46
indCalMergeReq
\x12\x13\n\x0b\x64\x65
tector_no
\x18\x01
\x01
(
\t\x12\x10\n\x08
ref_type
\x18\x02
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x03
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x11\n\t
file_name
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\x05\x12
U
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32
;.dfs.facility.calmerge.FindCalMergeReq.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\"\x8d\x01\n\x10\x46
indCalMergeResp
\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.calmerge.CalMergeRecord
\"
\x1c
\n\x0e
GetCalMergeReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
H
\n\x0f
GetCalMergeResp
\x12\x35\n\x06
record
\x18\x01
\x01
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
I
\n\x10
WriteCalMergeReq
\x12\x35\n\x06
record
\x18\x01
\x01
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
y
\n\x11
WriteCalMergeResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x35\n\x06
record
\x18\x03
\x01
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
0
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x0
2
\x01
(
\x05\"
D
\n\x13
UpdateQc1StatusResp
\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\x0
2
\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
\xf9\x03\n\x0b\x43\x61
lMergeSrv
\x12
Y
\n\x04\x46
ind
\x12
&.dfs.facility.calmerge.FindCalMergeReq
\x1a\'
.dfs.facility.calmerge.FindCalMergeResp
\"\x00\x12
V
\n\x03
Get
\x12
%.dfs.facility.calmerge.GetCalMergeReq
\x1a
&.dfs.facility.calmerge.GetCalMergeResp
\"\x00\x12\\\n\x05
Write
\x12\'
.dfs.facility.calmerge.WriteCalMergeReq
\x1a
(.dfs.facility.calmerge.WriteCalMergeResp
\"\x00\x12
j
\n\x0f
UpdateQc1Status
\x12
).dfs.facility.calmerge.UpdateQc1StatusReq
\x1a
*.dfs.facility.calmerge.UpdateQc1StatusResp
\"\x00\x12
m
\n\x10
UpdateProcStatus
\x12
*.dfs.facility.calmerge.UpdateProcStatusReq
\x1a
+.dfs.facility.calmerge.UpdateProcStatusResp
\"\x00\x42
(Z&cnlab.net/csst/proto/facility/calmergeb
\x06
proto3'
)
serialized_pb
=
_b
(
'
\n
facility/calmerge/calmerge.proto
\x12\x15\x64\x66
s.facility.calmerge
\x1a\x12\x63
ommon/error.proto
\"\x
9
1\x02\n\x0e\x43\x61
lMergeRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\
x0e\n\x06\x63\x61
l_id
\x18\x02
\x01
(
\t\x12\
x13\n\x0b\x64\x65
tector_no
\x18\x0
3
\x01
(
\t\x12\x10\n\x08
ref_type
\x18\x0
4
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x0
5
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x0
6
\x01
(
\x02\x12\x10\n\x08\x66
ilename
\x18\x0
7
\x01
(
\t\x12\x11\n\t
file_path
\x18\x0
8
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\
t
\x01
(
\x05\x12\x10\n\x08
qc1_time
\x18\
n
\x01
(
\t\x12\x12\n\n
prc_status
\x18\
x0b
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x0
c
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\
r
\x01
(
\t\x12\x12\n\n
level0_ids
\x18\
x0e
\x03
(
\
t
\"\xbf\x02\n\x0f\x46
indCalMergeReq
\x12\x13\n\x0b\x64\x65
tector_no
\x18\x01
\x01
(
\t\x12\x10\n\x08
ref_type
\x18\x02
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x03
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x11\n\t
file_name
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\x05\x12
U
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32
;.dfs.facility.calmerge.FindCalMergeReq.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\"\x8d\x01\n\x10\x46
indCalMergeResp
\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.calmerge.CalMergeRecord
\"
,
\n\x0e
GetCalMergeReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\
x12\x0e\n\x06\x63\x61
l_id
\x18\x02
\x01
(
\t\
"
H
\n\x0f
GetCalMergeResp
\x12\x35\n\x06
record
\x18\x01
\x01
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
I
\n\x10
WriteCalMergeReq
\x12\x35\n\x06
record
\x18\x01
\x01
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
y
\n\x11
WriteCalMergeResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x35\n\x06
record
\x18\x03
\x01
(
\x0b\x32
%.dfs.facility.calmerge.CalMergeRecord
\"
@
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\
x06\x63\x61
l_id
\x18\x02
\x01
(
\t\x12\x0e\n\
x06
status
\x18\x0
3
\x01
(
\x05\"
D
\n\x13
UpdateQc1StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
A
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\
x06\x63\x61
l_id
\x18\x02
\x01
(
\t\x12\x0e\n\
x06
status
\x18\x0
3
\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
\xf9\x03\n\x0b\x43\x61
lMergeSrv
\x12
Y
\n\x04\x46
ind
\x12
&.dfs.facility.calmerge.FindCalMergeReq
\x1a\'
.dfs.facility.calmerge.FindCalMergeResp
\"\x00\x12
V
\n\x03
Get
\x12
%.dfs.facility.calmerge.GetCalMergeReq
\x1a
&.dfs.facility.calmerge.GetCalMergeResp
\"\x00\x12\\\n\x05
Write
\x12\'
.dfs.facility.calmerge.WriteCalMergeReq
\x1a
(.dfs.facility.calmerge.WriteCalMergeResp
\"\x00\x12
j
\n\x0f
UpdateQc1Status
\x12
).dfs.facility.calmerge.UpdateQc1StatusReq
\x1a
*.dfs.facility.calmerge.UpdateQc1StatusResp
\"\x00\x12
m
\n\x10
UpdateProcStatus
\x12
*.dfs.facility.calmerge.UpdateProcStatusReq
\x1a
+.dfs.facility.calmerge.UpdateProcStatusResp
\"\x00\x42
(Z&cnlab.net/csst/proto/facility/calmergeb
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -43,85 +43,92 @@ _CALMERGERECORD = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'
detector_no
'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.
detector_no
'
,
index
=
1
,
name
=
'
cal_id
'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.
cal_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
=
'
ref_type
'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.
ref_type
'
,
index
=
2
,
name
=
'
detector_no
'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.
detector_no
'
,
index
=
2
,
number
=
3
,
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
=
'
obs_tim
e'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.
obs_tim
e'
,
index
=
3
,
name
=
'
ref_typ
e'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.
ref_typ
e'
,
index
=
3
,
number
=
4
,
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
=
'exp_time'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.exp_time'
,
index
=
4
,
number
=
5
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
name
=
'obs_time'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.obs_time'
,
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
=
'exp_time'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.exp_time'
,
index
=
5
,
number
=
6
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'filename'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.filename'
,
index
=
5
,
number
=
6
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'filename'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.filename'
,
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
=
'file_path'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.file_path'
,
index
=
6
,
number
=
7
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'file_path'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.file_path'
,
index
=
7
,
number
=
8
,
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
=
'qc1_status'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.qc1_status'
,
index
=
7
,
number
=
8
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
name
=
'qc1_status'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.qc1_status'
,
index
=
8
,
number
=
9
,
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
=
'qc1_time'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.qc1_time'
,
index
=
8
,
number
=
9
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'qc1_time'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.qc1_time'
,
index
=
9
,
number
=
10
,
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.facility.calmerge.CalMergeRecord.prc_status'
,
index
=
9
,
number
=
1
0
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
name
=
'prc_status'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.prc_status'
,
index
=
10
,
number
=
1
1
,
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.facility.calmerge.CalMergeRecord.prc_time'
,
index
=
1
0
,
number
=
1
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'prc_time'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.prc_time'
,
index
=
1
1
,
number
=
1
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
=
'create_time'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.create_time'
,
index
=
1
1
,
number
=
1
2
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'create_time'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.create_time'
,
index
=
1
2
,
number
=
1
3
,
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
=
'level0_ids'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.level0_ids'
,
index
=
1
2
,
number
=
1
3
,
type
=
3
,
cpp_type
=
2
,
label
=
3
,
name
=
'level0_ids'
,
full_name
=
'dfs.facility.calmerge.CalMergeRecord.level0_ids'
,
index
=
1
3
,
number
=
1
4
,
type
=
9
,
cpp_type
=
9
,
label
=
3
,
has_default_value
=
False
,
default_value
=
[],
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
...
...
@@ -139,7 +146,7 @@ _CALMERGERECORD = _descriptor.Descriptor(
oneofs
=
[
],
serialized_start
=
80
,
serialized_end
=
33
7
,
serialized_end
=
3
5
3
,
)
...
...
@@ -176,8 +183,8 @@ _FINDCALMERGEREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
6
05
,
serialized_end
=
65
9
,
serialized_start
=
6
21
,
serialized_end
=
6
7
5
,
)
_FINDCALMERGEREQ
=
_descriptor
.
Descriptor
(
...
...
@@ -262,8 +269,8 @@ _FINDCALMERGEREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
3
40
,
serialized_end
=
65
9
,
serialized_start
=
3
56
,
serialized_end
=
6
7
5
,
)
...
...
@@ -314,8 +321,8 @@ _FINDCALMERGERESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
6
62
,
serialized_end
=
8
03
,
serialized_start
=
6
78
,
serialized_end
=
8
19
,
)
...
...
@@ -333,6 +340,13 @@ _GETCALMERGEREQ = _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
=
'cal_id'
,
full_name
=
'dfs.facility.calmerge.GetCalMergeReq.cal_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
),
],
extensions
=
[
],
...
...
@@ -345,8 +359,8 @@ _GETCALMERGEREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
8
05
,
serialized_end
=
8
33
,
serialized_start
=
8
21
,
serialized_end
=
8
65
,
)
...
...
@@ -376,8 +390,8 @@ _GETCALMERGERESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
8
35
,
serialized_end
=
9
07
,
serialized_start
=
8
67
,
serialized_end
=
9
39
,
)
...
...
@@ -407,8 +421,8 @@ _WRITECALMERGEREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
9
09
,
serialized_end
=
982
,
serialized_start
=
9
41
,
serialized_end
=
1014
,
)
...
...
@@ -452,8 +466,8 @@ _WRITECALMERGERESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
984
,
serialized_end
=
11
05
,
serialized_start
=
1016
,
serialized_end
=
11
37
,
)
...
...
@@ -472,8 +486,15 @@ _UPDATEQC1STATUSREQ = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'status'
,
full_name
=
'dfs.facility.calmerge.UpdateQc1StatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
name
=
'cal_id'
,
full_name
=
'dfs.facility.calmerge.UpdateQc1StatusReq.cal_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
=
'status'
,
full_name
=
'dfs.facility.calmerge.UpdateQc1StatusReq.status'
,
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
,
...
...
@@ -490,8 +511,8 @@ _UPDATEQC1STATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
11
07
,
serialized_end
=
1
155
,
serialized_start
=
11
39
,
serialized_end
=
1
203
,
)
...
...
@@ -528,8 +549,8 @@ _UPDATEQC1STATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
157
,
serialized_end
=
12
25
,
serialized_start
=
1
205
,
serialized_end
=
12
73
,
)
...
...
@@ -548,8 +569,15 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'status'
,
full_name
=
'dfs.facility.calmerge.UpdateProcStatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
name
=
'cal_id'
,
full_name
=
'dfs.facility.calmerge.UpdateProcStatusReq.cal_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
=
'status'
,
full_name
=
'dfs.facility.calmerge.UpdateProcStatusReq.status'
,
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
,
...
...
@@ -566,8 +594,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
12
2
7
,
serialized_end
=
1
276
,
serialized_start
=
127
5
,
serialized_end
=
1
340
,
)
...
...
@@ -604,8 +632,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
278
,
serialized_end
=
1
347
,
serialized_start
=
1
342
,
serialized_end
=
1
411
,
)
_FINDCALMERGEREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDCALMERGEREQ
...
...
@@ -726,8 +754,8 @@ _CALMERGESRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1
350
,
serialized_end
=
1
855
,
serialized_start
=
1
414
,
serialized_end
=
1
919
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
...
...
csst_dfs_proto/facility/level0/level0_pb2.py
View file @
d041bb14
...
...
@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package
=
'dfs.facility.level0'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z$cnlab.net/csst/proto/facility/level0'
),
serialized_pb
=
_b
(
'
\n\x1c\x66\x61\x63
ility/level0/level0.proto
\x12\x13\x64\x66
s.facility.level0
\x1a\x12\x63
ommon/error.proto
\"\x
97
\x02\n\x0c
Level0Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
obs_id
\x18\x0
2
\x01
(
\
x03
\x12\x13\n\x0b\x64\x65
tector_no
\x18\x0
3
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x0
4
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x0
5
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x0
6
\x01
(
\x02\x12\x1a\n\x12\x64\x65
tector_status_id
\x18\x0
7
\x01
(
\x03\x12\x10\n\x08\x66
ilename
\x18\
x08
\x01
(
\t\x12\x11\n\t
file_path
\x18\
t
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\
n
\x01
(
\x05\x12\x10\n\x08
qc0_time
\x18\x0
b
\x01
(
\t\x12\x12\n\n
prc_status
\x18\
x0c
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\
r
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0
e
\x01
(
\t\"\xd1\x02\n\x11\x46
indLevel0DataReq
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\
x03
\x12\x13\n\x0b\x64\x65
tector_no
\x18\x02
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x03
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x04
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x05
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\x06
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x07
\x01
(
\x05\x12\x11\n\t
file_name
\x18\x08
\x01
(
\t\x12\r\n\x05
limit
\x18\t
\x01
(
\x05\x12
U
\n\x10
other_conditions
\x18\n
\x03
(
\x0b\x32
;.dfs.facility.level0.FindLevel0DataReq.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x8b\x01\n\x12\x46
indLevel0DataResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x32\n\x07
records
\x18\x04
\x03
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
\x1e
\n\x10
GetLevel0DataReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
F
\n\x11
GetLevel0DataResp
\x12\x31\n\x06
record
\x18\x01
\x01
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
G
\n\x12
WriteLevel0DataReq
\x12\x31\n\x06
record
\x18\x01
\x01
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
w
\n\x13
WriteLevel0DataResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x31\n\x06
record
\x18\x03
\x01
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
0
\n\x12
UpdateQc0StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x0
2
\x01
(
\x05\"
D
\n\x13
UpdateQc0StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
1
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x0
2
\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
\xef\x03\n\t
Level0Srv
\x12
Y
\n\x04\x46
ind
\x12
&.dfs.facility.level0.FindLevel0DataReq
\x1a\'
.dfs.facility.level0.FindLevel0DataResp
\"\x00\x12
V
\n\x03
Get
\x12
%.dfs.facility.level0.GetLevel0DataReq
\x1a
&.dfs.facility.level0.GetLevel0DataResp
\"\x00\x12\\\n\x05
Write
\x12\'
.dfs.facility.level0.WriteLevel0DataReq
\x1a
(.dfs.facility.level0.WriteLevel0DataResp
\"\x00\x12\x66\n\x0f
UpdateQc0Status
\x12\'
.dfs.facility.level0.UpdateQc0StatusReq
\x1a
(.dfs.facility.level0.UpdateQc0StatusResp
\"\x00\x12
i
\n\x10
UpdateProcStatus
\x12
(.dfs.facility.level0.UpdateProcStatusReq
\x1a
).dfs.facility.level0.UpdateProcStatusResp
\"\x00\x42
&Z$cnlab.net/csst/proto/facility/level0b
\x06
proto3'
)
serialized_pb
=
_b
(
'
\n\x1c\x66\x61\x63
ility/level0/level0.proto
\x12\x13\x64\x66
s.facility.level0
\x1a\x12\x63
ommon/error.proto
\"\x
aa
\x02\n\x0c
Level0Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\
x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\
x0e\n\x06
obs_id
\x18\x0
3
\x01
(
\
t
\x12\x13\n\x0b\x64\x65
tector_no
\x18\x0
4
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x0
5
\x01
(
\t\x12\x10\n\x08
obs_time
\x18\x0
6
\x01
(
\t\x12\x10\n\x08\x65
xp_time
\x18\x0
7
\x01
(
\x02\x12\x1a\n\x12\x64\x65
tector_status_id
\x18\x0
8
\x01
(
\x03\x12\x10\n\x08\x66
ilename
\x18\
t
\x01
(
\t\x12\x11\n\t
file_path
\x18\
n
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\
x0b
\x01
(
\x05\x12\x10\n\x08
qc0_time
\x18\x0
c
\x01
(
\t\x12\x12\n\n
prc_status
\x18\
r
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\
x0e
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0
f
\x01
(
\t\"\xd1\x02\n\x11\x46
indLevel0DataReq
\x12\x0e\n\x06
obs_id
\x18\x01
\x01
(
\
t
\x12\x13\n\x0b\x64\x65
tector_no
\x18\x02
\x01
(
\t\x12\x10\n\x08
obs_type
\x18\x03
\x01
(
\t\x12\x16\n\x0e\x65
xp_time_start
\x18\x04
\x01
(
\t\x12\x14\n\x0c\x65
xp_time_end
\x18\x05
\x01
(
\t\x12\x12\n\n
qc0_status
\x18\x06
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x07
\x01
(
\x05\x12\x11\n\t
file_name
\x18\x08
\x01
(
\t\x12\r\n\x05
limit
\x18\t
\x01
(
\x05\x12
U
\n\x10
other_conditions
\x18\n
\x03
(
\x0b\x32
;.dfs.facility.level0.FindLevel0DataReq.OtherConditionsEntry
\x1a\x36\n\x14
OtherConditionsEntry
\x12\x0b\n\x03
key
\x18\x01
\x01
(
\t\x12\r\n\x05
value
\x18\x02
\x01
(
\t
:
\x02\x38\x01\"\x8b\x01\n\x12\x46
indLevel0DataResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x12\n\n
totalCount
\x18\x02
\x01
(
\x05\x12\x1c\n\x05\x65
rror
\x18\x03
\x01
(
\x0b\x32\r
.common.Error
\x12\x32\n\x07
records
\x18\x04
\x03
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
1
\n\x10
GetLevel0DataReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\
x12\x11\n\t
level0_id
\x18\x02
\x01
(
\t\
"
F
\n\x11
GetLevel0DataResp
\x12\x31\n\x06
record
\x18\x01
\x01
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
G
\n\x12
WriteLevel0DataReq
\x12\x31\n\x06
record
\x18\x01
\x01
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
w
\n\x13
WriteLevel0DataResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x31\n\x06
record
\x18\x03
\x01
(
\x0b\x32
!.dfs.facility.level0.Level0Record
\"
C
\n\x12
UpdateQc0StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\
x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\
x0e\n\x06
status
\x18\x0
3
\x01
(
\x05\"
D
\n\x13
UpdateQc0StatusResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\"
D
\n\x13
UpdateProcStatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\
x11\n\t
level0_id
\x18\x02
\x01
(
\t\x12\
x0e\n\x06
status
\x18\x0
3
\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
\xef\x03\n\t
Level0Srv
\x12
Y
\n\x04\x46
ind
\x12
&.dfs.facility.level0.FindLevel0DataReq
\x1a\'
.dfs.facility.level0.FindLevel0DataResp
\"\x00\x12
V
\n\x03
Get
\x12
%.dfs.facility.level0.GetLevel0DataReq
\x1a
&.dfs.facility.level0.GetLevel0DataResp
\"\x00\x12\\\n\x05
Write
\x12\'
.dfs.facility.level0.WriteLevel0DataReq
\x1a
(.dfs.facility.level0.WriteLevel0DataResp
\"\x00\x12\x66\n\x0f
UpdateQc0Status
\x12\'
.dfs.facility.level0.UpdateQc0StatusReq
\x1a
(.dfs.facility.level0.UpdateQc0StatusResp
\"\x00\x12
i
\n\x10
UpdateProcStatus
\x12
(.dfs.facility.level0.UpdateProcStatusReq
\x1a
).dfs.facility.level0.UpdateProcStatusResp
\"\x00\x42
&Z$cnlab.net/csst/proto/facility/level0b
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -43,92 +43,99 @@ _LEVEL0RECORD = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'
obs
_id'
,
full_name
=
'dfs.facility.level0.Level0Record.
obs
_id'
,
index
=
1
,
number
=
2
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'
level0
_id'
,
full_name
=
'dfs.facility.level0.Level0Record.
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
=
'
detector_no
'
,
full_name
=
'dfs.facility.level0.Level0Record.
detector_no
'
,
index
=
2
,
name
=
'
obs_id
'
,
full_name
=
'dfs.facility.level0.Level0Record.
obs_id
'
,
index
=
2
,
number
=
3
,
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
=
'
obs_type
'
,
full_name
=
'dfs.facility.level0.Level0Record.
obs_type
'
,
index
=
3
,
name
=
'
detector_no
'
,
full_name
=
'dfs.facility.level0.Level0Record.
detector_no
'
,
index
=
3
,
number
=
4
,
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
=
'obs_t
im
e'
,
full_name
=
'dfs.facility.level0.Level0Record.obs_t
im
e'
,
index
=
4
,
name
=
'obs_t
yp
e'
,
full_name
=
'dfs.facility.level0.Level0Record.obs_t
yp
e'
,
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
=
'exp_time'
,
full_name
=
'dfs.facility.level0.Level0Record.exp_time'
,
index
=
5
,
number
=
6
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
name
=
'obs_time'
,
full_name
=
'dfs.facility.level0.Level0Record.obs_time'
,
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
=
'exp_time'
,
full_name
=
'dfs.facility.level0.Level0Record.exp_time'
,
index
=
6
,
number
=
7
,
type
=
2
,
cpp_type
=
6
,
label
=
1
,
has_default_value
=
False
,
default_value
=
float
(
0
),
message_type
=
None
,
enum_type
=
None
,
containing_type
=
None
,
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'detector_status_id'
,
full_name
=
'dfs.facility.level0.Level0Record.detector_status_id'
,
index
=
6
,
number
=
7
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
name
=
'detector_status_id'
,
full_name
=
'dfs.facility.level0.Level0Record.detector_status_id'
,
index
=
7
,
number
=
8
,
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
=
'filename'
,
full_name
=
'dfs.facility.level0.Level0Record.filename'
,
index
=
7
,
number
=
8
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'filename'
,
full_name
=
'dfs.facility.level0.Level0Record.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
=
'file_path'
,
full_name
=
'dfs.facility.level0.Level0Record.file_path'
,
index
=
8
,
number
=
9
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'file_path'
,
full_name
=
'dfs.facility.level0.Level0Record.file_path'
,
index
=
9
,
number
=
10
,
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
=
'qc0_status'
,
full_name
=
'dfs.facility.level0.Level0Record.qc0_status'
,
index
=
9
,
number
=
1
0
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
name
=
'qc0_status'
,
full_name
=
'dfs.facility.level0.Level0Record.qc0_status'
,
index
=
10
,
number
=
1
1
,
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
=
'qc0_time'
,
full_name
=
'dfs.facility.level0.Level0Record.qc0_time'
,
index
=
1
0
,
number
=
1
1
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'qc0_time'
,
full_name
=
'dfs.facility.level0.Level0Record.qc0_time'
,
index
=
1
1
,
number
=
1
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
=
'prc_status'
,
full_name
=
'dfs.facility.level0.Level0Record.prc_status'
,
index
=
1
1
,
number
=
1
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
name
=
'prc_status'
,
full_name
=
'dfs.facility.level0.Level0Record.prc_status'
,
index
=
1
2
,
number
=
1
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
=
'prc_time'
,
full_name
=
'dfs.facility.level0.Level0Record.prc_time'
,
index
=
1
2
,
number
=
1
3
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'prc_time'
,
full_name
=
'dfs.facility.level0.Level0Record.prc_time'
,
index
=
1
3
,
number
=
1
4
,
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.facility.level0.Level0Record.create_time'
,
index
=
1
3
,
number
=
1
4
,
type
=
9
,
cpp_type
=
9
,
label
=
1
,
name
=
'create_time'
,
full_name
=
'dfs.facility.level0.Level0Record.create_time'
,
index
=
1
4
,
number
=
1
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
,
...
...
@@ -146,7 +153,7 @@ _LEVEL0RECORD = _descriptor.Descriptor(
oneofs
=
[
],
serialized_start
=
74
,
serialized_end
=
3
53
,
serialized_end
=
3
72
,
)
...
...
@@ -183,8 +190,8 @@ _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
6
39
,
serialized_end
=
693
,
serialized_start
=
6
58
,
serialized_end
=
712
,
)
_FINDLEVEL0DATAREQ
=
_descriptor
.
Descriptor
(
...
...
@@ -196,8 +203,8 @@ _FINDLEVEL0DATAREQ = _descriptor.Descriptor(
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'obs_id'
,
full_name
=
'dfs.facility.level0.FindLevel0DataReq.obs_id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
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
),
...
...
@@ -276,8 +283,8 @@ _FINDLEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
35
6
,
serialized_end
=
693
,
serialized_start
=
3
7
5
,
serialized_end
=
712
,
)
...
...
@@ -328,8 +335,8 @@ _FINDLEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
696
,
serialized_end
=
8
3
5
,
serialized_start
=
715
,
serialized_end
=
85
4
,
)
...
...
@@ -347,6 +354,13 @@ _GETLEVEL0DATAREQ = _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
=
'level0_id'
,
full_name
=
'dfs.facility.level0.GetLevel0DataReq.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
),
],
extensions
=
[
],
...
...
@@ -359,8 +373,8 @@ _GETLEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
8
37
,
serialized_end
=
867
,
serialized_start
=
8
56
,
serialized_end
=
905
,
)
...
...
@@ -390,8 +404,8 @@ _GETLEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
869
,
serialized_end
=
9
39
,
serialized_start
=
907
,
serialized_end
=
9
77
,
)
...
...
@@ -421,8 +435,8 @@ _WRITELEVEL0DATAREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
9
41
,
serialized_end
=
10
12
,
serialized_start
=
9
79
,
serialized_end
=
10
50
,
)
...
...
@@ -466,8 +480,8 @@ _WRITELEVEL0DATARESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
10
14
,
serialized_end
=
11
33
,
serialized_start
=
10
52
,
serialized_end
=
11
71
,
)
...
...
@@ -486,8 +500,15 @@ _UPDATEQC0STATUSREQ = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'status'
,
full_name
=
'dfs.facility.level0.UpdateQc0StatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
name
=
'level0_id'
,
full_name
=
'dfs.facility.level0.UpdateQc0StatusReq.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
=
'status'
,
full_name
=
'dfs.facility.level0.UpdateQc0StatusReq.status'
,
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
,
...
...
@@ -504,8 +525,8 @@ _UPDATEQC0STATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
113
5
,
serialized_end
=
1
183
,
serialized_start
=
11
7
3
,
serialized_end
=
1
240
,
)
...
...
@@ -542,8 +563,8 @@ _UPDATEQC0STATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
185
,
serialized_end
=
1
253
,
serialized_start
=
1
242
,
serialized_end
=
1
310
,
)
...
...
@@ -562,8 +583,15 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'status'
,
full_name
=
'dfs.facility.level0.UpdateProcStatusReq.status'
,
index
=
1
,
number
=
2
,
type
=
5
,
cpp_type
=
1
,
label
=
1
,
name
=
'level0_id'
,
full_name
=
'dfs.facility.level0.UpdateProcStatusReq.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
=
'status'
,
full_name
=
'dfs.facility.level0.UpdateProcStatusReq.status'
,
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
,
...
...
@@ -580,8 +608,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
1
255
,
serialized_end
=
130
4
,
serialized_start
=
1
312
,
serialized_end
=
13
8
0
,
)
...
...
@@ -618,8 +646,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
13
06
,
serialized_end
=
1
375
,
serialized_start
=
13
82
,
serialized_end
=
1
451
,
)
_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDLEVEL0DATAREQ
...
...
@@ -740,8 +768,8 @@ _LEVEL0SRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
1
378
,
serialized_end
=
1
873
,
serialized_start
=
1
454
,
serialized_end
=
1
949
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
...
...
csst_dfs_proto/facility/level0prc/level0prc_pb2.py
View file @
d041bb14
...
...
@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package
=
'dfs.facility.level0prc'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z
\'
cnlab.net/csst/proto/facility/level0prc'
),
serialized_pb
=
_b
(
'
\n\"
facility/level0prc/level0prc.proto
\x12\x16\x64\x66
s.facility.level0prc
\x1a\x12\x63
ommon/error.proto
\"\x
a5
\x01\n\x0f
Level0PrcRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\
x03
\x12\x13\n\x0b
pipeline_id
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x04
\x01
(
\t\x12\x1
1
\n\
t
params_
id
\x18\x05
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x07
\x01
(
\t\x12\x1
1
\n\
t
file_path
\x18\x08
\x01
(
\t\"\xf3\x01\n\x10\x46
indLevel0PrcReq
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\
x03
\x12\x13\n\x0b
pipeline_id
\x18\x02
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x04
\x01
(
\x05\x12
W
\n\x10
other_conditions
\x18\x05
\x03
(
\x0b\x32
=.dfs.facility.level0prc.FindLevel0PrcReq.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\"\x90\x01\n\x11\x46
indLevel0PrcResp
\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\x38\n\x07
records
\x18\x04
\x03
(
\x0b\x32\'
.dfs.facility.level0prc.Level0PrcRecord
\"
L
\n\x11
WriteLevel0PrcReq
\x12\x37\n\x06
record
\x18\x01
\x01
(
\x0b\x32\'
.dfs.facility.level0prc.Level0PrcRecord
\"
|
\n\x12
WriteLevel0PrcResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x37\n\x06
record
\x18\x03
\x01
(
\x0b\x32\'
.dfs.facility.level0prc.Level0PrcRecord
\"
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
\xc0\x02\n\x0c
Level0PrcSrv
\x12
]
\n\x04\x46
ind
\x12
(.dfs.facility.level0prc.FindLevel0PrcReq
\x1a
).dfs.facility.level0prc.FindLevel0PrcResp
\"\x00\x12
`
\n\x05
Write
\x12
).dfs.facility.level0prc.WriteLevel0PrcReq
\x1a
*.dfs.facility.level0prc.WriteLevel0PrcResp
\"\x00\x12
o
\n\x10
UpdateProcStatus
\x12
+.dfs.facility.level0prc.UpdateProcStatusReq
\x1a
,.dfs.facility.level0prc.UpdateProcStatusResp
\"\x00\x42
)Z
\'
cnlab.net/csst/proto/facility/level0prcb
\x06
proto3'
)
serialized_pb
=
_b
(
'
\n\"
facility/level0prc/level0prc.proto
\x12\x16\x64\x66
s.facility.level0prc
\x1a\x12\x63
ommon/error.proto
\"\x
b3
\x01\n\x0f
Level0PrcRecord
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x11\n\t
level0_id
\x18\x02
\x01
(
\
t
\x12\x13\n\x0b
pipeline_id
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x04
\x01
(
\t\x12\x1
8
\n\
x10
params_
file_path
\x18\x05
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x07
\x01
(
\t\x12\x1
8
\n\
x10
result_
file_path
\x18\x08
\x01
(
\t\"\xf3\x01\n\x10\x46
indLevel0PrcReq
\x12\x11\n\t
level0_id
\x18\x01
\x01
(
\
t
\x12\x13\n\x0b
pipeline_id
\x18\x02
\x01
(
\t\x12\x12\n\n
prc_module
\x18\x03
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x04
\x01
(
\x05\x12
W
\n\x10
other_conditions
\x18\x05
\x03
(
\x0b\x32
=.dfs.facility.level0prc.FindLevel0PrcReq.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\"\x90\x01\n\x11\x46
indLevel0PrcResp
\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\x38\n\x07
records
\x18\x04
\x03
(
\x0b\x32\'
.dfs.facility.level0prc.Level0PrcRecord
\"
L
\n\x11
WriteLevel0PrcReq
\x12\x37\n\x06
record
\x18\x01
\x01
(
\x0b\x32\'
.dfs.facility.level0prc.Level0PrcRecord
\"
|
\n\x12
WriteLevel0PrcResp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12\x37\n\x06
record
\x18\x03
\x01
(
\x0b\x32\'
.dfs.facility.level0prc.Level0PrcRecord
\"
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
\xc0\x02\n\x0c
Level0PrcSrv
\x12
]
\n\x04\x46
ind
\x12
(.dfs.facility.level0prc.FindLevel0PrcReq
\x1a
).dfs.facility.level0prc.FindLevel0PrcResp
\"\x00\x12
`
\n\x05
Write
\x12
).dfs.facility.level0prc.WriteLevel0PrcReq
\x1a
*.dfs.facility.level0prc.WriteLevel0PrcResp
\"\x00\x12
o
\n\x10
UpdateProcStatus
\x12
+.dfs.facility.level0prc.UpdateProcStatusReq
\x1a
,.dfs.facility.level0prc.UpdateProcStatusResp
\"\x00\x42
)Z
\'
cnlab.net/csst/proto/facility/level0prcb
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -44,8 +44,8 @@ _LEVEL0PRCRECORD = _descriptor.Descriptor(
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.facility.level0prc.Level0PrcRecord.level0_id'
,
index
=
1
,
number
=
2
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
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
),
...
...
@@ -64,7 +64,7 @@ _LEVEL0PRCRECORD = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'params_
id
'
,
full_name
=
'dfs.facility.level0prc.Level0PrcRecord.params_
id
'
,
index
=
4
,
name
=
'params_
file_path
'
,
full_name
=
'dfs.facility.level0prc.Level0PrcRecord.params_
file_path
'
,
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
,
...
...
@@ -85,7 +85,7 @@ _LEVEL0PRCRECORD = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'file_path'
,
full_name
=
'dfs.facility.level0prc.Level0PrcRecord.file_path'
,
index
=
7
,
name
=
'
result_
file_path'
,
full_name
=
'dfs.facility.level0prc.Level0PrcRecord.
result_
file_path'
,
index
=
7
,
number
=
8
,
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
,
...
...
@@ -104,7 +104,7 @@ _LEVEL0PRCRECORD = _descriptor.Descriptor(
oneofs
=
[
],
serialized_start
=
83
,
serialized_end
=
2
48
,
serialized_end
=
2
62
,
)
...
...
@@ -141,8 +141,8 @@ _FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
44
0
,
serialized_end
=
494
,
serialized_start
=
4
5
4
,
serialized_end
=
508
,
)
_FINDLEVEL0PRCREQ
=
_descriptor
.
Descriptor
(
...
...
@@ -154,8 +154,8 @@ _FINDLEVEL0PRCREQ = _descriptor.Descriptor(
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'level0_id'
,
full_name
=
'dfs.facility.level0prc.FindLevel0PrcReq.level0_id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
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
),
...
...
@@ -199,8 +199,8 @@ _FINDLEVEL0PRCREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
25
1
,
serialized_end
=
494
,
serialized_start
=
2
6
5
,
serialized_end
=
508
,
)
...
...
@@ -251,8 +251,8 @@ _FINDLEVEL0PRCRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
497
,
serialized_end
=
6
41
,
serialized_start
=
511
,
serialized_end
=
6
55
,
)
...
...
@@ -282,8 +282,8 @@ _WRITELEVEL0PRCREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
6
43
,
serialized_end
=
7
19
,
serialized_start
=
6
57
,
serialized_end
=
7
33
,
)
...
...
@@ -327,8 +327,8 @@ _WRITELEVEL0PRCRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
7
21
,
serialized_end
=
8
4
5
,
serialized_start
=
7
35
,
serialized_end
=
85
9
,
)
...
...
@@ -365,8 +365,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
8
47
,
serialized_end
=
896
,
serialized_start
=
8
61
,
serialized_end
=
910
,
)
...
...
@@ -403,8 +403,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
898
,
serialized_end
=
9
67
,
serialized_start
=
912
,
serialized_end
=
9
81
,
)
_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDLEVEL0PRCREQ
...
...
@@ -491,8 +491,8 @@ _LEVEL0PRCSRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
9
70
,
serialized_end
=
1
290
,
serialized_start
=
9
84
,
serialized_end
=
1
304
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
...
...
csst_dfs_proto/facility/observation/observation_pb2.py
View file @
d041bb14
This diff is collapsed.
Click to expand it.
csst_dfs_proto/ifs/level1/level1_pb2.py
View file @
d041bb14
...
...
@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package
=
'dfs.ifs.level1'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z
\037
cnlab.net/csst/proto/ifs/level1'
),
serialized_pb
=
_b
(
'
\n\x17
ifs/level1/level1.proto
\x12\x0e\x64\x66
s.ifs.level1
\x1a\x12\x63
ommon/error.proto
\"\xe
4
\x02\n\x0c
Level1Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x
0e
\n\
x06
raw
_id
\x18\x02
\x01
(
\
x03
\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\x12\x12\n\n
cor_sci_id
\x18\x04
\x01
(
\x03\x12\x12\n\n
prc_params
\x18\x05
\x01
(
\t\x12\x0f\n\x07\x66
lat_id
\x18\x06
\x01
(
\x03\x12\x0f\n\x07\x64\x61
rk_id
\x18\x07
\x01
(
\x03\x12\x0f\n\x07\x62
ias_id
\x18\x08
\x01
(
\x03\x12\x0f\n\x07
lamp_id
\x18\t
\x01
(
\x03\x12\x0e\n\x06\x61
rc_id
\x18\n
\x01
(
\x03\x12\x0e\n\x06
sky_id
\x18\x0b
\x01
(
\x03\x12\x10\n\x08\x66
ilename
\x18\x0c
\x01
(
\t\x12\x11\n\t
file_path
\x18\r
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x0e
\x01
(
\x05\x12\x10\n\x08
qc1_time
\x18\x0f
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x10
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x11
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x12
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\x13
\x01
(
\t\"\xb
5
\x02\n\r
FindLevel1Req
\x12\x
0e
\n\
x06
raw
_id
\x18\x01
\x01
(
\
x03
\x12\x11\n\t
data_type
\x18\x02
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x03
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\x05\x12
L
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32\x32
.dfs.ifs.level1.FindLevel1Req.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\"\x82\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
-
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1c
.dfs.ifs.level1.Level1Record
\"\x1a\n\x0c
GetLevel1Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
=
\n\r
GetLevel1Resp
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.ifs.level1.Level1Record
\"
>
\n\x0e
WriteLevel1Req
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.ifs.level1.Level1Record
\"
n
\n\x0f
WriteLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
,
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x1c
.dfs.ifs.level1.Level1Record
\"
0
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc1StatusResp
\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
\xa5\x03\n\t
Level1Srv
\x12
G
\n\x04\x46
ind
\x12\x1d
.dfs.ifs.level1.FindLevel1Req
\x1a\x1e
.dfs.ifs.level1.FindLevel1Resp
\"\x00\x12\x44\n\x03
Get
\x12\x1c
.dfs.ifs.level1.GetLevel1Req
\x1a\x1d
.dfs.ifs.level1.GetLevel1Resp
\"\x00\x12
J
\n\x05
Write
\x12\x1e
.dfs.ifs.level1.WriteLevel1Req
\x1a\x1f
.dfs.ifs.level1.WriteLevel1Resp
\"\x00\x12\\\n\x0f
UpdateQc1Status
\x12\"
.dfs.ifs.level1.UpdateQc1StatusReq
\x1a
#.dfs.ifs.level1.UpdateQc1StatusResp
\"\x00\x12
_
\n\x10
UpdateProcStatus
\x12
#.dfs.ifs.level1.UpdateProcStatusReq
\x1a
$.dfs.ifs.level1.UpdateProcStatusResp
\"\x00\x42
!Z
\x1f\x63
nlab.net/csst/proto/ifs/level1b
\x06
proto3'
)
serialized_pb
=
_b
(
'
\n\x17
ifs/level1/level1.proto
\x12\x0e\x64\x66
s.ifs.level1
\x1a\x12\x63
ommon/error.proto
\"\xe
7
\x02\n\x0c
Level1Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x
11
\n\
t
level0
_id
\x18\x02
\x01
(
\
t
\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\x12\x12\n\n
cor_sci_id
\x18\x04
\x01
(
\x03\x12\x12\n\n
prc_params
\x18\x05
\x01
(
\t\x12\x0f\n\x07\x66
lat_id
\x18\x06
\x01
(
\x03\x12\x0f\n\x07\x64\x61
rk_id
\x18\x07
\x01
(
\x03\x12\x0f\n\x07\x62
ias_id
\x18\x08
\x01
(
\x03\x12\x0f\n\x07
lamp_id
\x18\t
\x01
(
\x03\x12\x0e\n\x06\x61
rc_id
\x18\n
\x01
(
\x03\x12\x0e\n\x06
sky_id
\x18\x0b
\x01
(
\x03\x12\x10\n\x08\x66
ilename
\x18\x0c
\x01
(
\t\x12\x11\n\t
file_path
\x18\r
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x0e
\x01
(
\x05\x12\x10\n\x08
qc1_time
\x18\x0f
\x01
(
\t\x12\x12\n\n
prc_status
\x18\x10
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x11
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x12
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\x13
\x01
(
\t\"\xb
8
\x02\n\r
FindLevel1Req
\x12\x
11
\n\
t
level0
_id
\x18\x01
\x01
(
\
t
\x12\x11\n\t
data_type
\x18\x02
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x03
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\x05\x12
L
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32\x32
.dfs.ifs.level1.FindLevel1Req.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\"\x82\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
-
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1c
.dfs.ifs.level1.Level1Record
\"\x1a\n\x0c
GetLevel1Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
=
\n\r
GetLevel1Resp
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.ifs.level1.Level1Record
\"
>
\n\x0e
WriteLevel1Req
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.ifs.level1.Level1Record
\"
n
\n\x0f
WriteLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
,
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x1c
.dfs.ifs.level1.Level1Record
\"
0
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc1StatusResp
\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
\xa5\x03\n\t
Level1Srv
\x12
G
\n\x04\x46
ind
\x12\x1d
.dfs.ifs.level1.FindLevel1Req
\x1a\x1e
.dfs.ifs.level1.FindLevel1Resp
\"\x00\x12\x44\n\x03
Get
\x12\x1c
.dfs.ifs.level1.GetLevel1Req
\x1a\x1d
.dfs.ifs.level1.GetLevel1Resp
\"\x00\x12
J
\n\x05
Write
\x12\x1e
.dfs.ifs.level1.WriteLevel1Req
\x1a\x1f
.dfs.ifs.level1.WriteLevel1Resp
\"\x00\x12\\\n\x0f
UpdateQc1Status
\x12\"
.dfs.ifs.level1.UpdateQc1StatusReq
\x1a
#.dfs.ifs.level1.UpdateQc1StatusResp
\"\x00\x12
_
\n\x10
UpdateProcStatus
\x12
#.dfs.ifs.level1.UpdateProcStatusReq
\x1a
$.dfs.ifs.level1.UpdateProcStatusResp
\"\x00\x42
!Z
\x1f\x63
nlab.net/csst/proto/ifs/level1b
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -43,9 +43,9 @@ _LEVEL1RECORD = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'
raw
_id'
,
full_name
=
'dfs.ifs.level1.Level1Record.
raw
_id'
,
index
=
1
,
number
=
2
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'
level0
_id'
,
full_name
=
'dfs.ifs.level1.Level1Record.
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
),
...
...
@@ -181,7 +181,7 @@ _LEVEL1RECORD = _descriptor.Descriptor(
oneofs
=
[
],
serialized_start
=
64
,
serialized_end
=
42
0
,
serialized_end
=
42
3
,
)
...
...
@@ -218,8 +218,8 @@ _FINDLEVEL1REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
6
7
8
,
serialized_end
=
73
2
,
serialized_start
=
68
4
,
serialized_end
=
73
8
,
)
_FINDLEVEL1REQ
=
_descriptor
.
Descriptor
(
...
...
@@ -230,9 +230,9 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'
raw
_id'
,
full_name
=
'dfs.ifs.level1.FindLevel1Req.
raw
_id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'
level0
_id'
,
full_name
=
'dfs.ifs.level1.FindLevel1Req.
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
),
...
...
@@ -304,8 +304,8 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
42
3
,
serialized_end
=
73
2
,
serialized_start
=
42
6
,
serialized_end
=
73
8
,
)
...
...
@@ -356,8 +356,8 @@ _FINDLEVEL1RESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
7
35
,
serialized_end
=
8
65
,
serialized_start
=
7
41
,
serialized_end
=
8
71
,
)
...
...
@@ -387,8 +387,8 @@ _GETLEVEL1REQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
8
6
7
,
serialized_end
=
89
3
,
serialized_start
=
87
3
,
serialized_end
=
89
9
,
)
...
...
@@ -418,8 +418,8 @@ _GETLEVEL1RESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
895
,
serialized_end
=
9
5
6
,
serialized_start
=
901
,
serialized_end
=
96
2
,
)
...
...
@@ -449,8 +449,8 @@ _WRITELEVEL1REQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
9
58
,
serialized_end
=
102
0
,
serialized_start
=
9
64
,
serialized_end
=
102
6
,
)
...
...
@@ -494,8 +494,8 @@ _WRITELEVEL1RESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
102
2
,
serialized_end
=
113
2
,
serialized_start
=
102
8
,
serialized_end
=
113
8
,
)
...
...
@@ -532,8 +532,8 @@ _UPDATEQC1STATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
11
3
4
,
serialized_end
=
118
2
,
serialized_start
=
114
0
,
serialized_end
=
118
8
,
)
...
...
@@ -570,8 +570,8 @@ _UPDATEQC1STATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
11
84
,
serialized_end
=
125
2
,
serialized_start
=
11
90
,
serialized_end
=
125
8
,
)
...
...
@@ -608,8 +608,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
12
54
,
serialized_end
=
130
3
,
serialized_start
=
12
60
,
serialized_end
=
130
9
,
)
...
...
@@ -646,8 +646,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
13
05
,
serialized_end
=
13
74
,
serialized_start
=
13
11
,
serialized_end
=
13
80
,
)
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDLEVEL1REQ
...
...
@@ -768,8 +768,8 @@ _LEVEL1SRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
13
77
,
serialized_end
=
1
798
,
serialized_start
=
13
83
,
serialized_end
=
1
804
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
...
...
csst_dfs_proto/msc/level1/level1_pb2.py
View file @
d041bb14
...
...
@@ -21,7 +21,7 @@ DESCRIPTOR = _descriptor.FileDescriptor(
package
=
'dfs.msc.level1'
,
syntax
=
'proto3'
,
serialized_options
=
_b
(
'Z
\037
cnlab.net/csst/proto/msc/level1'
),
serialized_pb
=
_b
(
'
\n\x17
msc/level1/level1.proto
\x12\x0e\x64\x66
s.msc.level1
\x1a\x12\x63
ommon/error.proto
\"\xb
3
\x02\n\x0c
Level1Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x
0e
\n\
x06
raw
_id
\x18\x02
\x01
(
\
x03
\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\x12\x12\n\n
cor_sci_id
\x18\x04
\x01
(
\x03\x12\x12\n\n
prc_params
\x18\x05
\x01
(
\t\x12\x0f\n\x07\x66
lat_id
\x18\x06
\x01
(
\x03\x12\x0f\n\x07\x64\x61
rk_id
\x18\x07
\x01
(
\x03\x12\x0f\n\x07\x62
ias_id
\x18\x08
\x01
(
\x03\x12\x10\n\x08\x66
ilename
\x18\t
\x01
(
\t\x12\x11\n\t
file_path
\x18\n
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x0b
\x01
(
\x05\x12\x10\n\x08
qc1_time
\x18\x0c
\x01
(
\t\x12\x12\n\n
prc_status
\x18\r
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x0e
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0f
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\x10
\x01
(
\t\"\xb
5
\x02\n\r
FindLevel1Req
\x12\x
0e
\n\
x06
raw
_id
\x18\x01
\x01
(
\
x03
\x12\x11\n\t
data_type
\x18\x02
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x03
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\x05\x12
L
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32\x32
.dfs.msc.level1.FindLevel1Req.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\"\x82\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
-
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"\x1a\n\x0c
GetLevel1Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
=
\n\r
GetLevel1Resp
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"
>
\n\x0e
WriteLevel1Req
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"
n
\n\x0f
WriteLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
,
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"
0
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc1StatusResp
\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
\xa5\x03\n\t
Level1Srv
\x12
G
\n\x04\x46
ind
\x12\x1d
.dfs.msc.level1.FindLevel1Req
\x1a\x1e
.dfs.msc.level1.FindLevel1Resp
\"\x00\x12\x44\n\x03
Get
\x12\x1c
.dfs.msc.level1.GetLevel1Req
\x1a\x1d
.dfs.msc.level1.GetLevel1Resp
\"\x00\x12
J
\n\x05
Write
\x12\x1e
.dfs.msc.level1.WriteLevel1Req
\x1a\x1f
.dfs.msc.level1.WriteLevel1Resp
\"\x00\x12\\\n\x0f
UpdateQc1Status
\x12\"
.dfs.msc.level1.UpdateQc1StatusReq
\x1a
#.dfs.msc.level1.UpdateQc1StatusResp
\"\x00\x12
_
\n\x10
UpdateProcStatus
\x12
#.dfs.msc.level1.UpdateProcStatusReq
\x1a
$.dfs.msc.level1.UpdateProcStatusResp
\"\x00\x42
!Z
\x1f\x63
nlab.net/csst/proto/msc/level1b
\x06
proto3'
)
serialized_pb
=
_b
(
'
\n\x17
msc/level1/level1.proto
\x12\x0e\x64\x66
s.msc.level1
\x1a\x12\x63
ommon/error.proto
\"\xb
6
\x02\n\x0c
Level1Record
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x
11
\n\
t
level0
_id
\x18\x02
\x01
(
\
t
\x12\x11\n\t
data_type
\x18\x03
\x01
(
\t\x12\x12\n\n
cor_sci_id
\x18\x04
\x01
(
\x03\x12\x12\n\n
prc_params
\x18\x05
\x01
(
\t\x12\x0f\n\x07\x66
lat_id
\x18\x06
\x01
(
\x03\x12\x0f\n\x07\x64\x61
rk_id
\x18\x07
\x01
(
\x03\x12\x0f\n\x07\x62
ias_id
\x18\x08
\x01
(
\x03\x12\x10\n\x08\x66
ilename
\x18\t
\x01
(
\t\x12\x11\n\t
file_path
\x18\n
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x0b
\x01
(
\x05\x12\x10\n\x08
qc1_time
\x18\x0c
\x01
(
\t\x12\x12\n\n
prc_status
\x18\r
\x01
(
\x05\x12\x10\n\x08
prc_time
\x18\x0e
\x01
(
\t\x12\x13\n\x0b\x63
reate_time
\x18\x0f
\x01
(
\t\x12\x13\n\x0b
pipeline_id
\x18\x10
\x01
(
\t\"\xb
8
\x02\n\r
FindLevel1Req
\x12\x
11
\n\
t
level0
_id
\x18\x01
\x01
(
\
t
\x12\x11\n\t
data_type
\x18\x02
\x01
(
\t\x12\x19\n\x11\x63
reate_time_start
\x18\x03
\x01
(
\t\x12\x17\n\x0f\x63
reate_time_end
\x18\x04
\x01
(
\t\x12\x12\n\n
qc1_status
\x18\x05
\x01
(
\x05\x12\x12\n\n
prc_status
\x18\x06
\x01
(
\x05\x12\x10\n\x08\x66
ilename
\x18\x07
\x01
(
\t\x12\r\n\x05
limit
\x18\x08
\x01
(
\x05\x12
L
\n\x10
other_conditions
\x18\t
\x03
(
\x0b\x32\x32
.dfs.msc.level1.FindLevel1Req.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\"\x82\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
-
\n\x07
records
\x18\x04
\x03
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"\x1a\n\x0c
GetLevel1Req
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\"
=
\n\r
GetLevel1Resp
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"
>
\n\x0e
WriteLevel1Req
\x12
,
\n\x06
record
\x18\x01
\x01
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"
n
\n\x0f
WriteLevel1Resp
\x12\x0f\n\x07
success
\x18\x01
\x01
(
\x08\x12\x1c\n\x05\x65
rror
\x18\x02
\x01
(
\x0b\x32\r
.common.Error
\x12
,
\n\x06
record
\x18\x03
\x01
(
\x0b\x32\x1c
.dfs.msc.level1.Level1Record
\"
0
\n\x12
UpdateQc1StatusReq
\x12\n\n\x02
id
\x18\x01
\x01
(
\x03\x12\x0e\n\x06
status
\x18\x02
\x01
(
\x05\"
D
\n\x13
UpdateQc1StatusResp
\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
\xa5\x03\n\t
Level1Srv
\x12
G
\n\x04\x46
ind
\x12\x1d
.dfs.msc.level1.FindLevel1Req
\x1a\x1e
.dfs.msc.level1.FindLevel1Resp
\"\x00\x12\x44\n\x03
Get
\x12\x1c
.dfs.msc.level1.GetLevel1Req
\x1a\x1d
.dfs.msc.level1.GetLevel1Resp
\"\x00\x12
J
\n\x05
Write
\x12\x1e
.dfs.msc.level1.WriteLevel1Req
\x1a\x1f
.dfs.msc.level1.WriteLevel1Resp
\"\x00\x12\\\n\x0f
UpdateQc1Status
\x12\"
.dfs.msc.level1.UpdateQc1StatusReq
\x1a
#.dfs.msc.level1.UpdateQc1StatusResp
\"\x00\x12
_
\n\x10
UpdateProcStatus
\x12
#.dfs.msc.level1.UpdateProcStatusReq
\x1a
$.dfs.msc.level1.UpdateProcStatusResp
\"\x00\x42
!Z
\x1f\x63
nlab.net/csst/proto/msc/level1b
\x06
proto3'
)
,
dependencies
=
[
common_dot_error__pb2
.
DESCRIPTOR
,])
...
...
@@ -43,9 +43,9 @@ _LEVEL1RECORD = _descriptor.Descriptor(
is_extension
=
False
,
extension_scope
=
None
,
serialized_options
=
None
,
file
=
DESCRIPTOR
),
_descriptor
.
FieldDescriptor
(
name
=
'
raw
_id'
,
full_name
=
'dfs.msc.level1.Level1Record.
raw
_id'
,
index
=
1
,
number
=
2
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'
level0
_id'
,
full_name
=
'dfs.msc.level1.Level1Record.
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
),
...
...
@@ -160,7 +160,7 @@ _LEVEL1RECORD = _descriptor.Descriptor(
oneofs
=
[
],
serialized_start
=
64
,
serialized_end
=
37
1
,
serialized_end
=
37
4
,
)
...
...
@@ -197,8 +197,8 @@ _FINDLEVEL1REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
6
29
,
serialized_end
=
68
3
,
serialized_start
=
6
35
,
serialized_end
=
68
9
,
)
_FINDLEVEL1REQ
=
_descriptor
.
Descriptor
(
...
...
@@ -209,9 +209,9 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
containing_type
=
None
,
fields
=
[
_descriptor
.
FieldDescriptor
(
name
=
'
raw
_id'
,
full_name
=
'dfs.msc.level1.FindLevel1Req.
raw
_id'
,
index
=
0
,
number
=
1
,
type
=
3
,
cpp_type
=
2
,
label
=
1
,
has_default_value
=
False
,
default_value
=
0
,
name
=
'
level0
_id'
,
full_name
=
'dfs.msc.level1.FindLevel1Req.
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
),
...
...
@@ -283,8 +283,8 @@ _FINDLEVEL1REQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
37
4
,
serialized_end
=
68
3
,
serialized_start
=
37
7
,
serialized_end
=
68
9
,
)
...
...
@@ -335,8 +335,8 @@ _FINDLEVEL1RESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
6
86
,
serialized_end
=
8
16
,
serialized_start
=
6
92
,
serialized_end
=
8
22
,
)
...
...
@@ -366,8 +366,8 @@ _GETLEVEL1REQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
8
18
,
serialized_end
=
8
44
,
serialized_start
=
8
24
,
serialized_end
=
8
50
,
)
...
...
@@ -397,8 +397,8 @@ _GETLEVEL1RESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
8
46
,
serialized_end
=
9
07
,
serialized_start
=
8
52
,
serialized_end
=
9
13
,
)
...
...
@@ -428,8 +428,8 @@ _WRITELEVEL1REQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
9
09
,
serialized_end
=
97
1
,
serialized_start
=
9
15
,
serialized_end
=
97
7
,
)
...
...
@@ -473,8 +473,8 @@ _WRITELEVEL1RESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
97
3
,
serialized_end
=
108
3
,
serialized_start
=
97
9
,
serialized_end
=
108
9
,
)
...
...
@@ -511,8 +511,8 @@ _UPDATEQC1STATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
10
85
,
serialized_end
=
113
3
,
serialized_start
=
10
91
,
serialized_end
=
113
9
,
)
...
...
@@ -549,8 +549,8 @@ _UPDATEQC1STATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
11
35
,
serialized_end
=
120
3
,
serialized_start
=
11
41
,
serialized_end
=
120
9
,
)
...
...
@@ -587,8 +587,8 @@ _UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
12
05
,
serialized_end
=
12
54
,
serialized_start
=
12
11
,
serialized_end
=
12
60
,
)
...
...
@@ -625,8 +625,8 @@ _UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
extension_ranges
=
[],
oneofs
=
[
],
serialized_start
=
12
5
6
,
serialized_end
=
13
25
,
serialized_start
=
126
2
,
serialized_end
=
13
31
,
)
_FINDLEVEL1REQ_OTHERCONDITIONSENTRY
.
containing_type
=
_FINDLEVEL1REQ
...
...
@@ -747,8 +747,8 @@ _LEVEL1SRV = _descriptor.ServiceDescriptor(
file
=
DESCRIPTOR
,
index
=
0
,
serialized_options
=
None
,
serialized_start
=
13
28
,
serialized_end
=
17
49
,
serialized_start
=
13
34
,
serialized_end
=
17
55
,
methods
=
[
_descriptor
.
MethodDescriptor
(
name
=
'Find'
,
...
...
csst_dfs_proto/run_codegen.py
View file @
d041bb14
...
...
@@ -7,5 +7,39 @@ protoc.main((
'-I./'
,
'--python_out=.'
,
'--grpc_python_out=.'
,
'./f
its
.proto'
,
'./f
acility/observation/observation
.proto'
,
))
protoc
.
main
((
''
,
'-I./'
,
'--python_out=.'
,
'--grpc_python_out=.'
,
'./facility/calmerge/calmerge.proto'
,
))
protoc
.
main
((
''
,
'-I./'
,
'--python_out=.'
,
'--grpc_python_out=.'
,
'./facility/level0/level0.proto'
,
))
protoc
.
main
((
''
,
'-I./'
,
'--python_out=.'
,
'--grpc_python_out=.'
,
'./facility/detector/detector.proto'
,
))
protoc
.
main
((
''
,
'-I./'
,
'--python_out=.'
,
'--grpc_python_out=.'
,
'./facility/level0prc/level0prc.proto'
,
))
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