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,532 @@
|
|
|
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 ProfileService_pb2 as ProfileService__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 ProfileService_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 ProfileServiceStub(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.ListProfiles = channel.unary_unary(
|
|
43
|
+
'/ProfileServiceDefinition.ProfileService/ListProfiles',
|
|
44
|
+
request_serializer=ProfileService__pb2.ListProfilesRequest.SerializeToString,
|
|
45
|
+
response_deserializer=ProfileService__pb2.ListProfilesResponse.FromString,
|
|
46
|
+
_registered_method=True)
|
|
47
|
+
self.GetActiveProfile = channel.unary_unary(
|
|
48
|
+
'/ProfileServiceDefinition.ProfileService/GetActiveProfile',
|
|
49
|
+
request_serializer=ProfileService__pb2.GetActiveProfileRequest.SerializeToString,
|
|
50
|
+
response_deserializer=ProfileService__pb2.GetActiveProfileResponse.FromString,
|
|
51
|
+
_registered_method=True)
|
|
52
|
+
self.SetActiveProfile = channel.unary_unary(
|
|
53
|
+
'/ProfileServiceDefinition.ProfileService/SetActiveProfile',
|
|
54
|
+
request_serializer=ProfileService__pb2.SetActiveProfileRequest.SerializeToString,
|
|
55
|
+
response_deserializer=ProfileService__pb2.SetActiveProfileResponse.FromString,
|
|
56
|
+
_registered_method=True)
|
|
57
|
+
self.ListSoilLayers = channel.unary_unary(
|
|
58
|
+
'/ProfileServiceDefinition.ProfileService/ListSoilLayers',
|
|
59
|
+
request_serializer=ProfileService__pb2.ListSoilLayersRequest.SerializeToString,
|
|
60
|
+
response_deserializer=ProfileService__pb2.ListSoilLayersResponse.FromString,
|
|
61
|
+
_registered_method=True)
|
|
62
|
+
self.GetBedrockLayer = channel.unary_unary(
|
|
63
|
+
'/ProfileServiceDefinition.ProfileService/GetBedrockLayer',
|
|
64
|
+
request_serializer=ProfileService__pb2.GetBedrockLayerRequest.SerializeToString,
|
|
65
|
+
response_deserializer=ProfileService__pb2.GetBedrockLayerResponse.FromString,
|
|
66
|
+
_registered_method=True)
|
|
67
|
+
self.CreateProfile = channel.unary_unary(
|
|
68
|
+
'/ProfileServiceDefinition.ProfileService/CreateProfile',
|
|
69
|
+
request_serializer=ProfileService__pb2.CreateProfileRequest.SerializeToString,
|
|
70
|
+
response_deserializer=ProfileService__pb2.CreateProfileResponse.FromString,
|
|
71
|
+
_registered_method=True)
|
|
72
|
+
self.CopyProfile = channel.unary_unary(
|
|
73
|
+
'/ProfileServiceDefinition.ProfileService/CopyProfile',
|
|
74
|
+
request_serializer=ProfileService__pb2.CopyProfileRequest.SerializeToString,
|
|
75
|
+
response_deserializer=ProfileService__pb2.CopyProfileResponse.FromString,
|
|
76
|
+
_registered_method=True)
|
|
77
|
+
self.DeleteProfile = channel.unary_unary(
|
|
78
|
+
'/ProfileServiceDefinition.ProfileService/DeleteProfile',
|
|
79
|
+
request_serializer=ProfileService__pb2.DeleteProfileRequest.SerializeToString,
|
|
80
|
+
response_deserializer=ProfileService__pb2.DeleteProfileResponse.FromString,
|
|
81
|
+
_registered_method=True)
|
|
82
|
+
self.RenameActiveProfile = channel.unary_unary(
|
|
83
|
+
'/ProfileServiceDefinition.ProfileService/RenameActiveProfile',
|
|
84
|
+
request_serializer=ProfileService__pb2.RenameActiveProfileRequest.SerializeToString,
|
|
85
|
+
response_deserializer=ProfileService__pb2.RenameActiveProfileResponse.FromString,
|
|
86
|
+
_registered_method=True)
|
|
87
|
+
self.GetOutputDepths = channel.unary_unary(
|
|
88
|
+
'/ProfileServiceDefinition.ProfileService/GetOutputDepths',
|
|
89
|
+
request_serializer=ProfileService__pb2.GetOutputDepthsRequest.SerializeToString,
|
|
90
|
+
response_deserializer=ProfileService__pb2.GetOutputDepthsResponse.FromString,
|
|
91
|
+
_registered_method=True)
|
|
92
|
+
self.SetOutputDepths = channel.unary_unary(
|
|
93
|
+
'/ProfileServiceDefinition.ProfileService/SetOutputDepths',
|
|
94
|
+
request_serializer=ProfileService__pb2.SetOutputDepthsRequest.SerializeToString,
|
|
95
|
+
response_deserializer=ProfileService__pb2.SetOutputDepthsResponse.FromString,
|
|
96
|
+
_registered_method=True)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class ProfileServiceServicer(object):
|
|
100
|
+
"""Missing associated documentation comment in .proto file."""
|
|
101
|
+
|
|
102
|
+
def ListProfiles(self, request, context):
|
|
103
|
+
"""Missing associated documentation comment in .proto file."""
|
|
104
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
105
|
+
context.set_details('Method not implemented!')
|
|
106
|
+
raise NotImplementedError('Method not implemented!')
|
|
107
|
+
|
|
108
|
+
def GetActiveProfile(self, request, context):
|
|
109
|
+
"""Missing associated documentation comment in .proto file."""
|
|
110
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
111
|
+
context.set_details('Method not implemented!')
|
|
112
|
+
raise NotImplementedError('Method not implemented!')
|
|
113
|
+
|
|
114
|
+
def SetActiveProfile(self, request, context):
|
|
115
|
+
"""Missing associated documentation comment in .proto file."""
|
|
116
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
117
|
+
context.set_details('Method not implemented!')
|
|
118
|
+
raise NotImplementedError('Method not implemented!')
|
|
119
|
+
|
|
120
|
+
def ListSoilLayers(self, request, context):
|
|
121
|
+
"""Missing associated documentation comment in .proto file."""
|
|
122
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
123
|
+
context.set_details('Method not implemented!')
|
|
124
|
+
raise NotImplementedError('Method not implemented!')
|
|
125
|
+
|
|
126
|
+
def GetBedrockLayer(self, request, context):
|
|
127
|
+
"""Missing associated documentation comment in .proto file."""
|
|
128
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
129
|
+
context.set_details('Method not implemented!')
|
|
130
|
+
raise NotImplementedError('Method not implemented!')
|
|
131
|
+
|
|
132
|
+
def CreateProfile(self, request, context):
|
|
133
|
+
"""Missing associated documentation comment in .proto file."""
|
|
134
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
135
|
+
context.set_details('Method not implemented!')
|
|
136
|
+
raise NotImplementedError('Method not implemented!')
|
|
137
|
+
|
|
138
|
+
def CopyProfile(self, request, context):
|
|
139
|
+
"""Missing associated documentation comment in .proto file."""
|
|
140
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
141
|
+
context.set_details('Method not implemented!')
|
|
142
|
+
raise NotImplementedError('Method not implemented!')
|
|
143
|
+
|
|
144
|
+
def DeleteProfile(self, request, context):
|
|
145
|
+
"""Missing associated documentation comment in .proto file."""
|
|
146
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
147
|
+
context.set_details('Method not implemented!')
|
|
148
|
+
raise NotImplementedError('Method not implemented!')
|
|
149
|
+
|
|
150
|
+
def RenameActiveProfile(self, request, context):
|
|
151
|
+
"""Missing associated documentation comment in .proto file."""
|
|
152
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
153
|
+
context.set_details('Method not implemented!')
|
|
154
|
+
raise NotImplementedError('Method not implemented!')
|
|
155
|
+
|
|
156
|
+
def GetOutputDepths(self, request, context):
|
|
157
|
+
"""Missing associated documentation comment in .proto file."""
|
|
158
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
159
|
+
context.set_details('Method not implemented!')
|
|
160
|
+
raise NotImplementedError('Method not implemented!')
|
|
161
|
+
|
|
162
|
+
def SetOutputDepths(self, request, context):
|
|
163
|
+
"""Missing associated documentation comment in .proto file."""
|
|
164
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
165
|
+
context.set_details('Method not implemented!')
|
|
166
|
+
raise NotImplementedError('Method not implemented!')
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
def add_ProfileServiceServicer_to_server(servicer, server):
|
|
170
|
+
rpc_method_handlers = {
|
|
171
|
+
'ListProfiles': grpc.unary_unary_rpc_method_handler(
|
|
172
|
+
servicer.ListProfiles,
|
|
173
|
+
request_deserializer=ProfileService__pb2.ListProfilesRequest.FromString,
|
|
174
|
+
response_serializer=ProfileService__pb2.ListProfilesResponse.SerializeToString,
|
|
175
|
+
),
|
|
176
|
+
'GetActiveProfile': grpc.unary_unary_rpc_method_handler(
|
|
177
|
+
servicer.GetActiveProfile,
|
|
178
|
+
request_deserializer=ProfileService__pb2.GetActiveProfileRequest.FromString,
|
|
179
|
+
response_serializer=ProfileService__pb2.GetActiveProfileResponse.SerializeToString,
|
|
180
|
+
),
|
|
181
|
+
'SetActiveProfile': grpc.unary_unary_rpc_method_handler(
|
|
182
|
+
servicer.SetActiveProfile,
|
|
183
|
+
request_deserializer=ProfileService__pb2.SetActiveProfileRequest.FromString,
|
|
184
|
+
response_serializer=ProfileService__pb2.SetActiveProfileResponse.SerializeToString,
|
|
185
|
+
),
|
|
186
|
+
'ListSoilLayers': grpc.unary_unary_rpc_method_handler(
|
|
187
|
+
servicer.ListSoilLayers,
|
|
188
|
+
request_deserializer=ProfileService__pb2.ListSoilLayersRequest.FromString,
|
|
189
|
+
response_serializer=ProfileService__pb2.ListSoilLayersResponse.SerializeToString,
|
|
190
|
+
),
|
|
191
|
+
'GetBedrockLayer': grpc.unary_unary_rpc_method_handler(
|
|
192
|
+
servicer.GetBedrockLayer,
|
|
193
|
+
request_deserializer=ProfileService__pb2.GetBedrockLayerRequest.FromString,
|
|
194
|
+
response_serializer=ProfileService__pb2.GetBedrockLayerResponse.SerializeToString,
|
|
195
|
+
),
|
|
196
|
+
'CreateProfile': grpc.unary_unary_rpc_method_handler(
|
|
197
|
+
servicer.CreateProfile,
|
|
198
|
+
request_deserializer=ProfileService__pb2.CreateProfileRequest.FromString,
|
|
199
|
+
response_serializer=ProfileService__pb2.CreateProfileResponse.SerializeToString,
|
|
200
|
+
),
|
|
201
|
+
'CopyProfile': grpc.unary_unary_rpc_method_handler(
|
|
202
|
+
servicer.CopyProfile,
|
|
203
|
+
request_deserializer=ProfileService__pb2.CopyProfileRequest.FromString,
|
|
204
|
+
response_serializer=ProfileService__pb2.CopyProfileResponse.SerializeToString,
|
|
205
|
+
),
|
|
206
|
+
'DeleteProfile': grpc.unary_unary_rpc_method_handler(
|
|
207
|
+
servicer.DeleteProfile,
|
|
208
|
+
request_deserializer=ProfileService__pb2.DeleteProfileRequest.FromString,
|
|
209
|
+
response_serializer=ProfileService__pb2.DeleteProfileResponse.SerializeToString,
|
|
210
|
+
),
|
|
211
|
+
'RenameActiveProfile': grpc.unary_unary_rpc_method_handler(
|
|
212
|
+
servicer.RenameActiveProfile,
|
|
213
|
+
request_deserializer=ProfileService__pb2.RenameActiveProfileRequest.FromString,
|
|
214
|
+
response_serializer=ProfileService__pb2.RenameActiveProfileResponse.SerializeToString,
|
|
215
|
+
),
|
|
216
|
+
'GetOutputDepths': grpc.unary_unary_rpc_method_handler(
|
|
217
|
+
servicer.GetOutputDepths,
|
|
218
|
+
request_deserializer=ProfileService__pb2.GetOutputDepthsRequest.FromString,
|
|
219
|
+
response_serializer=ProfileService__pb2.GetOutputDepthsResponse.SerializeToString,
|
|
220
|
+
),
|
|
221
|
+
'SetOutputDepths': grpc.unary_unary_rpc_method_handler(
|
|
222
|
+
servicer.SetOutputDepths,
|
|
223
|
+
request_deserializer=ProfileService__pb2.SetOutputDepthsRequest.FromString,
|
|
224
|
+
response_serializer=ProfileService__pb2.SetOutputDepthsResponse.SerializeToString,
|
|
225
|
+
),
|
|
226
|
+
}
|
|
227
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
228
|
+
'ProfileServiceDefinition.ProfileService', rpc_method_handlers)
|
|
229
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
230
|
+
server.add_registered_method_handlers('ProfileServiceDefinition.ProfileService', rpc_method_handlers)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
# This class is part of an EXPERIMENTAL API.
|
|
234
|
+
class ProfileService(object):
|
|
235
|
+
"""Missing associated documentation comment in .proto file."""
|
|
236
|
+
|
|
237
|
+
@staticmethod
|
|
238
|
+
def ListProfiles(request,
|
|
239
|
+
target,
|
|
240
|
+
options=(),
|
|
241
|
+
channel_credentials=None,
|
|
242
|
+
call_credentials=None,
|
|
243
|
+
insecure=False,
|
|
244
|
+
compression=None,
|
|
245
|
+
wait_for_ready=None,
|
|
246
|
+
timeout=None,
|
|
247
|
+
metadata=None):
|
|
248
|
+
return grpc.experimental.unary_unary(
|
|
249
|
+
request,
|
|
250
|
+
target,
|
|
251
|
+
'/ProfileServiceDefinition.ProfileService/ListProfiles',
|
|
252
|
+
ProfileService__pb2.ListProfilesRequest.SerializeToString,
|
|
253
|
+
ProfileService__pb2.ListProfilesResponse.FromString,
|
|
254
|
+
options,
|
|
255
|
+
channel_credentials,
|
|
256
|
+
insecure,
|
|
257
|
+
call_credentials,
|
|
258
|
+
compression,
|
|
259
|
+
wait_for_ready,
|
|
260
|
+
timeout,
|
|
261
|
+
metadata,
|
|
262
|
+
_registered_method=True)
|
|
263
|
+
|
|
264
|
+
@staticmethod
|
|
265
|
+
def GetActiveProfile(request,
|
|
266
|
+
target,
|
|
267
|
+
options=(),
|
|
268
|
+
channel_credentials=None,
|
|
269
|
+
call_credentials=None,
|
|
270
|
+
insecure=False,
|
|
271
|
+
compression=None,
|
|
272
|
+
wait_for_ready=None,
|
|
273
|
+
timeout=None,
|
|
274
|
+
metadata=None):
|
|
275
|
+
return grpc.experimental.unary_unary(
|
|
276
|
+
request,
|
|
277
|
+
target,
|
|
278
|
+
'/ProfileServiceDefinition.ProfileService/GetActiveProfile',
|
|
279
|
+
ProfileService__pb2.GetActiveProfileRequest.SerializeToString,
|
|
280
|
+
ProfileService__pb2.GetActiveProfileResponse.FromString,
|
|
281
|
+
options,
|
|
282
|
+
channel_credentials,
|
|
283
|
+
insecure,
|
|
284
|
+
call_credentials,
|
|
285
|
+
compression,
|
|
286
|
+
wait_for_ready,
|
|
287
|
+
timeout,
|
|
288
|
+
metadata,
|
|
289
|
+
_registered_method=True)
|
|
290
|
+
|
|
291
|
+
@staticmethod
|
|
292
|
+
def SetActiveProfile(request,
|
|
293
|
+
target,
|
|
294
|
+
options=(),
|
|
295
|
+
channel_credentials=None,
|
|
296
|
+
call_credentials=None,
|
|
297
|
+
insecure=False,
|
|
298
|
+
compression=None,
|
|
299
|
+
wait_for_ready=None,
|
|
300
|
+
timeout=None,
|
|
301
|
+
metadata=None):
|
|
302
|
+
return grpc.experimental.unary_unary(
|
|
303
|
+
request,
|
|
304
|
+
target,
|
|
305
|
+
'/ProfileServiceDefinition.ProfileService/SetActiveProfile',
|
|
306
|
+
ProfileService__pb2.SetActiveProfileRequest.SerializeToString,
|
|
307
|
+
ProfileService__pb2.SetActiveProfileResponse.FromString,
|
|
308
|
+
options,
|
|
309
|
+
channel_credentials,
|
|
310
|
+
insecure,
|
|
311
|
+
call_credentials,
|
|
312
|
+
compression,
|
|
313
|
+
wait_for_ready,
|
|
314
|
+
timeout,
|
|
315
|
+
metadata,
|
|
316
|
+
_registered_method=True)
|
|
317
|
+
|
|
318
|
+
@staticmethod
|
|
319
|
+
def ListSoilLayers(request,
|
|
320
|
+
target,
|
|
321
|
+
options=(),
|
|
322
|
+
channel_credentials=None,
|
|
323
|
+
call_credentials=None,
|
|
324
|
+
insecure=False,
|
|
325
|
+
compression=None,
|
|
326
|
+
wait_for_ready=None,
|
|
327
|
+
timeout=None,
|
|
328
|
+
metadata=None):
|
|
329
|
+
return grpc.experimental.unary_unary(
|
|
330
|
+
request,
|
|
331
|
+
target,
|
|
332
|
+
'/ProfileServiceDefinition.ProfileService/ListSoilLayers',
|
|
333
|
+
ProfileService__pb2.ListSoilLayersRequest.SerializeToString,
|
|
334
|
+
ProfileService__pb2.ListSoilLayersResponse.FromString,
|
|
335
|
+
options,
|
|
336
|
+
channel_credentials,
|
|
337
|
+
insecure,
|
|
338
|
+
call_credentials,
|
|
339
|
+
compression,
|
|
340
|
+
wait_for_ready,
|
|
341
|
+
timeout,
|
|
342
|
+
metadata,
|
|
343
|
+
_registered_method=True)
|
|
344
|
+
|
|
345
|
+
@staticmethod
|
|
346
|
+
def GetBedrockLayer(request,
|
|
347
|
+
target,
|
|
348
|
+
options=(),
|
|
349
|
+
channel_credentials=None,
|
|
350
|
+
call_credentials=None,
|
|
351
|
+
insecure=False,
|
|
352
|
+
compression=None,
|
|
353
|
+
wait_for_ready=None,
|
|
354
|
+
timeout=None,
|
|
355
|
+
metadata=None):
|
|
356
|
+
return grpc.experimental.unary_unary(
|
|
357
|
+
request,
|
|
358
|
+
target,
|
|
359
|
+
'/ProfileServiceDefinition.ProfileService/GetBedrockLayer',
|
|
360
|
+
ProfileService__pb2.GetBedrockLayerRequest.SerializeToString,
|
|
361
|
+
ProfileService__pb2.GetBedrockLayerResponse.FromString,
|
|
362
|
+
options,
|
|
363
|
+
channel_credentials,
|
|
364
|
+
insecure,
|
|
365
|
+
call_credentials,
|
|
366
|
+
compression,
|
|
367
|
+
wait_for_ready,
|
|
368
|
+
timeout,
|
|
369
|
+
metadata,
|
|
370
|
+
_registered_method=True)
|
|
371
|
+
|
|
372
|
+
@staticmethod
|
|
373
|
+
def CreateProfile(request,
|
|
374
|
+
target,
|
|
375
|
+
options=(),
|
|
376
|
+
channel_credentials=None,
|
|
377
|
+
call_credentials=None,
|
|
378
|
+
insecure=False,
|
|
379
|
+
compression=None,
|
|
380
|
+
wait_for_ready=None,
|
|
381
|
+
timeout=None,
|
|
382
|
+
metadata=None):
|
|
383
|
+
return grpc.experimental.unary_unary(
|
|
384
|
+
request,
|
|
385
|
+
target,
|
|
386
|
+
'/ProfileServiceDefinition.ProfileService/CreateProfile',
|
|
387
|
+
ProfileService__pb2.CreateProfileRequest.SerializeToString,
|
|
388
|
+
ProfileService__pb2.CreateProfileResponse.FromString,
|
|
389
|
+
options,
|
|
390
|
+
channel_credentials,
|
|
391
|
+
insecure,
|
|
392
|
+
call_credentials,
|
|
393
|
+
compression,
|
|
394
|
+
wait_for_ready,
|
|
395
|
+
timeout,
|
|
396
|
+
metadata,
|
|
397
|
+
_registered_method=True)
|
|
398
|
+
|
|
399
|
+
@staticmethod
|
|
400
|
+
def CopyProfile(request,
|
|
401
|
+
target,
|
|
402
|
+
options=(),
|
|
403
|
+
channel_credentials=None,
|
|
404
|
+
call_credentials=None,
|
|
405
|
+
insecure=False,
|
|
406
|
+
compression=None,
|
|
407
|
+
wait_for_ready=None,
|
|
408
|
+
timeout=None,
|
|
409
|
+
metadata=None):
|
|
410
|
+
return grpc.experimental.unary_unary(
|
|
411
|
+
request,
|
|
412
|
+
target,
|
|
413
|
+
'/ProfileServiceDefinition.ProfileService/CopyProfile',
|
|
414
|
+
ProfileService__pb2.CopyProfileRequest.SerializeToString,
|
|
415
|
+
ProfileService__pb2.CopyProfileResponse.FromString,
|
|
416
|
+
options,
|
|
417
|
+
channel_credentials,
|
|
418
|
+
insecure,
|
|
419
|
+
call_credentials,
|
|
420
|
+
compression,
|
|
421
|
+
wait_for_ready,
|
|
422
|
+
timeout,
|
|
423
|
+
metadata,
|
|
424
|
+
_registered_method=True)
|
|
425
|
+
|
|
426
|
+
@staticmethod
|
|
427
|
+
def DeleteProfile(request,
|
|
428
|
+
target,
|
|
429
|
+
options=(),
|
|
430
|
+
channel_credentials=None,
|
|
431
|
+
call_credentials=None,
|
|
432
|
+
insecure=False,
|
|
433
|
+
compression=None,
|
|
434
|
+
wait_for_ready=None,
|
|
435
|
+
timeout=None,
|
|
436
|
+
metadata=None):
|
|
437
|
+
return grpc.experimental.unary_unary(
|
|
438
|
+
request,
|
|
439
|
+
target,
|
|
440
|
+
'/ProfileServiceDefinition.ProfileService/DeleteProfile',
|
|
441
|
+
ProfileService__pb2.DeleteProfileRequest.SerializeToString,
|
|
442
|
+
ProfileService__pb2.DeleteProfileResponse.FromString,
|
|
443
|
+
options,
|
|
444
|
+
channel_credentials,
|
|
445
|
+
insecure,
|
|
446
|
+
call_credentials,
|
|
447
|
+
compression,
|
|
448
|
+
wait_for_ready,
|
|
449
|
+
timeout,
|
|
450
|
+
metadata,
|
|
451
|
+
_registered_method=True)
|
|
452
|
+
|
|
453
|
+
@staticmethod
|
|
454
|
+
def RenameActiveProfile(request,
|
|
455
|
+
target,
|
|
456
|
+
options=(),
|
|
457
|
+
channel_credentials=None,
|
|
458
|
+
call_credentials=None,
|
|
459
|
+
insecure=False,
|
|
460
|
+
compression=None,
|
|
461
|
+
wait_for_ready=None,
|
|
462
|
+
timeout=None,
|
|
463
|
+
metadata=None):
|
|
464
|
+
return grpc.experimental.unary_unary(
|
|
465
|
+
request,
|
|
466
|
+
target,
|
|
467
|
+
'/ProfileServiceDefinition.ProfileService/RenameActiveProfile',
|
|
468
|
+
ProfileService__pb2.RenameActiveProfileRequest.SerializeToString,
|
|
469
|
+
ProfileService__pb2.RenameActiveProfileResponse.FromString,
|
|
470
|
+
options,
|
|
471
|
+
channel_credentials,
|
|
472
|
+
insecure,
|
|
473
|
+
call_credentials,
|
|
474
|
+
compression,
|
|
475
|
+
wait_for_ready,
|
|
476
|
+
timeout,
|
|
477
|
+
metadata,
|
|
478
|
+
_registered_method=True)
|
|
479
|
+
|
|
480
|
+
@staticmethod
|
|
481
|
+
def GetOutputDepths(request,
|
|
482
|
+
target,
|
|
483
|
+
options=(),
|
|
484
|
+
channel_credentials=None,
|
|
485
|
+
call_credentials=None,
|
|
486
|
+
insecure=False,
|
|
487
|
+
compression=None,
|
|
488
|
+
wait_for_ready=None,
|
|
489
|
+
timeout=None,
|
|
490
|
+
metadata=None):
|
|
491
|
+
return grpc.experimental.unary_unary(
|
|
492
|
+
request,
|
|
493
|
+
target,
|
|
494
|
+
'/ProfileServiceDefinition.ProfileService/GetOutputDepths',
|
|
495
|
+
ProfileService__pb2.GetOutputDepthsRequest.SerializeToString,
|
|
496
|
+
ProfileService__pb2.GetOutputDepthsResponse.FromString,
|
|
497
|
+
options,
|
|
498
|
+
channel_credentials,
|
|
499
|
+
insecure,
|
|
500
|
+
call_credentials,
|
|
501
|
+
compression,
|
|
502
|
+
wait_for_ready,
|
|
503
|
+
timeout,
|
|
504
|
+
metadata,
|
|
505
|
+
_registered_method=True)
|
|
506
|
+
|
|
507
|
+
@staticmethod
|
|
508
|
+
def SetOutputDepths(request,
|
|
509
|
+
target,
|
|
510
|
+
options=(),
|
|
511
|
+
channel_credentials=None,
|
|
512
|
+
call_credentials=None,
|
|
513
|
+
insecure=False,
|
|
514
|
+
compression=None,
|
|
515
|
+
wait_for_ready=None,
|
|
516
|
+
timeout=None,
|
|
517
|
+
metadata=None):
|
|
518
|
+
return grpc.experimental.unary_unary(
|
|
519
|
+
request,
|
|
520
|
+
target,
|
|
521
|
+
'/ProfileServiceDefinition.ProfileService/SetOutputDepths',
|
|
522
|
+
ProfileService__pb2.SetOutputDepthsRequest.SerializeToString,
|
|
523
|
+
ProfileService__pb2.SetOutputDepthsResponse.FromString,
|
|
524
|
+
options,
|
|
525
|
+
channel_credentials,
|
|
526
|
+
insecure,
|
|
527
|
+
call_credentials,
|
|
528
|
+
compression,
|
|
529
|
+
wait_for_ready,
|
|
530
|
+
timeout,
|
|
531
|
+
metadata,
|
|
532
|
+
_registered_method=True)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: ProjectSettingsDataService.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 ProjectSettingsDataService.proto\x12$ProjectSettingsDataServiceDefinition\x1a\x14\x43ommonMessages.proto\">\n\x17\x43hangeUnitSystemRequest\x12\x10\n\x08objectId\x18\x01 \x01(\t\x12\x11\n\tuseMetric\x18\x02 \x01(\x08\"S\n\x18\x43hangeUnitSystemResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x10\n\x08isMetric\x18\x03 \x01(\x08\"(\n\x14GetUnitSystemRequest\x12\x10\n\x08objectId\x18\x01 \x01(\t\"P\n\x15GetUnitSystemResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x10\n\x08isMetric\x18\x03 \x01(\x08\x32\xeb\x03\n\x1aProjectSettingsDataService\x12V\n\x0bSetProperty\x12\".CommonMessages.SetPropertyRequest\x1a#.CommonMessages.SetPropertyResponse\x12V\n\x0bGetProperty\x12\".CommonMessages.GetPropertyRequest\x1a#.CommonMessages.GetPropertyResponse\x12\x91\x01\n\x10\x43hangeUnitSystem\x12=.ProjectSettingsDataServiceDefinition.ChangeUnitSystemRequest\x1a>.ProjectSettingsDataServiceDefinition.ChangeUnitSystemResponse\x12\x88\x01\n\rGetUnitSystem\x12:.ProjectSettingsDataServiceDefinition.GetUnitSystemRequest\x1a;.ProjectSettingsDataServiceDefinition.GetUnitSystemResponseb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_globals = globals()
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'ProjectSettingsDataService_pb2', _globals)
|
|
23
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
24
|
+
DESCRIPTOR._loaded_options = None
|
|
25
|
+
_globals['_CHANGEUNITSYSTEMREQUEST']._serialized_start=96
|
|
26
|
+
_globals['_CHANGEUNITSYSTEMREQUEST']._serialized_end=158
|
|
27
|
+
_globals['_CHANGEUNITSYSTEMRESPONSE']._serialized_start=160
|
|
28
|
+
_globals['_CHANGEUNITSYSTEMRESPONSE']._serialized_end=243
|
|
29
|
+
_globals['_GETUNITSYSTEMREQUEST']._serialized_start=245
|
|
30
|
+
_globals['_GETUNITSYSTEMREQUEST']._serialized_end=285
|
|
31
|
+
_globals['_GETUNITSYSTEMRESPONSE']._serialized_start=287
|
|
32
|
+
_globals['_GETUNITSYSTEMRESPONSE']._serialized_end=367
|
|
33
|
+
_globals['_PROJECTSETTINGSDATASERVICE']._serialized_start=370
|
|
34
|
+
_globals['_PROJECTSETTINGSDATASERVICE']._serialized_end=861
|
|
35
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import CommonMessages_pb2 as _CommonMessages_pb2
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from google.protobuf import message as _message
|
|
4
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional
|
|
5
|
+
|
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
+
|
|
8
|
+
class ChangeUnitSystemRequest(_message.Message):
|
|
9
|
+
__slots__ = ("objectId", "useMetric")
|
|
10
|
+
OBJECTID_FIELD_NUMBER: _ClassVar[int]
|
|
11
|
+
USEMETRIC_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
objectId: str
|
|
13
|
+
useMetric: bool
|
|
14
|
+
def __init__(self, objectId: _Optional[str] = ..., useMetric: bool = ...) -> None: ...
|
|
15
|
+
|
|
16
|
+
class ChangeUnitSystemResponse(_message.Message):
|
|
17
|
+
__slots__ = ("success", "errorMessage", "isMetric")
|
|
18
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
ISMETRIC_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
success: bool
|
|
22
|
+
errorMessage: str
|
|
23
|
+
isMetric: bool
|
|
24
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., isMetric: bool = ...) -> None: ...
|
|
25
|
+
|
|
26
|
+
class GetUnitSystemRequest(_message.Message):
|
|
27
|
+
__slots__ = ("objectId",)
|
|
28
|
+
OBJECTID_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
objectId: str
|
|
30
|
+
def __init__(self, objectId: _Optional[str] = ...) -> None: ...
|
|
31
|
+
|
|
32
|
+
class GetUnitSystemResponse(_message.Message):
|
|
33
|
+
__slots__ = ("success", "errorMessage", "isMetric")
|
|
34
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
ISMETRIC_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
success: bool
|
|
38
|
+
errorMessage: str
|
|
39
|
+
isMetric: bool
|
|
40
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., isMetric: bool = ...) -> None: ...
|