RSSeismicScripting 3.0.0__py3-none-any.whl
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.
- rsseismic/Application.py +196 -0
- rsseismic/ApplicationManager.py +111 -0
- rsseismic/BedrockLayer.py +29 -0
- rsseismic/MeanProfile.py +169 -0
- rsseismic/MeanProfileSoilLayer.py +119 -0
- rsseismic/Model.py +204 -0
- rsseismic/Motions.py +140 -0
- rsseismic/ProfileGenerationSettings.py +29 -0
- rsseismic/Profiles.py +186 -0
- rsseismic/ProjectSettings.py +46 -0
- rsseismic/ReferenceCurve.py +73 -0
- rsseismic/Results.py +419 -0
- rsseismic/SoilLayer.py +34 -0
- rsseismic/SoilLayerCurve.py +124 -0
- rsseismic/SoilLayerOperations.py +120 -0
- rsseismic/__init__.py +79 -0
- rsseismic/_application_paths.py +74 -0
- rsseismic/_batch_compute.py +420 -0
- rsseismic/_client.py +81 -0
- rsseismic/_proto_converters.py +345 -0
- rsseismic/_proxyObject.py +11 -0
- rsseismic/_result_bulk_dataframes.py +202 -0
- rsseismic/_result_dataframes.py +77 -0
- rsseismic/_rpc_helpers.py +55 -0
- rsseismic/enums/__init__.py +23 -0
- rsseismic/enums/_generated.py +120 -0
- rsseismic/enums/fitting_procedure.py +15 -0
- rsseismic/exceptions.py +11 -0
- rsseismic/generatedFiles/ApplicationService_pb2.py +46 -0
- rsseismic/generatedFiles/ApplicationService_pb2.pyi +67 -0
- rsseismic/generatedFiles/ApplicationService_pb2_grpc.py +274 -0
- rsseismic/generatedFiles/BedrockLayerDataService_pb2.py +27 -0
- rsseismic/generatedFiles/BedrockLayerDataService_pb2.pyi +5 -0
- rsseismic/generatedFiles/BedrockLayerDataService_pb2_grpc.py +231 -0
- rsseismic/generatedFiles/CommonMessages_pb2.py +50 -0
- rsseismic/generatedFiles/CommonMessages_pb2.pyi +113 -0
- rsseismic/generatedFiles/CommonMessages_pb2_grpc.py +29 -0
- rsseismic/generatedFiles/MeanProfileService_pb2.py +62 -0
- rsseismic/generatedFiles/MeanProfileService_pb2.pyi +176 -0
- rsseismic/generatedFiles/MeanProfileService_pb2_grpc.py +458 -0
- rsseismic/generatedFiles/MeanProfileSoilLayerDataService_pb2.py +45 -0
- rsseismic/generatedFiles/MeanProfileSoilLayerDataService_pb2.pyi +87 -0
- rsseismic/generatedFiles/MeanProfileSoilLayerDataService_pb2_grpc.py +360 -0
- rsseismic/generatedFiles/ModelService_pb2.py +54 -0
- rsseismic/generatedFiles/ModelService_pb2.pyi +122 -0
- rsseismic/generatedFiles/ModelService_pb2_grpc.py +360 -0
- rsseismic/generatedFiles/MotionService_pb2.py +78 -0
- rsseismic/generatedFiles/MotionService_pb2.pyi +224 -0
- rsseismic/generatedFiles/MotionService_pb2_grpc.py +575 -0
- rsseismic/generatedFiles/ProfileGenerationSettingsService_pb2.py +27 -0
- rsseismic/generatedFiles/ProfileGenerationSettingsService_pb2.pyi +5 -0
- rsseismic/generatedFiles/ProfileGenerationSettingsService_pb2_grpc.py +145 -0
- rsseismic/generatedFiles/ProfileService_pb2.py +76 -0
- rsseismic/generatedFiles/ProfileService_pb2.pyi +246 -0
- rsseismic/generatedFiles/ProfileService_pb2_grpc.py +532 -0
- rsseismic/generatedFiles/ProjectSettingsDataService_pb2.py +35 -0
- rsseismic/generatedFiles/ProjectSettingsDataService_pb2.pyi +40 -0
- rsseismic/generatedFiles/ProjectSettingsDataService_pb2_grpc.py +232 -0
- rsseismic/generatedFiles/ReferenceCurveDataService_pb2.py +41 -0
- rsseismic/generatedFiles/ReferenceCurveDataService_pb2.pyi +73 -0
- rsseismic/generatedFiles/ReferenceCurveDataService_pb2_grpc.py +281 -0
- rsseismic/generatedFiles/ResultsService_pb2.py +82 -0
- rsseismic/generatedFiles/ResultsService_pb2.pyi +373 -0
- rsseismic/generatedFiles/ResultsService_pb2_grpc.py +489 -0
- rsseismic/generatedFiles/SoilLayerCurveDataService_pb2.py +52 -0
- rsseismic/generatedFiles/SoilLayerCurveDataService_pb2.pyi +150 -0
- rsseismic/generatedFiles/SoilLayerCurveDataService_pb2_grpc.py +280 -0
- rsseismic/generatedFiles/SoilLayerDataService_pb2.py +27 -0
- rsseismic/generatedFiles/SoilLayerDataService_pb2.pyi +5 -0
- rsseismic/generatedFiles/SoilLayerDataService_pb2_grpc.py +231 -0
- rsseismic/generatedFiles/SoilLayerService_pb2.py +46 -0
- rsseismic/generatedFiles/SoilLayerService_pb2.pyi +122 -0
- rsseismic/generatedFiles/SoilLayerService_pb2_grpc.py +317 -0
- rsseismic/generatedFiles/__init__.py +4 -0
- rsseismic/properties/_PropertyAccessor.py +151 -0
- rsseismic/properties/__init__.py +6 -0
- rsseismic/properties/bedrockLayer/__init__.py +1 -0
- rsseismic/properties/bedrockLayer/_generated.py +127 -0
- rsseismic/properties/meanProfileSoilLayer/__init__.py +1 -0
- rsseismic/properties/meanProfileSoilLayer/_generated.py +87 -0
- rsseismic/properties/profileGenerationSettings/__init__.py +1 -0
- rsseismic/properties/profileGenerationSettings/_generated.py +195 -0
- rsseismic/properties/projectSettings/__init__.py +1 -0
- rsseismic/properties/projectSettings/_generated.py +270 -0
- rsseismic/properties/referenceCurve/__init__.py +1 -0
- rsseismic/properties/referenceCurve/_generated.py +264 -0
- rsseismic/properties/soilLayer/__init__.py +1 -0
- rsseismic/properties/soilLayer/_generated.py +523 -0
- rsseismic/types.py +311 -0
- rsseismicscripting-3.0.0.dist-info/METADATA +88 -0
- rsseismicscripting-3.0.0.dist-info/RECORD +94 -0
- rsseismicscripting-3.0.0.dist-info/WHEEL +5 -0
- rsseismicscripting-3.0.0.dist-info/licenses/License.txt +20 -0
- rsseismicscripting-3.0.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
import ModelService_pb2 as ModelService__pb2
|
|
7
|
+
|
|
8
|
+
GRPC_GENERATED_VERSION = '1.64.1'
|
|
9
|
+
GRPC_VERSION = grpc.__version__
|
|
10
|
+
EXPECTED_ERROR_RELEASE = '1.65.0'
|
|
11
|
+
SCHEDULED_RELEASE_DATE = 'June 25, 2024'
|
|
12
|
+
_version_not_supported = False
|
|
13
|
+
|
|
14
|
+
try:
|
|
15
|
+
from grpc._utilities import first_version_is_lower
|
|
16
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
17
|
+
except ImportError:
|
|
18
|
+
_version_not_supported = True
|
|
19
|
+
|
|
20
|
+
if _version_not_supported:
|
|
21
|
+
warnings.warn(
|
|
22
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
23
|
+
+ f' but the generated code in ModelService_pb2_grpc.py depends on'
|
|
24
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
25
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
26
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
27
|
+
+ f' This warning will become an error in {EXPECTED_ERROR_RELEASE},'
|
|
28
|
+
+ f' scheduled for release on {SCHEDULED_RELEASE_DATE}.',
|
|
29
|
+
RuntimeWarning
|
|
30
|
+
)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
class ModelServiceStub(object):
|
|
34
|
+
"""Missing associated documentation comment in .proto file."""
|
|
35
|
+
|
|
36
|
+
def __init__(self, channel):
|
|
37
|
+
"""Constructor.
|
|
38
|
+
|
|
39
|
+
Args:
|
|
40
|
+
channel: A grpc.Channel.
|
|
41
|
+
"""
|
|
42
|
+
self.Save = channel.unary_unary(
|
|
43
|
+
'/ModelServiceDefinition.ModelService/Save',
|
|
44
|
+
request_serializer=ModelService__pb2.SaveRequest.SerializeToString,
|
|
45
|
+
response_deserializer=ModelService__pb2.SaveResponse.FromString,
|
|
46
|
+
_registered_method=True)
|
|
47
|
+
self.SaveAs = channel.unary_unary(
|
|
48
|
+
'/ModelServiceDefinition.ModelService/SaveAs',
|
|
49
|
+
request_serializer=ModelService__pb2.SaveAsRequest.SerializeToString,
|
|
50
|
+
response_deserializer=ModelService__pb2.SaveAsResponse.FromString,
|
|
51
|
+
_registered_method=True)
|
|
52
|
+
self.Close = channel.unary_unary(
|
|
53
|
+
'/ModelServiceDefinition.ModelService/Close',
|
|
54
|
+
request_serializer=ModelService__pb2.CloseRequest.SerializeToString,
|
|
55
|
+
response_deserializer=ModelService__pb2.CloseResponse.FromString,
|
|
56
|
+
_registered_method=True)
|
|
57
|
+
self.RunCompute = channel.unary_unary(
|
|
58
|
+
'/ModelServiceDefinition.ModelService/RunCompute',
|
|
59
|
+
request_serializer=ModelService__pb2.RunComputeRequest.SerializeToString,
|
|
60
|
+
response_deserializer=ModelService__pb2.RunComputeResponse.FromString,
|
|
61
|
+
_registered_method=True)
|
|
62
|
+
self.ClearResults = channel.unary_unary(
|
|
63
|
+
'/ModelServiceDefinition.ModelService/ClearResults',
|
|
64
|
+
request_serializer=ModelService__pb2.ClearResultsRequest.SerializeToString,
|
|
65
|
+
response_deserializer=ModelService__pb2.ClearResultsResponse.FromString,
|
|
66
|
+
_registered_method=True)
|
|
67
|
+
self.GenerateProfiles = channel.unary_unary(
|
|
68
|
+
'/ModelServiceDefinition.ModelService/GenerateProfiles',
|
|
69
|
+
request_serializer=ModelService__pb2.GenerateProfilesRequest.SerializeToString,
|
|
70
|
+
response_deserializer=ModelService__pb2.GenerateProfilesResponse.FromString,
|
|
71
|
+
_registered_method=True)
|
|
72
|
+
self.ResetGeneratedProfiles = channel.unary_unary(
|
|
73
|
+
'/ModelServiceDefinition.ModelService/ResetGeneratedProfiles',
|
|
74
|
+
request_serializer=ModelService__pb2.ResetGeneratedProfilesRequest.SerializeToString,
|
|
75
|
+
response_deserializer=ModelService__pb2.ResetGeneratedProfilesResponse.FromString,
|
|
76
|
+
_registered_method=True)
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
class ModelServiceServicer(object):
|
|
80
|
+
"""Missing associated documentation comment in .proto file."""
|
|
81
|
+
|
|
82
|
+
def Save(self, request, context):
|
|
83
|
+
"""Missing associated documentation comment in .proto file."""
|
|
84
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
85
|
+
context.set_details('Method not implemented!')
|
|
86
|
+
raise NotImplementedError('Method not implemented!')
|
|
87
|
+
|
|
88
|
+
def SaveAs(self, request, context):
|
|
89
|
+
"""Missing associated documentation comment in .proto file."""
|
|
90
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
91
|
+
context.set_details('Method not implemented!')
|
|
92
|
+
raise NotImplementedError('Method not implemented!')
|
|
93
|
+
|
|
94
|
+
def Close(self, request, context):
|
|
95
|
+
"""Missing associated documentation comment in .proto file."""
|
|
96
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
97
|
+
context.set_details('Method not implemented!')
|
|
98
|
+
raise NotImplementedError('Method not implemented!')
|
|
99
|
+
|
|
100
|
+
def RunCompute(self, request, context):
|
|
101
|
+
"""Missing associated documentation comment in .proto file."""
|
|
102
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
103
|
+
context.set_details('Method not implemented!')
|
|
104
|
+
raise NotImplementedError('Method not implemented!')
|
|
105
|
+
|
|
106
|
+
def ClearResults(self, request, context):
|
|
107
|
+
"""Missing associated documentation comment in .proto file."""
|
|
108
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
109
|
+
context.set_details('Method not implemented!')
|
|
110
|
+
raise NotImplementedError('Method not implemented!')
|
|
111
|
+
|
|
112
|
+
def GenerateProfiles(self, request, context):
|
|
113
|
+
"""Missing associated documentation comment in .proto file."""
|
|
114
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
115
|
+
context.set_details('Method not implemented!')
|
|
116
|
+
raise NotImplementedError('Method not implemented!')
|
|
117
|
+
|
|
118
|
+
def ResetGeneratedProfiles(self, request, context):
|
|
119
|
+
"""Missing associated documentation comment in .proto file."""
|
|
120
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
121
|
+
context.set_details('Method not implemented!')
|
|
122
|
+
raise NotImplementedError('Method not implemented!')
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
def add_ModelServiceServicer_to_server(servicer, server):
|
|
126
|
+
rpc_method_handlers = {
|
|
127
|
+
'Save': grpc.unary_unary_rpc_method_handler(
|
|
128
|
+
servicer.Save,
|
|
129
|
+
request_deserializer=ModelService__pb2.SaveRequest.FromString,
|
|
130
|
+
response_serializer=ModelService__pb2.SaveResponse.SerializeToString,
|
|
131
|
+
),
|
|
132
|
+
'SaveAs': grpc.unary_unary_rpc_method_handler(
|
|
133
|
+
servicer.SaveAs,
|
|
134
|
+
request_deserializer=ModelService__pb2.SaveAsRequest.FromString,
|
|
135
|
+
response_serializer=ModelService__pb2.SaveAsResponse.SerializeToString,
|
|
136
|
+
),
|
|
137
|
+
'Close': grpc.unary_unary_rpc_method_handler(
|
|
138
|
+
servicer.Close,
|
|
139
|
+
request_deserializer=ModelService__pb2.CloseRequest.FromString,
|
|
140
|
+
response_serializer=ModelService__pb2.CloseResponse.SerializeToString,
|
|
141
|
+
),
|
|
142
|
+
'RunCompute': grpc.unary_unary_rpc_method_handler(
|
|
143
|
+
servicer.RunCompute,
|
|
144
|
+
request_deserializer=ModelService__pb2.RunComputeRequest.FromString,
|
|
145
|
+
response_serializer=ModelService__pb2.RunComputeResponse.SerializeToString,
|
|
146
|
+
),
|
|
147
|
+
'ClearResults': grpc.unary_unary_rpc_method_handler(
|
|
148
|
+
servicer.ClearResults,
|
|
149
|
+
request_deserializer=ModelService__pb2.ClearResultsRequest.FromString,
|
|
150
|
+
response_serializer=ModelService__pb2.ClearResultsResponse.SerializeToString,
|
|
151
|
+
),
|
|
152
|
+
'GenerateProfiles': grpc.unary_unary_rpc_method_handler(
|
|
153
|
+
servicer.GenerateProfiles,
|
|
154
|
+
request_deserializer=ModelService__pb2.GenerateProfilesRequest.FromString,
|
|
155
|
+
response_serializer=ModelService__pb2.GenerateProfilesResponse.SerializeToString,
|
|
156
|
+
),
|
|
157
|
+
'ResetGeneratedProfiles': grpc.unary_unary_rpc_method_handler(
|
|
158
|
+
servicer.ResetGeneratedProfiles,
|
|
159
|
+
request_deserializer=ModelService__pb2.ResetGeneratedProfilesRequest.FromString,
|
|
160
|
+
response_serializer=ModelService__pb2.ResetGeneratedProfilesResponse.SerializeToString,
|
|
161
|
+
),
|
|
162
|
+
}
|
|
163
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
164
|
+
'ModelServiceDefinition.ModelService', rpc_method_handlers)
|
|
165
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
166
|
+
server.add_registered_method_handlers('ModelServiceDefinition.ModelService', rpc_method_handlers)
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
# This class is part of an EXPERIMENTAL API.
|
|
170
|
+
class ModelService(object):
|
|
171
|
+
"""Missing associated documentation comment in .proto file."""
|
|
172
|
+
|
|
173
|
+
@staticmethod
|
|
174
|
+
def Save(request,
|
|
175
|
+
target,
|
|
176
|
+
options=(),
|
|
177
|
+
channel_credentials=None,
|
|
178
|
+
call_credentials=None,
|
|
179
|
+
insecure=False,
|
|
180
|
+
compression=None,
|
|
181
|
+
wait_for_ready=None,
|
|
182
|
+
timeout=None,
|
|
183
|
+
metadata=None):
|
|
184
|
+
return grpc.experimental.unary_unary(
|
|
185
|
+
request,
|
|
186
|
+
target,
|
|
187
|
+
'/ModelServiceDefinition.ModelService/Save',
|
|
188
|
+
ModelService__pb2.SaveRequest.SerializeToString,
|
|
189
|
+
ModelService__pb2.SaveResponse.FromString,
|
|
190
|
+
options,
|
|
191
|
+
channel_credentials,
|
|
192
|
+
insecure,
|
|
193
|
+
call_credentials,
|
|
194
|
+
compression,
|
|
195
|
+
wait_for_ready,
|
|
196
|
+
timeout,
|
|
197
|
+
metadata,
|
|
198
|
+
_registered_method=True)
|
|
199
|
+
|
|
200
|
+
@staticmethod
|
|
201
|
+
def SaveAs(request,
|
|
202
|
+
target,
|
|
203
|
+
options=(),
|
|
204
|
+
channel_credentials=None,
|
|
205
|
+
call_credentials=None,
|
|
206
|
+
insecure=False,
|
|
207
|
+
compression=None,
|
|
208
|
+
wait_for_ready=None,
|
|
209
|
+
timeout=None,
|
|
210
|
+
metadata=None):
|
|
211
|
+
return grpc.experimental.unary_unary(
|
|
212
|
+
request,
|
|
213
|
+
target,
|
|
214
|
+
'/ModelServiceDefinition.ModelService/SaveAs',
|
|
215
|
+
ModelService__pb2.SaveAsRequest.SerializeToString,
|
|
216
|
+
ModelService__pb2.SaveAsResponse.FromString,
|
|
217
|
+
options,
|
|
218
|
+
channel_credentials,
|
|
219
|
+
insecure,
|
|
220
|
+
call_credentials,
|
|
221
|
+
compression,
|
|
222
|
+
wait_for_ready,
|
|
223
|
+
timeout,
|
|
224
|
+
metadata,
|
|
225
|
+
_registered_method=True)
|
|
226
|
+
|
|
227
|
+
@staticmethod
|
|
228
|
+
def Close(request,
|
|
229
|
+
target,
|
|
230
|
+
options=(),
|
|
231
|
+
channel_credentials=None,
|
|
232
|
+
call_credentials=None,
|
|
233
|
+
insecure=False,
|
|
234
|
+
compression=None,
|
|
235
|
+
wait_for_ready=None,
|
|
236
|
+
timeout=None,
|
|
237
|
+
metadata=None):
|
|
238
|
+
return grpc.experimental.unary_unary(
|
|
239
|
+
request,
|
|
240
|
+
target,
|
|
241
|
+
'/ModelServiceDefinition.ModelService/Close',
|
|
242
|
+
ModelService__pb2.CloseRequest.SerializeToString,
|
|
243
|
+
ModelService__pb2.CloseResponse.FromString,
|
|
244
|
+
options,
|
|
245
|
+
channel_credentials,
|
|
246
|
+
insecure,
|
|
247
|
+
call_credentials,
|
|
248
|
+
compression,
|
|
249
|
+
wait_for_ready,
|
|
250
|
+
timeout,
|
|
251
|
+
metadata,
|
|
252
|
+
_registered_method=True)
|
|
253
|
+
|
|
254
|
+
@staticmethod
|
|
255
|
+
def RunCompute(request,
|
|
256
|
+
target,
|
|
257
|
+
options=(),
|
|
258
|
+
channel_credentials=None,
|
|
259
|
+
call_credentials=None,
|
|
260
|
+
insecure=False,
|
|
261
|
+
compression=None,
|
|
262
|
+
wait_for_ready=None,
|
|
263
|
+
timeout=None,
|
|
264
|
+
metadata=None):
|
|
265
|
+
return grpc.experimental.unary_unary(
|
|
266
|
+
request,
|
|
267
|
+
target,
|
|
268
|
+
'/ModelServiceDefinition.ModelService/RunCompute',
|
|
269
|
+
ModelService__pb2.RunComputeRequest.SerializeToString,
|
|
270
|
+
ModelService__pb2.RunComputeResponse.FromString,
|
|
271
|
+
options,
|
|
272
|
+
channel_credentials,
|
|
273
|
+
insecure,
|
|
274
|
+
call_credentials,
|
|
275
|
+
compression,
|
|
276
|
+
wait_for_ready,
|
|
277
|
+
timeout,
|
|
278
|
+
metadata,
|
|
279
|
+
_registered_method=True)
|
|
280
|
+
|
|
281
|
+
@staticmethod
|
|
282
|
+
def ClearResults(request,
|
|
283
|
+
target,
|
|
284
|
+
options=(),
|
|
285
|
+
channel_credentials=None,
|
|
286
|
+
call_credentials=None,
|
|
287
|
+
insecure=False,
|
|
288
|
+
compression=None,
|
|
289
|
+
wait_for_ready=None,
|
|
290
|
+
timeout=None,
|
|
291
|
+
metadata=None):
|
|
292
|
+
return grpc.experimental.unary_unary(
|
|
293
|
+
request,
|
|
294
|
+
target,
|
|
295
|
+
'/ModelServiceDefinition.ModelService/ClearResults',
|
|
296
|
+
ModelService__pb2.ClearResultsRequest.SerializeToString,
|
|
297
|
+
ModelService__pb2.ClearResultsResponse.FromString,
|
|
298
|
+
options,
|
|
299
|
+
channel_credentials,
|
|
300
|
+
insecure,
|
|
301
|
+
call_credentials,
|
|
302
|
+
compression,
|
|
303
|
+
wait_for_ready,
|
|
304
|
+
timeout,
|
|
305
|
+
metadata,
|
|
306
|
+
_registered_method=True)
|
|
307
|
+
|
|
308
|
+
@staticmethod
|
|
309
|
+
def GenerateProfiles(request,
|
|
310
|
+
target,
|
|
311
|
+
options=(),
|
|
312
|
+
channel_credentials=None,
|
|
313
|
+
call_credentials=None,
|
|
314
|
+
insecure=False,
|
|
315
|
+
compression=None,
|
|
316
|
+
wait_for_ready=None,
|
|
317
|
+
timeout=None,
|
|
318
|
+
metadata=None):
|
|
319
|
+
return grpc.experimental.unary_unary(
|
|
320
|
+
request,
|
|
321
|
+
target,
|
|
322
|
+
'/ModelServiceDefinition.ModelService/GenerateProfiles',
|
|
323
|
+
ModelService__pb2.GenerateProfilesRequest.SerializeToString,
|
|
324
|
+
ModelService__pb2.GenerateProfilesResponse.FromString,
|
|
325
|
+
options,
|
|
326
|
+
channel_credentials,
|
|
327
|
+
insecure,
|
|
328
|
+
call_credentials,
|
|
329
|
+
compression,
|
|
330
|
+
wait_for_ready,
|
|
331
|
+
timeout,
|
|
332
|
+
metadata,
|
|
333
|
+
_registered_method=True)
|
|
334
|
+
|
|
335
|
+
@staticmethod
|
|
336
|
+
def ResetGeneratedProfiles(request,
|
|
337
|
+
target,
|
|
338
|
+
options=(),
|
|
339
|
+
channel_credentials=None,
|
|
340
|
+
call_credentials=None,
|
|
341
|
+
insecure=False,
|
|
342
|
+
compression=None,
|
|
343
|
+
wait_for_ready=None,
|
|
344
|
+
timeout=None,
|
|
345
|
+
metadata=None):
|
|
346
|
+
return grpc.experimental.unary_unary(
|
|
347
|
+
request,
|
|
348
|
+
target,
|
|
349
|
+
'/ModelServiceDefinition.ModelService/ResetGeneratedProfiles',
|
|
350
|
+
ModelService__pb2.ResetGeneratedProfilesRequest.SerializeToString,
|
|
351
|
+
ModelService__pb2.ResetGeneratedProfilesResponse.FromString,
|
|
352
|
+
options,
|
|
353
|
+
channel_credentials,
|
|
354
|
+
insecure,
|
|
355
|
+
call_credentials,
|
|
356
|
+
compression,
|
|
357
|
+
wait_for_ready,
|
|
358
|
+
timeout,
|
|
359
|
+
metadata,
|
|
360
|
+
_registered_method=True)
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: MotionService.proto
|
|
4
|
+
# Protobuf Python Version: 5.26.1
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13MotionService.proto\x12\x17MotionServiceDefinition\"/\n\x1cListMotionDirectoriesRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\"[\n\x1dListMotionDirectoriesResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x13\n\x0b\x64irectories\x18\x03 \x03(\t\"4\n\x19\x41\x64\x64MotionDirectoryRequest\x12\x17\n\x0fmotionDirectory\x18\x01 \x01(\t\"X\n\x1a\x41\x64\x64MotionDirectoryResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x13\n\x0b\x64irectories\x18\x03 \x03(\t\"7\n\x1cRemoveMotionDirectoryRequest\x12\x17\n\x0fmotionDirectory\x18\x01 \x01(\t\"[\n\x1dRemoveMotionDirectoryResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x13\n\x0b\x64irectories\x18\x03 \x03(\t\",\n\x19RefreshMotionsListRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\"Z\n\x1aRefreshMotionsListResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x15\n\rmotionsLoaded\x18\x03 \x01(\x05\"%\n\x12ListMotionsRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\"A\n\x0bMotionEntry\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08\x66ilePath\x18\x02 \x01(\t\x12\x12\n\nisSelected\x18\x03 \x01(\x08\"s\n\x13ListMotionsResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x35\n\x07motions\x18\x03 \x03(\x0b\x32$.MotionServiceDefinition.MotionEntry\"[\n\x19SetMotionSelectionRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x13\n\x0bmotionNames\x18\x02 \x03(\t\x12\x18\n\x10selectOnlyListed\x18\x03 \x01(\x08\"C\n\x1aSetMotionSelectionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\")\n\x16ListMotionPairsRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\"\x95\x01\n\x0fMotionPairEntry\x12\x0e\n\x06pairId\x18\x01 \x01(\t\x12\x14\n\x0cmotionH1Name\x18\x02 \x01(\t\x12\x14\n\x0cmotionH2Name\x18\x03 \x01(\t\x12\x18\n\x10motionH1FilePath\x18\x04 \x01(\t\x12\x18\n\x10motionH2FilePath\x18\x05 \x01(\t\x12\x12\n\nisSelected\x18\x06 \x01(\x08\"y\n\x17ListMotionPairsResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x37\n\x05pairs\x18\x03 \x03(\x0b\x32(.MotionServiceDefinition.MotionPairEntry\"[\n\x1dSetMotionPairSelectionRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x0f\n\x07pairIds\x18\x02 \x03(\t\x12\x18\n\x10selectOnlyListed\x18\x03 \x01(\x08\"G\n\x1eSetMotionPairSelectionResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\"*\n\x17SelectAllMotionsRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\"A\n\x18SelectAllMotionsResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\",\n\x19\x44\x65selectAllMotionsRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\"C\n\x1a\x44\x65selectAllMotionsResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\"N\n\"SelectAllMotionsInDirectoryRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x17\n\x0fmotionDirectory\x18\x02 \x01(\t\"L\n#SelectAllMotionsInDirectoryResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\"P\n$DeselectAllMotionsInDirectoryRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x17\n\x0fmotionDirectory\x18\x02 \x01(\t\"N\n%DeselectAllMotionsInDirectoryResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t2\xbe\x0c\n\rMotionService\x12\x86\x01\n\x15ListMotionDirectories\x12\x35.MotionServiceDefinition.ListMotionDirectoriesRequest\x1a\x36.MotionServiceDefinition.ListMotionDirectoriesResponse\x12}\n\x12\x41\x64\x64MotionDirectory\x12\x32.MotionServiceDefinition.AddMotionDirectoryRequest\x1a\x33.MotionServiceDefinition.AddMotionDirectoryResponse\x12\x86\x01\n\x15RemoveMotionDirectory\x12\x35.MotionServiceDefinition.RemoveMotionDirectoryRequest\x1a\x36.MotionServiceDefinition.RemoveMotionDirectoryResponse\x12}\n\x12RefreshMotionsList\x12\x32.MotionServiceDefinition.RefreshMotionsListRequest\x1a\x33.MotionServiceDefinition.RefreshMotionsListResponse\x12h\n\x0bListMotions\x12+.MotionServiceDefinition.ListMotionsRequest\x1a,.MotionServiceDefinition.ListMotionsResponse\x12}\n\x12SetMotionSelection\x12\x32.MotionServiceDefinition.SetMotionSelectionRequest\x1a\x33.MotionServiceDefinition.SetMotionSelectionResponse\x12t\n\x0fListMotionPairs\x12/.MotionServiceDefinition.ListMotionPairsRequest\x1a\x30.MotionServiceDefinition.ListMotionPairsResponse\x12\x89\x01\n\x16SetMotionPairSelection\x12\x36.MotionServiceDefinition.SetMotionPairSelectionRequest\x1a\x37.MotionServiceDefinition.SetMotionPairSelectionResponse\x12w\n\x10SelectAllMotions\x12\x30.MotionServiceDefinition.SelectAllMotionsRequest\x1a\x31.MotionServiceDefinition.SelectAllMotionsResponse\x12}\n\x12\x44\x65selectAllMotions\x12\x32.MotionServiceDefinition.DeselectAllMotionsRequest\x1a\x33.MotionServiceDefinition.DeselectAllMotionsResponse\x12\x98\x01\n\x1bSelectAllMotionsInDirectory\x12;.MotionServiceDefinition.SelectAllMotionsInDirectoryRequest\x1a<.MotionServiceDefinition.SelectAllMotionsInDirectoryResponse\x12\x9e\x01\n\x1d\x44\x65selectAllMotionsInDirectory\x12=.MotionServiceDefinition.DeselectAllMotionsInDirectoryRequest\x1a>.MotionServiceDefinition.DeselectAllMotionsInDirectoryResponseb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'MotionService_pb2', _globals)
|
|
22
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
23
|
+
DESCRIPTOR._loaded_options = None
|
|
24
|
+
_globals['_LISTMOTIONDIRECTORIESREQUEST']._serialized_start=48
|
|
25
|
+
_globals['_LISTMOTIONDIRECTORIESREQUEST']._serialized_end=95
|
|
26
|
+
_globals['_LISTMOTIONDIRECTORIESRESPONSE']._serialized_start=97
|
|
27
|
+
_globals['_LISTMOTIONDIRECTORIESRESPONSE']._serialized_end=188
|
|
28
|
+
_globals['_ADDMOTIONDIRECTORYREQUEST']._serialized_start=190
|
|
29
|
+
_globals['_ADDMOTIONDIRECTORYREQUEST']._serialized_end=242
|
|
30
|
+
_globals['_ADDMOTIONDIRECTORYRESPONSE']._serialized_start=244
|
|
31
|
+
_globals['_ADDMOTIONDIRECTORYRESPONSE']._serialized_end=332
|
|
32
|
+
_globals['_REMOVEMOTIONDIRECTORYREQUEST']._serialized_start=334
|
|
33
|
+
_globals['_REMOVEMOTIONDIRECTORYREQUEST']._serialized_end=389
|
|
34
|
+
_globals['_REMOVEMOTIONDIRECTORYRESPONSE']._serialized_start=391
|
|
35
|
+
_globals['_REMOVEMOTIONDIRECTORYRESPONSE']._serialized_end=482
|
|
36
|
+
_globals['_REFRESHMOTIONSLISTREQUEST']._serialized_start=484
|
|
37
|
+
_globals['_REFRESHMOTIONSLISTREQUEST']._serialized_end=528
|
|
38
|
+
_globals['_REFRESHMOTIONSLISTRESPONSE']._serialized_start=530
|
|
39
|
+
_globals['_REFRESHMOTIONSLISTRESPONSE']._serialized_end=620
|
|
40
|
+
_globals['_LISTMOTIONSREQUEST']._serialized_start=622
|
|
41
|
+
_globals['_LISTMOTIONSREQUEST']._serialized_end=659
|
|
42
|
+
_globals['_MOTIONENTRY']._serialized_start=661
|
|
43
|
+
_globals['_MOTIONENTRY']._serialized_end=726
|
|
44
|
+
_globals['_LISTMOTIONSRESPONSE']._serialized_start=728
|
|
45
|
+
_globals['_LISTMOTIONSRESPONSE']._serialized_end=843
|
|
46
|
+
_globals['_SETMOTIONSELECTIONREQUEST']._serialized_start=845
|
|
47
|
+
_globals['_SETMOTIONSELECTIONREQUEST']._serialized_end=936
|
|
48
|
+
_globals['_SETMOTIONSELECTIONRESPONSE']._serialized_start=938
|
|
49
|
+
_globals['_SETMOTIONSELECTIONRESPONSE']._serialized_end=1005
|
|
50
|
+
_globals['_LISTMOTIONPAIRSREQUEST']._serialized_start=1007
|
|
51
|
+
_globals['_LISTMOTIONPAIRSREQUEST']._serialized_end=1048
|
|
52
|
+
_globals['_MOTIONPAIRENTRY']._serialized_start=1051
|
|
53
|
+
_globals['_MOTIONPAIRENTRY']._serialized_end=1200
|
|
54
|
+
_globals['_LISTMOTIONPAIRSRESPONSE']._serialized_start=1202
|
|
55
|
+
_globals['_LISTMOTIONPAIRSRESPONSE']._serialized_end=1323
|
|
56
|
+
_globals['_SETMOTIONPAIRSELECTIONREQUEST']._serialized_start=1325
|
|
57
|
+
_globals['_SETMOTIONPAIRSELECTIONREQUEST']._serialized_end=1416
|
|
58
|
+
_globals['_SETMOTIONPAIRSELECTIONRESPONSE']._serialized_start=1418
|
|
59
|
+
_globals['_SETMOTIONPAIRSELECTIONRESPONSE']._serialized_end=1489
|
|
60
|
+
_globals['_SELECTALLMOTIONSREQUEST']._serialized_start=1491
|
|
61
|
+
_globals['_SELECTALLMOTIONSREQUEST']._serialized_end=1533
|
|
62
|
+
_globals['_SELECTALLMOTIONSRESPONSE']._serialized_start=1535
|
|
63
|
+
_globals['_SELECTALLMOTIONSRESPONSE']._serialized_end=1600
|
|
64
|
+
_globals['_DESELECTALLMOTIONSREQUEST']._serialized_start=1602
|
|
65
|
+
_globals['_DESELECTALLMOTIONSREQUEST']._serialized_end=1646
|
|
66
|
+
_globals['_DESELECTALLMOTIONSRESPONSE']._serialized_start=1648
|
|
67
|
+
_globals['_DESELECTALLMOTIONSRESPONSE']._serialized_end=1715
|
|
68
|
+
_globals['_SELECTALLMOTIONSINDIRECTORYREQUEST']._serialized_start=1717
|
|
69
|
+
_globals['_SELECTALLMOTIONSINDIRECTORYREQUEST']._serialized_end=1795
|
|
70
|
+
_globals['_SELECTALLMOTIONSINDIRECTORYRESPONSE']._serialized_start=1797
|
|
71
|
+
_globals['_SELECTALLMOTIONSINDIRECTORYRESPONSE']._serialized_end=1873
|
|
72
|
+
_globals['_DESELECTALLMOTIONSINDIRECTORYREQUEST']._serialized_start=1875
|
|
73
|
+
_globals['_DESELECTALLMOTIONSINDIRECTORYREQUEST']._serialized_end=1955
|
|
74
|
+
_globals['_DESELECTALLMOTIONSINDIRECTORYRESPONSE']._serialized_start=1957
|
|
75
|
+
_globals['_DESELECTALLMOTIONSINDIRECTORYRESPONSE']._serialized_end=2035
|
|
76
|
+
_globals['_MOTIONSERVICE']._serialized_start=2038
|
|
77
|
+
_globals['_MOTIONSERVICE']._serialized_end=3636
|
|
78
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,224 @@
|
|
|
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 typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
5
|
+
|
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
+
|
|
8
|
+
class ListMotionDirectoriesRequest(_message.Message):
|
|
9
|
+
__slots__ = ("modelID",)
|
|
10
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
11
|
+
modelID: str
|
|
12
|
+
def __init__(self, modelID: _Optional[str] = ...) -> None: ...
|
|
13
|
+
|
|
14
|
+
class ListMotionDirectoriesResponse(_message.Message):
|
|
15
|
+
__slots__ = ("success", "errorMessage", "directories")
|
|
16
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
DIRECTORIES_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
success: bool
|
|
20
|
+
errorMessage: str
|
|
21
|
+
directories: _containers.RepeatedScalarFieldContainer[str]
|
|
22
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., directories: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
23
|
+
|
|
24
|
+
class AddMotionDirectoryRequest(_message.Message):
|
|
25
|
+
__slots__ = ("motionDirectory",)
|
|
26
|
+
MOTIONDIRECTORY_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
motionDirectory: str
|
|
28
|
+
def __init__(self, motionDirectory: _Optional[str] = ...) -> None: ...
|
|
29
|
+
|
|
30
|
+
class AddMotionDirectoryResponse(_message.Message):
|
|
31
|
+
__slots__ = ("success", "errorMessage", "directories")
|
|
32
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
DIRECTORIES_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
success: bool
|
|
36
|
+
errorMessage: str
|
|
37
|
+
directories: _containers.RepeatedScalarFieldContainer[str]
|
|
38
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., directories: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
39
|
+
|
|
40
|
+
class RemoveMotionDirectoryRequest(_message.Message):
|
|
41
|
+
__slots__ = ("motionDirectory",)
|
|
42
|
+
MOTIONDIRECTORY_FIELD_NUMBER: _ClassVar[int]
|
|
43
|
+
motionDirectory: str
|
|
44
|
+
def __init__(self, motionDirectory: _Optional[str] = ...) -> None: ...
|
|
45
|
+
|
|
46
|
+
class RemoveMotionDirectoryResponse(_message.Message):
|
|
47
|
+
__slots__ = ("success", "errorMessage", "directories")
|
|
48
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
DIRECTORIES_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
success: bool
|
|
52
|
+
errorMessage: str
|
|
53
|
+
directories: _containers.RepeatedScalarFieldContainer[str]
|
|
54
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., directories: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
55
|
+
|
|
56
|
+
class RefreshMotionsListRequest(_message.Message):
|
|
57
|
+
__slots__ = ("modelID",)
|
|
58
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
modelID: str
|
|
60
|
+
def __init__(self, modelID: _Optional[str] = ...) -> None: ...
|
|
61
|
+
|
|
62
|
+
class RefreshMotionsListResponse(_message.Message):
|
|
63
|
+
__slots__ = ("success", "errorMessage", "motionsLoaded")
|
|
64
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
+
MOTIONSLOADED_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
+
success: bool
|
|
68
|
+
errorMessage: str
|
|
69
|
+
motionsLoaded: int
|
|
70
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., motionsLoaded: _Optional[int] = ...) -> None: ...
|
|
71
|
+
|
|
72
|
+
class ListMotionsRequest(_message.Message):
|
|
73
|
+
__slots__ = ("modelID",)
|
|
74
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
modelID: str
|
|
76
|
+
def __init__(self, modelID: _Optional[str] = ...) -> None: ...
|
|
77
|
+
|
|
78
|
+
class MotionEntry(_message.Message):
|
|
79
|
+
__slots__ = ("name", "filePath", "isSelected")
|
|
80
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
81
|
+
FILEPATH_FIELD_NUMBER: _ClassVar[int]
|
|
82
|
+
ISSELECTED_FIELD_NUMBER: _ClassVar[int]
|
|
83
|
+
name: str
|
|
84
|
+
filePath: str
|
|
85
|
+
isSelected: bool
|
|
86
|
+
def __init__(self, name: _Optional[str] = ..., filePath: _Optional[str] = ..., isSelected: bool = ...) -> None: ...
|
|
87
|
+
|
|
88
|
+
class ListMotionsResponse(_message.Message):
|
|
89
|
+
__slots__ = ("success", "errorMessage", "motions")
|
|
90
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
91
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
92
|
+
MOTIONS_FIELD_NUMBER: _ClassVar[int]
|
|
93
|
+
success: bool
|
|
94
|
+
errorMessage: str
|
|
95
|
+
motions: _containers.RepeatedCompositeFieldContainer[MotionEntry]
|
|
96
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., motions: _Optional[_Iterable[_Union[MotionEntry, _Mapping]]] = ...) -> None: ...
|
|
97
|
+
|
|
98
|
+
class SetMotionSelectionRequest(_message.Message):
|
|
99
|
+
__slots__ = ("modelID", "motionNames", "selectOnlyListed")
|
|
100
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
MOTIONNAMES_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
+
SELECTONLYLISTED_FIELD_NUMBER: _ClassVar[int]
|
|
103
|
+
modelID: str
|
|
104
|
+
motionNames: _containers.RepeatedScalarFieldContainer[str]
|
|
105
|
+
selectOnlyListed: bool
|
|
106
|
+
def __init__(self, modelID: _Optional[str] = ..., motionNames: _Optional[_Iterable[str]] = ..., selectOnlyListed: bool = ...) -> None: ...
|
|
107
|
+
|
|
108
|
+
class SetMotionSelectionResponse(_message.Message):
|
|
109
|
+
__slots__ = ("success", "errorMessage")
|
|
110
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
111
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
112
|
+
success: bool
|
|
113
|
+
errorMessage: str
|
|
114
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ...) -> None: ...
|
|
115
|
+
|
|
116
|
+
class ListMotionPairsRequest(_message.Message):
|
|
117
|
+
__slots__ = ("modelID",)
|
|
118
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
119
|
+
modelID: str
|
|
120
|
+
def __init__(self, modelID: _Optional[str] = ...) -> None: ...
|
|
121
|
+
|
|
122
|
+
class MotionPairEntry(_message.Message):
|
|
123
|
+
__slots__ = ("pairId", "motionH1Name", "motionH2Name", "motionH1FilePath", "motionH2FilePath", "isSelected")
|
|
124
|
+
PAIRID_FIELD_NUMBER: _ClassVar[int]
|
|
125
|
+
MOTIONH1NAME_FIELD_NUMBER: _ClassVar[int]
|
|
126
|
+
MOTIONH2NAME_FIELD_NUMBER: _ClassVar[int]
|
|
127
|
+
MOTIONH1FILEPATH_FIELD_NUMBER: _ClassVar[int]
|
|
128
|
+
MOTIONH2FILEPATH_FIELD_NUMBER: _ClassVar[int]
|
|
129
|
+
ISSELECTED_FIELD_NUMBER: _ClassVar[int]
|
|
130
|
+
pairId: str
|
|
131
|
+
motionH1Name: str
|
|
132
|
+
motionH2Name: str
|
|
133
|
+
motionH1FilePath: str
|
|
134
|
+
motionH2FilePath: str
|
|
135
|
+
isSelected: bool
|
|
136
|
+
def __init__(self, pairId: _Optional[str] = ..., motionH1Name: _Optional[str] = ..., motionH2Name: _Optional[str] = ..., motionH1FilePath: _Optional[str] = ..., motionH2FilePath: _Optional[str] = ..., isSelected: bool = ...) -> None: ...
|
|
137
|
+
|
|
138
|
+
class ListMotionPairsResponse(_message.Message):
|
|
139
|
+
__slots__ = ("success", "errorMessage", "pairs")
|
|
140
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
141
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
142
|
+
PAIRS_FIELD_NUMBER: _ClassVar[int]
|
|
143
|
+
success: bool
|
|
144
|
+
errorMessage: str
|
|
145
|
+
pairs: _containers.RepeatedCompositeFieldContainer[MotionPairEntry]
|
|
146
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., pairs: _Optional[_Iterable[_Union[MotionPairEntry, _Mapping]]] = ...) -> None: ...
|
|
147
|
+
|
|
148
|
+
class SetMotionPairSelectionRequest(_message.Message):
|
|
149
|
+
__slots__ = ("modelID", "pairIds", "selectOnlyListed")
|
|
150
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
151
|
+
PAIRIDS_FIELD_NUMBER: _ClassVar[int]
|
|
152
|
+
SELECTONLYLISTED_FIELD_NUMBER: _ClassVar[int]
|
|
153
|
+
modelID: str
|
|
154
|
+
pairIds: _containers.RepeatedScalarFieldContainer[str]
|
|
155
|
+
selectOnlyListed: bool
|
|
156
|
+
def __init__(self, modelID: _Optional[str] = ..., pairIds: _Optional[_Iterable[str]] = ..., selectOnlyListed: bool = ...) -> None: ...
|
|
157
|
+
|
|
158
|
+
class SetMotionPairSelectionResponse(_message.Message):
|
|
159
|
+
__slots__ = ("success", "errorMessage")
|
|
160
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
161
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
162
|
+
success: bool
|
|
163
|
+
errorMessage: str
|
|
164
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ...) -> None: ...
|
|
165
|
+
|
|
166
|
+
class SelectAllMotionsRequest(_message.Message):
|
|
167
|
+
__slots__ = ("modelID",)
|
|
168
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
169
|
+
modelID: str
|
|
170
|
+
def __init__(self, modelID: _Optional[str] = ...) -> None: ...
|
|
171
|
+
|
|
172
|
+
class SelectAllMotionsResponse(_message.Message):
|
|
173
|
+
__slots__ = ("success", "errorMessage")
|
|
174
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
175
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
176
|
+
success: bool
|
|
177
|
+
errorMessage: str
|
|
178
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ...) -> None: ...
|
|
179
|
+
|
|
180
|
+
class DeselectAllMotionsRequest(_message.Message):
|
|
181
|
+
__slots__ = ("modelID",)
|
|
182
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
183
|
+
modelID: str
|
|
184
|
+
def __init__(self, modelID: _Optional[str] = ...) -> None: ...
|
|
185
|
+
|
|
186
|
+
class DeselectAllMotionsResponse(_message.Message):
|
|
187
|
+
__slots__ = ("success", "errorMessage")
|
|
188
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
189
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
190
|
+
success: bool
|
|
191
|
+
errorMessage: str
|
|
192
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ...) -> None: ...
|
|
193
|
+
|
|
194
|
+
class SelectAllMotionsInDirectoryRequest(_message.Message):
|
|
195
|
+
__slots__ = ("modelID", "motionDirectory")
|
|
196
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
197
|
+
MOTIONDIRECTORY_FIELD_NUMBER: _ClassVar[int]
|
|
198
|
+
modelID: str
|
|
199
|
+
motionDirectory: str
|
|
200
|
+
def __init__(self, modelID: _Optional[str] = ..., motionDirectory: _Optional[str] = ...) -> None: ...
|
|
201
|
+
|
|
202
|
+
class SelectAllMotionsInDirectoryResponse(_message.Message):
|
|
203
|
+
__slots__ = ("success", "errorMessage")
|
|
204
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
205
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
206
|
+
success: bool
|
|
207
|
+
errorMessage: str
|
|
208
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ...) -> None: ...
|
|
209
|
+
|
|
210
|
+
class DeselectAllMotionsInDirectoryRequest(_message.Message):
|
|
211
|
+
__slots__ = ("modelID", "motionDirectory")
|
|
212
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
213
|
+
MOTIONDIRECTORY_FIELD_NUMBER: _ClassVar[int]
|
|
214
|
+
modelID: str
|
|
215
|
+
motionDirectory: str
|
|
216
|
+
def __init__(self, modelID: _Optional[str] = ..., motionDirectory: _Optional[str] = ...) -> None: ...
|
|
217
|
+
|
|
218
|
+
class DeselectAllMotionsInDirectoryResponse(_message.Message):
|
|
219
|
+
__slots__ = ("success", "errorMessage")
|
|
220
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
221
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
222
|
+
success: bool
|
|
223
|
+
errorMessage: str
|
|
224
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ...) -> None: ...
|