luminarycloud 0.19.1__py3-none-any.whl → 0.21.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 +2 -0
- luminarycloud/_client/client.py +2 -0
- luminarycloud/_helpers/_wait_for_mesh.py +6 -5
- luminarycloud/_helpers/_wait_for_simulation.py +3 -3
- luminarycloud/_helpers/pagination.py +62 -0
- luminarycloud/_helpers/upload.py +3 -6
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.py +168 -124
- luminarycloud/_proto/api/v0/luminarycloud/geometry/geometry_pb2.pyi +125 -3
- 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/vis/vis_pb2.py +124 -27
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.pyi +177 -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 +61 -41
- luminarycloud/_proto/assistant/assistant_pb2.pyi +43 -1
- luminarycloud/_proto/assistant/assistant_pb2_grpc.py +33 -0
- luminarycloud/_proto/assistant/assistant_pb2_grpc.pyi +10 -0
- luminarycloud/_proto/base/base_pb2.py +9 -6
- luminarycloud/_proto/base/base_pb2.pyi +12 -0
- luminarycloud/_proto/client/simulation_pb2.py +490 -348
- luminarycloud/_proto/client/simulation_pb2.pyi +570 -8
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.py +10 -10
- luminarycloud/_proto/inferenceservice/inferenceservice_pb2.pyi +5 -5
- luminarycloud/_proto/quantity/quantity_pb2.py +24 -15
- luminarycloud/_proto/quantity/quantity_pb2.pyi +10 -4
- luminarycloud/enum/__init__.py +1 -0
- luminarycloud/enum/quantity_type.py +9 -0
- luminarycloud/enum/vis_enums.py +23 -3
- luminarycloud/exceptions.py +7 -1
- luminarycloud/geometry.py +44 -2
- luminarycloud/geometry_version.py +57 -3
- luminarycloud/mesh.py +1 -2
- luminarycloud/params/enum/_enum_wrappers.py +537 -30
- luminarycloud/params/simulation/adaptive_mesh_refinement_.py +4 -0
- luminarycloud/params/simulation/physics/__init__.py +0 -1
- luminarycloud/params/simulation/physics/periodic_pair_.py +12 -31
- luminarycloud/physics_ai/architectures.py +5 -5
- luminarycloud/physics_ai/inference.py +13 -13
- luminarycloud/pipelines/__init__.py +8 -0
- luminarycloud/pipelines/api.py +160 -10
- luminarycloud/pipelines/arguments.py +15 -0
- luminarycloud/pipelines/operators.py +74 -17
- luminarycloud/project.py +5 -44
- luminarycloud/simulation.py +10 -5
- luminarycloud/simulation_param.py +0 -9
- 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 +58 -9
- {luminarycloud-0.19.1.dist-info → luminarycloud-0.21.0.dist-info}/METADATA +1 -1
- {luminarycloud-0.19.1.dist-info → luminarycloud-0.21.0.dist-info}/RECORD +58 -60
- 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.1.dist-info → luminarycloud-0.21.0.dist-info}/WHEEL +0 -0
|
@@ -40,6 +40,18 @@ class VisAPIServiceStub:
|
|
|
40
40
|
luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.ListSolutionFieldsRequest,
|
|
41
41
|
luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.ListSolutionFieldsReply,
|
|
42
42
|
]
|
|
43
|
+
ListCameras: grpc.UnaryUnaryMultiCallable[
|
|
44
|
+
luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.ListCamerasRequest,
|
|
45
|
+
luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.ListCamerasReply,
|
|
46
|
+
]
|
|
47
|
+
GetCamera: grpc.UnaryUnaryMultiCallable[
|
|
48
|
+
luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.GetCameraRequest,
|
|
49
|
+
luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.GetCameraReply,
|
|
50
|
+
]
|
|
51
|
+
RangeQuery: grpc.UnaryUnaryMultiCallable[
|
|
52
|
+
luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.RangeQueryRequest,
|
|
53
|
+
luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.RangeQueryReply,
|
|
54
|
+
]
|
|
43
55
|
|
|
44
56
|
class VisAPIServiceServicer(metaclass=abc.ABCMeta):
|
|
45
57
|
@abc.abstractmethod
|
|
@@ -90,5 +102,23 @@ class VisAPIServiceServicer(metaclass=abc.ABCMeta):
|
|
|
90
102
|
request: luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.ListSolutionFieldsRequest,
|
|
91
103
|
context: grpc.ServicerContext,
|
|
92
104
|
) -> luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.ListSolutionFieldsReply: ...
|
|
105
|
+
@abc.abstractmethod
|
|
106
|
+
def ListCameras(
|
|
107
|
+
self,
|
|
108
|
+
request: luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.ListCamerasRequest,
|
|
109
|
+
context: grpc.ServicerContext,
|
|
110
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.ListCamerasReply: ...
|
|
111
|
+
@abc.abstractmethod
|
|
112
|
+
def GetCamera(
|
|
113
|
+
self,
|
|
114
|
+
request: luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.GetCameraRequest,
|
|
115
|
+
context: grpc.ServicerContext,
|
|
116
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.GetCameraReply: ...
|
|
117
|
+
@abc.abstractmethod
|
|
118
|
+
def RangeQuery(
|
|
119
|
+
self,
|
|
120
|
+
request: luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.RangeQueryRequest,
|
|
121
|
+
context: grpc.ServicerContext,
|
|
122
|
+
) -> luminarycloud._proto.api.v0.luminarycloud.vis.vis_pb2.RangeQueryReply: ...
|
|
93
123
|
|
|
94
124
|
def add_VisAPIServiceServicer_to_server(servicer: VisAPIServiceServicer, server: grpc.Server) -> None: ...
|
|
@@ -19,7 +19,7 @@ from luminarycloud._proto.client import simulation_pb2 as proto_dot_client_dot_s
|
|
|
19
19
|
from luminarycloud._proto.api.v0.luminarycloud.vis import vis_pb2 as proto_dot_api_dot_v0_dot_luminarycloud_dot_vis_dot_vis__pb2
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1dproto/client/simulation.proto\x1a(proto/api/v0/luminarycloud/vis/vis.proto\"9\n\x16GetChatSessionsRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\".\n\x17GetChatSessionsResponse\x12\x13\n\x0bsession_ids\x18\x01 \x03(\t\"8\n\x15NewChatSessionRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\",\n\x16NewChatSessionResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\x9a\x02\n\x12NotebookOutputItem\x12\x38\n\x06stream\x18\x01 \x01(\x0b\x32&.luminary.proto.assistant.StreamOutputH\x00\x12=\n\x0c\x64isplay_data\x18\x02 \x01(\x0b\x32%.luminary.proto.assistant.DisplayDataH\x00\x12\x41\n\x0e\x65xecute_result\x18\x03 \x01(\x0b\x32\'.luminary.proto.assistant.ExecuteResultH\x00\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32%.luminary.proto.assistant.ErrorOutputH\x00\x42\x10\n\x0eoutput_content\"V\n\x0cStreamOutput\x12\x38\n\x04name\x18\x01 \x01(\x0e\x32*.luminary.proto.assistant.StreamOutputType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x0b\x45rrorOutput\x12\r\n\x05\x65name\x18\x01 \x01(\t\x12\x0e\n\x06\x65value\x18\x02 \x01(\t\x12\x11\n\ttraceback\x18\x03 \x03(\t\"}\n\rExecuteResult\x12?\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x31.luminary.proto.assistant.ExecuteResult.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x0b\x44isplayData\x12=\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32/.luminary.proto.assistant.DisplayData.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x01\n\x0cNotebookCell\x12\x0f\n\x07\x63\x65ll_id\x18\x01 \x01(\t\x12\x35\n\tcell_type\x18\x02 \x01(\x0e\x32\".luminary.proto.assistant.CellType\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12=\n\x07outputs\x18\x04 \x03(\x0b\x32,.luminary.proto.assistant.NotebookOutputItem\"
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fproto/assistant/assistant.proto\x12\x18luminary.proto.assistant\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1dproto/client/simulation.proto\x1a(proto/api/v0/luminarycloud/vis/vis.proto\"9\n\x16GetChatSessionsRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\".\n\x17GetChatSessionsResponse\x12\x13\n\x0bsession_ids\x18\x01 \x03(\t\"8\n\x15NewChatSessionRequest\x12\r\n\x05scope\x18\x02 \x01(\tJ\x04\x08\x01\x10\x02R\nproject_id\",\n\x16NewChatSessionResponse\x12\x12\n\nsession_id\x18\x01 \x01(\t\"\x9a\x02\n\x12NotebookOutputItem\x12\x38\n\x06stream\x18\x01 \x01(\x0b\x32&.luminary.proto.assistant.StreamOutputH\x00\x12=\n\x0c\x64isplay_data\x18\x02 \x01(\x0b\x32%.luminary.proto.assistant.DisplayDataH\x00\x12\x41\n\x0e\x65xecute_result\x18\x03 \x01(\x0b\x32\'.luminary.proto.assistant.ExecuteResultH\x00\x12\x36\n\x05\x65rror\x18\x04 \x01(\x0b\x32%.luminary.proto.assistant.ErrorOutputH\x00\x42\x10\n\x0eoutput_content\"V\n\x0cStreamOutput\x12\x38\n\x04name\x18\x01 \x01(\x0e\x32*.luminary.proto.assistant.StreamOutputType\x12\x0c\n\x04text\x18\x02 \x01(\t\"?\n\x0b\x45rrorOutput\x12\r\n\x05\x65name\x18\x01 \x01(\t\x12\x0e\n\x06\x65value\x18\x02 \x01(\t\x12\x11\n\ttraceback\x18\x03 \x03(\t\"}\n\rExecuteResult\x12?\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32\x31.luminary.proto.assistant.ExecuteResult.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x0b\x44isplayData\x12=\n\x04\x64\x61ta\x18\x01 \x03(\x0b\x32/.luminary.proto.assistant.DisplayData.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xa6\x01\n\x0cNotebookCell\x12\x0f\n\x07\x63\x65ll_id\x18\x01 \x01(\t\x12\x35\n\tcell_type\x18\x02 \x01(\x0e\x32\".luminary.proto.assistant.CellType\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\x12=\n\x07outputs\x18\x04 \x03(\x0b\x32,.luminary.proto.assistant.NotebookOutputItem\"\xac\x01\n\x0fNotebookContext\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x35\n\x05\x63\x65lls\x18\x03 \x03(\x0b\x32&.luminary.proto.assistant.NotebookCell\x12\x1b\n\x0e\x61\x63tive_cell_id\x18\x04 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x10visible_cell_ids\x18\x05 \x03(\tB\x11\n\x0f_active_cell_id\"=\n\nSourceCode\x12\x10\n\x08language\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x03 \x01(\t\"G\n\x05Image\x12\x14\n\x0cimage_base64\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x0e\n\x0c_description\"\xdb\x01\n\x0b\x43ontextItem\x12\x45\n\x10notebook_context\x18\x01 \x01(\x0b\x32).luminary.proto.assistant.NotebookContextH\x00\x12;\n\x0bsource_code\x18\x02 \x01(\x0b\x32$.luminary.proto.assistant.SourceCodeH\x00\x12\x0e\n\x04text\x18\x03 \x01(\tH\x00\x12\x30\n\x05image\x18\x04 \x01(\x0b\x32\x1f.luminary.proto.assistant.ImageH\x00\x42\x06\n\x04item\"J\n\x10\x41ssistantContext\x12\x36\n\x07\x63ontext\x18\x01 \x03(\x0b\x32%.luminary.proto.assistant.ContextItem\"\xf6\x01\n\x07Request\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0b\n\x03\x63md\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63\x63\x65ss\x18\x04 \x01(\t\x12\r\n\x05scope\x18\x06 \x01(\t\x12=\n\x06source\x18\x07 \x01(\x0e\x32-.luminary.proto.assistant.AssistRequestSource\x12@\n\x07\x63ontext\x18\x08 \x01(\x0b\x32*.luminary.proto.assistant.AssistantContextH\x00\x88\x01\x01\x42\n\n\x08_contextJ\x04\x08\x05\x10\x06R\nproject_id\"\x9e\x01\n\x05Reply\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\x0c\n\x04last\x18\x03 \x01(\x08\x12\x32\n\x06\x61\x63tion\x18\x04 \x01(\x0b\x32 .luminary.proto.assistant.ActionH\x00\x12\x12\n\x08response\x18\x05 \x01(\tH\x00\x12\x15\n\x0bplotly_plot\x18\x06 \x01(\tH\x00\x42\x06\n\x04step\"&\n\x06\x41\x63tion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06params\x18\x02 \x03(\t\"S\n\x07Outcome\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\x0f\n\x07request\x18\x02 \x01(\t\x12\r\n\x03val\x18\x03 \x01(\tH\x00\x12\r\n\x03\x65rr\x18\x04 \x01(\tH\x00\x42\x08\n\x06result\"I\n\x15GetChatHistoryRequest\x12\x0f\n\x07session\x18\x01 \x01(\t\x12\r\n\x05scope\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03R\nproject_id\"1\n\x10\x43hatHistoryEntry\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07\x63ontent\x18\x02 \x01(\t\"U\n\x16GetChatHistoryResponse\x12;\n\x07\x65ntries\x18\x01 \x03(\x0b\x32*.luminary.proto.assistant.ChatHistoryEntry\"g\n\x1aSimulationToSdkCodeRequest\x12\x12\n\nproject_id\x18\x01 \x01(\t\x12\x0f\n\x07session\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\x12\x15\n\rsimulation_id\x18\x04 \x01(\t\"/\n\x1bSimulationToSdkCodeResponse\x12\x10\n\x08sdk_code\x18\x01 \x01(\t\"y\n\x13VisToSdkCodeRequest\x12\x42\n\x04spec\x18\x01 \x01(\x0b\x32\x34.luminary.proto.api.v0.luminarycloud.vis.ExtractSpec\x12\x0f\n\x07session\x18\x02 \x01(\t\x12\r\n\x05token\x18\x03 \x01(\t\"(\n\x14VisToSdkCodeResponse\x12\x10\n\x08sdk_code\x18\x01 \x01(\t\"E\n\x19VoiceTranscriptionRequest\x12\x12\n\naudio_data\x18\x01 \x01(\x0c\x12\x14\n\x0c\x61udio_format\x18\x02 \x01(\t\"*\n\x1aVoiceTranscriptionResponse\x12\x0c\n\x04text\x18\x01 \x01(\t*5\n\x13\x41ssistRequestSource\x12\r\n\tWEBAPP_UI\x10\x00\x12\x0f\n\x0bNOTEBOOK_UI\x10\x01*+\n\x08\x43\x65llType\x12\x08\n\x04\x43ODE\x10\x00\x12\x0c\n\x08MARKDOWN\x10\x01\x12\x07\n\x03RAW\x10\x02**\n\x10StreamOutputType\x12\n\n\x06STDOUT\x10\x00\x12\n\n\x06STDERR\x10\x01\x32\x92\x07\n\tAssistant\x12x\n\x0fGetChatSessions\x12\x30.luminary.proto.assistant.GetChatSessionsRequest\x1a\x31.luminary.proto.assistant.GetChatSessionsResponse\"\x00\x12u\n\x0eNewChatSession\x12/.luminary.proto.assistant.NewChatSessionRequest\x1a\x30.luminary.proto.assistant.NewChatSessionResponse\"\x00\x12u\n\x0eGetChatHistory\x12/.luminary.proto.assistant.GetChatHistoryRequest\x1a\x30.luminary.proto.assistant.GetChatHistoryResponse\"\x00\x12P\n\x06\x41ssist\x12!.luminary.proto.assistant.Request\x1a\x1f.luminary.proto.assistant.Reply\"\x00\x30\x01\x12M\n\x0e\x41ssistCallback\x12!.luminary.proto.assistant.Outcome\x1a\x16.google.protobuf.Empty\"\x00\x12\x83\x01\n\x12VoiceTranscription\x12\x33.luminary.proto.assistant.VoiceTranscriptionRequest\x1a\x34.luminary.proto.assistant.VoiceTranscriptionResponse\"\x00\x30\x01\x12\x84\x01\n\x13SimulationToSdkCode\x12\x34.luminary.proto.assistant.SimulationToSdkCodeRequest\x1a\x35.luminary.proto.assistant.SimulationToSdkCodeResponse\"\x00\x12o\n\x0cVisToSdkCode\x12-.luminary.proto.assistant.VisToSdkCodeRequest\x1a..luminary.proto.assistant.VisToSdkCodeResponse\"\x00\x42(Z&luminarycloud.com/core/proto/assistantb\x06proto3')
|
|
23
23
|
|
|
24
24
|
_ASSISTREQUESTSOURCE = DESCRIPTOR.enum_types_by_name['AssistRequestSource']
|
|
25
25
|
AssistRequestSource = enum_type_wrapper.EnumTypeWrapper(_ASSISTREQUESTSOURCE)
|
|
@@ -64,6 +64,8 @@ _SIMULATIONTOSDKCODEREQUEST = DESCRIPTOR.message_types_by_name['SimulationToSdkC
|
|
|
64
64
|
_SIMULATIONTOSDKCODERESPONSE = DESCRIPTOR.message_types_by_name['SimulationToSdkCodeResponse']
|
|
65
65
|
_VISTOSDKCODEREQUEST = DESCRIPTOR.message_types_by_name['VisToSdkCodeRequest']
|
|
66
66
|
_VISTOSDKCODERESPONSE = DESCRIPTOR.message_types_by_name['VisToSdkCodeResponse']
|
|
67
|
+
_VOICETRANSCRIPTIONREQUEST = DESCRIPTOR.message_types_by_name['VoiceTranscriptionRequest']
|
|
68
|
+
_VOICETRANSCRIPTIONRESPONSE = DESCRIPTOR.message_types_by_name['VoiceTranscriptionResponse']
|
|
67
69
|
GetChatSessionsRequest = _reflection.GeneratedProtocolMessageType('GetChatSessionsRequest', (_message.Message,), {
|
|
68
70
|
'DESCRIPTOR' : _GETCHATSESSIONSREQUEST,
|
|
69
71
|
'__module__' : 'proto.assistant.assistant_pb2'
|
|
@@ -262,6 +264,20 @@ VisToSdkCodeResponse = _reflection.GeneratedProtocolMessageType('VisToSdkCodeRes
|
|
|
262
264
|
})
|
|
263
265
|
_sym_db.RegisterMessage(VisToSdkCodeResponse)
|
|
264
266
|
|
|
267
|
+
VoiceTranscriptionRequest = _reflection.GeneratedProtocolMessageType('VoiceTranscriptionRequest', (_message.Message,), {
|
|
268
|
+
'DESCRIPTOR' : _VOICETRANSCRIPTIONREQUEST,
|
|
269
|
+
'__module__' : 'proto.assistant.assistant_pb2'
|
|
270
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.VoiceTranscriptionRequest)
|
|
271
|
+
})
|
|
272
|
+
_sym_db.RegisterMessage(VoiceTranscriptionRequest)
|
|
273
|
+
|
|
274
|
+
VoiceTranscriptionResponse = _reflection.GeneratedProtocolMessageType('VoiceTranscriptionResponse', (_message.Message,), {
|
|
275
|
+
'DESCRIPTOR' : _VOICETRANSCRIPTIONRESPONSE,
|
|
276
|
+
'__module__' : 'proto.assistant.assistant_pb2'
|
|
277
|
+
# @@protoc_insertion_point(class_scope:luminary.proto.assistant.VoiceTranscriptionResponse)
|
|
278
|
+
})
|
|
279
|
+
_sym_db.RegisterMessage(VoiceTranscriptionResponse)
|
|
280
|
+
|
|
265
281
|
_ASSISTANT = DESCRIPTOR.services_by_name['Assistant']
|
|
266
282
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
267
283
|
|
|
@@ -271,12 +287,12 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
271
287
|
_EXECUTERESULT_DATAENTRY._serialized_options = b'8\001'
|
|
272
288
|
_DISPLAYDATA_DATAENTRY._options = None
|
|
273
289
|
_DISPLAYDATA_DATAENTRY._serialized_options = b'8\001'
|
|
274
|
-
_ASSISTREQUESTSOURCE._serialized_start=
|
|
275
|
-
_ASSISTREQUESTSOURCE._serialized_end=
|
|
276
|
-
_CELLTYPE._serialized_start=
|
|
277
|
-
_CELLTYPE._serialized_end=
|
|
278
|
-
_STREAMOUTPUTTYPE._serialized_start=
|
|
279
|
-
_STREAMOUTPUTTYPE._serialized_end=
|
|
290
|
+
_ASSISTREQUESTSOURCE._serialized_start=3052
|
|
291
|
+
_ASSISTREQUESTSOURCE._serialized_end=3105
|
|
292
|
+
_CELLTYPE._serialized_start=3107
|
|
293
|
+
_CELLTYPE._serialized_end=3150
|
|
294
|
+
_STREAMOUTPUTTYPE._serialized_start=3152
|
|
295
|
+
_STREAMOUTPUTTYPE._serialized_end=3194
|
|
280
296
|
_GETCHATSESSIONSREQUEST._serialized_start=193
|
|
281
297
|
_GETCHATSESSIONSREQUEST._serialized_end=250
|
|
282
298
|
_GETCHATSESSIONSRESPONSE._serialized_start=252
|
|
@@ -301,38 +317,42 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
301
317
|
_DISPLAYDATA_DATAENTRY._serialized_end=967
|
|
302
318
|
_NOTEBOOKCELL._serialized_start=1093
|
|
303
319
|
_NOTEBOOKCELL._serialized_end=1259
|
|
304
|
-
_NOTEBOOKCONTEXT._serialized_start=
|
|
305
|
-
_NOTEBOOKCONTEXT._serialized_end=
|
|
306
|
-
_SOURCECODE._serialized_start=
|
|
307
|
-
_SOURCECODE._serialized_end=
|
|
308
|
-
_IMAGE._serialized_start=
|
|
309
|
-
_IMAGE._serialized_end=
|
|
310
|
-
_CONTEXTITEM._serialized_start=
|
|
311
|
-
_CONTEXTITEM._serialized_end=
|
|
312
|
-
_ASSISTANTCONTEXT._serialized_start=
|
|
313
|
-
_ASSISTANTCONTEXT._serialized_end=
|
|
314
|
-
_REQUEST._serialized_start=
|
|
315
|
-
_REQUEST._serialized_end=
|
|
316
|
-
_REPLY._serialized_start=
|
|
317
|
-
_REPLY._serialized_end=
|
|
318
|
-
_ACTION._serialized_start=
|
|
319
|
-
_ACTION._serialized_end=
|
|
320
|
-
_OUTCOME._serialized_start=
|
|
321
|
-
_OUTCOME._serialized_end=
|
|
322
|
-
_GETCHATHISTORYREQUEST._serialized_start=
|
|
323
|
-
_GETCHATHISTORYREQUEST._serialized_end=
|
|
324
|
-
_CHATHISTORYENTRY._serialized_start=
|
|
325
|
-
_CHATHISTORYENTRY._serialized_end=
|
|
326
|
-
_GETCHATHISTORYRESPONSE._serialized_start=
|
|
327
|
-
_GETCHATHISTORYRESPONSE._serialized_end=
|
|
328
|
-
_SIMULATIONTOSDKCODEREQUEST._serialized_start=
|
|
329
|
-
_SIMULATIONTOSDKCODEREQUEST._serialized_end=
|
|
330
|
-
_SIMULATIONTOSDKCODERESPONSE._serialized_start=
|
|
331
|
-
_SIMULATIONTOSDKCODERESPONSE._serialized_end=
|
|
332
|
-
_VISTOSDKCODEREQUEST._serialized_start=
|
|
333
|
-
_VISTOSDKCODEREQUEST._serialized_end=
|
|
334
|
-
_VISTOSDKCODERESPONSE._serialized_start=
|
|
335
|
-
_VISTOSDKCODERESPONSE._serialized_end=
|
|
336
|
-
|
|
337
|
-
|
|
320
|
+
_NOTEBOOKCONTEXT._serialized_start=1262
|
|
321
|
+
_NOTEBOOKCONTEXT._serialized_end=1434
|
|
322
|
+
_SOURCECODE._serialized_start=1436
|
|
323
|
+
_SOURCECODE._serialized_end=1497
|
|
324
|
+
_IMAGE._serialized_start=1499
|
|
325
|
+
_IMAGE._serialized_end=1570
|
|
326
|
+
_CONTEXTITEM._serialized_start=1573
|
|
327
|
+
_CONTEXTITEM._serialized_end=1792
|
|
328
|
+
_ASSISTANTCONTEXT._serialized_start=1794
|
|
329
|
+
_ASSISTANTCONTEXT._serialized_end=1868
|
|
330
|
+
_REQUEST._serialized_start=1871
|
|
331
|
+
_REQUEST._serialized_end=2117
|
|
332
|
+
_REPLY._serialized_start=2120
|
|
333
|
+
_REPLY._serialized_end=2278
|
|
334
|
+
_ACTION._serialized_start=2280
|
|
335
|
+
_ACTION._serialized_end=2318
|
|
336
|
+
_OUTCOME._serialized_start=2320
|
|
337
|
+
_OUTCOME._serialized_end=2403
|
|
338
|
+
_GETCHATHISTORYREQUEST._serialized_start=2405
|
|
339
|
+
_GETCHATHISTORYREQUEST._serialized_end=2478
|
|
340
|
+
_CHATHISTORYENTRY._serialized_start=2480
|
|
341
|
+
_CHATHISTORYENTRY._serialized_end=2529
|
|
342
|
+
_GETCHATHISTORYRESPONSE._serialized_start=2531
|
|
343
|
+
_GETCHATHISTORYRESPONSE._serialized_end=2616
|
|
344
|
+
_SIMULATIONTOSDKCODEREQUEST._serialized_start=2618
|
|
345
|
+
_SIMULATIONTOSDKCODEREQUEST._serialized_end=2721
|
|
346
|
+
_SIMULATIONTOSDKCODERESPONSE._serialized_start=2723
|
|
347
|
+
_SIMULATIONTOSDKCODERESPONSE._serialized_end=2770
|
|
348
|
+
_VISTOSDKCODEREQUEST._serialized_start=2772
|
|
349
|
+
_VISTOSDKCODEREQUEST._serialized_end=2893
|
|
350
|
+
_VISTOSDKCODERESPONSE._serialized_start=2895
|
|
351
|
+
_VISTOSDKCODERESPONSE._serialized_end=2935
|
|
352
|
+
_VOICETRANSCRIPTIONREQUEST._serialized_start=2937
|
|
353
|
+
_VOICETRANSCRIPTIONREQUEST._serialized_end=3006
|
|
354
|
+
_VOICETRANSCRIPTIONRESPONSE._serialized_start=3008
|
|
355
|
+
_VOICETRANSCRIPTIONRESPONSE._serialized_end=3050
|
|
356
|
+
_ASSISTANT._serialized_start=3197
|
|
357
|
+
_ASSISTANT._serialized_end=4111
|
|
338
358
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -319,6 +319,8 @@ class NotebookContext(google.protobuf.message.Message):
|
|
|
319
319
|
ID_FIELD_NUMBER: builtins.int
|
|
320
320
|
NAME_FIELD_NUMBER: builtins.int
|
|
321
321
|
CELLS_FIELD_NUMBER: builtins.int
|
|
322
|
+
ACTIVE_CELL_ID_FIELD_NUMBER: builtins.int
|
|
323
|
+
VISIBLE_CELL_IDS_FIELD_NUMBER: builtins.int
|
|
322
324
|
id: builtins.str
|
|
323
325
|
"""The id of the notebook"""
|
|
324
326
|
name: builtins.str
|
|
@@ -326,14 +328,23 @@ class NotebookContext(google.protobuf.message.Message):
|
|
|
326
328
|
@property
|
|
327
329
|
def cells(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___NotebookCell]:
|
|
328
330
|
"""The cells of the notebook"""
|
|
331
|
+
active_cell_id: builtins.str
|
|
332
|
+
"""The id of the currently active cell"""
|
|
333
|
+
@property
|
|
334
|
+
def visible_cell_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
335
|
+
"""The ids of cells that are currently visible in the viewport"""
|
|
329
336
|
def __init__(
|
|
330
337
|
self,
|
|
331
338
|
*,
|
|
332
339
|
id: builtins.str = ...,
|
|
333
340
|
name: builtins.str = ...,
|
|
334
341
|
cells: collections.abc.Iterable[global___NotebookCell] | None = ...,
|
|
342
|
+
active_cell_id: builtins.str | None = ...,
|
|
343
|
+
visible_cell_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
335
344
|
) -> None: ...
|
|
336
|
-
def
|
|
345
|
+
def HasField(self, field_name: typing_extensions.Literal["_active_cell_id", b"_active_cell_id", "active_cell_id", b"active_cell_id"]) -> builtins.bool: ...
|
|
346
|
+
def ClearField(self, field_name: typing_extensions.Literal["_active_cell_id", b"_active_cell_id", "active_cell_id", b"active_cell_id", "cells", b"cells", "id", b"id", "name", b"name", "visible_cell_ids", b"visible_cell_ids"]) -> None: ...
|
|
347
|
+
def WhichOneof(self, oneof_group: typing_extensions.Literal["_active_cell_id", b"_active_cell_id"]) -> typing_extensions.Literal["active_cell_id"] | None: ...
|
|
337
348
|
|
|
338
349
|
global___NotebookContext = NotebookContext
|
|
339
350
|
|
|
@@ -699,3 +710,34 @@ class VisToSdkCodeResponse(google.protobuf.message.Message):
|
|
|
699
710
|
def ClearField(self, field_name: typing_extensions.Literal["sdk_code", b"sdk_code"]) -> None: ...
|
|
700
711
|
|
|
701
712
|
global___VisToSdkCodeResponse = VisToSdkCodeResponse
|
|
713
|
+
|
|
714
|
+
class VoiceTranscriptionRequest(google.protobuf.message.Message):
|
|
715
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
716
|
+
|
|
717
|
+
AUDIO_DATA_FIELD_NUMBER: builtins.int
|
|
718
|
+
AUDIO_FORMAT_FIELD_NUMBER: builtins.int
|
|
719
|
+
audio_data: builtins.bytes
|
|
720
|
+
audio_format: builtins.str
|
|
721
|
+
def __init__(
|
|
722
|
+
self,
|
|
723
|
+
*,
|
|
724
|
+
audio_data: builtins.bytes = ...,
|
|
725
|
+
audio_format: builtins.str = ...,
|
|
726
|
+
) -> None: ...
|
|
727
|
+
def ClearField(self, field_name: typing_extensions.Literal["audio_data", b"audio_data", "audio_format", b"audio_format"]) -> None: ...
|
|
728
|
+
|
|
729
|
+
global___VoiceTranscriptionRequest = VoiceTranscriptionRequest
|
|
730
|
+
|
|
731
|
+
class VoiceTranscriptionResponse(google.protobuf.message.Message):
|
|
732
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
733
|
+
|
|
734
|
+
TEXT_FIELD_NUMBER: builtins.int
|
|
735
|
+
text: builtins.str
|
|
736
|
+
def __init__(
|
|
737
|
+
self,
|
|
738
|
+
*,
|
|
739
|
+
text: builtins.str = ...,
|
|
740
|
+
) -> None: ...
|
|
741
|
+
def ClearField(self, field_name: typing_extensions.Literal["text", b"text"]) -> None: ...
|
|
742
|
+
|
|
743
|
+
global___VoiceTranscriptionResponse = VoiceTranscriptionResponse
|
|
@@ -41,6 +41,11 @@ class AssistantStub(object):
|
|
|
41
41
|
request_serializer=proto_dot_assistant_dot_assistant__pb2.Outcome.SerializeToString,
|
|
42
42
|
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
43
43
|
)
|
|
44
|
+
self.VoiceTranscription = channel.unary_stream(
|
|
45
|
+
'/luminary.proto.assistant.Assistant/VoiceTranscription',
|
|
46
|
+
request_serializer=proto_dot_assistant_dot_assistant__pb2.VoiceTranscriptionRequest.SerializeToString,
|
|
47
|
+
response_deserializer=proto_dot_assistant_dot_assistant__pb2.VoiceTranscriptionResponse.FromString,
|
|
48
|
+
)
|
|
44
49
|
self.SimulationToSdkCode = channel.unary_unary(
|
|
45
50
|
'/luminary.proto.assistant.Assistant/SimulationToSdkCode',
|
|
46
51
|
request_serializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.SerializeToString,
|
|
@@ -87,6 +92,12 @@ class AssistantServicer(object):
|
|
|
87
92
|
context.set_details('Method not implemented!')
|
|
88
93
|
raise NotImplementedError('Method not implemented!')
|
|
89
94
|
|
|
95
|
+
def VoiceTranscription(self, request, context):
|
|
96
|
+
"""Missing associated documentation comment in .proto file."""
|
|
97
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
98
|
+
context.set_details('Method not implemented!')
|
|
99
|
+
raise NotImplementedError('Method not implemented!')
|
|
100
|
+
|
|
90
101
|
def SimulationToSdkCode(self, request, context):
|
|
91
102
|
"""Converts a given SimulationParam proto into the equivalent SDK code.
|
|
92
103
|
"""
|
|
@@ -129,6 +140,11 @@ def add_AssistantServicer_to_server(servicer, server):
|
|
|
129
140
|
request_deserializer=proto_dot_assistant_dot_assistant__pb2.Outcome.FromString,
|
|
130
141
|
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
131
142
|
),
|
|
143
|
+
'VoiceTranscription': grpc.unary_stream_rpc_method_handler(
|
|
144
|
+
servicer.VoiceTranscription,
|
|
145
|
+
request_deserializer=proto_dot_assistant_dot_assistant__pb2.VoiceTranscriptionRequest.FromString,
|
|
146
|
+
response_serializer=proto_dot_assistant_dot_assistant__pb2.VoiceTranscriptionResponse.SerializeToString,
|
|
147
|
+
),
|
|
132
148
|
'SimulationToSdkCode': grpc.unary_unary_rpc_method_handler(
|
|
133
149
|
servicer.SimulationToSdkCode,
|
|
134
150
|
request_deserializer=proto_dot_assistant_dot_assistant__pb2.SimulationToSdkCodeRequest.FromString,
|
|
@@ -235,6 +251,23 @@ class Assistant(object):
|
|
|
235
251
|
options, channel_credentials,
|
|
236
252
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
237
253
|
|
|
254
|
+
@staticmethod
|
|
255
|
+
def VoiceTranscription(request,
|
|
256
|
+
target,
|
|
257
|
+
options=(),
|
|
258
|
+
channel_credentials=None,
|
|
259
|
+
call_credentials=None,
|
|
260
|
+
insecure=False,
|
|
261
|
+
compression=None,
|
|
262
|
+
wait_for_ready=None,
|
|
263
|
+
timeout=None,
|
|
264
|
+
metadata=None):
|
|
265
|
+
return grpc.experimental.unary_stream(request, target, '/luminary.proto.assistant.Assistant/VoiceTranscription',
|
|
266
|
+
proto_dot_assistant_dot_assistant__pb2.VoiceTranscriptionRequest.SerializeToString,
|
|
267
|
+
proto_dot_assistant_dot_assistant__pb2.VoiceTranscriptionResponse.FromString,
|
|
268
|
+
options, channel_credentials,
|
|
269
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
270
|
+
|
|
238
271
|
@staticmethod
|
|
239
272
|
def SimulationToSdkCode(request,
|
|
240
273
|
target,
|
|
@@ -32,6 +32,10 @@ class AssistantStub:
|
|
|
32
32
|
luminarycloud._proto.assistant.assistant_pb2.Outcome,
|
|
33
33
|
google.protobuf.empty_pb2.Empty,
|
|
34
34
|
]
|
|
35
|
+
VoiceTranscription: grpc.UnaryStreamMultiCallable[
|
|
36
|
+
luminarycloud._proto.assistant.assistant_pb2.VoiceTranscriptionRequest,
|
|
37
|
+
luminarycloud._proto.assistant.assistant_pb2.VoiceTranscriptionResponse,
|
|
38
|
+
]
|
|
35
39
|
SimulationToSdkCode: grpc.UnaryUnaryMultiCallable[
|
|
36
40
|
luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeRequest,
|
|
37
41
|
luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeResponse,
|
|
@@ -77,6 +81,12 @@ class AssistantServicer(metaclass=abc.ABCMeta):
|
|
|
77
81
|
context: grpc.ServicerContext,
|
|
78
82
|
) -> google.protobuf.empty_pb2.Empty: ...
|
|
79
83
|
@abc.abstractmethod
|
|
84
|
+
def VoiceTranscription(
|
|
85
|
+
self,
|
|
86
|
+
request: luminarycloud._proto.assistant.assistant_pb2.VoiceTranscriptionRequest,
|
|
87
|
+
context: grpc.ServicerContext,
|
|
88
|
+
) -> collections.abc.Iterator[luminarycloud._proto.assistant.assistant_pb2.VoiceTranscriptionResponse]: ...
|
|
89
|
+
@abc.abstractmethod
|
|
80
90
|
def SimulationToSdkCode(
|
|
81
91
|
self,
|
|
82
92
|
request: luminarycloud._proto.assistant.assistant_pb2.SimulationToSdkCodeRequest,
|
|
@@ -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*\
|
|
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*\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')
|
|
23
23
|
|
|
24
24
|
_SUBCODE = DESCRIPTOR.enum_types_by_name['Subcode']
|
|
25
25
|
Subcode = enum_type_wrapper.EnumTypeWrapper(_SUBCODE)
|
|
@@ -37,6 +37,9 @@ SUBCODE_INSUFFICIENT_QUOTA = 6
|
|
|
37
37
|
SUBCODE_EMAIL_DOMAIN_NOT_IN_ALLOWED_DOMAINS = 7
|
|
38
38
|
SUBCODE_TRIAL_ACCOUNT_USER_BLOCKED = 8
|
|
39
39
|
SUBCODE_UNLIMITED_PLAN_EXCEEDS_QUOTA = 9
|
|
40
|
+
SUBCODE_DATE_RANGE_TOO_LARGE = 10
|
|
41
|
+
SUBCODE_GEO_ERROR_TO_USER = 11
|
|
42
|
+
SUBCODE_GEO_UNSUPPORTED = 12
|
|
40
43
|
Invalid = 0
|
|
41
44
|
Active = 1
|
|
42
45
|
Completed = 2
|
|
@@ -199,11 +202,11 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
199
202
|
DESCRIPTOR._options = None
|
|
200
203
|
DESCRIPTOR._serialized_options = b'Z!luminarycloud.com/core/proto/base'
|
|
201
204
|
_SUBCODE._serialized_start=1829
|
|
202
|
-
_SUBCODE._serialized_end=
|
|
203
|
-
_JOBSTATUSTYPE._serialized_start=
|
|
204
|
-
_JOBSTATUSTYPE._serialized_end=
|
|
205
|
-
_VECTOR3COMPONENT._serialized_start=
|
|
206
|
-
_VECTOR3COMPONENT._serialized_end=
|
|
205
|
+
_SUBCODE._serialized_end=2290
|
|
206
|
+
_JOBSTATUSTYPE._serialized_start=2292
|
|
207
|
+
_JOBSTATUSTYPE._serialized_end=2408
|
|
208
|
+
_VECTOR3COMPONENT._serialized_start=2411
|
|
209
|
+
_VECTOR3COMPONENT._serialized_end=2539
|
|
207
210
|
_CHECKSUM._serialized_start=169
|
|
208
211
|
_CHECKSUM._serialized_end=216
|
|
209
212
|
_STATUS._serialized_start=218
|
|
@@ -50,6 +50,12 @@ class _SubcodeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTy
|
|
|
50
50
|
"""Set if a trial user attempts to access restricted features."""
|
|
51
51
|
SUBCODE_UNLIMITED_PLAN_EXCEEDS_QUOTA: _Subcode.ValueType # 9
|
|
52
52
|
"""Set if unlimited plan user exceeds quota for a given resource."""
|
|
53
|
+
SUBCODE_DATE_RANGE_TOO_LARGE: _Subcode.ValueType # 10
|
|
54
|
+
"""Set if a date range is too large (e.g. for usage records)"""
|
|
55
|
+
SUBCODE_GEO_ERROR_TO_USER: _Subcode.ValueType # 11
|
|
56
|
+
"""Set if the geometry error should be surfaced to the user."""
|
|
57
|
+
SUBCODE_GEO_UNSUPPORTED: _Subcode.ValueType # 12
|
|
58
|
+
"""Set if the provided CAD is not supported. Should be shown to the user."""
|
|
53
59
|
|
|
54
60
|
class Subcode(_Subcode, metaclass=_SubcodeEnumTypeWrapper):
|
|
55
61
|
"""Subcode is stored in StatusPayload.subcode. It classifies the error type in
|
|
@@ -79,6 +85,12 @@ SUBCODE_TRIAL_ACCOUNT_USER_BLOCKED: Subcode.ValueType # 8
|
|
|
79
85
|
"""Set if a trial user attempts to access restricted features."""
|
|
80
86
|
SUBCODE_UNLIMITED_PLAN_EXCEEDS_QUOTA: Subcode.ValueType # 9
|
|
81
87
|
"""Set if unlimited plan user exceeds quota for a given resource."""
|
|
88
|
+
SUBCODE_DATE_RANGE_TOO_LARGE: Subcode.ValueType # 10
|
|
89
|
+
"""Set if a date range is too large (e.g. for usage records)"""
|
|
90
|
+
SUBCODE_GEO_ERROR_TO_USER: Subcode.ValueType # 11
|
|
91
|
+
"""Set if the geometry error should be surfaced to the user."""
|
|
92
|
+
SUBCODE_GEO_UNSUPPORTED: Subcode.ValueType # 12
|
|
93
|
+
"""Set if the provided CAD is not supported. Should be shown to the user."""
|
|
82
94
|
global___Subcode = Subcode
|
|
83
95
|
|
|
84
96
|
class _JobStatusType:
|