luminarycloud 0.21.2__py3-none-any.whl → 0.22.1__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.
- luminarycloud/__init__.py +3 -1
- luminarycloud/_client/authentication_plugin.py +49 -0
- luminarycloud/_client/client.py +38 -8
- luminarycloud/_client/http_client.py +1 -1
- luminarycloud/_client/retry_interceptor.py +64 -2
- luminarycloud/_feature_flag.py +22 -0
- luminarycloud/_helpers/_create_simulation.py +7 -2
- luminarycloud/_helpers/download.py +11 -0
- luminarycloud/_helpers/proto_decorator.py +13 -5
- luminarycloud/_proto/api/v0/luminarycloud/feature_flag/feature_flag_pb2.py +55 -0
- luminarycloud/_proto/api/v0/luminarycloud/feature_flag/feature_flag_pb2.pyi +52 -0
- luminarycloud/_proto/api/v0/luminarycloud/feature_flag/feature_flag_pb2_grpc.py +72 -0
- luminarycloud/_proto/api/v0/luminarycloud/feature_flag/feature_flag_pb2_grpc.pyi +35 -0
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +132 -132
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +36 -8
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.py +74 -73
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.pyi +8 -1
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.py +53 -23
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.pyi +54 -1
- luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2.py +195 -0
- luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2.pyi +361 -0
- luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2_grpc.py +172 -0
- luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2_grpc.pyi +66 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.py +97 -61
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.pyi +68 -3
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2.py +33 -31
- luminarycloud/_proto/api/v0/luminarycloud/simulation_template/simulation_template_pb2.pyi +23 -2
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.py +88 -65
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.pyi +42 -0
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/base/base_pb2.py +7 -6
- luminarycloud/_proto/base/base_pb2.pyi +4 -0
- luminarycloud/_proto/cad/shape_pb2.py +39 -19
- luminarycloud/_proto/cad/shape_pb2.pyi +86 -34
- luminarycloud/_proto/client/simulation_pb2.py +3 -3
- luminarycloud/_proto/geometry/geometry_pb2.py +77 -63
- luminarycloud/_proto/geometry/geometry_pb2.pyi +42 -3
- luminarycloud/_proto/hexmesh/hexmesh_pb2.py +22 -18
- luminarycloud/_proto/hexmesh/hexmesh_pb2.pyi +18 -2
- luminarycloud/_proto/physicsaiinferenceservice/physicsaiinferenceservice_pb2.py +30 -0
- luminarycloud/_proto/physicsaiinferenceservice/physicsaiinferenceservice_pb2.pyi +7 -0
- luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2.py +2 -2
- luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2_grpc.py +34 -0
- luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2_grpc.pyi +12 -0
- luminarycloud/enum/vis_enums.py +6 -0
- luminarycloud/feature_modification.py +32 -1
- luminarycloud/geometry.py +67 -7
- luminarycloud/geometry_version.py +4 -0
- luminarycloud/mesh.py +4 -0
- luminarycloud/meshing/mesh_generation_params.py +13 -14
- luminarycloud/meshing/sizing_strategy/sizing_strategies.py +1 -2
- luminarycloud/physics_ai/solution.py +4 -0
- luminarycloud/pipelines/api.py +99 -8
- luminarycloud/pipelines/core.py +12 -2
- luminarycloud/pipelines/stages.py +22 -9
- luminarycloud/project.py +5 -8
- luminarycloud/simulation.py +57 -0
- luminarycloud/types/vector3.py +1 -2
- luminarycloud/vis/data_extraction.py +7 -7
- luminarycloud/vis/interactive_report.py +163 -7
- luminarycloud/vis/report.py +113 -1
- luminarycloud/volume_selection.py +71 -7
- {luminarycloud-0.21.2.dist-info → luminarycloud-0.22.1.dist-info}/METADATA +1 -1
- {luminarycloud-0.21.2.dist-info → luminarycloud-0.22.1.dist-info}/RECORD +68 -58
- {luminarycloud-0.21.2.dist-info → luminarycloud-0.22.1.dist-info}/WHEEL +1 -1
- luminarycloud/pipeline_util/dictable.py +0 -27
|
@@ -77,6 +77,11 @@ class SimulationServiceStub(object):
|
|
|
77
77
|
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_simulation_dot_simulation__pb2.ListQueuedSimulationsRequest.SerializeToString,
|
|
78
78
|
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_simulation_dot_simulation__pb2.ListQueuedSimulationsResponse.FromString,
|
|
79
79
|
)
|
|
80
|
+
self.GetWorkflowIDs = channel.unary_unary(
|
|
81
|
+
'/luminary.proto.api.v0.luminarycloud.simulation.SimulationService/GetWorkflowIDs',
|
|
82
|
+
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_simulation_dot_simulation__pb2.GetWorkflowIDsRequest.SerializeToString,
|
|
83
|
+
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_simulation_dot_simulation__pb2.GetWorkflowIDsResponse.FromString,
|
|
84
|
+
)
|
|
80
85
|
|
|
81
86
|
|
|
82
87
|
class SimulationServiceServicer(object):
|
|
@@ -177,6 +182,13 @@ class SimulationServiceServicer(object):
|
|
|
177
182
|
context.set_details('Method not implemented!')
|
|
178
183
|
raise NotImplementedError('Method not implemented!')
|
|
179
184
|
|
|
185
|
+
def GetWorkflowIDs(self, request, context):
|
|
186
|
+
"""Returns the workflow IDs corresponding to simulation IDs.
|
|
187
|
+
"""
|
|
188
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
189
|
+
context.set_details('Method not implemented!')
|
|
190
|
+
raise NotImplementedError('Method not implemented!')
|
|
191
|
+
|
|
180
192
|
|
|
181
193
|
def add_SimulationServiceServicer_to_server(servicer, server):
|
|
182
194
|
rpc_method_handlers = {
|
|
@@ -240,6 +252,11 @@ def add_SimulationServiceServicer_to_server(servicer, server):
|
|
|
240
252
|
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_simulation_dot_simulation__pb2.ListQueuedSimulationsRequest.FromString,
|
|
241
253
|
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_simulation_dot_simulation__pb2.ListQueuedSimulationsResponse.SerializeToString,
|
|
242
254
|
),
|
|
255
|
+
'GetWorkflowIDs': grpc.unary_unary_rpc_method_handler(
|
|
256
|
+
servicer.GetWorkflowIDs,
|
|
257
|
+
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_simulation_dot_simulation__pb2.GetWorkflowIDsRequest.FromString,
|
|
258
|
+
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_simulation_dot_simulation__pb2.GetWorkflowIDsResponse.SerializeToString,
|
|
259
|
+
),
|
|
243
260
|
}
|
|
244
261
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
245
262
|
'luminary.proto.api.v0.luminarycloud.simulation.SimulationService', rpc_method_handlers)
|
|
@@ -454,3 +471,20 @@ class SimulationService(object):
|
|
|
454
471
|
proto_dot_api_dot_v0_dot_luminarycloud_dot_simulation_dot_simulation__pb2.ListQueuedSimulationsResponse.FromString,
|
|
455
472
|
options, channel_credentials,
|
|
456
473
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
474
|
+
|
|
475
|
+
@staticmethod
|
|
476
|
+
def GetWorkflowIDs(request,
|
|
477
|
+
target,
|
|
478
|
+
options=(),
|
|
479
|
+
channel_credentials=None,
|
|
480
|
+
call_credentials=None,
|
|
481
|
+
insecure=False,
|
|
482
|
+
compression=None,
|
|
483
|
+
wait_for_ready=None,
|
|
484
|
+
timeout=None,
|
|
485
|
+
metadata=None):
|
|
486
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.simulation.SimulationService/GetWorkflowIDs',
|
|
487
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_simulation_dot_simulation__pb2.GetWorkflowIDsRequest.SerializeToString,
|
|
488
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_simulation_dot_simulation__pb2.GetWorkflowIDsResponse.FromString,
|
|
489
|
+
options, channel_credentials,
|
|
490
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -88,6 +88,11 @@ class SimulationServiceStub:
|
|
|
88
88
|
"""Lists simulations in the queue for the account of the requester. Only
|
|
89
89
|
available for accounts with unlimited billing type.
|
|
90
90
|
"""
|
|
91
|
+
GetWorkflowIDs: grpc.UnaryUnaryMultiCallable[
|
|
92
|
+
luminarycloud._proto.api.v0.luminarycloud.simulation.simulation_pb2.GetWorkflowIDsRequest,
|
|
93
|
+
luminarycloud._proto.api.v0.luminarycloud.simulation.simulation_pb2.GetWorkflowIDsResponse,
|
|
94
|
+
]
|
|
95
|
+
"""Returns the workflow IDs corresponding to simulation IDs."""
|
|
91
96
|
|
|
92
97
|
class SimulationServiceServicer(metaclass=abc.ABCMeta):
|
|
93
98
|
"""Provides APIs for running simulations and retrieve outputs."""
|
|
@@ -192,5 +197,12 @@ class SimulationServiceServicer(metaclass=abc.ABCMeta):
|
|
|
192
197
|
"""Lists simulations in the queue for the account of the requester. Only
|
|
193
198
|
available for accounts with unlimited billing type.
|
|
194
199
|
"""
|
|
200
|
+
@abc.abstractmethod
|
|
201
|
+
def GetWorkflowIDs(
|
|
202
|
+
self,
|
|
203
|
+
request: luminarycloud._proto.api.v0.luminarycloud.simulation.simulation_pb2.GetWorkflowIDsRequest,
|
|
204
|
+
context: grpc.ServicerContext,
|
|
205
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.simulation.simulation_pb2.GetWorkflowIDsResponse:
|
|
206
|
+
"""Returns the workflow IDs corresponding to simulation IDs."""
|
|
195
207
|
|
|
196
208
|
def add_SimulationServiceServicer_to_server(servicer: SimulationServiceServicer, server: grpc.Server) -> None: ...
|
|
@@ -16,9 +16,11 @@ from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
|
16
16
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
17
17
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
18
18
|
from luminarycloud._proto.client import simulation_pb2 as proto_dot_client_dot_simulation__pb2
|
|
19
|
+
from luminarycloud._proto.frontend.output import output_pb2 as proto_dot_frontend_dot_output_dot_output__pb2
|
|
20
|
+
from luminarycloud._proto.api.v0.luminarycloud.stopping_condition import stopping_condition_pb2 as proto_dot_api_dot_v0_dot_luminarycloud_dot_stopping__condition_dot_stopping__condition__pb2
|
|
19
21
|
|
|
20
22
|
|
|
21
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nHproto/api/v0/luminarycloud/simulation_template/simulation_template.proto\x12\x37luminary.proto.api.v0.luminarycloud.simulation_template\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1dproto/client/simulation.proto\"\
|
|
23
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nHproto/api/v0/luminarycloud/simulation_template/simulation_template.proto\x12\x37luminary.proto.api.v0.luminarycloud.simulation_template\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1dproto/client/simulation.proto\x1a\"proto/frontend/output/output.proto\x1a\x46proto/api/v0/luminarycloud/stopping_condition/stopping_condition.proto\"\x84\x04\n\x12SimulationTemplate\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12:\n\nparameters\x18\x03 \x01(\x0b\x32&.luminary.proto.client.SimulationParam\x12/\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nproject_id\x18\x06 \x01(\t\x12\x46\n\x12output_definitions\x18\x07 \x03(\x0b\x32*.luminary.proto.frontend.output.OutputNode\x12\x66\n\x13stopping_conditions\x18\x08 \x03(\x0b\x32I.luminary.proto.api.v0.luminarycloud.stopping_condition.StoppingCondition\x12r\n\x19\x62\x61sic_stopping_conditions\x18\t \x01(\x0b\x32O.luminary.proto.api.v0.luminarycloud.stopping_condition.BasicStoppingConditions\"\xa5\x01\n\x1f\x43reateSimulationTemplateRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12:\n\nparameters\x18\x03 \x01(\x0b\x32&.luminary.proto.client.SimulationParam\x12\x16\n\tcopy_from\x18\x04 \x01(\tH\x00\x88\x01\x01\x42\x0c\n\n_copy_from\"\x8c\x01\n CreateSimulationTemplateResponse\x12h\n\x13simulation_template\x18\x01 \x01(\x0b\x32K.luminary.proto.api.v0.luminarycloud.simulation_template.SimulationTemplate\"4\n\x1eListSimulationTemplatesRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\"\x8c\x01\n\x1fListSimulationTemplatesResponse\x12i\n\x14simulation_templates\x18\x01 \x03(\x0b\x32K.luminary.proto.api.v0.luminarycloud.simulation_template.SimulationTemplate\"*\n\x1cGetSimulationTemplateRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\x89\x01\n\x1dGetSimulationTemplateResponse\x12h\n\x13simulation_template\x18\x01 \x01(\x0b\x32K.luminary.proto.api.v0.luminarycloud.simulation_template.SimulationTemplate\"\xbf\x01\n\x1fUpdateSimulationTemplateRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\x04name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12?\n\nparameters\x18\x03 \x01(\x0b\x32&.luminary.proto.client.SimulationParamH\x01\x88\x01\x01\x12\x16\n\tcopy_from\x18\x04 \x01(\tH\x02\x88\x01\x01\x42\x07\n\x05_nameB\r\n\x0b_parametersB\x0c\n\n_copy_from\"\x8c\x01\n UpdateSimulationTemplateResponse\x12h\n\x13simulation_template\x18\x01 \x01(\x0b\x32K.luminary.proto.api.v0.luminarycloud.simulation_template.SimulationTemplate\"-\n\x1f\x44\x65leteSimulationTemplateRequest\x12\n\n\x02id\x18\x01 \x01(\t\"/\n!ValidateSimulationTemplateRequest\x12\n\n\x02id\x18\x01 \x01(\t\"H\n\"ValidateSimulationTemplateResponse\x12\x10\n\x08is_valid\x18\x01 \x01(\x08\x12\x10\n\x08messages\x18\x02 \x03(\t\"/\n!SyncSimulationTemplateToUIRequest\x12\n\n\x02id\x18\x01 \x01(\t\"$\n\"SyncSimulationTemplateToUIResponse2\xe3\r\n\x19SimulationTemplateService\x12\x8a\x02\n\x18\x43reateSimulationTemplate\x12X.luminary.proto.api.v0.luminarycloud.simulation_template.CreateSimulationTemplateRequest\x1aY.luminary.proto.api.v0.luminarycloud.simulation_template.CreateSimulationTemplateResponse\"9\x82\xd3\xe4\x93\x02\x33\"./v0/projects/{project_id}/simulation_templates:\x01*\x12\x84\x02\n\x17ListSimulationTemplates\x12W.luminary.proto.api.v0.luminarycloud.simulation_template.ListSimulationTemplatesRequest\x1aX.luminary.proto.api.v0.luminarycloud.simulation_template.ListSimulationTemplatesResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./v0/projects/{project_id}/simulation_templates\x12\xed\x01\n\x15GetSimulationTemplate\x12U.luminary.proto.api.v0.luminarycloud.simulation_template.GetSimulationTemplateRequest\x1aV.luminary.proto.api.v0.luminarycloud.simulation_template.GetSimulationTemplateResponse\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/v0/simulation_templates/{id}\x12\xf9\x01\n\x18UpdateSimulationTemplate\x12X.luminary.proto.api.v0.luminarycloud.simulation_template.UpdateSimulationTemplateRequest\x1aY.luminary.proto.api.v0.luminarycloud.simulation_template.UpdateSimulationTemplateResponse\"(\x82\xd3\xe4\x93\x02\"2\x1d/v0/simulation_templates/{id}:\x01*\x12\xb3\x01\n\x18\x44\x65leteSimulationTemplate\x12X.luminary.proto.api.v0.luminarycloud.simulation_template.DeleteSimulationTemplateRequest\x1a\x16.google.protobuf.Empty\"%\x82\xd3\xe4\x93\x02\x1f*\x1d/v0/simulation_templates/{id}\x12\x85\x02\n\x1aValidateSimulationTemplate\x12Z.luminary.proto.api.v0.luminarycloud.simulation_template.ValidateSimulationTemplateRequest\x1a[.luminary.proto.api.v0.luminarycloud.simulation_template.ValidateSimulationTemplateResponse\".\x82\xd3\xe4\x93\x02(\x12&/v0/simulation_templates/{id}:validate\x12\x87\x02\n\x1aSyncSimulationTemplateToUI\x12Z.luminary.proto.api.v0.luminarycloud.simulation_template.SyncSimulationTemplateToUIRequest\x1a[.luminary.proto.api.v0.luminarycloud.simulation_template.SyncSimulationTemplateToUIResponse\"0\x82\xd3\xe4\x93\x02*\"(/v0/simulation_templates/{id}:sync_to_uiBGZEluminarycloud.com/core/proto/api/v0/luminarycloud/simulation_templateb\x06proto3')
|
|
22
24
|
|
|
23
25
|
|
|
24
26
|
|
|
@@ -153,34 +155,34 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
153
155
|
_SIMULATIONTEMPLATESERVICE.methods_by_name['ValidateSimulationTemplate']._serialized_options = b'\202\323\344\223\002(\022&/v0/simulation_templates/{id}:validate'
|
|
154
156
|
_SIMULATIONTEMPLATESERVICE.methods_by_name['SyncSimulationTemplateToUI']._options = None
|
|
155
157
|
_SIMULATIONTEMPLATESERVICE.methods_by_name['SyncSimulationTemplateToUI']._serialized_options = b'\202\323\344\223\002*\"(/v0/simulation_templates/{id}:sync_to_ui'
|
|
156
|
-
_SIMULATIONTEMPLATE._serialized_start=
|
|
157
|
-
_SIMULATIONTEMPLATE._serialized_end=
|
|
158
|
-
_CREATESIMULATIONTEMPLATEREQUEST._serialized_start=
|
|
159
|
-
_CREATESIMULATIONTEMPLATEREQUEST._serialized_end=
|
|
160
|
-
_CREATESIMULATIONTEMPLATERESPONSE._serialized_start=
|
|
161
|
-
_CREATESIMULATIONTEMPLATERESPONSE._serialized_end=
|
|
162
|
-
_LISTSIMULATIONTEMPLATESREQUEST._serialized_start=
|
|
163
|
-
_LISTSIMULATIONTEMPLATESREQUEST._serialized_end=
|
|
164
|
-
_LISTSIMULATIONTEMPLATESRESPONSE._serialized_start=
|
|
165
|
-
_LISTSIMULATIONTEMPLATESRESPONSE._serialized_end=
|
|
166
|
-
_GETSIMULATIONTEMPLATEREQUEST._serialized_start=
|
|
167
|
-
_GETSIMULATIONTEMPLATEREQUEST._serialized_end=
|
|
168
|
-
_GETSIMULATIONTEMPLATERESPONSE._serialized_start=
|
|
169
|
-
_GETSIMULATIONTEMPLATERESPONSE._serialized_end=
|
|
170
|
-
_UPDATESIMULATIONTEMPLATEREQUEST._serialized_start=
|
|
171
|
-
_UPDATESIMULATIONTEMPLATEREQUEST._serialized_end=
|
|
172
|
-
_UPDATESIMULATIONTEMPLATERESPONSE._serialized_start=
|
|
173
|
-
_UPDATESIMULATIONTEMPLATERESPONSE._serialized_end=
|
|
174
|
-
_DELETESIMULATIONTEMPLATEREQUEST._serialized_start=
|
|
175
|
-
_DELETESIMULATIONTEMPLATEREQUEST._serialized_end=
|
|
176
|
-
_VALIDATESIMULATIONTEMPLATEREQUEST._serialized_start=
|
|
177
|
-
_VALIDATESIMULATIONTEMPLATEREQUEST._serialized_end=
|
|
178
|
-
_VALIDATESIMULATIONTEMPLATERESPONSE._serialized_start=
|
|
179
|
-
_VALIDATESIMULATIONTEMPLATERESPONSE._serialized_end=
|
|
180
|
-
_SYNCSIMULATIONTEMPLATETOUIREQUEST._serialized_start=
|
|
181
|
-
_SYNCSIMULATIONTEMPLATETOUIREQUEST._serialized_end=
|
|
182
|
-
_SYNCSIMULATIONTEMPLATETOUIRESPONSE._serialized_start=
|
|
183
|
-
_SYNCSIMULATIONTEMPLATETOUIRESPONSE._serialized_end=
|
|
184
|
-
_SIMULATIONTEMPLATESERVICE._serialized_start=
|
|
185
|
-
_SIMULATIONTEMPLATESERVICE._serialized_end=
|
|
158
|
+
_SIMULATIONTEMPLATE._serialized_start=365
|
|
159
|
+
_SIMULATIONTEMPLATE._serialized_end=881
|
|
160
|
+
_CREATESIMULATIONTEMPLATEREQUEST._serialized_start=884
|
|
161
|
+
_CREATESIMULATIONTEMPLATEREQUEST._serialized_end=1049
|
|
162
|
+
_CREATESIMULATIONTEMPLATERESPONSE._serialized_start=1052
|
|
163
|
+
_CREATESIMULATIONTEMPLATERESPONSE._serialized_end=1192
|
|
164
|
+
_LISTSIMULATIONTEMPLATESREQUEST._serialized_start=1194
|
|
165
|
+
_LISTSIMULATIONTEMPLATESREQUEST._serialized_end=1246
|
|
166
|
+
_LISTSIMULATIONTEMPLATESRESPONSE._serialized_start=1249
|
|
167
|
+
_LISTSIMULATIONTEMPLATESRESPONSE._serialized_end=1389
|
|
168
|
+
_GETSIMULATIONTEMPLATEREQUEST._serialized_start=1391
|
|
169
|
+
_GETSIMULATIONTEMPLATEREQUEST._serialized_end=1433
|
|
170
|
+
_GETSIMULATIONTEMPLATERESPONSE._serialized_start=1436
|
|
171
|
+
_GETSIMULATIONTEMPLATERESPONSE._serialized_end=1573
|
|
172
|
+
_UPDATESIMULATIONTEMPLATEREQUEST._serialized_start=1576
|
|
173
|
+
_UPDATESIMULATIONTEMPLATEREQUEST._serialized_end=1767
|
|
174
|
+
_UPDATESIMULATIONTEMPLATERESPONSE._serialized_start=1770
|
|
175
|
+
_UPDATESIMULATIONTEMPLATERESPONSE._serialized_end=1910
|
|
176
|
+
_DELETESIMULATIONTEMPLATEREQUEST._serialized_start=1912
|
|
177
|
+
_DELETESIMULATIONTEMPLATEREQUEST._serialized_end=1957
|
|
178
|
+
_VALIDATESIMULATIONTEMPLATEREQUEST._serialized_start=1959
|
|
179
|
+
_VALIDATESIMULATIONTEMPLATEREQUEST._serialized_end=2006
|
|
180
|
+
_VALIDATESIMULATIONTEMPLATERESPONSE._serialized_start=2008
|
|
181
|
+
_VALIDATESIMULATIONTEMPLATERESPONSE._serialized_end=2080
|
|
182
|
+
_SYNCSIMULATIONTEMPLATETOUIREQUEST._serialized_start=2082
|
|
183
|
+
_SYNCSIMULATIONTEMPLATETOUIREQUEST._serialized_end=2129
|
|
184
|
+
_SYNCSIMULATIONTEMPLATETOUIRESPONSE._serialized_start=2131
|
|
185
|
+
_SYNCSIMULATIONTEMPLATETOUIRESPONSE._serialized_end=2167
|
|
186
|
+
_SIMULATIONTEMPLATESERVICE._serialized_start=2170
|
|
187
|
+
_SIMULATIONTEMPLATESERVICE._serialized_end=3933
|
|
186
188
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -8,7 +8,9 @@ import google.protobuf.descriptor
|
|
|
8
8
|
import google.protobuf.internal.containers
|
|
9
9
|
import google.protobuf.message
|
|
10
10
|
import google.protobuf.timestamp_pb2
|
|
11
|
+
import luminarycloud._proto.api.v0.luminarycloud.stopping_condition.stopping_condition_pb2
|
|
11
12
|
import luminarycloud._proto.client.simulation_pb2
|
|
13
|
+
import luminarycloud._proto.frontend.output.output_pb2
|
|
12
14
|
import sys
|
|
13
15
|
import typing
|
|
14
16
|
|
|
@@ -30,6 +32,9 @@ class SimulationTemplate(google.protobuf.message.Message):
|
|
|
30
32
|
CREATE_TIME_FIELD_NUMBER: builtins.int
|
|
31
33
|
UPDATE_TIME_FIELD_NUMBER: builtins.int
|
|
32
34
|
PROJECT_ID_FIELD_NUMBER: builtins.int
|
|
35
|
+
OUTPUT_DEFINITIONS_FIELD_NUMBER: builtins.int
|
|
36
|
+
STOPPING_CONDITIONS_FIELD_NUMBER: builtins.int
|
|
37
|
+
BASIC_STOPPING_CONDITIONS_FIELD_NUMBER: builtins.int
|
|
33
38
|
id: builtins.str
|
|
34
39
|
"""Required. The unique identifier for the resource."""
|
|
35
40
|
name: builtins.str
|
|
@@ -47,6 +52,19 @@ class SimulationTemplate(google.protobuf.message.Message):
|
|
|
47
52
|
"""Output only. The timestamp when the resource was last updated."""
|
|
48
53
|
project_id: builtins.str
|
|
49
54
|
"""Required. The project this sim template belongs to."""
|
|
55
|
+
@property
|
|
56
|
+
def output_definitions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[luminarycloud._proto.frontend.output.output_pb2.OutputNode]:
|
|
57
|
+
"""A list of this simulation template's output definitions. Order of output definitions is
|
|
58
|
+
unspecified.
|
|
59
|
+
"""
|
|
60
|
+
@property
|
|
61
|
+
def stopping_conditions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[luminarycloud._proto.api.v0.luminarycloud.stopping_condition.stopping_condition_pb2.StoppingCondition]:
|
|
62
|
+
"""A list of this simulation template's stopping conditions. Order of stopping conditions is
|
|
63
|
+
unspecified.
|
|
64
|
+
"""
|
|
65
|
+
@property
|
|
66
|
+
def basic_stopping_conditions(self) -> luminarycloud._proto.api.v0.luminarycloud.stopping_condition.stopping_condition_pb2.BasicStoppingConditions:
|
|
67
|
+
"""This simulation template's basic stopping conditions."""
|
|
50
68
|
def __init__(
|
|
51
69
|
self,
|
|
52
70
|
*,
|
|
@@ -56,9 +74,12 @@ class SimulationTemplate(google.protobuf.message.Message):
|
|
|
56
74
|
create_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
57
75
|
update_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
58
76
|
project_id: builtins.str = ...,
|
|
77
|
+
output_definitions: collections.abc.Iterable[luminarycloud._proto.frontend.output.output_pb2.OutputNode] | None = ...,
|
|
78
|
+
stopping_conditions: collections.abc.Iterable[luminarycloud._proto.api.v0.luminarycloud.stopping_condition.stopping_condition_pb2.StoppingCondition] | None = ...,
|
|
79
|
+
basic_stopping_conditions: luminarycloud._proto.api.v0.luminarycloud.stopping_condition.stopping_condition_pb2.BasicStoppingConditions | None = ...,
|
|
59
80
|
) -> None: ...
|
|
60
|
-
def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "parameters", b"parameters", "update_time", b"update_time"]) -> builtins.bool: ...
|
|
61
|
-
def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "id", b"id", "name", b"name", "parameters", b"parameters", "project_id", b"project_id", "update_time", b"update_time"]) -> None: ...
|
|
81
|
+
def HasField(self, field_name: typing_extensions.Literal["basic_stopping_conditions", b"basic_stopping_conditions", "create_time", b"create_time", "parameters", b"parameters", "update_time", b"update_time"]) -> builtins.bool: ...
|
|
82
|
+
def ClearField(self, field_name: typing_extensions.Literal["basic_stopping_conditions", b"basic_stopping_conditions", "create_time", b"create_time", "id", b"id", "name", b"name", "output_definitions", b"output_definitions", "parameters", b"parameters", "project_id", b"project_id", "stopping_conditions", b"stopping_conditions", "update_time", b"update_time"]) -> None: ...
|
|
62
83
|
|
|
63
84
|
global___SimulationTemplate = SimulationTemplate
|
|
64
85
|
|
|
@@ -13,11 +13,12 @@ from google.protobuf import symbol_database as _symbol_database
|
|
|
13
13
|
_sym_db = _symbol_database.Default()
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
from luminarycloud._proto.api.v0.luminarycloud.inference import inference_pb2 as proto_dot_api_dot_v0_dot_luminarycloud_dot_inference_dot_inference__pb2
|
|
16
17
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
17
18
|
from luminarycloud._proto.ratelimit import ratelimit_pb2 as proto_dot_ratelimit_dot_ratelimit__pb2
|
|
18
19
|
|
|
19
20
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFproto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape.proto\x12\x41luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape\x1a\x1cgoogle/api/annotations.proto\x1a\x1fproto/ratelimit/ratelimit.proto\" \n\x1eGetAuthenticationStatusRequest\"3\n\x1cGetAuthenticationStatusReply\x12\x13\n\x0b\x61uth_active\x18\x01 \x01(\x08\"m\n\x0bOnshapePath\x12\x16\n\x0e\x63ompany_prefix\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x02 \x01(\t\x12\x0e\n\x06w_or_v\x18\x03 \x01(\t\x12\r\n\x05wv_id\x18\x04 \x01(\t\x12\x12\n\nelement_id\x18\x05 \x01(\t\"e\n\x0fOnshapeVariable\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x12\n\nexpression\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\">\n\x12OnshapeCompanyInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06prefix\x18\x03 \x01(\t\"`\n\x16OnshapeDocumentVersion\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"b\n\x18OnshapeDocumentWorkspace\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"\xdd\x02\n\x0fOnshapeDocument\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12k\n\x08versions\x18\x04 \x03(\x0b\x32Y.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentVersion\x12o\n\nworkspaces\x18\x05 \x03(\x0b\x32[.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentWorkspace\x12\x15\n\rmodified_time\x18\x06 \x01(\x03\x12\x15\n\rcreation_time\x18\x07 \x01(\x03\x42\x0c\n\n_thumbnail\"\x83\x01\n\x13OnshapeDocumentOnly\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\rmodified_time\x18\x04 \x01(\x03\x12\x15\n\rcreation_time\x18\x05 \x01(\x03\x42\x0c\n\n_thumbnail\"m\n\x14ListDocumentsRequest\x12\x11\n\tnext_page\x18\x01 \x01(\t\x12\x15\n\rprevious_page\x18\x02 \x01(\t\x12\x13\n\x0bsearch_term\x18\x04 \x01(\t\x12\x16\n\x0e\x63ompany_prefix\x18\x03 \x01(\t\"\xa9\x01\n\x12ListDocumentsReply\x12i\n\tdocuments\x18\x01 \x03(\x0b\x32V.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentOnly\x12\x11\n\tnext_page\x18\x02 \x01(\t\x12\x15\n\rprevious_page\x18\x03 \x01(\t\"\x80\x01\n ListWorkspacesAndVersionsRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\xfe\x01\n\x1eListWorkspacesAndVersionsReply\x12o\n\nworkspaces\x18\x01 \x03(\x0b\x32[.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentWorkspace\x12k\n\x08versions\x18\x02 \x03(\x0b\x32Y.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentVersion\"p\n,ListDocumentsWithWorkspaceAndVersionsRequest\x12\x11\n\tnext_page\x18\x01 \x01(\t\x12\x15\n\rprevious_page\x18\x02 \x01(\t\x12\x16\n\x0e\x63ompany_prefix\x18\x03 \x01(\t\"\xbd\x01\n*ListDocumentsWithWorkspaceAndVersionsReply\x12\x65\n\tdocuments\x18\x01 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocument\x12\x11\n\tnext_page\x18\x02 \x01(\t\x12\x15\n\rprevious_page\x18\x03 \x01(\t\"\xb5\x01\n\x0eOnshapeElement\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x63\n\x04type\x18\x03 \x01(\x0e\x32U.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeElementType\x12\x16\n\tthumbnail\x18\x04 \x01(\x0cH\x00\x88\x01\x01\x42\x0c\n\n_thumbnail\"\x82\x01\n\"ListImportablesForSelectionRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\x87\x01\n ListImportablesForSelectionReply\x12\x63\n\x08\x65lements\x18\x01 \x03(\x0b\x32Q.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeElement\"}\n\x1dListPartsForImportableRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\xbd\x01\n\x0bOnshapePart\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x65\n\x04type\x18\x04 \x01(\x0e\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePartTypeH\x01\x88\x01\x01\x42\x0c\n\n_thumbnailB\x07\n\x05_type\"|\n\x1bListPartsForImportableReply\x12]\n\x05parts\x18\x01 \x03(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePart\"\x1b\n\x19GetCompanyPrefixesRequest\"\x83\x01\n\x17GetCompanyPrefixesReply\x12h\n\tcompanies\x18\x01 \x03(\x0b\x32U.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeCompanyInfo\"u\n\x15\x46\x65tchVariablesRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\x82\x01\n\x13\x46\x65tchVariablesReply\x12\x65\n\tvariables\x18\x02 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeVariableJ\x04\x08\x01\x10\x02\"u\n\x15GetElementNameRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"#\n\x13GetElementNameReply\x12\x0c\n\x04name\x18\x01 \x01(\t\"0\n\x15GetFeatureNameRequest\x12\x17\n\x0fweb_geometry_id\x18\x01 \x01(\t\"*\n\x13GetFeatureNameReply\x12\x13\n\x0b\x66\x65\x61tureName\x18\x01 \x01(\t*3\n\x12OnshapeElementType\x12\x0f\n\x0bPART_STUDIO\x10\x00\x12\x0c\n\x08\x41SSEMBLY\x10\x01*W\n\x0fOnshapePartType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05SHEET\x10\x01\x12\x08\n\x04WIRE\x10\x02\x12\r\n\tCOMPOSITE\x10\x03\x12\x08\n\x04MESH\x10\x04\x12\t\n\x05SOLID\x10\x05\x32\xaf\x14\n\x0eOnshapeService\x12\xa8\x02\n\x17GetAuthenticationStatus\x12\x61.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetAuthenticationStatusRequest\x1a_.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetAuthenticationStatusReply\"I\x82\xd3\xe4\x93\x02\x39\x12\x37/v0/thirdpartyintegration/onshape/authentication-status\x8a\xb5\x18\x06\x08<\x12\x02\x08\x01\x12\x8a\x02\n\x0e\x46\x65tchVariables\x12X.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.FetchVariablesRequest\x1aV.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.FetchVariablesReply\"F\x82\xd3\xe4\x93\x02\x36\"1/v0/thirdpartyintegration/onshape/fetch-variables:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xc6\x02\n%ListDocumentsWithWorkspaceAndVersions\x12o.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsWithWorkspaceAndVersionsRequest\x1am.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsWithWorkspaceAndVersionsReply\"=\x82\xd3\xe4\x93\x02-\x12+/v0/thirdpartyintegration/onshape/documents\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x83\x02\n\rListDocuments\x12W.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsRequest\x1aU.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsReply\"B\x82\xd3\xe4\x93\x02\x32\x12\x30/v0/thirdpartyintegration/onshape/documents-only\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xb0\x02\n\x19ListWorkspacesAndVersions\x12\x63.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListWorkspacesAndVersionsRequest\x1a\x61.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListWorkspacesAndVersionsReply\"K\x82\xd3\xe4\x93\x02;\x12\x39/v0/thirdpartyintegration/onshape/workspaces-and-versions\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xad\x02\n\x1bListImportablesForSelection\x12\x65.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListImportablesForSelectionRequest\x1a\x63.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListImportablesForSelectionReply\"B\x82\xd3\xe4\x93\x02\x32\"-/v0/thirdpartyintegration/onshape/importables:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x98\x02\n\x16ListPartsForImportable\x12`.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableRequest\x1a^.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableReply\"<\x82\xd3\xe4\x93\x02,\"\'/v0/thirdpartyintegration/onshape/parts:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x8d\x02\n\x12GetCompanyPrefixes\x12\\.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetCompanyPrefixesRequest\x1aZ.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetCompanyPrefixesReply\"=\x82\xd3\xe4\x93\x02-\x12+/v0/thirdpartyintegration/onshape/companies\x8a\xb5\x18\x06\x08<\x12\x02\x08\x01\x12\x87\x02\n\x0eGetElementName\x12X.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameRequest\x1aV.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameReply\"C\x82\xd3\xe4\x93\x02\x33\"./v0/thirdpartyintegration/onshape/element-name:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x42QZOluminarycloud.com/core/proto/api/v0/luminarycloud/thirdpartyintegration/onshapeb\x06proto3')
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFproto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape.proto\x12\x41luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape\x1a\x34proto/api/v0/luminarycloud/inference/inference.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fproto/ratelimit/ratelimit.proto\" \n\x1eGetAuthenticationStatusRequest\"3\n\x1cGetAuthenticationStatusReply\x12\x13\n\x0b\x61uth_active\x18\x01 \x01(\x08\"m\n\x0bOnshapePath\x12\x16\n\x0e\x63ompany_prefix\x18\x01 \x01(\t\x12\x13\n\x0b\x64ocument_id\x18\x02 \x01(\t\x12\x0e\n\x06w_or_v\x18\x03 \x01(\t\x12\r\n\x05wv_id\x18\x04 \x01(\t\x12\x12\n\nelement_id\x18\x05 \x01(\t\"e\n\x0fOnshapeVariable\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\r\n\x05value\x18\x03 \x01(\t\x12\x12\n\nexpression\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\">\n\x12OnshapeCompanyInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0e\n\x06prefix\x18\x03 \x01(\t\"`\n\x16OnshapeDocumentVersion\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"b\n\x18OnshapeDocumentWorkspace\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rmodified_time\x18\x03 \x01(\x03\x12\x15\n\rcreation_time\x18\x04 \x01(\x03\"\xdd\x02\n\x0fOnshapeDocument\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12k\n\x08versions\x18\x04 \x03(\x0b\x32Y.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentVersion\x12o\n\nworkspaces\x18\x05 \x03(\x0b\x32[.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentWorkspace\x12\x15\n\rmodified_time\x18\x06 \x01(\x03\x12\x15\n\rcreation_time\x18\x07 \x01(\x03\x42\x0c\n\n_thumbnail\"\x83\x01\n\x13OnshapeDocumentOnly\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x15\n\rmodified_time\x18\x04 \x01(\x03\x12\x15\n\rcreation_time\x18\x05 \x01(\x03\x42\x0c\n\n_thumbnail\"m\n\x14ListDocumentsRequest\x12\x11\n\tnext_page\x18\x01 \x01(\t\x12\x15\n\rprevious_page\x18\x02 \x01(\t\x12\x13\n\x0bsearch_term\x18\x04 \x01(\t\x12\x16\n\x0e\x63ompany_prefix\x18\x03 \x01(\t\"\xa9\x01\n\x12ListDocumentsReply\x12i\n\tdocuments\x18\x01 \x03(\x0b\x32V.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentOnly\x12\x11\n\tnext_page\x18\x02 \x01(\t\x12\x15\n\rprevious_page\x18\x03 \x01(\t\"\x80\x01\n ListWorkspacesAndVersionsRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\xfe\x01\n\x1eListWorkspacesAndVersionsReply\x12o\n\nworkspaces\x18\x01 \x03(\x0b\x32[.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentWorkspace\x12k\n\x08versions\x18\x02 \x03(\x0b\x32Y.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocumentVersion\"p\n,ListDocumentsWithWorkspaceAndVersionsRequest\x12\x11\n\tnext_page\x18\x01 \x01(\t\x12\x15\n\rprevious_page\x18\x02 \x01(\t\x12\x16\n\x0e\x63ompany_prefix\x18\x03 \x01(\t\"\xbd\x01\n*ListDocumentsWithWorkspaceAndVersionsReply\x12\x65\n\tdocuments\x18\x01 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeDocument\x12\x11\n\tnext_page\x18\x02 \x01(\t\x12\x15\n\rprevious_page\x18\x03 \x01(\t\"\xb5\x01\n\x0eOnshapeElement\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x63\n\x04type\x18\x03 \x01(\x0e\x32U.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeElementType\x12\x16\n\tthumbnail\x18\x04 \x01(\x0cH\x00\x88\x01\x01\x42\x0c\n\n_thumbnail\"\x82\x01\n\"ListImportablesForSelectionRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\x87\x01\n ListImportablesForSelectionReply\x12\x63\n\x08\x65lements\x18\x01 \x03(\x0b\x32Q.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeElement\"}\n\x1dListPartsForImportableRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\xbd\x01\n\x0bOnshapePart\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x16\n\tthumbnail\x18\x03 \x01(\x0cH\x00\x88\x01\x01\x12\x65\n\x04type\x18\x04 \x01(\x0e\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePartTypeH\x01\x88\x01\x01\x42\x0c\n\n_thumbnailB\x07\n\x05_type\"|\n\x1bListPartsForImportableReply\x12]\n\x05parts\x18\x01 \x03(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePart\"\x1b\n\x19GetCompanyPrefixesRequest\"\x83\x01\n\x17GetCompanyPrefixesReply\x12h\n\tcompanies\x18\x01 \x03(\x0b\x32U.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeCompanyInfo\"u\n\x15\x46\x65tchVariablesRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"\x82\x01\n\x13\x46\x65tchVariablesReply\x12\x65\n\tvariables\x18\x02 \x03(\x0b\x32R.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeVariableJ\x04\x08\x01\x10\x02\"u\n\x15GetElementNameRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\"#\n\x13GetElementNameReply\x12\x0c\n\x04name\x18\x01 \x01(\t\"0\n\x15GetFeatureNameRequest\x12\x17\n\x0fweb_geometry_id\x18\x01 \x01(\t\"*\n\x13GetFeatureNameReply\x12\x13\n\x0b\x66\x65\x61tureName\x18\x01 \x01(\t\"\xdf\x01\n\x13RunInferenceRequest\x12\\\n\x04path\x18\x01 \x01(\x0b\x32N.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapePath\x12j\n\x11inference_request\x18\x02 \x01(\x0b\x32O.luminary.proto.api.v0.luminarycloud.inference.CreateInferenceServiceJobRequest\"\x96\x01\n\x11RunInferenceReply\x12\x13\n\x0bstl_file_id\x18\x01 \x01(\t\x12l\n\x12inference_response\x18\x02 \x01(\x0b\x32P.luminary.proto.api.v0.luminarycloud.inference.CreateInferenceServiceJobResponse*3\n\x12OnshapeElementType\x12\x0f\n\x0bPART_STUDIO\x10\x00\x12\x0c\n\x08\x41SSEMBLY\x10\x01*W\n\x0fOnshapePartType\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05SHEET\x10\x01\x12\x08\n\x04WIRE\x10\x02\x12\r\n\tCOMPOSITE\x10\x03\x12\x08\n\x04MESH\x10\x04\x12\t\n\x05SOLID\x10\x05\x32\xb4\x16\n\x0eOnshapeService\x12\xa8\x02\n\x17GetAuthenticationStatus\x12\x61.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetAuthenticationStatusRequest\x1a_.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetAuthenticationStatusReply\"I\x82\xd3\xe4\x93\x02\x39\x12\x37/v0/thirdpartyintegration/onshape/authentication-status\x8a\xb5\x18\x06\x08<\x12\x02\x08\x01\x12\x8a\x02\n\x0e\x46\x65tchVariables\x12X.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.FetchVariablesRequest\x1aV.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.FetchVariablesReply\"F\x82\xd3\xe4\x93\x02\x36\"1/v0/thirdpartyintegration/onshape/fetch-variables:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xc6\x02\n%ListDocumentsWithWorkspaceAndVersions\x12o.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsWithWorkspaceAndVersionsRequest\x1am.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsWithWorkspaceAndVersionsReply\"=\x82\xd3\xe4\x93\x02-\x12+/v0/thirdpartyintegration/onshape/documents\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x83\x02\n\rListDocuments\x12W.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsRequest\x1aU.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListDocumentsReply\"B\x82\xd3\xe4\x93\x02\x32\x12\x30/v0/thirdpartyintegration/onshape/documents-only\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xb0\x02\n\x19ListWorkspacesAndVersions\x12\x63.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListWorkspacesAndVersionsRequest\x1a\x61.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListWorkspacesAndVersionsReply\"K\x82\xd3\xe4\x93\x02;\x12\x39/v0/thirdpartyintegration/onshape/workspaces-and-versions\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\xad\x02\n\x1bListImportablesForSelection\x12\x65.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListImportablesForSelectionRequest\x1a\x63.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListImportablesForSelectionReply\"B\x82\xd3\xe4\x93\x02\x32\"-/v0/thirdpartyintegration/onshape/importables:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x98\x02\n\x16ListPartsForImportable\x12`.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableRequest\x1a^.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.ListPartsForImportableReply\"<\x82\xd3\xe4\x93\x02,\"\'/v0/thirdpartyintegration/onshape/parts:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x8d\x02\n\x12GetCompanyPrefixes\x12\\.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetCompanyPrefixesRequest\x1aZ.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetCompanyPrefixesReply\"=\x82\xd3\xe4\x93\x02-\x12+/v0/thirdpartyintegration/onshape/companies\x8a\xb5\x18\x06\x08<\x12\x02\x08\x01\x12\x87\x02\n\x0eGetElementName\x12X.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameRequest\x1aV.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.GetElementNameReply\"C\x82\xd3\xe4\x93\x02\x33\"./v0/thirdpartyintegration/onshape/element-name:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x12\x82\x02\n\x0cRunInference\x12V.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.RunInferenceRequest\x1aT.luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.RunInferenceReply\"D\x82\xd3\xe4\x93\x02\x34\"//v0/thirdpartyintegration/onshape/run-inference:\x01*\x8a\xb5\x18\x06\x08\n\x12\x02\x08\x05\x42QZOluminarycloud.com/core/proto/api/v0/luminarycloud/thirdpartyintegration/onshapeb\x06proto3')
|
|
21
22
|
|
|
22
23
|
_ONSHAPEELEMENTTYPE = DESCRIPTOR.enum_types_by_name['OnshapeElementType']
|
|
23
24
|
OnshapeElementType = enum_type_wrapper.EnumTypeWrapper(_ONSHAPEELEMENTTYPE)
|
|
@@ -62,6 +63,8 @@ _GETELEMENTNAMEREQUEST = DESCRIPTOR.message_types_by_name['GetElementNameRequest
|
|
|
62
63
|
_GETELEMENTNAMEREPLY = DESCRIPTOR.message_types_by_name['GetElementNameReply']
|
|
63
64
|
_GETFEATURENAMEREQUEST = DESCRIPTOR.message_types_by_name['GetFeatureNameRequest']
|
|
64
65
|
_GETFEATURENAMEREPLY = DESCRIPTOR.message_types_by_name['GetFeatureNameReply']
|
|
66
|
+
_RUNINFERENCEREQUEST = DESCRIPTOR.message_types_by_name['RunInferenceRequest']
|
|
67
|
+
_RUNINFERENCEREPLY = DESCRIPTOR.message_types_by_name['RunInferenceReply']
|
|
65
68
|
GetAuthenticationStatusRequest = _reflection.GeneratedProtocolMessageType('GetAuthenticationStatusRequest', (_message.Message,), {
|
|
66
69
|
'DESCRIPTOR' : _GETAUTHENTICATIONSTATUSREQUEST,
|
|
67
70
|
'__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
|
|
@@ -265,6 +268,20 @@ GetFeatureNameReply = _reflection.GeneratedProtocolMessageType('GetFeatureNameRe
|
|
|
265
268
|
})
|
|
266
269
|
_sym_db.RegisterMessage(GetFeatureNameReply)
|
|
267
270
|
|
|
271
|
+
RunInferenceRequest = _reflection.GeneratedProtocolMessageType('RunInferenceRequest', (_message.Message,), {
|
|
272
|
+
'DESCRIPTOR' : _RUNINFERENCEREQUEST,
|
|
273
|
+
'__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
|
|
274
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.RunInferenceRequest)
|
|
275
|
+
})
|
|
276
|
+
_sym_db.RegisterMessage(RunInferenceRequest)
|
|
277
|
+
|
|
278
|
+
RunInferenceReply = _reflection.GeneratedProtocolMessageType('RunInferenceReply', (_message.Message,), {
|
|
279
|
+
'DESCRIPTOR' : _RUNINFERENCEREPLY,
|
|
280
|
+
'__module__' : 'proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2'
|
|
281
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.RunInferenceReply)
|
|
282
|
+
})
|
|
283
|
+
_sym_db.RegisterMessage(RunInferenceReply)
|
|
284
|
+
|
|
268
285
|
_ONSHAPESERVICE = DESCRIPTOR.services_by_name['OnshapeService']
|
|
269
286
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
270
287
|
|
|
@@ -288,68 +305,74 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
288
305
|
_ONSHAPESERVICE.methods_by_name['GetCompanyPrefixes']._serialized_options = b'\202\323\344\223\002-\022+/v0/thirdpartyintegration/onshape/companies\212\265\030\006\010<\022\002\010\001'
|
|
289
306
|
_ONSHAPESERVICE.methods_by_name['GetElementName']._options = None
|
|
290
307
|
_ONSHAPESERVICE.methods_by_name['GetElementName']._serialized_options = b'\202\323\344\223\0023\"./v0/thirdpartyintegration/onshape/element-name:\001*\212\265\030\006\010\n\022\002\010\005'
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
308
|
+
_ONSHAPESERVICE.methods_by_name['RunInference']._options = None
|
|
309
|
+
_ONSHAPESERVICE.methods_by_name['RunInference']._serialized_options = b'\202\323\344\223\0024\"//v0/thirdpartyintegration/onshape/run-inference:\001*\212\265\030\006\010\n\022\002\010\005'
|
|
310
|
+
_ONSHAPEELEMENTTYPE._serialized_start=4228
|
|
311
|
+
_ONSHAPEELEMENTTYPE._serialized_end=4279
|
|
312
|
+
_ONSHAPEPARTTYPE._serialized_start=4281
|
|
313
|
+
_ONSHAPEPARTTYPE._serialized_end=4368
|
|
314
|
+
_GETAUTHENTICATIONSTATUSREQUEST._serialized_start=258
|
|
315
|
+
_GETAUTHENTICATIONSTATUSREQUEST._serialized_end=290
|
|
316
|
+
_GETAUTHENTICATIONSTATUSREPLY._serialized_start=292
|
|
317
|
+
_GETAUTHENTICATIONSTATUSREPLY._serialized_end=343
|
|
318
|
+
_ONSHAPEPATH._serialized_start=345
|
|
319
|
+
_ONSHAPEPATH._serialized_end=454
|
|
320
|
+
_ONSHAPEVARIABLE._serialized_start=456
|
|
321
|
+
_ONSHAPEVARIABLE._serialized_end=557
|
|
322
|
+
_ONSHAPECOMPANYINFO._serialized_start=559
|
|
323
|
+
_ONSHAPECOMPANYINFO._serialized_end=621
|
|
324
|
+
_ONSHAPEDOCUMENTVERSION._serialized_start=623
|
|
325
|
+
_ONSHAPEDOCUMENTVERSION._serialized_end=719
|
|
326
|
+
_ONSHAPEDOCUMENTWORKSPACE._serialized_start=721
|
|
327
|
+
_ONSHAPEDOCUMENTWORKSPACE._serialized_end=819
|
|
328
|
+
_ONSHAPEDOCUMENT._serialized_start=822
|
|
329
|
+
_ONSHAPEDOCUMENT._serialized_end=1171
|
|
330
|
+
_ONSHAPEDOCUMENTONLY._serialized_start=1174
|
|
331
|
+
_ONSHAPEDOCUMENTONLY._serialized_end=1305
|
|
332
|
+
_LISTDOCUMENTSREQUEST._serialized_start=1307
|
|
333
|
+
_LISTDOCUMENTSREQUEST._serialized_end=1416
|
|
334
|
+
_LISTDOCUMENTSREPLY._serialized_start=1419
|
|
335
|
+
_LISTDOCUMENTSREPLY._serialized_end=1588
|
|
336
|
+
_LISTWORKSPACESANDVERSIONSREQUEST._serialized_start=1591
|
|
337
|
+
_LISTWORKSPACESANDVERSIONSREQUEST._serialized_end=1719
|
|
338
|
+
_LISTWORKSPACESANDVERSIONSREPLY._serialized_start=1722
|
|
339
|
+
_LISTWORKSPACESANDVERSIONSREPLY._serialized_end=1976
|
|
340
|
+
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_start=1978
|
|
341
|
+
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_end=2090
|
|
342
|
+
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_start=2093
|
|
343
|
+
_LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_end=2282
|
|
344
|
+
_ONSHAPEELEMENT._serialized_start=2285
|
|
345
|
+
_ONSHAPEELEMENT._serialized_end=2466
|
|
346
|
+
_LISTIMPORTABLESFORSELECTIONREQUEST._serialized_start=2469
|
|
347
|
+
_LISTIMPORTABLESFORSELECTIONREQUEST._serialized_end=2599
|
|
348
|
+
_LISTIMPORTABLESFORSELECTIONREPLY._serialized_start=2602
|
|
349
|
+
_LISTIMPORTABLESFORSELECTIONREPLY._serialized_end=2737
|
|
350
|
+
_LISTPARTSFORIMPORTABLEREQUEST._serialized_start=2739
|
|
351
|
+
_LISTPARTSFORIMPORTABLEREQUEST._serialized_end=2864
|
|
352
|
+
_ONSHAPEPART._serialized_start=2867
|
|
353
|
+
_ONSHAPEPART._serialized_end=3056
|
|
354
|
+
_LISTPARTSFORIMPORTABLEREPLY._serialized_start=3058
|
|
355
|
+
_LISTPARTSFORIMPORTABLEREPLY._serialized_end=3182
|
|
356
|
+
_GETCOMPANYPREFIXESREQUEST._serialized_start=3184
|
|
357
|
+
_GETCOMPANYPREFIXESREQUEST._serialized_end=3211
|
|
358
|
+
_GETCOMPANYPREFIXESREPLY._serialized_start=3214
|
|
359
|
+
_GETCOMPANYPREFIXESREPLY._serialized_end=3345
|
|
360
|
+
_FETCHVARIABLESREQUEST._serialized_start=3347
|
|
361
|
+
_FETCHVARIABLESREQUEST._serialized_end=3464
|
|
362
|
+
_FETCHVARIABLESREPLY._serialized_start=3467
|
|
363
|
+
_FETCHVARIABLESREPLY._serialized_end=3597
|
|
364
|
+
_GETELEMENTNAMEREQUEST._serialized_start=3599
|
|
365
|
+
_GETELEMENTNAMEREQUEST._serialized_end=3716
|
|
366
|
+
_GETELEMENTNAMEREPLY._serialized_start=3718
|
|
367
|
+
_GETELEMENTNAMEREPLY._serialized_end=3753
|
|
368
|
+
_GETFEATURENAMEREQUEST._serialized_start=3755
|
|
369
|
+
_GETFEATURENAMEREQUEST._serialized_end=3803
|
|
370
|
+
_GETFEATURENAMEREPLY._serialized_start=3805
|
|
371
|
+
_GETFEATURENAMEREPLY._serialized_end=3847
|
|
372
|
+
_RUNINFERENCEREQUEST._serialized_start=3850
|
|
373
|
+
_RUNINFERENCEREQUEST._serialized_end=4073
|
|
374
|
+
_RUNINFERENCEREPLY._serialized_start=4076
|
|
375
|
+
_RUNINFERENCEREPLY._serialized_end=4226
|
|
376
|
+
_ONSHAPESERVICE._serialized_start=4371
|
|
377
|
+
_ONSHAPESERVICE._serialized_end=7239
|
|
355
378
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -8,6 +8,7 @@ import google.protobuf.descriptor
|
|
|
8
8
|
import google.protobuf.internal.containers
|
|
9
9
|
import google.protobuf.internal.enum_type_wrapper
|
|
10
10
|
import google.protobuf.message
|
|
11
|
+
import luminarycloud._proto.api.v0.luminarycloud.inference.inference_pb2
|
|
11
12
|
import sys
|
|
12
13
|
import typing
|
|
13
14
|
|
|
@@ -656,3 +657,44 @@ class GetFeatureNameReply(google.protobuf.message.Message):
|
|
|
656
657
|
def ClearField(self, field_name: typing_extensions.Literal["featureName", b"featureName"]) -> None: ...
|
|
657
658
|
|
|
658
659
|
global___GetFeatureNameReply = GetFeatureNameReply
|
|
660
|
+
|
|
661
|
+
class RunInferenceRequest(google.protobuf.message.Message):
|
|
662
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
663
|
+
|
|
664
|
+
PATH_FIELD_NUMBER: builtins.int
|
|
665
|
+
INFERENCE_REQUEST_FIELD_NUMBER: builtins.int
|
|
666
|
+
@property
|
|
667
|
+
def path(self) -> global___OnshapePath:
|
|
668
|
+
"""Path must point to a PartStudio or Assembly element in Onshape."""
|
|
669
|
+
@property
|
|
670
|
+
def inference_request(self) -> luminarycloud._proto.api.v0.luminarycloud.inference.inference_pb2.CreateInferenceServiceJobRequest:
|
|
671
|
+
"""In this request, stl_url is not needed and is ignored if provided."""
|
|
672
|
+
def __init__(
|
|
673
|
+
self,
|
|
674
|
+
*,
|
|
675
|
+
path: global___OnshapePath | None = ...,
|
|
676
|
+
inference_request: luminarycloud._proto.api.v0.luminarycloud.inference.inference_pb2.CreateInferenceServiceJobRequest | None = ...,
|
|
677
|
+
) -> None: ...
|
|
678
|
+
def HasField(self, field_name: typing_extensions.Literal["inference_request", b"inference_request", "path", b"path"]) -> builtins.bool: ...
|
|
679
|
+
def ClearField(self, field_name: typing_extensions.Literal["inference_request", b"inference_request", "path", b"path"]) -> None: ...
|
|
680
|
+
|
|
681
|
+
global___RunInferenceRequest = RunInferenceRequest
|
|
682
|
+
|
|
683
|
+
class RunInferenceReply(google.protobuf.message.Message):
|
|
684
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
685
|
+
|
|
686
|
+
STL_FILE_ID_FIELD_NUMBER: builtins.int
|
|
687
|
+
INFERENCE_RESPONSE_FIELD_NUMBER: builtins.int
|
|
688
|
+
stl_file_id: builtins.str
|
|
689
|
+
@property
|
|
690
|
+
def inference_response(self) -> luminarycloud._proto.api.v0.luminarycloud.inference.inference_pb2.CreateInferenceServiceJobResponse: ...
|
|
691
|
+
def __init__(
|
|
692
|
+
self,
|
|
693
|
+
*,
|
|
694
|
+
stl_file_id: builtins.str = ...,
|
|
695
|
+
inference_response: luminarycloud._proto.api.v0.luminarycloud.inference.inference_pb2.CreateInferenceServiceJobResponse | None = ...,
|
|
696
|
+
) -> None: ...
|
|
697
|
+
def HasField(self, field_name: typing_extensions.Literal["inference_response", b"inference_response"]) -> builtins.bool: ...
|
|
698
|
+
def ClearField(self, field_name: typing_extensions.Literal["inference_response", b"inference_response", "stl_file_id", b"stl_file_id"]) -> None: ...
|
|
699
|
+
|
|
700
|
+
global___RunInferenceReply = RunInferenceReply
|
|
@@ -61,6 +61,11 @@ class OnshapeServiceStub(object):
|
|
|
61
61
|
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameRequest.SerializeToString,
|
|
62
62
|
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameReply.FromString,
|
|
63
63
|
)
|
|
64
|
+
self.RunInference = channel.unary_unary(
|
|
65
|
+
'/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/RunInference',
|
|
66
|
+
request_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.RunInferenceRequest.SerializeToString,
|
|
67
|
+
response_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.RunInferenceReply.FromString,
|
|
68
|
+
)
|
|
64
69
|
|
|
65
70
|
|
|
66
71
|
class OnshapeServiceServicer(object):
|
|
@@ -132,6 +137,13 @@ class OnshapeServiceServicer(object):
|
|
|
132
137
|
context.set_details('Method not implemented!')
|
|
133
138
|
raise NotImplementedError('Method not implemented!')
|
|
134
139
|
|
|
140
|
+
def RunInference(self, request, context):
|
|
141
|
+
"""Runs inference on the specified Onshape element, which must be a PartStudio
|
|
142
|
+
"""
|
|
143
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
144
|
+
context.set_details('Method not implemented!')
|
|
145
|
+
raise NotImplementedError('Method not implemented!')
|
|
146
|
+
|
|
135
147
|
|
|
136
148
|
def add_OnshapeServiceServicer_to_server(servicer, server):
|
|
137
149
|
rpc_method_handlers = {
|
|
@@ -180,6 +192,11 @@ def add_OnshapeServiceServicer_to_server(servicer, server):
|
|
|
180
192
|
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameRequest.FromString,
|
|
181
193
|
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameReply.SerializeToString,
|
|
182
194
|
),
|
|
195
|
+
'RunInference': grpc.unary_unary_rpc_method_handler(
|
|
196
|
+
servicer.RunInference,
|
|
197
|
+
request_deserializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.RunInferenceRequest.FromString,
|
|
198
|
+
response_serializer=proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.RunInferenceReply.SerializeToString,
|
|
199
|
+
),
|
|
183
200
|
}
|
|
184
201
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
185
202
|
'luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService', rpc_method_handlers)
|
|
@@ -344,3 +361,20 @@ class OnshapeService(object):
|
|
|
344
361
|
proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.GetElementNameReply.FromString,
|
|
345
362
|
options, channel_credentials,
|
|
346
363
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
364
|
+
|
|
365
|
+
@staticmethod
|
|
366
|
+
def RunInference(request,
|
|
367
|
+
target,
|
|
368
|
+
options=(),
|
|
369
|
+
channel_credentials=None,
|
|
370
|
+
call_credentials=None,
|
|
371
|
+
insecure=False,
|
|
372
|
+
compression=None,
|
|
373
|
+
wait_for_ready=None,
|
|
374
|
+
timeout=None,
|
|
375
|
+
metadata=None):
|
|
376
|
+
return grpc.experimental.unary_unary(request, target, '/luminary.proto.api.v0.luminarycloud.thirdpartyintegration.onshape.OnshapeService/RunInference',
|
|
377
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.RunInferenceRequest.SerializeToString,
|
|
378
|
+
proto_dot_api_dot_v0_dot_luminarycloud_dot_thirdpartyintegration_dot_onshape_dot_onshape__pb2.RunInferenceReply.FromString,
|
|
379
|
+
options, channel_credentials,
|
|
380
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi
CHANGED
|
@@ -59,6 +59,11 @@ class OnshapeServiceStub:
|
|
|
59
59
|
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetElementNameReply,
|
|
60
60
|
]
|
|
61
61
|
"""Gets the human-readable name of an Onshape element."""
|
|
62
|
+
RunInference: grpc.UnaryUnaryMultiCallable[
|
|
63
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.RunInferenceRequest,
|
|
64
|
+
luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.RunInferenceReply,
|
|
65
|
+
]
|
|
66
|
+
"""Runs inference on the specified Onshape element, which must be a PartStudio"""
|
|
62
67
|
|
|
63
68
|
class OnshapeServiceServicer(metaclass=abc.ABCMeta):
|
|
64
69
|
"""Public API service for Onshape third-party integration functionality.
|
|
@@ -130,5 +135,12 @@ class OnshapeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
130
135
|
context: grpc.ServicerContext,
|
|
131
136
|
) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.GetElementNameReply:
|
|
132
137
|
"""Gets the human-readable name of an Onshape element."""
|
|
138
|
+
@abc.abstractmethod
|
|
139
|
+
def RunInference(
|
|
140
|
+
self,
|
|
141
|
+
request: luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.RunInferenceRequest,
|
|
142
|
+
context: grpc.ServicerContext,
|
|
143
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.thirdpartyintegration.onshape.onshape_pb2.RunInferenceReply:
|
|
144
|
+
"""Runs inference on the specified Onshape element, which must be a PartStudio"""
|
|
133
145
|
|
|
134
146
|
def add_OnshapeServiceServicer_to_server(servicer: OnshapeServiceServicer, server: grpc.Server) -> None: ...
|