Skip to content

Commit 08d61fa

Browse files
github-actions[bot]viambotmichaellee1019njooma
committed
Automated Protos Update (#566)
Co-authored-by: viambot <[email protected]> Co-authored-by: Michael Lee <[email protected]> Co-authored-by: Naveed Jooma <[email protected]>
1 parent 882b71f commit 08d61fa

File tree

12 files changed

+414
-361
lines changed

12 files changed

+414
-361
lines changed

src/viam/app/app_client.py

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,9 @@ async def list_organization_members(self) -> Tuple[List[OrganizationMember], Lis
580580
response: ListOrganizationMembersResponse = await self._app_client.ListOrganizationMembers(request, metadata=self._metadata)
581581
return list(response.members), list(response.invites)
582582

583-
async def create_organization_invite(self, email: str, authorizations: Optional[List[Authorization]] = None) -> OrganizationInvite:
583+
async def create_organization_invite(
584+
self, email: str, authorizations: Optional[List[Authorization]] = None, send_email_invite=True
585+
) -> OrganizationInvite:
584586
"""Creates an organization invite and sends it via email.
585587
586588
::
@@ -592,12 +594,18 @@ async def create_organization_invite(self, email: str, authorizations: Optional[
592594
authorizations (Optional[List[viam.proto.app.Authorization]]): Specifications of the
593595
authorizations to include in the invite. If not provided, full owner permissions will
594596
be granted.
597+
send_email_invite (Optional[bool]): Whether or not an email should be sent to the recipient of an invite.
598+
The user must accept the email to be added to the associated authorizations.
599+
When set to false, the user automatically receives the associated authorization
600+
on the next login of the user with the associated email address.
595601
596602
Raises:
597603
GRPCError: if an invalid email is provided, or if the user is already a member of the org.
598604
"""
599605
organization_id = await self._get_organization_id()
600-
request = CreateOrganizationInviteRequest(organization_id=organization_id, email=email, authorizations=authorizations)
606+
request = CreateOrganizationInviteRequest(
607+
organization_id=organization_id, email=email, authorizations=authorizations, send_email_invite=send_email_invite
608+
)
601609
response: CreateOrganizationInviteResponse = await self._app_client.CreateOrganizationInvite(request, metadata=self._metadata)
602610
return response.invite
603611

src/viam/gen/app/cloudslam/v1/cloud_slam_pb2.py

Lines changed: 36 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -7,43 +7,45 @@
77
from ....common.v1 import common_pb2 as common_dot_v1_dot_common__pb2
88
from google.protobuf import struct_pb2 as google_dot_protobuf_dot_struct__pb2
99
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
10-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!app/cloudslam/v1/cloud_slam.proto\x12\x15viam.app.cloudslam.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xfe\x03\n\x1aStartMappingSessionRequest\x12!\n\x0cslam_version\x18\x01 \x01(\tR\x0bslamVersion\x12.\n\x13viam_server_version\x18\x02 \x01(\tR\x11viamServerVersion\x12\x19\n\x08map_name\x18\x03 \x01(\tR\x07mapName\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x1f\n\x0blocation_id\x18\x05 \x01(\tR\nlocationId\x12\x19\n\x08robot_id\x18\x06 \x01(\tR\x07robotId\x12Q\n\x10capture_interval\x18\x07 \x01(\x0b2&.viam.app.cloudslam.v1.CaptureIntervalR\x0fcaptureInterval\x12;\n\x07sensors\x18\x08 \x03(\x0b2!.viam.app.cloudslam.v1.SensorInfoR\x07sensors\x12K\n\x15slam_algorithm_params\x18\n \x01(\x0b2\x17.google.protobuf.StructR\x13slamAlgorithmParams\x120\n\x14existing_map_version\x18\x0b \x01(\tR\x12existingMapVersion"\x80\x01\n\nSensorInfo\x122\n\x15source_component_name\x18\x01 \x01(\tR\x13sourceComponentName\x12\x12\n\x04type\x18\x02 \x01(\tR\x04type\x12*\n\x11data_frequency_hz\x18\x03 \x01(\tR\x0fdataFrequencyHz"\x83\x01\n\x0fCaptureInterval\x129\n\nstart_time\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampR\tstartTime\x125\n\x08end_time\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x07endTime"<\n\x1bStartMappingSessionResponse\x12\x1d\n\nsession_id\x18\x01 \x01(\tR\tsessionId"D\n\'GetActiveMappingSessionsForRobotRequest\x12\x19\n\x08robot_id\x18\x01 \x01(\tR\x07robotId"I\n(GetActiveMappingSessionsForRobotResponse\x12\x1d\n\nsession_id\x18\x01 \x01(\tR\tsessionId"C\n"GetMappingSessionPointCloudRequest\x12\x1d\n\nsession_id\x18\x01 \x01(\tR\tsessionId"h\n#GetMappingSessionPointCloudResponse\x12\x17\n\x07map_url\x18\x01 \x01(\tR\x06mapUrl\x12(\n\x04pose\x18\x02 \x01(\x0b2\x14.viam.common.v1.PoseR\x04pose"f\n\x1aListMappingSessionsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1f\n\x0blocation_id\x18\x02 \x01(\tR\nlocationId"_\n\x1bListMappingSessionsResponse\x12@\n\x07session\x18\x01 \x03(\x0b2&.viam.app.cloudslam.v1.MappingMetadataR\x07session":\n\x19StopMappingSessionRequest\x12\x1d\n\nsession_id\x18\x01 \x01(\tR\tsessionId"U\n\x1aStopMappingSessionResponse\x12\x1d\n\npackage_id\x18\x01 \x01(\tR\tpackageId\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version"E\n$GetMappingSessionMetadataByIDRequest\x12\x1d\n\nsession_id\x18\x01 \x01(\tR\tsessionId"z\n%GetMappingSessionMetadataByIDResponse\x12Q\n\x10session_metadata\x18\x01 \x01(\x0b2&.viam.app.cloudslam.v1.MappingMetadataR\x0fsessionMetadata"\xb5\x05\n\x0fMappingMetadata\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x1f\n\x0blocation_id\x18\x02 \x01(\tR\nlocationId\x12\x19\n\x08robot_id\x18\x03 \x01(\tR\x07robotId\x12L\n\x14time_start_submitted\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampR\x12timeStartSubmitted\x12V\n\x1atime_cloud_run_job_started\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampR\x16timeCloudRunJobStarted\x12H\n\x12time_end_submitted\x18\x06 \x01(\x0b2\x1a.google.protobuf.TimestampR\x10timeEndSubmitted\x12R\n\x18time_cloud_run_job_ended\x18\x07 \x01(\x0b2\x1a.google.protobuf.TimestampR\x14timeCloudRunJobEnded\x12?\n\nend_status\x18\x08 \x01(\x0e2 .viam.app.cloudslam.v1.EndStatusR\tendStatus\x12\'\n\x10cloud_run_job_id\x18\t \x01(\tR\rcloudRunJobId\x12.\n\x13viam_server_version\x18\n \x01(\tR\x11viamServerVersion\x12\x19\n\x08map_name\x18\x0b \x01(\tR\x07mapName\x12!\n\x0cslam_version\x18\x0c \x01(\tR\x0bslamVersion\x12\x16\n\x06config\x18\r \x01(\tR\x06config\x12\x1b\n\terror_msg\x18\x0e \x01(\tR\x08errorMsg*l\n\tEndStatus\x12\x1a\n\x16END_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12END_STATUS_SUCCESS\x10\x01\x12\x16\n\x12END_STATUS_TIMEOUT\x10\x02\x12\x13\n\x0fEND_STATUS_FAIL\x10\x032\xe3\x06\n\x10CloudSLAMService\x12|\n\x13StartMappingSession\x121.viam.app.cloudslam.v1.StartMappingSessionRequest\x1a2.viam.app.cloudslam.v1.StartMappingSessionResponse\x12\xa3\x01\n GetActiveMappingSessionsForRobot\x12>.viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotRequest\x1a?.viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotResponse\x12\x94\x01\n\x1bGetMappingSessionPointCloud\x129.viam.app.cloudslam.v1.GetMappingSessionPointCloudRequest\x1a:.viam.app.cloudslam.v1.GetMappingSessionPointCloudResponse\x12|\n\x13ListMappingSessions\x121.viam.app.cloudslam.v1.ListMappingSessionsRequest\x1a2.viam.app.cloudslam.v1.ListMappingSessionsResponse\x12y\n\x12StopMappingSession\x120.viam.app.cloudslam.v1.StopMappingSessionRequest\x1a1.viam.app.cloudslam.v1.StopMappingSessionResponse\x12\x9a\x01\n\x1dGetMappingSessionMetadataByID\x12;.viam.app.cloudslam.v1.GetMappingSessionMetadataByIDRequest\x1a<.viam.app.cloudslam.v1.GetMappingSessionMetadataByIDResponseB"Z go.viam.com/api/app/cloudslam/v1b\x06proto3')
10+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!app/cloudslam/v1/cloud_slam.proto\x12\x15viam.app.cloudslam.v1\x1a\x16common/v1/common.proto\x1a\x1cgoogle/protobuf/struct.proto\x1a\x1fgoogle/protobuf/timestamp.proto"\xa2\x04\n\x1aStartMappingSessionRequest\x12!\n\x0cslam_version\x18\x01 \x01(\tR\x0bslamVersion\x12.\n\x13viam_server_version\x18\x02 \x01(\tR\x11viamServerVersion\x12\x19\n\x08map_name\x18\x03 \x01(\tR\x07mapName\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12\x1f\n\x0blocation_id\x18\x05 \x01(\tR\nlocationId\x12\x19\n\x08robot_id\x18\x06 \x01(\tR\x07robotId\x12Q\n\x10capture_interval\x18\x07 \x01(\x0b2&.viam.app.cloudslam.v1.CaptureIntervalR\x0fcaptureInterval\x12;\n\x07sensors\x18\x08 \x03(\x0b2!.viam.app.cloudslam.v1.SensorInfoR\x07sensors\x128\n\x0bslam_config\x18\n \x01(\x0b2\x17.google.protobuf.StructR\nslamConfig\x120\n\x14existing_map_version\x18\x0b \x01(\tR\x12existingMapVersion\x125\n\x06module\x18\x0c \x01(\x0b2\x1d.viam.app.cloudslam.v1.ModuleR\x06module"S\n\x06Module\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x1b\n\tmodule_id\x18\x03 \x01(\tR\x08moduleId\x12\x18\n\x07version\x18\x04 \x01(\tR\x07version"\x80\x01\n\nSensorInfo\x122\n\x15source_component_name\x18\x01 \x01(\tR\x13sourceComponentName\x12\x12\n\x04type\x18\x02 \x01(\tR\x04type\x12*\n\x11data_frequency_hz\x18\x03 \x01(\tR\x0fdataFrequencyHz"\x83\x01\n\x0fCaptureInterval\x129\n\nstart_time\x18\x01 \x01(\x0b2\x1a.google.protobuf.TimestampR\tstartTime\x125\n\x08end_time\x18\x02 \x01(\x0b2\x1a.google.protobuf.TimestampR\x07endTime"<\n\x1bStartMappingSessionResponse\x12\x1d\n\nsession_id\x18\x01 \x01(\tR\tsessionId"D\n\'GetActiveMappingSessionsForRobotRequest\x12\x19\n\x08robot_id\x18\x01 \x01(\tR\x07robotId"I\n(GetActiveMappingSessionsForRobotResponse\x12\x1d\n\nsession_id\x18\x01 \x01(\tR\tsessionId"C\n"GetMappingSessionPointCloudRequest\x12\x1d\n\nsession_id\x18\x01 \x01(\tR\tsessionId"h\n#GetMappingSessionPointCloudResponse\x12\x17\n\x07map_url\x18\x01 \x01(\tR\x06mapUrl\x12(\n\x04pose\x18\x02 \x01(\x0b2\x14.viam.common.v1.PoseR\x04pose"f\n\x1aListMappingSessionsRequest\x12\'\n\x0forganization_id\x18\x01 \x01(\tR\x0eorganizationId\x12\x1f\n\x0blocation_id\x18\x02 \x01(\tR\nlocationId"_\n\x1bListMappingSessionsResponse\x12@\n\x07session\x18\x01 \x03(\x0b2&.viam.app.cloudslam.v1.MappingMetadataR\x07session":\n\x19StopMappingSessionRequest\x12\x1d\n\nsession_id\x18\x01 \x01(\tR\tsessionId"U\n\x1aStopMappingSessionResponse\x12\x1d\n\npackage_id\x18\x01 \x01(\tR\tpackageId\x12\x18\n\x07version\x18\x02 \x01(\tR\x07version"E\n$GetMappingSessionMetadataByIDRequest\x12\x1d\n\nsession_id\x18\x01 \x01(\tR\tsessionId"z\n%GetMappingSessionMetadataByIDResponse\x12Q\n\x10session_metadata\x18\x01 \x01(\x0b2&.viam.app.cloudslam.v1.MappingMetadataR\x0fsessionMetadata"\xb5\x05\n\x0fMappingMetadata\x12\x15\n\x06org_id\x18\x01 \x01(\tR\x05orgId\x12\x1f\n\x0blocation_id\x18\x02 \x01(\tR\nlocationId\x12\x19\n\x08robot_id\x18\x03 \x01(\tR\x07robotId\x12L\n\x14time_start_submitted\x18\x04 \x01(\x0b2\x1a.google.protobuf.TimestampR\x12timeStartSubmitted\x12V\n\x1atime_cloud_run_job_started\x18\x05 \x01(\x0b2\x1a.google.protobuf.TimestampR\x16timeCloudRunJobStarted\x12H\n\x12time_end_submitted\x18\x06 \x01(\x0b2\x1a.google.protobuf.TimestampR\x10timeEndSubmitted\x12R\n\x18time_cloud_run_job_ended\x18\x07 \x01(\x0b2\x1a.google.protobuf.TimestampR\x14timeCloudRunJobEnded\x12?\n\nend_status\x18\x08 \x01(\x0e2 .viam.app.cloudslam.v1.EndStatusR\tendStatus\x12\'\n\x10cloud_run_job_id\x18\t \x01(\tR\rcloudRunJobId\x12.\n\x13viam_server_version\x18\n \x01(\tR\x11viamServerVersion\x12\x19\n\x08map_name\x18\x0b \x01(\tR\x07mapName\x12!\n\x0cslam_version\x18\x0c \x01(\tR\x0bslamVersion\x12\x16\n\x06config\x18\r \x01(\tR\x06config\x12\x1b\n\terror_msg\x18\x0e \x01(\tR\x08errorMsg*l\n\tEndStatus\x12\x1a\n\x16END_STATUS_UNSPECIFIED\x10\x00\x12\x16\n\x12END_STATUS_SUCCESS\x10\x01\x12\x16\n\x12END_STATUS_TIMEOUT\x10\x02\x12\x13\n\x0fEND_STATUS_FAIL\x10\x032\xe3\x06\n\x10CloudSLAMService\x12|\n\x13StartMappingSession\x121.viam.app.cloudslam.v1.StartMappingSessionRequest\x1a2.viam.app.cloudslam.v1.StartMappingSessionResponse\x12\xa3\x01\n GetActiveMappingSessionsForRobot\x12>.viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotRequest\x1a?.viam.app.cloudslam.v1.GetActiveMappingSessionsForRobotResponse\x12\x94\x01\n\x1bGetMappingSessionPointCloud\x129.viam.app.cloudslam.v1.GetMappingSessionPointCloudRequest\x1a:.viam.app.cloudslam.v1.GetMappingSessionPointCloudResponse\x12|\n\x13ListMappingSessions\x121.viam.app.cloudslam.v1.ListMappingSessionsRequest\x1a2.viam.app.cloudslam.v1.ListMappingSessionsResponse\x12y\n\x12StopMappingSession\x120.viam.app.cloudslam.v1.StopMappingSessionRequest\x1a1.viam.app.cloudslam.v1.StopMappingSessionResponse\x12\x9a\x01\n\x1dGetMappingSessionMetadataByID\x12;.viam.app.cloudslam.v1.GetMappingSessionMetadataByIDRequest\x1a<.viam.app.cloudslam.v1.GetMappingSessionMetadataByIDResponseB"Z go.viam.com/api/app/cloudslam/v1b\x06proto3')
1111
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
1212
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'app.cloudslam.v1.cloud_slam_pb2', globals())
1313
if _descriptor._USE_C_DESCRIPTORS == False:
1414
DESCRIPTOR._options = None
1515
DESCRIPTOR._serialized_options = b'Z go.viam.com/api/app/cloudslam/v1'
16-
_ENDSTATUS._serialized_start = 2546
17-
_ENDSTATUS._serialized_end = 2654
16+
_ENDSTATUS._serialized_start = 2667
17+
_ENDSTATUS._serialized_end = 2775
1818
_STARTMAPPINGSESSIONREQUEST._serialized_start = 148
19-
_STARTMAPPINGSESSIONREQUEST._serialized_end = 658
20-
_SENSORINFO._serialized_start = 661
21-
_SENSORINFO._serialized_end = 789
22-
_CAPTUREINTERVAL._serialized_start = 792
23-
_CAPTUREINTERVAL._serialized_end = 923
24-
_STARTMAPPINGSESSIONRESPONSE._serialized_start = 925
25-
_STARTMAPPINGSESSIONRESPONSE._serialized_end = 985
26-
_GETACTIVEMAPPINGSESSIONSFORROBOTREQUEST._serialized_start = 987
27-
_GETACTIVEMAPPINGSESSIONSFORROBOTREQUEST._serialized_end = 1055
28-
_GETACTIVEMAPPINGSESSIONSFORROBOTRESPONSE._serialized_start = 1057
29-
_GETACTIVEMAPPINGSESSIONSFORROBOTRESPONSE._serialized_end = 1130
30-
_GETMAPPINGSESSIONPOINTCLOUDREQUEST._serialized_start = 1132
31-
_GETMAPPINGSESSIONPOINTCLOUDREQUEST._serialized_end = 1199
32-
_GETMAPPINGSESSIONPOINTCLOUDRESPONSE._serialized_start = 1201
33-
_GETMAPPINGSESSIONPOINTCLOUDRESPONSE._serialized_end = 1305
34-
_LISTMAPPINGSESSIONSREQUEST._serialized_start = 1307
35-
_LISTMAPPINGSESSIONSREQUEST._serialized_end = 1409
36-
_LISTMAPPINGSESSIONSRESPONSE._serialized_start = 1411
37-
_LISTMAPPINGSESSIONSRESPONSE._serialized_end = 1506
38-
_STOPMAPPINGSESSIONREQUEST._serialized_start = 1508
39-
_STOPMAPPINGSESSIONREQUEST._serialized_end = 1566
40-
_STOPMAPPINGSESSIONRESPONSE._serialized_start = 1568
41-
_STOPMAPPINGSESSIONRESPONSE._serialized_end = 1653
42-
_GETMAPPINGSESSIONMETADATABYIDREQUEST._serialized_start = 1655
43-
_GETMAPPINGSESSIONMETADATABYIDREQUEST._serialized_end = 1724
44-
_GETMAPPINGSESSIONMETADATABYIDRESPONSE._serialized_start = 1726
45-
_GETMAPPINGSESSIONMETADATABYIDRESPONSE._serialized_end = 1848
46-
_MAPPINGMETADATA._serialized_start = 1851
47-
_MAPPINGMETADATA._serialized_end = 2544
48-
_CLOUDSLAMSERVICE._serialized_start = 2657
49-
_CLOUDSLAMSERVICE._serialized_end = 3524
19+
_STARTMAPPINGSESSIONREQUEST._serialized_end = 694
20+
_MODULE._serialized_start = 696
21+
_MODULE._serialized_end = 779
22+
_SENSORINFO._serialized_start = 782
23+
_SENSORINFO._serialized_end = 910
24+
_CAPTUREINTERVAL._serialized_start = 913
25+
_CAPTUREINTERVAL._serialized_end = 1044
26+
_STARTMAPPINGSESSIONRESPONSE._serialized_start = 1046
27+
_STARTMAPPINGSESSIONRESPONSE._serialized_end = 1106
28+
_GETACTIVEMAPPINGSESSIONSFORROBOTREQUEST._serialized_start = 1108
29+
_GETACTIVEMAPPINGSESSIONSFORROBOTREQUEST._serialized_end = 1176
30+
_GETACTIVEMAPPINGSESSIONSFORROBOTRESPONSE._serialized_start = 1178
31+
_GETACTIVEMAPPINGSESSIONSFORROBOTRESPONSE._serialized_end = 1251
32+
_GETMAPPINGSESSIONPOINTCLOUDREQUEST._serialized_start = 1253
33+
_GETMAPPINGSESSIONPOINTCLOUDREQUEST._serialized_end = 1320
34+
_GETMAPPINGSESSIONPOINTCLOUDRESPONSE._serialized_start = 1322
35+
_GETMAPPINGSESSIONPOINTCLOUDRESPONSE._serialized_end = 1426
36+
_LISTMAPPINGSESSIONSREQUEST._serialized_start = 1428
37+
_LISTMAPPINGSESSIONSREQUEST._serialized_end = 1530
38+
_LISTMAPPINGSESSIONSRESPONSE._serialized_start = 1532
39+
_LISTMAPPINGSESSIONSRESPONSE._serialized_end = 1627
40+
_STOPMAPPINGSESSIONREQUEST._serialized_start = 1629
41+
_STOPMAPPINGSESSIONREQUEST._serialized_end = 1687
42+
_STOPMAPPINGSESSIONRESPONSE._serialized_start = 1689
43+
_STOPMAPPINGSESSIONRESPONSE._serialized_end = 1774
44+
_GETMAPPINGSESSIONMETADATABYIDREQUEST._serialized_start = 1776
45+
_GETMAPPINGSESSIONMETADATABYIDREQUEST._serialized_end = 1845
46+
_GETMAPPINGSESSIONMETADATABYIDRESPONSE._serialized_start = 1847
47+
_GETMAPPINGSESSIONMETADATABYIDRESPONSE._serialized_end = 1969
48+
_MAPPINGMETADATA._serialized_start = 1972
49+
_MAPPINGMETADATA._serialized_end = 2665
50+
_CLOUDSLAMSERVICE._serialized_start = 2778
51+
_CLOUDSLAMSERVICE._serialized_end = 3645

src/viam/gen/app/cloudslam/v1/cloud_slam_pb2.pyi

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,9 @@ class StartMappingSessionRequest(google.protobuf.message.Message):
5050
ROBOT_ID_FIELD_NUMBER: builtins.int
5151
CAPTURE_INTERVAL_FIELD_NUMBER: builtins.int
5252
SENSORS_FIELD_NUMBER: builtins.int
53-
SLAM_ALGORITHM_PARAMS_FIELD_NUMBER: builtins.int
53+
SLAM_CONFIG_FIELD_NUMBER: builtins.int
5454
EXISTING_MAP_VERSION_FIELD_NUMBER: builtins.int
55+
MODULE_FIELD_NUMBER: builtins.int
5556
slam_version: builtins.str
5657
'Version to use for slam, defaults stable'
5758
viam_server_version: builtins.str
@@ -70,20 +71,41 @@ class StartMappingSessionRequest(google.protobuf.message.Message):
7071
...
7172

7273
@property
73-
def slam_algorithm_params(self) -> google.protobuf.struct_pb2.Struct:
74+
def slam_config(self) -> google.protobuf.struct_pb2.Struct:
7475
...
7576
existing_map_version: builtins.str
7677

77-
def __init__(self, *, slam_version: builtins.str=..., viam_server_version: builtins.str=..., map_name: builtins.str=..., organization_id: builtins.str=..., location_id: builtins.str=..., robot_id: builtins.str=..., capture_interval: global___CaptureInterval | None=..., sensors: collections.abc.Iterable[global___SensorInfo] | None=..., slam_algorithm_params: google.protobuf.struct_pb2.Struct | None=..., existing_map_version: builtins.str=...) -> None:
78+
@property
79+
def module(self) -> global___Module:
80+
...
81+
82+
def __init__(self, *, slam_version: builtins.str=..., viam_server_version: builtins.str=..., map_name: builtins.str=..., organization_id: builtins.str=..., location_id: builtins.str=..., robot_id: builtins.str=..., capture_interval: global___CaptureInterval | None=..., sensors: collections.abc.Iterable[global___SensorInfo] | None=..., slam_config: google.protobuf.struct_pb2.Struct | None=..., existing_map_version: builtins.str=..., module: global___Module | None=...) -> None:
7883
...
7984

80-
def HasField(self, field_name: typing_extensions.Literal['capture_interval', b'capture_interval', 'slam_algorithm_params', b'slam_algorithm_params']) -> builtins.bool:
85+
def HasField(self, field_name: typing_extensions.Literal['capture_interval', b'capture_interval', 'module', b'module', 'slam_config', b'slam_config']) -> builtins.bool:
8186
...
8287

83-
def ClearField(self, field_name: typing_extensions.Literal['capture_interval', b'capture_interval', 'existing_map_version', b'existing_map_version', 'location_id', b'location_id', 'map_name', b'map_name', 'organization_id', b'organization_id', 'robot_id', b'robot_id', 'sensors', b'sensors', 'slam_algorithm_params', b'slam_algorithm_params', 'slam_version', b'slam_version', 'viam_server_version', b'viam_server_version']) -> None:
88+
def ClearField(self, field_name: typing_extensions.Literal['capture_interval', b'capture_interval', 'existing_map_version', b'existing_map_version', 'location_id', b'location_id', 'map_name', b'map_name', 'module', b'module', 'organization_id', b'organization_id', 'robot_id', b'robot_id', 'sensors', b'sensors', 'slam_config', b'slam_config', 'slam_version', b'slam_version', 'viam_server_version', b'viam_server_version']) -> None:
8489
...
8590
global___StartMappingSessionRequest = StartMappingSessionRequest
8691

92+
@typing_extensions.final
93+
class Module(google.protobuf.message.Message):
94+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
95+
NAME_FIELD_NUMBER: builtins.int
96+
MODULE_ID_FIELD_NUMBER: builtins.int
97+
VERSION_FIELD_NUMBER: builtins.int
98+
name: builtins.str
99+
module_id: builtins.str
100+
version: builtins.str
101+
102+
def __init__(self, *, name: builtins.str=..., module_id: builtins.str=..., version: builtins.str=...) -> None:
103+
...
104+
105+
def ClearField(self, field_name: typing_extensions.Literal['module_id', b'module_id', 'name', b'name', 'version', b'version']) -> None:
106+
...
107+
global___Module = Module
108+
87109
@typing_extensions.final
88110
class SensorInfo(google.protobuf.message.Message):
89111
DESCRIPTOR: google.protobuf.descriptor.Descriptor

0 commit comments

Comments
 (0)