viam-sdk 0.51.0__py3-none-linux_armv7l.whl → 0.53.0__py3-none-linux_armv7l.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 +3 -2
- viam/app/billing_client.py +25 -0
- viam/app/data_client.py +36 -4
- viam/app/viam_client.py +1 -1
- viam/gen/app/data/v1/data_pb2.py +78 -78
- viam/gen/app/data/v1/data_pb2.pyi +4 -2
- viam/gen/app/datapipelines/v1/data_pipelines_grpc.py +4 -4
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.py +27 -27
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.pyi +13 -29
- viam/gen/app/dataset/v1/dataset_grpc.py +10 -2
- viam/gen/app/dataset/v1/dataset_pb2.py +7 -3
- viam/gen/app/dataset/v1/dataset_pb2.pyi +36 -1
- viam/gen/app/datasync/v1/data_sync_pb2.py +18 -18
- viam/gen/app/datasync/v1/data_sync_pb2.pyi +7 -2
- viam/gen/app/v1/app_pb2.py +266 -264
- viam/gen/app/v1/app_pb2.pyi +33 -5
- viam/gen/app/v1/billing_grpc.py +10 -2
- viam/gen/app/v1/billing_pb2.py +13 -9
- viam/gen/app/v1/billing_pb2.pyi +41 -1
- viam/gen/app/v1/robot_pb2.py +34 -34
- viam/gen/app/v1/robot_pb2.pyi +5 -2
- viam/gen/component/camera/v1/camera_pb2.py +31 -31
- viam/gen/component/camera/v1/camera_pb2.pyi +22 -4
- viam/proto/app/__init__.py +2 -0
- viam/proto/app/billing.py +4 -0
- viam/proto/app/datapipelines/__init__.py +4 -4
- viam/proto/app/dataset/__init__.py +4 -0
- viam/version_metadata.py +2 -2
- {viam_sdk-0.51.0.dist-info → viam_sdk-0.53.0.dist-info}/METADATA +1 -1
- {viam_sdk-0.51.0.dist-info → viam_sdk-0.53.0.dist-info}/RECORD +32 -32
- {viam_sdk-0.51.0.dist-info → viam_sdk-0.53.0.dist-info}/WHEEL +0 -0
- {viam_sdk-0.51.0.dist-info → viam_sdk-0.53.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -8,15 +8,15 @@ _runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC,
|
|
|
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.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
11
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)app/datapipelines/v1/data_pipelines.proto\x12\x19viam.app.datapipelines.v1\x1a\x16app/data/v1/data.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x93\x03\n\x0cDataPipeline\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x1d\n\nmql_binary\x18\x04 \x03(\x0cR\tmqlBinary\x12\x1a\n\x08schedule\x18\x05 \x01(\tR\x08schedule\x12\x18\n\x07enabled\x18\x06 \x01(\x08R\x07enabled\x129\n\ncreated_on\x18\x07 \x01(\x0b2\x1a.google.protobuf.TimestampR\tcreatedOn\x129\n\nupdated_at\x18\x08 \x01(\x0b2\x1a.google.protobuf.TimestampR\tupdatedAt\x12V\n\x10data_source_type\x18\t \x01(\x0e2\'.viam.app.data.v1.TabularDataSourceTypeH\x00R\x0edataSourceType\x88\x01\x01B\x13\n\x11_data_source_type"(\n\x16GetDataPipelineRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"g\n\x17GetDataPipelineResponse\x12L\n\rdata_pipeline\x18\x01 \x01(\x0b2\'.viam.app.datapipelines.v1.DataPipelineR\x0cdataPipeline"C\n\x18ListDataPipelinesRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"k\n\x19ListDataPipelinesResponse\x12N\n\x0edata_pipelines\x18\x01 \x03(\x0b2\'.viam.app.datapipelines.v1.DataPipelineR\rdataPipelines"\xc2\x02\n\x19CreateDataPipelineRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n\nmql_binary\x18\x03 \x03(\x0cR\tmqlBinary\x12\x1a\n\x08schedule\x18\x04 \x01(\tR\x08schedule\x12,\n\x0fenable_backfill\x18\x05 \x01(\x08H\x00R\x0eenableBackfill\x88\x01\x01\x12V\n\x10data_source_type\x18\x06 \x01(\x0e2\'.viam.app.data.v1.TabularDataSourceTypeH\x01R\x0edataSourceType\x88\x01\x01B\x12\n\x10_enable_backfillB\x13\n\x11_data_source_type",\n\x1aCreateDataPipelineResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"
|
|
11
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)app/datapipelines/v1/data_pipelines.proto\x12\x19viam.app.datapipelines.v1\x1a\x16app/data/v1/data.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x93\x03\n\x0cDataPipeline\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x1d\n\nmql_binary\x18\x04 \x03(\x0cR\tmqlBinary\x12\x1a\n\x08schedule\x18\x05 \x01(\tR\x08schedule\x12\x18\n\x07enabled\x18\x06 \x01(\x08R\x07enabled\x129\n\ncreated_on\x18\x07 \x01(\x0b2\x1a.google.protobuf.TimestampR\tcreatedOn\x129\n\nupdated_at\x18\x08 \x01(\x0b2\x1a.google.protobuf.TimestampR\tupdatedAt\x12V\n\x10data_source_type\x18\t \x01(\x0e2\'.viam.app.data.v1.TabularDataSourceTypeH\x00R\x0edataSourceType\x88\x01\x01B\x13\n\x11_data_source_type"(\n\x16GetDataPipelineRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"g\n\x17GetDataPipelineResponse\x12L\n\rdata_pipeline\x18\x01 \x01(\x0b2\'.viam.app.datapipelines.v1.DataPipelineR\x0cdataPipeline"C\n\x18ListDataPipelinesRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"k\n\x19ListDataPipelinesResponse\x12N\n\x0edata_pipelines\x18\x01 \x03(\x0b2\'.viam.app.datapipelines.v1.DataPipelineR\rdataPipelines"\xc2\x02\n\x19CreateDataPipelineRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1d\n\nmql_binary\x18\x03 \x03(\x0cR\tmqlBinary\x12\x1a\n\x08schedule\x18\x04 \x01(\tR\x08schedule\x12,\n\x0fenable_backfill\x18\x05 \x01(\x08H\x00R\x0eenableBackfill\x88\x01\x01\x12V\n\x10data_source_type\x18\x06 \x01(\x0e2\'.viam.app.data.v1.TabularDataSourceTypeH\x01R\x0edataSourceType\x88\x01\x01B\x12\n\x10_enable_backfillB\x13\n\x11_data_source_type",\n\x1aCreateDataPipelineResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"?\n\x19RenameDataPipelineRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name"\x1c\n\x1aRenameDataPipelineResponse"+\n\x19DeleteDataPipelineRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x1c\n\x1aDeleteDataPipelineResponse"+\n\x19EnableDataPipelineRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x1c\n\x1aEnableDataPipelineResponse",\n\x1aDisableDataPipelineRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x1d\n\x1bDisableDataPipelineResponse"i\n\x1bListDataPipelineRunsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1b\n\tpage_size\x18\x02 \x01(\rR\x08pageSize\x12\x1d\n\npage_token\x18\x03 \x01(\tR\tpageToken"\xa7\x01\n\x1cListDataPipelineRunsResponse\x12\x1f\n\x0bpipeline_id\x18\x01 \x01(\tR\npipelineId\x12>\n\x04runs\x18\x02 \x03(\x0b2*.viam.app.datapipelines.v1.DataPipelineRunR\x04runs\x12&\n\x0fnext_page_token\x18\x03 \x01(\tR\rnextPageToken"\x86\x03\n\x0fDataPipelineRun\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x129\n\nstart_time\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\tstartTime\x125\n\x08end_time\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\x07endTime\x12B\n\x0fdata_start_time\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampR\rdataStartTime\x12>\n\rdata_end_time\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0bdataEndTime\x12H\n\x06status\x18\x06 \x01(\x0e20.viam.app.datapipelines.v1.DataPipelineRunStatusR\x06status\x12#\n\rerror_message\x18\x07 \x01(\tR\x0cerrorMessage*\xdc\x01\n\x15DataPipelineRunStatus\x12(\n$DATA_PIPELINE_RUN_STATUS_UNSPECIFIED\x10\x00\x12&\n"DATA_PIPELINE_RUN_STATUS_SCHEDULED\x10\x01\x12$\n DATA_PIPELINE_RUN_STATUS_STARTED\x10\x02\x12&\n"DATA_PIPELINE_RUN_STATUS_COMPLETED\x10\x03\x12#\n\x1fDATA_PIPELINE_RUN_STATUS_FAILED\x10\x042\xb1\x08\n\x14DataPipelinesService\x12x\n\x0fGetDataPipeline\x121.viam.app.datapipelines.v1.GetDataPipelineRequest\x1a2.viam.app.datapipelines.v1.GetDataPipelineResponse\x12~\n\x11ListDataPipelines\x123.viam.app.datapipelines.v1.ListDataPipelinesRequest\x1a4.viam.app.datapipelines.v1.ListDataPipelinesResponse\x12\x81\x01\n\x12CreateDataPipeline\x124.viam.app.datapipelines.v1.CreateDataPipelineRequest\x1a5.viam.app.datapipelines.v1.CreateDataPipelineResponse\x12\x81\x01\n\x12RenameDataPipeline\x124.viam.app.datapipelines.v1.RenameDataPipelineRequest\x1a5.viam.app.datapipelines.v1.RenameDataPipelineResponse\x12\x81\x01\n\x12DeleteDataPipeline\x124.viam.app.datapipelines.v1.DeleteDataPipelineRequest\x1a5.viam.app.datapipelines.v1.DeleteDataPipelineResponse\x12\x81\x01\n\x12EnableDataPipeline\x124.viam.app.datapipelines.v1.EnableDataPipelineRequest\x1a5.viam.app.datapipelines.v1.EnableDataPipelineResponse\x12\x84\x01\n\x13DisableDataPipeline\x125.viam.app.datapipelines.v1.DisableDataPipelineRequest\x1a6.viam.app.datapipelines.v1.DisableDataPipelineResponse\x12\x87\x01\n\x14ListDataPipelineRuns\x126.viam.app.datapipelines.v1.ListDataPipelineRunsRequest\x1a7.viam.app.datapipelines.v1.ListDataPipelineRunsResponseB&Z$go.viam.com/api/app/datapipelines/v1b\x06proto3')
|
|
12
12
|
_globals = globals()
|
|
13
13
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
14
14
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.datapipelines.v1.data_pipelines_pb2', _globals)
|
|
15
15
|
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/datapipelines/v1'
|
|
18
|
-
_globals['_DATAPIPELINERUNSTATUS']._serialized_start =
|
|
19
|
-
_globals['_DATAPIPELINERUNSTATUS']._serialized_end =
|
|
18
|
+
_globals['_DATAPIPELINERUNSTATUS']._serialized_start = 2224
|
|
19
|
+
_globals['_DATAPIPELINERUNSTATUS']._serialized_end = 2444
|
|
20
20
|
_globals['_DATAPIPELINE']._serialized_start = 130
|
|
21
21
|
_globals['_DATAPIPELINE']._serialized_end = 533
|
|
22
22
|
_globals['_GETDATAPIPELINEREQUEST']._serialized_start = 535
|
|
@@ -31,27 +31,27 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
31
31
|
_globals['_CREATEDATAPIPELINEREQUEST']._serialized_end = 1183
|
|
32
32
|
_globals['_CREATEDATAPIPELINERESPONSE']._serialized_start = 1185
|
|
33
33
|
_globals['_CREATEDATAPIPELINERESPONSE']._serialized_end = 1229
|
|
34
|
-
_globals['
|
|
35
|
-
_globals['
|
|
36
|
-
_globals['
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['_DELETEDATAPIPELINEREQUEST']._serialized_start =
|
|
39
|
-
_globals['_DELETEDATAPIPELINEREQUEST']._serialized_end =
|
|
40
|
-
_globals['_DELETEDATAPIPELINERESPONSE']._serialized_start =
|
|
41
|
-
_globals['_DELETEDATAPIPELINERESPONSE']._serialized_end =
|
|
42
|
-
_globals['_ENABLEDATAPIPELINEREQUEST']._serialized_start =
|
|
43
|
-
_globals['_ENABLEDATAPIPELINEREQUEST']._serialized_end =
|
|
44
|
-
_globals['_ENABLEDATAPIPELINERESPONSE']._serialized_start =
|
|
45
|
-
_globals['_ENABLEDATAPIPELINERESPONSE']._serialized_end =
|
|
46
|
-
_globals['_DISABLEDATAPIPELINEREQUEST']._serialized_start =
|
|
47
|
-
_globals['_DISABLEDATAPIPELINEREQUEST']._serialized_end =
|
|
48
|
-
_globals['_DISABLEDATAPIPELINERESPONSE']._serialized_start =
|
|
49
|
-
_globals['_DISABLEDATAPIPELINERESPONSE']._serialized_end =
|
|
50
|
-
_globals['_LISTDATAPIPELINERUNSREQUEST']._serialized_start =
|
|
51
|
-
_globals['_LISTDATAPIPELINERUNSREQUEST']._serialized_end =
|
|
52
|
-
_globals['_LISTDATAPIPELINERUNSRESPONSE']._serialized_start =
|
|
53
|
-
_globals['_LISTDATAPIPELINERUNSRESPONSE']._serialized_end =
|
|
54
|
-
_globals['_DATAPIPELINERUN']._serialized_start =
|
|
55
|
-
_globals['_DATAPIPELINERUN']._serialized_end =
|
|
56
|
-
_globals['_DATAPIPELINESSERVICE']._serialized_start =
|
|
57
|
-
_globals['_DATAPIPELINESSERVICE']._serialized_end =
|
|
34
|
+
_globals['_RENAMEDATAPIPELINEREQUEST']._serialized_start = 1231
|
|
35
|
+
_globals['_RENAMEDATAPIPELINEREQUEST']._serialized_end = 1294
|
|
36
|
+
_globals['_RENAMEDATAPIPELINERESPONSE']._serialized_start = 1296
|
|
37
|
+
_globals['_RENAMEDATAPIPELINERESPONSE']._serialized_end = 1324
|
|
38
|
+
_globals['_DELETEDATAPIPELINEREQUEST']._serialized_start = 1326
|
|
39
|
+
_globals['_DELETEDATAPIPELINEREQUEST']._serialized_end = 1369
|
|
40
|
+
_globals['_DELETEDATAPIPELINERESPONSE']._serialized_start = 1371
|
|
41
|
+
_globals['_DELETEDATAPIPELINERESPONSE']._serialized_end = 1399
|
|
42
|
+
_globals['_ENABLEDATAPIPELINEREQUEST']._serialized_start = 1401
|
|
43
|
+
_globals['_ENABLEDATAPIPELINEREQUEST']._serialized_end = 1444
|
|
44
|
+
_globals['_ENABLEDATAPIPELINERESPONSE']._serialized_start = 1446
|
|
45
|
+
_globals['_ENABLEDATAPIPELINERESPONSE']._serialized_end = 1474
|
|
46
|
+
_globals['_DISABLEDATAPIPELINEREQUEST']._serialized_start = 1476
|
|
47
|
+
_globals['_DISABLEDATAPIPELINEREQUEST']._serialized_end = 1520
|
|
48
|
+
_globals['_DISABLEDATAPIPELINERESPONSE']._serialized_start = 1522
|
|
49
|
+
_globals['_DISABLEDATAPIPELINERESPONSE']._serialized_end = 1551
|
|
50
|
+
_globals['_LISTDATAPIPELINERUNSREQUEST']._serialized_start = 1553
|
|
51
|
+
_globals['_LISTDATAPIPELINERUNSREQUEST']._serialized_end = 1658
|
|
52
|
+
_globals['_LISTDATAPIPELINERUNSRESPONSE']._serialized_start = 1661
|
|
53
|
+
_globals['_LISTDATAPIPELINERUNSRESPONSE']._serialized_end = 1828
|
|
54
|
+
_globals['_DATAPIPELINERUN']._serialized_start = 1831
|
|
55
|
+
_globals['_DATAPIPELINERUN']._serialized_end = 2221
|
|
56
|
+
_globals['_DATAPIPELINESSERVICE']._serialized_start = 2447
|
|
57
|
+
_globals['_DATAPIPELINESSERVICE']._serialized_end = 3520
|
|
@@ -212,48 +212,29 @@ class CreateDataPipelineResponse(google.protobuf.message.Message):
|
|
|
212
212
|
global___CreateDataPipelineResponse = CreateDataPipelineResponse
|
|
213
213
|
|
|
214
214
|
@typing.final
|
|
215
|
-
class
|
|
215
|
+
class RenameDataPipelineRequest(google.protobuf.message.Message):
|
|
216
216
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
217
217
|
ID_FIELD_NUMBER: builtins.int
|
|
218
218
|
NAME_FIELD_NUMBER: builtins.int
|
|
219
|
-
MQL_BINARY_FIELD_NUMBER: builtins.int
|
|
220
|
-
SCHEDULE_FIELD_NUMBER: builtins.int
|
|
221
|
-
DATA_SOURCE_TYPE_FIELD_NUMBER: builtins.int
|
|
222
219
|
id: builtins.str
|
|
223
|
-
'The ID of the data pipeline to
|
|
220
|
+
'The ID of the data pipeline to rename.'
|
|
224
221
|
name: builtins.str
|
|
225
|
-
'A unique identifier at the
|
|
226
|
-
schedule: builtins.str
|
|
227
|
-
'A cron expression representing the expected execution schedule in UTC (note this also\n defines the input time window; an hourly schedule would process 1 hour of data at a time).\n '
|
|
228
|
-
data_source_type: app.data.v1.data_pb2.TabularDataSourceType.ValueType
|
|
229
|
-
'The type of data source for the pipeline. If not specified, default is standard data storage.'
|
|
222
|
+
'A unique identifier at the organization level.'
|
|
230
223
|
|
|
231
|
-
|
|
232
|
-
def mql_binary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
|
|
233
|
-
"""A MongoDB aggregation pipeline as a list of BSON documents, where
|
|
234
|
-
each document is one stage in the pipeline.
|
|
235
|
-
"""
|
|
236
|
-
|
|
237
|
-
def __init__(self, *, id: builtins.str=..., name: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=..., schedule: builtins.str=..., data_source_type: app.data.v1.data_pb2.TabularDataSourceType.ValueType | None=...) -> None:
|
|
224
|
+
def __init__(self, *, id: builtins.str=..., name: builtins.str=...) -> None:
|
|
238
225
|
...
|
|
239
226
|
|
|
240
|
-
def
|
|
241
|
-
...
|
|
242
|
-
|
|
243
|
-
def ClearField(self, field_name: typing.Literal['_data_source_type', b'_data_source_type', 'data_source_type', b'data_source_type', 'id', b'id', 'mql_binary', b'mql_binary', 'name', b'name', 'schedule', b'schedule']) -> None:
|
|
244
|
-
...
|
|
245
|
-
|
|
246
|
-
def WhichOneof(self, oneof_group: typing.Literal['_data_source_type', b'_data_source_type']) -> typing.Literal['data_source_type'] | None:
|
|
227
|
+
def ClearField(self, field_name: typing.Literal['id', b'id', 'name', b'name']) -> None:
|
|
247
228
|
...
|
|
248
|
-
|
|
229
|
+
global___RenameDataPipelineRequest = RenameDataPipelineRequest
|
|
249
230
|
|
|
250
231
|
@typing.final
|
|
251
|
-
class
|
|
232
|
+
class RenameDataPipelineResponse(google.protobuf.message.Message):
|
|
252
233
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
253
234
|
|
|
254
235
|
def __init__(self) -> None:
|
|
255
236
|
...
|
|
256
|
-
|
|
237
|
+
global___RenameDataPipelineResponse = RenameDataPipelineResponse
|
|
257
238
|
|
|
258
239
|
@typing.final
|
|
259
240
|
class DeleteDataPipelineRequest(google.protobuf.message.Message):
|
|
@@ -371,10 +352,13 @@ class DataPipelineRun(google.protobuf.message.Message):
|
|
|
371
352
|
DATA_START_TIME_FIELD_NUMBER: builtins.int
|
|
372
353
|
DATA_END_TIME_FIELD_NUMBER: builtins.int
|
|
373
354
|
STATUS_FIELD_NUMBER: builtins.int
|
|
355
|
+
ERROR_MESSAGE_FIELD_NUMBER: builtins.int
|
|
374
356
|
id: builtins.str
|
|
375
357
|
'The ID of the run.'
|
|
376
358
|
status: global___DataPipelineRunStatus.ValueType
|
|
377
359
|
'The status of the run.'
|
|
360
|
+
error_message: builtins.str
|
|
361
|
+
'The error message if the run failed.'
|
|
378
362
|
|
|
379
363
|
@property
|
|
380
364
|
def start_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
@@ -392,12 +376,12 @@ class DataPipelineRun(google.protobuf.message.Message):
|
|
|
392
376
|
def data_end_time(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
393
377
|
"""The end time of the data that was processed in the run."""
|
|
394
378
|
|
|
395
|
-
def __init__(self, *, id: builtins.str=..., start_time: google.protobuf.timestamp_pb2.Timestamp | None=..., end_time: google.protobuf.timestamp_pb2.Timestamp | None=..., data_start_time: google.protobuf.timestamp_pb2.Timestamp | None=..., data_end_time: google.protobuf.timestamp_pb2.Timestamp | None=..., status: global___DataPipelineRunStatus.ValueType=...) -> None:
|
|
379
|
+
def __init__(self, *, id: builtins.str=..., start_time: google.protobuf.timestamp_pb2.Timestamp | None=..., end_time: google.protobuf.timestamp_pb2.Timestamp | None=..., data_start_time: google.protobuf.timestamp_pb2.Timestamp | None=..., data_end_time: google.protobuf.timestamp_pb2.Timestamp | None=..., status: global___DataPipelineRunStatus.ValueType=..., error_message: builtins.str=...) -> None:
|
|
396
380
|
...
|
|
397
381
|
|
|
398
382
|
def HasField(self, field_name: typing.Literal['data_end_time', b'data_end_time', 'data_start_time', b'data_start_time', 'end_time', b'end_time', 'start_time', b'start_time']) -> builtins.bool:
|
|
399
383
|
...
|
|
400
384
|
|
|
401
|
-
def ClearField(self, field_name: typing.Literal['data_end_time', b'data_end_time', 'data_start_time', b'data_start_time', 'end_time', b'end_time', 'id', b'id', 'start_time', b'start_time', 'status', b'status']) -> None:
|
|
385
|
+
def ClearField(self, field_name: typing.Literal['data_end_time', b'data_end_time', 'data_start_time', b'data_start_time', 'end_time', b'end_time', 'error_message', b'error_message', 'id', b'id', 'start_time', b'start_time', 'status', b'status']) -> None:
|
|
402
386
|
...
|
|
403
387
|
global___DataPipelineRun = DataPipelineRun
|
|
@@ -30,8 +30,12 @@ class DatasetServiceBase(abc.ABC):
|
|
|
30
30
|
async def ListDatasetsByIDs(self, stream: 'grpclib.server.Stream[app.dataset.v1.dataset_pb2.ListDatasetsByIDsRequest, app.dataset.v1.dataset_pb2.ListDatasetsByIDsResponse]') -> None:
|
|
31
31
|
pass
|
|
32
32
|
|
|
33
|
+
@abc.abstractmethod
|
|
34
|
+
async def MergeDatasets(self, stream: 'grpclib.server.Stream[app.dataset.v1.dataset_pb2.MergeDatasetsRequest, app.dataset.v1.dataset_pb2.MergeDatasetsResponse]') -> None:
|
|
35
|
+
pass
|
|
36
|
+
|
|
33
37
|
def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
|
|
34
|
-
return {'/viam.app.dataset.v1.DatasetService/CreateDataset': grpclib.const.Handler(self.CreateDataset, grpclib.const.Cardinality.UNARY_UNARY, app.dataset.v1.dataset_pb2.CreateDatasetRequest, app.dataset.v1.dataset_pb2.CreateDatasetResponse), '/viam.app.dataset.v1.DatasetService/DeleteDataset': grpclib.const.Handler(self.DeleteDataset, grpclib.const.Cardinality.UNARY_UNARY, app.dataset.v1.dataset_pb2.DeleteDatasetRequest, app.dataset.v1.dataset_pb2.DeleteDatasetResponse), '/viam.app.dataset.v1.DatasetService/RenameDataset': grpclib.const.Handler(self.RenameDataset, grpclib.const.Cardinality.UNARY_UNARY, app.dataset.v1.dataset_pb2.RenameDatasetRequest, app.dataset.v1.dataset_pb2.RenameDatasetResponse), '/viam.app.dataset.v1.DatasetService/ListDatasetsByOrganizationID': grpclib.const.Handler(self.ListDatasetsByOrganizationID, grpclib.const.Cardinality.UNARY_UNARY, app.dataset.v1.dataset_pb2.ListDatasetsByOrganizationIDRequest, app.dataset.v1.dataset_pb2.ListDatasetsByOrganizationIDResponse), '/viam.app.dataset.v1.DatasetService/ListDatasetsByIDs': grpclib.const.Handler(self.ListDatasetsByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.dataset.v1.dataset_pb2.ListDatasetsByIDsRequest, app.dataset.v1.dataset_pb2.ListDatasetsByIDsResponse)}
|
|
38
|
+
return {'/viam.app.dataset.v1.DatasetService/CreateDataset': grpclib.const.Handler(self.CreateDataset, grpclib.const.Cardinality.UNARY_UNARY, app.dataset.v1.dataset_pb2.CreateDatasetRequest, app.dataset.v1.dataset_pb2.CreateDatasetResponse), '/viam.app.dataset.v1.DatasetService/DeleteDataset': grpclib.const.Handler(self.DeleteDataset, grpclib.const.Cardinality.UNARY_UNARY, app.dataset.v1.dataset_pb2.DeleteDatasetRequest, app.dataset.v1.dataset_pb2.DeleteDatasetResponse), '/viam.app.dataset.v1.DatasetService/RenameDataset': grpclib.const.Handler(self.RenameDataset, grpclib.const.Cardinality.UNARY_UNARY, app.dataset.v1.dataset_pb2.RenameDatasetRequest, app.dataset.v1.dataset_pb2.RenameDatasetResponse), '/viam.app.dataset.v1.DatasetService/ListDatasetsByOrganizationID': grpclib.const.Handler(self.ListDatasetsByOrganizationID, grpclib.const.Cardinality.UNARY_UNARY, app.dataset.v1.dataset_pb2.ListDatasetsByOrganizationIDRequest, app.dataset.v1.dataset_pb2.ListDatasetsByOrganizationIDResponse), '/viam.app.dataset.v1.DatasetService/ListDatasetsByIDs': grpclib.const.Handler(self.ListDatasetsByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.dataset.v1.dataset_pb2.ListDatasetsByIDsRequest, app.dataset.v1.dataset_pb2.ListDatasetsByIDsResponse), '/viam.app.dataset.v1.DatasetService/MergeDatasets': grpclib.const.Handler(self.MergeDatasets, grpclib.const.Cardinality.UNARY_UNARY, app.dataset.v1.dataset_pb2.MergeDatasetsRequest, app.dataset.v1.dataset_pb2.MergeDatasetsResponse)}
|
|
35
39
|
|
|
36
40
|
class UnimplementedDatasetServiceBase(DatasetServiceBase):
|
|
37
41
|
|
|
@@ -50,6 +54,9 @@ class UnimplementedDatasetServiceBase(DatasetServiceBase):
|
|
|
50
54
|
async def ListDatasetsByIDs(self, stream: 'grpclib.server.Stream[app.dataset.v1.dataset_pb2.ListDatasetsByIDsRequest, app.dataset.v1.dataset_pb2.ListDatasetsByIDsResponse]') -> None:
|
|
51
55
|
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
52
56
|
|
|
57
|
+
async def MergeDatasets(self, stream: 'grpclib.server.Stream[app.dataset.v1.dataset_pb2.MergeDatasetsRequest, app.dataset.v1.dataset_pb2.MergeDatasetsResponse]') -> None:
|
|
58
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
59
|
+
|
|
53
60
|
class DatasetServiceStub:
|
|
54
61
|
|
|
55
62
|
def __init__(self, channel: grpclib.client.Channel) -> None:
|
|
@@ -57,4 +64,5 @@ class DatasetServiceStub:
|
|
|
57
64
|
self.DeleteDataset = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.dataset.v1.DatasetService/DeleteDataset', app.dataset.v1.dataset_pb2.DeleteDatasetRequest, app.dataset.v1.dataset_pb2.DeleteDatasetResponse)
|
|
58
65
|
self.RenameDataset = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.dataset.v1.DatasetService/RenameDataset', app.dataset.v1.dataset_pb2.RenameDatasetRequest, app.dataset.v1.dataset_pb2.RenameDatasetResponse)
|
|
59
66
|
self.ListDatasetsByOrganizationID = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.dataset.v1.DatasetService/ListDatasetsByOrganizationID', app.dataset.v1.dataset_pb2.ListDatasetsByOrganizationIDRequest, app.dataset.v1.dataset_pb2.ListDatasetsByOrganizationIDResponse)
|
|
60
|
-
self.ListDatasetsByIDs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.dataset.v1.DatasetService/ListDatasetsByIDs', app.dataset.v1.dataset_pb2.ListDatasetsByIDsRequest, app.dataset.v1.dataset_pb2.ListDatasetsByIDsResponse)
|
|
67
|
+
self.ListDatasetsByIDs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.dataset.v1.DatasetService/ListDatasetsByIDs', app.dataset.v1.dataset_pb2.ListDatasetsByIDsRequest, app.dataset.v1.dataset_pb2.ListDatasetsByIDsResponse)
|
|
68
|
+
self.MergeDatasets = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.dataset.v1.DatasetService/MergeDatasets', app.dataset.v1.dataset_pb2.MergeDatasetsRequest, app.dataset.v1.dataset_pb2.MergeDatasetsResponse)
|
|
@@ -7,7 +7,7 @@ from google.protobuf.internal import builder as _builder
|
|
|
7
7
|
_runtime_version.ValidateProtobufRuntimeVersion(_runtime_version.Domain.PUBLIC, 5, 29, 2, '', 'app/dataset/v1/dataset.proto')
|
|
8
8
|
_sym_db = _symbol_database.Default()
|
|
9
9
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
10
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1capp/dataset/v1/dataset.proto\x12\x13viam.app.dataset.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x95\x01\n\x07Dataset\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\x12=\n\x0ctime_created\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0btimeCreated"S\n\x14CreateDatasetRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId"\'\n\x15CreateDatasetResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"&\n\x14DeleteDatasetRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x17\n\x15DeleteDatasetResponse":\n\x14RenameDatasetRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name"\x17\n\x15RenameDatasetResponse"N\n#ListDatasetsByOrganizationIDRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"`\n$ListDatasetsByOrganizationIDResponse\x128\n\x08datasets\x18\x01 \x03(\x0b2\x1c.viam.app.dataset.v1.DatasetR\x08datasets",\n\x18ListDatasetsByIDsRequest\x12\x10\n\x03ids\x18\x01 \x03(\tR\x03ids"U\n\x19ListDatasetsByIDsResponse\x128\n\x08datasets\x18\x01 \x03(\x0b2\x1c.viam.app.dataset.v1.DatasetR\
|
|
10
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1capp/dataset/v1/dataset.proto\x12\x13viam.app.dataset.v1\x1a\x1fgoogle/protobuf/timestamp.proto"\x95\x01\n\x07Dataset\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId\x12=\n\x0ctime_created\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0btimeCreated"S\n\x14CreateDatasetRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId"\'\n\x15CreateDatasetResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"&\n\x14DeleteDatasetRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x17\n\x15DeleteDatasetResponse":\n\x14RenameDatasetRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name"\x17\n\x15RenameDatasetResponse"N\n#ListDatasetsByOrganizationIDRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"`\n$ListDatasetsByOrganizationIDResponse\x128\n\x08datasets\x18\x01 \x03(\x0b2\x1c.viam.app.dataset.v1.DatasetR\x08datasets",\n\x18ListDatasetsByIDsRequest\x12\x10\n\x03ids\x18\x01 \x03(\tR\x03ids"U\n\x19ListDatasetsByIDsResponse\x128\n\x08datasets\x18\x01 \x03(\x0b2\x1c.viam.app.dataset.v1.DatasetR\x08datasets"t\n\x14MergeDatasetsRequest\x12\x1f\n\x0bdataset_ids\x18\x01 \x03(\tR\ndatasetIds\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId"6\n\x15MergeDatasetsResponse\x12\x1d\n\ndataset_id\x18\x01 \x01(\tR\tdatasetId2\xba\x05\n\x0eDatasetService\x12f\n\rCreateDataset\x12).viam.app.dataset.v1.CreateDatasetRequest\x1a*.viam.app.dataset.v1.CreateDatasetResponse\x12f\n\rDeleteDataset\x12).viam.app.dataset.v1.DeleteDatasetRequest\x1a*.viam.app.dataset.v1.DeleteDatasetResponse\x12f\n\rRenameDataset\x12).viam.app.dataset.v1.RenameDatasetRequest\x1a*.viam.app.dataset.v1.RenameDatasetResponse\x12\x93\x01\n\x1cListDatasetsByOrganizationID\x128.viam.app.dataset.v1.ListDatasetsByOrganizationIDRequest\x1a9.viam.app.dataset.v1.ListDatasetsByOrganizationIDResponse\x12r\n\x11ListDatasetsByIDs\x12-.viam.app.dataset.v1.ListDatasetsByIDsRequest\x1a..viam.app.dataset.v1.ListDatasetsByIDsResponse\x12f\n\rMergeDatasets\x12).viam.app.dataset.v1.MergeDatasetsRequest\x1a*.viam.app.dataset.v1.MergeDatasetsResponseB Z\x1ego.viam.com/api/app/dataset/v1b\x06proto3')
|
|
11
11
|
_globals = globals()
|
|
12
12
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
13
13
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.dataset.v1.dataset_pb2', _globals)
|
|
@@ -36,5 +36,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
36
36
|
_globals['_LISTDATASETSBYIDSREQUEST']._serialized_end = 736
|
|
37
37
|
_globals['_LISTDATASETSBYIDSRESPONSE']._serialized_start = 738
|
|
38
38
|
_globals['_LISTDATASETSBYIDSRESPONSE']._serialized_end = 823
|
|
39
|
-
_globals['
|
|
40
|
-
_globals['
|
|
39
|
+
_globals['_MERGEDATASETSREQUEST']._serialized_start = 825
|
|
40
|
+
_globals['_MERGEDATASETSREQUEST']._serialized_end = 941
|
|
41
|
+
_globals['_MERGEDATASETSRESPONSE']._serialized_start = 943
|
|
42
|
+
_globals['_MERGEDATASETSRESPONSE']._serialized_end = 997
|
|
43
|
+
_globals['_DATASETSERVICE']._serialized_start = 1000
|
|
44
|
+
_globals['_DATASETSERVICE']._serialized_end = 1698
|
|
@@ -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
|
|
@@ -11,7 +11,7 @@ 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"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"\
|
|
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*w\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*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)
|
|
@@ -32,10 +32,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
32
32
|
_globals['_DATASYNCSERVICE'].methods_by_name['FileUpload']._serialized_options = b'\x82\xd3\xe4\x93\x02\x1a"\x18/datasync/v1/file_upload'
|
|
33
33
|
_globals['_DATASYNCSERVICE'].methods_by_name['StreamingDataCaptureUpload']._loaded_options = None
|
|
34
34
|
_globals['_DATASYNCSERVICE'].methods_by_name['StreamingDataCaptureUpload']._serialized_options = b'\x82\xd3\xe4\x93\x02,"*/datasync/v1/streaming_data_capture_upload'
|
|
35
|
-
_globals['_MIMETYPE']._serialized_start =
|
|
36
|
-
_globals['_MIMETYPE']._serialized_end =
|
|
37
|
-
_globals['_DATATYPE']._serialized_start =
|
|
38
|
-
_globals['_DATATYPE']._serialized_end =
|
|
35
|
+
_globals['_MIMETYPE']._serialized_start = 2822
|
|
36
|
+
_globals['_MIMETYPE']._serialized_end = 2941
|
|
37
|
+
_globals['_DATATYPE']._serialized_start = 2943
|
|
38
|
+
_globals['_DATATYPE']._serialized_end = 3059
|
|
39
39
|
_globals['_DATACAPTUREUPLOADREQUEST']._serialized_start = 202
|
|
40
40
|
_globals['_DATACAPTUREUPLOADREQUEST']._serialized_end = 369
|
|
41
41
|
_globals['_DATACAPTUREUPLOADRESPONSE']._serialized_start = 371
|
|
@@ -55,16 +55,16 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
55
55
|
_globals['_FILEDATA']._serialized_start = 1434
|
|
56
56
|
_globals['_FILEDATA']._serialized_end = 1464
|
|
57
57
|
_globals['_UPLOADMETADATA']._serialized_start = 1467
|
|
58
|
-
_globals['_UPLOADMETADATA']._serialized_end =
|
|
59
|
-
_globals['_UPLOADMETADATA_METHODPARAMETERSENTRY']._serialized_start =
|
|
60
|
-
_globals['_UPLOADMETADATA_METHODPARAMETERSENTRY']._serialized_end =
|
|
61
|
-
_globals['_CAPTUREINTERVAL']._serialized_start =
|
|
62
|
-
_globals['_CAPTUREINTERVAL']._serialized_end =
|
|
63
|
-
_globals['_DATACAPTUREMETADATA']._serialized_start =
|
|
64
|
-
_globals['_DATACAPTUREMETADATA']._serialized_end =
|
|
65
|
-
_globals['_DATACAPTUREMETADATA_METHODPARAMETERSENTRY']._serialized_start =
|
|
66
|
-
_globals['_DATACAPTUREMETADATA_METHODPARAMETERSENTRY']._serialized_end =
|
|
67
|
-
_globals['_DATACAPTUREUPLOADMETADATA']._serialized_start =
|
|
68
|
-
_globals['_DATACAPTUREUPLOADMETADATA']._serialized_end =
|
|
69
|
-
_globals['_DATASYNCSERVICE']._serialized_start =
|
|
70
|
-
_globals['_DATASYNCSERVICE']._serialized_end =
|
|
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 = 3062
|
|
70
|
+
_globals['_DATASYNCSERVICE']._serialized_end = 3574
|
|
@@ -299,6 +299,7 @@ class UploadMetadata(google.protobuf.message.Message):
|
|
|
299
299
|
METHOD_PARAMETERS_FIELD_NUMBER: builtins.int
|
|
300
300
|
FILE_EXTENSION_FIELD_NUMBER: builtins.int
|
|
301
301
|
TAGS_FIELD_NUMBER: builtins.int
|
|
302
|
+
DATASET_IDS_FIELD_NUMBER: builtins.int
|
|
302
303
|
part_id: builtins.str
|
|
303
304
|
component_type: builtins.str
|
|
304
305
|
component_name: builtins.str
|
|
@@ -315,10 +316,14 @@ class UploadMetadata(google.protobuf.message.Message):
|
|
|
315
316
|
def tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
316
317
|
...
|
|
317
318
|
|
|
318
|
-
|
|
319
|
+
@property
|
|
320
|
+
def dataset_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
321
|
+
...
|
|
322
|
+
|
|
323
|
+
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:
|
|
319
324
|
...
|
|
320
325
|
|
|
321
|
-
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:
|
|
326
|
+
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:
|
|
322
327
|
...
|
|
323
328
|
global___UploadMetadata = UploadMetadata
|
|
324
329
|
|