viam-sdk 0.51.0__py3-none-linux_armv6l.whl → 0.53.0__py3-none-linux_armv6l.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of viam-sdk might be problematic. Click here for more details.
- viam/app/app_client.py +3 -2
- viam/app/billing_client.py +25 -0
- viam/app/data_client.py +36 -4
- viam/app/viam_client.py +1 -1
- viam/gen/app/data/v1/data_pb2.py +78 -78
- viam/gen/app/data/v1/data_pb2.pyi +4 -2
- viam/gen/app/datapipelines/v1/data_pipelines_grpc.py +4 -4
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.py +27 -27
- viam/gen/app/datapipelines/v1/data_pipelines_pb2.pyi +13 -29
- viam/gen/app/dataset/v1/dataset_grpc.py +10 -2
- viam/gen/app/dataset/v1/dataset_pb2.py +7 -3
- viam/gen/app/dataset/v1/dataset_pb2.pyi +36 -1
- viam/gen/app/datasync/v1/data_sync_pb2.py +18 -18
- viam/gen/app/datasync/v1/data_sync_pb2.pyi +7 -2
- viam/gen/app/v1/app_pb2.py +266 -264
- viam/gen/app/v1/app_pb2.pyi +33 -5
- viam/gen/app/v1/billing_grpc.py +10 -2
- viam/gen/app/v1/billing_pb2.py +13 -9
- viam/gen/app/v1/billing_pb2.pyi +41 -1
- viam/gen/app/v1/robot_pb2.py +34 -34
- viam/gen/app/v1/robot_pb2.pyi +5 -2
- viam/gen/component/camera/v1/camera_pb2.py +31 -31
- viam/gen/component/camera/v1/camera_pb2.pyi +22 -4
- viam/proto/app/__init__.py +2 -0
- viam/proto/app/billing.py +4 -0
- viam/proto/app/datapipelines/__init__.py +4 -4
- viam/proto/app/dataset/__init__.py +4 -0
- viam/version_metadata.py +2 -2
- {viam_sdk-0.51.0.dist-info → viam_sdk-0.53.0.dist-info}/METADATA +1 -1
- {viam_sdk-0.51.0.dist-info → viam_sdk-0.53.0.dist-info}/RECORD +32 -32
- {viam_sdk-0.51.0.dist-info → viam_sdk-0.53.0.dist-info}/WHEEL +0 -0
- {viam_sdk-0.51.0.dist-info → viam_sdk-0.53.0.dist-info}/licenses/LICENSE +0 -0
viam/app/app_client.py
CHANGED
|
@@ -1766,7 +1766,7 @@ class AppClient:
|
|
|
1766
1766
|
response: ListFragmentsResponse = await self._app_client.ListFragments(request, metadata=self._metadata)
|
|
1767
1767
|
return [Fragment.from_proto(fragment=fragment) for fragment in response.fragments]
|
|
1768
1768
|
|
|
1769
|
-
async def get_fragment(self, fragment_id: str) -> Fragment:
|
|
1769
|
+
async def get_fragment(self, fragment_id: str, version: Optional[str] = None) -> Fragment:
|
|
1770
1770
|
"""Get a fragment.
|
|
1771
1771
|
|
|
1772
1772
|
::
|
|
@@ -1778,6 +1778,7 @@ class AppClient:
|
|
|
1778
1778
|
|
|
1779
1779
|
Args:
|
|
1780
1780
|
fragment_id (str): ID of the fragment to get.
|
|
1781
|
+
version (str): Optional specification of the fragment version to get (revision or tag).
|
|
1781
1782
|
|
|
1782
1783
|
Raises:
|
|
1783
1784
|
GRPCError: If an invalid fragment ID is passed.
|
|
@@ -1787,7 +1788,7 @@ class AppClient:
|
|
|
1787
1788
|
|
|
1788
1789
|
For more information, see `Fleet Management API <https://docs.viam.com/dev/reference/apis/fleet/#getfragment>`_.
|
|
1789
1790
|
"""
|
|
1790
|
-
request = GetFragmentRequest(id=fragment_id)
|
|
1791
|
+
request = GetFragmentRequest(id=fragment_id, version=version)
|
|
1791
1792
|
response: GetFragmentResponse = await self._app_client.GetFragment(request, metadata=self._metadata)
|
|
1792
1793
|
return Fragment.from_proto(fragment=response.fragment)
|
|
1793
1794
|
|
viam/app/billing_client.py
CHANGED
|
@@ -5,6 +5,8 @@ from grpclib.client import Channel, Stream
|
|
|
5
5
|
from viam import logging
|
|
6
6
|
from viam.proto.app.billing import (
|
|
7
7
|
BillingServiceStub,
|
|
8
|
+
CreateInvoiceAndChargeImmediatelyRequest,
|
|
9
|
+
CreateInvoiceAndChargeImmediatelyResponse,
|
|
8
10
|
GetCurrentMonthUsageRequest,
|
|
9
11
|
GetCurrentMonthUsageResponse,
|
|
10
12
|
GetInvoicePdfRequest,
|
|
@@ -141,3 +143,26 @@ class BillingClient:
|
|
|
141
143
|
"""
|
|
142
144
|
request = GetOrgBillingInformationRequest(org_id=org_id)
|
|
143
145
|
return await self._billing_client.GetOrgBillingInformation(request, metadata=self._metadata, timeout=timeout)
|
|
146
|
+
|
|
147
|
+
async def create_invoice_and_charge_immediately(
|
|
148
|
+
self, org_id_to_charge: str, amount: float, description: Optional[str] = None, org_id_for_branding: Optional[str] = None
|
|
149
|
+
) -> None:
|
|
150
|
+
"""Create a flat fee invoice and charge the organization on the spot. The caller must be an owner of the organization being charged.
|
|
151
|
+
This function blocks until payment is confirmed, but will time out after 2 minutes if there is no confirmation.
|
|
152
|
+
|
|
153
|
+
::
|
|
154
|
+
|
|
155
|
+
await billing_client.create_invoice_and_charge_immediately("<ORG-ID-TO-CHARGE>", <AMOUNT>, <DESCRIPTION>, "<ORG-ID-FOR-BRANDING>")
|
|
156
|
+
|
|
157
|
+
Args:
|
|
158
|
+
org_id_to_charge (str): the organization to charge
|
|
159
|
+
amount (float): the amount to charge in dollars
|
|
160
|
+
description (str): a short description of the charge to display on the invoice PDF (must be 100 characters or less)
|
|
161
|
+
org_id_for_branding (str): the organization whose branding to use in the invoice confirmation email
|
|
162
|
+
"""
|
|
163
|
+
request = CreateInvoiceAndChargeImmediatelyRequest(
|
|
164
|
+
org_id_to_charge=org_id_to_charge, amount=amount, description=description, org_id_for_branding=org_id_for_branding
|
|
165
|
+
)
|
|
166
|
+
_: CreateInvoiceAndChargeImmediatelyResponse = await self._billing_client.CreateInvoiceAndChargeImmediately(
|
|
167
|
+
request, metadata=self._metadata
|
|
168
|
+
)
|
viam/app/data_client.py
CHANGED
|
@@ -72,6 +72,7 @@ from viam.proto.app.datapipelines import (
|
|
|
72
72
|
ListDataPipelineRunsResponse,
|
|
73
73
|
ListDataPipelinesRequest,
|
|
74
74
|
ListDataPipelinesResponse,
|
|
75
|
+
RenameDataPipelineRequest,
|
|
75
76
|
)
|
|
76
77
|
from viam.proto.app.datapipelines import (
|
|
77
78
|
DataPipeline as ProtoDataPipeline,
|
|
@@ -1484,6 +1485,7 @@ class DataClient:
|
|
|
1484
1485
|
file_extension: str,
|
|
1485
1486
|
method_parameters: Optional[Mapping[str, Any]] = None,
|
|
1486
1487
|
tags: Optional[List[str]] = None,
|
|
1488
|
+
dataset_ids: Optional[List[str]] = None,
|
|
1487
1489
|
data_request_times: Optional[Tuple[datetime, datetime]] = None,
|
|
1488
1490
|
) -> str:
|
|
1489
1491
|
"""Upload binary sensor data.
|
|
@@ -1505,7 +1507,8 @@ class DataClient:
|
|
|
1505
1507
|
tags=["tag_1", "tag_2"],
|
|
1506
1508
|
data_request_times=[time_requested, time_received],
|
|
1507
1509
|
file_extension=".jpg",
|
|
1508
|
-
binary_data=b"Encoded image bytes"
|
|
1510
|
+
binary_data=b"Encoded image bytes",
|
|
1511
|
+
dataset_ids=["dataset_1", "dataset_2"]
|
|
1509
1512
|
)
|
|
1510
1513
|
|
|
1511
1514
|
Args:
|
|
@@ -1519,6 +1522,7 @@ class DataClient:
|
|
|
1519
1522
|
or ``.png`` extension will appear in the **Images** tab.
|
|
1520
1523
|
method_parameters (Optional[Mapping[str, Any]]): Optional dictionary of method parameters. No longer in active use.
|
|
1521
1524
|
tags (Optional[List[str]]): Optional list of tags to allow for tag-based data filtering when retrieving data.
|
|
1525
|
+
dataset_ids (Optional[List[str]]): Optional list of datasets to add the data to.
|
|
1522
1526
|
data_request_times (Optional[Tuple[datetime.datetime, datetime.datetime]]): Optional tuple containing datetime objects
|
|
1523
1527
|
denoting the times this data was requested ``[0]`` by the robot and received ``[1]`` from the appropriate sensor.
|
|
1524
1528
|
|
|
@@ -1550,6 +1554,7 @@ class DataClient:
|
|
|
1550
1554
|
type=DataType.DATA_TYPE_BINARY_SENSOR,
|
|
1551
1555
|
method_parameters=method_parameters,
|
|
1552
1556
|
tags=tags,
|
|
1557
|
+
dataset_ids=dataset_ids,
|
|
1553
1558
|
)
|
|
1554
1559
|
if file_extension:
|
|
1555
1560
|
metadata.file_extension = file_extension if file_extension[0] == "." else f".{file_extension}"
|
|
@@ -1667,6 +1672,7 @@ class DataClient:
|
|
|
1667
1672
|
method_parameters: Optional[Mapping[str, Any]] = None,
|
|
1668
1673
|
data_request_times: Optional[Tuple[datetime, datetime]] = None,
|
|
1669
1674
|
tags: Optional[List[str]] = None,
|
|
1675
|
+
dataset_ids: Optional[List[str]] = None,
|
|
1670
1676
|
) -> str:
|
|
1671
1677
|
"""Uploads the metadata and contents of streaming binary data.
|
|
1672
1678
|
|
|
@@ -1683,7 +1689,8 @@ class DataClient:
|
|
|
1683
1689
|
component_name='left_motor',
|
|
1684
1690
|
method_name='IsPowered',
|
|
1685
1691
|
data_request_times=[time_requested, time_received],
|
|
1686
|
-
tags=["tag_1", "tag_2"]
|
|
1692
|
+
tags=["tag_1", "tag_2"],
|
|
1693
|
+
dataset_ids=["dataset_1", "dataset_2"]
|
|
1687
1694
|
)
|
|
1688
1695
|
|
|
1689
1696
|
Args:
|
|
@@ -1697,6 +1704,7 @@ class DataClient:
|
|
|
1697
1704
|
data_request_times (Optional[Tuple[datetime.datetime, datetime.datetime]]): Optional tuple containing datetime objects
|
|
1698
1705
|
denoting the times this data was requested ``[0]`` by the robot and received ``[1]`` from the appropriate sensor.
|
|
1699
1706
|
tags (Optional[List[str]]): Optional list of tags to allow for tag-based filtering when retrieving data.
|
|
1707
|
+
dataset_ids (Optional[List[str]]): Optional list of datasets to add the data to.
|
|
1700
1708
|
|
|
1701
1709
|
Raises:
|
|
1702
1710
|
GRPCError: If an invalid part ID is passed.
|
|
@@ -1716,6 +1724,7 @@ class DataClient:
|
|
|
1716
1724
|
type=DataType.DATA_TYPE_BINARY_SENSOR,
|
|
1717
1725
|
file_extension=file_ext if file_ext[0] == "." else f".{file_ext}",
|
|
1718
1726
|
tags=tags,
|
|
1727
|
+
dataset_ids=dataset_ids,
|
|
1719
1728
|
)
|
|
1720
1729
|
sensor_metadata = SensorMetadata(
|
|
1721
1730
|
time_requested=datetime_to_timestamp(data_request_times[0]) if data_request_times else None,
|
|
@@ -1744,6 +1753,7 @@ class DataClient:
|
|
|
1744
1753
|
method_parameters: Optional[Mapping[str, Any]] = None,
|
|
1745
1754
|
file_extension: Optional[str] = None,
|
|
1746
1755
|
tags: Optional[List[str]] = None,
|
|
1756
|
+
dataset_ids: Optional[List[str]] = None,
|
|
1747
1757
|
) -> str:
|
|
1748
1758
|
"""Upload arbitrary file data.
|
|
1749
1759
|
|
|
@@ -1757,7 +1767,8 @@ class DataClient:
|
|
|
1757
1767
|
part_id="INSERT YOUR PART ID",
|
|
1758
1768
|
tags=["tag_1", "tag_2"],
|
|
1759
1769
|
file_name="your-file",
|
|
1760
|
-
file_extension=".txt"
|
|
1770
|
+
file_extension=".txt",
|
|
1771
|
+
dataset_ids=["dataset_1", "dataset_2"]
|
|
1761
1772
|
)
|
|
1762
1773
|
|
|
1763
1774
|
Args:
|
|
@@ -1772,6 +1783,7 @@ class DataClient:
|
|
|
1772
1783
|
file_extension (Optional[str]): Optional file extension. The empty string ``""`` will be assigned as the file extension if one
|
|
1773
1784
|
isn't provided. Files with a ``.jpeg``, ``.jpg``, or ``.png`` extension will be saved to the **Images** tab.
|
|
1774
1785
|
tags (Optional[List[str]]): Optional list of tags to allow for tag-based filtering when retrieving data.
|
|
1786
|
+
dataset_ids (Optional[List[str]]): Optional list of datasets to add the data to.
|
|
1775
1787
|
|
|
1776
1788
|
Raises:
|
|
1777
1789
|
GRPCError: If an invalid part ID is passed.
|
|
@@ -1791,6 +1803,7 @@ class DataClient:
|
|
|
1791
1803
|
method_parameters=method_parameters,
|
|
1792
1804
|
file_extension=file_extension if file_extension else "",
|
|
1793
1805
|
tags=tags,
|
|
1806
|
+
dataset_ids=dataset_ids,
|
|
1794
1807
|
)
|
|
1795
1808
|
response: FileUploadResponse = await self._file_upload(metadata=metadata, file_contents=FileData(data=data))
|
|
1796
1809
|
return response.binary_data_id
|
|
@@ -1804,6 +1817,7 @@ class DataClient:
|
|
|
1804
1817
|
method_name: Optional[str] = None,
|
|
1805
1818
|
method_parameters: Optional[Mapping[str, Any]] = None,
|
|
1806
1819
|
tags: Optional[List[str]] = None,
|
|
1820
|
+
dataset_ids: Optional[List[str]] = None,
|
|
1807
1821
|
) -> str:
|
|
1808
1822
|
"""Upload arbitrary file data.
|
|
1809
1823
|
|
|
@@ -1815,6 +1829,7 @@ class DataClient:
|
|
|
1815
1829
|
file_id = await data_client.file_upload_from_path(
|
|
1816
1830
|
part_id="INSERT YOUR PART ID",
|
|
1817
1831
|
tags=["tag_1", "tag_2"],
|
|
1832
|
+
dataset_ids=["dataset_1", "dataset_2"],
|
|
1818
1833
|
filepath="/Users/<your-username>/<your-directory>/<your-file.txt>"
|
|
1819
1834
|
)
|
|
1820
1835
|
|
|
@@ -1826,7 +1841,7 @@ class DataClient:
|
|
|
1826
1841
|
method_name (Optional[str]): Optional name of the method associated with the file.
|
|
1827
1842
|
method_parameters (Optional[str]): Optional dictionary of the method parameters. No longer in active use.
|
|
1828
1843
|
tags (Optional[List[str]]): Optional list of tags to allow for tag-based filtering when retrieving data.
|
|
1829
|
-
|
|
1844
|
+
dataset_ids (Optional[List[str]]): Optional list of datasets to add the data to.
|
|
1830
1845
|
|
|
1831
1846
|
Raises:
|
|
1832
1847
|
GRPCError: If an invalid part ID is passed.
|
|
@@ -1854,6 +1869,7 @@ class DataClient:
|
|
|
1854
1869
|
method_parameters=method_parameters,
|
|
1855
1870
|
file_extension=file_extension if file_extension else "",
|
|
1856
1871
|
tags=tags,
|
|
1872
|
+
dataset_ids=dataset_ids,
|
|
1857
1873
|
)
|
|
1858
1874
|
response: FileUploadResponse = await self._file_upload(metadata=metadata, file_contents=FileData(data=data if data else bytes()))
|
|
1859
1875
|
return response.binary_data_id
|
|
@@ -1924,6 +1940,7 @@ class DataClient:
|
|
|
1924
1940
|
name="<YOUR-PIPELINE-NAME>",
|
|
1925
1941
|
mql_binary=[<YOUR-MQL-PIPELINE-AGGREGATION>],
|
|
1926
1942
|
schedule="<YOUR-SCHEDULE>",
|
|
1943
|
+
enable_backfill=False,
|
|
1927
1944
|
data_source_type=TabularDataSourceType.TABULAR_DATA_SOURCE_TYPE_STANDARD,
|
|
1928
1945
|
)
|
|
1929
1946
|
|
|
@@ -1953,6 +1970,21 @@ class DataClient:
|
|
|
1953
1970
|
response: CreateDataPipelineResponse = await self._data_pipelines_client.CreateDataPipeline(request, metadata=self._metadata)
|
|
1954
1971
|
return response.id
|
|
1955
1972
|
|
|
1973
|
+
async def rename_data_pipeline(self, id: str, name: str) -> None:
|
|
1974
|
+
"""Rename a data pipeline by its ID.
|
|
1975
|
+
::
|
|
1976
|
+
|
|
1977
|
+
await data_client.rename_data_pipeline(id="<YOUR-DATA-PIPELINE-ID>", name="<YOUR-NEW-NAME>")
|
|
1978
|
+
|
|
1979
|
+
Args:
|
|
1980
|
+
id (str): The ID of the data pipeline to rename.
|
|
1981
|
+
name (str): The new name of the data pipeline.
|
|
1982
|
+
"""
|
|
1983
|
+
if not id or not name:
|
|
1984
|
+
raise ValueError("id and name are required")
|
|
1985
|
+
request = RenameDataPipelineRequest(id=id, name=name)
|
|
1986
|
+
await self._data_pipelines_client.RenameDataPipeline(request, metadata=self._metadata)
|
|
1987
|
+
|
|
1956
1988
|
async def delete_data_pipeline(self, id: str) -> None:
|
|
1957
1989
|
"""Delete a data pipeline by its ID.
|
|
1958
1990
|
|
viam/app/viam_client.py
CHANGED
|
@@ -206,7 +206,7 @@ class ViamClient:
|
|
|
206
206
|
"""
|
|
207
207
|
return ProvisioningClient(self._channel, self._metadata)
|
|
208
208
|
|
|
209
|
-
def close(self):
|
|
209
|
+
def close(self) -> None:
|
|
210
210
|
"""Close opened channels used for the various service stubs initialized."""
|
|
211
211
|
if self._closed:
|
|
212
212
|
LOGGER.debug("ViamClient is already closed.")
|
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"Z\n\x0eClassification\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"j\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"%\n#AddTagsToBinaryDataByFilterResponse"\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"o\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"O\n(RemoveTagsFromBinaryDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount"G\n\x13TagsByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter"*\n\x14TagsByFilterResponse\x12\x12\n\x04tags\x18\x01 \x03(\tR\x04tags"\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"T\n BoundingBoxLabelsByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter";\n!BoundingBoxLabelsByFilterResponse\x12\x16\n\x06labels\x18\x01 \x03(\tR\x06labels"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\xd6\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\x8a\x01\n\x1bAddTagsToBinaryDataByFilter\x124.viam.app.data.v1.AddTagsToBinaryDataByFilterRequest\x1a5.viam.app.data.v1.AddTagsToBinaryDataByFilterResponse\x12\x90\x01\n\x1dRemoveTagsFromBinaryDataByIDs\x126.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsRequest\x1a7.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsResponse\x12\x99\x01\n RemoveTagsFromBinaryDataByFilter\x129.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterRequest\x1a:.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterResponse\x12]\n\x0cTagsByFilter\x12%.viam.app.data.v1.TagsByFilterRequest\x1a&.viam.app.data.v1.TagsByFilterResponse\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\x84\x01\n\x19BoundingBoxLabelsByFilter\x122.viam.app.data.v1.BoundingBoxLabelsByFilterRequest\x1a3.viam.app.data.v1.BoundingBoxLabelsByFilterResponse\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"\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"j\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"%\n#AddTagsToBinaryDataByFilterResponse"\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"o\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"O\n(RemoveTagsFromBinaryDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount"G\n\x13TagsByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter"*\n\x14TagsByFilterResponse\x12\x12\n\x04tags\x18\x01 \x03(\tR\x04tags"\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"T\n BoundingBoxLabelsByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter";\n!BoundingBoxLabelsByFilterResponse\x12\x16\n\x06labels\x18\x01 \x03(\tR\x06labels"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\xd6\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\x8a\x01\n\x1bAddTagsToBinaryDataByFilter\x124.viam.app.data.v1.AddTagsToBinaryDataByFilterRequest\x1a5.viam.app.data.v1.AddTagsToBinaryDataByFilterResponse\x12\x90\x01\n\x1dRemoveTagsFromBinaryDataByIDs\x126.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsRequest\x1a7.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsResponse\x12\x99\x01\n RemoveTagsFromBinaryDataByFilter\x129.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterRequest\x1a:.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterResponse\x12]\n\x0cTagsByFilter\x12%.viam.app.data.v1.TagsByFilterRequest\x1a&.viam.app.data.v1.TagsByFilterResponse\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\x84\x01\n\x19BoundingBoxLabelsByFilter\x122.viam.app.data.v1.BoundingBoxLabelsByFilterRequest\x1a3.viam.app.data.v1.BoundingBoxLabelsByFilterResponse\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')
|
|
13
13
|
_globals = globals()
|
|
14
14
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
15
15
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.data.v1.data_pb2', _globals)
|
|
@@ -48,12 +48,12 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
48
48
|
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSREQUEST'].fields_by_name['binary_ids']._serialized_options = b'\x18\x01'
|
|
49
49
|
_globals['_DATASERVICE'].methods_by_name['TabularDataByFilter']._loaded_options = None
|
|
50
50
|
_globals['_DATASERVICE'].methods_by_name['TabularDataByFilter']._serialized_options = b'\x88\x02\x01'
|
|
51
|
-
_globals['_ORDER']._serialized_start =
|
|
52
|
-
_globals['_ORDER']._serialized_end =
|
|
53
|
-
_globals['_TAGSFILTERTYPE']._serialized_start =
|
|
54
|
-
_globals['_TAGSFILTERTYPE']._serialized_end =
|
|
55
|
-
_globals['_TABULARDATASOURCETYPE']._serialized_start =
|
|
56
|
-
_globals['_TABULARDATASOURCETYPE']._serialized_end =
|
|
51
|
+
_globals['_ORDER']._serialized_start = 9813
|
|
52
|
+
_globals['_ORDER']._serialized_end = 9886
|
|
53
|
+
_globals['_TAGSFILTERTYPE']._serialized_start = 9889
|
|
54
|
+
_globals['_TAGSFILTERTYPE']._serialized_end = 10033
|
|
55
|
+
_globals['_TABULARDATASOURCETYPE']._serialized_start = 10036
|
|
56
|
+
_globals['_TABULARDATASOURCETYPE']._serialized_end = 10226
|
|
57
57
|
_globals['_DATAREQUEST']._serialized_start = 135
|
|
58
58
|
_globals['_DATAREQUEST']._serialized_end = 296
|
|
59
59
|
_globals['_FILTER']._serialized_start = 299
|
|
@@ -105,74 +105,74 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
105
105
|
_globals['_BOUNDINGBOX']._serialized_start = 5206
|
|
106
106
|
_globals['_BOUNDINGBOX']._serialized_end = 5477
|
|
107
107
|
_globals['_CLASSIFICATION']._serialized_start = 5479
|
|
108
|
-
_globals['_CLASSIFICATION']._serialized_end =
|
|
109
|
-
_globals['_ANNOTATIONS']._serialized_start =
|
|
110
|
-
_globals['_ANNOTATIONS']._serialized_end =
|
|
111
|
-
_globals['_BINARYMETADATA']._serialized_start =
|
|
112
|
-
_globals['_BINARYMETADATA']._serialized_end =
|
|
113
|
-
_globals['_DELETETABULARDATAREQUEST']._serialized_start =
|
|
114
|
-
_globals['_DELETETABULARDATAREQUEST']._serialized_end =
|
|
115
|
-
_globals['_DELETETABULARDATARESPONSE']._serialized_start =
|
|
116
|
-
_globals['_DELETETABULARDATARESPONSE']._serialized_end =
|
|
117
|
-
_globals['_DELETEBINARYDATABYFILTERREQUEST']._serialized_start =
|
|
118
|
-
_globals['_DELETEBINARYDATABYFILTERREQUEST']._serialized_end =
|
|
119
|
-
_globals['_DELETEBINARYDATABYFILTERRESPONSE']._serialized_start =
|
|
120
|
-
_globals['_DELETEBINARYDATABYFILTERRESPONSE']._serialized_end =
|
|
121
|
-
_globals['_DELETEBINARYDATABYIDSREQUEST']._serialized_start =
|
|
122
|
-
_globals['_DELETEBINARYDATABYIDSREQUEST']._serialized_end =
|
|
123
|
-
_globals['_DELETEBINARYDATABYIDSRESPONSE']._serialized_start =
|
|
124
|
-
_globals['_DELETEBINARYDATABYIDSRESPONSE']._serialized_end =
|
|
125
|
-
_globals['_ADDTAGSTOBINARYDATABYIDSREQUEST']._serialized_start =
|
|
126
|
-
_globals['_ADDTAGSTOBINARYDATABYIDSREQUEST']._serialized_end =
|
|
127
|
-
_globals['_ADDTAGSTOBINARYDATABYIDSRESPONSE']._serialized_start =
|
|
128
|
-
_globals['_ADDTAGSTOBINARYDATABYIDSRESPONSE']._serialized_end =
|
|
129
|
-
_globals['_ADDTAGSTOBINARYDATABYFILTERREQUEST']._serialized_start =
|
|
130
|
-
_globals['_ADDTAGSTOBINARYDATABYFILTERREQUEST']._serialized_end =
|
|
131
|
-
_globals['_ADDTAGSTOBINARYDATABYFILTERRESPONSE']._serialized_start =
|
|
132
|
-
_globals['_ADDTAGSTOBINARYDATABYFILTERRESPONSE']._serialized_end =
|
|
133
|
-
_globals['_REMOVETAGSFROMBINARYDATABYIDSREQUEST']._serialized_start =
|
|
134
|
-
_globals['_REMOVETAGSFROMBINARYDATABYIDSREQUEST']._serialized_end =
|
|
135
|
-
_globals['_REMOVETAGSFROMBINARYDATABYIDSRESPONSE']._serialized_start =
|
|
136
|
-
_globals['_REMOVETAGSFROMBINARYDATABYIDSRESPONSE']._serialized_end =
|
|
137
|
-
_globals['_REMOVETAGSFROMBINARYDATABYFILTERREQUEST']._serialized_start =
|
|
138
|
-
_globals['_REMOVETAGSFROMBINARYDATABYFILTERREQUEST']._serialized_end =
|
|
139
|
-
_globals['_REMOVETAGSFROMBINARYDATABYFILTERRESPONSE']._serialized_start =
|
|
140
|
-
_globals['_REMOVETAGSFROMBINARYDATABYFILTERRESPONSE']._serialized_end =
|
|
141
|
-
_globals['_TAGSBYFILTERREQUEST']._serialized_start =
|
|
142
|
-
_globals['_TAGSBYFILTERREQUEST']._serialized_end =
|
|
143
|
-
_globals['_TAGSBYFILTERRESPONSE']._serialized_start =
|
|
144
|
-
_globals['_TAGSBYFILTERRESPONSE']._serialized_end =
|
|
145
|
-
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDREQUEST']._serialized_start =
|
|
146
|
-
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDREQUEST']._serialized_end =
|
|
147
|
-
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE']._serialized_start =
|
|
148
|
-
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE']._serialized_end =
|
|
149
|
-
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST']._serialized_start =
|
|
150
|
-
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST']._serialized_end =
|
|
151
|
-
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE']._serialized_start =
|
|
152
|
-
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE']._serialized_end =
|
|
153
|
-
_globals['_UPDATEBOUNDINGBOXREQUEST']._serialized_start =
|
|
154
|
-
_globals['_UPDATEBOUNDINGBOXREQUEST']._serialized_end =
|
|
155
|
-
_globals['_UPDATEBOUNDINGBOXRESPONSE']._serialized_start =
|
|
156
|
-
_globals['_UPDATEBOUNDINGBOXRESPONSE']._serialized_end =
|
|
157
|
-
_globals['_BOUNDINGBOXLABELSBYFILTERREQUEST']._serialized_start =
|
|
158
|
-
_globals['_BOUNDINGBOXLABELSBYFILTERREQUEST']._serialized_end =
|
|
159
|
-
_globals['_BOUNDINGBOXLABELSBYFILTERRESPONSE']._serialized_start =
|
|
160
|
-
_globals['_BOUNDINGBOXLABELSBYFILTERRESPONSE']._serialized_end =
|
|
161
|
-
_globals['_CONFIGUREDATABASEUSERREQUEST']._serialized_start =
|
|
162
|
-
_globals['_CONFIGUREDATABASEUSERREQUEST']._serialized_end =
|
|
163
|
-
_globals['_CONFIGUREDATABASEUSERRESPONSE']._serialized_start =
|
|
164
|
-
_globals['_CONFIGUREDATABASEUSERRESPONSE']._serialized_end =
|
|
165
|
-
_globals['_GETDATABASECONNECTIONREQUEST']._serialized_start =
|
|
166
|
-
_globals['_GETDATABASECONNECTIONREQUEST']._serialized_end =
|
|
167
|
-
_globals['_GETDATABASECONNECTIONRESPONSE']._serialized_start =
|
|
168
|
-
_globals['_GETDATABASECONNECTIONRESPONSE']._serialized_end =
|
|
169
|
-
_globals['_ADDBINARYDATATODATASETBYIDSREQUEST']._serialized_start =
|
|
170
|
-
_globals['_ADDBINARYDATATODATASETBYIDSREQUEST']._serialized_end =
|
|
171
|
-
_globals['_ADDBINARYDATATODATASETBYIDSRESPONSE']._serialized_start =
|
|
172
|
-
_globals['_ADDBINARYDATATODATASETBYIDSRESPONSE']._serialized_end =
|
|
173
|
-
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSREQUEST']._serialized_start =
|
|
174
|
-
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSREQUEST']._serialized_end =
|
|
175
|
-
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSRESPONSE']._serialized_start =
|
|
176
|
-
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSRESPONSE']._serialized_end =
|
|
177
|
-
_globals['_DATASERVICE']._serialized_start =
|
|
178
|
-
_globals['_DATASERVICE']._serialized_end =
|
|
108
|
+
_globals['_CLASSIFICATION']._serialized_end = 5585
|
|
109
|
+
_globals['_ANNOTATIONS']._serialized_start = 5588
|
|
110
|
+
_globals['_ANNOTATIONS']._serialized_end = 5732
|
|
111
|
+
_globals['_BINARYMETADATA']._serialized_start = 5735
|
|
112
|
+
_globals['_BINARYMETADATA']._serialized_end = 6191
|
|
113
|
+
_globals['_DELETETABULARDATAREQUEST']._serialized_start = 6193
|
|
114
|
+
_globals['_DELETETABULARDATAREQUEST']._serialized_end = 6313
|
|
115
|
+
_globals['_DELETETABULARDATARESPONSE']._serialized_start = 6315
|
|
116
|
+
_globals['_DELETETABULARDATARESPONSE']._serialized_end = 6379
|
|
117
|
+
_globals['_DELETEBINARYDATABYFILTERREQUEST']._serialized_start = 6382
|
|
118
|
+
_globals['_DELETEBINARYDATABYFILTERREQUEST']._serialized_end = 6517
|
|
119
|
+
_globals['_DELETEBINARYDATABYFILTERRESPONSE']._serialized_start = 6519
|
|
120
|
+
_globals['_DELETEBINARYDATABYFILTERRESPONSE']._serialized_end = 6604
|
|
121
|
+
_globals['_DELETEBINARYDATABYIDSREQUEST']._serialized_start = 6607
|
|
122
|
+
_globals['_DELETEBINARYDATABYIDSREQUEST']._serialized_end = 6756
|
|
123
|
+
_globals['_DELETEBINARYDATABYIDSRESPONSE']._serialized_start = 6758
|
|
124
|
+
_globals['_DELETEBINARYDATABYIDSRESPONSE']._serialized_end = 6840
|
|
125
|
+
_globals['_ADDTAGSTOBINARYDATABYIDSREQUEST']._serialized_start = 6843
|
|
126
|
+
_globals['_ADDTAGSTOBINARYDATABYIDSREQUEST']._serialized_end = 7015
|
|
127
|
+
_globals['_ADDTAGSTOBINARYDATABYIDSRESPONSE']._serialized_start = 7017
|
|
128
|
+
_globals['_ADDTAGSTOBINARYDATABYIDSRESPONSE']._serialized_end = 7051
|
|
129
|
+
_globals['_ADDTAGSTOBINARYDATABYFILTERREQUEST']._serialized_start = 7053
|
|
130
|
+
_globals['_ADDTAGSTOBINARYDATABYFILTERREQUEST']._serialized_end = 7159
|
|
131
|
+
_globals['_ADDTAGSTOBINARYDATABYFILTERRESPONSE']._serialized_start = 7161
|
|
132
|
+
_globals['_ADDTAGSTOBINARYDATABYFILTERRESPONSE']._serialized_end = 7198
|
|
133
|
+
_globals['_REMOVETAGSFROMBINARYDATABYIDSREQUEST']._serialized_start = 7201
|
|
134
|
+
_globals['_REMOVETAGSFROMBINARYDATABYIDSREQUEST']._serialized_end = 7378
|
|
135
|
+
_globals['_REMOVETAGSFROMBINARYDATABYIDSRESPONSE']._serialized_start = 7380
|
|
136
|
+
_globals['_REMOVETAGSFROMBINARYDATABYIDSRESPONSE']._serialized_end = 7456
|
|
137
|
+
_globals['_REMOVETAGSFROMBINARYDATABYFILTERREQUEST']._serialized_start = 7458
|
|
138
|
+
_globals['_REMOVETAGSFROMBINARYDATABYFILTERREQUEST']._serialized_end = 7569
|
|
139
|
+
_globals['_REMOVETAGSFROMBINARYDATABYFILTERRESPONSE']._serialized_start = 7571
|
|
140
|
+
_globals['_REMOVETAGSFROMBINARYDATABYFILTERRESPONSE']._serialized_end = 7650
|
|
141
|
+
_globals['_TAGSBYFILTERREQUEST']._serialized_start = 7652
|
|
142
|
+
_globals['_TAGSBYFILTERREQUEST']._serialized_end = 7723
|
|
143
|
+
_globals['_TAGSBYFILTERRESPONSE']._serialized_start = 7725
|
|
144
|
+
_globals['_TAGSBYFILTERRESPONSE']._serialized_end = 7767
|
|
145
|
+
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDREQUEST']._serialized_start = 7770
|
|
146
|
+
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDREQUEST']._serialized_end = 8108
|
|
147
|
+
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE']._serialized_start = 8110
|
|
148
|
+
_globals['_ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE']._serialized_end = 8170
|
|
149
|
+
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST']._serialized_start = 8173
|
|
150
|
+
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST']._serialized_end = 8351
|
|
151
|
+
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE']._serialized_start = 8353
|
|
152
|
+
_globals['_REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE']._serialized_end = 8393
|
|
153
|
+
_globals['_UPDATEBOUNDINGBOXREQUEST']._serialized_start = 8396
|
|
154
|
+
_globals['_UPDATEBOUNDINGBOXREQUEST']._serialized_end = 8855
|
|
155
|
+
_globals['_UPDATEBOUNDINGBOXRESPONSE']._serialized_start = 8857
|
|
156
|
+
_globals['_UPDATEBOUNDINGBOXRESPONSE']._serialized_end = 8884
|
|
157
|
+
_globals['_BOUNDINGBOXLABELSBYFILTERREQUEST']._serialized_start = 8886
|
|
158
|
+
_globals['_BOUNDINGBOXLABELSBYFILTERREQUEST']._serialized_end = 8970
|
|
159
|
+
_globals['_BOUNDINGBOXLABELSBYFILTERRESPONSE']._serialized_start = 8972
|
|
160
|
+
_globals['_BOUNDINGBOXLABELSBYFILTERRESPONSE']._serialized_end = 9031
|
|
161
|
+
_globals['_CONFIGUREDATABASEUSERREQUEST']._serialized_start = 9033
|
|
162
|
+
_globals['_CONFIGUREDATABASEUSERREQUEST']._serialized_end = 9132
|
|
163
|
+
_globals['_CONFIGUREDATABASEUSERRESPONSE']._serialized_start = 9134
|
|
164
|
+
_globals['_CONFIGUREDATABASEUSERRESPONSE']._serialized_end = 9165
|
|
165
|
+
_globals['_GETDATABASECONNECTIONREQUEST']._serialized_start = 9167
|
|
166
|
+
_globals['_GETDATABASECONNECTIONREQUEST']._serialized_end = 9238
|
|
167
|
+
_globals['_GETDATABASECONNECTIONRESPONSE']._serialized_start = 9241
|
|
168
|
+
_globals['_GETDATABASECONNECTIONRESPONSE']._serialized_end = 9377
|
|
169
|
+
_globals['_ADDBINARYDATATODATASETBYIDSREQUEST']._serialized_start = 9380
|
|
170
|
+
_globals['_ADDBINARYDATATODATASETBYIDSREQUEST']._serialized_end = 9550
|
|
171
|
+
_globals['_ADDBINARYDATATODATASETBYIDSRESPONSE']._serialized_start = 9552
|
|
172
|
+
_globals['_ADDBINARYDATATODATASETBYIDSRESPONSE']._serialized_end = 9589
|
|
173
|
+
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSREQUEST']._serialized_start = 9592
|
|
174
|
+
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSREQUEST']._serialized_end = 9767
|
|
175
|
+
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSRESPONSE']._serialized_start = 9769
|
|
176
|
+
_globals['_REMOVEBINARYDATAFROMDATASETBYIDSRESPONSE']._serialized_end = 9811
|
|
177
|
+
_globals['_DATASERVICE']._serialized_start = 10229
|
|
178
|
+
_globals['_DATASERVICE']._serialized_end = 13131
|
|
@@ -814,19 +814,21 @@ global___BoundingBox = BoundingBox
|
|
|
814
814
|
class Classification(google.protobuf.message.Message):
|
|
815
815
|
"""Classification represents a confidence score with a label."""
|
|
816
816
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
817
|
+
ID_FIELD_NUMBER: builtins.int
|
|
817
818
|
LABEL_FIELD_NUMBER: builtins.int
|
|
818
819
|
CONFIDENCE_FIELD_NUMBER: builtins.int
|
|
820
|
+
id: builtins.str
|
|
819
821
|
label: builtins.str
|
|
820
822
|
confidence: builtins.float
|
|
821
823
|
'confidence is an optional range from 0 - 1'
|
|
822
824
|
|
|
823
|
-
def __init__(self, *, label: builtins.str=..., confidence: builtins.float | None=...) -> None:
|
|
825
|
+
def __init__(self, *, id: builtins.str=..., label: builtins.str=..., confidence: builtins.float | None=...) -> None:
|
|
824
826
|
...
|
|
825
827
|
|
|
826
828
|
def HasField(self, field_name: typing.Literal['_confidence', b'_confidence', 'confidence', b'confidence']) -> builtins.bool:
|
|
827
829
|
...
|
|
828
830
|
|
|
829
|
-
def ClearField(self, field_name: typing.Literal['_confidence', b'_confidence', 'confidence', b'confidence', 'label', b'label']) -> None:
|
|
831
|
+
def ClearField(self, field_name: typing.Literal['_confidence', b'_confidence', 'confidence', b'confidence', 'id', b'id', 'label', b'label']) -> None:
|
|
830
832
|
...
|
|
831
833
|
|
|
832
834
|
def WhichOneof(self, oneof_group: typing.Literal['_confidence', b'_confidence']) -> typing.Literal['confidence'] | None:
|
|
@@ -23,7 +23,7 @@ class DataPipelinesServiceBase(abc.ABC):
|
|
|
23
23
|
pass
|
|
24
24
|
|
|
25
25
|
@abc.abstractmethod
|
|
26
|
-
async def
|
|
26
|
+
async def RenameDataPipeline(self, stream: 'grpclib.server.Stream[app.datapipelines.v1.data_pipelines_pb2.RenameDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.RenameDataPipelineResponse]') -> None:
|
|
27
27
|
pass
|
|
28
28
|
|
|
29
29
|
@abc.abstractmethod
|
|
@@ -43,7 +43,7 @@ class DataPipelinesServiceBase(abc.ABC):
|
|
|
43
43
|
pass
|
|
44
44
|
|
|
45
45
|
def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]:
|
|
46
|
-
return {'/viam.app.datapipelines.v1.DataPipelinesService/GetDataPipeline': grpclib.const.Handler(self.GetDataPipeline, grpclib.const.Cardinality.UNARY_UNARY, app.datapipelines.v1.data_pipelines_pb2.GetDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.GetDataPipelineResponse), '/viam.app.datapipelines.v1.DataPipelinesService/ListDataPipelines': grpclib.const.Handler(self.ListDataPipelines, grpclib.const.Cardinality.UNARY_UNARY, app.datapipelines.v1.data_pipelines_pb2.ListDataPipelinesRequest, app.datapipelines.v1.data_pipelines_pb2.ListDataPipelinesResponse), '/viam.app.datapipelines.v1.DataPipelinesService/CreateDataPipeline': grpclib.const.Handler(self.CreateDataPipeline, grpclib.const.Cardinality.UNARY_UNARY, app.datapipelines.v1.data_pipelines_pb2.CreateDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.CreateDataPipelineResponse), '/viam.app.datapipelines.v1.DataPipelinesService/
|
|
46
|
+
return {'/viam.app.datapipelines.v1.DataPipelinesService/GetDataPipeline': grpclib.const.Handler(self.GetDataPipeline, grpclib.const.Cardinality.UNARY_UNARY, app.datapipelines.v1.data_pipelines_pb2.GetDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.GetDataPipelineResponse), '/viam.app.datapipelines.v1.DataPipelinesService/ListDataPipelines': grpclib.const.Handler(self.ListDataPipelines, grpclib.const.Cardinality.UNARY_UNARY, app.datapipelines.v1.data_pipelines_pb2.ListDataPipelinesRequest, app.datapipelines.v1.data_pipelines_pb2.ListDataPipelinesResponse), '/viam.app.datapipelines.v1.DataPipelinesService/CreateDataPipeline': grpclib.const.Handler(self.CreateDataPipeline, grpclib.const.Cardinality.UNARY_UNARY, app.datapipelines.v1.data_pipelines_pb2.CreateDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.CreateDataPipelineResponse), '/viam.app.datapipelines.v1.DataPipelinesService/RenameDataPipeline': grpclib.const.Handler(self.RenameDataPipeline, grpclib.const.Cardinality.UNARY_UNARY, app.datapipelines.v1.data_pipelines_pb2.RenameDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.RenameDataPipelineResponse), '/viam.app.datapipelines.v1.DataPipelinesService/DeleteDataPipeline': grpclib.const.Handler(self.DeleteDataPipeline, grpclib.const.Cardinality.UNARY_UNARY, app.datapipelines.v1.data_pipelines_pb2.DeleteDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.DeleteDataPipelineResponse), '/viam.app.datapipelines.v1.DataPipelinesService/EnableDataPipeline': grpclib.const.Handler(self.EnableDataPipeline, grpclib.const.Cardinality.UNARY_UNARY, app.datapipelines.v1.data_pipelines_pb2.EnableDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.EnableDataPipelineResponse), '/viam.app.datapipelines.v1.DataPipelinesService/DisableDataPipeline': grpclib.const.Handler(self.DisableDataPipeline, grpclib.const.Cardinality.UNARY_UNARY, app.datapipelines.v1.data_pipelines_pb2.DisableDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.DisableDataPipelineResponse), '/viam.app.datapipelines.v1.DataPipelinesService/ListDataPipelineRuns': grpclib.const.Handler(self.ListDataPipelineRuns, grpclib.const.Cardinality.UNARY_UNARY, app.datapipelines.v1.data_pipelines_pb2.ListDataPipelineRunsRequest, app.datapipelines.v1.data_pipelines_pb2.ListDataPipelineRunsResponse)}
|
|
47
47
|
|
|
48
48
|
class UnimplementedDataPipelinesServiceBase(DataPipelinesServiceBase):
|
|
49
49
|
|
|
@@ -56,7 +56,7 @@ class UnimplementedDataPipelinesServiceBase(DataPipelinesServiceBase):
|
|
|
56
56
|
async def CreateDataPipeline(self, stream: 'grpclib.server.Stream[app.datapipelines.v1.data_pipelines_pb2.CreateDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.CreateDataPipelineResponse]') -> None:
|
|
57
57
|
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
58
58
|
|
|
59
|
-
async def
|
|
59
|
+
async def RenameDataPipeline(self, stream: 'grpclib.server.Stream[app.datapipelines.v1.data_pipelines_pb2.RenameDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.RenameDataPipelineResponse]') -> None:
|
|
60
60
|
raise grpclib.exceptions.GRPCError(grpclib.const.Status.UNIMPLEMENTED)
|
|
61
61
|
|
|
62
62
|
async def DeleteDataPipeline(self, stream: 'grpclib.server.Stream[app.datapipelines.v1.data_pipelines_pb2.DeleteDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.DeleteDataPipelineResponse]') -> None:
|
|
@@ -77,7 +77,7 @@ class DataPipelinesServiceStub:
|
|
|
77
77
|
self.GetDataPipeline = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.datapipelines.v1.DataPipelinesService/GetDataPipeline', app.datapipelines.v1.data_pipelines_pb2.GetDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.GetDataPipelineResponse)
|
|
78
78
|
self.ListDataPipelines = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.datapipelines.v1.DataPipelinesService/ListDataPipelines', app.datapipelines.v1.data_pipelines_pb2.ListDataPipelinesRequest, app.datapipelines.v1.data_pipelines_pb2.ListDataPipelinesResponse)
|
|
79
79
|
self.CreateDataPipeline = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.datapipelines.v1.DataPipelinesService/CreateDataPipeline', app.datapipelines.v1.data_pipelines_pb2.CreateDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.CreateDataPipelineResponse)
|
|
80
|
-
self.
|
|
80
|
+
self.RenameDataPipeline = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.datapipelines.v1.DataPipelinesService/RenameDataPipeline', app.datapipelines.v1.data_pipelines_pb2.RenameDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.RenameDataPipelineResponse)
|
|
81
81
|
self.DeleteDataPipeline = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.datapipelines.v1.DataPipelinesService/DeleteDataPipeline', app.datapipelines.v1.data_pipelines_pb2.DeleteDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.DeleteDataPipelineResponse)
|
|
82
82
|
self.EnableDataPipeline = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.datapipelines.v1.DataPipelinesService/EnableDataPipeline', app.datapipelines.v1.data_pipelines_pb2.EnableDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.EnableDataPipelineResponse)
|
|
83
83
|
self.DisableDataPipeline = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.datapipelines.v1.DataPipelinesService/DisableDataPipeline', app.datapipelines.v1.data_pipelines_pb2.DisableDataPipelineRequest, app.datapipelines.v1.data_pipelines_pb2.DisableDataPipelineResponse)
|