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.
Files changed (94) hide show
  1. rsseismic/Application.py +196 -0
  2. rsseismic/ApplicationManager.py +111 -0
  3. rsseismic/BedrockLayer.py +29 -0
  4. rsseismic/MeanProfile.py +169 -0
  5. rsseismic/MeanProfileSoilLayer.py +119 -0
  6. rsseismic/Model.py +204 -0
  7. rsseismic/Motions.py +140 -0
  8. rsseismic/ProfileGenerationSettings.py +29 -0
  9. rsseismic/Profiles.py +186 -0
  10. rsseismic/ProjectSettings.py +46 -0
  11. rsseismic/ReferenceCurve.py +73 -0
  12. rsseismic/Results.py +419 -0
  13. rsseismic/SoilLayer.py +34 -0
  14. rsseismic/SoilLayerCurve.py +124 -0
  15. rsseismic/SoilLayerOperations.py +120 -0
  16. rsseismic/__init__.py +79 -0
  17. rsseismic/_application_paths.py +74 -0
  18. rsseismic/_batch_compute.py +420 -0
  19. rsseismic/_client.py +81 -0
  20. rsseismic/_proto_converters.py +345 -0
  21. rsseismic/_proxyObject.py +11 -0
  22. rsseismic/_result_bulk_dataframes.py +202 -0
  23. rsseismic/_result_dataframes.py +77 -0
  24. rsseismic/_rpc_helpers.py +55 -0
  25. rsseismic/enums/__init__.py +23 -0
  26. rsseismic/enums/_generated.py +120 -0
  27. rsseismic/enums/fitting_procedure.py +15 -0
  28. rsseismic/exceptions.py +11 -0
  29. rsseismic/generatedFiles/ApplicationService_pb2.py +46 -0
  30. rsseismic/generatedFiles/ApplicationService_pb2.pyi +67 -0
  31. rsseismic/generatedFiles/ApplicationService_pb2_grpc.py +274 -0
  32. rsseismic/generatedFiles/BedrockLayerDataService_pb2.py +27 -0
  33. rsseismic/generatedFiles/BedrockLayerDataService_pb2.pyi +5 -0
  34. rsseismic/generatedFiles/BedrockLayerDataService_pb2_grpc.py +231 -0
  35. rsseismic/generatedFiles/CommonMessages_pb2.py +50 -0
  36. rsseismic/generatedFiles/CommonMessages_pb2.pyi +113 -0
  37. rsseismic/generatedFiles/CommonMessages_pb2_grpc.py +29 -0
  38. rsseismic/generatedFiles/MeanProfileService_pb2.py +62 -0
  39. rsseismic/generatedFiles/MeanProfileService_pb2.pyi +176 -0
  40. rsseismic/generatedFiles/MeanProfileService_pb2_grpc.py +458 -0
  41. rsseismic/generatedFiles/MeanProfileSoilLayerDataService_pb2.py +45 -0
  42. rsseismic/generatedFiles/MeanProfileSoilLayerDataService_pb2.pyi +87 -0
  43. rsseismic/generatedFiles/MeanProfileSoilLayerDataService_pb2_grpc.py +360 -0
  44. rsseismic/generatedFiles/ModelService_pb2.py +54 -0
  45. rsseismic/generatedFiles/ModelService_pb2.pyi +122 -0
  46. rsseismic/generatedFiles/ModelService_pb2_grpc.py +360 -0
  47. rsseismic/generatedFiles/MotionService_pb2.py +78 -0
  48. rsseismic/generatedFiles/MotionService_pb2.pyi +224 -0
  49. rsseismic/generatedFiles/MotionService_pb2_grpc.py +575 -0
  50. rsseismic/generatedFiles/ProfileGenerationSettingsService_pb2.py +27 -0
  51. rsseismic/generatedFiles/ProfileGenerationSettingsService_pb2.pyi +5 -0
  52. rsseismic/generatedFiles/ProfileGenerationSettingsService_pb2_grpc.py +145 -0
  53. rsseismic/generatedFiles/ProfileService_pb2.py +76 -0
  54. rsseismic/generatedFiles/ProfileService_pb2.pyi +246 -0
  55. rsseismic/generatedFiles/ProfileService_pb2_grpc.py +532 -0
  56. rsseismic/generatedFiles/ProjectSettingsDataService_pb2.py +35 -0
  57. rsseismic/generatedFiles/ProjectSettingsDataService_pb2.pyi +40 -0
  58. rsseismic/generatedFiles/ProjectSettingsDataService_pb2_grpc.py +232 -0
  59. rsseismic/generatedFiles/ReferenceCurveDataService_pb2.py +41 -0
  60. rsseismic/generatedFiles/ReferenceCurveDataService_pb2.pyi +73 -0
  61. rsseismic/generatedFiles/ReferenceCurveDataService_pb2_grpc.py +281 -0
  62. rsseismic/generatedFiles/ResultsService_pb2.py +82 -0
  63. rsseismic/generatedFiles/ResultsService_pb2.pyi +373 -0
  64. rsseismic/generatedFiles/ResultsService_pb2_grpc.py +489 -0
  65. rsseismic/generatedFiles/SoilLayerCurveDataService_pb2.py +52 -0
  66. rsseismic/generatedFiles/SoilLayerCurveDataService_pb2.pyi +150 -0
  67. rsseismic/generatedFiles/SoilLayerCurveDataService_pb2_grpc.py +280 -0
  68. rsseismic/generatedFiles/SoilLayerDataService_pb2.py +27 -0
  69. rsseismic/generatedFiles/SoilLayerDataService_pb2.pyi +5 -0
  70. rsseismic/generatedFiles/SoilLayerDataService_pb2_grpc.py +231 -0
  71. rsseismic/generatedFiles/SoilLayerService_pb2.py +46 -0
  72. rsseismic/generatedFiles/SoilLayerService_pb2.pyi +122 -0
  73. rsseismic/generatedFiles/SoilLayerService_pb2_grpc.py +317 -0
  74. rsseismic/generatedFiles/__init__.py +4 -0
  75. rsseismic/properties/_PropertyAccessor.py +151 -0
  76. rsseismic/properties/__init__.py +6 -0
  77. rsseismic/properties/bedrockLayer/__init__.py +1 -0
  78. rsseismic/properties/bedrockLayer/_generated.py +127 -0
  79. rsseismic/properties/meanProfileSoilLayer/__init__.py +1 -0
  80. rsseismic/properties/meanProfileSoilLayer/_generated.py +87 -0
  81. rsseismic/properties/profileGenerationSettings/__init__.py +1 -0
  82. rsseismic/properties/profileGenerationSettings/_generated.py +195 -0
  83. rsseismic/properties/projectSettings/__init__.py +1 -0
  84. rsseismic/properties/projectSettings/_generated.py +270 -0
  85. rsseismic/properties/referenceCurve/__init__.py +1 -0
  86. rsseismic/properties/referenceCurve/_generated.py +264 -0
  87. rsseismic/properties/soilLayer/__init__.py +1 -0
  88. rsseismic/properties/soilLayer/_generated.py +523 -0
  89. rsseismic/types.py +311 -0
  90. rsseismicscripting-3.0.0.dist-info/METADATA +88 -0
  91. rsseismicscripting-3.0.0.dist-info/RECORD +94 -0
  92. rsseismicscripting-3.0.0.dist-info/WHEEL +5 -0
  93. rsseismicscripting-3.0.0.dist-info/licenses/License.txt +20 -0
  94. rsseismicscripting-3.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,458 @@
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 MeanProfileService_pb2 as MeanProfileService__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 MeanProfileService_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 MeanProfileServiceStub(object):
34
+ """Mean (representative) profile used as input to automatic profile generation.
35
+ Targets project.meanProfile — a single profile, not profileList.
36
+ Layer properties: MeanProfileSoilLayerDataService.
37
+ Reference curve parameters: ReferenceCurveDataService (GenerateReferenceCurve allowed; advisory message on mean layers).
38
+ """
39
+
40
+ def __init__(self, channel):
41
+ """Constructor.
42
+
43
+ Args:
44
+ channel: A grpc.Channel.
45
+ """
46
+ self.GetMeanProfile = channel.unary_unary(
47
+ '/MeanProfileServiceDefinition.MeanProfileService/GetMeanProfile',
48
+ request_serializer=MeanProfileService__pb2.GetMeanProfileRequest.SerializeToString,
49
+ response_deserializer=MeanProfileService__pb2.GetMeanProfileResponse.FromString,
50
+ _registered_method=True)
51
+ self.ListSoilLayers = channel.unary_unary(
52
+ '/MeanProfileServiceDefinition.MeanProfileService/ListSoilLayers',
53
+ request_serializer=MeanProfileService__pb2.ListSoilLayersRequest.SerializeToString,
54
+ response_deserializer=MeanProfileService__pb2.ListSoilLayersResponse.FromString,
55
+ _registered_method=True)
56
+ self.GetBedrockLayer = channel.unary_unary(
57
+ '/MeanProfileServiceDefinition.MeanProfileService/GetBedrockLayer',
58
+ request_serializer=MeanProfileService__pb2.GetBedrockLayerRequest.SerializeToString,
59
+ response_deserializer=MeanProfileService__pb2.GetBedrockLayerResponse.FromString,
60
+ _registered_method=True)
61
+ self.InsertLayerBefore = channel.unary_unary(
62
+ '/MeanProfileServiceDefinition.MeanProfileService/InsertLayerBefore',
63
+ request_serializer=MeanProfileService__pb2.InsertLayerBeforeRequest.SerializeToString,
64
+ response_deserializer=MeanProfileService__pb2.InsertLayerResponse.FromString,
65
+ _registered_method=True)
66
+ self.InsertLayerAfter = channel.unary_unary(
67
+ '/MeanProfileServiceDefinition.MeanProfileService/InsertLayerAfter',
68
+ request_serializer=MeanProfileService__pb2.InsertLayerAfterRequest.SerializeToString,
69
+ response_deserializer=MeanProfileService__pb2.InsertLayerResponse.FromString,
70
+ _registered_method=True)
71
+ self.AppendLayers = channel.unary_unary(
72
+ '/MeanProfileServiceDefinition.MeanProfileService/AppendLayers',
73
+ request_serializer=MeanProfileService__pb2.AppendLayersRequest.SerializeToString,
74
+ response_deserializer=MeanProfileService__pb2.AppendLayersResponse.FromString,
75
+ _registered_method=True)
76
+ self.DeleteLayer = channel.unary_unary(
77
+ '/MeanProfileServiceDefinition.MeanProfileService/DeleteLayer',
78
+ request_serializer=MeanProfileService__pb2.DeleteLayerRequest.SerializeToString,
79
+ response_deserializer=MeanProfileService__pb2.DeleteLayerResponse.FromString,
80
+ _registered_method=True)
81
+ self.DuplicateLayer = channel.unary_unary(
82
+ '/MeanProfileServiceDefinition.MeanProfileService/DuplicateLayer',
83
+ request_serializer=MeanProfileService__pb2.DuplicateLayerRequest.SerializeToString,
84
+ response_deserializer=MeanProfileService__pb2.InsertLayerResponse.FromString,
85
+ _registered_method=True)
86
+ self.MoveLayer = channel.unary_unary(
87
+ '/MeanProfileServiceDefinition.MeanProfileService/MoveLayer',
88
+ request_serializer=MeanProfileService__pb2.MoveLayerRequest.SerializeToString,
89
+ response_deserializer=MeanProfileService__pb2.MoveLayerResponse.FromString,
90
+ _registered_method=True)
91
+
92
+
93
+ class MeanProfileServiceServicer(object):
94
+ """Mean (representative) profile used as input to automatic profile generation.
95
+ Targets project.meanProfile — a single profile, not profileList.
96
+ Layer properties: MeanProfileSoilLayerDataService.
97
+ Reference curve parameters: ReferenceCurveDataService (GenerateReferenceCurve allowed; advisory message on mean layers).
98
+ """
99
+
100
+ def GetMeanProfile(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 ListSoilLayers(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 GetBedrockLayer(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 InsertLayerBefore(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
+ def InsertLayerAfter(self, request, context):
125
+ """Missing associated documentation comment in .proto file."""
126
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
127
+ context.set_details('Method not implemented!')
128
+ raise NotImplementedError('Method not implemented!')
129
+
130
+ def AppendLayers(self, request, context):
131
+ """Missing associated documentation comment in .proto file."""
132
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
133
+ context.set_details('Method not implemented!')
134
+ raise NotImplementedError('Method not implemented!')
135
+
136
+ def DeleteLayer(self, request, context):
137
+ """Missing associated documentation comment in .proto file."""
138
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
139
+ context.set_details('Method not implemented!')
140
+ raise NotImplementedError('Method not implemented!')
141
+
142
+ def DuplicateLayer(self, request, context):
143
+ """Missing associated documentation comment in .proto file."""
144
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
145
+ context.set_details('Method not implemented!')
146
+ raise NotImplementedError('Method not implemented!')
147
+
148
+ def MoveLayer(self, request, context):
149
+ """Missing associated documentation comment in .proto file."""
150
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
151
+ context.set_details('Method not implemented!')
152
+ raise NotImplementedError('Method not implemented!')
153
+
154
+
155
+ def add_MeanProfileServiceServicer_to_server(servicer, server):
156
+ rpc_method_handlers = {
157
+ 'GetMeanProfile': grpc.unary_unary_rpc_method_handler(
158
+ servicer.GetMeanProfile,
159
+ request_deserializer=MeanProfileService__pb2.GetMeanProfileRequest.FromString,
160
+ response_serializer=MeanProfileService__pb2.GetMeanProfileResponse.SerializeToString,
161
+ ),
162
+ 'ListSoilLayers': grpc.unary_unary_rpc_method_handler(
163
+ servicer.ListSoilLayers,
164
+ request_deserializer=MeanProfileService__pb2.ListSoilLayersRequest.FromString,
165
+ response_serializer=MeanProfileService__pb2.ListSoilLayersResponse.SerializeToString,
166
+ ),
167
+ 'GetBedrockLayer': grpc.unary_unary_rpc_method_handler(
168
+ servicer.GetBedrockLayer,
169
+ request_deserializer=MeanProfileService__pb2.GetBedrockLayerRequest.FromString,
170
+ response_serializer=MeanProfileService__pb2.GetBedrockLayerResponse.SerializeToString,
171
+ ),
172
+ 'InsertLayerBefore': grpc.unary_unary_rpc_method_handler(
173
+ servicer.InsertLayerBefore,
174
+ request_deserializer=MeanProfileService__pb2.InsertLayerBeforeRequest.FromString,
175
+ response_serializer=MeanProfileService__pb2.InsertLayerResponse.SerializeToString,
176
+ ),
177
+ 'InsertLayerAfter': grpc.unary_unary_rpc_method_handler(
178
+ servicer.InsertLayerAfter,
179
+ request_deserializer=MeanProfileService__pb2.InsertLayerAfterRequest.FromString,
180
+ response_serializer=MeanProfileService__pb2.InsertLayerResponse.SerializeToString,
181
+ ),
182
+ 'AppendLayers': grpc.unary_unary_rpc_method_handler(
183
+ servicer.AppendLayers,
184
+ request_deserializer=MeanProfileService__pb2.AppendLayersRequest.FromString,
185
+ response_serializer=MeanProfileService__pb2.AppendLayersResponse.SerializeToString,
186
+ ),
187
+ 'DeleteLayer': grpc.unary_unary_rpc_method_handler(
188
+ servicer.DeleteLayer,
189
+ request_deserializer=MeanProfileService__pb2.DeleteLayerRequest.FromString,
190
+ response_serializer=MeanProfileService__pb2.DeleteLayerResponse.SerializeToString,
191
+ ),
192
+ 'DuplicateLayer': grpc.unary_unary_rpc_method_handler(
193
+ servicer.DuplicateLayer,
194
+ request_deserializer=MeanProfileService__pb2.DuplicateLayerRequest.FromString,
195
+ response_serializer=MeanProfileService__pb2.InsertLayerResponse.SerializeToString,
196
+ ),
197
+ 'MoveLayer': grpc.unary_unary_rpc_method_handler(
198
+ servicer.MoveLayer,
199
+ request_deserializer=MeanProfileService__pb2.MoveLayerRequest.FromString,
200
+ response_serializer=MeanProfileService__pb2.MoveLayerResponse.SerializeToString,
201
+ ),
202
+ }
203
+ generic_handler = grpc.method_handlers_generic_handler(
204
+ 'MeanProfileServiceDefinition.MeanProfileService', rpc_method_handlers)
205
+ server.add_generic_rpc_handlers((generic_handler,))
206
+ server.add_registered_method_handlers('MeanProfileServiceDefinition.MeanProfileService', rpc_method_handlers)
207
+
208
+
209
+ # This class is part of an EXPERIMENTAL API.
210
+ class MeanProfileService(object):
211
+ """Mean (representative) profile used as input to automatic profile generation.
212
+ Targets project.meanProfile — a single profile, not profileList.
213
+ Layer properties: MeanProfileSoilLayerDataService.
214
+ Reference curve parameters: ReferenceCurveDataService (GenerateReferenceCurve allowed; advisory message on mean layers).
215
+ """
216
+
217
+ @staticmethod
218
+ def GetMeanProfile(request,
219
+ target,
220
+ options=(),
221
+ channel_credentials=None,
222
+ call_credentials=None,
223
+ insecure=False,
224
+ compression=None,
225
+ wait_for_ready=None,
226
+ timeout=None,
227
+ metadata=None):
228
+ return grpc.experimental.unary_unary(
229
+ request,
230
+ target,
231
+ '/MeanProfileServiceDefinition.MeanProfileService/GetMeanProfile',
232
+ MeanProfileService__pb2.GetMeanProfileRequest.SerializeToString,
233
+ MeanProfileService__pb2.GetMeanProfileResponse.FromString,
234
+ options,
235
+ channel_credentials,
236
+ insecure,
237
+ call_credentials,
238
+ compression,
239
+ wait_for_ready,
240
+ timeout,
241
+ metadata,
242
+ _registered_method=True)
243
+
244
+ @staticmethod
245
+ def ListSoilLayers(request,
246
+ target,
247
+ options=(),
248
+ channel_credentials=None,
249
+ call_credentials=None,
250
+ insecure=False,
251
+ compression=None,
252
+ wait_for_ready=None,
253
+ timeout=None,
254
+ metadata=None):
255
+ return grpc.experimental.unary_unary(
256
+ request,
257
+ target,
258
+ '/MeanProfileServiceDefinition.MeanProfileService/ListSoilLayers',
259
+ MeanProfileService__pb2.ListSoilLayersRequest.SerializeToString,
260
+ MeanProfileService__pb2.ListSoilLayersResponse.FromString,
261
+ options,
262
+ channel_credentials,
263
+ insecure,
264
+ call_credentials,
265
+ compression,
266
+ wait_for_ready,
267
+ timeout,
268
+ metadata,
269
+ _registered_method=True)
270
+
271
+ @staticmethod
272
+ def GetBedrockLayer(request,
273
+ target,
274
+ options=(),
275
+ channel_credentials=None,
276
+ call_credentials=None,
277
+ insecure=False,
278
+ compression=None,
279
+ wait_for_ready=None,
280
+ timeout=None,
281
+ metadata=None):
282
+ return grpc.experimental.unary_unary(
283
+ request,
284
+ target,
285
+ '/MeanProfileServiceDefinition.MeanProfileService/GetBedrockLayer',
286
+ MeanProfileService__pb2.GetBedrockLayerRequest.SerializeToString,
287
+ MeanProfileService__pb2.GetBedrockLayerResponse.FromString,
288
+ options,
289
+ channel_credentials,
290
+ insecure,
291
+ call_credentials,
292
+ compression,
293
+ wait_for_ready,
294
+ timeout,
295
+ metadata,
296
+ _registered_method=True)
297
+
298
+ @staticmethod
299
+ def InsertLayerBefore(request,
300
+ target,
301
+ options=(),
302
+ channel_credentials=None,
303
+ call_credentials=None,
304
+ insecure=False,
305
+ compression=None,
306
+ wait_for_ready=None,
307
+ timeout=None,
308
+ metadata=None):
309
+ return grpc.experimental.unary_unary(
310
+ request,
311
+ target,
312
+ '/MeanProfileServiceDefinition.MeanProfileService/InsertLayerBefore',
313
+ MeanProfileService__pb2.InsertLayerBeforeRequest.SerializeToString,
314
+ MeanProfileService__pb2.InsertLayerResponse.FromString,
315
+ options,
316
+ channel_credentials,
317
+ insecure,
318
+ call_credentials,
319
+ compression,
320
+ wait_for_ready,
321
+ timeout,
322
+ metadata,
323
+ _registered_method=True)
324
+
325
+ @staticmethod
326
+ def InsertLayerAfter(request,
327
+ target,
328
+ options=(),
329
+ channel_credentials=None,
330
+ call_credentials=None,
331
+ insecure=False,
332
+ compression=None,
333
+ wait_for_ready=None,
334
+ timeout=None,
335
+ metadata=None):
336
+ return grpc.experimental.unary_unary(
337
+ request,
338
+ target,
339
+ '/MeanProfileServiceDefinition.MeanProfileService/InsertLayerAfter',
340
+ MeanProfileService__pb2.InsertLayerAfterRequest.SerializeToString,
341
+ MeanProfileService__pb2.InsertLayerResponse.FromString,
342
+ options,
343
+ channel_credentials,
344
+ insecure,
345
+ call_credentials,
346
+ compression,
347
+ wait_for_ready,
348
+ timeout,
349
+ metadata,
350
+ _registered_method=True)
351
+
352
+ @staticmethod
353
+ def AppendLayers(request,
354
+ target,
355
+ options=(),
356
+ channel_credentials=None,
357
+ call_credentials=None,
358
+ insecure=False,
359
+ compression=None,
360
+ wait_for_ready=None,
361
+ timeout=None,
362
+ metadata=None):
363
+ return grpc.experimental.unary_unary(
364
+ request,
365
+ target,
366
+ '/MeanProfileServiceDefinition.MeanProfileService/AppendLayers',
367
+ MeanProfileService__pb2.AppendLayersRequest.SerializeToString,
368
+ MeanProfileService__pb2.AppendLayersResponse.FromString,
369
+ options,
370
+ channel_credentials,
371
+ insecure,
372
+ call_credentials,
373
+ compression,
374
+ wait_for_ready,
375
+ timeout,
376
+ metadata,
377
+ _registered_method=True)
378
+
379
+ @staticmethod
380
+ def DeleteLayer(request,
381
+ target,
382
+ options=(),
383
+ channel_credentials=None,
384
+ call_credentials=None,
385
+ insecure=False,
386
+ compression=None,
387
+ wait_for_ready=None,
388
+ timeout=None,
389
+ metadata=None):
390
+ return grpc.experimental.unary_unary(
391
+ request,
392
+ target,
393
+ '/MeanProfileServiceDefinition.MeanProfileService/DeleteLayer',
394
+ MeanProfileService__pb2.DeleteLayerRequest.SerializeToString,
395
+ MeanProfileService__pb2.DeleteLayerResponse.FromString,
396
+ options,
397
+ channel_credentials,
398
+ insecure,
399
+ call_credentials,
400
+ compression,
401
+ wait_for_ready,
402
+ timeout,
403
+ metadata,
404
+ _registered_method=True)
405
+
406
+ @staticmethod
407
+ def DuplicateLayer(request,
408
+ target,
409
+ options=(),
410
+ channel_credentials=None,
411
+ call_credentials=None,
412
+ insecure=False,
413
+ compression=None,
414
+ wait_for_ready=None,
415
+ timeout=None,
416
+ metadata=None):
417
+ return grpc.experimental.unary_unary(
418
+ request,
419
+ target,
420
+ '/MeanProfileServiceDefinition.MeanProfileService/DuplicateLayer',
421
+ MeanProfileService__pb2.DuplicateLayerRequest.SerializeToString,
422
+ MeanProfileService__pb2.InsertLayerResponse.FromString,
423
+ options,
424
+ channel_credentials,
425
+ insecure,
426
+ call_credentials,
427
+ compression,
428
+ wait_for_ready,
429
+ timeout,
430
+ metadata,
431
+ _registered_method=True)
432
+
433
+ @staticmethod
434
+ def MoveLayer(request,
435
+ target,
436
+ options=(),
437
+ channel_credentials=None,
438
+ call_credentials=None,
439
+ insecure=False,
440
+ compression=None,
441
+ wait_for_ready=None,
442
+ timeout=None,
443
+ metadata=None):
444
+ return grpc.experimental.unary_unary(
445
+ request,
446
+ target,
447
+ '/MeanProfileServiceDefinition.MeanProfileService/MoveLayer',
448
+ MeanProfileService__pb2.MoveLayerRequest.SerializeToString,
449
+ MeanProfileService__pb2.MoveLayerResponse.FromString,
450
+ options,
451
+ channel_credentials,
452
+ insecure,
453
+ call_credentials,
454
+ compression,
455
+ wait_for_ready,
456
+ timeout,
457
+ metadata,
458
+ _registered_method=True)
@@ -0,0 +1,45 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: MeanProfileSoilLayerDataService.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
+ import CommonMessages_pb2 as CommonMessages__pb2
16
+
17
+
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%MeanProfileSoilLayerDataService.proto\x12)MeanProfileSoilLayerDataServiceDefinition\x1a\x14\x43ommonMessages.proto\"2\n\x12VaryWithDepthPoint\x12\r\n\x05\x64\x65pth\x18\x01 \x01(\x01\x12\r\n\x05value\x18\x02 \x01(\x01\"?\n\x19GetShearWaveValuesRequest\x12\x11\n\tprojectId\x18\x01 \x01(\t\x12\x0f\n\x07layerID\x18\x02 \x01(\t\"\x92\x01\n\x1aGetShearWaveValuesResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12M\n\x06points\x18\x03 \x03(\x0b\x32=.MeanProfileSoilLayerDataServiceDefinition.VaryWithDepthPoint\"\x8e\x01\n\x19SetShearWaveValuesRequest\x12\x11\n\tprojectId\x18\x01 \x01(\t\x12\x0f\n\x07layerID\x18\x02 \x01(\t\x12M\n\x06points\x18\x03 \x03(\x0b\x32=.MeanProfileSoilLayerDataServiceDefinition.VaryWithDepthPoint\"C\n\x1aSetShearWaveValuesResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\"C\n\x1dGetShearStrengthValuesRequest\x12\x11\n\tprojectId\x18\x01 \x01(\t\x12\x0f\n\x07layerID\x18\x02 \x01(\t\"\x96\x01\n\x1eGetShearStrengthValuesResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12M\n\x06points\x18\x03 \x03(\x0b\x32=.MeanProfileSoilLayerDataServiceDefinition.VaryWithDepthPoint\"\x92\x01\n\x1dSetShearStrengthValuesRequest\x12\x11\n\tprojectId\x18\x01 \x01(\t\x12\x0f\n\x07layerID\x18\x02 \x01(\t\x12M\n\x06points\x18\x03 \x03(\x0b\x32=.MeanProfileSoilLayerDataServiceDefinition.VaryWithDepthPoint\"G\n\x1eSetShearStrengthValuesResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t2\x8b\x07\n\x1fMeanProfileSoilLayerDataService\x12_\n\x0bSetProperty\x12+.CommonMessages.SetPropertyInProjectRequest\x1a#.CommonMessages.SetPropertyResponse\x12_\n\x0bGetProperty\x12+.CommonMessages.GetPropertyInProjectRequest\x1a#.CommonMessages.GetPropertyResponse\x12\xa1\x01\n\x12GetShearWaveValues\x12\x44.MeanProfileSoilLayerDataServiceDefinition.GetShearWaveValuesRequest\x1a\x45.MeanProfileSoilLayerDataServiceDefinition.GetShearWaveValuesResponse\x12\xa1\x01\n\x12SetShearWaveValues\x12\x44.MeanProfileSoilLayerDataServiceDefinition.SetShearWaveValuesRequest\x1a\x45.MeanProfileSoilLayerDataServiceDefinition.SetShearWaveValuesResponse\x12\xad\x01\n\x16GetShearStrengthValues\x12H.MeanProfileSoilLayerDataServiceDefinition.GetShearStrengthValuesRequest\x1aI.MeanProfileSoilLayerDataServiceDefinition.GetShearStrengthValuesResponse\x12\xad\x01\n\x16SetShearStrengthValues\x12H.MeanProfileSoilLayerDataServiceDefinition.SetShearStrengthValuesRequest\x1aI.MeanProfileSoilLayerDataServiceDefinition.SetShearStrengthValuesResponseb\x06proto3')
19
+
20
+ _globals = globals()
21
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'MeanProfileSoilLayerDataService_pb2', _globals)
23
+ if not _descriptor._USE_C_DESCRIPTORS:
24
+ DESCRIPTOR._loaded_options = None
25
+ _globals['_VARYWITHDEPTHPOINT']._serialized_start=106
26
+ _globals['_VARYWITHDEPTHPOINT']._serialized_end=156
27
+ _globals['_GETSHEARWAVEVALUESREQUEST']._serialized_start=158
28
+ _globals['_GETSHEARWAVEVALUESREQUEST']._serialized_end=221
29
+ _globals['_GETSHEARWAVEVALUESRESPONSE']._serialized_start=224
30
+ _globals['_GETSHEARWAVEVALUESRESPONSE']._serialized_end=370
31
+ _globals['_SETSHEARWAVEVALUESREQUEST']._serialized_start=373
32
+ _globals['_SETSHEARWAVEVALUESREQUEST']._serialized_end=515
33
+ _globals['_SETSHEARWAVEVALUESRESPONSE']._serialized_start=517
34
+ _globals['_SETSHEARWAVEVALUESRESPONSE']._serialized_end=584
35
+ _globals['_GETSHEARSTRENGTHVALUESREQUEST']._serialized_start=586
36
+ _globals['_GETSHEARSTRENGTHVALUESREQUEST']._serialized_end=653
37
+ _globals['_GETSHEARSTRENGTHVALUESRESPONSE']._serialized_start=656
38
+ _globals['_GETSHEARSTRENGTHVALUESRESPONSE']._serialized_end=806
39
+ _globals['_SETSHEARSTRENGTHVALUESREQUEST']._serialized_start=809
40
+ _globals['_SETSHEARSTRENGTHVALUESREQUEST']._serialized_end=955
41
+ _globals['_SETSHEARSTRENGTHVALUESRESPONSE']._serialized_start=957
42
+ _globals['_SETSHEARSTRENGTHVALUESRESPONSE']._serialized_end=1028
43
+ _globals['_MEANPROFILESOILLAYERDATASERVICE']._serialized_start=1031
44
+ _globals['_MEANPROFILESOILLAYERDATASERVICE']._serialized_end=1938
45
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,87 @@
1
+ import CommonMessages_pb2 as _CommonMessages_pb2
2
+ from google.protobuf.internal import containers as _containers
3
+ from google.protobuf import descriptor as _descriptor
4
+ from google.protobuf import message as _message
5
+ from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
6
+
7
+ DESCRIPTOR: _descriptor.FileDescriptor
8
+
9
+ class VaryWithDepthPoint(_message.Message):
10
+ __slots__ = ("depth", "value")
11
+ DEPTH_FIELD_NUMBER: _ClassVar[int]
12
+ VALUE_FIELD_NUMBER: _ClassVar[int]
13
+ depth: float
14
+ value: float
15
+ def __init__(self, depth: _Optional[float] = ..., value: _Optional[float] = ...) -> None: ...
16
+
17
+ class GetShearWaveValuesRequest(_message.Message):
18
+ __slots__ = ("projectId", "layerID")
19
+ PROJECTID_FIELD_NUMBER: _ClassVar[int]
20
+ LAYERID_FIELD_NUMBER: _ClassVar[int]
21
+ projectId: str
22
+ layerID: str
23
+ def __init__(self, projectId: _Optional[str] = ..., layerID: _Optional[str] = ...) -> None: ...
24
+
25
+ class GetShearWaveValuesResponse(_message.Message):
26
+ __slots__ = ("success", "errorMessage", "points")
27
+ SUCCESS_FIELD_NUMBER: _ClassVar[int]
28
+ ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
29
+ POINTS_FIELD_NUMBER: _ClassVar[int]
30
+ success: bool
31
+ errorMessage: str
32
+ points: _containers.RepeatedCompositeFieldContainer[VaryWithDepthPoint]
33
+ def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., points: _Optional[_Iterable[_Union[VaryWithDepthPoint, _Mapping]]] = ...) -> None: ...
34
+
35
+ class SetShearWaveValuesRequest(_message.Message):
36
+ __slots__ = ("projectId", "layerID", "points")
37
+ PROJECTID_FIELD_NUMBER: _ClassVar[int]
38
+ LAYERID_FIELD_NUMBER: _ClassVar[int]
39
+ POINTS_FIELD_NUMBER: _ClassVar[int]
40
+ projectId: str
41
+ layerID: str
42
+ points: _containers.RepeatedCompositeFieldContainer[VaryWithDepthPoint]
43
+ def __init__(self, projectId: _Optional[str] = ..., layerID: _Optional[str] = ..., points: _Optional[_Iterable[_Union[VaryWithDepthPoint, _Mapping]]] = ...) -> None: ...
44
+
45
+ class SetShearWaveValuesResponse(_message.Message):
46
+ __slots__ = ("success", "errorMessage")
47
+ SUCCESS_FIELD_NUMBER: _ClassVar[int]
48
+ ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
49
+ success: bool
50
+ errorMessage: str
51
+ def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ...) -> None: ...
52
+
53
+ class GetShearStrengthValuesRequest(_message.Message):
54
+ __slots__ = ("projectId", "layerID")
55
+ PROJECTID_FIELD_NUMBER: _ClassVar[int]
56
+ LAYERID_FIELD_NUMBER: _ClassVar[int]
57
+ projectId: str
58
+ layerID: str
59
+ def __init__(self, projectId: _Optional[str] = ..., layerID: _Optional[str] = ...) -> None: ...
60
+
61
+ class GetShearStrengthValuesResponse(_message.Message):
62
+ __slots__ = ("success", "errorMessage", "points")
63
+ SUCCESS_FIELD_NUMBER: _ClassVar[int]
64
+ ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
65
+ POINTS_FIELD_NUMBER: _ClassVar[int]
66
+ success: bool
67
+ errorMessage: str
68
+ points: _containers.RepeatedCompositeFieldContainer[VaryWithDepthPoint]
69
+ def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., points: _Optional[_Iterable[_Union[VaryWithDepthPoint, _Mapping]]] = ...) -> None: ...
70
+
71
+ class SetShearStrengthValuesRequest(_message.Message):
72
+ __slots__ = ("projectId", "layerID", "points")
73
+ PROJECTID_FIELD_NUMBER: _ClassVar[int]
74
+ LAYERID_FIELD_NUMBER: _ClassVar[int]
75
+ POINTS_FIELD_NUMBER: _ClassVar[int]
76
+ projectId: str
77
+ layerID: str
78
+ points: _containers.RepeatedCompositeFieldContainer[VaryWithDepthPoint]
79
+ def __init__(self, projectId: _Optional[str] = ..., layerID: _Optional[str] = ..., points: _Optional[_Iterable[_Union[VaryWithDepthPoint, _Mapping]]] = ...) -> None: ...
80
+
81
+ class SetShearStrengthValuesResponse(_message.Message):
82
+ __slots__ = ("success", "errorMessage")
83
+ SUCCESS_FIELD_NUMBER: _ClassVar[int]
84
+ ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
85
+ success: bool
86
+ errorMessage: str
87
+ def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ...) -> None: ...