diff --git a/.vscode/settings.json b/.vscode/settings.json index b5f0034c2..78b6cdfd6 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,4 +1,8 @@ { + "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter", + "editor.formatOnSave": true, + }, "python.linting.flake8Enabled": true, "editor.formatOnSave": true, "python.analysis.typeCheckingMode": "basic", diff --git a/docs/examples/_server.py b/docs/examples/_server.py index 6342f393f..622308887 100644 --- a/docs/examples/_server.py +++ b/docs/examples/_server.py @@ -100,6 +100,14 @@ Location, LocationAuthRequest, LocationAuthResponse, + CreateRegistryItemRequest, + CreateRegistryItemResponse, + GetOrganizationsWithAccessToLocationRequest, + GetOrganizationsWithAccessToLocationResponse, + ListRegistryItemsRequest, + ListRegistryItemsResponse, + UpdateRegistryItemRequest, + UpdateRegistryItemResponse, ) from viam.proto.app import LogEntry as LogEntryPB from viam.proto.app import ( @@ -182,6 +190,10 @@ TabularDataByFilterResponse, TagsByFilterRequest, TagsByFilterResponse, + TabularDataByMQLRequest, + TabularDataByMQLResponse, + TabularDataBySQLRequest, + TabularDataBySQLResponse, ) from viam.proto.app.datasync import ( DataCaptureUploadRequest, @@ -303,6 +315,12 @@ async def RemoveBinaryDataFromDatasetByIDs( ) -> None: pass + async def TabularDataBySQL(self, stream: Stream[TabularDataBySQLRequest, TabularDataBySQLResponse]) -> None: + pass + + async def TabularDataByMQL(self, stream: Stream[TabularDataByMQLRequest, TabularDataByMQLResponse]) -> None: + pass + class MockDataSync(DataSyncServiceBase): async def DataCaptureUpload(self, stream: Stream[DataCaptureUploadRequest, DataCaptureUploadResponse]) -> None: @@ -554,6 +572,20 @@ async def CreateKeyFromExistingKeyAuthorizations( ) -> None: pass + async def CreateRegistryItem(self, stream: Stream[CreateRegistryItemRequest, CreateRegistryItemResponse]) -> None: + raise NotImplementedError() + + async def GetOrganizationsWithAccessToLocation( + self, stream: Stream[GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse] + ) -> None: + raise NotImplementedError() + + async def ListRegistryItems(self, stream: Stream[ListRegistryItemsRequest, ListRegistryItemsResponse]) -> None: + raise NotImplementedError() + + async def UpdateRegistryItem(self, stream: Stream[UpdateRegistryItemRequest, UpdateRegistryItemResponse]) -> None: + raise NotImplementedError() + async def main(*, host: str = "127.0.0.1", port: int = 9092) -> None: server = Server([MockData(), MockDataSync(), MockApp()]) diff --git a/src/viam/components/camera/camera.py b/src/viam/components/camera/camera.py index a624ac5fe..87fd74ea9 100644 --- a/src/viam/components/camera/camera.py +++ b/src/viam/components/camera/camera.py @@ -1,5 +1,5 @@ import abc -from typing import Any, Dict, Final, List, Optional, Tuple, TYPE_CHECKING +from typing import TYPE_CHECKING, Any, Dict, Final, List, Optional, Tuple from viam.media.video import NamedImage, ViamImage from viam.proto.common import ResponseMetadata diff --git a/src/viam/gen/app/agent/__init__.py b/src/viam/gen/app/agent/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/src/viam/gen/app/agent/v1/__init__.py b/src/viam/gen/app/agent/v1/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/src/viam/gen/app/agent/v1/agent_grpc.py b/src/viam/gen/app/agent/v1/agent_grpc.py new file mode 100644 index 000000000..20226426b --- /dev/null +++ b/src/viam/gen/app/agent/v1/agent_grpc.py @@ -0,0 +1,42 @@ +import abc +import typing +import grpclib.const +import grpclib.client +if typing.TYPE_CHECKING: + import grpclib.server +import google.protobuf.duration_pb2 +from .... import tagger +from .... import app + +class AgentAppServiceBase(abc.ABC): + + @abc.abstractmethod + async def GetAgentConfig(self, stream: 'grpclib.server.Stream[app.agent.v1.agent_pb2.GetAgentConfigRequest, app.agent.v1.agent_pb2.GetAgentConfigResponse]') -> None: + pass + + @abc.abstractmethod + async def UpdateAgentConfig(self, stream: 'grpclib.server.Stream[app.agent.v1.agent_pb2.UpdateAgentConfigRequest, app.agent.v1.agent_pb2.UpdateAgentConfigResponse]') -> None: + pass + + def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]: + return {'/viam.app.agent.v1.AgentAppService/GetAgentConfig': grpclib.const.Handler(self.GetAgentConfig, grpclib.const.Cardinality.UNARY_UNARY, app.agent.v1.agent_pb2.GetAgentConfigRequest, app.agent.v1.agent_pb2.GetAgentConfigResponse), '/viam.app.agent.v1.AgentAppService/UpdateAgentConfig': grpclib.const.Handler(self.UpdateAgentConfig, grpclib.const.Cardinality.UNARY_UNARY, app.agent.v1.agent_pb2.UpdateAgentConfigRequest, app.agent.v1.agent_pb2.UpdateAgentConfigResponse)} + +class AgentAppServiceStub: + + def __init__(self, channel: grpclib.client.Channel) -> None: + self.GetAgentConfig = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.agent.v1.AgentAppService/GetAgentConfig', app.agent.v1.agent_pb2.GetAgentConfigRequest, app.agent.v1.agent_pb2.GetAgentConfigResponse) + self.UpdateAgentConfig = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.agent.v1.AgentAppService/UpdateAgentConfig', app.agent.v1.agent_pb2.UpdateAgentConfigRequest, app.agent.v1.agent_pb2.UpdateAgentConfigResponse) + +class AgentDeviceServiceBase(abc.ABC): + + @abc.abstractmethod + async def DeviceAgentConfig(self, stream: 'grpclib.server.Stream[app.agent.v1.agent_pb2.DeviceAgentConfigRequest, app.agent.v1.agent_pb2.DeviceAgentConfigResponse]') -> None: + pass + + def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]: + return {'/viam.app.agent.v1.AgentDeviceService/DeviceAgentConfig': grpclib.const.Handler(self.DeviceAgentConfig, grpclib.const.Cardinality.UNARY_UNARY, app.agent.v1.agent_pb2.DeviceAgentConfigRequest, app.agent.v1.agent_pb2.DeviceAgentConfigResponse)} + +class AgentDeviceServiceStub: + + def __init__(self, channel: grpclib.client.Channel) -> None: + self.DeviceAgentConfig = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.agent.v1.AgentDeviceService/DeviceAgentConfig', app.agent.v1.agent_pb2.DeviceAgentConfigRequest, app.agent.v1.agent_pb2.DeviceAgentConfigResponse) \ No newline at end of file diff --git a/src/viam/gen/app/agent/v1/agent_pb2.py b/src/viam/gen/app/agent/v1/agent_pb2.py new file mode 100644 index 000000000..98e2fa323 --- /dev/null +++ b/src/viam/gen/app/agent/v1/agent_pb2.py @@ -0,0 +1,64 @@ +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +_sym_db = _symbol_database.Default() +from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 +from ....tagger.v1 import tagger_pb2 as tagger_dot_v1_dot_tagger__pb2 +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18app/agent/v1/agent.proto\x12\x11viam.app.agent.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x16tagger/v1/tagger.proto"\'\n\x15GetAgentConfigRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"^\n\x16GetAgentConfigResponse\x12D\n\x0cagent_config\x18\x01 \x01(\x0b2!.viam.app.agent.v1.AppAgentConfigR\x0bagentConfig"p\n\x18UpdateAgentConfigRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12D\n\x0cagent_config\x18\x02 \x01(\x0b2!.viam.app.agent.v1.AppAgentConfigR\x0bagentConfig"a\n\x19UpdateAgentConfigResponse\x12D\n\x0cagent_config\x18\x01 \x01(\x0b2!.viam.app.agent.v1.AppAgentConfigR\x0bagentConfig"\x9b\x02\n\x0eAppAgentConfig\x12\x9c\x01\n\x11subsystem_configs\x18\x01 \x03(\x0b27.viam.app.agent.v1.AppAgentConfig.SubsystemConfigsEntryB6\x9a\x84\x9e\x031bson:"subsystem_configs" json:"subsystem_configs"R\x10subsystemConfigs\x1aj\n\x15SubsystemConfigsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12;\n\x05value\x18\x02 \x01(\x0b2%.viam.app.agent.v1.AppSubsystemConfigR\x05value:\x028\x01"\xe0\x02\n\x12AppSubsystemConfig\x12[\n\x0frelease_channel\x18\x01 \x01(\tB2\x9a\x84\x9e\x03-bson:"release_channel" json:"release_channel"R\x0ereleaseChannel\x12K\n\x0bpin_version\x18\x02 \x01(\tB*\x9a\x84\x9e\x03%bson:"pin_version" json:"pin_version"R\npinVersion\x12;\n\x07pin_url\x18\x03 \x01(\tB"\x9a\x84\x9e\x03\x1dbson:"pin_url" json:"pin_url"R\x06pinUrl\x12c\n\x11disable_subsystem\x18\x04 \x01(\x08B6\x9a\x84\x9e\x031bson:"disable_subsystem" json:"disable_subsystem"R\x10disableSubsystem"\x9d\x02\n\x18DeviceAgentConfigRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x128\n\thost_info\x18\x02 \x01(\x0b2\x1b.viam.app.agent.v1.HostInfoR\x08hostInfo\x12q\n\x12subsystem_versions\x18\x03 \x03(\x0b2B.viam.app.agent.v1.DeviceAgentConfigRequest.SubsystemVersionsEntryR\x11subsystemVersions\x1aD\n\x16SubsystemVersionsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01"\xbd\x02\n\x19DeviceAgentConfigResponse\x12o\n\x11subsystem_configs\x18\x01 \x03(\x0b2B.viam.app.agent.v1.DeviceAgentConfigResponse.SubsystemConfigsEntryR\x10subsystemConfigs\x12@\n\x0echeck_interval\x18\x02 \x01(\x0b2\x19.google.protobuf.DurationR\rcheckInterval\x1am\n\x15SubsystemConfigsEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12>\n\x05value\x18\x02 \x01(\x0b2(.viam.app.agent.v1.DeviceSubsystemConfigR\x05value:\x028\x01"\x9f\x01\n\x15DeviceSubsystemConfig\x12G\n\x0bupdate_info\x18\x01 \x01(\x0b2&.viam.app.agent.v1.SubsystemUpdateInfoR\nupdateInfo\x12\x18\n\x07disable\x18\x02 \x01(\x08R\x07disable\x12#\n\rforce_restart\x18\x03 \x01(\x08R\x0cforceRestart"R\n\x08HostInfo\x12\x1a\n\x08platform\x18\x01 \x01(\tR\x08platform\x12\x16\n\x06distro\x18\x02 \x01(\tR\x06distro\x12\x12\n\x04tags\x18\x03 \x03(\tR\x04tags"\xaf\x01\n\x13SubsystemUpdateInfo\x12\x1a\n\x08filename\x18\x01 \x01(\tR\x08filename\x12\x10\n\x03url\x18\x02 \x01(\tR\x03url\x12\x18\n\x07version\x18\x03 \x01(\tR\x07version\x12\x16\n\x06sha256\x18\x04 \x01(\x0cR\x06sha256\x128\n\x06format\x18\x05 \x01(\x0e2 .viam.app.agent.v1.PackageFormatR\x06format*\x9f\x01\n\rPackageFormat\x12\x1e\n\x1aPACKAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x16\n\x12PACKAGE_FORMAT_RAW\x10\x01\x12\x15\n\x11PACKAGE_FORMAT_XZ\x10\x02\x12\x1d\n\x19PACKAGE_FORMAT_EXECUTABLE\x10\x03\x12 \n\x1cPACKAGE_FORMAT_XZ_EXECUTABLE\x10\x042\xe8\x01\n\x0fAgentAppService\x12e\n\x0eGetAgentConfig\x12(.viam.app.agent.v1.GetAgentConfigRequest\x1a).viam.app.agent.v1.GetAgentConfigResponse\x12n\n\x11UpdateAgentConfig\x12+.viam.app.agent.v1.UpdateAgentConfigRequest\x1a,.viam.app.agent.v1.UpdateAgentConfigResponse2\x84\x01\n\x12AgentDeviceService\x12n\n\x11DeviceAgentConfig\x12+.viam.app.agent.v1.DeviceAgentConfigRequest\x1a,.viam.app.agent.v1.DeviceAgentConfigResponseB\x1eZ\x1cgo.viam.com/api/app/agent/v1b\x06proto3') +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.agent.v1.agent_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z\x1cgo.viam.com/api/app/agent/v1' + _APPAGENTCONFIG_SUBSYSTEMCONFIGSENTRY._options = None + _APPAGENTCONFIG_SUBSYSTEMCONFIGSENTRY._serialized_options = b'8\x01' + _APPAGENTCONFIG.fields_by_name['subsystem_configs']._options = None + _APPAGENTCONFIG.fields_by_name['subsystem_configs']._serialized_options = b'\x9a\x84\x9e\x031bson:"subsystem_configs" json:"subsystem_configs"' + _APPSUBSYSTEMCONFIG.fields_by_name['release_channel']._options = None + _APPSUBSYSTEMCONFIG.fields_by_name['release_channel']._serialized_options = b'\x9a\x84\x9e\x03-bson:"release_channel" json:"release_channel"' + _APPSUBSYSTEMCONFIG.fields_by_name['pin_version']._options = None + _APPSUBSYSTEMCONFIG.fields_by_name['pin_version']._serialized_options = b'\x9a\x84\x9e\x03%bson:"pin_version" json:"pin_version"' + _APPSUBSYSTEMCONFIG.fields_by_name['pin_url']._options = None + _APPSUBSYSTEMCONFIG.fields_by_name['pin_url']._serialized_options = b'\x9a\x84\x9e\x03\x1dbson:"pin_url" json:"pin_url"' + _APPSUBSYSTEMCONFIG.fields_by_name['disable_subsystem']._options = None + _APPSUBSYSTEMCONFIG.fields_by_name['disable_subsystem']._serialized_options = b'\x9a\x84\x9e\x031bson:"disable_subsystem" json:"disable_subsystem"' + _DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._options = None + _DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._serialized_options = b'8\x01' + _DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._options = None + _DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._serialized_options = b'8\x01' + _PACKAGEFORMAT._serialized_start = 2127 + _PACKAGEFORMAT._serialized_end = 2286 + _GETAGENTCONFIGREQUEST._serialized_start = 103 + _GETAGENTCONFIGREQUEST._serialized_end = 142 + _GETAGENTCONFIGRESPONSE._serialized_start = 144 + _GETAGENTCONFIGRESPONSE._serialized_end = 238 + _UPDATEAGENTCONFIGREQUEST._serialized_start = 240 + _UPDATEAGENTCONFIGREQUEST._serialized_end = 352 + _UPDATEAGENTCONFIGRESPONSE._serialized_start = 354 + _UPDATEAGENTCONFIGRESPONSE._serialized_end = 451 + _APPAGENTCONFIG._serialized_start = 454 + _APPAGENTCONFIG._serialized_end = 737 + _APPAGENTCONFIG_SUBSYSTEMCONFIGSENTRY._serialized_start = 631 + _APPAGENTCONFIG_SUBSYSTEMCONFIGSENTRY._serialized_end = 737 + _APPSUBSYSTEMCONFIG._serialized_start = 740 + _APPSUBSYSTEMCONFIG._serialized_end = 1092 + _DEVICEAGENTCONFIGREQUEST._serialized_start = 1095 + _DEVICEAGENTCONFIGREQUEST._serialized_end = 1380 + _DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._serialized_start = 1312 + _DEVICEAGENTCONFIGREQUEST_SUBSYSTEMVERSIONSENTRY._serialized_end = 1380 + _DEVICEAGENTCONFIGRESPONSE._serialized_start = 1383 + _DEVICEAGENTCONFIGRESPONSE._serialized_end = 1700 + _DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._serialized_start = 1591 + _DEVICEAGENTCONFIGRESPONSE_SUBSYSTEMCONFIGSENTRY._serialized_end = 1700 + _DEVICESUBSYSTEMCONFIG._serialized_start = 1703 + _DEVICESUBSYSTEMCONFIG._serialized_end = 1862 + _HOSTINFO._serialized_start = 1864 + _HOSTINFO._serialized_end = 1946 + _SUBSYSTEMUPDATEINFO._serialized_start = 1949 + _SUBSYSTEMUPDATEINFO._serialized_end = 2124 + _AGENTAPPSERVICE._serialized_start = 2289 + _AGENTAPPSERVICE._serialized_end = 2521 + _AGENTDEVICESERVICE._serialized_start = 2524 + _AGENTDEVICESERVICE._serialized_end = 2656 \ No newline at end of file diff --git a/src/viam/gen/app/agent/v1/agent_pb2.pyi b/src/viam/gen/app/agent/v1/agent_pb2.pyi new file mode 100644 index 000000000..9fc97e861 --- /dev/null +++ b/src/viam/gen/app/agent/v1/agent_pb2.pyi @@ -0,0 +1,340 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.duration_pb2 +import google.protobuf.internal.containers +import google.protobuf.internal.enum_type_wrapper +import google.protobuf.message +import sys +import typing +if sys.version_info >= (3, 10): + import typing as typing_extensions +else: + import typing_extensions +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +class _PackageFormat: + ValueType = typing.NewType('ValueType', builtins.int) + V: typing_extensions.TypeAlias = ValueType + +class _PackageFormatEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_PackageFormat.ValueType], builtins.type): + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + PACKAGE_FORMAT_UNSPECIFIED: _PackageFormat.ValueType + 'unknown/unset (autodetection may be attempted)' + PACKAGE_FORMAT_RAW: _PackageFormat.ValueType + 'do nothing' + PACKAGE_FORMAT_XZ: _PackageFormat.ValueType + 'decompress .xz file' + PACKAGE_FORMAT_EXECUTABLE: _PackageFormat.ValueType + 'set executable permissions' + PACKAGE_FORMAT_XZ_EXECUTABLE: _PackageFormat.ValueType + 'decompress and set executable' + +class PackageFormat(_PackageFormat, metaclass=_PackageFormatEnumTypeWrapper): + ... +PACKAGE_FORMAT_UNSPECIFIED: PackageFormat.ValueType +'unknown/unset (autodetection may be attempted)' +PACKAGE_FORMAT_RAW: PackageFormat.ValueType +'do nothing' +PACKAGE_FORMAT_XZ: PackageFormat.ValueType +'decompress .xz file' +PACKAGE_FORMAT_EXECUTABLE: PackageFormat.ValueType +'set executable permissions' +PACKAGE_FORMAT_XZ_EXECUTABLE: PackageFormat.ValueType +'decompress and set executable' +global___PackageFormat = PackageFormat + +@typing_extensions.final +class GetAgentConfigRequest(google.protobuf.message.Message): + """App side""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ID_FIELD_NUMBER: builtins.int + id: builtins.str + + def __init__(self, *, id: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['id', b'id']) -> None: + ... +global___GetAgentConfigRequest = GetAgentConfigRequest + +@typing_extensions.final +class GetAgentConfigResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + AGENT_CONFIG_FIELD_NUMBER: builtins.int + + @property + def agent_config(self) -> global___AppAgentConfig: + ... + + def __init__(self, *, agent_config: global___AppAgentConfig | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['agent_config', b'agent_config']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['agent_config', b'agent_config']) -> None: + ... +global___GetAgentConfigResponse = GetAgentConfigResponse + +@typing_extensions.final +class UpdateAgentConfigRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ID_FIELD_NUMBER: builtins.int + AGENT_CONFIG_FIELD_NUMBER: builtins.int + id: builtins.str + + @property + def agent_config(self) -> global___AppAgentConfig: + ... + + def __init__(self, *, id: builtins.str=..., agent_config: global___AppAgentConfig | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['agent_config', b'agent_config']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['agent_config', b'agent_config', 'id', b'id']) -> None: + ... +global___UpdateAgentConfigRequest = UpdateAgentConfigRequest + +@typing_extensions.final +class UpdateAgentConfigResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + AGENT_CONFIG_FIELD_NUMBER: builtins.int + + @property + def agent_config(self) -> global___AppAgentConfig: + ... + + def __init__(self, *, agent_config: global___AppAgentConfig | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['agent_config', b'agent_config']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['agent_config', b'agent_config']) -> None: + ... +global___UpdateAgentConfigResponse = UpdateAgentConfigResponse + +@typing_extensions.final +class AppAgentConfig(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + @typing_extensions.final + class SubsystemConfigsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + + @property + def value(self) -> global___AppSubsystemConfig: + ... + + def __init__(self, *, key: builtins.str=..., value: global___AppSubsystemConfig | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['value', b'value']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['key', b'key', 'value', b'value']) -> None: + ... + SUBSYSTEM_CONFIGS_FIELD_NUMBER: builtins.int + + @property + def subsystem_configs(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___AppSubsystemConfig]: + ... + + def __init__(self, *, subsystem_configs: collections.abc.Mapping[builtins.str, global___AppSubsystemConfig] | None=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['subsystem_configs', b'subsystem_configs']) -> None: + ... +global___AppAgentConfig = AppAgentConfig + +@typing_extensions.final +class AppSubsystemConfig(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + RELEASE_CHANNEL_FIELD_NUMBER: builtins.int + PIN_VERSION_FIELD_NUMBER: builtins.int + PIN_URL_FIELD_NUMBER: builtins.int + DISABLE_SUBSYSTEM_FIELD_NUMBER: builtins.int + release_channel: builtins.str + pin_version: builtins.str + pin_url: builtins.str + disable_subsystem: builtins.bool + + def __init__(self, *, release_channel: builtins.str=..., pin_version: builtins.str=..., pin_url: builtins.str=..., disable_subsystem: builtins.bool=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['disable_subsystem', b'disable_subsystem', 'pin_url', b'pin_url', 'pin_version', b'pin_version', 'release_channel', b'release_channel']) -> None: + ... +global___AppSubsystemConfig = AppSubsystemConfig + +@typing_extensions.final +class DeviceAgentConfigRequest(google.protobuf.message.Message): + """Device side""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + @typing_extensions.final + class SubsystemVersionsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + value: builtins.str + + def __init__(self, *, key: builtins.str=..., value: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['key', b'key', 'value', b'value']) -> None: + ... + ID_FIELD_NUMBER: builtins.int + HOST_INFO_FIELD_NUMBER: builtins.int + SUBSYSTEM_VERSIONS_FIELD_NUMBER: builtins.int + id: builtins.str + 'robot partID' + + @property + def host_info(self) -> global___HostInfo: + """info about the host system""" + + @property + def subsystem_versions(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: + """current subsystems and versions""" + + def __init__(self, *, id: builtins.str=..., host_info: global___HostInfo | None=..., subsystem_versions: collections.abc.Mapping[builtins.str, builtins.str] | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['host_info', b'host_info']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['host_info', b'host_info', 'id', b'id', 'subsystem_versions', b'subsystem_versions']) -> None: + ... +global___DeviceAgentConfigRequest = DeviceAgentConfigRequest + +@typing_extensions.final +class DeviceAgentConfigResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + @typing_extensions.final + class SubsystemConfigsEntry(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + KEY_FIELD_NUMBER: builtins.int + VALUE_FIELD_NUMBER: builtins.int + key: builtins.str + + @property + def value(self) -> global___DeviceSubsystemConfig: + ... + + def __init__(self, *, key: builtins.str=..., value: global___DeviceSubsystemConfig | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['value', b'value']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['key', b'key', 'value', b'value']) -> None: + ... + SUBSYSTEM_CONFIGS_FIELD_NUMBER: builtins.int + CHECK_INTERVAL_FIELD_NUMBER: builtins.int + + @property + def subsystem_configs(self) -> google.protobuf.internal.containers.MessageMap[builtins.str, global___DeviceSubsystemConfig]: + """subsystems to be installed/configured/updated + note: previously installed subsystems will be removed from the system if removed from this list + """ + + @property + def check_interval(self) -> google.protobuf.duration_pb2.Duration: + """how often this request should be repeated""" + + def __init__(self, *, subsystem_configs: collections.abc.Mapping[builtins.str, global___DeviceSubsystemConfig] | None=..., check_interval: google.protobuf.duration_pb2.Duration | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['check_interval', b'check_interval']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['check_interval', b'check_interval', 'subsystem_configs', b'subsystem_configs']) -> None: + ... +global___DeviceAgentConfigResponse = DeviceAgentConfigResponse + +@typing_extensions.final +class DeviceSubsystemConfig(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + UPDATE_INFO_FIELD_NUMBER: builtins.int + DISABLE_FIELD_NUMBER: builtins.int + FORCE_RESTART_FIELD_NUMBER: builtins.int + + @property + def update_info(self) -> global___SubsystemUpdateInfo: + """data needed to download/validate the subsystem""" + disable: builtins.bool + 'if this subsystem is disabled and should not be started by the agent' + force_restart: builtins.bool + 'force_restart will restart the subsystem, even if no updates are available' + + def __init__(self, *, update_info: global___SubsystemUpdateInfo | None=..., disable: builtins.bool=..., force_restart: builtins.bool=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['update_info', b'update_info']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['disable', b'disable', 'force_restart', b'force_restart', 'update_info', b'update_info']) -> None: + ... +global___DeviceSubsystemConfig = DeviceSubsystemConfig + +@typing_extensions.final +class HostInfo(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + PLATFORM_FIELD_NUMBER: builtins.int + DISTRO_FIELD_NUMBER: builtins.int + TAGS_FIELD_NUMBER: builtins.int + platform: builtins.str + 'platform is the docker styled combination of kernel and architecture. Ex: linux/amd64, darwin/arm64' + distro: builtins.str + 'ID and VERSION_ID fields from /etc/os-release, colon seperated. Ex: ubuntu:22.04, debian:11' + + @property + def tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + """additional tags for specific hardware or software that's present and may affect software selection + ex: "jetson", "rpi4", "systemd", etc. + """ + + def __init__(self, *, platform: builtins.str=..., distro: builtins.str=..., tags: collections.abc.Iterable[builtins.str] | None=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['distro', b'distro', 'platform', b'platform', 'tags', b'tags']) -> None: + ... +global___HostInfo = HostInfo + +@typing_extensions.final +class SubsystemUpdateInfo(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + FILENAME_FIELD_NUMBER: builtins.int + URL_FIELD_NUMBER: builtins.int + VERSION_FIELD_NUMBER: builtins.int + SHA256_FIELD_NUMBER: builtins.int + FORMAT_FIELD_NUMBER: builtins.int + filename: builtins.str + 'unpacked filename as it is expected on disk (regardless of url)' + url: builtins.str + 'url to download from' + version: builtins.str + 'version expected at the url' + sha256: builtins.bytes + 'sha256 sum of file as downloaded' + format: global___PackageFormat.ValueType + 'determines if decompression or executable permissions are needed' + + def __init__(self, *, filename: builtins.str=..., url: builtins.str=..., version: builtins.str=..., sha256: builtins.bytes=..., format: global___PackageFormat.ValueType=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['filename', b'filename', 'format', b'format', 'sha256', b'sha256', 'url', b'url', 'version', b'version']) -> None: + ... +global___SubsystemUpdateInfo = SubsystemUpdateInfo \ No newline at end of file diff --git a/src/viam/gen/app/data/v1/data_grpc.py b/src/viam/gen/app/data/v1/data_grpc.py index 113a4bcf2..7ef07d41f 100644 --- a/src/viam/gen/app/data/v1/data_grpc.py +++ b/src/viam/gen/app/data/v1/data_grpc.py @@ -15,6 +15,14 @@ class DataServiceBase(abc.ABC): async def TabularDataByFilter(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.TabularDataByFilterRequest, app.data.v1.data_pb2.TabularDataByFilterResponse]') -> None: pass + @abc.abstractmethod + async def TabularDataBySQL(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.TabularDataBySQLRequest, app.data.v1.data_pb2.TabularDataBySQLResponse]') -> None: + pass + + @abc.abstractmethod + async def TabularDataByMQL(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.TabularDataByMQLRequest, app.data.v1.data_pb2.TabularDataByMQLResponse]') -> None: + pass + @abc.abstractmethod async def BinaryDataByFilter(self, stream: 'grpclib.server.Stream[app.data.v1.data_pb2.BinaryDataByFilterRequest, app.data.v1.data_pb2.BinaryDataByFilterResponse]') -> None: pass @@ -84,12 +92,14 @@ async def RemoveBinaryDataFromDatasetByIDs(self, stream: 'grpclib.server.Stream[ 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/DeleteTabularData': grpclib.const.Handler(self.DeleteTabularData, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteTabularDataRequest, app.data.v1.data_pb2.DeleteTabularDataResponse), '/viam.app.data.v1.DataService/DeleteBinaryDataByFilter': grpclib.const.Handler(self.DeleteBinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteBinaryDataByFilterRequest, app.data.v1.data_pb2.DeleteBinaryDataByFilterResponse), '/viam.app.data.v1.DataService/DeleteBinaryDataByIDs': grpclib.const.Handler(self.DeleteBinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteBinaryDataByIDsRequest, app.data.v1.data_pb2.DeleteBinaryDataByIDsResponse), '/viam.app.data.v1.DataService/AddTagsToBinaryDataByIDs': grpclib.const.Handler(self.AddTagsToBinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddTagsToBinaryDataByIDsRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByIDsResponse), '/viam.app.data.v1.DataService/AddTagsToBinaryDataByFilter': grpclib.const.Handler(self.AddTagsToBinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddTagsToBinaryDataByFilterRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByFilterResponse), '/viam.app.data.v1.DataService/RemoveTagsFromBinaryDataByIDs': grpclib.const.Handler(self.RemoveTagsFromBinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByIDsRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByIDsResponse), '/viam.app.data.v1.DataService/RemoveTagsFromBinaryDataByFilter': grpclib.const.Handler(self.RemoveTagsFromBinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFilterRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFilterResponse), '/viam.app.data.v1.DataService/TagsByFilter': grpclib.const.Handler(self.TagsByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.TagsByFilterRequest, app.data.v1.data_pb2.TagsByFilterResponse), '/viam.app.data.v1.DataService/AddBoundingBoxToImageByID': grpclib.const.Handler(self.AddBoundingBoxToImageByID, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddBoundingBoxToImageByIDRequest, app.data.v1.data_pb2.AddBoundingBoxToImageByIDResponse), '/viam.app.data.v1.DataService/RemoveBoundingBoxFromImageByID': grpclib.const.Handler(self.RemoveBoundingBoxFromImageByID, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveBoundingBoxFromImageByIDRequest, app.data.v1.data_pb2.RemoveBoundingBoxFromImageByIDResponse), '/viam.app.data.v1.DataService/BoundingBoxLabelsByFilter': grpclib.const.Handler(self.BoundingBoxLabelsByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.BoundingBoxLabelsByFilterRequest, app.data.v1.data_pb2.BoundingBoxLabelsByFilterResponse), '/viam.app.data.v1.DataService/GetDatabaseConnection': grpclib.const.Handler(self.GetDatabaseConnection, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.GetDatabaseConnectionRequest, app.data.v1.data_pb2.GetDatabaseConnectionResponse), '/viam.app.data.v1.DataService/ConfigureDatabaseUser': grpclib.const.Handler(self.ConfigureDatabaseUser, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.ConfigureDatabaseUserRequest, app.data.v1.data_pb2.ConfigureDatabaseUserResponse), '/viam.app.data.v1.DataService/AddBinaryDataToDatasetByIDs': grpclib.const.Handler(self.AddBinaryDataToDatasetByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddBinaryDataToDatasetByIDsRequest, app.data.v1.data_pb2.AddBinaryDataToDatasetByIDsResponse), '/viam.app.data.v1.DataService/RemoveBinaryDataFromDatasetByIDs': grpclib.const.Handler(self.RemoveBinaryDataFromDatasetByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsRequest, app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsResponse)} + return {'/viam.app.data.v1.DataService/TabularDataByFilter': grpclib.const.Handler(self.TabularDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.TabularDataByFilterRequest, app.data.v1.data_pb2.TabularDataByFilterResponse), '/viam.app.data.v1.DataService/TabularDataBySQL': grpclib.const.Handler(self.TabularDataBySQL, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.TabularDataBySQLRequest, app.data.v1.data_pb2.TabularDataBySQLResponse), '/viam.app.data.v1.DataService/TabularDataByMQL': grpclib.const.Handler(self.TabularDataByMQL, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.TabularDataByMQLRequest, app.data.v1.data_pb2.TabularDataByMQLResponse), '/viam.app.data.v1.DataService/BinaryDataByFilter': grpclib.const.Handler(self.BinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.BinaryDataByFilterRequest, app.data.v1.data_pb2.BinaryDataByFilterResponse), '/viam.app.data.v1.DataService/BinaryDataByIDs': grpclib.const.Handler(self.BinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.BinaryDataByIDsRequest, app.data.v1.data_pb2.BinaryDataByIDsResponse), '/viam.app.data.v1.DataService/DeleteTabularData': grpclib.const.Handler(self.DeleteTabularData, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteTabularDataRequest, app.data.v1.data_pb2.DeleteTabularDataResponse), '/viam.app.data.v1.DataService/DeleteBinaryDataByFilter': grpclib.const.Handler(self.DeleteBinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteBinaryDataByFilterRequest, app.data.v1.data_pb2.DeleteBinaryDataByFilterResponse), '/viam.app.data.v1.DataService/DeleteBinaryDataByIDs': grpclib.const.Handler(self.DeleteBinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.DeleteBinaryDataByIDsRequest, app.data.v1.data_pb2.DeleteBinaryDataByIDsResponse), '/viam.app.data.v1.DataService/AddTagsToBinaryDataByIDs': grpclib.const.Handler(self.AddTagsToBinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddTagsToBinaryDataByIDsRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByIDsResponse), '/viam.app.data.v1.DataService/AddTagsToBinaryDataByFilter': grpclib.const.Handler(self.AddTagsToBinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddTagsToBinaryDataByFilterRequest, app.data.v1.data_pb2.AddTagsToBinaryDataByFilterResponse), '/viam.app.data.v1.DataService/RemoveTagsFromBinaryDataByIDs': grpclib.const.Handler(self.RemoveTagsFromBinaryDataByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByIDsRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByIDsResponse), '/viam.app.data.v1.DataService/RemoveTagsFromBinaryDataByFilter': grpclib.const.Handler(self.RemoveTagsFromBinaryDataByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFilterRequest, app.data.v1.data_pb2.RemoveTagsFromBinaryDataByFilterResponse), '/viam.app.data.v1.DataService/TagsByFilter': grpclib.const.Handler(self.TagsByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.TagsByFilterRequest, app.data.v1.data_pb2.TagsByFilterResponse), '/viam.app.data.v1.DataService/AddBoundingBoxToImageByID': grpclib.const.Handler(self.AddBoundingBoxToImageByID, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddBoundingBoxToImageByIDRequest, app.data.v1.data_pb2.AddBoundingBoxToImageByIDResponse), '/viam.app.data.v1.DataService/RemoveBoundingBoxFromImageByID': grpclib.const.Handler(self.RemoveBoundingBoxFromImageByID, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveBoundingBoxFromImageByIDRequest, app.data.v1.data_pb2.RemoveBoundingBoxFromImageByIDResponse), '/viam.app.data.v1.DataService/BoundingBoxLabelsByFilter': grpclib.const.Handler(self.BoundingBoxLabelsByFilter, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.BoundingBoxLabelsByFilterRequest, app.data.v1.data_pb2.BoundingBoxLabelsByFilterResponse), '/viam.app.data.v1.DataService/GetDatabaseConnection': grpclib.const.Handler(self.GetDatabaseConnection, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.GetDatabaseConnectionRequest, app.data.v1.data_pb2.GetDatabaseConnectionResponse), '/viam.app.data.v1.DataService/ConfigureDatabaseUser': grpclib.const.Handler(self.ConfigureDatabaseUser, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.ConfigureDatabaseUserRequest, app.data.v1.data_pb2.ConfigureDatabaseUserResponse), '/viam.app.data.v1.DataService/AddBinaryDataToDatasetByIDs': grpclib.const.Handler(self.AddBinaryDataToDatasetByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.AddBinaryDataToDatasetByIDsRequest, app.data.v1.data_pb2.AddBinaryDataToDatasetByIDsResponse), '/viam.app.data.v1.DataService/RemoveBinaryDataFromDatasetByIDs': grpclib.const.Handler(self.RemoveBinaryDataFromDatasetByIDs, grpclib.const.Cardinality.UNARY_UNARY, app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsRequest, app.data.v1.data_pb2.RemoveBinaryDataFromDatasetByIDsResponse)} class DataServiceStub: def __init__(self, channel: grpclib.client.Channel) -> None: self.TabularDataByFilter = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/TabularDataByFilter', app.data.v1.data_pb2.TabularDataByFilterRequest, app.data.v1.data_pb2.TabularDataByFilterResponse) + self.TabularDataBySQL = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/TabularDataBySQL', app.data.v1.data_pb2.TabularDataBySQLRequest, app.data.v1.data_pb2.TabularDataBySQLResponse) + self.TabularDataByMQL = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/TabularDataByMQL', app.data.v1.data_pb2.TabularDataByMQLRequest, app.data.v1.data_pb2.TabularDataByMQLResponse) self.BinaryDataByFilter = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/BinaryDataByFilter', app.data.v1.data_pb2.BinaryDataByFilterRequest, app.data.v1.data_pb2.BinaryDataByFilterResponse) self.BinaryDataByIDs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/BinaryDataByIDs', app.data.v1.data_pb2.BinaryDataByIDsRequest, app.data.v1.data_pb2.BinaryDataByIDsResponse) self.DeleteTabularData = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.data.v1.DataService/DeleteTabularData', app.data.v1.data_pb2.DeleteTabularDataRequest, app.data.v1.data_pb2.DeleteTabularDataResponse) diff --git a/src/viam/gen/app/data/v1/data_pb2.py b/src/viam/gen/app/data/v1/data_pb2.py index ce58c9d20..60020b22e 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"\xaa\x04\n\x06Filter\x12%\n\x0ecomponent_name\x18\x01 \x01(\tR\rcomponentName\x12%\n\x0ecomponent_type\x18\x02 \x01(\tR\rcomponentType\x12\x16\n\x06method\x18\x04 \x01(\tR\x06method\x12\x1d\n\nrobot_name\x18\x06 \x01(\tR\trobotName\x12\x19\n\x08robot_id\x18\x07 \x01(\tR\x07robotId\x12\x1b\n\tpart_name\x18\x08 \x01(\tR\x08partName\x12\x17\n\x07part_id\x18\t \x01(\tR\x06partId\x12!\n\x0clocation_ids\x18\n \x03(\tR\x0blocationIds\x12)\n\x10organization_ids\x18\x0b \x03(\tR\x0forganizationIds\x12\x1b\n\tmime_type\x18\x0c \x03(\tR\x08mimeType\x12=\n\x08interval\x18\r \x01(\x0b2!.viam.app.data.v1.CaptureIntervalR\x08interval\x12=\n\x0btags_filter\x18\x0e \x01(\x0b2\x1c.viam.app.data.v1.TagsFilterR\ntagsFilter\x12\x1f\n\x0bbbox_labels\x18\x0f \x03(\tR\nbboxLabels\x12\x1d\n\ndataset_id\x18\x10 \x01(\tR\tdatasetIdJ\x04\x08\x03\x10\x04J\x04\x08\x05\x10\x06R\x0fcomponent_modelR\x04tags"V\n\nTagsFilter\x124\n\x04type\x18\x01 \x01(\x0e2 .viam.app.data.v1.TagsFilterTypeR\x04type\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags"\xc3\x04\n\x0fCaptureMetadata\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1f\n\x0blocation_id\x18\x02 \x01(\tR\nlocationId\x12\x1d\n\nrobot_name\x18\x03 \x01(\tR\trobotName\x12\x19\n\x08robot_id\x18\x04 \x01(\tR\x07robotId\x12\x1b\n\tpart_name\x18\x05 \x01(\tR\x08partName\x12\x17\n\x07part_id\x18\x06 \x01(\tR\x06partId\x12%\n\x0ecomponent_type\x18\x07 \x01(\tR\rcomponentType\x12%\n\x0ecomponent_name\x18\t \x01(\tR\rcomponentName\x12\x1f\n\x0bmethod_name\x18\n \x01(\tR\nmethodName\x12d\n\x11method_parameters\x18\x0b \x03(\x0b27.viam.app.data.v1.CaptureMetadata.MethodParametersEntryR\x10methodParameters\x12\x12\n\x04tags\x18\x0c \x03(\tR\x04tags\x12\x1b\n\tmime_type\x18\r \x01(\tR\x08mimeType\x1aY\n\x15MethodParametersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12*\n\x05value\x18\x02 \x01(\x0b2\x14.google.protobuf.AnyR\x05value:\x028\x01J\x04\x08\x08\x10\tR\x0fcomponent_model"q\n\x0fCaptureInterval\x120\n\x05start\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampR\x05start\x12,\n\x03end\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x03end"\xb1\x01\n\x1aTabularDataByFilterRequest\x12@\n\x0cdata_request\x18\x01 \x01(\x0b2\x1d.viam.app.data.v1.DataRequestR\x0bdataRequest\x12\x1d\n\ncount_only\x18\x02 \x01(\x08R\tcountOnly\x122\n\x15include_internal_data\x18\x03 \x01(\x08R\x13includeInternalData"\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"\xd7\x01\n\x19BinaryDataByFilterRequest\x12@\n\x0cdata_request\x18\x01 \x01(\x0b2\x1d.viam.app.data.v1.DataRequestR\x0bdataRequest\x12%\n\x0einclude_binary\x18\x02 \x01(\x08R\rincludeBinary\x12\x1d\n\ncount_only\x18\x03 \x01(\x08R\tcountOnly\x122\n\x15include_internal_data\x18\x04 \x01(\x08R\x13includeInternalData"\xa2\x01\n\x1aBinaryDataByFilterResponse\x120\n\x04data\x18\x01 \x03(\x0b2\x1c.viam.app.data.v1.BinaryDataR\x04data\x12\x14\n\x05count\x18\x02 \x01(\x04R\x05count\x12\x12\n\x04last\x18\x03 \x01(\tR\x04last\x12(\n\x10total_size_bytes\x18\x04 \x01(\x04R\x0etotalSizeBytes"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"\x8a\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\tbinaryIdsJ\x04\x08\x01\x10\x02R\x08file_ids"a\n\x17BinaryDataByIDsResponse\x120\n\x04data\x18\x01 \x03(\x0b2\x1c.viam.app.data.v1.BinaryDataR\x04data\x12\x14\n\x05count\x18\x02 \x01(\x04R\x05count"\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"\x9e\x03\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\x12\x1f\n\x0bdataset_ids\x18\t \x03(\tR\ndatasetIds"x\n\x18DeleteTabularDataRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x123\n\x16delete_older_than_days\x18\x02 \x01(\rR\x13deleteOlderThanDays"@\n\x19DeleteTabularDataResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount"\x87\x01\n\x1fDeleteBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x122\n\x15include_internal_data\x18\x02 \x01(\x08R\x13includeInternalData"U\n DeleteBinaryDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"i\n\x1cDeleteBinaryDataByIDsRequest\x129\n\nbinary_ids\x18\x02 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIdsJ\x04\x08\x01\x10\x02R\x08file_ids"R\n\x1dDeleteBinaryDataByIDsResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"\x80\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\x04tagsJ\x04\x08\x01\x10\x02R\x08file_ids""\n AddTagsToBinaryDataByIDsResponse"j\n"AddTagsToBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags"%\n#AddTagsToBinaryDataByFilterResponse"\x85\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\x04tagsJ\x04\x08\x01\x10\x02R\x08file_ids"L\n%RemoveTagsFromBinaryDataByIDsResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount"o\n\'RemoveTagsFromBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags"O\n(RemoveTagsFromBinaryDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount"G\n\x13TagsByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter"*\n\x14TagsByFilterResponse\x12\x12\n\x04tags\x18\x01 \x03(\tR\x04tags"\xa8\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\x0eyMaxNormalizedJ\x04\x08\x01\x10\x02R\x07file_id"<\n!AddBoundingBoxToImageByIDResponse\x12\x17\n\x07bbox_id\x18\x01 \x01(\tR\x06bboxId"\x88\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\x06bboxIdJ\x04\x08\x01\x10\x02R\x07file_id"(\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"c\n\x1cConfigureDatabaseUserRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1a\n\x08password\x18\x02 \x01(\tR\x08password"\x1f\n\x1dConfigureDatabaseUserResponse"G\n\x1cGetDatabaseConnectionRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId";\n\x1dGetDatabaseConnectionResponse\x12\x1a\n\x08hostname\x18\x01 \x01(\tR\x08hostname"~\n"AddBinaryDataToDatasetByIDsRequest\x129\n\nbinary_ids\x18\x01 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIds\x12\x1d\n\ndataset_id\x18\x02 \x01(\tR\tdatasetId"%\n#AddBinaryDataToDatasetByIDsResponse"\x83\x01\n\'RemoveBinaryDataFromDatasetByIDsRequest\x129\n\nbinary_ids\x18\x01 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIds\x12\x1d\n\ndataset_id\x18\x02 \x01(\tR\tdatasetId"*\n(RemoveBinaryDataFromDatasetByIDsResponse*I\n\x05Order\x12\x15\n\x11ORDER_UNSPECIFIED\x10\x00\x12\x14\n\x10ORDER_DESCENDING\x10\x01\x12\x13\n\x0fORDER_ASCENDING\x10\x02*\x90\x01\n\x0eTagsFilterType\x12 \n\x1cTAGS_FILTER_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1cTAGS_FILTER_TYPE_MATCH_BY_OR\x10\x01\x12\x1b\n\x17TAGS_FILTER_TYPE_TAGGED\x10\x02\x12\x1d\n\x19TAGS_FILTER_TYPE_UNTAGGED\x10\x032\xa6\x12\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\x12l\n\x11DeleteTabularData\x12*.viam.app.data.v1.DeleteTabularDataRequest\x1a+.viam.app.data.v1.DeleteTabularDataResponse\x12\x81\x01\n\x18DeleteBinaryDataByFilter\x121.viam.app.data.v1.DeleteBinaryDataByFilterRequest\x1a2.viam.app.data.v1.DeleteBinaryDataByFilterResponse\x12x\n\x15DeleteBinaryDataByIDs\x12..viam.app.data.v1.DeleteBinaryDataByIDsRequest\x1a/.viam.app.data.v1.DeleteBinaryDataByIDsResponse\x12\x81\x01\n\x18AddTagsToBinaryDataByIDs\x121.viam.app.data.v1.AddTagsToBinaryDataByIDsRequest\x1a2.viam.app.data.v1.AddTagsToBinaryDataByIDsResponse\x12\x8a\x01\n\x1bAddTagsToBinaryDataByFilter\x124.viam.app.data.v1.AddTagsToBinaryDataByFilterRequest\x1a5.viam.app.data.v1.AddTagsToBinaryDataByFilterResponse\x12\x90\x01\n\x1dRemoveTagsFromBinaryDataByIDs\x126.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsRequest\x1a7.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsResponse\x12\x99\x01\n RemoveTagsFromBinaryDataByFilter\x129.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterRequest\x1a:.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterResponse\x12]\n\x0cTagsByFilter\x12%.viam.app.data.v1.TagsByFilterRequest\x1a&.viam.app.data.v1.TagsByFilterResponse\x12\x84\x01\n\x19AddBoundingBoxToImageByID\x122.viam.app.data.v1.AddBoundingBoxToImageByIDRequest\x1a3.viam.app.data.v1.AddBoundingBoxToImageByIDResponse\x12\x93\x01\n\x1eRemoveBoundingBoxFromImageByID\x127.viam.app.data.v1.RemoveBoundingBoxFromImageByIDRequest\x1a8.viam.app.data.v1.RemoveBoundingBoxFromImageByIDResponse\x12\x84\x01\n\x19BoundingBoxLabelsByFilter\x122.viam.app.data.v1.BoundingBoxLabelsByFilterRequest\x1a3.viam.app.data.v1.BoundingBoxLabelsByFilterResponse\x12x\n\x15GetDatabaseConnection\x12..viam.app.data.v1.GetDatabaseConnectionRequest\x1a/.viam.app.data.v1.GetDatabaseConnectionResponse\x12x\n\x15ConfigureDatabaseUser\x12..viam.app.data.v1.ConfigureDatabaseUserRequest\x1a/.viam.app.data.v1.ConfigureDatabaseUserResponse\x12\x8a\x01\n\x1bAddBinaryDataToDatasetByIDs\x124.viam.app.data.v1.AddBinaryDataToDatasetByIDsRequest\x1a5.viam.app.data.v1.AddBinaryDataToDatasetByIDsResponse\x12\x99\x01\n RemoveBinaryDataFromDatasetByIDs\x129.viam.app.data.v1.RemoveBinaryDataFromDatasetByIDsRequest\x1a:.viam.app.data.v1.RemoveBinaryDataFromDatasetByIDsResponseB\x1dZ\x1bgo.viam.com/api/app/data/v1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16app/data/v1/data.proto\x12\x10viam.app.data.v1\x1a\x19google/protobuf/any.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa1\x01\n\x0bDataRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x12\x14\n\x05limit\x18\x02 \x01(\x04R\x05limit\x12\x12\n\x04last\x18\x03 \x01(\tR\x04last\x126\n\nsort_order\x18\x04 \x01(\x0e2\x17.viam.app.data.v1.OrderR\tsortOrder"\xaa\x04\n\x06Filter\x12%\n\x0ecomponent_name\x18\x01 \x01(\tR\rcomponentName\x12%\n\x0ecomponent_type\x18\x02 \x01(\tR\rcomponentType\x12\x16\n\x06method\x18\x04 \x01(\tR\x06method\x12\x1d\n\nrobot_name\x18\x06 \x01(\tR\trobotName\x12\x19\n\x08robot_id\x18\x07 \x01(\tR\x07robotId\x12\x1b\n\tpart_name\x18\x08 \x01(\tR\x08partName\x12\x17\n\x07part_id\x18\t \x01(\tR\x06partId\x12!\n\x0clocation_ids\x18\n \x03(\tR\x0blocationIds\x12)\n\x10organization_ids\x18\x0b \x03(\tR\x0forganizationIds\x12\x1b\n\tmime_type\x18\x0c \x03(\tR\x08mimeType\x12=\n\x08interval\x18\r \x01(\x0b2!.viam.app.data.v1.CaptureIntervalR\x08interval\x12=\n\x0btags_filter\x18\x0e \x01(\x0b2\x1c.viam.app.data.v1.TagsFilterR\ntagsFilter\x12\x1f\n\x0bbbox_labels\x18\x0f \x03(\tR\nbboxLabels\x12\x1d\n\ndataset_id\x18\x10 \x01(\tR\tdatasetIdJ\x04\x08\x03\x10\x04J\x04\x08\x05\x10\x06R\x0fcomponent_modelR\x04tags"V\n\nTagsFilter\x124\n\x04type\x18\x01 \x01(\x0e2 .viam.app.data.v1.TagsFilterTypeR\x04type\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags"\xc3\x04\n\x0fCaptureMetadata\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1f\n\x0blocation_id\x18\x02 \x01(\tR\nlocationId\x12\x1d\n\nrobot_name\x18\x03 \x01(\tR\trobotName\x12\x19\n\x08robot_id\x18\x04 \x01(\tR\x07robotId\x12\x1b\n\tpart_name\x18\x05 \x01(\tR\x08partName\x12\x17\n\x07part_id\x18\x06 \x01(\tR\x06partId\x12%\n\x0ecomponent_type\x18\x07 \x01(\tR\rcomponentType\x12%\n\x0ecomponent_name\x18\t \x01(\tR\rcomponentName\x12\x1f\n\x0bmethod_name\x18\n \x01(\tR\nmethodName\x12d\n\x11method_parameters\x18\x0b \x03(\x0b27.viam.app.data.v1.CaptureMetadata.MethodParametersEntryR\x10methodParameters\x12\x12\n\x04tags\x18\x0c \x03(\tR\x04tags\x12\x1b\n\tmime_type\x18\r \x01(\tR\x08mimeType\x1aY\n\x15MethodParametersEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12*\n\x05value\x18\x02 \x01(\x0b2\x14.google.protobuf.AnyR\x05value:\x028\x01J\x04\x08\x08\x10\tR\x0fcomponent_model"q\n\x0fCaptureInterval\x120\n\x05start\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampR\x05start\x12,\n\x03end\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x03end"\xb1\x01\n\x1aTabularDataByFilterRequest\x12@\n\x0cdata_request\x18\x01 \x01(\x0b2\x1d.viam.app.data.v1.DataRequestR\x0bdataRequest\x12\x1d\n\ncount_only\x18\x02 \x01(\x08R\tcountOnly\x122\n\x15include_internal_data\x18\x03 \x01(\x08R\x13includeInternalData"\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"_\n\x17TabularDataBySQLRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1b\n\tsql_query\x18\x02 \x01(\tR\x08sqlQuery"G\n\x18TabularDataBySQLResponse\x12+\n\x04data\x18\x01 \x03(\x0b2\x17.google.protobuf.StructR\x04data"~\n\x17TabularDataByMQLRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1b\n\tmql_query\x18\x02 \x01(\tR\x08mqlQuery\x12\x1d\n\nmql_binary\x18\x03 \x03(\x0cR\tmqlBinary"G\n\x18TabularDataByMQLResponse\x12+\n\x04data\x18\x01 \x03(\x0b2\x17.google.protobuf.StructR\x04data"b\n\nBinaryData\x12\x16\n\x06binary\x18\x01 \x01(\x0cR\x06binary\x12<\n\x08metadata\x18\x02 \x01(\x0b2 .viam.app.data.v1.BinaryMetadataR\x08metadata"\xd7\x01\n\x19BinaryDataByFilterRequest\x12@\n\x0cdata_request\x18\x01 \x01(\x0b2\x1d.viam.app.data.v1.DataRequestR\x0bdataRequest\x12%\n\x0einclude_binary\x18\x02 \x01(\x08R\rincludeBinary\x12\x1d\n\ncount_only\x18\x03 \x01(\x08R\tcountOnly\x122\n\x15include_internal_data\x18\x04 \x01(\x08R\x13includeInternalData"\xa2\x01\n\x1aBinaryDataByFilterResponse\x120\n\x04data\x18\x01 \x03(\x0b2\x1c.viam.app.data.v1.BinaryDataR\x04data\x12\x14\n\x05count\x18\x02 \x01(\x04R\x05count\x12\x12\n\x04last\x18\x03 \x01(\tR\x04last\x12(\n\x10total_size_bytes\x18\x04 \x01(\x04R\x0etotalSizeBytes"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"\x8a\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\tbinaryIdsJ\x04\x08\x01\x10\x02R\x08file_ids"a\n\x17BinaryDataByIDsResponse\x120\n\x04data\x18\x01 \x03(\x0b2\x1c.viam.app.data.v1.BinaryDataR\x04data\x12\x14\n\x05count\x18\x02 \x01(\x04R\x05count"\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"\x9e\x03\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\x12\x1f\n\x0bdataset_ids\x18\t \x03(\tR\ndatasetIds"x\n\x18DeleteTabularDataRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x123\n\x16delete_older_than_days\x18\x02 \x01(\rR\x13deleteOlderThanDays"@\n\x19DeleteTabularDataResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount"\x87\x01\n\x1fDeleteBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x122\n\x15include_internal_data\x18\x02 \x01(\x08R\x13includeInternalData"U\n DeleteBinaryDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"i\n\x1cDeleteBinaryDataByIDsRequest\x129\n\nbinary_ids\x18\x02 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIdsJ\x04\x08\x01\x10\x02R\x08file_ids"R\n\x1dDeleteBinaryDataByIDsResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCountJ\x04\x08\x02\x10\x03R\x06result"\x80\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\x04tagsJ\x04\x08\x01\x10\x02R\x08file_ids""\n AddTagsToBinaryDataByIDsResponse"j\n"AddTagsToBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags"%\n#AddTagsToBinaryDataByFilterResponse"\x85\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\x04tagsJ\x04\x08\x01\x10\x02R\x08file_ids"L\n%RemoveTagsFromBinaryDataByIDsResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount"o\n\'RemoveTagsFromBinaryDataByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter\x12\x12\n\x04tags\x18\x02 \x03(\tR\x04tags"O\n(RemoveTagsFromBinaryDataByFilterResponse\x12#\n\rdeleted_count\x18\x01 \x01(\x04R\x0cdeletedCount"G\n\x13TagsByFilterRequest\x120\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterR\x06filter"*\n\x14TagsByFilterResponse\x12\x12\n\x04tags\x18\x01 \x03(\tR\x04tags"\xa8\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\x0eyMaxNormalizedJ\x04\x08\x01\x10\x02R\x07file_id"<\n!AddBoundingBoxToImageByIDResponse\x12\x17\n\x07bbox_id\x18\x01 \x01(\tR\x06bboxId"\x88\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\x06bboxIdJ\x04\x08\x01\x10\x02R\x07file_id"(\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"c\n\x1cConfigureDatabaseUserRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1a\n\x08password\x18\x02 \x01(\tR\x08password"\x1f\n\x1dConfigureDatabaseUserResponse"G\n\x1cGetDatabaseConnectionRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId"\x88\x01\n\x1dGetDatabaseConnectionResponse\x12\x1a\n\x08hostname\x18\x01 \x01(\tR\x08hostname\x12\x1f\n\x0bmongodb_uri\x18\x02 \x01(\tR\nmongodbUri\x12*\n\x11has_database_user\x18\x03 \x01(\x08R\x0fhasDatabaseUser"~\n"AddBinaryDataToDatasetByIDsRequest\x129\n\nbinary_ids\x18\x01 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIds\x12\x1d\n\ndataset_id\x18\x02 \x01(\tR\tdatasetId"%\n#AddBinaryDataToDatasetByIDsResponse"\x83\x01\n\'RemoveBinaryDataFromDatasetByIDsRequest\x129\n\nbinary_ids\x18\x01 \x03(\x0b2\x1a.viam.app.data.v1.BinaryIDR\tbinaryIds\x12\x1d\n\ndataset_id\x18\x02 \x01(\tR\tdatasetId"*\n(RemoveBinaryDataFromDatasetByIDsResponse*I\n\x05Order\x12\x15\n\x11ORDER_UNSPECIFIED\x10\x00\x12\x14\n\x10ORDER_DESCENDING\x10\x01\x12\x13\n\x0fORDER_ASCENDING\x10\x02*\x90\x01\n\x0eTagsFilterType\x12 \n\x1cTAGS_FILTER_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1cTAGS_FILTER_TYPE_MATCH_BY_OR\x10\x01\x12\x1b\n\x17TAGS_FILTER_TYPE_TAGGED\x10\x02\x12\x1d\n\x19TAGS_FILTER_TYPE_UNTAGGED\x10\x032\xfc\x13\n\x0bDataService\x12r\n\x13TabularDataByFilter\x12,.viam.app.data.v1.TabularDataByFilterRequest\x1a-.viam.app.data.v1.TabularDataByFilterResponse\x12i\n\x10TabularDataBySQL\x12).viam.app.data.v1.TabularDataBySQLRequest\x1a*.viam.app.data.v1.TabularDataBySQLResponse\x12i\n\x10TabularDataByMQL\x12).viam.app.data.v1.TabularDataByMQLRequest\x1a*.viam.app.data.v1.TabularDataByMQLResponse\x12o\n\x12BinaryDataByFilter\x12+.viam.app.data.v1.BinaryDataByFilterRequest\x1a,.viam.app.data.v1.BinaryDataByFilterResponse\x12f\n\x0fBinaryDataByIDs\x12(.viam.app.data.v1.BinaryDataByIDsRequest\x1a).viam.app.data.v1.BinaryDataByIDsResponse\x12l\n\x11DeleteTabularData\x12*.viam.app.data.v1.DeleteTabularDataRequest\x1a+.viam.app.data.v1.DeleteTabularDataResponse\x12\x81\x01\n\x18DeleteBinaryDataByFilter\x121.viam.app.data.v1.DeleteBinaryDataByFilterRequest\x1a2.viam.app.data.v1.DeleteBinaryDataByFilterResponse\x12x\n\x15DeleteBinaryDataByIDs\x12..viam.app.data.v1.DeleteBinaryDataByIDsRequest\x1a/.viam.app.data.v1.DeleteBinaryDataByIDsResponse\x12\x81\x01\n\x18AddTagsToBinaryDataByIDs\x121.viam.app.data.v1.AddTagsToBinaryDataByIDsRequest\x1a2.viam.app.data.v1.AddTagsToBinaryDataByIDsResponse\x12\x8a\x01\n\x1bAddTagsToBinaryDataByFilter\x124.viam.app.data.v1.AddTagsToBinaryDataByFilterRequest\x1a5.viam.app.data.v1.AddTagsToBinaryDataByFilterResponse\x12\x90\x01\n\x1dRemoveTagsFromBinaryDataByIDs\x126.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsRequest\x1a7.viam.app.data.v1.RemoveTagsFromBinaryDataByIDsResponse\x12\x99\x01\n RemoveTagsFromBinaryDataByFilter\x129.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterRequest\x1a:.viam.app.data.v1.RemoveTagsFromBinaryDataByFilterResponse\x12]\n\x0cTagsByFilter\x12%.viam.app.data.v1.TagsByFilterRequest\x1a&.viam.app.data.v1.TagsByFilterResponse\x12\x84\x01\n\x19AddBoundingBoxToImageByID\x122.viam.app.data.v1.AddBoundingBoxToImageByIDRequest\x1a3.viam.app.data.v1.AddBoundingBoxToImageByIDResponse\x12\x93\x01\n\x1eRemoveBoundingBoxFromImageByID\x127.viam.app.data.v1.RemoveBoundingBoxFromImageByIDRequest\x1a8.viam.app.data.v1.RemoveBoundingBoxFromImageByIDResponse\x12\x84\x01\n\x19BoundingBoxLabelsByFilter\x122.viam.app.data.v1.BoundingBoxLabelsByFilterRequest\x1a3.viam.app.data.v1.BoundingBoxLabelsByFilterResponse\x12x\n\x15GetDatabaseConnection\x12..viam.app.data.v1.GetDatabaseConnectionRequest\x1a/.viam.app.data.v1.GetDatabaseConnectionResponse\x12x\n\x15ConfigureDatabaseUser\x12..viam.app.data.v1.ConfigureDatabaseUserRequest\x1a/.viam.app.data.v1.ConfigureDatabaseUserResponse\x12\x8a\x01\n\x1bAddBinaryDataToDatasetByIDs\x124.viam.app.data.v1.AddBinaryDataToDatasetByIDsRequest\x1a5.viam.app.data.v1.AddBinaryDataToDatasetByIDsResponse\x12\x99\x01\n RemoveBinaryDataFromDatasetByIDs\x129.viam.app.data.v1.RemoveBinaryDataFromDatasetByIDsRequest\x1a:.viam.app.data.v1.RemoveBinaryDataFromDatasetByIDsResponseB\x1dZ\x1bgo.viam.com/api/app/data/v1b\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.data.v1.data_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: @@ -15,10 +15,10 @@ DESCRIPTOR._serialized_options = b'Z\x1bgo.viam.com/api/app/data/v1' _CAPTUREMETADATA_METHODPARAMETERSENTRY._options = None _CAPTUREMETADATA_METHODPARAMETERSENTRY._serialized_options = b'8\x01' - _ORDER._serialized_start = 6570 - _ORDER._serialized_end = 6643 - _TAGSFILTERTYPE._serialized_start = 6646 - _TAGSFILTERTYPE._serialized_end = 6790 + _ORDER._serialized_start = 7019 + _ORDER._serialized_end = 7092 + _TAGSFILTERTYPE._serialized_start = 7095 + _TAGSFILTERTYPE._serialized_end = 7239 _DATAREQUEST._serialized_start = 135 _DATAREQUEST._serialized_end = 296 _FILTER._serialized_start = 299 @@ -37,83 +37,91 @@ _TABULARDATABYFILTERRESPONSE._serialized_end = 2048 _TABULARDATA._serialized_start = 2051 _TABULARDATA._serialized_end = 2280 - _BINARYDATA._serialized_start = 2282 - _BINARYDATA._serialized_end = 2380 - _BINARYDATABYFILTERREQUEST._serialized_start = 2383 - _BINARYDATABYFILTERREQUEST._serialized_end = 2598 - _BINARYDATABYFILTERRESPONSE._serialized_start = 2601 - _BINARYDATABYFILTERRESPONSE._serialized_end = 2763 - _BINARYID._serialized_start = 2765 - _BINARYID._serialized_end = 2874 - _BINARYDATABYIDSREQUEST._serialized_start = 2877 - _BINARYDATABYIDSREQUEST._serialized_end = 3015 - _BINARYDATABYIDSRESPONSE._serialized_start = 3017 - _BINARYDATABYIDSRESPONSE._serialized_end = 3114 - _BOUNDINGBOX._serialized_start = 3117 - _BOUNDINGBOX._serialized_end = 3336 - _ANNOTATIONS._serialized_start = 3338 - _ANNOTATIONS._serialized_end = 3406 - _BINARYMETADATA._serialized_start = 3409 - _BINARYMETADATA._serialized_end = 3823 - _DELETETABULARDATAREQUEST._serialized_start = 3825 - _DELETETABULARDATAREQUEST._serialized_end = 3945 - _DELETETABULARDATARESPONSE._serialized_start = 3947 - _DELETETABULARDATARESPONSE._serialized_end = 4011 - _DELETEBINARYDATABYFILTERREQUEST._serialized_start = 4014 - _DELETEBINARYDATABYFILTERREQUEST._serialized_end = 4149 - _DELETEBINARYDATABYFILTERRESPONSE._serialized_start = 4151 - _DELETEBINARYDATABYFILTERRESPONSE._serialized_end = 4236 - _DELETEBINARYDATABYIDSREQUEST._serialized_start = 4238 - _DELETEBINARYDATABYIDSREQUEST._serialized_end = 4343 - _DELETEBINARYDATABYIDSRESPONSE._serialized_start = 4345 - _DELETEBINARYDATABYIDSRESPONSE._serialized_end = 4427 - _ADDTAGSTOBINARYDATABYIDSREQUEST._serialized_start = 4430 - _ADDTAGSTOBINARYDATABYIDSREQUEST._serialized_end = 4558 - _ADDTAGSTOBINARYDATABYIDSRESPONSE._serialized_start = 4560 - _ADDTAGSTOBINARYDATABYIDSRESPONSE._serialized_end = 4594 - _ADDTAGSTOBINARYDATABYFILTERREQUEST._serialized_start = 4596 - _ADDTAGSTOBINARYDATABYFILTERREQUEST._serialized_end = 4702 - _ADDTAGSTOBINARYDATABYFILTERRESPONSE._serialized_start = 4704 - _ADDTAGSTOBINARYDATABYFILTERRESPONSE._serialized_end = 4741 - _REMOVETAGSFROMBINARYDATABYIDSREQUEST._serialized_start = 4744 - _REMOVETAGSFROMBINARYDATABYIDSREQUEST._serialized_end = 4877 - _REMOVETAGSFROMBINARYDATABYIDSRESPONSE._serialized_start = 4879 - _REMOVETAGSFROMBINARYDATABYIDSRESPONSE._serialized_end = 4955 - _REMOVETAGSFROMBINARYDATABYFILTERREQUEST._serialized_start = 4957 - _REMOVETAGSFROMBINARYDATABYFILTERREQUEST._serialized_end = 5068 - _REMOVETAGSFROMBINARYDATABYFILTERRESPONSE._serialized_start = 5070 - _REMOVETAGSFROMBINARYDATABYFILTERRESPONSE._serialized_end = 5149 - _TAGSBYFILTERREQUEST._serialized_start = 5151 - _TAGSBYFILTERREQUEST._serialized_end = 5222 - _TAGSBYFILTERRESPONSE._serialized_start = 5224 - _TAGSBYFILTERRESPONSE._serialized_end = 5266 - _ADDBOUNDINGBOXTOIMAGEBYIDREQUEST._serialized_start = 5269 - _ADDBOUNDINGBOXTOIMAGEBYIDREQUEST._serialized_end = 5565 - _ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE._serialized_start = 5567 - _ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE._serialized_end = 5627 - _REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST._serialized_start = 5630 - _REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST._serialized_end = 5766 - _REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE._serialized_start = 5768 - _REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE._serialized_end = 5808 - _BOUNDINGBOXLABELSBYFILTERREQUEST._serialized_start = 5810 - _BOUNDINGBOXLABELSBYFILTERREQUEST._serialized_end = 5894 - _BOUNDINGBOXLABELSBYFILTERRESPONSE._serialized_start = 5896 - _BOUNDINGBOXLABELSBYFILTERRESPONSE._serialized_end = 5955 - _CONFIGUREDATABASEUSERREQUEST._serialized_start = 5957 - _CONFIGUREDATABASEUSERREQUEST._serialized_end = 6056 - _CONFIGUREDATABASEUSERRESPONSE._serialized_start = 6058 - _CONFIGUREDATABASEUSERRESPONSE._serialized_end = 6089 - _GETDATABASECONNECTIONREQUEST._serialized_start = 6091 - _GETDATABASECONNECTIONREQUEST._serialized_end = 6162 - _GETDATABASECONNECTIONRESPONSE._serialized_start = 6164 - _GETDATABASECONNECTIONRESPONSE._serialized_end = 6223 - _ADDBINARYDATATODATASETBYIDSREQUEST._serialized_start = 6225 - _ADDBINARYDATATODATASETBYIDSREQUEST._serialized_end = 6351 - _ADDBINARYDATATODATASETBYIDSRESPONSE._serialized_start = 6353 - _ADDBINARYDATATODATASETBYIDSRESPONSE._serialized_end = 6390 - _REMOVEBINARYDATAFROMDATASETBYIDSREQUEST._serialized_start = 6393 - _REMOVEBINARYDATAFROMDATASETBYIDSREQUEST._serialized_end = 6524 - _REMOVEBINARYDATAFROMDATASETBYIDSRESPONSE._serialized_start = 6526 - _REMOVEBINARYDATAFROMDATASETBYIDSRESPONSE._serialized_end = 6568 - _DATASERVICE._serialized_start = 6793 - _DATASERVICE._serialized_end = 9135 \ No newline at end of file + _TABULARDATABYSQLREQUEST._serialized_start = 2282 + _TABULARDATABYSQLREQUEST._serialized_end = 2377 + _TABULARDATABYSQLRESPONSE._serialized_start = 2379 + _TABULARDATABYSQLRESPONSE._serialized_end = 2450 + _TABULARDATABYMQLREQUEST._serialized_start = 2452 + _TABULARDATABYMQLREQUEST._serialized_end = 2578 + _TABULARDATABYMQLRESPONSE._serialized_start = 2580 + _TABULARDATABYMQLRESPONSE._serialized_end = 2651 + _BINARYDATA._serialized_start = 2653 + _BINARYDATA._serialized_end = 2751 + _BINARYDATABYFILTERREQUEST._serialized_start = 2754 + _BINARYDATABYFILTERREQUEST._serialized_end = 2969 + _BINARYDATABYFILTERRESPONSE._serialized_start = 2972 + _BINARYDATABYFILTERRESPONSE._serialized_end = 3134 + _BINARYID._serialized_start = 3136 + _BINARYID._serialized_end = 3245 + _BINARYDATABYIDSREQUEST._serialized_start = 3248 + _BINARYDATABYIDSREQUEST._serialized_end = 3386 + _BINARYDATABYIDSRESPONSE._serialized_start = 3388 + _BINARYDATABYIDSRESPONSE._serialized_end = 3485 + _BOUNDINGBOX._serialized_start = 3488 + _BOUNDINGBOX._serialized_end = 3707 + _ANNOTATIONS._serialized_start = 3709 + _ANNOTATIONS._serialized_end = 3777 + _BINARYMETADATA._serialized_start = 3780 + _BINARYMETADATA._serialized_end = 4194 + _DELETETABULARDATAREQUEST._serialized_start = 4196 + _DELETETABULARDATAREQUEST._serialized_end = 4316 + _DELETETABULARDATARESPONSE._serialized_start = 4318 + _DELETETABULARDATARESPONSE._serialized_end = 4382 + _DELETEBINARYDATABYFILTERREQUEST._serialized_start = 4385 + _DELETEBINARYDATABYFILTERREQUEST._serialized_end = 4520 + _DELETEBINARYDATABYFILTERRESPONSE._serialized_start = 4522 + _DELETEBINARYDATABYFILTERRESPONSE._serialized_end = 4607 + _DELETEBINARYDATABYIDSREQUEST._serialized_start = 4609 + _DELETEBINARYDATABYIDSREQUEST._serialized_end = 4714 + _DELETEBINARYDATABYIDSRESPONSE._serialized_start = 4716 + _DELETEBINARYDATABYIDSRESPONSE._serialized_end = 4798 + _ADDTAGSTOBINARYDATABYIDSREQUEST._serialized_start = 4801 + _ADDTAGSTOBINARYDATABYIDSREQUEST._serialized_end = 4929 + _ADDTAGSTOBINARYDATABYIDSRESPONSE._serialized_start = 4931 + _ADDTAGSTOBINARYDATABYIDSRESPONSE._serialized_end = 4965 + _ADDTAGSTOBINARYDATABYFILTERREQUEST._serialized_start = 4967 + _ADDTAGSTOBINARYDATABYFILTERREQUEST._serialized_end = 5073 + _ADDTAGSTOBINARYDATABYFILTERRESPONSE._serialized_start = 5075 + _ADDTAGSTOBINARYDATABYFILTERRESPONSE._serialized_end = 5112 + _REMOVETAGSFROMBINARYDATABYIDSREQUEST._serialized_start = 5115 + _REMOVETAGSFROMBINARYDATABYIDSREQUEST._serialized_end = 5248 + _REMOVETAGSFROMBINARYDATABYIDSRESPONSE._serialized_start = 5250 + _REMOVETAGSFROMBINARYDATABYIDSRESPONSE._serialized_end = 5326 + _REMOVETAGSFROMBINARYDATABYFILTERREQUEST._serialized_start = 5328 + _REMOVETAGSFROMBINARYDATABYFILTERREQUEST._serialized_end = 5439 + _REMOVETAGSFROMBINARYDATABYFILTERRESPONSE._serialized_start = 5441 + _REMOVETAGSFROMBINARYDATABYFILTERRESPONSE._serialized_end = 5520 + _TAGSBYFILTERREQUEST._serialized_start = 5522 + _TAGSBYFILTERREQUEST._serialized_end = 5593 + _TAGSBYFILTERRESPONSE._serialized_start = 5595 + _TAGSBYFILTERRESPONSE._serialized_end = 5637 + _ADDBOUNDINGBOXTOIMAGEBYIDREQUEST._serialized_start = 5640 + _ADDBOUNDINGBOXTOIMAGEBYIDREQUEST._serialized_end = 5936 + _ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE._serialized_start = 5938 + _ADDBOUNDINGBOXTOIMAGEBYIDRESPONSE._serialized_end = 5998 + _REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST._serialized_start = 6001 + _REMOVEBOUNDINGBOXFROMIMAGEBYIDREQUEST._serialized_end = 6137 + _REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE._serialized_start = 6139 + _REMOVEBOUNDINGBOXFROMIMAGEBYIDRESPONSE._serialized_end = 6179 + _BOUNDINGBOXLABELSBYFILTERREQUEST._serialized_start = 6181 + _BOUNDINGBOXLABELSBYFILTERREQUEST._serialized_end = 6265 + _BOUNDINGBOXLABELSBYFILTERRESPONSE._serialized_start = 6267 + _BOUNDINGBOXLABELSBYFILTERRESPONSE._serialized_end = 6326 + _CONFIGUREDATABASEUSERREQUEST._serialized_start = 6328 + _CONFIGUREDATABASEUSERREQUEST._serialized_end = 6427 + _CONFIGUREDATABASEUSERRESPONSE._serialized_start = 6429 + _CONFIGUREDATABASEUSERRESPONSE._serialized_end = 6460 + _GETDATABASECONNECTIONREQUEST._serialized_start = 6462 + _GETDATABASECONNECTIONREQUEST._serialized_end = 6533 + _GETDATABASECONNECTIONRESPONSE._serialized_start = 6536 + _GETDATABASECONNECTIONRESPONSE._serialized_end = 6672 + _ADDBINARYDATATODATASETBYIDSREQUEST._serialized_start = 6674 + _ADDBINARYDATATODATASETBYIDSREQUEST._serialized_end = 6800 + _ADDBINARYDATATODATASETBYIDSRESPONSE._serialized_start = 6802 + _ADDBINARYDATATODATASETBYIDSRESPONSE._serialized_end = 6839 + _REMOVEBINARYDATAFROMDATASETBYIDSREQUEST._serialized_start = 6842 + _REMOVEBINARYDATAFROMDATASETBYIDSREQUEST._serialized_end = 6973 + _REMOVEBINARYDATAFROMDATASETBYIDSRESPONSE._serialized_start = 6975 + _REMOVEBINARYDATAFROMDATASETBYIDSRESPONSE._serialized_end = 7017 + _DATASERVICE._serialized_start = 7242 + _DATASERVICE._serialized_end = 9798 \ 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 91ce4a8f4..2892a9123 100644 --- a/src/viam/gen/app/data/v1/data_pb2.pyi +++ b/src/viam/gen/app/data/v1/data_pb2.pyi @@ -349,6 +349,82 @@ class TabularData(google.protobuf.message.Message): ... global___TabularData = TabularData +@typing_extensions.final +class TabularDataBySQLRequest(google.protobuf.message.Message): + """TabularDataBySQLRequest requests tabular data using a SQL query.""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ORGANIZATION_ID_FIELD_NUMBER: builtins.int + SQL_QUERY_FIELD_NUMBER: builtins.int + organization_id: builtins.str + sql_query: builtins.str + 'sql_query accepts any valid SQL SELECT statement. Tabular data is held in a database\n called "sensorData" and a table called readings, so queries should select from "readings"\n or "sensorData.readings".\n ' + + def __init__(self, *, organization_id: builtins.str=..., sql_query: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['organization_id', b'organization_id', 'sql_query', b'sql_query']) -> None: + ... +global___TabularDataBySQLRequest = TabularDataBySQLRequest + +@typing_extensions.final +class TabularDataBySQLResponse(google.protobuf.message.Message): + """TabularDataBySQLResponse provides unified tabular data and metadata, queried with SQL.""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + DATA_FIELD_NUMBER: builtins.int + + @property + def data(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.struct_pb2.Struct]: + ... + + def __init__(self, *, data: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['data', b'data']) -> None: + ... +global___TabularDataBySQLResponse = TabularDataBySQLResponse + +@typing_extensions.final +class TabularDataByMQLRequest(google.protobuf.message.Message): + """TabularDataByMQLRequest requests tabular data using an MQL query.""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ORGANIZATION_ID_FIELD_NUMBER: builtins.int + MQL_QUERY_FIELD_NUMBER: builtins.int + MQL_BINARY_FIELD_NUMBER: builtins.int + organization_id: builtins.str + mql_query: builtins.str + 'mql_query is deprecated.' + + @property + def mql_binary(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.bytes]: + """mql_binary accepts a MongoDB aggregation pipeline as a list of BSON documents, where each + document is one stage in the pipeline. The pipeline is run on the "sensorData.readings" + namespace, which holds the Viam organization's tabular data. + """ + + def __init__(self, *, organization_id: builtins.str=..., mql_query: builtins.str=..., mql_binary: collections.abc.Iterable[builtins.bytes] | None=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['mql_binary', b'mql_binary', 'mql_query', b'mql_query', 'organization_id', b'organization_id']) -> None: + ... +global___TabularDataByMQLRequest = TabularDataByMQLRequest + +@typing_extensions.final +class TabularDataByMQLResponse(google.protobuf.message.Message): + """TabularDataByMQLResponse provides unified tabular data and metadata, queried with MQL.""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + DATA_FIELD_NUMBER: builtins.int + + @property + def data(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[google.protobuf.struct_pb2.Struct]: + ... + + def __init__(self, *, data: collections.abc.Iterable[google.protobuf.struct_pb2.Struct] | None=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['data', b'data']) -> None: + ... +global___TabularDataByMQLResponse = TabularDataByMQLResponse + @typing_extensions.final class BinaryData(google.protobuf.message.Message): """BinaryData contains data and metadata associated with binary data.""" @@ -998,15 +1074,22 @@ global___GetDatabaseConnectionRequest = GetDatabaseConnectionRequest @typing_extensions.final class GetDatabaseConnectionResponse(google.protobuf.message.Message): - """GetDatabaseConnectionResponse returns the database connection hostname endpoint.""" + """GetDatabaseConnectionResponse returns the database connection hostname endpoint. It also returns + a URI that can be used to connect to the database instance through MongoDB clients, as well as + information on whether the Viam organization has a database user configured. + """ DESCRIPTOR: google.protobuf.descriptor.Descriptor HOSTNAME_FIELD_NUMBER: builtins.int + MONGODB_URI_FIELD_NUMBER: builtins.int + HAS_DATABASE_USER_FIELD_NUMBER: builtins.int hostname: builtins.str + mongodb_uri: builtins.str + has_database_user: builtins.bool - def __init__(self, *, hostname: builtins.str=...) -> None: + def __init__(self, *, hostname: builtins.str=..., mongodb_uri: builtins.str=..., has_database_user: builtins.bool=...) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal['hostname', b'hostname']) -> None: + def ClearField(self, field_name: typing_extensions.Literal['has_database_user', b'has_database_user', 'hostname', b'hostname', 'mongodb_uri', b'mongodb_uri']) -> None: ... global___GetDatabaseConnectionResponse = GetDatabaseConnectionResponse diff --git a/src/viam/gen/app/mltraining/v1/ml_training_grpc.py b/src/viam/gen/app/mltraining/v1/ml_training_grpc.py index 0a8490524..2ac1a2f04 100644 --- a/src/viam/gen/app/mltraining/v1/ml_training_grpc.py +++ b/src/viam/gen/app/mltraining/v1/ml_training_grpc.py @@ -4,10 +4,10 @@ import grpclib.client if typing.TYPE_CHECKING: import grpclib.server -from .... import app import google.protobuf.timestamp_pb2 import google.rpc.status_pb2 from .... import tagger +from .... import app class MLTrainingServiceBase(abc.ABC): @@ -27,8 +27,12 @@ async def ListTrainingJobs(self, stream: 'grpclib.server.Stream[app.mltraining.v async def CancelTrainingJob(self, stream: 'grpclib.server.Stream[app.mltraining.v1.ml_training_pb2.CancelTrainingJobRequest, app.mltraining.v1.ml_training_pb2.CancelTrainingJobResponse]') -> None: pass + @abc.abstractmethod + async def DeleteCompletedTrainingJob(self, stream: 'grpclib.server.Stream[app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobRequest, app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobResponse]') -> None: + pass + def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]: - return {'/viam.app.mltraining.v1.MLTrainingService/SubmitTrainingJob': grpclib.const.Handler(self.SubmitTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.SubmitTrainingJobRequest, app.mltraining.v1.ml_training_pb2.SubmitTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/GetTrainingJob': grpclib.const.Handler(self.GetTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.GetTrainingJobRequest, app.mltraining.v1.ml_training_pb2.GetTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/ListTrainingJobs': grpclib.const.Handler(self.ListTrainingJobs, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.ListTrainingJobsRequest, app.mltraining.v1.ml_training_pb2.ListTrainingJobsResponse), '/viam.app.mltraining.v1.MLTrainingService/CancelTrainingJob': grpclib.const.Handler(self.CancelTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.CancelTrainingJobRequest, app.mltraining.v1.ml_training_pb2.CancelTrainingJobResponse)} + return {'/viam.app.mltraining.v1.MLTrainingService/SubmitTrainingJob': grpclib.const.Handler(self.SubmitTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.SubmitTrainingJobRequest, app.mltraining.v1.ml_training_pb2.SubmitTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/GetTrainingJob': grpclib.const.Handler(self.GetTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.GetTrainingJobRequest, app.mltraining.v1.ml_training_pb2.GetTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/ListTrainingJobs': grpclib.const.Handler(self.ListTrainingJobs, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.ListTrainingJobsRequest, app.mltraining.v1.ml_training_pb2.ListTrainingJobsResponse), '/viam.app.mltraining.v1.MLTrainingService/CancelTrainingJob': grpclib.const.Handler(self.CancelTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.CancelTrainingJobRequest, app.mltraining.v1.ml_training_pb2.CancelTrainingJobResponse), '/viam.app.mltraining.v1.MLTrainingService/DeleteCompletedTrainingJob': grpclib.const.Handler(self.DeleteCompletedTrainingJob, grpclib.const.Cardinality.UNARY_UNARY, app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobRequest, app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobResponse)} class MLTrainingServiceStub: @@ -36,4 +40,5 @@ def __init__(self, channel: grpclib.client.Channel) -> None: self.SubmitTrainingJob = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.mltraining.v1.MLTrainingService/SubmitTrainingJob', app.mltraining.v1.ml_training_pb2.SubmitTrainingJobRequest, app.mltraining.v1.ml_training_pb2.SubmitTrainingJobResponse) self.GetTrainingJob = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.mltraining.v1.MLTrainingService/GetTrainingJob', app.mltraining.v1.ml_training_pb2.GetTrainingJobRequest, app.mltraining.v1.ml_training_pb2.GetTrainingJobResponse) self.ListTrainingJobs = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.mltraining.v1.MLTrainingService/ListTrainingJobs', app.mltraining.v1.ml_training_pb2.ListTrainingJobsRequest, app.mltraining.v1.ml_training_pb2.ListTrainingJobsResponse) - self.CancelTrainingJob = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.mltraining.v1.MLTrainingService/CancelTrainingJob', app.mltraining.v1.ml_training_pb2.CancelTrainingJobRequest, app.mltraining.v1.ml_training_pb2.CancelTrainingJobResponse) \ No newline at end of file + self.CancelTrainingJob = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.mltraining.v1.MLTrainingService/CancelTrainingJob', app.mltraining.v1.ml_training_pb2.CancelTrainingJobRequest, app.mltraining.v1.ml_training_pb2.CancelTrainingJobResponse) + self.DeleteCompletedTrainingJob = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.mltraining.v1.MLTrainingService/DeleteCompletedTrainingJob', app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobRequest, app.mltraining.v1.ml_training_pb2.DeleteCompletedTrainingJobResponse) \ No newline at end of file diff --git a/src/viam/gen/app/mltraining/v1/ml_training_pb2.py b/src/viam/gen/app/mltraining/v1/ml_training_pb2.py index 4f21ac52a..4ec2ac393 100644 --- a/src/viam/gen/app/mltraining/v1/ml_training_pb2.py +++ b/src/viam/gen/app/mltraining/v1/ml_training_pb2.py @@ -4,18 +4,15 @@ from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database _sym_db = _symbol_database.Default() -from ....app.data.v1 import data_pb2 as app_dot_data_dot_v1_dot_data__pb2 from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2 from google.rpc import status_pb2 as google_dot_rpc_dot_status__pb2 from ....tagger.v1 import tagger_pb2 as tagger_dot_v1_dot_tagger__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#app/mltraining/v1/ml_training.proto\x12\x16viam.app.mltraining.v1\x1a\x16app/data/v1/data.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16tagger/v1/tagger.proto"\xd0\x04\n\x18SubmitTrainingJobRequest\x12R\n\x06filter\x18\x01 \x01(\x0b2\x18.viam.app.data.v1.FilterB \x9a\x84\x9e\x03\x1bbson:"filter" json:"filter"R\x06filter\x12G\n\ndataset_id\x18\x07 \x01(\tB(\x9a\x84\x9e\x03#bson:"dataset_id" json:"dataset_id"R\tdatasetId\x12[\n\x0forganization_id\x18\x02 \x01(\tB2\x9a\x84\x9e\x03-bson:"organization_id" json:"organization_id"R\x0eorganizationId\x12G\n\nmodel_name\x18\x03 \x01(\tB(\x9a\x84\x9e\x03#bson:"model_name" json:"model_name"R\tmodelName\x12S\n\rmodel_version\x18\x04 \x01(\tB.\x9a\x84\x9e\x03)bson:"model_version" json:"model_version"R\x0cmodelVersion\x12j\n\nmodel_type\x18\x05 \x01(\x0e2!.viam.app.mltraining.v1.ModelTypeB(\x9a\x84\x9e\x03#bson:"model_type" json:"model_type"R\tmodelType\x120\n\x04tags\x18\x06 \x03(\tB\x1c\x9a\x84\x9e\x03\x17bson:"tags" json:"tags"R\x04tags"+\n\x19SubmitTrainingJobResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\'\n\x15GetTrainingJobRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"a\n\x16GetTrainingJobResponse\x12G\n\x08metadata\x18\x01 \x01(\x0b2+.viam.app.mltraining.v1.TrainingJobMetadataR\x08metadata"\x82\x01\n\x17ListTrainingJobsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12>\n\x06status\x18\x02 \x01(\x0e2&.viam.app.mltraining.v1.TrainingStatusR\x06status"[\n\x18ListTrainingJobsResponse\x12?\n\x04jobs\x18\x01 \x03(\x0b2+.viam.app.mltraining.v1.TrainingJobMetadataR\x04jobs"\xc5\x05\n\x13TrainingJobMetadata\x12n\n\x07request\x18\x01 \x01(\x0b20.viam.app.mltraining.v1.SubmitTrainingJobRequestB"\x9a\x84\x9e\x03\x1dbson:"request" json:"request"R\x07request\x12`\n\x06status\x18\x02 \x01(\x0e2&.viam.app.mltraining.v1.TrainingStatusB \x9a\x84\x9e\x03\x1bbson:"status" json:"status"R\x06status\x12c\n\ncreated_on\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampB(\x9a\x84\x9e\x03#bson:"created_on" json:"created_on"R\tcreatedOn\x12o\n\rlast_modified\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampB.\x9a\x84\x9e\x03)bson:"last_modified" json:"last_modified"R\x0clastModified\x12Z\n\x0fsynced_model_id\x18\x05 \x01(\tB2\x9a\x84\x9e\x03-bson:"synced_model_id" json:"synced_model_id"R\rsyncedModelId\x123\n\x02id\x18\x07 \x01(\tB#\x9a\x84\x9e\x03\x1ebson:"_id" json:"id,omitempty"R\x02id\x12c\n\x0cerror_status\x18\x08 \x01(\x0b2\x12.google.rpc.StatusB,\x9a\x84\x9e\x03\'bson:"error_status" json:"error_status"R\x0berrorStatusJ\x04\x08\x06\x10\x07R\nuser_email"*\n\x18CancelTrainingJobRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x1b\n\x19CancelTrainingJobResponse*\x9f\x01\n\tModelType\x12\x1a\n\x16MODEL_TYPE_UNSPECIFIED\x10\x00\x12*\n&MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION\x10\x01\x12)\n%MODEL_TYPE_MULTI_LABEL_CLASSIFICATION\x10\x02\x12\x1f\n\x1bMODEL_TYPE_OBJECT_DETECTION\x10\x03*\xe7\x01\n\x0eTrainingStatus\x12\x1f\n\x1bTRAINING_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17TRAINING_STATUS_PENDING\x10\x01\x12\x1f\n\x1bTRAINING_STATUS_IN_PROGRESS\x10\x02\x12\x1d\n\x19TRAINING_STATUS_COMPLETED\x10\x03\x12\x1a\n\x16TRAINING_STATUS_FAILED\x10\x04\x12\x1c\n\x18TRAINING_STATUS_CANCELED\x10\x05\x12\x1d\n\x19TRAINING_STATUS_CANCELING\x10\x062\xef\x03\n\x11MLTrainingService\x12x\n\x11SubmitTrainingJob\x120.viam.app.mltraining.v1.SubmitTrainingJobRequest\x1a1.viam.app.mltraining.v1.SubmitTrainingJobResponse\x12o\n\x0eGetTrainingJob\x12-.viam.app.mltraining.v1.GetTrainingJobRequest\x1a..viam.app.mltraining.v1.GetTrainingJobResponse\x12u\n\x10ListTrainingJobs\x12/.viam.app.mltraining.v1.ListTrainingJobsRequest\x1a0.viam.app.mltraining.v1.ListTrainingJobsResponse\x12x\n\x11CancelTrainingJob\x120.viam.app.mltraining.v1.CancelTrainingJobRequest\x1a1.viam.app.mltraining.v1.CancelTrainingJobResponseB#Z!go.viam.com/api/app/mltraining/v1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#app/mltraining/v1/ml_training.proto\x12\x16viam.app.mltraining.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x17google/rpc/status.proto\x1a\x16tagger/v1/tagger.proto"\x8a\x04\n\x18SubmitTrainingJobRequest\x12G\n\ndataset_id\x18\x07 \x01(\tB(\x9a\x84\x9e\x03#bson:"dataset_id" json:"dataset_id"R\tdatasetId\x12[\n\x0forganization_id\x18\x02 \x01(\tB2\x9a\x84\x9e\x03-bson:"organization_id" json:"organization_id"R\x0eorganizationId\x12G\n\nmodel_name\x18\x03 \x01(\tB(\x9a\x84\x9e\x03#bson:"model_name" json:"model_name"R\tmodelName\x12S\n\rmodel_version\x18\x04 \x01(\tB.\x9a\x84\x9e\x03)bson:"model_version" json:"model_version"R\x0cmodelVersion\x12j\n\nmodel_type\x18\x05 \x01(\x0e2!.viam.app.mltraining.v1.ModelTypeB(\x9a\x84\x9e\x03#bson:"model_type" json:"model_type"R\tmodelType\x120\n\x04tags\x18\x06 \x03(\tB\x1c\x9a\x84\x9e\x03\x17bson:"tags" json:"tags"R\x04tagsJ\x04\x08\x01\x10\x02R\x06filter"+\n\x19SubmitTrainingJobResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\'\n\x15GetTrainingJobRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"a\n\x16GetTrainingJobResponse\x12G\n\x08metadata\x18\x01 \x01(\x0b2+.viam.app.mltraining.v1.TrainingJobMetadataR\x08metadata"\x82\x01\n\x17ListTrainingJobsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12>\n\x06status\x18\x02 \x01(\x0e2&.viam.app.mltraining.v1.TrainingStatusR\x06status"[\n\x18ListTrainingJobsResponse\x12?\n\x04jobs\x18\x01 \x03(\x0b2+.viam.app.mltraining.v1.TrainingJobMetadataR\x04jobs"\xb7\x07\n\x13TrainingJobMetadata\x12n\n\x07request\x18\x01 \x01(\x0b20.viam.app.mltraining.v1.SubmitTrainingJobRequestB"\x9a\x84\x9e\x03\x1dbson:"request" json:"request"R\x07request\x12`\n\x06status\x18\x02 \x01(\x0e2&.viam.app.mltraining.v1.TrainingStatusB \x9a\x84\x9e\x03\x1bbson:"status" json:"status"R\x06status\x12c\n\ncreated_on\x18\x03 \x01(\x0b2\x1a.google.protobuf.TimestampB(\x9a\x84\x9e\x03#bson:"created_on" json:"created_on"R\tcreatedOn\x12o\n\rlast_modified\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampB.\x9a\x84\x9e\x03)bson:"last_modified" json:"last_modified"R\x0clastModified\x12Z\n\x0fsynced_model_id\x18\x05 \x01(\tB2\x9a\x84\x9e\x03-bson:"synced_model_id" json:"synced_model_id"R\rsyncedModelId\x123\n\x02id\x18\x07 \x01(\tB#\x9a\x84\x9e\x03\x1ebson:"_id" json:"id,omitempty"R\x02id\x12c\n\x0cerror_status\x18\x08 \x01(\x0b2\x12.google.rpc.StatusB,\x9a\x84\x9e\x03\'bson:"error_status" json:"error_status"R\x0berrorStatus\x12{\n\x10training_started\x18\t \x01(\x0b2\x1a.google.protobuf.TimestampB4\x9a\x84\x9e\x03/bson:"training_started" json:"training_started"R\x0ftrainingStarted\x12s\n\x0etraining_ended\x18\n \x01(\x0b2\x1a.google.protobuf.TimestampB0\x9a\x84\x9e\x03+bson:"training_ended" json:"training_ended"R\rtrainingEndedJ\x04\x08\x06\x10\x07R\nuser_email"*\n\x18CancelTrainingJobRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x1b\n\x19CancelTrainingJobResponse"3\n!DeleteCompletedTrainingJobRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"$\n"DeleteCompletedTrainingJobResponse*\x9f\x01\n\tModelType\x12\x1a\n\x16MODEL_TYPE_UNSPECIFIED\x10\x00\x12*\n&MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION\x10\x01\x12)\n%MODEL_TYPE_MULTI_LABEL_CLASSIFICATION\x10\x02\x12\x1f\n\x1bMODEL_TYPE_OBJECT_DETECTION\x10\x03*\xe7\x01\n\x0eTrainingStatus\x12\x1f\n\x1bTRAINING_STATUS_UNSPECIFIED\x10\x00\x12\x1b\n\x17TRAINING_STATUS_PENDING\x10\x01\x12\x1f\n\x1bTRAINING_STATUS_IN_PROGRESS\x10\x02\x12\x1d\n\x19TRAINING_STATUS_COMPLETED\x10\x03\x12\x1a\n\x16TRAINING_STATUS_FAILED\x10\x04\x12\x1c\n\x18TRAINING_STATUS_CANCELED\x10\x05\x12\x1d\n\x19TRAINING_STATUS_CANCELING\x10\x062\x85\x05\n\x11MLTrainingService\x12x\n\x11SubmitTrainingJob\x120.viam.app.mltraining.v1.SubmitTrainingJobRequest\x1a1.viam.app.mltraining.v1.SubmitTrainingJobResponse\x12o\n\x0eGetTrainingJob\x12-.viam.app.mltraining.v1.GetTrainingJobRequest\x1a..viam.app.mltraining.v1.GetTrainingJobResponse\x12u\n\x10ListTrainingJobs\x12/.viam.app.mltraining.v1.ListTrainingJobsRequest\x1a0.viam.app.mltraining.v1.ListTrainingJobsResponse\x12x\n\x11CancelTrainingJob\x120.viam.app.mltraining.v1.CancelTrainingJobRequest\x1a1.viam.app.mltraining.v1.CancelTrainingJobResponse\x12\x93\x01\n\x1aDeleteCompletedTrainingJob\x129.viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest\x1a:.viam.app.mltraining.v1.DeleteCompletedTrainingJobResponseB#Z!go.viam.com/api/app/mltraining/v1b\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.mltraining.v1.ml_training_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z!go.viam.com/api/app/mltraining/v1' - _SUBMITTRAININGJOBREQUEST.fields_by_name['filter']._options = None - _SUBMITTRAININGJOBREQUEST.fields_by_name['filter']._serialized_options = b'\x9a\x84\x9e\x03\x1bbson:"filter" json:"filter"' _SUBMITTRAININGJOBREQUEST.fields_by_name['dataset_id']._options = None _SUBMITTRAININGJOBREQUEST.fields_by_name['dataset_id']._serialized_options = b'\x9a\x84\x9e\x03#bson:"dataset_id" json:"dataset_id"' _SUBMITTRAININGJOBREQUEST.fields_by_name['organization_id']._options = None @@ -42,27 +39,35 @@ _TRAININGJOBMETADATA.fields_by_name['id']._serialized_options = b'\x9a\x84\x9e\x03\x1ebson:"_id" json:"id,omitempty"' _TRAININGJOBMETADATA.fields_by_name['error_status']._options = None _TRAININGJOBMETADATA.fields_by_name['error_status']._serialized_options = b'\x9a\x84\x9e\x03\'bson:"error_status" json:"error_status"' - _MODELTYPE._serialized_start = 1961 - _MODELTYPE._serialized_end = 2120 - _TRAININGSTATUS._serialized_start = 2123 - _TRAININGSTATUS._serialized_end = 2354 - _SUBMITTRAININGJOBREQUEST._serialized_start = 170 - _SUBMITTRAININGJOBREQUEST._serialized_end = 762 - _SUBMITTRAININGJOBRESPONSE._serialized_start = 764 - _SUBMITTRAININGJOBRESPONSE._serialized_end = 807 - _GETTRAININGJOBREQUEST._serialized_start = 809 - _GETTRAININGJOBREQUEST._serialized_end = 848 - _GETTRAININGJOBRESPONSE._serialized_start = 850 - _GETTRAININGJOBRESPONSE._serialized_end = 947 - _LISTTRAININGJOBSREQUEST._serialized_start = 950 - _LISTTRAININGJOBSREQUEST._serialized_end = 1080 - _LISTTRAININGJOBSRESPONSE._serialized_start = 1082 - _LISTTRAININGJOBSRESPONSE._serialized_end = 1173 - _TRAININGJOBMETADATA._serialized_start = 1176 - _TRAININGJOBMETADATA._serialized_end = 1885 - _CANCELTRAININGJOBREQUEST._serialized_start = 1887 - _CANCELTRAININGJOBREQUEST._serialized_end = 1929 - _CANCELTRAININGJOBRESPONSE._serialized_start = 1931 - _CANCELTRAININGJOBRESPONSE._serialized_end = 1958 - _MLTRAININGSERVICE._serialized_start = 2357 - _MLTRAININGSERVICE._serialized_end = 2852 \ No newline at end of file + _TRAININGJOBMETADATA.fields_by_name['training_started']._options = None + _TRAININGJOBMETADATA.fields_by_name['training_started']._serialized_options = b'\x9a\x84\x9e\x03/bson:"training_started" json:"training_started"' + _TRAININGJOBMETADATA.fields_by_name['training_ended']._options = None + _TRAININGJOBMETADATA.fields_by_name['training_ended']._serialized_options = b'\x9a\x84\x9e\x03+bson:"training_ended" json:"training_ended"' + _MODELTYPE._serialized_start = 2200 + _MODELTYPE._serialized_end = 2359 + _TRAININGSTATUS._serialized_start = 2362 + _TRAININGSTATUS._serialized_end = 2593 + _SUBMITTRAININGJOBREQUEST._serialized_start = 146 + _SUBMITTRAININGJOBREQUEST._serialized_end = 668 + _SUBMITTRAININGJOBRESPONSE._serialized_start = 670 + _SUBMITTRAININGJOBRESPONSE._serialized_end = 713 + _GETTRAININGJOBREQUEST._serialized_start = 715 + _GETTRAININGJOBREQUEST._serialized_end = 754 + _GETTRAININGJOBRESPONSE._serialized_start = 756 + _GETTRAININGJOBRESPONSE._serialized_end = 853 + _LISTTRAININGJOBSREQUEST._serialized_start = 856 + _LISTTRAININGJOBSREQUEST._serialized_end = 986 + _LISTTRAININGJOBSRESPONSE._serialized_start = 988 + _LISTTRAININGJOBSRESPONSE._serialized_end = 1079 + _TRAININGJOBMETADATA._serialized_start = 1082 + _TRAININGJOBMETADATA._serialized_end = 2033 + _CANCELTRAININGJOBREQUEST._serialized_start = 2035 + _CANCELTRAININGJOBREQUEST._serialized_end = 2077 + _CANCELTRAININGJOBRESPONSE._serialized_start = 2079 + _CANCELTRAININGJOBRESPONSE._serialized_end = 2106 + _DELETECOMPLETEDTRAININGJOBREQUEST._serialized_start = 2108 + _DELETECOMPLETEDTRAININGJOBREQUEST._serialized_end = 2159 + _DELETECOMPLETEDTRAININGJOBRESPONSE._serialized_start = 2161 + _DELETECOMPLETEDTRAININGJOBRESPONSE._serialized_end = 2197 + _MLTRAININGSERVICE._serialized_start = 2596 + _MLTRAININGSERVICE._serialized_end = 3241 \ No newline at end of file diff --git a/src/viam/gen/app/mltraining/v1/ml_training_pb2.pyi b/src/viam/gen/app/mltraining/v1/ml_training_pb2.pyi index fcecf7adf..73c8cf6c8 100644 --- a/src/viam/gen/app/mltraining/v1/ml_training_pb2.pyi +++ b/src/viam/gen/app/mltraining/v1/ml_training_pb2.pyi @@ -2,7 +2,6 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ -from .... import app import builtins import collections.abc import google.protobuf.descriptor @@ -66,17 +65,12 @@ global___TrainingStatus = TrainingStatus @typing_extensions.final class SubmitTrainingJobRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor - FILTER_FIELD_NUMBER: builtins.int DATASET_ID_FIELD_NUMBER: builtins.int ORGANIZATION_ID_FIELD_NUMBER: builtins.int MODEL_NAME_FIELD_NUMBER: builtins.int MODEL_VERSION_FIELD_NUMBER: builtins.int MODEL_TYPE_FIELD_NUMBER: builtins.int TAGS_FIELD_NUMBER: builtins.int - - @property - def filter(self) -> app.data.v1.data_pb2.Filter: - ... dataset_id: builtins.str organization_id: builtins.str model_name: builtins.str @@ -87,13 +81,10 @@ class SubmitTrainingJobRequest(google.protobuf.message.Message): def tags(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ... - def __init__(self, *, filter: app.data.v1.data_pb2.Filter | None=..., dataset_id: builtins.str=..., organization_id: builtins.str=..., model_name: builtins.str=..., model_version: builtins.str=..., model_type: global___ModelType.ValueType=..., tags: collections.abc.Iterable[builtins.str] | None=...) -> None: + def __init__(self, *, dataset_id: builtins.str=..., organization_id: builtins.str=..., model_name: builtins.str=..., model_version: builtins.str=..., model_type: global___ModelType.ValueType=..., tags: collections.abc.Iterable[builtins.str] | None=...) -> None: ... - def HasField(self, field_name: typing_extensions.Literal['filter', b'filter']) -> builtins.bool: - ... - - def ClearField(self, field_name: typing_extensions.Literal['dataset_id', b'dataset_id', 'filter', b'filter', 'model_name', b'model_name', 'model_type', b'model_type', 'model_version', b'model_version', 'organization_id', b'organization_id', 'tags', b'tags']) -> None: + def ClearField(self, field_name: typing_extensions.Literal['dataset_id', b'dataset_id', 'model_name', b'model_name', 'model_type', b'model_type', 'model_version', b'model_version', 'organization_id', b'organization_id', 'tags', b'tags']) -> None: ... global___SubmitTrainingJobRequest = SubmitTrainingJobRequest @@ -183,6 +174,8 @@ class TrainingJobMetadata(google.protobuf.message.Message): SYNCED_MODEL_ID_FIELD_NUMBER: builtins.int ID_FIELD_NUMBER: builtins.int ERROR_STATUS_FIELD_NUMBER: builtins.int + TRAINING_STARTED_FIELD_NUMBER: builtins.int + TRAINING_ENDED_FIELD_NUMBER: builtins.int @property def request(self) -> global___SubmitTrainingJobRequest: @@ -203,13 +196,21 @@ class TrainingJobMetadata(google.protobuf.message.Message): def error_status(self) -> google.rpc.status_pb2.Status: ... - def __init__(self, *, request: global___SubmitTrainingJobRequest | None=..., status: global___TrainingStatus.ValueType=..., created_on: google.protobuf.timestamp_pb2.Timestamp | None=..., last_modified: google.protobuf.timestamp_pb2.Timestamp | None=..., synced_model_id: builtins.str=..., id: builtins.str=..., error_status: google.rpc.status_pb2.Status | None=...) -> None: + @property + def training_started(self) -> google.protobuf.timestamp_pb2.Timestamp: + ... + + @property + def training_ended(self) -> google.protobuf.timestamp_pb2.Timestamp: + ... + + def __init__(self, *, request: global___SubmitTrainingJobRequest | None=..., status: global___TrainingStatus.ValueType=..., created_on: google.protobuf.timestamp_pb2.Timestamp | None=..., last_modified: google.protobuf.timestamp_pb2.Timestamp | None=..., synced_model_id: builtins.str=..., id: builtins.str=..., error_status: google.rpc.status_pb2.Status | None=..., training_started: google.protobuf.timestamp_pb2.Timestamp | None=..., training_ended: google.protobuf.timestamp_pb2.Timestamp | None=...) -> None: ... - def HasField(self, field_name: typing_extensions.Literal['created_on', b'created_on', 'error_status', b'error_status', 'last_modified', b'last_modified', 'request', b'request']) -> builtins.bool: + def HasField(self, field_name: typing_extensions.Literal['created_on', b'created_on', 'error_status', b'error_status', 'last_modified', b'last_modified', 'request', b'request', 'training_ended', b'training_ended', 'training_started', b'training_started']) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal['created_on', b'created_on', 'error_status', b'error_status', 'id', b'id', 'last_modified', b'last_modified', 'request', b'request', 'status', b'status', 'synced_model_id', b'synced_model_id']) -> None: + def ClearField(self, field_name: typing_extensions.Literal['created_on', b'created_on', 'error_status', b'error_status', 'id', b'id', 'last_modified', b'last_modified', 'request', b'request', 'status', b'status', 'synced_model_id', b'synced_model_id', 'training_ended', b'training_ended', 'training_started', b'training_started']) -> None: ... global___TrainingJobMetadata = TrainingJobMetadata @@ -232,4 +233,25 @@ class CancelTrainingJobResponse(google.protobuf.message.Message): def __init__(self) -> None: ... -global___CancelTrainingJobResponse = CancelTrainingJobResponse \ No newline at end of file +global___CancelTrainingJobResponse = CancelTrainingJobResponse + +@typing_extensions.final +class DeleteCompletedTrainingJobRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ID_FIELD_NUMBER: builtins.int + id: builtins.str + + def __init__(self, *, id: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['id', b'id']) -> None: + ... +global___DeleteCompletedTrainingJobRequest = DeleteCompletedTrainingJobRequest + +@typing_extensions.final +class DeleteCompletedTrainingJobResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__(self) -> None: + ... +global___DeleteCompletedTrainingJobResponse = DeleteCompletedTrainingJobResponse \ No newline at end of file diff --git a/src/viam/gen/app/v1/app_grpc.py b/src/viam/gen/app/v1/app_grpc.py index c464c07de..8560c3405 100644 --- a/src/viam/gen/app/v1/app_grpc.py +++ b/src/viam/gen/app/v1/app_grpc.py @@ -4,10 +4,10 @@ import grpclib.client if typing.TYPE_CHECKING: import grpclib.server +from ... import app import google.protobuf.struct_pb2 import google.protobuf.timestamp_pb2 from ... import tagger -from ... import app class AppServiceBase(abc.ABC): @@ -23,6 +23,10 @@ async def CreateOrganization(self, stream: 'grpclib.server.Stream[app.v1.app_pb2 async def ListOrganizations(self, stream: 'grpclib.server.Stream[app.v1.app_pb2.ListOrganizationsRequest, app.v1.app_pb2.ListOrganizationsResponse]') -> None: pass + @abc.abstractmethod + async def GetOrganizationsWithAccessToLocation(self, stream: 'grpclib.server.Stream[app.v1.app_pb2.GetOrganizationsWithAccessToLocationRequest, app.v1.app_pb2.GetOrganizationsWithAccessToLocationResponse]') -> None: + pass + @abc.abstractmethod async def ListOrganizationsByUser(self, stream: 'grpclib.server.Stream[app.v1.app_pb2.ListOrganizationsByUserRequest, app.v1.app_pb2.ListOrganizationsByUserResponse]') -> None: pass @@ -223,6 +227,18 @@ 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 CreateRegistryItem(self, stream: 'grpclib.server.Stream[app.v1.app_pb2.CreateRegistryItemRequest, app.v1.app_pb2.CreateRegistryItemResponse]') -> None: + pass + + @abc.abstractmethod + async def UpdateRegistryItem(self, stream: 'grpclib.server.Stream[app.v1.app_pb2.UpdateRegistryItemRequest, app.v1.app_pb2.UpdateRegistryItemResponse]') -> None: + pass + + @abc.abstractmethod + async def ListRegistryItems(self, stream: 'grpclib.server.Stream[app.v1.app_pb2.ListRegistryItemsRequest, app.v1.app_pb2.ListRegistryItemsResponse]') -> None: + pass + @abc.abstractmethod async def CreateModule(self, stream: 'grpclib.server.Stream[app.v1.app_pb2.CreateModuleRequest, app.v1.app_pb2.CreateModuleResponse]') -> None: pass @@ -264,7 +280,7 @@ async def CreateKeyFromExistingKeyAuthorizations(self, stream: 'grpclib.server.S pass def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]: - return {'/viam.app.v1.AppService/GetUserIDByEmail': grpclib.const.Handler(self.GetUserIDByEmail, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetUserIDByEmailRequest, app.v1.app_pb2.GetUserIDByEmailResponse), '/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/ListOrganizationsByUser': grpclib.const.Handler(self.ListOrganizationsByUser, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListOrganizationsByUserRequest, app.v1.app_pb2.ListOrganizationsByUserResponse), '/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/GetOrganizationNamespaceAvailability': grpclib.const.Handler(self.GetOrganizationNamespaceAvailability, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetOrganizationNamespaceAvailabilityRequest, app.v1.app_pb2.GetOrganizationNamespaceAvailabilityResponse), '/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/UpdateOrganizationInviteAuthorizations': grpclib.const.Handler(self.UpdateOrganizationInviteAuthorizations, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateOrganizationInviteAuthorizationsRequest, app.v1.app_pb2.UpdateOrganizationInviteAuthorizationsResponse), '/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/GetRobotAPIKeys': grpclib.const.Handler(self.GetRobotAPIKeys, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRobotAPIKeysRequest, app.v1.app_pb2.GetRobotAPIKeysResponse), '/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/ChangeRole': grpclib.const.Handler(self.ChangeRole, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ChangeRoleRequest, app.v1.app_pb2.ChangeRoleResponse), '/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), '/viam.app.v1.AppService/CreateKey': grpclib.const.Handler(self.CreateKey, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateKeyRequest, app.v1.app_pb2.CreateKeyResponse), '/viam.app.v1.AppService/DeleteKey': grpclib.const.Handler(self.DeleteKey, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteKeyRequest, app.v1.app_pb2.DeleteKeyResponse), '/viam.app.v1.AppService/ListKeys': grpclib.const.Handler(self.ListKeys, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListKeysRequest, app.v1.app_pb2.ListKeysResponse), '/viam.app.v1.AppService/RotateKey': grpclib.const.Handler(self.RotateKey, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.RotateKeyRequest, app.v1.app_pb2.RotateKeyResponse), '/viam.app.v1.AppService/CreateKeyFromExistingKeyAuthorizations': grpclib.const.Handler(self.CreateKeyFromExistingKeyAuthorizations, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateKeyFromExistingKeyAuthorizationsRequest, app.v1.app_pb2.CreateKeyFromExistingKeyAuthorizationsResponse)} + return {'/viam.app.v1.AppService/GetUserIDByEmail': grpclib.const.Handler(self.GetUserIDByEmail, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetUserIDByEmailRequest, app.v1.app_pb2.GetUserIDByEmailResponse), '/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/GetOrganizationsWithAccessToLocation': grpclib.const.Handler(self.GetOrganizationsWithAccessToLocation, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetOrganizationsWithAccessToLocationRequest, app.v1.app_pb2.GetOrganizationsWithAccessToLocationResponse), '/viam.app.v1.AppService/ListOrganizationsByUser': grpclib.const.Handler(self.ListOrganizationsByUser, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListOrganizationsByUserRequest, app.v1.app_pb2.ListOrganizationsByUserResponse), '/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/GetOrganizationNamespaceAvailability': grpclib.const.Handler(self.GetOrganizationNamespaceAvailability, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetOrganizationNamespaceAvailabilityRequest, app.v1.app_pb2.GetOrganizationNamespaceAvailabilityResponse), '/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/UpdateOrganizationInviteAuthorizations': grpclib.const.Handler(self.UpdateOrganizationInviteAuthorizations, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateOrganizationInviteAuthorizationsRequest, app.v1.app_pb2.UpdateOrganizationInviteAuthorizationsResponse), '/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/GetRobotAPIKeys': grpclib.const.Handler(self.GetRobotAPIKeys, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.GetRobotAPIKeysRequest, app.v1.app_pb2.GetRobotAPIKeysResponse), '/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/ChangeRole': grpclib.const.Handler(self.ChangeRole, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ChangeRoleRequest, app.v1.app_pb2.ChangeRoleResponse), '/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/CreateRegistryItem': grpclib.const.Handler(self.CreateRegistryItem, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateRegistryItemRequest, app.v1.app_pb2.CreateRegistryItemResponse), '/viam.app.v1.AppService/UpdateRegistryItem': grpclib.const.Handler(self.UpdateRegistryItem, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.UpdateRegistryItemRequest, app.v1.app_pb2.UpdateRegistryItemResponse), '/viam.app.v1.AppService/ListRegistryItems': grpclib.const.Handler(self.ListRegistryItems, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListRegistryItemsRequest, app.v1.app_pb2.ListRegistryItemsResponse), '/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), '/viam.app.v1.AppService/CreateKey': grpclib.const.Handler(self.CreateKey, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateKeyRequest, app.v1.app_pb2.CreateKeyResponse), '/viam.app.v1.AppService/DeleteKey': grpclib.const.Handler(self.DeleteKey, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.DeleteKeyRequest, app.v1.app_pb2.DeleteKeyResponse), '/viam.app.v1.AppService/ListKeys': grpclib.const.Handler(self.ListKeys, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.ListKeysRequest, app.v1.app_pb2.ListKeysResponse), '/viam.app.v1.AppService/RotateKey': grpclib.const.Handler(self.RotateKey, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.RotateKeyRequest, app.v1.app_pb2.RotateKeyResponse), '/viam.app.v1.AppService/CreateKeyFromExistingKeyAuthorizations': grpclib.const.Handler(self.CreateKeyFromExistingKeyAuthorizations, grpclib.const.Cardinality.UNARY_UNARY, app.v1.app_pb2.CreateKeyFromExistingKeyAuthorizationsRequest, app.v1.app_pb2.CreateKeyFromExistingKeyAuthorizationsResponse)} class AppServiceStub: @@ -272,6 +288,7 @@ def __init__(self, channel: grpclib.client.Channel) -> None: self.GetUserIDByEmail = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/GetUserIDByEmail', app.v1.app_pb2.GetUserIDByEmailRequest, app.v1.app_pb2.GetUserIDByEmailResponse) self.CreateOrganization = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/CreateOrganization', app.v1.app_pb2.CreateOrganizationRequest, app.v1.app_pb2.CreateOrganizationResponse) self.ListOrganizations = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/ListOrganizations', app.v1.app_pb2.ListOrganizationsRequest, app.v1.app_pb2.ListOrganizationsResponse) + self.GetOrganizationsWithAccessToLocation = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/GetOrganizationsWithAccessToLocation', app.v1.app_pb2.GetOrganizationsWithAccessToLocationRequest, app.v1.app_pb2.GetOrganizationsWithAccessToLocationResponse) self.ListOrganizationsByUser = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/ListOrganizationsByUser', app.v1.app_pb2.ListOrganizationsByUserRequest, app.v1.app_pb2.ListOrganizationsByUserResponse) self.GetOrganization = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/GetOrganization', app.v1.app_pb2.GetOrganizationRequest, app.v1.app_pb2.GetOrganizationResponse) self.GetOrganizationNamespaceAvailability = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/GetOrganizationNamespaceAvailability', app.v1.app_pb2.GetOrganizationNamespaceAvailabilityRequest, app.v1.app_pb2.GetOrganizationNamespaceAvailabilityResponse) @@ -322,6 +339,9 @@ def __init__(self, channel: grpclib.client.Channel) -> None: self.ChangeRole = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/ChangeRole', app.v1.app_pb2.ChangeRoleRequest, app.v1.app_pb2.ChangeRoleResponse) 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) + self.CreateRegistryItem = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/CreateRegistryItem', app.v1.app_pb2.CreateRegistryItemRequest, app.v1.app_pb2.CreateRegistryItemResponse) + self.UpdateRegistryItem = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/UpdateRegistryItem', app.v1.app_pb2.UpdateRegistryItemRequest, app.v1.app_pb2.UpdateRegistryItemResponse) + self.ListRegistryItems = grpclib.client.UnaryUnaryMethod(channel, '/viam.app.v1.AppService/ListRegistryItems', app.v1.app_pb2.ListRegistryItemsRequest, app.v1.app_pb2.ListRegistryItemsResponse) 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) diff --git a/src/viam/gen/app/v1/app_pb2.py b/src/viam/gen/app/v1/app_pb2.py index 21fc6c6fe..f79eaba9d 100644 --- a/src/viam/gen/app/v1/app_pb2.py +++ b/src/viam/gen/app/v1/app_pb2.py @@ -4,10 +4,11 @@ from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database _sym_db = _symbol_database.Default() +from ...app.packages.v1 import packages_pb2 as app_dot_packages_dot_v1_dot_packages__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 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"\xde\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\x12%\n\x0edefault_region\x18\x05 \x01(\tR\rdefaultRegion\x12\x15\n\x03cid\x18\x06 \x01(\tH\x00R\x03cid\x88\x01\x01B\x06\n\x04_cid"\xcf\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\x12>\n\nlast_login\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampH\x00R\tlastLogin\x88\x01\x01B\r\n\x0b_last_login"\\\n\x19ListOrganizationsResponse\x12?\n\rorganizations\x18\x01 \x03(\x0b2\x19.viam.app.v1.OrganizationR\rorganizations"\xd2\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\x12B\n\x0eauthorizations\x18\x04 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\x0eauthorizations"/\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+GetOrganizationNamespaceAvailabilityRequest\x12)\n\x10public_namespace\x18\x01 \x01(\tR\x0fpublicNamespace"L\n,GetOrganizationNamespaceAvailabilityResponse\x12\x1c\n\tavailable\x18\x01 \x01(\x08R\tavailable"\xf2\x01\n\x19UpdateOrganizationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12.\n\x10public_namespace\x18\x03 \x01(\tH\x01R\x0fpublicNamespace\x88\x01\x01\x12\x1b\n\x06region\x18\x04 \x01(\tH\x02R\x06region\x88\x01\x01\x12\x15\n\x03cid\x18\x05 \x01(\tH\x03R\x03cid\x88\x01\x01B\x07\n\x05_nameB\x13\n\x11_public_namespaceB\t\n\x07_regionB\x06\n\x04_cid"[\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"\x8a\x02\n-UpdateOrganizationInviteAuthorizationsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05email\x18\x02 \x01(\tR\x05email\x12I\n\x12add_authorizations\x18\x03 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\x11addAuthorizations\x12O\n\x15remove_authorizations\x18\x04 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\x14removeAuthorizations"i\n.UpdateOrganizationInviteAuthorizationsResponse\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"\'\n\rStorageConfig\x12\x16\n\x06region\x18\x01 \x01(\tR\x06region"\xe4\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\x122\n\x06config\x18\x08 \x01(\x0b2\x1a.viam.app.v1.StorageConfigR\x06config"\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"\xcc\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\x01\x12\x1b\n\x06region\x18\x04 \x01(\tH\x02R\x06region\x88\x01\x01B\x07\n\x05_nameB\x15\n\x13_parent_location_idB\t\n\x07_region"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"3\n\x16GetRobotAPIKeysRequest\x12\x19\n\x08robot_id\x18\x01 \x01(\tR\x07robotId"y\n\x06APIKey\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x129\n\ncreated_on\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampR\tcreatedOn"I\n\x17GetRobotAPIKeysResponse\x12.\n\x08api_keys\x18\x01 \x03(\x0b2\x13.viam.app.v1.APIKeyR\x07apiKeys"\x19\n\x17DeleteRobotPartResponse"\xe8\x04\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(\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"\x85\x01\n\x15CreateFragmentRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12/\n\x06config\x18\x02 \x01(\x0b2\x17.google.protobuf.StructR\x06config\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId"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"\x9e\x02\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\x12\x1f\n\x0bidentity_id\x18\x05 \x01(\tR\nidentityId\x12\'\n\x0forganization_id\x18\x06 \x01(\tR\x0eorganizationId\x12#\n\ridentity_type\x18\x07 \x01(\tR\x0cidentityType"R\n\x0eAddRoleRequest\x12@\n\rauthorization\x18\x01 \x01(\x0b2\x1a.viam.app.v1.AuthorizationR\rauthorization"\x11\n\x0fAddRoleResponse"U\n\x11RemoveRoleRequest\x12@\n\rauthorization\x18\x01 \x01(\x0b2\x1a.viam.app.v1.AuthorizationR\rauthorization"\x14\n\x12RemoveRoleResponse"\xa5\x01\n\x11ChangeRoleRequest\x12G\n\x11old_authorization\x18\x01 \x01(\x0b2\x1a.viam.app.v1.AuthorizationR\x10oldAuthorization\x12G\n\x11new_authorization\x18\x02 \x01(\x0b2\x1a.viam.app.v1.AuthorizationR\x10newAuthorization"\x14\n\x12ChangeRoleResponse"g\n\x19ListAuthorizationsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12!\n\x0cresource_ids\x18\x02 \x03(\tR\x0bresourceIds"`\n\x1aListAuthorizationsResponse\x12B\n\x0eauthorizations\x18\x01 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\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"R\n\x13CreateModuleRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name"E\n\x14CreateModuleResponse\x12\x1b\n\tmodule_id\x18\x01 \x01(\tR\x08moduleId\x12\x10\n\x03url\x18\x02 \x01(\tR\x03url"\xeb\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\x12\x1e\n\nentrypoint\x18\x06 \x01(\tR\nentrypoint"(\n\x14UpdateModuleResponse\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url"/\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",\n\x18UploadModuleFileResponse\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url"/\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"\xe5\x03\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\x12\'\n\x0forganization_id\x18\n \x01(\tR\x0eorganizationId\x12\x1e\n\nentrypoint\x18\x0b \x01(\tR\nentrypoint\x12)\n\x10public_namespace\x18\x0c \x01(\tR\x0fpublicNamespace"\xa2\x01\n\x0eVersionHistory\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12*\n\x05files\x18\x02 \x03(\x0b2\x14.viam.app.v1.UploadsR\x05files\x12*\n\x06models\x18\x03 \x03(\x0b2\x12.viam.app.v1.ModelR\x06models\x12\x1e\n\nentrypoint\x18\x04 \x01(\tR\nentrypoint"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"/\n\x17GetUserIDByEmailRequest\x12\x14\n\x05email\x18\x01 \x01(\tR\x05email"3\n\x18GetUserIDByEmailResponse\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId"9\n\x1eListOrganizationsByUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId">\n\nOrgDetails\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x19\n\x08org_name\x18\x02 \x01(\tR\x07orgName"N\n\x1fListOrganizationsByUserResponse\x12+\n\x04orgs\x18\x01 \x03(\x0b2\x17.viam.app.v1.OrgDetailsR\x04orgs"j\n\x10CreateKeyRequest\x12B\n\x0eauthorizations\x18\x01 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\x0eauthorizations\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name"5\n\x11CreateKeyResponse\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id""\n\x10DeleteKeyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x13\n\x11DeleteKeyResponse"\xcd\x01\n\x14AuthorizationDetails\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\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId"\x93\x01\n\x18APIKeyWithAuthorizations\x12,\n\x07api_key\x18\x01 \x01(\x0b2\x13.viam.app.v1.APIKeyR\x06apiKey\x12I\n\x0eauthorizations\x18\x02 \x03(\x0b2!.viam.app.v1.AuthorizationDetailsR\x0eauthorizations"(\n\x0fListKeysRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"T\n\x10ListKeysResponse\x12@\n\x08api_keys\x18\x01 \x03(\x0b2%.viam.app.v1.APIKeyWithAuthorizationsR\x07apiKeys""\n\x10RotateKeyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"5\n\x11RotateKeyResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key"?\n-CreateKeyFromExistingKeyAuthorizationsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"R\n.CreateKeyFromExistingKeyAuthorizationsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key*W\n\nVisibility\x12\x1a\n\x16VISIBILITY_UNSPECIFIED\x10\x00\x12\x16\n\x12VISIBILITY_PRIVATE\x10\x01\x12\x15\n\x11VISIBILITY_PUBLIC\x10\x022\xda/\n\nAppService\x12_\n\x10GetUserIDByEmail\x12$.viam.app.v1.GetUserIDByEmailRequest\x1a%.viam.app.v1.GetUserIDByEmailResponse\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\x12t\n\x17ListOrganizationsByUser\x12+.viam.app.v1.ListOrganizationsByUserRequest\x1a,.viam.app.v1.ListOrganizationsByUserResponse\x12\\\n\x0fGetOrganization\x12#.viam.app.v1.GetOrganizationRequest\x1a$.viam.app.v1.GetOrganizationResponse\x12\x9b\x01\n$GetOrganizationNamespaceAvailability\x128.viam.app.v1.GetOrganizationNamespaceAvailabilityRequest\x1a9.viam.app.v1.GetOrganizationNamespaceAvailabilityResponse\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\x12\xa1\x01\n&UpdateOrganizationInviteAuthorizations\x12:.viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest\x1a;.viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse\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\x12\\\n\x0fGetRobotAPIKeys\x12#.viam.app.v1.GetRobotAPIKeysRequest\x1a$.viam.app.v1.GetRobotAPIKeysResponse\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\x12M\n\nChangeRole\x12\x1e.viam.app.v1.ChangeRoleRequest\x1a\x1f.viam.app.v1.ChangeRoleResponse\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.ListModulesResponse\x12J\n\tCreateKey\x12\x1d.viam.app.v1.CreateKeyRequest\x1a\x1e.viam.app.v1.CreateKeyResponse\x12J\n\tDeleteKey\x12\x1d.viam.app.v1.DeleteKeyRequest\x1a\x1e.viam.app.v1.DeleteKeyResponse\x12G\n\x08ListKeys\x12\x1c.viam.app.v1.ListKeysRequest\x1a\x1d.viam.app.v1.ListKeysResponse\x12J\n\tRotateKey\x12\x1d.viam.app.v1.RotateKeyRequest\x1a\x1e.viam.app.v1.RotateKeyResponse\x12\xa1\x01\n&CreateKeyFromExistingKeyAuthorizations\x12:.viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest\x1a;.viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponseB\x18Z\x16go.viam.com/api/app/v1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x10app/v1/app.proto\x12\x0bviam.app.v1\x1a\x1eapp/packages/v1/packages.proto\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"\xde\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\x12%\n\x0edefault_region\x18\x05 \x01(\tR\rdefaultRegion\x12\x15\n\x03cid\x18\x06 \x01(\tH\x00R\x03cid\x88\x01\x01B\x06\n\x04_cid"\xcf\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\x12>\n\nlast_login\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampH\x00R\tlastLogin\x88\x01\x01B\r\n\x0b_last_login"\\\n\x19ListOrganizationsResponse\x12?\n\rorganizations\x18\x01 \x03(\x0b2\x19.viam.app.v1.OrganizationR\rorganizations"\xd2\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\x12B\n\x0eauthorizations\x18\x04 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\x0eauthorizations"/\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+GetOrganizationNamespaceAvailabilityRequest\x12)\n\x10public_namespace\x18\x01 \x01(\tR\x0fpublicNamespace"L\n,GetOrganizationNamespaceAvailabilityResponse\x12\x1c\n\tavailable\x18\x01 \x01(\x08R\tavailable"\xf2\x01\n\x19UpdateOrganizationRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x17\n\x04name\x18\x02 \x01(\tH\x00R\x04name\x88\x01\x01\x12.\n\x10public_namespace\x18\x03 \x01(\tH\x01R\x0fpublicNamespace\x88\x01\x01\x12\x1b\n\x06region\x18\x04 \x01(\tH\x02R\x06region\x88\x01\x01\x12\x15\n\x03cid\x18\x05 \x01(\tH\x03R\x03cid\x88\x01\x01B\x07\n\x05_nameB\x13\n\x11_public_namespaceB\t\n\x07_regionB\x06\n\x04_cid"[\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"\x8a\x02\n-UpdateOrganizationInviteAuthorizationsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x14\n\x05email\x18\x02 \x01(\tR\x05email\x12I\n\x12add_authorizations\x18\x03 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\x11addAuthorizations\x12O\n\x15remove_authorizations\x18\x04 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\x14removeAuthorizations"i\n.UpdateOrganizationInviteAuthorizationsResponse\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":\n\x14OrganizationIdentity\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name"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"\'\n\rStorageConfig\x12\x16\n\x06region\x18\x01 \x01(\tR\x06region"\xe4\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\x122\n\x06config\x18\x08 \x01(\x0b2\x1a.viam.app.v1.StorageConfigR\x06config"\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"\xcc\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\x01\x12\x1b\n\x06region\x18\x04 \x01(\tH\x02R\x06region\x88\x01\x01B\x07\n\x05_nameB\x15\n\x13_parent_location_idB\t\n\x07_region"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\n+GetOrganizationsWithAccessToLocationRequest\x12\x1f\n\x0blocation_id\x18\x01 \x01(\tR\nlocationId"\x8a\x01\n,GetOrganizationsWithAccessToLocationResponse\x12Z\n\x17organization_identities\x18\x01 \x03(\x0b2!.viam.app.v1.OrganizationIdentityR\x16organizationIdentities"?\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"3\n\x16GetRobotAPIKeysRequest\x12\x19\n\x08robot_id\x18\x01 \x01(\tR\x07robotId"y\n\x06APIKey\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x129\n\ncreated_on\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampR\tcreatedOn"I\n\x17GetRobotAPIKeysResponse\x12.\n\x08api_keys\x18\x01 \x03(\x0b2\x13.viam.app.v1.APIKeyR\x07apiKeys"\x19\n\x17DeleteRobotPartResponse"\xe8\x04\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(\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"\x85\x01\n\x15CreateFragmentRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12/\n\x06config\x18\x02 \x01(\x0b2\x17.google.protobuf.StructR\x06config\x12\'\n\x0forganization_id\x18\x03 \x01(\tR\x0eorganizationId"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"\x9e\x02\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\x12\x1f\n\x0bidentity_id\x18\x05 \x01(\tR\nidentityId\x12\'\n\x0forganization_id\x18\x06 \x01(\tR\x0eorganizationId\x12#\n\ridentity_type\x18\x07 \x01(\tR\x0cidentityType"R\n\x0eAddRoleRequest\x12@\n\rauthorization\x18\x01 \x01(\x0b2\x1a.viam.app.v1.AuthorizationR\rauthorization"\x11\n\x0fAddRoleResponse"U\n\x11RemoveRoleRequest\x12@\n\rauthorization\x18\x01 \x01(\x0b2\x1a.viam.app.v1.AuthorizationR\rauthorization"\x14\n\x12RemoveRoleResponse"\xa5\x01\n\x11ChangeRoleRequest\x12G\n\x11old_authorization\x18\x01 \x01(\x0b2\x1a.viam.app.v1.AuthorizationR\x10oldAuthorization\x12G\n\x11new_authorization\x18\x02 \x01(\x0b2\x1a.viam.app.v1.AuthorizationR\x10newAuthorization"\x14\n\x12ChangeRoleResponse"g\n\x19ListAuthorizationsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12!\n\x0cresource_ids\x18\x02 \x03(\tR\x0bresourceIds"`\n\x1aListAuthorizationsResponse\x12B\n\x0eauthorizations\x18\x01 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\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"\xa1\x01\n\rModuleVersion\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12*\n\x05files\x18\x02 \x03(\x0b2\x14.viam.app.v1.UploadsR\x05files\x12*\n\x06models\x18\x03 \x03(\x0b2\x12.viam.app.v1.ModelR\x06models\x12\x1e\n\nentrypoint\x18\x04 \x01(\tR\nentrypoint"\x94\x01\n\x0eModuleMetadata\x12*\n\x06models\x18\x01 \x03(\x0b2\x12.viam.app.v1.ModelR\x06models\x126\n\x08versions\x18\x02 \x03(\x0b2\x1a.viam.app.v1.ModuleVersionR\x08versions\x12\x1e\n\nentrypoint\x18\x03 \x01(\tR\nentrypoint"-\n\x0fMLModelMetadata\x12\x1a\n\x08versions\x18\x01 \x03(\tR\x08versions"\xb9\x04\n\x0cRegistryItem\x12\x17\n\x07item_id\x18\x01 \x01(\tR\x06itemId\x12\'\n\x0forganization_id\x18\x02 \x01(\tR\x0eorganizationId\x12)\n\x10public_namespace\x18\x03 \x01(\tR\x0fpublicNamespace\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x125\n\x04type\x18\x05 \x01(\x0e2!.viam.app.packages.v1.PackageTypeR\x04type\x127\n\nvisibility\x18\x06 \x01(\x0e2\x17.viam.app.v1.VisibilityR\nvisibility\x12\x10\n\x03url\x18\x07 \x01(\tR\x03url\x12 \n\x0bdescription\x18\x08 \x01(\tR\x0bdescription\x12*\n\x11total_robot_usage\x18\t \x01(\x03R\x0ftotalRobotUsage\x128\n\x18total_organization_usage\x18\n \x01(\x03R\x16totalOrganizationUsage\x12F\n\x0fmodule_metadata\x18\x0b \x01(\x0b2\x1b.viam.app.v1.ModuleMetadataH\x00R\x0emoduleMetadata\x12J\n\x11ml_model_metadata\x18\x0c \x01(\x0b2\x1c.viam.app.v1.MLModelMetadataH\x00R\x0fmlModelMetadataB\n\n\x08metadata"\x8f\x01\n\x19CreateRegistryItemRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x125\n\x04type\x18\x03 \x01(\x0e2!.viam.app.packages.v1.PackageTypeR\x04type"\x1c\n\x1aCreateRegistryItemResponse"\xc6\x01\n\x19UpdateRegistryItemRequest\x12\x17\n\x07item_id\x18\x01 \x01(\tR\x06itemId\x125\n\x04type\x18\x02 \x01(\x0e2!.viam.app.packages.v1.PackageTypeR\x04type\x12 \n\x0bdescription\x18\x03 \x01(\tR\x0bdescription\x127\n\nvisibility\x18\x04 \x01(\x0e2\x17.viam.app.v1.VisibilityR\nvisibility"\x1c\n\x1aUpdateRegistryItemResponse"\x96\x03\n\x18ListRegistryItemsRequest\x12,\n\x0forganization_id\x18\x01 \x01(\tH\x00R\x0eorganizationId\x88\x01\x01\x127\n\x05types\x18\x02 \x03(\x0e2!.viam.app.packages.v1.PackageTypeR\x05types\x12;\n\x0cvisibilities\x18\x03 \x03(\x0e2\x17.viam.app.v1.VisibilityR\x0cvisibilities\x12\x1c\n\tplatforms\x18\x04 \x03(\tR\tplatforms\x12;\n\x08statuses\x18\x05 \x03(\x0e2\x1f.viam.app.v1.RegistryItemStatusR\x08statuses\x12$\n\x0bsearch_term\x18\x06 \x01(\tH\x01R\nsearchTerm\x88\x01\x01\x12"\n\npage_token\x18\x07 \x01(\tH\x02R\tpageToken\x88\x01\x01B\x12\n\x10_organization_idB\x0e\n\x0c_search_termB\r\n\x0b_page_token"L\n\x19ListRegistryItemsResponse\x12/\n\x05items\x18\x01 \x03(\x0b2\x19.viam.app.v1.RegistryItemR\x05items"R\n\x13CreateModuleRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name"E\n\x14CreateModuleResponse\x12\x1b\n\tmodule_id\x18\x01 \x01(\tR\x08moduleId\x12\x10\n\x03url\x18\x02 \x01(\tR\x03url"\xeb\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\x12\x1e\n\nentrypoint\x18\x06 \x01(\tR\nentrypoint"(\n\x14UpdateModuleResponse\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url"/\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",\n\x18UploadModuleFileResponse\x12\x10\n\x03url\x18\x01 \x01(\tR\x03url"/\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"\xe5\x03\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\x12\'\n\x0forganization_id\x18\n \x01(\tR\x0eorganizationId\x12\x1e\n\nentrypoint\x18\x0b \x01(\tR\nentrypoint\x12)\n\x10public_namespace\x18\x0c \x01(\tR\x0fpublicNamespace"\xa2\x01\n\x0eVersionHistory\x12\x18\n\x07version\x18\x01 \x01(\tR\x07version\x12*\n\x05files\x18\x02 \x03(\x0b2\x14.viam.app.v1.UploadsR\x05files\x12*\n\x06models\x18\x03 \x03(\x0b2\x12.viam.app.v1.ModelR\x06models\x12\x1e\n\nentrypoint\x18\x04 \x01(\tR\nentrypoint"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"/\n\x17GetUserIDByEmailRequest\x12\x14\n\x05email\x18\x01 \x01(\tR\x05email"3\n\x18GetUserIDByEmailResponse\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId"9\n\x1eListOrganizationsByUserRequest\x12\x17\n\x07user_id\x18\x01 \x01(\tR\x06userId">\n\nOrgDetails\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x19\n\x08org_name\x18\x02 \x01(\tR\x07orgName"N\n\x1fListOrganizationsByUserResponse\x12+\n\x04orgs\x18\x01 \x03(\x0b2\x17.viam.app.v1.OrgDetailsR\x04orgs"j\n\x10CreateKeyRequest\x12B\n\x0eauthorizations\x18\x01 \x03(\x0b2\x1a.viam.app.v1.AuthorizationR\x0eauthorizations\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name"5\n\x11CreateKeyResponse\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id""\n\x10DeleteKeyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"\x13\n\x11DeleteKeyResponse"\xcd\x01\n\x14AuthorizationDetails\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\x12\x15\n\x06org_id\x18\x05 \x01(\tR\x05orgId"\x93\x01\n\x18APIKeyWithAuthorizations\x12,\n\x07api_key\x18\x01 \x01(\x0b2\x13.viam.app.v1.APIKeyR\x06apiKey\x12I\n\x0eauthorizations\x18\x02 \x03(\x0b2!.viam.app.v1.AuthorizationDetailsR\x0eauthorizations"(\n\x0fListKeysRequest\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId"T\n\x10ListKeysResponse\x12@\n\x08api_keys\x18\x01 \x03(\x0b2%.viam.app.v1.APIKeyWithAuthorizationsR\x07apiKeys""\n\x10RotateKeyRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"5\n\x11RotateKeyResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key"?\n-CreateKeyFromExistingKeyAuthorizationsRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id"R\n.CreateKeyFromExistingKeyAuthorizationsResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x10\n\x03key\x18\x02 \x01(\tR\x03key*\x87\x01\n\x12RegistryItemStatus\x12$\n REGISTRY_ITEM_STATUS_UNSPECIFIED\x10\x00\x12"\n\x1eREGISTRY_ITEM_STATUS_PUBLISHED\x10\x01\x12\'\n#REGISTRY_ITEM_STATUS_IN_DEVELOPMENT\x10\x02*W\n\nVisibility\x12\x1a\n\x16VISIBILITY_UNSPECIFIED\x10\x00\x12\x16\n\x12VISIBILITY_PRIVATE\x10\x01\x12\x15\n\x11VISIBILITY_PUBLIC\x10\x022\xaa3\n\nAppService\x12_\n\x10GetUserIDByEmail\x12$.viam.app.v1.GetUserIDByEmailRequest\x1a%.viam.app.v1.GetUserIDByEmailResponse\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\x9b\x01\n$GetOrganizationsWithAccessToLocation\x128.viam.app.v1.GetOrganizationsWithAccessToLocationRequest\x1a9.viam.app.v1.GetOrganizationsWithAccessToLocationResponse\x12t\n\x17ListOrganizationsByUser\x12+.viam.app.v1.ListOrganizationsByUserRequest\x1a,.viam.app.v1.ListOrganizationsByUserResponse\x12\\\n\x0fGetOrganization\x12#.viam.app.v1.GetOrganizationRequest\x1a$.viam.app.v1.GetOrganizationResponse\x12\x9b\x01\n$GetOrganizationNamespaceAvailability\x128.viam.app.v1.GetOrganizationNamespaceAvailabilityRequest\x1a9.viam.app.v1.GetOrganizationNamespaceAvailabilityResponse\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\x12\xa1\x01\n&UpdateOrganizationInviteAuthorizations\x12:.viam.app.v1.UpdateOrganizationInviteAuthorizationsRequest\x1a;.viam.app.v1.UpdateOrganizationInviteAuthorizationsResponse\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\x12\\\n\x0fGetRobotAPIKeys\x12#.viam.app.v1.GetRobotAPIKeysRequest\x1a$.viam.app.v1.GetRobotAPIKeysResponse\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\x12M\n\nChangeRole\x12\x1e.viam.app.v1.ChangeRoleRequest\x1a\x1f.viam.app.v1.ChangeRoleResponse\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\x12e\n\x12CreateRegistryItem\x12&.viam.app.v1.CreateRegistryItemRequest\x1a\'.viam.app.v1.CreateRegistryItemResponse\x12e\n\x12UpdateRegistryItem\x12&.viam.app.v1.UpdateRegistryItemRequest\x1a\'.viam.app.v1.UpdateRegistryItemResponse\x12b\n\x11ListRegistryItems\x12%.viam.app.v1.ListRegistryItemsRequest\x1a&.viam.app.v1.ListRegistryItemsResponse\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.ListModulesResponse\x12J\n\tCreateKey\x12\x1d.viam.app.v1.CreateKeyRequest\x1a\x1e.viam.app.v1.CreateKeyResponse\x12J\n\tDeleteKey\x12\x1d.viam.app.v1.DeleteKeyRequest\x1a\x1e.viam.app.v1.DeleteKeyResponse\x12G\n\x08ListKeys\x12\x1c.viam.app.v1.ListKeysRequest\x1a\x1d.viam.app.v1.ListKeysResponse\x12J\n\tRotateKey\x12\x1d.viam.app.v1.RotateKeyRequest\x1a\x1e.viam.app.v1.RotateKeyResponse\x12\xa1\x01\n&CreateKeyFromExistingKeyAuthorizations\x12:.viam.app.v1.CreateKeyFromExistingKeyAuthorizationsRequest\x1a;.viam.app.v1.CreateKeyFromExistingKeyAuthorizationsResponseB\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,311 +78,339 @@ _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 = 16018 - _VISIBILITY._serialized_end = 16105 - _ROBOT._serialized_start = 121 - _ROBOT._serialized_end = 485 - _ROBOTPART._serialized_start = 488 - _ROBOTPART._serialized_end = 1467 - _ROBOTPARTHISTORYENTRY._serialized_start = 1470 - _ROBOTPARTHISTORYENTRY._serialized_end = 1745 - _LISTORGANIZATIONSREQUEST._serialized_start = 1747 - _LISTORGANIZATIONSREQUEST._serialized_end = 1773 - _ORGANIZATION._serialized_start = 1776 - _ORGANIZATION._serialized_end = 1998 - _ORGANIZATIONMEMBER._serialized_start = 2001 - _ORGANIZATIONMEMBER._serialized_end = 2208 - _LISTORGANIZATIONSRESPONSE._serialized_start = 2210 - _LISTORGANIZATIONSRESPONSE._serialized_end = 2302 - _ORGANIZATIONINVITE._serialized_start = 2305 - _ORGANIZATIONINVITE._serialized_end = 2515 - _CREATEORGANIZATIONREQUEST._serialized_start = 2517 - _CREATEORGANIZATIONREQUEST._serialized_end = 2564 - _CREATEORGANIZATIONRESPONSE._serialized_start = 2566 - _CREATEORGANIZATIONRESPONSE._serialized_end = 2657 - _GETORGANIZATIONREQUEST._serialized_start = 2659 - _GETORGANIZATIONREQUEST._serialized_end = 2724 - _GETORGANIZATIONRESPONSE._serialized_start = 2726 - _GETORGANIZATIONRESPONSE._serialized_end = 2814 - _GETORGANIZATIONNAMESPACEAVAILABILITYREQUEST._serialized_start = 2816 - _GETORGANIZATIONNAMESPACEAVAILABILITYREQUEST._serialized_end = 2904 - _GETORGANIZATIONNAMESPACEAVAILABILITYRESPONSE._serialized_start = 2906 - _GETORGANIZATIONNAMESPACEAVAILABILITYRESPONSE._serialized_end = 2982 - _UPDATEORGANIZATIONREQUEST._serialized_start = 2985 - _UPDATEORGANIZATIONREQUEST._serialized_end = 3227 - _UPDATEORGANIZATIONRESPONSE._serialized_start = 3229 - _UPDATEORGANIZATIONRESPONSE._serialized_end = 3320 - _DELETEORGANIZATIONREQUEST._serialized_start = 3322 - _DELETEORGANIZATIONREQUEST._serialized_end = 3390 - _DELETEORGANIZATIONRESPONSE._serialized_start = 3392 - _DELETEORGANIZATIONRESPONSE._serialized_end = 3420 - _LISTORGANIZATIONMEMBERSREQUEST._serialized_start = 3422 - _LISTORGANIZATIONMEMBERSREQUEST._serialized_end = 3495 - _LISTORGANIZATIONMEMBERSRESPONSE._serialized_start = 3498 - _LISTORGANIZATIONMEMBERSRESPONSE._serialized_end = 3690 - _CREATEORGANIZATIONINVITEREQUEST._serialized_start = 3693 - _CREATEORGANIZATIONINVITEREQUEST._serialized_end = 3857 - _CREATEORGANIZATIONINVITERESPONSE._serialized_start = 3859 - _CREATEORGANIZATIONINVITERESPONSE._serialized_end = 3950 - _UPDATEORGANIZATIONINVITEAUTHORIZATIONSREQUEST._serialized_start = 3953 - _UPDATEORGANIZATIONINVITEAUTHORIZATIONSREQUEST._serialized_end = 4219 - _UPDATEORGANIZATIONINVITEAUTHORIZATIONSRESPONSE._serialized_start = 4221 - _UPDATEORGANIZATIONINVITEAUTHORIZATIONSRESPONSE._serialized_end = 4326 - _DELETEORGANIZATIONINVITEREQUEST._serialized_start = 4328 - _DELETEORGANIZATIONINVITEREQUEST._serialized_end = 4424 - _DELETEORGANIZATIONINVITERESPONSE._serialized_start = 4426 - _DELETEORGANIZATIONINVITERESPONSE._serialized_end = 4460 - _RESENDORGANIZATIONINVITEREQUEST._serialized_start = 4462 - _RESENDORGANIZATIONINVITEREQUEST._serialized_end = 4558 - _RESENDORGANIZATIONINVITERESPONSE._serialized_start = 4560 - _RESENDORGANIZATIONINVITERESPONSE._serialized_end = 4651 - _DELETEORGANIZATIONMEMBERREQUEST._serialized_start = 4653 - _DELETEORGANIZATIONMEMBERREQUEST._serialized_end = 4752 - _DELETEORGANIZATIONMEMBERRESPONSE._serialized_start = 4754 - _DELETEORGANIZATIONMEMBERRESPONSE._serialized_end = 4788 - _LOCATIONORGANIZATION._serialized_start = 4790 - _LOCATIONORGANIZATION._serialized_end = 4879 - _LOCATIONAUTH._serialized_start = 4882 - _LOCATIONAUTH._serialized_end = 5010 - _STORAGECONFIG._serialized_start = 5012 - _STORAGECONFIG._serialized_end = 5051 - _LOCATION._serialized_start = 5054 - _LOCATION._serialized_end = 5410 - _SHAREDSECRET._serialized_start = 5413 - _SHAREDSECRET._serialized_end = 5749 - _SHAREDSECRET_STATE._serialized_start = 5680 - _SHAREDSECRET_STATE._serialized_end = 5749 - _CREATELOCATIONREQUEST._serialized_start = 5752 - _CREATELOCATIONREQUEST._serialized_end = 5910 - _CREATELOCATIONRESPONSE._serialized_start = 5912 - _CREATELOCATIONRESPONSE._serialized_end = 5987 - _GETLOCATIONREQUEST._serialized_start = 5989 - _GETLOCATIONREQUEST._serialized_end = 6042 - _GETLOCATIONRESPONSE._serialized_start = 6044 - _GETLOCATIONRESPONSE._serialized_end = 6116 - _UPDATELOCATIONREQUEST._serialized_start = 6119 - _UPDATELOCATIONREQUEST._serialized_end = 6323 - _UPDATELOCATIONRESPONSE._serialized_start = 6325 - _UPDATELOCATIONRESPONSE._serialized_end = 6400 - _DELETELOCATIONREQUEST._serialized_start = 6402 - _DELETELOCATIONREQUEST._serialized_end = 6458 - _DELETELOCATIONRESPONSE._serialized_start = 6460 - _DELETELOCATIONRESPONSE._serialized_end = 6484 - _LISTLOCATIONSREQUEST._serialized_start = 6486 - _LISTLOCATIONSREQUEST._serialized_end = 6549 - _SHARELOCATIONREQUEST._serialized_start = 6551 - _SHARELOCATIONREQUEST._serialized_end = 6647 - _SHARELOCATIONRESPONSE._serialized_start = 6649 - _SHARELOCATIONRESPONSE._serialized_end = 6672 - _UNSHARELOCATIONREQUEST._serialized_start = 6674 - _UNSHARELOCATIONREQUEST._serialized_end = 6772 - _UNSHARELOCATIONRESPONSE._serialized_start = 6774 - _UNSHARELOCATIONRESPONSE._serialized_end = 6799 - _LISTLOCATIONSRESPONSE._serialized_start = 6801 - _LISTLOCATIONSRESPONSE._serialized_end = 6877 - _CREATELOCATIONSECRETREQUEST._serialized_start = 6879 - _CREATELOCATIONSECRETREQUEST._serialized_end = 6941 - _CREATELOCATIONSECRETRESPONSE._serialized_start = 6943 - _CREATELOCATIONSECRETRESPONSE._serialized_end = 7020 - _DELETELOCATIONSECRETREQUEST._serialized_start = 7022 - _DELETELOCATIONSECRETREQUEST._serialized_end = 7113 - _DELETELOCATIONSECRETRESPONSE._serialized_start = 7115 - _DELETELOCATIONSECRETRESPONSE._serialized_end = 7145 - _LOCATIONAUTHREQUEST._serialized_start = 7147 - _LOCATIONAUTHREQUEST._serialized_end = 7201 - _LOCATIONAUTHRESPONSE._serialized_start = 7203 - _LOCATIONAUTHRESPONSE._serialized_end = 7272 - _GETROBOTREQUEST._serialized_start = 7274 - _GETROBOTREQUEST._serialized_end = 7307 - _GETROVERRENTALROBOTSREQUEST._serialized_start = 7309 - _GETROVERRENTALROBOTSREQUEST._serialized_end = 7361 - _ROVERRENTALROBOT._serialized_start = 7364 - _ROVERRENTALROBOT._serialized_end = 7518 - _GETROVERRENTALROBOTSRESPONSE._serialized_start = 7520 - _GETROVERRENTALROBOTSRESPONSE._serialized_end = 7605 - _GETROBOTRESPONSE._serialized_start = 7607 - _GETROBOTRESPONSE._serialized_end = 7667 - _GETROBOTPARTSREQUEST._serialized_start = 7669 - _GETROBOTPARTSREQUEST._serialized_end = 7718 - _GETROBOTPARTSRESPONSE._serialized_start = 7720 - _GETROBOTPARTSRESPONSE._serialized_end = 7789 - _GETROBOTPARTREQUEST._serialized_start = 7791 - _GETROBOTPARTREQUEST._serialized_end = 7828 - _GETROBOTPARTRESPONSE._serialized_start = 7830 - _GETROBOTPARTRESPONSE._serialized_end = 7929 - _GETROBOTPARTLOGSREQUEST._serialized_start = 7932 - _GETROBOTPARTLOGSREQUEST._serialized_end = 8097 - _LOGENTRY._serialized_start = 8100 - _LOGENTRY._serialized_end = 8379 - _GETROBOTPARTLOGSRESPONSE._serialized_start = 8381 - _GETROBOTPARTLOGSRESPONSE._serialized_end = 8490 - _TAILROBOTPARTLOGSREQUEST._serialized_start = 8492 - _TAILROBOTPARTLOGSREQUEST._serialized_end = 8607 - _TAILROBOTPARTLOGSRESPONSE._serialized_start = 8609 - _TAILROBOTPARTLOGSRESPONSE._serialized_end = 8679 - _GETROBOTPARTHISTORYREQUEST._serialized_start = 8681 - _GETROBOTPARTHISTORYREQUEST._serialized_end = 8725 - _GETROBOTPARTHISTORYRESPONSE._serialized_start = 8727 - _GETROBOTPARTHISTORYRESPONSE._serialized_end = 8818 - _UPDATEROBOTPARTREQUEST._serialized_start = 8820 - _UPDATEROBOTPARTREQUEST._serialized_end = 8940 - _UPDATEROBOTPARTRESPONSE._serialized_start = 8942 - _UPDATEROBOTPARTRESPONSE._serialized_end = 9011 - _NEWROBOTPARTREQUEST._serialized_start = 9013 - _NEWROBOTPARTREQUEST._serialized_end = 9090 - _NEWROBOTPARTRESPONSE._serialized_start = 9092 - _NEWROBOTPARTRESPONSE._serialized_end = 9139 - _DELETEROBOTPARTREQUEST._serialized_start = 9141 - _DELETEROBOTPARTREQUEST._serialized_end = 9190 - _GETROBOTAPIKEYSREQUEST._serialized_start = 9192 - _GETROBOTAPIKEYSREQUEST._serialized_end = 9243 - _APIKEY._serialized_start = 9245 - _APIKEY._serialized_end = 9366 - _GETROBOTAPIKEYSRESPONSE._serialized_start = 9368 - _GETROBOTAPIKEYSRESPONSE._serialized_end = 9441 - _DELETEROBOTPARTRESPONSE._serialized_start = 9443 - _DELETEROBOTPARTRESPONSE._serialized_end = 9468 - _FRAGMENT._serialized_start = 9471 - _FRAGMENT._serialized_end = 10087 - _LISTFRAGMENTSREQUEST._serialized_start = 10089 - _LISTFRAGMENTSREQUEST._serialized_end = 10185 - _LISTFRAGMENTSRESPONSE._serialized_start = 10187 - _LISTFRAGMENTSRESPONSE._serialized_end = 10263 - _GETFRAGMENTREQUEST._serialized_start = 10265 - _GETFRAGMENTREQUEST._serialized_end = 10301 - _GETFRAGMENTRESPONSE._serialized_start = 10303 - _GETFRAGMENTRESPONSE._serialized_end = 10375 - _CREATEFRAGMENTREQUEST._serialized_start = 10378 - _CREATEFRAGMENTREQUEST._serialized_end = 10511 - _CREATEFRAGMENTRESPONSE._serialized_start = 10513 - _CREATEFRAGMENTRESPONSE._serialized_end = 10588 - _UPDATEFRAGMENTREQUEST._serialized_start = 10591 - _UPDATEFRAGMENTREQUEST._serialized_end = 10739 - _UPDATEFRAGMENTRESPONSE._serialized_start = 10741 - _UPDATEFRAGMENTRESPONSE._serialized_end = 10816 - _DELETEFRAGMENTREQUEST._serialized_start = 10818 - _DELETEFRAGMENTREQUEST._serialized_end = 10857 - _DELETEFRAGMENTRESPONSE._serialized_start = 10859 - _DELETEFRAGMENTRESPONSE._serialized_end = 10883 - _LISTROBOTSREQUEST._serialized_start = 10885 - _LISTROBOTSREQUEST._serialized_end = 10937 - _LISTROBOTSRESPONSE._serialized_start = 10939 - _LISTROBOTSRESPONSE._serialized_end = 11003 - _NEWROBOTREQUEST._serialized_start = 11005 - _NEWROBOTREQUEST._serialized_end = 11070 - _NEWROBOTRESPONSE._serialized_start = 11072 - _NEWROBOTRESPONSE._serialized_end = 11106 - _UPDATEROBOTREQUEST._serialized_start = 11108 - _UPDATEROBOTREQUEST._serialized_end = 11192 - _UPDATEROBOTRESPONSE._serialized_start = 11194 - _UPDATEROBOTRESPONSE._serialized_end = 11257 - _DELETEROBOTREQUEST._serialized_start = 11259 - _DELETEROBOTREQUEST._serialized_end = 11295 - _DELETEROBOTRESPONSE._serialized_start = 11297 - _DELETEROBOTRESPONSE._serialized_end = 11318 - _MARKPARTASMAINREQUEST._serialized_start = 11320 - _MARKPARTASMAINREQUEST._serialized_end = 11368 - _MARKPARTASMAINRESPONSE._serialized_start = 11370 - _MARKPARTASMAINRESPONSE._serialized_end = 11394 - _MARKPARTFORRESTARTREQUEST._serialized_start = 11396 - _MARKPARTFORRESTARTREQUEST._serialized_end = 11448 - _MARKPARTFORRESTARTRESPONSE._serialized_start = 11450 - _MARKPARTFORRESTARTRESPONSE._serialized_end = 11478 - _CREATEROBOTPARTSECRETREQUEST._serialized_start = 11480 - _CREATEROBOTPARTSECRETREQUEST._serialized_end = 11535 - _CREATEROBOTPARTSECRETRESPONSE._serialized_start = 11537 - _CREATEROBOTPARTSECRETRESPONSE._serialized_end = 11612 - _DELETEROBOTPARTSECRETREQUEST._serialized_start = 11614 - _DELETEROBOTPARTSECRETREQUEST._serialized_end = 11698 - _DELETEROBOTPARTSECRETRESPONSE._serialized_start = 11700 - _DELETEROBOTPARTSECRETRESPONSE._serialized_end = 11731 - _AUTHORIZATION._serialized_start = 11734 - _AUTHORIZATION._serialized_end = 12020 - _ADDROLEREQUEST._serialized_start = 12022 - _ADDROLEREQUEST._serialized_end = 12104 - _ADDROLERESPONSE._serialized_start = 12106 - _ADDROLERESPONSE._serialized_end = 12123 - _REMOVEROLEREQUEST._serialized_start = 12125 - _REMOVEROLEREQUEST._serialized_end = 12210 - _REMOVEROLERESPONSE._serialized_start = 12212 - _REMOVEROLERESPONSE._serialized_end = 12232 - _CHANGEROLEREQUEST._serialized_start = 12235 - _CHANGEROLEREQUEST._serialized_end = 12400 - _CHANGEROLERESPONSE._serialized_start = 12402 - _CHANGEROLERESPONSE._serialized_end = 12422 - _LISTAUTHORIZATIONSREQUEST._serialized_start = 12424 - _LISTAUTHORIZATIONSREQUEST._serialized_end = 12527 - _LISTAUTHORIZATIONSRESPONSE._serialized_start = 12529 - _LISTAUTHORIZATIONSRESPONSE._serialized_end = 12625 - _CHECKPERMISSIONSREQUEST._serialized_start = 12627 - _CHECKPERMISSIONSREQUEST._serialized_end = 12722 - _AUTHORIZEDPERMISSIONS._serialized_start = 12724 - _AUTHORIZEDPERMISSIONS._serialized_end = 12851 - _CHECKPERMISSIONSRESPONSE._serialized_start = 12853 - _CHECKPERMISSIONSRESPONSE._serialized_end = 12970 - _CREATEMODULEREQUEST._serialized_start = 12972 - _CREATEMODULEREQUEST._serialized_end = 13054 - _CREATEMODULERESPONSE._serialized_start = 13056 - _CREATEMODULERESPONSE._serialized_end = 13125 - _UPDATEMODULEREQUEST._serialized_start = 13128 - _UPDATEMODULEREQUEST._serialized_end = 13363 - _UPDATEMODULERESPONSE._serialized_start = 13365 - _UPDATEMODULERESPONSE._serialized_end = 13405 - _MODEL._serialized_start = 13407 - _MODEL._serialized_end = 13454 - _MODULEFILEINFO._serialized_start = 13456 - _MODULEFILEINFO._serialized_end = 13555 - _UPLOADMODULEFILEREQUEST._serialized_start = 13558 - _UPLOADMODULEFILEREQUEST._serialized_end = 13693 - _UPLOADMODULEFILERESPONSE._serialized_start = 13695 - _UPLOADMODULEFILERESPONSE._serialized_end = 13739 - _GETMODULEREQUEST._serialized_start = 13741 - _GETMODULEREQUEST._serialized_end = 13788 - _GETMODULERESPONSE._serialized_start = 13790 - _GETMODULERESPONSE._serialized_end = 13854 - _MODULE._serialized_start = 13857 - _MODULE._serialized_end = 14342 - _VERSIONHISTORY._serialized_start = 14345 - _VERSIONHISTORY._serialized_end = 14507 - _UPLOADS._serialized_start = 14509 - _UPLOADS._serialized_end = 14607 - _LISTMODULESREQUEST._serialized_start = 14609 - _LISTMODULESREQUEST._serialized_end = 14695 - _LISTMODULESRESPONSE._serialized_start = 14697 - _LISTMODULESRESPONSE._serialized_end = 14765 - _GETUSERIDBYEMAILREQUEST._serialized_start = 14767 - _GETUSERIDBYEMAILREQUEST._serialized_end = 14814 - _GETUSERIDBYEMAILRESPONSE._serialized_start = 14816 - _GETUSERIDBYEMAILRESPONSE._serialized_end = 14867 - _LISTORGANIZATIONSBYUSERREQUEST._serialized_start = 14869 - _LISTORGANIZATIONSBYUSERREQUEST._serialized_end = 14926 - _ORGDETAILS._serialized_start = 14928 - _ORGDETAILS._serialized_end = 14990 - _LISTORGANIZATIONSBYUSERRESPONSE._serialized_start = 14992 - _LISTORGANIZATIONSBYUSERRESPONSE._serialized_end = 15070 - _CREATEKEYREQUEST._serialized_start = 15072 - _CREATEKEYREQUEST._serialized_end = 15178 - _CREATEKEYRESPONSE._serialized_start = 15180 - _CREATEKEYRESPONSE._serialized_end = 15233 - _DELETEKEYREQUEST._serialized_start = 15235 - _DELETEKEYREQUEST._serialized_end = 15269 - _DELETEKEYRESPONSE._serialized_start = 15271 - _DELETEKEYRESPONSE._serialized_end = 15290 - _AUTHORIZATIONDETAILS._serialized_start = 15293 - _AUTHORIZATIONDETAILS._serialized_end = 15498 - _APIKEYWITHAUTHORIZATIONS._serialized_start = 15501 - _APIKEYWITHAUTHORIZATIONS._serialized_end = 15648 - _LISTKEYSREQUEST._serialized_start = 15650 - _LISTKEYSREQUEST._serialized_end = 15690 - _LISTKEYSRESPONSE._serialized_start = 15692 - _LISTKEYSRESPONSE._serialized_end = 15776 - _ROTATEKEYREQUEST._serialized_start = 15778 - _ROTATEKEYREQUEST._serialized_end = 15812 - _ROTATEKEYRESPONSE._serialized_start = 15814 - _ROTATEKEYRESPONSE._serialized_end = 15867 - _CREATEKEYFROMEXISTINGKEYAUTHORIZATIONSREQUEST._serialized_start = 15869 - _CREATEKEYFROMEXISTINGKEYAUTHORIZATIONSREQUEST._serialized_end = 15932 - _CREATEKEYFROMEXISTINGKEYAUTHORIZATIONSRESPONSE._serialized_start = 15934 - _CREATEKEYFROMEXISTINGKEYAUTHORIZATIONSRESPONSE._serialized_end = 16016 - _APPSERVICE._serialized_start = 16108 - _APPSERVICE._serialized_end = 22214 \ No newline at end of file + _REGISTRYITEMSTATUS._serialized_start = 18160 + _REGISTRYITEMSTATUS._serialized_end = 18295 + _VISIBILITY._serialized_start = 18297 + _VISIBILITY._serialized_end = 18384 + _ROBOT._serialized_start = 153 + _ROBOT._serialized_end = 517 + _ROBOTPART._serialized_start = 520 + _ROBOTPART._serialized_end = 1499 + _ROBOTPARTHISTORYENTRY._serialized_start = 1502 + _ROBOTPARTHISTORYENTRY._serialized_end = 1777 + _LISTORGANIZATIONSREQUEST._serialized_start = 1779 + _LISTORGANIZATIONSREQUEST._serialized_end = 1805 + _ORGANIZATION._serialized_start = 1808 + _ORGANIZATION._serialized_end = 2030 + _ORGANIZATIONMEMBER._serialized_start = 2033 + _ORGANIZATIONMEMBER._serialized_end = 2240 + _LISTORGANIZATIONSRESPONSE._serialized_start = 2242 + _LISTORGANIZATIONSRESPONSE._serialized_end = 2334 + _ORGANIZATIONINVITE._serialized_start = 2337 + _ORGANIZATIONINVITE._serialized_end = 2547 + _CREATEORGANIZATIONREQUEST._serialized_start = 2549 + _CREATEORGANIZATIONREQUEST._serialized_end = 2596 + _CREATEORGANIZATIONRESPONSE._serialized_start = 2598 + _CREATEORGANIZATIONRESPONSE._serialized_end = 2689 + _GETORGANIZATIONREQUEST._serialized_start = 2691 + _GETORGANIZATIONREQUEST._serialized_end = 2756 + _GETORGANIZATIONRESPONSE._serialized_start = 2758 + _GETORGANIZATIONRESPONSE._serialized_end = 2846 + _GETORGANIZATIONNAMESPACEAVAILABILITYREQUEST._serialized_start = 2848 + _GETORGANIZATIONNAMESPACEAVAILABILITYREQUEST._serialized_end = 2936 + _GETORGANIZATIONNAMESPACEAVAILABILITYRESPONSE._serialized_start = 2938 + _GETORGANIZATIONNAMESPACEAVAILABILITYRESPONSE._serialized_end = 3014 + _UPDATEORGANIZATIONREQUEST._serialized_start = 3017 + _UPDATEORGANIZATIONREQUEST._serialized_end = 3259 + _UPDATEORGANIZATIONRESPONSE._serialized_start = 3261 + _UPDATEORGANIZATIONRESPONSE._serialized_end = 3352 + _DELETEORGANIZATIONREQUEST._serialized_start = 3354 + _DELETEORGANIZATIONREQUEST._serialized_end = 3422 + _DELETEORGANIZATIONRESPONSE._serialized_start = 3424 + _DELETEORGANIZATIONRESPONSE._serialized_end = 3452 + _LISTORGANIZATIONMEMBERSREQUEST._serialized_start = 3454 + _LISTORGANIZATIONMEMBERSREQUEST._serialized_end = 3527 + _LISTORGANIZATIONMEMBERSRESPONSE._serialized_start = 3530 + _LISTORGANIZATIONMEMBERSRESPONSE._serialized_end = 3722 + _CREATEORGANIZATIONINVITEREQUEST._serialized_start = 3725 + _CREATEORGANIZATIONINVITEREQUEST._serialized_end = 3889 + _CREATEORGANIZATIONINVITERESPONSE._serialized_start = 3891 + _CREATEORGANIZATIONINVITERESPONSE._serialized_end = 3982 + _UPDATEORGANIZATIONINVITEAUTHORIZATIONSREQUEST._serialized_start = 3985 + _UPDATEORGANIZATIONINVITEAUTHORIZATIONSREQUEST._serialized_end = 4251 + _UPDATEORGANIZATIONINVITEAUTHORIZATIONSRESPONSE._serialized_start = 4253 + _UPDATEORGANIZATIONINVITEAUTHORIZATIONSRESPONSE._serialized_end = 4358 + _DELETEORGANIZATIONINVITEREQUEST._serialized_start = 4360 + _DELETEORGANIZATIONINVITEREQUEST._serialized_end = 4456 + _DELETEORGANIZATIONINVITERESPONSE._serialized_start = 4458 + _DELETEORGANIZATIONINVITERESPONSE._serialized_end = 4492 + _RESENDORGANIZATIONINVITEREQUEST._serialized_start = 4494 + _RESENDORGANIZATIONINVITEREQUEST._serialized_end = 4590 + _RESENDORGANIZATIONINVITERESPONSE._serialized_start = 4592 + _RESENDORGANIZATIONINVITERESPONSE._serialized_end = 4683 + _DELETEORGANIZATIONMEMBERREQUEST._serialized_start = 4685 + _DELETEORGANIZATIONMEMBERREQUEST._serialized_end = 4784 + _DELETEORGANIZATIONMEMBERRESPONSE._serialized_start = 4786 + _DELETEORGANIZATIONMEMBERRESPONSE._serialized_end = 4820 + _ORGANIZATIONIDENTITY._serialized_start = 4822 + _ORGANIZATIONIDENTITY._serialized_end = 4880 + _LOCATIONORGANIZATION._serialized_start = 4882 + _LOCATIONORGANIZATION._serialized_end = 4971 + _LOCATIONAUTH._serialized_start = 4974 + _LOCATIONAUTH._serialized_end = 5102 + _STORAGECONFIG._serialized_start = 5104 + _STORAGECONFIG._serialized_end = 5143 + _LOCATION._serialized_start = 5146 + _LOCATION._serialized_end = 5502 + _SHAREDSECRET._serialized_start = 5505 + _SHAREDSECRET._serialized_end = 5841 + _SHAREDSECRET_STATE._serialized_start = 5772 + _SHAREDSECRET_STATE._serialized_end = 5841 + _CREATELOCATIONREQUEST._serialized_start = 5844 + _CREATELOCATIONREQUEST._serialized_end = 6002 + _CREATELOCATIONRESPONSE._serialized_start = 6004 + _CREATELOCATIONRESPONSE._serialized_end = 6079 + _GETLOCATIONREQUEST._serialized_start = 6081 + _GETLOCATIONREQUEST._serialized_end = 6134 + _GETLOCATIONRESPONSE._serialized_start = 6136 + _GETLOCATIONRESPONSE._serialized_end = 6208 + _UPDATELOCATIONREQUEST._serialized_start = 6211 + _UPDATELOCATIONREQUEST._serialized_end = 6415 + _UPDATELOCATIONRESPONSE._serialized_start = 6417 + _UPDATELOCATIONRESPONSE._serialized_end = 6492 + _DELETELOCATIONREQUEST._serialized_start = 6494 + _DELETELOCATIONREQUEST._serialized_end = 6550 + _DELETELOCATIONRESPONSE._serialized_start = 6552 + _DELETELOCATIONRESPONSE._serialized_end = 6576 + _GETORGANIZATIONSWITHACCESSTOLOCATIONREQUEST._serialized_start = 6578 + _GETORGANIZATIONSWITHACCESSTOLOCATIONREQUEST._serialized_end = 6656 + _GETORGANIZATIONSWITHACCESSTOLOCATIONRESPONSE._serialized_start = 6659 + _GETORGANIZATIONSWITHACCESSTOLOCATIONRESPONSE._serialized_end = 6797 + _LISTLOCATIONSREQUEST._serialized_start = 6799 + _LISTLOCATIONSREQUEST._serialized_end = 6862 + _SHARELOCATIONREQUEST._serialized_start = 6864 + _SHARELOCATIONREQUEST._serialized_end = 6960 + _SHARELOCATIONRESPONSE._serialized_start = 6962 + _SHARELOCATIONRESPONSE._serialized_end = 6985 + _UNSHARELOCATIONREQUEST._serialized_start = 6987 + _UNSHARELOCATIONREQUEST._serialized_end = 7085 + _UNSHARELOCATIONRESPONSE._serialized_start = 7087 + _UNSHARELOCATIONRESPONSE._serialized_end = 7112 + _LISTLOCATIONSRESPONSE._serialized_start = 7114 + _LISTLOCATIONSRESPONSE._serialized_end = 7190 + _CREATELOCATIONSECRETREQUEST._serialized_start = 7192 + _CREATELOCATIONSECRETREQUEST._serialized_end = 7254 + _CREATELOCATIONSECRETRESPONSE._serialized_start = 7256 + _CREATELOCATIONSECRETRESPONSE._serialized_end = 7333 + _DELETELOCATIONSECRETREQUEST._serialized_start = 7335 + _DELETELOCATIONSECRETREQUEST._serialized_end = 7426 + _DELETELOCATIONSECRETRESPONSE._serialized_start = 7428 + _DELETELOCATIONSECRETRESPONSE._serialized_end = 7458 + _LOCATIONAUTHREQUEST._serialized_start = 7460 + _LOCATIONAUTHREQUEST._serialized_end = 7514 + _LOCATIONAUTHRESPONSE._serialized_start = 7516 + _LOCATIONAUTHRESPONSE._serialized_end = 7585 + _GETROBOTREQUEST._serialized_start = 7587 + _GETROBOTREQUEST._serialized_end = 7620 + _GETROVERRENTALROBOTSREQUEST._serialized_start = 7622 + _GETROVERRENTALROBOTSREQUEST._serialized_end = 7674 + _ROVERRENTALROBOT._serialized_start = 7677 + _ROVERRENTALROBOT._serialized_end = 7831 + _GETROVERRENTALROBOTSRESPONSE._serialized_start = 7833 + _GETROVERRENTALROBOTSRESPONSE._serialized_end = 7918 + _GETROBOTRESPONSE._serialized_start = 7920 + _GETROBOTRESPONSE._serialized_end = 7980 + _GETROBOTPARTSREQUEST._serialized_start = 7982 + _GETROBOTPARTSREQUEST._serialized_end = 8031 + _GETROBOTPARTSRESPONSE._serialized_start = 8033 + _GETROBOTPARTSRESPONSE._serialized_end = 8102 + _GETROBOTPARTREQUEST._serialized_start = 8104 + _GETROBOTPARTREQUEST._serialized_end = 8141 + _GETROBOTPARTRESPONSE._serialized_start = 8143 + _GETROBOTPARTRESPONSE._serialized_end = 8242 + _GETROBOTPARTLOGSREQUEST._serialized_start = 8245 + _GETROBOTPARTLOGSREQUEST._serialized_end = 8410 + _LOGENTRY._serialized_start = 8413 + _LOGENTRY._serialized_end = 8692 + _GETROBOTPARTLOGSRESPONSE._serialized_start = 8694 + _GETROBOTPARTLOGSRESPONSE._serialized_end = 8803 + _TAILROBOTPARTLOGSREQUEST._serialized_start = 8805 + _TAILROBOTPARTLOGSREQUEST._serialized_end = 8920 + _TAILROBOTPARTLOGSRESPONSE._serialized_start = 8922 + _TAILROBOTPARTLOGSRESPONSE._serialized_end = 8992 + _GETROBOTPARTHISTORYREQUEST._serialized_start = 8994 + _GETROBOTPARTHISTORYREQUEST._serialized_end = 9038 + _GETROBOTPARTHISTORYRESPONSE._serialized_start = 9040 + _GETROBOTPARTHISTORYRESPONSE._serialized_end = 9131 + _UPDATEROBOTPARTREQUEST._serialized_start = 9133 + _UPDATEROBOTPARTREQUEST._serialized_end = 9253 + _UPDATEROBOTPARTRESPONSE._serialized_start = 9255 + _UPDATEROBOTPARTRESPONSE._serialized_end = 9324 + _NEWROBOTPARTREQUEST._serialized_start = 9326 + _NEWROBOTPARTREQUEST._serialized_end = 9403 + _NEWROBOTPARTRESPONSE._serialized_start = 9405 + _NEWROBOTPARTRESPONSE._serialized_end = 9452 + _DELETEROBOTPARTREQUEST._serialized_start = 9454 + _DELETEROBOTPARTREQUEST._serialized_end = 9503 + _GETROBOTAPIKEYSREQUEST._serialized_start = 9505 + _GETROBOTAPIKEYSREQUEST._serialized_end = 9556 + _APIKEY._serialized_start = 9558 + _APIKEY._serialized_end = 9679 + _GETROBOTAPIKEYSRESPONSE._serialized_start = 9681 + _GETROBOTAPIKEYSRESPONSE._serialized_end = 9754 + _DELETEROBOTPARTRESPONSE._serialized_start = 9756 + _DELETEROBOTPARTRESPONSE._serialized_end = 9781 + _FRAGMENT._serialized_start = 9784 + _FRAGMENT._serialized_end = 10400 + _LISTFRAGMENTSREQUEST._serialized_start = 10402 + _LISTFRAGMENTSREQUEST._serialized_end = 10498 + _LISTFRAGMENTSRESPONSE._serialized_start = 10500 + _LISTFRAGMENTSRESPONSE._serialized_end = 10576 + _GETFRAGMENTREQUEST._serialized_start = 10578 + _GETFRAGMENTREQUEST._serialized_end = 10614 + _GETFRAGMENTRESPONSE._serialized_start = 10616 + _GETFRAGMENTRESPONSE._serialized_end = 10688 + _CREATEFRAGMENTREQUEST._serialized_start = 10691 + _CREATEFRAGMENTREQUEST._serialized_end = 10824 + _CREATEFRAGMENTRESPONSE._serialized_start = 10826 + _CREATEFRAGMENTRESPONSE._serialized_end = 10901 + _UPDATEFRAGMENTREQUEST._serialized_start = 10904 + _UPDATEFRAGMENTREQUEST._serialized_end = 11052 + _UPDATEFRAGMENTRESPONSE._serialized_start = 11054 + _UPDATEFRAGMENTRESPONSE._serialized_end = 11129 + _DELETEFRAGMENTREQUEST._serialized_start = 11131 + _DELETEFRAGMENTREQUEST._serialized_end = 11170 + _DELETEFRAGMENTRESPONSE._serialized_start = 11172 + _DELETEFRAGMENTRESPONSE._serialized_end = 11196 + _LISTROBOTSREQUEST._serialized_start = 11198 + _LISTROBOTSREQUEST._serialized_end = 11250 + _LISTROBOTSRESPONSE._serialized_start = 11252 + _LISTROBOTSRESPONSE._serialized_end = 11316 + _NEWROBOTREQUEST._serialized_start = 11318 + _NEWROBOTREQUEST._serialized_end = 11383 + _NEWROBOTRESPONSE._serialized_start = 11385 + _NEWROBOTRESPONSE._serialized_end = 11419 + _UPDATEROBOTREQUEST._serialized_start = 11421 + _UPDATEROBOTREQUEST._serialized_end = 11505 + _UPDATEROBOTRESPONSE._serialized_start = 11507 + _UPDATEROBOTRESPONSE._serialized_end = 11570 + _DELETEROBOTREQUEST._serialized_start = 11572 + _DELETEROBOTREQUEST._serialized_end = 11608 + _DELETEROBOTRESPONSE._serialized_start = 11610 + _DELETEROBOTRESPONSE._serialized_end = 11631 + _MARKPARTASMAINREQUEST._serialized_start = 11633 + _MARKPARTASMAINREQUEST._serialized_end = 11681 + _MARKPARTASMAINRESPONSE._serialized_start = 11683 + _MARKPARTASMAINRESPONSE._serialized_end = 11707 + _MARKPARTFORRESTARTREQUEST._serialized_start = 11709 + _MARKPARTFORRESTARTREQUEST._serialized_end = 11761 + _MARKPARTFORRESTARTRESPONSE._serialized_start = 11763 + _MARKPARTFORRESTARTRESPONSE._serialized_end = 11791 + _CREATEROBOTPARTSECRETREQUEST._serialized_start = 11793 + _CREATEROBOTPARTSECRETREQUEST._serialized_end = 11848 + _CREATEROBOTPARTSECRETRESPONSE._serialized_start = 11850 + _CREATEROBOTPARTSECRETRESPONSE._serialized_end = 11925 + _DELETEROBOTPARTSECRETREQUEST._serialized_start = 11927 + _DELETEROBOTPARTSECRETREQUEST._serialized_end = 12011 + _DELETEROBOTPARTSECRETRESPONSE._serialized_start = 12013 + _DELETEROBOTPARTSECRETRESPONSE._serialized_end = 12044 + _AUTHORIZATION._serialized_start = 12047 + _AUTHORIZATION._serialized_end = 12333 + _ADDROLEREQUEST._serialized_start = 12335 + _ADDROLEREQUEST._serialized_end = 12417 + _ADDROLERESPONSE._serialized_start = 12419 + _ADDROLERESPONSE._serialized_end = 12436 + _REMOVEROLEREQUEST._serialized_start = 12438 + _REMOVEROLEREQUEST._serialized_end = 12523 + _REMOVEROLERESPONSE._serialized_start = 12525 + _REMOVEROLERESPONSE._serialized_end = 12545 + _CHANGEROLEREQUEST._serialized_start = 12548 + _CHANGEROLEREQUEST._serialized_end = 12713 + _CHANGEROLERESPONSE._serialized_start = 12715 + _CHANGEROLERESPONSE._serialized_end = 12735 + _LISTAUTHORIZATIONSREQUEST._serialized_start = 12737 + _LISTAUTHORIZATIONSREQUEST._serialized_end = 12840 + _LISTAUTHORIZATIONSRESPONSE._serialized_start = 12842 + _LISTAUTHORIZATIONSRESPONSE._serialized_end = 12938 + _CHECKPERMISSIONSREQUEST._serialized_start = 12940 + _CHECKPERMISSIONSREQUEST._serialized_end = 13035 + _AUTHORIZEDPERMISSIONS._serialized_start = 13037 + _AUTHORIZEDPERMISSIONS._serialized_end = 13164 + _CHECKPERMISSIONSRESPONSE._serialized_start = 13166 + _CHECKPERMISSIONSRESPONSE._serialized_end = 13283 + _MODULEVERSION._serialized_start = 13286 + _MODULEVERSION._serialized_end = 13447 + _MODULEMETADATA._serialized_start = 13450 + _MODULEMETADATA._serialized_end = 13598 + _MLMODELMETADATA._serialized_start = 13600 + _MLMODELMETADATA._serialized_end = 13645 + _REGISTRYITEM._serialized_start = 13648 + _REGISTRYITEM._serialized_end = 14217 + _CREATEREGISTRYITEMREQUEST._serialized_start = 14220 + _CREATEREGISTRYITEMREQUEST._serialized_end = 14363 + _CREATEREGISTRYITEMRESPONSE._serialized_start = 14365 + _CREATEREGISTRYITEMRESPONSE._serialized_end = 14393 + _UPDATEREGISTRYITEMREQUEST._serialized_start = 14396 + _UPDATEREGISTRYITEMREQUEST._serialized_end = 14594 + _UPDATEREGISTRYITEMRESPONSE._serialized_start = 14596 + _UPDATEREGISTRYITEMRESPONSE._serialized_end = 14624 + _LISTREGISTRYITEMSREQUEST._serialized_start = 14627 + _LISTREGISTRYITEMSREQUEST._serialized_end = 15033 + _LISTREGISTRYITEMSRESPONSE._serialized_start = 15035 + _LISTREGISTRYITEMSRESPONSE._serialized_end = 15111 + _CREATEMODULEREQUEST._serialized_start = 15113 + _CREATEMODULEREQUEST._serialized_end = 15195 + _CREATEMODULERESPONSE._serialized_start = 15197 + _CREATEMODULERESPONSE._serialized_end = 15266 + _UPDATEMODULEREQUEST._serialized_start = 15269 + _UPDATEMODULEREQUEST._serialized_end = 15504 + _UPDATEMODULERESPONSE._serialized_start = 15506 + _UPDATEMODULERESPONSE._serialized_end = 15546 + _MODEL._serialized_start = 15548 + _MODEL._serialized_end = 15595 + _MODULEFILEINFO._serialized_start = 15597 + _MODULEFILEINFO._serialized_end = 15696 + _UPLOADMODULEFILEREQUEST._serialized_start = 15699 + _UPLOADMODULEFILEREQUEST._serialized_end = 15834 + _UPLOADMODULEFILERESPONSE._serialized_start = 15836 + _UPLOADMODULEFILERESPONSE._serialized_end = 15880 + _GETMODULEREQUEST._serialized_start = 15882 + _GETMODULEREQUEST._serialized_end = 15929 + _GETMODULERESPONSE._serialized_start = 15931 + _GETMODULERESPONSE._serialized_end = 15995 + _MODULE._serialized_start = 15998 + _MODULE._serialized_end = 16483 + _VERSIONHISTORY._serialized_start = 16486 + _VERSIONHISTORY._serialized_end = 16648 + _UPLOADS._serialized_start = 16650 + _UPLOADS._serialized_end = 16748 + _LISTMODULESREQUEST._serialized_start = 16750 + _LISTMODULESREQUEST._serialized_end = 16836 + _LISTMODULESRESPONSE._serialized_start = 16838 + _LISTMODULESRESPONSE._serialized_end = 16906 + _GETUSERIDBYEMAILREQUEST._serialized_start = 16908 + _GETUSERIDBYEMAILREQUEST._serialized_end = 16955 + _GETUSERIDBYEMAILRESPONSE._serialized_start = 16957 + _GETUSERIDBYEMAILRESPONSE._serialized_end = 17008 + _LISTORGANIZATIONSBYUSERREQUEST._serialized_start = 17010 + _LISTORGANIZATIONSBYUSERREQUEST._serialized_end = 17067 + _ORGDETAILS._serialized_start = 17069 + _ORGDETAILS._serialized_end = 17131 + _LISTORGANIZATIONSBYUSERRESPONSE._serialized_start = 17133 + _LISTORGANIZATIONSBYUSERRESPONSE._serialized_end = 17211 + _CREATEKEYREQUEST._serialized_start = 17213 + _CREATEKEYREQUEST._serialized_end = 17319 + _CREATEKEYRESPONSE._serialized_start = 17321 + _CREATEKEYRESPONSE._serialized_end = 17374 + _DELETEKEYREQUEST._serialized_start = 17376 + _DELETEKEYREQUEST._serialized_end = 17410 + _DELETEKEYRESPONSE._serialized_start = 17412 + _DELETEKEYRESPONSE._serialized_end = 17431 + _AUTHORIZATIONDETAILS._serialized_start = 17434 + _AUTHORIZATIONDETAILS._serialized_end = 17639 + _APIKEYWITHAUTHORIZATIONS._serialized_start = 17642 + _APIKEYWITHAUTHORIZATIONS._serialized_end = 17789 + _LISTKEYSREQUEST._serialized_start = 17791 + _LISTKEYSREQUEST._serialized_end = 17831 + _LISTKEYSRESPONSE._serialized_start = 17833 + _LISTKEYSRESPONSE._serialized_end = 17917 + _ROTATEKEYREQUEST._serialized_start = 17919 + _ROTATEKEYREQUEST._serialized_end = 17953 + _ROTATEKEYRESPONSE._serialized_start = 17955 + _ROTATEKEYRESPONSE._serialized_end = 18008 + _CREATEKEYFROMEXISTINGKEYAUTHORIZATIONSREQUEST._serialized_start = 18010 + _CREATEKEYFROMEXISTINGKEYAUTHORIZATIONSREQUEST._serialized_end = 18073 + _CREATEKEYFROMEXISTINGKEYAUTHORIZATIONSRESPONSE._serialized_start = 18075 + _CREATEKEYFROMEXISTINGKEYAUTHORIZATIONSRESPONSE._serialized_end = 18157 + _APPSERVICE._serialized_start = 18387 + _APPSERVICE._serialized_end = 24957 \ 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 908de08f9..5464a9b94 100644 --- a/src/viam/gen/app/v1/app_pb2.pyi +++ b/src/viam/gen/app/v1/app_pb2.pyi @@ -2,6 +2,7 @@ @generated by mypy-protobuf. Do not edit manually! isort:skip_file """ +from ... import app import builtins import collections.abc import google.protobuf.descriptor @@ -18,6 +19,23 @@ else: import typing_extensions DESCRIPTOR: google.protobuf.descriptor.FileDescriptor +class _RegistryItemStatus: + ValueType = typing.NewType('ValueType', builtins.int) + V: typing_extensions.TypeAlias = ValueType + +class _RegistryItemStatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_RegistryItemStatus.ValueType], builtins.type): + DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor + REGISTRY_ITEM_STATUS_UNSPECIFIED: _RegistryItemStatus.ValueType + REGISTRY_ITEM_STATUS_PUBLISHED: _RegistryItemStatus.ValueType + REGISTRY_ITEM_STATUS_IN_DEVELOPMENT: _RegistryItemStatus.ValueType + +class RegistryItemStatus(_RegistryItemStatus, metaclass=_RegistryItemStatusEnumTypeWrapper): + ... +REGISTRY_ITEM_STATUS_UNSPECIFIED: RegistryItemStatus.ValueType +REGISTRY_ITEM_STATUS_PUBLISHED: RegistryItemStatus.ValueType +REGISTRY_ITEM_STATUS_IN_DEVELOPMENT: RegistryItemStatus.ValueType +global___RegistryItemStatus = RegistryItemStatus + class _Visibility: ValueType = typing.NewType('ValueType', builtins.int) V: typing_extensions.TypeAlias = ValueType @@ -645,9 +663,30 @@ class DeleteOrganizationMemberResponse(google.protobuf.message.Message): ... global___DeleteOrganizationMemberResponse = DeleteOrganizationMemberResponse +@typing_extensions.final +class OrganizationIdentity(google.protobuf.message.Message): + """Location + + Used for rendering an organization's information on the frontend (limited + to id, name, or both). + """ + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ID_FIELD_NUMBER: builtins.int + NAME_FIELD_NUMBER: builtins.int + id: builtins.str + 'Organization ID.' + name: builtins.str + 'Organization name.' + + def __init__(self, *, id: builtins.str=..., name: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['id', b'id', 'name', b'name']) -> None: + ... +global___OrganizationIdentity = OrganizationIdentity + @typing_extensions.final class LocationOrganization(google.protobuf.message.Message): - """Location""" DESCRIPTOR: google.protobuf.descriptor.Descriptor ORGANIZATION_ID_FIELD_NUMBER: builtins.int PRIMARY_FIELD_NUMBER: builtins.int @@ -950,6 +989,35 @@ class DeleteLocationResponse(google.protobuf.message.Message): ... global___DeleteLocationResponse = DeleteLocationResponse +@typing_extensions.final +class GetOrganizationsWithAccessToLocationRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + LOCATION_ID_FIELD_NUMBER: builtins.int + location_id: builtins.str + + def __init__(self, *, location_id: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['location_id', b'location_id']) -> None: + ... +global___GetOrganizationsWithAccessToLocationRequest = GetOrganizationsWithAccessToLocationRequest + +@typing_extensions.final +class GetOrganizationsWithAccessToLocationResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ORGANIZATION_IDENTITIES_FIELD_NUMBER: builtins.int + + @property + def organization_identities(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OrganizationIdentity]: + ... + + def __init__(self, *, organization_identities: collections.abc.Iterable[global___OrganizationIdentity] | None=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['organization_identities', b'organization_identities']) -> None: + ... +global___GetOrganizationsWithAccessToLocationResponse = GetOrganizationsWithAccessToLocationResponse + @typing_extensions.final class ListLocationsRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -2186,6 +2254,256 @@ class CheckPermissionsResponse(google.protobuf.message.Message): ... global___CheckPermissionsResponse = CheckPermissionsResponse +@typing_extensions.final +class ModuleVersion(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + VERSION_FIELD_NUMBER: builtins.int + FILES_FIELD_NUMBER: builtins.int + MODELS_FIELD_NUMBER: builtins.int + ENTRYPOINT_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""" + + @property + def models(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Model]: + """The models that this verion of the module provides""" + entrypoint: builtins.str + 'The entrypoint for this version of the module' + + def __init__(self, *, version: builtins.str=..., files: collections.abc.Iterable[global___Uploads] | None=..., models: collections.abc.Iterable[global___Model] | None=..., entrypoint: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['entrypoint', b'entrypoint', 'files', b'files', 'models', b'models', 'version', b'version']) -> None: + ... +global___ModuleVersion = ModuleVersion + +@typing_extensions.final +class ModuleMetadata(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + MODELS_FIELD_NUMBER: builtins.int + VERSIONS_FIELD_NUMBER: builtins.int + ENTRYPOINT_FIELD_NUMBER: builtins.int + + @property + def models(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Model]: + """A list of models that are available in the module""" + + @property + def versions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ModuleVersion]: + """A list of versions of the module that are available + When this is returned from the backend, the versions are sorted in ascending order by the semver version + """ + entrypoint: builtins.str + 'The executable to run to start the module program' + + def __init__(self, *, models: collections.abc.Iterable[global___Model] | None=..., versions: collections.abc.Iterable[global___ModuleVersion] | None=..., entrypoint: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['entrypoint', b'entrypoint', 'models', b'models', 'versions', b'versions']) -> None: + ... +global___ModuleMetadata = ModuleMetadata + +@typing_extensions.final +class MLModelMetadata(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + VERSIONS_FIELD_NUMBER: builtins.int + + @property + def versions(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + """A list of package versions for a ML model""" + + def __init__(self, *, versions: collections.abc.Iterable[builtins.str] | None=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['versions', b'versions']) -> None: + ... +global___MLModelMetadata = MLModelMetadata + +@typing_extensions.final +class RegistryItem(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ITEM_ID_FIELD_NUMBER: builtins.int + ORGANIZATION_ID_FIELD_NUMBER: builtins.int + PUBLIC_NAMESPACE_FIELD_NUMBER: builtins.int + NAME_FIELD_NUMBER: builtins.int + TYPE_FIELD_NUMBER: builtins.int + VISIBILITY_FIELD_NUMBER: builtins.int + URL_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + TOTAL_ROBOT_USAGE_FIELD_NUMBER: builtins.int + TOTAL_ORGANIZATION_USAGE_FIELD_NUMBER: builtins.int + MODULE_METADATA_FIELD_NUMBER: builtins.int + ML_MODEL_METADATA_FIELD_NUMBER: builtins.int + item_id: builtins.str + 'The id of the item, containing either:\n namespace:item_name when a namespace exists on the org.\n org_id:item_name when a namespace does not exist.\n ' + organization_id: builtins.str + 'The id of the organization that owns the item' + public_namespace: builtins.str + 'The public namespace of the organization that owns the module\n This is empty if no public namespace is set\n ' + name: builtins.str + 'The name of the registry item' + type: app.packages.v1.packages_pb2.PackageType.ValueType + 'The type of the item in the registry' + visibility: global___Visibility.ValueType + 'The visibility of the registry item' + url: builtins.str + 'The url to reference for documentation, code, etc.' + description: builtins.str + 'A short description of the item that explains its purpose' + total_robot_usage: builtins.int + 'The total number of robots using this item' + total_organization_usage: builtins.int + 'The total number of organizations using this item' + + @property + def module_metadata(self) -> global___ModuleMetadata: + ... + + @property + def ml_model_metadata(self) -> global___MLModelMetadata: + ... + + def __init__(self, *, item_id: builtins.str=..., organization_id: builtins.str=..., public_namespace: builtins.str=..., name: builtins.str=..., type: app.packages.v1.packages_pb2.PackageType.ValueType=..., visibility: global___Visibility.ValueType=..., url: builtins.str=..., description: builtins.str=..., total_robot_usage: builtins.int=..., total_organization_usage: builtins.int=..., module_metadata: global___ModuleMetadata | None=..., ml_model_metadata: global___MLModelMetadata | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['metadata', b'metadata', 'ml_model_metadata', b'ml_model_metadata', 'module_metadata', b'module_metadata']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['description', b'description', 'item_id', b'item_id', 'metadata', b'metadata', 'ml_model_metadata', b'ml_model_metadata', 'module_metadata', b'module_metadata', 'name', b'name', 'organization_id', b'organization_id', 'public_namespace', b'public_namespace', 'total_organization_usage', b'total_organization_usage', 'total_robot_usage', b'total_robot_usage', 'type', b'type', 'url', b'url', 'visibility', b'visibility']) -> None: + ... + + def WhichOneof(self, oneof_group: typing_extensions.Literal['metadata', b'metadata']) -> typing_extensions.Literal['module_metadata', 'ml_model_metadata'] | None: + ... +global___RegistryItem = RegistryItem + +@typing_extensions.final +class CreateRegistryItemRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ORGANIZATION_ID_FIELD_NUMBER: builtins.int + NAME_FIELD_NUMBER: builtins.int + TYPE_FIELD_NUMBER: builtins.int + organization_id: builtins.str + 'The organization to create the registry item under' + name: builtins.str + 'The name of the registry item, which must be unique within your org' + type: app.packages.v1.packages_pb2.PackageType.ValueType + 'The type of the item in the registry' + + def __init__(self, *, organization_id: builtins.str=..., name: builtins.str=..., type: app.packages.v1.packages_pb2.PackageType.ValueType=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['name', b'name', 'organization_id', b'organization_id', 'type', b'type']) -> None: + ... +global___CreateRegistryItemRequest = CreateRegistryItemRequest + +@typing_extensions.final +class CreateRegistryItemResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__(self) -> None: + ... +global___CreateRegistryItemResponse = CreateRegistryItemResponse + +@typing_extensions.final +class UpdateRegistryItemRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ITEM_ID_FIELD_NUMBER: builtins.int + TYPE_FIELD_NUMBER: builtins.int + DESCRIPTION_FIELD_NUMBER: builtins.int + VISIBILITY_FIELD_NUMBER: builtins.int + item_id: builtins.str + type: app.packages.v1.packages_pb2.PackageType.ValueType + description: builtins.str + visibility: global___Visibility.ValueType + + def __init__(self, *, item_id: builtins.str=..., type: app.packages.v1.packages_pb2.PackageType.ValueType=..., description: builtins.str=..., visibility: global___Visibility.ValueType=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['description', b'description', 'item_id', b'item_id', 'type', b'type', 'visibility', b'visibility']) -> None: + ... +global___UpdateRegistryItemRequest = UpdateRegistryItemRequest + +@typing_extensions.final +class UpdateRegistryItemResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__(self) -> None: + ... +global___UpdateRegistryItemResponse = UpdateRegistryItemResponse + +@typing_extensions.final +class ListRegistryItemsRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ORGANIZATION_ID_FIELD_NUMBER: builtins.int + TYPES_FIELD_NUMBER: builtins.int + VISIBILITIES_FIELD_NUMBER: builtins.int + PLATFORMS_FIELD_NUMBER: builtins.int + STATUSES_FIELD_NUMBER: builtins.int + SEARCH_TERM_FIELD_NUMBER: builtins.int + PAGE_TOKEN_FIELD_NUMBER: builtins.int + organization_id: builtins.str + 'The id of the organization to return registry items for.' + + @property + def types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[app.packages.v1.packages_pb2.PackageType.ValueType]: + ... + + @property + def visibilities(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___Visibility.ValueType]: + ... + + @property + def platforms(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + ... + + @property + def statuses(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[global___RegistryItemStatus.ValueType]: + ... + search_term: builtins.str + page_token: builtins.str + + def __init__(self, *, organization_id: builtins.str | None=..., types: collections.abc.Iterable[app.packages.v1.packages_pb2.PackageType.ValueType] | None=..., visibilities: collections.abc.Iterable[global___Visibility.ValueType] | None=..., platforms: collections.abc.Iterable[builtins.str] | None=..., statuses: collections.abc.Iterable[global___RegistryItemStatus.ValueType] | None=..., search_term: builtins.str | None=..., page_token: builtins.str | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['_organization_id', b'_organization_id', '_page_token', b'_page_token', '_search_term', b'_search_term', 'organization_id', b'organization_id', 'page_token', b'page_token', 'search_term', b'search_term']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['_organization_id', b'_organization_id', '_page_token', b'_page_token', '_search_term', b'_search_term', 'organization_id', b'organization_id', 'page_token', b'page_token', 'platforms', b'platforms', 'search_term', b'search_term', 'statuses', b'statuses', 'types', b'types', 'visibilities', b'visibilities']) -> None: + ... + + @typing.overload + def WhichOneof(self, oneof_group: typing_extensions.Literal['_organization_id', b'_organization_id']) -> typing_extensions.Literal['organization_id'] | None: + ... + + @typing.overload + def WhichOneof(self, oneof_group: typing_extensions.Literal['_page_token', b'_page_token']) -> typing_extensions.Literal['page_token'] | None: + ... + + @typing.overload + def WhichOneof(self, oneof_group: typing_extensions.Literal['_search_term', b'_search_term']) -> typing_extensions.Literal['search_term'] | None: + ... +global___ListRegistryItemsRequest = ListRegistryItemsRequest + +@typing_extensions.final +class ListRegistryItemsResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ITEMS_FIELD_NUMBER: builtins.int + + @property + def items(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___RegistryItem]: + ... + + def __init__(self, *, items: collections.abc.Iterable[global___RegistryItem] | None=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['items', b'items']) -> None: + ... +global___ListRegistryItemsResponse = ListRegistryItemsResponse + @typing_extensions.final class CreateModuleRequest(google.protobuf.message.Message): """Modules""" diff --git a/src/viam/gen/app/v1/robot_pb2.py b/src/viam/gen/app/v1/robot_pb2.py index 5a6d28de1..1fc7bc634 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"\xd4\x02\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\x125\n\x03env\x18\t \x03(\x0b2#.viam.app.v1.ProcessConfig.EnvEntryR\x03env\x1a6\n\x08EnvEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01"\xc3\x02\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\x12l\n\x0fservice_configs\x18\n \x03(\x0b2\'.viam.app.v1.ResourceLevelServiceConfigB\x1a\x9a\x84\x9e\x03\x15json:"service_config"R\x0eserviceConfigs"\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"\xac\x01\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\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"\xf2\x01\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\x12\x12\n\x04type\x18\x04 \x01(\tR\x04type\x12\x1b\n\tmodule_id\x18\x05 \x01(\tR\x08moduleId\x124\n\x03env\x18\x06 \x03(\x0b2".viam.app.v1.ModuleConfig.EnvEntryR\x03env\x1a6\n\x08EnvEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01"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') +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"+\n\x13AppValidationStatus\x12\x14\n\x05error\x18\x01 \x01(\tR\x05error"\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"\xbb\x03\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\x12J\n\x11log_configuration\x18\n \x01(\x0b2\x1d.viam.app.v1.LogConfigurationR\x10logConfiguration"i\n\x1aResourceLevelServiceConfig\x12\x12\n\x04type\x18\x01 \x01(\tR\x04type\x127\n\nattributes\x18\x02 \x01(\x0b2\x17.google.protobuf.StructR\nattributes"\xd4\x02\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\x125\n\x03env\x18\t \x03(\x0b2#.viam.app.v1.ProcessConfig.EnvEntryR\x03env\x1a6\n\x08EnvEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01"\xc3\x02\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\x12l\n\x0fservice_configs\x18\n \x03(\x0b2\'.viam.app.v1.ResourceLevelServiceConfigB\x1a\x9a\x84\x9e\x03\x15json:"service_config"R\x0eserviceConfigs"\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"(\n\x10LogConfiguration\x12\x14\n\x05level\x18\x01 \x01(\tR\x05level"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"\xac\x01\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\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"\xac\x02\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\x12\x12\n\x04type\x18\x04 \x01(\tR\x04type\x12\x1b\n\tmodule_id\x18\x05 \x01(\tR\x08moduleId\x124\n\x03env\x18\x06 \x03(\x0b2".viam.app.v1.ModuleConfig.EnvEntryR\x03env\x128\n\x06status\x18\x07 \x01(\x0b2 .viam.app.v1.AppValidationStatusR\x06status\x1a6\n\x08EnvEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\tR\x05value:\x028\x01"\xa5\x01\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\x128\n\x06status\x18\x05 \x01(\x0b2 .viam.app.v1.AppValidationStatusR\x06status*\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: @@ -33,83 +33,87 @@ _REMOTECONFIG.fields_by_name['service_configs']._serialized_options = b'\x9a\x84\x9e\x03\x15json:"service_config"' _MODULECONFIG_ENVENTRY._options = None _MODULECONFIG_ENVENTRY._serialized_options = b'8\x01' - _CREDENTIALSTYPE._serialized_start = 6225 - _CREDENTIALSTYPE._serialized_end = 6416 + _CREDENTIALSTYPE._serialized_start = 6505 + _CREDENTIALSTYPE._serialized_end = 6696 _ROBOTCONFIG._serialized_start = 164 _ROBOTCONFIG._serialized_end = 813 _LOCATIONSECRET._serialized_start = 815 _LOCATIONSECRET._serialized_end = 871 - _CLOUDCONFIG._serialized_start = 874 - _CLOUDCONFIG._serialized_end = 1218 - _COMPONENTCONFIG._serialized_start = 1221 - _COMPONENTCONFIG._serialized_end = 1588 - _RESOURCELEVELSERVICECONFIG._serialized_start = 1590 - _RESOURCELEVELSERVICECONFIG._serialized_end = 1695 - _PROCESSCONFIG._serialized_start = 1698 - _PROCESSCONFIG._serialized_end = 2038 - _PROCESSCONFIG_ENVENTRY._serialized_start = 1984 - _PROCESSCONFIG_ENVENTRY._serialized_end = 2038 - _SERVICECONFIG._serialized_start = 2041 - _SERVICECONFIG._serialized_end = 2364 - _NETWORKCONFIG._serialized_start = 2367 - _NETWORKCONFIG._serialized_end = 2564 - _SESSIONSCONFIG._serialized_start = 2566 - _SESSIONSCONFIG._serialized_end = 2652 - _AUTHCONFIG._serialized_start = 2655 - _AUTHCONFIG._serialized_end = 2884 - _JWKSFILE._serialized_start = 2886 - _JWKSFILE._serialized_end = 2941 - _EXTERNALAUTHCONFIG._serialized_start = 2943 - _EXTERNALAUTHCONFIG._serialized_end = 3006 - _AUTHHANDLERCONFIG._serialized_start = 3008 - _AUTHHANDLERCONFIG._serialized_end = 3126 - _FRAME._serialized_start = 3129 - _FRAME._serialized_end = 3334 - _TRANSLATION._serialized_start = 3336 - _TRANSLATION._serialized_end = 3391 - _ORIENTATION._serialized_start = 3394 - _ORIENTATION._serialized_end = 4370 - _ORIENTATION_NOORIENTATION._serialized_start = 3892 - _ORIENTATION_NOORIENTATION._serialized_end = 3907 - _ORIENTATION_ORIENTATIONVECTORRADIANS._serialized_start = 3909 - _ORIENTATION_ORIENTATIONVECTORRADIANS._serialized_end = 4015 - _ORIENTATION_ORIENTATIONVECTORDEGREES._serialized_start = 4017 - _ORIENTATION_ORIENTATIONVECTORDEGREES._serialized_end = 4123 - _ORIENTATION_EULERANGLES._serialized_start = 4125 - _ORIENTATION_EULERANGLES._serialized_end = 4198 - _ORIENTATION_AXISANGLES._serialized_start = 4200 - _ORIENTATION_AXISANGLES._serialized_end = 4292 - _ORIENTATION_QUATERNION._serialized_start = 4294 - _ORIENTATION_QUATERNION._serialized_end = 4362 - _REMOTECONFIG._serialized_start = 4373 - _REMOTECONFIG._serialized_end = 4874 - _REMOTEAUTH._serialized_start = 4877 - _REMOTEAUTH._serialized_end = 5075 - _REMOTEAUTH_CREDENTIALS._serialized_start = 4986 - _REMOTEAUTH_CREDENTIALS._serialized_end = 5075 - _AGENTINFO._serialized_start = 5078 - _AGENTINFO._serialized_end = 5250 - _CONFIGREQUEST._serialized_start = 5252 - _CONFIGREQUEST._serialized_end = 5358 - _CONFIGRESPONSE._serialized_start = 5360 - _CONFIGRESPONSE._serialized_end = 5426 - _CERTIFICATEREQUEST._serialized_start = 5428 - _CERTIFICATEREQUEST._serialized_end = 5464 - _CERTIFICATERESPONSE._serialized_start = 5466 - _CERTIFICATERESPONSE._serialized_end = 5584 - _LOGREQUEST._serialized_start = 5586 - _LOGREQUEST._serialized_end = 5657 - _LOGRESPONSE._serialized_start = 5659 - _LOGRESPONSE._serialized_end = 5672 - _NEEDSRESTARTREQUEST._serialized_start = 5674 - _NEEDSRESTARTREQUEST._serialized_end = 5711 - _NEEDSRESTARTRESPONSE._serialized_start = 5714 - _NEEDSRESTARTRESPONSE._serialized_end = 5868 - _MODULECONFIG._serialized_start = 5871 - _MODULECONFIG._serialized_end = 6113 - _MODULECONFIG_ENVENTRY._serialized_start = 1984 - _MODULECONFIG_ENVENTRY._serialized_end = 2038 - _PACKAGECONFIG._serialized_start = 6115 - _PACKAGECONFIG._serialized_end = 6222 - _ROBOTSERVICE._serialized_start = 6419 - _ROBOTSERVICE._serialized_end = 6725 \ No newline at end of file + _APPVALIDATIONSTATUS._serialized_start = 873 + _APPVALIDATIONSTATUS._serialized_end = 916 + _CLOUDCONFIG._serialized_start = 919 + _CLOUDCONFIG._serialized_end = 1263 + _COMPONENTCONFIG._serialized_start = 1266 + _COMPONENTCONFIG._serialized_end = 1709 + _RESOURCELEVELSERVICECONFIG._serialized_start = 1711 + _RESOURCELEVELSERVICECONFIG._serialized_end = 1816 + _PROCESSCONFIG._serialized_start = 1819 + _PROCESSCONFIG._serialized_end = 2159 + _PROCESSCONFIG_ENVENTRY._serialized_start = 2105 + _PROCESSCONFIG_ENVENTRY._serialized_end = 2159 + _SERVICECONFIG._serialized_start = 2162 + _SERVICECONFIG._serialized_end = 2485 + _NETWORKCONFIG._serialized_start = 2488 + _NETWORKCONFIG._serialized_end = 2685 + _SESSIONSCONFIG._serialized_start = 2687 + _SESSIONSCONFIG._serialized_end = 2773 + _AUTHCONFIG._serialized_start = 2776 + _AUTHCONFIG._serialized_end = 3005 + _JWKSFILE._serialized_start = 3007 + _JWKSFILE._serialized_end = 3062 + _EXTERNALAUTHCONFIG._serialized_start = 3064 + _EXTERNALAUTHCONFIG._serialized_end = 3127 + _AUTHHANDLERCONFIG._serialized_start = 3129 + _AUTHHANDLERCONFIG._serialized_end = 3247 + _FRAME._serialized_start = 3250 + _FRAME._serialized_end = 3455 + _LOGCONFIGURATION._serialized_start = 3457 + _LOGCONFIGURATION._serialized_end = 3497 + _TRANSLATION._serialized_start = 3499 + _TRANSLATION._serialized_end = 3554 + _ORIENTATION._serialized_start = 3557 + _ORIENTATION._serialized_end = 4533 + _ORIENTATION_NOORIENTATION._serialized_start = 4055 + _ORIENTATION_NOORIENTATION._serialized_end = 4070 + _ORIENTATION_ORIENTATIONVECTORRADIANS._serialized_start = 4072 + _ORIENTATION_ORIENTATIONVECTORRADIANS._serialized_end = 4178 + _ORIENTATION_ORIENTATIONVECTORDEGREES._serialized_start = 4180 + _ORIENTATION_ORIENTATIONVECTORDEGREES._serialized_end = 4286 + _ORIENTATION_EULERANGLES._serialized_start = 4288 + _ORIENTATION_EULERANGLES._serialized_end = 4361 + _ORIENTATION_AXISANGLES._serialized_start = 4363 + _ORIENTATION_AXISANGLES._serialized_end = 4455 + _ORIENTATION_QUATERNION._serialized_start = 4457 + _ORIENTATION_QUATERNION._serialized_end = 4525 + _REMOTECONFIG._serialized_start = 4536 + _REMOTECONFIG._serialized_end = 5037 + _REMOTEAUTH._serialized_start = 5040 + _REMOTEAUTH._serialized_end = 5238 + _REMOTEAUTH_CREDENTIALS._serialized_start = 5149 + _REMOTEAUTH_CREDENTIALS._serialized_end = 5238 + _AGENTINFO._serialized_start = 5241 + _AGENTINFO._serialized_end = 5413 + _CONFIGREQUEST._serialized_start = 5415 + _CONFIGREQUEST._serialized_end = 5521 + _CONFIGRESPONSE._serialized_start = 5523 + _CONFIGRESPONSE._serialized_end = 5589 + _CERTIFICATEREQUEST._serialized_start = 5591 + _CERTIFICATEREQUEST._serialized_end = 5627 + _CERTIFICATERESPONSE._serialized_start = 5629 + _CERTIFICATERESPONSE._serialized_end = 5747 + _LOGREQUEST._serialized_start = 5749 + _LOGREQUEST._serialized_end = 5820 + _LOGRESPONSE._serialized_start = 5822 + _LOGRESPONSE._serialized_end = 5835 + _NEEDSRESTARTREQUEST._serialized_start = 5837 + _NEEDSRESTARTREQUEST._serialized_end = 5874 + _NEEDSRESTARTRESPONSE._serialized_start = 5877 + _NEEDSRESTARTRESPONSE._serialized_end = 6031 + _MODULECONFIG._serialized_start = 6034 + _MODULECONFIG._serialized_end = 6334 + _MODULECONFIG_ENVENTRY._serialized_start = 2105 + _MODULECONFIG_ENVENTRY._serialized_end = 2159 + _PACKAGECONFIG._serialized_start = 6337 + _PACKAGECONFIG._serialized_end = 6502 + _ROBOTSERVICE._serialized_start = 6699 + _ROBOTSERVICE._serialized_end = 7005 \ 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 e8bbe8422..51f713a2b 100644 --- a/src/viam/gen/app/v1/robot_pb2.pyi +++ b/src/viam/gen/app/v1/robot_pb2.pyi @@ -138,6 +138,19 @@ class LocationSecret(google.protobuf.message.Message): ... global___LocationSecret = LocationSecret +@typing_extensions.final +class AppValidationStatus(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + ERROR_FIELD_NUMBER: builtins.int + error: builtins.str + + def __init__(self, *, error: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['error', b'error']) -> None: + ... +global___AppValidationStatus = AppValidationStatus + @typing_extensions.final class CloudConfig(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -185,6 +198,7 @@ class ComponentConfig(google.protobuf.message.Message): SERVICE_CONFIGS_FIELD_NUMBER: builtins.int ATTRIBUTES_FIELD_NUMBER: builtins.int API_FIELD_NUMBER: builtins.int + LOG_CONFIGURATION_FIELD_NUMBER: builtins.int name: builtins.str namespace: builtins.str 'deprecated; use api' @@ -209,13 +223,17 @@ class ComponentConfig(google.protobuf.message.Message): ... api: builtins.str - def __init__(self, *, name: builtins.str=..., namespace: builtins.str=..., type: builtins.str=..., model: builtins.str=..., frame: global___Frame | None=..., depends_on: collections.abc.Iterable[builtins.str] | None=..., service_configs: collections.abc.Iterable[global___ResourceLevelServiceConfig] | None=..., attributes: google.protobuf.struct_pb2.Struct | None=..., api: builtins.str=...) -> None: + @property + def log_configuration(self) -> global___LogConfiguration: + ... + + def __init__(self, *, name: builtins.str=..., namespace: builtins.str=..., type: builtins.str=..., model: builtins.str=..., frame: global___Frame | None=..., depends_on: collections.abc.Iterable[builtins.str] | None=..., service_configs: collections.abc.Iterable[global___ResourceLevelServiceConfig] | None=..., attributes: google.protobuf.struct_pb2.Struct | None=..., api: builtins.str=..., log_configuration: global___LogConfiguration | None=...) -> None: ... - def HasField(self, field_name: typing_extensions.Literal['attributes', b'attributes', 'frame', b'frame']) -> builtins.bool: + def HasField(self, field_name: typing_extensions.Literal['attributes', b'attributes', 'frame', b'frame', 'log_configuration', b'log_configuration']) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal['api', b'api', 'attributes', b'attributes', 'depends_on', b'depends_on', 'frame', b'frame', 'model', b'model', 'name', b'name', 'namespace', b'namespace', 'service_configs', b'service_configs', 'type', b'type']) -> None: + def ClearField(self, field_name: typing_extensions.Literal['api', b'api', 'attributes', b'attributes', 'depends_on', b'depends_on', 'frame', b'frame', 'log_configuration', b'log_configuration', 'model', b'model', 'name', b'name', 'namespace', b'namespace', 'service_configs', b'service_configs', 'type', b'type']) -> None: ... global___ComponentConfig = ComponentConfig @@ -511,6 +529,19 @@ class Frame(google.protobuf.message.Message): ... global___Frame = Frame +@typing_extensions.final +class LogConfiguration(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + LEVEL_FIELD_NUMBER: builtins.int + level: builtins.str + + def __init__(self, *, level: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['level', b'level']) -> None: + ... +global___LogConfiguration = LogConfiguration + @typing_extensions.final class Translation(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -992,6 +1023,7 @@ class ModuleConfig(google.protobuf.message.Message): TYPE_FIELD_NUMBER: builtins.int MODULE_ID_FIELD_NUMBER: builtins.int ENV_FIELD_NUMBER: builtins.int + STATUS_FIELD_NUMBER: builtins.int name: builtins.str path: builtins.str 'path to the executable' @@ -1006,10 +1038,17 @@ class ModuleConfig(google.protobuf.message.Message): def env(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: """additional environment variables passed to the module process""" - def __init__(self, *, name: builtins.str=..., path: builtins.str=..., log_level: builtins.str=..., type: builtins.str=..., module_id: builtins.str=..., env: collections.abc.Mapping[builtins.str, builtins.str] | None=...) -> None: + @property + def status(self) -> global___AppValidationStatus: + """info about the validity of the module""" + + def __init__(self, *, name: builtins.str=..., path: builtins.str=..., log_level: builtins.str=..., type: builtins.str=..., module_id: builtins.str=..., env: collections.abc.Mapping[builtins.str, builtins.str] | None=..., status: global___AppValidationStatus | None=...) -> None: ... - def ClearField(self, field_name: typing_extensions.Literal['env', b'env', 'log_level', b'log_level', 'module_id', b'module_id', 'name', b'name', 'path', b'path', 'type', b'type']) -> None: + def HasField(self, field_name: typing_extensions.Literal['status', b'status']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['env', b'env', 'log_level', b'log_level', 'module_id', b'module_id', 'name', b'name', 'path', b'path', 'status', b'status', 'type', b'type']) -> None: ... global___ModuleConfig = ModuleConfig @@ -1021,6 +1060,7 @@ class PackageConfig(google.protobuf.message.Message): PACKAGE_FIELD_NUMBER: builtins.int VERSION_FIELD_NUMBER: builtins.int TYPE_FIELD_NUMBER: builtins.int + STATUS_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 @@ -1030,9 +1070,16 @@ class PackageConfig(google.protobuf.message.Message): type: builtins.str 'type of the package' - def __init__(self, *, name: builtins.str=..., package: builtins.str=..., version: builtins.str=..., type: builtins.str=...) -> None: + @property + def status(self) -> global___AppValidationStatus: + """info about the validity of the package""" + + def __init__(self, *, name: builtins.str=..., package: builtins.str=..., version: builtins.str=..., type: builtins.str=..., status: global___AppValidationStatus | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['status', b'status']) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal['name', b'name', 'package', b'package', 'type', b'type', 'version', b'version']) -> None: + def ClearField(self, field_name: typing_extensions.Literal['name', b'name', 'package', b'package', 'status', b'status', 'type', b'type', 'version', b'version']) -> None: ... global___PackageConfig = PackageConfig \ No newline at end of file diff --git a/src/viam/gen/component/camera/v1/camera_pb2.py b/src/viam/gen/component/camera/v1/camera_pb2.py index c4d69cd58..5ef3a078f 100644 --- a/src/viam/gen/component/camera/v1/camera_pb2.py +++ b/src/viam/gen/component/camera/v1/camera_pb2.py @@ -8,7 +8,7 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 from google.api import httpbody_pb2 as google_dot_api_dot_httpbody__pb2 from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n component/camera/v1/camera.proto\x12\x18viam.component.camera.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/httpbody.proto\x1a\x1cgoogle/protobuf/struct.proto"q\n\x0fGetImageRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n\tmime_type\x18\x02 \x01(\tR\x08mimeType\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"E\n\x10GetImageResponse\x12\x1b\n\tmime_type\x18\x01 \x01(\tR\x08mimeType\x12\x14\n\x05image\x18\x02 \x01(\x0cR\x05image"&\n\x10GetImagesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"\x9d\x01\n\x11GetImagesResponse\x127\n\x06images\x18\x01 \x03(\x0b2\x1f.viam.component.camera.v1.ImageR\x06images\x12O\n\x11response_metadata\x18\xa4\x92\x05 \x01(\x0b2 .viam.common.v1.ResponseMetadataR\x10responseMetadata"x\n\x05Image\x12\x1f\n\x0bsource_name\x18\x01 \x01(\tR\nsourceName\x128\n\x06format\x18\x02 \x01(\x0e2 .viam.component.camera.v1.FormatR\x06format\x12\x14\n\x05image\x18\x03 \x01(\x0cR\x05image"t\n\x12RenderFrameRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n\tmime_type\x18\x02 \x01(\tR\x08mimeType\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"v\n\x14GetPointCloudRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n\tmime_type\x18\x02 \x01(\tR\x08mimeType\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"U\n\x15GetPointCloudResponse\x12\x1b\n\tmime_type\x18\x01 \x01(\tR\x08mimeType\x12\x1f\n\x0bpoint_cloud\x18\x02 \x01(\x0cR\npointCloud"*\n\x14GetPropertiesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"\x81\x02\n\x15GetPropertiesResponse\x12!\n\x0csupports_pcd\x18\x01 \x01(\x08R\x0bsupportsPcd\x12`\n\x14intrinsic_parameters\x18\x02 \x01(\x0b2-.viam.component.camera.v1.IntrinsicParametersR\x13intrinsicParameters\x12c\n\x15distortion_parameters\x18\x03 \x01(\x0b2..viam.component.camera.v1.DistortionParametersR\x14distortionParameters"E\n\x07Webcams\x12:\n\x07webcams\x18\x01 \x03(\x0b2 .viam.component.camera.v1.WebcamR\x07webcams"\x9e\x01\n\x06Webcam\x12\x14\n\x05label\x18\x01 \x01(\tR\x05label\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\x12B\n\nproperties\x18\x03 \x03(\x0b2".viam.component.camera.v1.PropertyR\nproperties\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12\x0e\n\x02id\x18\x05 \x01(\tR\x02id"\x84\x01\n\x08Property\x12\x19\n\x08width_px\x18\x01 \x01(\x05R\x07widthPx\x12\x1b\n\theight_px\x18\x02 \x01(\x05R\x08heightPx\x12!\n\x0cframe_format\x18\x03 \x01(\tR\x0bframeFormat\x12\x1d\n\nframe_rate\x18\x04 \x01(\x02R\tframeRate"\xc9\x01\n\x13IntrinsicParameters\x12\x19\n\x08width_px\x18\x01 \x01(\rR\x07widthPx\x12\x1b\n\theight_px\x18\x02 \x01(\rR\x08heightPx\x12\x1c\n\nfocal_x_px\x18\x03 \x01(\x01R\x08focalXPx\x12\x1c\n\nfocal_y_px\x18\x04 \x01(\x01R\x08focalYPx\x12\x1e\n\x0bcenter_x_px\x18\x05 \x01(\x01R\tcenterXPx\x12\x1e\n\x0bcenter_y_px\x18\x06 \x01(\x01R\tcenterYPx"L\n\x14DistortionParameters\x12\x14\n\x05model\x18\x01 \x01(\tR\x05model\x12\x1e\n\nparameters\x18\x02 \x03(\x01R\nparameters*l\n\x06Format\x12\x16\n\x12FORMAT_UNSPECIFIED\x10\x00\x12\x13\n\x0fFORMAT_RAW_RGBA\x10\x01\x12\x14\n\x10FORMAT_RAW_DEPTH\x10\x02\x12\x0f\n\x0bFORMAT_JPEG\x10\x03\x12\x0e\n\nFORMAT_PNG\x10\x042\xcf\x08\n\rCameraService\x12\x95\x01\n\x08GetImage\x12).viam.component.camera.v1.GetImageRequest\x1a*.viam.component.camera.v1.GetImageResponse"2\x82\xd3\xe4\x93\x02,\x12*/viam/api/v1/component/camera/{name}/image\x12\x99\x01\n\tGetImages\x12*.viam.component.camera.v1.GetImagesRequest\x1a+.viam.component.camera.v1.GetImagesResponse"3\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/camera/{name}/images\x12\x8c\x01\n\x0bRenderFrame\x12,.viam.component.camera.v1.RenderFrameRequest\x1a\x14.google.api.HttpBody"9\x82\xd3\xe4\x93\x023\x121/viam/api/v1/component/camera/{name}/render_frame\x12\xaa\x01\n\rGetPointCloud\x12..viam.component.camera.v1.GetPointCloudRequest\x1a/.viam.component.camera.v1.GetPointCloudResponse"8\x82\xd3\xe4\x93\x022\x120/viam/api/v1/component/camera/{name}/point_cloud\x12\xa9\x01\n\rGetProperties\x12..viam.component.camera.v1.GetPropertiesRequest\x1a/.viam.component.camera.v1.GetPropertiesResponse"7\x82\xd3\xe4\x93\x021\x12//viam/api/v1/component/camera/{name}/properties\x12\x89\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"7\x82\xd3\xe4\x93\x021"//viam/api/v1/component/camera/{name}/do_command\x12\x95\x01\n\rGetGeometries\x12$.viam.common.v1.GetGeometriesRequest\x1a%.viam.common.v1.GetGeometriesResponse"7\x82\xd3\xe4\x93\x021\x12//viam/api/v1/component/camera/{name}/geometriesBC\n\x1ccom.viam.component.camera.v1Z#go.viam.com/api/component/camera/v1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n component/camera/v1/camera.proto\x12\x18viam.component.camera.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/api/httpbody.proto\x1a\x1cgoogle/protobuf/struct.proto"q\n\x0fGetImageRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n\tmime_type\x18\x02 \x01(\tR\x08mimeType\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"E\n\x10GetImageResponse\x12\x1b\n\tmime_type\x18\x01 \x01(\tR\x08mimeType\x12\x14\n\x05image\x18\x02 \x01(\x0cR\x05image"&\n\x10GetImagesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"\x9d\x01\n\x11GetImagesResponse\x127\n\x06images\x18\x01 \x03(\x0b2\x1f.viam.component.camera.v1.ImageR\x06images\x12O\n\x11response_metadata\x18\xa4\x92\x05 \x01(\x0b2 .viam.common.v1.ResponseMetadataR\x10responseMetadata"x\n\x05Image\x12\x1f\n\x0bsource_name\x18\x01 \x01(\tR\nsourceName\x128\n\x06format\x18\x02 \x01(\x0e2 .viam.component.camera.v1.FormatR\x06format\x12\x14\n\x05image\x18\x03 \x01(\x0cR\x05image"t\n\x12RenderFrameRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n\tmime_type\x18\x02 \x01(\tR\x08mimeType\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"v\n\x14GetPointCloudRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n\tmime_type\x18\x02 \x01(\tR\x08mimeType\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"U\n\x15GetPointCloudResponse\x12\x1b\n\tmime_type\x18\x01 \x01(\tR\x08mimeType\x12\x1f\n\x0bpoint_cloud\x18\x02 \x01(\x0cR\npointCloud"*\n\x14GetPropertiesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"\xa0\x02\n\x15GetPropertiesResponse\x12!\n\x0csupports_pcd\x18\x01 \x01(\x08R\x0bsupportsPcd\x12`\n\x14intrinsic_parameters\x18\x02 \x01(\x0b2-.viam.component.camera.v1.IntrinsicParametersR\x13intrinsicParameters\x12c\n\x15distortion_parameters\x18\x03 \x01(\x0b2..viam.component.camera.v1.DistortionParametersR\x14distortionParameters\x12\x1d\n\nmime_types\x18\x04 \x03(\tR\tmimeTypes"E\n\x07Webcams\x12:\n\x07webcams\x18\x01 \x03(\x0b2 .viam.component.camera.v1.WebcamR\x07webcams"\x9e\x01\n\x06Webcam\x12\x14\n\x05label\x18\x01 \x01(\tR\x05label\x12\x16\n\x06status\x18\x02 \x01(\tR\x06status\x12B\n\nproperties\x18\x03 \x03(\x0b2".viam.component.camera.v1.PropertyR\nproperties\x12\x12\n\x04name\x18\x04 \x01(\tR\x04name\x12\x0e\n\x02id\x18\x05 \x01(\tR\x02id"\x84\x01\n\x08Property\x12\x19\n\x08width_px\x18\x01 \x01(\x05R\x07widthPx\x12\x1b\n\theight_px\x18\x02 \x01(\x05R\x08heightPx\x12!\n\x0cframe_format\x18\x03 \x01(\tR\x0bframeFormat\x12\x1d\n\nframe_rate\x18\x04 \x01(\x02R\tframeRate"\xc9\x01\n\x13IntrinsicParameters\x12\x19\n\x08width_px\x18\x01 \x01(\rR\x07widthPx\x12\x1b\n\theight_px\x18\x02 \x01(\rR\x08heightPx\x12\x1c\n\nfocal_x_px\x18\x03 \x01(\x01R\x08focalXPx\x12\x1c\n\nfocal_y_px\x18\x04 \x01(\x01R\x08focalYPx\x12\x1e\n\x0bcenter_x_px\x18\x05 \x01(\x01R\tcenterXPx\x12\x1e\n\x0bcenter_y_px\x18\x06 \x01(\x01R\tcenterYPx"L\n\x14DistortionParameters\x12\x14\n\x05model\x18\x01 \x01(\tR\x05model\x12\x1e\n\nparameters\x18\x02 \x03(\x01R\nparameters*l\n\x06Format\x12\x16\n\x12FORMAT_UNSPECIFIED\x10\x00\x12\x13\n\x0fFORMAT_RAW_RGBA\x10\x01\x12\x14\n\x10FORMAT_RAW_DEPTH\x10\x02\x12\x0f\n\x0bFORMAT_JPEG\x10\x03\x12\x0e\n\nFORMAT_PNG\x10\x042\xcf\x08\n\rCameraService\x12\x95\x01\n\x08GetImage\x12).viam.component.camera.v1.GetImageRequest\x1a*.viam.component.camera.v1.GetImageResponse"2\x82\xd3\xe4\x93\x02,\x12*/viam/api/v1/component/camera/{name}/image\x12\x99\x01\n\tGetImages\x12*.viam.component.camera.v1.GetImagesRequest\x1a+.viam.component.camera.v1.GetImagesResponse"3\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/component/camera/{name}/images\x12\x8c\x01\n\x0bRenderFrame\x12,.viam.component.camera.v1.RenderFrameRequest\x1a\x14.google.api.HttpBody"9\x82\xd3\xe4\x93\x023\x121/viam/api/v1/component/camera/{name}/render_frame\x12\xaa\x01\n\rGetPointCloud\x12..viam.component.camera.v1.GetPointCloudRequest\x1a/.viam.component.camera.v1.GetPointCloudResponse"8\x82\xd3\xe4\x93\x022\x120/viam/api/v1/component/camera/{name}/point_cloud\x12\xa9\x01\n\rGetProperties\x12..viam.component.camera.v1.GetPropertiesRequest\x1a/.viam.component.camera.v1.GetPropertiesResponse"7\x82\xd3\xe4\x93\x021\x12//viam/api/v1/component/camera/{name}/properties\x12\x89\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"7\x82\xd3\xe4\x93\x021"//viam/api/v1/component/camera/{name}/do_command\x12\x95\x01\n\rGetGeometries\x12$.viam.common.v1.GetGeometriesRequest\x1a%.viam.common.v1.GetGeometriesResponse"7\x82\xd3\xe4\x93\x021\x12//viam/api/v1/component/camera/{name}/geometriesBC\n\x1ccom.viam.component.camera.v1Z#go.viam.com/api/component/camera/v1b\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'component.camera.v1.camera_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: @@ -28,8 +28,8 @@ _CAMERASERVICE.methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x021"//viam/api/v1/component/camera/{name}/do_command' _CAMERASERVICE.methods_by_name['GetGeometries']._options = None _CAMERASERVICE.methods_by_name['GetGeometries']._serialized_options = b'\x82\xd3\xe4\x93\x021\x12//viam/api/v1/component/camera/{name}/geometries' - _FORMAT._serialized_start = 1959 - _FORMAT._serialized_end = 2067 + _FORMAT._serialized_start = 1990 + _FORMAT._serialized_end = 2098 _GETIMAGEREQUEST._serialized_start = 173 _GETIMAGEREQUEST._serialized_end = 286 _GETIMAGERESPONSE._serialized_start = 288 @@ -49,16 +49,16 @@ _GETPROPERTIESREQUEST._serialized_start = 1006 _GETPROPERTIESREQUEST._serialized_end = 1048 _GETPROPERTIESRESPONSE._serialized_start = 1051 - _GETPROPERTIESRESPONSE._serialized_end = 1308 - _WEBCAMS._serialized_start = 1310 - _WEBCAMS._serialized_end = 1379 - _WEBCAM._serialized_start = 1382 - _WEBCAM._serialized_end = 1540 - _PROPERTY._serialized_start = 1543 - _PROPERTY._serialized_end = 1675 - _INTRINSICPARAMETERS._serialized_start = 1678 - _INTRINSICPARAMETERS._serialized_end = 1879 - _DISTORTIONPARAMETERS._serialized_start = 1881 - _DISTORTIONPARAMETERS._serialized_end = 1957 - _CAMERASERVICE._serialized_start = 2070 - _CAMERASERVICE._serialized_end = 3173 \ No newline at end of file + _GETPROPERTIESRESPONSE._serialized_end = 1339 + _WEBCAMS._serialized_start = 1341 + _WEBCAMS._serialized_end = 1410 + _WEBCAM._serialized_start = 1413 + _WEBCAM._serialized_end = 1571 + _PROPERTY._serialized_start = 1574 + _PROPERTY._serialized_end = 1706 + _INTRINSICPARAMETERS._serialized_start = 1709 + _INTRINSICPARAMETERS._serialized_end = 1910 + _DISTORTIONPARAMETERS._serialized_start = 1912 + _DISTORTIONPARAMETERS._serialized_end = 1988 + _CAMERASERVICE._serialized_start = 2101 + _CAMERASERVICE._serialized_end = 3204 \ No newline at end of file diff --git a/src/viam/gen/component/camera/v1/camera_pb2.pyi b/src/viam/gen/component/camera/v1/camera_pb2.pyi index ada047ce8..2e103a613 100644 --- a/src/viam/gen/component/camera/v1/camera_pb2.pyi +++ b/src/viam/gen/component/camera/v1/camera_pb2.pyi @@ -226,6 +226,7 @@ class GetPropertiesResponse(google.protobuf.message.Message): SUPPORTS_PCD_FIELD_NUMBER: builtins.int INTRINSIC_PARAMETERS_FIELD_NUMBER: builtins.int DISTORTION_PARAMETERS_FIELD_NUMBER: builtins.int + MIME_TYPES_FIELD_NUMBER: builtins.int supports_pcd: builtins.bool 'A boolean property determining whether the camera supports the return of pointcloud data' @@ -243,13 +244,17 @@ class GetPropertiesResponse(google.protobuf.message.Message): Initializing the parameters with 0-values is considered an error """ - def __init__(self, *, supports_pcd: builtins.bool=..., intrinsic_parameters: global___IntrinsicParameters | None=..., distortion_parameters: global___DistortionParameters | None=...) -> None: + @property + def mime_types(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + """Supported MIME types by the camera""" + + def __init__(self, *, supports_pcd: builtins.bool=..., intrinsic_parameters: global___IntrinsicParameters | None=..., distortion_parameters: global___DistortionParameters | None=..., mime_types: collections.abc.Iterable[builtins.str] | None=...) -> None: ... def HasField(self, field_name: typing_extensions.Literal['distortion_parameters', b'distortion_parameters', 'intrinsic_parameters', b'intrinsic_parameters']) -> builtins.bool: ... - def ClearField(self, field_name: typing_extensions.Literal['distortion_parameters', b'distortion_parameters', 'intrinsic_parameters', b'intrinsic_parameters', 'supports_pcd', b'supports_pcd']) -> None: + def ClearField(self, field_name: typing_extensions.Literal['distortion_parameters', b'distortion_parameters', 'intrinsic_parameters', b'intrinsic_parameters', 'mime_types', b'mime_types', 'supports_pcd', b'supports_pcd']) -> None: ... global___GetPropertiesResponse = GetPropertiesResponse diff --git a/src/viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py b/src/viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py index 814a1b6e3..a2056c96f 100644 --- a/src/viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py +++ b/src/viam/gen/proto/rpc/examples/echo/v1/echo_pb2.py @@ -5,14 +5,14 @@ from google.protobuf import symbol_database as _symbol_database _sym_db = _symbol_database.Default() from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2 -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%proto/rpc/examples/echo/v1/echo.proto\x12\x1aproto.rpc.examples.echo.v1\x1a\x1cgoogle/api/annotations.proto"\'\n\x0bEchoRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"(\n\x0cEchoResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"/\n\x13EchoMultipleRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"0\n\x14EchoMultipleResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"+\n\x0fEchoBiDiRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message",\n\x10EchoBiDiResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message2\xf4\x02\n\x0bEchoService\x12\x80\x01\n\x04Echo\x12\'.proto.rpc.examples.echo.v1.EchoRequest\x1a(.proto.rpc.examples.echo.v1.EchoResponse"%\x82\xd3\xe4\x93\x02\x1f"\x1a/rpc/examples/echo/v1/echo:\x01*\x12u\n\x0cEchoMultiple\x12/.proto.rpc.examples.echo.v1.EchoMultipleRequest\x1a0.proto.rpc.examples.echo.v1.EchoMultipleResponse"\x000\x01\x12k\n\x08EchoBiDi\x12+.proto.rpc.examples.echo.v1.EchoBiDiRequest\x1a,.proto.rpc.examples.echo.v1.EchoBiDiResponse"\x00(\x010\x01B.Z,go.viam.com/utils/proto/rpc/examples/echo/v1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%proto/rpc/examples/echo/v1/echo.proto\x12\x1aproto.rpc.examples.echo.v1\x1a\x1cgoogle/api/annotations.proto"\'\n\x0bEchoRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"(\n\x0cEchoResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"/\n\x13EchoMultipleRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"0\n\x14EchoMultipleResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message"+\n\x0fEchoBiDiRequest\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message",\n\x10EchoBiDiResponse\x12\x18\n\x07message\x18\x01 \x01(\tR\x07message2\xf4\x02\n\x0bEchoService\x12\x80\x01\n\x04Echo\x12\'.proto.rpc.examples.echo.v1.EchoRequest\x1a(.proto.rpc.examples.echo.v1.EchoResponse"%\x82\xd3\xe4\x93\x02\x1f:\x01*"\x1a/rpc/examples/echo/v1/echo\x12u\n\x0cEchoMultiple\x12/.proto.rpc.examples.echo.v1.EchoMultipleRequest\x1a0.proto.rpc.examples.echo.v1.EchoMultipleResponse"\x000\x01\x12k\n\x08EchoBiDi\x12+.proto.rpc.examples.echo.v1.EchoBiDiRequest\x1a,.proto.rpc.examples.echo.v1.EchoBiDiResponse"\x00(\x010\x01B.Z,go.viam.com/utils/proto/rpc/examples/echo/v1b\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'proto.rpc.examples.echo.v1.echo_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: DESCRIPTOR._options = None DESCRIPTOR._serialized_options = b'Z,go.viam.com/utils/proto/rpc/examples/echo/v1' _ECHOSERVICE.methods_by_name['Echo']._options = None - _ECHOSERVICE.methods_by_name['Echo']._serialized_options = b'\x82\xd3\xe4\x93\x02\x1f"\x1a/rpc/examples/echo/v1/echo:\x01*' + _ECHOSERVICE.methods_by_name['Echo']._serialized_options = b'\x82\xd3\xe4\x93\x02\x1f:\x01*"\x1a/rpc/examples/echo/v1/echo' _ECHOREQUEST._serialized_start = 99 _ECHOREQUEST._serialized_end = 138 _ECHORESPONSE._serialized_start = 140 diff --git a/src/viam/gen/service/motion/v1/motion_grpc.py b/src/viam/gen/service/motion/v1/motion_grpc.py index 950e84273..807749639 100644 --- a/src/viam/gen/service/motion/v1/motion_grpc.py +++ b/src/viam/gen/service/motion/v1/motion_grpc.py @@ -21,11 +21,11 @@ async def MoveOnMap(self, stream: 'grpclib.server.Stream[service.motion.v1.motio pass @abc.abstractmethod - async def MoveOnGlobe(self, stream: 'grpclib.server.Stream[service.motion.v1.motion_pb2.MoveOnGlobeRequest, service.motion.v1.motion_pb2.MoveOnGlobeResponse]') -> None: + async def MoveOnMapNew(self, stream: 'grpclib.server.Stream[service.motion.v1.motion_pb2.MoveOnMapNewRequest, service.motion.v1.motion_pb2.MoveOnMapNewResponse]') -> None: pass @abc.abstractmethod - async def MoveOnGlobeNew(self, stream: 'grpclib.server.Stream[service.motion.v1.motion_pb2.MoveOnGlobeNewRequest, service.motion.v1.motion_pb2.MoveOnGlobeNewResponse]') -> None: + async def MoveOnGlobe(self, stream: 'grpclib.server.Stream[service.motion.v1.motion_pb2.MoveOnGlobeRequest, service.motion.v1.motion_pb2.MoveOnGlobeResponse]') -> None: pass @abc.abstractmethod @@ -49,15 +49,15 @@ async def DoCommand(self, stream: 'grpclib.server.Stream[common.v1.common_pb2.Do pass def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]: - return {'/viam.service.motion.v1.MotionService/Move': grpclib.const.Handler(self.Move, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.MoveRequest, service.motion.v1.motion_pb2.MoveResponse), '/viam.service.motion.v1.MotionService/MoveOnMap': grpclib.const.Handler(self.MoveOnMap, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.MoveOnMapRequest, service.motion.v1.motion_pb2.MoveOnMapResponse), '/viam.service.motion.v1.MotionService/MoveOnGlobe': grpclib.const.Handler(self.MoveOnGlobe, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.MoveOnGlobeRequest, service.motion.v1.motion_pb2.MoveOnGlobeResponse), '/viam.service.motion.v1.MotionService/MoveOnGlobeNew': grpclib.const.Handler(self.MoveOnGlobeNew, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.MoveOnGlobeNewRequest, service.motion.v1.motion_pb2.MoveOnGlobeNewResponse), '/viam.service.motion.v1.MotionService/GetPose': grpclib.const.Handler(self.GetPose, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.GetPoseRequest, service.motion.v1.motion_pb2.GetPoseResponse), '/viam.service.motion.v1.MotionService/StopPlan': grpclib.const.Handler(self.StopPlan, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.StopPlanRequest, service.motion.v1.motion_pb2.StopPlanResponse), '/viam.service.motion.v1.MotionService/ListPlanStatuses': grpclib.const.Handler(self.ListPlanStatuses, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.ListPlanStatusesRequest, service.motion.v1.motion_pb2.ListPlanStatusesResponse), '/viam.service.motion.v1.MotionService/GetPlan': grpclib.const.Handler(self.GetPlan, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.GetPlanRequest, service.motion.v1.motion_pb2.GetPlanResponse), '/viam.service.motion.v1.MotionService/DoCommand': grpclib.const.Handler(self.DoCommand, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse)} + return {'/viam.service.motion.v1.MotionService/Move': grpclib.const.Handler(self.Move, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.MoveRequest, service.motion.v1.motion_pb2.MoveResponse), '/viam.service.motion.v1.MotionService/MoveOnMap': grpclib.const.Handler(self.MoveOnMap, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.MoveOnMapRequest, service.motion.v1.motion_pb2.MoveOnMapResponse), '/viam.service.motion.v1.MotionService/MoveOnMapNew': grpclib.const.Handler(self.MoveOnMapNew, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.MoveOnMapNewRequest, service.motion.v1.motion_pb2.MoveOnMapNewResponse), '/viam.service.motion.v1.MotionService/MoveOnGlobe': grpclib.const.Handler(self.MoveOnGlobe, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.MoveOnGlobeRequest, service.motion.v1.motion_pb2.MoveOnGlobeResponse), '/viam.service.motion.v1.MotionService/GetPose': grpclib.const.Handler(self.GetPose, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.GetPoseRequest, service.motion.v1.motion_pb2.GetPoseResponse), '/viam.service.motion.v1.MotionService/StopPlan': grpclib.const.Handler(self.StopPlan, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.StopPlanRequest, service.motion.v1.motion_pb2.StopPlanResponse), '/viam.service.motion.v1.MotionService/ListPlanStatuses': grpclib.const.Handler(self.ListPlanStatuses, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.ListPlanStatusesRequest, service.motion.v1.motion_pb2.ListPlanStatusesResponse), '/viam.service.motion.v1.MotionService/GetPlan': grpclib.const.Handler(self.GetPlan, grpclib.const.Cardinality.UNARY_UNARY, service.motion.v1.motion_pb2.GetPlanRequest, service.motion.v1.motion_pb2.GetPlanResponse), '/viam.service.motion.v1.MotionService/DoCommand': grpclib.const.Handler(self.DoCommand, grpclib.const.Cardinality.UNARY_UNARY, common.v1.common_pb2.DoCommandRequest, common.v1.common_pb2.DoCommandResponse)} class MotionServiceStub: def __init__(self, channel: grpclib.client.Channel) -> None: self.Move = grpclib.client.UnaryUnaryMethod(channel, '/viam.service.motion.v1.MotionService/Move', service.motion.v1.motion_pb2.MoveRequest, service.motion.v1.motion_pb2.MoveResponse) self.MoveOnMap = grpclib.client.UnaryUnaryMethod(channel, '/viam.service.motion.v1.MotionService/MoveOnMap', service.motion.v1.motion_pb2.MoveOnMapRequest, service.motion.v1.motion_pb2.MoveOnMapResponse) + self.MoveOnMapNew = grpclib.client.UnaryUnaryMethod(channel, '/viam.service.motion.v1.MotionService/MoveOnMapNew', service.motion.v1.motion_pb2.MoveOnMapNewRequest, service.motion.v1.motion_pb2.MoveOnMapNewResponse) self.MoveOnGlobe = grpclib.client.UnaryUnaryMethod(channel, '/viam.service.motion.v1.MotionService/MoveOnGlobe', service.motion.v1.motion_pb2.MoveOnGlobeRequest, service.motion.v1.motion_pb2.MoveOnGlobeResponse) - self.MoveOnGlobeNew = grpclib.client.UnaryUnaryMethod(channel, '/viam.service.motion.v1.MotionService/MoveOnGlobeNew', service.motion.v1.motion_pb2.MoveOnGlobeNewRequest, service.motion.v1.motion_pb2.MoveOnGlobeNewResponse) self.GetPose = grpclib.client.UnaryUnaryMethod(channel, '/viam.service.motion.v1.MotionService/GetPose', service.motion.v1.motion_pb2.GetPoseRequest, service.motion.v1.motion_pb2.GetPoseResponse) self.StopPlan = grpclib.client.UnaryUnaryMethod(channel, '/viam.service.motion.v1.MotionService/StopPlan', service.motion.v1.motion_pb2.StopPlanRequest, service.motion.v1.motion_pb2.StopPlanResponse) self.ListPlanStatuses = grpclib.client.UnaryUnaryMethod(channel, '/viam.service.motion.v1.MotionService/ListPlanStatuses', service.motion.v1.motion_pb2.ListPlanStatusesRequest, service.motion.v1.motion_pb2.ListPlanStatusesResponse) diff --git a/src/viam/gen/service/motion/v1/motion_pb2.py b/src/viam/gen/service/motion/v1/motion_pb2.py index d2d703a62..1b6c36997 100644 --- a/src/viam/gen/service/motion/v1/motion_pb2.py +++ b/src/viam/gen/service/motion/v1/motion_pb2.py @@ -8,7 +8,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\x1eservice/motion/v1/motion.proto\x12\x16viam.service.motion.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x82\x03\n\x0bMoveRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12=\n\x0bdestination\x18\x02 \x01(\x0b2\x1b.viam.common.v1.PoseInFrameR\x0bdestination\x12C\n\x0ecomponent_name\x18\x03 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12@\n\x0bworld_state\x18\x04 \x01(\x0b2\x1a.viam.common.v1.WorldStateH\x00R\nworldState\x88\x01\x01\x12J\n\x0bconstraints\x18\x05 \x01(\x0b2#.viam.service.motion.v1.ConstraintsH\x01R\x0bconstraints\x88\x01\x01\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extraB\x0e\n\x0c_world_stateB\x0e\n\x0c_constraints"(\n\x0cMoveResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success"\x9c\x02\n\x10MoveOnMapRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x126\n\x0bdestination\x18\x02 \x01(\x0b2\x14.viam.common.v1.PoseR\x0bdestination\x12C\n\x0ecomponent_name\x18\x03 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12H\n\x11slam_service_name\x18\x04 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\x0fslamServiceName\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"-\n\x11MoveOnMapResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success"\x8d\x01\n\x10ObstacleDetector\x12C\n\x0evision_service\x18\x01 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rvisionService\x124\n\x06camera\x18\x02 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\x06camera"\x98\x04\n\x13MotionConfiguration\x12W\n\x12obstacle_detectors\x18\x01 \x03(\x0b2(.viam.service.motion.v1.ObstacleDetectorR\x11obstacleDetectors\x12F\n\x1dposition_polling_frequency_hz\x18\x02 \x01(\x01H\x00R\x1apositionPollingFrequencyHz\x88\x01\x01\x12F\n\x1dobstacle_polling_frequency_hz\x18\x03 \x01(\x01H\x01R\x1aobstaclePollingFrequencyHz\x88\x01\x01\x12-\n\x10plan_deviation_m\x18\x04 \x01(\x01H\x02R\x0eplanDeviationM\x88\x01\x01\x12,\n\x10linear_m_per_sec\x18\x05 \x01(\x01H\x03R\rlinearMPerSec\x88\x01\x01\x124\n\x14angular_degs_per_sec\x18\x06 \x01(\x01H\x04R\x11angularDegsPerSec\x88\x01\x01B \n\x1e_position_polling_frequency_hzB \n\x1e_obstacle_polling_frequency_hzB\x13\n\x11_plan_deviation_mB\x13\n\x11_linear_m_per_secB\x17\n\x15_angular_degs_per_sec"\x8c\x04\n\x12MoveOnGlobeRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12:\n\x0bdestination\x18\x02 \x01(\x0b2\x18.viam.common.v1.GeoPointR\x0bdestination\x12\x1d\n\x07heading\x18\x03 \x01(\x01H\x00R\x07heading\x88\x01\x01\x12C\n\x0ecomponent_name\x18\x04 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12N\n\x14movement_sensor_name\x18\x05 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\x12movementSensorName\x129\n\tobstacles\x18\x06 \x03(\x0b2\x1b.viam.common.v1.GeoObstacleR\tobstacles\x12c\n\x14motion_configuration\x18\x07 \x01(\x0b2+.viam.service.motion.v1.MotionConfigurationH\x01R\x13motionConfiguration\x88\x01\x01\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extraB\n\n\x08_headingB\x17\n\x15_motion_configuration"/\n\x13MoveOnGlobeResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success"\x8f\x04\n\x15MoveOnGlobeNewRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12:\n\x0bdestination\x18\x02 \x01(\x0b2\x18.viam.common.v1.GeoPointR\x0bdestination\x12\x1d\n\x07heading\x18\x03 \x01(\x01H\x00R\x07heading\x88\x01\x01\x12C\n\x0ecomponent_name\x18\x04 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12N\n\x14movement_sensor_name\x18\x05 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\x12movementSensorName\x129\n\tobstacles\x18\x06 \x03(\x0b2\x1b.viam.common.v1.GeoObstacleR\tobstacles\x12c\n\x14motion_configuration\x18\x07 \x01(\x0b2+.viam.service.motion.v1.MotionConfigurationH\x01R\x13motionConfiguration\x88\x01\x01\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extraB\n\n\x08_headingB\x17\n\x15_motion_configuration";\n\x16MoveOnGlobeNewResponse\x12!\n\x0cexecution_id\x18\x01 \x01(\tR\x0bexecutionId"\x99\x02\n\x0eGetPoseRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12C\n\x0ecomponent_name\x18\x02 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12+\n\x11destination_frame\x18\x03 \x01(\tR\x10destinationFrame\x12R\n\x17supplemental_transforms\x18\x04 \x03(\x0b2\x19.viam.common.v1.TransformR\x16supplementalTransforms\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"B\n\x0fGetPoseResponse\x12/\n\x04pose\x18\x01 \x01(\x0b2\x1b.viam.common.v1.PoseInFrameR\x04pose"\x99\x01\n\x0fStopPlanRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12C\n\x0ecomponent_name\x18\x02 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x12\n\x10StopPlanResponse"\x88\x01\n\x17ListPlanStatusesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12*\n\x11only_active_plans\x18\x02 \x01(\x08R\x0fonlyActivePlans\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"y\n\x18ListPlanStatusesResponse\x12]\n\x16plan_statuses_with_ids\x18\x01 \x03(\x0b2(.viam.service.motion.v1.PlanStatusWithIDR\x13planStatusesWithIds"\xf7\x01\n\x0eGetPlanRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12C\n\x0ecomponent_name\x18\x02 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12$\n\x0elast_plan_only\x18\x03 \x01(\x08R\x0clastPlanOnly\x12&\n\x0cexecution_id\x18\x04 \x01(\tH\x00R\x0bexecutionId\x88\x01\x01\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extraB\x0f\n\r_execution_id"\xc1\x01\n\x0fGetPlanResponse\x12_\n\x18current_plan_with_status\x18\x01 \x01(\x0b2&.viam.service.motion.v1.PlanWithStatusR\x15currentPlanWithStatus\x12M\n\x0ereplan_history\x18\x02 \x03(\x0b2&.viam.service.motion.v1.PlanWithStatusR\rreplanHistory"\xb3\x02\n\x0bConstraints\x12U\n\x11linear_constraint\x18\x01 \x03(\x0b2(.viam.service.motion.v1.LinearConstraintR\x10linearConstraint\x12d\n\x16orientation_constraint\x18\x02 \x03(\x0b2-.viam.service.motion.v1.OrientationConstraintR\x15orientationConstraint\x12g\n\x17collision_specification\x18\x03 \x03(\x0b2..viam.service.motion.v1.CollisionSpecificationR\x16collisionSpecification"\xbb\x01\n\x10LinearConstraint\x12/\n\x11line_tolerance_mm\x18\x01 \x01(\x02H\x00R\x0flineToleranceMm\x88\x01\x01\x12A\n\x1aorientation_tolerance_degs\x18\x02 \x01(\x02H\x01R\x18orientationToleranceDegs\x88\x01\x01B\x14\n\x12_line_tolerance_mmB\x1d\n\x1b_orientation_tolerance_degs"y\n\x15OrientationConstraint\x12A\n\x1aorientation_tolerance_degs\x18\x01 \x01(\x02H\x00R\x18orientationToleranceDegs\x88\x01\x01B\x1d\n\x1b_orientation_tolerance_degs"\xc1\x01\n\x16CollisionSpecification\x12]\n\x06allows\x18\x01 \x03(\x0b2E.viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisionsR\x06allows\x1aH\n\x16AllowedFrameCollisions\x12\x16\n\x06frame1\x18\x01 \x01(\tR\x06frame1\x12\x16\n\x06frame2\x18\x02 \x01(\tR\x06frame2"\xc9\x01\n\x0ePlanWithStatus\x120\n\x04plan\x18\x01 \x01(\x0b2\x1c.viam.service.motion.v1.PlanR\x04plan\x12:\n\x06status\x18\x02 \x01(\x0b2".viam.service.motion.v1.PlanStatusR\x06status\x12I\n\x0estatus_history\x18\x03 \x03(\x0b2".viam.service.motion.v1.PlanStatusR\rstatusHistory"\xcf\x01\n\x10PlanStatusWithID\x12\x17\n\x07plan_id\x18\x01 \x01(\tR\x06planId\x12C\n\x0ecomponent_name\x18\x02 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12!\n\x0cexecution_id\x18\x03 \x01(\tR\x0bexecutionId\x12:\n\x06status\x18\x04 \x01(\x0b2".viam.service.motion.v1.PlanStatusR\x06status"\xa7\x01\n\nPlanStatus\x127\n\x05state\x18\x01 \x01(\x0e2!.viam.service.motion.v1.PlanStateR\x05state\x128\n\ttimestamp\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\ttimestamp\x12\x1b\n\x06reason\x18\x03 \x01(\tH\x00R\x06reason\x88\x01\x01B\t\n\x07_reason"\xb6\x01\n\x04Plan\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12C\n\x0ecomponent_name\x18\x02 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12!\n\x0cexecution_id\x18\x03 \x01(\tR\x0bexecutionId\x126\n\x05steps\x18\x04 \x03(\x0b2 .viam.service.motion.v1.PlanStepR\x05steps"\xab\x01\n\x08PlanStep\x12>\n\x04step\x18\x01 \x03(\x0b2*.viam.service.motion.v1.PlanStep.StepEntryR\x04step\x1a_\n\tStepEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12<\n\x05value\x18\x02 \x01(\x0b2&.viam.service.motion.v1.ComponentStateR\x05value:\x028\x01":\n\x0eComponentState\x12(\n\x04pose\x18\x01 \x01(\x0b2\x14.viam.common.v1.PoseR\x04pose*\x8c\x01\n\tPlanState\x12\x1a\n\x16PLAN_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16PLAN_STATE_IN_PROGRESS\x10\x01\x12\x16\n\x12PLAN_STATE_STOPPED\x10\x02\x12\x18\n\x14PLAN_STATE_SUCCEEDED\x10\x03\x12\x15\n\x11PLAN_STATE_FAILED\x10\x042\xf9\n\n\rMotionService\x12\x82\x01\n\x04Move\x12#.viam.service.motion.v1.MoveRequest\x1a$.viam.service.motion.v1.MoveResponse"/\x82\xd3\xe4\x93\x02)"\'/viam/api/v1/service/motion/{name}/move\x12\x98\x01\n\tMoveOnMap\x12(.viam.service.motion.v1.MoveOnMapRequest\x1a).viam.service.motion.v1.MoveOnMapResponse"6\x82\xd3\xe4\x93\x020"./viam/api/v1/service/motion/{name}/move_on_map\x12\xa0\x01\n\x0bMoveOnGlobe\x12*.viam.service.motion.v1.MoveOnGlobeRequest\x1a+.viam.service.motion.v1.MoveOnGlobeResponse"8\x82\xd3\xe4\x93\x022"0/viam/api/v1/service/motion/{name}/move_on_globe\x12\xad\x01\n\x0eMoveOnGlobeNew\x12-.viam.service.motion.v1.MoveOnGlobeNewRequest\x1a..viam.service.motion.v1.MoveOnGlobeNewResponse"<\x82\xd3\xe4\x93\x026\x124/viam/api/v1/service/motion/{name}/move_on_globe_new\x12\x8b\x01\n\x07GetPose\x12&.viam.service.motion.v1.GetPoseRequest\x1a\'.viam.service.motion.v1.GetPoseResponse"/\x82\xd3\xe4\x93\x02)\x12\'/viam/api/v1/service/motion/{name}/pose\x12\x93\x01\n\x08StopPlan\x12\'.viam.service.motion.v1.StopPlanRequest\x1a(.viam.service.motion.v1.StopPlanResponse"4\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/service/motion/{name}/stop_plan\x12\xb4\x01\n\x10ListPlanStatuses\x12/.viam.service.motion.v1.ListPlanStatusesRequest\x1a0.viam.service.motion.v1.ListPlanStatusesResponse"=\x82\xd3\xe4\x93\x027\x125/viam/api/v1/service/motion/{name}/list_plan_statuses\x12\x8f\x01\n\x07GetPlan\x12&.viam.service.motion.v1.GetPlanRequest\x1a\'.viam.service.motion.v1.GetPlanResponse"3\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/service/motion/{name}/get_plan\x12\x87\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"5\x82\xd3\xe4\x93\x02/"-/viam/api/v1/service/motion/{name}/do_commandB?\n\x1acom.viam.service.motion.v1Z!go.viam.com/api/service/motion/v1b\x06proto3') +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1eservice/motion/v1/motion.proto\x12\x16viam.service.motion.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\x82\x03\n\x0bMoveRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12=\n\x0bdestination\x18\x02 \x01(\x0b2\x1b.viam.common.v1.PoseInFrameR\x0bdestination\x12C\n\x0ecomponent_name\x18\x03 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12@\n\x0bworld_state\x18\x04 \x01(\x0b2\x1a.viam.common.v1.WorldStateH\x00R\nworldState\x88\x01\x01\x12J\n\x0bconstraints\x18\x05 \x01(\x0b2#.viam.service.motion.v1.ConstraintsH\x01R\x0bconstraints\x88\x01\x01\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extraB\x0e\n\x0c_world_stateB\x0e\n\x0c_constraints"(\n\x0cMoveResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success"\x9d\x03\n\x13MoveOnMapNewRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x126\n\x0bdestination\x18\x02 \x01(\x0b2\x14.viam.common.v1.PoseR\x0bdestination\x12C\n\x0ecomponent_name\x18\x03 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12H\n\x11slam_service_name\x18\x04 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\x0fslamServiceName\x12c\n\x14motion_configuration\x18\x05 \x01(\x0b2+.viam.service.motion.v1.MotionConfigurationH\x00R\x13motionConfiguration\x88\x01\x01\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extraB\x17\n\x15_motion_configuration"9\n\x14MoveOnMapNewResponse\x12!\n\x0cexecution_id\x18\x01 \x01(\tR\x0bexecutionId"\x9c\x02\n\x10MoveOnMapRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x126\n\x0bdestination\x18\x02 \x01(\x0b2\x14.viam.common.v1.PoseR\x0bdestination\x12C\n\x0ecomponent_name\x18\x03 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12H\n\x11slam_service_name\x18\x04 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\x0fslamServiceName\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"-\n\x11MoveOnMapResponse\x12\x18\n\x07success\x18\x01 \x01(\x08R\x07success"\x8d\x01\n\x10ObstacleDetector\x12C\n\x0evision_service\x18\x01 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rvisionService\x124\n\x06camera\x18\x02 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\x06camera"\x98\x04\n\x13MotionConfiguration\x12W\n\x12obstacle_detectors\x18\x01 \x03(\x0b2(.viam.service.motion.v1.ObstacleDetectorR\x11obstacleDetectors\x12F\n\x1dposition_polling_frequency_hz\x18\x02 \x01(\x01H\x00R\x1apositionPollingFrequencyHz\x88\x01\x01\x12F\n\x1dobstacle_polling_frequency_hz\x18\x03 \x01(\x01H\x01R\x1aobstaclePollingFrequencyHz\x88\x01\x01\x12-\n\x10plan_deviation_m\x18\x04 \x01(\x01H\x02R\x0eplanDeviationM\x88\x01\x01\x12,\n\x10linear_m_per_sec\x18\x05 \x01(\x01H\x03R\rlinearMPerSec\x88\x01\x01\x124\n\x14angular_degs_per_sec\x18\x06 \x01(\x01H\x04R\x11angularDegsPerSec\x88\x01\x01B \n\x1e_position_polling_frequency_hzB \n\x1e_obstacle_polling_frequency_hzB\x13\n\x11_plan_deviation_mB\x13\n\x11_linear_m_per_secB\x17\n\x15_angular_degs_per_sec"\x8c\x04\n\x12MoveOnGlobeRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12:\n\x0bdestination\x18\x02 \x01(\x0b2\x18.viam.common.v1.GeoPointR\x0bdestination\x12\x1d\n\x07heading\x18\x03 \x01(\x01H\x00R\x07heading\x88\x01\x01\x12C\n\x0ecomponent_name\x18\x04 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12N\n\x14movement_sensor_name\x18\x05 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\x12movementSensorName\x129\n\tobstacles\x18\x06 \x03(\x0b2\x1b.viam.common.v1.GeoObstacleR\tobstacles\x12c\n\x14motion_configuration\x18\x07 \x01(\x0b2+.viam.service.motion.v1.MotionConfigurationH\x01R\x13motionConfiguration\x88\x01\x01\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extraB\n\n\x08_headingB\x17\n\x15_motion_configuration"8\n\x13MoveOnGlobeResponse\x12!\n\x0cexecution_id\x18\x01 \x01(\tR\x0bexecutionId"\x99\x02\n\x0eGetPoseRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12C\n\x0ecomponent_name\x18\x02 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12+\n\x11destination_frame\x18\x03 \x01(\tR\x10destinationFrame\x12R\n\x17supplemental_transforms\x18\x04 \x03(\x0b2\x19.viam.common.v1.TransformR\x16supplementalTransforms\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"B\n\x0fGetPoseResponse\x12/\n\x04pose\x18\x01 \x01(\x0b2\x1b.viam.common.v1.PoseInFrameR\x04pose"\x99\x01\n\x0fStopPlanRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12C\n\x0ecomponent_name\x18\x02 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"\x12\n\x10StopPlanResponse"\x88\x01\n\x17ListPlanStatusesRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12*\n\x11only_active_plans\x18\x02 \x01(\x08R\x0fonlyActivePlans\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extra"y\n\x18ListPlanStatusesResponse\x12]\n\x16plan_statuses_with_ids\x18\x01 \x03(\x0b2(.viam.service.motion.v1.PlanStatusWithIDR\x13planStatusesWithIds"\xf7\x01\n\x0eGetPlanRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12C\n\x0ecomponent_name\x18\x02 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12$\n\x0elast_plan_only\x18\x03 \x01(\x08R\x0clastPlanOnly\x12&\n\x0cexecution_id\x18\x04 \x01(\tH\x00R\x0bexecutionId\x88\x01\x01\x12-\n\x05extra\x18c \x01(\x0b2\x17.google.protobuf.StructR\x05extraB\x0f\n\r_execution_id"\xc1\x01\n\x0fGetPlanResponse\x12_\n\x18current_plan_with_status\x18\x01 \x01(\x0b2&.viam.service.motion.v1.PlanWithStatusR\x15currentPlanWithStatus\x12M\n\x0ereplan_history\x18\x02 \x03(\x0b2&.viam.service.motion.v1.PlanWithStatusR\rreplanHistory"\xb3\x02\n\x0bConstraints\x12U\n\x11linear_constraint\x18\x01 \x03(\x0b2(.viam.service.motion.v1.LinearConstraintR\x10linearConstraint\x12d\n\x16orientation_constraint\x18\x02 \x03(\x0b2-.viam.service.motion.v1.OrientationConstraintR\x15orientationConstraint\x12g\n\x17collision_specification\x18\x03 \x03(\x0b2..viam.service.motion.v1.CollisionSpecificationR\x16collisionSpecification"\xbb\x01\n\x10LinearConstraint\x12/\n\x11line_tolerance_mm\x18\x01 \x01(\x02H\x00R\x0flineToleranceMm\x88\x01\x01\x12A\n\x1aorientation_tolerance_degs\x18\x02 \x01(\x02H\x01R\x18orientationToleranceDegs\x88\x01\x01B\x14\n\x12_line_tolerance_mmB\x1d\n\x1b_orientation_tolerance_degs"y\n\x15OrientationConstraint\x12A\n\x1aorientation_tolerance_degs\x18\x01 \x01(\x02H\x00R\x18orientationToleranceDegs\x88\x01\x01B\x1d\n\x1b_orientation_tolerance_degs"\xc1\x01\n\x16CollisionSpecification\x12]\n\x06allows\x18\x01 \x03(\x0b2E.viam.service.motion.v1.CollisionSpecification.AllowedFrameCollisionsR\x06allows\x1aH\n\x16AllowedFrameCollisions\x12\x16\n\x06frame1\x18\x01 \x01(\tR\x06frame1\x12\x16\n\x06frame2\x18\x02 \x01(\tR\x06frame2"\xc9\x01\n\x0ePlanWithStatus\x120\n\x04plan\x18\x01 \x01(\x0b2\x1c.viam.service.motion.v1.PlanR\x04plan\x12:\n\x06status\x18\x02 \x01(\x0b2".viam.service.motion.v1.PlanStatusR\x06status\x12I\n\x0estatus_history\x18\x03 \x03(\x0b2".viam.service.motion.v1.PlanStatusR\rstatusHistory"\xcf\x01\n\x10PlanStatusWithID\x12\x17\n\x07plan_id\x18\x01 \x01(\tR\x06planId\x12C\n\x0ecomponent_name\x18\x02 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12!\n\x0cexecution_id\x18\x03 \x01(\tR\x0bexecutionId\x12:\n\x06status\x18\x04 \x01(\x0b2".viam.service.motion.v1.PlanStatusR\x06status"\xa7\x01\n\nPlanStatus\x127\n\x05state\x18\x01 \x01(\x0e2!.viam.service.motion.v1.PlanStateR\x05state\x128\n\ttimestamp\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\ttimestamp\x12\x1b\n\x06reason\x18\x03 \x01(\tH\x00R\x06reason\x88\x01\x01B\t\n\x07_reason"\xb6\x01\n\x04Plan\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12C\n\x0ecomponent_name\x18\x02 \x01(\x0b2\x1c.viam.common.v1.ResourceNameR\rcomponentName\x12!\n\x0cexecution_id\x18\x03 \x01(\tR\x0bexecutionId\x126\n\x05steps\x18\x04 \x03(\x0b2 .viam.service.motion.v1.PlanStepR\x05steps"\xab\x01\n\x08PlanStep\x12>\n\x04step\x18\x01 \x03(\x0b2*.viam.service.motion.v1.PlanStep.StepEntryR\x04step\x1a_\n\tStepEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12<\n\x05value\x18\x02 \x01(\x0b2&.viam.service.motion.v1.ComponentStateR\x05value:\x028\x01":\n\x0eComponentState\x12(\n\x04pose\x18\x01 \x01(\x0b2\x14.viam.common.v1.PoseR\x04pose*\x8c\x01\n\tPlanState\x12\x1a\n\x16PLAN_STATE_UNSPECIFIED\x10\x00\x12\x1a\n\x16PLAN_STATE_IN_PROGRESS\x10\x01\x12\x16\n\x12PLAN_STATE_STOPPED\x10\x02\x12\x18\n\x14PLAN_STATE_SUCCEEDED\x10\x03\x12\x15\n\x11PLAN_STATE_FAILED\x10\x042\xf1\n\n\rMotionService\x12\x82\x01\n\x04Move\x12#.viam.service.motion.v1.MoveRequest\x1a$.viam.service.motion.v1.MoveResponse"/\x82\xd3\xe4\x93\x02)"\'/viam/api/v1/service/motion/{name}/move\x12\x98\x01\n\tMoveOnMap\x12(.viam.service.motion.v1.MoveOnMapRequest\x1a).viam.service.motion.v1.MoveOnMapResponse"6\x82\xd3\xe4\x93\x020"./viam/api/v1/service/motion/{name}/move_on_map\x12\xa5\x01\n\x0cMoveOnMapNew\x12+.viam.service.motion.v1.MoveOnMapNewRequest\x1a,.viam.service.motion.v1.MoveOnMapNewResponse":\x82\xd3\xe4\x93\x024\x122/viam/api/v1/service/motion/{name}/move_on_map_new\x12\xa0\x01\n\x0bMoveOnGlobe\x12*.viam.service.motion.v1.MoveOnGlobeRequest\x1a+.viam.service.motion.v1.MoveOnGlobeResponse"8\x82\xd3\xe4\x93\x022"0/viam/api/v1/service/motion/{name}/move_on_globe\x12\x8b\x01\n\x07GetPose\x12&.viam.service.motion.v1.GetPoseRequest\x1a\'.viam.service.motion.v1.GetPoseResponse"/\x82\xd3\xe4\x93\x02)\x12\'/viam/api/v1/service/motion/{name}/pose\x12\x93\x01\n\x08StopPlan\x12\'.viam.service.motion.v1.StopPlanRequest\x1a(.viam.service.motion.v1.StopPlanResponse"4\x82\xd3\xe4\x93\x02.\x1a,/viam/api/v1/service/motion/{name}/stop_plan\x12\xb4\x01\n\x10ListPlanStatuses\x12/.viam.service.motion.v1.ListPlanStatusesRequest\x1a0.viam.service.motion.v1.ListPlanStatusesResponse"=\x82\xd3\xe4\x93\x027\x125/viam/api/v1/service/motion/{name}/list_plan_statuses\x12\x8f\x01\n\x07GetPlan\x12&.viam.service.motion.v1.GetPlanRequest\x1a\'.viam.service.motion.v1.GetPlanResponse"3\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/service/motion/{name}/get_plan\x12\x87\x01\n\tDoCommand\x12 .viam.common.v1.DoCommandRequest\x1a!.viam.common.v1.DoCommandResponse"5\x82\xd3\xe4\x93\x02/"-/viam/api/v1/service/motion/{name}/do_commandB?\n\x1acom.viam.service.motion.v1Z!go.viam.com/api/service/motion/v1b\x06proto3') _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'service.motion.v1.motion_pb2', globals()) if _descriptor._USE_C_DESCRIPTORS == False: @@ -20,81 +20,81 @@ _MOTIONSERVICE.methods_by_name['Move']._serialized_options = b'\x82\xd3\xe4\x93\x02)"\'/viam/api/v1/service/motion/{name}/move' _MOTIONSERVICE.methods_by_name['MoveOnMap']._options = None _MOTIONSERVICE.methods_by_name['MoveOnMap']._serialized_options = b'\x82\xd3\xe4\x93\x020"./viam/api/v1/service/motion/{name}/move_on_map' + _MOTIONSERVICE.methods_by_name['MoveOnMapNew']._options = None + _MOTIONSERVICE.methods_by_name['MoveOnMapNew']._serialized_options = b'\x82\xd3\xe4\x93\x024\x122/viam/api/v1/service/motion/{name}/move_on_map_new' _MOTIONSERVICE.methods_by_name['MoveOnGlobe']._options = None _MOTIONSERVICE.methods_by_name['MoveOnGlobe']._serialized_options = b'\x82\xd3\xe4\x93\x022"0/viam/api/v1/service/motion/{name}/move_on_globe' - _MOTIONSERVICE.methods_by_name['MoveOnGlobeNew']._options = None - _MOTIONSERVICE.methods_by_name['MoveOnGlobeNew']._serialized_options = b'\x82\xd3\xe4\x93\x026\x124/viam/api/v1/service/motion/{name}/move_on_globe_new' _MOTIONSERVICE.methods_by_name['GetPose']._options = None _MOTIONSERVICE.methods_by_name['GetPose']._serialized_options = b"\x82\xd3\xe4\x93\x02)\x12'/viam/api/v1/service/motion/{name}/pose" _MOTIONSERVICE.methods_by_name['StopPlan']._options = None - _MOTIONSERVICE.methods_by_name['StopPlan']._serialized_options = b'\x82\xd3\xe4\x93\x02.\x12,/viam/api/v1/service/motion/{name}/stop_plan' + _MOTIONSERVICE.methods_by_name['StopPlan']._serialized_options = b'\x82\xd3\xe4\x93\x02.\x1a,/viam/api/v1/service/motion/{name}/stop_plan' _MOTIONSERVICE.methods_by_name['ListPlanStatuses']._options = None _MOTIONSERVICE.methods_by_name['ListPlanStatuses']._serialized_options = b'\x82\xd3\xe4\x93\x027\x125/viam/api/v1/service/motion/{name}/list_plan_statuses' _MOTIONSERVICE.methods_by_name['GetPlan']._options = None _MOTIONSERVICE.methods_by_name['GetPlan']._serialized_options = b'\x82\xd3\xe4\x93\x02-\x12+/viam/api/v1/service/motion/{name}/get_plan' _MOTIONSERVICE.methods_by_name['DoCommand']._options = None _MOTIONSERVICE.methods_by_name['DoCommand']._serialized_options = b'\x82\xd3\xe4\x93\x02/"-/viam/api/v1/service/motion/{name}/do_command' - _PLANSTATE._serialized_start = 5849 - _PLANSTATE._serialized_end = 5989 + _PLANSTATE._serialized_start = 5742 + _PLANSTATE._serialized_end = 5882 _MOVEREQUEST._serialized_start = 176 _MOVEREQUEST._serialized_end = 562 _MOVERESPONSE._serialized_start = 564 _MOVERESPONSE._serialized_end = 604 - _MOVEONMAPREQUEST._serialized_start = 607 - _MOVEONMAPREQUEST._serialized_end = 891 - _MOVEONMAPRESPONSE._serialized_start = 893 - _MOVEONMAPRESPONSE._serialized_end = 938 - _OBSTACLEDETECTOR._serialized_start = 941 - _OBSTACLEDETECTOR._serialized_end = 1082 - _MOTIONCONFIGURATION._serialized_start = 1085 - _MOTIONCONFIGURATION._serialized_end = 1621 - _MOVEONGLOBEREQUEST._serialized_start = 1624 - _MOVEONGLOBEREQUEST._serialized_end = 2148 - _MOVEONGLOBERESPONSE._serialized_start = 2150 - _MOVEONGLOBERESPONSE._serialized_end = 2197 - _MOVEONGLOBENEWREQUEST._serialized_start = 2200 - _MOVEONGLOBENEWREQUEST._serialized_end = 2727 - _MOVEONGLOBENEWRESPONSE._serialized_start = 2729 - _MOVEONGLOBENEWRESPONSE._serialized_end = 2788 - _GETPOSEREQUEST._serialized_start = 2791 - _GETPOSEREQUEST._serialized_end = 3072 - _GETPOSERESPONSE._serialized_start = 3074 - _GETPOSERESPONSE._serialized_end = 3140 - _STOPPLANREQUEST._serialized_start = 3143 - _STOPPLANREQUEST._serialized_end = 3296 - _STOPPLANRESPONSE._serialized_start = 3298 - _STOPPLANRESPONSE._serialized_end = 3316 - _LISTPLANSTATUSESREQUEST._serialized_start = 3319 - _LISTPLANSTATUSESREQUEST._serialized_end = 3455 - _LISTPLANSTATUSESRESPONSE._serialized_start = 3457 - _LISTPLANSTATUSESRESPONSE._serialized_end = 3578 - _GETPLANREQUEST._serialized_start = 3581 - _GETPLANREQUEST._serialized_end = 3828 - _GETPLANRESPONSE._serialized_start = 3831 - _GETPLANRESPONSE._serialized_end = 4024 - _CONSTRAINTS._serialized_start = 4027 - _CONSTRAINTS._serialized_end = 4334 - _LINEARCONSTRAINT._serialized_start = 4337 - _LINEARCONSTRAINT._serialized_end = 4524 - _ORIENTATIONCONSTRAINT._serialized_start = 4526 - _ORIENTATIONCONSTRAINT._serialized_end = 4647 - _COLLISIONSPECIFICATION._serialized_start = 4650 - _COLLISIONSPECIFICATION._serialized_end = 4843 - _COLLISIONSPECIFICATION_ALLOWEDFRAMECOLLISIONS._serialized_start = 4771 - _COLLISIONSPECIFICATION_ALLOWEDFRAMECOLLISIONS._serialized_end = 4843 - _PLANWITHSTATUS._serialized_start = 4846 - _PLANWITHSTATUS._serialized_end = 5047 - _PLANSTATUSWITHID._serialized_start = 5050 - _PLANSTATUSWITHID._serialized_end = 5257 - _PLANSTATUS._serialized_start = 5260 - _PLANSTATUS._serialized_end = 5427 - _PLAN._serialized_start = 5430 - _PLAN._serialized_end = 5612 - _PLANSTEP._serialized_start = 5615 - _PLANSTEP._serialized_end = 5786 - _PLANSTEP_STEPENTRY._serialized_start = 5691 - _PLANSTEP_STEPENTRY._serialized_end = 5786 - _COMPONENTSTATE._serialized_start = 5788 - _COMPONENTSTATE._serialized_end = 5846 - _MOTIONSERVICE._serialized_start = 5992 - _MOTIONSERVICE._serialized_end = 7393 \ No newline at end of file + _MOVEONMAPNEWREQUEST._serialized_start = 607 + _MOVEONMAPNEWREQUEST._serialized_end = 1020 + _MOVEONMAPNEWRESPONSE._serialized_start = 1022 + _MOVEONMAPNEWRESPONSE._serialized_end = 1079 + _MOVEONMAPREQUEST._serialized_start = 1082 + _MOVEONMAPREQUEST._serialized_end = 1366 + _MOVEONMAPRESPONSE._serialized_start = 1368 + _MOVEONMAPRESPONSE._serialized_end = 1413 + _OBSTACLEDETECTOR._serialized_start = 1416 + _OBSTACLEDETECTOR._serialized_end = 1557 + _MOTIONCONFIGURATION._serialized_start = 1560 + _MOTIONCONFIGURATION._serialized_end = 2096 + _MOVEONGLOBEREQUEST._serialized_start = 2099 + _MOVEONGLOBEREQUEST._serialized_end = 2623 + _MOVEONGLOBERESPONSE._serialized_start = 2625 + _MOVEONGLOBERESPONSE._serialized_end = 2681 + _GETPOSEREQUEST._serialized_start = 2684 + _GETPOSEREQUEST._serialized_end = 2965 + _GETPOSERESPONSE._serialized_start = 2967 + _GETPOSERESPONSE._serialized_end = 3033 + _STOPPLANREQUEST._serialized_start = 3036 + _STOPPLANREQUEST._serialized_end = 3189 + _STOPPLANRESPONSE._serialized_start = 3191 + _STOPPLANRESPONSE._serialized_end = 3209 + _LISTPLANSTATUSESREQUEST._serialized_start = 3212 + _LISTPLANSTATUSESREQUEST._serialized_end = 3348 + _LISTPLANSTATUSESRESPONSE._serialized_start = 3350 + _LISTPLANSTATUSESRESPONSE._serialized_end = 3471 + _GETPLANREQUEST._serialized_start = 3474 + _GETPLANREQUEST._serialized_end = 3721 + _GETPLANRESPONSE._serialized_start = 3724 + _GETPLANRESPONSE._serialized_end = 3917 + _CONSTRAINTS._serialized_start = 3920 + _CONSTRAINTS._serialized_end = 4227 + _LINEARCONSTRAINT._serialized_start = 4230 + _LINEARCONSTRAINT._serialized_end = 4417 + _ORIENTATIONCONSTRAINT._serialized_start = 4419 + _ORIENTATIONCONSTRAINT._serialized_end = 4540 + _COLLISIONSPECIFICATION._serialized_start = 4543 + _COLLISIONSPECIFICATION._serialized_end = 4736 + _COLLISIONSPECIFICATION_ALLOWEDFRAMECOLLISIONS._serialized_start = 4664 + _COLLISIONSPECIFICATION_ALLOWEDFRAMECOLLISIONS._serialized_end = 4736 + _PLANWITHSTATUS._serialized_start = 4739 + _PLANWITHSTATUS._serialized_end = 4940 + _PLANSTATUSWITHID._serialized_start = 4943 + _PLANSTATUSWITHID._serialized_end = 5150 + _PLANSTATUS._serialized_start = 5153 + _PLANSTATUS._serialized_end = 5320 + _PLAN._serialized_start = 5323 + _PLAN._serialized_end = 5505 + _PLANSTEP._serialized_start = 5508 + _PLANSTEP._serialized_end = 5679 + _PLANSTEP_STEPENTRY._serialized_start = 5584 + _PLANSTEP_STEPENTRY._serialized_end = 5679 + _COMPONENTSTATE._serialized_start = 5681 + _COMPONENTSTATE._serialized_end = 5739 + _MOTIONSERVICE._serialized_start = 5885 + _MOTIONSERVICE._serialized_end = 7278 \ No newline at end of file diff --git a/src/viam/gen/service/motion/v1/motion_pb2.pyi b/src/viam/gen/service/motion/v1/motion_pb2.pyi index ba22a12d0..6ba555a7f 100644 --- a/src/viam/gen/service/motion/v1/motion_pb2.pyi +++ b/src/viam/gen/service/motion/v1/motion_pb2.pyi @@ -111,6 +111,65 @@ class MoveResponse(google.protobuf.message.Message): ... global___MoveResponse = MoveResponse +@typing_extensions.final +class MoveOnMapNewRequest(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + NAME_FIELD_NUMBER: builtins.int + DESTINATION_FIELD_NUMBER: builtins.int + COMPONENT_NAME_FIELD_NUMBER: builtins.int + SLAM_SERVICE_NAME_FIELD_NUMBER: builtins.int + MOTION_CONFIGURATION_FIELD_NUMBER: builtins.int + EXTRA_FIELD_NUMBER: builtins.int + name: builtins.str + 'Name of the motion service' + + @property + def destination(self) -> common.v1.common_pb2.Pose: + """Specify a destination to, which can be any pose with respect to the SLAM map's origin""" + + @property + def component_name(self) -> common.v1.common_pb2.ResourceName: + """Component on the robot to move to the specified destination""" + + @property + def slam_service_name(self) -> common.v1.common_pb2.ResourceName: + """Name of the slam service from which the SLAM map is requested""" + + @property + def motion_configuration(self) -> global___MotionConfiguration: + """Optional set of motion configuration options""" + + @property + def extra(self) -> google.protobuf.struct_pb2.Struct: + """Additional arguments to the method""" + + def __init__(self, *, name: builtins.str=..., destination: common.v1.common_pb2.Pose | None=..., component_name: common.v1.common_pb2.ResourceName | None=..., slam_service_name: common.v1.common_pb2.ResourceName | None=..., motion_configuration: global___MotionConfiguration | None=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None: + ... + + def HasField(self, field_name: typing_extensions.Literal['_motion_configuration', b'_motion_configuration', 'component_name', b'component_name', 'destination', b'destination', 'extra', b'extra', 'motion_configuration', b'motion_configuration', 'slam_service_name', b'slam_service_name']) -> builtins.bool: + ... + + def ClearField(self, field_name: typing_extensions.Literal['_motion_configuration', b'_motion_configuration', 'component_name', b'component_name', 'destination', b'destination', 'extra', b'extra', 'motion_configuration', b'motion_configuration', 'name', b'name', 'slam_service_name', b'slam_service_name']) -> None: + ... + + def WhichOneof(self, oneof_group: typing_extensions.Literal['_motion_configuration', b'_motion_configuration']) -> typing_extensions.Literal['motion_configuration'] | None: + ... +global___MoveOnMapNewRequest = MoveOnMapNewRequest + +@typing_extensions.final +class MoveOnMapNewResponse(google.protobuf.message.Message): + DESCRIPTOR: google.protobuf.descriptor.Descriptor + EXECUTION_ID_FIELD_NUMBER: builtins.int + execution_id: builtins.str + 'The unique ID which identifies the execution.\n Multiple plans will share the same execution_id if they were\n generated due to replanning.\n ' + + def __init__(self, *, execution_id: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['execution_id', b'execution_id']) -> None: + ... +global___MoveOnMapNewResponse = MoveOnMapNewResponse + @typing_extensions.final class MoveOnMapRequest(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor @@ -300,77 +359,6 @@ global___MoveOnGlobeRequest = MoveOnGlobeRequest @typing_extensions.final class MoveOnGlobeResponse(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - SUCCESS_FIELD_NUMBER: builtins.int - success: builtins.bool - - def __init__(self, *, success: builtins.bool=...) -> None: - ... - - def ClearField(self, field_name: typing_extensions.Literal['success', b'success']) -> None: - ... -global___MoveOnGlobeResponse = MoveOnGlobeResponse - -@typing_extensions.final -class MoveOnGlobeNewRequest(google.protobuf.message.Message): - DESCRIPTOR: google.protobuf.descriptor.Descriptor - NAME_FIELD_NUMBER: builtins.int - DESTINATION_FIELD_NUMBER: builtins.int - HEADING_FIELD_NUMBER: builtins.int - COMPONENT_NAME_FIELD_NUMBER: builtins.int - MOVEMENT_SENSOR_NAME_FIELD_NUMBER: builtins.int - OBSTACLES_FIELD_NUMBER: builtins.int - MOTION_CONFIGURATION_FIELD_NUMBER: builtins.int - EXTRA_FIELD_NUMBER: builtins.int - name: builtins.str - 'Name of the motion service' - - @property - def destination(self) -> common.v1.common_pb2.GeoPoint: - """Destination, encoded as a GeoPoint""" - heading: builtins.float - 'Optional compass heading to achieve at the destination, in degrees [0-360)' - - @property - def component_name(self) -> common.v1.common_pb2.ResourceName: - """Component on the robot to move to the specified destination""" - - @property - def movement_sensor_name(self) -> common.v1.common_pb2.ResourceName: - """Name of the movement sensor which will be used to check robot location""" - - @property - def obstacles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[common.v1.common_pb2.GeoObstacle]: - """Obstacles to be considered for motion planning""" - - @property - def motion_configuration(self) -> global___MotionConfiguration: - """Optional set of motion configuration options""" - - @property - def extra(self) -> google.protobuf.struct_pb2.Struct: - """Additional arguments to the method""" - - def __init__(self, *, name: builtins.str=..., destination: common.v1.common_pb2.GeoPoint | None=..., heading: builtins.float | None=..., component_name: common.v1.common_pb2.ResourceName | None=..., movement_sensor_name: common.v1.common_pb2.ResourceName | None=..., obstacles: collections.abc.Iterable[common.v1.common_pb2.GeoObstacle] | None=..., motion_configuration: global___MotionConfiguration | None=..., extra: google.protobuf.struct_pb2.Struct | None=...) -> None: - ... - - def HasField(self, field_name: typing_extensions.Literal['_heading', b'_heading', '_motion_configuration', b'_motion_configuration', 'component_name', b'component_name', 'destination', b'destination', 'extra', b'extra', 'heading', b'heading', 'motion_configuration', b'motion_configuration', 'movement_sensor_name', b'movement_sensor_name']) -> builtins.bool: - ... - - def ClearField(self, field_name: typing_extensions.Literal['_heading', b'_heading', '_motion_configuration', b'_motion_configuration', 'component_name', b'component_name', 'destination', b'destination', 'extra', b'extra', 'heading', b'heading', 'motion_configuration', b'motion_configuration', 'movement_sensor_name', b'movement_sensor_name', 'name', b'name', 'obstacles', b'obstacles']) -> None: - ... - - @typing.overload - def WhichOneof(self, oneof_group: typing_extensions.Literal['_heading', b'_heading']) -> typing_extensions.Literal['heading'] | None: - ... - - @typing.overload - def WhichOneof(self, oneof_group: typing_extensions.Literal['_motion_configuration', b'_motion_configuration']) -> typing_extensions.Literal['motion_configuration'] | None: - ... -global___MoveOnGlobeNewRequest = MoveOnGlobeNewRequest - -@typing_extensions.final -class MoveOnGlobeNewResponse(google.protobuf.message.Message): DESCRIPTOR: google.protobuf.descriptor.Descriptor EXECUTION_ID_FIELD_NUMBER: builtins.int execution_id: builtins.str @@ -381,7 +369,7 @@ class MoveOnGlobeNewResponse(google.protobuf.message.Message): def ClearField(self, field_name: typing_extensions.Literal['execution_id', b'execution_id']) -> None: ... -global___MoveOnGlobeNewResponse = MoveOnGlobeNewResponse +global___MoveOnGlobeResponse = MoveOnGlobeResponse @typing_extensions.final class GetPoseRequest(google.protobuf.message.Message): @@ -530,9 +518,7 @@ class GetPlanRequest(google.protobuf.message.Message): @property def component_name(self) -> common.v1.common_pb2.ResourceName: - """The name of the component which the MoveOnGlobeRequest - asked to be moved. - """ + """The name of the component which was requested to be moved.""" last_plan_only: builtins.bool 'If supplied, the response will only return\n the the last plan for the component / execution\n ' execution_id: builtins.str diff --git a/src/viam/gen/stream/__init__.py b/src/viam/gen/stream/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/src/viam/gen/stream/v1/__init__.py b/src/viam/gen/stream/v1/__init__.py new file mode 100644 index 000000000..e69de29bb diff --git a/src/viam/gen/stream/v1/stream_grpc.py b/src/viam/gen/stream/v1/stream_grpc.py new file mode 100644 index 000000000..14ef32608 --- /dev/null +++ b/src/viam/gen/stream/v1/stream_grpc.py @@ -0,0 +1,31 @@ +import abc +import typing +import grpclib.const +import grpclib.client +if typing.TYPE_CHECKING: + import grpclib.server +from ... import stream + +class StreamServiceBase(abc.ABC): + + @abc.abstractmethod + async def ListStreams(self, stream: 'grpclib.server.Stream[stream.v1.stream_pb2.ListStreamsRequest, stream.v1.stream_pb2.ListStreamsResponse]') -> None: + pass + + @abc.abstractmethod + async def AddStream(self, stream: 'grpclib.server.Stream[stream.v1.stream_pb2.AddStreamRequest, stream.v1.stream_pb2.AddStreamResponse]') -> None: + pass + + @abc.abstractmethod + async def RemoveStream(self, stream: 'grpclib.server.Stream[stream.v1.stream_pb2.RemoveStreamRequest, stream.v1.stream_pb2.RemoveStreamResponse]') -> None: + pass + + def __mapping__(self) -> typing.Dict[str, grpclib.const.Handler]: + return {'/proto.stream.v1.StreamService/ListStreams': grpclib.const.Handler(self.ListStreams, grpclib.const.Cardinality.UNARY_UNARY, stream.v1.stream_pb2.ListStreamsRequest, stream.v1.stream_pb2.ListStreamsResponse), '/proto.stream.v1.StreamService/AddStream': grpclib.const.Handler(self.AddStream, grpclib.const.Cardinality.UNARY_UNARY, stream.v1.stream_pb2.AddStreamRequest, stream.v1.stream_pb2.AddStreamResponse), '/proto.stream.v1.StreamService/RemoveStream': grpclib.const.Handler(self.RemoveStream, grpclib.const.Cardinality.UNARY_UNARY, stream.v1.stream_pb2.RemoveStreamRequest, stream.v1.stream_pb2.RemoveStreamResponse)} + +class StreamServiceStub: + + def __init__(self, channel: grpclib.client.Channel) -> None: + self.ListStreams = grpclib.client.UnaryUnaryMethod(channel, '/proto.stream.v1.StreamService/ListStreams', stream.v1.stream_pb2.ListStreamsRequest, stream.v1.stream_pb2.ListStreamsResponse) + self.AddStream = grpclib.client.UnaryUnaryMethod(channel, '/proto.stream.v1.StreamService/AddStream', stream.v1.stream_pb2.AddStreamRequest, stream.v1.stream_pb2.AddStreamResponse) + self.RemoveStream = grpclib.client.UnaryUnaryMethod(channel, '/proto.stream.v1.StreamService/RemoveStream', stream.v1.stream_pb2.RemoveStreamRequest, stream.v1.stream_pb2.RemoveStreamResponse) \ No newline at end of file diff --git a/src/viam/gen/stream/v1/stream_pb2.py b/src/viam/gen/stream/v1/stream_pb2.py new file mode 100644 index 000000000..31f641c59 --- /dev/null +++ b/src/viam/gen/stream/v1/stream_pb2.py @@ -0,0 +1,26 @@ +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder +from google.protobuf import descriptor as _descriptor +from google.protobuf import descriptor_pool as _descriptor_pool +from google.protobuf import symbol_database as _symbol_database +_sym_db = _symbol_database.Default() +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16stream/v1/stream.proto\x12\x0fproto.stream.v1"\x14\n\x12ListStreamsRequest"+\n\x13ListStreamsResponse\x12\x14\n\x05names\x18\x01 \x03(\tR\x05names"&\n\x10AddStreamRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"\x13\n\x11AddStreamResponse")\n\x13RemoveStreamRequest\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name"\x16\n\x14RemoveStreamResponse2\x9a\x02\n\rStreamService\x12X\n\x0bListStreams\x12#.proto.stream.v1.ListStreamsRequest\x1a$.proto.stream.v1.ListStreamsResponse\x12R\n\tAddStream\x12!.proto.stream.v1.AddStreamRequest\x1a".proto.stream.v1.AddStreamResponse\x12[\n\x0cRemoveStream\x12$.proto.stream.v1.RemoveStreamRequest\x1a%.proto.stream.v1.RemoveStreamResponseB.Z,github.com/edaniels/gostream/proto/stream/v1b\x06proto3') +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'stream.v1.stream_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z,github.com/edaniels/gostream/proto/stream/v1' + _LISTSTREAMSREQUEST._serialized_start = 43 + _LISTSTREAMSREQUEST._serialized_end = 63 + _LISTSTREAMSRESPONSE._serialized_start = 65 + _LISTSTREAMSRESPONSE._serialized_end = 108 + _ADDSTREAMREQUEST._serialized_start = 110 + _ADDSTREAMREQUEST._serialized_end = 148 + _ADDSTREAMRESPONSE._serialized_start = 150 + _ADDSTREAMRESPONSE._serialized_end = 169 + _REMOVESTREAMREQUEST._serialized_start = 171 + _REMOVESTREAMREQUEST._serialized_end = 212 + _REMOVESTREAMRESPONSE._serialized_start = 214 + _REMOVESTREAMRESPONSE._serialized_end = 236 + _STREAMSERVICE._serialized_start = 239 + _STREAMSERVICE._serialized_end = 521 \ No newline at end of file diff --git a/src/viam/gen/stream/v1/stream_pb2.pyi b/src/viam/gen/stream/v1/stream_pb2.pyi new file mode 100644 index 000000000..d48ff7b3e --- /dev/null +++ b/src/viam/gen/stream/v1/stream_pb2.pyi @@ -0,0 +1,87 @@ +""" +@generated by mypy-protobuf. Do not edit manually! +isort:skip_file +""" +import builtins +import collections.abc +import google.protobuf.descriptor +import google.protobuf.internal.containers +import google.protobuf.message +import sys +if sys.version_info >= (3, 8): + import typing as typing_extensions +else: + import typing_extensions +DESCRIPTOR: google.protobuf.descriptor.FileDescriptor + +@typing_extensions.final +class ListStreamsRequest(google.protobuf.message.Message): + """ListStreamsRequest requests all streams registered.""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__(self) -> None: + ... +global___ListStreamsRequest = ListStreamsRequest + +@typing_extensions.final +class ListStreamsResponse(google.protobuf.message.Message): + """A ListStreamsResponse details streams registered.""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + NAMES_FIELD_NUMBER: builtins.int + + @property + def names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: + ... + + def __init__(self, *, names: collections.abc.Iterable[builtins.str] | None=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['names', b'names']) -> None: + ... +global___ListStreamsResponse = ListStreamsResponse + +@typing_extensions.final +class AddStreamRequest(google.protobuf.message.Message): + """A AddStreamRequest requests the given stream be added to the connection.""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + NAME_FIELD_NUMBER: builtins.int + name: builtins.str + + def __init__(self, *, name: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['name', b'name']) -> None: + ... +global___AddStreamRequest = AddStreamRequest + +@typing_extensions.final +class AddStreamResponse(google.protobuf.message.Message): + """AddStreamResponse is returned after a successful AddStreamRequest.""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__(self) -> None: + ... +global___AddStreamResponse = AddStreamResponse + +@typing_extensions.final +class RemoveStreamRequest(google.protobuf.message.Message): + """A RemoveStreamRequest requests the given stream be removed from the connection.""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + NAME_FIELD_NUMBER: builtins.int + name: builtins.str + + def __init__(self, *, name: builtins.str=...) -> None: + ... + + def ClearField(self, field_name: typing_extensions.Literal['name', b'name']) -> None: + ... +global___RemoveStreamRequest = RemoveStreamRequest + +@typing_extensions.final +class RemoveStreamResponse(google.protobuf.message.Message): + """RemoveStreamResponse is returned after a successful RemoveStreamRequest.""" + DESCRIPTOR: google.protobuf.descriptor.Descriptor + + def __init__(self) -> None: + ... +global___RemoveStreamResponse = RemoveStreamResponse \ No newline at end of file diff --git a/src/viam/media/video.py b/src/viam/media/video.py index 80f3df0ab..1280c8461 100644 --- a/src/viam/media/video.py +++ b/src/viam/media/video.py @@ -91,8 +91,8 @@ def encode_image(self, image: Union[Image.Image, RawImage]) -> bytes: if self.name in LIBRARY_SUPPORTED_FORMATS: buf = BytesIO() - if image.mode == 'RGBA' and self.name == 'JPEG': - image = image.convert('RGB') + if image.mode == "RGBA" and self.name == "JPEG": + image = image.convert("RGB") image.save(buf, format=self.name) return buf.getvalue() else: diff --git a/src/viam/proto/app/__init__.py b/src/viam/proto/app/__init__.py index 3892df05b..1b256926f 100644 --- a/src/viam/proto/app/__init__.py +++ b/src/viam/proto/app/__init__.py @@ -31,6 +31,8 @@ CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, + CreateRegistryItemRequest, + CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteFragmentRequest, @@ -64,6 +66,8 @@ GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, + GetOrganizationsWithAccessToLocationRequest, + GetOrganizationsWithAccessToLocationResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotPartHistoryRequest, @@ -96,6 +100,8 @@ ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, + ListRegistryItemsRequest, + ListRegistryItemsResponse, ListRobotsRequest, ListRobotsResponse, Location, @@ -108,17 +114,23 @@ MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, + MLModelMetadata, Model, Module, ModuleFileInfo, + ModuleMetadata, + ModuleVersion, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, Organization, + OrganizationIdentity, OrganizationInvite, OrganizationMember, OrgDetails, + RegistryItem, + RegistryItemStatus, RemoveRoleRequest, RemoveRoleResponse, ResendOrganizationInviteRequest, @@ -147,6 +159,8 @@ UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, + UpdateRegistryItemRequest, + UpdateRegistryItemResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, @@ -188,6 +202,8 @@ "CreateOrganizationInviteResponse", "CreateOrganizationRequest", "CreateOrganizationResponse", + "CreateRegistryItemRequest", + "CreateRegistryItemResponse", "CreateRobotPartSecretRequest", "CreateRobotPartSecretResponse", "DeleteFragmentRequest", @@ -221,6 +237,8 @@ "GetOrganizationNamespaceAvailabilityResponse", "GetOrganizationRequest", "GetOrganizationResponse", + "GetOrganizationsWithAccessToLocationRequest", + "GetOrganizationsWithAccessToLocationResponse", "GetRobotAPIKeysRequest", "GetRobotAPIKeysResponse", "GetRobotPartHistoryRequest", @@ -253,6 +271,8 @@ "ListOrganizationsByUserResponse", "ListOrganizationsRequest", "ListOrganizationsResponse", + "ListRegistryItemsRequest", + "ListRegistryItemsResponse", "ListRobotsRequest", "ListRobotsResponse", "Location", @@ -261,6 +281,7 @@ "LocationAuthResponse", "LocationOrganization", "LogEntry", + "MLModelMetadata", "MarkPartAsMainRequest", "MarkPartAsMainResponse", "MarkPartForRestartRequest", @@ -268,14 +289,19 @@ "Model", "Module", "ModuleFileInfo", + "ModuleMetadata", + "ModuleVersion", "NewRobotPartRequest", "NewRobotPartResponse", "NewRobotRequest", "NewRobotResponse", "OrgDetails", "Organization", + "OrganizationIdentity", "OrganizationInvite", "OrganizationMember", + "RegistryItem", + "RegistryItemStatus", "RemoveRoleRequest", "RemoveRoleResponse", "ResendOrganizationInviteRequest", @@ -304,6 +330,8 @@ "UpdateOrganizationInviteAuthorizationsResponse", "UpdateOrganizationRequest", "UpdateOrganizationResponse", + "UpdateRegistryItemRequest", + "UpdateRegistryItemResponse", "UpdateRobotPartRequest", "UpdateRobotPartResponse", "UpdateRobotRequest", diff --git a/src/viam/proto/app/agent/__init__.py b/src/viam/proto/app/agent/__init__.py new file mode 100644 index 000000000..9c81383cd --- /dev/null +++ b/src/viam/proto/app/agent/__init__.py @@ -0,0 +1,38 @@ +""" +@generated by Viam. +Do not edit manually! +""" +from ....gen.app.agent.v1.agent_grpc import AgentAppServiceBase, AgentAppServiceStub, AgentDeviceServiceBase, AgentDeviceServiceStub +from ....gen.app.agent.v1.agent_pb2 import ( + AppAgentConfig, + AppSubsystemConfig, + DeviceAgentConfigRequest, + DeviceAgentConfigResponse, + DeviceSubsystemConfig, + GetAgentConfigRequest, + GetAgentConfigResponse, + HostInfo, + PackageFormat, + SubsystemUpdateInfo, + UpdateAgentConfigRequest, + UpdateAgentConfigResponse, +) + +__all__ = [ + "AgentAppServiceBase", + "AgentAppServiceStub", + "AgentDeviceServiceBase", + "AgentDeviceServiceStub", + "AppAgentConfig", + "AppSubsystemConfig", + "DeviceAgentConfigRequest", + "DeviceAgentConfigResponse", + "DeviceSubsystemConfig", + "GetAgentConfigRequest", + "GetAgentConfigResponse", + "HostInfo", + "PackageFormat", + "SubsystemUpdateInfo", + "UpdateAgentConfigRequest", + "UpdateAgentConfigResponse", +] diff --git a/src/viam/proto/app/data/__init__.py b/src/viam/proto/app/data/__init__.py index e67cf6e3e..ca0accbb2 100644 --- a/src/viam/proto/app/data/__init__.py +++ b/src/viam/proto/app/data/__init__.py @@ -49,6 +49,10 @@ TabularData, TabularDataByFilterRequest, TabularDataByFilterResponse, + TabularDataByMQLRequest, + TabularDataByMQLResponse, + TabularDataBySQLRequest, + TabularDataBySQLResponse, TagsByFilterRequest, TagsByFilterResponse, TagsFilter, @@ -103,6 +107,10 @@ "TabularData", "TabularDataByFilterRequest", "TabularDataByFilterResponse", + "TabularDataByMQLRequest", + "TabularDataByMQLResponse", + "TabularDataBySQLRequest", + "TabularDataBySQLResponse", "TagsByFilterRequest", "TagsByFilterResponse", "TagsFilter", diff --git a/src/viam/proto/app/mltraining/__init__.py b/src/viam/proto/app/mltraining/__init__.py index 5ebc84101..f52602fb8 100644 --- a/src/viam/proto/app/mltraining/__init__.py +++ b/src/viam/proto/app/mltraining/__init__.py @@ -6,6 +6,8 @@ from ....gen.app.mltraining.v1.ml_training_pb2 import ( CancelTrainingJobRequest, CancelTrainingJobResponse, + DeleteCompletedTrainingJobRequest, + DeleteCompletedTrainingJobResponse, GetTrainingJobRequest, GetTrainingJobResponse, ListTrainingJobsRequest, @@ -22,6 +24,8 @@ "MLTrainingServiceStub", "CancelTrainingJobRequest", "CancelTrainingJobResponse", + "DeleteCompletedTrainingJobRequest", + "DeleteCompletedTrainingJobResponse", "GetTrainingJobRequest", "GetTrainingJobResponse", "ListTrainingJobsRequest", diff --git a/src/viam/proto/app/robot.py b/src/viam/proto/app/robot.py index c2d8e1470..1e402fcbb 100644 --- a/src/viam/proto/app/robot.py +++ b/src/viam/proto/app/robot.py @@ -5,6 +5,7 @@ from ...gen.app.v1.robot_grpc import RobotServiceBase, RobotServiceStub from ...gen.app.v1.robot_pb2 import ( AgentInfo, + AppValidationStatus, AuthConfig, AuthHandlerConfig, CertificateRequest, @@ -18,6 +19,7 @@ Frame, JWKSFile, LocationSecret, + LogConfiguration, LogRequest, LogResponse, ModuleConfig, @@ -40,6 +42,7 @@ "RobotServiceBase", "RobotServiceStub", "AgentInfo", + "AppValidationStatus", "AuthConfig", "AuthHandlerConfig", "CertificateRequest", @@ -53,6 +56,7 @@ "Frame", "JWKSFile", "LocationSecret", + "LogConfiguration", "LogRequest", "LogResponse", "ModuleConfig", diff --git a/src/viam/proto/service/motion/__init__.py b/src/viam/proto/service/motion/__init__.py index eed490817..ca9a379ed 100644 --- a/src/viam/proto/service/motion/__init__.py +++ b/src/viam/proto/service/motion/__init__.py @@ -15,10 +15,10 @@ ListPlanStatusesRequest, ListPlanStatusesResponse, MotionConfiguration, - MoveOnGlobeNewRequest, - MoveOnGlobeNewResponse, MoveOnGlobeRequest, MoveOnGlobeResponse, + MoveOnMapNewRequest, + MoveOnMapNewResponse, MoveOnMapRequest, MoveOnMapResponse, MoveRequest, @@ -49,10 +49,10 @@ "ListPlanStatusesRequest", "ListPlanStatusesResponse", "MotionConfiguration", - "MoveOnGlobeNewRequest", - "MoveOnGlobeNewResponse", "MoveOnGlobeRequest", "MoveOnGlobeResponse", + "MoveOnMapNewRequest", + "MoveOnMapNewResponse", "MoveOnMapRequest", "MoveOnMapResponse", "MoveRequest", diff --git a/src/viam/proto/stream/__init__.py b/src/viam/proto/stream/__init__.py new file mode 100644 index 000000000..f9ae73b86 --- /dev/null +++ b/src/viam/proto/stream/__init__.py @@ -0,0 +1,24 @@ +""" +@generated by Viam. +Do not edit manually! +""" +from ...gen.stream.v1.stream_grpc import StreamServiceBase, StreamServiceStub +from ...gen.stream.v1.stream_pb2 import ( + AddStreamRequest, + AddStreamResponse, + ListStreamsRequest, + ListStreamsResponse, + RemoveStreamRequest, + RemoveStreamResponse, +) + +__all__ = [ + "StreamServiceBase", + "StreamServiceStub", + "AddStreamRequest", + "AddStreamResponse", + "ListStreamsRequest", + "ListStreamsResponse", + "RemoveStreamRequest", + "RemoveStreamResponse", +] diff --git a/src/viam/services/motion/client.py b/src/viam/services/motion/client.py index e43497111..58cdf91de 100644 --- a/src/viam/services/motion/client.py +++ b/src/viam/services/motion/client.py @@ -23,8 +23,6 @@ ListPlanStatusesResponse, MotionConfiguration, MotionServiceStub, - MoveOnGlobeNewRequest, - MoveOnGlobeNewResponse, MoveOnGlobeRequest, MoveOnGlobeResponse, MoveOnMapRequest, @@ -109,59 +107,16 @@ async def move_on_globe( *, extra: Optional[Mapping[str, ValueTypes]] = None, timeout: Optional[float] = None, - ) -> bool: - """Move a component to a specific latitude and longitude, using a ``MovementSensor`` to check the location. - - Args: - component_name (ResourceName): The component to move - destination (GeoPoint): The destination point - movement_sensor_name (ResourceName): The ``MovementSensor`` which will be used to check robot location - obstacles (Optional[Sequence[GeoObstacle]]): Obstacles to be considered for motion planning. Defaults to None. - heading (Optional[float]): Compass heading to achieve at the destination, in degrees [0-360). Defaults to None. - linear_meters_per_sec (Optional[float]): Linear velocity to target when moving. Defaults to None. - angular_deg_per_sec (Optional[float]): Angular velocity to target when turning. Defaults to None. - - Returns: - bool: Whether the request was successful - """ - if extra is None: - extra = {} - request = MoveOnGlobeRequest( - name=self.name, - component_name=component_name, - destination=destination, - movement_sensor_name=movement_sensor_name, - obstacles=obstacles, - heading=heading, - motion_configuration=configuration, - extra=dict_to_struct(extra), - ) - response: MoveOnGlobeResponse = await self.client.MoveOnGlobe(request, timeout=timeout) - return response.success - - async def move_on_globe_new( - self, - component_name: ResourceName, - destination: GeoPoint, - movement_sensor_name: ResourceName, - obstacles: Optional[Sequence[GeoObstacle]] = None, - heading: Optional[float] = None, - configuration: Optional[MotionConfiguration] = None, - *, - extra: Optional[Mapping[str, ValueTypes]] = None, - timeout: Optional[float] = None, ) -> str: - """ - **Experimental**: use move_on_globe instead. - Move a component to a specific latitude and longitude, using a ``MovementSensor`` to check the location. + """Move a component to a specific latitude and longitude, using a ``MovementSensor`` to check the location. - ``move_on_globe_new()`` is non blocking, meaning the motion service will move the component to the destination - GPS point after ``move_on_globe_new()`` returns. + ``move_on_globe()`` is non blocking, meaning the motion service will move the component to the destination + GPS point after ``move_on_globe()`` returns. - Each successful ``move_on_globe_new()`` call retuns a unique ExectionID which you can use to identify all plans - generated durring the ``move_on_globe_new()`` call. + Each successful ``move_on_globe()`` call retuns a unique ExectionID which you can use to identify all plans + generated durring the ``move_on_globe()`` call. - You can monitor the progress of the ``move_on_globe_new()`` call by querying ``get_plan()`` and ``list_plan_statuses()``. + You can monitor the progress of the ``move_on_globe()`` call by querying ``get_plan()`` and ``list_plan_statuses()``. Args: component_name (ResourceName): The component to move @@ -173,11 +128,11 @@ async def move_on_globe_new( angular_deg_per_sec (Optional[float]): Angular velocity to target when turning. Defaults to None. Returns: - str: ExecutionID of the move_on_globe_new call, which can be used to track execution progress. + str: ExecutionID of the move_on_globe call, which can be used to track execution progress. """ if extra is None: extra = {} - request = MoveOnGlobeNewRequest( + request = MoveOnGlobeRequest( name=self.name, component_name=component_name, destination=destination, @@ -187,7 +142,7 @@ async def move_on_globe_new( motion_configuration=configuration, extra=dict_to_struct(extra), ) - response: MoveOnGlobeNewResponse = await self.client.MoveOnGlobeNew(request, timeout=timeout) + response: MoveOnGlobeResponse = await self.client.MoveOnGlobe(request, timeout=timeout) return response.execution_id async def move_on_map( @@ -229,8 +184,7 @@ async def stop_plan( extra: Optional[Mapping[str, ValueTypes]] = None, timeout: Optional[float] = None, ): - """**Experimental** - Stop a component being moved by an in progress ``move_on_globe_new()`` call. + """Stop a component being moved by an in progress ``move_on_globe()`` call. Args: component_name (ResourceName): The component to stop @@ -258,14 +212,13 @@ async def get_plan( extra: Optional[Mapping[str, ValueTypes]] = None, timeout: Optional[float] = None, ) -> GetPlanResponse: - """**Experimental** - By default: returns the plan history of the most recent ``move_on_globe_new()`` call to move a component. + """By default: returns the plan history of the most recent ``move_on_globe()`` call to move a component. The plan history for executions before the most recent can be requested by providing an ExecutionID in the request. Returns a result if both of the following conditions are met: - - the execution (call to ``move_on_globe_new()``) is still executing **or** changed state within the last 24 hours + - the execution (call to ``move_on_globe()``) is still executing **or** changed state within the last 24 hours - the robot has not reinitialized Plans never change. @@ -287,8 +240,6 @@ async def get_plan( if extra is None: extra = {} - if last_plan_only is None: - last_plan_only = False request = GetPlanRequest( name=self.name, component_name=component_name, @@ -306,8 +257,7 @@ async def list_plan_statuses( extra: Optional[Mapping[str, ValueTypes]] = None, timeout: Optional[float] = None, ) -> ListPlanStatusesResponse: - """**Experimental** - Returns the statuses of plans created by `move_on_globe_new()` calls that meet at least one of the following + """Returns the statuses of plans created by `move_on_globe()` calls that meet at least one of the following conditions since the motion service initialized: - the plan's status is in progress diff --git a/tests/mocks/services.py b/tests/mocks/services.py index 04d2bd8f2..1e205d3ff 100644 --- a/tests/mocks/services.py +++ b/tests/mocks/services.py @@ -150,6 +150,14 @@ UpdateRobotResponse, UploadModuleFileRequest, UploadModuleFileResponse, + CreateRegistryItemRequest, + CreateRegistryItemResponse, + GetOrganizationsWithAccessToLocationRequest, + GetOrganizationsWithAccessToLocationResponse, + ListRegistryItemsRequest, + ListRegistryItemsResponse, + UpdateRegistryItemRequest, + UpdateRegistryItemResponse, ) from viam.proto.app.data import ( AddBinaryDataToDatasetByIDsRequest, @@ -191,6 +199,10 @@ TabularDataByFilterResponse, TagsByFilterRequest, TagsByFilterResponse, + TabularDataByMQLRequest, + TabularDataByMQLResponse, + TabularDataBySQLRequest, + TabularDataBySQLResponse, ) from viam.proto.app.datasync import ( DataCaptureUploadRequest, @@ -212,6 +224,8 @@ SubmitTrainingJobRequest, SubmitTrainingJobResponse, TrainingJobMetadata, + DeleteCompletedTrainingJobRequest, + DeleteCompletedTrainingJobResponse, ) from viam.proto.app.billing import ( BillingServiceBase, @@ -258,10 +272,10 @@ ListPlanStatusesRequest, ListPlanStatusesResponse, MotionServiceBase, - MoveOnGlobeNewRequest, - MoveOnGlobeNewResponse, MoveOnGlobeRequest, MoveOnGlobeResponse, + MoveOnMapNewRequest, + MoveOnMapNewResponse, MoveOnMapRequest, MoveOnMapResponse, MoveRequest, @@ -444,7 +458,7 @@ def __init__( move_responses: Dict[str, bool], get_pose_responses: Dict[str, PoseInFrame], get_plan_response: GetPlanResponse, - list_plan_statuses_response: ListPlanStatusesResponse + list_plan_statuses_response: ListPlanStatusesResponse, ): self.move_responses = move_responses self.get_pose_responses = get_pose_responses @@ -475,6 +489,9 @@ async def MoveOnMap(self, stream: Stream[MoveOnMapRequest, MoveOnMapResponse]) - self.timeout = stream.deadline.time_remaining() if stream.deadline else None await stream.send_message(MoveOnMapResponse(success=True)) + async def MoveOnMapNew(self, stream: Stream[MoveOnMapNewRequest, MoveOnMapNewResponse]) -> None: + raise NotImplementedError() + async def MoveOnGlobe(self, stream: Stream[MoveOnGlobeRequest, MoveOnGlobeResponse]) -> None: request = await stream.recv_message() assert request is not None @@ -486,7 +503,8 @@ async def MoveOnGlobe(self, stream: Stream[MoveOnGlobeRequest, MoveOnGlobeRespon self.configuration = request.motion_configuration self.extra = struct_to_dict(request.extra) self.timeout = stream.deadline.time_remaining() if stream.deadline else None - await stream.send_message(MoveOnGlobeResponse(success=True)) + self.execution_id = "some execution id" + await stream.send_message(MoveOnGlobeResponse(execution_id=self.execution_id)) async def GetPose(self, stream: Stream[GetPoseRequest, GetPoseResponse]) -> None: request = await stream.recv_message() @@ -498,20 +516,6 @@ async def GetPose(self, stream: Stream[GetPoseRequest, GetPoseResponse]) -> None response = GetPoseResponse(pose=pose) await stream.send_message(response) - async def MoveOnGlobeNew(self, stream: Stream[MoveOnGlobeNewRequest, MoveOnGlobeNewResponse]) -> None: - request = await stream.recv_message() - assert request is not None - self.component_name = request.component_name - self.destination = request.destination - self.movement_sensor = request.movement_sensor_name - self.obstacles = request.obstacles - self.heading = request.heading - self.configuration = request.motion_configuration - self.extra = struct_to_dict(request.extra) - self.timeout = stream.deadline.time_remaining() if stream.deadline else None - self.execution_id = "some_execution_id" - await stream.send_message(MoveOnGlobeNewResponse(execution_id=self.execution_id)) - async def StopPlan(self, stream: Stream[StopPlanRequest, StopPlanResponse]) -> None: request = await stream.recv_message() assert request is not None @@ -817,6 +821,12 @@ async def RemoveBinaryDataFromDatasetByIDs( ) -> None: raise NotImplementedError() + async def TabularDataBySQL(self, stream: Stream[TabularDataBySQLRequest, TabularDataBySQLResponse]) -> None: + raise NotImplementedError() + + async def TabularDataByMQL(self, stream: Stream[TabularDataByMQLRequest, TabularDataByMQLResponse]) -> None: + raise NotImplementedError() + class MockDataSync(DataSyncServiceBase): def __init__(self, file_upload_response: str): @@ -858,7 +868,6 @@ def __init__(self, job_id: str, training_metadata: TrainingJobMetadata): async def SubmitTrainingJob(self, stream: Stream[SubmitTrainingJobRequest, SubmitTrainingJobResponse]) -> None: request = await stream.recv_message() assert request is not None - self.filter = request.filter self.org_id = request.organization_id self.model_name = request.model_name self.model_version = request.model_version @@ -885,6 +894,11 @@ async def CancelTrainingJob(self, stream: Stream[CancelTrainingJobRequest, Cance self.cancel_job_id = request.id await stream.send_message(CancelTrainingJobResponse()) + async def DeleteCompletedTrainingJob( + self, stream: Stream[DeleteCompletedTrainingJobRequest, DeleteCompletedTrainingJobResponse] + ) -> None: + raise NotImplementedError() + class MockBilling(BillingServiceBase): def __init__( @@ -913,7 +927,7 @@ async def GetInvoicePdf(self, stream: Stream[GetInvoicePdfRequest, GetInvoicePdf response = GetInvoicePdfResponse(chunk=self.pdf) await stream.send_message(response) - async def GetInvoicesSummary(self, stream: Stream[GetInvoicesSummaryRequest, GetInvoicePdfResponse]) -> None: + async def GetInvoicesSummary(self, stream: Stream[GetInvoicesSummaryRequest, GetInvoicesSummaryResponse]) -> None: request = await stream.recv_message() assert request is not None self.org_id = request.org_id @@ -1374,3 +1388,17 @@ async def CreateKeyFromExistingKeyAuthorizations( request = await stream.recv_message() assert request is not None await stream.send_message(CreateKeyFromExistingKeyAuthorizationsResponse(key=self.api_key, id=self.id)) + + async def CreateRegistryItem(self, stream: Stream[CreateRegistryItemRequest, CreateRegistryItemResponse]) -> None: + raise NotImplementedError() + + async def GetOrganizationsWithAccessToLocation( + self, stream: Stream[GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse] + ) -> None: + raise NotImplementedError() + + async def ListRegistryItems(self, stream: Stream[ListRegistryItemsRequest, ListRegistryItemsResponse]) -> None: + raise NotImplementedError() + + async def UpdateRegistryItem(self, stream: Stream[UpdateRegistryItemRequest, UpdateRegistryItemResponse]) -> None: + raise NotImplementedError() diff --git a/tests/test_ml_training_client.py b/tests/test_ml_training_client.py index ed8e3dfbe..290708e07 100644 --- a/tests/test_ml_training_client.py +++ b/tests/test_ml_training_client.py @@ -45,7 +45,7 @@ tags=TAGS, bbox_labels=["bbox-label"], ) -SUBMIT_JOB_REQUEST = SubmitTrainingJobRequest(filter=FILTER, organization_id=ORG_ID) +SUBMIT_JOB_REQUEST = SubmitTrainingJobRequest(organization_id=ORG_ID) TRAINING_METADATA = TrainingJobMetadata( request=SUBMIT_JOB_REQUEST, status=TRAINING_STATUS, diff --git a/tests/test_motion_service.py b/tests/test_motion_service.py index 083557165..c01cb9494 100644 --- a/tests/test_motion_service.py +++ b/tests/test_motion_service.py @@ -166,36 +166,13 @@ async def test_move_on_map(self, service: MockMotion): @pytest.mark.asyncio async def test_move_on_globe(self, service: MockMotion): - component_rn = Arm.get_resource_name("move_on_globe_arm") - movement_rn = ResourceName(namespace="rdk", type="component", subtype="movement_sensor", name="move_on_globe_ms") - destination = GeoPoint(latitude=123, longitude=456) - obstacles = [GeoObstacle(location=GeoPoint(latitude=111, longitude=222))] - async with ChannelFor([service]) as channel: - client = MotionClient(MOTION_SERVICE_NAME, channel) - success = await client.move_on_globe( - component_rn, - destination, - movement_rn, - obstacles, - heading=182, - configuration=MOTION_CONFIGURATION, - ) - assert service.component_name == component_rn - assert service.movement_sensor == movement_rn - assert service.destination == destination - assert service.obstacles == obstacles - assert service.heading == 182 - assert service.configuration == MOTION_CONFIGURATION - assert success - - async def test_move_on_globe_new(self, service: MockMotion): component_rn = Base.get_resource_name("move_on_globe_base") movement_rn = ResourceName(namespace="rdk", type="component", subtype="movement_sensor", name="move_on_globe_ms") destination = GeoPoint(latitude=123, longitude=456) obstacles = [GeoObstacle(location=GeoPoint(latitude=111, longitude=222))] async with ChannelFor([service]) as channel: client = MotionClient(MOTION_SERVICE_NAME, channel) - execution_id = await client.move_on_globe_new( + execution_id = await client.move_on_globe( component_rn, destination, movement_rn, @@ -214,7 +191,7 @@ async def test_move_on_globe_new(self, service: MockMotion): assert service.timeout is None timeout = 50 extra = {"max_iter": 1} - execution_id = await client.move_on_globe_new( + execution_id = await client.move_on_globe( component_rn, destination, movement_rn,