viam-sdk 0.41.1__py3-none-linux_armv6l.whl → 0.66.0__py3-none-linux_armv6l.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.
Potentially problematic release.
This version of viam-sdk might be problematic. Click here for more details.
- viam/app/app_client.py +225 -51
- viam/app/billing_client.py +47 -5
- viam/app/data_client.py +771 -234
- viam/app/ml_training_client.py +3 -5
- viam/app/provisioning_client.py +3 -5
- viam/app/viam_client.py +58 -11
- viam/components/arm/arm.py +1 -1
- viam/components/arm/service.py +1 -1
- viam/components/audio_in/__init__.py +24 -0
- viam/components/audio_in/audio_in.py +74 -0
- viam/components/audio_in/client.py +76 -0
- viam/components/audio_in/service.py +83 -0
- viam/components/audio_out/__init__.py +21 -0
- viam/components/audio_out/audio_out.py +72 -0
- viam/components/audio_out/client.py +67 -0
- viam/components/audio_out/service.py +63 -0
- viam/components/base/base.py +1 -1
- viam/components/board/board.py +8 -2
- viam/components/board/client.py +2 -1
- viam/components/board/service.py +1 -0
- viam/components/button/__init__.py +10 -0
- viam/components/button/button.py +41 -0
- viam/components/button/client.py +52 -0
- viam/components/button/service.py +46 -0
- viam/components/camera/camera.py +15 -30
- viam/components/camera/client.py +10 -21
- viam/components/camera/service.py +15 -28
- viam/components/component_base.py +2 -2
- viam/components/gantry/client.py +17 -2
- viam/components/gantry/gantry.py +32 -1
- viam/components/gantry/service.py +21 -5
- viam/components/gripper/__init__.py +2 -0
- viam/components/gripper/client.py +25 -2
- viam/components/gripper/gripper.py +76 -1
- viam/components/gripper/service.py +32 -3
- viam/components/input/input.py +1 -1
- viam/components/motor/motor.py +1 -1
- viam/components/power_sensor/power_sensor.py +1 -1
- viam/components/switch/__init__.py +10 -0
- viam/components/switch/client.py +83 -0
- viam/components/switch/service.py +72 -0
- viam/components/switch/switch.py +98 -0
- viam/gen/app/agent/v1/agent_pb2.py +1 -1
- viam/gen/app/cloudslam/v1/cloud_slam_pb2.py +1 -1
- viam/gen/app/data/v1/data_grpc.py +74 -2
- viam/gen/app/data/v1/data_pb2.py +198 -104
- viam/gen/app/data/v1/data_pb2.pyi +563 -31
- viam/gen/app/datapipelines/__init__.py +0 -0
- viam/gen/app/datapipelines/v1/__init__.py +0 -0
- viam/gen/app/datapipelines/v1/data_pipelines_grpc.py +84 -0
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.py +57 -0
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.pyi +387 -0
- viam/gen/app/dataset/v1/dataset_grpc.py +10 -2
- viam/gen/app/dataset/v1/dataset_pb2.py +8 -4
- viam/gen/app/dataset/v1/dataset_pb2.pyi +36 -1
- viam/gen/app/datasync/v1/data_sync_pb2.py +39 -35
- viam/gen/app/datasync/v1/data_sync_pb2.pyi +21 -8
- viam/gen/app/mlinference/v1/ml_inference_pb2.py +7 -7
- viam/gen/app/mlinference/v1/ml_inference_pb2.pyi +4 -2
- viam/gen/app/mltraining/v1/ml_training_grpc.py +10 -2
- viam/gen/app/mltraining/v1/ml_training_pb2.py +63 -43
- viam/gen/app/mltraining/v1/ml_training_pb2.pyi +112 -7
- viam/gen/app/packages/v1/packages_pb2.py +1 -1
- viam/gen/app/v1/app_grpc.py +74 -3
- viam/gen/app/v1/app_pb2.py +600 -545
- viam/gen/app/v1/app_pb2.pyi +1108 -258
- viam/gen/app/v1/billing_grpc.py +26 -2
- viam/gen/app/v1/billing_pb2.py +52 -36
- viam/gen/app/v1/billing_pb2.pyi +158 -4
- viam/gen/app/v1/end_user_pb2.py +1 -1
- viam/gen/app/v1/robot_pb2.py +95 -89
- viam/gen/app/v1/robot_pb2.pyi +121 -9
- viam/gen/common/v1/common_pb2.py +76 -58
- viam/gen/common/v1/common_pb2.pyi +186 -17
- viam/gen/component/arm/v1/arm_grpc.py +10 -2
- viam/gen/component/arm/v1/arm_pb2.py +5 -3
- viam/gen/component/audioin/__init__.py +0 -0
- viam/gen/component/audioin/v1/__init__.py +0 -0
- viam/gen/component/audioin/v1/audioin_grpc.py +54 -0
- viam/gen/component/audioin/v1/audioin_pb2.py +34 -0
- viam/gen/component/audioin/v1/audioin_pb2.pyi +94 -0
- viam/gen/component/audioinput/v1/audioinput_pb2.py +1 -1
- viam/gen/component/audioout/__init__.py +0 -0
- viam/gen/component/audioout/v1/__init__.py +0 -0
- viam/gen/component/audioout/v1/audioout_grpc.py +54 -0
- viam/gen/component/audioout/v1/audioout_pb2.py +32 -0
- viam/gen/component/audioout/v1/audioout_pb2.pyi +47 -0
- viam/gen/component/base/v1/base_pb2.py +1 -1
- viam/gen/component/board/v1/board_pb2.py +1 -1
- viam/gen/component/button/v1/button_pb2.py +1 -1
- viam/gen/component/camera/v1/camera_grpc.py +1 -0
- viam/gen/component/camera/v1/camera_pb2.py +37 -36
- viam/gen/component/camera/v1/camera_pb2.pyi +31 -4
- viam/gen/component/encoder/v1/encoder_pb2.py +1 -1
- viam/gen/component/gantry/v1/gantry_grpc.py +9 -1
- viam/gen/component/gantry/v1/gantry_pb2.py +5 -3
- viam/gen/component/generic/v1/generic_pb2.py +1 -1
- viam/gen/component/gripper/v1/gripper_grpc.py +18 -2
- viam/gen/component/gripper/v1/gripper_pb2.py +12 -4
- viam/gen/component/gripper/v1/gripper_pb2.pyi +43 -1
- viam/gen/component/inputcontroller/v1/input_controller_pb2.py +1 -1
- viam/gen/component/motor/v1/motor_pb2.py +1 -1
- viam/gen/component/movementsensor/v1/movementsensor_pb2.py +1 -1
- viam/gen/component/posetracker/v1/pose_tracker_pb2.py +1 -1
- viam/gen/component/powersensor/v1/powersensor_pb2.py +1 -1
- viam/gen/component/sensor/v1/sensor_pb2.py +1 -1
- viam/gen/component/servo/v1/servo_pb2.py +1 -1
- viam/gen/component/switch/v1/switch_pb2.py +5 -5
- viam/gen/component/switch/v1/switch_pb2.pyi +9 -2
- viam/gen/component/testecho/v1/testecho_pb2.py +1 -1
- viam/gen/module/v1/module_pb2.py +5 -5
- viam/gen/module/v1/module_pb2.pyi +7 -2
- viam/gen/opentelemetry/__init__.py +0 -0
- viam/gen/opentelemetry/proto/__init__.py +0 -0
- viam/gen/opentelemetry/proto/common/__init__.py +0 -0
- viam/gen/opentelemetry/proto/common/v1/__init__.py +0 -0
- viam/gen/opentelemetry/proto/common/v1/common_grpc.py +0 -0
- viam/gen/opentelemetry/proto/common/v1/common_pb2.py +27 -0
- viam/gen/opentelemetry/proto/common/v1/common_pb2.pyi +208 -0
- viam/gen/opentelemetry/proto/resource/__init__.py +0 -0
- viam/gen/opentelemetry/proto/resource/v1/__init__.py +0 -0
- viam/gen/opentelemetry/proto/resource/v1/resource_grpc.py +0 -0
- viam/gen/opentelemetry/proto/resource/v1/resource_pb2.py +18 -0
- viam/gen/opentelemetry/proto/resource/v1/resource_pb2.pyi +59 -0
- viam/gen/opentelemetry/proto/trace/__init__.py +0 -0
- viam/gen/opentelemetry/proto/trace/v1/__init__.py +0 -0
- viam/gen/opentelemetry/proto/trace/v1/trace_grpc.py +0 -0
- viam/gen/opentelemetry/proto/trace/v1/trace_pb2.py +37 -0
- viam/gen/opentelemetry/proto/trace/v1/trace_pb2.pyi +402 -0
- viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py +1 -1
- viam/gen/proto/rpc/examples/echoresource/v1/echoresource_pb2.py +1 -1
- viam/gen/proto/rpc/v1/auth_pb2.py +1 -1
- viam/gen/proto/rpc/webrtc/v1/grpc_pb2.py +1 -1
- viam/gen/proto/rpc/webrtc/v1/signaling_pb2.py +1 -1
- viam/gen/provisioning/v1/provisioning_grpc.py +10 -2
- viam/gen/provisioning/v1/provisioning_pb2.py +32 -26
- viam/gen/provisioning/v1/provisioning_pb2.pyi +46 -5
- viam/gen/robot/v1/robot_grpc.py +51 -34
- viam/gen/robot/v1/robot_pb2.py +147 -142
- viam/gen/robot/v1/robot_pb2.pyi +153 -86
- viam/gen/service/datamanager/v1/data_manager_grpc.py +11 -2
- viam/gen/service/datamanager/v1/data_manager_pb2.py +15 -8
- viam/gen/service/datamanager/v1/data_manager_pb2.pyi +47 -1
- viam/gen/service/discovery/v1/discovery_pb2.py +1 -1
- viam/gen/service/generic/v1/generic_pb2.py +1 -1
- viam/gen/service/mlmodel/v1/mlmodel_pb2.py +1 -1
- viam/gen/service/motion/v1/motion_pb2.py +92 -62
- viam/gen/service/motion/v1/motion_pb2.pyi +130 -68
- viam/gen/service/navigation/v1/navigation_pb2.py +1 -1
- viam/gen/service/sensors/v1/sensors_pb2.py +1 -1
- viam/gen/service/shell/v1/shell_pb2.py +1 -1
- viam/gen/service/slam/v1/slam_pb2.py +1 -1
- viam/gen/service/slam/v1/slam_pb2.pyi +1 -1
- viam/gen/service/video/__init__.py +0 -0
- viam/gen/service/video/v1/__init__.py +0 -0
- viam/gen/service/video/v1/video_grpc.py +39 -0
- viam/gen/service/video/v1/video_pb2.py +29 -0
- viam/gen/service/video/v1/video_pb2.pyi +72 -0
- viam/gen/service/vision/v1/vision_pb2.py +27 -27
- viam/gen/service/vision/v1/vision_pb2.pyi +28 -3
- viam/gen/service/worldstatestore/__init__.py +0 -0
- viam/gen/service/worldstatestore/v1/__init__.py +0 -0
- viam/gen/service/worldstatestore/v1/world_state_store_grpc.py +55 -0
- viam/gen/service/worldstatestore/v1/world_state_store_pb2.py +39 -0
- viam/gen/service/worldstatestore/v1/world_state_store_pb2.pyi +171 -0
- viam/gen/stream/v1/stream_pb2.py +1 -1
- viam/gen/tagger/v1/tagger_pb2.py +1 -1
- viam/logging.py +9 -8
- viam/media/audio.py +22 -10
- viam/media/utils/pil/__init__.py +5 -1
- viam/media/video.py +54 -40
- viam/module/module.py +85 -16
- viam/module/resource_data_consumer.py +41 -0
- viam/module/service.py +9 -1
- viam/proto/app/__init__.py +68 -0
- viam/proto/app/billing.py +16 -0
- viam/proto/app/data/__init__.py +48 -0
- viam/proto/app/datapipelines/__init__.py +56 -0
- viam/proto/app/dataset/__init__.py +4 -0
- viam/proto/app/mltraining/__init__.py +6 -0
- viam/proto/app/robot.py +6 -0
- viam/proto/common/__init__.py +14 -0
- viam/proto/component/audioin/__init__.py +16 -0
- viam/proto/component/audioout/__init__.py +15 -0
- viam/proto/component/camera/__init__.py +0 -2
- viam/proto/component/gripper/__init__.py +4 -0
- viam/proto/opentelemetry/__init__.py +0 -0
- viam/proto/opentelemetry/proto/__init__.py +0 -0
- viam/proto/opentelemetry/proto/common/__init__.py +15 -0
- viam/proto/opentelemetry/proto/resource/__init__.py +10 -0
- viam/proto/opentelemetry/proto/trace/__init__.py +15 -0
- viam/proto/provisioning/__init__.py +6 -0
- viam/proto/robot/__init__.py +16 -8
- viam/proto/service/datamanager/__init__.py +8 -1
- viam/proto/service/motion/__init__.py +2 -0
- viam/proto/service/video/__init__.py +15 -0
- viam/proto/service/worldstatestore/__init__.py +32 -0
- viam/resource/easy_resource.py +5 -9
- viam/resource/manager.py +4 -3
- viam/resource/registry.py +2 -2
- viam/resource/types.py +2 -2
- viam/robot/client.py +38 -59
- viam/rpc/dial.py +48 -5
- viam/rpc/libviam_rust_utils.so +0 -0
- viam/rpc/server.py +24 -10
- viam/services/motion/client.py +8 -9
- viam/services/motion/motion.py +48 -46
- viam/services/navigation/navigation.py +2 -2
- viam/services/vision/client.py +1 -1
- viam/services/vision/service.py +5 -8
- viam/services/vision/vision.py +5 -3
- viam/services/worldstatestore/__init__.py +18 -0
- viam/services/worldstatestore/client.py +94 -0
- viam/services/worldstatestore/service.py +55 -0
- viam/services/worldstatestore/worldstatestore.py +90 -0
- viam/sessions_client.py +115 -46
- viam/version_metadata.py +2 -2
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/METADATA +10 -6
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/RECORD +221 -152
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/WHEEL +1 -1
- viam/components/audio_input/__init__.py +0 -18
- viam/components/audio_input/audio_input.py +0 -81
- viam/components/audio_input/client.py +0 -70
- viam/components/audio_input/service.py +0 -114
- {viam_sdk-0.41.1.dist-info → viam_sdk-0.66.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -176,4 +176,39 @@ class ListDatasetsByIDsResponse(google.protobuf.message.Message):
|
|
|
176
176
|
|
|
177
177
|
def ClearField(self, field_name: typing.Literal['datasets', b'datasets']) -> None:
|
|
178
178
|
...
|
|
179
|
-
global___ListDatasetsByIDsResponse = ListDatasetsByIDsResponse
|
|
179
|
+
global___ListDatasetsByIDsResponse = ListDatasetsByIDsResponse
|
|
180
|
+
|
|
181
|
+
@typing.final
|
|
182
|
+
class MergeDatasetsRequest(google.protobuf.message.Message):
|
|
183
|
+
"""MergeDatasetsRequest merges multiple datasets specified by their dataset IDs into a new dataset."""
|
|
184
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
185
|
+
DATASET_IDS_FIELD_NUMBER: builtins.int
|
|
186
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
187
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
188
|
+
name: builtins.str
|
|
189
|
+
organization_id: builtins.str
|
|
190
|
+
|
|
191
|
+
@property
|
|
192
|
+
def dataset_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
193
|
+
...
|
|
194
|
+
|
|
195
|
+
def __init__(self, *, dataset_ids: collections.abc.Iterable[builtins.str] | None=..., name: builtins.str=..., organization_id: builtins.str=...) -> None:
|
|
196
|
+
...
|
|
197
|
+
|
|
198
|
+
def ClearField(self, field_name: typing.Literal['dataset_ids', b'dataset_ids', 'name', b'name', 'organization_id', b'organization_id']) -> None:
|
|
199
|
+
...
|
|
200
|
+
global___MergeDatasetsRequest = MergeDatasetsRequest
|
|
201
|
+
|
|
202
|
+
@typing.final
|
|
203
|
+
class MergeDatasetsResponse(google.protobuf.message.Message):
|
|
204
|
+
"""MergeDatasetsResponse returns the dataset ID of the newly created merged dataset."""
|
|
205
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
206
|
+
DATASET_ID_FIELD_NUMBER: builtins.int
|
|
207
|
+
dataset_id: builtins.str
|
|
208
|
+
|
|
209
|
+
def __init__(self, *, dataset_id: builtins.str=...) -> None:
|
|
210
|
+
...
|
|
211
|
+
|
|
212
|
+
def ClearField(self, field_name: typing.Literal['dataset_id', b'dataset_id']) -> None:
|
|
213
|
+
...
|
|
214
|
+
global___MergeDatasetsResponse = MergeDatasetsResponse
|
|
@@ -4,20 +4,24 @@ from google.protobuf import descriptor_pool as _descriptor_pool
|
|
|
4
4
|
from google.protobuf import runtime_version as _runtime_version
|
|
5
5
|
from google.protobuf import symbol_database as _symbol_database
|
|
6
6
|
from google.protobuf.internal import builder as _builder
|
|
7
|
-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29,
|
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'app/datasync/v1/data_sync.proto')
|
|
8
8
|
_sym_db = _symbol_database.Default()
|
|
9
9
|
from ....app.data.v1 import data_pb2 as app_dot_data_dot_v1_dot_data__pb2
|
|
10
10
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
11
11
|
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
|
|
12
12
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
13
13
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
14
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fapp/datasync/v1/data_sync.proto\x12\x14viam.app.datasync.v1\x1a\x16app/data/v1/data.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa7\x01\n\x18DataCaptureUploadRequest\x12@\n\x08metadata\x18\x01 \x01(\x0b2$.viam.app.datasync.v1.UploadMetadataR\x08metadata\x12I\n\x0fsensor_contents\x18\x02 \x03(\x0b2 .viam.app.datasync.v1.SensorDataR\x0esensorContents"
|
|
14
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fapp/datasync/v1/data_sync.proto\x12\x14viam.app.datasync.v1\x1a\x16app/data/v1/data.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa7\x01\n\x18DataCaptureUploadRequest\x12@\n\x08metadata\x18\x01 \x01(\x0b2$.viam.app.datasync.v1.UploadMetadataR\x08metadata\x12I\n\x0fsensor_contents\x18\x02 \x03(\x0b2 .viam.app.datasync.v1.SensorDataR\x0esensorContents"Z\n\x19DataCaptureUploadResponse\x12\x17\n\x07file_id\x18\x01 \x01(\tR\x06fileId\x12$\n\x0ebinary_data_id\x18\x02 \x01(\tR\x0cbinaryDataId"\xaf\x01\n\x11FileUploadRequest\x12B\n\x08metadata\x18\x01 \x01(\x0b2$.viam.app.datasync.v1.UploadMetadataH\x00R\x08metadata\x12E\n\rfile_contents\x18\x02 \x01(\x0b2\x1e.viam.app.datasync.v1.FileDataH\x00R\x0cfileContentsB\x0f\n\rupload_packet"W\n\x12FileUploadResponse\x12\x1b\n\x07file_id\x18\x01 \x01(\tB\x02\x18\x01R\x06fileId\x12$\n\x0ebinary_data_id\x18\x02 \x01(\tR\x0cbinaryDataId"\x99\x01\n!StreamingDataCaptureUploadRequest\x12M\n\x08metadata\x18\x01 \x01(\x0b2/.viam.app.datasync.v1.DataCaptureUploadMetadataH\x00R\x08metadata\x12\x14\n\x04data\x18\x02 \x01(\x0cH\x00R\x04dataB\x0f\n\rupload_packet"g\n"StreamingDataCaptureUploadResponse\x12\x1b\n\x07file_id\x18\x01 \x01(\tB\x02\x18\x01R\x06fileId\x12$\n\x0ebinary_data_id\x18\x02 \x01(\tR\x0cbinaryDataId"\x92\x02\n\x0eSensorMetadata\x12A\n\x0etime_requested\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampR\rtimeRequested\x12?\n\rtime_received\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0ctimeReceived\x12;\n\tmime_type\x18\x03 \x01(\x0e2\x1e.viam.app.datasync.v1.MimeTypeR\x08mimeType\x12?\n\x0bannotations\x18\x04 \x01(\x0b2\x1d.viam.app.data.v1.AnnotationsR\x0bannotations"\xa3\x01\n\nSensorData\x12@\n\x08metadata\x18\x01 \x01(\x0b2$.viam.app.datasync.v1.SensorMetadataR\x08metadata\x121\n\x06struct\x18\x02 \x01(\x0b2\x17.google.protobuf.StructH\x00R\x06struct\x12\x18\n\x06binary\x18\x03 \x01(\x0cH\x00R\x06binaryB\x06\n\x04data"\x1e\n\x08FileData\x12\x12\n\x04data\x18\x01 \x01(\x0cR\x04data"\xb2\x04\n\x0eUploadMetadata\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId\x12%\n\x0ecomponent_type\x18\x02 \x01(\tR\rcomponentType\x12%\n\x0ecomponent_name\x18\x03 \x01(\tR\rcomponentName\x12\x1f\n\x0bmethod_name\x18\x05 \x01(\tR\nmethodName\x122\n\x04type\x18\x06 \x01(\x0e2\x1e.viam.app.datasync.v1.DataTypeR\x04type\x12\x1b\n\tfile_name\x18\x07 \x01(\tR\x08fileName\x12g\n\x11method_parameters\x18\x08 \x03(\x0b2:.viam.app.datasync.v1.UploadMetadata.MethodParametersEntryR\x10methodParameters\x12%\n\x0efile_extension\x18\t \x01(\tR\rfileExtension\x12\x12\n\x04tags\x18\n \x03(\tR\x04tags\x12\x1f\n\x0bdataset_ids\x18\x0c \x03(\tR\ndatasetIds\x1aY\n\x15MethodParametersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12*\n\x05value\x18\x02 \x01(\x0b2\x14.google.protobuf.AnyR\x05value:\x028\x01J\x04\x08\x04\x10\x05J\x04\x08\x0b\x10\x0cR\x0fcomponent_modelR\nsession_id"q\n\x0fCaptureInterval\x120\n\x05start\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampR\x05start\x12,\n\x03end\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x03end"\xe5\x03\n\x13DataCaptureMetadata\x12%\n\x0ecomponent_type\x18\x01 \x01(\tR\rcomponentType\x12%\n\x0ecomponent_name\x18\x02 \x01(\tR\rcomponentName\x12\x1f\n\x0bmethod_name\x18\x04 \x01(\tR\nmethodName\x122\n\x04type\x18\x05 \x01(\x0e2\x1e.viam.app.datasync.v1.DataTypeR\x04type\x12l\n\x11method_parameters\x18\x06 \x03(\x0b2?.viam.app.datasync.v1.DataCaptureMetadata.MethodParametersEntryR\x10methodParameters\x12%\n\x0efile_extension\x18\x07 \x01(\tR\rfileExtension\x12\x12\n\x04tags\x18\x08 \x03(\tR\x04tags\x1aY\n\x15MethodParametersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12*\n\x05value\x18\x02 \x01(\x0b2\x14.google.protobuf.AnyR\x05value:\x028\x01J\x04\x08\x03\x10\x04J\x04\x08\t\x10\nR\x0fcomponent_modelR\nsession_id"\xb9\x01\n\x19DataCaptureUploadMetadata\x12M\n\x0fupload_metadata\x18\x01 \x01(\x0b2$.viam.app.datasync.v1.UploadMetadataR\x0euploadMetadata\x12M\n\x0fsensor_metadata\x18\x02 \x01(\x0b2$.viam.app.datasync.v1.SensorMetadataR\x0esensorMetadata*\x90\x01\n\x08MimeType\x12\x19\n\x15MIME_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14MIME_TYPE_IMAGE_JPEG\x10\x01\x12\x17\n\x13MIME_TYPE_IMAGE_PNG\x10\x02\x12\x1d\n\x19MIME_TYPE_APPLICATION_PCD\x10\x03\x12\x17\n\x13MIME_TYPE_VIDEO_MP4\x10\x04*t\n\x08DataType\x12\x19\n\x15DATA_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n\x17DATA_TYPE_BINARY_SENSOR\x10\x01\x12\x1c\n\x18DATA_TYPE_TABULAR_SENSOR\x10\x02\x12\x12\n\x0eDATA_TYPE_FILE\x10\x032\x80\x04\n\x0fDataSyncService\x12\x9e\x01\n\x11DataCaptureUpload\x12..viam.app.datasync.v1.DataCaptureUploadRequest\x1a/.viam.app.datasync.v1.DataCaptureUploadResponse"(\x82\xd3\xe4\x93\x02"" /datasync/v1/data_capture_upload\x12\x83\x01\n\nFileUpload\x12\'.viam.app.datasync.v1.FileUploadRequest\x1a(.viam.app.datasync.v1.FileUploadResponse" \x82\xd3\xe4\x93\x02\x1a"\x18/datasync/v1/file_upload(\x01\x12\xc5\x01\n\x1aStreamingDataCaptureUpload\x127.viam.app.datasync.v1.StreamingDataCaptureUploadRequest\x1a8.viam.app.datasync.v1.StreamingDataCaptureUploadResponse"2\x82\xd3\xe4\x93\x02,"*/datasync/v1/streaming_data_capture_upload(\x01B!Z\x1fgo.viam.com/api/app/datasync/v1b\x06proto3')
|
|
15
15
|
_globals = globals()
|
|
16
16
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
17
17
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.datasync.v1.data_sync_pb2', _globals)
|
|
18
18
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
19
19
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
20
20
|
_globals['DESCRIPTOR']._serialized_options = b'Z\x1fgo.viam.com/api/app/datasync/v1'
|
|
21
|
+
_globals['_FILEUPLOADRESPONSE'].fields_by_name['file_id']._loaded_options = None
|
|
22
|
+
_globals['_FILEUPLOADRESPONSE'].fields_by_name['file_id']._serialized_options = b'\x18\x01'
|
|
23
|
+
_globals['_STREAMINGDATACAPTUREUPLOADRESPONSE'].fields_by_name['file_id']._loaded_options = None
|
|
24
|
+
_globals['_STREAMINGDATACAPTUREUPLOADRESPONSE'].fields_by_name['file_id']._serialized_options = b'\x18\x01'
|
|
21
25
|
_globals['_UPLOADMETADATA_METHODPARAMETERSENTRY']._loaded_options = None
|
|
22
26
|
_globals['_UPLOADMETADATA_METHODPARAMETERSENTRY']._serialized_options = b'8\x01'
|
|
23
27
|
_globals['_DATACAPTUREMETADATA_METHODPARAMETERSENTRY']._loaded_options = None
|
|
@@ -28,39 +32,39 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
28
32
|
_globals['_DATASYNCSERVICE'].methods_by_name['FileUpload']._serialized_options = b'\x82\xd3\xe4\x93\x02\x1a"\x18/datasync/v1/file_upload'
|
|
29
33
|
_globals['_DATASYNCSERVICE'].methods_by_name['StreamingDataCaptureUpload']._loaded_options = None
|
|
30
34
|
_globals['_DATASYNCSERVICE'].methods_by_name['StreamingDataCaptureUpload']._serialized_options = b'\x82\xd3\xe4\x93\x02,"*/datasync/v1/streaming_data_capture_upload'
|
|
31
|
-
_globals['_MIMETYPE']._serialized_start =
|
|
32
|
-
_globals['_MIMETYPE']._serialized_end =
|
|
33
|
-
_globals['_DATATYPE']._serialized_start =
|
|
34
|
-
_globals['_DATATYPE']._serialized_end =
|
|
35
|
+
_globals['_MIMETYPE']._serialized_start = 2823
|
|
36
|
+
_globals['_MIMETYPE']._serialized_end = 2967
|
|
37
|
+
_globals['_DATATYPE']._serialized_start = 2969
|
|
38
|
+
_globals['_DATATYPE']._serialized_end = 3085
|
|
35
39
|
_globals['_DATACAPTUREUPLOADREQUEST']._serialized_start = 202
|
|
36
40
|
_globals['_DATACAPTUREUPLOADREQUEST']._serialized_end = 369
|
|
37
41
|
_globals['_DATACAPTUREUPLOADRESPONSE']._serialized_start = 371
|
|
38
|
-
_globals['_DATACAPTUREUPLOADRESPONSE']._serialized_end =
|
|
39
|
-
_globals['_FILEUPLOADREQUEST']._serialized_start =
|
|
40
|
-
_globals['_FILEUPLOADREQUEST']._serialized_end =
|
|
41
|
-
_globals['_FILEUPLOADRESPONSE']._serialized_start =
|
|
42
|
-
_globals['_FILEUPLOADRESPONSE']._serialized_end =
|
|
43
|
-
_globals['_STREAMINGDATACAPTUREUPLOADREQUEST']._serialized_start =
|
|
44
|
-
_globals['_STREAMINGDATACAPTUREUPLOADREQUEST']._serialized_end =
|
|
45
|
-
_globals['_STREAMINGDATACAPTUREUPLOADRESPONSE']._serialized_start =
|
|
46
|
-
_globals['_STREAMINGDATACAPTUREUPLOADRESPONSE']._serialized_end =
|
|
47
|
-
_globals['_SENSORMETADATA']._serialized_start =
|
|
48
|
-
_globals['_SENSORMETADATA']._serialized_end =
|
|
49
|
-
_globals['_SENSORDATA']._serialized_start =
|
|
50
|
-
_globals['_SENSORDATA']._serialized_end =
|
|
51
|
-
_globals['_FILEDATA']._serialized_start =
|
|
52
|
-
_globals['_FILEDATA']._serialized_end =
|
|
53
|
-
_globals['_UPLOADMETADATA']._serialized_start =
|
|
54
|
-
_globals['_UPLOADMETADATA']._serialized_end =
|
|
55
|
-
_globals['_UPLOADMETADATA_METHODPARAMETERSENTRY']._serialized_start =
|
|
56
|
-
_globals['_UPLOADMETADATA_METHODPARAMETERSENTRY']._serialized_end =
|
|
57
|
-
_globals['_CAPTUREINTERVAL']._serialized_start =
|
|
58
|
-
_globals['_CAPTUREINTERVAL']._serialized_end =
|
|
59
|
-
_globals['_DATACAPTUREMETADATA']._serialized_start =
|
|
60
|
-
_globals['_DATACAPTUREMETADATA']._serialized_end =
|
|
61
|
-
_globals['_DATACAPTUREMETADATA_METHODPARAMETERSENTRY']._serialized_start =
|
|
62
|
-
_globals['_DATACAPTUREMETADATA_METHODPARAMETERSENTRY']._serialized_end =
|
|
63
|
-
_globals['_DATACAPTUREUPLOADMETADATA']._serialized_start =
|
|
64
|
-
_globals['_DATACAPTUREUPLOADMETADATA']._serialized_end =
|
|
65
|
-
_globals['_DATASYNCSERVICE']._serialized_start =
|
|
66
|
-
_globals['_DATASYNCSERVICE']._serialized_end =
|
|
42
|
+
_globals['_DATACAPTUREUPLOADRESPONSE']._serialized_end = 461
|
|
43
|
+
_globals['_FILEUPLOADREQUEST']._serialized_start = 464
|
|
44
|
+
_globals['_FILEUPLOADREQUEST']._serialized_end = 639
|
|
45
|
+
_globals['_FILEUPLOADRESPONSE']._serialized_start = 641
|
|
46
|
+
_globals['_FILEUPLOADRESPONSE']._serialized_end = 728
|
|
47
|
+
_globals['_STREAMINGDATACAPTUREUPLOADREQUEST']._serialized_start = 731
|
|
48
|
+
_globals['_STREAMINGDATACAPTUREUPLOADREQUEST']._serialized_end = 884
|
|
49
|
+
_globals['_STREAMINGDATACAPTUREUPLOADRESPONSE']._serialized_start = 886
|
|
50
|
+
_globals['_STREAMINGDATACAPTUREUPLOADRESPONSE']._serialized_end = 989
|
|
51
|
+
_globals['_SENSORMETADATA']._serialized_start = 992
|
|
52
|
+
_globals['_SENSORMETADATA']._serialized_end = 1266
|
|
53
|
+
_globals['_SENSORDATA']._serialized_start = 1269
|
|
54
|
+
_globals['_SENSORDATA']._serialized_end = 1432
|
|
55
|
+
_globals['_FILEDATA']._serialized_start = 1434
|
|
56
|
+
_globals['_FILEDATA']._serialized_end = 1464
|
|
57
|
+
_globals['_UPLOADMETADATA']._serialized_start = 1467
|
|
58
|
+
_globals['_UPLOADMETADATA']._serialized_end = 2029
|
|
59
|
+
_globals['_UPLOADMETADATA_METHODPARAMETERSENTRY']._serialized_start = 1899
|
|
60
|
+
_globals['_UPLOADMETADATA_METHODPARAMETERSENTRY']._serialized_end = 1988
|
|
61
|
+
_globals['_CAPTUREINTERVAL']._serialized_start = 2031
|
|
62
|
+
_globals['_CAPTUREINTERVAL']._serialized_end = 2144
|
|
63
|
+
_globals['_DATACAPTUREMETADATA']._serialized_start = 2147
|
|
64
|
+
_globals['_DATACAPTUREMETADATA']._serialized_end = 2632
|
|
65
|
+
_globals['_DATACAPTUREMETADATA_METHODPARAMETERSENTRY']._serialized_start = 1899
|
|
66
|
+
_globals['_DATACAPTUREMETADATA_METHODPARAMETERSENTRY']._serialized_end = 1988
|
|
67
|
+
_globals['_DATACAPTUREUPLOADMETADATA']._serialized_start = 2635
|
|
68
|
+
_globals['_DATACAPTUREUPLOADMETADATA']._serialized_end = 2820
|
|
69
|
+
_globals['_DATASYNCSERVICE']._serialized_start = 3088
|
|
70
|
+
_globals['_DATASYNCSERVICE']._serialized_end = 3600
|
|
@@ -30,6 +30,7 @@ class _MimeTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumT
|
|
|
30
30
|
MIME_TYPE_IMAGE_JPEG: _MimeType.ValueType
|
|
31
31
|
MIME_TYPE_IMAGE_PNG: _MimeType.ValueType
|
|
32
32
|
MIME_TYPE_APPLICATION_PCD: _MimeType.ValueType
|
|
33
|
+
MIME_TYPE_VIDEO_MP4: _MimeType.ValueType
|
|
33
34
|
|
|
34
35
|
class MimeType(_MimeType, metaclass=_MimeTypeEnumTypeWrapper):
|
|
35
36
|
...
|
|
@@ -37,6 +38,7 @@ MIME_TYPE_UNSPECIFIED: MimeType.ValueType
|
|
|
37
38
|
MIME_TYPE_IMAGE_JPEG: MimeType.ValueType
|
|
38
39
|
MIME_TYPE_IMAGE_PNG: MimeType.ValueType
|
|
39
40
|
MIME_TYPE_APPLICATION_PCD: MimeType.ValueType
|
|
41
|
+
MIME_TYPE_VIDEO_MP4: MimeType.ValueType
|
|
40
42
|
global___MimeType = MimeType
|
|
41
43
|
|
|
42
44
|
class _DataType:
|
|
@@ -88,12 +90,14 @@ class DataCaptureUploadResponse(google.protobuf.message.Message):
|
|
|
88
90
|
"""DataCaptureUploadResponse returns the file id of the uploaded contents and metadata for tabular data."""
|
|
89
91
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
90
92
|
FILE_ID_FIELD_NUMBER: builtins.int
|
|
93
|
+
BINARY_DATA_ID_FIELD_NUMBER: builtins.int
|
|
91
94
|
file_id: builtins.str
|
|
95
|
+
binary_data_id: builtins.str
|
|
92
96
|
|
|
93
|
-
def __init__(self, *, file_id: builtins.str=...) -> None:
|
|
97
|
+
def __init__(self, *, file_id: builtins.str=..., binary_data_id: builtins.str=...) -> None:
|
|
94
98
|
...
|
|
95
99
|
|
|
96
|
-
def ClearField(self, field_name: typing.Literal['file_id', b'file_id']) -> None:
|
|
100
|
+
def ClearField(self, field_name: typing.Literal['binary_data_id', b'binary_data_id', 'file_id', b'file_id']) -> None:
|
|
97
101
|
...
|
|
98
102
|
global___DataCaptureUploadResponse = DataCaptureUploadResponse
|
|
99
103
|
|
|
@@ -132,12 +136,14 @@ class FileUploadResponse(google.protobuf.message.Message):
|
|
|
132
136
|
"""FileUploadResponse returns the file id of the uploaded contents and metadata for binary (image + file) data."""
|
|
133
137
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
134
138
|
FILE_ID_FIELD_NUMBER: builtins.int
|
|
139
|
+
BINARY_DATA_ID_FIELD_NUMBER: builtins.int
|
|
135
140
|
file_id: builtins.str
|
|
141
|
+
binary_data_id: builtins.str
|
|
136
142
|
|
|
137
|
-
def __init__(self, *, file_id: builtins.str=...) -> None:
|
|
143
|
+
def __init__(self, *, file_id: builtins.str=..., binary_data_id: builtins.str=...) -> None:
|
|
138
144
|
...
|
|
139
145
|
|
|
140
|
-
def ClearField(self, field_name: typing.Literal['file_id', b'file_id']) -> None:
|
|
146
|
+
def ClearField(self, field_name: typing.Literal['binary_data_id', b'binary_data_id', 'file_id', b'file_id']) -> None:
|
|
141
147
|
...
|
|
142
148
|
global___FileUploadResponse = FileUploadResponse
|
|
143
149
|
|
|
@@ -173,12 +179,14 @@ class StreamingDataCaptureUploadResponse(google.protobuf.message.Message):
|
|
|
173
179
|
"""StreamingDataCaptureUploadResponse returns the file id of the uploaded contents and metadata for streaming binary (image + file) data."""
|
|
174
180
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
175
181
|
FILE_ID_FIELD_NUMBER: builtins.int
|
|
182
|
+
BINARY_DATA_ID_FIELD_NUMBER: builtins.int
|
|
176
183
|
file_id: builtins.str
|
|
184
|
+
binary_data_id: builtins.str
|
|
177
185
|
|
|
178
|
-
def __init__(self, *, file_id: builtins.str=...) -> None:
|
|
186
|
+
def __init__(self, *, file_id: builtins.str=..., binary_data_id: builtins.str=...) -> None:
|
|
179
187
|
...
|
|
180
188
|
|
|
181
|
-
def ClearField(self, field_name: typing.Literal['file_id', b'file_id']) -> None:
|
|
189
|
+
def ClearField(self, field_name: typing.Literal['binary_data_id', b'binary_data_id', 'file_id', b'file_id']) -> None:
|
|
182
190
|
...
|
|
183
191
|
global___StreamingDataCaptureUploadResponse = StreamingDataCaptureUploadResponse
|
|
184
192
|
|
|
@@ -293,6 +301,7 @@ class UploadMetadata(google.protobuf.message.Message):
|
|
|
293
301
|
METHOD_PARAMETERS_FIELD_NUMBER: builtins.int
|
|
294
302
|
FILE_EXTENSION_FIELD_NUMBER: builtins.int
|
|
295
303
|
TAGS_FIELD_NUMBER: builtins.int
|
|
304
|
+
DATASET_IDS_FIELD_NUMBER: builtins.int
|
|
296
305
|
part_id: builtins.str
|
|
297
306
|
component_type: builtins.str
|
|
298
307
|
component_name: builtins.str
|
|
@@ -309,10 +318,14 @@ class UploadMetadata(google.protobuf.message.Message):
|
|
|
309
318
|
def tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
310
319
|
...
|
|
311
320
|
|
|
312
|
-
|
|
321
|
+
@property
|
|
322
|
+
def dataset_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
323
|
+
...
|
|
324
|
+
|
|
325
|
+
def __init__(self, *, part_id: builtins.str=..., component_type: builtins.str=..., component_name: builtins.str=..., method_name: builtins.str=..., type: global___DataType.ValueType=..., file_name: builtins.str=..., method_parameters: collections.abc.Mapping[builtins.str, google.protobuf.any_pb2.Any] | None=..., file_extension: builtins.str=..., tags: collections.abc.Iterable[builtins.str] | None=..., dataset_ids: collections.abc.Iterable[builtins.str] | None=...) -> None:
|
|
313
326
|
...
|
|
314
327
|
|
|
315
|
-
def ClearField(self, field_name: typing.Literal['component_name', b'component_name', 'component_type', b'component_type', 'file_extension', b'file_extension', 'file_name', b'file_name', 'method_name', b'method_name', 'method_parameters', b'method_parameters', 'part_id', b'part_id', 'tags', b'tags', 'type', b'type']) -> None:
|
|
328
|
+
def ClearField(self, field_name: typing.Literal['component_name', b'component_name', 'component_type', b'component_type', 'dataset_ids', b'dataset_ids', 'file_extension', b'file_extension', 'file_name', b'file_name', 'method_name', b'method_name', 'method_parameters', b'method_parameters', 'part_id', b'part_id', 'tags', b'tags', 'type', b'type']) -> None:
|
|
316
329
|
...
|
|
317
330
|
global___UploadMetadata = UploadMetadata
|
|
318
331
|
|
|
@@ -4,11 +4,11 @@ from google.protobuf import descriptor_pool as _descriptor_pool
|
|
|
4
4
|
from google.protobuf import runtime_version as _runtime_version
|
|
5
5
|
from google.protobuf import symbol_database as _symbol_database
|
|
6
6
|
from google.protobuf.internal import builder as _builder
|
|
7
|
-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29,
|
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'app/mlinference/v1/ml_inference.proto')
|
|
8
8
|
_sym_db = _symbol_database.Default()
|
|
9
9
|
from ....app.data.v1 import data_pb2 as app_dot_data_dot_v1_dot_data__pb2
|
|
10
10
|
from ....service.mlmodel.v1 import mlmodel_pb2 as service_dot_mlmodel_dot_v1_dot_mlmodel__pb2
|
|
11
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%app/mlinference/v1/ml_inference.proto\x12\x17viam.app.mlinference.v1\x1a\x16app/data/v1/data.proto\x1a service/mlmodel/v1/mlmodel.proto"\
|
|
11
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%app/mlinference/v1/ml_inference.proto\x12\x17viam.app.mlinference.v1\x1a\x16app/data/v1/data.proto\x1a service/mlmodel/v1/mlmodel.proto"\xfb\x01\n\x13GetInferenceRequest\x12(\n\x10registry_item_id\x18\x01 \x01(\tR\x0eregistryItemId\x122\n\x15registry_item_version\x18\x02 \x01(\tR\x13registryItemVersion\x127\n\tbinary_id\x18\x03 \x01(\x0b2\x1a.viam.app.data.v1.BinaryIDR\x08binaryId\x12$\n\x0ebinary_data_id\x18\x05 \x01(\tR\x0cbinaryDataId\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId"\xa4\x01\n\x14GetInferenceResponse\x12K\n\x0eoutput_tensors\x18\x01 \x01(\x0b2$.viam.service.mlmodel.v1.FlatTensorsR\routputTensors\x12?\n\x0bannotations\x18\x02 \x01(\x0b2\x1d.viam.app.data.v1.AnnotationsR\x0bannotations2\x81\x01\n\x12MLInferenceService\x12k\n\x0cGetInference\x12,.viam.app.mlinference.v1.GetInferenceRequest\x1a-.viam.app.mlinference.v1.GetInferenceResponseB$Z"go.viam.com/api/app/mlinference/v1b\x06proto3')
|
|
12
12
|
_globals = globals()
|
|
13
13
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
14
14
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.mlinference.v1.ml_inference_pb2', _globals)
|
|
@@ -16,8 +16,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
16
16
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
17
17
|
_globals['DESCRIPTOR']._serialized_options = b'Z"go.viam.com/api/app/mlinference/v1'
|
|
18
18
|
_globals['_GETINFERENCEREQUEST']._serialized_start = 125
|
|
19
|
-
_globals['_GETINFERENCEREQUEST']._serialized_end =
|
|
20
|
-
_globals['_GETINFERENCERESPONSE']._serialized_start =
|
|
21
|
-
_globals['_GETINFERENCERESPONSE']._serialized_end =
|
|
22
|
-
_globals['_MLINFERENCESERVICE']._serialized_start =
|
|
23
|
-
_globals['_MLINFERENCESERVICE']._serialized_end =
|
|
19
|
+
_globals['_GETINFERENCEREQUEST']._serialized_end = 376
|
|
20
|
+
_globals['_GETINFERENCERESPONSE']._serialized_start = 379
|
|
21
|
+
_globals['_GETINFERENCERESPONSE']._serialized_end = 543
|
|
22
|
+
_globals['_MLINFERENCESERVICE']._serialized_start = 546
|
|
23
|
+
_globals['_MLINFERENCESERVICE']._serialized_end = 675
|
|
@@ -16,23 +16,25 @@ class GetInferenceRequest(google.protobuf.message.Message):
|
|
|
16
16
|
REGISTRY_ITEM_ID_FIELD_NUMBER: builtins.int
|
|
17
17
|
REGISTRY_ITEM_VERSION_FIELD_NUMBER: builtins.int
|
|
18
18
|
BINARY_ID_FIELD_NUMBER: builtins.int
|
|
19
|
+
BINARY_DATA_ID_FIELD_NUMBER: builtins.int
|
|
19
20
|
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
20
21
|
registry_item_id: builtins.str
|
|
21
22
|
'The model framework and model type are inferred from the ML model registry item;\n For valid model types (classification, detections) we will return the formatted\n labels or annotations from the associated inference outputs.\n '
|
|
22
23
|
registry_item_version: builtins.str
|
|
24
|
+
binary_data_id: builtins.str
|
|
23
25
|
organization_id: builtins.str
|
|
24
26
|
|
|
25
27
|
@property
|
|
26
28
|
def binary_id(self) -> app.data.v1.data_pb2.BinaryID:
|
|
27
29
|
...
|
|
28
30
|
|
|
29
|
-
def __init__(self, *, registry_item_id: builtins.str=..., registry_item_version: builtins.str=..., binary_id: app.data.v1.data_pb2.BinaryID | None=..., organization_id: builtins.str=...) -> None:
|
|
31
|
+
def __init__(self, *, registry_item_id: builtins.str=..., registry_item_version: builtins.str=..., binary_id: app.data.v1.data_pb2.BinaryID | None=..., binary_data_id: builtins.str=..., organization_id: builtins.str=...) -> None:
|
|
30
32
|
...
|
|
31
33
|
|
|
32
34
|
def HasField(self, field_name: typing.Literal['binary_id', b'binary_id']) -> builtins.bool:
|
|
33
35
|
...
|
|
34
36
|
|
|
35
|
-
def ClearField(self, field_name: typing.Literal['binary_id', b'binary_id', 'organization_id', b'organization_id', 'registry_item_id', b'registry_item_id', 'registry_item_version', b'registry_item_version']) -> None:
|
|
37
|
+
def ClearField(self, field_name: typing.Literal['binary_data_id', b'binary_data_id', 'binary_id', b'binary_id', 'organization_id', b'organization_id', 'registry_item_id', b'registry_item_id', 'registry_item_version', b'registry_item_version']) -> None:
|
|
36
38
|
...
|
|
37
39
|
global___GetInferenceRequest = GetInferenceRequest
|
|
38
40
|
|
|
@@ -40,8 +40,12 @@ class MLTrainingServiceBase(abc.ABC):
|
|
|
40
40
|
async def GetTrainingJobLogs(self, stream: 'grpclib.server.Stream[app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsRequest, app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsResponse]') -> None:
|
|
41
41
|
pass
|
|
42
42
|
|
|
43
|
+
@abc.abstractmethod
|
|
44
|
+
async def ListSupportedContainers(self, stream: 'grpclib.server.Stream[app.mltraining.v1.ml_training_pb2.ListSupportedContainersRequest, app.mltraining.v1.ml_training_pb2.ListSupportedContainersResponse]') -> None:
|
|
45
|
+
pass
|
|
46
|
+
|
|
43
47
|
def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
|
|
44
|
-
return {'/viam.app.mltraining.v1.MLTrainingService/SubmitTrainingJob': grpclib.const.Handler(self.SubmitTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.SubmitTrainingJobRequest, app.mltraining.v1.ml_training_pb2.SubmitTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/SubmitCustomTrainingJob': grpclib.const.Handler(self.SubmitCustomTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.SubmitCustomTrainingJobRequest, app.mltraining.v1.ml_training_pb2.SubmitCustomTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/GetTrainingJob': grpclib.const.Handler(self.GetTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.GetTrainingJobRequest, app.mltraining.v1.ml_training_pb2.GetTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/ListTrainingJobs': grpclib.const.Handler(self.ListTrainingJobs, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.ListTrainingJobsRequest, app.mltraining.v1.ml_training_pb2.ListTrainingJobsResponse), '/viam.app.mltraining.v1.MLTrainingService/CancelTrainingJob': grpclib.const.Handler(self.CancelTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.CancelTrainingJobRequest, app.mltraining.v1.ml_training_pb2.CancelTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/DeleteCompletedTrainingJob': grpclib.const.Handler(self.DeleteCompletedTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobRequest, app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/GetTrainingJobLogs': grpclib.const.Handler(self.GetTrainingJobLogs, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsRequest, app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsResponse)}
|
|
48
|
+
return {'/viam.app.mltraining.v1.MLTrainingService/SubmitTrainingJob': grpclib.const.Handler(self.SubmitTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.SubmitTrainingJobRequest, app.mltraining.v1.ml_training_pb2.SubmitTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/SubmitCustomTrainingJob': grpclib.const.Handler(self.SubmitCustomTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.SubmitCustomTrainingJobRequest, app.mltraining.v1.ml_training_pb2.SubmitCustomTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/GetTrainingJob': grpclib.const.Handler(self.GetTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.GetTrainingJobRequest, app.mltraining.v1.ml_training_pb2.GetTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/ListTrainingJobs': grpclib.const.Handler(self.ListTrainingJobs, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.ListTrainingJobsRequest, app.mltraining.v1.ml_training_pb2.ListTrainingJobsResponse), '/viam.app.mltraining.v1.MLTrainingService/CancelTrainingJob': grpclib.const.Handler(self.CancelTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.CancelTrainingJobRequest, app.mltraining.v1.ml_training_pb2.CancelTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/DeleteCompletedTrainingJob': grpclib.const.Handler(self.DeleteCompletedTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobRequest, app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/GetTrainingJobLogs': grpclib.const.Handler(self.GetTrainingJobLogs, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsRequest, app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsResponse), '/viam.app.mltraining.v1.MLTrainingService/ListSupportedContainers': grpclib.const.Handler(self.ListSupportedContainers, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.ListSupportedContainersRequest, app.mltraining.v1.ml_training_pb2.ListSupportedContainersResponse)}
|
|
45
49
|
|
|
46
50
|
class UnimplementedMLTrainingServiceBase(MLTrainingServiceBase):
|
|
47
51
|
|
|
@@ -66,6 +70,9 @@ class UnimplementedMLTrainingServiceBase(MLTrainingServiceBase):
|
|
|
66
70
|
async def GetTrainingJobLogs(self, stream: 'grpclib.server.Stream[app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsRequest, app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsResponse]') -> None:
|
|
67
71
|
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
68
72
|
|
|
73
|
+
async def ListSupportedContainers(self, stream: 'grpclib.server.Stream[app.mltraining.v1.ml_training_pb2.ListSupportedContainersRequest, app.mltraining.v1.ml_training_pb2.ListSupportedContainersResponse]') -> None:
|
|
74
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
75
|
+
|
|
69
76
|
class MLTrainingServiceStub:
|
|
70
77
|
|
|
71
78
|
def __init__(self, channel: grpclib.client.Channel) -> None:
|
|
@@ -75,4 +82,5 @@ class MLTrainingServiceStub:
|
|
|
75
82
|
self.ListTrainingJobs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.mltraining.v1.MLTrainingService/ListTrainingJobs', app.mltraining.v1.ml_training_pb2.ListTrainingJobsRequest, app.mltraining.v1.ml_training_pb2.ListTrainingJobsResponse)
|
|
76
83
|
self.CancelTrainingJob = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.mltraining.v1.MLTrainingService/CancelTrainingJob', app.mltraining.v1.ml_training_pb2.CancelTrainingJobRequest, app.mltraining.v1.ml_training_pb2.CancelTrainingJobResponse)
|
|
77
84
|
self.DeleteCompletedTrainingJob = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.mltraining.v1.MLTrainingService/DeleteCompletedTrainingJob', app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobRequest, app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobResponse)
|
|
78
|
-
self.GetTrainingJobLogs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.mltraining.v1.MLTrainingService/GetTrainingJobLogs', app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsRequest, app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsResponse)
|
|
85
|
+
self.GetTrainingJobLogs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.mltraining.v1.MLTrainingService/GetTrainingJobLogs', app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsRequest, app.mltraining.v1.ml_training_pb2.GetTrainingJobLogsResponse)
|
|
86
|
+
self.ListSupportedContainers = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.mltraining.v1.MLTrainingService/ListSupportedContainers', app.mltraining.v1.ml_training_pb2.ListSupportedContainersRequest, app.mltraining.v1.ml_training_pb2.ListSupportedContainersResponse)
|
|
@@ -4,12 +4,12 @@ from google.protobuf import descriptor_pool as _descriptor_pool
|
|
|
4
4
|
from google.protobuf import runtime_version as _runtime_version
|
|
5
5
|
from google.protobuf import symbol_database as _symbol_database
|
|
6
6
|
from google.protobuf.internal import builder as _builder
|
|
7
|
-
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29,
|
|
7
|
+
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'app/mltraining/v1/ml_training.proto')
|
|
8
8
|
_sym_db = _symbol_database.Default()
|
|
9
9
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
10
10
|
from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2
|
|
11
11
|
from ....tagger.v1 import tagger_pb2 as tagger_dot_v1_dot_tagger__pb2
|
|
12
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#app/mltraining/v1/ml_training.proto\x12\x16viam.app.mltraining.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16tagger/v1/tagger.proto"\
|
|
12
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#app/mltraining/v1/ml_training.proto\x12\x16viam.app.mltraining.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16tagger/v1/tagger.proto"\x90\x05\n\x18SubmitTrainingJobRequest\x12G\n\ndataset_id\x18\x07 \x01(\tB(\x9a\x84\x9e\x03#bson:"dataset_id" json:"dataset_id"R\tdatasetId\x12[\n\x0forganization_id\x18\x02 \x01(\tB2\x9a\x84\x9e\x03-bson:"organization_id" json:"organization_id"R\x0eorganizationId\x12G\n\nmodel_name\x18\x03 \x01(\tB(\x9a\x84\x9e\x03#bson:"model_name" json:"model_name"R\tmodelName\x12S\n\rmodel_version\x18\x04 \x01(\tB.\x9a\x84\x9e\x03)bson:"model_version" json:"model_version"R\x0cmodelVersion\x12j\n\nmodel_type\x18\x05 \x01(\x0e2!.viam.app.mltraining.v1.ModelTypeB(\x9a\x84\x9e\x03#bson:"model_type" json:"model_type"R\tmodelType\x12\x83\x01\n\x0fmodel_framework\x18\x08 \x01(\x0e2&.viam.app.mltraining.v1.ModelFrameworkB2\x9a\x84\x9e\x03-bson:"model_framework" json:"model_framework"R\x0emodelFramework\x120\n\x04tags\x18\x06 \x03(\tB\x1c\x9a\x84\x9e\x03\x17bson:"tags" json:"tags"R\x04tagsJ\x04\x08\x01\x10\x02R\x06filter"+\n\x19SubmitTrainingJobResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x88\x06\n\x1eSubmitCustomTrainingJobRequest\x12G\n\ndataset_id\x18\x01 \x01(\tB(\x9a\x84\x9e\x03#bson:"dataset_id" json:"dataset_id"R\tdatasetId\x12^\n\x10registry_item_id\x18\x02 \x01(\tB4\x9a\x84\x9e\x03/bson:"registry_item_id" json:"registry_item_id"R\x0eregistryItemId\x12r\n\x15registry_item_version\x18\x06 \x01(\tB>\x9a\x84\x9e\x039bson:"registry_item_version" json:"registry_item_version"R\x13registryItemVersion\x12[\n\x0forganization_id\x18\x03 \x01(\tB2\x9a\x84\x9e\x03-bson:"organization_id" json:"organization_id"R\x0eorganizationId\x12G\n\nmodel_name\x18\x04 \x01(\tB(\x9a\x84\x9e\x03#bson:"model_name" json:"model_name"R\tmodelName\x12S\n\rmodel_version\x18\x05 \x01(\tB.\x9a\x84\x9e\x03)bson:"model_version" json:"model_version"R\x0cmodelVersion\x12c\n\targuments\x18\x07 \x03(\x0b2E.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest.ArgumentsEntryR\targuments\x12+\n\x11container_version\x18\x08 \x01(\tR\x10containerVersion\x1a<\n\x0eArgumentsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01"1\n\x1fSubmitCustomTrainingJobResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\'\n\x15GetTrainingJobRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"a\n\x16GetTrainingJobResponse\x12G\n\x08metadata\x18\x01 \x01(\x0b2+.viam.app.mltraining.v1.TrainingJobMetadataR\x08metadata"\x82\x01\n\x17ListTrainingJobsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12>\n\x06status\x18\x02 \x01(\x0e2&.viam.app.mltraining.v1.TrainingStatusR\x06status"[\n\x18ListTrainingJobsResponse\x12?\n\x04jobs\x18\x01 \x03(\x0b2+.viam.app.mltraining.v1.TrainingJobMetadataR\x04jobs"\x8c\x10\n\x13TrainingJobMetadata\x123\n\x02id\x18\x07 \x01(\tB#\x9a\x84\x9e\x03\x1ebson:"_id" json:"id,omitempty"R\x02id\x12G\n\ndataset_id\x18\x0b \x01(\tB(\x9a\x84\x9e\x03#bson:"dataset_id" json:"dataset_id"R\tdatasetId\x12[\n\x0forganization_id\x18\x0c \x01(\tB2\x9a\x84\x9e\x03-bson:"organization_id" json:"organization_id"R\x0eorganizationId\x12G\n\nmodel_name\x18\r \x01(\tB(\x9a\x84\x9e\x03#bson:"model_name" json:"model_name"R\tmodelName\x12S\n\rmodel_version\x18\x0e \x01(\tB.\x9a\x84\x9e\x03)bson:"model_version" json:"model_version"R\x0cmodelVersion\x12j\n\nmodel_type\x18\x0f \x01(\x0e2!.viam.app.mltraining.v1.ModelTypeB(\x9a\x84\x9e\x03#bson:"model_type" json:"model_type"R\tmodelType\x12\x83\x01\n\x0fmodel_framework\x18\x11 \x01(\x0e2&.viam.app.mltraining.v1.ModelFrameworkB2\x9a\x84\x9e\x03-bson:"model_framework" json:"model_framework"R\x0emodelFramework\x12R\n\ris_custom_job\x18\x12 \x01(\x08B.\x9a\x84\x9e\x03)bson:"is_custom_job" json:"is_custom_job"R\x0bisCustomJob\x12^\n\x10registry_item_id\x18\x13 \x01(\tB4\x9a\x84\x9e\x03/bson:"registry_item_id" json:"registry_item_id"R\x0eregistryItemId\x12r\n\x15registry_item_version\x18\x14 \x01(\tB>\x9a\x84\x9e\x039bson:"registry_item_version" json:"registry_item_version"R\x13registryItemVersion\x12`\n\x06status\x18\x02 \x01(\x0e2&.viam.app.mltraining.v1.TrainingStatusB \x9a\x84\x9e\x03\x1bbson:"status" json:"status"R\x06status\x12c\n\x0cerror_status\x18\x08 \x01(\x0b2\x12.google.rpc.StatusB,\x9a\x84\x9e\x03\'bson:"error_status" json:"error_status"R\x0berrorStatus\x12c\n\ncreated_on\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampB(\x9a\x84\x9e\x03#bson:"created_on" json:"created_on"R\tcreatedOn\x12o\n\rlast_modified\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampB.\x9a\x84\x9e\x03)bson:"last_modified" json:"last_modified"R\x0clastModified\x12{\n\x10training_started\x18\t \x01(\x0b2\x1a.google.protobuf.TimestampB4\x9a\x84\x9e\x03/bson:"training_started" json:"training_started"R\x0ftrainingStarted\x12s\n\x0etraining_ended\x18\n \x01(\x0b2\x1a.google.protobuf.TimestampB0\x9a\x84\x9e\x03+bson:"training_ended" json:"training_ended"R\rtrainingEnded\x12Z\n\x0fsynced_model_id\x18\x05 \x01(\tB2\x9a\x84\x9e\x03-bson:"synced_model_id" json:"synced_model_id"R\rsyncedModelId\x120\n\x04tags\x18\x10 \x03(\tB\x1c\x9a\x84\x9e\x03\x17bson:"tags" json:"tags"R\x04tags\x12\x80\x01\n\targuments\x18\x15 \x03(\x0b2:.viam.app.mltraining.v1.TrainingJobMetadata.ArgumentsEntryB&\x9a\x84\x9e\x03!bson:"arguments" json:"arguments"R\targuments\x12c\n\x11container_version\x18\x16 \x01(\tB6\x9a\x84\x9e\x031bson:"container_version" json:"container_version"R\x10containerVersion\x1a<\n\x0eArgumentsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01J\x04\x08\x01\x10\x02J\x04\x08\x06\x10\x07R\x07requestR\nuser_email"*\n\x18CancelTrainingJobRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x1b\n\x19CancelTrainingJobResponse"3\n!DeleteCompletedTrainingJobRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"$\n"DeleteCompletedTrainingJobResponse"u\n\x13TrainingJobLogEntry\x12\x14\n\x05level\x18\x01 \x01(\tR\x05level\x12.\n\x04time\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x04time\x12\x18\n\x07message\x18\x03 \x01(\tR\x07message"^\n\x19GetTrainingJobLogsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12"\n\npage_token\x18\x02 \x01(\tH\x00R\tpageToken\x88\x01\x01B\r\n\x0b_page_token"\x85\x01\n\x1aGetTrainingJobLogsResponse\x12?\n\x04logs\x18\x01 \x03(\x0b2+.viam.app.mltraining.v1.TrainingJobLogEntryR\x04logs\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken" \n\x1eListSupportedContainersRequest"\xf5\x01\n\x1fListSupportedContainersResponse\x12n\n\rcontainer_map\x18\x01 \x03(\x0b2I.viam.app.mltraining.v1.ListSupportedContainersResponse.ContainerMapEntryR\x0ccontainerMap\x1ab\n\x11ContainerMapEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x127\n\x05value\x18\x02 \x01(\x0b2!.viam.app.mltraining.v1.ContainerR\x05value:\x028\x01"\x9d\x01\n\tContainer\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x10\n\x03uri\x18\x02 \x01(\tR\x03uri\x12\x1c\n\tframework\x18\x03 \x01(\tR\tframework\x12 \n\x0bdescription\x18\x04 \x01(\tR\x0bdescription\x12,\n\x03eol\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampR\x03eol*\x9f\x01\n\tModelType\x12\x1a\n\x16MODEL_TYPE_UNSPECIFIED\x10\x00\x12*\n&MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION\x10\x01\x12)\n%MODEL_TYPE_MULTI_LABEL_CLASSIFICATION\x10\x02\x12\x1f\n\x1bMODEL_TYPE_OBJECT_DETECTION\x10\x03*\xa4\x01\n\x0eModelFramework\x12\x1f\n\x1bMODEL_FRAMEWORK_UNSPECIFIED\x10\x00\x12\x1a\n\x16MODEL_FRAMEWORK_TFLITE\x10\x01\x12\x1e\n\x1aMODEL_FRAMEWORK_TENSORFLOW\x10\x02\x12\x1b\n\x17MODEL_FRAMEWORK_PYTORCH\x10\x03\x12\x18\n\x14MODEL_FRAMEWORK_ONNX\x10\x04*\xe7\x01\n\x0eTrainingStatus\x12\x1f\n\x1bTRAINING_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17TRAINING_STATUS_PENDING\x10\x01\x12\x1f\n\x1bTRAINING_STATUS_IN_PROGRESS\x10\x02\x12\x1d\n\x19TRAINING_STATUS_COMPLETED\x10\x03\x12\x1a\n\x16TRAINING_STATUS_FAILED\x10\x04\x12\x1c\n\x18TRAINING_STATUS_CANCELED\x10\x05\x12\x1d\n\x19TRAINING_STATUS_CANCELING\x10\x062\x9c\x08\n\x11MLTrainingService\x12x\n\x11SubmitTrainingJob\x120.viam.app.mltraining.v1.SubmitTrainingJobRequest\x1a1.viam.app.mltraining.v1.SubmitTrainingJobResponse\x12\x8a\x01\n\x17SubmitCustomTrainingJob\x126.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest\x1a7.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse\x12o\n\x0eGetTrainingJob\x12-.viam.app.mltraining.v1.GetTrainingJobRequest\x1a..viam.app.mltraining.v1.GetTrainingJobResponse\x12u\n\x10ListTrainingJobs\x12/.viam.app.mltraining.v1.ListTrainingJobsRequest\x1a0.viam.app.mltraining.v1.ListTrainingJobsResponse\x12x\n\x11CancelTrainingJob\x120.viam.app.mltraining.v1.CancelTrainingJobRequest\x1a1.viam.app.mltraining.v1.CancelTrainingJobResponse\x12\x93\x01\n\x1aDeleteCompletedTrainingJob\x129.viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest\x1a:.viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse\x12{\n\x12GetTrainingJobLogs\x121.viam.app.mltraining.v1.GetTrainingJobLogsRequest\x1a2.viam.app.mltraining.v1.GetTrainingJobLogsResponse\x12\x8a\x01\n\x17ListSupportedContainers\x126.viam.app.mltraining.v1.ListSupportedContainersRequest\x1a7.viam.app.mltraining.v1.ListSupportedContainersResponseB#Z!go.viam.com/api/app/mltraining/v1b\x06proto3')
|
|
13
13
|
_globals = globals()
|
|
14
14
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
15
15
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.mltraining.v1.ml_training_pb2', _globals)
|
|
@@ -26,6 +26,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
26
26
|
_globals['_SUBMITTRAININGJOBREQUEST'].fields_by_name['model_version']._serialized_options = b'\x9a\x84\x9e\x03)bson:"model_version" json:"model_version"'
|
|
27
27
|
_globals['_SUBMITTRAININGJOBREQUEST'].fields_by_name['model_type']._loaded_options = None
|
|
28
28
|
_globals['_SUBMITTRAININGJOBREQUEST'].fields_by_name['model_type']._serialized_options = b'\x9a\x84\x9e\x03#bson:"model_type" json:"model_type"'
|
|
29
|
+
_globals['_SUBMITTRAININGJOBREQUEST'].fields_by_name['model_framework']._loaded_options = None
|
|
30
|
+
_globals['_SUBMITTRAININGJOBREQUEST'].fields_by_name['model_framework']._serialized_options = b'\x9a\x84\x9e\x03-bson:"model_framework" json:"model_framework"'
|
|
29
31
|
_globals['_SUBMITTRAININGJOBREQUEST'].fields_by_name['tags']._loaded_options = None
|
|
30
32
|
_globals['_SUBMITTRAININGJOBREQUEST'].fields_by_name['tags']._serialized_options = b'\x9a\x84\x9e\x03\x17bson:"tags" json:"tags"'
|
|
31
33
|
_globals['_SUBMITCUSTOMTRAININGJOBREQUEST_ARGUMENTSENTRY']._loaded_options = None
|
|
@@ -42,6 +44,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
42
44
|
_globals['_SUBMITCUSTOMTRAININGJOBREQUEST'].fields_by_name['model_name']._serialized_options = b'\x9a\x84\x9e\x03#bson:"model_name" json:"model_name"'
|
|
43
45
|
_globals['_SUBMITCUSTOMTRAININGJOBREQUEST'].fields_by_name['model_version']._loaded_options = None
|
|
44
46
|
_globals['_SUBMITCUSTOMTRAININGJOBREQUEST'].fields_by_name['model_version']._serialized_options = b'\x9a\x84\x9e\x03)bson:"model_version" json:"model_version"'
|
|
47
|
+
_globals['_TRAININGJOBMETADATA_ARGUMENTSENTRY']._loaded_options = None
|
|
48
|
+
_globals['_TRAININGJOBMETADATA_ARGUMENTSENTRY']._serialized_options = b'8\x01'
|
|
45
49
|
_globals['_TRAININGJOBMETADATA'].fields_by_name['id']._loaded_options = None
|
|
46
50
|
_globals['_TRAININGJOBMETADATA'].fields_by_name['id']._serialized_options = b'\x9a\x84\x9e\x03\x1ebson:"_id" json:"id,omitempty"'
|
|
47
51
|
_globals['_TRAININGJOBMETADATA'].fields_by_name['dataset_id']._loaded_options = None
|
|
@@ -78,45 +82,61 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
78
82
|
_globals['_TRAININGJOBMETADATA'].fields_by_name['synced_model_id']._serialized_options = b'\x9a\x84\x9e\x03-bson:"synced_model_id" json:"synced_model_id"'
|
|
79
83
|
_globals['_TRAININGJOBMETADATA'].fields_by_name['tags']._loaded_options = None
|
|
80
84
|
_globals['_TRAININGJOBMETADATA'].fields_by_name['tags']._serialized_options = b'\x9a\x84\x9e\x03\x17bson:"tags" json:"tags"'
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
85
|
+
_globals['_TRAININGJOBMETADATA'].fields_by_name['arguments']._loaded_options = None
|
|
86
|
+
_globals['_TRAININGJOBMETADATA'].fields_by_name['arguments']._serialized_options = b'\x9a\x84\x9e\x03!bson:"arguments" json:"arguments"'
|
|
87
|
+
_globals['_TRAININGJOBMETADATA'].fields_by_name['container_version']._loaded_options = None
|
|
88
|
+
_globals['_TRAININGJOBMETADATA'].fields_by_name['container_version']._serialized_options = b'\x9a\x84\x9e\x031bson:"container_version" json:"container_version"'
|
|
89
|
+
_globals['_LISTSUPPORTEDCONTAINERSRESPONSE_CONTAINERMAPENTRY']._loaded_options = None
|
|
90
|
+
_globals['_LISTSUPPORTEDCONTAINERSRESPONSE_CONTAINERMAPENTRY']._serialized_options = b'8\x01'
|
|
91
|
+
_globals['_MODELTYPE']._serialized_start = 5066
|
|
92
|
+
_globals['_MODELTYPE']._serialized_end = 5225
|
|
93
|
+
_globals['_MODELFRAMEWORK']._serialized_start = 5228
|
|
94
|
+
_globals['_MODELFRAMEWORK']._serialized_end = 5392
|
|
95
|
+
_globals['_TRAININGSTATUS']._serialized_start = 5395
|
|
96
|
+
_globals['_TRAININGSTATUS']._serialized_end = 5626
|
|
87
97
|
_globals['_SUBMITTRAININGJOBREQUEST']._serialized_start = 146
|
|
88
|
-
_globals['_SUBMITTRAININGJOBREQUEST']._serialized_end =
|
|
89
|
-
_globals['_SUBMITTRAININGJOBRESPONSE']._serialized_start =
|
|
90
|
-
_globals['_SUBMITTRAININGJOBRESPONSE']._serialized_end =
|
|
91
|
-
_globals['_SUBMITCUSTOMTRAININGJOBREQUEST']._serialized_start =
|
|
92
|
-
_globals['_SUBMITCUSTOMTRAININGJOBREQUEST']._serialized_end =
|
|
93
|
-
_globals['_SUBMITCUSTOMTRAININGJOBREQUEST_ARGUMENTSENTRY']._serialized_start =
|
|
94
|
-
_globals['_SUBMITCUSTOMTRAININGJOBREQUEST_ARGUMENTSENTRY']._serialized_end =
|
|
95
|
-
_globals['_SUBMITCUSTOMTRAININGJOBRESPONSE']._serialized_start =
|
|
96
|
-
_globals['_SUBMITCUSTOMTRAININGJOBRESPONSE']._serialized_end =
|
|
97
|
-
_globals['_GETTRAININGJOBREQUEST']._serialized_start =
|
|
98
|
-
_globals['_GETTRAININGJOBREQUEST']._serialized_end =
|
|
99
|
-
_globals['_GETTRAININGJOBRESPONSE']._serialized_start =
|
|
100
|
-
_globals['_GETTRAININGJOBRESPONSE']._serialized_end =
|
|
101
|
-
_globals['_LISTTRAININGJOBSREQUEST']._serialized_start =
|
|
102
|
-
_globals['_LISTTRAININGJOBSREQUEST']._serialized_end =
|
|
103
|
-
_globals['_LISTTRAININGJOBSRESPONSE']._serialized_start =
|
|
104
|
-
_globals['_LISTTRAININGJOBSRESPONSE']._serialized_end =
|
|
105
|
-
_globals['_TRAININGJOBMETADATA']._serialized_start =
|
|
106
|
-
_globals['_TRAININGJOBMETADATA']._serialized_end =
|
|
107
|
-
_globals['
|
|
108
|
-
_globals['
|
|
109
|
-
_globals['
|
|
110
|
-
_globals['
|
|
111
|
-
_globals['
|
|
112
|
-
_globals['
|
|
113
|
-
_globals['
|
|
114
|
-
_globals['
|
|
115
|
-
_globals['
|
|
116
|
-
_globals['
|
|
117
|
-
_globals['
|
|
118
|
-
_globals['
|
|
119
|
-
_globals['
|
|
120
|
-
_globals['
|
|
121
|
-
_globals['
|
|
122
|
-
_globals['
|
|
98
|
+
_globals['_SUBMITTRAININGJOBREQUEST']._serialized_end = 802
|
|
99
|
+
_globals['_SUBMITTRAININGJOBRESPONSE']._serialized_start = 804
|
|
100
|
+
_globals['_SUBMITTRAININGJOBRESPONSE']._serialized_end = 847
|
|
101
|
+
_globals['_SUBMITCUSTOMTRAININGJOBREQUEST']._serialized_start = 850
|
|
102
|
+
_globals['_SUBMITCUSTOMTRAININGJOBREQUEST']._serialized_end = 1626
|
|
103
|
+
_globals['_SUBMITCUSTOMTRAININGJOBREQUEST_ARGUMENTSENTRY']._serialized_start = 1566
|
|
104
|
+
_globals['_SUBMITCUSTOMTRAININGJOBREQUEST_ARGUMENTSENTRY']._serialized_end = 1626
|
|
105
|
+
_globals['_SUBMITCUSTOMTRAININGJOBRESPONSE']._serialized_start = 1628
|
|
106
|
+
_globals['_SUBMITCUSTOMTRAININGJOBRESPONSE']._serialized_end = 1677
|
|
107
|
+
_globals['_GETTRAININGJOBREQUEST']._serialized_start = 1679
|
|
108
|
+
_globals['_GETTRAININGJOBREQUEST']._serialized_end = 1718
|
|
109
|
+
_globals['_GETTRAININGJOBRESPONSE']._serialized_start = 1720
|
|
110
|
+
_globals['_GETTRAININGJOBRESPONSE']._serialized_end = 1817
|
|
111
|
+
_globals['_LISTTRAININGJOBSREQUEST']._serialized_start = 1820
|
|
112
|
+
_globals['_LISTTRAININGJOBSREQUEST']._serialized_end = 1950
|
|
113
|
+
_globals['_LISTTRAININGJOBSRESPONSE']._serialized_start = 1952
|
|
114
|
+
_globals['_LISTTRAININGJOBSRESPONSE']._serialized_end = 2043
|
|
115
|
+
_globals['_TRAININGJOBMETADATA']._serialized_start = 2046
|
|
116
|
+
_globals['_TRAININGJOBMETADATA']._serialized_end = 4106
|
|
117
|
+
_globals['_TRAININGJOBMETADATA_ARGUMENTSENTRY']._serialized_start = 1566
|
|
118
|
+
_globals['_TRAININGJOBMETADATA_ARGUMENTSENTRY']._serialized_end = 1626
|
|
119
|
+
_globals['_CANCELTRAININGJOBREQUEST']._serialized_start = 4108
|
|
120
|
+
_globals['_CANCELTRAININGJOBREQUEST']._serialized_end = 4150
|
|
121
|
+
_globals['_CANCELTRAININGJOBRESPONSE']._serialized_start = 4152
|
|
122
|
+
_globals['_CANCELTRAININGJOBRESPONSE']._serialized_end = 4179
|
|
123
|
+
_globals['_DELETECOMPLETEDTRAININGJOBREQUEST']._serialized_start = 4181
|
|
124
|
+
_globals['_DELETECOMPLETEDTRAININGJOBREQUEST']._serialized_end = 4232
|
|
125
|
+
_globals['_DELETECOMPLETEDTRAININGJOBRESPONSE']._serialized_start = 4234
|
|
126
|
+
_globals['_DELETECOMPLETEDTRAININGJOBRESPONSE']._serialized_end = 4270
|
|
127
|
+
_globals['_TRAININGJOBLOGENTRY']._serialized_start = 4272
|
|
128
|
+
_globals['_TRAININGJOBLOGENTRY']._serialized_end = 4389
|
|
129
|
+
_globals['_GETTRAININGJOBLOGSREQUEST']._serialized_start = 4391
|
|
130
|
+
_globals['_GETTRAININGJOBLOGSREQUEST']._serialized_end = 4485
|
|
131
|
+
_globals['_GETTRAININGJOBLOGSRESPONSE']._serialized_start = 4488
|
|
132
|
+
_globals['_GETTRAININGJOBLOGSRESPONSE']._serialized_end = 4621
|
|
133
|
+
_globals['_LISTSUPPORTEDCONTAINERSREQUEST']._serialized_start = 4623
|
|
134
|
+
_globals['_LISTSUPPORTEDCONTAINERSREQUEST']._serialized_end = 4655
|
|
135
|
+
_globals['_LISTSUPPORTEDCONTAINERSRESPONSE']._serialized_start = 4658
|
|
136
|
+
_globals['_LISTSUPPORTEDCONTAINERSRESPONSE']._serialized_end = 4903
|
|
137
|
+
_globals['_LISTSUPPORTEDCONTAINERSRESPONSE_CONTAINERMAPENTRY']._serialized_start = 4805
|
|
138
|
+
_globals['_LISTSUPPORTEDCONTAINERSRESPONSE_CONTAINERMAPENTRY']._serialized_end = 4903
|
|
139
|
+
_globals['_CONTAINER']._serialized_start = 4906
|
|
140
|
+
_globals['_CONTAINER']._serialized_end = 5063
|
|
141
|
+
_globals['_MLTRAININGSERVICE']._serialized_start = 5629
|
|
142
|
+
_globals['_MLTRAININGSERVICE']._serialized_end = 6681
|