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 BedrockLayerDataService_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 BedrockLayerDataServiceStub(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
|
+
'/BedrockLayerDataServiceDefinition.BedrockLayerDataService/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
|
+
'/BedrockLayerDataServiceDefinition.BedrockLayerDataService/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
|
+
'/BedrockLayerDataServiceDefinition.BedrockLayerDataService/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
|
+
'/BedrockLayerDataServiceDefinition.BedrockLayerDataService/GetColor',
|
|
59
|
+
request_serializer=CommonMessages__pb2.GetColorInProjectRequest.SerializeToString,
|
|
60
|
+
response_deserializer=CommonMessages__pb2.GetColorResponse.FromString,
|
|
61
|
+
_registered_method=True)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
class BedrockLayerDataServiceServicer(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_BedrockLayerDataServiceServicer_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
|
+
'BedrockLayerDataServiceDefinition.BedrockLayerDataService', rpc_method_handlers)
|
|
117
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
118
|
+
server.add_registered_method_handlers('BedrockLayerDataServiceDefinition.BedrockLayerDataService', rpc_method_handlers)
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
# This class is part of an EXPERIMENTAL API.
|
|
122
|
+
class BedrockLayerDataService(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
|
+
'/BedrockLayerDataServiceDefinition.BedrockLayerDataService/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
|
+
'/BedrockLayerDataServiceDefinition.BedrockLayerDataService/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
|
+
'/BedrockLayerDataServiceDefinition.BedrockLayerDataService/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
|
+
'/BedrockLayerDataServiceDefinition.BedrockLayerDataService/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,50 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: CommonMessages.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\x14\x43ommonMessages.proto\x12\x0e\x43ommonMessages\"\xf0\x01\n\rPropertyValue\x12\x15\n\x0b\x64oubleValue\x18\x01 \x01(\x01H\x00\x12\x14\n\nfloatValue\x18\x02 \x01(\x02H\x00\x12\x12\n\x08intValue\x18\x03 \x01(\x05H\x00\x12\x13\n\tlongValue\x18\x04 \x01(\x03H\x00\x12\x13\n\tuintValue\x18\x05 \x01(\rH\x00\x12\x14\n\nulongValue\x18\x06 \x01(\x04H\x00\x12\x13\n\tboolValue\x18\x07 \x01(\x08H\x00\x12\x15\n\x0bstringValue\x18\x08 \x01(\tH\x00\x12\x14\n\nbytesValue\x18\t \x01(\x0cH\x00\x12\x13\n\tenumValue\x18\n \x01(\tH\x00\x42\x07\n\x05value\"j\n\x12SetPropertyRequest\x12\x10\n\x08objectId\x18\x01 \x01(\t\x12\x14\n\x0cpropertyName\x18\x02 \x01(\t\x12,\n\x05value\x18\x03 \x01(\x0b\x32\x1d.CommonMessages.PropertyValue\"\x15\n\x13SetPropertyResponse\"<\n\x12GetPropertyRequest\x12\x10\n\x08objectId\x18\x01 \x01(\t\x12\x14\n\x0cpropertyName\x18\x02 \x01(\t\"C\n\x13GetPropertyResponse\x12,\n\x05value\x18\x01 \x01(\x0b\x32\x1d.CommonMessages.PropertyValue\"2\n\x0fSetColorRequest\x12\x10\n\x08objectId\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x0c\"\x12\n\x10SetColorResponse\"#\n\x0fGetColorRequest\x12\x10\n\x08objectId\x18\x01 \x01(\t\"!\n\x10GetColorResponse\x12\r\n\x05value\x18\x01 \x01(\x0c\"l\n\x1bSetPropertyInProjectRequest\x12\x11\n\tprojectId\x18\x01 \x01(\t\x12:\n\x0esetPropRequest\x18\x02 \x01(\x0b\x32\".CommonMessages.SetPropertyRequest\"l\n\x1bGetPropertyInProjectRequest\x12\x11\n\tprojectId\x18\x01 \x01(\t\x12:\n\x0egetPropRequest\x18\x02 \x01(\x0b\x32\".CommonMessages.GetPropertyRequest\"g\n\x18SetColorInProjectRequest\x12\x11\n\tprojectId\x18\x01 \x01(\t\x12\x38\n\x0fsetColorRequest\x18\x02 \x01(\x0b\x32\x1f.CommonMessages.SetColorRequest\"g\n\x18GetColorInProjectRequest\x12\x11\n\tprojectId\x18\x01 \x01(\t\x12\x38\n\x0fgetColorRequest\x18\x02 \x01(\x0b\x32\x1f.CommonMessages.GetColorRequestb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'CommonMessages_pb2', _globals)
|
|
22
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
23
|
+
DESCRIPTOR._loaded_options = None
|
|
24
|
+
_globals['_PROPERTYVALUE']._serialized_start=41
|
|
25
|
+
_globals['_PROPERTYVALUE']._serialized_end=281
|
|
26
|
+
_globals['_SETPROPERTYREQUEST']._serialized_start=283
|
|
27
|
+
_globals['_SETPROPERTYREQUEST']._serialized_end=389
|
|
28
|
+
_globals['_SETPROPERTYRESPONSE']._serialized_start=391
|
|
29
|
+
_globals['_SETPROPERTYRESPONSE']._serialized_end=412
|
|
30
|
+
_globals['_GETPROPERTYREQUEST']._serialized_start=414
|
|
31
|
+
_globals['_GETPROPERTYREQUEST']._serialized_end=474
|
|
32
|
+
_globals['_GETPROPERTYRESPONSE']._serialized_start=476
|
|
33
|
+
_globals['_GETPROPERTYRESPONSE']._serialized_end=543
|
|
34
|
+
_globals['_SETCOLORREQUEST']._serialized_start=545
|
|
35
|
+
_globals['_SETCOLORREQUEST']._serialized_end=595
|
|
36
|
+
_globals['_SETCOLORRESPONSE']._serialized_start=597
|
|
37
|
+
_globals['_SETCOLORRESPONSE']._serialized_end=615
|
|
38
|
+
_globals['_GETCOLORREQUEST']._serialized_start=617
|
|
39
|
+
_globals['_GETCOLORREQUEST']._serialized_end=652
|
|
40
|
+
_globals['_GETCOLORRESPONSE']._serialized_start=654
|
|
41
|
+
_globals['_GETCOLORRESPONSE']._serialized_end=687
|
|
42
|
+
_globals['_SETPROPERTYINPROJECTREQUEST']._serialized_start=689
|
|
43
|
+
_globals['_SETPROPERTYINPROJECTREQUEST']._serialized_end=797
|
|
44
|
+
_globals['_GETPROPERTYINPROJECTREQUEST']._serialized_start=799
|
|
45
|
+
_globals['_GETPROPERTYINPROJECTREQUEST']._serialized_end=907
|
|
46
|
+
_globals['_SETCOLORINPROJECTREQUEST']._serialized_start=909
|
|
47
|
+
_globals['_SETCOLORINPROJECTREQUEST']._serialized_end=1012
|
|
48
|
+
_globals['_GETCOLORINPROJECTREQUEST']._serialized_start=1014
|
|
49
|
+
_globals['_GETCOLORINPROJECTREQUEST']._serialized_end=1117
|
|
50
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
from google.protobuf import descriptor as _descriptor
|
|
2
|
+
from google.protobuf import message as _message
|
|
3
|
+
from typing import ClassVar as _ClassVar, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
4
|
+
|
|
5
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
6
|
+
|
|
7
|
+
class PropertyValue(_message.Message):
|
|
8
|
+
__slots__ = ("doubleValue", "floatValue", "intValue", "longValue", "uintValue", "ulongValue", "boolValue", "stringValue", "bytesValue", "enumValue")
|
|
9
|
+
DOUBLEVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
10
|
+
FLOATVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
11
|
+
INTVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
12
|
+
LONGVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
13
|
+
UINTVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
14
|
+
ULONGVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
BOOLVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
16
|
+
STRINGVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
BYTESVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
ENUMVALUE_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
doubleValue: float
|
|
20
|
+
floatValue: float
|
|
21
|
+
intValue: int
|
|
22
|
+
longValue: int
|
|
23
|
+
uintValue: int
|
|
24
|
+
ulongValue: int
|
|
25
|
+
boolValue: bool
|
|
26
|
+
stringValue: str
|
|
27
|
+
bytesValue: bytes
|
|
28
|
+
enumValue: str
|
|
29
|
+
def __init__(self, doubleValue: _Optional[float] = ..., floatValue: _Optional[float] = ..., intValue: _Optional[int] = ..., longValue: _Optional[int] = ..., uintValue: _Optional[int] = ..., ulongValue: _Optional[int] = ..., boolValue: bool = ..., stringValue: _Optional[str] = ..., bytesValue: _Optional[bytes] = ..., enumValue: _Optional[str] = ...) -> None: ...
|
|
30
|
+
|
|
31
|
+
class SetPropertyRequest(_message.Message):
|
|
32
|
+
__slots__ = ("objectId", "propertyName", "value")
|
|
33
|
+
OBJECTID_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
PROPERTYNAME_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
objectId: str
|
|
37
|
+
propertyName: str
|
|
38
|
+
value: PropertyValue
|
|
39
|
+
def __init__(self, objectId: _Optional[str] = ..., propertyName: _Optional[str] = ..., value: _Optional[_Union[PropertyValue, _Mapping]] = ...) -> None: ...
|
|
40
|
+
|
|
41
|
+
class SetPropertyResponse(_message.Message):
|
|
42
|
+
__slots__ = ()
|
|
43
|
+
def __init__(self) -> None: ...
|
|
44
|
+
|
|
45
|
+
class GetPropertyRequest(_message.Message):
|
|
46
|
+
__slots__ = ("objectId", "propertyName")
|
|
47
|
+
OBJECTID_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
PROPERTYNAME_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
objectId: str
|
|
50
|
+
propertyName: str
|
|
51
|
+
def __init__(self, objectId: _Optional[str] = ..., propertyName: _Optional[str] = ...) -> None: ...
|
|
52
|
+
|
|
53
|
+
class GetPropertyResponse(_message.Message):
|
|
54
|
+
__slots__ = ("value",)
|
|
55
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
value: PropertyValue
|
|
57
|
+
def __init__(self, value: _Optional[_Union[PropertyValue, _Mapping]] = ...) -> None: ...
|
|
58
|
+
|
|
59
|
+
class SetColorRequest(_message.Message):
|
|
60
|
+
__slots__ = ("objectId", "value")
|
|
61
|
+
OBJECTID_FIELD_NUMBER: _ClassVar[int]
|
|
62
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
objectId: str
|
|
64
|
+
value: bytes
|
|
65
|
+
def __init__(self, objectId: _Optional[str] = ..., value: _Optional[bytes] = ...) -> None: ...
|
|
66
|
+
|
|
67
|
+
class SetColorResponse(_message.Message):
|
|
68
|
+
__slots__ = ()
|
|
69
|
+
def __init__(self) -> None: ...
|
|
70
|
+
|
|
71
|
+
class GetColorRequest(_message.Message):
|
|
72
|
+
__slots__ = ("objectId",)
|
|
73
|
+
OBJECTID_FIELD_NUMBER: _ClassVar[int]
|
|
74
|
+
objectId: str
|
|
75
|
+
def __init__(self, objectId: _Optional[str] = ...) -> None: ...
|
|
76
|
+
|
|
77
|
+
class GetColorResponse(_message.Message):
|
|
78
|
+
__slots__ = ("value",)
|
|
79
|
+
VALUE_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
value: bytes
|
|
81
|
+
def __init__(self, value: _Optional[bytes] = ...) -> None: ...
|
|
82
|
+
|
|
83
|
+
class SetPropertyInProjectRequest(_message.Message):
|
|
84
|
+
__slots__ = ("projectId", "setPropRequest")
|
|
85
|
+
PROJECTID_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
SETPROPREQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
87
|
+
projectId: str
|
|
88
|
+
setPropRequest: SetPropertyRequest
|
|
89
|
+
def __init__(self, projectId: _Optional[str] = ..., setPropRequest: _Optional[_Union[SetPropertyRequest, _Mapping]] = ...) -> None: ...
|
|
90
|
+
|
|
91
|
+
class GetPropertyInProjectRequest(_message.Message):
|
|
92
|
+
__slots__ = ("projectId", "getPropRequest")
|
|
93
|
+
PROJECTID_FIELD_NUMBER: _ClassVar[int]
|
|
94
|
+
GETPROPREQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
95
|
+
projectId: str
|
|
96
|
+
getPropRequest: GetPropertyRequest
|
|
97
|
+
def __init__(self, projectId: _Optional[str] = ..., getPropRequest: _Optional[_Union[GetPropertyRequest, _Mapping]] = ...) -> None: ...
|
|
98
|
+
|
|
99
|
+
class SetColorInProjectRequest(_message.Message):
|
|
100
|
+
__slots__ = ("projectId", "setColorRequest")
|
|
101
|
+
PROJECTID_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
+
SETCOLORREQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
103
|
+
projectId: str
|
|
104
|
+
setColorRequest: SetColorRequest
|
|
105
|
+
def __init__(self, projectId: _Optional[str] = ..., setColorRequest: _Optional[_Union[SetColorRequest, _Mapping]] = ...) -> None: ...
|
|
106
|
+
|
|
107
|
+
class GetColorInProjectRequest(_message.Message):
|
|
108
|
+
__slots__ = ("projectId", "getColorRequest")
|
|
109
|
+
PROJECTID_FIELD_NUMBER: _ClassVar[int]
|
|
110
|
+
GETCOLORREQUEST_FIELD_NUMBER: _ClassVar[int]
|
|
111
|
+
projectId: str
|
|
112
|
+
getColorRequest: GetColorRequest
|
|
113
|
+
def __init__(self, projectId: _Optional[str] = ..., getColorRequest: _Optional[_Union[GetColorRequest, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.64.1'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
EXPECTED_ERROR_RELEASE = '1.65.0'
|
|
10
|
+
SCHEDULED_RELEASE_DATE = 'June 25, 2024'
|
|
11
|
+
_version_not_supported = False
|
|
12
|
+
|
|
13
|
+
try:
|
|
14
|
+
from grpc._utilities import first_version_is_lower
|
|
15
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
16
|
+
except ImportError:
|
|
17
|
+
_version_not_supported = True
|
|
18
|
+
|
|
19
|
+
if _version_not_supported:
|
|
20
|
+
warnings.warn(
|
|
21
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
22
|
+
+ f' but the generated code in CommonMessages_pb2_grpc.py depends on'
|
|
23
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
24
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
25
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
26
|
+
+ f' This warning will become an error in {EXPECTED_ERROR_RELEASE},'
|
|
27
|
+
+ f' scheduled for release on {SCHEDULED_RELEASE_DATE}.',
|
|
28
|
+
RuntimeWarning
|
|
29
|
+
)
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: MeanProfileService.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\x18MeanProfileService.proto\x12\x1cMeanProfileServiceDefinition\"(\n\x15GetMeanProfileRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\"\x80\x01\n\x16GetMeanProfileResponse\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\x12\n\nlayerCount\x18\x04 \x01(\x05\x12\x16\n\x0etotalThickness\x18\x05 \x01(\x01\"(\n\x15ListSoilLayersRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\"W\n\x0eSoilLayerEntry\x12\x0f\n\x07layerID\x18\x01 \x01(\t\x12\x13\n\x0bindex1Based\x18\x02 \x01(\x05\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x11\n\tthickness\x18\x04 \x01(\x01\"}\n\x16ListSoilLayersResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12<\n\x06layers\x18\x03 \x03(\x0b\x32,.MeanProfileServiceDefinition.SoilLayerEntry\")\n\x16GetBedrockLayerRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\"E\n\x11\x42\x65\x64rockLayerEntry\x12\x0f\n\x07layerID\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x11\n\tthickness\x18\x03 \x01(\x01\"\x82\x01\n\x17GetBedrockLayerResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12@\n\x07\x62\x65\x64rock\x18\x03 \x01(\x0b\x32/.MeanProfileServiceDefinition.BedrockLayerEntry\"E\n\x18InsertLayerBeforeRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x18\n\x10referenceLayerID\x18\x02 \x01(\t\"D\n\x17InsertLayerAfterRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x18\n\x10referenceLayerID\x18\x02 \x01(\t\"b\n\x13InsertLayerResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x0f\n\x07layerID\x18\x03 \x01(\t\x12\x13\n\x0bindex1Based\x18\x04 \x01(\x05\"5\n\x13\x41ppendLayersRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\r\n\x05\x63ount\x18\x02 \x01(\x05\"O\n\x14\x41ppendLayersResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x10\n\x08layerIDs\x18\x03 \x03(\t\"6\n\x12\x44\x65leteLayerRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x0f\n\x07layerID\x18\x02 \x01(\t\"T\n\x13\x44\x65leteLayerResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x16\n\x0e\x64\x65letedLayerID\x18\x03 \x01(\t\"T\n\x15\x44uplicateLayerRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x15\n\rsourceLayerID\x18\x02 \x01(\t\x12\x13\n\x0binsertAfter\x18\x03 \x01(\x08\"L\n\x10MoveLayerRequest\x12\x0f\n\x07modelID\x18\x01 \x01(\t\x12\x0f\n\x07layerID\x18\x02 \x01(\t\x12\x16\n\x0enewIndex1Based\x18\x03 \x01(\x05\"`\n\x11MoveLayerResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x14\n\x0c\x65rrorMessage\x18\x02 \x01(\t\x12\x0f\n\x07layerID\x18\x03 \x01(\t\x12\x13\n\x0bindex1Based\x18\x04 \x01(\x05\x32\xdf\x08\n\x12MeanProfileService\x12{\n\x0eGetMeanProfile\x12\x33.MeanProfileServiceDefinition.GetMeanProfileRequest\x1a\x34.MeanProfileServiceDefinition.GetMeanProfileResponse\x12{\n\x0eListSoilLayers\x12\x33.MeanProfileServiceDefinition.ListSoilLayersRequest\x1a\x34.MeanProfileServiceDefinition.ListSoilLayersResponse\x12~\n\x0fGetBedrockLayer\x12\x34.MeanProfileServiceDefinition.GetBedrockLayerRequest\x1a\x35.MeanProfileServiceDefinition.GetBedrockLayerResponse\x12~\n\x11InsertLayerBefore\x12\x36.MeanProfileServiceDefinition.InsertLayerBeforeRequest\x1a\x31.MeanProfileServiceDefinition.InsertLayerResponse\x12|\n\x10InsertLayerAfter\x12\x35.MeanProfileServiceDefinition.InsertLayerAfterRequest\x1a\x31.MeanProfileServiceDefinition.InsertLayerResponse\x12u\n\x0c\x41ppendLayers\x12\x31.MeanProfileServiceDefinition.AppendLayersRequest\x1a\x32.MeanProfileServiceDefinition.AppendLayersResponse\x12r\n\x0b\x44\x65leteLayer\x12\x30.MeanProfileServiceDefinition.DeleteLayerRequest\x1a\x31.MeanProfileServiceDefinition.DeleteLayerResponse\x12x\n\x0e\x44uplicateLayer\x12\x33.MeanProfileServiceDefinition.DuplicateLayerRequest\x1a\x31.MeanProfileServiceDefinition.InsertLayerResponse\x12l\n\tMoveLayer\x12..MeanProfileServiceDefinition.MoveLayerRequest\x1a/.MeanProfileServiceDefinition.MoveLayerResponseb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'MeanProfileService_pb2', _globals)
|
|
22
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
23
|
+
DESCRIPTOR._loaded_options = None
|
|
24
|
+
_globals['_GETMEANPROFILEREQUEST']._serialized_start=58
|
|
25
|
+
_globals['_GETMEANPROFILEREQUEST']._serialized_end=98
|
|
26
|
+
_globals['_GETMEANPROFILERESPONSE']._serialized_start=101
|
|
27
|
+
_globals['_GETMEANPROFILERESPONSE']._serialized_end=229
|
|
28
|
+
_globals['_LISTSOILLAYERSREQUEST']._serialized_start=231
|
|
29
|
+
_globals['_LISTSOILLAYERSREQUEST']._serialized_end=271
|
|
30
|
+
_globals['_SOILLAYERENTRY']._serialized_start=273
|
|
31
|
+
_globals['_SOILLAYERENTRY']._serialized_end=360
|
|
32
|
+
_globals['_LISTSOILLAYERSRESPONSE']._serialized_start=362
|
|
33
|
+
_globals['_LISTSOILLAYERSRESPONSE']._serialized_end=487
|
|
34
|
+
_globals['_GETBEDROCKLAYERREQUEST']._serialized_start=489
|
|
35
|
+
_globals['_GETBEDROCKLAYERREQUEST']._serialized_end=530
|
|
36
|
+
_globals['_BEDROCKLAYERENTRY']._serialized_start=532
|
|
37
|
+
_globals['_BEDROCKLAYERENTRY']._serialized_end=601
|
|
38
|
+
_globals['_GETBEDROCKLAYERRESPONSE']._serialized_start=604
|
|
39
|
+
_globals['_GETBEDROCKLAYERRESPONSE']._serialized_end=734
|
|
40
|
+
_globals['_INSERTLAYERBEFOREREQUEST']._serialized_start=736
|
|
41
|
+
_globals['_INSERTLAYERBEFOREREQUEST']._serialized_end=805
|
|
42
|
+
_globals['_INSERTLAYERAFTERREQUEST']._serialized_start=807
|
|
43
|
+
_globals['_INSERTLAYERAFTERREQUEST']._serialized_end=875
|
|
44
|
+
_globals['_INSERTLAYERRESPONSE']._serialized_start=877
|
|
45
|
+
_globals['_INSERTLAYERRESPONSE']._serialized_end=975
|
|
46
|
+
_globals['_APPENDLAYERSREQUEST']._serialized_start=977
|
|
47
|
+
_globals['_APPENDLAYERSREQUEST']._serialized_end=1030
|
|
48
|
+
_globals['_APPENDLAYERSRESPONSE']._serialized_start=1032
|
|
49
|
+
_globals['_APPENDLAYERSRESPONSE']._serialized_end=1111
|
|
50
|
+
_globals['_DELETELAYERREQUEST']._serialized_start=1113
|
|
51
|
+
_globals['_DELETELAYERREQUEST']._serialized_end=1167
|
|
52
|
+
_globals['_DELETELAYERRESPONSE']._serialized_start=1169
|
|
53
|
+
_globals['_DELETELAYERRESPONSE']._serialized_end=1253
|
|
54
|
+
_globals['_DUPLICATELAYERREQUEST']._serialized_start=1255
|
|
55
|
+
_globals['_DUPLICATELAYERREQUEST']._serialized_end=1339
|
|
56
|
+
_globals['_MOVELAYERREQUEST']._serialized_start=1341
|
|
57
|
+
_globals['_MOVELAYERREQUEST']._serialized_end=1417
|
|
58
|
+
_globals['_MOVELAYERRESPONSE']._serialized_start=1419
|
|
59
|
+
_globals['_MOVELAYERRESPONSE']._serialized_end=1515
|
|
60
|
+
_globals['_MEANPROFILESERVICE']._serialized_start=1518
|
|
61
|
+
_globals['_MEANPROFILESERVICE']._serialized_end=2637
|
|
62
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
from google.protobuf.internal import containers as _containers
|
|
2
|
+
from google.protobuf import descriptor as _descriptor
|
|
3
|
+
from google.protobuf import message as _message
|
|
4
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
5
|
+
|
|
6
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
7
|
+
|
|
8
|
+
class GetMeanProfileRequest(_message.Message):
|
|
9
|
+
__slots__ = ("modelID",)
|
|
10
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
11
|
+
modelID: str
|
|
12
|
+
def __init__(self, modelID: _Optional[str] = ...) -> None: ...
|
|
13
|
+
|
|
14
|
+
class GetMeanProfileResponse(_message.Message):
|
|
15
|
+
__slots__ = ("success", "errorMessage", "profileName", "layerCount", "totalThickness")
|
|
16
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
17
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
18
|
+
PROFILENAME_FIELD_NUMBER: _ClassVar[int]
|
|
19
|
+
LAYERCOUNT_FIELD_NUMBER: _ClassVar[int]
|
|
20
|
+
TOTALTHICKNESS_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
success: bool
|
|
22
|
+
errorMessage: str
|
|
23
|
+
profileName: str
|
|
24
|
+
layerCount: int
|
|
25
|
+
totalThickness: float
|
|
26
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., profileName: _Optional[str] = ..., layerCount: _Optional[int] = ..., totalThickness: _Optional[float] = ...) -> None: ...
|
|
27
|
+
|
|
28
|
+
class ListSoilLayersRequest(_message.Message):
|
|
29
|
+
__slots__ = ("modelID",)
|
|
30
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
modelID: str
|
|
32
|
+
def __init__(self, modelID: _Optional[str] = ...) -> None: ...
|
|
33
|
+
|
|
34
|
+
class SoilLayerEntry(_message.Message):
|
|
35
|
+
__slots__ = ("layerID", "index1Based", "name", "thickness")
|
|
36
|
+
LAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
INDEX1BASED_FIELD_NUMBER: _ClassVar[int]
|
|
38
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
39
|
+
THICKNESS_FIELD_NUMBER: _ClassVar[int]
|
|
40
|
+
layerID: str
|
|
41
|
+
index1Based: int
|
|
42
|
+
name: str
|
|
43
|
+
thickness: float
|
|
44
|
+
def __init__(self, layerID: _Optional[str] = ..., index1Based: _Optional[int] = ..., name: _Optional[str] = ..., thickness: _Optional[float] = ...) -> None: ...
|
|
45
|
+
|
|
46
|
+
class ListSoilLayersResponse(_message.Message):
|
|
47
|
+
__slots__ = ("success", "errorMessage", "layers")
|
|
48
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
49
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
50
|
+
LAYERS_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
success: bool
|
|
52
|
+
errorMessage: str
|
|
53
|
+
layers: _containers.RepeatedCompositeFieldContainer[SoilLayerEntry]
|
|
54
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., layers: _Optional[_Iterable[_Union[SoilLayerEntry, _Mapping]]] = ...) -> None: ...
|
|
55
|
+
|
|
56
|
+
class GetBedrockLayerRequest(_message.Message):
|
|
57
|
+
__slots__ = ("modelID",)
|
|
58
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
59
|
+
modelID: str
|
|
60
|
+
def __init__(self, modelID: _Optional[str] = ...) -> None: ...
|
|
61
|
+
|
|
62
|
+
class BedrockLayerEntry(_message.Message):
|
|
63
|
+
__slots__ = ("layerID", "name", "thickness")
|
|
64
|
+
LAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
66
|
+
THICKNESS_FIELD_NUMBER: _ClassVar[int]
|
|
67
|
+
layerID: str
|
|
68
|
+
name: str
|
|
69
|
+
thickness: float
|
|
70
|
+
def __init__(self, layerID: _Optional[str] = ..., name: _Optional[str] = ..., thickness: _Optional[float] = ...) -> None: ...
|
|
71
|
+
|
|
72
|
+
class GetBedrockLayerResponse(_message.Message):
|
|
73
|
+
__slots__ = ("success", "errorMessage", "bedrock")
|
|
74
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
75
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
76
|
+
BEDROCK_FIELD_NUMBER: _ClassVar[int]
|
|
77
|
+
success: bool
|
|
78
|
+
errorMessage: str
|
|
79
|
+
bedrock: BedrockLayerEntry
|
|
80
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., bedrock: _Optional[_Union[BedrockLayerEntry, _Mapping]] = ...) -> None: ...
|
|
81
|
+
|
|
82
|
+
class InsertLayerBeforeRequest(_message.Message):
|
|
83
|
+
__slots__ = ("modelID", "referenceLayerID")
|
|
84
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
85
|
+
REFERENCELAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
86
|
+
modelID: str
|
|
87
|
+
referenceLayerID: str
|
|
88
|
+
def __init__(self, modelID: _Optional[str] = ..., referenceLayerID: _Optional[str] = ...) -> None: ...
|
|
89
|
+
|
|
90
|
+
class InsertLayerAfterRequest(_message.Message):
|
|
91
|
+
__slots__ = ("modelID", "referenceLayerID")
|
|
92
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
93
|
+
REFERENCELAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
94
|
+
modelID: str
|
|
95
|
+
referenceLayerID: str
|
|
96
|
+
def __init__(self, modelID: _Optional[str] = ..., referenceLayerID: _Optional[str] = ...) -> None: ...
|
|
97
|
+
|
|
98
|
+
class InsertLayerResponse(_message.Message):
|
|
99
|
+
__slots__ = ("success", "errorMessage", "layerID", "index1Based")
|
|
100
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
101
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
102
|
+
LAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
103
|
+
INDEX1BASED_FIELD_NUMBER: _ClassVar[int]
|
|
104
|
+
success: bool
|
|
105
|
+
errorMessage: str
|
|
106
|
+
layerID: str
|
|
107
|
+
index1Based: int
|
|
108
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., layerID: _Optional[str] = ..., index1Based: _Optional[int] = ...) -> None: ...
|
|
109
|
+
|
|
110
|
+
class AppendLayersRequest(_message.Message):
|
|
111
|
+
__slots__ = ("modelID", "count")
|
|
112
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
113
|
+
COUNT_FIELD_NUMBER: _ClassVar[int]
|
|
114
|
+
modelID: str
|
|
115
|
+
count: int
|
|
116
|
+
def __init__(self, modelID: _Optional[str] = ..., count: _Optional[int] = ...) -> None: ...
|
|
117
|
+
|
|
118
|
+
class AppendLayersResponse(_message.Message):
|
|
119
|
+
__slots__ = ("success", "errorMessage", "layerIDs")
|
|
120
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
121
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
LAYERIDS_FIELD_NUMBER: _ClassVar[int]
|
|
123
|
+
success: bool
|
|
124
|
+
errorMessage: str
|
|
125
|
+
layerIDs: _containers.RepeatedScalarFieldContainer[str]
|
|
126
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., layerIDs: _Optional[_Iterable[str]] = ...) -> None: ...
|
|
127
|
+
|
|
128
|
+
class DeleteLayerRequest(_message.Message):
|
|
129
|
+
__slots__ = ("modelID", "layerID")
|
|
130
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
131
|
+
LAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
132
|
+
modelID: str
|
|
133
|
+
layerID: str
|
|
134
|
+
def __init__(self, modelID: _Optional[str] = ..., layerID: _Optional[str] = ...) -> None: ...
|
|
135
|
+
|
|
136
|
+
class DeleteLayerResponse(_message.Message):
|
|
137
|
+
__slots__ = ("success", "errorMessage", "deletedLayerID")
|
|
138
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
140
|
+
DELETEDLAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
141
|
+
success: bool
|
|
142
|
+
errorMessage: str
|
|
143
|
+
deletedLayerID: str
|
|
144
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., deletedLayerID: _Optional[str] = ...) -> None: ...
|
|
145
|
+
|
|
146
|
+
class DuplicateLayerRequest(_message.Message):
|
|
147
|
+
__slots__ = ("modelID", "sourceLayerID", "insertAfter")
|
|
148
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
149
|
+
SOURCELAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
150
|
+
INSERTAFTER_FIELD_NUMBER: _ClassVar[int]
|
|
151
|
+
modelID: str
|
|
152
|
+
sourceLayerID: str
|
|
153
|
+
insertAfter: bool
|
|
154
|
+
def __init__(self, modelID: _Optional[str] = ..., sourceLayerID: _Optional[str] = ..., insertAfter: bool = ...) -> None: ...
|
|
155
|
+
|
|
156
|
+
class MoveLayerRequest(_message.Message):
|
|
157
|
+
__slots__ = ("modelID", "layerID", "newIndex1Based")
|
|
158
|
+
MODELID_FIELD_NUMBER: _ClassVar[int]
|
|
159
|
+
LAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
160
|
+
NEWINDEX1BASED_FIELD_NUMBER: _ClassVar[int]
|
|
161
|
+
modelID: str
|
|
162
|
+
layerID: str
|
|
163
|
+
newIndex1Based: int
|
|
164
|
+
def __init__(self, modelID: _Optional[str] = ..., layerID: _Optional[str] = ..., newIndex1Based: _Optional[int] = ...) -> None: ...
|
|
165
|
+
|
|
166
|
+
class MoveLayerResponse(_message.Message):
|
|
167
|
+
__slots__ = ("success", "errorMessage", "layerID", "index1Based")
|
|
168
|
+
SUCCESS_FIELD_NUMBER: _ClassVar[int]
|
|
169
|
+
ERRORMESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
170
|
+
LAYERID_FIELD_NUMBER: _ClassVar[int]
|
|
171
|
+
INDEX1BASED_FIELD_NUMBER: _ClassVar[int]
|
|
172
|
+
success: bool
|
|
173
|
+
errorMessage: str
|
|
174
|
+
layerID: str
|
|
175
|
+
index1Based: int
|
|
176
|
+
def __init__(self, success: bool = ..., errorMessage: _Optional[str] = ..., layerID: _Optional[str] = ..., index1Based: _Optional[int] = ...) -> None: ...
|