diff --git a/src/viam/app/client.py b/src/viam/app/client.py index 1f21d83e4..9c36f0817 100644 --- a/src/viam/app/client.py +++ b/src/viam/app/client.py @@ -1,10 +1,9 @@ -from typing_extensions import Self - from grpclib.client import Channel +from typing_extensions import Self -from viam.rpc.dial import DialOptions, _dial_app, _get_access_token from viam import logging from viam.app.data.client import DataClient +from viam.rpc.dial import DialOptions, _dial_app, _get_access_token LOGGER = logging.getLogger(__name__) diff --git a/src/viam/app/data/client.py b/src/viam/app/data/client.py index 966fbae8b..c3225ed49 100644 --- a/src/viam/app/data/client.py +++ b/src/viam/app/data/client.py @@ -1,18 +1,10 @@ -from typing import List, Optional, Mapping, Any +from typing import Any, List, Mapping, Optional from grpclib.client import Channel -from viam.proto.app.data import ( - DataServiceStub, - Filter, -) -from viam.proto.app.datasync import ( - UploadMetadata, - SensorData, - FileData -) -from viam.proto.app.datasync import DataSyncServiceStub from viam import logging +from viam.proto.app.data import DataServiceStub, Filter +from viam.proto.app.datasync import DataSyncServiceStub, FileData, SensorData, UploadMetadata LOGGER = logging.getLogger(__name__) @@ -39,18 +31,10 @@ def __init__(self, channel: Channel, metadata: str): _data_sync_client: DataSyncServiceStub _metadata: str - async def tabular_data_by_filter( - self, - filter: Optional[Filter], - dest: Optional[str] - ) -> List[Mapping[str, Any]]: + async def tabular_data_by_filter(self, filter: Optional[Filter], dest: Optional[str]) -> List[Mapping[str, Any]]: raise NotImplementedError() - async def binary_data_by_filter( - self, - data_request: Optional[Filter], - dest: Optional[str] - ) -> List[bytes]: + async def binary_data_by_filter(self, data_request: Optional[Filter], dest: Optional[str]) -> List[bytes]: raise NotImplementedError() async def binary_data_by_ids(self, file_ids: Optional[List[str]]) -> List[bytes]: diff --git a/src/viam/components/gantry/client.py b/src/viam/components/gantry/client.py index 4ebeaff9f..4104cfa8a 100644 --- a/src/viam/components/gantry/client.py +++ b/src/viam/components/gantry/client.py @@ -49,18 +49,14 @@ async def move_to_position( ): if extra is None: extra = {} - request = MoveToPositionRequest( - name=self.name, - positions_mm=positions, - speeds_mm_per_sec=speeds, - extra=dict_to_struct(extra)) + request = MoveToPositionRequest(name=self.name, positions_mm=positions, speeds_mm_per_sec=speeds, extra=dict_to_struct(extra)) await self.client.MoveToPosition(request, timeout=timeout) async def home(self, *, extra: Optional[Dict[str, Any]] = None, timeout: Optional[float] = None) -> bool: if extra is None: extra = {} request = HomeRequest(name=self.name, extra=dict_to_struct(extra)) - response : HomeResponse = await self.client.Home(request, timeout=timeout) + response: HomeResponse = await self.client.Home(request, timeout=timeout) return response.homed async def get_lengths(self, *, extra: Optional[Dict[str, Any]] = None, timeout: Optional[float] = None) -> List[float]: diff --git a/src/viam/components/gantry/service.py b/src/viam/components/gantry/service.py index 9960469e0..22de40173 100644 --- a/src/viam/components/gantry/service.py +++ b/src/viam/components/gantry/service.py @@ -51,7 +51,7 @@ async def MoveToPosition(self, stream: Stream[MoveToPositionRequest, MoveToPosit list(request.speeds_mm_per_sec), extra=struct_to_dict(request.extra), timeout=timeout, - metadata=stream.metadata + metadata=stream.metadata, ) response = MoveToPositionResponse() await stream.send_message(response) diff --git a/src/viam/gen/app/data/v1/data_grpc.py b/src/viam/gen/app/data/v1/data_grpc.py index ee6027088..7a04d2ece 100644 --- a/src/viam/gen/app/data/v1/data_grpc.py +++ b/src/viam/gen/app/data/v1/data_grpc.py @@ -36,7 +36,7 @@ async def DeleteBinaryDataByIDs(self, stream: 'grpclib.server.Stream[app.data.v1 pass @abc.abstractmethod - async def AddTagsToBinaryDataByFileIDs(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.AddTagsToBinaryDataByFileIDsRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByFileIDsResponse]') -> None: + async def AddTagsToBinaryDataByIDs(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.AddTagsToBinaryDataByIDsRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByIDsResponse]') -> None: pass @abc.abstractmethod @@ -44,7 +44,7 @@ async def AddTagsToBinaryDataByFilter(self, stream: 'grpclib.server.Stream[app.d pass @abc.abstractmethod - async def RemoveTagsFromBinaryDataByFileIDs(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFileIDsRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFileIDsResponse]') -> None: + async def RemoveTagsFromBinaryDataByIDs(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.RemoveTagsFromBinaryDataByIDsRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByIDsResponse]') -> None: pass @abc.abstractmethod @@ -68,7 +68,7 @@ async def BoundingBoxLabelsByFilter(self, stream: 'grpclib.server.Stream[app.dat pass def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]: - 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/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/DeleteTabularDataByFilter': grpclib.const.Handler(self.DeleteTabularDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteTabularDataByFilterRequest, app.data.v1.data_pb2.DeleteTabularDataByFilterResponse), '/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/AddTagsToBinaryDataByFileIDs': grpclib.const.Handler(self.AddTagsToBinaryDataByFileIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddTagsToBinaryDataByFileIDsRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByFileIDsResponse), '/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/RemoveTagsFromBinaryDataByFileIDs': grpclib.const.Handler(self.RemoveTagsFromBinaryDataByFileIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFileIDsRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFileIDsResponse), '/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)} + 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/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/DeleteTabularDataByFilter': grpclib.const.Handler(self.DeleteTabularDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteTabularDataByFilterRequest, app.data.v1.data_pb2.DeleteTabularDataByFilterResponse), '/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)} class DataServiceStub: @@ -79,9 +79,9 @@ def __init__(self, channel: grpclib.client.Channel) -> None: self.DeleteTabularDataByFilter = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/DeleteTabularDataByFilter', app.data.v1.data_pb2.DeleteTabularDataByFilterRequest, app.data.v1.data_pb2.DeleteTabularDataByFilterResponse) self.DeleteBinaryDataByFilter = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/DeleteBinaryDataByFilter', app.data.v1.data_pb2.DeleteBinaryDataByFilterRequest, app.data.v1.data_pb2.DeleteBinaryDataByFilterResponse) self.DeleteBinaryDataByIDs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/DeleteBinaryDataByIDs', app.data.v1.data_pb2.DeleteBinaryDataByIDsRequest, app.data.v1.data_pb2.DeleteBinaryDataByIDsResponse) - self.AddTagsToBinaryDataByFileIDs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/AddTagsToBinaryDataByFileIDs', app.data.v1.data_pb2.AddTagsToBinaryDataByFileIDsRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByFileIDsResponse) + self.AddTagsToBinaryDataByIDs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/AddTagsToBinaryDataByIDs', app.data.v1.data_pb2.AddTagsToBinaryDataByIDsRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByIDsResponse) self.AddTagsToBinaryDataByFilter = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/AddTagsToBinaryDataByFilter', app.data.v1.data_pb2.AddTagsToBinaryDataByFilterRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByFilterResponse) - self.RemoveTagsFromBinaryDataByFileIDs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/RemoveTagsFromBinaryDataByFileIDs', app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFileIDsRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFileIDsResponse) + self.RemoveTagsFromBinaryDataByIDs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/RemoveTagsFromBinaryDataByIDs', app.data.v1.data_pb2.RemoveTagsFromBinaryDataByIDsRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByIDsResponse) self.RemoveTagsFromBinaryDataByFilter = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/RemoveTagsFromBinaryDataByFilter', app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFilterRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFilterResponse) self.TagsByFilter = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/TagsByFilter', app.data.v1.data_pb2.TagsByFilterRequest, app.data.v1.data_pb2.TagsByFilterResponse) self.AddBoundingBoxToImageByID = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/AddBoundingBoxToImageByID', app.data.v1.data_pb2.AddBoundingBoxToImageByIDRequest, app.data.v1.data_pb2.AddBoundingBoxToImageByIDResponse) diff --git a/src/viam/gen/app/data/v1/data_pb2.py b/src/viam/gen/app/data/v1/data_pb2.py index fdd6bd76d..4c4cfe5d7 100644 --- a/src/viam/gen/app/data/v1/data_pb2.py +++ b/src/viam/gen/app/data/v1/data_pb2.py @@ -7,7 +7,7 @@ from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2 from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -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"\xf9\x03\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\x17\n\x07org_ids\x18\x0b \x03(\tR\x06orgIds\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\nbboxLabelsJ\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"\xb1\x04\n\x0fCaptureMetadata\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId\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"}\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"\xe3\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(\x03R\x05count\x12\x12\n\x04last\x18\x04 \x01(\tR\x04last\x12(\n\x10total_size_bytes\x18\x05 \x01(\x04R\x0etotalSizeBytes"\xe5\x01\n\x0bTabularData\x12+\n\x04data\x18\x01 \x01(\x0b2\x17.google.protobuf.StructR\x04data\x12%\n\x0emetadata_index\x18\x02 \x01(\x05R\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"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"\xa3\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"x\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"m\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"\x99\x01\n\x16BinaryDataByIDsRequest\x12%\n\x0einclude_binary\x18\x02 \x01(\x08R\rincludeBinary\x129\n\nbinary_ids\x18\x03 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIds\x12\x1d\n\x08file_ids\x18\x01 \x03(\tB\x02\x18\x01R\x07fileIds"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"\xdb\x01\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"D\n\x0bAnnotations\x125\n\x06bboxes\x18\x01 \x03(\x0b2\x1d.viam.app.data.v1.BoundingBoxR\x06bboxes"\xfd\x02\n\x0eBinaryMetadata\x12\x0e\n\x02id\x18\x01 \x01(\tR\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"T\n DeleteTabularDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter"V\n!DeleteTabularDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"S\n\x1fDeleteBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter"U\n DeleteBinaryDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"x\n\x1cDeleteBinaryDataByIDsRequest\x129\n\nbinary_ids\x18\x02 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIds\x12\x1d\n\x08file_ids\x18\x01 \x03(\tB\x02\x18\x01R\x07fileIds"R\n\x1dDeleteBinaryDataByIDsResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"\x93\x01\n#AddTagsToBinaryDataByFileIDsRequest\x129\n\nbinary_ids\x18\x03 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIds\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags\x12\x1d\n\x08file_ids\x18\x01 \x03(\tB\x02\x18\x01R\x07fileIds"&\n$AddTagsToBinaryDataByFileIDsResponse"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"\x98\x01\n(RemoveTagsFromBinaryDataByFileIDsRequest\x129\n\nbinary_ids\x18\x03 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIds\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags\x12\x1d\n\x08file_ids\x18\x01 \x03(\tB\x02\x18\x01R\x07fileIds"P\n)RemoveTagsFromBinaryDataByFileIDsResponse\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"\xb6\x02\n AddBoundingBoxToImageByIDRequest\x127\n\tbinary_id\x18\x07 \x01(\x0b2\x1a.viam.app.data.v1.BinaryIDR\x08binaryId\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\x1b\n\x07file_id\x18\x01 \x01(\tB\x02\x18\x01R\x06fileId"<\n!AddBoundingBoxToImageByIDResponse\x12\x17\n\x07bbox_id\x18\x01 \x01(\tR\x06bboxId"\x96\x01\n%RemoveBoundingBoxFromImageByIDRequest\x127\n\tbinary_id\x18\x03 \x01(\x0b2\x1a.viam.app.data.v1.BinaryIDR\x08binaryId\x12\x17\n\x07bbox_id\x18\x02 \x01(\tR\x06bboxId\x12\x1b\n\x07file_id\x18\x01 \x01(\tB\x02\x18\x01R\x06fileId"(\n&RemoveBoundingBoxFromImageByIDResponse"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*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\x032\xba\x0e\n\x0bDataService\x12r\n\x13TabularDataByFilter\x12,.viam.app.data.v1.TabularDataByFilterRequest\x1a-.viam.app.data.v1.TabularDataByFilterResponse\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\x12\x84\x01\n\x19DeleteTabularDataByFilter\x122.viam.app.data.v1.DeleteTabularDataByFilterRequest\x1a3.viam.app.data.v1.DeleteTabularDataByFilterResponse\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\x8d\x01\n\x1cAddTagsToBinaryDataByFileIDs\x125.viam.app.data.v1.AddTagsToBinaryDataByFileIDsRequest\x1a6.viam.app.data.v1.AddTagsToBinaryDataByFileIDsResponse\x12\x8a\x01\n\x1bAddTagsToBinaryDataByFilter\x124.viam.app.data.v1.AddTagsToBinaryDataByFilterRequest\x1a5.viam.app.data.v1.AddTagsToBinaryDataByFilterResponse\x12\x9c\x01\n!RemoveTagsFromBinaryDataByFileIDs\x12:.viam.app.data.v1.RemoveTagsFromBinaryDataByFileIDsRequest\x1a;.viam.app.data.v1.RemoveTagsFromBinaryDataByFileIDsResponse\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.BoundingBoxLabelsByFilterResponseB\x1dZ\x1bgo.viam.com/api/app/data/v1b\x06proto3') +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"\x8b\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\nbboxLabelsJ\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"}\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"\xe3\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"\xe5\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"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"\xa3\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"x\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"m\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"\x99\x01\n\x16BinaryDataByIDsRequest\x12%\n\x0einclude_binary\x18\x02 \x01(\x08R\rincludeBinary\x129\n\nbinary_ids\x18\x03 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIds\x12\x1d\n\x08file_ids\x18\x01 \x03(\tB\x02\x18\x01R\x07fileIds"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"\xdb\x01\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"D\n\x0bAnnotations\x125\n\x06bboxes\x18\x01 \x03(\x0b2\x1d.viam.app.data.v1.BoundingBoxR\x06bboxes"\xfd\x02\n\x0eBinaryMetadata\x12\x0e\n\x02id\x18\x01 \x01(\tR\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"T\n DeleteTabularDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter"V\n!DeleteTabularDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"S\n\x1fDeleteBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter"U\n DeleteBinaryDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"x\n\x1cDeleteBinaryDataByIDsRequest\x129\n\nbinary_ids\x18\x02 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIds\x12\x1d\n\x08file_ids\x18\x01 \x03(\tB\x02\x18\x01R\x07fileIds"R\n\x1dDeleteBinaryDataByIDsResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"\x8f\x01\n\x1fAddTagsToBinaryDataByIDsRequest\x129\n\nbinary_ids\x18\x03 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIds\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags\x12\x1d\n\x08file_ids\x18\x01 \x03(\tB\x02\x18\x01R\x07fileIds""\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"\x94\x01\n$RemoveTagsFromBinaryDataByIDsRequest\x129\n\nbinary_ids\x18\x03 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIds\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags\x12\x1d\n\x08file_ids\x18\x01 \x03(\tB\x02\x18\x01R\x07fileIds"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"\xb6\x02\n AddBoundingBoxToImageByIDRequest\x127\n\tbinary_id\x18\x07 \x01(\x0b2\x1a.viam.app.data.v1.BinaryIDR\x08binaryId\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\x1b\n\x07file_id\x18\x01 \x01(\tB\x02\x18\x01R\x06fileId"<\n!AddBoundingBoxToImageByIDResponse\x12\x17\n\x07bbox_id\x18\x01 \x01(\tR\x06bboxId"\x96\x01\n%RemoveBoundingBoxFromImageByIDRequest\x127\n\tbinary_id\x18\x03 \x01(\x0b2\x1a.viam.app.data.v1.BinaryIDR\x08binaryId\x12\x17\n\x07bbox_id\x18\x02 \x01(\tR\x06bboxId\x12\x1b\n\x07file_id\x18\x01 \x01(\tB\x02\x18\x01R\x06fileId"(\n&RemoveBoundingBoxFromImageByIDResponse"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*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\x032\xa2\x0e\n\x0bDataService\x12r\n\x13TabularDataByFilter\x12,.viam.app.data.v1.TabularDataByFilterRequest\x1a-.viam.app.data.v1.TabularDataByFilterResponse\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\x12\x84\x01\n\x19DeleteTabularDataByFilter\x122.viam.app.data.v1.DeleteTabularDataByFilterRequest\x1a3.viam.app.data.v1.DeleteTabularDataByFilterResponse\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.BoundingBoxLabelsByFilterResponseB\x1dZ\x1bgo.viam.com/api/app/data/v1b\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.data.v1.data_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: @@ -19,97 +19,97 @@ _BINARYDATABYIDSREQUEST.fields_by_name['file_ids']._serialized_options = b'\x18\x01' _DELETEBINARYDATABYIDSREQUEST.fields_by_name['file_ids']._options = None _DELETEBINARYDATABYIDSREQUEST.fields_by_name['file_ids']._serialized_options = b'\x18\x01' - _ADDTAGSTOBINARYDATABYFILEIDSREQUEST.fields_by_name['file_ids']._options = None - _ADDTAGSTOBINARYDATABYFILEIDSREQUEST.fields_by_name['file_ids']._serialized_options = b'\x18\x01' - _REMOVETAGSFROMBINARYDATABYFILEIDSREQUEST.fields_by_name['file_ids']._options = None - _REMOVETAGSFROMBINARYDATABYFILEIDSREQUEST.fields_by_name['file_ids']._serialized_options = b'\x18\x01' + _ADDTAGSTOBINARYDATABYIDSREQUEST.fields_by_name['file_ids']._options = None + _ADDTAGSTOBINARYDATABYIDSREQUEST.fields_by_name['file_ids']._serialized_options = b'\x18\x01' + _REMOVETAGSFROMBINARYDATABYIDSREQUEST.fields_by_name['file_ids']._options = None + _REMOVETAGSFROMBINARYDATABYIDSREQUEST.fields_by_name['file_ids']._serialized_options = b'\x18\x01' _ADDBOUNDINGBOXTOIMAGEBYIDREQUEST.fields_by_name['file_id']._options = None _ADDBOUNDINGBOXTOIMAGEBYIDREQUEST.fields_by_name['file_id']._serialized_options = b'\x18\x01' _REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST.fields_by_name['file_id']._options = None _REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST.fields_by_name['file_id']._serialized_options = b'\x18\x01' - _ORDER._serialized_start = 5746 - _ORDER._serialized_end = 5819 - _TAGSFILTERTYPE._serialized_start = 5822 - _TAGSFILTERTYPE._serialized_end = 5966 + _ORDER._serialized_start = 5766 + _ORDER._serialized_end = 5839 + _TAGSFILTERTYPE._serialized_start = 5842 + _TAGSFILTERTYPE._serialized_end = 5986 _DATAREQUEST._serialized_start = 135 _DATAREQUEST._serialized_end = 296 _FILTER._serialized_start = 299 - _FILTER._serialized_end = 804 - _TAGSFILTER._serialized_start = 806 - _TAGSFILTER._serialized_end = 892 - _CAPTUREMETADATA._serialized_start = 895 - _CAPTUREMETADATA._serialized_end = 1456 - _CAPTUREMETADATA_METHODPARAMETERSENTRY._serialized_start = 1344 - _CAPTUREMETADATA_METHODPARAMETERSENTRY._serialized_end = 1433 - _CAPTUREINTERVAL._serialized_start = 1458 - _CAPTUREINTERVAL._serialized_end = 1571 - _TABULARDATABYFILTERREQUEST._serialized_start = 1573 - _TABULARDATABYFILTERREQUEST._serialized_end = 1698 - _TABULARDATABYFILTERRESPONSE._serialized_start = 1701 - _TABULARDATABYFILTERRESPONSE._serialized_end = 1928 - _TABULARDATA._serialized_start = 1931 - _TABULARDATA._serialized_end = 2160 - _BINARYDATA._serialized_start = 2162 - _BINARYDATA._serialized_end = 2260 - _BINARYDATABYFILTERREQUEST._serialized_start = 2263 - _BINARYDATABYFILTERREQUEST._serialized_end = 2426 - _BINARYDATABYFILTERRESPONSE._serialized_start = 2428 - _BINARYDATABYFILTERRESPONSE._serialized_end = 2548 - _BINARYID._serialized_start = 2550 - _BINARYID._serialized_end = 2659 - _BINARYDATABYIDSREQUEST._serialized_start = 2662 - _BINARYDATABYIDSREQUEST._serialized_end = 2815 - _BINARYDATABYIDSRESPONSE._serialized_start = 2817 - _BINARYDATABYIDSRESPONSE._serialized_end = 2914 - _BOUNDINGBOX._serialized_start = 2917 - _BOUNDINGBOX._serialized_end = 3136 - _ANNOTATIONS._serialized_start = 3138 - _ANNOTATIONS._serialized_end = 3206 - _BINARYMETADATA._serialized_start = 3209 - _BINARYMETADATA._serialized_end = 3590 - _DELETETABULARDATABYFILTERREQUEST._serialized_start = 3592 - _DELETETABULARDATABYFILTERREQUEST._serialized_end = 3676 - _DELETETABULARDATABYFILTERRESPONSE._serialized_start = 3678 - _DELETETABULARDATABYFILTERRESPONSE._serialized_end = 3764 - _DELETEBINARYDATABYFILTERREQUEST._serialized_start = 3766 - _DELETEBINARYDATABYFILTERREQUEST._serialized_end = 3849 - _DELETEBINARYDATABYFILTERRESPONSE._serialized_start = 3851 - _DELETEBINARYDATABYFILTERRESPONSE._serialized_end = 3936 - _DELETEBINARYDATABYIDSREQUEST._serialized_start = 3938 - _DELETEBINARYDATABYIDSREQUEST._serialized_end = 4058 - _DELETEBINARYDATABYIDSRESPONSE._serialized_start = 4060 - _DELETEBINARYDATABYIDSRESPONSE._serialized_end = 4142 - _ADDTAGSTOBINARYDATABYFILEIDSREQUEST._serialized_start = 4145 - _ADDTAGSTOBINARYDATABYFILEIDSREQUEST._serialized_end = 4292 - _ADDTAGSTOBINARYDATABYFILEIDSRESPONSE._serialized_start = 4294 - _ADDTAGSTOBINARYDATABYFILEIDSRESPONSE._serialized_end = 4332 - _ADDTAGSTOBINARYDATABYFILTERREQUEST._serialized_start = 4334 - _ADDTAGSTOBINARYDATABYFILTERREQUEST._serialized_end = 4440 - _ADDTAGSTOBINARYDATABYFILTERRESPONSE._serialized_start = 4442 - _ADDTAGSTOBINARYDATABYFILTERRESPONSE._serialized_end = 4479 - _REMOVETAGSFROMBINARYDATABYFILEIDSREQUEST._serialized_start = 4482 - _REMOVETAGSFROMBINARYDATABYFILEIDSREQUEST._serialized_end = 4634 - _REMOVETAGSFROMBINARYDATABYFILEIDSRESPONSE._serialized_start = 4636 - _REMOVETAGSFROMBINARYDATABYFILEIDSRESPONSE._serialized_end = 4716 - _REMOVETAGSFROMBINARYDATABYFILTERREQUEST._serialized_start = 4718 - _REMOVETAGSFROMBINARYDATABYFILTERREQUEST._serialized_end = 4829 - _REMOVETAGSFROMBINARYDATABYFILTERRESPONSE._serialized_start = 4831 - _REMOVETAGSFROMBINARYDATABYFILTERRESPONSE._serialized_end = 4910 - _TAGSBYFILTERREQUEST._serialized_start = 4912 - _TAGSBYFILTERREQUEST._serialized_end = 4983 - _TAGSBYFILTERRESPONSE._serialized_start = 4985 - _TAGSBYFILTERRESPONSE._serialized_end = 5027 - _ADDBOUNDINGBOXTOIMAGEBYIDREQUEST._serialized_start = 5030 - _ADDBOUNDINGBOXTOIMAGEBYIDREQUEST._serialized_end = 5340 - _ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE._serialized_start = 5342 - _ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE._serialized_end = 5402 - _REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST._serialized_start = 5405 - _REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST._serialized_end = 5555 - _REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE._serialized_start = 5557 - _REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE._serialized_end = 5597 - _BOUNDINGBOXLABELSBYFILTERREQUEST._serialized_start = 5599 - _BOUNDINGBOXLABELSBYFILTERREQUEST._serialized_end = 5683 - _BOUNDINGBOXLABELSBYFILTERRESPONSE._serialized_start = 5685 - _BOUNDINGBOXLABELSBYFILTERRESPONSE._serialized_end = 5744 - _DATASERVICE._serialized_start = 5969 - _DATASERVICE._serialized_end = 7819 \ No newline at end of file + _FILTER._serialized_end = 822 + _TAGSFILTER._serialized_start = 824 + _TAGSFILTER._serialized_end = 910 + _CAPTUREMETADATA._serialized_start = 913 + _CAPTUREMETADATA._serialized_end = 1492 + _CAPTUREMETADATA_METHODPARAMETERSENTRY._serialized_start = 1380 + _CAPTUREMETADATA_METHODPARAMETERSENTRY._serialized_end = 1469 + _CAPTUREINTERVAL._serialized_start = 1494 + _CAPTUREINTERVAL._serialized_end = 1607 + _TABULARDATABYFILTERREQUEST._serialized_start = 1609 + _TABULARDATABYFILTERREQUEST._serialized_end = 1734 + _TABULARDATABYFILTERRESPONSE._serialized_start = 1737 + _TABULARDATABYFILTERRESPONSE._serialized_end = 1964 + _TABULARDATA._serialized_start = 1967 + _TABULARDATA._serialized_end = 2196 + _BINARYDATA._serialized_start = 2198 + _BINARYDATA._serialized_end = 2296 + _BINARYDATABYFILTERREQUEST._serialized_start = 2299 + _BINARYDATABYFILTERREQUEST._serialized_end = 2462 + _BINARYDATABYFILTERRESPONSE._serialized_start = 2464 + _BINARYDATABYFILTERRESPONSE._serialized_end = 2584 + _BINARYID._serialized_start = 2586 + _BINARYID._serialized_end = 2695 + _BINARYDATABYIDSREQUEST._serialized_start = 2698 + _BINARYDATABYIDSREQUEST._serialized_end = 2851 + _BINARYDATABYIDSRESPONSE._serialized_start = 2853 + _BINARYDATABYIDSRESPONSE._serialized_end = 2950 + _BOUNDINGBOX._serialized_start = 2953 + _BOUNDINGBOX._serialized_end = 3172 + _ANNOTATIONS._serialized_start = 3174 + _ANNOTATIONS._serialized_end = 3242 + _BINARYMETADATA._serialized_start = 3245 + _BINARYMETADATA._serialized_end = 3626 + _DELETETABULARDATABYFILTERREQUEST._serialized_start = 3628 + _DELETETABULARDATABYFILTERREQUEST._serialized_end = 3712 + _DELETETABULARDATABYFILTERRESPONSE._serialized_start = 3714 + _DELETETABULARDATABYFILTERRESPONSE._serialized_end = 3800 + _DELETEBINARYDATABYFILTERREQUEST._serialized_start = 3802 + _DELETEBINARYDATABYFILTERREQUEST._serialized_end = 3885 + _DELETEBINARYDATABYFILTERRESPONSE._serialized_start = 3887 + _DELETEBINARYDATABYFILTERRESPONSE._serialized_end = 3972 + _DELETEBINARYDATABYIDSREQUEST._serialized_start = 3974 + _DELETEBINARYDATABYIDSREQUEST._serialized_end = 4094 + _DELETEBINARYDATABYIDSRESPONSE._serialized_start = 4096 + _DELETEBINARYDATABYIDSRESPONSE._serialized_end = 4178 + _ADDTAGSTOBINARYDATABYIDSREQUEST._serialized_start = 4181 + _ADDTAGSTOBINARYDATABYIDSREQUEST._serialized_end = 4324 + _ADDTAGSTOBINARYDATABYIDSRESPONSE._serialized_start = 4326 + _ADDTAGSTOBINARYDATABYIDSRESPONSE._serialized_end = 4360 + _ADDTAGSTOBINARYDATABYFILTERREQUEST._serialized_start = 4362 + _ADDTAGSTOBINARYDATABYFILTERREQUEST._serialized_end = 4468 + _ADDTAGSTOBINARYDATABYFILTERRESPONSE._serialized_start = 4470 + _ADDTAGSTOBINARYDATABYFILTERRESPONSE._serialized_end = 4507 + _REMOVETAGSFROMBINARYDATABYIDSREQUEST._serialized_start = 4510 + _REMOVETAGSFROMBINARYDATABYIDSREQUEST._serialized_end = 4658 + _REMOVETAGSFROMBINARYDATABYIDSRESPONSE._serialized_start = 4660 + _REMOVETAGSFROMBINARYDATABYIDSRESPONSE._serialized_end = 4736 + _REMOVETAGSFROMBINARYDATABYFILTERREQUEST._serialized_start = 4738 + _REMOVETAGSFROMBINARYDATABYFILTERREQUEST._serialized_end = 4849 + _REMOVETAGSFROMBINARYDATABYFILTERRESPONSE._serialized_start = 4851 + _REMOVETAGSFROMBINARYDATABYFILTERRESPONSE._serialized_end = 4930 + _TAGSBYFILTERREQUEST._serialized_start = 4932 + _TAGSBYFILTERREQUEST._serialized_end = 5003 + _TAGSBYFILTERRESPONSE._serialized_start = 5005 + _TAGSBYFILTERRESPONSE._serialized_end = 5047 + _ADDBOUNDINGBOXTOIMAGEBYIDREQUEST._serialized_start = 5050 + _ADDBOUNDINGBOXTOIMAGEBYIDREQUEST._serialized_end = 5360 + _ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE._serialized_start = 5362 + _ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE._serialized_end = 5422 + _REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST._serialized_start = 5425 + _REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST._serialized_end = 5575 + _REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE._serialized_start = 5577 + _REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE._serialized_end = 5617 + _BOUNDINGBOXLABELSBYFILTERREQUEST._serialized_start = 5619 + _BOUNDINGBOXLABELSBYFILTERREQUEST._serialized_end = 5703 + _BOUNDINGBOXLABELSBYFILTERRESPONSE._serialized_start = 5705 + _BOUNDINGBOXLABELSBYFILTERRESPONSE._serialized_end = 5764 + _DATASERVICE._serialized_start = 5989 + _DATASERVICE._serialized_end = 7815 \ No newline at end of file diff --git a/src/viam/gen/app/data/v1/data_pb2.pyi b/src/viam/gen/app/data/v1/data_pb2.pyi index ce7c89faf..cb5b5d77e 100644 --- a/src/viam/gen/app/data/v1/data_pb2.pyi +++ b/src/viam/gen/app/data/v1/data_pb2.pyi @@ -97,7 +97,7 @@ class Filter(google.protobuf.message.Message): PART_NAME_FIELD_NUMBER: builtins.int PART_ID_FIELD_NUMBER: builtins.int LOCATION_IDS_FIELD_NUMBER: builtins.int - ORG_IDS_FIELD_NUMBER: builtins.int + ORGANIZATION_IDS_FIELD_NUMBER: builtins.int MIME_TYPE_FIELD_NUMBER: builtins.int INTERVAL_FIELD_NUMBER: builtins.int TAGS_FILTER_FIELD_NUMBER: builtins.int @@ -115,7 +115,7 @@ class Filter(google.protobuf.message.Message): ... @property - def org_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + def organization_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... @property @@ -134,13 +134,13 @@ class Filter(google.protobuf.message.Message): def bbox_labels(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - def __init__(self, *, component_name: builtins.str=..., component_type: builtins.str=..., method: builtins.str=..., robot_name: builtins.str=..., robot_id: builtins.str=..., part_name: builtins.str=..., part_id: builtins.str=..., location_ids: collections.abc.Iterable[builtins.str] | None=..., org_ids: collections.abc.Iterable[builtins.str] | None=..., mime_type: collections.abc.Iterable[builtins.str] | None=..., interval: global___CaptureInterval | None=..., tags_filter: global___TagsFilter | None=..., bbox_labels: collections.abc.Iterable[builtins.str] | None=...) -> None: + def __init__(self, *, component_name: builtins.str=..., component_type: builtins.str=..., method: builtins.str=..., robot_name: builtins.str=..., robot_id: builtins.str=..., part_name: builtins.str=..., part_id: builtins.str=..., location_ids: collections.abc.Iterable[builtins.str] | None=..., organization_ids: collections.abc.Iterable[builtins.str] | None=..., mime_type: collections.abc.Iterable[builtins.str] | None=..., interval: global___CaptureInterval | None=..., tags_filter: global___TagsFilter | None=..., bbox_labels: collections.abc.Iterable[builtins.str] | None=...) -> None: ... def HasField(self, field_name: typing_extensions.Literal['interval', b'interval', 'tags_filter', b'tags_filter']) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal['bbox_labels', b'bbox_labels', 'component_name', b'component_name', 'component_type', b'component_type', 'interval', b'interval', 'location_ids', b'location_ids', 'method', b'method', 'mime_type', b'mime_type', 'org_ids', b'org_ids', 'part_id', b'part_id', 'part_name', b'part_name', 'robot_id', b'robot_id', 'robot_name', b'robot_name', 'tags_filter', b'tags_filter']) -> None: + def ClearField(self, field_name: typing_extensions.Literal['bbox_labels', b'bbox_labels', 'component_name', b'component_name', 'component_type', b'component_type', 'interval', b'interval', 'location_ids', b'location_ids', 'method', b'method', 'mime_type', b'mime_type', 'organization_ids', b'organization_ids', 'part_id', b'part_id', 'part_name', b'part_name', 'robot_id', b'robot_id', 'robot_name', b'robot_name', 'tags_filter', b'tags_filter']) -> None: ... global___Filter = Filter @@ -186,7 +186,7 @@ class CaptureMetadata(google.protobuf.message.Message): def ClearField(self, field_name: typing_extensions.Literal['key', b'key', 'value', b'value']) -> None: ... - ORG_ID_FIELD_NUMBER: builtins.int + ORGANIZATION_ID_FIELD_NUMBER: builtins.int LOCATION_ID_FIELD_NUMBER: builtins.int ROBOT_NAME_FIELD_NUMBER: builtins.int ROBOT_ID_FIELD_NUMBER: builtins.int @@ -198,7 +198,7 @@ class CaptureMetadata(google.protobuf.message.Message): METHOD_PARAMETERS_FIELD_NUMBER: builtins.int TAGS_FIELD_NUMBER: builtins.int MIME_TYPE_FIELD_NUMBER: builtins.int - org_id: builtins.str + organization_id: builtins.str location_id: builtins.str robot_name: builtins.str robot_id: builtins.str @@ -217,10 +217,10 @@ class CaptureMetadata(google.protobuf.message.Message): ... mime_type: builtins.str - def __init__(self, *, org_id: builtins.str=..., location_id: builtins.str=..., robot_name: builtins.str=..., robot_id: builtins.str=..., part_name: builtins.str=..., part_id: builtins.str=..., component_type: builtins.str=..., component_name: builtins.str=..., method_name: builtins.str=..., method_parameters: collections.abc.Mapping[builtins.str, google.protobuf.any_pb2.Any] | None=..., tags: collections.abc.Iterable[builtins.str] | None=..., mime_type: builtins.str=...) -> None: + def __init__(self, *, organization_id: builtins.str=..., location_id: builtins.str=..., robot_name: builtins.str=..., robot_id: builtins.str=..., part_name: builtins.str=..., part_id: builtins.str=..., component_type: builtins.str=..., component_name: builtins.str=..., method_name: builtins.str=..., method_parameters: collections.abc.Mapping[builtins.str, google.protobuf.any_pb2.Any] | None=..., tags: collections.abc.Iterable[builtins.str] | None=..., mime_type: builtins.str=...) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal['component_name', b'component_name', 'component_type', b'component_type', 'location_id', b'location_id', 'method_name', b'method_name', 'method_parameters', b'method_parameters', 'mime_type', b'mime_type', 'org_id', b'org_id', 'part_id', b'part_id', 'part_name', b'part_name', 'robot_id', b'robot_id', 'robot_name', b'robot_name', 'tags', b'tags']) -> None: + def ClearField(self, field_name: typing_extensions.Literal['component_name', b'component_name', 'component_type', b'component_type', 'location_id', b'location_id', 'method_name', b'method_name', 'method_parameters', b'method_parameters', 'mime_type', b'mime_type', 'organization_id', b'organization_id', 'part_id', b'part_id', 'part_name', b'part_name', 'robot_id', b'robot_id', 'robot_name', b'robot_name', 'tags', b'tags']) -> None: ... global___CaptureMetadata = CaptureMetadata @@ -646,8 +646,8 @@ class DeleteBinaryDataByIDsResponse(google.protobuf.message.Message): global___DeleteBinaryDataByIDsResponse = DeleteBinaryDataByIDsResponse @typing_extensions.final -class AddTagsToBinaryDataByFileIDsRequest(google.protobuf.message.Message): - """AddTagsToBinaryDataByFileIDsRequest requests adding all specified tags to each of the files when binary ids are provided""" +class AddTagsToBinaryDataByIDsRequest(google.protobuf.message.Message): + """AddTagsToBinaryDataByIDsRequest requests adding all specified tags to each of the files when binary ids are provided""" DESCRIPTOR: google.protobuf.descriptor.Descriptor BINARY_IDS_FIELD_NUMBER: builtins.int TAGS_FIELD_NUMBER: builtins.int @@ -670,15 +670,15 @@ class AddTagsToBinaryDataByFileIDsRequest(google.protobuf.message.Message): def ClearField(self, field_name: typing_extensions.Literal['binary_ids', b'binary_ids', 'file_ids', b'file_ids', 'tags', b'tags']) -> None: ... -global___AddTagsToBinaryDataByFileIDsRequest = AddTagsToBinaryDataByFileIDsRequest +global___AddTagsToBinaryDataByIDsRequest = AddTagsToBinaryDataByIDsRequest @typing_extensions.final -class AddTagsToBinaryDataByFileIDsResponse(google.protobuf.message.Message): +class AddTagsToBinaryDataByIDsResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor def __init__(self) -> None: ... -global___AddTagsToBinaryDataByFileIDsResponse = AddTagsToBinaryDataByFileIDsResponse +global___AddTagsToBinaryDataByIDsResponse = AddTagsToBinaryDataByIDsResponse @typing_extensions.final class AddTagsToBinaryDataByFilterRequest(google.protobuf.message.Message): @@ -714,8 +714,8 @@ class AddTagsToBinaryDataByFilterResponse(google.protobuf.message.Message): global___AddTagsToBinaryDataByFilterResponse = AddTagsToBinaryDataByFilterResponse @typing_extensions.final -class RemoveTagsFromBinaryDataByFileIDsRequest(google.protobuf.message.Message): - """RemoveTagsFromBinaryDataByFileIDsRequest requests removing the given tags value from each file when binary ids are provided""" +class RemoveTagsFromBinaryDataByIDsRequest(google.protobuf.message.Message): + """RemoveTagsFromBinaryDataByIDsRequest requests removing the given tags value from each file when binary ids are provided""" DESCRIPTOR: google.protobuf.descriptor.Descriptor BINARY_IDS_FIELD_NUMBER: builtins.int TAGS_FIELD_NUMBER: builtins.int @@ -738,11 +738,11 @@ class RemoveTagsFromBinaryDataByFileIDsRequest(google.protobuf.message.Message): def ClearField(self, field_name: typing_extensions.Literal['binary_ids', b'binary_ids', 'file_ids', b'file_ids', 'tags', b'tags']) -> None: ... -global___RemoveTagsFromBinaryDataByFileIDsRequest = RemoveTagsFromBinaryDataByFileIDsRequest +global___RemoveTagsFromBinaryDataByIDsRequest = RemoveTagsFromBinaryDataByIDsRequest @typing_extensions.final -class RemoveTagsFromBinaryDataByFileIDsResponse(google.protobuf.message.Message): - """RemoveTagsFromBinaryDataByFileIDsResponse returns the number of binary files which had tags removed""" +class RemoveTagsFromBinaryDataByIDsResponse(google.protobuf.message.Message): + """RemoveTagsFromBinaryDataByIDsResponse returns the number of binary files which had tags removed""" DESCRIPTOR: google.protobuf.descriptor.Descriptor DELETED_COUNT_FIELD_NUMBER: builtins.int deleted_count: builtins.int @@ -752,7 +752,7 @@ class RemoveTagsFromBinaryDataByFileIDsResponse(google.protobuf.message.Message) def ClearField(self, field_name: typing_extensions.Literal['deleted_count', b'deleted_count']) -> None: ... -global___RemoveTagsFromBinaryDataByFileIDsResponse = RemoveTagsFromBinaryDataByFileIDsResponse +global___RemoveTagsFromBinaryDataByIDsResponse = RemoveTagsFromBinaryDataByIDsResponse @typing_extensions.final class RemoveTagsFromBinaryDataByFilterRequest(google.protobuf.message.Message): diff --git a/src/viam/gen/app/packages/v1/packages_pb2.py b/src/viam/gen/app/packages/v1/packages_pb2.py index 1f86dd36b..dac79d558 100644 --- a/src/viam/gen/app/packages/v1/packages_pb2.py +++ b/src/viam/gen/app/packages/v1/packages_pb2.py @@ -7,7 +7,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eapp/packages/v1/packages.proto\x12\x14viam.app.packages.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"2\n\x08FileInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n\x04size\x18\x02 \x01(\x04R\x04size"\x86\x02\n\x0bPackageInfo\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x125\n\x04type\x18\x04 \x01(\x0e2!.viam.app.packages.v1.PackageTypeR\x04type\x124\n\x05files\x18\x05 \x03(\x0b2\x1e.viam.app.packages.v1.FileInfoR\x05files\x123\n\x08metadata\x18\x06 \x01(\x0b2\x17.google.protobuf.StructR\x08metadata"x\n\x14CreatePackageRequest\x127\n\x04info\x18\x01 \x01(\x0b2!.viam.app.packages.v1.PackageInfoH\x00R\x04info\x12\x1c\n\x08contents\x18\x02 \x01(\x0cH\x00R\x08contentsB\t\n\x07package"A\n\x15CreatePackageResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version"@\n\x14DeletePackageRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version"\x17\n\x15DeletePackageResponse"\xb9\x01\n\x07Package\x125\n\x04info\x18\x01 \x01(\x0b2!.viam.app.packages.v1.PackageInfoR\x04info\x12\x10\n\x03url\x18\x02 \x01(\tR\x03url\x129\n\ncreated_on\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\tcreatedOn\x12\x1a\n\x08checksum\x18\x04 \x01(\tR\x08checksum\x12\x0e\n\x02id\x18\x05 \x01(\tR\x02id"s\n\x11GetPackageRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12$\n\x0binclude_url\x18\x03 \x01(\x08H\x00R\nincludeUrl\x88\x01\x01B\x0e\n\x0c_include_url"M\n\x12GetPackageResponse\x127\n\x07package\x18\x01 \x01(\x0b2\x1d.viam.app.packages.v1.PackageR\x07package"\x86\x02\n\x13ListPackagesRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1d\n\x07version\x18\x03 \x01(\tH\x01R\x07version\x88\x01\x01\x12:\n\x04type\x18\x04 \x01(\x0e2!.viam.app.packages.v1.PackageTypeH\x02R\x04type\x88\x01\x01\x12$\n\x0binclude_url\x18\x05 \x01(\x08H\x03R\nincludeUrl\x88\x01\x01B\x07\n\x05_nameB\n\n\x08_versionB\x07\n\x05_typeB\x0e\n\x0c_include_url"Q\n\x14ListPackagesResponse\x129\n\x08packages\x18\x01 \x03(\x0b2\x1d.viam.app.packages.v1.PackageR\x08packages*`\n\x0bPackageType\x12\x1c\n\x18PACKAGE_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14PACKAGE_TYPE_ARCHIVE\x10\x01\x12\x19\n\x15PACKAGE_TYPE_ML_MODEL\x10\x022\xa0\x04\n\x0ePackageService\x12\x87\x01\n\rCreatePackage\x12*.viam.app.packages.v1.CreatePackageRequest\x1a+.viam.app.packages.v1.CreatePackageResponse"\x1b\x82\xd3\xe4\x93\x02\x15"\x13/packages/v1/create(\x01\x12\x85\x01\n\rDeletePackage\x12*.viam.app.packages.v1.DeletePackageRequest\x1a+.viam.app.packages.v1.DeletePackageResponse"\x1b\x82\xd3\xe4\x93\x02\x15*\x13/packages/v1/delete\x12y\n\nGetPackage\x12\'.viam.app.packages.v1.GetPackageRequest\x1a(.viam.app.packages.v1.GetPackageResponse"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/packages/v1/get\x12\x80\x01\n\x0cListPackages\x12).viam.app.packages.v1.ListPackagesRequest\x1a*.viam.app.packages.v1.ListPackagesResponse"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/packages/v1/listB!Z\x1fgo.viam.com/api/app/packages/v1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eapp/packages/v1/packages.proto\x12\x14viam.app.packages.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"2\n\x08FileInfo\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n\x04size\x18\x02 \x01(\x04R\x04size"\x86\x02\n\x0bPackageInfo\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x125\n\x04type\x18\x04 \x01(\x0e2!.viam.app.packages.v1.PackageTypeR\x04type\x124\n\x05files\x18\x05 \x03(\x0b2\x1e.viam.app.packages.v1.FileInfoR\x05files\x123\n\x08metadata\x18\x06 \x01(\x0b2\x17.google.protobuf.StructR\x08metadata"x\n\x14CreatePackageRequest\x127\n\x04info\x18\x01 \x01(\x0b2!.viam.app.packages.v1.PackageInfoH\x00R\x04info\x12\x1c\n\x08contents\x18\x02 \x01(\x0cH\x00R\x08contentsB\t\n\x07package"A\n\x15CreatePackageResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version"@\n\x14DeletePackageRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version"\x17\n\x15DeletePackageResponse"\xb9\x01\n\x07Package\x125\n\x04info\x18\x01 \x01(\x0b2!.viam.app.packages.v1.PackageInfoR\x04info\x12\x10\n\x03url\x18\x02 \x01(\tR\x03url\x129\n\ncreated_on\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\tcreatedOn\x12\x1a\n\x08checksum\x18\x04 \x01(\tR\x08checksum\x12\x0e\n\x02id\x18\x05 \x01(\tR\x02id"\xc3\x01\n\x11GetPackageRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12$\n\x0binclude_url\x18\x03 \x01(\x08H\x00R\nincludeUrl\x88\x01\x01\x12\x17\n\x04type\x18\x04 \x01(\tH\x01R\x04type\x88\x01\x01\x12\x1f\n\x08platform\x18\x05 \x01(\tH\x02R\x08platform\x88\x01\x01B\x0e\n\x0c_include_urlB\x07\n\x05_typeB\x0b\n\t_platform"M\n\x12GetPackageResponse\x127\n\x07package\x18\x01 \x01(\x0b2\x1d.viam.app.packages.v1.PackageR\x07package"\x86\x02\n\x13ListPackagesRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12\x1d\n\x07version\x18\x03 \x01(\tH\x01R\x07version\x88\x01\x01\x12:\n\x04type\x18\x04 \x01(\x0e2!.viam.app.packages.v1.PackageTypeH\x02R\x04type\x88\x01\x01\x12$\n\x0binclude_url\x18\x05 \x01(\x08H\x03R\nincludeUrl\x88\x01\x01B\x07\n\x05_nameB\n\n\x08_versionB\x07\n\x05_typeB\x0e\n\x0c_include_url"Q\n\x14ListPackagesResponse\x129\n\x08packages\x18\x01 \x03(\x0b2\x1d.viam.app.packages.v1.PackageR\x08packages*y\n\x0bPackageType\x12\x1c\n\x18PACKAGE_TYPE_UNSPECIFIED\x10\x00\x12\x18\n\x14PACKAGE_TYPE_ARCHIVE\x10\x01\x12\x19\n\x15PACKAGE_TYPE_ML_MODEL\x10\x02\x12\x17\n\x13PACKAGE_TYPE_MODULE\x10\x032\xa0\x04\n\x0ePackageService\x12\x87\x01\n\rCreatePackage\x12*.viam.app.packages.v1.CreatePackageRequest\x1a+.viam.app.packages.v1.CreatePackageResponse"\x1b\x82\xd3\xe4\x93\x02\x15"\x13/packages/v1/create(\x01\x12\x85\x01\n\rDeletePackage\x12*.viam.app.packages.v1.DeletePackageRequest\x1a+.viam.app.packages.v1.DeletePackageResponse"\x1b\x82\xd3\xe4\x93\x02\x15*\x13/packages/v1/delete\x12y\n\nGetPackage\x12\'.viam.app.packages.v1.GetPackageRequest\x1a(.viam.app.packages.v1.GetPackageResponse"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/packages/v1/get\x12\x80\x01\n\x0cListPackages\x12).viam.app.packages.v1.ListPackagesRequest\x1a*.viam.app.packages.v1.ListPackagesResponse"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/packages/v1/listB!Z\x1fgo.viam.com/api/app/packages/v1b\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.packages.v1.packages_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: @@ -21,8 +21,8 @@ _PACKAGESERVICE.methods_by_name['GetPackage']._serialized_options = b'\x82\xd3\xe4\x93\x02\x12\x12\x10/packages/v1/get' _PACKAGESERVICE.methods_by_name['ListPackages']._options = None _PACKAGESERVICE.methods_by_name['ListPackages']._serialized_options = b'\x82\xd3\xe4\x93\x02\x13\x12\x11/packages/v1/list' - _PACKAGETYPE._serialized_start = 1478 - _PACKAGETYPE._serialized_end = 1574 + _PACKAGETYPE._serialized_start = 1559 + _PACKAGETYPE._serialized_end = 1680 _FILEINFO._serialized_start = 149 _FILEINFO._serialized_end = 199 _PACKAGEINFO._serialized_start = 202 @@ -37,13 +37,13 @@ _DELETEPACKAGERESPONSE._serialized_end = 744 _PACKAGE._serialized_start = 747 _PACKAGE._serialized_end = 932 - _GETPACKAGEREQUEST._serialized_start = 934 - _GETPACKAGEREQUEST._serialized_end = 1049 - _GETPACKAGERESPONSE._serialized_start = 1051 - _GETPACKAGERESPONSE._serialized_end = 1128 - _LISTPACKAGESREQUEST._serialized_start = 1131 - _LISTPACKAGESREQUEST._serialized_end = 1393 - _LISTPACKAGESRESPONSE._serialized_start = 1395 - _LISTPACKAGESRESPONSE._serialized_end = 1476 - _PACKAGESERVICE._serialized_start = 1577 - _PACKAGESERVICE._serialized_end = 2121 \ No newline at end of file + _GETPACKAGEREQUEST._serialized_start = 935 + _GETPACKAGEREQUEST._serialized_end = 1130 + _GETPACKAGERESPONSE._serialized_start = 1132 + _GETPACKAGERESPONSE._serialized_end = 1209 + _LISTPACKAGESREQUEST._serialized_start = 1212 + _LISTPACKAGESREQUEST._serialized_end = 1474 + _LISTPACKAGESRESPONSE._serialized_start = 1476 + _LISTPACKAGESRESPONSE._serialized_end = 1557 + _PACKAGESERVICE._serialized_start = 1683 + _PACKAGESERVICE._serialized_end = 2227 \ No newline at end of file diff --git a/src/viam/gen/app/packages/v1/packages_pb2.pyi b/src/viam/gen/app/packages/v1/packages_pb2.pyi index 102d09ba5..87b73f73f 100644 --- a/src/viam/gen/app/packages/v1/packages_pb2.pyi +++ b/src/viam/gen/app/packages/v1/packages_pb2.pyi @@ -27,12 +27,14 @@ class _PackageTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._En PACKAGE_TYPE_UNSPECIFIED: _PackageType.ValueType PACKAGE_TYPE_ARCHIVE: _PackageType.ValueType PACKAGE_TYPE_ML_MODEL: _PackageType.ValueType + PACKAGE_TYPE_MODULE: _PackageType.ValueType class PackageType(_PackageType, metaclass=_PackageTypeEnumTypeWrapper): ... PACKAGE_TYPE_UNSPECIFIED: PackageType.ValueType PACKAGE_TYPE_ARCHIVE: PackageType.ValueType PACKAGE_TYPE_ML_MODEL: PackageType.ValueType +PACKAGE_TYPE_MODULE: PackageType.ValueType global___PackageType = PackageType @typing_extensions.final @@ -184,21 +186,34 @@ class GetPackageRequest(google.protobuf.message.Message): ID_FIELD_NUMBER: builtins.int VERSION_FIELD_NUMBER: builtins.int INCLUDE_URL_FIELD_NUMBER: builtins.int + TYPE_FIELD_NUMBER: builtins.int + PLATFORM_FIELD_NUMBER: builtins.int id: builtins.str version: builtins.str include_url: builtins.bool + type: builtins.str + platform: builtins.str - def __init__(self, *, id: builtins.str=..., version: builtins.str=..., include_url: builtins.bool | None=...) -> None: + def __init__(self, *, id: builtins.str=..., version: builtins.str=..., include_url: builtins.bool | None=..., type: builtins.str | None=..., platform: builtins.str | None=...) -> None: ... - def HasField(self, field_name: typing_extensions.Literal['_include_url', b'_include_url', 'include_url', b'include_url']) -> builtins.bool: + def HasField(self, field_name: typing_extensions.Literal['_include_url', b'_include_url', '_platform', b'_platform', '_type', b'_type', 'include_url', b'include_url', 'platform', b'platform', 'type', b'type']) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal['_include_url', b'_include_url', 'id', b'id', 'include_url', b'include_url', 'version', b'version']) -> None: + def ClearField(self, field_name: typing_extensions.Literal['_include_url', b'_include_url', '_platform', b'_platform', '_type', b'_type', 'id', b'id', 'include_url', b'include_url', 'platform', b'platform', 'type', b'type', 'version', b'version']) -> None: ... + @typing.overload def WhichOneof(self, oneof_group: typing_extensions.Literal['_include_url', b'_include_url']) -> typing_extensions.Literal['include_url'] | None: ... + + @typing.overload + def WhichOneof(self, oneof_group: typing_extensions.Literal['_platform', b'_platform']) -> typing_extensions.Literal['platform'] | None: + ... + + @typing.overload + def WhichOneof(self, oneof_group: typing_extensions.Literal['_type', b'_type']) -> typing_extensions.Literal['type'] | None: + ... global___GetPackageRequest = GetPackageRequest @typing_extensions.final diff --git a/src/viam/gen/app/v1/app_grpc.py b/src/viam/gen/app/v1/app_grpc.py index e6dcd8feb..72854cce8 100644 --- a/src/viam/gen/app/v1/app_grpc.py +++ b/src/viam/gen/app/v1/app_grpc.py @@ -199,8 +199,28 @@ async def ListAuthorizations(self, stream: 'grpclib.server.Stream[app.v1.app_pb2 async def CheckPermissions(self, stream: 'grpclib.server.Stream[app.v1.app_pb2.CheckPermissionsRequest, app.v1.app_pb2.CheckPermissionsResponse]') -> None: pass + @abc.abstractmethod + async def CreateModule(self, stream: 'grpclib.server.Stream[app.v1.app_pb2.CreateModuleRequest, app.v1.app_pb2.CreateModuleResponse]') -> None: + pass + + @abc.abstractmethod + async def UpdateModule(self, stream: 'grpclib.server.Stream[app.v1.app_pb2.UpdateModuleRequest, app.v1.app_pb2.UpdateModuleResponse]') -> None: + pass + + @abc.abstractmethod + async def UploadModuleFile(self, stream: 'grpclib.server.Stream[app.v1.app_pb2.UploadModuleFileRequest, app.v1.app_pb2.UploadModuleFileResponse]') -> None: + pass + + @abc.abstractmethod + async def GetModule(self, stream: 'grpclib.server.Stream[app.v1.app_pb2.GetModuleRequest, app.v1.app_pb2.GetModuleResponse]') -> None: + pass + + @abc.abstractmethod + async def ListModules(self, stream: 'grpclib.server.Stream[app.v1.app_pb2.ListModulesRequest, app.v1.app_pb2.ListModulesResponse]') -> None: + pass + def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]: - return {'/viam.app.v1.AppService/CreateOrganization': grpclib.const.Handler(self.CreateOrganization, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateOrganizationRequest, app.v1.app_pb2.CreateOrganizationResponse), '/viam.app.v1.AppService/ListOrganizations': grpclib.const.Handler(self.ListOrganizations, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListOrganizationsRequest, app.v1.app_pb2.ListOrganizationsResponse), '/viam.app.v1.AppService/GetOrganization': grpclib.const.Handler(self.GetOrganization, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetOrganizationRequest, app.v1.app_pb2.GetOrganizationResponse), '/viam.app.v1.AppService/UpdateOrganization': grpclib.const.Handler(self.UpdateOrganization, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateOrganizationRequest, app.v1.app_pb2.UpdateOrganizationResponse), '/viam.app.v1.AppService/DeleteOrganization': grpclib.const.Handler(self.DeleteOrganization, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteOrganizationRequest, app.v1.app_pb2.DeleteOrganizationResponse), '/viam.app.v1.AppService/ListOrganizationMembers': grpclib.const.Handler(self.ListOrganizationMembers, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListOrganizationMembersRequest, app.v1.app_pb2.ListOrganizationMembersResponse), '/viam.app.v1.AppService/CreateOrganizationInvite': grpclib.const.Handler(self.CreateOrganizationInvite, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateOrganizationInviteRequest, app.v1.app_pb2.CreateOrganizationInviteResponse), '/viam.app.v1.AppService/DeleteOrganizationMember': grpclib.const.Handler(self.DeleteOrganizationMember, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteOrganizationMemberRequest, app.v1.app_pb2.DeleteOrganizationMemberResponse), '/viam.app.v1.AppService/DeleteOrganizationInvite': grpclib.const.Handler(self.DeleteOrganizationInvite, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteOrganizationInviteRequest, app.v1.app_pb2.DeleteOrganizationInviteResponse), '/viam.app.v1.AppService/ResendOrganizationInvite': grpclib.const.Handler(self.ResendOrganizationInvite, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ResendOrganizationInviteRequest, app.v1.app_pb2.ResendOrganizationInviteResponse), '/viam.app.v1.AppService/CreateLocation': grpclib.const.Handler(self.CreateLocation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateLocationRequest, app.v1.app_pb2.CreateLocationResponse), '/viam.app.v1.AppService/GetLocation': grpclib.const.Handler(self.GetLocation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetLocationRequest, app.v1.app_pb2.GetLocationResponse), '/viam.app.v1.AppService/UpdateLocation': grpclib.const.Handler(self.UpdateLocation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateLocationRequest, app.v1.app_pb2.UpdateLocationResponse), '/viam.app.v1.AppService/DeleteLocation': grpclib.const.Handler(self.DeleteLocation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteLocationRequest, app.v1.app_pb2.DeleteLocationResponse), '/viam.app.v1.AppService/ListLocations': grpclib.const.Handler(self.ListLocations, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListLocationsRequest, app.v1.app_pb2.ListLocationsResponse), '/viam.app.v1.AppService/ShareLocation': grpclib.const.Handler(self.ShareLocation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ShareLocationRequest, app.v1.app_pb2.ShareLocationResponse), '/viam.app.v1.AppService/UnshareLocation': grpclib.const.Handler(self.UnshareLocation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UnshareLocationRequest, app.v1.app_pb2.UnshareLocationResponse), '/viam.app.v1.AppService/LocationAuth': grpclib.const.Handler(self.LocationAuth, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.LocationAuthRequest, app.v1.app_pb2.LocationAuthResponse), '/viam.app.v1.AppService/CreateLocationSecret': grpclib.const.Handler(self.CreateLocationSecret, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateLocationSecretRequest, app.v1.app_pb2.CreateLocationSecretResponse), '/viam.app.v1.AppService/DeleteLocationSecret': grpclib.const.Handler(self.DeleteLocationSecret, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteLocationSecretRequest, app.v1.app_pb2.DeleteLocationSecretResponse), '/viam.app.v1.AppService/GetRobot': grpclib.const.Handler(self.GetRobot, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRobotRequest, app.v1.app_pb2.GetRobotResponse), '/viam.app.v1.AppService/GetRoverRentalRobots': grpclib.const.Handler(self.GetRoverRentalRobots, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRoverRentalRobotsRequest, app.v1.app_pb2.GetRoverRentalRobotsResponse), '/viam.app.v1.AppService/GetRobotParts': grpclib.const.Handler(self.GetRobotParts, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRobotPartsRequest, app.v1.app_pb2.GetRobotPartsResponse), '/viam.app.v1.AppService/GetRobotPart': grpclib.const.Handler(self.GetRobotPart, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRobotPartRequest, app.v1.app_pb2.GetRobotPartResponse), '/viam.app.v1.AppService/GetRobotPartLogs': grpclib.const.Handler(self.GetRobotPartLogs, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRobotPartLogsRequest, app.v1.app_pb2.GetRobotPartLogsResponse), '/viam.app.v1.AppService/TailRobotPartLogs': grpclib.const.Handler(self.TailRobotPartLogs, grpclib.const.Cardinality.UNARY_STREAM, app.v1.app_pb2.TailRobotPartLogsRequest, app.v1.app_pb2.TailRobotPartLogsResponse), '/viam.app.v1.AppService/GetRobotPartHistory': grpclib.const.Handler(self.GetRobotPartHistory, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRobotPartHistoryRequest, app.v1.app_pb2.GetRobotPartHistoryResponse), '/viam.app.v1.AppService/UpdateRobotPart': grpclib.const.Handler(self.UpdateRobotPart, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateRobotPartRequest, app.v1.app_pb2.UpdateRobotPartResponse), '/viam.app.v1.AppService/NewRobotPart': grpclib.const.Handler(self.NewRobotPart, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.NewRobotPartRequest, app.v1.app_pb2.NewRobotPartResponse), '/viam.app.v1.AppService/DeleteRobotPart': grpclib.const.Handler(self.DeleteRobotPart, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteRobotPartRequest, app.v1.app_pb2.DeleteRobotPartResponse), '/viam.app.v1.AppService/MarkPartAsMain': grpclib.const.Handler(self.MarkPartAsMain, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.MarkPartAsMainRequest, app.v1.app_pb2.MarkPartAsMainResponse), '/viam.app.v1.AppService/MarkPartForRestart': grpclib.const.Handler(self.MarkPartForRestart, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.MarkPartForRestartRequest, app.v1.app_pb2.MarkPartForRestartResponse), '/viam.app.v1.AppService/CreateRobotPartSecret': grpclib.const.Handler(self.CreateRobotPartSecret, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateRobotPartSecretRequest, app.v1.app_pb2.CreateRobotPartSecretResponse), '/viam.app.v1.AppService/DeleteRobotPartSecret': grpclib.const.Handler(self.DeleteRobotPartSecret, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteRobotPartSecretRequest, app.v1.app_pb2.DeleteRobotPartSecretResponse), '/viam.app.v1.AppService/ListRobots': grpclib.const.Handler(self.ListRobots, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListRobotsRequest, app.v1.app_pb2.ListRobotsResponse), '/viam.app.v1.AppService/NewRobot': grpclib.const.Handler(self.NewRobot, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.NewRobotRequest, app.v1.app_pb2.NewRobotResponse), '/viam.app.v1.AppService/UpdateRobot': grpclib.const.Handler(self.UpdateRobot, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateRobotRequest, app.v1.app_pb2.UpdateRobotResponse), '/viam.app.v1.AppService/DeleteRobot': grpclib.const.Handler(self.DeleteRobot, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteRobotRequest, app.v1.app_pb2.DeleteRobotResponse), '/viam.app.v1.AppService/ListFragments': grpclib.const.Handler(self.ListFragments, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListFragmentsRequest, app.v1.app_pb2.ListFragmentsResponse), '/viam.app.v1.AppService/GetFragment': grpclib.const.Handler(self.GetFragment, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetFragmentRequest, app.v1.app_pb2.GetFragmentResponse), '/viam.app.v1.AppService/CreateFragment': grpclib.const.Handler(self.CreateFragment, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateFragmentRequest, app.v1.app_pb2.CreateFragmentResponse), '/viam.app.v1.AppService/UpdateFragment': grpclib.const.Handler(self.UpdateFragment, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateFragmentRequest, app.v1.app_pb2.UpdateFragmentResponse), '/viam.app.v1.AppService/DeleteFragment': grpclib.const.Handler(self.DeleteFragment, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteFragmentRequest, app.v1.app_pb2.DeleteFragmentResponse), '/viam.app.v1.AppService/AddRole': grpclib.const.Handler(self.AddRole, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.AddRoleRequest, app.v1.app_pb2.AddRoleResponse), '/viam.app.v1.AppService/RemoveRole': grpclib.const.Handler(self.RemoveRole, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.RemoveRoleRequest, app.v1.app_pb2.RemoveRoleResponse), '/viam.app.v1.AppService/ListAuthorizations': grpclib.const.Handler(self.ListAuthorizations, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListAuthorizationsRequest, app.v1.app_pb2.ListAuthorizationsResponse), '/viam.app.v1.AppService/CheckPermissions': grpclib.const.Handler(self.CheckPermissions, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CheckPermissionsRequest, app.v1.app_pb2.CheckPermissionsResponse)} + return {'/viam.app.v1.AppService/CreateOrganization': grpclib.const.Handler(self.CreateOrganization, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateOrganizationRequest, app.v1.app_pb2.CreateOrganizationResponse), '/viam.app.v1.AppService/ListOrganizations': grpclib.const.Handler(self.ListOrganizations, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListOrganizationsRequest, app.v1.app_pb2.ListOrganizationsResponse), '/viam.app.v1.AppService/GetOrganization': grpclib.const.Handler(self.GetOrganization, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetOrganizationRequest, app.v1.app_pb2.GetOrganizationResponse), '/viam.app.v1.AppService/UpdateOrganization': grpclib.const.Handler(self.UpdateOrganization, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateOrganizationRequest, app.v1.app_pb2.UpdateOrganizationResponse), '/viam.app.v1.AppService/DeleteOrganization': grpclib.const.Handler(self.DeleteOrganization, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteOrganizationRequest, app.v1.app_pb2.DeleteOrganizationResponse), '/viam.app.v1.AppService/ListOrganizationMembers': grpclib.const.Handler(self.ListOrganizationMembers, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListOrganizationMembersRequest, app.v1.app_pb2.ListOrganizationMembersResponse), '/viam.app.v1.AppService/CreateOrganizationInvite': grpclib.const.Handler(self.CreateOrganizationInvite, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateOrganizationInviteRequest, app.v1.app_pb2.CreateOrganizationInviteResponse), '/viam.app.v1.AppService/DeleteOrganizationMember': grpclib.const.Handler(self.DeleteOrganizationMember, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteOrganizationMemberRequest, app.v1.app_pb2.DeleteOrganizationMemberResponse), '/viam.app.v1.AppService/DeleteOrganizationInvite': grpclib.const.Handler(self.DeleteOrganizationInvite, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteOrganizationInviteRequest, app.v1.app_pb2.DeleteOrganizationInviteResponse), '/viam.app.v1.AppService/ResendOrganizationInvite': grpclib.const.Handler(self.ResendOrganizationInvite, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ResendOrganizationInviteRequest, app.v1.app_pb2.ResendOrganizationInviteResponse), '/viam.app.v1.AppService/CreateLocation': grpclib.const.Handler(self.CreateLocation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateLocationRequest, app.v1.app_pb2.CreateLocationResponse), '/viam.app.v1.AppService/GetLocation': grpclib.const.Handler(self.GetLocation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetLocationRequest, app.v1.app_pb2.GetLocationResponse), '/viam.app.v1.AppService/UpdateLocation': grpclib.const.Handler(self.UpdateLocation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateLocationRequest, app.v1.app_pb2.UpdateLocationResponse), '/viam.app.v1.AppService/DeleteLocation': grpclib.const.Handler(self.DeleteLocation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteLocationRequest, app.v1.app_pb2.DeleteLocationResponse), '/viam.app.v1.AppService/ListLocations': grpclib.const.Handler(self.ListLocations, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListLocationsRequest, app.v1.app_pb2.ListLocationsResponse), '/viam.app.v1.AppService/ShareLocation': grpclib.const.Handler(self.ShareLocation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ShareLocationRequest, app.v1.app_pb2.ShareLocationResponse), '/viam.app.v1.AppService/UnshareLocation': grpclib.const.Handler(self.UnshareLocation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UnshareLocationRequest, app.v1.app_pb2.UnshareLocationResponse), '/viam.app.v1.AppService/LocationAuth': grpclib.const.Handler(self.LocationAuth, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.LocationAuthRequest, app.v1.app_pb2.LocationAuthResponse), '/viam.app.v1.AppService/CreateLocationSecret': grpclib.const.Handler(self.CreateLocationSecret, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateLocationSecretRequest, app.v1.app_pb2.CreateLocationSecretResponse), '/viam.app.v1.AppService/DeleteLocationSecret': grpclib.const.Handler(self.DeleteLocationSecret, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteLocationSecretRequest, app.v1.app_pb2.DeleteLocationSecretResponse), '/viam.app.v1.AppService/GetRobot': grpclib.const.Handler(self.GetRobot, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRobotRequest, app.v1.app_pb2.GetRobotResponse), '/viam.app.v1.AppService/GetRoverRentalRobots': grpclib.const.Handler(self.GetRoverRentalRobots, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRoverRentalRobotsRequest, app.v1.app_pb2.GetRoverRentalRobotsResponse), '/viam.app.v1.AppService/GetRobotParts': grpclib.const.Handler(self.GetRobotParts, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRobotPartsRequest, app.v1.app_pb2.GetRobotPartsResponse), '/viam.app.v1.AppService/GetRobotPart': grpclib.const.Handler(self.GetRobotPart, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRobotPartRequest, app.v1.app_pb2.GetRobotPartResponse), '/viam.app.v1.AppService/GetRobotPartLogs': grpclib.const.Handler(self.GetRobotPartLogs, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRobotPartLogsRequest, app.v1.app_pb2.GetRobotPartLogsResponse), '/viam.app.v1.AppService/TailRobotPartLogs': grpclib.const.Handler(self.TailRobotPartLogs, grpclib.const.Cardinality.UNARY_STREAM, app.v1.app_pb2.TailRobotPartLogsRequest, app.v1.app_pb2.TailRobotPartLogsResponse), '/viam.app.v1.AppService/GetRobotPartHistory': grpclib.const.Handler(self.GetRobotPartHistory, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRobotPartHistoryRequest, app.v1.app_pb2.GetRobotPartHistoryResponse), '/viam.app.v1.AppService/UpdateRobotPart': grpclib.const.Handler(self.UpdateRobotPart, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateRobotPartRequest, app.v1.app_pb2.UpdateRobotPartResponse), '/viam.app.v1.AppService/NewRobotPart': grpclib.const.Handler(self.NewRobotPart, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.NewRobotPartRequest, app.v1.app_pb2.NewRobotPartResponse), '/viam.app.v1.AppService/DeleteRobotPart': grpclib.const.Handler(self.DeleteRobotPart, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteRobotPartRequest, app.v1.app_pb2.DeleteRobotPartResponse), '/viam.app.v1.AppService/MarkPartAsMain': grpclib.const.Handler(self.MarkPartAsMain, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.MarkPartAsMainRequest, app.v1.app_pb2.MarkPartAsMainResponse), '/viam.app.v1.AppService/MarkPartForRestart': grpclib.const.Handler(self.MarkPartForRestart, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.MarkPartForRestartRequest, app.v1.app_pb2.MarkPartForRestartResponse), '/viam.app.v1.AppService/CreateRobotPartSecret': grpclib.const.Handler(self.CreateRobotPartSecret, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateRobotPartSecretRequest, app.v1.app_pb2.CreateRobotPartSecretResponse), '/viam.app.v1.AppService/DeleteRobotPartSecret': grpclib.const.Handler(self.DeleteRobotPartSecret, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteRobotPartSecretRequest, app.v1.app_pb2.DeleteRobotPartSecretResponse), '/viam.app.v1.AppService/ListRobots': grpclib.const.Handler(self.ListRobots, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListRobotsRequest, app.v1.app_pb2.ListRobotsResponse), '/viam.app.v1.AppService/NewRobot': grpclib.const.Handler(self.NewRobot, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.NewRobotRequest, app.v1.app_pb2.NewRobotResponse), '/viam.app.v1.AppService/UpdateRobot': grpclib.const.Handler(self.UpdateRobot, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateRobotRequest, app.v1.app_pb2.UpdateRobotResponse), '/viam.app.v1.AppService/DeleteRobot': grpclib.const.Handler(self.DeleteRobot, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteRobotRequest, app.v1.app_pb2.DeleteRobotResponse), '/viam.app.v1.AppService/ListFragments': grpclib.const.Handler(self.ListFragments, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListFragmentsRequest, app.v1.app_pb2.ListFragmentsResponse), '/viam.app.v1.AppService/GetFragment': grpclib.const.Handler(self.GetFragment, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetFragmentRequest, app.v1.app_pb2.GetFragmentResponse), '/viam.app.v1.AppService/CreateFragment': grpclib.const.Handler(self.CreateFragment, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateFragmentRequest, app.v1.app_pb2.CreateFragmentResponse), '/viam.app.v1.AppService/UpdateFragment': grpclib.const.Handler(self.UpdateFragment, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateFragmentRequest, app.v1.app_pb2.UpdateFragmentResponse), '/viam.app.v1.AppService/DeleteFragment': grpclib.const.Handler(self.DeleteFragment, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteFragmentRequest, app.v1.app_pb2.DeleteFragmentResponse), '/viam.app.v1.AppService/AddRole': grpclib.const.Handler(self.AddRole, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.AddRoleRequest, app.v1.app_pb2.AddRoleResponse), '/viam.app.v1.AppService/RemoveRole': grpclib.const.Handler(self.RemoveRole, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.RemoveRoleRequest, app.v1.app_pb2.RemoveRoleResponse), '/viam.app.v1.AppService/ListAuthorizations': grpclib.const.Handler(self.ListAuthorizations, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListAuthorizationsRequest, app.v1.app_pb2.ListAuthorizationsResponse), '/viam.app.v1.AppService/CheckPermissions': grpclib.const.Handler(self.CheckPermissions, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CheckPermissionsRequest, app.v1.app_pb2.CheckPermissionsResponse), '/viam.app.v1.AppService/CreateModule': grpclib.const.Handler(self.CreateModule, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateModuleRequest, app.v1.app_pb2.CreateModuleResponse), '/viam.app.v1.AppService/UpdateModule': grpclib.const.Handler(self.UpdateModule, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateModuleRequest, app.v1.app_pb2.UpdateModuleResponse), '/viam.app.v1.AppService/UploadModuleFile': grpclib.const.Handler(self.UploadModuleFile, grpclib.const.Cardinality.STREAM_UNARY, app.v1.app_pb2.UploadModuleFileRequest, app.v1.app_pb2.UploadModuleFileResponse), '/viam.app.v1.AppService/GetModule': grpclib.const.Handler(self.GetModule, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetModuleRequest, app.v1.app_pb2.GetModuleResponse), '/viam.app.v1.AppService/ListModules': grpclib.const.Handler(self.ListModules, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListModulesRequest, app.v1.app_pb2.ListModulesResponse)} class AppServiceStub: @@ -251,4 +271,9 @@ def __init__(self, channel: grpclib.client.Channel) -> None: self.AddRole = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/AddRole', app.v1.app_pb2.AddRoleRequest, app.v1.app_pb2.AddRoleResponse) self.RemoveRole = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/RemoveRole', app.v1.app_pb2.RemoveRoleRequest, app.v1.app_pb2.RemoveRoleResponse) self.ListAuthorizations = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/ListAuthorizations', app.v1.app_pb2.ListAuthorizationsRequest, app.v1.app_pb2.ListAuthorizationsResponse) - self.CheckPermissions = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/CheckPermissions', app.v1.app_pb2.CheckPermissionsRequest, app.v1.app_pb2.CheckPermissionsResponse) \ No newline at end of file + self.CheckPermissions = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/CheckPermissions', app.v1.app_pb2.CheckPermissionsRequest, app.v1.app_pb2.CheckPermissionsResponse) + self.CreateModule = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/CreateModule', app.v1.app_pb2.CreateModuleRequest, app.v1.app_pb2.CreateModuleResponse) + self.UpdateModule = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/UpdateModule', app.v1.app_pb2.UpdateModuleRequest, app.v1.app_pb2.UpdateModuleResponse) + self.UploadModuleFile = grpclib.client.StreamUnaryMethod(channel, '/viam.app.v1.AppService/UploadModuleFile', app.v1.app_pb2.UploadModuleFileRequest, app.v1.app_pb2.UploadModuleFileResponse) + self.GetModule = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/GetModule', app.v1.app_pb2.GetModuleRequest, app.v1.app_pb2.GetModuleResponse) + self.ListModules = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/ListModules', app.v1.app_pb2.ListModulesRequest, app.v1.app_pb2.ListModulesResponse) \ No newline at end of file diff --git a/src/viam/gen/app/v1/app_pb2.py b/src/viam/gen/app/v1/app_pb2.py index 73eba65a1..f39a78df1 100644 --- a/src/viam/gen/app/v1/app_pb2.py +++ b/src/viam/gen/app/v1/app_pb2.py @@ -7,7 +7,7 @@ from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from ...tagger.v1 import tagger_pb2 as tagger_dot_v1_dot_tagger__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10app/v1/app.proto\x12\x0bviam.app.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16tagger/v1/tagger.proto"\xec\x02\n\x05Robot\x123\n\x02id\x18\x01 \x01(\tB#\x9a\x84\x9e\x03\x1ebson:"_id" json:"id,omitempty"R\x02id\x120\n\x04name\x18\x02 \x01(\tB\x1c\x9a\x84\x9e\x03\x17bson:"name" json:"name"R\x04name\x12@\n\x08location\x18\x03 \x01(\tB$\x9a\x84\x9e\x03\x1fbson:"location" json:"location"R\x08location\x12g\n\x0blast_access\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampB*\x9a\x84\x9e\x03%bson:"last_access" json:"last_access"R\nlastAccess\x12Q\n\ncreated_on\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampB\x16\x9a\x84\x9e\x03\x11bson:"created_on"R\tcreatedOn"\xd3\x07\n\tRobotPart\x123\n\x02id\x18\x01 \x01(\tB#\x9a\x84\x9e\x03\x1ebson:"_id" json:"id,omitempty"R\x02id\x120\n\x04name\x18\x02 \x01(\tB\x1c\x9a\x84\x9e\x03\x17bson:"name" json:"name"R\x04name\x12?\n\x08dns_name\x18\n \x01(\tB$\x9a\x84\x9e\x03\x1fbson:"dns_name" json:"dns_name"R\x07dnsName\x12B\n\x06secret\x18\x03 \x01(\tB*\x9a\x84\x9e\x03%bson:"secret" json:"secret,omitempty"R\x06secret\x124\n\x05robot\x18\x04 \x01(\tB\x1e\x9a\x84\x9e\x03\x19bson:"robot" json:"robot"R\x05robot\x12A\n\x0blocation_id\x18\x0c \x01(\tB \x9a\x84\x9e\x03\x1bbson:"location_id" json:"-"R\nlocationId\x12b\n\x0crobot_config\x18\x05 \x01(\x0b2\x17.google.protobuf.StructB&\x9a\x84\x9e\x03!bson:"config" json:"robot_config"R\x0brobotConfig\x12g\n\x0blast_access\x18\x06 \x01(\x0b2\x1a.google.protobuf.TimestampB*\x9a\x84\x9e\x03%bson:"last_access" json:"last_access"R\nlastAccess\x12\x7f\n\x12user_supplied_info\x18\x07 \x01(\x0b2\x17.google.protobuf.StructB8\x9a\x84\x9e\x033bson:"user_supplied_info" json:"user_supplied_info"R\x10userSuppliedInfo\x12C\n\tmain_part\x18\x08 \x01(\x08B&\x9a\x84\x9e\x03!bson:"main_part" json:"main_part"R\x08mainPart\x12\x12\n\x04fqdn\x18\t \x01(\tR\x04fqdn\x12\x1d\n\nlocal_fqdn\x18\x0b \x01(\tR\tlocalFqdn\x12Q\n\ncreated_on\x18\r \x01(\x0b2\x1a.google.protobuf.TimestampB\x16\x9a\x84\x9e\x03\x11bson:"created_on"R\tcreatedOn\x12H\n\x07secrets\x18\x0e \x03(\x0b2\x19.viam.app.v1.SharedSecretB\x13\x9a\x84\x9e\x03\x0ebson:"secrets"R\x07secrets"\x93\x02\n\x15RobotPartHistoryEntry\x120\n\x04part\x18\x01 \x01(\tB\x1c\x9a\x84\x9e\x03\x17bson:"part" json:"part"R\x04part\x124\n\x05robot\x18\x02 \x01(\tB\x1e\x9a\x84\x9e\x03\x19bson:"robot" json:"robot"R\x05robot\x12L\n\x04when\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampB\x1c\x9a\x84\x9e\x03\x17bson:"when" json:"when"R\x04when\x12D\n\x03old\x18\x04 \x01(\x0b2\x16.viam.app.v1.RobotPartB\x1a\x9a\x84\x9e\x03\x15bson:"old" json:"old"R\x03old"\x1a\n\x18ListOrganizationsRequest"m\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x129\n\ncreated_on\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\tcreatedOn"\x80\x01\n\x12OrganizationMember\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x16\n\x06emails\x18\x02 \x03(\tR\x06emails\x129\n\ndate_added\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\tdateAdded"\\\n\x19ListOrganizationsResponse\x12?\n\rorganizations\x18\x01 \x03(\x0b2\x19.viam.app.v1.OrganizationR\rorganizations"\xaf\x01\n\x12OrganizationInvite\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05email\x18\x02 \x01(\tR\x05email\x129\n\ncreated_on\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\tcreatedOn\x12\x1f\n\x0brobot_count\x18\x04 \x01(\x03R\nrobotCount"/\n\x19CreateOrganizationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"[\n\x1aCreateOrganizationResponse\x12=\n\x0corganization\x18\x01 \x01(\x0b2\x19.viam.app.v1.OrganizationR\x0corganization"A\n\x16GetOrganizationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"X\n\x17GetOrganizationResponse\x12=\n\x0corganization\x18\x01 \x01(\x0b2\x19.viam.app.v1.OrganizationR\x0corganization"X\n\x19UpdateOrganizationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name"[\n\x1aUpdateOrganizationResponse\x12=\n\x0corganization\x18\x01 \x01(\x0b2\x19.viam.app.v1.OrganizationR\x0corganization"D\n\x19DeleteOrganizationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"\x1c\n\x1aDeleteOrganizationResponse"I\n\x1eListOrganizationMembersRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"\xc0\x01\n\x1fListOrganizationMembersResponse\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x129\n\x07members\x18\x02 \x03(\x0b2\x1f.viam.app.v1.OrganizationMemberR\x07members\x129\n\x07invites\x18\x03 \x03(\x0b2\x1f.viam.app.v1.OrganizationInviteR\x07invites"\xa4\x01\n\x1fCreateOrganizationInviteRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05email\x18\x02 \x01(\tR\x05email\x12B\n\x0eauthorizations\x18\x03 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\x0eauthorizations"[\n CreateOrganizationInviteResponse\x127\n\x06invite\x18\x01 \x01(\x0b2\x1f.viam.app.v1.OrganizationInviteR\x06invite"`\n\x1fDeleteOrganizationInviteRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05email\x18\x02 \x01(\tR\x05email""\n DeleteOrganizationInviteResponse"`\n\x1fResendOrganizationInviteRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05email\x18\x02 \x01(\tR\x05email"[\n ResendOrganizationInviteResponse\x127\n\x06invite\x18\x01 \x01(\x0b2\x1f.viam.app.v1.OrganizationInviteR\x06invite"c\n\x1fDeleteOrganizationMemberRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId""\n DeleteOrganizationMemberResponse"Y\n\x14LocationOrganization\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x18\n\x07primary\x18\x02 \x01(\x08R\x07primary"\x80\x01\n\x0cLocationAuth\x12\x1a\n\x06secret\x18\x01 \x01(\tB\x02\x18\x01R\x06secret\x12\x1f\n\x0blocation_id\x18\x02 \x01(\tR\nlocationId\x123\n\x07secrets\x18\x03 \x03(\x0b2\x19.viam.app.v1.SharedSecretR\x07secrets"\xb0\x02\n\x08Location\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12,\n\x12parent_location_id\x18\x04 \x01(\tR\x10parentLocationId\x12-\n\x04auth\x18\x05 \x01(\x0b2\x19.viam.app.v1.LocationAuthR\x04auth\x12G\n\rorganizations\x18\x06 \x03(\x0b2!.viam.app.v1.LocationOrganizationR\rorganizations\x129\n\ncreated_on\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\tcreatedOn\x12\x1f\n\x0brobot_count\x18\x07 \x01(\x05R\nrobotCount"\xd0\x02\n\x0cSharedSecret\x12\x1e\n\x02id\x18\x01 \x01(\tB\x0e\x9a\x84\x9e\x03\tbson:"id"R\x02id\x12*\n\x06secret\x18\x02 \x01(\tB\x12\x9a\x84\x9e\x03\rbson:"secret"R\x06secret\x12c\n\ncreated_on\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampB(\x9a\x84\x9e\x03#bson:"created_on" json:"created_on"R\tcreatedOn\x12H\n\x05state\x18\x04 \x01(\x0e2\x1f.viam.app.v1.SharedSecret.StateB\x11\x9a\x84\x9e\x03\x0cbson:"state"R\x05state"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_ENABLED\x10\x01\x12\x12\n\x0eSTATE_DISABLED\x10\x02"\x9e\x01\n\x15CreateLocationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x121\n\x12parent_location_id\x18\x03 \x01(\tH\x00R\x10parentLocationId\x88\x01\x01B\x15\n\x13_parent_location_id"K\n\x16CreateLocationResponse\x121\n\x08location\x18\x01 \x01(\x0b2\x15.viam.app.v1.LocationR\x08location"5\n\x12GetLocationRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId"H\n\x13GetLocationResponse\x121\n\x08location\x18\x01 \x01(\x0b2\x15.viam.app.v1.LocationR\x08location"\xa4\x01\n\x15UpdateLocationRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x121\n\x12parent_location_id\x18\x03 \x01(\tH\x01R\x10parentLocationId\x88\x01\x01B\x07\n\x05_nameB\x15\n\x13_parent_location_id"K\n\x16UpdateLocationResponse\x121\n\x08location\x18\x01 \x01(\x0b2\x15.viam.app.v1.LocationR\x08location"8\n\x15DeleteLocationRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId"\x18\n\x16DeleteLocationResponse"?\n\x14ListLocationsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"`\n\x14ShareLocationRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId"\x17\n\x15ShareLocationResponse"b\n\x16UnshareLocationRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId"\x19\n\x17UnshareLocationResponse"L\n\x15ListLocationsResponse\x123\n\tlocations\x18\x01 \x03(\x0b2\x15.viam.app.v1.LocationR\tlocations">\n\x1bCreateLocationSecretRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId"M\n\x1cCreateLocationSecretResponse\x12-\n\x04auth\x18\x01 \x01(\x0b2\x19.viam.app.v1.LocationAuthR\x04auth"[\n\x1bDeleteLocationSecretRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId\x12\x1b\n\tsecret_id\x18\x02 \x01(\tR\x08secretId"\x1e\n\x1cDeleteLocationSecretResponse"6\n\x13LocationAuthRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId"E\n\x14LocationAuthResponse\x12-\n\x04auth\x18\x01 \x01(\x0b2\x19.viam.app.v1.LocationAuthR\x04auth"!\n\x0fGetRobotRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"4\n\x1bGetRoverRentalRobotsRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"\x9a\x01\n\x10RoverRentalRobot\x12\x19\n\x08robot_id\x18\x01 \x01(\tR\x07robotId\x12\x1f\n\x0blocation_id\x18\x02 \x01(\tR\nlocationId\x12\x1d\n\nrobot_name\x18\x03 \x01(\tR\trobotName\x12+\n\x12robot_main_part_id\x18\x04 \x01(\tR\x0frobotMainPartId"U\n\x1cGetRoverRentalRobotsResponse\x125\n\x06robots\x18\x01 \x03(\x0b2\x1d.viam.app.v1.RoverRentalRobotR\x06robots"<\n\x10GetRobotResponse\x12(\n\x05robot\x18\x01 \x01(\x0b2\x12.viam.app.v1.RobotR\x05robot"1\n\x14GetRobotPartsRequest\x12\x19\n\x08robot_id\x18\x01 \x01(\tR\x07robotId"E\n\x15GetRobotPartsResponse\x12,\n\x05parts\x18\x01 \x03(\x0b2\x16.viam.app.v1.RobotPartR\x05parts"%\n\x13GetRobotPartRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"c\n\x14GetRobotPartResponse\x12*\n\x04part\x18\x01 \x01(\x0b2\x16.viam.app.v1.RobotPartR\x04part\x12\x1f\n\x0bconfig_json\x18\x02 \x01(\tR\nconfigJson"\xa5\x01\n\x17GetRobotPartLogsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0berrors_only\x18\x02 \x01(\x08R\nerrorsOnly\x12\x1b\n\x06filter\x18\x03 \x01(\tH\x00R\x06filter\x88\x01\x01\x12"\n\npage_token\x18\x04 \x01(\tH\x01R\tpageToken\x88\x01\x01B\t\n\x07_filterB\r\n\x0b_page_token"\x97\x02\n\x08LogEntry\x12\x12\n\x04host\x18\x01 \x01(\tR\x04host\x12\x14\n\x05level\x18\x02 \x01(\tR\x05level\x12.\n\x04time\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\x04time\x12\x1f\n\x0blogger_name\x18\x04 \x01(\tR\nloggerName\x12\x18\n\x07message\x18\x05 \x01(\tR\x07message\x12/\n\x06caller\x18\x06 \x01(\x0b2\x17.google.protobuf.StructR\x06caller\x12\x14\n\x05stack\x18\x07 \x01(\tR\x05stack\x12/\n\x06fields\x18\x08 \x03(\x0b2\x17.google.protobuf.StructR\x06fields"m\n\x18GetRobotPartLogsResponse\x12)\n\x04logs\x18\x01 \x03(\x0b2\x15.viam.app.v1.LogEntryR\x04logs\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken"s\n\x18TailRobotPartLogsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0berrors_only\x18\x02 \x01(\x08R\nerrorsOnly\x12\x1b\n\x06filter\x18\x03 \x01(\tH\x00R\x06filter\x88\x01\x01B\t\n\x07_filter"F\n\x19TailRobotPartLogsResponse\x12)\n\x04logs\x18\x01 \x03(\x0b2\x15.viam.app.v1.LogEntryR\x04logs",\n\x1aGetRobotPartHistoryRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"[\n\x1bGetRobotPartHistoryResponse\x12<\n\x07history\x18\x01 \x03(\x0b2".viam.app.v1.RobotPartHistoryEntryR\x07history"x\n\x16UpdateRobotPartRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12:\n\x0crobot_config\x18\x03 \x01(\x0b2\x17.google.protobuf.StructR\x0brobotConfig"E\n\x17UpdateRobotPartResponse\x12*\n\x04part\x18\x01 \x01(\x0b2\x16.viam.app.v1.RobotPartR\x04part"M\n\x13NewRobotPartRequest\x12\x19\n\x08robot_id\x18\x01 \x01(\tR\x07robotId\x12\x1b\n\tpart_name\x18\x02 \x01(\tR\x08partName"/\n\x14NewRobotPartResponse\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId"1\n\x16DeleteRobotPartRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId"\x19\n\x17DeleteRobotPartResponse"\x84\x05\n\x08Fragment\x123\n\x02id\x18\x01 \x01(\tB#\x9a\x84\x9e\x03\x1ebson:"_id" json:"id,omitempty"R\x02id\x120\n\x04name\x18\x02 \x01(\tB\x1c\x9a\x84\x9e\x03\x17bson:"name" json:"name"R\x04name\x12Y\n\x08fragment\x18\x03 \x01(\x0b2\x17.google.protobuf.StructB$\x9a\x84\x9e\x03\x1fbson:"fragment" json:"fragment"R\x08fragment\x12Z\n\x12organization_owner\x18\x04 \x01(\tB+\x9a\x84\x9e\x03&bson:"organization_owner" json:"owner"R\x11organizationOwner\x128\n\x06public\x18\x05 \x01(\x08B \x9a\x84\x9e\x03\x1bbson:"public" json:"public"R\x06public\x12Q\n\ncreated_on\x18\x06 \x01(\x0b2\x1a.google.protobuf.TimestampB\x16\x9a\x84\x9e\x03\x11bson:"created_on"R\tcreatedOn\x12+\n\x11organization_name\x18\x07 \x01(\tR\x10organizationName\x12\x1a\n\x08readonly\x18\x08 \x01(\x08R\x08readonly\x12(\n\x10robot_part_count\x18\t \x01(\x05R\x0erobotPartCount\x12-\n\x12organization_count\x18\n \x01(\x05R\x11organizationCount\x12+\n\x12only_used_by_owner\x18\x0b \x01(\x08R\x0fonlyUsedByOwner"`\n\x14ListFragmentsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1f\n\x0bshow_public\x18\x02 \x01(\x08R\nshowPublic"L\n\x15ListFragmentsResponse\x123\n\tfragments\x18\x01 \x03(\x0b2\x15.viam.app.v1.FragmentR\tfragments"$\n\x12GetFragmentRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"H\n\x13GetFragmentResponse\x121\n\x08fragment\x18\x01 \x01(\x0b2\x15.viam.app.v1.FragmentR\x08fragment"\\\n\x15CreateFragmentRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12/\n\x06config\x18\x02 \x01(\x0b2\x17.google.protobuf.StructR\x06config"K\n\x16CreateFragmentResponse\x121\n\x08fragment\x18\x01 \x01(\x0b2\x15.viam.app.v1.FragmentR\x08fragment"\x94\x01\n\x15UpdateFragmentRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12/\n\x06config\x18\x03 \x01(\x0b2\x17.google.protobuf.StructR\x06config\x12\x1b\n\x06public\x18\x04 \x01(\x08H\x00R\x06public\x88\x01\x01B\t\n\x07_public"K\n\x16UpdateFragmentResponse\x121\n\x08fragment\x18\x01 \x01(\x0b2\x15.viam.app.v1.FragmentR\x08fragment"\'\n\x15DeleteFragmentRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x18\n\x16DeleteFragmentResponse"4\n\x11ListRobotsRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId"@\n\x12ListRobotsResponse\x12*\n\x06robots\x18\x01 \x03(\x0b2\x12.viam.app.v1.RobotR\x06robots"A\n\x0fNewRobotRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n\x08location\x18\x02 \x01(\tR\x08location""\n\x10NewRobotResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"T\n\x12UpdateRobotRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1a\n\x08location\x18\x03 \x01(\tR\x08location"?\n\x13UpdateRobotResponse\x12(\n\x05robot\x18\x01 \x01(\x0b2\x12.viam.app.v1.RobotR\x05robot"$\n\x12DeleteRobotRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x15\n\x13DeleteRobotResponse"0\n\x15MarkPartAsMainRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId"\x18\n\x16MarkPartAsMainResponse"4\n\x19MarkPartForRestartRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId"\x1c\n\x1aMarkPartForRestartResponse"7\n\x1cCreateRobotPartSecretRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId"K\n\x1dCreateRobotPartSecretResponse\x12*\n\x04part\x18\x01 \x01(\x0b2\x16.viam.app.v1.RobotPartR\x04part"T\n\x1cDeleteRobotPartSecretRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId\x12\x1b\n\tsecret_id\x18\x02 \x01(\tR\x08secretId"\x1f\n\x1dDeleteRobotPartSecretResponse"\xaf\x01\n\rAuthorization\x12-\n\x12authorization_type\x18\x01 \x01(\tR\x11authorizationType\x12)\n\x10authorization_id\x18\x02 \x01(\tR\x0fauthorizationId\x12#\n\rresource_type\x18\x03 \x01(\tR\x0cresourceType\x12\x1f\n\x0bresource_id\x18\x04 \x01(\tR\nresourceId"\xb9\x01\n\x0eAddRoleRequest\x12\x1f\n\x0bidentity_id\x18\x01 \x01(\tR\nidentityId\x12\x17\n\x07role_id\x18\x02 \x01(\tR\x06roleId\x12#\n\rresource_type\x18\x03 \x01(\tR\x0cresourceType\x12\x1f\n\x0bresource_id\x18\x04 \x01(\tR\nresourceId\x12\'\n\x0forganization_id\x18\x05 \x01(\tR\x0eorganizationId"S\n\x0fAddRoleResponse\x12@\n\rauthorization\x18\x01 \x01(\x0b2\x1a.viam.app.v1.AuthorizationR\rauthorization"\xbc\x01\n\x11RemoveRoleRequest\x12\x1f\n\x0bidentity_id\x18\x01 \x01(\tR\nidentityId\x12\x17\n\x07role_id\x18\x02 \x01(\tR\x06roleId\x12#\n\rresource_type\x18\x03 \x01(\tR\x0cresourceType\x12\x1f\n\x0bresource_id\x18\x04 \x01(\tR\nresourceId\x12\'\n\x0forganization_id\x18\x05 \x01(\tR\x0eorganizationId"\x14\n\x12RemoveRoleResponse"\x8a\x01\n\x19ListAuthorizationsRequest\x12#\n\rresource_type\x18\x01 \x01(\tR\x0cresourceType\x12\x1f\n\x0bresource_id\x18\x02 \x01(\tR\nresourceId\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId"u\n\x0eAuthorizations\x12\x1f\n\x0bidentity_id\x18\x01 \x01(\tR\nidentityId\x12B\n\x0eauthorizations\x18\x02 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\x0eauthorizations"a\n\x1aListAuthorizationsResponse\x12C\n\x0eauthorizations\x18\x01 \x03(\x0b2\x1b.viam.app.v1.AuthorizationsR\x0eauthorizations"_\n\x17CheckPermissionsRequest\x12D\n\x0bpermissions\x18\x01 \x03(\x0b2".viam.app.v1.AuthorizedPermissionsR\x0bpermissions"\x7f\n\x15AuthorizedPermissions\x12#\n\rresource_type\x18\x01 \x01(\tR\x0cresourceType\x12\x1f\n\x0bresource_id\x18\x02 \x01(\tR\nresourceId\x12 \n\x0bpermissions\x18\x03 \x03(\tR\x0bpermissions"u\n\x18CheckPermissionsResponse\x12Y\n\x16authorized_permissions\x18\x01 \x03(\x0b2".viam.app.v1.AuthorizedPermissionsR\x15authorizedPermissions2\x98#\n\nAppService\x12e\n\x12CreateOrganization\x12&.viam.app.v1.CreateOrganizationRequest\x1a\'.viam.app.v1.CreateOrganizationResponse\x12b\n\x11ListOrganizations\x12%.viam.app.v1.ListOrganizationsRequest\x1a&.viam.app.v1.ListOrganizationsResponse\x12\\\n\x0fGetOrganization\x12#.viam.app.v1.GetOrganizationRequest\x1a$.viam.app.v1.GetOrganizationResponse\x12e\n\x12UpdateOrganization\x12&.viam.app.v1.UpdateOrganizationRequest\x1a\'.viam.app.v1.UpdateOrganizationResponse\x12e\n\x12DeleteOrganization\x12&.viam.app.v1.DeleteOrganizationRequest\x1a\'.viam.app.v1.DeleteOrganizationResponse\x12t\n\x17ListOrganizationMembers\x12+.viam.app.v1.ListOrganizationMembersRequest\x1a,.viam.app.v1.ListOrganizationMembersResponse\x12w\n\x18CreateOrganizationInvite\x12,.viam.app.v1.CreateOrganizationInviteRequest\x1a-.viam.app.v1.CreateOrganizationInviteResponse\x12w\n\x18DeleteOrganizationMember\x12,.viam.app.v1.DeleteOrganizationMemberRequest\x1a-.viam.app.v1.DeleteOrganizationMemberResponse\x12w\n\x18DeleteOrganizationInvite\x12,.viam.app.v1.DeleteOrganizationInviteRequest\x1a-.viam.app.v1.DeleteOrganizationInviteResponse\x12w\n\x18ResendOrganizationInvite\x12,.viam.app.v1.ResendOrganizationInviteRequest\x1a-.viam.app.v1.ResendOrganizationInviteResponse\x12Y\n\x0eCreateLocation\x12".viam.app.v1.CreateLocationRequest\x1a#.viam.app.v1.CreateLocationResponse\x12P\n\x0bGetLocation\x12\x1f.viam.app.v1.GetLocationRequest\x1a .viam.app.v1.GetLocationResponse\x12Y\n\x0eUpdateLocation\x12".viam.app.v1.UpdateLocationRequest\x1a#.viam.app.v1.UpdateLocationResponse\x12Y\n\x0eDeleteLocation\x12".viam.app.v1.DeleteLocationRequest\x1a#.viam.app.v1.DeleteLocationResponse\x12V\n\rListLocations\x12!.viam.app.v1.ListLocationsRequest\x1a".viam.app.v1.ListLocationsResponse\x12V\n\rShareLocation\x12!.viam.app.v1.ShareLocationRequest\x1a".viam.app.v1.ShareLocationResponse\x12\\\n\x0fUnshareLocation\x12#.viam.app.v1.UnshareLocationRequest\x1a$.viam.app.v1.UnshareLocationResponse\x12S\n\x0cLocationAuth\x12 .viam.app.v1.LocationAuthRequest\x1a!.viam.app.v1.LocationAuthResponse\x12k\n\x14CreateLocationSecret\x12(.viam.app.v1.CreateLocationSecretRequest\x1a).viam.app.v1.CreateLocationSecretResponse\x12k\n\x14DeleteLocationSecret\x12(.viam.app.v1.DeleteLocationSecretRequest\x1a).viam.app.v1.DeleteLocationSecretResponse\x12G\n\x08GetRobot\x12\x1c.viam.app.v1.GetRobotRequest\x1a\x1d.viam.app.v1.GetRobotResponse\x12k\n\x14GetRoverRentalRobots\x12(.viam.app.v1.GetRoverRentalRobotsRequest\x1a).viam.app.v1.GetRoverRentalRobotsResponse\x12V\n\rGetRobotParts\x12!.viam.app.v1.GetRobotPartsRequest\x1a".viam.app.v1.GetRobotPartsResponse\x12S\n\x0cGetRobotPart\x12 .viam.app.v1.GetRobotPartRequest\x1a!.viam.app.v1.GetRobotPartResponse\x12_\n\x10GetRobotPartLogs\x12$.viam.app.v1.GetRobotPartLogsRequest\x1a%.viam.app.v1.GetRobotPartLogsResponse\x12d\n\x11TailRobotPartLogs\x12%.viam.app.v1.TailRobotPartLogsRequest\x1a&.viam.app.v1.TailRobotPartLogsResponse0\x01\x12h\n\x13GetRobotPartHistory\x12\'.viam.app.v1.GetRobotPartHistoryRequest\x1a(.viam.app.v1.GetRobotPartHistoryResponse\x12\\\n\x0fUpdateRobotPart\x12#.viam.app.v1.UpdateRobotPartRequest\x1a$.viam.app.v1.UpdateRobotPartResponse\x12S\n\x0cNewRobotPart\x12 .viam.app.v1.NewRobotPartRequest\x1a!.viam.app.v1.NewRobotPartResponse\x12\\\n\x0fDeleteRobotPart\x12#.viam.app.v1.DeleteRobotPartRequest\x1a$.viam.app.v1.DeleteRobotPartResponse\x12Y\n\x0eMarkPartAsMain\x12".viam.app.v1.MarkPartAsMainRequest\x1a#.viam.app.v1.MarkPartAsMainResponse\x12e\n\x12MarkPartForRestart\x12&.viam.app.v1.MarkPartForRestartRequest\x1a\'.viam.app.v1.MarkPartForRestartResponse\x12n\n\x15CreateRobotPartSecret\x12).viam.app.v1.CreateRobotPartSecretRequest\x1a*.viam.app.v1.CreateRobotPartSecretResponse\x12n\n\x15DeleteRobotPartSecret\x12).viam.app.v1.DeleteRobotPartSecretRequest\x1a*.viam.app.v1.DeleteRobotPartSecretResponse\x12M\n\nListRobots\x12\x1e.viam.app.v1.ListRobotsRequest\x1a\x1f.viam.app.v1.ListRobotsResponse\x12G\n\x08NewRobot\x12\x1c.viam.app.v1.NewRobotRequest\x1a\x1d.viam.app.v1.NewRobotResponse\x12P\n\x0bUpdateRobot\x12\x1f.viam.app.v1.UpdateRobotRequest\x1a .viam.app.v1.UpdateRobotResponse\x12P\n\x0bDeleteRobot\x12\x1f.viam.app.v1.DeleteRobotRequest\x1a .viam.app.v1.DeleteRobotResponse\x12V\n\rListFragments\x12!.viam.app.v1.ListFragmentsRequest\x1a".viam.app.v1.ListFragmentsResponse\x12P\n\x0bGetFragment\x12\x1f.viam.app.v1.GetFragmentRequest\x1a .viam.app.v1.GetFragmentResponse\x12Y\n\x0eCreateFragment\x12".viam.app.v1.CreateFragmentRequest\x1a#.viam.app.v1.CreateFragmentResponse\x12Y\n\x0eUpdateFragment\x12".viam.app.v1.UpdateFragmentRequest\x1a#.viam.app.v1.UpdateFragmentResponse\x12Y\n\x0eDeleteFragment\x12".viam.app.v1.DeleteFragmentRequest\x1a#.viam.app.v1.DeleteFragmentResponse\x12D\n\x07AddRole\x12\x1b.viam.app.v1.AddRoleRequest\x1a\x1c.viam.app.v1.AddRoleResponse\x12M\n\nRemoveRole\x12\x1e.viam.app.v1.RemoveRoleRequest\x1a\x1f.viam.app.v1.RemoveRoleResponse\x12e\n\x12ListAuthorizations\x12&.viam.app.v1.ListAuthorizationsRequest\x1a\'.viam.app.v1.ListAuthorizationsResponse\x12_\n\x10CheckPermissions\x12$.viam.app.v1.CheckPermissionsRequest\x1a%.viam.app.v1.CheckPermissionsResponseB\x18Z\x16go.viam.com/api/app/v1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10app/v1/app.proto\x12\x0bviam.app.v1\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x16tagger/v1/tagger.proto"\xec\x02\n\x05Robot\x123\n\x02id\x18\x01 \x01(\tB#\x9a\x84\x9e\x03\x1ebson:"_id" json:"id,omitempty"R\x02id\x120\n\x04name\x18\x02 \x01(\tB\x1c\x9a\x84\x9e\x03\x17bson:"name" json:"name"R\x04name\x12@\n\x08location\x18\x03 \x01(\tB$\x9a\x84\x9e\x03\x1fbson:"location" json:"location"R\x08location\x12g\n\x0blast_access\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampB*\x9a\x84\x9e\x03%bson:"last_access" json:"last_access"R\nlastAccess\x12Q\n\ncreated_on\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampB\x16\x9a\x84\x9e\x03\x11bson:"created_on"R\tcreatedOn"\xd3\x07\n\tRobotPart\x123\n\x02id\x18\x01 \x01(\tB#\x9a\x84\x9e\x03\x1ebson:"_id" json:"id,omitempty"R\x02id\x120\n\x04name\x18\x02 \x01(\tB\x1c\x9a\x84\x9e\x03\x17bson:"name" json:"name"R\x04name\x12?\n\x08dns_name\x18\n \x01(\tB$\x9a\x84\x9e\x03\x1fbson:"dns_name" json:"dns_name"R\x07dnsName\x12B\n\x06secret\x18\x03 \x01(\tB*\x9a\x84\x9e\x03%bson:"secret" json:"secret,omitempty"R\x06secret\x124\n\x05robot\x18\x04 \x01(\tB\x1e\x9a\x84\x9e\x03\x19bson:"robot" json:"robot"R\x05robot\x12A\n\x0blocation_id\x18\x0c \x01(\tB \x9a\x84\x9e\x03\x1bbson:"location_id" json:"-"R\nlocationId\x12b\n\x0crobot_config\x18\x05 \x01(\x0b2\x17.google.protobuf.StructB&\x9a\x84\x9e\x03!bson:"config" json:"robot_config"R\x0brobotConfig\x12g\n\x0blast_access\x18\x06 \x01(\x0b2\x1a.google.protobuf.TimestampB*\x9a\x84\x9e\x03%bson:"last_access" json:"last_access"R\nlastAccess\x12\x7f\n\x12user_supplied_info\x18\x07 \x01(\x0b2\x17.google.protobuf.StructB8\x9a\x84\x9e\x033bson:"user_supplied_info" json:"user_supplied_info"R\x10userSuppliedInfo\x12C\n\tmain_part\x18\x08 \x01(\x08B&\x9a\x84\x9e\x03!bson:"main_part" json:"main_part"R\x08mainPart\x12\x12\n\x04fqdn\x18\t \x01(\tR\x04fqdn\x12\x1d\n\nlocal_fqdn\x18\x0b \x01(\tR\tlocalFqdn\x12Q\n\ncreated_on\x18\r \x01(\x0b2\x1a.google.protobuf.TimestampB\x16\x9a\x84\x9e\x03\x11bson:"created_on"R\tcreatedOn\x12H\n\x07secrets\x18\x0e \x03(\x0b2\x19.viam.app.v1.SharedSecretB\x13\x9a\x84\x9e\x03\x0ebson:"secrets"R\x07secrets"\x93\x02\n\x15RobotPartHistoryEntry\x120\n\x04part\x18\x01 \x01(\tB\x1c\x9a\x84\x9e\x03\x17bson:"part" json:"part"R\x04part\x124\n\x05robot\x18\x02 \x01(\tB\x1e\x9a\x84\x9e\x03\x19bson:"robot" json:"robot"R\x05robot\x12L\n\x04when\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampB\x1c\x9a\x84\x9e\x03\x17bson:"when" json:"when"R\x04when\x12D\n\x03old\x18\x04 \x01(\x0b2\x16.viam.app.v1.RobotPartB\x1a\x9a\x84\x9e\x03\x15bson:"old" json:"old"R\x03old"\x1a\n\x18ListOrganizationsRequest"\x98\x01\n\x0cOrganization\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x129\n\ncreated_on\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\tcreatedOn\x12)\n\x10public_namespace\x18\x04 \x01(\tR\x0fpublicNamespace"\x80\x01\n\x12OrganizationMember\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId\x12\x16\n\x06emails\x18\x02 \x03(\tR\x06emails\x129\n\ndate_added\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\tdateAdded"\\\n\x19ListOrganizationsResponse\x12?\n\rorganizations\x18\x01 \x03(\x0b2\x19.viam.app.v1.OrganizationR\rorganizations"\xaf\x01\n\x12OrganizationInvite\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05email\x18\x02 \x01(\tR\x05email\x129\n\ncreated_on\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\tcreatedOn\x12\x1f\n\x0brobot_count\x18\x04 \x01(\x03R\nrobotCount"/\n\x19CreateOrganizationRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"[\n\x1aCreateOrganizationResponse\x12=\n\x0corganization\x18\x01 \x01(\x0b2\x19.viam.app.v1.OrganizationR\x0corganization"A\n\x16GetOrganizationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"X\n\x17GetOrganizationResponse\x12=\n\x0corganization\x18\x01 \x01(\x0b2\x19.viam.app.v1.OrganizationR\x0corganization"\x9d\x01\n\x19UpdateOrganizationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12.\n\x10public_namespace\x18\x03 \x01(\tH\x00R\x0fpublicNamespace\x88\x01\x01B\x13\n\x11_public_namespace"[\n\x1aUpdateOrganizationResponse\x12=\n\x0corganization\x18\x01 \x01(\x0b2\x19.viam.app.v1.OrganizationR\x0corganization"D\n\x19DeleteOrganizationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"\x1c\n\x1aDeleteOrganizationResponse"I\n\x1eListOrganizationMembersRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"\xc0\x01\n\x1fListOrganizationMembersResponse\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x129\n\x07members\x18\x02 \x03(\x0b2\x1f.viam.app.v1.OrganizationMemberR\x07members\x129\n\x07invites\x18\x03 \x03(\x0b2\x1f.viam.app.v1.OrganizationInviteR\x07invites"\xa4\x01\n\x1fCreateOrganizationInviteRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05email\x18\x02 \x01(\tR\x05email\x12B\n\x0eauthorizations\x18\x03 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\x0eauthorizations"[\n CreateOrganizationInviteResponse\x127\n\x06invite\x18\x01 \x01(\x0b2\x1f.viam.app.v1.OrganizationInviteR\x06invite"`\n\x1fDeleteOrganizationInviteRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05email\x18\x02 \x01(\tR\x05email""\n DeleteOrganizationInviteResponse"`\n\x1fResendOrganizationInviteRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05email\x18\x02 \x01(\tR\x05email"[\n ResendOrganizationInviteResponse\x127\n\x06invite\x18\x01 \x01(\x0b2\x1f.viam.app.v1.OrganizationInviteR\x06invite"c\n\x1fDeleteOrganizationMemberRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x17\n\x07user_id\x18\x02 \x01(\tR\x06userId""\n DeleteOrganizationMemberResponse"Y\n\x14LocationOrganization\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x18\n\x07primary\x18\x02 \x01(\x08R\x07primary"\x80\x01\n\x0cLocationAuth\x12\x1a\n\x06secret\x18\x01 \x01(\tB\x02\x18\x01R\x06secret\x12\x1f\n\x0blocation_id\x18\x02 \x01(\tR\nlocationId\x123\n\x07secrets\x18\x03 \x03(\x0b2\x19.viam.app.v1.SharedSecretR\x07secrets"\xb0\x02\n\x08Location\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12,\n\x12parent_location_id\x18\x04 \x01(\tR\x10parentLocationId\x12-\n\x04auth\x18\x05 \x01(\x0b2\x19.viam.app.v1.LocationAuthR\x04auth\x12G\n\rorganizations\x18\x06 \x03(\x0b2!.viam.app.v1.LocationOrganizationR\rorganizations\x129\n\ncreated_on\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\tcreatedOn\x12\x1f\n\x0brobot_count\x18\x07 \x01(\x05R\nrobotCount"\xd0\x02\n\x0cSharedSecret\x12\x1e\n\x02id\x18\x01 \x01(\tB\x0e\x9a\x84\x9e\x03\tbson:"id"R\x02id\x12*\n\x06secret\x18\x02 \x01(\tB\x12\x9a\x84\x9e\x03\rbson:"secret"R\x06secret\x12c\n\ncreated_on\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampB(\x9a\x84\x9e\x03#bson:"created_on" json:"created_on"R\tcreatedOn\x12H\n\x05state\x18\x04 \x01(\x0e2\x1f.viam.app.v1.SharedSecret.StateB\x11\x9a\x84\x9e\x03\x0cbson:"state"R\x05state"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x11\n\rSTATE_ENABLED\x10\x01\x12\x12\n\x0eSTATE_DISABLED\x10\x02"\x9e\x01\n\x15CreateLocationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x121\n\x12parent_location_id\x18\x03 \x01(\tH\x00R\x10parentLocationId\x88\x01\x01B\x15\n\x13_parent_location_id"K\n\x16CreateLocationResponse\x121\n\x08location\x18\x01 \x01(\x0b2\x15.viam.app.v1.LocationR\x08location"5\n\x12GetLocationRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId"H\n\x13GetLocationResponse\x121\n\x08location\x18\x01 \x01(\x0b2\x15.viam.app.v1.LocationR\x08location"\xa4\x01\n\x15UpdateLocationRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x121\n\x12parent_location_id\x18\x03 \x01(\tH\x01R\x10parentLocationId\x88\x01\x01B\x07\n\x05_nameB\x15\n\x13_parent_location_id"K\n\x16UpdateLocationResponse\x121\n\x08location\x18\x01 \x01(\x0b2\x15.viam.app.v1.LocationR\x08location"8\n\x15DeleteLocationRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId"\x18\n\x16DeleteLocationResponse"?\n\x14ListLocationsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"`\n\x14ShareLocationRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId"\x17\n\x15ShareLocationResponse"b\n\x16UnshareLocationRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId"\x19\n\x17UnshareLocationResponse"L\n\x15ListLocationsResponse\x123\n\tlocations\x18\x01 \x03(\x0b2\x15.viam.app.v1.LocationR\tlocations">\n\x1bCreateLocationSecretRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId"M\n\x1cCreateLocationSecretResponse\x12-\n\x04auth\x18\x01 \x01(\x0b2\x19.viam.app.v1.LocationAuthR\x04auth"[\n\x1bDeleteLocationSecretRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId\x12\x1b\n\tsecret_id\x18\x02 \x01(\tR\x08secretId"\x1e\n\x1cDeleteLocationSecretResponse"6\n\x13LocationAuthRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId"E\n\x14LocationAuthResponse\x12-\n\x04auth\x18\x01 \x01(\x0b2\x19.viam.app.v1.LocationAuthR\x04auth"!\n\x0fGetRobotRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"4\n\x1bGetRoverRentalRobotsRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"\x9a\x01\n\x10RoverRentalRobot\x12\x19\n\x08robot_id\x18\x01 \x01(\tR\x07robotId\x12\x1f\n\x0blocation_id\x18\x02 \x01(\tR\nlocationId\x12\x1d\n\nrobot_name\x18\x03 \x01(\tR\trobotName\x12+\n\x12robot_main_part_id\x18\x04 \x01(\tR\x0frobotMainPartId"U\n\x1cGetRoverRentalRobotsResponse\x125\n\x06robots\x18\x01 \x03(\x0b2\x1d.viam.app.v1.RoverRentalRobotR\x06robots"<\n\x10GetRobotResponse\x12(\n\x05robot\x18\x01 \x01(\x0b2\x12.viam.app.v1.RobotR\x05robot"1\n\x14GetRobotPartsRequest\x12\x19\n\x08robot_id\x18\x01 \x01(\tR\x07robotId"E\n\x15GetRobotPartsResponse\x12,\n\x05parts\x18\x01 \x03(\x0b2\x16.viam.app.v1.RobotPartR\x05parts"%\n\x13GetRobotPartRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"c\n\x14GetRobotPartResponse\x12*\n\x04part\x18\x01 \x01(\x0b2\x16.viam.app.v1.RobotPartR\x04part\x12\x1f\n\x0bconfig_json\x18\x02 \x01(\tR\nconfigJson"\xa5\x01\n\x17GetRobotPartLogsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0berrors_only\x18\x02 \x01(\x08R\nerrorsOnly\x12\x1b\n\x06filter\x18\x03 \x01(\tH\x00R\x06filter\x88\x01\x01\x12"\n\npage_token\x18\x04 \x01(\tH\x01R\tpageToken\x88\x01\x01B\t\n\x07_filterB\r\n\x0b_page_token"\x97\x02\n\x08LogEntry\x12\x12\n\x04host\x18\x01 \x01(\tR\x04host\x12\x14\n\x05level\x18\x02 \x01(\tR\x05level\x12.\n\x04time\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampR\x04time\x12\x1f\n\x0blogger_name\x18\x04 \x01(\tR\nloggerName\x12\x18\n\x07message\x18\x05 \x01(\tR\x07message\x12/\n\x06caller\x18\x06 \x01(\x0b2\x17.google.protobuf.StructR\x06caller\x12\x14\n\x05stack\x18\x07 \x01(\tR\x05stack\x12/\n\x06fields\x18\x08 \x03(\x0b2\x17.google.protobuf.StructR\x06fields"m\n\x18GetRobotPartLogsResponse\x12)\n\x04logs\x18\x01 \x03(\x0b2\x15.viam.app.v1.LogEntryR\x04logs\x12&\n\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken"s\n\x18TailRobotPartLogsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n\x0berrors_only\x18\x02 \x01(\x08R\nerrorsOnly\x12\x1b\n\x06filter\x18\x03 \x01(\tH\x00R\x06filter\x88\x01\x01B\t\n\x07_filter"F\n\x19TailRobotPartLogsResponse\x12)\n\x04logs\x18\x01 \x03(\x0b2\x15.viam.app.v1.LogEntryR\x04logs",\n\x1aGetRobotPartHistoryRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"[\n\x1bGetRobotPartHistoryResponse\x12<\n\x07history\x18\x01 \x03(\x0b2".viam.app.v1.RobotPartHistoryEntryR\x07history"x\n\x16UpdateRobotPartRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12:\n\x0crobot_config\x18\x03 \x01(\x0b2\x17.google.protobuf.StructR\x0brobotConfig"E\n\x17UpdateRobotPartResponse\x12*\n\x04part\x18\x01 \x01(\x0b2\x16.viam.app.v1.RobotPartR\x04part"M\n\x13NewRobotPartRequest\x12\x19\n\x08robot_id\x18\x01 \x01(\tR\x07robotId\x12\x1b\n\tpart_name\x18\x02 \x01(\tR\x08partName"/\n\x14NewRobotPartResponse\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId"1\n\x16DeleteRobotPartRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId"\x19\n\x17DeleteRobotPartResponse"\x84\x05\n\x08Fragment\x123\n\x02id\x18\x01 \x01(\tB#\x9a\x84\x9e\x03\x1ebson:"_id" json:"id,omitempty"R\x02id\x120\n\x04name\x18\x02 \x01(\tB\x1c\x9a\x84\x9e\x03\x17bson:"name" json:"name"R\x04name\x12Y\n\x08fragment\x18\x03 \x01(\x0b2\x17.google.protobuf.StructB$\x9a\x84\x9e\x03\x1fbson:"fragment" json:"fragment"R\x08fragment\x12Z\n\x12organization_owner\x18\x04 \x01(\tB+\x9a\x84\x9e\x03&bson:"organization_owner" json:"owner"R\x11organizationOwner\x128\n\x06public\x18\x05 \x01(\x08B \x9a\x84\x9e\x03\x1bbson:"public" json:"public"R\x06public\x12Q\n\ncreated_on\x18\x06 \x01(\x0b2\x1a.google.protobuf.TimestampB\x16\x9a\x84\x9e\x03\x11bson:"created_on"R\tcreatedOn\x12+\n\x11organization_name\x18\x07 \x01(\tR\x10organizationName\x12\x1a\n\x08readonly\x18\x08 \x01(\x08R\x08readonly\x12(\n\x10robot_part_count\x18\t \x01(\x05R\x0erobotPartCount\x12-\n\x12organization_count\x18\n \x01(\x05R\x11organizationCount\x12+\n\x12only_used_by_owner\x18\x0b \x01(\x08R\x0fonlyUsedByOwner"`\n\x14ListFragmentsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1f\n\x0bshow_public\x18\x02 \x01(\x08R\nshowPublic"L\n\x15ListFragmentsResponse\x123\n\tfragments\x18\x01 \x03(\x0b2\x15.viam.app.v1.FragmentR\tfragments"$\n\x12GetFragmentRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"H\n\x13GetFragmentResponse\x121\n\x08fragment\x18\x01 \x01(\x0b2\x15.viam.app.v1.FragmentR\x08fragment"\\\n\x15CreateFragmentRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12/\n\x06config\x18\x02 \x01(\x0b2\x17.google.protobuf.StructR\x06config"K\n\x16CreateFragmentResponse\x121\n\x08fragment\x18\x01 \x01(\x0b2\x15.viam.app.v1.FragmentR\x08fragment"\x94\x01\n\x15UpdateFragmentRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12/\n\x06config\x18\x03 \x01(\x0b2\x17.google.protobuf.StructR\x06config\x12\x1b\n\x06public\x18\x04 \x01(\x08H\x00R\x06public\x88\x01\x01B\t\n\x07_public"K\n\x16UpdateFragmentResponse\x121\n\x08fragment\x18\x01 \x01(\x0b2\x15.viam.app.v1.FragmentR\x08fragment"\'\n\x15DeleteFragmentRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x18\n\x16DeleteFragmentResponse"4\n\x11ListRobotsRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId"@\n\x12ListRobotsResponse\x12*\n\x06robots\x18\x01 \x03(\x0b2\x12.viam.app.v1.RobotR\x06robots"A\n\x0fNewRobotRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1a\n\x08location\x18\x02 \x01(\tR\x08location""\n\x10NewRobotResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"T\n\x12UpdateRobotRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1a\n\x08location\x18\x03 \x01(\tR\x08location"?\n\x13UpdateRobotResponse\x12(\n\x05robot\x18\x01 \x01(\x0b2\x12.viam.app.v1.RobotR\x05robot"$\n\x12DeleteRobotRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x15\n\x13DeleteRobotResponse"0\n\x15MarkPartAsMainRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId"\x18\n\x16MarkPartAsMainResponse"4\n\x19MarkPartForRestartRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId"\x1c\n\x1aMarkPartForRestartResponse"7\n\x1cCreateRobotPartSecretRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId"K\n\x1dCreateRobotPartSecretResponse\x12*\n\x04part\x18\x01 \x01(\x0b2\x16.viam.app.v1.RobotPartR\x04part"T\n\x1cDeleteRobotPartSecretRequest\x12\x17\n\x07part_id\x18\x01 \x01(\tR\x06partId\x12\x1b\n\tsecret_id\x18\x02 \x01(\tR\x08secretId"\x1f\n\x1dDeleteRobotPartSecretResponse"\xaf\x01\n\rAuthorization\x12-\n\x12authorization_type\x18\x01 \x01(\tR\x11authorizationType\x12)\n\x10authorization_id\x18\x02 \x01(\tR\x0fauthorizationId\x12#\n\rresource_type\x18\x03 \x01(\tR\x0cresourceType\x12\x1f\n\x0bresource_id\x18\x04 \x01(\tR\nresourceId"\xb9\x01\n\x0eAddRoleRequest\x12\x1f\n\x0bidentity_id\x18\x01 \x01(\tR\nidentityId\x12\x17\n\x07role_id\x18\x02 \x01(\tR\x06roleId\x12#\n\rresource_type\x18\x03 \x01(\tR\x0cresourceType\x12\x1f\n\x0bresource_id\x18\x04 \x01(\tR\nresourceId\x12\'\n\x0forganization_id\x18\x05 \x01(\tR\x0eorganizationId"S\n\x0fAddRoleResponse\x12@\n\rauthorization\x18\x01 \x01(\x0b2\x1a.viam.app.v1.AuthorizationR\rauthorization"\xbc\x01\n\x11RemoveRoleRequest\x12\x1f\n\x0bidentity_id\x18\x01 \x01(\tR\nidentityId\x12\x17\n\x07role_id\x18\x02 \x01(\tR\x06roleId\x12#\n\rresource_type\x18\x03 \x01(\tR\x0cresourceType\x12\x1f\n\x0bresource_id\x18\x04 \x01(\tR\nresourceId\x12\'\n\x0forganization_id\x18\x05 \x01(\tR\x0eorganizationId"\x14\n\x12RemoveRoleResponse"\x8a\x01\n\x19ListAuthorizationsRequest\x12#\n\rresource_type\x18\x01 \x01(\tR\x0cresourceType\x12\x1f\n\x0bresource_id\x18\x02 \x01(\tR\nresourceId\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId"u\n\x0eAuthorizations\x12\x1f\n\x0bidentity_id\x18\x01 \x01(\tR\nidentityId\x12B\n\x0eauthorizations\x18\x02 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\x0eauthorizations"a\n\x1aListAuthorizationsResponse\x12C\n\x0eauthorizations\x18\x01 \x03(\x0b2\x1b.viam.app.v1.AuthorizationsR\x0eauthorizations"_\n\x17CheckPermissionsRequest\x12D\n\x0bpermissions\x18\x01 \x03(\x0b2".viam.app.v1.AuthorizedPermissionsR\x0bpermissions"\x7f\n\x15AuthorizedPermissions\x12#\n\rresource_type\x18\x01 \x01(\tR\x0cresourceType\x12\x1f\n\x0bresource_id\x18\x02 \x01(\tR\nresourceId\x12 \n\x0bpermissions\x18\x03 \x03(\tR\x0bpermissions"u\n\x18CheckPermissionsResponse\x12Y\n\x16authorized_permissions\x18\x01 \x03(\x0b2".viam.app.v1.AuthorizedPermissionsR\x15authorizedPermissions"T\n\x13CreateModuleRequest\x12)\n\x10public_namespace\x18\x01 \x01(\tR\x0fpublicNamespace\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name"3\n\x14CreateModuleResponse\x12\x1b\n\tmodule_id\x18\x01 \x01(\tR\x08moduleId"\xcb\x01\n\x13UpdateModuleRequest\x12\x1b\n\tmodule_id\x18\x01 \x01(\tR\x08moduleId\x127\n\nvisibility\x18\x02 \x01(\x0e2\x17.viam.app.v1.VisibilityR\nvisibility\x12\x10\n\x03url\x18\x03 \x01(\tR\x03url\x12 \n\x0bdescription\x18\x04 \x01(\tR\x0bdescription\x12*\n\x06models\x18\x05 \x03(\x0b2\x12.viam.app.v1.ModelR\x06models"\x16\n\x14UpdateModuleResponse"/\n\x05Model\x12\x10\n\x03api\x18\x01 \x01(\tR\x03api\x12\x14\n\x05model\x18\x02 \x01(\tR\x05model"c\n\x0eModuleFileInfo\x12\x1b\n\tmodule_id\x18\x01 \x01(\tR\x08moduleId\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version\x12\x1a\n\x08platform\x18\x03 \x01(\tR\x08platform"\x87\x01\n\x17UploadModuleFileRequest\x12G\n\x10module_file_info\x18\x01 \x01(\x0b2\x1b.viam.app.v1.ModuleFileInfoH\x00R\x0emoduleFileInfo\x12\x14\n\x04file\x18\x02 \x01(\x0cH\x00R\x04fileB\r\n\x0bmodule_file"\x1a\n\x18UploadModuleFileResponse"/\n\x10GetModuleRequest\x12\x1b\n\tmodule_id\x18\x01 \x01(\tR\x08moduleId"@\n\x11GetModuleResponse\x12+\n\x06module\x18\x01 \x01(\x0b2\x13.viam.app.v1.ModuleR\x06module"\xf1\x02\n\x06Module\x12\x1b\n\tmodule_id\x18\x01 \x01(\tR\x08moduleId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x127\n\nvisibility\x18\x03 \x01(\x0e2\x17.viam.app.v1.VisibilityR\nvisibility\x127\n\x08versions\x18\x04 \x03(\x0b2\x1b.viam.app.v1.VersionHistoryR\x08versions\x12\x10\n\x03url\x18\x05 \x01(\tR\x03url\x12 \n\x0bdescription\x18\x06 \x01(\tR\x0bdescription\x12*\n\x06models\x18\x07 \x03(\x0b2\x12.viam.app.v1.ModelR\x06models\x12*\n\x11total_robot_usage\x18\x08 \x01(\x03R\x0ftotalRobotUsage\x128\n\x18total_organization_usage\x18\t \x01(\x03R\x16totalOrganizationUsage"V\n\x0eVersionHistory\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12*\n\x05files\x18\x02 \x03(\x0b2\x14.viam.app.v1.UploadsR\x05files"b\n\x07Uploads\x12\x1a\n\x08platform\x18\x01 \x01(\tR\x08platform\x12;\n\x0buploaded_at\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\nuploadedAt"V\n\x12ListModulesRequest\x12,\n\x0forganization_id\x18\x01 \x01(\tH\x00R\x0eorganizationId\x88\x01\x01B\x12\n\x10_organization_id"D\n\x13ListModulesResponse\x12-\n\x07modules\x18\x01 \x03(\x0b2\x13.viam.app.v1.ModuleR\x07modules*W\n\nVisibility\x12\x1a\n\x16VISIBILITY_UNSPECIFIED\x10\x00\x12\x16\n\x12VISIBILITY_PRIVATE\x10\x01\x12\x15\n\x11VISIBILITY_PUBLIC\x10\x022\xc3&\n\nAppService\x12e\n\x12CreateOrganization\x12&.viam.app.v1.CreateOrganizationRequest\x1a\'.viam.app.v1.CreateOrganizationResponse\x12b\n\x11ListOrganizations\x12%.viam.app.v1.ListOrganizationsRequest\x1a&.viam.app.v1.ListOrganizationsResponse\x12\\\n\x0fGetOrganization\x12#.viam.app.v1.GetOrganizationRequest\x1a$.viam.app.v1.GetOrganizationResponse\x12e\n\x12UpdateOrganization\x12&.viam.app.v1.UpdateOrganizationRequest\x1a\'.viam.app.v1.UpdateOrganizationResponse\x12e\n\x12DeleteOrganization\x12&.viam.app.v1.DeleteOrganizationRequest\x1a\'.viam.app.v1.DeleteOrganizationResponse\x12t\n\x17ListOrganizationMembers\x12+.viam.app.v1.ListOrganizationMembersRequest\x1a,.viam.app.v1.ListOrganizationMembersResponse\x12w\n\x18CreateOrganizationInvite\x12,.viam.app.v1.CreateOrganizationInviteRequest\x1a-.viam.app.v1.CreateOrganizationInviteResponse\x12w\n\x18DeleteOrganizationMember\x12,.viam.app.v1.DeleteOrganizationMemberRequest\x1a-.viam.app.v1.DeleteOrganizationMemberResponse\x12w\n\x18DeleteOrganizationInvite\x12,.viam.app.v1.DeleteOrganizationInviteRequest\x1a-.viam.app.v1.DeleteOrganizationInviteResponse\x12w\n\x18ResendOrganizationInvite\x12,.viam.app.v1.ResendOrganizationInviteRequest\x1a-.viam.app.v1.ResendOrganizationInviteResponse\x12Y\n\x0eCreateLocation\x12".viam.app.v1.CreateLocationRequest\x1a#.viam.app.v1.CreateLocationResponse\x12P\n\x0bGetLocation\x12\x1f.viam.app.v1.GetLocationRequest\x1a .viam.app.v1.GetLocationResponse\x12Y\n\x0eUpdateLocation\x12".viam.app.v1.UpdateLocationRequest\x1a#.viam.app.v1.UpdateLocationResponse\x12Y\n\x0eDeleteLocation\x12".viam.app.v1.DeleteLocationRequest\x1a#.viam.app.v1.DeleteLocationResponse\x12V\n\rListLocations\x12!.viam.app.v1.ListLocationsRequest\x1a".viam.app.v1.ListLocationsResponse\x12V\n\rShareLocation\x12!.viam.app.v1.ShareLocationRequest\x1a".viam.app.v1.ShareLocationResponse\x12\\\n\x0fUnshareLocation\x12#.viam.app.v1.UnshareLocationRequest\x1a$.viam.app.v1.UnshareLocationResponse\x12S\n\x0cLocationAuth\x12 .viam.app.v1.LocationAuthRequest\x1a!.viam.app.v1.LocationAuthResponse\x12k\n\x14CreateLocationSecret\x12(.viam.app.v1.CreateLocationSecretRequest\x1a).viam.app.v1.CreateLocationSecretResponse\x12k\n\x14DeleteLocationSecret\x12(.viam.app.v1.DeleteLocationSecretRequest\x1a).viam.app.v1.DeleteLocationSecretResponse\x12G\n\x08GetRobot\x12\x1c.viam.app.v1.GetRobotRequest\x1a\x1d.viam.app.v1.GetRobotResponse\x12k\n\x14GetRoverRentalRobots\x12(.viam.app.v1.GetRoverRentalRobotsRequest\x1a).viam.app.v1.GetRoverRentalRobotsResponse\x12V\n\rGetRobotParts\x12!.viam.app.v1.GetRobotPartsRequest\x1a".viam.app.v1.GetRobotPartsResponse\x12S\n\x0cGetRobotPart\x12 .viam.app.v1.GetRobotPartRequest\x1a!.viam.app.v1.GetRobotPartResponse\x12_\n\x10GetRobotPartLogs\x12$.viam.app.v1.GetRobotPartLogsRequest\x1a%.viam.app.v1.GetRobotPartLogsResponse\x12d\n\x11TailRobotPartLogs\x12%.viam.app.v1.TailRobotPartLogsRequest\x1a&.viam.app.v1.TailRobotPartLogsResponse0\x01\x12h\n\x13GetRobotPartHistory\x12\'.viam.app.v1.GetRobotPartHistoryRequest\x1a(.viam.app.v1.GetRobotPartHistoryResponse\x12\\\n\x0fUpdateRobotPart\x12#.viam.app.v1.UpdateRobotPartRequest\x1a$.viam.app.v1.UpdateRobotPartResponse\x12S\n\x0cNewRobotPart\x12 .viam.app.v1.NewRobotPartRequest\x1a!.viam.app.v1.NewRobotPartResponse\x12\\\n\x0fDeleteRobotPart\x12#.viam.app.v1.DeleteRobotPartRequest\x1a$.viam.app.v1.DeleteRobotPartResponse\x12Y\n\x0eMarkPartAsMain\x12".viam.app.v1.MarkPartAsMainRequest\x1a#.viam.app.v1.MarkPartAsMainResponse\x12e\n\x12MarkPartForRestart\x12&.viam.app.v1.MarkPartForRestartRequest\x1a\'.viam.app.v1.MarkPartForRestartResponse\x12n\n\x15CreateRobotPartSecret\x12).viam.app.v1.CreateRobotPartSecretRequest\x1a*.viam.app.v1.CreateRobotPartSecretResponse\x12n\n\x15DeleteRobotPartSecret\x12).viam.app.v1.DeleteRobotPartSecretRequest\x1a*.viam.app.v1.DeleteRobotPartSecretResponse\x12M\n\nListRobots\x12\x1e.viam.app.v1.ListRobotsRequest\x1a\x1f.viam.app.v1.ListRobotsResponse\x12G\n\x08NewRobot\x12\x1c.viam.app.v1.NewRobotRequest\x1a\x1d.viam.app.v1.NewRobotResponse\x12P\n\x0bUpdateRobot\x12\x1f.viam.app.v1.UpdateRobotRequest\x1a .viam.app.v1.UpdateRobotResponse\x12P\n\x0bDeleteRobot\x12\x1f.viam.app.v1.DeleteRobotRequest\x1a .viam.app.v1.DeleteRobotResponse\x12V\n\rListFragments\x12!.viam.app.v1.ListFragmentsRequest\x1a".viam.app.v1.ListFragmentsResponse\x12P\n\x0bGetFragment\x12\x1f.viam.app.v1.GetFragmentRequest\x1a .viam.app.v1.GetFragmentResponse\x12Y\n\x0eCreateFragment\x12".viam.app.v1.CreateFragmentRequest\x1a#.viam.app.v1.CreateFragmentResponse\x12Y\n\x0eUpdateFragment\x12".viam.app.v1.UpdateFragmentRequest\x1a#.viam.app.v1.UpdateFragmentResponse\x12Y\n\x0eDeleteFragment\x12".viam.app.v1.DeleteFragmentRequest\x1a#.viam.app.v1.DeleteFragmentResponse\x12D\n\x07AddRole\x12\x1b.viam.app.v1.AddRoleRequest\x1a\x1c.viam.app.v1.AddRoleResponse\x12M\n\nRemoveRole\x12\x1e.viam.app.v1.RemoveRoleRequest\x1a\x1f.viam.app.v1.RemoveRoleResponse\x12e\n\x12ListAuthorizations\x12&.viam.app.v1.ListAuthorizationsRequest\x1a\'.viam.app.v1.ListAuthorizationsResponse\x12_\n\x10CheckPermissions\x12$.viam.app.v1.CheckPermissionsRequest\x1a%.viam.app.v1.CheckPermissionsResponse\x12S\n\x0cCreateModule\x12 .viam.app.v1.CreateModuleRequest\x1a!.viam.app.v1.CreateModuleResponse\x12S\n\x0cUpdateModule\x12 .viam.app.v1.UpdateModuleRequest\x1a!.viam.app.v1.UpdateModuleResponse\x12a\n\x10UploadModuleFile\x12$.viam.app.v1.UploadModuleFileRequest\x1a%.viam.app.v1.UploadModuleFileResponse(\x01\x12J\n\tGetModule\x12\x1d.viam.app.v1.GetModuleRequest\x1a\x1e.viam.app.v1.GetModuleResponse\x12P\n\x0bListModules\x12\x1f.viam.app.v1.ListModulesRequest\x1a .viam.app.v1.ListModulesResponseB\x18Z\x16go.viam.com/api/app/v1b\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.v1.app_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: @@ -77,6 +77,8 @@ _FRAGMENT.fields_by_name['public']._serialized_options = b'\x9a\x84\x9e\x03\x1bbson:"public" json:"public"' _FRAGMENT.fields_by_name['created_on']._options = None _FRAGMENT.fields_by_name['created_on']._serialized_options = b'\x9a\x84\x9e\x03\x11bson:"created_on"' + _VISIBILITY._serialized_start = 13408 + _VISIBILITY._serialized_end = 13495 _ROBOT._serialized_start = 121 _ROBOT._serialized_end = 485 _ROBOTPART._serialized_start = 488 @@ -85,219 +87,249 @@ _ROBOTPARTHISTORYENTRY._serialized_end = 1745 _LISTORGANIZATIONSREQUEST._serialized_start = 1747 _LISTORGANIZATIONSREQUEST._serialized_end = 1773 - _ORGANIZATION._serialized_start = 1775 - _ORGANIZATION._serialized_end = 1884 - _ORGANIZATIONMEMBER._serialized_start = 1887 - _ORGANIZATIONMEMBER._serialized_end = 2015 - _LISTORGANIZATIONSRESPONSE._serialized_start = 2017 - _LISTORGANIZATIONSRESPONSE._serialized_end = 2109 - _ORGANIZATIONINVITE._serialized_start = 2112 - _ORGANIZATIONINVITE._serialized_end = 2287 - _CREATEORGANIZATIONREQUEST._serialized_start = 2289 - _CREATEORGANIZATIONREQUEST._serialized_end = 2336 - _CREATEORGANIZATIONRESPONSE._serialized_start = 2338 - _CREATEORGANIZATIONRESPONSE._serialized_end = 2429 - _GETORGANIZATIONREQUEST._serialized_start = 2431 - _GETORGANIZATIONREQUEST._serialized_end = 2496 - _GETORGANIZATIONRESPONSE._serialized_start = 2498 - _GETORGANIZATIONRESPONSE._serialized_end = 2586 - _UPDATEORGANIZATIONREQUEST._serialized_start = 2588 - _UPDATEORGANIZATIONREQUEST._serialized_end = 2676 - _UPDATEORGANIZATIONRESPONSE._serialized_start = 2678 - _UPDATEORGANIZATIONRESPONSE._serialized_end = 2769 - _DELETEORGANIZATIONREQUEST._serialized_start = 2771 - _DELETEORGANIZATIONREQUEST._serialized_end = 2839 - _DELETEORGANIZATIONRESPONSE._serialized_start = 2841 - _DELETEORGANIZATIONRESPONSE._serialized_end = 2869 - _LISTORGANIZATIONMEMBERSREQUEST._serialized_start = 2871 - _LISTORGANIZATIONMEMBERSREQUEST._serialized_end = 2944 - _LISTORGANIZATIONMEMBERSRESPONSE._serialized_start = 2947 - _LISTORGANIZATIONMEMBERSRESPONSE._serialized_end = 3139 - _CREATEORGANIZATIONINVITEREQUEST._serialized_start = 3142 - _CREATEORGANIZATIONINVITEREQUEST._serialized_end = 3306 - _CREATEORGANIZATIONINVITERESPONSE._serialized_start = 3308 - _CREATEORGANIZATIONINVITERESPONSE._serialized_end = 3399 - _DELETEORGANIZATIONINVITEREQUEST._serialized_start = 3401 - _DELETEORGANIZATIONINVITEREQUEST._serialized_end = 3497 - _DELETEORGANIZATIONINVITERESPONSE._serialized_start = 3499 - _DELETEORGANIZATIONINVITERESPONSE._serialized_end = 3533 - _RESENDORGANIZATIONINVITEREQUEST._serialized_start = 3535 - _RESENDORGANIZATIONINVITEREQUEST._serialized_end = 3631 - _RESENDORGANIZATIONINVITERESPONSE._serialized_start = 3633 - _RESENDORGANIZATIONINVITERESPONSE._serialized_end = 3724 - _DELETEORGANIZATIONMEMBERREQUEST._serialized_start = 3726 - _DELETEORGANIZATIONMEMBERREQUEST._serialized_end = 3825 - _DELETEORGANIZATIONMEMBERRESPONSE._serialized_start = 3827 - _DELETEORGANIZATIONMEMBERRESPONSE._serialized_end = 3861 - _LOCATIONORGANIZATION._serialized_start = 3863 - _LOCATIONORGANIZATION._serialized_end = 3952 - _LOCATIONAUTH._serialized_start = 3955 - _LOCATIONAUTH._serialized_end = 4083 - _LOCATION._serialized_start = 4086 - _LOCATION._serialized_end = 4390 - _SHAREDSECRET._serialized_start = 4393 - _SHAREDSECRET._serialized_end = 4729 - _SHAREDSECRET_STATE._serialized_start = 4660 - _SHAREDSECRET_STATE._serialized_end = 4729 - _CREATELOCATIONREQUEST._serialized_start = 4732 - _CREATELOCATIONREQUEST._serialized_end = 4890 - _CREATELOCATIONRESPONSE._serialized_start = 4892 - _CREATELOCATIONRESPONSE._serialized_end = 4967 - _GETLOCATIONREQUEST._serialized_start = 4969 - _GETLOCATIONREQUEST._serialized_end = 5022 - _GETLOCATIONRESPONSE._serialized_start = 5024 - _GETLOCATIONRESPONSE._serialized_end = 5096 - _UPDATELOCATIONREQUEST._serialized_start = 5099 - _UPDATELOCATIONREQUEST._serialized_end = 5263 - _UPDATELOCATIONRESPONSE._serialized_start = 5265 - _UPDATELOCATIONRESPONSE._serialized_end = 5340 - _DELETELOCATIONREQUEST._serialized_start = 5342 - _DELETELOCATIONREQUEST._serialized_end = 5398 - _DELETELOCATIONRESPONSE._serialized_start = 5400 - _DELETELOCATIONRESPONSE._serialized_end = 5424 - _LISTLOCATIONSREQUEST._serialized_start = 5426 - _LISTLOCATIONSREQUEST._serialized_end = 5489 - _SHARELOCATIONREQUEST._serialized_start = 5491 - _SHARELOCATIONREQUEST._serialized_end = 5587 - _SHARELOCATIONRESPONSE._serialized_start = 5589 - _SHARELOCATIONRESPONSE._serialized_end = 5612 - _UNSHARELOCATIONREQUEST._serialized_start = 5614 - _UNSHARELOCATIONREQUEST._serialized_end = 5712 - _UNSHARELOCATIONRESPONSE._serialized_start = 5714 - _UNSHARELOCATIONRESPONSE._serialized_end = 5739 - _LISTLOCATIONSRESPONSE._serialized_start = 5741 - _LISTLOCATIONSRESPONSE._serialized_end = 5817 - _CREATELOCATIONSECRETREQUEST._serialized_start = 5819 - _CREATELOCATIONSECRETREQUEST._serialized_end = 5881 - _CREATELOCATIONSECRETRESPONSE._serialized_start = 5883 - _CREATELOCATIONSECRETRESPONSE._serialized_end = 5960 - _DELETELOCATIONSECRETREQUEST._serialized_start = 5962 - _DELETELOCATIONSECRETREQUEST._serialized_end = 6053 - _DELETELOCATIONSECRETRESPONSE._serialized_start = 6055 - _DELETELOCATIONSECRETRESPONSE._serialized_end = 6085 - _LOCATIONAUTHREQUEST._serialized_start = 6087 - _LOCATIONAUTHREQUEST._serialized_end = 6141 - _LOCATIONAUTHRESPONSE._serialized_start = 6143 - _LOCATIONAUTHRESPONSE._serialized_end = 6212 - _GETROBOTREQUEST._serialized_start = 6214 - _GETROBOTREQUEST._serialized_end = 6247 - _GETROVERRENTALROBOTSREQUEST._serialized_start = 6249 - _GETROVERRENTALROBOTSREQUEST._serialized_end = 6301 - _ROVERRENTALROBOT._serialized_start = 6304 - _ROVERRENTALROBOT._serialized_end = 6458 - _GETROVERRENTALROBOTSRESPONSE._serialized_start = 6460 - _GETROVERRENTALROBOTSRESPONSE._serialized_end = 6545 - _GETROBOTRESPONSE._serialized_start = 6547 - _GETROBOTRESPONSE._serialized_end = 6607 - _GETROBOTPARTSREQUEST._serialized_start = 6609 - _GETROBOTPARTSREQUEST._serialized_end = 6658 - _GETROBOTPARTSRESPONSE._serialized_start = 6660 - _GETROBOTPARTSRESPONSE._serialized_end = 6729 - _GETROBOTPARTREQUEST._serialized_start = 6731 - _GETROBOTPARTREQUEST._serialized_end = 6768 - _GETROBOTPARTRESPONSE._serialized_start = 6770 - _GETROBOTPARTRESPONSE._serialized_end = 6869 - _GETROBOTPARTLOGSREQUEST._serialized_start = 6872 - _GETROBOTPARTLOGSREQUEST._serialized_end = 7037 - _LOGENTRY._serialized_start = 7040 - _LOGENTRY._serialized_end = 7319 - _GETROBOTPARTLOGSRESPONSE._serialized_start = 7321 - _GETROBOTPARTLOGSRESPONSE._serialized_end = 7430 - _TAILROBOTPARTLOGSREQUEST._serialized_start = 7432 - _TAILROBOTPARTLOGSREQUEST._serialized_end = 7547 - _TAILROBOTPARTLOGSRESPONSE._serialized_start = 7549 - _TAILROBOTPARTLOGSRESPONSE._serialized_end = 7619 - _GETROBOTPARTHISTORYREQUEST._serialized_start = 7621 - _GETROBOTPARTHISTORYREQUEST._serialized_end = 7665 - _GETROBOTPARTHISTORYRESPONSE._serialized_start = 7667 - _GETROBOTPARTHISTORYRESPONSE._serialized_end = 7758 - _UPDATEROBOTPARTREQUEST._serialized_start = 7760 - _UPDATEROBOTPARTREQUEST._serialized_end = 7880 - _UPDATEROBOTPARTRESPONSE._serialized_start = 7882 - _UPDATEROBOTPARTRESPONSE._serialized_end = 7951 - _NEWROBOTPARTREQUEST._serialized_start = 7953 - _NEWROBOTPARTREQUEST._serialized_end = 8030 - _NEWROBOTPARTRESPONSE._serialized_start = 8032 - _NEWROBOTPARTRESPONSE._serialized_end = 8079 - _DELETEROBOTPARTREQUEST._serialized_start = 8081 - _DELETEROBOTPARTREQUEST._serialized_end = 8130 - _DELETEROBOTPARTRESPONSE._serialized_start = 8132 - _DELETEROBOTPARTRESPONSE._serialized_end = 8157 - _FRAGMENT._serialized_start = 8160 - _FRAGMENT._serialized_end = 8804 - _LISTFRAGMENTSREQUEST._serialized_start = 8806 - _LISTFRAGMENTSREQUEST._serialized_end = 8902 - _LISTFRAGMENTSRESPONSE._serialized_start = 8904 - _LISTFRAGMENTSRESPONSE._serialized_end = 8980 - _GETFRAGMENTREQUEST._serialized_start = 8982 - _GETFRAGMENTREQUEST._serialized_end = 9018 - _GETFRAGMENTRESPONSE._serialized_start = 9020 - _GETFRAGMENTRESPONSE._serialized_end = 9092 - _CREATEFRAGMENTREQUEST._serialized_start = 9094 - _CREATEFRAGMENTREQUEST._serialized_end = 9186 - _CREATEFRAGMENTRESPONSE._serialized_start = 9188 - _CREATEFRAGMENTRESPONSE._serialized_end = 9263 - _UPDATEFRAGMENTREQUEST._serialized_start = 9266 - _UPDATEFRAGMENTREQUEST._serialized_end = 9414 - _UPDATEFRAGMENTRESPONSE._serialized_start = 9416 - _UPDATEFRAGMENTRESPONSE._serialized_end = 9491 - _DELETEFRAGMENTREQUEST._serialized_start = 9493 - _DELETEFRAGMENTREQUEST._serialized_end = 9532 - _DELETEFRAGMENTRESPONSE._serialized_start = 9534 - _DELETEFRAGMENTRESPONSE._serialized_end = 9558 - _LISTROBOTSREQUEST._serialized_start = 9560 - _LISTROBOTSREQUEST._serialized_end = 9612 - _LISTROBOTSRESPONSE._serialized_start = 9614 - _LISTROBOTSRESPONSE._serialized_end = 9678 - _NEWROBOTREQUEST._serialized_start = 9680 - _NEWROBOTREQUEST._serialized_end = 9745 - _NEWROBOTRESPONSE._serialized_start = 9747 - _NEWROBOTRESPONSE._serialized_end = 9781 - _UPDATEROBOTREQUEST._serialized_start = 9783 - _UPDATEROBOTREQUEST._serialized_end = 9867 - _UPDATEROBOTRESPONSE._serialized_start = 9869 - _UPDATEROBOTRESPONSE._serialized_end = 9932 - _DELETEROBOTREQUEST._serialized_start = 9934 - _DELETEROBOTREQUEST._serialized_end = 9970 - _DELETEROBOTRESPONSE._serialized_start = 9972 - _DELETEROBOTRESPONSE._serialized_end = 9993 - _MARKPARTASMAINREQUEST._serialized_start = 9995 - _MARKPARTASMAINREQUEST._serialized_end = 10043 - _MARKPARTASMAINRESPONSE._serialized_start = 10045 - _MARKPARTASMAINRESPONSE._serialized_end = 10069 - _MARKPARTFORRESTARTREQUEST._serialized_start = 10071 - _MARKPARTFORRESTARTREQUEST._serialized_end = 10123 - _MARKPARTFORRESTARTRESPONSE._serialized_start = 10125 - _MARKPARTFORRESTARTRESPONSE._serialized_end = 10153 - _CREATEROBOTPARTSECRETREQUEST._serialized_start = 10155 - _CREATEROBOTPARTSECRETREQUEST._serialized_end = 10210 - _CREATEROBOTPARTSECRETRESPONSE._serialized_start = 10212 - _CREATEROBOTPARTSECRETRESPONSE._serialized_end = 10287 - _DELETEROBOTPARTSECRETREQUEST._serialized_start = 10289 - _DELETEROBOTPARTSECRETREQUEST._serialized_end = 10373 - _DELETEROBOTPARTSECRETRESPONSE._serialized_start = 10375 - _DELETEROBOTPARTSECRETRESPONSE._serialized_end = 10406 - _AUTHORIZATION._serialized_start = 10409 - _AUTHORIZATION._serialized_end = 10584 - _ADDROLEREQUEST._serialized_start = 10587 - _ADDROLEREQUEST._serialized_end = 10772 - _ADDROLERESPONSE._serialized_start = 10774 - _ADDROLERESPONSE._serialized_end = 10857 - _REMOVEROLEREQUEST._serialized_start = 10860 - _REMOVEROLEREQUEST._serialized_end = 11048 - _REMOVEROLERESPONSE._serialized_start = 11050 - _REMOVEROLERESPONSE._serialized_end = 11070 - _LISTAUTHORIZATIONSREQUEST._serialized_start = 11073 - _LISTAUTHORIZATIONSREQUEST._serialized_end = 11211 - _AUTHORIZATIONS._serialized_start = 11213 - _AUTHORIZATIONS._serialized_end = 11330 - _LISTAUTHORIZATIONSRESPONSE._serialized_start = 11332 - _LISTAUTHORIZATIONSRESPONSE._serialized_end = 11429 - _CHECKPERMISSIONSREQUEST._serialized_start = 11431 - _CHECKPERMISSIONSREQUEST._serialized_end = 11526 - _AUTHORIZEDPERMISSIONS._serialized_start = 11528 - _AUTHORIZEDPERMISSIONS._serialized_end = 11655 - _CHECKPERMISSIONSRESPONSE._serialized_start = 11657 - _CHECKPERMISSIONSRESPONSE._serialized_end = 11774 - _APPSERVICE._serialized_start = 11777 - _APPSERVICE._serialized_end = 16281 \ No newline at end of file + _ORGANIZATION._serialized_start = 1776 + _ORGANIZATION._serialized_end = 1928 + _ORGANIZATIONMEMBER._serialized_start = 1931 + _ORGANIZATIONMEMBER._serialized_end = 2059 + _LISTORGANIZATIONSRESPONSE._serialized_start = 2061 + _LISTORGANIZATIONSRESPONSE._serialized_end = 2153 + _ORGANIZATIONINVITE._serialized_start = 2156 + _ORGANIZATIONINVITE._serialized_end = 2331 + _CREATEORGANIZATIONREQUEST._serialized_start = 2333 + _CREATEORGANIZATIONREQUEST._serialized_end = 2380 + _CREATEORGANIZATIONRESPONSE._serialized_start = 2382 + _CREATEORGANIZATIONRESPONSE._serialized_end = 2473 + _GETORGANIZATIONREQUEST._serialized_start = 2475 + _GETORGANIZATIONREQUEST._serialized_end = 2540 + _GETORGANIZATIONRESPONSE._serialized_start = 2542 + _GETORGANIZATIONRESPONSE._serialized_end = 2630 + _UPDATEORGANIZATIONREQUEST._serialized_start = 2633 + _UPDATEORGANIZATIONREQUEST._serialized_end = 2790 + _UPDATEORGANIZATIONRESPONSE._serialized_start = 2792 + _UPDATEORGANIZATIONRESPONSE._serialized_end = 2883 + _DELETEORGANIZATIONREQUEST._serialized_start = 2885 + _DELETEORGANIZATIONREQUEST._serialized_end = 2953 + _DELETEORGANIZATIONRESPONSE._serialized_start = 2955 + _DELETEORGANIZATIONRESPONSE._serialized_end = 2983 + _LISTORGANIZATIONMEMBERSREQUEST._serialized_start = 2985 + _LISTORGANIZATIONMEMBERSREQUEST._serialized_end = 3058 + _LISTORGANIZATIONMEMBERSRESPONSE._serialized_start = 3061 + _LISTORGANIZATIONMEMBERSRESPONSE._serialized_end = 3253 + _CREATEORGANIZATIONINVITEREQUEST._serialized_start = 3256 + _CREATEORGANIZATIONINVITEREQUEST._serialized_end = 3420 + _CREATEORGANIZATIONINVITERESPONSE._serialized_start = 3422 + _CREATEORGANIZATIONINVITERESPONSE._serialized_end = 3513 + _DELETEORGANIZATIONINVITEREQUEST._serialized_start = 3515 + _DELETEORGANIZATIONINVITEREQUEST._serialized_end = 3611 + _DELETEORGANIZATIONINVITERESPONSE._serialized_start = 3613 + _DELETEORGANIZATIONINVITERESPONSE._serialized_end = 3647 + _RESENDORGANIZATIONINVITEREQUEST._serialized_start = 3649 + _RESENDORGANIZATIONINVITEREQUEST._serialized_end = 3745 + _RESENDORGANIZATIONINVITERESPONSE._serialized_start = 3747 + _RESENDORGANIZATIONINVITERESPONSE._serialized_end = 3838 + _DELETEORGANIZATIONMEMBERREQUEST._serialized_start = 3840 + _DELETEORGANIZATIONMEMBERREQUEST._serialized_end = 3939 + _DELETEORGANIZATIONMEMBERRESPONSE._serialized_start = 3941 + _DELETEORGANIZATIONMEMBERRESPONSE._serialized_end = 3975 + _LOCATIONORGANIZATION._serialized_start = 3977 + _LOCATIONORGANIZATION._serialized_end = 4066 + _LOCATIONAUTH._serialized_start = 4069 + _LOCATIONAUTH._serialized_end = 4197 + _LOCATION._serialized_start = 4200 + _LOCATION._serialized_end = 4504 + _SHAREDSECRET._serialized_start = 4507 + _SHAREDSECRET._serialized_end = 4843 + _SHAREDSECRET_STATE._serialized_start = 4774 + _SHAREDSECRET_STATE._serialized_end = 4843 + _CREATELOCATIONREQUEST._serialized_start = 4846 + _CREATELOCATIONREQUEST._serialized_end = 5004 + _CREATELOCATIONRESPONSE._serialized_start = 5006 + _CREATELOCATIONRESPONSE._serialized_end = 5081 + _GETLOCATIONREQUEST._serialized_start = 5083 + _GETLOCATIONREQUEST._serialized_end = 5136 + _GETLOCATIONRESPONSE._serialized_start = 5138 + _GETLOCATIONRESPONSE._serialized_end = 5210 + _UPDATELOCATIONREQUEST._serialized_start = 5213 + _UPDATELOCATIONREQUEST._serialized_end = 5377 + _UPDATELOCATIONRESPONSE._serialized_start = 5379 + _UPDATELOCATIONRESPONSE._serialized_end = 5454 + _DELETELOCATIONREQUEST._serialized_start = 5456 + _DELETELOCATIONREQUEST._serialized_end = 5512 + _DELETELOCATIONRESPONSE._serialized_start = 5514 + _DELETELOCATIONRESPONSE._serialized_end = 5538 + _LISTLOCATIONSREQUEST._serialized_start = 5540 + _LISTLOCATIONSREQUEST._serialized_end = 5603 + _SHARELOCATIONREQUEST._serialized_start = 5605 + _SHARELOCATIONREQUEST._serialized_end = 5701 + _SHARELOCATIONRESPONSE._serialized_start = 5703 + _SHARELOCATIONRESPONSE._serialized_end = 5726 + _UNSHARELOCATIONREQUEST._serialized_start = 5728 + _UNSHARELOCATIONREQUEST._serialized_end = 5826 + _UNSHARELOCATIONRESPONSE._serialized_start = 5828 + _UNSHARELOCATIONRESPONSE._serialized_end = 5853 + _LISTLOCATIONSRESPONSE._serialized_start = 5855 + _LISTLOCATIONSRESPONSE._serialized_end = 5931 + _CREATELOCATIONSECRETREQUEST._serialized_start = 5933 + _CREATELOCATIONSECRETREQUEST._serialized_end = 5995 + _CREATELOCATIONSECRETRESPONSE._serialized_start = 5997 + _CREATELOCATIONSECRETRESPONSE._serialized_end = 6074 + _DELETELOCATIONSECRETREQUEST._serialized_start = 6076 + _DELETELOCATIONSECRETREQUEST._serialized_end = 6167 + _DELETELOCATIONSECRETRESPONSE._serialized_start = 6169 + _DELETELOCATIONSECRETRESPONSE._serialized_end = 6199 + _LOCATIONAUTHREQUEST._serialized_start = 6201 + _LOCATIONAUTHREQUEST._serialized_end = 6255 + _LOCATIONAUTHRESPONSE._serialized_start = 6257 + _LOCATIONAUTHRESPONSE._serialized_end = 6326 + _GETROBOTREQUEST._serialized_start = 6328 + _GETROBOTREQUEST._serialized_end = 6361 + _GETROVERRENTALROBOTSREQUEST._serialized_start = 6363 + _GETROVERRENTALROBOTSREQUEST._serialized_end = 6415 + _ROVERRENTALROBOT._serialized_start = 6418 + _ROVERRENTALROBOT._serialized_end = 6572 + _GETROVERRENTALROBOTSRESPONSE._serialized_start = 6574 + _GETROVERRENTALROBOTSRESPONSE._serialized_end = 6659 + _GETROBOTRESPONSE._serialized_start = 6661 + _GETROBOTRESPONSE._serialized_end = 6721 + _GETROBOTPARTSREQUEST._serialized_start = 6723 + _GETROBOTPARTSREQUEST._serialized_end = 6772 + _GETROBOTPARTSRESPONSE._serialized_start = 6774 + _GETROBOTPARTSRESPONSE._serialized_end = 6843 + _GETROBOTPARTREQUEST._serialized_start = 6845 + _GETROBOTPARTREQUEST._serialized_end = 6882 + _GETROBOTPARTRESPONSE._serialized_start = 6884 + _GETROBOTPARTRESPONSE._serialized_end = 6983 + _GETROBOTPARTLOGSREQUEST._serialized_start = 6986 + _GETROBOTPARTLOGSREQUEST._serialized_end = 7151 + _LOGENTRY._serialized_start = 7154 + _LOGENTRY._serialized_end = 7433 + _GETROBOTPARTLOGSRESPONSE._serialized_start = 7435 + _GETROBOTPARTLOGSRESPONSE._serialized_end = 7544 + _TAILROBOTPARTLOGSREQUEST._serialized_start = 7546 + _TAILROBOTPARTLOGSREQUEST._serialized_end = 7661 + _TAILROBOTPARTLOGSRESPONSE._serialized_start = 7663 + _TAILROBOTPARTLOGSRESPONSE._serialized_end = 7733 + _GETROBOTPARTHISTORYREQUEST._serialized_start = 7735 + _GETROBOTPARTHISTORYREQUEST._serialized_end = 7779 + _GETROBOTPARTHISTORYRESPONSE._serialized_start = 7781 + _GETROBOTPARTHISTORYRESPONSE._serialized_end = 7872 + _UPDATEROBOTPARTREQUEST._serialized_start = 7874 + _UPDATEROBOTPARTREQUEST._serialized_end = 7994 + _UPDATEROBOTPARTRESPONSE._serialized_start = 7996 + _UPDATEROBOTPARTRESPONSE._serialized_end = 8065 + _NEWROBOTPARTREQUEST._serialized_start = 8067 + _NEWROBOTPARTREQUEST._serialized_end = 8144 + _NEWROBOTPARTRESPONSE._serialized_start = 8146 + _NEWROBOTPARTRESPONSE._serialized_end = 8193 + _DELETEROBOTPARTREQUEST._serialized_start = 8195 + _DELETEROBOTPARTREQUEST._serialized_end = 8244 + _DELETEROBOTPARTRESPONSE._serialized_start = 8246 + _DELETEROBOTPARTRESPONSE._serialized_end = 8271 + _FRAGMENT._serialized_start = 8274 + _FRAGMENT._serialized_end = 8918 + _LISTFRAGMENTSREQUEST._serialized_start = 8920 + _LISTFRAGMENTSREQUEST._serialized_end = 9016 + _LISTFRAGMENTSRESPONSE._serialized_start = 9018 + _LISTFRAGMENTSRESPONSE._serialized_end = 9094 + _GETFRAGMENTREQUEST._serialized_start = 9096 + _GETFRAGMENTREQUEST._serialized_end = 9132 + _GETFRAGMENTRESPONSE._serialized_start = 9134 + _GETFRAGMENTRESPONSE._serialized_end = 9206 + _CREATEFRAGMENTREQUEST._serialized_start = 9208 + _CREATEFRAGMENTREQUEST._serialized_end = 9300 + _CREATEFRAGMENTRESPONSE._serialized_start = 9302 + _CREATEFRAGMENTRESPONSE._serialized_end = 9377 + _UPDATEFRAGMENTREQUEST._serialized_start = 9380 + _UPDATEFRAGMENTREQUEST._serialized_end = 9528 + _UPDATEFRAGMENTRESPONSE._serialized_start = 9530 + _UPDATEFRAGMENTRESPONSE._serialized_end = 9605 + _DELETEFRAGMENTREQUEST._serialized_start = 9607 + _DELETEFRAGMENTREQUEST._serialized_end = 9646 + _DELETEFRAGMENTRESPONSE._serialized_start = 9648 + _DELETEFRAGMENTRESPONSE._serialized_end = 9672 + _LISTROBOTSREQUEST._serialized_start = 9674 + _LISTROBOTSREQUEST._serialized_end = 9726 + _LISTROBOTSRESPONSE._serialized_start = 9728 + _LISTROBOTSRESPONSE._serialized_end = 9792 + _NEWROBOTREQUEST._serialized_start = 9794 + _NEWROBOTREQUEST._serialized_end = 9859 + _NEWROBOTRESPONSE._serialized_start = 9861 + _NEWROBOTRESPONSE._serialized_end = 9895 + _UPDATEROBOTREQUEST._serialized_start = 9897 + _UPDATEROBOTREQUEST._serialized_end = 9981 + _UPDATEROBOTRESPONSE._serialized_start = 9983 + _UPDATEROBOTRESPONSE._serialized_end = 10046 + _DELETEROBOTREQUEST._serialized_start = 10048 + _DELETEROBOTREQUEST._serialized_end = 10084 + _DELETEROBOTRESPONSE._serialized_start = 10086 + _DELETEROBOTRESPONSE._serialized_end = 10107 + _MARKPARTASMAINREQUEST._serialized_start = 10109 + _MARKPARTASMAINREQUEST._serialized_end = 10157 + _MARKPARTASMAINRESPONSE._serialized_start = 10159 + _MARKPARTASMAINRESPONSE._serialized_end = 10183 + _MARKPARTFORRESTARTREQUEST._serialized_start = 10185 + _MARKPARTFORRESTARTREQUEST._serialized_end = 10237 + _MARKPARTFORRESTARTRESPONSE._serialized_start = 10239 + _MARKPARTFORRESTARTRESPONSE._serialized_end = 10267 + _CREATEROBOTPARTSECRETREQUEST._serialized_start = 10269 + _CREATEROBOTPARTSECRETREQUEST._serialized_end = 10324 + _CREATEROBOTPARTSECRETRESPONSE._serialized_start = 10326 + _CREATEROBOTPARTSECRETRESPONSE._serialized_end = 10401 + _DELETEROBOTPARTSECRETREQUEST._serialized_start = 10403 + _DELETEROBOTPARTSECRETREQUEST._serialized_end = 10487 + _DELETEROBOTPARTSECRETRESPONSE._serialized_start = 10489 + _DELETEROBOTPARTSECRETRESPONSE._serialized_end = 10520 + _AUTHORIZATION._serialized_start = 10523 + _AUTHORIZATION._serialized_end = 10698 + _ADDROLEREQUEST._serialized_start = 10701 + _ADDROLEREQUEST._serialized_end = 10886 + _ADDROLERESPONSE._serialized_start = 10888 + _ADDROLERESPONSE._serialized_end = 10971 + _REMOVEROLEREQUEST._serialized_start = 10974 + _REMOVEROLEREQUEST._serialized_end = 11162 + _REMOVEROLERESPONSE._serialized_start = 11164 + _REMOVEROLERESPONSE._serialized_end = 11184 + _LISTAUTHORIZATIONSREQUEST._serialized_start = 11187 + _LISTAUTHORIZATIONSREQUEST._serialized_end = 11325 + _AUTHORIZATIONS._serialized_start = 11327 + _AUTHORIZATIONS._serialized_end = 11444 + _LISTAUTHORIZATIONSRESPONSE._serialized_start = 11446 + _LISTAUTHORIZATIONSRESPONSE._serialized_end = 11543 + _CHECKPERMISSIONSREQUEST._serialized_start = 11545 + _CHECKPERMISSIONSREQUEST._serialized_end = 11640 + _AUTHORIZEDPERMISSIONS._serialized_start = 11642 + _AUTHORIZEDPERMISSIONS._serialized_end = 11769 + _CHECKPERMISSIONSRESPONSE._serialized_start = 11771 + _CHECKPERMISSIONSRESPONSE._serialized_end = 11888 + _CREATEMODULEREQUEST._serialized_start = 11890 + _CREATEMODULEREQUEST._serialized_end = 11974 + _CREATEMODULERESPONSE._serialized_start = 11976 + _CREATEMODULERESPONSE._serialized_end = 12027 + _UPDATEMODULEREQUEST._serialized_start = 12030 + _UPDATEMODULEREQUEST._serialized_end = 12233 + _UPDATEMODULERESPONSE._serialized_start = 12235 + _UPDATEMODULERESPONSE._serialized_end = 12257 + _MODEL._serialized_start = 12259 + _MODEL._serialized_end = 12306 + _MODULEFILEINFO._serialized_start = 12308 + _MODULEFILEINFO._serialized_end = 12407 + _UPLOADMODULEFILEREQUEST._serialized_start = 12410 + _UPLOADMODULEFILEREQUEST._serialized_end = 12545 + _UPLOADMODULEFILERESPONSE._serialized_start = 12547 + _UPLOADMODULEFILERESPONSE._serialized_end = 12573 + _GETMODULEREQUEST._serialized_start = 12575 + _GETMODULEREQUEST._serialized_end = 12622 + _GETMODULERESPONSE._serialized_start = 12624 + _GETMODULERESPONSE._serialized_end = 12688 + _MODULE._serialized_start = 12691 + _MODULE._serialized_end = 13060 + _VERSIONHISTORY._serialized_start = 13062 + _VERSIONHISTORY._serialized_end = 13148 + _UPLOADS._serialized_start = 13150 + _UPLOADS._serialized_end = 13248 + _LISTMODULESREQUEST._serialized_start = 13250 + _LISTMODULESREQUEST._serialized_end = 13336 + _LISTMODULESRESPONSE._serialized_start = 13338 + _LISTMODULESRESPONSE._serialized_end = 13406 + _APPSERVICE._serialized_start = 13498 + _APPSERVICE._serialized_end = 18429 \ No newline at end of file diff --git a/src/viam/gen/app/v1/app_pb2.pyi b/src/viam/gen/app/v1/app_pb2.pyi index f8f5e4443..2d9c113fd 100644 --- a/src/viam/gen/app/v1/app_pb2.pyi +++ b/src/viam/gen/app/v1/app_pb2.pyi @@ -18,6 +18,27 @@ else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +class _Visibility: + ValueType = typing.NewType('ValueType', builtins.int) + V: typing_extensions.TypeAlias = ValueType + +class _VisibilityEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Visibility.ValueType], builtins.type): + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + VISIBILITY_UNSPECIFIED: _Visibility.ValueType + VISIBILITY_PRIVATE: _Visibility.ValueType + 'Private modules are visible only within your org' + VISIBILITY_PUBLIC: _Visibility.ValueType + 'Public modules are visible to everyone' + +class Visibility(_Visibility, metaclass=_VisibilityEnumTypeWrapper): + ... +VISIBILITY_UNSPECIFIED: Visibility.ValueType +VISIBILITY_PRIVATE: Visibility.ValueType +'Private modules are visible only within your org' +VISIBILITY_PUBLIC: Visibility.ValueType +'Public modules are visible to everyone' +global___Visibility = Visibility + @typing_extensions.final class Robot(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -149,20 +170,22 @@ class Organization(google.protobuf.message.Message): ID_FIELD_NUMBER: builtins.int NAME_FIELD_NUMBER: builtins.int CREATED_ON_FIELD_NUMBER: builtins.int + PUBLIC_NAMESPACE_FIELD_NUMBER: builtins.int id: builtins.str name: builtins.str @property def created_on(self) -> google.protobuf.timestamp_pb2.Timestamp: ... + public_namespace: builtins.str - def __init__(self, *, id: builtins.str=..., name: builtins.str=..., created_on: google.protobuf.timestamp_pb2.Timestamp | None=...) -> None: + def __init__(self, *, id: builtins.str=..., name: builtins.str=..., created_on: google.protobuf.timestamp_pb2.Timestamp | None=..., public_namespace: builtins.str=...) -> None: ... def HasField(self, field_name: typing_extensions.Literal['created_on', b'created_on']) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal['created_on', b'created_on', 'id', b'id', 'name', b'name']) -> None: + def ClearField(self, field_name: typing_extensions.Literal['created_on', b'created_on', 'id', b'id', 'name', b'name', 'public_namespace', b'public_namespace']) -> None: ... global___Organization = Organization @@ -302,13 +325,21 @@ class UpdateOrganizationRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor ORGANIZATION_ID_FIELD_NUMBER: builtins.int NAME_FIELD_NUMBER: builtins.int + PUBLIC_NAMESPACE_FIELD_NUMBER: builtins.int organization_id: builtins.str name: builtins.str + public_namespace: builtins.str + + def __init__(self, *, organization_id: builtins.str=..., name: builtins.str=..., public_namespace: builtins.str | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['_public_namespace', b'_public_namespace', 'public_namespace', b'public_namespace']) -> builtins.bool: + ... - def __init__(self, *, organization_id: builtins.str=..., name: builtins.str=...) -> None: + def ClearField(self, field_name: typing_extensions.Literal['_public_namespace', b'_public_namespace', 'name', b'name', 'organization_id', b'organization_id', 'public_namespace', b'public_namespace']) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal['name', b'name', 'organization_id', b'organization_id']) -> None: + def WhichOneof(self, oneof_group: typing_extensions.Literal['_public_namespace', b'_public_namespace']) -> typing_extensions.Literal['public_namespace'] | None: ... global___UpdateOrganizationRequest = UpdateOrganizationRequest @@ -1960,4 +1991,294 @@ class CheckPermissionsResponse(google.protobuf.message.Message): def ClearField(self, field_name: typing_extensions.Literal['authorized_permissions', b'authorized_permissions']) -> None: ... -global___CheckPermissionsResponse = CheckPermissionsResponse \ No newline at end of file +global___CheckPermissionsResponse = CheckPermissionsResponse + +@typing_extensions.final +class CreateModuleRequest(google.protobuf.message.Message): + """Modules""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + PUBLIC_NAMESPACE_FIELD_NUMBER: builtins.int + NAME_FIELD_NUMBER: builtins.int + public_namespace: builtins.str + 'The public namespace that is reserved for your organization' + name: builtins.str + 'The name of the module, which must be unique within your org' + + def __init__(self, *, public_namespace: builtins.str=..., name: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['name', b'name', 'public_namespace', b'public_namespace']) -> None: + ... +global___CreateModuleRequest = CreateModuleRequest + +@typing_extensions.final +class CreateModuleResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + MODULE_ID_FIELD_NUMBER: builtins.int + module_id: builtins.str + 'The id of the module containing the namespace and name' + + def __init__(self, *, module_id: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['module_id', b'module_id']) -> None: + ... +global___CreateModuleResponse = CreateModuleResponse + +@typing_extensions.final +class UpdateModuleRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + MODULE_ID_FIELD_NUMBER: builtins.int + VISIBILITY_FIELD_NUMBER: builtins.int + URL_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + MODELS_FIELD_NUMBER: builtins.int + module_id: builtins.str + 'The id of the module being updated, containing the namespace and name' + visibility: global___Visibility.ValueType + 'The visibility that should be set for the module' + url: builtins.str + 'The url to reference for documentation, code, etc.' + description: builtins.str + 'A short description of the module that explains its purpose' + + @property + def models(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Model]: + """A list of models that are available in the module""" + + def __init__(self, *, module_id: builtins.str=..., visibility: global___Visibility.ValueType=..., url: builtins.str=..., description: builtins.str=..., models: collections.abc.Iterable[global___Model] | None=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['description', b'description', 'models', b'models', 'module_id', b'module_id', 'url', b'url', 'visibility', b'visibility']) -> None: + ... +global___UpdateModuleRequest = UpdateModuleRequest + +@typing_extensions.final +class UpdateModuleResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__(self) -> None: + ... +global___UpdateModuleResponse = UpdateModuleResponse + +@typing_extensions.final +class Model(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + API_FIELD_NUMBER: builtins.int + MODEL_FIELD_NUMBER: builtins.int + api: builtins.str + 'The colon-delimited-triplet of the api implemented by the model' + model: builtins.str + 'The colon-delimited-triplet of the model' + + def __init__(self, *, api: builtins.str=..., model: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['api', b'api', 'model', b'model']) -> None: + ... +global___Model = Model + +@typing_extensions.final +class ModuleFileInfo(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + MODULE_ID_FIELD_NUMBER: builtins.int + VERSION_FIELD_NUMBER: builtins.int + PLATFORM_FIELD_NUMBER: builtins.int + module_id: builtins.str + 'The module_id that is being uploaded' + version: builtins.str + 'The semver string that represents the new major/minor/patch version of the module' + platform: builtins.str + 'The platform that the file is built to run on' + + def __init__(self, *, module_id: builtins.str=..., version: builtins.str=..., platform: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['module_id', b'module_id', 'platform', b'platform', 'version', b'version']) -> None: + ... +global___ModuleFileInfo = ModuleFileInfo + +@typing_extensions.final +class UploadModuleFileRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + MODULE_FILE_INFO_FIELD_NUMBER: builtins.int + FILE_FIELD_NUMBER: builtins.int + + @property + def module_file_info(self) -> global___ModuleFileInfo: + """The information about the module file being uploaded""" + file: builtins.bytes + 'The file contents to be uploaded' + + def __init__(self, *, module_file_info: global___ModuleFileInfo | None=..., file: builtins.bytes=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['file', b'file', 'module_file', b'module_file', 'module_file_info', b'module_file_info']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['file', b'file', 'module_file', b'module_file', 'module_file_info', b'module_file_info']) -> None: + ... + + def WhichOneof(self, oneof_group: typing_extensions.Literal['module_file', b'module_file']) -> typing_extensions.Literal['module_file_info', 'file'] | None: + ... +global___UploadModuleFileRequest = UploadModuleFileRequest + +@typing_extensions.final +class UploadModuleFileResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__(self) -> None: + ... +global___UploadModuleFileResponse = UploadModuleFileResponse + +@typing_extensions.final +class GetModuleRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + MODULE_ID_FIELD_NUMBER: builtins.int + module_id: builtins.str + 'The id of the module, containing the namespace and name' + + def __init__(self, *, module_id: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['module_id', b'module_id']) -> None: + ... +global___GetModuleRequest = GetModuleRequest + +@typing_extensions.final +class GetModuleResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + MODULE_FIELD_NUMBER: builtins.int + + @property + def module(self) -> global___Module: + """The module object""" + + def __init__(self, *, module: global___Module | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['module', b'module']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['module', b'module']) -> None: + ... +global___GetModuleResponse = GetModuleResponse + +@typing_extensions.final +class Module(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + MODULE_ID_FIELD_NUMBER: builtins.int + NAME_FIELD_NUMBER: builtins.int + VISIBILITY_FIELD_NUMBER: builtins.int + VERSIONS_FIELD_NUMBER: builtins.int + URL_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + MODELS_FIELD_NUMBER: builtins.int + TOTAL_ROBOT_USAGE_FIELD_NUMBER: builtins.int + TOTAL_ORGANIZATION_USAGE_FIELD_NUMBER: builtins.int + module_id: builtins.str + 'The id of the module, containing the namespace and name' + name: builtins.str + 'The name of the module' + visibility: global___Visibility.ValueType + 'The visibility of the module' + + @property + def versions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VersionHistory]: + """The versions of the module that are available""" + url: builtins.str + 'The url to reference for documentation, code, etc.' + description: builtins.str + 'A short description of the module that explains its purpose' + + @property + def models(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Model]: + """A list of models that are available in the module""" + total_robot_usage: builtins.int + 'The total number of robots using this module' + total_organization_usage: builtins.int + 'The total number of organizations using this module' + + def __init__(self, *, module_id: builtins.str=..., name: builtins.str=..., visibility: global___Visibility.ValueType=..., versions: collections.abc.Iterable[global___VersionHistory] | None=..., url: builtins.str=..., description: builtins.str=..., models: collections.abc.Iterable[global___Model] | None=..., total_robot_usage: builtins.int=..., total_organization_usage: builtins.int=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['description', b'description', 'models', b'models', 'module_id', b'module_id', 'name', b'name', 'total_organization_usage', b'total_organization_usage', 'total_robot_usage', b'total_robot_usage', 'url', b'url', 'versions', b'versions', 'visibility', b'visibility']) -> None: + ... +global___Module = Module + +@typing_extensions.final +class VersionHistory(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + VERSION_FIELD_NUMBER: builtins.int + FILES_FIELD_NUMBER: builtins.int + version: builtins.str + 'The semver string that represents the major/minor/patch version of the module' + + @property + def files(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Uploads]: + """The uploads that are available for this module version""" + + def __init__(self, *, version: builtins.str=..., files: collections.abc.Iterable[global___Uploads] | None=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['files', b'files', 'version', b'version']) -> None: + ... +global___VersionHistory = VersionHistory + +@typing_extensions.final +class Uploads(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + PLATFORM_FIELD_NUMBER: builtins.int + UPLOADED_AT_FIELD_NUMBER: builtins.int + platform: builtins.str + 'The OS and architecture the module is built to run on' + + @property + def uploaded_at(self) -> google.protobuf.timestamp_pb2.Timestamp: + """The time when the file was uploaded""" + + def __init__(self, *, platform: builtins.str=..., uploaded_at: google.protobuf.timestamp_pb2.Timestamp | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['uploaded_at', b'uploaded_at']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['platform', b'platform', 'uploaded_at', b'uploaded_at']) -> None: + ... +global___Uploads = Uploads + +@typing_extensions.final +class ListModulesRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ORGANIZATION_ID_FIELD_NUMBER: builtins.int + organization_id: builtins.str + 'The id of the organization to return private modules for.' + + def __init__(self, *, organization_id: builtins.str | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['_organization_id', b'_organization_id', 'organization_id', b'organization_id']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['_organization_id', b'_organization_id', 'organization_id', b'organization_id']) -> None: + ... + + def WhichOneof(self, oneof_group: typing_extensions.Literal['_organization_id', b'_organization_id']) -> typing_extensions.Literal['organization_id'] | None: + ... +global___ListModulesRequest = ListModulesRequest + +@typing_extensions.final +class ListModulesResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + MODULES_FIELD_NUMBER: builtins.int + + @property + def modules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Module]: + """A listed of modules. When authenticated, this API will return modules that are private for this org. Public modules are always returned.""" + + def __init__(self, *, modules: collections.abc.Iterable[global___Module] | None=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['modules', b'modules']) -> None: + ... +global___ListModulesResponse = ListModulesResponse \ No newline at end of file diff --git a/src/viam/gen/app/v1/robot_pb2.py b/src/viam/gen/app/v1/robot_pb2.py index 9cfacdfa3..6156c9368 100644 --- a/src/viam/gen/app/v1/robot_pb2.py +++ b/src/viam/gen/app/v1/robot_pb2.py @@ -9,7 +9,7 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 from ...tagger.v1 import tagger_pb2 as tagger_dot_v1_dot_tagger__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12app/v1/robot.proto\x12\x0bviam.app.v1\x1a\x10app/v1/app.proto\x1a\x16common/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x16tagger/v1/tagger.proto"\x89\x05\n\x0bRobotConfig\x12.\n\x05cloud\x18\x01 \x01(\x0b2\x18.viam.app.v1.CloudConfigR\x05cloud\x123\n\x07remotes\x18\x02 \x03(\x0b2\x19.viam.app.v1.RemoteConfigR\x07remotes\x12<\n\ncomponents\x18\x03 \x03(\x0b2\x1c.viam.app.v1.ComponentConfigR\ncomponents\x128\n\tprocesses\x18\x04 \x03(\x0b2\x1a.viam.app.v1.ProcessConfigR\tprocesses\x126\n\x08services\x18\x05 \x03(\x0b2\x1a.viam.app.v1.ServiceConfigR\x08services\x129\n\x07network\x18\x06 \x01(\x0b2\x1a.viam.app.v1.NetworkConfigH\x00R\x07network\x88\x01\x01\x120\n\x04auth\x18\x07 \x01(\x0b2\x17.viam.app.v1.AuthConfigH\x01R\x04auth\x88\x01\x01\x12\x19\n\x05debug\x18\x08 \x01(\x08H\x02R\x05debug\x88\x01\x01\x123\n\x07modules\x18\t \x03(\x0b2\x19.viam.app.v1.ModuleConfigR\x07modules\x127\n\x15disable_partial_start\x18\n \x01(\x08H\x03R\x13disablePartialStart\x88\x01\x01\x126\n\x08packages\x18\x0b \x03(\x0b2\x1a.viam.app.v1.PackageConfigR\x08packagesB\n\n\x08_networkB\x07\n\x05_authB\x08\n\x06_debugB\x18\n\x16_disable_partial_start"8\n\x0eLocationSecret\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret"\xd8\x02\n\x0bCloudConfig\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04fqdn\x18\x02 \x01(\tR\x04fqdn\x12\x1d\n\nlocal_fqdn\x18\x03 \x01(\tR\tlocalFqdn\x12\x1d\n\nmanaged_by\x18\x04 \x01(\tR\tmanagedBy\x12+\n\x11signaling_address\x18\x05 \x01(\tR\x10signalingAddress\x12-\n\x12signaling_insecure\x18\x06 \x01(\x08R\x11signalingInsecure\x12+\n\x0flocation_secret\x18\x07 \x01(\tB\x02\x18\x01R\x0elocationSecret\x12\x16\n\x06secret\x18\x08 \x01(\tR\x06secret\x12F\n\x10location_secrets\x18\t \x03(\x0b2\x1b.viam.app.v1.LocationSecretR\x0flocationSecrets"\xef\x02\n\x0fComponentConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x12\x14\n\x05model\x18\x04 \x01(\tR\x05model\x12(\n\x05frame\x18\x05 \x01(\x0b2\x12.viam.app.v1.FrameR\x05frame\x12\x1d\n\ndepends_on\x18\x06 \x03(\tR\tdependsOn\x12l\n\x0fservice_configs\x18\x07 \x03(\x0b2\'.viam.app.v1.ResourceLevelServiceConfigB\x1a\x9a\x84\x9e\x03\x15json:"service_config"R\x0eserviceConfigs\x127\n\nattributes\x18\x08 \x01(\x0b2\x17.google.protobuf.StructR\nattributes\x12\x10\n\x03api\x18\t \x01(\tR\x03api"i\n\x1aResourceLevelServiceConfig\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x127\n\nattributes\x18\x02 \x01(\x0b2\x17.google.protobuf.StructR\nattributes"\xe5\x01\n\rProcessConfig\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04args\x18\x03 \x03(\tR\x04args\x12\x10\n\x03cwd\x18\x04 \x01(\tR\x03cwd\x12\x19\n\x08one_shot\x18\x05 \x01(\x08R\x07oneShot\x12\x10\n\x03log\x18\x06 \x01(\x08R\x03log\x12\x1f\n\x0bstop_signal\x18\x07 \x01(\x05R\nstopSignal\x12<\n\x0cstop_timeout\x18\x08 \x01(\x0b2\x19.google.protobuf.DurationR\x0bstopTimeout"\xd5\x01\n\rServiceConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x127\n\nattributes\x18\x04 \x01(\x0b2\x17.google.protobuf.StructR\nattributes\x12\x1d\n\ndepends_on\x18\x05 \x03(\tR\tdependsOn\x12\x14\n\x05model\x18\x06 \x01(\tR\x05model\x12\x10\n\x03api\x18\t \x01(\tR\x03api"\xc5\x01\n\rNetworkConfig\x12\x12\n\x04fqdn\x18\x01 \x01(\tR\x04fqdn\x12!\n\x0cbind_address\x18\x02 \x01(\tR\x0bbindAddress\x12"\n\rtls_cert_file\x18\x03 \x01(\tR\x0btlsCertFile\x12 \n\x0ctls_key_file\x18\x04 \x01(\tR\ntlsKeyFile\x127\n\x08sessions\x18\x05 \x01(\x0b2\x1b.viam.app.v1.SessionsConfigR\x08sessions"V\n\x0eSessionsConfig\x12D\n\x10heartbeat_window\x18\x01 \x01(\x0b2\x19.google.protobuf.DurationR\x0fheartbeatWindow"\xe5\x01\n\nAuthConfig\x12:\n\x08handlers\x18\x01 \x03(\x0b2\x1e.viam.app.v1.AuthHandlerConfigR\x08handlers\x12*\n\x11tls_auth_entities\x18\x02 \x03(\tR\x0ftlsAuthEntities\x12V\n\x14external_auth_config\x18\x03 \x01(\x0b2\x1f.viam.app.v1.ExternalAuthConfigH\x00R\x12externalAuthConfig\x88\x01\x01B\x17\n\x15_external_auth_config"7\n\x08JWKSFile\x12+\n\x04json\x18\x01 \x01(\x0b2\x17.google.protobuf.StructR\x04json"?\n\x12ExternalAuthConfig\x12)\n\x04jwks\x18\x01 \x01(\x0b2\x15.viam.app.v1.JWKSFileR\x04jwks"v\n\x11AuthHandlerConfig\x120\n\x04type\x18\x01 \x01(\x0e2\x1c.viam.app.v1.CredentialsTypeR\x04type\x12/\n\x06config\x18\x05 \x01(\x0b2\x17.google.protobuf.StructR\x06config"\xcd\x01\n\x05Frame\x12\x16\n\x06parent\x18\x01 \x01(\tR\x06parent\x12:\n\x0btranslation\x18\x02 \x01(\x0b2\x18.viam.app.v1.TranslationR\x0btranslation\x12:\n\x0borientation\x18\x03 \x01(\x0b2\x18.viam.app.v1.OrientationR\x0borientation\x124\n\x08geometry\x18\x04 \x01(\x0b2\x18.viam.common.v1.GeometryR\x08geometry"7\n\x0bTranslation\x12\x0c\n\x01x\x18\x01 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x02 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x03 \x01(\x01R\x01z"\xd0\x07\n\x0bOrientation\x12O\n\x0eno_orientation\x18\x01 \x01(\x0b2&.viam.app.v1.Orientation.NoOrientationH\x00R\rnoOrientation\x12Z\n\x0evector_radians\x18\x02 \x01(\x0b21.viam.app.v1.Orientation.OrientationVectorRadiansH\x00R\rvectorRadians\x12Z\n\x0evector_degrees\x18\x03 \x01(\x0b21.viam.app.v1.Orientation.OrientationVectorDegreesH\x00R\rvectorDegrees\x12I\n\x0ceuler_angles\x18\x04 \x01(\x0b2$.viam.app.v1.Orientation.EulerAnglesH\x00R\x0beulerAngles\x12F\n\x0baxis_angles\x18\x05 \x01(\x0b2#.viam.app.v1.Orientation.AxisAnglesH\x00R\naxisAngles\x12E\n\nquaternion\x18\x06 \x01(\x0b2#.viam.app.v1.Orientation.QuaternionH\x00R\nquaternion\x1a\x0f\n\rNoOrientation\x1aj\n\x18OrientationVectorRadians\x12$\n\x05theta\x18\x01 \x01(\x01B\x0e\x9a\x84\x9e\x03\tjson:"th"R\x05theta\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01z\x1aj\n\x18OrientationVectorDegrees\x12$\n\x05theta\x18\x01 \x01(\x01B\x0e\x9a\x84\x9e\x03\tjson:"th"R\x05theta\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01z\x1aI\n\x0bEulerAngles\x12\x12\n\x04roll\x18\x01 \x01(\x01R\x04roll\x12\x14\n\x05pitch\x18\x02 \x01(\x01R\x05pitch\x12\x10\n\x03yaw\x18\x03 \x01(\x01R\x03yaw\x1a\\\n\nAxisAngles\x12$\n\x05theta\x18\x01 \x01(\x01B\x0e\x9a\x84\x9e\x03\tjson:"th"R\x05theta\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01z\x1aD\n\nQuaternion\x12\x0c\n\x01w\x18\x01 \x01(\x01R\x01w\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01zB\x06\n\x04type"\xf5\x03\n\x0cRemoteConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07address\x18\x02 \x01(\tR\x07address\x12(\n\x05frame\x18\x03 \x01(\x0b2\x12.viam.app.v1.FrameR\x05frame\x12+\n\x04auth\x18\x04 \x01(\x0b2\x17.viam.app.v1.RemoteAuthR\x04auth\x12\x1d\n\nmanaged_by\x18\x05 \x01(\tR\tmanagedBy\x12\x1a\n\x08insecure\x18\x06 \x01(\x08R\x08insecure\x12U\n\x19connection_check_interval\x18\x07 \x01(\x0b2\x19.google.protobuf.DurationR\x17connectionCheckInterval\x12H\n\x12reconnect_interval\x18\x08 \x01(\x0b2\x19.google.protobuf.DurationR\x11reconnectInterval\x12l\n\x0fservice_configs\x18\t \x03(\x0b2\'.viam.app.v1.ResourceLevelServiceConfigB\x1a\x9a\x84\x9e\x03\x15json:"service_config"R\x0eserviceConfigs\x12\x16\n\x06secret\x18\n \x01(\tR\x06secret"\xc6\x01\n\nRemoteAuth\x12E\n\x0bcredentials\x18\x01 \x01(\x0b2#.viam.app.v1.RemoteAuth.CredentialsR\x0bcredentials\x12\x16\n\x06entity\x18\x02 \x01(\tR\x06entity\x1aY\n\x0bCredentials\x120\n\x04type\x18\x01 \x01(\x0e2\x1c.viam.app.v1.CredentialsTypeR\x04type\x12\x18\n\x07payload\x18\x02 \x01(\tR\x07payload"~\n\tAgentInfo\x12\x12\n\x04host\x18\x01 \x01(\tR\x04host\x12\x0e\n\x02os\x18\x02 \x01(\tR\x02os\x12\x10\n\x03ips\x18\x03 \x03(\tR\x03ips\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12!\n\x0cgit_revision\x18\x05 \x01(\tR\x0bgitRevision"j\n\rConfigRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\nagent_info\x18\x02 \x01(\x0b2\x16.viam.app.v1.AgentInfoH\x00R\tagentInfo\x88\x01\x01B\r\n\x0b_agent_info"B\n\x0eConfigResponse\x120\n\x06config\x18\x01 \x01(\x0b2\x18.viam.app.v1.RobotConfigR\x06config"$\n\x12CertificateRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"v\n\x13CertificateResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0ftls_certificate\x18\x02 \x01(\tR\x0etlsCertificate\x12&\n\x0ftls_private_key\x18\x03 \x01(\tR\rtlsPrivateKey"G\n\nLogRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12)\n\x04logs\x18\x02 \x03(\x0b2\x15.viam.app.v1.LogEntryR\x04logs"\r\n\x0bLogResponse"%\n\x13NeedsRestartRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x9a\x01\n\x14NeedsRestartResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12!\n\x0cmust_restart\x18\x02 \x01(\x08R\x0bmustRestart\x12O\n\x16restart_check_interval\x18\x03 \x01(\x0b2\x19.google.protobuf.DurationR\x14restartCheckInterval"S\n\x0cModuleConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x1b\n\tlog_level\x18\x03 \x01(\tR\x08logLevel"W\n\rPackageConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07package\x18\x02 \x01(\tR\x07package\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version*\xbf\x01\n\x0fCredentialsType\x12 \n\x1cCREDENTIALS_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19CREDENTIALS_TYPE_INTERNAL\x10\x01\x12\x1c\n\x18CREDENTIALS_TYPE_API_KEY\x10\x02\x12!\n\x1dCREDENTIALS_TYPE_ROBOT_SECRET\x10\x03\x12*\n&CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET\x10\x042\xb2\x02\n\x0cRobotService\x12A\n\x06Config\x12\x1a.viam.app.v1.ConfigRequest\x1a\x1b.viam.app.v1.ConfigResponse\x12P\n\x0bCertificate\x12\x1f.viam.app.v1.CertificateRequest\x1a .viam.app.v1.CertificateResponse\x128\n\x03Log\x12\x17.viam.app.v1.LogRequest\x1a\x18.viam.app.v1.LogResponse\x12S\n\x0cNeedsRestart\x12 .viam.app.v1.NeedsRestartRequest\x1a!.viam.app.v1.NeedsRestartResponseB\x18Z\x16go.viam.com/api/app/v1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12app/v1/robot.proto\x12\x0bviam.app.v1\x1a\x10app/v1/app.proto\x1a\x16common/v1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x16tagger/v1/tagger.proto"\x89\x05\n\x0bRobotConfig\x12.\n\x05cloud\x18\x01 \x01(\x0b2\x18.viam.app.v1.CloudConfigR\x05cloud\x123\n\x07remotes\x18\x02 \x03(\x0b2\x19.viam.app.v1.RemoteConfigR\x07remotes\x12<\n\ncomponents\x18\x03 \x03(\x0b2\x1c.viam.app.v1.ComponentConfigR\ncomponents\x128\n\tprocesses\x18\x04 \x03(\x0b2\x1a.viam.app.v1.ProcessConfigR\tprocesses\x126\n\x08services\x18\x05 \x03(\x0b2\x1a.viam.app.v1.ServiceConfigR\x08services\x129\n\x07network\x18\x06 \x01(\x0b2\x1a.viam.app.v1.NetworkConfigH\x00R\x07network\x88\x01\x01\x120\n\x04auth\x18\x07 \x01(\x0b2\x17.viam.app.v1.AuthConfigH\x01R\x04auth\x88\x01\x01\x12\x19\n\x05debug\x18\x08 \x01(\x08H\x02R\x05debug\x88\x01\x01\x123\n\x07modules\x18\t \x03(\x0b2\x19.viam.app.v1.ModuleConfigR\x07modules\x127\n\x15disable_partial_start\x18\n \x01(\x08H\x03R\x13disablePartialStart\x88\x01\x01\x126\n\x08packages\x18\x0b \x03(\x0b2\x1a.viam.app.v1.PackageConfigR\x08packagesB\n\n\x08_networkB\x07\n\x05_authB\x08\n\x06_debugB\x18\n\x16_disable_partial_start"8\n\x0eLocationSecret\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret"\xd8\x02\n\x0bCloudConfig\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04fqdn\x18\x02 \x01(\tR\x04fqdn\x12\x1d\n\nlocal_fqdn\x18\x03 \x01(\tR\tlocalFqdn\x12\x1d\n\nmanaged_by\x18\x04 \x01(\tR\tmanagedBy\x12+\n\x11signaling_address\x18\x05 \x01(\tR\x10signalingAddress\x12-\n\x12signaling_insecure\x18\x06 \x01(\x08R\x11signalingInsecure\x12+\n\x0flocation_secret\x18\x07 \x01(\tB\x02\x18\x01R\x0elocationSecret\x12\x16\n\x06secret\x18\x08 \x01(\tR\x06secret\x12F\n\x10location_secrets\x18\t \x03(\x0b2\x1b.viam.app.v1.LocationSecretR\x0flocationSecrets"\xef\x02\n\x0fComponentConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x12\x14\n\x05model\x18\x04 \x01(\tR\x05model\x12(\n\x05frame\x18\x05 \x01(\x0b2\x12.viam.app.v1.FrameR\x05frame\x12\x1d\n\ndepends_on\x18\x06 \x03(\tR\tdependsOn\x12l\n\x0fservice_configs\x18\x07 \x03(\x0b2\'.viam.app.v1.ResourceLevelServiceConfigB\x1a\x9a\x84\x9e\x03\x15json:"service_config"R\x0eserviceConfigs\x127\n\nattributes\x18\x08 \x01(\x0b2\x17.google.protobuf.StructR\nattributes\x12\x10\n\x03api\x18\t \x01(\tR\x03api"i\n\x1aResourceLevelServiceConfig\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x127\n\nattributes\x18\x02 \x01(\x0b2\x17.google.protobuf.StructR\nattributes"\xe5\x01\n\rProcessConfig\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n\x04args\x18\x03 \x03(\tR\x04args\x12\x10\n\x03cwd\x18\x04 \x01(\tR\x03cwd\x12\x19\n\x08one_shot\x18\x05 \x01(\x08R\x07oneShot\x12\x10\n\x03log\x18\x06 \x01(\x08R\x03log\x12\x1f\n\x0bstop_signal\x18\x07 \x01(\x05R\nstopSignal\x12<\n\x0cstop_timeout\x18\x08 \x01(\x0b2\x19.google.protobuf.DurationR\x0bstopTimeout"\xd5\x01\n\rServiceConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1c\n\tnamespace\x18\x02 \x01(\tR\tnamespace\x12\x12\n\x04type\x18\x03 \x01(\tR\x04type\x127\n\nattributes\x18\x04 \x01(\x0b2\x17.google.protobuf.StructR\nattributes\x12\x1d\n\ndepends_on\x18\x05 \x03(\tR\tdependsOn\x12\x14\n\x05model\x18\x06 \x01(\tR\x05model\x12\x10\n\x03api\x18\t \x01(\tR\x03api"\xc5\x01\n\rNetworkConfig\x12\x12\n\x04fqdn\x18\x01 \x01(\tR\x04fqdn\x12!\n\x0cbind_address\x18\x02 \x01(\tR\x0bbindAddress\x12"\n\rtls_cert_file\x18\x03 \x01(\tR\x0btlsCertFile\x12 \n\x0ctls_key_file\x18\x04 \x01(\tR\ntlsKeyFile\x127\n\x08sessions\x18\x05 \x01(\x0b2\x1b.viam.app.v1.SessionsConfigR\x08sessions"V\n\x0eSessionsConfig\x12D\n\x10heartbeat_window\x18\x01 \x01(\x0b2\x19.google.protobuf.DurationR\x0fheartbeatWindow"\xe5\x01\n\nAuthConfig\x12:\n\x08handlers\x18\x01 \x03(\x0b2\x1e.viam.app.v1.AuthHandlerConfigR\x08handlers\x12*\n\x11tls_auth_entities\x18\x02 \x03(\tR\x0ftlsAuthEntities\x12V\n\x14external_auth_config\x18\x03 \x01(\x0b2\x1f.viam.app.v1.ExternalAuthConfigH\x00R\x12externalAuthConfig\x88\x01\x01B\x17\n\x15_external_auth_config"7\n\x08JWKSFile\x12+\n\x04json\x18\x01 \x01(\x0b2\x17.google.protobuf.StructR\x04json"?\n\x12ExternalAuthConfig\x12)\n\x04jwks\x18\x01 \x01(\x0b2\x15.viam.app.v1.JWKSFileR\x04jwks"v\n\x11AuthHandlerConfig\x120\n\x04type\x18\x01 \x01(\x0e2\x1c.viam.app.v1.CredentialsTypeR\x04type\x12/\n\x06config\x18\x05 \x01(\x0b2\x17.google.protobuf.StructR\x06config"\xcd\x01\n\x05Frame\x12\x16\n\x06parent\x18\x01 \x01(\tR\x06parent\x12:\n\x0btranslation\x18\x02 \x01(\x0b2\x18.viam.app.v1.TranslationR\x0btranslation\x12:\n\x0borientation\x18\x03 \x01(\x0b2\x18.viam.app.v1.OrientationR\x0borientation\x124\n\x08geometry\x18\x04 \x01(\x0b2\x18.viam.common.v1.GeometryR\x08geometry"7\n\x0bTranslation\x12\x0c\n\x01x\x18\x01 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x02 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x03 \x01(\x01R\x01z"\xd0\x07\n\x0bOrientation\x12O\n\x0eno_orientation\x18\x01 \x01(\x0b2&.viam.app.v1.Orientation.NoOrientationH\x00R\rnoOrientation\x12Z\n\x0evector_radians\x18\x02 \x01(\x0b21.viam.app.v1.Orientation.OrientationVectorRadiansH\x00R\rvectorRadians\x12Z\n\x0evector_degrees\x18\x03 \x01(\x0b21.viam.app.v1.Orientation.OrientationVectorDegreesH\x00R\rvectorDegrees\x12I\n\x0ceuler_angles\x18\x04 \x01(\x0b2$.viam.app.v1.Orientation.EulerAnglesH\x00R\x0beulerAngles\x12F\n\x0baxis_angles\x18\x05 \x01(\x0b2#.viam.app.v1.Orientation.AxisAnglesH\x00R\naxisAngles\x12E\n\nquaternion\x18\x06 \x01(\x0b2#.viam.app.v1.Orientation.QuaternionH\x00R\nquaternion\x1a\x0f\n\rNoOrientation\x1aj\n\x18OrientationVectorRadians\x12$\n\x05theta\x18\x01 \x01(\x01B\x0e\x9a\x84\x9e\x03\tjson:"th"R\x05theta\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01z\x1aj\n\x18OrientationVectorDegrees\x12$\n\x05theta\x18\x01 \x01(\x01B\x0e\x9a\x84\x9e\x03\tjson:"th"R\x05theta\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01z\x1aI\n\x0bEulerAngles\x12\x12\n\x04roll\x18\x01 \x01(\x01R\x04roll\x12\x14\n\x05pitch\x18\x02 \x01(\x01R\x05pitch\x12\x10\n\x03yaw\x18\x03 \x01(\x01R\x03yaw\x1a\\\n\nAxisAngles\x12$\n\x05theta\x18\x01 \x01(\x01B\x0e\x9a\x84\x9e\x03\tjson:"th"R\x05theta\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01z\x1aD\n\nQuaternion\x12\x0c\n\x01w\x18\x01 \x01(\x01R\x01w\x12\x0c\n\x01x\x18\x02 \x01(\x01R\x01x\x12\x0c\n\x01y\x18\x03 \x01(\x01R\x01y\x12\x0c\n\x01z\x18\x04 \x01(\x01R\x01zB\x06\n\x04type"\xf5\x03\n\x0cRemoteConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07address\x18\x02 \x01(\tR\x07address\x12(\n\x05frame\x18\x03 \x01(\x0b2\x12.viam.app.v1.FrameR\x05frame\x12+\n\x04auth\x18\x04 \x01(\x0b2\x17.viam.app.v1.RemoteAuthR\x04auth\x12\x1d\n\nmanaged_by\x18\x05 \x01(\tR\tmanagedBy\x12\x1a\n\x08insecure\x18\x06 \x01(\x08R\x08insecure\x12U\n\x19connection_check_interval\x18\x07 \x01(\x0b2\x19.google.protobuf.DurationR\x17connectionCheckInterval\x12H\n\x12reconnect_interval\x18\x08 \x01(\x0b2\x19.google.protobuf.DurationR\x11reconnectInterval\x12l\n\x0fservice_configs\x18\t \x03(\x0b2\'.viam.app.v1.ResourceLevelServiceConfigB\x1a\x9a\x84\x9e\x03\x15json:"service_config"R\x0eserviceConfigs\x12\x16\n\x06secret\x18\n \x01(\tR\x06secret"\xc6\x01\n\nRemoteAuth\x12E\n\x0bcredentials\x18\x01 \x01(\x0b2#.viam.app.v1.RemoteAuth.CredentialsR\x0bcredentials\x12\x16\n\x06entity\x18\x02 \x01(\tR\x06entity\x1aY\n\x0bCredentials\x120\n\x04type\x18\x01 \x01(\x0e2\x1c.viam.app.v1.CredentialsTypeR\x04type\x12\x18\n\x07payload\x18\x02 \x01(\tR\x07payload"\xb0\x01\n\tAgentInfo\x12\x12\n\x04host\x18\x01 \x01(\tR\x04host\x12\x12\n\x02os\x18\x02 \x01(\tB\x02\x18\x01R\x02os\x12\x10\n\x03ips\x18\x03 \x03(\tR\x03ips\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version\x12!\n\x0cgit_revision\x18\x05 \x01(\tR\x0bgitRevision\x12\x1f\n\x08platform\x18\x06 \x01(\tH\x00R\x08platform\x88\x01\x01B\x0b\n\t_platform"j\n\rConfigRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12:\n\nagent_info\x18\x02 \x01(\x0b2\x16.viam.app.v1.AgentInfoH\x00R\tagentInfo\x88\x01\x01B\r\n\x0b_agent_info"B\n\x0eConfigResponse\x120\n\x06config\x18\x01 \x01(\x0b2\x18.viam.app.v1.RobotConfigR\x06config"$\n\x12CertificateRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"v\n\x13CertificateResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\'\n\x0ftls_certificate\x18\x02 \x01(\tR\x0etlsCertificate\x12&\n\x0ftls_private_key\x18\x03 \x01(\tR\rtlsPrivateKey"G\n\nLogRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12)\n\x04logs\x18\x02 \x03(\x0b2\x15.viam.app.v1.LogEntryR\x04logs"\r\n\x0bLogResponse"%\n\x13NeedsRestartRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x9a\x01\n\x14NeedsRestartResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12!\n\x0cmust_restart\x18\x02 \x01(\x08R\x0bmustRestart\x12O\n\x16restart_check_interval\x18\x03 \x01(\x0b2\x19.google.protobuf.DurationR\x14restartCheckInterval"S\n\x0cModuleConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n\x04path\x18\x02 \x01(\tR\x04path\x12\x1b\n\tlog_level\x18\x03 \x01(\tR\x08logLevel"k\n\rPackageConfig\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x18\n\x07package\x18\x02 \x01(\tR\x07package\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x12\n\x04type\x18\x04 \x01(\tR\x04type*\xbf\x01\n\x0fCredentialsType\x12 \n\x1cCREDENTIALS_TYPE_UNSPECIFIED\x10\x00\x12\x1d\n\x19CREDENTIALS_TYPE_INTERNAL\x10\x01\x12\x1c\n\x18CREDENTIALS_TYPE_API_KEY\x10\x02\x12!\n\x1dCREDENTIALS_TYPE_ROBOT_SECRET\x10\x03\x12*\n&CREDENTIALS_TYPE_ROBOT_LOCATION_SECRET\x10\x042\xb2\x02\n\x0cRobotService\x12A\n\x06Config\x12\x1a.viam.app.v1.ConfigRequest\x1a\x1b.viam.app.v1.ConfigResponse\x12P\n\x0bCertificate\x12\x1f.viam.app.v1.CertificateRequest\x1a .viam.app.v1.CertificateResponse\x128\n\x03Log\x12\x17.viam.app.v1.LogRequest\x1a\x18.viam.app.v1.LogResponse\x12S\n\x0cNeedsRestart\x12 .viam.app.v1.NeedsRestartRequest\x1a!.viam.app.v1.NeedsRestartResponseB\x18Z\x16go.viam.com/api/app/v1b\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.v1.robot_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: @@ -27,8 +27,10 @@ _ORIENTATION_AXISANGLES.fields_by_name['theta']._serialized_options = b'\x9a\x84\x9e\x03\tjson:"th"' _REMOTECONFIG.fields_by_name['service_configs']._options = None _REMOTECONFIG.fields_by_name['service_configs']._serialized_options = b'\x9a\x84\x9e\x03\x15json:"service_config"' - _CREDENTIALSTYPE._serialized_start = 5777 - _CREDENTIALSTYPE._serialized_end = 5968 + _AGENTINFO.fields_by_name['os']._options = None + _AGENTINFO.fields_by_name['os']._serialized_options = b'\x18\x01' + _CREDENTIALSTYPE._serialized_start = 5848 + _CREDENTIALSTYPE._serialized_end = 6039 _ROBOTCONFIG._serialized_start = 164 _ROBOTCONFIG._serialized_end = 813 _LOCATIONSECRET._serialized_start = 815 @@ -79,27 +81,27 @@ _REMOTEAUTH._serialized_end = 4854 _REMOTEAUTH_CREDENTIALS._serialized_start = 4765 _REMOTEAUTH_CREDENTIALS._serialized_end = 4854 - _AGENTINFO._serialized_start = 4856 - _AGENTINFO._serialized_end = 4982 - _CONFIGREQUEST._serialized_start = 4984 - _CONFIGREQUEST._serialized_end = 5090 - _CONFIGRESPONSE._serialized_start = 5092 - _CONFIGRESPONSE._serialized_end = 5158 - _CERTIFICATEREQUEST._serialized_start = 5160 - _CERTIFICATEREQUEST._serialized_end = 5196 - _CERTIFICATERESPONSE._serialized_start = 5198 - _CERTIFICATERESPONSE._serialized_end = 5316 - _LOGREQUEST._serialized_start = 5318 - _LOGREQUEST._serialized_end = 5389 - _LOGRESPONSE._serialized_start = 5391 - _LOGRESPONSE._serialized_end = 5404 - _NEEDSRESTARTREQUEST._serialized_start = 5406 - _NEEDSRESTARTREQUEST._serialized_end = 5443 - _NEEDSRESTARTRESPONSE._serialized_start = 5446 - _NEEDSRESTARTRESPONSE._serialized_end = 5600 - _MODULECONFIG._serialized_start = 5602 - _MODULECONFIG._serialized_end = 5685 - _PACKAGECONFIG._serialized_start = 5687 - _PACKAGECONFIG._serialized_end = 5774 - _ROBOTSERVICE._serialized_start = 5971 - _ROBOTSERVICE._serialized_end = 6277 \ No newline at end of file + _AGENTINFO._serialized_start = 4857 + _AGENTINFO._serialized_end = 5033 + _CONFIGREQUEST._serialized_start = 5035 + _CONFIGREQUEST._serialized_end = 5141 + _CONFIGRESPONSE._serialized_start = 5143 + _CONFIGRESPONSE._serialized_end = 5209 + _CERTIFICATEREQUEST._serialized_start = 5211 + _CERTIFICATEREQUEST._serialized_end = 5247 + _CERTIFICATERESPONSE._serialized_start = 5249 + _CERTIFICATERESPONSE._serialized_end = 5367 + _LOGREQUEST._serialized_start = 5369 + _LOGREQUEST._serialized_end = 5440 + _LOGRESPONSE._serialized_start = 5442 + _LOGRESPONSE._serialized_end = 5455 + _NEEDSRESTARTREQUEST._serialized_start = 5457 + _NEEDSRESTARTREQUEST._serialized_end = 5494 + _NEEDSRESTARTRESPONSE._serialized_start = 5497 + _NEEDSRESTARTRESPONSE._serialized_end = 5651 + _MODULECONFIG._serialized_start = 5653 + _MODULECONFIG._serialized_end = 5736 + _PACKAGECONFIG._serialized_start = 5738 + _PACKAGECONFIG._serialized_end = 5845 + _ROBOTSERVICE._serialized_start = 6042 + _ROBOTSERVICE._serialized_end = 6348 \ No newline at end of file diff --git a/src/viam/gen/app/v1/robot_pb2.pyi b/src/viam/gen/app/v1/robot_pb2.pyi index 802b44001..1e5382582 100644 --- a/src/viam/gen/app/v1/robot_pb2.pyi +++ b/src/viam/gen/app/v1/robot_pb2.pyi @@ -776,8 +776,10 @@ class AgentInfo(google.protobuf.message.Message): IPS_FIELD_NUMBER: builtins.int VERSION_FIELD_NUMBER: builtins.int GIT_REVISION_FIELD_NUMBER: builtins.int + PLATFORM_FIELD_NUMBER: builtins.int host: builtins.str os: builtins.str + 'Replaced by platform' @property def ips(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: @@ -785,11 +787,19 @@ class AgentInfo(google.protobuf.message.Message): version: builtins.str 'RDK version' git_revision: builtins.str + platform: builtins.str + 'The platform the RDK is running on. For example linux/amd64' - def __init__(self, *, host: builtins.str=..., os: builtins.str=..., ips: collections.abc.Iterable[builtins.str] | None=..., version: builtins.str=..., git_revision: builtins.str=...) -> None: + def __init__(self, *, host: builtins.str=..., os: builtins.str=..., ips: collections.abc.Iterable[builtins.str] | None=..., version: builtins.str=..., git_revision: builtins.str=..., platform: builtins.str | None=...) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal['git_revision', b'git_revision', 'host', b'host', 'ips', b'ips', 'os', b'os', 'version', b'version']) -> None: + def HasField(self, field_name: typing_extensions.Literal['_platform', b'_platform', 'platform', b'platform']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['_platform', b'_platform', 'git_revision', b'git_revision', 'host', b'host', 'ips', b'ips', 'os', b'os', 'platform', b'platform', 'version', b'version']) -> None: + ... + + def WhichOneof(self, oneof_group: typing_extensions.Literal['_platform', b'_platform']) -> typing_extensions.Literal['platform'] | None: ... global___AgentInfo = AgentInfo @@ -961,16 +971,19 @@ class PackageConfig(google.protobuf.message.Message): NAME_FIELD_NUMBER: builtins.int PACKAGE_FIELD_NUMBER: builtins.int VERSION_FIELD_NUMBER: builtins.int + TYPE_FIELD_NUMBER: builtins.int name: builtins.str 'Name is the local name of the package on the RDK. Must be unique across Packages. Must not be empty.' package: builtins.str 'Package is the unique package name hosted by Viam. Must not be empty.' version: builtins.str 'version of the package ID hosted by Viam. If not specified "latest" is assumed.' + type: builtins.str + 'type of the package' - def __init__(self, *, name: builtins.str=..., package: builtins.str=..., version: builtins.str=...) -> None: + def __init__(self, *, name: builtins.str=..., package: builtins.str=..., version: builtins.str=..., type: builtins.str=...) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal['name', b'name', 'package', b'package', 'version', b'version']) -> None: + def ClearField(self, field_name: typing_extensions.Literal['name', b'name', 'package', b'package', 'type', b'type', 'version', b'version']) -> None: ... global___PackageConfig = PackageConfig \ No newline at end of file diff --git a/src/viam/proto/app/__init__.py b/src/viam/proto/app/__init__.py index 5a89bb966..c13023a60 100644 --- a/src/viam/proto/app/__init__.py +++ b/src/viam/proto/app/__init__.py @@ -17,6 +17,8 @@ CreateLocationResponse, CreateLocationSecretRequest, CreateLocationSecretResponse, + CreateModuleRequest, + CreateModuleResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, @@ -46,6 +48,8 @@ GetFragmentResponse, GetLocationRequest, GetLocationResponse, + GetModuleRequest, + GetModuleResponse, GetOrganizationRequest, GetOrganizationResponse, GetRobotPartHistoryRequest, @@ -66,6 +70,8 @@ ListFragmentsResponse, ListLocationsRequest, ListLocationsResponse, + ListModulesRequest, + ListModulesResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsRequest, @@ -82,6 +88,9 @@ MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, + Model, + Module, + ModuleFileInfo, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, @@ -108,12 +117,19 @@ UpdateFragmentResponse, UpdateLocationRequest, UpdateLocationResponse, + UpdateModuleRequest, + UpdateModuleResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, + UploadModuleFileRequest, + UploadModuleFileResponse, + Uploads, + VersionHistory, + Visibility, ) __all__ = [ @@ -132,6 +148,8 @@ "CreateLocationResponse", "CreateLocationSecretRequest", "CreateLocationSecretResponse", + "CreateModuleRequest", + "CreateModuleResponse", "CreateOrganizationInviteRequest", "CreateOrganizationInviteResponse", "CreateOrganizationRequest", @@ -161,6 +179,8 @@ "GetFragmentResponse", "GetLocationRequest", "GetLocationResponse", + "GetModuleRequest", + "GetModuleResponse", "GetOrganizationRequest", "GetOrganizationResponse", "GetRobotPartHistoryRequest", @@ -181,6 +201,8 @@ "ListFragmentsResponse", "ListLocationsRequest", "ListLocationsResponse", + "ListModulesRequest", + "ListModulesResponse", "ListOrganizationMembersRequest", "ListOrganizationMembersResponse", "ListOrganizationsRequest", @@ -197,6 +219,9 @@ "MarkPartAsMainResponse", "MarkPartForRestartRequest", "MarkPartForRestartResponse", + "Model", + "Module", + "ModuleFileInfo", "NewRobotPartRequest", "NewRobotPartResponse", "NewRobotRequest", @@ -223,10 +248,17 @@ "UpdateFragmentResponse", "UpdateLocationRequest", "UpdateLocationResponse", + "UpdateModuleRequest", + "UpdateModuleResponse", "UpdateOrganizationRequest", "UpdateOrganizationResponse", "UpdateRobotPartRequest", "UpdateRobotPartResponse", "UpdateRobotRequest", "UpdateRobotResponse", + "UploadModuleFileRequest", + "UploadModuleFileResponse", + "Uploads", + "VersionHistory", + "Visibility", ] diff --git a/src/viam/proto/app/data/__init__.py b/src/viam/proto/app/data/__init__.py index b1fa4c9cc..a5ceed82a 100644 --- a/src/viam/proto/app/data/__init__.py +++ b/src/viam/proto/app/data/__init__.py @@ -6,10 +6,10 @@ from ....gen.app.data.v1.data_pb2 import ( AddBoundingBoxToImageByIDRequest, AddBoundingBoxToImageByIDResponse, - AddTagsToBinaryDataByFileIDsRequest, - AddTagsToBinaryDataByFileIDsResponse, AddTagsToBinaryDataByFilterRequest, AddTagsToBinaryDataByFilterResponse, + AddTagsToBinaryDataByIDsRequest, + AddTagsToBinaryDataByIDsResponse, Annotations, BinaryData, BinaryDataByFilterRequest, @@ -34,10 +34,10 @@ Order, RemoveBoundingBoxFromImageByIDRequest, RemoveBoundingBoxFromImageByIDResponse, - RemoveTagsFromBinaryDataByFileIDsRequest, - RemoveTagsFromBinaryDataByFileIDsResponse, RemoveTagsFromBinaryDataByFilterRequest, RemoveTagsFromBinaryDataByFilterResponse, + RemoveTagsFromBinaryDataByIDsRequest, + RemoveTagsFromBinaryDataByIDsResponse, TabularData, TabularDataByFilterRequest, TabularDataByFilterResponse, @@ -52,10 +52,10 @@ "DataServiceStub", "AddBoundingBoxToImageByIDRequest", "AddBoundingBoxToImageByIDResponse", - "AddTagsToBinaryDataByFileIDsRequest", - "AddTagsToBinaryDataByFileIDsResponse", "AddTagsToBinaryDataByFilterRequest", "AddTagsToBinaryDataByFilterResponse", + "AddTagsToBinaryDataByIDsRequest", + "AddTagsToBinaryDataByIDsResponse", "Annotations", "BinaryData", "BinaryDataByFilterRequest", @@ -80,10 +80,10 @@ "Order", "RemoveBoundingBoxFromImageByIDRequest", "RemoveBoundingBoxFromImageByIDResponse", - "RemoveTagsFromBinaryDataByFileIDsRequest", - "RemoveTagsFromBinaryDataByFileIDsResponse", "RemoveTagsFromBinaryDataByFilterRequest", "RemoveTagsFromBinaryDataByFilterResponse", + "RemoveTagsFromBinaryDataByIDsRequest", + "RemoveTagsFromBinaryDataByIDsResponse", "TabularData", "TabularDataByFilterRequest", "TabularDataByFilterResponse",