viam-sdk 0.56.0__py3-none-musllinux_1_2_aarch64.whl → 0.57.0__py3-none-musllinux_1_2_aarch64.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 -5
- viam/app/billing_client.py +3 -5
- viam/app/data_client.py +129 -11
- viam/app/ml_training_client.py +3 -5
- viam/app/provisioning_client.py +3 -5
- viam/app/viam_client.py +19 -1
- viam/gen/app/data/v1/data_grpc.py +26 -2
- viam/gen/app/data/v1/data_pb2.py +122 -104
- viam/gen/app/data/v1/data_pb2.pyi +186 -4
- viam/proto/app/data/__init__.py +18 -0
- viam/services/motion/motion.py +3 -7
- viam/services/worldstatestore/worldstatestore.py +1 -1
- viam/version_metadata.py +2 -2
- {viam_sdk-0.56.0.dist-info → viam_sdk-0.57.0.dist-info}/METADATA +1 -1
- {viam_sdk-0.56.0.dist-info → viam_sdk-0.57.0.dist-info}/RECORD +17 -17
- {viam_sdk-0.56.0.dist-info → viam_sdk-0.57.0.dist-info}/WHEEL +0 -0
- {viam_sdk-0.56.0.dist-info → viam_sdk-0.57.0.dist-info}/licenses/LICENSE +0 -0
viam/app/app_client.py
CHANGED
|
@@ -530,11 +530,9 @@ class AppClient:
|
|
|
530
530
|
async def main():
|
|
531
531
|
|
|
532
532
|
# Make a ViamClient
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
viam_client.close()
|
|
533
|
+
async with await connect() as viam_client:
|
|
534
|
+
# Instantiate an AppClient called "cloud" to run cloud app API methods on
|
|
535
|
+
cloud = viam_client.app_client
|
|
538
536
|
|
|
539
537
|
if __name__ == '__main__':
|
|
540
538
|
asyncio.run(main())
|
viam/app/billing_client.py
CHANGED
|
@@ -42,11 +42,9 @@ class BillingClient:
|
|
|
42
42
|
|
|
43
43
|
async def main():
|
|
44
44
|
# Make a ViamClient
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
viam_client.close()
|
|
45
|
+
async with await connect() as viam_client:
|
|
46
|
+
# Instantiate a BillingClient to run billing client API methods on
|
|
47
|
+
billing_client = viam_client.billing_client
|
|
50
48
|
|
|
51
49
|
if __name__ == '__main__':
|
|
52
50
|
asyncio.run(main())
|
viam/app/data_client.py
CHANGED
|
@@ -27,12 +27,14 @@ from viam.proto.app.data import (
|
|
|
27
27
|
CaptureInterval,
|
|
28
28
|
CaptureMetadata,
|
|
29
29
|
ConfigureDatabaseUserRequest,
|
|
30
|
+
CreateIndexRequest,
|
|
30
31
|
DataRequest,
|
|
31
32
|
DataServiceStub,
|
|
32
33
|
DeleteBinaryDataByFilterRequest,
|
|
33
34
|
DeleteBinaryDataByFilterResponse,
|
|
34
35
|
DeleteBinaryDataByIDsRequest,
|
|
35
36
|
DeleteBinaryDataByIDsResponse,
|
|
37
|
+
DeleteIndexRequest,
|
|
36
38
|
DeleteTabularDataRequest,
|
|
37
39
|
DeleteTabularDataResponse,
|
|
38
40
|
ExportTabularDataRequest,
|
|
@@ -42,6 +44,10 @@ from viam.proto.app.data import (
|
|
|
42
44
|
GetDatabaseConnectionResponse,
|
|
43
45
|
GetLatestTabularDataRequest,
|
|
44
46
|
GetLatestTabularDataResponse,
|
|
47
|
+
Index,
|
|
48
|
+
IndexableCollection,
|
|
49
|
+
ListIndexesRequest,
|
|
50
|
+
ListIndexesResponse,
|
|
45
51
|
Order,
|
|
46
52
|
RemoveBinaryDataFromDatasetByIDsRequest,
|
|
47
53
|
RemoveBoundingBoxFromImageByIDRequest,
|
|
@@ -90,6 +96,8 @@ from viam.proto.app.dataset import (
|
|
|
90
96
|
ListDatasetsByIDsResponse,
|
|
91
97
|
ListDatasetsByOrganizationIDRequest,
|
|
92
98
|
ListDatasetsByOrganizationIDResponse,
|
|
99
|
+
MergeDatasetsRequest,
|
|
100
|
+
MergeDatasetsResponse,
|
|
93
101
|
RenameDatasetRequest,
|
|
94
102
|
)
|
|
95
103
|
from viam.proto.app.datasync import (
|
|
@@ -134,11 +142,9 @@ class DataClient:
|
|
|
134
142
|
|
|
135
143
|
async def main():
|
|
136
144
|
# Make a ViamClient
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
viam_client.close()
|
|
145
|
+
async with await connect() as viam_client:
|
|
146
|
+
# Instantiate a DataClient to run data client API methods on
|
|
147
|
+
data_client = viam_client.data_client
|
|
142
148
|
|
|
143
149
|
if __name__ == '__main__':
|
|
144
150
|
asyncio.run(main())
|
|
@@ -499,6 +505,7 @@ class DataClient:
|
|
|
499
505
|
use_recent_data: Optional[bool] = None,
|
|
500
506
|
tabular_data_source_type: TabularDataSourceType.ValueType = TabularDataSourceType.TABULAR_DATA_SOURCE_TYPE_STANDARD,
|
|
501
507
|
pipeline_id: Optional[str] = None,
|
|
508
|
+
query_prefix_name: Optional[str] = None,
|
|
502
509
|
) -> List[Dict[str, Union[ValueTypes, datetime]]]:
|
|
503
510
|
"""Obtain unified tabular data and metadata, queried with MQL.
|
|
504
511
|
|
|
@@ -525,6 +532,7 @@ class DataClient:
|
|
|
525
532
|
Defaults to `TABULAR_DATA_SOURCE_TYPE_STANDARD`.
|
|
526
533
|
pipeline_id (str): The ID of the data pipeline to query. Defaults to `None`.
|
|
527
534
|
Required if `tabular_data_source_type` is `TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK`.
|
|
535
|
+
query_prefix_name (str): Optional field that can be used to specify a saved query to run.
|
|
528
536
|
|
|
529
537
|
Returns:
|
|
530
538
|
List[Dict[str, Union[ValueTypes, datetime]]]: An array of decoded BSON data objects.
|
|
@@ -535,7 +543,12 @@ class DataClient:
|
|
|
535
543
|
data_source = TabularDataSource(type=tabular_data_source_type, pipeline_id=pipeline_id)
|
|
536
544
|
if use_recent_data:
|
|
537
545
|
data_source.type = TabularDataSourceType.TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE
|
|
538
|
-
request = TabularDataByMQLRequest(
|
|
546
|
+
request = TabularDataByMQLRequest(
|
|
547
|
+
organization_id=organization_id,
|
|
548
|
+
mql_binary=binary,
|
|
549
|
+
data_source=data_source,
|
|
550
|
+
query_prefix_name=query_prefix_name,
|
|
551
|
+
)
|
|
539
552
|
response: TabularDataByMQLResponse = await self._data_client.TabularDataByMQL(request, metadata=self._metadata)
|
|
540
553
|
return [bson.decode(bson_bytes) for bson_bytes in response.raw_data]
|
|
541
554
|
|
|
@@ -1131,8 +1144,8 @@ class DataClient:
|
|
|
1131
1144
|
|
|
1132
1145
|
Args:
|
|
1133
1146
|
binary_id (Union[~viam.proto.app.data.BinaryID, str]): The binary data ID or :class:`BinaryID` of the image to add the bounding
|
|
1134
|
-
box to. *DEPRECATED:* :class:`BinaryID` *is deprecated and will be removed in a future release. Instead, pass binary data
|
|
1135
|
-
|
|
1147
|
+
box to. *DEPRECATED:* :class:`BinaryID` *is deprecated and will be removed in a future release. Instead, pass binary data IDs as a
|
|
1148
|
+
list of strings.*
|
|
1136
1149
|
label (str): A label for the bounding box.
|
|
1137
1150
|
x_min_normalized (float): Min X value of the bounding box normalized from 0 to 1.
|
|
1138
1151
|
y_min_normalized (float): Min Y value of the bounding box normalized from 0 to 1.
|
|
@@ -1289,6 +1302,32 @@ class DataClient:
|
|
|
1289
1302
|
response: CreateDatasetResponse = await self._dataset_client.CreateDataset(request, metadata=self._metadata)
|
|
1290
1303
|
return response.id
|
|
1291
1304
|
|
|
1305
|
+
async def merge_datasets(self, name: str, organization_id: str, dataset_ids: List[str]) -> str:
|
|
1306
|
+
"""Merge multiple datasets into a new dataset.
|
|
1307
|
+
|
|
1308
|
+
::
|
|
1309
|
+
|
|
1310
|
+
dataset_id = await data_client.merge_datasets(
|
|
1311
|
+
name="<DATASET-NAME>",
|
|
1312
|
+
organization_id="<YOUR-ORG-ID>",
|
|
1313
|
+
dataset_ids=["<YOUR-DATASET-ID-1>", "<YOUR-DATASET-ID-2>"]
|
|
1314
|
+
)
|
|
1315
|
+
print(dataset_id)
|
|
1316
|
+
|
|
1317
|
+
Args:
|
|
1318
|
+
name (str): The name of the dataset being created.
|
|
1319
|
+
organization_id (str): The ID of the organization where the dataset is being created.
|
|
1320
|
+
To find your organization ID, visit the organization settings page.
|
|
1321
|
+
dataset_ids (List[str]): The IDs of the datasets that you would like to merge.
|
|
1322
|
+
Returns:
|
|
1323
|
+
str: The dataset ID of the created dataset.
|
|
1324
|
+
|
|
1325
|
+
For more information, see `Data Client API <https://docs.viam.com/dev/reference/apis/data-client/#mergedatasets>`_.
|
|
1326
|
+
"""
|
|
1327
|
+
request = MergeDatasetsRequest(name=name, organization_id=organization_id, dataset_ids=dataset_ids)
|
|
1328
|
+
response: MergeDatasetsResponse = await self._dataset_client.MergeDatasets(request, metadata=self._metadata)
|
|
1329
|
+
return response.dataset_id
|
|
1330
|
+
|
|
1292
1331
|
async def list_dataset_by_ids(self, ids: List[str]) -> Sequence[Dataset]:
|
|
1293
1332
|
"""Get a list of datasets using their IDs.
|
|
1294
1333
|
|
|
@@ -1859,9 +1898,8 @@ class DataClient:
|
|
|
1859
1898
|
path = Path(filepath)
|
|
1860
1899
|
file_name = path.stem
|
|
1861
1900
|
file_extension = path.suffix if path.suffix != "" else None
|
|
1862
|
-
|
|
1863
|
-
|
|
1864
|
-
f.close()
|
|
1901
|
+
with open(filepath, "rb") as f:
|
|
1902
|
+
data = f.read()
|
|
1865
1903
|
|
|
1866
1904
|
metadata = UploadMetadata(
|
|
1867
1905
|
part_id=part_id,
|
|
@@ -2035,6 +2073,86 @@ class DataClient:
|
|
|
2035
2073
|
response: ListDataPipelineRunsResponse = await self._data_pipelines_client.ListDataPipelineRuns(request, metadata=self._metadata)
|
|
2036
2074
|
return DataClient.DataPipelineRunsPage.from_proto(response, self, page_size)
|
|
2037
2075
|
|
|
2076
|
+
async def create_index(
|
|
2077
|
+
self,
|
|
2078
|
+
organization_id: str,
|
|
2079
|
+
collection_type: IndexableCollection.ValueType,
|
|
2080
|
+
index_spec: Dict[str, Any],
|
|
2081
|
+
pipeline_name: Optional[str] = None,
|
|
2082
|
+
) -> None:
|
|
2083
|
+
"""Starts a custom index build.
|
|
2084
|
+
|
|
2085
|
+
Args:
|
|
2086
|
+
organization_id (str): The ID of the organization that owns the data.
|
|
2087
|
+
To find your organization ID, visit the organization settings page.
|
|
2088
|
+
collection_type (IndexableCollection.ValueType): The type of collection the index is on.
|
|
2089
|
+
index_spec (List[Dict[str, Any]]): The MongoDB index specification defined in JSON format.
|
|
2090
|
+
pipeline_name (Optional[str]): The name of the pipeline if the collection type is PIPELINE_SINK.
|
|
2091
|
+
|
|
2092
|
+
For more information, see `Data Client API <https://docs.viam.com/dev/reference/apis/data-client/#createindex>`_.
|
|
2093
|
+
"""
|
|
2094
|
+
index_spec_bytes = [bson.encode(index_spec)]
|
|
2095
|
+
request = CreateIndexRequest(
|
|
2096
|
+
organization_id=organization_id,
|
|
2097
|
+
collection_type=collection_type,
|
|
2098
|
+
index_spec=index_spec_bytes,
|
|
2099
|
+
pipeline_name=pipeline_name,
|
|
2100
|
+
)
|
|
2101
|
+
await self._data_client.CreateIndex(request, metadata=self._metadata)
|
|
2102
|
+
|
|
2103
|
+
async def list_indexes(
|
|
2104
|
+
self,
|
|
2105
|
+
organization_id: str,
|
|
2106
|
+
collection_type: IndexableCollection.ValueType,
|
|
2107
|
+
pipeline_name: Optional[str] = None,
|
|
2108
|
+
) -> Sequence[Index]:
|
|
2109
|
+
"""Returns all the indexes for a given collection.
|
|
2110
|
+
|
|
2111
|
+
Args:
|
|
2112
|
+
organization_id (str): The ID of the organization that owns the data.
|
|
2113
|
+
To find your organization ID, visit the organization settings page.
|
|
2114
|
+
collection_type (IndexableCollection.ValueType): The type of collection the index is on.
|
|
2115
|
+
pipeline_name (Optional[str]): The name of the pipeline if the collection type is PIPELINE_SINK.
|
|
2116
|
+
|
|
2117
|
+
Returns:
|
|
2118
|
+
List[Index]: A list of indexes.
|
|
2119
|
+
|
|
2120
|
+
For more information, see `Data Client API <https://docs.viam.com/dev/reference/apis/data-client/#listindexes>`_.
|
|
2121
|
+
"""
|
|
2122
|
+
request = ListIndexesRequest(
|
|
2123
|
+
organization_id=organization_id,
|
|
2124
|
+
collection_type=collection_type,
|
|
2125
|
+
pipeline_name=pipeline_name,
|
|
2126
|
+
)
|
|
2127
|
+
response: ListIndexesResponse = await self._data_client.ListIndexes(request, metadata=self._metadata)
|
|
2128
|
+
return response.indexes
|
|
2129
|
+
|
|
2130
|
+
async def delete_index(
|
|
2131
|
+
self,
|
|
2132
|
+
organization_id: str,
|
|
2133
|
+
collection_type: IndexableCollection.ValueType,
|
|
2134
|
+
index_name: str,
|
|
2135
|
+
pipeline_name: Optional[str] = None,
|
|
2136
|
+
) -> None:
|
|
2137
|
+
"""Drops the specified custom index from a collection.
|
|
2138
|
+
|
|
2139
|
+
Args:
|
|
2140
|
+
organization_id (str): The ID of the organization that owns the data.
|
|
2141
|
+
To find your organization ID, visit the organization settings page.
|
|
2142
|
+
collection_type (IndexableCollection.ValueType): The type of collection the index is on.
|
|
2143
|
+
index_name (str): The name of the index to delete.
|
|
2144
|
+
pipeline_name (Optional[str]): The name of the pipeline if the collection type is PIPELINE_SINK.
|
|
2145
|
+
|
|
2146
|
+
For more information, see `Data Client API <https://docs.viam.com/dev/reference/apis/data-client/#deleteindex>`_.
|
|
2147
|
+
"""
|
|
2148
|
+
request = DeleteIndexRequest(
|
|
2149
|
+
organization_id=organization_id,
|
|
2150
|
+
collection_type=collection_type,
|
|
2151
|
+
index_name=index_name,
|
|
2152
|
+
pipeline_name=pipeline_name,
|
|
2153
|
+
)
|
|
2154
|
+
await self._data_client.DeleteIndex(request, metadata=self._metadata)
|
|
2155
|
+
|
|
2038
2156
|
@staticmethod
|
|
2039
2157
|
def create_filter(
|
|
2040
2158
|
component_name: Optional[str] = None,
|
viam/app/ml_training_client.py
CHANGED
|
@@ -46,11 +46,9 @@ class MLTrainingClient:
|
|
|
46
46
|
async def main():
|
|
47
47
|
|
|
48
48
|
# Make a ViamClient
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
viam_client.close()
|
|
49
|
+
async with await connect() as viam_client:
|
|
50
|
+
# Instantiate an MLTrainingClient to run ML training client API methods on
|
|
51
|
+
ml_training_client = viam_client.ml_training_client
|
|
54
52
|
|
|
55
53
|
if __name__ == '__main__':
|
|
56
54
|
asyncio.run(main())
|
viam/app/provisioning_client.py
CHANGED
|
@@ -41,11 +41,9 @@ class ProvisioningClient:
|
|
|
41
41
|
async def main():
|
|
42
42
|
|
|
43
43
|
# Make a ViamClient
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
viam_client.close()
|
|
44
|
+
async with await connect() as viam_client:
|
|
45
|
+
# Instantiate a ProvisioningClient to run provisioning client API methods on
|
|
46
|
+
provisioning_client = viam_client.provisioning_client
|
|
49
47
|
|
|
50
48
|
if __name__ == '__main__':
|
|
51
49
|
asyncio.run(main())
|
viam/app/viam_client.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import os
|
|
2
|
-
from typing import Mapping, Optional
|
|
2
|
+
from typing import Any, Mapping, Optional
|
|
3
3
|
|
|
4
4
|
from grpclib.client import Channel
|
|
5
5
|
from typing_extensions import Self
|
|
@@ -206,6 +206,24 @@ class ViamClient:
|
|
|
206
206
|
"""
|
|
207
207
|
return ProvisioningClient(self._channel, self._metadata)
|
|
208
208
|
|
|
209
|
+
async def __aenter__(self) -> "ViamClient":
|
|
210
|
+
"""A ViamClient can act as an asynchronous context manager. It will do nothing special when
|
|
211
|
+
the context is entered.
|
|
212
|
+
"""
|
|
213
|
+
return self
|
|
214
|
+
|
|
215
|
+
async def __aexit__(self, exc_type: Optional[type], exc_value: Optional[BaseException], traceback: Optional[Any]) -> None:
|
|
216
|
+
"""A ViamClient can act as an asynchronous context manager. It will close itself when
|
|
217
|
+
the context is exited.
|
|
218
|
+
|
|
219
|
+
::
|
|
220
|
+
|
|
221
|
+
async with ViamClient.create_from_dial_options(...) as client:
|
|
222
|
+
await do_something_with(client)
|
|
223
|
+
# client is closed here
|
|
224
|
+
"""
|
|
225
|
+
self.close()
|
|
226
|
+
|
|
209
227
|
def close(self) -> None:
|
|
210
228
|
"""Close opened channels used for the various service stubs initialized."""
|
|
211
229
|
if self._closed:
|
|
@@ -104,8 +104,20 @@ class DataServiceBase(abc.ABC):
|
|
|
104
104
|
async def RemoveBinaryDataFromDatasetByIDs(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsRequest, app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsResponse]') -> None:
|
|
105
105
|
pass
|
|
106
106
|
|
|
107
|
+
@abc.abstractmethod
|
|
108
|
+
async def CreateIndex(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.CreateIndexRequest, app.data.v1.data_pb2.CreateIndexResponse]') -> None:
|
|
109
|
+
pass
|
|
110
|
+
|
|
111
|
+
@abc.abstractmethod
|
|
112
|
+
async def ListIndexes(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.ListIndexesRequest, app.data.v1.data_pb2.ListIndexesResponse]') -> None:
|
|
113
|
+
pass
|
|
114
|
+
|
|
115
|
+
@abc.abstractmethod
|
|
116
|
+
async def DeleteIndex(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.DeleteIndexRequest, app.data.v1.data_pb2.DeleteIndexResponse]') -> None:
|
|
117
|
+
pass
|
|
118
|
+
|
|
107
119
|
def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
|
|
108
|
-
return {'/viam.app.data.v1.DataService/TabularDataByFilter': grpclib.const.Handler(self.TabularDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.TabularDataByFilterRequest, app.data.v1.data_pb2.TabularDataByFilterResponse), '/viam.app.data.v1.DataService/TabularDataBySQL': grpclib.const.Handler(self.TabularDataBySQL, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.TabularDataBySQLRequest, app.data.v1.data_pb2.TabularDataBySQLResponse), '/viam.app.data.v1.DataService/TabularDataByMQL': grpclib.const.Handler(self.TabularDataByMQL, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.TabularDataByMQLRequest, app.data.v1.data_pb2.TabularDataByMQLResponse), '/viam.app.data.v1.DataService/ExportTabularData': grpclib.const.Handler(self.ExportTabularData, grpclib.const.Cardinality.UNARY_STREAM, app.data.v1.data_pb2.ExportTabularDataRequest, app.data.v1.data_pb2.ExportTabularDataResponse), '/viam.app.data.v1.DataService/GetLatestTabularData': grpclib.const.Handler(self.GetLatestTabularData, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.GetLatestTabularDataRequest, app.data.v1.data_pb2.GetLatestTabularDataResponse), '/viam.app.data.v1.DataService/BinaryDataByFilter': grpclib.const.Handler(self.BinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.BinaryDataByFilterRequest, app.data.v1.data_pb2.BinaryDataByFilterResponse), '/viam.app.data.v1.DataService/BinaryDataByIDs': grpclib.const.Handler(self.BinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.BinaryDataByIDsRequest, app.data.v1.data_pb2.BinaryDataByIDsResponse), '/viam.app.data.v1.DataService/DeleteTabularData': grpclib.const.Handler(self.DeleteTabularData, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteTabularDataRequest, app.data.v1.data_pb2.DeleteTabularDataResponse), '/viam.app.data.v1.DataService/DeleteBinaryDataByFilter': grpclib.const.Handler(self.DeleteBinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteBinaryDataByFilterRequest, app.data.v1.data_pb2.DeleteBinaryDataByFilterResponse), '/viam.app.data.v1.DataService/DeleteBinaryDataByIDs': grpclib.const.Handler(self.DeleteBinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteBinaryDataByIDsRequest, app.data.v1.data_pb2.DeleteBinaryDataByIDsResponse), '/viam.app.data.v1.DataService/AddTagsToBinaryDataByIDs': grpclib.const.Handler(self.AddTagsToBinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddTagsToBinaryDataByIDsRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByIDsResponse), '/viam.app.data.v1.DataService/AddTagsToBinaryDataByFilter': grpclib.const.Handler(self.AddTagsToBinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddTagsToBinaryDataByFilterRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByFilterResponse), '/viam.app.data.v1.DataService/RemoveTagsFromBinaryDataByIDs': grpclib.const.Handler(self.RemoveTagsFromBinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByIDsRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByIDsResponse), '/viam.app.data.v1.DataService/RemoveTagsFromBinaryDataByFilter': grpclib.const.Handler(self.RemoveTagsFromBinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFilterRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFilterResponse), '/viam.app.data.v1.DataService/TagsByFilter': grpclib.const.Handler(self.TagsByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.TagsByFilterRequest, app.data.v1.data_pb2.TagsByFilterResponse), '/viam.app.data.v1.DataService/AddBoundingBoxToImageByID': grpclib.const.Handler(self.AddBoundingBoxToImageByID, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddBoundingBoxToImageByIDRequest, app.data.v1.data_pb2.AddBoundingBoxToImageByIDResponse), '/viam.app.data.v1.DataService/RemoveBoundingBoxFromImageByID': grpclib.const.Handler(self.RemoveBoundingBoxFromImageByID, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveBoundingBoxFromImageByIDRequest, app.data.v1.data_pb2.RemoveBoundingBoxFromImageByIDResponse), '/viam.app.data.v1.DataService/BoundingBoxLabelsByFilter': grpclib.const.Handler(self.BoundingBoxLabelsByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.BoundingBoxLabelsByFilterRequest, app.data.v1.data_pb2.BoundingBoxLabelsByFilterResponse), '/viam.app.data.v1.DataService/UpdateBoundingBox': grpclib.const.Handler(self.UpdateBoundingBox, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.UpdateBoundingBoxRequest, app.data.v1.data_pb2.UpdateBoundingBoxResponse), '/viam.app.data.v1.DataService/GetDatabaseConnection': grpclib.const.Handler(self.GetDatabaseConnection, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.GetDatabaseConnectionRequest, app.data.v1.data_pb2.GetDatabaseConnectionResponse), '/viam.app.data.v1.DataService/ConfigureDatabaseUser': grpclib.const.Handler(self.ConfigureDatabaseUser, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.ConfigureDatabaseUserRequest, app.data.v1.data_pb2.ConfigureDatabaseUserResponse), '/viam.app.data.v1.DataService/AddBinaryDataToDatasetByIDs': grpclib.const.Handler(self.AddBinaryDataToDatasetByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddBinaryDataToDatasetByIDsRequest, app.data.v1.data_pb2.AddBinaryDataToDatasetByIDsResponse), '/viam.app.data.v1.DataService/RemoveBinaryDataFromDatasetByIDs': grpclib.const.Handler(self.RemoveBinaryDataFromDatasetByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsRequest, app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsResponse)}
|
|
120
|
+
return {'/viam.app.data.v1.DataService/TabularDataByFilter': grpclib.const.Handler(self.TabularDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.TabularDataByFilterRequest, app.data.v1.data_pb2.TabularDataByFilterResponse), '/viam.app.data.v1.DataService/TabularDataBySQL': grpclib.const.Handler(self.TabularDataBySQL, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.TabularDataBySQLRequest, app.data.v1.data_pb2.TabularDataBySQLResponse), '/viam.app.data.v1.DataService/TabularDataByMQL': grpclib.const.Handler(self.TabularDataByMQL, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.TabularDataByMQLRequest, app.data.v1.data_pb2.TabularDataByMQLResponse), '/viam.app.data.v1.DataService/ExportTabularData': grpclib.const.Handler(self.ExportTabularData, grpclib.const.Cardinality.UNARY_STREAM, app.data.v1.data_pb2.ExportTabularDataRequest, app.data.v1.data_pb2.ExportTabularDataResponse), '/viam.app.data.v1.DataService/GetLatestTabularData': grpclib.const.Handler(self.GetLatestTabularData, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.GetLatestTabularDataRequest, app.data.v1.data_pb2.GetLatestTabularDataResponse), '/viam.app.data.v1.DataService/BinaryDataByFilter': grpclib.const.Handler(self.BinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.BinaryDataByFilterRequest, app.data.v1.data_pb2.BinaryDataByFilterResponse), '/viam.app.data.v1.DataService/BinaryDataByIDs': grpclib.const.Handler(self.BinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.BinaryDataByIDsRequest, app.data.v1.data_pb2.BinaryDataByIDsResponse), '/viam.app.data.v1.DataService/DeleteTabularData': grpclib.const.Handler(self.DeleteTabularData, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteTabularDataRequest, app.data.v1.data_pb2.DeleteTabularDataResponse), '/viam.app.data.v1.DataService/DeleteBinaryDataByFilter': grpclib.const.Handler(self.DeleteBinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteBinaryDataByFilterRequest, app.data.v1.data_pb2.DeleteBinaryDataByFilterResponse), '/viam.app.data.v1.DataService/DeleteBinaryDataByIDs': grpclib.const.Handler(self.DeleteBinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteBinaryDataByIDsRequest, app.data.v1.data_pb2.DeleteBinaryDataByIDsResponse), '/viam.app.data.v1.DataService/AddTagsToBinaryDataByIDs': grpclib.const.Handler(self.AddTagsToBinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddTagsToBinaryDataByIDsRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByIDsResponse), '/viam.app.data.v1.DataService/AddTagsToBinaryDataByFilter': grpclib.const.Handler(self.AddTagsToBinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddTagsToBinaryDataByFilterRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByFilterResponse), '/viam.app.data.v1.DataService/RemoveTagsFromBinaryDataByIDs': grpclib.const.Handler(self.RemoveTagsFromBinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByIDsRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByIDsResponse), '/viam.app.data.v1.DataService/RemoveTagsFromBinaryDataByFilter': grpclib.const.Handler(self.RemoveTagsFromBinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFilterRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFilterResponse), '/viam.app.data.v1.DataService/TagsByFilter': grpclib.const.Handler(self.TagsByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.TagsByFilterRequest, app.data.v1.data_pb2.TagsByFilterResponse), '/viam.app.data.v1.DataService/AddBoundingBoxToImageByID': grpclib.const.Handler(self.AddBoundingBoxToImageByID, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddBoundingBoxToImageByIDRequest, app.data.v1.data_pb2.AddBoundingBoxToImageByIDResponse), '/viam.app.data.v1.DataService/RemoveBoundingBoxFromImageByID': grpclib.const.Handler(self.RemoveBoundingBoxFromImageByID, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveBoundingBoxFromImageByIDRequest, app.data.v1.data_pb2.RemoveBoundingBoxFromImageByIDResponse), '/viam.app.data.v1.DataService/BoundingBoxLabelsByFilter': grpclib.const.Handler(self.BoundingBoxLabelsByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.BoundingBoxLabelsByFilterRequest, app.data.v1.data_pb2.BoundingBoxLabelsByFilterResponse), '/viam.app.data.v1.DataService/UpdateBoundingBox': grpclib.const.Handler(self.UpdateBoundingBox, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.UpdateBoundingBoxRequest, app.data.v1.data_pb2.UpdateBoundingBoxResponse), '/viam.app.data.v1.DataService/GetDatabaseConnection': grpclib.const.Handler(self.GetDatabaseConnection, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.GetDatabaseConnectionRequest, app.data.v1.data_pb2.GetDatabaseConnectionResponse), '/viam.app.data.v1.DataService/ConfigureDatabaseUser': grpclib.const.Handler(self.ConfigureDatabaseUser, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.ConfigureDatabaseUserRequest, app.data.v1.data_pb2.ConfigureDatabaseUserResponse), '/viam.app.data.v1.DataService/AddBinaryDataToDatasetByIDs': grpclib.const.Handler(self.AddBinaryDataToDatasetByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddBinaryDataToDatasetByIDsRequest, app.data.v1.data_pb2.AddBinaryDataToDatasetByIDsResponse), '/viam.app.data.v1.DataService/RemoveBinaryDataFromDatasetByIDs': grpclib.const.Handler(self.RemoveBinaryDataFromDatasetByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsRequest, app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsResponse), '/viam.app.data.v1.DataService/CreateIndex': grpclib.const.Handler(self.CreateIndex, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.CreateIndexRequest, app.data.v1.data_pb2.CreateIndexResponse), '/viam.app.data.v1.DataService/ListIndexes': grpclib.const.Handler(self.ListIndexes, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.ListIndexesRequest, app.data.v1.data_pb2.ListIndexesResponse), '/viam.app.data.v1.DataService/DeleteIndex': grpclib.const.Handler(self.DeleteIndex, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteIndexRequest, app.data.v1.data_pb2.DeleteIndexResponse)}
|
|
109
121
|
|
|
110
122
|
class UnimplementedDataServiceBase(DataServiceBase):
|
|
111
123
|
|
|
@@ -178,6 +190,15 @@ class UnimplementedDataServiceBase(DataServiceBase):
|
|
|
178
190
|
async def RemoveBinaryDataFromDatasetByIDs(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsRequest, app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsResponse]') -> None:
|
|
179
191
|
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
180
192
|
|
|
193
|
+
async def CreateIndex(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.CreateIndexRequest, app.data.v1.data_pb2.CreateIndexResponse]') -> None:
|
|
194
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
195
|
+
|
|
196
|
+
async def ListIndexes(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.ListIndexesRequest, app.data.v1.data_pb2.ListIndexesResponse]') -> None:
|
|
197
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
198
|
+
|
|
199
|
+
async def DeleteIndex(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.DeleteIndexRequest, app.data.v1.data_pb2.DeleteIndexResponse]') -> None:
|
|
200
|
+
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
201
|
+
|
|
181
202
|
class DataServiceStub:
|
|
182
203
|
|
|
183
204
|
def __init__(self, channel: grpclib.client.Channel) -> None:
|
|
@@ -203,4 +224,7 @@ class DataServiceStub:
|
|
|
203
224
|
self.GetDatabaseConnection = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/GetDatabaseConnection', app.data.v1.data_pb2.GetDatabaseConnectionRequest, app.data.v1.data_pb2.GetDatabaseConnectionResponse)
|
|
204
225
|
self.ConfigureDatabaseUser = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/ConfigureDatabaseUser', app.data.v1.data_pb2.ConfigureDatabaseUserRequest, app.data.v1.data_pb2.ConfigureDatabaseUserResponse)
|
|
205
226
|
self.AddBinaryDataToDatasetByIDs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/AddBinaryDataToDatasetByIDs', app.data.v1.data_pb2.AddBinaryDataToDatasetByIDsRequest, app.data.v1.data_pb2.AddBinaryDataToDatasetByIDsResponse)
|
|
206
|
-
self.RemoveBinaryDataFromDatasetByIDs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/RemoveBinaryDataFromDatasetByIDs', app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsRequest, app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsResponse)
|
|
227
|
+
self.RemoveBinaryDataFromDatasetByIDs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/RemoveBinaryDataFromDatasetByIDs', app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsRequest, app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsResponse)
|
|
228
|
+
self.CreateIndex = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/CreateIndex', app.data.v1.data_pb2.CreateIndexRequest, app.data.v1.data_pb2.CreateIndexResponse)
|
|
229
|
+
self.ListIndexes = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/ListIndexes', app.data.v1.data_pb2.ListIndexesRequest, app.data.v1.data_pb2.ListIndexesResponse)
|
|
230
|
+
self.DeleteIndex = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/DeleteIndex', app.data.v1.data_pb2.DeleteIndexRequest, app.data.v1.data_pb2.DeleteIndexResponse)
|
viam/gen/app/data/v1/data_pb2.py
CHANGED
|
@@ -9,7 +9,7 @@ _sym_db = _symbol_database.Default()
|
|
|
9
9
|
from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
|
|
10
10
|
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
|
|
11
11
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
12
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16app/data/v1/data.proto\x12\x10viam.app.data.v1\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa1\x01\n\x0bDataRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12\x12\n\x04last\x18\x03 \x01(\tR\x04last\x126\n\nsort_order\x18\x04 \x01(\x0e2\x17.viam.app.data.v1.OrderR\tsortOrder"\xaa\x04\n\x06Filter\x12%\n\x0ecomponent_name\x18\x01 \x01(\tR\rcomponentName\x12%\n\x0ecomponent_type\x18\x02 \x01(\tR\rcomponentType\x12\x16\n\x06method\x18\x04 \x01(\tR\x06method\x12\x1d\n\nrobot_name\x18\x06 \x01(\tR\trobotName\x12\x19\n\x08robot_id\x18\x07 \x01(\tR\x07robotId\x12\x1b\n\tpart_name\x18\x08 \x01(\tR\x08partName\x12\x17\n\x07part_id\x18\t \x01(\tR\x06partId\x12!\n\x0clocation_ids\x18\n \x03(\tR\x0blocationIds\x12)\n\x10organization_ids\x18\x0b \x03(\tR\x0forganizationIds\x12\x1b\n\tmime_type\x18\x0c \x03(\tR\x08mimeType\x12=\n\x08interval\x18\r \x01(\x0b2!.viam.app.data.v1.CaptureIntervalR\x08interval\x12=\n\x0btags_filter\x18\x0e \x01(\x0b2\x1c.viam.app.data.v1.TagsFilterR\ntagsFilter\x12\x1f\n\x0bbbox_labels\x18\x0f \x03(\tR\nbboxLabels\x12\x1d\n\ndataset_id\x18\x10 \x01(\tR\tdatasetIdJ\x04\x08\x03\x10\x04J\x04\x08\x05\x10\x06R\x0fcomponent_modelR\x04tags"V\n\nTagsFilter\x124\n\x04type\x18\x01 \x01(\x0e2 .viam.app.data.v1.TagsFilterTypeR\x04type\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags"\xc3\x04\n\x0fCaptureMetadata\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1f\n\x0blocation_id\x18\x02 \x01(\tR\nlocationId\x12\x1d\n\nrobot_name\x18\x03 \x01(\tR\trobotName\x12\x19\n\x08robot_id\x18\x04 \x01(\tR\x07robotId\x12\x1b\n\tpart_name\x18\x05 \x01(\tR\x08partName\x12\x17\n\x07part_id\x18\x06 \x01(\tR\x06partId\x12%\n\x0ecomponent_type\x18\x07 \x01(\tR\rcomponentType\x12%\n\x0ecomponent_name\x18\t \x01(\tR\rcomponentName\x12\x1f\n\x0bmethod_name\x18\n \x01(\tR\nmethodName\x12d\n\x11method_parameters\x18\x0b \x03(\x0b27.viam.app.data.v1.CaptureMetadata.MethodParametersEntryR\x10methodParameters\x12\x12\n\x04tags\x18\x0c \x03(\tR\x04tags\x12\x1b\n\tmime_type\x18\r \x01(\tR\x08mimeType\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\x08\x10\tR\x0fcomponent_model"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"\xb5\x01\n\x1aTabularDataByFilterRequest\x12@\n\x0cdata_request\x18\x01 \x01(\x0b2\x1d.viam.app.data.v1.DataRequestR\x0bdataRequest\x12\x1d\n\ncount_only\x18\x02 \x01(\x08R\tcountOnly\x122\n\x15include_internal_data\x18\x03 \x01(\x08R\x13includeInternalData:\x02\x18\x01"\xe7\x01\n\x1bTabularDataByFilterResponse\x12=\n\x08metadata\x18\x01 \x03(\x0b2!.viam.app.data.v1.CaptureMetadataR\x08metadata\x121\n\x04data\x18\x02 \x03(\x0b2\x1d.viam.app.data.v1.TabularDataR\x04data\x12\x14\n\x05count\x18\x03 \x01(\x04R\x05count\x12\x12\n\x04last\x18\x04 \x01(\tR\x04last\x12(\n\x10total_size_bytes\x18\x05 \x01(\x04R\x0etotalSizeBytes:\x02\x18\x01"\xe9\x01\n\x0bTabularData\x12+\n\x04data\x18\x01 \x01(\x0b2\x17.google.protobuf.StructR\x04data\x12%\n\x0emetadata_index\x18\x02 \x01(\rR\rmetadataIndex\x12A\n\x0etime_requested\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\rtimeRequested\x12?\n\rtime_received\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0ctimeReceived:\x02\x18\x01"_\n\x17TabularDataBySQLRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1b\n\tsql_query\x18\x02 \x01(\tR\x08sqlQuery"A\n\x18TabularDataBySQLResponse\x12\x19\n\x08raw_data\x18\x02 \x03(\x0cR\x07rawDataJ\x04\x08\x01\x10\x02R\x04data"\x86\x01\n\x11TabularDataSource\x12;\n\x04type\x18\x01 \x01(\x0e2\'.viam.app.data.v1.TabularDataSourceTypeR\x04type\x12$\n\x0bpipeline_id\x18\x02 \x01(\tH\x00R\npipelineId\x88\x01\x01B\x0e\n\x0c_pipeline_id"\xa7\x02\n\x17TabularDataByMQLRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1d\n\nmql_binary\x18\x03 \x03(\x0cR\tmqlBinary\x12+\n\x0fuse_recent_data\x18\x04 \x01(\x08H\x00R\ruseRecentData\x88\x01\x01\x12I\n\x0bdata_source\x18\x06 \x01(\x0b2#.viam.app.data.v1.TabularDataSourceH\x01R\ndataSource\x88\x01\x01B\x12\n\x10_use_recent_dataB\x0e\n\x0c_data_sourceJ\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06R\tmql_queryR\x11use_data_pipeline"A\n\x18TabularDataByMQLResponse\x12\x19\n\x08raw_data\x18\x02 \x03(\x0cR\x07rawDataJ\x04\x08\x01\x10\x02R\x04data"\xd0\x02\n\x18ExportTabularDataRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId\x12#\n\rresource_name\x18\x02 \x01(\tR\x0cresourceName\x12)\n\x10resource_subtype\x18\x03 \x01(\tR\x0fresourceSubtype\x12\x1f\n\x0bmethod_name\x18\x04 \x01(\tR\nmethodName\x12=\n\x08interval\x18\x05 \x01(\x0b2!.viam.app.data.v1.CaptureIntervalR\x08interval\x12Q\n\x15additional_parameters\x18\x06 \x01(\x0b2\x17.google.protobuf.StructH\x00R\x14additionalParameters\x88\x01\x01B\x18\n\x16_additional_parameters"\x94\x04\n\x19ExportTabularDataResponse\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId\x12#\n\rresource_name\x18\x02 \x01(\tR\x0cresourceName\x12)\n\x10resource_subtype\x18\x03 \x01(\tR\x0fresourceSubtype\x12\x1f\n\x0bmethod_name\x18\x04 \x01(\tR\nmethodName\x12?\n\rtime_captured\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0ctimeCaptured\x12\'\n\x0forganization_id\x18\x06 \x01(\tR\x0eorganizationId\x12\x1f\n\x0blocation_id\x18\x07 \x01(\tR\nlocationId\x12\x1d\n\nrobot_name\x18\x08 \x01(\tR\trobotName\x12\x19\n\x08robot_id\x18\t \x01(\tR\x07robotId\x12\x1b\n\tpart_name\x18\n \x01(\tR\x08partName\x12D\n\x11method_parameters\x18\x0b \x01(\x0b2\x17.google.protobuf.StructR\x10methodParameters\x12\x12\n\x04tags\x18\x0c \x03(\tR\x04tags\x121\n\x07payload\x18\r \x01(\x0b2\x17.google.protobuf.StructR\x07payload"\x94\x02\n\x1bGetLatestTabularDataRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId\x12#\n\rresource_name\x18\x02 \x01(\tR\x0cresourceName\x12\x1f\n\x0bmethod_name\x18\x03 \x01(\tR\nmethodName\x12)\n\x10resource_subtype\x18\x04 \x01(\tR\x0fresourceSubtype\x12Q\n\x15additional_parameters\x18\x05 \x01(\x0b2\x17.google.protobuf.StructH\x00R\x14additionalParameters\x88\x01\x01B\x18\n\x16_additional_parameters"\xcf\x01\n\x1cGetLatestTabularDataResponse\x12?\n\rtime_captured\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0ctimeCaptured\x12;\n\x0btime_synced\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\ntimeSynced\x121\n\x07payload\x18\x03 \x01(\x0b2\x17.google.protobuf.StructR\x07payload"b\n\nBinaryData\x12\x16\n\x06binary\x18\x01 \x01(\x0cR\x06binary\x12<\n\x08metadata\x18\x02 \x01(\x0b2 .viam.app.data.v1.BinaryMetadataR\x08metadata"\xd7\x01\n\x19BinaryDataByFilterRequest\x12@\n\x0cdata_request\x18\x01 \x01(\x0b2\x1d.viam.app.data.v1.DataRequestR\x0bdataRequest\x12%\n\x0einclude_binary\x18\x02 \x01(\x08R\rincludeBinary\x12\x1d\n\ncount_only\x18\x03 \x01(\x08R\tcountOnly\x122\n\x15include_internal_data\x18\x04 \x01(\x08R\x13includeInternalData"\xa2\x01\n\x1aBinaryDataByFilterResponse\x120\n\x04data\x18\x01 \x03(\x0b2\x1c.viam.app.data.v1.BinaryDataR\x04data\x12\x14\n\x05count\x18\x02 \x01(\x04R\x05count\x12\x12\n\x04last\x18\x03 \x01(\tR\x04last\x12(\n\x10total_size_bytes\x18\x04 \x01(\x04R\x0etotalSizeBytes"q\n\x08BinaryID\x12\x17\n\x07file_id\x18\x01 \x01(\tR\x06fileId\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12\x1f\n\x0blocation_id\x18\x03 \x01(\tR\nlocationId:\x02\x18\x01"\xb6\x01\n\x16BinaryDataByIDsRequest\x12%\n\x0einclude_binary\x18\x02 \x01(\x08R\rincludeBinary\x12=\n\nbinary_ids\x18\x03 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\tbinaryIds\x12&\n\x0fbinary_data_ids\x18\x04 \x03(\tR\rbinaryDataIdsJ\x04\x08\x01\x10\x02R\x08file_ids"a\n\x17BinaryDataByIDsResponse\x120\n\x04data\x18\x01 \x03(\x0b2\x1c.viam.app.data.v1.BinaryDataR\x04data\x12\x14\n\x05count\x18\x02 \x01(\x04R\x05count"\x8f\x02\n\x0bBoundingBox\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05label\x18\x02 \x01(\tR\x05label\x12(\n\x10x_min_normalized\x18\x03 \x01(\x01R\x0exMinNormalized\x12(\n\x10y_min_normalized\x18\x04 \x01(\x01R\x0eyMinNormalized\x12(\n\x10x_max_normalized\x18\x05 \x01(\x01R\x0exMaxNormalized\x12(\n\x10y_max_normalized\x18\x06 \x01(\x01R\x0eyMaxNormalized\x12#\n\nconfidence\x18\x07 \x01(\x01H\x00R\nconfidence\x88\x01\x01B\r\n\x0b_confidence"j\n\x0eClassification\x12\x0e\n\x02id\x18\x03 \x01(\tR\x02id\x12\x14\n\x05label\x18\x01 \x01(\tR\x05label\x12#\n\nconfidence\x18\x02 \x01(\x01H\x00R\nconfidence\x88\x01\x01B\r\n\x0b_confidence"\x90\x01\n\x0bAnnotations\x125\n\x06bboxes\x18\x01 \x03(\x0b2\x1d.viam.app.data.v1.BoundingBoxR\x06bboxes\x12J\n\x0fclassifications\x18\x02 \x03(\x0b2 .viam.app.data.v1.ClassificationR\x0fclassifications"\xc8\x03\n\x0eBinaryMetadata\x12\x12\n\x02id\x18\x01 \x01(\tB\x02\x18\x01R\x02id\x12L\n\x10capture_metadata\x18\x02 \x01(\x0b2!.viam.app.data.v1.CaptureMetadataR\x0fcaptureMetadata\x12A\n\x0etime_requested\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\rtimeRequested\x12?\n\rtime_received\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0ctimeReceived\x12\x1b\n\tfile_name\x18\x05 \x01(\tR\x08fileName\x12\x19\n\x08file_ext\x18\x06 \x01(\tR\x07fileExt\x12\x10\n\x03uri\x18\x07 \x01(\tR\x03uri\x12?\n\x0bannotations\x18\x08 \x01(\x0b2\x1d.viam.app.data.v1.AnnotationsR\x0bannotations\x12\x1f\n\x0bdataset_ids\x18\t \x03(\tR\ndatasetIds\x12$\n\x0ebinary_data_id\x18\n \x01(\tR\x0cbinaryDataId"x\n\x18DeleteTabularDataRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x123\n\x16delete_older_than_days\x18\x02 \x01(\rR\x13deleteOlderThanDays"@\n\x19DeleteTabularDataResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount"\x87\x01\n\x1fDeleteBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x122\n\x15include_internal_data\x18\x02 \x01(\x08R\x13includeInternalData"U\n DeleteBinaryDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"\x95\x01\n\x1cDeleteBinaryDataByIDsRequest\x12=\n\nbinary_ids\x18\x02 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\tbinaryIds\x12&\n\x0fbinary_data_ids\x18\x03 \x03(\tR\rbinaryDataIdsJ\x04\x08\x01\x10\x02R\x08file_ids"R\n\x1dDeleteBinaryDataByIDsResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"\xac\x01\n\x1fAddTagsToBinaryDataByIDsRequest\x12=\n\nbinary_ids\x18\x03 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\tbinaryIds\x12&\n\x0fbinary_data_ids\x18\x04 \x03(\tR\rbinaryDataIds\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tagsJ\x04\x08\x01\x10\x02R\x08file_ids""\n AddTagsToBinaryDataByIDsResponse"n\n"AddTagsToBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags:\x02\x18\x01")\n#AddTagsToBinaryDataByFilterResponse:\x02\x18\x01"\xb1\x01\n$RemoveTagsFromBinaryDataByIDsRequest\x12=\n\nbinary_ids\x18\x03 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\tbinaryIds\x12&\n\x0fbinary_data_ids\x18\x04 \x03(\tR\rbinaryDataIds\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tagsJ\x04\x08\x01\x10\x02R\x08file_ids"L\n%RemoveTagsFromBinaryDataByIDsResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount"s\n\'RemoveTagsFromBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags:\x02\x18\x01"S\n(RemoveTagsFromBinaryDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount:\x02\x18\x01"K\n\x13TagsByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter:\x02\x18\x01".\n\x14TagsByFilterResponse\x12\x12\n\x04tags\x18\x01 \x03(\tR\x04tags:\x02\x18\x01"\xd2\x02\n AddBoundingBoxToImageByIDRequest\x12;\n\tbinary_id\x18\x07 \x01(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\x08binaryId\x12$\n\x0ebinary_data_id\x18\x08 \x01(\tR\x0cbinaryDataId\x12\x14\n\x05label\x18\x02 \x01(\tR\x05label\x12(\n\x10x_min_normalized\x18\x03 \x01(\x01R\x0exMinNormalized\x12(\n\x10y_min_normalized\x18\x04 \x01(\x01R\x0eyMinNormalized\x12(\n\x10x_max_normalized\x18\x05 \x01(\x01R\x0exMaxNormalized\x12(\n\x10y_max_normalized\x18\x06 \x01(\x01R\x0eyMaxNormalizedJ\x04\x08\x01\x10\x02R\x07file_id"<\n!AddBoundingBoxToImageByIDResponse\x12\x17\n\x07bbox_id\x18\x01 \x01(\tR\x06bboxId"\xb2\x01\n%RemoveBoundingBoxFromImageByIDRequest\x12;\n\tbinary_id\x18\x03 \x01(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\x08binaryId\x12$\n\x0ebinary_data_id\x18\x04 \x01(\tR\x0cbinaryDataId\x12\x17\n\x07bbox_id\x18\x02 \x01(\tR\x06bboxIdJ\x04\x08\x01\x10\x02R\x07file_id"(\n&RemoveBoundingBoxFromImageByIDResponse"\xcb\x03\n\x18UpdateBoundingBoxRequest\x12;\n\tbinary_id\x18\x01 \x01(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\x08binaryId\x12$\n\x0ebinary_data_id\x18\x08 \x01(\tR\x0cbinaryDataId\x12\x17\n\x07bbox_id\x18\x02 \x01(\tR\x06bboxId\x12\x19\n\x05label\x18\x03 \x01(\tH\x00R\x05label\x88\x01\x01\x12-\n\x10x_min_normalized\x18\x04 \x01(\x01H\x01R\x0exMinNormalized\x88\x01\x01\x12-\n\x10y_min_normalized\x18\x05 \x01(\x01H\x02R\x0eyMinNormalized\x88\x01\x01\x12-\n\x10x_max_normalized\x18\x06 \x01(\x01H\x03R\x0exMaxNormalized\x88\x01\x01\x12-\n\x10y_max_normalized\x18\x07 \x01(\x01H\x04R\x0eyMaxNormalized\x88\x01\x01B\x08\n\x06_labelB\x13\n\x11_x_min_normalizedB\x13\n\x11_y_min_normalizedB\x13\n\x11_x_max_normalizedB\x13\n\x11_y_max_normalized"\x1b\n\x19UpdateBoundingBoxResponse"X\n BoundingBoxLabelsByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter:\x02\x18\x01"?\n!BoundingBoxLabelsByFilterResponse\x12\x16\n\x06labels\x18\x01 \x03(\tR\x06labels:\x02\x18\x01"c\n\x1cConfigureDatabaseUserRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1a\n\x08password\x18\x02 \x01(\tR\x08password"\x1f\n\x1dConfigureDatabaseUserResponse"G\n\x1cGetDatabaseConnectionRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"\x88\x01\n\x1dGetDatabaseConnectionResponse\x12\x1a\n\x08hostname\x18\x01 \x01(\tR\x08hostname\x12\x1f\n\x0bmongodb_uri\x18\x02 \x01(\tR\nmongodbUri\x12*\n\x11has_database_user\x18\x03 \x01(\x08R\x0fhasDatabaseUser"\xaa\x01\n"AddBinaryDataToDatasetByIDsRequest\x12=\n\nbinary_ids\x18\x01 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\tbinaryIds\x12&\n\x0fbinary_data_ids\x18\x03 \x03(\tR\rbinaryDataIds\x12\x1d\n\ndataset_id\x18\x02 \x01(\tR\tdatasetId"%\n#AddBinaryDataToDatasetByIDsResponse"\xaf\x01\n\'RemoveBinaryDataFromDatasetByIDsRequest\x12=\n\nbinary_ids\x18\x01 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\tbinaryIds\x12&\n\x0fbinary_data_ids\x18\x03 \x03(\tR\rbinaryDataIds\x12\x1d\n\ndataset_id\x18\x02 \x01(\tR\tdatasetId"*\n(RemoveBinaryDataFromDatasetByIDsResponse*I\n\x05Order\x12\x15\n\x11ORDER_UNSPECIFIED\x10\x00\x12\x14\n\x10ORDER_DESCENDING\x10\x01\x12\x13\n\x0fORDER_ASCENDING\x10\x02*\x90\x01\n\x0eTagsFilterType\x12 \n\x1cTAGS_FILTER_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1cTAGS_FILTER_TYPE_MATCH_BY_OR\x10\x01\x12\x1b\n\x17TAGS_FILTER_TYPE_TAGGED\x10\x02\x12\x1d\n\x19TAGS_FILTER_TYPE_UNTAGGED\x10\x03*\xbe\x01\n\x15TabularDataSourceType\x12(\n$TABULAR_DATA_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12%\n!TABULAR_DATA_SOURCE_TYPE_STANDARD\x10\x01\x12(\n$TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE\x10\x02\x12*\n&TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK\x10\x032\xea\x16\n\x0bDataService\x12w\n\x13TabularDataByFilter\x12,.viam.app.data.v1.TabularDataByFilterRequest\x1a-.viam.app.data.v1.TabularDataByFilterResponse"\x03\x88\x02\x01\x12i\n\x10TabularDataBySQL\x12).viam.app.data.v1.TabularDataBySQLRequest\x1a*.viam.app.data.v1.TabularDataBySQLResponse\x12i\n\x10TabularDataByMQL\x12).viam.app.data.v1.TabularDataByMQLRequest\x1a*.viam.app.data.v1.TabularDataByMQLResponse\x12n\n\x11ExportTabularData\x12*.viam.app.data.v1.ExportTabularDataRequest\x1a+.viam.app.data.v1.ExportTabularDataResponse0\x01\x12u\n\x14GetLatestTabularData\x12-.viam.app.data.v1.GetLatestTabularDataRequest\x1a..viam.app.data.v1.GetLatestTabularDataResponse\x12o\n\x12BinaryDataByFilter\x12+.viam.app.data.v1.BinaryDataByFilterRequest\x1a,.viam.app.data.v1.BinaryDataByFilterResponse\x12f\n\x0fBinaryDataByIDs\x12(.viam.app.data.v1.BinaryDataByIDsRequest\x1a).viam.app.data.v1.BinaryDataByIDsResponse\x12l\n\x11DeleteTabularData\x12*.viam.app.data.v1.DeleteTabularDataRequest\x1a+.viam.app.data.v1.DeleteTabularDataResponse\x12\x81\x01\n\x18DeleteBinaryDataByFilter\x121.viam.app.data.v1.DeleteBinaryDataByFilterRequest\x1a2.viam.app.data.v1.DeleteBinaryDataByFilterResponse\x12x\n\x15DeleteBinaryDataByIDs\x12..viam.app.data.v1.DeleteBinaryDataByIDsRequest\x1a/.viam.app.data.v1.DeleteBinaryDataByIDsResponse\x12\x81\x01\n\x18AddTagsToBinaryDataByIDs\x121.viam.app.data.v1.AddTagsToBinaryDataByIDsRequest\x1a2.viam.app.data.v1.AddTagsToBinaryDataByIDsResponse\x12\x8f\x01\n\x1bAddTagsToBinaryDataByFilter\x124.viam.app.data.v1.AddTagsToBinaryDataByFilterRequest\x1a5.viam.app.data.v1.AddTagsToBinaryDataByFilterResponse"\x03\x88\x02\x01\x12\x90\x01\n\x1dRemoveTagsFromBinaryDataByIDs\x126.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsRequest\x1a7.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsResponse\x12\x9e\x01\n RemoveTagsFromBinaryDataByFilter\x129.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterRequest\x1a:.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterResponse"\x03\x88\x02\x01\x12b\n\x0cTagsByFilter\x12%.viam.app.data.v1.TagsByFilterRequest\x1a&.viam.app.data.v1.TagsByFilterResponse"\x03\x88\x02\x01\x12\x84\x01\n\x19AddBoundingBoxToImageByID\x122.viam.app.data.v1.AddBoundingBoxToImageByIDRequest\x1a3.viam.app.data.v1.AddBoundingBoxToImageByIDResponse\x12\x93\x01\n\x1eRemoveBoundingBoxFromImageByID\x127.viam.app.data.v1.RemoveBoundingBoxFromImageByIDRequest\x1a8.viam.app.data.v1.RemoveBoundingBoxFromImageByIDResponse\x12\x89\x01\n\x19BoundingBoxLabelsByFilter\x122.viam.app.data.v1.BoundingBoxLabelsByFilterRequest\x1a3.viam.app.data.v1.BoundingBoxLabelsByFilterResponse"\x03\x88\x02\x01\x12l\n\x11UpdateBoundingBox\x12*.viam.app.data.v1.UpdateBoundingBoxRequest\x1a+.viam.app.data.v1.UpdateBoundingBoxResponse\x12x\n\x15GetDatabaseConnection\x12..viam.app.data.v1.GetDatabaseConnectionRequest\x1a/.viam.app.data.v1.GetDatabaseConnectionResponse\x12x\n\x15ConfigureDatabaseUser\x12..viam.app.data.v1.ConfigureDatabaseUserRequest\x1a/.viam.app.data.v1.ConfigureDatabaseUserResponse\x12\x8a\x01\n\x1bAddBinaryDataToDatasetByIDs\x124.viam.app.data.v1.AddBinaryDataToDatasetByIDsRequest\x1a5.viam.app.data.v1.AddBinaryDataToDatasetByIDsResponse\x12\x99\x01\n RemoveBinaryDataFromDatasetByIDs\x129.viam.app.data.v1.RemoveBinaryDataFromDatasetByIDsRequest\x1a:.viam.app.data.v1.RemoveBinaryDataFromDatasetByIDsResponseB\x1dZ\x1bgo.viam.com/api/app/data/v1b\x06proto3')
|
|
12
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16app/data/v1/data.proto\x12\x10viam.app.data.v1\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa1\x01\n\x0bDataRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12\x12\n\x04last\x18\x03 \x01(\tR\x04last\x126\n\nsort_order\x18\x04 \x01(\x0e2\x17.viam.app.data.v1.OrderR\tsortOrder"\xaa\x04\n\x06Filter\x12%\n\x0ecomponent_name\x18\x01 \x01(\tR\rcomponentName\x12%\n\x0ecomponent_type\x18\x02 \x01(\tR\rcomponentType\x12\x16\n\x06method\x18\x04 \x01(\tR\x06method\x12\x1d\n\nrobot_name\x18\x06 \x01(\tR\trobotName\x12\x19\n\x08robot_id\x18\x07 \x01(\tR\x07robotId\x12\x1b\n\tpart_name\x18\x08 \x01(\tR\x08partName\x12\x17\n\x07part_id\x18\t \x01(\tR\x06partId\x12!\n\x0clocation_ids\x18\n \x03(\tR\x0blocationIds\x12)\n\x10organization_ids\x18\x0b \x03(\tR\x0forganizationIds\x12\x1b\n\tmime_type\x18\x0c \x03(\tR\x08mimeType\x12=\n\x08interval\x18\r \x01(\x0b2!.viam.app.data.v1.CaptureIntervalR\x08interval\x12=\n\x0btags_filter\x18\x0e \x01(\x0b2\x1c.viam.app.data.v1.TagsFilterR\ntagsFilter\x12\x1f\n\x0bbbox_labels\x18\x0f \x03(\tR\nbboxLabels\x12\x1d\n\ndataset_id\x18\x10 \x01(\tR\tdatasetIdJ\x04\x08\x03\x10\x04J\x04\x08\x05\x10\x06R\x0fcomponent_modelR\x04tags"V\n\nTagsFilter\x124\n\x04type\x18\x01 \x01(\x0e2 .viam.app.data.v1.TagsFilterTypeR\x04type\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags"\xc3\x04\n\x0fCaptureMetadata\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1f\n\x0blocation_id\x18\x02 \x01(\tR\nlocationId\x12\x1d\n\nrobot_name\x18\x03 \x01(\tR\trobotName\x12\x19\n\x08robot_id\x18\x04 \x01(\tR\x07robotId\x12\x1b\n\tpart_name\x18\x05 \x01(\tR\x08partName\x12\x17\n\x07part_id\x18\x06 \x01(\tR\x06partId\x12%\n\x0ecomponent_type\x18\x07 \x01(\tR\rcomponentType\x12%\n\x0ecomponent_name\x18\t \x01(\tR\rcomponentName\x12\x1f\n\x0bmethod_name\x18\n \x01(\tR\nmethodName\x12d\n\x11method_parameters\x18\x0b \x03(\x0b27.viam.app.data.v1.CaptureMetadata.MethodParametersEntryR\x10methodParameters\x12\x12\n\x04tags\x18\x0c \x03(\tR\x04tags\x12\x1b\n\tmime_type\x18\r \x01(\tR\x08mimeType\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\x08\x10\tR\x0fcomponent_model"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"\xb5\x01\n\x1aTabularDataByFilterRequest\x12@\n\x0cdata_request\x18\x01 \x01(\x0b2\x1d.viam.app.data.v1.DataRequestR\x0bdataRequest\x12\x1d\n\ncount_only\x18\x02 \x01(\x08R\tcountOnly\x122\n\x15include_internal_data\x18\x03 \x01(\x08R\x13includeInternalData:\x02\x18\x01"\xe7\x01\n\x1bTabularDataByFilterResponse\x12=\n\x08metadata\x18\x01 \x03(\x0b2!.viam.app.data.v1.CaptureMetadataR\x08metadata\x121\n\x04data\x18\x02 \x03(\x0b2\x1d.viam.app.data.v1.TabularDataR\x04data\x12\x14\n\x05count\x18\x03 \x01(\x04R\x05count\x12\x12\n\x04last\x18\x04 \x01(\tR\x04last\x12(\n\x10total_size_bytes\x18\x05 \x01(\x04R\x0etotalSizeBytes:\x02\x18\x01"\xe9\x01\n\x0bTabularData\x12+\n\x04data\x18\x01 \x01(\x0b2\x17.google.protobuf.StructR\x04data\x12%\n\x0emetadata_index\x18\x02 \x01(\rR\rmetadataIndex\x12A\n\x0etime_requested\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\rtimeRequested\x12?\n\rtime_received\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0ctimeReceived:\x02\x18\x01"_\n\x17TabularDataBySQLRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1b\n\tsql_query\x18\x02 \x01(\tR\x08sqlQuery"A\n\x18TabularDataBySQLResponse\x12\x19\n\x08raw_data\x18\x02 \x03(\x0cR\x07rawDataJ\x04\x08\x01\x10\x02R\x04data"\x86\x01\n\x11TabularDataSource\x12;\n\x04type\x18\x01 \x01(\x0e2\'.viam.app.data.v1.TabularDataSourceTypeR\x04type\x12$\n\x0bpipeline_id\x18\x02 \x01(\tH\x00R\npipelineId\x88\x01\x01B\x0e\n\x0c_pipeline_id"\xee\x02\n\x17TabularDataByMQLRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1d\n\nmql_binary\x18\x03 \x03(\x0cR\tmqlBinary\x12+\n\x0fuse_recent_data\x18\x04 \x01(\x08H\x00R\ruseRecentData\x88\x01\x01\x12I\n\x0bdata_source\x18\x06 \x01(\x0b2#.viam.app.data.v1.TabularDataSourceH\x01R\ndataSource\x88\x01\x01\x12/\n\x11query_prefix_name\x18\x07 \x01(\tH\x02R\x0fqueryPrefixName\x88\x01\x01B\x12\n\x10_use_recent_dataB\x0e\n\x0c_data_sourceB\x14\n\x12_query_prefix_nameJ\x04\x08\x02\x10\x03J\x04\x08\x05\x10\x06R\tmql_queryR\x11use_data_pipeline"A\n\x18TabularDataByMQLResponse\x12\x19\n\x08raw_data\x18\x02 \x03(\x0cR\x07rawDataJ\x04\x08\x01\x10\x02R\x04data"\xd0\x02\n\x18ExportTabularDataRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId\x12#\n\rresource_name\x18\x02 \x01(\tR\x0cresourceName\x12)\n\x10resource_subtype\x18\x03 \x01(\tR\x0fresourceSubtype\x12\x1f\n\x0bmethod_name\x18\x04 \x01(\tR\nmethodName\x12=\n\x08interval\x18\x05 \x01(\x0b2!.viam.app.data.v1.CaptureIntervalR\x08interval\x12Q\n\x15additional_parameters\x18\x06 \x01(\x0b2\x17.google.protobuf.StructH\x00R\x14additionalParameters\x88\x01\x01B\x18\n\x16_additional_parameters"\x94\x04\n\x19ExportTabularDataResponse\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId\x12#\n\rresource_name\x18\x02 \x01(\tR\x0cresourceName\x12)\n\x10resource_subtype\x18\x03 \x01(\tR\x0fresourceSubtype\x12\x1f\n\x0bmethod_name\x18\x04 \x01(\tR\nmethodName\x12?\n\rtime_captured\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0ctimeCaptured\x12\'\n\x0forganization_id\x18\x06 \x01(\tR\x0eorganizationId\x12\x1f\n\x0blocation_id\x18\x07 \x01(\tR\nlocationId\x12\x1d\n\nrobot_name\x18\x08 \x01(\tR\trobotName\x12\x19\n\x08robot_id\x18\t \x01(\tR\x07robotId\x12\x1b\n\tpart_name\x18\n \x01(\tR\x08partName\x12D\n\x11method_parameters\x18\x0b \x01(\x0b2\x17.google.protobuf.StructR\x10methodParameters\x12\x12\n\x04tags\x18\x0c \x03(\tR\x04tags\x121\n\x07payload\x18\r \x01(\x0b2\x17.google.protobuf.StructR\x07payload"\x94\x02\n\x1bGetLatestTabularDataRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId\x12#\n\rresource_name\x18\x02 \x01(\tR\x0cresourceName\x12\x1f\n\x0bmethod_name\x18\x03 \x01(\tR\nmethodName\x12)\n\x10resource_subtype\x18\x04 \x01(\tR\x0fresourceSubtype\x12Q\n\x15additional_parameters\x18\x05 \x01(\x0b2\x17.google.protobuf.StructH\x00R\x14additionalParameters\x88\x01\x01B\x18\n\x16_additional_parameters"\xcf\x01\n\x1cGetLatestTabularDataResponse\x12?\n\rtime_captured\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0ctimeCaptured\x12;\n\x0btime_synced\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\ntimeSynced\x121\n\x07payload\x18\x03 \x01(\x0b2\x17.google.protobuf.StructR\x07payload"b\n\nBinaryData\x12\x16\n\x06binary\x18\x01 \x01(\x0cR\x06binary\x12<\n\x08metadata\x18\x02 \x01(\x0b2 .viam.app.data.v1.BinaryMetadataR\x08metadata"\xd7\x01\n\x19BinaryDataByFilterRequest\x12@\n\x0cdata_request\x18\x01 \x01(\x0b2\x1d.viam.app.data.v1.DataRequestR\x0bdataRequest\x12%\n\x0einclude_binary\x18\x02 \x01(\x08R\rincludeBinary\x12\x1d\n\ncount_only\x18\x03 \x01(\x08R\tcountOnly\x122\n\x15include_internal_data\x18\x04 \x01(\x08R\x13includeInternalData"\xa2\x01\n\x1aBinaryDataByFilterResponse\x120\n\x04data\x18\x01 \x03(\x0b2\x1c.viam.app.data.v1.BinaryDataR\x04data\x12\x14\n\x05count\x18\x02 \x01(\x04R\x05count\x12\x12\n\x04last\x18\x03 \x01(\tR\x04last\x12(\n\x10total_size_bytes\x18\x04 \x01(\x04R\x0etotalSizeBytes"q\n\x08BinaryID\x12\x17\n\x07file_id\x18\x01 \x01(\tR\x06fileId\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12\x1f\n\x0blocation_id\x18\x03 \x01(\tR\nlocationId:\x02\x18\x01"\xb6\x01\n\x16BinaryDataByIDsRequest\x12%\n\x0einclude_binary\x18\x02 \x01(\x08R\rincludeBinary\x12=\n\nbinary_ids\x18\x03 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\tbinaryIds\x12&\n\x0fbinary_data_ids\x18\x04 \x03(\tR\rbinaryDataIdsJ\x04\x08\x01\x10\x02R\x08file_ids"a\n\x17BinaryDataByIDsResponse\x120\n\x04data\x18\x01 \x03(\x0b2\x1c.viam.app.data.v1.BinaryDataR\x04data\x12\x14\n\x05count\x18\x02 \x01(\x04R\x05count"\x8f\x02\n\x0bBoundingBox\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05label\x18\x02 \x01(\tR\x05label\x12(\n\x10x_min_normalized\x18\x03 \x01(\x01R\x0exMinNormalized\x12(\n\x10y_min_normalized\x18\x04 \x01(\x01R\x0eyMinNormalized\x12(\n\x10x_max_normalized\x18\x05 \x01(\x01R\x0exMaxNormalized\x12(\n\x10y_max_normalized\x18\x06 \x01(\x01R\x0eyMaxNormalized\x12#\n\nconfidence\x18\x07 \x01(\x01H\x00R\nconfidence\x88\x01\x01B\r\n\x0b_confidence"j\n\x0eClassification\x12\x0e\n\x02id\x18\x03 \x01(\tR\x02id\x12\x14\n\x05label\x18\x01 \x01(\tR\x05label\x12#\n\nconfidence\x18\x02 \x01(\x01H\x00R\nconfidence\x88\x01\x01B\r\n\x0b_confidence"\x90\x01\n\x0bAnnotations\x125\n\x06bboxes\x18\x01 \x03(\x0b2\x1d.viam.app.data.v1.BoundingBoxR\x06bboxes\x12J\n\x0fclassifications\x18\x02 \x03(\x0b2 .viam.app.data.v1.ClassificationR\x0fclassifications"\xc8\x03\n\x0eBinaryMetadata\x12\x12\n\x02id\x18\x01 \x01(\tB\x02\x18\x01R\x02id\x12L\n\x10capture_metadata\x18\x02 \x01(\x0b2!.viam.app.data.v1.CaptureMetadataR\x0fcaptureMetadata\x12A\n\x0etime_requested\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\rtimeRequested\x12?\n\rtime_received\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampR\x0ctimeReceived\x12\x1b\n\tfile_name\x18\x05 \x01(\tR\x08fileName\x12\x19\n\x08file_ext\x18\x06 \x01(\tR\x07fileExt\x12\x10\n\x03uri\x18\x07 \x01(\tR\x03uri\x12?\n\x0bannotations\x18\x08 \x01(\x0b2\x1d.viam.app.data.v1.AnnotationsR\x0bannotations\x12\x1f\n\x0bdataset_ids\x18\t \x03(\tR\ndatasetIds\x12$\n\x0ebinary_data_id\x18\n \x01(\tR\x0cbinaryDataId"x\n\x18DeleteTabularDataRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x123\n\x16delete_older_than_days\x18\x02 \x01(\rR\x13deleteOlderThanDays"@\n\x19DeleteTabularDataResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount"\x87\x01\n\x1fDeleteBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x122\n\x15include_internal_data\x18\x02 \x01(\x08R\x13includeInternalData"U\n DeleteBinaryDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"\x95\x01\n\x1cDeleteBinaryDataByIDsRequest\x12=\n\nbinary_ids\x18\x02 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\tbinaryIds\x12&\n\x0fbinary_data_ids\x18\x03 \x03(\tR\rbinaryDataIdsJ\x04\x08\x01\x10\x02R\x08file_ids"R\n\x1dDeleteBinaryDataByIDsResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"\xac\x01\n\x1fAddTagsToBinaryDataByIDsRequest\x12=\n\nbinary_ids\x18\x03 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\tbinaryIds\x12&\n\x0fbinary_data_ids\x18\x04 \x03(\tR\rbinaryDataIds\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tagsJ\x04\x08\x01\x10\x02R\x08file_ids""\n AddTagsToBinaryDataByIDsResponse"n\n"AddTagsToBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags:\x02\x18\x01")\n#AddTagsToBinaryDataByFilterResponse:\x02\x18\x01"\xb1\x01\n$RemoveTagsFromBinaryDataByIDsRequest\x12=\n\nbinary_ids\x18\x03 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\tbinaryIds\x12&\n\x0fbinary_data_ids\x18\x04 \x03(\tR\rbinaryDataIds\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tagsJ\x04\x08\x01\x10\x02R\x08file_ids"L\n%RemoveTagsFromBinaryDataByIDsResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount"s\n\'RemoveTagsFromBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags:\x02\x18\x01"S\n(RemoveTagsFromBinaryDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount:\x02\x18\x01"K\n\x13TagsByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter:\x02\x18\x01".\n\x14TagsByFilterResponse\x12\x12\n\x04tags\x18\x01 \x03(\tR\x04tags:\x02\x18\x01"\xd2\x02\n AddBoundingBoxToImageByIDRequest\x12;\n\tbinary_id\x18\x07 \x01(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\x08binaryId\x12$\n\x0ebinary_data_id\x18\x08 \x01(\tR\x0cbinaryDataId\x12\x14\n\x05label\x18\x02 \x01(\tR\x05label\x12(\n\x10x_min_normalized\x18\x03 \x01(\x01R\x0exMinNormalized\x12(\n\x10y_min_normalized\x18\x04 \x01(\x01R\x0eyMinNormalized\x12(\n\x10x_max_normalized\x18\x05 \x01(\x01R\x0exMaxNormalized\x12(\n\x10y_max_normalized\x18\x06 \x01(\x01R\x0eyMaxNormalizedJ\x04\x08\x01\x10\x02R\x07file_id"<\n!AddBoundingBoxToImageByIDResponse\x12\x17\n\x07bbox_id\x18\x01 \x01(\tR\x06bboxId"\xb2\x01\n%RemoveBoundingBoxFromImageByIDRequest\x12;\n\tbinary_id\x18\x03 \x01(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\x08binaryId\x12$\n\x0ebinary_data_id\x18\x04 \x01(\tR\x0cbinaryDataId\x12\x17\n\x07bbox_id\x18\x02 \x01(\tR\x06bboxIdJ\x04\x08\x01\x10\x02R\x07file_id"(\n&RemoveBoundingBoxFromImageByIDResponse"\xcb\x03\n\x18UpdateBoundingBoxRequest\x12;\n\tbinary_id\x18\x01 \x01(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\x08binaryId\x12$\n\x0ebinary_data_id\x18\x08 \x01(\tR\x0cbinaryDataId\x12\x17\n\x07bbox_id\x18\x02 \x01(\tR\x06bboxId\x12\x19\n\x05label\x18\x03 \x01(\tH\x00R\x05label\x88\x01\x01\x12-\n\x10x_min_normalized\x18\x04 \x01(\x01H\x01R\x0exMinNormalized\x88\x01\x01\x12-\n\x10y_min_normalized\x18\x05 \x01(\x01H\x02R\x0eyMinNormalized\x88\x01\x01\x12-\n\x10x_max_normalized\x18\x06 \x01(\x01H\x03R\x0exMaxNormalized\x88\x01\x01\x12-\n\x10y_max_normalized\x18\x07 \x01(\x01H\x04R\x0eyMaxNormalized\x88\x01\x01B\x08\n\x06_labelB\x13\n\x11_x_min_normalizedB\x13\n\x11_y_min_normalizedB\x13\n\x11_x_max_normalizedB\x13\n\x11_y_max_normalized"\x1b\n\x19UpdateBoundingBoxResponse"X\n BoundingBoxLabelsByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter:\x02\x18\x01"?\n!BoundingBoxLabelsByFilterResponse\x12\x16\n\x06labels\x18\x01 \x03(\tR\x06labels:\x02\x18\x01"c\n\x1cConfigureDatabaseUserRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1a\n\x08password\x18\x02 \x01(\tR\x08password"\x1f\n\x1dConfigureDatabaseUserResponse"G\n\x1cGetDatabaseConnectionRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"\x88\x01\n\x1dGetDatabaseConnectionResponse\x12\x1a\n\x08hostname\x18\x01 \x01(\tR\x08hostname\x12\x1f\n\x0bmongodb_uri\x18\x02 \x01(\tR\nmongodbUri\x12*\n\x11has_database_user\x18\x03 \x01(\x08R\x0fhasDatabaseUser"\xaa\x01\n"AddBinaryDataToDatasetByIDsRequest\x12=\n\nbinary_ids\x18\x01 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\tbinaryIds\x12&\n\x0fbinary_data_ids\x18\x03 \x03(\tR\rbinaryDataIds\x12\x1d\n\ndataset_id\x18\x02 \x01(\tR\tdatasetId"%\n#AddBinaryDataToDatasetByIDsResponse"\xaf\x01\n\'RemoveBinaryDataFromDatasetByIDsRequest\x12=\n\nbinary_ids\x18\x01 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDB\x02\x18\x01R\tbinaryIds\x12&\n\x0fbinary_data_ids\x18\x03 \x03(\tR\rbinaryDataIds\x12\x1d\n\ndataset_id\x18\x02 \x01(\tR\tdatasetId"*\n(RemoveBinaryDataFromDatasetByIDsResponse"\xe8\x01\n\x12CreateIndexRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12N\n\x0fcollection_type\x18\x02 \x01(\x0e2%.viam.app.data.v1.IndexableCollectionR\x0ecollectionType\x12(\n\rpipeline_name\x18\x03 \x01(\tH\x00R\x0cpipelineName\x88\x01\x01\x12\x1d\n\nindex_spec\x18\x04 \x03(\x0cR\tindexSpecB\x10\n\x0e_pipeline_name"\x15\n\x13CreateIndexResponse"\xe8\x01\n\x12DeleteIndexRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12N\n\x0fcollection_type\x18\x02 \x01(\x0e2%.viam.app.data.v1.IndexableCollectionR\x0ecollectionType\x12(\n\rpipeline_name\x18\x03 \x01(\tH\x00R\x0cpipelineName\x88\x01\x01\x12\x1d\n\nindex_name\x18\x04 \x01(\tR\tindexNameB\x10\n\x0e_pipeline_name"\x15\n\x13DeleteIndexResponse"\xc9\x01\n\x12ListIndexesRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12N\n\x0fcollection_type\x18\x02 \x01(\x0e2%.viam.app.data.v1.IndexableCollectionR\x0ecollectionType\x12(\n\rpipeline_name\x18\x03 \x01(\tH\x00R\x0cpipelineName\x88\x01\x01B\x10\n\x0e_pipeline_name"H\n\x13ListIndexesResponse\x121\n\x07indexes\x18\x01 \x03(\x0b2\x17.viam.app.data.v1.IndexR\x07indexes"\x90\x02\n\x05Index\x12N\n\x0fcollection_type\x18\x01 \x01(\x0e2%.viam.app.data.v1.IndexableCollectionR\x0ecollectionType\x12(\n\rpipeline_name\x18\x02 \x01(\tH\x00R\x0cpipelineName\x88\x01\x01\x12\x1d\n\nindex_name\x18\x03 \x01(\tR\tindexName\x12\x1d\n\nindex_spec\x18\x04 \x03(\x0cR\tindexSpec\x12=\n\ncreated_by\x18\x05 \x01(\x0e2\x1e.viam.app.data.v1.IndexCreatorR\tcreatedByB\x10\n\x0e_pipeline_name*I\n\x05Order\x12\x15\n\x11ORDER_UNSPECIFIED\x10\x00\x12\x14\n\x10ORDER_DESCENDING\x10\x01\x12\x13\n\x0fORDER_ASCENDING\x10\x02*\x90\x01\n\x0eTagsFilterType\x12 \n\x1cTAGS_FILTER_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1cTAGS_FILTER_TYPE_MATCH_BY_OR\x10\x01\x12\x1b\n\x17TAGS_FILTER_TYPE_TAGGED\x10\x02\x12\x1d\n\x19TAGS_FILTER_TYPE_UNTAGGED\x10\x03*\xbe\x01\n\x15TabularDataSourceType\x12(\n$TABULAR_DATA_SOURCE_TYPE_UNSPECIFIED\x10\x00\x12%\n!TABULAR_DATA_SOURCE_TYPE_STANDARD\x10\x01\x12(\n$TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE\x10\x02\x12*\n&TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK\x10\x03*\x87\x01\n\x13IndexableCollection\x12$\n INDEXABLE_COLLECTION_UNSPECIFIED\x10\x00\x12"\n\x1eINDEXABLE_COLLECTION_HOT_STORE\x10\x01\x12&\n"INDEXABLE_COLLECTION_PIPELINE_SINK\x10\x02*a\n\x0cIndexCreator\x12\x1d\n\x19INDEX_CREATOR_UNSPECIFIED\x10\x00\x12\x16\n\x12INDEX_CREATOR_VIAM\x10\x01\x12\x1a\n\x16INDEX_CREATOR_CUSTOMER\x10\x022\xfe\x18\n\x0bDataService\x12w\n\x13TabularDataByFilter\x12,.viam.app.data.v1.TabularDataByFilterRequest\x1a-.viam.app.data.v1.TabularDataByFilterResponse"\x03\x88\x02\x01\x12i\n\x10TabularDataBySQL\x12).viam.app.data.v1.TabularDataBySQLRequest\x1a*.viam.app.data.v1.TabularDataBySQLResponse\x12i\n\x10TabularDataByMQL\x12).viam.app.data.v1.TabularDataByMQLRequest\x1a*.viam.app.data.v1.TabularDataByMQLResponse\x12n\n\x11ExportTabularData\x12*.viam.app.data.v1.ExportTabularDataRequest\x1a+.viam.app.data.v1.ExportTabularDataResponse0\x01\x12u\n\x14GetLatestTabularData\x12-.viam.app.data.v1.GetLatestTabularDataRequest\x1a..viam.app.data.v1.GetLatestTabularDataResponse\x12o\n\x12BinaryDataByFilter\x12+.viam.app.data.v1.BinaryDataByFilterRequest\x1a,.viam.app.data.v1.BinaryDataByFilterResponse\x12f\n\x0fBinaryDataByIDs\x12(.viam.app.data.v1.BinaryDataByIDsRequest\x1a).viam.app.data.v1.BinaryDataByIDsResponse\x12l\n\x11DeleteTabularData\x12*.viam.app.data.v1.DeleteTabularDataRequest\x1a+.viam.app.data.v1.DeleteTabularDataResponse\x12\x81\x01\n\x18DeleteBinaryDataByFilter\x121.viam.app.data.v1.DeleteBinaryDataByFilterRequest\x1a2.viam.app.data.v1.DeleteBinaryDataByFilterResponse\x12x\n\x15DeleteBinaryDataByIDs\x12..viam.app.data.v1.DeleteBinaryDataByIDsRequest\x1a/.viam.app.data.v1.DeleteBinaryDataByIDsResponse\x12\x81\x01\n\x18AddTagsToBinaryDataByIDs\x121.viam.app.data.v1.AddTagsToBinaryDataByIDsRequest\x1a2.viam.app.data.v1.AddTagsToBinaryDataByIDsResponse\x12\x8f\x01\n\x1bAddTagsToBinaryDataByFilter\x124.viam.app.data.v1.AddTagsToBinaryDataByFilterRequest\x1a5.viam.app.data.v1.AddTagsToBinaryDataByFilterResponse"\x03\x88\x02\x01\x12\x90\x01\n\x1dRemoveTagsFromBinaryDataByIDs\x126.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsRequest\x1a7.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsResponse\x12\x9e\x01\n RemoveTagsFromBinaryDataByFilter\x129.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterRequest\x1a:.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterResponse"\x03\x88\x02\x01\x12b\n\x0cTagsByFilter\x12%.viam.app.data.v1.TagsByFilterRequest\x1a&.viam.app.data.v1.TagsByFilterResponse"\x03\x88\x02\x01\x12\x84\x01\n\x19AddBoundingBoxToImageByID\x122.viam.app.data.v1.AddBoundingBoxToImageByIDRequest\x1a3.viam.app.data.v1.AddBoundingBoxToImageByIDResponse\x12\x93\x01\n\x1eRemoveBoundingBoxFromImageByID\x127.viam.app.data.v1.RemoveBoundingBoxFromImageByIDRequest\x1a8.viam.app.data.v1.RemoveBoundingBoxFromImageByIDResponse\x12\x89\x01\n\x19BoundingBoxLabelsByFilter\x122.viam.app.data.v1.BoundingBoxLabelsByFilterRequest\x1a3.viam.app.data.v1.BoundingBoxLabelsByFilterResponse"\x03\x88\x02\x01\x12l\n\x11UpdateBoundingBox\x12*.viam.app.data.v1.UpdateBoundingBoxRequest\x1a+.viam.app.data.v1.UpdateBoundingBoxResponse\x12x\n\x15GetDatabaseConnection\x12..viam.app.data.v1.GetDatabaseConnectionRequest\x1a/.viam.app.data.v1.GetDatabaseConnectionResponse\x12x\n\x15ConfigureDatabaseUser\x12..viam.app.data.v1.ConfigureDatabaseUserRequest\x1a/.viam.app.data.v1.ConfigureDatabaseUserResponse\x12\x8a\x01\n\x1bAddBinaryDataToDatasetByIDs\x124.viam.app.data.v1.AddBinaryDataToDatasetByIDsRequest\x1a5.viam.app.data.v1.AddBinaryDataToDatasetByIDsResponse\x12\x99\x01\n RemoveBinaryDataFromDatasetByIDs\x129.viam.app.data.v1.RemoveBinaryDataFromDatasetByIDsRequest\x1a:.viam.app.data.v1.RemoveBinaryDataFromDatasetByIDsResponse\x12Z\n\x0bCreateIndex\x12$.viam.app.data.v1.CreateIndexRequest\x1a%.viam.app.data.v1.CreateIndexResponse\x12Z\n\x0bListIndexes\x12$.viam.app.data.v1.ListIndexesRequest\x1a%.viam.app.data.v1.ListIndexesResponse\x12Z\n\x0bDeleteIndex\x12$.viam.app.data.v1.DeleteIndexRequest\x1a%.viam.app.data.v1.DeleteIndexResponseB\x1dZ\x1bgo.viam.com/api/app/data/v1b\x06proto3')
|
|
13
13
|
_globals = globals()
|
|
14
14
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
15
15
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.data.v1.data_pb2', _globals)
|
|
@@ -72,12 +72,16 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
72
72
|
_globals['_DATASERVICE'].methods_by_name['TagsByFilter']._serialized_options = b'\x88\x02\x01'
|
|
73
73
|
_globals['_DATASERVICE'].methods_by_name['BoundingBoxLabelsByFilter']._loaded_options = None
|
|
74
74
|
_globals['_DATASERVICE'].methods_by_name['BoundingBoxLabelsByFilter']._serialized_options = b'\x88\x02\x01'
|
|
75
|
-
_globals['_ORDER']._serialized_start =
|
|
76
|
-
_globals['_ORDER']._serialized_end =
|
|
77
|
-
_globals['_TAGSFILTERTYPE']._serialized_start =
|
|
78
|
-
_globals['_TAGSFILTERTYPE']._serialized_end =
|
|
79
|
-
_globals['_TABULARDATASOURCETYPE']._serialized_start =
|
|
80
|
-
_globals['_TABULARDATASOURCETYPE']._serialized_end =
|
|
75
|
+
_globals['_ORDER']._serialized_start = 10985
|
|
76
|
+
_globals['_ORDER']._serialized_end = 11058
|
|
77
|
+
_globals['_TAGSFILTERTYPE']._serialized_start = 11061
|
|
78
|
+
_globals['_TAGSFILTERTYPE']._serialized_end = 11205
|
|
79
|
+
_globals['_TABULARDATASOURCETYPE']._serialized_start = 11208
|
|
80
|
+
_globals['_TABULARDATASOURCETYPE']._serialized_end = 11398
|
|
81
|
+
_globals['_INDEXABLECOLLECTION']._serialized_start = 11401
|
|
82
|
+
_globals['_INDEXABLECOLLECTION']._serialized_end = 11536
|
|
83
|
+
_globals['_INDEXCREATOR']._serialized_start = 11538
|
|
84
|
+
_globals['_INDEXCREATOR']._serialized_end = 11635
|
|
81
85
|
_globals['_DATAREQUEST']._serialized_start = 135
|
|
82
86
|
_globals['_DATAREQUEST']._serialized_end = 296
|
|
83
87
|
_globals['_FILTER']._serialized_start = 299
|
|
@@ -103,100 +107,114 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
103
107
|
_globals['_TABULARDATASOURCE']._serialized_start = 2459
|
|
104
108
|
_globals['_TABULARDATASOURCE']._serialized_end = 2593
|
|
105
109
|
_globals['_TABULARDATABYMQLREQUEST']._serialized_start = 2596
|
|
106
|
-
_globals['_TABULARDATABYMQLREQUEST']._serialized_end =
|
|
107
|
-
_globals['_TABULARDATABYMQLRESPONSE']._serialized_start =
|
|
108
|
-
_globals['_TABULARDATABYMQLRESPONSE']._serialized_end =
|
|
109
|
-
_globals['_EXPORTTABULARDATAREQUEST']._serialized_start =
|
|
110
|
-
_globals['_EXPORTTABULARDATAREQUEST']._serialized_end =
|
|
111
|
-
_globals['_EXPORTTABULARDATARESPONSE']._serialized_start =
|
|
112
|
-
_globals['_EXPORTTABULARDATARESPONSE']._serialized_end =
|
|
113
|
-
_globals['_GETLATESTTABULARDATAREQUEST']._serialized_start =
|
|
114
|
-
_globals['_GETLATESTTABULARDATAREQUEST']._serialized_end =
|
|
115
|
-
_globals['_GETLATESTTABULARDATARESPONSE']._serialized_start =
|
|
116
|
-
_globals['_GETLATESTTABULARDATARESPONSE']._serialized_end =
|
|
117
|
-
_globals['_BINARYDATA']._serialized_start =
|
|
118
|
-
_globals['_BINARYDATA']._serialized_end =
|
|
119
|
-
_globals['_BINARYDATABYFILTERREQUEST']._serialized_start =
|
|
120
|
-
_globals['_BINARYDATABYFILTERREQUEST']._serialized_end =
|
|
121
|
-
_globals['_BINARYDATABYFILTERRESPONSE']._serialized_start =
|
|
122
|
-
_globals['_BINARYDATABYFILTERRESPONSE']._serialized_end =
|
|
123
|
-
_globals['_BINARYID']._serialized_start =
|
|
124
|
-
_globals['_BINARYID']._serialized_end =
|
|
125
|
-
_globals['_BINARYDATABYIDSREQUEST']._serialized_start =
|
|
126
|
-
_globals['_BINARYDATABYIDSREQUEST']._serialized_end =
|
|
127
|
-
_globals['_BINARYDATABYIDSRESPONSE']._serialized_start =
|
|
128
|
-
_globals['_BINARYDATABYIDSRESPONSE']._serialized_end =
|
|
129
|
-
_globals['_BOUNDINGBOX']._serialized_start =
|
|
130
|
-
_globals['_BOUNDINGBOX']._serialized_end =
|
|
131
|
-
_globals['_CLASSIFICATION']._serialized_start =
|
|
132
|
-
_globals['_CLASSIFICATION']._serialized_end =
|
|
133
|
-
_globals['_ANNOTATIONS']._serialized_start =
|
|
134
|
-
_globals['_ANNOTATIONS']._serialized_end =
|
|
135
|
-
_globals['_BINARYMETADATA']._serialized_start =
|
|
136
|
-
_globals['_BINARYMETADATA']._serialized_end =
|
|
137
|
-
_globals['_DELETETABULARDATAREQUEST']._serialized_start =
|
|
138
|
-
_globals['_DELETETABULARDATAREQUEST']._serialized_end =
|
|
139
|
-
_globals['_DELETETABULARDATARESPONSE']._serialized_start =
|
|
140
|
-
_globals['_DELETETABULARDATARESPONSE']._serialized_end =
|
|
141
|
-
_globals['_DELETEBINARYDATABYFILTERREQUEST']._serialized_start =
|
|
142
|
-
_globals['_DELETEBINARYDATABYFILTERREQUEST']._serialized_end =
|
|
143
|
-
_globals['_DELETEBINARYDATABYFILTERRESPONSE']._serialized_start =
|
|
144
|
-
_globals['_DELETEBINARYDATABYFILTERRESPONSE']._serialized_end =
|
|
145
|
-
_globals['_DELETEBINARYDATABYIDSREQUEST']._serialized_start =
|
|
146
|
-
_globals['_DELETEBINARYDATABYIDSREQUEST']._serialized_end =
|
|
147
|
-
_globals['_DELETEBINARYDATABYIDSRESPONSE']._serialized_start =
|
|
148
|
-
_globals['_DELETEBINARYDATABYIDSRESPONSE']._serialized_end =
|
|
149
|
-
_globals['_ADDTAGSTOBINARYDATABYIDSREQUEST']._serialized_start =
|
|
150
|
-
_globals['_ADDTAGSTOBINARYDATABYIDSREQUEST']._serialized_end =
|
|
151
|
-
_globals['_ADDTAGSTOBINARYDATABYIDSRESPONSE']._serialized_start =
|
|
152
|
-
_globals['_ADDTAGSTOBINARYDATABYIDSRESPONSE']._serialized_end =
|
|
153
|
-
_globals['_ADDTAGSTOBINARYDATABYFILTERREQUEST']._serialized_start =
|
|
154
|
-
_globals['_ADDTAGSTOBINARYDATABYFILTERREQUEST']._serialized_end =
|
|
155
|
-
_globals['_ADDTAGSTOBINARYDATABYFILTERRESPONSE']._serialized_start =
|
|
156
|
-
_globals['_ADDTAGSTOBINARYDATABYFILTERRESPONSE']._serialized_end =
|
|
157
|
-
_globals['_REMOVETAGSFROMBINARYDATABYIDSREQUEST']._serialized_start =
|
|
158
|
-
_globals['_REMOVETAGSFROMBINARYDATABYIDSREQUEST']._serialized_end =
|
|
159
|
-
_globals['_REMOVETAGSFROMBINARYDATABYIDSRESPONSE']._serialized_start =
|
|
160
|
-
_globals['_REMOVETAGSFROMBINARYDATABYIDSRESPONSE']._serialized_end =
|
|
161
|
-
_globals['_REMOVETAGSFROMBINARYDATABYFILTERREQUEST']._serialized_start =
|
|
162
|
-
_globals['_REMOVETAGSFROMBINARYDATABYFILTERREQUEST']._serialized_end =
|
|
163
|
-
_globals['_REMOVETAGSFROMBINARYDATABYFILTERRESPONSE']._serialized_start =
|
|
164
|
-
_globals['_REMOVETAGSFROMBINARYDATABYFILTERRESPONSE']._serialized_end =
|
|
165
|
-
_globals['_TAGSBYFILTERREQUEST']._serialized_start =
|
|
166
|
-
_globals['_TAGSBYFILTERREQUEST']._serialized_end =
|
|
167
|
-
_globals['_TAGSBYFILTERRESPONSE']._serialized_start =
|
|
168
|
-
_globals['_TAGSBYFILTERRESPONSE']._serialized_end =
|
|
169
|
-
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDREQUEST']._serialized_start =
|
|
170
|
-
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDREQUEST']._serialized_end =
|
|
171
|
-
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE']._serialized_start =
|
|
172
|
-
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE']._serialized_end =
|
|
173
|
-
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST']._serialized_start =
|
|
174
|
-
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST']._serialized_end =
|
|
175
|
-
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE']._serialized_start =
|
|
176
|
-
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE']._serialized_end =
|
|
177
|
-
_globals['_UPDATEBOUNDINGBOXREQUEST']._serialized_start =
|
|
178
|
-
_globals['_UPDATEBOUNDINGBOXREQUEST']._serialized_end =
|
|
179
|
-
_globals['_UPDATEBOUNDINGBOXRESPONSE']._serialized_start =
|
|
180
|
-
_globals['_UPDATEBOUNDINGBOXRESPONSE']._serialized_end =
|
|
181
|
-
_globals['_BOUNDINGBOXLABELSBYFILTERREQUEST']._serialized_start =
|
|
182
|
-
_globals['_BOUNDINGBOXLABELSBYFILTERREQUEST']._serialized_end =
|
|
183
|
-
_globals['_BOUNDINGBOXLABELSBYFILTERRESPONSE']._serialized_start =
|
|
184
|
-
_globals['_BOUNDINGBOXLABELSBYFILTERRESPONSE']._serialized_end =
|
|
185
|
-
_globals['_CONFIGUREDATABASEUSERREQUEST']._serialized_start =
|
|
186
|
-
_globals['_CONFIGUREDATABASEUSERREQUEST']._serialized_end =
|
|
187
|
-
_globals['_CONFIGUREDATABASEUSERRESPONSE']._serialized_start =
|
|
188
|
-
_globals['_CONFIGUREDATABASEUSERRESPONSE']._serialized_end =
|
|
189
|
-
_globals['_GETDATABASECONNECTIONREQUEST']._serialized_start =
|
|
190
|
-
_globals['_GETDATABASECONNECTIONREQUEST']._serialized_end =
|
|
191
|
-
_globals['_GETDATABASECONNECTIONRESPONSE']._serialized_start =
|
|
192
|
-
_globals['_GETDATABASECONNECTIONRESPONSE']._serialized_end =
|
|
193
|
-
_globals['_ADDBINARYDATATODATASETBYIDSREQUEST']._serialized_start =
|
|
194
|
-
_globals['_ADDBINARYDATATODATASETBYIDSREQUEST']._serialized_end =
|
|
195
|
-
_globals['_ADDBINARYDATATODATASETBYIDSRESPONSE']._serialized_start =
|
|
196
|
-
_globals['_ADDBINARYDATATODATASETBYIDSRESPONSE']._serialized_end =
|
|
197
|
-
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSREQUEST']._serialized_start =
|
|
198
|
-
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSREQUEST']._serialized_end =
|
|
199
|
-
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSRESPONSE']._serialized_start =
|
|
200
|
-
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSRESPONSE']._serialized_end =
|
|
201
|
-
_globals['
|
|
202
|
-
_globals['
|
|
110
|
+
_globals['_TABULARDATABYMQLREQUEST']._serialized_end = 2962
|
|
111
|
+
_globals['_TABULARDATABYMQLRESPONSE']._serialized_start = 2964
|
|
112
|
+
_globals['_TABULARDATABYMQLRESPONSE']._serialized_end = 3029
|
|
113
|
+
_globals['_EXPORTTABULARDATAREQUEST']._serialized_start = 3032
|
|
114
|
+
_globals['_EXPORTTABULARDATAREQUEST']._serialized_end = 3368
|
|
115
|
+
_globals['_EXPORTTABULARDATARESPONSE']._serialized_start = 3371
|
|
116
|
+
_globals['_EXPORTTABULARDATARESPONSE']._serialized_end = 3903
|
|
117
|
+
_globals['_GETLATESTTABULARDATAREQUEST']._serialized_start = 3906
|
|
118
|
+
_globals['_GETLATESTTABULARDATAREQUEST']._serialized_end = 4182
|
|
119
|
+
_globals['_GETLATESTTABULARDATARESPONSE']._serialized_start = 4185
|
|
120
|
+
_globals['_GETLATESTTABULARDATARESPONSE']._serialized_end = 4392
|
|
121
|
+
_globals['_BINARYDATA']._serialized_start = 4394
|
|
122
|
+
_globals['_BINARYDATA']._serialized_end = 4492
|
|
123
|
+
_globals['_BINARYDATABYFILTERREQUEST']._serialized_start = 4495
|
|
124
|
+
_globals['_BINARYDATABYFILTERREQUEST']._serialized_end = 4710
|
|
125
|
+
_globals['_BINARYDATABYFILTERRESPONSE']._serialized_start = 4713
|
|
126
|
+
_globals['_BINARYDATABYFILTERRESPONSE']._serialized_end = 4875
|
|
127
|
+
_globals['_BINARYID']._serialized_start = 4877
|
|
128
|
+
_globals['_BINARYID']._serialized_end = 4990
|
|
129
|
+
_globals['_BINARYDATABYIDSREQUEST']._serialized_start = 4993
|
|
130
|
+
_globals['_BINARYDATABYIDSREQUEST']._serialized_end = 5175
|
|
131
|
+
_globals['_BINARYDATABYIDSRESPONSE']._serialized_start = 5177
|
|
132
|
+
_globals['_BINARYDATABYIDSRESPONSE']._serialized_end = 5274
|
|
133
|
+
_globals['_BOUNDINGBOX']._serialized_start = 5277
|
|
134
|
+
_globals['_BOUNDINGBOX']._serialized_end = 5548
|
|
135
|
+
_globals['_CLASSIFICATION']._serialized_start = 5550
|
|
136
|
+
_globals['_CLASSIFICATION']._serialized_end = 5656
|
|
137
|
+
_globals['_ANNOTATIONS']._serialized_start = 5659
|
|
138
|
+
_globals['_ANNOTATIONS']._serialized_end = 5803
|
|
139
|
+
_globals['_BINARYMETADATA']._serialized_start = 5806
|
|
140
|
+
_globals['_BINARYMETADATA']._serialized_end = 6262
|
|
141
|
+
_globals['_DELETETABULARDATAREQUEST']._serialized_start = 6264
|
|
142
|
+
_globals['_DELETETABULARDATAREQUEST']._serialized_end = 6384
|
|
143
|
+
_globals['_DELETETABULARDATARESPONSE']._serialized_start = 6386
|
|
144
|
+
_globals['_DELETETABULARDATARESPONSE']._serialized_end = 6450
|
|
145
|
+
_globals['_DELETEBINARYDATABYFILTERREQUEST']._serialized_start = 6453
|
|
146
|
+
_globals['_DELETEBINARYDATABYFILTERREQUEST']._serialized_end = 6588
|
|
147
|
+
_globals['_DELETEBINARYDATABYFILTERRESPONSE']._serialized_start = 6590
|
|
148
|
+
_globals['_DELETEBINARYDATABYFILTERRESPONSE']._serialized_end = 6675
|
|
149
|
+
_globals['_DELETEBINARYDATABYIDSREQUEST']._serialized_start = 6678
|
|
150
|
+
_globals['_DELETEBINARYDATABYIDSREQUEST']._serialized_end = 6827
|
|
151
|
+
_globals['_DELETEBINARYDATABYIDSRESPONSE']._serialized_start = 6829
|
|
152
|
+
_globals['_DELETEBINARYDATABYIDSRESPONSE']._serialized_end = 6911
|
|
153
|
+
_globals['_ADDTAGSTOBINARYDATABYIDSREQUEST']._serialized_start = 6914
|
|
154
|
+
_globals['_ADDTAGSTOBINARYDATABYIDSREQUEST']._serialized_end = 7086
|
|
155
|
+
_globals['_ADDTAGSTOBINARYDATABYIDSRESPONSE']._serialized_start = 7088
|
|
156
|
+
_globals['_ADDTAGSTOBINARYDATABYIDSRESPONSE']._serialized_end = 7122
|
|
157
|
+
_globals['_ADDTAGSTOBINARYDATABYFILTERREQUEST']._serialized_start = 7124
|
|
158
|
+
_globals['_ADDTAGSTOBINARYDATABYFILTERREQUEST']._serialized_end = 7234
|
|
159
|
+
_globals['_ADDTAGSTOBINARYDATABYFILTERRESPONSE']._serialized_start = 7236
|
|
160
|
+
_globals['_ADDTAGSTOBINARYDATABYFILTERRESPONSE']._serialized_end = 7277
|
|
161
|
+
_globals['_REMOVETAGSFROMBINARYDATABYIDSREQUEST']._serialized_start = 7280
|
|
162
|
+
_globals['_REMOVETAGSFROMBINARYDATABYIDSREQUEST']._serialized_end = 7457
|
|
163
|
+
_globals['_REMOVETAGSFROMBINARYDATABYIDSRESPONSE']._serialized_start = 7459
|
|
164
|
+
_globals['_REMOVETAGSFROMBINARYDATABYIDSRESPONSE']._serialized_end = 7535
|
|
165
|
+
_globals['_REMOVETAGSFROMBINARYDATABYFILTERREQUEST']._serialized_start = 7537
|
|
166
|
+
_globals['_REMOVETAGSFROMBINARYDATABYFILTERREQUEST']._serialized_end = 7652
|
|
167
|
+
_globals['_REMOVETAGSFROMBINARYDATABYFILTERRESPONSE']._serialized_start = 7654
|
|
168
|
+
_globals['_REMOVETAGSFROMBINARYDATABYFILTERRESPONSE']._serialized_end = 7737
|
|
169
|
+
_globals['_TAGSBYFILTERREQUEST']._serialized_start = 7739
|
|
170
|
+
_globals['_TAGSBYFILTERREQUEST']._serialized_end = 7814
|
|
171
|
+
_globals['_TAGSBYFILTERRESPONSE']._serialized_start = 7816
|
|
172
|
+
_globals['_TAGSBYFILTERRESPONSE']._serialized_end = 7862
|
|
173
|
+
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDREQUEST']._serialized_start = 7865
|
|
174
|
+
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDREQUEST']._serialized_end = 8203
|
|
175
|
+
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE']._serialized_start = 8205
|
|
176
|
+
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE']._serialized_end = 8265
|
|
177
|
+
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST']._serialized_start = 8268
|
|
178
|
+
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST']._serialized_end = 8446
|
|
179
|
+
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE']._serialized_start = 8448
|
|
180
|
+
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE']._serialized_end = 8488
|
|
181
|
+
_globals['_UPDATEBOUNDINGBOXREQUEST']._serialized_start = 8491
|
|
182
|
+
_globals['_UPDATEBOUNDINGBOXREQUEST']._serialized_end = 8950
|
|
183
|
+
_globals['_UPDATEBOUNDINGBOXRESPONSE']._serialized_start = 8952
|
|
184
|
+
_globals['_UPDATEBOUNDINGBOXRESPONSE']._serialized_end = 8979
|
|
185
|
+
_globals['_BOUNDINGBOXLABELSBYFILTERREQUEST']._serialized_start = 8981
|
|
186
|
+
_globals['_BOUNDINGBOXLABELSBYFILTERREQUEST']._serialized_end = 9069
|
|
187
|
+
_globals['_BOUNDINGBOXLABELSBYFILTERRESPONSE']._serialized_start = 9071
|
|
188
|
+
_globals['_BOUNDINGBOXLABELSBYFILTERRESPONSE']._serialized_end = 9134
|
|
189
|
+
_globals['_CONFIGUREDATABASEUSERREQUEST']._serialized_start = 9136
|
|
190
|
+
_globals['_CONFIGUREDATABASEUSERREQUEST']._serialized_end = 9235
|
|
191
|
+
_globals['_CONFIGUREDATABASEUSERRESPONSE']._serialized_start = 9237
|
|
192
|
+
_globals['_CONFIGUREDATABASEUSERRESPONSE']._serialized_end = 9268
|
|
193
|
+
_globals['_GETDATABASECONNECTIONREQUEST']._serialized_start = 9270
|
|
194
|
+
_globals['_GETDATABASECONNECTIONREQUEST']._serialized_end = 9341
|
|
195
|
+
_globals['_GETDATABASECONNECTIONRESPONSE']._serialized_start = 9344
|
|
196
|
+
_globals['_GETDATABASECONNECTIONRESPONSE']._serialized_end = 9480
|
|
197
|
+
_globals['_ADDBINARYDATATODATASETBYIDSREQUEST']._serialized_start = 9483
|
|
198
|
+
_globals['_ADDBINARYDATATODATASETBYIDSREQUEST']._serialized_end = 9653
|
|
199
|
+
_globals['_ADDBINARYDATATODATASETBYIDSRESPONSE']._serialized_start = 9655
|
|
200
|
+
_globals['_ADDBINARYDATATODATASETBYIDSRESPONSE']._serialized_end = 9692
|
|
201
|
+
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSREQUEST']._serialized_start = 9695
|
|
202
|
+
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSREQUEST']._serialized_end = 9870
|
|
203
|
+
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSRESPONSE']._serialized_start = 9872
|
|
204
|
+
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSRESPONSE']._serialized_end = 9914
|
|
205
|
+
_globals['_CREATEINDEXREQUEST']._serialized_start = 9917
|
|
206
|
+
_globals['_CREATEINDEXREQUEST']._serialized_end = 10149
|
|
207
|
+
_globals['_CREATEINDEXRESPONSE']._serialized_start = 10151
|
|
208
|
+
_globals['_CREATEINDEXRESPONSE']._serialized_end = 10172
|
|
209
|
+
_globals['_DELETEINDEXREQUEST']._serialized_start = 10175
|
|
210
|
+
_globals['_DELETEINDEXREQUEST']._serialized_end = 10407
|
|
211
|
+
_globals['_DELETEINDEXRESPONSE']._serialized_start = 10409
|
|
212
|
+
_globals['_DELETEINDEXRESPONSE']._serialized_end = 10430
|
|
213
|
+
_globals['_LISTINDEXESREQUEST']._serialized_start = 10433
|
|
214
|
+
_globals['_LISTINDEXESREQUEST']._serialized_end = 10634
|
|
215
|
+
_globals['_LISTINDEXESRESPONSE']._serialized_start = 10636
|
|
216
|
+
_globals['_LISTINDEXESRESPONSE']._serialized_end = 10708
|
|
217
|
+
_globals['_INDEX']._serialized_start = 10711
|
|
218
|
+
_globals['_INDEX']._serialized_end = 10983
|
|
219
|
+
_globals['_DATASERVICE']._serialized_start = 11638
|
|
220
|
+
_globals['_DATASERVICE']._serialized_end = 14836
|
|
@@ -86,6 +86,40 @@ TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK: TabularDataSourceType.ValueType
|
|
|
86
86
|
'TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK indicates reading the output data of\na data pipeline. When using this, a pipeline ID needs to be specified.\n'
|
|
87
87
|
global___TabularDataSourceType = TabularDataSourceType
|
|
88
88
|
|
|
89
|
+
class _IndexableCollection:
|
|
90
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
91
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
92
|
+
|
|
93
|
+
class _IndexableCollectionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_IndexableCollection.ValueType], builtins.type):
|
|
94
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
95
|
+
INDEXABLE_COLLECTION_UNSPECIFIED: _IndexableCollection.ValueType
|
|
96
|
+
INDEXABLE_COLLECTION_HOT_STORE: _IndexableCollection.ValueType
|
|
97
|
+
INDEXABLE_COLLECTION_PIPELINE_SINK: _IndexableCollection.ValueType
|
|
98
|
+
|
|
99
|
+
class IndexableCollection(_IndexableCollection, metaclass=_IndexableCollectionEnumTypeWrapper):
|
|
100
|
+
"""IndexableCollection specifies the types of collections available for custom indexes"""
|
|
101
|
+
INDEXABLE_COLLECTION_UNSPECIFIED: IndexableCollection.ValueType
|
|
102
|
+
INDEXABLE_COLLECTION_HOT_STORE: IndexableCollection.ValueType
|
|
103
|
+
INDEXABLE_COLLECTION_PIPELINE_SINK: IndexableCollection.ValueType
|
|
104
|
+
global___IndexableCollection = IndexableCollection
|
|
105
|
+
|
|
106
|
+
class _IndexCreator:
|
|
107
|
+
ValueType = typing.NewType('ValueType', builtins.int)
|
|
108
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
109
|
+
|
|
110
|
+
class _IndexCreatorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_IndexCreator.ValueType], builtins.type):
|
|
111
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
112
|
+
INDEX_CREATOR_UNSPECIFIED: _IndexCreator.ValueType
|
|
113
|
+
INDEX_CREATOR_VIAM: _IndexCreator.ValueType
|
|
114
|
+
INDEX_CREATOR_CUSTOMER: _IndexCreator.ValueType
|
|
115
|
+
|
|
116
|
+
class IndexCreator(_IndexCreator, metaclass=_IndexCreatorEnumTypeWrapper):
|
|
117
|
+
"""IndexCreator specifies the entity that originally created the index"""
|
|
118
|
+
INDEX_CREATOR_UNSPECIFIED: IndexCreator.ValueType
|
|
119
|
+
INDEX_CREATOR_VIAM: IndexCreator.ValueType
|
|
120
|
+
INDEX_CREATOR_CUSTOMER: IndexCreator.ValueType
|
|
121
|
+
global___IndexCreator = IndexCreator
|
|
122
|
+
|
|
89
123
|
@typing.final
|
|
90
124
|
class DataRequest(google.protobuf.message.Message):
|
|
91
125
|
"""DataRequest encapsulates the filter for the data, a limit on the maximum results returned,
|
|
@@ -439,9 +473,12 @@ class TabularDataByMQLRequest(google.protobuf.message.Message):
|
|
|
439
473
|
MQL_BINARY_FIELD_NUMBER: builtins.int
|
|
440
474
|
USE_RECENT_DATA_FIELD_NUMBER: builtins.int
|
|
441
475
|
DATA_SOURCE_FIELD_NUMBER: builtins.int
|
|
476
|
+
QUERY_PREFIX_NAME_FIELD_NUMBER: builtins.int
|
|
442
477
|
organization_id: builtins.str
|
|
443
478
|
use_recent_data: builtins.bool
|
|
444
479
|
'Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.'
|
|
480
|
+
query_prefix_name: builtins.str
|
|
481
|
+
'query_prefix_name is an optional field that can be used to specify a saved query to run'
|
|
445
482
|
|
|
446
483
|
@property
|
|
447
484
|
def mql_binary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
|
|
@@ -456,19 +493,23 @@ class TabularDataByMQLRequest(google.protobuf.message.Message):
|
|
|
456
493
|
If not specified, the query will run on "standard" storage.
|
|
457
494
|
"""
|
|
458
495
|
|
|
459
|
-
def __init__(self, *, organization_id: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=..., use_recent_data: builtins.bool | None=..., data_source: global___TabularDataSource | None=...) -> None:
|
|
496
|
+
def __init__(self, *, organization_id: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=..., use_recent_data: builtins.bool | None=..., data_source: global___TabularDataSource | None=..., query_prefix_name: builtins.str | None=...) -> None:
|
|
460
497
|
...
|
|
461
498
|
|
|
462
|
-
def HasField(self, field_name: typing.Literal['_data_source', b'_data_source', '_use_recent_data', b'_use_recent_data', 'data_source', b'data_source', 'use_recent_data', b'use_recent_data']) -> builtins.bool:
|
|
499
|
+
def HasField(self, field_name: typing.Literal['_data_source', b'_data_source', '_query_prefix_name', b'_query_prefix_name', '_use_recent_data', b'_use_recent_data', 'data_source', b'data_source', 'query_prefix_name', b'query_prefix_name', 'use_recent_data', b'use_recent_data']) -> builtins.bool:
|
|
463
500
|
...
|
|
464
501
|
|
|
465
|
-
def ClearField(self, field_name: typing.Literal['_data_source', b'_data_source', '_use_recent_data', b'_use_recent_data', 'data_source', b'data_source', 'mql_binary', b'mql_binary', 'organization_id', b'organization_id', 'use_recent_data', b'use_recent_data']) -> None:
|
|
502
|
+
def ClearField(self, field_name: typing.Literal['_data_source', b'_data_source', '_query_prefix_name', b'_query_prefix_name', '_use_recent_data', b'_use_recent_data', 'data_source', b'data_source', 'mql_binary', b'mql_binary', 'organization_id', b'organization_id', 'query_prefix_name', b'query_prefix_name', 'use_recent_data', b'use_recent_data']) -> None:
|
|
466
503
|
...
|
|
467
504
|
|
|
468
505
|
@typing.overload
|
|
469
506
|
def WhichOneof(self, oneof_group: typing.Literal['_data_source', b'_data_source']) -> typing.Literal['data_source'] | None:
|
|
470
507
|
...
|
|
471
508
|
|
|
509
|
+
@typing.overload
|
|
510
|
+
def WhichOneof(self, oneof_group: typing.Literal['_query_prefix_name', b'_query_prefix_name']) -> typing.Literal['query_prefix_name'] | None:
|
|
511
|
+
...
|
|
512
|
+
|
|
472
513
|
@typing.overload
|
|
473
514
|
def WhichOneof(self, oneof_group: typing.Literal['_use_recent_data', b'_use_recent_data']) -> typing.Literal['use_recent_data'] | None:
|
|
474
515
|
...
|
|
@@ -1503,4 +1544,145 @@ class RemoveBinaryDataFromDatasetByIDsResponse(google.protobuf.message.Message):
|
|
|
1503
1544
|
|
|
1504
1545
|
def __init__(self) -> None:
|
|
1505
1546
|
...
|
|
1506
|
-
global___RemoveBinaryDataFromDatasetByIDsResponse = RemoveBinaryDataFromDatasetByIDsResponse
|
|
1547
|
+
global___RemoveBinaryDataFromDatasetByIDsResponse = RemoveBinaryDataFromDatasetByIDsResponse
|
|
1548
|
+
|
|
1549
|
+
@typing.final
|
|
1550
|
+
class CreateIndexRequest(google.protobuf.message.Message):
|
|
1551
|
+
"""CreateIndexRequest starts a custom index build"""
|
|
1552
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1553
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
1554
|
+
COLLECTION_TYPE_FIELD_NUMBER: builtins.int
|
|
1555
|
+
PIPELINE_NAME_FIELD_NUMBER: builtins.int
|
|
1556
|
+
INDEX_SPEC_FIELD_NUMBER: builtins.int
|
|
1557
|
+
organization_id: builtins.str
|
|
1558
|
+
collection_type: global___IndexableCollection.ValueType
|
|
1559
|
+
pipeline_name: builtins.str
|
|
1560
|
+
|
|
1561
|
+
@property
|
|
1562
|
+
def index_spec(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
|
|
1563
|
+
"""index_spec accepts a MongoDB index specification defined in JSON format"""
|
|
1564
|
+
|
|
1565
|
+
def __init__(self, *, organization_id: builtins.str=..., collection_type: global___IndexableCollection.ValueType=..., pipeline_name: builtins.str | None=..., index_spec: collections.abc.Iterable[builtins.bytes] | None=...) -> None:
|
|
1566
|
+
...
|
|
1567
|
+
|
|
1568
|
+
def HasField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'pipeline_name', b'pipeline_name']) -> builtins.bool:
|
|
1569
|
+
...
|
|
1570
|
+
|
|
1571
|
+
def ClearField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'collection_type', b'collection_type', 'index_spec', b'index_spec', 'organization_id', b'organization_id', 'pipeline_name', b'pipeline_name']) -> None:
|
|
1572
|
+
...
|
|
1573
|
+
|
|
1574
|
+
def WhichOneof(self, oneof_group: typing.Literal['_pipeline_name', b'_pipeline_name']) -> typing.Literal['pipeline_name'] | None:
|
|
1575
|
+
...
|
|
1576
|
+
global___CreateIndexRequest = CreateIndexRequest
|
|
1577
|
+
|
|
1578
|
+
@typing.final
|
|
1579
|
+
class CreateIndexResponse(google.protobuf.message.Message):
|
|
1580
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1581
|
+
|
|
1582
|
+
def __init__(self) -> None:
|
|
1583
|
+
...
|
|
1584
|
+
global___CreateIndexResponse = CreateIndexResponse
|
|
1585
|
+
|
|
1586
|
+
@typing.final
|
|
1587
|
+
class DeleteIndexRequest(google.protobuf.message.Message):
|
|
1588
|
+
"""DeleteIndexRequest drops the specified custom index from a collection"""
|
|
1589
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1590
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
1591
|
+
COLLECTION_TYPE_FIELD_NUMBER: builtins.int
|
|
1592
|
+
PIPELINE_NAME_FIELD_NUMBER: builtins.int
|
|
1593
|
+
INDEX_NAME_FIELD_NUMBER: builtins.int
|
|
1594
|
+
organization_id: builtins.str
|
|
1595
|
+
collection_type: global___IndexableCollection.ValueType
|
|
1596
|
+
pipeline_name: builtins.str
|
|
1597
|
+
index_name: builtins.str
|
|
1598
|
+
|
|
1599
|
+
def __init__(self, *, organization_id: builtins.str=..., collection_type: global___IndexableCollection.ValueType=..., pipeline_name: builtins.str | None=..., index_name: builtins.str=...) -> None:
|
|
1600
|
+
...
|
|
1601
|
+
|
|
1602
|
+
def HasField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'pipeline_name', b'pipeline_name']) -> builtins.bool:
|
|
1603
|
+
...
|
|
1604
|
+
|
|
1605
|
+
def ClearField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'collection_type', b'collection_type', 'index_name', b'index_name', 'organization_id', b'organization_id', 'pipeline_name', b'pipeline_name']) -> None:
|
|
1606
|
+
...
|
|
1607
|
+
|
|
1608
|
+
def WhichOneof(self, oneof_group: typing.Literal['_pipeline_name', b'_pipeline_name']) -> typing.Literal['pipeline_name'] | None:
|
|
1609
|
+
...
|
|
1610
|
+
global___DeleteIndexRequest = DeleteIndexRequest
|
|
1611
|
+
|
|
1612
|
+
@typing.final
|
|
1613
|
+
class DeleteIndexResponse(google.protobuf.message.Message):
|
|
1614
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1615
|
+
|
|
1616
|
+
def __init__(self) -> None:
|
|
1617
|
+
...
|
|
1618
|
+
global___DeleteIndexResponse = DeleteIndexResponse
|
|
1619
|
+
|
|
1620
|
+
@typing.final
|
|
1621
|
+
class ListIndexesRequest(google.protobuf.message.Message):
|
|
1622
|
+
"""ListIndexesRequest returns all the indexes for a given collection"""
|
|
1623
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1624
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
1625
|
+
COLLECTION_TYPE_FIELD_NUMBER: builtins.int
|
|
1626
|
+
PIPELINE_NAME_FIELD_NUMBER: builtins.int
|
|
1627
|
+
organization_id: builtins.str
|
|
1628
|
+
collection_type: global___IndexableCollection.ValueType
|
|
1629
|
+
pipeline_name: builtins.str
|
|
1630
|
+
|
|
1631
|
+
def __init__(self, *, organization_id: builtins.str=..., collection_type: global___IndexableCollection.ValueType=..., pipeline_name: builtins.str | None=...) -> None:
|
|
1632
|
+
...
|
|
1633
|
+
|
|
1634
|
+
def HasField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'pipeline_name', b'pipeline_name']) -> builtins.bool:
|
|
1635
|
+
...
|
|
1636
|
+
|
|
1637
|
+
def ClearField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'collection_type', b'collection_type', 'organization_id', b'organization_id', 'pipeline_name', b'pipeline_name']) -> None:
|
|
1638
|
+
...
|
|
1639
|
+
|
|
1640
|
+
def WhichOneof(self, oneof_group: typing.Literal['_pipeline_name', b'_pipeline_name']) -> typing.Literal['pipeline_name'] | None:
|
|
1641
|
+
...
|
|
1642
|
+
global___ListIndexesRequest = ListIndexesRequest
|
|
1643
|
+
|
|
1644
|
+
@typing.final
|
|
1645
|
+
class ListIndexesResponse(google.protobuf.message.Message):
|
|
1646
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1647
|
+
INDEXES_FIELD_NUMBER: builtins.int
|
|
1648
|
+
|
|
1649
|
+
@property
|
|
1650
|
+
def indexes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Index]:
|
|
1651
|
+
...
|
|
1652
|
+
|
|
1653
|
+
def __init__(self, *, indexes: collections.abc.Iterable[global___Index] | None=...) -> None:
|
|
1654
|
+
...
|
|
1655
|
+
|
|
1656
|
+
def ClearField(self, field_name: typing.Literal['indexes', b'indexes']) -> None:
|
|
1657
|
+
...
|
|
1658
|
+
global___ListIndexesResponse = ListIndexesResponse
|
|
1659
|
+
|
|
1660
|
+
@typing.final
|
|
1661
|
+
class Index(google.protobuf.message.Message):
|
|
1662
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1663
|
+
COLLECTION_TYPE_FIELD_NUMBER: builtins.int
|
|
1664
|
+
PIPELINE_NAME_FIELD_NUMBER: builtins.int
|
|
1665
|
+
INDEX_NAME_FIELD_NUMBER: builtins.int
|
|
1666
|
+
INDEX_SPEC_FIELD_NUMBER: builtins.int
|
|
1667
|
+
CREATED_BY_FIELD_NUMBER: builtins.int
|
|
1668
|
+
collection_type: global___IndexableCollection.ValueType
|
|
1669
|
+
pipeline_name: builtins.str
|
|
1670
|
+
index_name: builtins.str
|
|
1671
|
+
created_by: global___IndexCreator.ValueType
|
|
1672
|
+
|
|
1673
|
+
@property
|
|
1674
|
+
def index_spec(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]:
|
|
1675
|
+
"""index_spec defines a MongoDB index in JSON format"""
|
|
1676
|
+
|
|
1677
|
+
def __init__(self, *, collection_type: global___IndexableCollection.ValueType=..., pipeline_name: builtins.str | None=..., index_name: builtins.str=..., index_spec: collections.abc.Iterable[builtins.bytes] | None=..., created_by: global___IndexCreator.ValueType=...) -> None:
|
|
1678
|
+
...
|
|
1679
|
+
|
|
1680
|
+
def HasField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'pipeline_name', b'pipeline_name']) -> builtins.bool:
|
|
1681
|
+
...
|
|
1682
|
+
|
|
1683
|
+
def ClearField(self, field_name: typing.Literal['_pipeline_name', b'_pipeline_name', 'collection_type', b'collection_type', 'created_by', b'created_by', 'index_name', b'index_name', 'index_spec', b'index_spec', 'pipeline_name', b'pipeline_name']) -> None:
|
|
1684
|
+
...
|
|
1685
|
+
|
|
1686
|
+
def WhichOneof(self, oneof_group: typing.Literal['_pipeline_name', b'_pipeline_name']) -> typing.Literal['pipeline_name'] | None:
|
|
1687
|
+
...
|
|
1688
|
+
global___Index = Index
|
viam/proto/app/data/__init__.py
CHANGED
|
@@ -29,11 +29,15 @@ from ....gen.app.data.v1.data_pb2 import (
|
|
|
29
29
|
Classification,
|
|
30
30
|
ConfigureDatabaseUserRequest,
|
|
31
31
|
ConfigureDatabaseUserResponse,
|
|
32
|
+
CreateIndexRequest,
|
|
33
|
+
CreateIndexResponse,
|
|
32
34
|
DataRequest,
|
|
33
35
|
DeleteBinaryDataByFilterRequest,
|
|
34
36
|
DeleteBinaryDataByFilterResponse,
|
|
35
37
|
DeleteBinaryDataByIDsRequest,
|
|
36
38
|
DeleteBinaryDataByIDsResponse,
|
|
39
|
+
DeleteIndexRequest,
|
|
40
|
+
DeleteIndexResponse,
|
|
37
41
|
DeleteTabularDataRequest,
|
|
38
42
|
DeleteTabularDataResponse,
|
|
39
43
|
ExportTabularDataRequest,
|
|
@@ -43,6 +47,11 @@ from ....gen.app.data.v1.data_pb2 import (
|
|
|
43
47
|
GetDatabaseConnectionResponse,
|
|
44
48
|
GetLatestTabularDataRequest,
|
|
45
49
|
GetLatestTabularDataResponse,
|
|
50
|
+
Index,
|
|
51
|
+
IndexableCollection,
|
|
52
|
+
IndexCreator,
|
|
53
|
+
ListIndexesRequest,
|
|
54
|
+
ListIndexesResponse,
|
|
46
55
|
Order,
|
|
47
56
|
RemoveBinaryDataFromDatasetByIDsRequest,
|
|
48
57
|
RemoveBinaryDataFromDatasetByIDsResponse,
|
|
@@ -97,11 +106,15 @@ __all__ = [
|
|
|
97
106
|
"Classification",
|
|
98
107
|
"ConfigureDatabaseUserRequest",
|
|
99
108
|
"ConfigureDatabaseUserResponse",
|
|
109
|
+
"CreateIndexRequest",
|
|
110
|
+
"CreateIndexResponse",
|
|
100
111
|
"DataRequest",
|
|
101
112
|
"DeleteBinaryDataByFilterRequest",
|
|
102
113
|
"DeleteBinaryDataByFilterResponse",
|
|
103
114
|
"DeleteBinaryDataByIDsRequest",
|
|
104
115
|
"DeleteBinaryDataByIDsResponse",
|
|
116
|
+
"DeleteIndexRequest",
|
|
117
|
+
"DeleteIndexResponse",
|
|
105
118
|
"DeleteTabularDataRequest",
|
|
106
119
|
"DeleteTabularDataResponse",
|
|
107
120
|
"ExportTabularDataRequest",
|
|
@@ -111,6 +124,11 @@ __all__ = [
|
|
|
111
124
|
"GetDatabaseConnectionResponse",
|
|
112
125
|
"GetLatestTabularDataRequest",
|
|
113
126
|
"GetLatestTabularDataResponse",
|
|
127
|
+
"Index",
|
|
128
|
+
"IndexCreator",
|
|
129
|
+
"IndexableCollection",
|
|
130
|
+
"ListIndexesRequest",
|
|
131
|
+
"ListIndexesResponse",
|
|
114
132
|
"Order",
|
|
115
133
|
"RemoveBinaryDataFromDatasetByIDsRequest",
|
|
116
134
|
"RemoveBinaryDataFromDatasetByIDsResponse",
|
viam/services/motion/motion.py
CHANGED
|
@@ -356,19 +356,15 @@ class Motion(ServiceBase):
|
|
|
356
356
|
# Note that the example uses the ``Gripper`` class, but any component class that inherits from ``ComponentBase`` will work
|
|
357
357
|
# (``Arm``, ``Base``, etc).
|
|
358
358
|
|
|
359
|
-
# Create a `component_name`:
|
|
360
|
-
component_name = "my_gripper"
|
|
361
|
-
|
|
362
359
|
from viam.components.gripper import Gripper
|
|
363
360
|
from viam.services.motion import MotionClient
|
|
364
361
|
|
|
365
362
|
# Assume that the connect function is written and will return a valid machine.
|
|
366
|
-
|
|
363
|
+
machine = await connect()
|
|
367
364
|
|
|
368
365
|
motion = MotionClient.from_robot(robot=machine, name="builtin")
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
destination_frame="world")
|
|
366
|
+
gripperPoseInWorld = await motion.get_pose(component_name="my_gripper",
|
|
367
|
+
destination_frame="world")
|
|
372
368
|
|
|
373
369
|
Args:
|
|
374
370
|
component_name (str): Name of a component on a robot.
|
|
@@ -85,6 +85,6 @@ class WorldStateStore(ServiceBase):
|
|
|
85
85
|
print(f"Transform {change.transform.uuid} {change.change_type}")
|
|
86
86
|
|
|
87
87
|
Returns:
|
|
88
|
-
|
|
88
|
+
AsyncGenerator[StreamTransformChangesResponse, None]: A stream of transform changes
|
|
89
89
|
"""
|
|
90
90
|
...
|
viam/version_metadata.py
CHANGED
|
@@ -6,15 +6,15 @@ viam/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
6
6
|
viam/sessions_client.py,sha256=FsBfEKoELtm1pHCtqdLceK_g5N2km0f_usYFtG6LVN4,9811
|
|
7
7
|
viam/streams.py,sha256=VoM8FSMuGZmv4RPDHQy4FfHvJq36r4NY--gkQoaFkzs,1042
|
|
8
8
|
viam/utils.py,sha256=xz7qb6bM-2qzOSQSsYHBheBidMbUAlQ2dHCi_GyPFnk,13579
|
|
9
|
-
viam/version_metadata.py,sha256=
|
|
9
|
+
viam/version_metadata.py,sha256=406iNFUeYYMN2dNbAv0sGEXWmh4KQXLLNDaNJ6mAuT8,75
|
|
10
10
|
viam/app/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
viam/app/_logs.py,sha256=hWxRELRJCux-fQIQtDwztD3odjkBm7Vo8HUQ7XGICek,806
|
|
12
|
-
viam/app/app_client.py,sha256=
|
|
13
|
-
viam/app/billing_client.py,sha256
|
|
14
|
-
viam/app/data_client.py,sha256=
|
|
15
|
-
viam/app/ml_training_client.py,sha256=
|
|
16
|
-
viam/app/provisioning_client.py,sha256=
|
|
17
|
-
viam/app/viam_client.py,sha256=
|
|
12
|
+
viam/app/app_client.py,sha256=7Iou_rucMD3e191uT3X7OaROiOsZTCEm9nAf39L9uXI,115274
|
|
13
|
+
viam/app/billing_client.py,sha256=ZR37QH_dMAOO14txVYxhzENXegP16w-R1t65Nq2Gz0U,7222
|
|
14
|
+
viam/app/data_client.py,sha256=0ORyw7g-DGl5wnBc715tBVriQQF8SxoencmO0GsNRL8,95937
|
|
15
|
+
viam/app/ml_training_client.py,sha256=tu4ecHL4dNyrGFxVkmqYnnlN50iI0kB13evVZ3ed4Vo,9257
|
|
16
|
+
viam/app/provisioning_client.py,sha256=Ft_HIYOHTXja1Q8Tc4gvsixntmNtlizs0x1azr51O0c,3524
|
|
17
|
+
viam/app/viam_client.py,sha256=AyqDs4le2mbvqjeqoRGB246f3wZRM69o3VuOb86daSs,11496
|
|
18
18
|
viam/components/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
19
|
viam/components/component_base.py,sha256=NsVsDHxfZ47waBk7vY6tRu2iFJWJQzmF0m_gGz3Y0_M,2299
|
|
20
20
|
viam/components/arm/__init__.py,sha256=PzEr5eFLJiTO8eG1-2uisgtad6AiLB5_U63BHxO_Um4,463
|
|
@@ -103,9 +103,9 @@ viam/gen/app/cloudslam/v1/cloud_slam_pb2.py,sha256=yUzCr4jZE_UBOUXb3ITc4Nhv2roDy
|
|
|
103
103
|
viam/gen/app/cloudslam/v1/cloud_slam_pb2.pyi,sha256=Yg_GCi9rlZOC3wuxPDkiy02MY4L3qq3G8PfPdorYoYo,16255
|
|
104
104
|
viam/gen/app/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
105
105
|
viam/gen/app/data/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
106
|
-
viam/gen/app/data/v1/data_grpc.py,sha256=
|
|
107
|
-
viam/gen/app/data/v1/data_pb2.py,sha256=
|
|
108
|
-
viam/gen/app/data/v1/data_pb2.pyi,sha256=
|
|
106
|
+
viam/gen/app/data/v1/data_grpc.py,sha256=qSaOqWZW41PtuhtJ_pZdr7mbCY2rGQSl5VHjPhR4Q2k,25797
|
|
107
|
+
viam/gen/app/data/v1/data_pb2.py,sha256=94dCET2Kp4gGQqSCDUAYpWFZjYrp_jvZodHw6PjNmUk,36964
|
|
108
|
+
viam/gen/app/data/v1/data_pb2.pyi,sha256=JdIbbdL6fryronxOIB7bIklYcL96SeQSxejMzUzsqFU,79655
|
|
109
109
|
viam/gen/app/datapipelines/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
110
110
|
viam/gen/app/datapipelines/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
111
111
|
viam/gen/app/datapipelines/v1/data_pipelines_grpc.py,sha256=TRAzViLS4IqsVFf1wVGSPvAebgL1rKabLYcc-fQfeq8,9464
|
|
@@ -374,7 +374,7 @@ viam/proto/app/end_user.py,sha256=WrSxNF5MsoWSs8MrygeR_XpjTaTzUYnXMfL3gRDo3ZI,95
|
|
|
374
374
|
viam/proto/app/robot.py,sha256=PZAmxjZV9JQjrMT3kDAH1wL9L_MJWCHa7oRVFSNGtHQ,1804
|
|
375
375
|
viam/proto/app/agent/__init__.py,sha256=zWFqPSrcoQE-Kl7o6MawO2Y3aUMMopLoEnfrVHs4fOI,666
|
|
376
376
|
viam/proto/app/cloudslam/__init__.py,sha256=BkMbqPmLFTNt4Vh2BwlPqh3BCQgDzUbAAtFGGxqlBe0,1454
|
|
377
|
-
viam/proto/app/data/__init__.py,sha256=
|
|
377
|
+
viam/proto/app/data/__init__.py,sha256=3mggPszSFnp9YyrGHduIELeEN6qLL0V0ffiSIEq7f_I,4682
|
|
378
378
|
viam/proto/app/datapipelines/__init__.py,sha256=yzoiDPig8FGN4nRqa9gdQY2waINlGp-VRO5qOBuHK6o,1581
|
|
379
379
|
viam/proto/app/dataset/__init__.py,sha256=c6oxPVMgZTU6liwLiUUxCf0FGz5PrnEFmXCvAfZWxdM,1092
|
|
380
380
|
viam/proto/app/datasync/__init__.py,sha256=LlcDDEF5TV9IQOLAGtm63wjFEHxo15v4iLkoLsiIuHU,1094
|
|
@@ -462,7 +462,7 @@ viam/services/mlmodel/service.py,sha256=skMgoq0tzkTMLYdrw2vd6rG8ZtrQM1rCgjm7rB5s
|
|
|
462
462
|
viam/services/mlmodel/utils.py,sha256=HlVIQXFFF0qt0p8Rf-xBwnlmhaPJcgGfCBlPe0H5cf8,4324
|
|
463
463
|
viam/services/motion/__init__.py,sha256=1yhhcPA_srqj65cXeaVBSnHxI_c0bIbAcPpmmsSGpB0,472
|
|
464
464
|
viam/services/motion/client.py,sha256=GlJKYro1o78_hGGyIE7kOQjgZy17COg8taHgkZ3M1Jg,7143
|
|
465
|
-
viam/services/motion/motion.py,sha256=
|
|
465
|
+
viam/services/motion/motion.py,sha256=HVuwbSQPdgwgxNzGOXG8ZUYQjuETFCbWMBTSM0Dpa8Q,18273
|
|
466
466
|
viam/services/motion/service.py,sha256=ngzgzbY1hqCEt4L-Xxm4csUa3xNrHa8wCSTZ0s3Hi0A,5700
|
|
467
467
|
viam/services/navigation/__init__.py,sha256=OvgTo-eqhwoHZkX9bq_Ih96d2ziGhCGerDFxj15-6KM,551
|
|
468
468
|
viam/services/navigation/client.py,sha256=S3lk8acTJw8Hmnw4O3VAD8w-5e7rctjsb0OYM9Ha7HI,4662
|
|
@@ -479,8 +479,8 @@ viam/services/vision/vision.py,sha256=MrQsTarahwGMEmqWX4ODCJT5wLOGHXNEuEyTQgOvsg
|
|
|
479
479
|
viam/services/worldstatestore/__init__.py,sha256=zj85zV-6HGw1ktLZWH6IYFMSX168mACCFOj6hmW9Wy8,611
|
|
480
480
|
viam/services/worldstatestore/client.py,sha256=id59echLbNq9Rsyq4ifRzPzOEJVvU-H6N47JawZA0Mw,3141
|
|
481
481
|
viam/services/worldstatestore/service.py,sha256=2wfV4yVKUr1YSSrww21J9GKZN09JUkuqzEQ0J2npOu8,2680
|
|
482
|
-
viam/services/worldstatestore/worldstatestore.py,sha256=
|
|
483
|
-
viam_sdk-0.
|
|
484
|
-
viam_sdk-0.
|
|
485
|
-
viam_sdk-0.
|
|
486
|
-
viam_sdk-0.
|
|
482
|
+
viam/services/worldstatestore/worldstatestore.py,sha256=SXd0OiY0KZgpaf4BLag_LYVkUImFFkyWRkZKS8gfEII,2838
|
|
483
|
+
viam_sdk-0.57.0.dist-info/METADATA,sha256=BEfU4YRbWCvWZoM5j7oU0Qvxw6JEeSIAuxvH9lh5wJY,10320
|
|
484
|
+
viam_sdk-0.57.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
485
|
+
viam_sdk-0.57.0.dist-info/licenses/LICENSE,sha256=yVuuHRzgI17MzTVgt3LsHvuX80innw--CmNPDCzO_iw,11358
|
|
486
|
+
viam_sdk-0.57.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|