steeleagle-protocol 0.1.20__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/PKG-INFO +1 -1
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/pyproject.toml +1 -1
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/messages/result/result_pb2.py +11 -7
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/messages/result/result_pb2.pyi +20 -6
- steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/dslcompiler/dslcompiler_pb2.py +105 -0
- steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/dslcompiler/dslcompiler_pb2.pyi +262 -0
- steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/dslcompiler/dslcompiler_pb2_grpc.py +240 -0
- steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/eagled/eagled_pb2.py +98 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/eagled/eagled_pb2.pyi +64 -2
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/eagled/eagled_pb2_grpc.py +95 -0
- steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/mission/mission_pb2.py +55 -0
- steeleagle_protocol-0.3.0/src/steeleagle_protocol/v1/services/mission/mission_pb2.pyi +54 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/mission/mission_pb2_grpc.py +57 -8
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/swarm/swarm_pb2.py +21 -15
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/swarm/swarm_pb2.pyi +33 -7
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/swarm/swarm_pb2_grpc.py +11 -8
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol.egg-info/PKG-INFO +1 -1
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol.egg-info/SOURCES.txt +3 -0
- steeleagle_protocol-0.1.20/src/steeleagle_protocol/v1/services/eagled/eagled_pb2.py +0 -83
- steeleagle_protocol-0.1.20/src/steeleagle_protocol/v1/services/mission/mission_pb2.py +0 -51
- steeleagle_protocol-0.1.20/src/steeleagle_protocol/v1/services/mission/mission_pb2.pyi +0 -42
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/setup.cfg +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/common/common_pb2.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/common/common_pb2.pyi +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/common/common_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/messages/result/result_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/messages/telemetry/telemetry_pb2.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/messages/telemetry/telemetry_pb2.pyi +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/messages/telemetry/telemetry_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/action_pb2.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/action_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/calibrate_pb2.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/calibrate_pb2.pyi +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/calibrate_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/configure_pb2.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/configure_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/control_pb2.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/control_pb2.pyi +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/control_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/gimbal_pb2.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/gimbal_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/guidance_pb2.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/guidance_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/info_pb2.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/info_pb2.pyi +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/info_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/stream_pb2.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/stream_pb2.pyi +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/driver/stream_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/swarm/registry_pb2.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/swarm/registry_pb2.pyi +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/swarm/registry_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/vehicle/compute_pb2.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/vehicle/compute_pb2.pyi +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/vehicle/compute_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/vehicle/data_pb2.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/vehicle/data_pb2.pyi +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol/v1/services/vehicle/data_pb2_grpc.py +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol.egg-info/dependency_links.txt +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol.egg-info/requires.txt +0 -0
- {steeleagle_protocol-0.1.20 → steeleagle_protocol-0.3.0}/src/steeleagle_protocol.egg-info/top_level.txt +0 -0
|
@@ -26,7 +26,7 @@ from steeleagle_protocol.v1.common import common_pb2 as steeleagle__protocol_dot
|
|
|
26
26
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3steeleagle_protocol/v1/messages/result/result.proto\x12&steeleagle_protocol.v1.messages.result\x1a*steeleagle_protocol/v1/common/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"a\n\x0b\x42oundingBox\x12\x13\n\x05y_min\x18\x01 \x01(\x01R\x04yMin\x12\x13\n\x05x_min\x18\x02 \x01(\x01R\x04xMin\x12\x13\n\x05y_max\x18\x03 \x01(\x01R\x04yMax\x12\x13\n\x05x_max\x18\x04 \x01(\x01R\x04xMax\"\x89\x01\n\tDetection\x12\x1d\n\nclass_name\x18\x01 \x01(\tR\tclassName\x12\x14\n\x05score\x18\x02 \x01(\x01R\x05score\x12G\n\x04\x62\x62ox\x18\x03 \x01(\x0b\x32\x33.steeleagle_protocol.v1.messages.result.BoundingBoxR\x04\x62\x62ox\"d\n\x0f\x44\x65tectionResult\x12Q\n\ndetections\x18\x01 \x03(\x0b\x32\x31.steeleagle_protocol.v1.messages.result.DetectionR\ndetections\"Y\n\x0eGuidanceResult\x12G\n\ntrajectory\x18\x01 \x01(\x0b\x32\'.steeleagle_protocol.v1.common.VelocityR\ntrajectory\"\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3steeleagle_protocol/v1/messages/result/result.proto\x12&steeleagle_protocol.v1.messages.result\x1a*steeleagle_protocol/v1/common/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"a\n\x0b\x42oundingBox\x12\x13\n\x05y_min\x18\x01 \x01(\x01R\x04yMin\x12\x13\n\x05x_min\x18\x02 \x01(\x01R\x04xMin\x12\x13\n\x05y_max\x18\x03 \x01(\x01R\x04yMax\x12\x13\n\x05x_max\x18\x04 \x01(\x01R\x04xMax\"\x89\x01\n\tDetection\x12\x1d\n\nclass_name\x18\x01 \x01(\tR\tclassName\x12\x14\n\x05score\x18\x02 \x01(\x01R\x05score\x12G\n\x04\x62\x62ox\x18\x03 \x01(\x0b\x32\x33.steeleagle_protocol.v1.messages.result.BoundingBoxR\x04\x62\x62ox\"d\n\x0f\x44\x65tectionResult\x12Q\n\ndetections\x18\x01 \x03(\x0b\x32\x31.steeleagle_protocol.v1.messages.result.DetectionR\ndetections\",\n\x14\x43lassificationResult\x12\x14\n\x05score\x18\x01 \x01(\x01R\x05score\"Y\n\x0eGuidanceResult\x12G\n\ntrajectory\x18\x01 \x01(\x0b\x32\'.steeleagle_protocol.v1.common.VelocityR\ntrajectory\"\xd6\x01\n\x0ePositionResult\x12^\n\x11relative_position\x18\x01 \x01(\x0b\x32/.steeleagle_protocol.v1.common.RelativePositionH\x00R\x10relativePosition\x12X\n\x0fglobal_position\x18\x02 \x01(\x0b\x32-.steeleagle_protocol.v1.common.GlobalPositionH\x00R\x0eglobalPositionB\n\n\x08position\")\n\rGenericResult\x12\x18\n\x07payload\x18\x01 \x01(\x0cR\x07payload\"\xd2\x04\n\rComputeResult\x12\x38\n\ttimestamp\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ttimestamp\x12\x64\n\x10\x64\x65tection_result\x18\x02 \x01(\x0b\x32\x37.steeleagle_protocol.v1.messages.result.DetectionResultH\x00R\x0f\x64\x65tectionResult\x12s\n\x15\x63lassification_result\x18\x03 \x01(\x0b\x32<.steeleagle_protocol.v1.messages.result.ClassificationResultH\x00R\x14\x63lassificationResult\x12\x61\n\x0fguidance_result\x18\x04 \x01(\x0b\x32\x36.steeleagle_protocol.v1.messages.result.GuidanceResultH\x00R\x0eguidanceResult\x12\x61\n\x0fposition_result\x18\x05 \x01(\x0b\x32\x36.steeleagle_protocol.v1.messages.result.PositionResultH\x00R\x0epositionResult\x12^\n\x0egeneric_result\x18\x06 \x01(\x0b\x32\x35.steeleagle_protocol.v1.messages.result.GenericResultH\x00R\rgenericResultB\x06\n\x04typeB\xc2\x02\n*com.steeleagle_protocol.v1.messages.resultB\x0bResultProtoP\x01ZOgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/messages/result\xa2\x02\x04SVMR\xaa\x02%SteeleagleProtocol.V1.Messages.Result\xca\x02%SteeleagleProtocol\\V1\\Messages\\Result\xe2\x02\x31SteeleagleProtocol\\V1\\Messages\\Result\\GPBMetadata\xea\x02(SteeleagleProtocol::V1::Messages::Resultb\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -40,10 +40,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
40
40
|
_globals['_DETECTION']._serialized_end=409
|
|
41
41
|
_globals['_DETECTIONRESULT']._serialized_start=411
|
|
42
42
|
_globals['_DETECTIONRESULT']._serialized_end=511
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
43
|
+
_globals['_CLASSIFICATIONRESULT']._serialized_start=513
|
|
44
|
+
_globals['_CLASSIFICATIONRESULT']._serialized_end=557
|
|
45
|
+
_globals['_GUIDANCERESULT']._serialized_start=559
|
|
46
|
+
_globals['_GUIDANCERESULT']._serialized_end=648
|
|
47
|
+
_globals['_POSITIONRESULT']._serialized_start=651
|
|
48
|
+
_globals['_POSITIONRESULT']._serialized_end=865
|
|
49
|
+
_globals['_GENERICRESULT']._serialized_start=867
|
|
50
|
+
_globals['_GENERICRESULT']._serialized_end=908
|
|
51
|
+
_globals['_COMPUTERESULT']._serialized_start=911
|
|
52
|
+
_globals['_COMPUTERESULT']._serialized_end=1505
|
|
49
53
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -38,13 +38,19 @@ class DetectionResult(_message.Message):
|
|
|
38
38
|
detections: _containers.RepeatedCompositeFieldContainer[Detection]
|
|
39
39
|
def __init__(self, detections: _Optional[_Iterable[_Union[Detection, _Mapping]]] = ...) -> None: ...
|
|
40
40
|
|
|
41
|
+
class ClassificationResult(_message.Message):
|
|
42
|
+
__slots__ = ("score",)
|
|
43
|
+
SCORE_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
+
score: float
|
|
45
|
+
def __init__(self, score: _Optional[float] = ...) -> None: ...
|
|
46
|
+
|
|
41
47
|
class GuidanceResult(_message.Message):
|
|
42
48
|
__slots__ = ("trajectory",)
|
|
43
49
|
TRAJECTORY_FIELD_NUMBER: _ClassVar[int]
|
|
44
50
|
trajectory: _common_pb2.Velocity
|
|
45
51
|
def __init__(self, trajectory: _Optional[_Union[_common_pb2.Velocity, _Mapping]] = ...) -> None: ...
|
|
46
52
|
|
|
47
|
-
class
|
|
53
|
+
class PositionResult(_message.Message):
|
|
48
54
|
__slots__ = ("relative_position", "global_position")
|
|
49
55
|
RELATIVE_POSITION_FIELD_NUMBER: _ClassVar[int]
|
|
50
56
|
GLOBAL_POSITION_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -52,16 +58,24 @@ class SlamResult(_message.Message):
|
|
|
52
58
|
global_position: _common_pb2.GlobalPosition
|
|
53
59
|
def __init__(self, relative_position: _Optional[_Union[_common_pb2.RelativePosition, _Mapping]] = ..., global_position: _Optional[_Union[_common_pb2.GlobalPosition, _Mapping]] = ...) -> None: ...
|
|
54
60
|
|
|
61
|
+
class GenericResult(_message.Message):
|
|
62
|
+
__slots__ = ("payload",)
|
|
63
|
+
PAYLOAD_FIELD_NUMBER: _ClassVar[int]
|
|
64
|
+
payload: bytes
|
|
65
|
+
def __init__(self, payload: _Optional[bytes] = ...) -> None: ...
|
|
66
|
+
|
|
55
67
|
class ComputeResult(_message.Message):
|
|
56
|
-
__slots__ = ("timestamp", "detection_result", "guidance_result", "
|
|
68
|
+
__slots__ = ("timestamp", "detection_result", "classification_result", "guidance_result", "position_result", "generic_result")
|
|
57
69
|
TIMESTAMP_FIELD_NUMBER: _ClassVar[int]
|
|
58
70
|
DETECTION_RESULT_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
CLASSIFICATION_RESULT_FIELD_NUMBER: _ClassVar[int]
|
|
59
72
|
GUIDANCE_RESULT_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
-
|
|
73
|
+
POSITION_RESULT_FIELD_NUMBER: _ClassVar[int]
|
|
61
74
|
GENERIC_RESULT_FIELD_NUMBER: _ClassVar[int]
|
|
62
75
|
timestamp: _timestamp_pb2.Timestamp
|
|
63
76
|
detection_result: DetectionResult
|
|
77
|
+
classification_result: ClassificationResult
|
|
64
78
|
guidance_result: GuidanceResult
|
|
65
|
-
|
|
66
|
-
generic_result:
|
|
67
|
-
def __init__(self, timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., detection_result: _Optional[_Union[DetectionResult, _Mapping]] = ..., guidance_result: _Optional[_Union[GuidanceResult, _Mapping]] = ...,
|
|
79
|
+
position_result: PositionResult
|
|
80
|
+
generic_result: GenericResult
|
|
81
|
+
def __init__(self, timestamp: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., detection_result: _Optional[_Union[DetectionResult, _Mapping]] = ..., classification_result: _Optional[_Union[ClassificationResult, _Mapping]] = ..., guidance_result: _Optional[_Union[GuidanceResult, _Mapping]] = ..., position_result: _Optional[_Union[PositionResult, _Mapping]] = ..., generic_result: _Optional[_Union[GenericResult, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: steeleagle_protocol/v1/services/dslcompiler/dslcompiler.proto
|
|
5
|
+
# Protobuf Python Version: 7.36.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
7,
|
|
15
|
+
36,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'steeleagle_protocol/v1/services/dslcompiler/dslcompiler.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n=steeleagle_protocol/v1/services/dslcompiler/dslcompiler.proto\x12+steeleagle_protocol.v1.services.dslcompiler\"\x12\n\x10GetSchemaRequest\"\xf5\x07\n\x11GetSchemaResponse\x12\x65\n\x07\x61\x63tions\x18\x01 \x03(\x0b\x32K.steeleagle_protocol.v1.services.dslcompiler.GetSchemaResponse.ActionsEntryR\x07\x61\x63tions\x12\x62\n\x06\x65vents\x18\x02 \x03(\x0b\x32J.steeleagle_protocol.v1.services.dslcompiler.GetSchemaResponse.EventsEntryR\x06\x65vents\x12k\n\tdatatypes\x18\x03 \x03(\x0b\x32M.steeleagle_protocol.v1.services.dslcompiler.GetSchemaResponse.DatatypesEntryR\tdatatypes\x12_\n\x05\x65nums\x18\x04 \x03(\x0b\x32I.steeleagle_protocol.v1.services.dslcompiler.GetSchemaResponse.EnumsEntryR\x05\x65nums\x12Q\n\x07imports\x18\x05 \x03(\x0b\x32\x37.steeleagle_protocol.v1.services.dslcompiler.ImportSpecR\x07imports\x12!\n\x0c\x64\x65\x66\x61ult_role\x18\x06 \x01(\tR\x0b\x64\x65\x66\x61ultRole\x1as\n\x0c\x41\x63tionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12M\n\x05value\x18\x02 \x01(\x0b\x32\x37.steeleagle_protocol.v1.services.dslcompiler.TypeSchemaR\x05value:\x02\x38\x01\x1ar\n\x0b\x45ventsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12M\n\x05value\x18\x02 \x01(\x0b\x32\x37.steeleagle_protocol.v1.services.dslcompiler.TypeSchemaR\x05value:\x02\x38\x01\x1au\n\x0e\x44\x61tatypesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12M\n\x05value\x18\x02 \x01(\x0b\x32\x37.steeleagle_protocol.v1.services.dslcompiler.TypeSchemaR\x05value:\x02\x38\x01\x1aq\n\nEnumsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12M\n\x05value\x18\x02 \x01(\x0b\x32\x37.steeleagle_protocol.v1.services.dslcompiler.EnumSchemaR\x05value:\x02\x38\x01\"P\n\nImportSpec\x12\x14\n\x05\x61lias\x18\x01 \x01(\tR\x05\x61lias\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\"\x95\x01\n\nTypeSchema\x12%\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12P\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x38.steeleagle_protocol.v1.services.dslcompiler.FieldSchemaR\x06\x66ieldsB\x0e\n\x0c_description\"[\n\nEnumSchema\x12%\n\x0b\x64\x65scription\x18\x01 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x16\n\x06values\x18\x02 \x03(\tR\x06valuesB\x0e\n\x0c_description\"\xaa\x03\n\x0b\x46ieldSchema\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n\x04type\x18\x02 \x01(\tR\x04type\x12\x1a\n\x08required\x18\x03 \x01(\x08R\x08required\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12(\n\rdefault_value\x18\x05 \x01(\tH\x01R\x0c\x64\x65\x66\x61ultValue\x88\x01\x01\x12$\n\x0bobject_type\x18\x06 \x01(\tH\x02R\nobjectType\x88\x01\x01\x12]\n\rnested_fields\x18\x07 \x03(\x0b\x32\x38.steeleagle_protocol.v1.services.dslcompiler.FieldSchemaR\x0cnestedFields\x12 \n\tenum_type\x18\x08 \x01(\tH\x03R\x08\x65numType\x88\x01\x01\x12\x1f\n\x0bmap_feature\x18\t \x01(\x08R\nmapFeatureB\x0e\n\x0c_descriptionB\x10\n\x0e_default_valueB\x0e\n\x0c_object_typeB\x0c\n\n_enum_type\"\x8f\x02\n\x04Node\x12\x1f\n\x0binstance_id\x18\x01 \x01(\tR\ninstanceId\x12\x1b\n\ttype_name\x18\x02 \x01(\tR\x08typeName\x12U\n\x06params\x18\x03 \x03(\x0b\x32=.steeleagle_protocol.v1.services.dslcompiler.Node.ParamsEntryR\x06params\x1ar\n\x0bParamsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12M\n\x05value\x18\x02 \x01(\x0b\x32\x37.steeleagle_protocol.v1.services.dslcompiler.FieldValueR\x05value:\x02\x38\x01\"\xa1\x02\n\rEventInstance\x12\x1f\n\x0binstance_id\x18\x01 \x01(\tR\ninstanceId\x12\x1b\n\ttype_name\x18\x02 \x01(\tR\x08typeName\x12^\n\x06params\x18\x03 \x03(\x0b\x32\x46.steeleagle_protocol.v1.services.dslcompiler.EventInstance.ParamsEntryR\x06params\x1ar\n\x0bParamsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12M\n\x05value\x18\x02 \x01(\x0b\x32\x37.steeleagle_protocol.v1.services.dslcompiler.FieldValueR\x05value:\x02\x38\x01\"Q\n\x04\x45\x64ge\x12\x16\n\x06source\x18\x01 \x01(\tR\x06source\x12\x19\n\x08\x65vent_id\x18\x02 \x01(\tR\x07\x65ventId\x12\x16\n\x06target\x18\x03 \x01(\tR\x06target\"\x80\x03\n\nFieldValue\x12!\n\x0b\x66loat_value\x18\x01 \x01(\x01H\x00R\nfloatValue\x12\x1d\n\tint_value\x18\x02 \x01(\x03H\x00R\x08intValue\x12#\n\x0cstring_value\x18\x03 \x01(\tH\x00R\x0bstringValue\x12\x1f\n\nbool_value\x18\x04 \x01(\x08H\x00R\tboolValue\x12\x1d\n\tident_ref\x18\x05 \x01(\tH\x00R\x08identRef\x12_\n\x0b\x61rray_value\x18\x06 \x01(\x0b\x32<.steeleagle_protocol.v1.services.dslcompiler.FieldValueArrayH\x00R\narrayValue\x12\x61\n\x0cinline_value\x18\x07 \x01(\x0b\x32<.steeleagle_protocol.v1.services.dslcompiler.InlineCtorValueH\x00R\x0binlineValueB\x07\n\x05value\"`\n\x0f\x46ieldValueArray\x12M\n\x05\x65lems\x18\x01 \x03(\x0b\x32\x37.steeleagle_protocol.v1.services.dslcompiler.FieldValueR\x05\x65lems\"\xfc\x01\n\x0fInlineCtorValue\x12\x1b\n\ttype_name\x18\x01 \x01(\tR\x08typeName\x12Z\n\x04\x61rgs\x18\x02 \x03(\x0b\x32\x46.steeleagle_protocol.v1.services.dslcompiler.InlineCtorValue.ArgsEntryR\x04\x61rgs\x1ap\n\tArgsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12M\n\x05value\x18\x02 \x01(\x0b\x32\x37.steeleagle_protocol.v1.services.dslcompiler.FieldValueR\x05value:\x02\x38\x01\"\x84\x03\n\x0cMissionGraph\x12G\n\x05nodes\x18\x01 \x03(\x0b\x32\x31.steeleagle_protocol.v1.services.dslcompiler.NodeR\x05nodes\x12R\n\x06\x65vents\x18\x02 \x03(\x0b\x32:.steeleagle_protocol.v1.services.dslcompiler.EventInstanceR\x06\x65vents\x12G\n\x05\x65\x64ges\x18\x03 \x03(\x0b\x32\x31.steeleagle_protocol.v1.services.dslcompiler.EdgeR\x05\x65\x64ges\x12\x19\n\x08start_id\x18\x04 \x01(\tR\x07startId\x12\x17\n\x04role\x18\x05 \x01(\tH\x00R\x04role\x88\x01\x01\x12Q\n\x07imports\x18\x06 \x03(\x0b\x32\x37.steeleagle_protocol.v1.services.dslcompiler.ImportSpecR\x07importsB\x07\n\x05_role\"\x7f\n\x0c\x43ompileError\x12\x1c\n\x07node_id\x18\x01 \x01(\tH\x00R\x06nodeId\x88\x01\x01\x12\x1e\n\x08\x65vent_id\x18\x02 \x01(\tH\x01R\x07\x65ventId\x88\x01\x01\x12\x18\n\x07message\x18\x03 \x01(\tR\x07messageB\n\n\x08_node_idB\x0b\n\t_event_id\"f\n\x0fValidateRequest\x12S\n\x07mission\x18\x01 \x01(\x0b\x32\x39.steeleagle_protocol.v1.services.dslcompiler.MissionGraphR\x07mission\"u\n\x10ValidateResponse\x12\x0e\n\x02ok\x18\x01 \x01(\x08R\x02ok\x12Q\n\x06\x65rrors\x18\x02 \x03(\x0b\x32\x39.steeleagle_protocol.v1.services.dslcompiler.CompileErrorR\x06\x65rrors\"}\n\x0c\x42uildRequest\x12S\n\x07mission\x18\x01 \x01(\x0b\x32\x39.steeleagle_protocol.v1.services.dslcompiler.MissionGraphR\x07mission\x12\x18\n\x07geojson\x18\x02 \x01(\x0cR\x07geojson\"\x9b\x01\n\nBuildChunk\x12\x12\n\x04\x61rch\x18\x01 \x01(\tR\x04\x61rch\x12\x12\n\x04\x64\x61ta\x18\x02 \x01(\x0cR\x04\x64\x61ta\x12\x12\n\x04\x64one\x18\x03 \x01(\x08R\x04\x64one\x12Q\n\x06\x65rrors\x18\x04 \x03(\x0b\x32\x39.steeleagle_protocol.v1.services.dslcompiler.CompileErrorR\x06\x65rrors\"#\n\x0fParseDslRequest\x12\x10\n\x03\x64sl\x18\x01 \x01(\tR\x03\x64sl\"\xca\x01\n\x10ParseDslResponse\x12\x0e\n\x02ok\x18\x01 \x01(\x08R\x02ok\x12S\n\x07mission\x18\x02 \x01(\x0b\x32\x39.steeleagle_protocol.v1.services.dslcompiler.MissionGraphR\x07mission\x12Q\n\x06\x65rrors\x18\x03 \x03(\x0b\x32\x39.steeleagle_protocol.v1.services.dslcompiler.CompileErrorR\x06\x65rrors2\xbc\x04\n\x12\x44slCompilerService\x12\x8c\x01\n\tGetSchema\x12=.steeleagle_protocol.v1.services.dslcompiler.GetSchemaRequest\x1a>.steeleagle_protocol.v1.services.dslcompiler.GetSchemaResponse\"\x00\x12\x89\x01\n\x08ParseDsl\x12<.steeleagle_protocol.v1.services.dslcompiler.ParseDslRequest\x1a=.steeleagle_protocol.v1.services.dslcompiler.ParseDslResponse\"\x00\x12\x89\x01\n\x08Validate\x12<.steeleagle_protocol.v1.services.dslcompiler.ValidateRequest\x1a=.steeleagle_protocol.v1.services.dslcompiler.ValidateResponse\"\x00\x12\x7f\n\x05\x42uild\x12\x39.steeleagle_protocol.v1.services.dslcompiler.BuildRequest\x1a\x37.steeleagle_protocol.v1.services.dslcompiler.BuildChunk\"\x00\x30\x01\x42\xe5\x02\n/com.steeleagle_protocol.v1.services.dslcompilerB\x10\x44slcompilerProtoP\x01ZTgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/dslcompiler\xa2\x02\x04SVSD\xaa\x02*SteeleagleProtocol.V1.Services.Dslcompiler\xca\x02*SteeleagleProtocol\\V1\\Services\\Dslcompiler\xe2\x02\x36SteeleagleProtocol\\V1\\Services\\Dslcompiler\\GPBMetadata\xea\x02-SteeleagleProtocol::V1::Services::Dslcompilerb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'steeleagle_protocol.v1.services.dslcompiler.dslcompiler_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n/com.steeleagle_protocol.v1.services.dslcompilerB\020DslcompilerProtoP\001ZTgithub.com/cmusatyalab/steeleagle/api/go/steeleagle_protocol/v1/services/dslcompiler\242\002\004SVSD\252\002*SteeleagleProtocol.V1.Services.Dslcompiler\312\002*SteeleagleProtocol\\V1\\Services\\Dslcompiler\342\0026SteeleagleProtocol\\V1\\Services\\Dslcompiler\\GPBMetadata\352\002-SteeleagleProtocol::V1::Services::Dslcompiler'
|
|
35
|
+
_globals['_GETSCHEMARESPONSE_ACTIONSENTRY']._loaded_options = None
|
|
36
|
+
_globals['_GETSCHEMARESPONSE_ACTIONSENTRY']._serialized_options = b'8\001'
|
|
37
|
+
_globals['_GETSCHEMARESPONSE_EVENTSENTRY']._loaded_options = None
|
|
38
|
+
_globals['_GETSCHEMARESPONSE_EVENTSENTRY']._serialized_options = b'8\001'
|
|
39
|
+
_globals['_GETSCHEMARESPONSE_DATATYPESENTRY']._loaded_options = None
|
|
40
|
+
_globals['_GETSCHEMARESPONSE_DATATYPESENTRY']._serialized_options = b'8\001'
|
|
41
|
+
_globals['_GETSCHEMARESPONSE_ENUMSENTRY']._loaded_options = None
|
|
42
|
+
_globals['_GETSCHEMARESPONSE_ENUMSENTRY']._serialized_options = b'8\001'
|
|
43
|
+
_globals['_NODE_PARAMSENTRY']._loaded_options = None
|
|
44
|
+
_globals['_NODE_PARAMSENTRY']._serialized_options = b'8\001'
|
|
45
|
+
_globals['_EVENTINSTANCE_PARAMSENTRY']._loaded_options = None
|
|
46
|
+
_globals['_EVENTINSTANCE_PARAMSENTRY']._serialized_options = b'8\001'
|
|
47
|
+
_globals['_INLINECTORVALUE_ARGSENTRY']._loaded_options = None
|
|
48
|
+
_globals['_INLINECTORVALUE_ARGSENTRY']._serialized_options = b'8\001'
|
|
49
|
+
_globals['_GETSCHEMAREQUEST']._serialized_start=110
|
|
50
|
+
_globals['_GETSCHEMAREQUEST']._serialized_end=128
|
|
51
|
+
_globals['_GETSCHEMARESPONSE']._serialized_start=131
|
|
52
|
+
_globals['_GETSCHEMARESPONSE']._serialized_end=1144
|
|
53
|
+
_globals['_GETSCHEMARESPONSE_ACTIONSENTRY']._serialized_start=679
|
|
54
|
+
_globals['_GETSCHEMARESPONSE_ACTIONSENTRY']._serialized_end=794
|
|
55
|
+
_globals['_GETSCHEMARESPONSE_EVENTSENTRY']._serialized_start=796
|
|
56
|
+
_globals['_GETSCHEMARESPONSE_EVENTSENTRY']._serialized_end=910
|
|
57
|
+
_globals['_GETSCHEMARESPONSE_DATATYPESENTRY']._serialized_start=912
|
|
58
|
+
_globals['_GETSCHEMARESPONSE_DATATYPESENTRY']._serialized_end=1029
|
|
59
|
+
_globals['_GETSCHEMARESPONSE_ENUMSENTRY']._serialized_start=1031
|
|
60
|
+
_globals['_GETSCHEMARESPONSE_ENUMSENTRY']._serialized_end=1144
|
|
61
|
+
_globals['_IMPORTSPEC']._serialized_start=1146
|
|
62
|
+
_globals['_IMPORTSPEC']._serialized_end=1226
|
|
63
|
+
_globals['_TYPESCHEMA']._serialized_start=1229
|
|
64
|
+
_globals['_TYPESCHEMA']._serialized_end=1378
|
|
65
|
+
_globals['_ENUMSCHEMA']._serialized_start=1380
|
|
66
|
+
_globals['_ENUMSCHEMA']._serialized_end=1471
|
|
67
|
+
_globals['_FIELDSCHEMA']._serialized_start=1474
|
|
68
|
+
_globals['_FIELDSCHEMA']._serialized_end=1900
|
|
69
|
+
_globals['_NODE']._serialized_start=1903
|
|
70
|
+
_globals['_NODE']._serialized_end=2174
|
|
71
|
+
_globals['_NODE_PARAMSENTRY']._serialized_start=2060
|
|
72
|
+
_globals['_NODE_PARAMSENTRY']._serialized_end=2174
|
|
73
|
+
_globals['_EVENTINSTANCE']._serialized_start=2177
|
|
74
|
+
_globals['_EVENTINSTANCE']._serialized_end=2466
|
|
75
|
+
_globals['_EVENTINSTANCE_PARAMSENTRY']._serialized_start=2060
|
|
76
|
+
_globals['_EVENTINSTANCE_PARAMSENTRY']._serialized_end=2174
|
|
77
|
+
_globals['_EDGE']._serialized_start=2468
|
|
78
|
+
_globals['_EDGE']._serialized_end=2549
|
|
79
|
+
_globals['_FIELDVALUE']._serialized_start=2552
|
|
80
|
+
_globals['_FIELDVALUE']._serialized_end=2936
|
|
81
|
+
_globals['_FIELDVALUEARRAY']._serialized_start=2938
|
|
82
|
+
_globals['_FIELDVALUEARRAY']._serialized_end=3034
|
|
83
|
+
_globals['_INLINECTORVALUE']._serialized_start=3037
|
|
84
|
+
_globals['_INLINECTORVALUE']._serialized_end=3289
|
|
85
|
+
_globals['_INLINECTORVALUE_ARGSENTRY']._serialized_start=3177
|
|
86
|
+
_globals['_INLINECTORVALUE_ARGSENTRY']._serialized_end=3289
|
|
87
|
+
_globals['_MISSIONGRAPH']._serialized_start=3292
|
|
88
|
+
_globals['_MISSIONGRAPH']._serialized_end=3680
|
|
89
|
+
_globals['_COMPILEERROR']._serialized_start=3682
|
|
90
|
+
_globals['_COMPILEERROR']._serialized_end=3809
|
|
91
|
+
_globals['_VALIDATEREQUEST']._serialized_start=3811
|
|
92
|
+
_globals['_VALIDATEREQUEST']._serialized_end=3913
|
|
93
|
+
_globals['_VALIDATERESPONSE']._serialized_start=3915
|
|
94
|
+
_globals['_VALIDATERESPONSE']._serialized_end=4032
|
|
95
|
+
_globals['_BUILDREQUEST']._serialized_start=4034
|
|
96
|
+
_globals['_BUILDREQUEST']._serialized_end=4159
|
|
97
|
+
_globals['_BUILDCHUNK']._serialized_start=4162
|
|
98
|
+
_globals['_BUILDCHUNK']._serialized_end=4317
|
|
99
|
+
_globals['_PARSEDSLREQUEST']._serialized_start=4319
|
|
100
|
+
_globals['_PARSEDSLREQUEST']._serialized_end=4354
|
|
101
|
+
_globals['_PARSEDSLRESPONSE']._serialized_start=4357
|
|
102
|
+
_globals['_PARSEDSLRESPONSE']._serialized_end=4559
|
|
103
|
+
_globals['_DSLCOMPILERSERVICE']._serialized_start=4562
|
|
104
|
+
_globals['_DSLCOMPILERSERVICE']._serialized_end=5134
|
|
105
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,262 @@
|
|
|
1
|
+
from google.protobuf.internal import containers as _containers
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from google.protobuf import message as _message
|
|
4
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
5
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
6
|
+
|
|
7
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
8
|
+
|
|
9
|
+
class GetSchemaRequest(_message.Message):
|
|
10
|
+
__slots__ = ()
|
|
11
|
+
def __init__(self) -> None: ...
|
|
12
|
+
|
|
13
|
+
class GetSchemaResponse(_message.Message):
|
|
14
|
+
__slots__ = ("actions", "events", "datatypes", "enums", "imports", "default_role")
|
|
15
|
+
class ActionsEntry(_message.Message):
|
|
16
|
+
__slots__ = ("key", "value")
|
|
17
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
key: str
|
|
20
|
+
value: TypeSchema
|
|
21
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[TypeSchema, _Mapping]] = ...) -> None: ...
|
|
22
|
+
class EventsEntry(_message.Message):
|
|
23
|
+
__slots__ = ("key", "value")
|
|
24
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
key: str
|
|
27
|
+
value: TypeSchema
|
|
28
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[TypeSchema, _Mapping]] = ...) -> None: ...
|
|
29
|
+
class DatatypesEntry(_message.Message):
|
|
30
|
+
__slots__ = ("key", "value")
|
|
31
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
key: str
|
|
34
|
+
value: TypeSchema
|
|
35
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[TypeSchema, _Mapping]] = ...) -> None: ...
|
|
36
|
+
class EnumsEntry(_message.Message):
|
|
37
|
+
__slots__ = ("key", "value")
|
|
38
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
key: str
|
|
41
|
+
value: EnumSchema
|
|
42
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[EnumSchema, _Mapping]] = ...) -> None: ...
|
|
43
|
+
ACTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
44
|
+
EVENTS_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
+
DATATYPES_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
+
ENUMS_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
IMPORTS_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
DEFAULT_ROLE_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
actions: _containers.MessageMap[str, TypeSchema]
|
|
50
|
+
events: _containers.MessageMap[str, TypeSchema]
|
|
51
|
+
datatypes: _containers.MessageMap[str, TypeSchema]
|
|
52
|
+
enums: _containers.MessageMap[str, EnumSchema]
|
|
53
|
+
imports: _containers.RepeatedCompositeFieldContainer[ImportSpec]
|
|
54
|
+
default_role: str
|
|
55
|
+
def __init__(self, actions: _Optional[_Mapping[str, TypeSchema]] = ..., events: _Optional[_Mapping[str, TypeSchema]] = ..., datatypes: _Optional[_Mapping[str, TypeSchema]] = ..., enums: _Optional[_Mapping[str, EnumSchema]] = ..., imports: _Optional[_Iterable[_Union[ImportSpec, _Mapping]]] = ..., default_role: _Optional[str] = ...) -> None: ...
|
|
56
|
+
|
|
57
|
+
class ImportSpec(_message.Message):
|
|
58
|
+
__slots__ = ("alias", "path", "version")
|
|
59
|
+
ALIAS_FIELD_NUMBER: _ClassVar[int]
|
|
60
|
+
PATH_FIELD_NUMBER: _ClassVar[int]
|
|
61
|
+
VERSION_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
alias: str
|
|
63
|
+
path: str
|
|
64
|
+
version: str
|
|
65
|
+
def __init__(self, alias: _Optional[str] = ..., path: _Optional[str] = ..., version: _Optional[str] = ...) -> None: ...
|
|
66
|
+
|
|
67
|
+
class TypeSchema(_message.Message):
|
|
68
|
+
__slots__ = ("description", "fields")
|
|
69
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
+
FIELDS_FIELD_NUMBER: _ClassVar[int]
|
|
71
|
+
description: str
|
|
72
|
+
fields: _containers.RepeatedCompositeFieldContainer[FieldSchema]
|
|
73
|
+
def __init__(self, description: _Optional[str] = ..., fields: _Optional[_Iterable[_Union[FieldSchema, _Mapping]]] = ...) -> None: ...
|
|
74
|
+
|
|
75
|
+
class EnumSchema(_message.Message):
|
|
76
|
+
__slots__ = ("description", "values")
|
|
77
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
78
|
+
VALUES_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
+
description: str
|
|
80
|
+
values: _containers.RepeatedScalarFieldContainer[str]
|
|
81
|
+
def __init__(self, description: _Optional[str] = ..., values: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
82
|
+
|
|
83
|
+
class FieldSchema(_message.Message):
|
|
84
|
+
__slots__ = ("name", "type", "required", "description", "default_value", "object_type", "nested_fields", "enum_type", "map_feature")
|
|
85
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
87
|
+
REQUIRED_FIELD_NUMBER: _ClassVar[int]
|
|
88
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
DEFAULT_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
OBJECT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
91
|
+
NESTED_FIELDS_FIELD_NUMBER: _ClassVar[int]
|
|
92
|
+
ENUM_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
93
|
+
MAP_FEATURE_FIELD_NUMBER: _ClassVar[int]
|
|
94
|
+
name: str
|
|
95
|
+
type: str
|
|
96
|
+
required: bool
|
|
97
|
+
description: str
|
|
98
|
+
default_value: str
|
|
99
|
+
object_type: str
|
|
100
|
+
nested_fields: _containers.RepeatedCompositeFieldContainer[FieldSchema]
|
|
101
|
+
enum_type: str
|
|
102
|
+
map_feature: bool
|
|
103
|
+
def __init__(self, name: _Optional[str] = ..., type: _Optional[str] = ..., required: _Optional[bool] = ..., description: _Optional[str] = ..., default_value: _Optional[str] = ..., object_type: _Optional[str] = ..., nested_fields: _Optional[_Iterable[_Union[FieldSchema, _Mapping]]] = ..., enum_type: _Optional[str] = ..., map_feature: _Optional[bool] = ...) -> None: ...
|
|
104
|
+
|
|
105
|
+
class Node(_message.Message):
|
|
106
|
+
__slots__ = ("instance_id", "type_name", "params")
|
|
107
|
+
class ParamsEntry(_message.Message):
|
|
108
|
+
__slots__ = ("key", "value")
|
|
109
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
110
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
111
|
+
key: str
|
|
112
|
+
value: FieldValue
|
|
113
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[FieldValue, _Mapping]] = ...) -> None: ...
|
|
114
|
+
INSTANCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
+
TYPE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
116
|
+
PARAMS_FIELD_NUMBER: _ClassVar[int]
|
|
117
|
+
instance_id: str
|
|
118
|
+
type_name: str
|
|
119
|
+
params: _containers.MessageMap[str, FieldValue]
|
|
120
|
+
def __init__(self, instance_id: _Optional[str] = ..., type_name: _Optional[str] = ..., params: _Optional[_Mapping[str, FieldValue]] = ...) -> None: ...
|
|
121
|
+
|
|
122
|
+
class EventInstance(_message.Message):
|
|
123
|
+
__slots__ = ("instance_id", "type_name", "params")
|
|
124
|
+
class ParamsEntry(_message.Message):
|
|
125
|
+
__slots__ = ("key", "value")
|
|
126
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
127
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
128
|
+
key: str
|
|
129
|
+
value: FieldValue
|
|
130
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[FieldValue, _Mapping]] = ...) -> None: ...
|
|
131
|
+
INSTANCE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
132
|
+
TYPE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
133
|
+
PARAMS_FIELD_NUMBER: _ClassVar[int]
|
|
134
|
+
instance_id: str
|
|
135
|
+
type_name: str
|
|
136
|
+
params: _containers.MessageMap[str, FieldValue]
|
|
137
|
+
def __init__(self, instance_id: _Optional[str] = ..., type_name: _Optional[str] = ..., params: _Optional[_Mapping[str, FieldValue]] = ...) -> None: ...
|
|
138
|
+
|
|
139
|
+
class Edge(_message.Message):
|
|
140
|
+
__slots__ = ("source", "event_id", "target")
|
|
141
|
+
SOURCE_FIELD_NUMBER: _ClassVar[int]
|
|
142
|
+
EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
143
|
+
TARGET_FIELD_NUMBER: _ClassVar[int]
|
|
144
|
+
source: str
|
|
145
|
+
event_id: str
|
|
146
|
+
target: str
|
|
147
|
+
def __init__(self, source: _Optional[str] = ..., event_id: _Optional[str] = ..., target: _Optional[str] = ...) -> None: ...
|
|
148
|
+
|
|
149
|
+
class FieldValue(_message.Message):
|
|
150
|
+
__slots__ = ("float_value", "int_value", "string_value", "bool_value", "ident_ref", "array_value", "inline_value")
|
|
151
|
+
FLOAT_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
152
|
+
INT_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
153
|
+
STRING_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
154
|
+
BOOL_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
155
|
+
IDENT_REF_FIELD_NUMBER: _ClassVar[int]
|
|
156
|
+
ARRAY_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
157
|
+
INLINE_VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
158
|
+
float_value: float
|
|
159
|
+
int_value: int
|
|
160
|
+
string_value: str
|
|
161
|
+
bool_value: bool
|
|
162
|
+
ident_ref: str
|
|
163
|
+
array_value: FieldValueArray
|
|
164
|
+
inline_value: InlineCtorValue
|
|
165
|
+
def __init__(self, float_value: _Optional[float] = ..., int_value: _Optional[int] = ..., string_value: _Optional[str] = ..., bool_value: _Optional[bool] = ..., ident_ref: _Optional[str] = ..., array_value: _Optional[_Union[FieldValueArray, _Mapping]] = ..., inline_value: _Optional[_Union[InlineCtorValue, _Mapping]] = ...) -> None: ...
|
|
166
|
+
|
|
167
|
+
class FieldValueArray(_message.Message):
|
|
168
|
+
__slots__ = ("elems",)
|
|
169
|
+
ELEMS_FIELD_NUMBER: _ClassVar[int]
|
|
170
|
+
elems: _containers.RepeatedCompositeFieldContainer[FieldValue]
|
|
171
|
+
def __init__(self, elems: _Optional[_Iterable[_Union[FieldValue, _Mapping]]] = ...) -> None: ...
|
|
172
|
+
|
|
173
|
+
class InlineCtorValue(_message.Message):
|
|
174
|
+
__slots__ = ("type_name", "args")
|
|
175
|
+
class ArgsEntry(_message.Message):
|
|
176
|
+
__slots__ = ("key", "value")
|
|
177
|
+
KEY_FIELD_NUMBER: _ClassVar[int]
|
|
178
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
179
|
+
key: str
|
|
180
|
+
value: FieldValue
|
|
181
|
+
def __init__(self, key: _Optional[str] = ..., value: _Optional[_Union[FieldValue, _Mapping]] = ...) -> None: ...
|
|
182
|
+
TYPE_NAME_FIELD_NUMBER: _ClassVar[int]
|
|
183
|
+
ARGS_FIELD_NUMBER: _ClassVar[int]
|
|
184
|
+
type_name: str
|
|
185
|
+
args: _containers.MessageMap[str, FieldValue]
|
|
186
|
+
def __init__(self, type_name: _Optional[str] = ..., args: _Optional[_Mapping[str, FieldValue]] = ...) -> None: ...
|
|
187
|
+
|
|
188
|
+
class MissionGraph(_message.Message):
|
|
189
|
+
__slots__ = ("nodes", "events", "edges", "start_id", "role", "imports")
|
|
190
|
+
NODES_FIELD_NUMBER: _ClassVar[int]
|
|
191
|
+
EVENTS_FIELD_NUMBER: _ClassVar[int]
|
|
192
|
+
EDGES_FIELD_NUMBER: _ClassVar[int]
|
|
193
|
+
START_ID_FIELD_NUMBER: _ClassVar[int]
|
|
194
|
+
ROLE_FIELD_NUMBER: _ClassVar[int]
|
|
195
|
+
IMPORTS_FIELD_NUMBER: _ClassVar[int]
|
|
196
|
+
nodes: _containers.RepeatedCompositeFieldContainer[Node]
|
|
197
|
+
events: _containers.RepeatedCompositeFieldContainer[EventInstance]
|
|
198
|
+
edges: _containers.RepeatedCompositeFieldContainer[Edge]
|
|
199
|
+
start_id: str
|
|
200
|
+
role: str
|
|
201
|
+
imports: _containers.RepeatedCompositeFieldContainer[ImportSpec]
|
|
202
|
+
def __init__(self, nodes: _Optional[_Iterable[_Union[Node, _Mapping]]] = ..., events: _Optional[_Iterable[_Union[EventInstance, _Mapping]]] = ..., edges: _Optional[_Iterable[_Union[Edge, _Mapping]]] = ..., start_id: _Optional[str] = ..., role: _Optional[str] = ..., imports: _Optional[_Iterable[_Union[ImportSpec, _Mapping]]] = ...) -> None: ...
|
|
203
|
+
|
|
204
|
+
class CompileError(_message.Message):
|
|
205
|
+
__slots__ = ("node_id", "event_id", "message")
|
|
206
|
+
NODE_ID_FIELD_NUMBER: _ClassVar[int]
|
|
207
|
+
EVENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
208
|
+
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
209
|
+
node_id: str
|
|
210
|
+
event_id: str
|
|
211
|
+
message: str
|
|
212
|
+
def __init__(self, node_id: _Optional[str] = ..., event_id: _Optional[str] = ..., message: _Optional[str] = ...) -> None: ...
|
|
213
|
+
|
|
214
|
+
class ValidateRequest(_message.Message):
|
|
215
|
+
__slots__ = ("mission",)
|
|
216
|
+
MISSION_FIELD_NUMBER: _ClassVar[int]
|
|
217
|
+
mission: MissionGraph
|
|
218
|
+
def __init__(self, mission: _Optional[_Union[MissionGraph, _Mapping]] = ...) -> None: ...
|
|
219
|
+
|
|
220
|
+
class ValidateResponse(_message.Message):
|
|
221
|
+
__slots__ = ("ok", "errors")
|
|
222
|
+
OK_FIELD_NUMBER: _ClassVar[int]
|
|
223
|
+
ERRORS_FIELD_NUMBER: _ClassVar[int]
|
|
224
|
+
ok: bool
|
|
225
|
+
errors: _containers.RepeatedCompositeFieldContainer[CompileError]
|
|
226
|
+
def __init__(self, ok: _Optional[bool] = ..., errors: _Optional[_Iterable[_Union[CompileError, _Mapping]]] = ...) -> None: ...
|
|
227
|
+
|
|
228
|
+
class BuildRequest(_message.Message):
|
|
229
|
+
__slots__ = ("mission", "geojson")
|
|
230
|
+
MISSION_FIELD_NUMBER: _ClassVar[int]
|
|
231
|
+
GEOJSON_FIELD_NUMBER: _ClassVar[int]
|
|
232
|
+
mission: MissionGraph
|
|
233
|
+
geojson: bytes
|
|
234
|
+
def __init__(self, mission: _Optional[_Union[MissionGraph, _Mapping]] = ..., geojson: _Optional[bytes] = ...) -> None: ...
|
|
235
|
+
|
|
236
|
+
class BuildChunk(_message.Message):
|
|
237
|
+
__slots__ = ("arch", "data", "done", "errors")
|
|
238
|
+
ARCH_FIELD_NUMBER: _ClassVar[int]
|
|
239
|
+
DATA_FIELD_NUMBER: _ClassVar[int]
|
|
240
|
+
DONE_FIELD_NUMBER: _ClassVar[int]
|
|
241
|
+
ERRORS_FIELD_NUMBER: _ClassVar[int]
|
|
242
|
+
arch: str
|
|
243
|
+
data: bytes
|
|
244
|
+
done: bool
|
|
245
|
+
errors: _containers.RepeatedCompositeFieldContainer[CompileError]
|
|
246
|
+
def __init__(self, arch: _Optional[str] = ..., data: _Optional[bytes] = ..., done: _Optional[bool] = ..., errors: _Optional[_Iterable[_Union[CompileError, _Mapping]]] = ...) -> None: ...
|
|
247
|
+
|
|
248
|
+
class ParseDslRequest(_message.Message):
|
|
249
|
+
__slots__ = ("dsl",)
|
|
250
|
+
DSL_FIELD_NUMBER: _ClassVar[int]
|
|
251
|
+
dsl: str
|
|
252
|
+
def __init__(self, dsl: _Optional[str] = ...) -> None: ...
|
|
253
|
+
|
|
254
|
+
class ParseDslResponse(_message.Message):
|
|
255
|
+
__slots__ = ("ok", "mission", "errors")
|
|
256
|
+
OK_FIELD_NUMBER: _ClassVar[int]
|
|
257
|
+
MISSION_FIELD_NUMBER: _ClassVar[int]
|
|
258
|
+
ERRORS_FIELD_NUMBER: _ClassVar[int]
|
|
259
|
+
ok: bool
|
|
260
|
+
mission: MissionGraph
|
|
261
|
+
errors: _containers.RepeatedCompositeFieldContainer[CompileError]
|
|
262
|
+
def __init__(self, ok: _Optional[bool] = ..., mission: _Optional[_Union[MissionGraph, _Mapping]] = ..., errors: _Optional[_Iterable[_Union[CompileError, _Mapping]]] = ...) -> None: ...
|