luminarycloud 0.22.0__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.
Files changed (45) hide show
  1. luminarycloud/_client/authentication_plugin.py +49 -0
  2. luminarycloud/_client/client.py +33 -8
  3. luminarycloud/_client/http_client.py +1 -1
  4. luminarycloud/_client/retry_interceptor.py +64 -2
  5. luminarycloud/_helpers/download.py +11 -0
  6. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +132 -132
  7. luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +36 -8
  8. luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.py +53 -23
  9. luminarycloud/_proto/api/v0/luminarycloud/physics_ai/physics_ai_pb2.pyi +54 -1
  10. luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2.py +195 -0
  11. luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2.pyi +361 -0
  12. luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2_grpc.py +172 -0
  13. luminarycloud/_proto/api/v0/luminarycloud/physicsaiinference/physicsaiinference_pb2_grpc.pyi +66 -0
  14. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.py +88 -65
  15. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2.pyi +42 -0
  16. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.py +34 -0
  17. luminarycloud/_proto/api/v0/luminarycloud/thirdpartyintegration/onshape/onshape_pb2_grpc.pyi +12 -0
  18. luminarycloud/_proto/base/base_pb2.py +7 -6
  19. luminarycloud/_proto/base/base_pb2.pyi +4 -0
  20. luminarycloud/_proto/client/simulation_pb2.py +3 -3
  21. luminarycloud/_proto/physicsaiinferenceservice/physicsaiinferenceservice_pb2.py +30 -0
  22. luminarycloud/_proto/physicsaiinferenceservice/physicsaiinferenceservice_pb2.pyi +7 -0
  23. luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2.py +2 -2
  24. luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2_grpc.py +34 -0
  25. luminarycloud/_proto/physicsaitrainingservice/physicsaitrainingservice_pb2_grpc.pyi +12 -0
  26. luminarycloud/enum/vis_enums.py +6 -0
  27. luminarycloud/geometry.py +4 -0
  28. luminarycloud/geometry_version.py +4 -0
  29. luminarycloud/mesh.py +4 -0
  30. luminarycloud/meshing/mesh_generation_params.py +5 -6
  31. luminarycloud/meshing/sizing_strategy/sizing_strategies.py +1 -2
  32. luminarycloud/physics_ai/solution.py +4 -0
  33. luminarycloud/pipelines/api.py +99 -8
  34. luminarycloud/pipelines/core.py +1 -1
  35. luminarycloud/pipelines/stages.py +22 -9
  36. luminarycloud/project.py +5 -6
  37. luminarycloud/types/vector3.py +1 -2
  38. luminarycloud/vis/data_extraction.py +7 -7
  39. luminarycloud/vis/interactive_report.py +163 -7
  40. luminarycloud/vis/report.py +113 -1
  41. luminarycloud/volume_selection.py +10 -2
  42. {luminarycloud-0.22.0.dist-info → luminarycloud-0.22.1.dist-info}/METADATA +1 -1
  43. {luminarycloud-0.22.0.dist-info → luminarycloud-0.22.1.dist-info}/RECORD +44 -39
  44. {luminarycloud-0.22.0.dist-info → luminarycloud-0.22.1.dist-info}/WHEEL +1 -1
  45. luminarycloud/pipeline_util/dictable.py +0 -27
@@ -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
- _ONSHAPEELEMENTTYPE._serialized_start=3795
292
- _ONSHAPEELEMENTTYPE._serialized_end=3846
293
- _ONSHAPEPARTTYPE._serialized_start=3848
294
- _ONSHAPEPARTTYPE._serialized_end=3935
295
- _GETAUTHENTICATIONSTATUSREQUEST._serialized_start=204
296
- _GETAUTHENTICATIONSTATUSREQUEST._serialized_end=236
297
- _GETAUTHENTICATIONSTATUSREPLY._serialized_start=238
298
- _GETAUTHENTICATIONSTATUSREPLY._serialized_end=289
299
- _ONSHAPEPATH._serialized_start=291
300
- _ONSHAPEPATH._serialized_end=400
301
- _ONSHAPEVARIABLE._serialized_start=402
302
- _ONSHAPEVARIABLE._serialized_end=503
303
- _ONSHAPECOMPANYINFO._serialized_start=505
304
- _ONSHAPECOMPANYINFO._serialized_end=567
305
- _ONSHAPEDOCUMENTVERSION._serialized_start=569
306
- _ONSHAPEDOCUMENTVERSION._serialized_end=665
307
- _ONSHAPEDOCUMENTWORKSPACE._serialized_start=667
308
- _ONSHAPEDOCUMENTWORKSPACE._serialized_end=765
309
- _ONSHAPEDOCUMENT._serialized_start=768
310
- _ONSHAPEDOCUMENT._serialized_end=1117
311
- _ONSHAPEDOCUMENTONLY._serialized_start=1120
312
- _ONSHAPEDOCUMENTONLY._serialized_end=1251
313
- _LISTDOCUMENTSREQUEST._serialized_start=1253
314
- _LISTDOCUMENTSREQUEST._serialized_end=1362
315
- _LISTDOCUMENTSREPLY._serialized_start=1365
316
- _LISTDOCUMENTSREPLY._serialized_end=1534
317
- _LISTWORKSPACESANDVERSIONSREQUEST._serialized_start=1537
318
- _LISTWORKSPACESANDVERSIONSREQUEST._serialized_end=1665
319
- _LISTWORKSPACESANDVERSIONSREPLY._serialized_start=1668
320
- _LISTWORKSPACESANDVERSIONSREPLY._serialized_end=1922
321
- _LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_start=1924
322
- _LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREQUEST._serialized_end=2036
323
- _LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_start=2039
324
- _LISTDOCUMENTSWITHWORKSPACEANDVERSIONSREPLY._serialized_end=2228
325
- _ONSHAPEELEMENT._serialized_start=2231
326
- _ONSHAPEELEMENT._serialized_end=2412
327
- _LISTIMPORTABLESFORSELECTIONREQUEST._serialized_start=2415
328
- _LISTIMPORTABLESFORSELECTIONREQUEST._serialized_end=2545
329
- _LISTIMPORTABLESFORSELECTIONREPLY._serialized_start=2548
330
- _LISTIMPORTABLESFORSELECTIONREPLY._serialized_end=2683
331
- _LISTPARTSFORIMPORTABLEREQUEST._serialized_start=2685
332
- _LISTPARTSFORIMPORTABLEREQUEST._serialized_end=2810
333
- _ONSHAPEPART._serialized_start=2813
334
- _ONSHAPEPART._serialized_end=3002
335
- _LISTPARTSFORIMPORTABLEREPLY._serialized_start=3004
336
- _LISTPARTSFORIMPORTABLEREPLY._serialized_end=3128
337
- _GETCOMPANYPREFIXESREQUEST._serialized_start=3130
338
- _GETCOMPANYPREFIXESREQUEST._serialized_end=3157
339
- _GETCOMPANYPREFIXESREPLY._serialized_start=3160
340
- _GETCOMPANYPREFIXESREPLY._serialized_end=3291
341
- _FETCHVARIABLESREQUEST._serialized_start=3293
342
- _FETCHVARIABLESREQUEST._serialized_end=3410
343
- _FETCHVARIABLESREPLY._serialized_start=3413
344
- _FETCHVARIABLESREPLY._serialized_end=3543
345
- _GETELEMENTNAMEREQUEST._serialized_start=3545
346
- _GETELEMENTNAMEREQUEST._serialized_end=3662
347
- _GETELEMENTNAMEREPLY._serialized_start=3664
348
- _GETELEMENTNAMEREPLY._serialized_end=3699
349
- _GETFEATURENAMEREQUEST._serialized_start=3701
350
- _GETFEATURENAMEREQUEST._serialized_end=3749
351
- _GETFEATURENAMEREPLY._serialized_start=3751
352
- _GETFEATURENAMEREPLY._serialized_end=3793
353
- _ONSHAPESERVICE._serialized_start=3938
354
- _ONSHAPESERVICE._serialized_end=6545
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)
@@ -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: ...
@@ -19,7 +19,7 @@ from luminarycloud._proto.quantity import quantity_pb2 as proto_dot_quantity_dot
19
19
  from luminarycloud._proto.lcstatus import lcstatus_pb2 as proto_dot_lcstatus_dot_lcstatus__pb2
20
20
 
21
21
 
22
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15proto/base/base.proto\x12\x13luminary.proto.base\x1a google/protobuf/descriptor.proto\x1a\x19google/protobuf/any.proto\x1a\x1dproto/quantity/quantity.proto\x1a\x1dproto/lcstatus/lcstatus.proto\"/\n\x08\x43hecksum\x12\x10\n\x06sha256\x18\x01 \x01(\x0cH\x00\x42\x0b\n\talgorithmJ\x04\x08\x02\x10\x03\"N\n\x06Status\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Any\"x\n\rStatusPayload\x12-\n\x07subcode\x18\x01 \x01(\x0e\x32\x1c.luminary.proto.base.Subcode\x12\x38\n\x06\x64\x65tail\x18\x03 \x03(\x0b\x32(.luminary.proto.base.StatusPayloadDetail\"5\n\x13StatusPayloadDetail\x12\x0f\n\x07message\x18\x10 \x01(\t\x12\r\n\x05where\x18\x11 \x01(\t\"\xb3\x01\n\tJobStatus\x12/\n\x03typ\x18\x01 \x01(\x0e\x32\".luminary.proto.base.JobStatusType\x12-\n\x06status\x18\x02 \x01(\x0b\x32\x1b.luminary.proto.base.StatusH\x00\x12\x35\n\x08lcstatus\x18\x03 \x01(\x0b\x32!.luminary.proto.lcstatus.LCStatusH\x00\x42\x0f\n\rfailed_reason\"\x92\x01\n\tAdVector3\x12+\n\x01x\x18\x01 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\x12+\n\x01y\x18\x02 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\x12+\n\x01z\x18\x03 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\"*\n\x07Vector3\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x12\t\n\x01z\x18\x03 \x01(\x01\"-\n\nIntVector3\x12\t\n\x01x\x18\x01 \x01(\x03\x12\t\n\x01y\x18\x02 \x01(\x03\x12\t\n\x01z\x18\x03 \x01(\x03\"\x84\x01\n\x07Matrix3\x12\'\n\x01\x61\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\x12\'\n\x01\x62\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\x12\'\n\x01\x63\x18\x03 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\"C\n\x10\x46irstOrderAdType\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x0f\n\x07tangent\x18\x02 \x03(\x01\x12\x0f\n\x07\x61\x64joint\x18\x03 \x03(\x01\"\xb9\x01\n\x11SecondOrderAdType\x12\x34\n\x05value\x18\x01 \x01(\x0b\x32%.luminary.proto.base.FirstOrderAdType\x12\x36\n\x07tangent\x18\x02 \x03(\x0b\x32%.luminary.proto.base.FirstOrderAdType\x12\x36\n\x07\x61\x64joint\x18\x03 \x03(\x0b\x32%.luminary.proto.base.FirstOrderAdType\"3\n\x0e\x45xpressionType\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x12\n\nexpression\x18\x02 \x01(\t\"\xad\x02\n\x0b\x41\x64\x46loatType\x12\x0f\n\x05value\x18\x01 \x01(\x01H\x00\x12<\n\x0b\x66irst_order\x18\x02 \x01(\x0b\x32%.luminary.proto.base.FirstOrderAdTypeH\x00\x12>\n\x0csecond_order\x18\x03 \x01(\x0b\x32&.luminary.proto.base.SecondOrderAdTypeH\x00\x12\x37\n\x08variable\x18\x05 \x01(\x0b\x32#.luminary.proto.base.ExpressionTypeH\x00\x12>\n\rquantity_type\x18\x04 \x01(\x0e\x32%.luminary.proto.quantity.QuantityTypeH\x01\x42\n\n\x08\x61\x64_typesB\n\n\x08quantity\"\x14\n\x03Int\x12\r\n\x05value\x18\x01 \x01(\x03\"\x16\n\x05\x46loat\x12\r\n\x05value\x18\x01 \x01(\x01\"\x15\n\x04\x42ool\x12\r\n\x05value\x18\x01 \x01(\x08\":\n\x05\x41\x64Row\x12\x31\n\x07\x65lement\x18\x01 \x03(\x0b\x32 .luminary.proto.base.AdFloatType\"3\n\x08\x41\x64Matrix\x12\'\n\x03row\x18\x01 \x03(\x0b\x32\x1a.luminary.proto.base.AdRow\"\x8c\x01\n\tAdMatrix3\x12)\n\x01\x61\x18\x01 \x01(\x0b\x32\x1e.luminary.proto.base.AdVector3\x12)\n\x01\x62\x18\x02 \x01(\x0b\x32\x1e.luminary.proto.base.AdVector3\x12)\n\x01\x63\x18\x03 \x01(\x0b\x32\x1e.luminary.proto.base.AdVector3*\xcd\x03\n\x07Subcode\x12\x17\n\x13SUBCODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16SUBCODE_USER_NOT_FOUND\x10\x01\x12 \n\x1cSUBCODE_JOB_CANCELED_BY_USER\x10\x02\x12#\n\x1fSUBCODE_JOB_CANCELED_DIVERGENCE\x10\x03\x12$\n SUBCODE_JOB_CANCELED_SETUP_ERROR\x10\x04\x12\x1f\n\x1bSUBCODE_INCOMPATIBLE_CLIENT\x10\x05\x12\x1e\n\x1aSUBCODE_INSUFFICIENT_QUOTA\x10\x06\x12/\n+SUBCODE_EMAIL_DOMAIN_NOT_IN_ALLOWED_DOMAINS\x10\x07\x12&\n\"SUBCODE_TRIAL_ACCOUNT_USER_BLOCKED\x10\x08\x12(\n$SUBCODE_UNLIMITED_PLAN_EXCEEDS_QUOTA\x10\t\x12 \n\x1cSUBCODE_DATE_RANGE_TOO_LARGE\x10\n\x12\x1d\n\x19SUBCODE_GEO_ERROR_TO_USER\x10\x0b\x12\x1b\n\x17SUBCODE_GEO_UNSUPPORTED\x10\x0c*t\n\rJobStatusType\x12\x0b\n\x07Invalid\x10\x00\x12\n\n\x06\x41\x63tive\x10\x01\x12\r\n\tCompleted\x10\x02\x12\n\n\x06\x46\x61iled\x10\x03\x12\r\n\tSuspended\x10\x04\x12\x10\n\x0cPendingRetry\x10\x05\x12\x0e\n\nSuspending\x10\x06*\x80\x01\n\x10Vector3Component\x12\x1e\n\x1aVECTOR_3_COMPONENT_INVALID\x10\x00\x12\x18\n\x14VECTOR_3_COMPONENT_X\x10\x01\x12\x18\n\x14VECTOR_3_COMPONENT_Y\x10\x02\x12\x18\n\x14VECTOR_3_COMPONENT_Z\x10\x03\x42#Z!luminarycloud.com/core/proto/baseb\x06proto3')
22
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x15proto/base/base.proto\x12\x13luminary.proto.base\x1a google/protobuf/descriptor.proto\x1a\x19google/protobuf/any.proto\x1a\x1dproto/quantity/quantity.proto\x1a\x1dproto/lcstatus/lcstatus.proto\"/\n\x08\x43hecksum\x12\x10\n\x06sha256\x18\x01 \x01(\x0cH\x00\x42\x0b\n\talgorithmJ\x04\x08\x02\x10\x03\"N\n\x06Status\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0f\n\x07message\x18\x02 \x01(\t\x12%\n\x07\x64\x65tails\x18\x03 \x03(\x0b\x32\x14.google.protobuf.Any\"x\n\rStatusPayload\x12-\n\x07subcode\x18\x01 \x01(\x0e\x32\x1c.luminary.proto.base.Subcode\x12\x38\n\x06\x64\x65tail\x18\x03 \x03(\x0b\x32(.luminary.proto.base.StatusPayloadDetail\"5\n\x13StatusPayloadDetail\x12\x0f\n\x07message\x18\x10 \x01(\t\x12\r\n\x05where\x18\x11 \x01(\t\"\xb3\x01\n\tJobStatus\x12/\n\x03typ\x18\x01 \x01(\x0e\x32\".luminary.proto.base.JobStatusType\x12-\n\x06status\x18\x02 \x01(\x0b\x32\x1b.luminary.proto.base.StatusH\x00\x12\x35\n\x08lcstatus\x18\x03 \x01(\x0b\x32!.luminary.proto.lcstatus.LCStatusH\x00\x42\x0f\n\rfailed_reason\"\x92\x01\n\tAdVector3\x12+\n\x01x\x18\x01 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\x12+\n\x01y\x18\x02 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\x12+\n\x01z\x18\x03 \x01(\x0b\x32 .luminary.proto.base.AdFloatType\"*\n\x07Vector3\x12\t\n\x01x\x18\x01 \x01(\x01\x12\t\n\x01y\x18\x02 \x01(\x01\x12\t\n\x01z\x18\x03 \x01(\x01\"-\n\nIntVector3\x12\t\n\x01x\x18\x01 \x01(\x03\x12\t\n\x01y\x18\x02 \x01(\x03\x12\t\n\x01z\x18\x03 \x01(\x03\"\x84\x01\n\x07Matrix3\x12\'\n\x01\x61\x18\x01 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\x12\'\n\x01\x62\x18\x02 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\x12\'\n\x01\x63\x18\x03 \x01(\x0b\x32\x1c.luminary.proto.base.Vector3\"C\n\x10\x46irstOrderAdType\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x0f\n\x07tangent\x18\x02 \x03(\x01\x12\x0f\n\x07\x61\x64joint\x18\x03 \x03(\x01\"\xb9\x01\n\x11SecondOrderAdType\x12\x34\n\x05value\x18\x01 \x01(\x0b\x32%.luminary.proto.base.FirstOrderAdType\x12\x36\n\x07tangent\x18\x02 \x03(\x0b\x32%.luminary.proto.base.FirstOrderAdType\x12\x36\n\x07\x61\x64joint\x18\x03 \x03(\x0b\x32%.luminary.proto.base.FirstOrderAdType\"3\n\x0e\x45xpressionType\x12\r\n\x05value\x18\x01 \x01(\x01\x12\x12\n\nexpression\x18\x02 \x01(\t\"\xad\x02\n\x0b\x41\x64\x46loatType\x12\x0f\n\x05value\x18\x01 \x01(\x01H\x00\x12<\n\x0b\x66irst_order\x18\x02 \x01(\x0b\x32%.luminary.proto.base.FirstOrderAdTypeH\x00\x12>\n\x0csecond_order\x18\x03 \x01(\x0b\x32&.luminary.proto.base.SecondOrderAdTypeH\x00\x12\x37\n\x08variable\x18\x05 \x01(\x0b\x32#.luminary.proto.base.ExpressionTypeH\x00\x12>\n\rquantity_type\x18\x04 \x01(\x0e\x32%.luminary.proto.quantity.QuantityTypeH\x01\x42\n\n\x08\x61\x64_typesB\n\n\x08quantity\"\x14\n\x03Int\x12\r\n\x05value\x18\x01 \x01(\x03\"\x16\n\x05\x46loat\x12\r\n\x05value\x18\x01 \x01(\x01\"\x15\n\x04\x42ool\x12\r\n\x05value\x18\x01 \x01(\x08\":\n\x05\x41\x64Row\x12\x31\n\x07\x65lement\x18\x01 \x03(\x0b\x32 .luminary.proto.base.AdFloatType\"3\n\x08\x41\x64Matrix\x12\'\n\x03row\x18\x01 \x03(\x0b\x32\x1a.luminary.proto.base.AdRow\"\x8c\x01\n\tAdMatrix3\x12)\n\x01\x61\x18\x01 \x01(\x0b\x32\x1e.luminary.proto.base.AdVector3\x12)\n\x01\x62\x18\x02 \x01(\x0b\x32\x1e.luminary.proto.base.AdVector3\x12)\n\x01\x63\x18\x03 \x01(\x0b\x32\x1e.luminary.proto.base.AdVector3*\xe7\x03\n\x07Subcode\x12\x17\n\x13SUBCODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16SUBCODE_USER_NOT_FOUND\x10\x01\x12 \n\x1cSUBCODE_JOB_CANCELED_BY_USER\x10\x02\x12#\n\x1fSUBCODE_JOB_CANCELED_DIVERGENCE\x10\x03\x12$\n SUBCODE_JOB_CANCELED_SETUP_ERROR\x10\x04\x12\x1f\n\x1bSUBCODE_INCOMPATIBLE_CLIENT\x10\x05\x12\x1e\n\x1aSUBCODE_INSUFFICIENT_QUOTA\x10\x06\x12/\n+SUBCODE_EMAIL_DOMAIN_NOT_IN_ALLOWED_DOMAINS\x10\x07\x12&\n\"SUBCODE_TRIAL_ACCOUNT_USER_BLOCKED\x10\x08\x12(\n$SUBCODE_UNLIMITED_PLAN_EXCEEDS_QUOTA\x10\t\x12 \n\x1cSUBCODE_DATE_RANGE_TOO_LARGE\x10\n\x12\x1d\n\x19SUBCODE_GEO_ERROR_TO_USER\x10\x0b\x12\x1b\n\x17SUBCODE_GEO_UNSUPPORTED\x10\x0c\x12\x18\n\x14SUBCODE_RATE_LIMITED\x10\r*t\n\rJobStatusType\x12\x0b\n\x07Invalid\x10\x00\x12\n\n\x06\x41\x63tive\x10\x01\x12\r\n\tCompleted\x10\x02\x12\n\n\x06\x46\x61iled\x10\x03\x12\r\n\tSuspended\x10\x04\x12\x10\n\x0cPendingRetry\x10\x05\x12\x0e\n\nSuspending\x10\x06*\x80\x01\n\x10Vector3Component\x12\x1e\n\x1aVECTOR_3_COMPONENT_INVALID\x10\x00\x12\x18\n\x14VECTOR_3_COMPONENT_X\x10\x01\x12\x18\n\x14VECTOR_3_COMPONENT_Y\x10\x02\x12\x18\n\x14VECTOR_3_COMPONENT_Z\x10\x03\x42#Z!luminarycloud.com/core/proto/baseb\x06proto3')
23
23
 
24
24
  _SUBCODE = DESCRIPTOR.enum_types_by_name['Subcode']
25
25
  Subcode = enum_type_wrapper.EnumTypeWrapper(_SUBCODE)
@@ -40,6 +40,7 @@ SUBCODE_UNLIMITED_PLAN_EXCEEDS_QUOTA = 9
40
40
  SUBCODE_DATE_RANGE_TOO_LARGE = 10
41
41
  SUBCODE_GEO_ERROR_TO_USER = 11
42
42
  SUBCODE_GEO_UNSUPPORTED = 12
43
+ SUBCODE_RATE_LIMITED = 13
43
44
  Invalid = 0
44
45
  Active = 1
45
46
  Completed = 2
@@ -210,11 +211,11 @@ if _descriptor._USE_C_DESCRIPTORS == False:
210
211
  DESCRIPTOR._options = None
211
212
  DESCRIPTOR._serialized_options = b'Z!luminarycloud.com/core/proto/base'
212
213
  _SUBCODE._serialized_start=1972
213
- _SUBCODE._serialized_end=2433
214
- _JOBSTATUSTYPE._serialized_start=2435
215
- _JOBSTATUSTYPE._serialized_end=2551
216
- _VECTOR3COMPONENT._serialized_start=2554
217
- _VECTOR3COMPONENT._serialized_end=2682
214
+ _SUBCODE._serialized_end=2459
215
+ _JOBSTATUSTYPE._serialized_start=2461
216
+ _JOBSTATUSTYPE._serialized_end=2577
217
+ _VECTOR3COMPONENT._serialized_start=2580
218
+ _VECTOR3COMPONENT._serialized_end=2708
218
219
  _CHECKSUM._serialized_start=169
219
220
  _CHECKSUM._serialized_end=216
220
221
  _STATUS._serialized_start=218
@@ -56,6 +56,8 @@ class _SubcodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTy
56
56
  """Set if the geometry error should be surfaced to the user."""
57
57
  SUBCODE_GEO_UNSUPPORTED: _Subcode.ValueType # 12
58
58
  """Set if the provided CAD is not supported. Should be shown to the user."""
59
+ SUBCODE_RATE_LIMITED: _Subcode.ValueType # 13
60
+ """Set if the request is rate limited."""
59
61
 
60
62
  class Subcode(_Subcode, metaclass=_SubcodeEnumTypeWrapper):
61
63
  """Subcode is stored in StatusPayload.subcode. It classifies the error type in
@@ -91,6 +93,8 @@ SUBCODE_GEO_ERROR_TO_USER: Subcode.ValueType # 11
91
93
  """Set if the geometry error should be surfaced to the user."""
92
94
  SUBCODE_GEO_UNSUPPORTED: Subcode.ValueType # 12
93
95
  """Set if the provided CAD is not supported. Should be shown to the user."""
96
+ SUBCODE_RATE_LIMITED: Subcode.ValueType # 13
97
+ """Set if the request is rate limited."""
94
98
  global___Subcode = Subcode
95
99
 
96
100
  class _JobStatusType: