luminarycloud 0.19.0__py3-none-any.whl → 0.22.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.
- luminarycloud/__init__.py +5 -1
- luminarycloud/_client/client.py +7 -0
- luminarycloud/_client/http_client.py +10 -8
- luminarycloud/_feature_flag.py +22 -0
- luminarycloud/_helpers/_create_simulation.py +7 -2
- luminarycloud/_helpers/_upload_mesh.py +1 -0
- luminarycloud/_helpers/_wait_for_mesh.py +6 -5
- luminarycloud/_helpers/_wait_for_simulation.py +3 -3
- luminarycloud/_helpers/download.py +3 -1
- luminarycloud/_helpers/pagination.py +62 -0
- luminarycloud/_helpers/proto_decorator.py +13 -5
- luminarycloud/_helpers/upload.py +18 -12
- 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 +168 -124
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +133 -4
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.py +66 -0
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2_grpc.pyi +20 -0
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.py +8 -8
- luminarycloud/_proto/api/v0/luminarycloud/inference/inference_pb2.pyi +5 -5
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.py +74 -73
- luminarycloud/_proto/api/v0/luminarycloud/mesh/mesh_pb2.pyi +17 -3
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.py +96 -25
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.pyi +235 -1
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2_grpc.py +34 -0
- luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2_grpc.pyi +12 -0
- luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2.py +16 -16
- luminarycloud/_proto/api/v0/luminarycloud/project/project_pb2.pyi +7 -3
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.py +97 -61
- luminarycloud/_proto/api/v0/luminarycloud/simulation/simulation_pb2.pyi +77 -4
- 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/vis/vis_pb2.py +126 -27
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.pyi +183 -0
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2_grpc.py +99 -0
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2_grpc.pyi +30 -0
- luminarycloud/_proto/assistant/assistant_pb2.py +74 -41
- luminarycloud/_proto/assistant/assistant_pb2.pyi +64 -2
- luminarycloud/_proto/assistant/assistant_pb2_grpc.py +33 -0
- luminarycloud/_proto/assistant/assistant_pb2_grpc.pyi +10 -0
- luminarycloud/_proto/base/base_pb2.py +20 -7
- luminarycloud/_proto/base/base_pb2.pyi +38 -0
- luminarycloud/_proto/cad/shape_pb2.py +39 -19
- luminarycloud/_proto/cad/shape_pb2.pyi +86 -34
- luminarycloud/_proto/cad/transformation_pb2.py +60 -16
- luminarycloud/_proto/cad/transformation_pb2.pyi +138 -32
- luminarycloud/_proto/client/simulation_pb2.py +501 -348
- luminarycloud/_proto/client/simulation_pb2.pyi +607 -11
- luminarycloud/_proto/geometry/geometry_pb2.py +77 -63
- luminarycloud/_proto/geometry/geometry_pb2.pyi +42 -3
- luminarycloud/_proto/hexmesh/hexmesh_pb2.py +24 -18
- luminarycloud/_proto/hexmesh/hexmesh_pb2.pyi +23 -2
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +10 -10
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.pyi +5 -5
- luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2.py +29 -0
- luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2.pyi +7 -0
- luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2_grpc.py +70 -0
- luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2_grpc.pyi +30 -0
- luminarycloud/_proto/quantity/quantity_options_pb2.py +6 -6
- luminarycloud/_proto/quantity/quantity_options_pb2.pyi +10 -1
- luminarycloud/_proto/quantity/quantity_pb2.py +176 -167
- luminarycloud/_proto/quantity/quantity_pb2.pyi +11 -5
- luminarycloud/enum/__init__.py +1 -0
- luminarycloud/enum/gpu_type.py +2 -0
- luminarycloud/enum/quantity_type.py +9 -0
- luminarycloud/enum/vis_enums.py +23 -3
- luminarycloud/exceptions.py +7 -1
- luminarycloud/feature_modification.py +45 -35
- luminarycloud/geometry.py +107 -9
- luminarycloud/geometry_version.py +57 -3
- luminarycloud/mesh.py +1 -2
- luminarycloud/meshing/mesh_generation_params.py +8 -8
- luminarycloud/params/enum/_enum_wrappers.py +562 -30
- luminarycloud/params/simulation/adaptive_mesh_refinement_.py +4 -0
- luminarycloud/params/simulation/material/material_solid_.py +15 -1
- luminarycloud/params/simulation/physics/__init__.py +0 -1
- luminarycloud/params/simulation/physics/periodic_pair_.py +12 -31
- luminarycloud/physics_ai/architectures.py +58 -0
- luminarycloud/physics_ai/inference.py +13 -13
- luminarycloud/physics_ai/solution.py +3 -1
- luminarycloud/physics_ai/training_jobs.py +37 -0
- luminarycloud/pipelines/__init__.py +11 -3
- luminarycloud/pipelines/api.py +248 -16
- luminarycloud/pipelines/arguments.py +15 -0
- luminarycloud/pipelines/core.py +113 -96
- luminarycloud/pipelines/{operators.py → stages.py} +96 -39
- luminarycloud/project.py +15 -47
- luminarycloud/simulation.py +69 -5
- luminarycloud/simulation_param.py +0 -9
- luminarycloud/simulation_template.py +2 -1
- luminarycloud/types/matrix3.py +12 -0
- luminarycloud/vis/__init__.py +17 -0
- luminarycloud/vis/data_extraction.py +20 -4
- luminarycloud/vis/interactive_report.py +110 -0
- luminarycloud/vis/interactive_scene.py +29 -2
- luminarycloud/vis/report.py +252 -0
- luminarycloud/vis/visualization.py +127 -5
- luminarycloud/volume_selection.py +132 -69
- {luminarycloud-0.19.0.dist-info → luminarycloud-0.22.0.dist-info}/METADATA +1 -1
- {luminarycloud-0.19.0.dist-info → luminarycloud-0.22.0.dist-info}/RECORD +105 -97
- luminarycloud/params/simulation/physics/periodic_pair/__init__.py +0 -2
- luminarycloud/params/simulation/physics/periodic_pair/periodicity_type/__init__.py +0 -2
- luminarycloud/params/simulation/physics/periodic_pair/periodicity_type/rotational_periodicity_.py +0 -31
- luminarycloud/params/simulation/physics/periodic_pair/periodicity_type/translational_periodicity_.py +0 -29
- luminarycloud/params/simulation/physics/periodic_pair/periodicity_type_.py +0 -25
- {luminarycloud-0.19.0.dist-info → luminarycloud-0.22.0.dist-info}/WHEEL +0 -0
|
@@ -266,19 +266,23 @@ class LoadGeometryToSetupRequest(google.protobuf.message.Message):
|
|
|
266
266
|
|
|
267
267
|
ID_FIELD_NUMBER: builtins.int
|
|
268
268
|
GEOMETRY_ID_FIELD_NUMBER: builtins.int
|
|
269
|
+
GEOMETRY_VERSION_ID_FIELD_NUMBER: builtins.int
|
|
269
270
|
id: builtins.str
|
|
270
271
|
"""Required. Identifies the project to load geometry into."""
|
|
271
272
|
geometry_id: builtins.str
|
|
272
|
-
"""Required. The geometry to load.
|
|
273
|
-
|
|
273
|
+
"""Required. The geometry to load."""
|
|
274
|
+
geometry_version_id: builtins.str
|
|
275
|
+
"""Optional. The specific geometry version to load. If not specified, the
|
|
276
|
+
latest version will be loaded.
|
|
274
277
|
"""
|
|
275
278
|
def __init__(
|
|
276
279
|
self,
|
|
277
280
|
*,
|
|
278
281
|
id: builtins.str = ...,
|
|
279
282
|
geometry_id: builtins.str = ...,
|
|
283
|
+
geometry_version_id: builtins.str = ...,
|
|
280
284
|
) -> None: ...
|
|
281
|
-
def ClearField(self, field_name: typing_extensions.Literal["geometry_id", b"geometry_id", "id", b"id"]) -> None: ...
|
|
285
|
+
def ClearField(self, field_name: typing_extensions.Literal["geometry_id", b"geometry_id", "geometry_version_id", b"geometry_version_id", "id", b"id"]) -> None: ...
|
|
282
286
|
|
|
283
287
|
global___LoadGeometryToSetupRequest = LoadGeometryToSetupRequest
|
|
284
288
|
|
|
@@ -22,9 +22,10 @@ from luminarycloud._proto.output import reference_values_pb2 as proto_dot_output
|
|
|
22
22
|
from luminarycloud._proto.output import output_pb2 as proto_dot_output_dot_output__pb2
|
|
23
23
|
from luminarycloud._proto.client import simulation_pb2 as proto_dot_client_dot_simulation__pb2
|
|
24
24
|
from luminarycloud._proto.api.v0.luminarycloud.common import common_pb2 as proto_dot_api_dot_v0_dot_luminarycloud_dot_common_dot_common__pb2
|
|
25
|
+
from luminarycloud._proto.api.v0.luminarycloud.simulation_template import simulation_template_pb2 as proto_dot_api_dot_v0_dot_luminarycloud_dot_simulation__template_dot_simulation__template__pb2
|
|
25
26
|
|
|
26
27
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6proto/api/v0/luminarycloud/simulation/simulation.proto\x12.luminary.proto.api.v0.luminarycloud.simulation\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x15proto/base/base.proto\x1a\x1dproto/quantity/quantity.proto\x1a#proto/output/reference_values.proto\x1a\x19proto/output/output.proto\x1a\x1dproto/client/simulation.proto\x1a.proto/api/v0/luminarycloud/common/common.proto\"\xf4\x03\n\nSimulation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12[\n\x06status\x18\x05 \x01(\x0e\x32K.luminary.proto.api.v0.luminarycloud.simulation.Simulation.SimulationStatus\x12\x0f\n\x07mesh_id\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x12\n\nproject_id\x18\x08 \x01(\t\"\xd2\x01\n\x10SimulationStatus\x12!\n\x1dSIMULATION_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19SIMULATION_STATUS_PENDING\x10\x01\x12\x1c\n\x18SIMULATION_STATUS_ACTIVE\x10\x02\x12\x1f\n\x1bSIMULATION_STATUS_COMPLETED\x10\x03\x12\x1c\n\x18SIMULATION_STATUS_FAILED\x10\x04\x12\x1f\n\x1bSIMULATION_STATUS_SUSPENDED\x10\x05\"\xe8\x01\n\x11SimulationOptions\x12\x18\n\x10\x62\x61tch_processing\x18\x01 \x01(\x08\x12[\n\x08gpu_type\x18\x08 \x01(\x0e\x32I.luminary.proto.api.v0.luminarycloud.simulation.SimulationOptions.GPUType\x12\x11\n\tgpu_count\x18\t \x01(\r\"I\n\x07GPUType\x12\x18\n\x14GPU_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rGPU_TYPE_V100\x10\x01\x12\x11\n\rGPU_TYPE_A100\x10\x02\"\xf0\x02\n\x17\x43reateSimulationRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0f\n\x07mesh_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x1e\n\x16simulation_template_id\x18\x04 \x01(\t\x12]\n\x12simulation_options\x18\x05 \x01(\x0b\x32\x41.luminary.proto.api.v0.luminarycloud.simulation.SimulationOptions\x12\x44\n\x10simulation_param\x18\x06 \x01(\x0b\x32&.luminary.proto.client.SimulationParamB\x02\x18\x01\x12!\n\x15simulation_param_json\x18\x07 \x01(\x0c\x42\x02\x18\x01\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\x12%\n\x1dnamed_variable_set_version_id\x18\t \x01(\t\"j\n\x18\x43reateSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"\"\n\x14GetSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"g\n\x15GetSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"k\n\x17UpdateSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\x04name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\"j\n\x18UpdateSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\",\n\x16ListSimulationsRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\"j\n\x17ListSimulationsResponse\x12O\n\x0bsimulations\x18\x01 \x03(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"%\n\x17\x44\x65leteSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"&\n\x18SuspendSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xcf\x02\n#GetSimulationGlobalResidualsRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x89\x01\n\x16residual_normalization\x18\x03 \x01(\x0e\x32i.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsRequest.ResidualNormalization\"\x89\x01\n\x15ResidualNormalization\x12&\n\"RESIDUAL_NORMALIZATION_UNSPECIFIED\x10\x00\x12#\n\x1fRESIDUAL_NORMALIZATION_RELATIVE\x10\x01\x12#\n\x1fRESIDUAL_NORMALIZATION_ABSOLUTE\x10\x02J\x04\x08\x04\x10\x05\"j\n$GetSimulationGlobalResidualsResponse\x12\x42\n\x08\x63sv_file\x18\x01 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.File\"\xbe\x05\n)GetSimulationSurfaceQuantityOutputRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12<\n\rquantity_type\x18\x02 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12\x13\n\x0bsurface_ids\x18\x03 \x03(\t\x12Y\n\x10\x63\x61lculation_type\x18\x04 \x01(\x0e\x32?.luminary.proto.api.v0.luminarycloud.simulation.CalculationType\x12\x10\n\x08\x66rame_id\x18\x06 \x01(\t\x12L\n\x0f\x66orce_direction\x18\x11 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12J\n\rmoment_center\x18\x12 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12U\n\x0e\x61veraging_type\x18\x13 \x01(\x0e\x32=.luminary.proto.api.v0.luminarycloud.simulation.AveragingType\x12@\n\x10reference_values\x18\x14 \x01(\x0b\x32&.luminary.proto.output.ReferenceValues\x12?\n\x10vector_component\x18\x15 \x01(\x0e\x32%.luminary.proto.base.Vector3Component\x12K\n\x16moment_convention_type\x18\x16 \x01(\x0e\x32+.luminary.proto.output.MomentConventionTypeJ\x04\x08\x05\x10\x06\"p\n*GetSimulationSurfaceQuantityOutputResponse\x12\x42\n\x08\x63sv_file\x18\x01 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.File\"J\n#GetSimulationSurfaceSolutionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\ttime_step\x18\x03 \x01(\rJ\x04\x08\x02\x10\x03\"l\n$GetSimulationSurfaceSolutionResponse\x12>\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.FileJ\x04\x08\x01\x10\x02\"c\n\"GetSimulationVolumeSolutionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\ttime_step\x18\x03 \x01(\r\x12\x18\n\x10single_precision\x18\x04 \x01(\x08J\x04\x08\x02\x10\x03\"k\n#GetSimulationVolumeSolutionResponse\x12>\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.FileJ\x04\x08\x01\x10\x02\",\n\x1eGetSimulationParametersRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xed\x01\n\x15SimulationQueueStatus\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x15\n\rsimulation_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x31\n\rcreation_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x0cstarted_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12\x0e\n\x06is_lma\x18\x06 \x01(\x08\x12\x10\n\x08priority\x18\x07 \x01(\x08\x42\x0f\n\r_started_time\"l\n\x1cListQueuedSimulationsRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x17\n\npage_token\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_token\"\xa9\x01\n\x1dListQueuedSimulationsResponse\x12Z\n\x0bsimulations\x18\x01 \x03(\x0b\x32\x45.luminary.proto.api.v0.luminarycloud.simulation.SimulationQueueStatus\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0btotal_count\x18\x03 \x01(\x05*\x96\x01\n\x0f\x43\x61lculationType\x12 \n\x1c\x43\x41LCULATION_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x43\x41LCULATION_TYPE_AGGREGATE\x10\x01\x12 \n\x1c\x43\x41LCULATION_TYPE_PER_SURFACE\x10\x02\x12\x1f\n\x1b\x43\x41LCULATION_TYPE_DIFFERENCE\x10\x03*f\n\rAveragingType\x12\x1e\n\x1a\x41VERAGING_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41VERAGING_TYPE_MASS_FLOW\x10\x01\x12\x17\n\x13\x41VERAGING_TYPE_AREA\x10\x02\x32\x89\x14\n\x11SimulationService\x12\xd7\x01\n\x10\x43reateSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.CreateSimulationRequest\x1aH.luminary.proto.api.v0.luminarycloud.simulation.CreateSimulationResponse\"0\x82\xd3\xe4\x93\x02*\"%/v0/projects/{project_id}/simulations:\x01*\x12\xba\x01\n\rGetSimulation\x12\x44.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationRequest\x1a\x45.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v0/simulations/{id}\x12\xc6\x01\n\x10UpdateSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.UpdateSimulationRequest\x1aH.luminary.proto.api.v0.luminarycloud.simulation.UpdateSimulationResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x32\x14/v0/simulations/{id}:\x01*\x12\xd1\x01\n\x0fListSimulations\x12\x46.luminary.proto.api.v0.luminarycloud.simulation.ListSimulationsRequest\x1aG.luminary.proto.api.v0.luminarycloud.simulation.ListSimulationsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/v0/projects/{project_id}/simulations\x12\x91\x01\n\x10\x44\x65leteSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.DeleteSimulationRequest\x1a\x16.google.protobuf.Empty\"\x1c\x82\xd3\xe4\x93\x02\x16*\x14/v0/simulations/{id}\x12\x9b\x01\n\x11SuspendSimulation\x12H.luminary.proto.api.v0.luminarycloud.simulation.SuspendSimulationRequest\x1a\x16.google.protobuf.Empty\"$\x82\xd3\xe4\x93\x02\x1e\"\x1c/v0/simulations/{id}:suspend\x12\xf7\x01\n\x1cGetSimulationGlobalResiduals\x12S.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsRequest\x1aT.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsResponse\",\x82\xd3\xe4\x93\x02&\x12$/v0/simulations/{id}:globalresiduals\x12\x8f\x02\n\"GetSimulationSurfaceQuantityOutput\x12Y.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceQuantityOutputRequest\x1aZ.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceQuantityOutputResponse\"2\x82\xd3\xe4\x93\x02,\x12*/v0/simulations/{id}:surfacequantityoutput\x12\xf7\x01\n\x1cGetSimulationSurfaceSolution\x12S.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceSolutionRequest\x1aT.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceSolutionResponse\",\x82\xd3\xe4\x93\x02&\x12$/v0/simulations/{id}:surfacesolution\x12\xf3\x01\n\x1bGetSimulationVolumeSolution\x12R.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationVolumeSolutionRequest\x1aS.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationVolumeSolutionResponse\"+\x82\xd3\xe4\x93\x02%\x12#/v0/simulations/{id}:volumesolution\x12\xba\x01\n\x17GetSimulationParameters\x12N.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationParametersRequest\x1a&.luminary.proto.client.SimulationParam\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/v0/simulations/{id}/parameters\x12\xd4\x01\n\x15ListQueuedSimulations\x12L.luminary.proto.api.v0.luminarycloud.simulation.ListQueuedSimulationsRequest\x1aM.luminary.proto.api.v0.luminarycloud.simulation.ListQueuedSimulationsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v0/queued-simulationsB>Z<luminarycloud.com/core/proto/api/v0/luminarycloud/simulationb\x06proto3')
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6proto/api/v0/luminarycloud/simulation/simulation.proto\x12.luminary.proto.api.v0.luminarycloud.simulation\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x15proto/base/base.proto\x1a\x1dproto/quantity/quantity.proto\x1a#proto/output/reference_values.proto\x1a\x19proto/output/output.proto\x1a\x1dproto/client/simulation.proto\x1a.proto/api/v0/luminarycloud/common/common.proto\x1aHproto/api/v0/luminarycloud/simulation_template/simulation_template.proto\"\x86\x04\n\nSimulation\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12/\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12[\n\x06status\x18\x05 \x01(\x0e\x32K.luminary.proto.api.v0.luminarycloud.simulation.Simulation.SimulationStatus\x12\x0f\n\x07mesh_id\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x12\n\nproject_id\x18\x08 \x01(\t\x12\x10\n\x08\x64oe_name\x18\t \x01(\t\"\xd2\x01\n\x10SimulationStatus\x12!\n\x1dSIMULATION_STATUS_UNSPECIFIED\x10\x00\x12\x1d\n\x19SIMULATION_STATUS_PENDING\x10\x01\x12\x1c\n\x18SIMULATION_STATUS_ACTIVE\x10\x02\x12\x1f\n\x1bSIMULATION_STATUS_COMPLETED\x10\x03\x12\x1c\n\x18SIMULATION_STATUS_FAILED\x10\x04\x12\x1f\n\x1bSIMULATION_STATUS_SUSPENDED\x10\x05\"\x8c\x02\n\x11SimulationOptions\x12\x18\n\x10\x62\x61tch_processing\x18\x01 \x01(\x08\x12[\n\x08gpu_type\x18\x08 \x01(\x0e\x32I.luminary.proto.api.v0.luminarycloud.simulation.SimulationOptions.GPUType\x12\x11\n\tgpu_count\x18\t \x01(\r\"m\n\x07GPUType\x12\x18\n\x14GPU_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rGPU_TYPE_V100\x10\x01\x12\x11\n\rGPU_TYPE_A100\x10\x02\x12\x0f\n\x0bGPU_TYPE_T4\x10\x03\x12\x11\n\rGPU_TYPE_H100\x10\x04\"\xda\x03\n\x17\x43reateSimulationRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0f\n\x07mesh_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x1e\n\x16simulation_template_id\x18\x04 \x01(\t\x12]\n\x12simulation_options\x18\x05 \x01(\x0b\x32\x41.luminary.proto.api.v0.luminarycloud.simulation.SimulationOptions\x12\x44\n\x10simulation_param\x18\x06 \x01(\x0b\x32&.luminary.proto.client.SimulationParamB\x02\x18\x01\x12!\n\x15simulation_param_json\x18\x07 \x01(\x0c\x42\x02\x18\x01\x12\x13\n\x0b\x64\x65scription\x18\x08 \x01(\t\x12%\n\x1dnamed_variable_set_version_id\x18\t \x01(\t\x12h\n\x13simulation_template\x18\n \x01(\x0b\x32K.luminary.proto.api.v0.luminarycloud.simulation_template.SimulationTemplate\"j\n\x18\x43reateSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"\"\n\x14GetSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"g\n\x15GetSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"k\n\x17UpdateSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\x04name\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0b\x64\x65scription\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_description\"j\n\x18UpdateSimulationResponse\x12N\n\nsimulation\x18\x01 \x01(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\",\n\x16ListSimulationsRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\"j\n\x17ListSimulationsResponse\x12O\n\x0bsimulations\x18\x01 \x03(\x0b\x32:.luminary.proto.api.v0.luminarycloud.simulation.Simulation\"%\n\x17\x44\x65leteSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"&\n\x18SuspendSimulationRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xcf\x02\n#GetSimulationGlobalResidualsRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x89\x01\n\x16residual_normalization\x18\x03 \x01(\x0e\x32i.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsRequest.ResidualNormalization\"\x89\x01\n\x15ResidualNormalization\x12&\n\"RESIDUAL_NORMALIZATION_UNSPECIFIED\x10\x00\x12#\n\x1fRESIDUAL_NORMALIZATION_RELATIVE\x10\x01\x12#\n\x1fRESIDUAL_NORMALIZATION_ABSOLUTE\x10\x02J\x04\x08\x04\x10\x05\"j\n$GetSimulationGlobalResidualsResponse\x12\x42\n\x08\x63sv_file\x18\x01 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.File\"\xbe\x05\n)GetSimulationSurfaceQuantityOutputRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12<\n\rquantity_type\x18\x02 \x01(\x0e\x32%.luminary.proto.quantity.QuantityType\x12\x13\n\x0bsurface_ids\x18\x03 \x03(\t\x12Y\n\x10\x63\x61lculation_type\x18\x04 \x01(\x0e\x32?.luminary.proto.api.v0.luminarycloud.simulation.CalculationType\x12\x10\n\x08\x66rame_id\x18\x06 \x01(\t\x12L\n\x0f\x66orce_direction\x18\x11 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12J\n\rmoment_center\x18\x12 \x01(\x0b\x32\x33.luminary.proto.api.v0.luminarycloud.common.Vector3\x12U\n\x0e\x61veraging_type\x18\x13 \x01(\x0e\x32=.luminary.proto.api.v0.luminarycloud.simulation.AveragingType\x12@\n\x10reference_values\x18\x14 \x01(\x0b\x32&.luminary.proto.output.ReferenceValues\x12?\n\x10vector_component\x18\x15 \x01(\x0e\x32%.luminary.proto.base.Vector3Component\x12K\n\x16moment_convention_type\x18\x16 \x01(\x0e\x32+.luminary.proto.output.MomentConventionTypeJ\x04\x08\x05\x10\x06\"p\n*GetSimulationSurfaceQuantityOutputResponse\x12\x42\n\x08\x63sv_file\x18\x01 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.File\"J\n#GetSimulationSurfaceSolutionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\ttime_step\x18\x03 \x01(\rJ\x04\x08\x02\x10\x03\"l\n$GetSimulationSurfaceSolutionResponse\x12>\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.FileJ\x04\x08\x01\x10\x02\"c\n\"GetSimulationVolumeSolutionRequest\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\ttime_step\x18\x03 \x01(\r\x12\x18\n\x10single_precision\x18\x04 \x01(\x08J\x04\x08\x02\x10\x03\"k\n#GetSimulationVolumeSolutionResponse\x12>\n\x04\x66ile\x18\x02 \x01(\x0b\x32\x30.luminary.proto.api.v0.luminarycloud.common.FileJ\x04\x08\x01\x10\x02\",\n\x1eGetSimulationParametersRequest\x12\n\n\x02id\x18\x01 \x01(\t\"\xed\x01\n\x15SimulationQueueStatus\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x15\n\rsimulation_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x31\n\rcreation_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x35\n\x0cstarted_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00\x88\x01\x01\x12\x0e\n\x06is_lma\x18\x06 \x01(\x08\x12\x10\n\x08priority\x18\x07 \x01(\x08\x42\x0f\n\r_started_time\"l\n\x1cListQueuedSimulationsRequest\x12\x16\n\tpage_size\x18\x01 \x01(\x05H\x00\x88\x01\x01\x12\x17\n\npage_token\x18\x02 \x01(\tH\x01\x88\x01\x01\x42\x0c\n\n_page_sizeB\r\n\x0b_page_token\"\xa9\x01\n\x1dListQueuedSimulationsResponse\x12Z\n\x0bsimulations\x18\x01 \x03(\x0b\x32\x45.luminary.proto.api.v0.luminarycloud.simulation.SimulationQueueStatus\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0btotal_count\x18\x03 \x01(\x05\"/\n\x15GetWorkflowIDsRequest\x12\x16\n\x0esimulation_ids\x18\x01 \x03(\t\"\xa5\x01\n\x16GetWorkflowIDsResponse\x12^\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32P.luminary.proto.api.v0.luminarycloud.simulation.GetWorkflowIDsResponse.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*\x96\x01\n\x0f\x43\x61lculationType\x12 \n\x1c\x43\x41LCULATION_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1a\x43\x41LCULATION_TYPE_AGGREGATE\x10\x01\x12 \n\x1c\x43\x41LCULATION_TYPE_PER_SURFACE\x10\x02\x12\x1f\n\x1b\x43\x41LCULATION_TYPE_DIFFERENCE\x10\x03*f\n\rAveragingType\x12\x1e\n\x1a\x41VERAGING_TYPE_UNSPECIFIED\x10\x00\x12\x1c\n\x18\x41VERAGING_TYPE_MASS_FLOW\x10\x01\x12\x17\n\x13\x41VERAGING_TYPE_AREA\x10\x02\x32\xd3\x15\n\x11SimulationService\x12\xd7\x01\n\x10\x43reateSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.CreateSimulationRequest\x1aH.luminary.proto.api.v0.luminarycloud.simulation.CreateSimulationResponse\"0\x82\xd3\xe4\x93\x02*\"%/v0/projects/{project_id}/simulations:\x01*\x12\xba\x01\n\rGetSimulation\x12\x44.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationRequest\x1a\x45.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/v0/simulations/{id}\x12\xc6\x01\n\x10UpdateSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.UpdateSimulationRequest\x1aH.luminary.proto.api.v0.luminarycloud.simulation.UpdateSimulationResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x32\x14/v0/simulations/{id}:\x01*\x12\xd1\x01\n\x0fListSimulations\x12\x46.luminary.proto.api.v0.luminarycloud.simulation.ListSimulationsRequest\x1aG.luminary.proto.api.v0.luminarycloud.simulation.ListSimulationsResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/v0/projects/{project_id}/simulations\x12\x91\x01\n\x10\x44\x65leteSimulation\x12G.luminary.proto.api.v0.luminarycloud.simulation.DeleteSimulationRequest\x1a\x16.google.protobuf.Empty\"\x1c\x82\xd3\xe4\x93\x02\x16*\x14/v0/simulations/{id}\x12\x9b\x01\n\x11SuspendSimulation\x12H.luminary.proto.api.v0.luminarycloud.simulation.SuspendSimulationRequest\x1a\x16.google.protobuf.Empty\"$\x82\xd3\xe4\x93\x02\x1e\"\x1c/v0/simulations/{id}:suspend\x12\xf7\x01\n\x1cGetSimulationGlobalResiduals\x12S.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsRequest\x1aT.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationGlobalResidualsResponse\",\x82\xd3\xe4\x93\x02&\x12$/v0/simulations/{id}:globalresiduals\x12\x8f\x02\n\"GetSimulationSurfaceQuantityOutput\x12Y.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceQuantityOutputRequest\x1aZ.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceQuantityOutputResponse\"2\x82\xd3\xe4\x93\x02,\x12*/v0/simulations/{id}:surfacequantityoutput\x12\xf7\x01\n\x1cGetSimulationSurfaceSolution\x12S.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceSolutionRequest\x1aT.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationSurfaceSolutionResponse\",\x82\xd3\xe4\x93\x02&\x12$/v0/simulations/{id}:surfacesolution\x12\xf3\x01\n\x1bGetSimulationVolumeSolution\x12R.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationVolumeSolutionRequest\x1aS.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationVolumeSolutionResponse\"+\x82\xd3\xe4\x93\x02%\x12#/v0/simulations/{id}:volumesolution\x12\xba\x01\n\x17GetSimulationParameters\x12N.luminary.proto.api.v0.luminarycloud.simulation.GetSimulationParametersRequest\x1a&.luminary.proto.client.SimulationParam\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/v0/simulations/{id}/parameters\x12\xd4\x01\n\x15ListQueuedSimulations\x12L.luminary.proto.api.v0.luminarycloud.simulation.ListQueuedSimulationsRequest\x1aM.luminary.proto.api.v0.luminarycloud.simulation.ListQueuedSimulationsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/v0/queued-simulations\x12\xc7\x01\n\x0eGetWorkflowIDs\x12\x45.luminary.proto.api.v0.luminarycloud.simulation.GetWorkflowIDsRequest\x1a\x46.luminary.proto.api.v0.luminarycloud.simulation.GetWorkflowIDsResponse\"&\x82\xd3\xe4\x93\x02 \x12\x1e/v0/simulations:getworkflowidsB>Z<luminarycloud.com/core/proto/api/v0/luminarycloud/simulationb\x06proto3')
|
|
28
29
|
|
|
29
30
|
_CALCULATIONTYPE = DESCRIPTOR.enum_types_by_name['CalculationType']
|
|
30
31
|
CalculationType = enum_type_wrapper.EnumTypeWrapper(_CALCULATIONTYPE)
|
|
@@ -63,6 +64,9 @@ _GETSIMULATIONPARAMETERSREQUEST = DESCRIPTOR.message_types_by_name['GetSimulatio
|
|
|
63
64
|
_SIMULATIONQUEUESTATUS = DESCRIPTOR.message_types_by_name['SimulationQueueStatus']
|
|
64
65
|
_LISTQUEUEDSIMULATIONSREQUEST = DESCRIPTOR.message_types_by_name['ListQueuedSimulationsRequest']
|
|
65
66
|
_LISTQUEUEDSIMULATIONSRESPONSE = DESCRIPTOR.message_types_by_name['ListQueuedSimulationsResponse']
|
|
67
|
+
_GETWORKFLOWIDSREQUEST = DESCRIPTOR.message_types_by_name['GetWorkflowIDsRequest']
|
|
68
|
+
_GETWORKFLOWIDSRESPONSE = DESCRIPTOR.message_types_by_name['GetWorkflowIDsResponse']
|
|
69
|
+
_GETWORKFLOWIDSRESPONSE_DATAENTRY = _GETWORKFLOWIDSRESPONSE.nested_types_by_name['DataEntry']
|
|
66
70
|
_SIMULATION_SIMULATIONSTATUS = _SIMULATION.enum_types_by_name['SimulationStatus']
|
|
67
71
|
_SIMULATIONOPTIONS_GPUTYPE = _SIMULATIONOPTIONS.enum_types_by_name['GPUType']
|
|
68
72
|
_GETSIMULATIONGLOBALRESIDUALSREQUEST_RESIDUALNORMALIZATION = _GETSIMULATIONGLOBALRESIDUALSREQUEST.enum_types_by_name['ResidualNormalization']
|
|
@@ -234,6 +238,28 @@ ListQueuedSimulationsResponse = _reflection.GeneratedProtocolMessageType('ListQu
|
|
|
234
238
|
})
|
|
235
239
|
_sym_db.RegisterMessage(ListQueuedSimulationsResponse)
|
|
236
240
|
|
|
241
|
+
GetWorkflowIDsRequest = _reflection.GeneratedProtocolMessageType('GetWorkflowIDsRequest', (_message.Message,), {
|
|
242
|
+
'DESCRIPTOR' : _GETWORKFLOWIDSREQUEST,
|
|
243
|
+
'__module__' : 'proto.api.v0.luminarycloud.simulation.simulation_pb2'
|
|
244
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.simulation.GetWorkflowIDsRequest)
|
|
245
|
+
})
|
|
246
|
+
_sym_db.RegisterMessage(GetWorkflowIDsRequest)
|
|
247
|
+
|
|
248
|
+
GetWorkflowIDsResponse = _reflection.GeneratedProtocolMessageType('GetWorkflowIDsResponse', (_message.Message,), {
|
|
249
|
+
|
|
250
|
+
'DataEntry' : _reflection.GeneratedProtocolMessageType('DataEntry', (_message.Message,), {
|
|
251
|
+
'DESCRIPTOR' : _GETWORKFLOWIDSRESPONSE_DATAENTRY,
|
|
252
|
+
'__module__' : 'proto.api.v0.luminarycloud.simulation.simulation_pb2'
|
|
253
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.simulation.GetWorkflowIDsResponse.DataEntry)
|
|
254
|
+
})
|
|
255
|
+
,
|
|
256
|
+
'DESCRIPTOR' : _GETWORKFLOWIDSRESPONSE,
|
|
257
|
+
'__module__' : 'proto.api.v0.luminarycloud.simulation.simulation_pb2'
|
|
258
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.api.v0.luminarycloud.simulation.GetWorkflowIDsResponse)
|
|
259
|
+
})
|
|
260
|
+
_sym_db.RegisterMessage(GetWorkflowIDsResponse)
|
|
261
|
+
_sym_db.RegisterMessage(GetWorkflowIDsResponse.DataEntry)
|
|
262
|
+
|
|
237
263
|
_SIMULATIONSERVICE = DESCRIPTOR.services_by_name['SimulationService']
|
|
238
264
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
239
265
|
|
|
@@ -243,6 +269,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
243
269
|
_CREATESIMULATIONREQUEST.fields_by_name['simulation_param']._serialized_options = b'\030\001'
|
|
244
270
|
_CREATESIMULATIONREQUEST.fields_by_name['simulation_param_json']._options = None
|
|
245
271
|
_CREATESIMULATIONREQUEST.fields_by_name['simulation_param_json']._serialized_options = b'\030\001'
|
|
272
|
+
_GETWORKFLOWIDSRESPONSE_DATAENTRY._options = None
|
|
273
|
+
_GETWORKFLOWIDSRESPONSE_DATAENTRY._serialized_options = b'8\001'
|
|
246
274
|
_SIMULATIONSERVICE.methods_by_name['CreateSimulation']._options = None
|
|
247
275
|
_SIMULATIONSERVICE.methods_by_name['CreateSimulation']._serialized_options = b'\202\323\344\223\002*\"%/v0/projects/{project_id}/simulations:\001*'
|
|
248
276
|
_SIMULATIONSERVICE.methods_by_name['GetSimulation']._options = None
|
|
@@ -267,64 +295,72 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
267
295
|
_SIMULATIONSERVICE.methods_by_name['GetSimulationParameters']._serialized_options = b'\202\323\344\223\002!\022\037/v0/simulations/{id}/parameters'
|
|
268
296
|
_SIMULATIONSERVICE.methods_by_name['ListQueuedSimulations']._options = None
|
|
269
297
|
_SIMULATIONSERVICE.methods_by_name['ListQueuedSimulations']._serialized_options = b'\202\323\344\223\002\030\022\026/v0/queued-simulations'
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
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
|
-
|
|
298
|
+
_SIMULATIONSERVICE.methods_by_name['GetWorkflowIDs']._options = None
|
|
299
|
+
_SIMULATIONSERVICE.methods_by_name['GetWorkflowIDs']._serialized_options = b'\202\323\344\223\002 \022\036/v0/simulations:getworkflowids'
|
|
300
|
+
_CALCULATIONTYPE._serialized_start=4884
|
|
301
|
+
_CALCULATIONTYPE._serialized_end=5034
|
|
302
|
+
_AVERAGINGTYPE._serialized_start=5036
|
|
303
|
+
_AVERAGINGTYPE._serialized_end=5138
|
|
304
|
+
_SIMULATION._serialized_start=470
|
|
305
|
+
_SIMULATION._serialized_end=988
|
|
306
|
+
_SIMULATION_SIMULATIONSTATUS._serialized_start=778
|
|
307
|
+
_SIMULATION_SIMULATIONSTATUS._serialized_end=988
|
|
308
|
+
_SIMULATIONOPTIONS._serialized_start=991
|
|
309
|
+
_SIMULATIONOPTIONS._serialized_end=1259
|
|
310
|
+
_SIMULATIONOPTIONS_GPUTYPE._serialized_start=1150
|
|
311
|
+
_SIMULATIONOPTIONS_GPUTYPE._serialized_end=1259
|
|
312
|
+
_CREATESIMULATIONREQUEST._serialized_start=1262
|
|
313
|
+
_CREATESIMULATIONREQUEST._serialized_end=1736
|
|
314
|
+
_CREATESIMULATIONRESPONSE._serialized_start=1738
|
|
315
|
+
_CREATESIMULATIONRESPONSE._serialized_end=1844
|
|
316
|
+
_GETSIMULATIONREQUEST._serialized_start=1846
|
|
317
|
+
_GETSIMULATIONREQUEST._serialized_end=1880
|
|
318
|
+
_GETSIMULATIONRESPONSE._serialized_start=1882
|
|
319
|
+
_GETSIMULATIONRESPONSE._serialized_end=1985
|
|
320
|
+
_UPDATESIMULATIONREQUEST._serialized_start=1987
|
|
321
|
+
_UPDATESIMULATIONREQUEST._serialized_end=2094
|
|
322
|
+
_UPDATESIMULATIONRESPONSE._serialized_start=2096
|
|
323
|
+
_UPDATESIMULATIONRESPONSE._serialized_end=2202
|
|
324
|
+
_LISTSIMULATIONSREQUEST._serialized_start=2204
|
|
325
|
+
_LISTSIMULATIONSREQUEST._serialized_end=2248
|
|
326
|
+
_LISTSIMULATIONSRESPONSE._serialized_start=2250
|
|
327
|
+
_LISTSIMULATIONSRESPONSE._serialized_end=2356
|
|
328
|
+
_DELETESIMULATIONREQUEST._serialized_start=2358
|
|
329
|
+
_DELETESIMULATIONREQUEST._serialized_end=2395
|
|
330
|
+
_SUSPENDSIMULATIONREQUEST._serialized_start=2397
|
|
331
|
+
_SUSPENDSIMULATIONREQUEST._serialized_end=2435
|
|
332
|
+
_GETSIMULATIONGLOBALRESIDUALSREQUEST._serialized_start=2438
|
|
333
|
+
_GETSIMULATIONGLOBALRESIDUALSREQUEST._serialized_end=2773
|
|
334
|
+
_GETSIMULATIONGLOBALRESIDUALSREQUEST_RESIDUALNORMALIZATION._serialized_start=2630
|
|
335
|
+
_GETSIMULATIONGLOBALRESIDUALSREQUEST_RESIDUALNORMALIZATION._serialized_end=2767
|
|
336
|
+
_GETSIMULATIONGLOBALRESIDUALSRESPONSE._serialized_start=2775
|
|
337
|
+
_GETSIMULATIONGLOBALRESIDUALSRESPONSE._serialized_end=2881
|
|
338
|
+
_GETSIMULATIONSURFACEQUANTITYOUTPUTREQUEST._serialized_start=2884
|
|
339
|
+
_GETSIMULATIONSURFACEQUANTITYOUTPUTREQUEST._serialized_end=3586
|
|
340
|
+
_GETSIMULATIONSURFACEQUANTITYOUTPUTRESPONSE._serialized_start=3588
|
|
341
|
+
_GETSIMULATIONSURFACEQUANTITYOUTPUTRESPONSE._serialized_end=3700
|
|
342
|
+
_GETSIMULATIONSURFACESOLUTIONREQUEST._serialized_start=3702
|
|
343
|
+
_GETSIMULATIONSURFACESOLUTIONREQUEST._serialized_end=3776
|
|
344
|
+
_GETSIMULATIONSURFACESOLUTIONRESPONSE._serialized_start=3778
|
|
345
|
+
_GETSIMULATIONSURFACESOLUTIONRESPONSE._serialized_end=3886
|
|
346
|
+
_GETSIMULATIONVOLUMESOLUTIONREQUEST._serialized_start=3888
|
|
347
|
+
_GETSIMULATIONVOLUMESOLUTIONREQUEST._serialized_end=3987
|
|
348
|
+
_GETSIMULATIONVOLUMESOLUTIONRESPONSE._serialized_start=3989
|
|
349
|
+
_GETSIMULATIONVOLUMESOLUTIONRESPONSE._serialized_end=4096
|
|
350
|
+
_GETSIMULATIONPARAMETERSREQUEST._serialized_start=4098
|
|
351
|
+
_GETSIMULATIONPARAMETERSREQUEST._serialized_end=4142
|
|
352
|
+
_SIMULATIONQUEUESTATUS._serialized_start=4145
|
|
353
|
+
_SIMULATIONQUEUESTATUS._serialized_end=4382
|
|
354
|
+
_LISTQUEUEDSIMULATIONSREQUEST._serialized_start=4384
|
|
355
|
+
_LISTQUEUEDSIMULATIONSREQUEST._serialized_end=4492
|
|
356
|
+
_LISTQUEUEDSIMULATIONSRESPONSE._serialized_start=4495
|
|
357
|
+
_LISTQUEUEDSIMULATIONSRESPONSE._serialized_end=4664
|
|
358
|
+
_GETWORKFLOWIDSREQUEST._serialized_start=4666
|
|
359
|
+
_GETWORKFLOWIDSREQUEST._serialized_end=4713
|
|
360
|
+
_GETWORKFLOWIDSRESPONSE._serialized_start=4716
|
|
361
|
+
_GETWORKFLOWIDSRESPONSE._serialized_end=4881
|
|
362
|
+
_GETWORKFLOWIDSRESPONSE_DATAENTRY._serialized_start=4838
|
|
363
|
+
_GETWORKFLOWIDSRESPONSE_DATAENTRY._serialized_end=4881
|
|
364
|
+
_SIMULATIONSERVICE._serialized_start=5141
|
|
365
|
+
_SIMULATIONSERVICE._serialized_end=7912
|
|
330
366
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -10,6 +10,7 @@ import google.protobuf.internal.enum_type_wrapper
|
|
|
10
10
|
import google.protobuf.message
|
|
11
11
|
import google.protobuf.timestamp_pb2
|
|
12
12
|
import luminarycloud._proto.api.v0.luminarycloud.common.common_pb2
|
|
13
|
+
import luminarycloud._proto.api.v0.luminarycloud.simulation_template.simulation_template_pb2
|
|
13
14
|
import luminarycloud._proto.base.base_pb2
|
|
14
15
|
import luminarycloud._proto.client.simulation_pb2
|
|
15
16
|
import luminarycloud._proto.output.output_pb2
|
|
@@ -127,6 +128,7 @@ class Simulation(google.protobuf.message.Message):
|
|
|
127
128
|
MESH_ID_FIELD_NUMBER: builtins.int
|
|
128
129
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
129
130
|
PROJECT_ID_FIELD_NUMBER: builtins.int
|
|
131
|
+
DOE_NAME_FIELD_NUMBER: builtins.int
|
|
130
132
|
id: builtins.str
|
|
131
133
|
"""Required. The unique identifier for the simulation."""
|
|
132
134
|
name: builtins.str
|
|
@@ -147,6 +149,8 @@ class Simulation(google.protobuf.message.Message):
|
|
|
147
149
|
"""User specified description for this simulation."""
|
|
148
150
|
project_id: builtins.str
|
|
149
151
|
"""Output only. The ID of the project containing this simulation."""
|
|
152
|
+
doe_name: builtins.str
|
|
153
|
+
"""Name of the DOE that created this simulation."""
|
|
150
154
|
def __init__(
|
|
151
155
|
self,
|
|
152
156
|
*,
|
|
@@ -158,9 +162,10 @@ class Simulation(google.protobuf.message.Message):
|
|
|
158
162
|
mesh_id: builtins.str = ...,
|
|
159
163
|
description: builtins.str = ...,
|
|
160
164
|
project_id: builtins.str = ...,
|
|
165
|
+
doe_name: builtins.str = ...,
|
|
161
166
|
) -> None: ...
|
|
162
167
|
def HasField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "update_time", b"update_time"]) -> builtins.bool: ...
|
|
163
|
-
def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "description", b"description", "id", b"id", "mesh_id", b"mesh_id", "name", b"name", "project_id", b"project_id", "status", b"status", "update_time", b"update_time"]) -> None: ...
|
|
168
|
+
def ClearField(self, field_name: typing_extensions.Literal["create_time", b"create_time", "description", b"description", "doe_name", b"doe_name", "id", b"id", "mesh_id", b"mesh_id", "name", b"name", "project_id", b"project_id", "status", b"status", "update_time", b"update_time"]) -> None: ...
|
|
164
169
|
|
|
165
170
|
global___Simulation = Simulation
|
|
166
171
|
|
|
@@ -178,11 +183,15 @@ class SimulationOptions(google.protobuf.message.Message):
|
|
|
178
183
|
GPU_TYPE_UNSPECIFIED: SimulationOptions._GPUType.ValueType # 0
|
|
179
184
|
GPU_TYPE_V100: SimulationOptions._GPUType.ValueType # 1
|
|
180
185
|
GPU_TYPE_A100: SimulationOptions._GPUType.ValueType # 2
|
|
186
|
+
GPU_TYPE_T4: SimulationOptions._GPUType.ValueType # 3
|
|
187
|
+
GPU_TYPE_H100: SimulationOptions._GPUType.ValueType # 4
|
|
181
188
|
|
|
182
189
|
class GPUType(_GPUType, metaclass=_GPUTypeEnumTypeWrapper): ...
|
|
183
190
|
GPU_TYPE_UNSPECIFIED: SimulationOptions.GPUType.ValueType # 0
|
|
184
191
|
GPU_TYPE_V100: SimulationOptions.GPUType.ValueType # 1
|
|
185
192
|
GPU_TYPE_A100: SimulationOptions.GPUType.ValueType # 2
|
|
193
|
+
GPU_TYPE_T4: SimulationOptions.GPUType.ValueType # 3
|
|
194
|
+
GPU_TYPE_H100: SimulationOptions.GPUType.ValueType # 4
|
|
186
195
|
|
|
187
196
|
BATCH_PROCESSING_FIELD_NUMBER: builtins.int
|
|
188
197
|
GPU_TYPE_FIELD_NUMBER: builtins.int
|
|
@@ -222,6 +231,7 @@ class CreateSimulationRequest(google.protobuf.message.Message):
|
|
|
222
231
|
SIMULATION_PARAM_JSON_FIELD_NUMBER: builtins.int
|
|
223
232
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
224
233
|
NAMED_VARIABLE_SET_VERSION_ID_FIELD_NUMBER: builtins.int
|
|
234
|
+
SIMULATION_TEMPLATE_FIELD_NUMBER: builtins.int
|
|
225
235
|
project_id: builtins.str
|
|
226
236
|
"""Required. Project ID associated with this simulation."""
|
|
227
237
|
mesh_id: builtins.str
|
|
@@ -231,7 +241,9 @@ class CreateSimulationRequest(google.protobuf.message.Message):
|
|
|
231
241
|
Maximum allowed length is 256 characters.
|
|
232
242
|
"""
|
|
233
243
|
simulation_template_id: builtins.str
|
|
234
|
-
"""
|
|
244
|
+
"""Optional. The simulation template ID containing the FVM parameters. Must be provided unless
|
|
245
|
+
simulation_template is provided.
|
|
246
|
+
"""
|
|
235
247
|
@property
|
|
236
248
|
def simulation_options(self) -> global___SimulationOptions:
|
|
237
249
|
"""Optional. Various settings to configure how a simulation is run."""
|
|
@@ -253,6 +265,13 @@ class CreateSimulationRequest(google.protobuf.message.Message):
|
|
|
253
265
|
"""Named Variable Set Version ID.
|
|
254
266
|
Used to resolve Named variables in the simulation template.
|
|
255
267
|
"""
|
|
268
|
+
@property
|
|
269
|
+
def simulation_template(self) -> luminarycloud._proto.api.v0.luminarycloud.simulation_template.simulation_template_pb2.SimulationTemplate:
|
|
270
|
+
"""Optional. The simulation template to use for the simulation. This is an alternative to passing the
|
|
271
|
+
simulation_template_id, but it is not recommended since the SimulationTemplate schema evolves
|
|
272
|
+
over time, and we do not guarantee backwards compatibility. Passing the simulation_template_id
|
|
273
|
+
is the recommended way to create a simulation.
|
|
274
|
+
"""
|
|
256
275
|
def __init__(
|
|
257
276
|
self,
|
|
258
277
|
*,
|
|
@@ -265,9 +284,10 @@ class CreateSimulationRequest(google.protobuf.message.Message):
|
|
|
265
284
|
simulation_param_json: builtins.bytes = ...,
|
|
266
285
|
description: builtins.str = ...,
|
|
267
286
|
named_variable_set_version_id: builtins.str = ...,
|
|
287
|
+
simulation_template: luminarycloud._proto.api.v0.luminarycloud.simulation_template.simulation_template_pb2.SimulationTemplate | None = ...,
|
|
268
288
|
) -> None: ...
|
|
269
|
-
def HasField(self, field_name: typing_extensions.Literal["simulation_options", b"simulation_options", "simulation_param", b"simulation_param"]) -> builtins.bool: ...
|
|
270
|
-
def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "mesh_id", b"mesh_id", "name", b"name", "named_variable_set_version_id", b"named_variable_set_version_id", "project_id", b"project_id", "simulation_options", b"simulation_options", "simulation_param", b"simulation_param", "simulation_param_json", b"simulation_param_json", "simulation_template_id", b"simulation_template_id"]) -> None: ...
|
|
289
|
+
def HasField(self, field_name: typing_extensions.Literal["simulation_options", b"simulation_options", "simulation_param", b"simulation_param", "simulation_template", b"simulation_template"]) -> builtins.bool: ...
|
|
290
|
+
def ClearField(self, field_name: typing_extensions.Literal["description", b"description", "mesh_id", b"mesh_id", "name", b"name", "named_variable_set_version_id", b"named_variable_set_version_id", "project_id", b"project_id", "simulation_options", b"simulation_options", "simulation_param", b"simulation_param", "simulation_param_json", b"simulation_param_json", "simulation_template", b"simulation_template", "simulation_template_id", b"simulation_template_id"]) -> None: ...
|
|
271
291
|
|
|
272
292
|
global___CreateSimulationRequest = CreateSimulationRequest
|
|
273
293
|
|
|
@@ -777,3 +797,56 @@ class ListQueuedSimulationsResponse(google.protobuf.message.Message):
|
|
|
777
797
|
def ClearField(self, field_name: typing_extensions.Literal["next_page_token", b"next_page_token", "simulations", b"simulations", "total_count", b"total_count"]) -> None: ...
|
|
778
798
|
|
|
779
799
|
global___ListQueuedSimulationsResponse = ListQueuedSimulationsResponse
|
|
800
|
+
|
|
801
|
+
class GetWorkflowIDsRequest(google.protobuf.message.Message):
|
|
802
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
803
|
+
|
|
804
|
+
SIMULATION_IDS_FIELD_NUMBER: builtins.int
|
|
805
|
+
@property
|
|
806
|
+
def simulation_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
807
|
+
"""Required. The simulation IDs to look up the workflow IDs for."""
|
|
808
|
+
def __init__(
|
|
809
|
+
self,
|
|
810
|
+
*,
|
|
811
|
+
simulation_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
812
|
+
) -> None: ...
|
|
813
|
+
def ClearField(self, field_name: typing_extensions.Literal["simulation_ids", b"simulation_ids"]) -> None: ...
|
|
814
|
+
|
|
815
|
+
global___GetWorkflowIDsRequest = GetWorkflowIDsRequest
|
|
816
|
+
|
|
817
|
+
class GetWorkflowIDsResponse(google.protobuf.message.Message):
|
|
818
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
819
|
+
|
|
820
|
+
class DataEntry(google.protobuf.message.Message):
|
|
821
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
822
|
+
|
|
823
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
824
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
825
|
+
key: builtins.str
|
|
826
|
+
value: builtins.str
|
|
827
|
+
def __init__(
|
|
828
|
+
self,
|
|
829
|
+
*,
|
|
830
|
+
key: builtins.str = ...,
|
|
831
|
+
value: builtins.str = ...,
|
|
832
|
+
) -> None: ...
|
|
833
|
+
def ClearField(self, field_name: typing_extensions.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
834
|
+
|
|
835
|
+
DATA_FIELD_NUMBER: builtins.int
|
|
836
|
+
@property
|
|
837
|
+
def data(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
838
|
+
"""The mapping from simulation ID to workflow ID.
|
|
839
|
+
Only simulation IDs that were successfully resolved to workflow IDs will be present as keys.
|
|
840
|
+
Simulation IDs are omitted if:
|
|
841
|
+
- The simulation ID does not exist
|
|
842
|
+
- The user lacks access to the simulation's project
|
|
843
|
+
- The simulation has no associated workflow ID
|
|
844
|
+
"""
|
|
845
|
+
def __init__(
|
|
846
|
+
self,
|
|
847
|
+
*,
|
|
848
|
+
data: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
849
|
+
) -> None: ...
|
|
850
|
+
def ClearField(self, field_name: typing_extensions.Literal["data", b"data"]) -> None: ...
|
|
851
|
+
|
|
852
|
+
global___GetWorkflowIDsResponse = GetWorkflowIDsResponse
|
|
@@ -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)
|