luminarycloud 0.20.0__py3-none-any.whl → 0.21.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- luminarycloud/__init__.py +2 -0
- luminarycloud/_client/http_client.py +10 -8
- luminarycloud/_helpers/_upload_mesh.py +1 -0
- luminarycloud/_helpers/pagination.py +62 -0
- luminarycloud/_helpers/upload.py +18 -12
- 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 +66 -19
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2.pyi +92 -0
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2_grpc.py +33 -0
- luminarycloud/_proto/api/v0/luminarycloud/vis/vis_pb2_grpc.pyi +10 -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/geometry.py +41 -1
- luminarycloud/geometry_version.py +57 -3
- 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 +159 -4
- luminarycloud/pipelines/arguments.py +15 -0
- luminarycloud/pipelines/operators.py +74 -17
- luminarycloud/project.py +5 -44
- luminarycloud/simulation.py +9 -3
- luminarycloud/simulation_param.py +0 -9
- luminarycloud/vis/__init__.py +2 -0
- luminarycloud/vis/interactive_report.py +79 -93
- luminarycloud/vis/report.py +219 -65
- luminarycloud/vis/visualization.py +60 -0
- luminarycloud/volume_selection.py +58 -9
- {luminarycloud-0.20.0.dist-info → luminarycloud-0.21.1.dist-info}/METADATA +1 -1
- {luminarycloud-0.20.0.dist-info → luminarycloud-0.21.1.dist-info}/RECORD +53 -57
- 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.20.0.dist-info → luminarycloud-0.21.1.dist-info}/WHEEL +0 -0
|
@@ -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:
|