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,231 @@
|
|
|
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 CommonMessages_pb2 as CommonMessages__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 SoilLayerDataService_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 SoilLayerDataServiceStub(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.SetProperty = channel.unary_unary(
|
|
43
|
+
'/SoilLayerDataServiceDefinition.SoilLayerDataService/SetProperty',
|
|
44
|
+
request_serializer=CommonMessages__pb2.SetPropertyInProjectRequest.SerializeToString,
|
|
45
|
+
response_deserializer=CommonMessages__pb2.SetPropertyResponse.FromString,
|
|
46
|
+
_registered_method=True)
|
|
47
|
+
self.GetProperty = channel.unary_unary(
|
|
48
|
+
'/SoilLayerDataServiceDefinition.SoilLayerDataService/GetProperty',
|
|
49
|
+
request_serializer=CommonMessages__pb2.GetPropertyInProjectRequest.SerializeToString,
|
|
50
|
+
response_deserializer=CommonMessages__pb2.GetPropertyResponse.FromString,
|
|
51
|
+
_registered_method=True)
|
|
52
|
+
self.SetColor = channel.unary_unary(
|
|
53
|
+
'/SoilLayerDataServiceDefinition.SoilLayerDataService/SetColor',
|
|
54
|
+
request_serializer=CommonMessages__pb2.SetColorInProjectRequest.SerializeToString,
|
|
55
|
+
response_deserializer=CommonMessages__pb2.SetColorResponse.FromString,
|
|
56
|
+
_registered_method=True)
|
|
57
|
+
self.GetColor = channel.unary_unary(
|
|
58
|
+
'/SoilLayerDataServiceDefinition.SoilLayerDataService/GetColor',
|
|
59
|
+
request_serializer=CommonMessages__pb2.GetColorInProjectRequest.SerializeToString,
|
|
60
|
+
response_deserializer=CommonMessages__pb2.GetColorResponse.FromString,
|
|
61
|
+
_registered_method=True)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
class SoilLayerDataServiceServicer(object):
|
|
65
|
+
"""Missing associated documentation comment in .proto file."""
|
|
66
|
+
|
|
67
|
+
def SetProperty(self, request, context):
|
|
68
|
+
"""Missing associated documentation comment in .proto file."""
|
|
69
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
70
|
+
context.set_details('Method not implemented!')
|
|
71
|
+
raise NotImplementedError('Method not implemented!')
|
|
72
|
+
|
|
73
|
+
def GetProperty(self, request, context):
|
|
74
|
+
"""Missing associated documentation comment in .proto file."""
|
|
75
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
76
|
+
context.set_details('Method not implemented!')
|
|
77
|
+
raise NotImplementedError('Method not implemented!')
|
|
78
|
+
|
|
79
|
+
def SetColor(self, request, context):
|
|
80
|
+
"""Missing associated documentation comment in .proto file."""
|
|
81
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
82
|
+
context.set_details('Method not implemented!')
|
|
83
|
+
raise NotImplementedError('Method not implemented!')
|
|
84
|
+
|
|
85
|
+
def GetColor(self, request, context):
|
|
86
|
+
"""Missing associated documentation comment in .proto file."""
|
|
87
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
88
|
+
context.set_details('Method not implemented!')
|
|
89
|
+
raise NotImplementedError('Method not implemented!')
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
def add_SoilLayerDataServiceServicer_to_server(servicer, server):
|
|
93
|
+
rpc_method_handlers = {
|
|
94
|
+
'SetProperty': grpc.unary_unary_rpc_method_handler(
|
|
95
|
+
servicer.SetProperty,
|
|
96
|
+
request_deserializer=CommonMessages__pb2.SetPropertyInProjectRequest.FromString,
|
|
97
|
+
response_serializer=CommonMessages__pb2.SetPropertyResponse.SerializeToString,
|
|
98
|
+
),
|
|
99
|
+
'GetProperty': grpc.unary_unary_rpc_method_handler(
|
|
100
|
+
servicer.GetProperty,
|
|
101
|
+
request_deserializer=CommonMessages__pb2.GetPropertyInProjectRequest.FromString,
|
|
102
|
+
response_serializer=CommonMessages__pb2.GetPropertyResponse.SerializeToString,
|
|
103
|
+
),
|
|
104
|
+
'SetColor': grpc.unary_unary_rpc_method_handler(
|
|
105
|
+
servicer.SetColor,
|
|
106
|
+
request_deserializer=CommonMessages__pb2.SetColorInProjectRequest.FromString,
|
|
107
|
+
response_serializer=CommonMessages__pb2.SetColorResponse.SerializeToString,
|
|
108
|
+
),
|
|
109
|
+
'GetColor': grpc.unary_unary_rpc_method_handler(
|
|
110
|
+
servicer.GetColor,
|
|
111
|
+
request_deserializer=CommonMessages__pb2.GetColorInProjectRequest.FromString,
|
|
112
|
+
response_serializer=CommonMessages__pb2.GetColorResponse.SerializeToString,
|
|
113
|
+
),
|
|
114
|
+
}
|
|
115
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
116
|
+
'SoilLayerDataServiceDefinition.SoilLayerDataService', rpc_method_handlers)
|
|
117
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
118
|
+
server.add_registered_method_handlers('SoilLayerDataServiceDefinition.SoilLayerDataService', rpc_method_handlers)
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
# This class is part of an EXPERIMENTAL API.
|
|
122
|
+
class SoilLayerDataService(object):
|
|
123
|
+
"""Missing associated documentation comment in .proto file."""
|
|
124
|
+
|
|
125
|
+
@staticmethod
|
|
126
|
+
def SetProperty(request,
|
|
127
|
+
target,
|
|
128
|
+
options=(),
|
|
129
|
+
channel_credentials=None,
|
|
130
|
+
call_credentials=None,
|
|
131
|
+
insecure=False,
|
|
132
|
+
compression=None,
|
|
133
|
+
wait_for_ready=None,
|
|
134
|
+
timeout=None,
|
|
135
|
+
metadata=None):
|
|
136
|
+
return grpc.experimental.unary_unary(
|
|
137
|
+
request,
|
|
138
|
+
target,
|
|
139
|
+
'/SoilLayerDataServiceDefinition.SoilLayerDataService/SetProperty',
|
|
140
|
+
CommonMessages__pb2.SetPropertyInProjectRequest.SerializeToString,
|
|
141
|
+
CommonMessages__pb2.SetPropertyResponse.FromString,
|
|
142
|
+
options,
|
|
143
|
+
channel_credentials,
|
|
144
|
+
insecure,
|
|
145
|
+
call_credentials,
|
|
146
|
+
compression,
|
|
147
|
+
wait_for_ready,
|
|
148
|
+
timeout,
|
|
149
|
+
metadata,
|
|
150
|
+
_registered_method=True)
|
|
151
|
+
|
|
152
|
+
@staticmethod
|
|
153
|
+
def GetProperty(request,
|
|
154
|
+
target,
|
|
155
|
+
options=(),
|
|
156
|
+
channel_credentials=None,
|
|
157
|
+
call_credentials=None,
|
|
158
|
+
insecure=False,
|
|
159
|
+
compression=None,
|
|
160
|
+
wait_for_ready=None,
|
|
161
|
+
timeout=None,
|
|
162
|
+
metadata=None):
|
|
163
|
+
return grpc.experimental.unary_unary(
|
|
164
|
+
request,
|
|
165
|
+
target,
|
|
166
|
+
'/SoilLayerDataServiceDefinition.SoilLayerDataService/GetProperty',
|
|
167
|
+
CommonMessages__pb2.GetPropertyInProjectRequest.SerializeToString,
|
|
168
|
+
CommonMessages__pb2.GetPropertyResponse.FromString,
|
|
169
|
+
options,
|
|
170
|
+
channel_credentials,
|
|
171
|
+
insecure,
|
|
172
|
+
call_credentials,
|
|
173
|
+
compression,
|
|
174
|
+
wait_for_ready,
|
|
175
|
+
timeout,
|
|
176
|
+
metadata,
|
|
177
|
+
_registered_method=True)
|
|
178
|
+
|
|
179
|
+
@staticmethod
|
|
180
|
+
def SetColor(request,
|
|
181
|
+
target,
|
|
182
|
+
options=(),
|
|
183
|
+
channel_credentials=None,
|
|
184
|
+
call_credentials=None,
|
|
185
|
+
insecure=False,
|
|
186
|
+
compression=None,
|
|
187
|
+
wait_for_ready=None,
|
|
188
|
+
timeout=None,
|
|
189
|
+
metadata=None):
|
|
190
|
+
return grpc.experimental.unary_unary(
|
|
191
|
+
request,
|
|
192
|
+
target,
|
|
193
|
+
'/SoilLayerDataServiceDefinition.SoilLayerDataService/SetColor',
|
|
194
|
+
CommonMessages__pb2.SetColorInProjectRequest.SerializeToString,
|
|
195
|
+
CommonMessages__pb2.SetColorResponse.FromString,
|
|
196
|
+
options,
|
|
197
|
+
channel_credentials,
|
|
198
|
+
insecure,
|
|
199
|
+
call_credentials,
|
|
200
|
+
compression,
|
|
201
|
+
wait_for_ready,
|
|
202
|
+
timeout,
|
|
203
|
+
metadata,
|
|
204
|
+
_registered_method=True)
|
|
205
|
+
|
|
206
|
+
@staticmethod
|
|
207
|
+
def GetColor(request,
|
|
208
|
+
target,
|
|
209
|
+
options=(),
|
|
210
|
+
channel_credentials=None,
|
|
211
|
+
call_credentials=None,
|
|
212
|
+
insecure=False,
|
|
213
|
+
compression=None,
|
|
214
|
+
wait_for_ready=None,
|
|
215
|
+
timeout=None,
|
|
216
|
+
metadata=None):
|
|
217
|
+
return grpc.experimental.unary_unary(
|
|
218
|
+
request,
|
|
219
|
+
target,
|
|
220
|
+
'/SoilLayerDataServiceDefinition.SoilLayerDataService/GetColor',
|
|
221
|
+
CommonMessages__pb2.GetColorInProjectRequest.SerializeToString,
|
|
222
|
+
CommonMessages__pb2.GetColorResponse.FromString,
|
|
223
|
+
options,
|
|
224
|
+
channel_credentials,
|
|
225
|
+
insecure,
|
|
226
|
+
call_credentials,
|
|
227
|
+
compression,
|
|
228
|
+
wait_for_ready,
|
|
229
|
+
timeout,
|
|
230
|
+
metadata,
|
|
231
|
+
_registered_method=True)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: SoilLayerService.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\x16SoilLayerService.proto\x12\x1aSoilLayerServiceDefinition\"Z\n\x18InsertLayerBeforeRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x13\n\x0bprofileName\x18\x02 \x01(\t\x12\x18\n\x10referenceLayerID\x18\x03 \x01(\t\"Y\n\x17InsertLayerAfterRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x13\n\x0bprofileName\x18\x02 \x01(\t\x12\x18\n\x10referenceLayerID\x18\x03 \x01(\t\"w\n\x13InsertLayerResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x13\n\x0bprofileName\x18\x03 \x01(\t\x12\x0f\n\x07layerID\x18\x04 \x01(\t\x12\x13\n\x0bindex1Based\x18\x05 \x01(\x05\"J\n\x13\x41ppendLayersRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x13\n\x0bprofileName\x18\x02 \x01(\t\x12\r\n\x05\x63ount\x18\x03 \x01(\x05\"d\n\x14\x41ppendLayersResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x13\n\x0bprofileName\x18\x03 \x01(\t\x12\x10\n\x08layerIDs\x18\x04 \x03(\t\"K\n\x12\x44\x65leteLayerRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x13\n\x0bprofileName\x18\x02 \x01(\t\x12\x0f\n\x07layerID\x18\x03 \x01(\t\"i\n\x13\x44\x65leteLayerResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x13\n\x0bprofileName\x18\x03 \x01(\t\x12\x16\n\x0e\x64\x65letedLayerID\x18\x04 \x01(\t\"i\n\x15\x44uplicateLayerRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x13\n\x0bprofileName\x18\x02 \x01(\t\x12\x15\n\rsourceLayerID\x18\x03 \x01(\t\x12\x13\n\x0binsertAfter\x18\x04 \x01(\x08\"a\n\x10MoveLayerRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x13\n\x0bprofileName\x18\x02 \x01(\t\x12\x0f\n\x07layerID\x18\x03 \x01(\t\x12\x16\n\x0enewIndex1Based\x18\x04 \x01(\x05\"u\n\x11MoveLayerResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x13\n\x0bprofileName\x18\x03 \x01(\t\x12\x0f\n\x07layerID\x18\x04 \x01(\t\x12\x13\n\x0bindex1Based\x18\x05 \x01(\x05\x32\xcb\x05\n\x10SoilLayerService\x12z\n\x11InsertLayerBefore\x12\x34.SoilLayerServiceDefinition.InsertLayerBeforeRequest\x1a/.SoilLayerServiceDefinition.InsertLayerResponse\x12x\n\x10InsertLayerAfter\x12\x33.SoilLayerServiceDefinition.InsertLayerAfterRequest\x1a/.SoilLayerServiceDefinition.InsertLayerResponse\x12q\n\x0c\x41ppendLayers\x12/.SoilLayerServiceDefinition.AppendLayersRequest\x1a\x30.SoilLayerServiceDefinition.AppendLayersResponse\x12n\n\x0b\x44\x65leteLayer\x12..SoilLayerServiceDefinition.DeleteLayerRequest\x1a/.SoilLayerServiceDefinition.DeleteLayerResponse\x12t\n\x0e\x44uplicateLayer\x12\x31.SoilLayerServiceDefinition.DuplicateLayerRequest\x1a/.SoilLayerServiceDefinition.InsertLayerResponse\x12h\n\tMoveLayer\x12,.SoilLayerServiceDefinition.MoveLayerRequest\x1a-.SoilLayerServiceDefinition.MoveLayerResponseb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'SoilLayerService_pb2', _globals)
|
|
22
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
23
|
+
DESCRIPTOR._loaded_options = None
|
|
24
|
+
_globals['_INSERTLAYERBEFOREREQUEST']._serialized_start=54
|
|
25
|
+
_globals['_INSERTLAYERBEFOREREQUEST']._serialized_end=144
|
|
26
|
+
_globals['_INSERTLAYERAFTERREQUEST']._serialized_start=146
|
|
27
|
+
_globals['_INSERTLAYERAFTERREQUEST']._serialized_end=235
|
|
28
|
+
_globals['_INSERTLAYERRESPONSE']._serialized_start=237
|
|
29
|
+
_globals['_INSERTLAYERRESPONSE']._serialized_end=356
|
|
30
|
+
_globals['_APPENDLAYERSREQUEST']._serialized_start=358
|
|
31
|
+
_globals['_APPENDLAYERSREQUEST']._serialized_end=432
|
|
32
|
+
_globals['_APPENDLAYERSRESPONSE']._serialized_start=434
|
|
33
|
+
_globals['_APPENDLAYERSRESPONSE']._serialized_end=534
|
|
34
|
+
_globals['_DELETELAYERREQUEST']._serialized_start=536
|
|
35
|
+
_globals['_DELETELAYERREQUEST']._serialized_end=611
|
|
36
|
+
_globals['_DELETELAYERRESPONSE']._serialized_start=613
|
|
37
|
+
_globals['_DELETELAYERRESPONSE']._serialized_end=718
|
|
38
|
+
_globals['_DUPLICATELAYERREQUEST']._serialized_start=720
|
|
39
|
+
_globals['_DUPLICATELAYERREQUEST']._serialized_end=825
|
|
40
|
+
_globals['_MOVELAYERREQUEST']._serialized_start=827
|
|
41
|
+
_globals['_MOVELAYERREQUEST']._serialized_end=924
|
|
42
|
+
_globals['_MOVELAYERRESPONSE']._serialized_start=926
|
|
43
|
+
_globals['_MOVELAYERRESPONSE']._serialized_end=1043
|
|
44
|
+
_globals['_SOILLAYERSERVICE']._serialized_start=1046
|
|
45
|
+
_globals['_SOILLAYERSERVICE']._serialized_end=1761
|
|
46
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,122 @@
|
|
|
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, Optional as _Optional
|
|
5
|
+
|
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
+
|
|
8
|
+
class InsertLayerBeforeRequest(_message.Message):
|
|
9
|
+
__slots__ = ("modelID", "profileName", "referenceLayerID")
|
|
10
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
11
|
+
PROFILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
REFERENCELAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
modelID: str
|
|
14
|
+
profileName: str
|
|
15
|
+
referenceLayerID: str
|
|
16
|
+
def __init__(self, modelID: _Optional[str] = ..., profileName: _Optional[str] = ..., referenceLayerID: _Optional[str] = ...) -> None: ...
|
|
17
|
+
|
|
18
|
+
class InsertLayerAfterRequest(_message.Message):
|
|
19
|
+
__slots__ = ("modelID", "profileName", "referenceLayerID")
|
|
20
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
PROFILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
REFERENCELAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
modelID: str
|
|
24
|
+
profileName: str
|
|
25
|
+
referenceLayerID: str
|
|
26
|
+
def __init__(self, modelID: _Optional[str] = ..., profileName: _Optional[str] = ..., referenceLayerID: _Optional[str] = ...) -> None: ...
|
|
27
|
+
|
|
28
|
+
class InsertLayerResponse(_message.Message):
|
|
29
|
+
__slots__ = ("success", "errorMessage", "profileName", "layerID", "index1Based")
|
|
30
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
PROFILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
LAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
INDEX1BASED_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
success: bool
|
|
36
|
+
errorMessage: str
|
|
37
|
+
profileName: str
|
|
38
|
+
layerID: str
|
|
39
|
+
index1Based: int
|
|
40
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., profileName: _Optional[str] = ..., layerID: _Optional[str] = ..., index1Based: _Optional[int] = ...) -> None: ...
|
|
41
|
+
|
|
42
|
+
class AppendLayersRequest(_message.Message):
|
|
43
|
+
__slots__ = ("modelID", "profileName", "count")
|
|
44
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
45
|
+
PROFILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
+
COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
47
|
+
modelID: str
|
|
48
|
+
profileName: str
|
|
49
|
+
count: int
|
|
50
|
+
def __init__(self, modelID: _Optional[str] = ..., profileName: _Optional[str] = ..., count: _Optional[int] = ...) -> None: ...
|
|
51
|
+
|
|
52
|
+
class AppendLayersResponse(_message.Message):
|
|
53
|
+
__slots__ = ("success", "errorMessage", "profileName", "layerIDs")
|
|
54
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
PROFILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
LAYERIDS_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
success: bool
|
|
59
|
+
errorMessage: str
|
|
60
|
+
profileName: str
|
|
61
|
+
layerIDs: _containers.RepeatedScalarFieldContainer[str]
|
|
62
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., profileName: _Optional[str] = ..., layerIDs: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
63
|
+
|
|
64
|
+
class DeleteLayerRequest(_message.Message):
|
|
65
|
+
__slots__ = ("modelID", "profileName", "layerID")
|
|
66
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
+
PROFILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
68
|
+
LAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
69
|
+
modelID: str
|
|
70
|
+
profileName: str
|
|
71
|
+
layerID: str
|
|
72
|
+
def __init__(self, modelID: _Optional[str] = ..., profileName: _Optional[str] = ..., layerID: _Optional[str] = ...) -> None: ...
|
|
73
|
+
|
|
74
|
+
class DeleteLayerResponse(_message.Message):
|
|
75
|
+
__slots__ = ("success", "errorMessage", "profileName", "deletedLayerID")
|
|
76
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
77
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
78
|
+
PROFILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
+
DELETEDLAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
success: bool
|
|
81
|
+
errorMessage: str
|
|
82
|
+
profileName: str
|
|
83
|
+
deletedLayerID: str
|
|
84
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., profileName: _Optional[str] = ..., deletedLayerID: _Optional[str] = ...) -> None: ...
|
|
85
|
+
|
|
86
|
+
class DuplicateLayerRequest(_message.Message):
|
|
87
|
+
__slots__ = ("modelID", "profileName", "sourceLayerID", "insertAfter")
|
|
88
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
89
|
+
PROFILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
90
|
+
SOURCELAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
91
|
+
INSERTAFTER_FIELD_NUMBER: _ClassVar[int]
|
|
92
|
+
modelID: str
|
|
93
|
+
profileName: str
|
|
94
|
+
sourceLayerID: str
|
|
95
|
+
insertAfter: bool
|
|
96
|
+
def __init__(self, modelID: _Optional[str] = ..., profileName: _Optional[str] = ..., sourceLayerID: _Optional[str] = ..., insertAfter: bool = ...) -> None: ...
|
|
97
|
+
|
|
98
|
+
class MoveLayerRequest(_message.Message):
|
|
99
|
+
__slots__ = ("modelID", "profileName", "layerID", "newIndex1Based")
|
|
100
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
PROFILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
+
LAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
103
|
+
NEWINDEX1BASED_FIELD_NUMBER: _ClassVar[int]
|
|
104
|
+
modelID: str
|
|
105
|
+
profileName: str
|
|
106
|
+
layerID: str
|
|
107
|
+
newIndex1Based: int
|
|
108
|
+
def __init__(self, modelID: _Optional[str] = ..., profileName: _Optional[str] = ..., layerID: _Optional[str] = ..., newIndex1Based: _Optional[int] = ...) -> None: ...
|
|
109
|
+
|
|
110
|
+
class MoveLayerResponse(_message.Message):
|
|
111
|
+
__slots__ = ("success", "errorMessage", "profileName", "layerID", "index1Based")
|
|
112
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
113
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
PROFILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
115
|
+
LAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
116
|
+
INDEX1BASED_FIELD_NUMBER: _ClassVar[int]
|
|
117
|
+
success: bool
|
|
118
|
+
errorMessage: str
|
|
119
|
+
profileName: str
|
|
120
|
+
layerID: str
|
|
121
|
+
index1Based: int
|
|
122
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., profileName: _Optional[str] = ..., layerID: _Optional[str] = ..., index1Based: _Optional[int] = ...) -> None: ...
|