diff --git a/lib/src/gen/app/v1/app.pb.dart b/lib/src/gen/app/v1/app.pb.dart index 91997ff1c8..f97e37573e 100644 --- a/lib/src/gen/app/v1/app.pb.dart +++ b/lib/src/gen/app/v1/app.pb.dart @@ -14,8 +14,9 @@ import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; -import '../../google/protobuf/struct.pb.dart' as $5; -import '../../google/protobuf/timestamp.pb.dart' as $4; +import '../../google/protobuf/struct.pb.dart' as $6; +import '../../google/protobuf/timestamp.pb.dart' as $5; +import '../packages/v1/packages.pbenum.dart' as $0; import 'app.pbenum.dart'; export 'app.pbenum.dart'; @@ -25,8 +26,8 @@ class Robot extends $pb.GeneratedMessage { $core.String? id, $core.String? name, $core.String? location, - $4.Timestamp? lastAccess, - $4.Timestamp? createdOn, + $5.Timestamp? lastAccess, + $5.Timestamp? createdOn, }) { final $result = create(); if (id != null) { @@ -54,8 +55,8 @@ class Robot extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'location') - ..aOM<$4.Timestamp>(4, _omitFieldNames ? '' : 'lastAccess', subBuilder: $4.Timestamp.create) - ..aOM<$4.Timestamp>(5, _omitFieldNames ? '' : 'createdOn', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(4, _omitFieldNames ? '' : 'lastAccess', subBuilder: $5.Timestamp.create) + ..aOM<$5.Timestamp>(5, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) ..hasRequiredFields = false ; @@ -108,26 +109,26 @@ class Robot extends $pb.GeneratedMessage { void clearLocation() => clearField(3); @$pb.TagNumber(4) - $4.Timestamp get lastAccess => $_getN(3); + $5.Timestamp get lastAccess => $_getN(3); @$pb.TagNumber(4) - set lastAccess($4.Timestamp v) { setField(4, v); } + set lastAccess($5.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasLastAccess() => $_has(3); @$pb.TagNumber(4) void clearLastAccess() => clearField(4); @$pb.TagNumber(4) - $4.Timestamp ensureLastAccess() => $_ensure(3); + $5.Timestamp ensureLastAccess() => $_ensure(3); @$pb.TagNumber(5) - $4.Timestamp get createdOn => $_getN(4); + $5.Timestamp get createdOn => $_getN(4); @$pb.TagNumber(5) - set createdOn($4.Timestamp v) { setField(5, v); } + set createdOn($5.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasCreatedOn() => $_has(4); @$pb.TagNumber(5) void clearCreatedOn() => clearField(5); @$pb.TagNumber(5) - $4.Timestamp ensureCreatedOn() => $_ensure(4); + $5.Timestamp ensureCreatedOn() => $_ensure(4); } class RobotPart extends $pb.GeneratedMessage { @@ -136,15 +137,15 @@ class RobotPart extends $pb.GeneratedMessage { $core.String? name, $core.String? secret, $core.String? robot, - $5.Struct? robotConfig, - $4.Timestamp? lastAccess, - $5.Struct? userSuppliedInfo, + $6.Struct? robotConfig, + $5.Timestamp? lastAccess, + $6.Struct? userSuppliedInfo, $core.bool? mainPart, $core.String? fqdn, $core.String? dnsName, $core.String? localFqdn, $core.String? locationId, - $4.Timestamp? createdOn, + $5.Timestamp? createdOn, $core.Iterable? secrets, }) { final $result = create(); @@ -201,15 +202,15 @@ class RobotPart extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'secret') ..aOS(4, _omitFieldNames ? '' : 'robot') - ..aOM<$5.Struct>(5, _omitFieldNames ? '' : 'robotConfig', subBuilder: $5.Struct.create) - ..aOM<$4.Timestamp>(6, _omitFieldNames ? '' : 'lastAccess', subBuilder: $4.Timestamp.create) - ..aOM<$5.Struct>(7, _omitFieldNames ? '' : 'userSuppliedInfo', subBuilder: $5.Struct.create) + ..aOM<$6.Struct>(5, _omitFieldNames ? '' : 'robotConfig', subBuilder: $6.Struct.create) + ..aOM<$5.Timestamp>(6, _omitFieldNames ? '' : 'lastAccess', subBuilder: $5.Timestamp.create) + ..aOM<$6.Struct>(7, _omitFieldNames ? '' : 'userSuppliedInfo', subBuilder: $6.Struct.create) ..aOB(8, _omitFieldNames ? '' : 'mainPart') ..aOS(9, _omitFieldNames ? '' : 'fqdn') ..aOS(10, _omitFieldNames ? '' : 'dnsName') ..aOS(11, _omitFieldNames ? '' : 'localFqdn') ..aOS(12, _omitFieldNames ? '' : 'locationId') - ..aOM<$4.Timestamp>(13, _omitFieldNames ? '' : 'createdOn', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(13, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) ..pc(14, _omitFieldNames ? '' : 'secrets', $pb.PbFieldType.PM, subBuilder: SharedSecret.create) ..hasRequiredFields = false ; @@ -272,37 +273,37 @@ class RobotPart extends $pb.GeneratedMessage { void clearRobot() => clearField(4); @$pb.TagNumber(5) - $5.Struct get robotConfig => $_getN(4); + $6.Struct get robotConfig => $_getN(4); @$pb.TagNumber(5) - set robotConfig($5.Struct v) { setField(5, v); } + set robotConfig($6.Struct v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasRobotConfig() => $_has(4); @$pb.TagNumber(5) void clearRobotConfig() => clearField(5); @$pb.TagNumber(5) - $5.Struct ensureRobotConfig() => $_ensure(4); + $6.Struct ensureRobotConfig() => $_ensure(4); @$pb.TagNumber(6) - $4.Timestamp get lastAccess => $_getN(5); + $5.Timestamp get lastAccess => $_getN(5); @$pb.TagNumber(6) - set lastAccess($4.Timestamp v) { setField(6, v); } + set lastAccess($5.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasLastAccess() => $_has(5); @$pb.TagNumber(6) void clearLastAccess() => clearField(6); @$pb.TagNumber(6) - $4.Timestamp ensureLastAccess() => $_ensure(5); + $5.Timestamp ensureLastAccess() => $_ensure(5); @$pb.TagNumber(7) - $5.Struct get userSuppliedInfo => $_getN(6); + $6.Struct get userSuppliedInfo => $_getN(6); @$pb.TagNumber(7) - set userSuppliedInfo($5.Struct v) { setField(7, v); } + set userSuppliedInfo($6.Struct v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasUserSuppliedInfo() => $_has(6); @$pb.TagNumber(7) void clearUserSuppliedInfo() => clearField(7); @$pb.TagNumber(7) - $5.Struct ensureUserSuppliedInfo() => $_ensure(6); + $6.Struct ensureUserSuppliedInfo() => $_ensure(6); @$pb.TagNumber(8) $core.bool get mainPart => $_getBF(7); @@ -353,15 +354,15 @@ class RobotPart extends $pb.GeneratedMessage { void clearLocationId() => clearField(12); @$pb.TagNumber(13) - $4.Timestamp get createdOn => $_getN(12); + $5.Timestamp get createdOn => $_getN(12); @$pb.TagNumber(13) - set createdOn($4.Timestamp v) { setField(13, v); } + set createdOn($5.Timestamp v) { setField(13, v); } @$pb.TagNumber(13) $core.bool hasCreatedOn() => $_has(12); @$pb.TagNumber(13) void clearCreatedOn() => clearField(13); @$pb.TagNumber(13) - $4.Timestamp ensureCreatedOn() => $_ensure(12); + $5.Timestamp ensureCreatedOn() => $_ensure(12); /// List of secrets allowed for authentication. @$pb.TagNumber(14) @@ -372,7 +373,7 @@ class RobotPartHistoryEntry extends $pb.GeneratedMessage { factory RobotPartHistoryEntry({ $core.String? part, $core.String? robot, - $4.Timestamp? when, + $5.Timestamp? when, RobotPart? old, }) { final $result = create(); @@ -397,7 +398,7 @@ class RobotPartHistoryEntry extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RobotPartHistoryEntry', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'part') ..aOS(2, _omitFieldNames ? '' : 'robot') - ..aOM<$4.Timestamp>(3, _omitFieldNames ? '' : 'when', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(3, _omitFieldNames ? '' : 'when', subBuilder: $5.Timestamp.create) ..aOM(4, _omitFieldNames ? '' : 'old', subBuilder: RobotPart.create) ..hasRequiredFields = false ; @@ -442,15 +443,15 @@ class RobotPartHistoryEntry extends $pb.GeneratedMessage { void clearRobot() => clearField(2); @$pb.TagNumber(3) - $4.Timestamp get when => $_getN(2); + $5.Timestamp get when => $_getN(2); @$pb.TagNumber(3) - set when($4.Timestamp v) { setField(3, v); } + set when($5.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasWhen() => $_has(2); @$pb.TagNumber(3) void clearWhen() => clearField(3); @$pb.TagNumber(3) - $4.Timestamp ensureWhen() => $_ensure(2); + $5.Timestamp ensureWhen() => $_ensure(2); @$pb.TagNumber(4) RobotPart get old => $_getN(3); @@ -500,7 +501,7 @@ class Organization extends $pb.GeneratedMessage { factory Organization({ $core.String? id, $core.String? name, - $4.Timestamp? createdOn, + $5.Timestamp? createdOn, $core.String? publicNamespace, $core.String? defaultRegion, $core.String? cid, @@ -533,7 +534,7 @@ class Organization extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Organization', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOM<$4.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) ..aOS(4, _omitFieldNames ? '' : 'publicNamespace') ..aOS(5, _omitFieldNames ? '' : 'defaultRegion') ..aOS(6, _omitFieldNames ? '' : 'cid') @@ -580,15 +581,15 @@ class Organization extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $4.Timestamp get createdOn => $_getN(2); + $5.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($4.Timestamp v) { setField(3, v); } + set createdOn($5.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $4.Timestamp ensureCreatedOn() => $_ensure(2); + $5.Timestamp ensureCreatedOn() => $_ensure(2); @$pb.TagNumber(4) $core.String get publicNamespace => $_getSZ(3); @@ -624,8 +625,8 @@ class OrganizationMember extends $pb.GeneratedMessage { factory OrganizationMember({ $core.String? userId, $core.Iterable<$core.String>? emails, - $4.Timestamp? dateAdded, - $4.Timestamp? lastLogin, + $5.Timestamp? dateAdded, + $5.Timestamp? lastLogin, }) { final $result = create(); if (userId != null) { @@ -649,8 +650,8 @@ class OrganizationMember extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationMember', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'userId') ..pPS(2, _omitFieldNames ? '' : 'emails') - ..aOM<$4.Timestamp>(3, _omitFieldNames ? '' : 'dateAdded', subBuilder: $4.Timestamp.create) - ..aOM<$4.Timestamp>(4, _omitFieldNames ? '' : 'lastLogin', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(3, _omitFieldNames ? '' : 'dateAdded', subBuilder: $5.Timestamp.create) + ..aOM<$5.Timestamp>(4, _omitFieldNames ? '' : 'lastLogin', subBuilder: $5.Timestamp.create) ..hasRequiredFields = false ; @@ -688,26 +689,26 @@ class OrganizationMember extends $pb.GeneratedMessage { $core.List<$core.String> get emails => $_getList(1); @$pb.TagNumber(3) - $4.Timestamp get dateAdded => $_getN(2); + $5.Timestamp get dateAdded => $_getN(2); @$pb.TagNumber(3) - set dateAdded($4.Timestamp v) { setField(3, v); } + set dateAdded($5.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasDateAdded() => $_has(2); @$pb.TagNumber(3) void clearDateAdded() => clearField(3); @$pb.TagNumber(3) - $4.Timestamp ensureDateAdded() => $_ensure(2); + $5.Timestamp ensureDateAdded() => $_ensure(2); @$pb.TagNumber(4) - $4.Timestamp get lastLogin => $_getN(3); + $5.Timestamp get lastLogin => $_getN(3); @$pb.TagNumber(4) - set lastLogin($4.Timestamp v) { setField(4, v); } + set lastLogin($5.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasLastLogin() => $_has(3); @$pb.TagNumber(4) void clearLastLogin() => clearField(4); @$pb.TagNumber(4) - $4.Timestamp ensureLastLogin() => $_ensure(3); + $5.Timestamp ensureLastLogin() => $_ensure(3); } class ListOrganizationsResponse extends $pb.GeneratedMessage { @@ -758,7 +759,7 @@ class OrganizationInvite extends $pb.GeneratedMessage { factory OrganizationInvite({ $core.String? organizationId, $core.String? email, - $4.Timestamp? createdOn, + $5.Timestamp? createdOn, $core.Iterable? authorizations, }) { final $result = create(); @@ -783,7 +784,7 @@ class OrganizationInvite extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OrganizationInvite', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'organizationId') ..aOS(2, _omitFieldNames ? '' : 'email') - ..aOM<$4.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) ..pc(4, _omitFieldNames ? '' : 'authorizations', $pb.PbFieldType.PM, subBuilder: Authorization.create) ..hasRequiredFields = false ; @@ -828,15 +829,15 @@ class OrganizationInvite extends $pb.GeneratedMessage { void clearEmail() => clearField(2); @$pb.TagNumber(3) - $4.Timestamp get createdOn => $_getN(2); + $5.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($4.Timestamp v) { setField(3, v); } + set createdOn($5.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $4.Timestamp ensureCreatedOn() => $_ensure(2); + $5.Timestamp ensureCreatedOn() => $_ensure(2); @$pb.TagNumber(4) $core.List get authorizations => $_getList(3); @@ -2269,7 +2270,7 @@ class Location extends $pb.GeneratedMessage { factory Location({ $core.String? id, $core.String? name, - $4.Timestamp? createdOn, + $5.Timestamp? createdOn, $core.String? parentLocationId, LocationAuth? auth, $core.Iterable? organizations, @@ -2310,7 +2311,7 @@ class Location extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Location', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOM<$4.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) ..aOS(4, _omitFieldNames ? '' : 'parentLocationId') ..aOM(5, _omitFieldNames ? '' : 'auth', subBuilder: LocationAuth.create) ..pc(6, _omitFieldNames ? '' : 'organizations', $pb.PbFieldType.PM, subBuilder: LocationOrganization.create) @@ -2362,15 +2363,15 @@ class Location extends $pb.GeneratedMessage { /// Location creation timestamp. @$pb.TagNumber(3) - $4.Timestamp get createdOn => $_getN(2); + $5.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($4.Timestamp v) { setField(3, v); } + set createdOn($5.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $4.Timestamp ensureCreatedOn() => $_ensure(2); + $5.Timestamp ensureCreatedOn() => $_ensure(2); /// Location ID of the parent location. @$pb.TagNumber(4) @@ -2425,7 +2426,7 @@ class SharedSecret extends $pb.GeneratedMessage { factory SharedSecret({ $core.String? id, $core.String? secret, - $4.Timestamp? createdOn, + $5.Timestamp? createdOn, SharedSecret_State? state, }) { final $result = create(); @@ -2450,7 +2451,7 @@ class SharedSecret extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SharedSecret', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'secret') - ..aOM<$4.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) ..e(4, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: SharedSecret_State.STATE_UNSPECIFIED, valueOf: SharedSecret_State.valueOf, enumValues: SharedSecret_State.values) ..hasRequiredFields = false ; @@ -2497,15 +2498,15 @@ class SharedSecret extends $pb.GeneratedMessage { /// Date/time the secret was first created. @$pb.TagNumber(3) - $4.Timestamp get createdOn => $_getN(2); + $5.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($4.Timestamp v) { setField(3, v); } + set createdOn($5.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $4.Timestamp ensureCreatedOn() => $_ensure(2); + $5.Timestamp ensureCreatedOn() => $_ensure(2); /// State of the shared secret. In most cases it should be enabled. We may support /// disabling a specific secret while keeping it in the database. @@ -4176,12 +4177,12 @@ class LogEntry extends $pb.GeneratedMessage { factory LogEntry({ $core.String? host, $core.String? level, - $4.Timestamp? time, + $5.Timestamp? time, $core.String? loggerName, $core.String? message, - $5.Struct? caller, + $6.Struct? caller, $core.String? stack, - $core.Iterable<$5.Struct>? fields, + $core.Iterable<$6.Struct>? fields, }) { final $result = create(); if (host != null) { @@ -4217,12 +4218,12 @@ class LogEntry extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LogEntry', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'host') ..aOS(2, _omitFieldNames ? '' : 'level') - ..aOM<$4.Timestamp>(3, _omitFieldNames ? '' : 'time', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(3, _omitFieldNames ? '' : 'time', subBuilder: $5.Timestamp.create) ..aOS(4, _omitFieldNames ? '' : 'loggerName') ..aOS(5, _omitFieldNames ? '' : 'message') - ..aOM<$5.Struct>(6, _omitFieldNames ? '' : 'caller', subBuilder: $5.Struct.create) + ..aOM<$6.Struct>(6, _omitFieldNames ? '' : 'caller', subBuilder: $6.Struct.create) ..aOS(7, _omitFieldNames ? '' : 'stack') - ..pc<$5.Struct>(8, _omitFieldNames ? '' : 'fields', $pb.PbFieldType.PM, subBuilder: $5.Struct.create) + ..pc<$6.Struct>(8, _omitFieldNames ? '' : 'fields', $pb.PbFieldType.PM, subBuilder: $6.Struct.create) ..hasRequiredFields = false ; @@ -4266,15 +4267,15 @@ class LogEntry extends $pb.GeneratedMessage { void clearLevel() => clearField(2); @$pb.TagNumber(3) - $4.Timestamp get time => $_getN(2); + $5.Timestamp get time => $_getN(2); @$pb.TagNumber(3) - set time($4.Timestamp v) { setField(3, v); } + set time($5.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasTime() => $_has(2); @$pb.TagNumber(3) void clearTime() => clearField(3); @$pb.TagNumber(3) - $4.Timestamp ensureTime() => $_ensure(2); + $5.Timestamp ensureTime() => $_ensure(2); @$pb.TagNumber(4) $core.String get loggerName => $_getSZ(3); @@ -4295,15 +4296,15 @@ class LogEntry extends $pb.GeneratedMessage { void clearMessage() => clearField(5); @$pb.TagNumber(6) - $5.Struct get caller => $_getN(5); + $6.Struct get caller => $_getN(5); @$pb.TagNumber(6) - set caller($5.Struct v) { setField(6, v); } + set caller($6.Struct v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasCaller() => $_has(5); @$pb.TagNumber(6) void clearCaller() => clearField(6); @$pb.TagNumber(6) - $5.Struct ensureCaller() => $_ensure(5); + $6.Struct ensureCaller() => $_ensure(5); @$pb.TagNumber(7) $core.String get stack => $_getSZ(6); @@ -4315,7 +4316,7 @@ class LogEntry extends $pb.GeneratedMessage { void clearStack() => clearField(7); @$pb.TagNumber(8) - $core.List<$5.Struct> get fields => $_getList(7); + $core.List<$6.Struct> get fields => $_getList(7); } class GetRobotPartLogsResponse extends $pb.GeneratedMessage { @@ -4596,7 +4597,7 @@ class UpdateRobotPartRequest extends $pb.GeneratedMessage { factory UpdateRobotPartRequest({ $core.String? id, $core.String? name, - $5.Struct? robotConfig, + $6.Struct? robotConfig, }) { final $result = create(); if (id != null) { @@ -4617,7 +4618,7 @@ class UpdateRobotPartRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRobotPartRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOM<$5.Struct>(3, _omitFieldNames ? '' : 'robotConfig', subBuilder: $5.Struct.create) + ..aOM<$6.Struct>(3, _omitFieldNames ? '' : 'robotConfig', subBuilder: $6.Struct.create) ..hasRequiredFields = false ; @@ -4661,15 +4662,15 @@ class UpdateRobotPartRequest extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $5.Struct get robotConfig => $_getN(2); + $6.Struct get robotConfig => $_getN(2); @$pb.TagNumber(3) - set robotConfig($5.Struct v) { setField(3, v); } + set robotConfig($6.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasRobotConfig() => $_has(2); @$pb.TagNumber(3) void clearRobotConfig() => clearField(3); @$pb.TagNumber(3) - $5.Struct ensureRobotConfig() => $_ensure(2); + $6.Struct ensureRobotConfig() => $_ensure(2); } class UpdateRobotPartResponse extends $pb.GeneratedMessage { @@ -4943,7 +4944,7 @@ class APIKey extends $pb.GeneratedMessage { $core.String? id, $core.String? key, $core.String? name, - $4.Timestamp? createdOn, + $5.Timestamp? createdOn, }) { final $result = create(); if (id != null) { @@ -4968,7 +4969,7 @@ class APIKey extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'key') ..aOS(3, _omitFieldNames ? '' : 'name') - ..aOM<$4.Timestamp>(4, _omitFieldNames ? '' : 'createdOn', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(4, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) ..hasRequiredFields = false ; @@ -5021,15 +5022,15 @@ class APIKey extends $pb.GeneratedMessage { void clearName() => clearField(3); @$pb.TagNumber(4) - $4.Timestamp get createdOn => $_getN(3); + $5.Timestamp get createdOn => $_getN(3); @$pb.TagNumber(4) - set createdOn($4.Timestamp v) { setField(4, v); } + set createdOn($5.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasCreatedOn() => $_has(3); @$pb.TagNumber(4) void clearCreatedOn() => clearField(4); @$pb.TagNumber(4) - $4.Timestamp ensureCreatedOn() => $_ensure(3); + $5.Timestamp ensureCreatedOn() => $_ensure(3); } class GetRobotAPIKeysResponse extends $pb.GeneratedMessage { @@ -5112,10 +5113,10 @@ class Fragment extends $pb.GeneratedMessage { factory Fragment({ $core.String? id, $core.String? name, - $5.Struct? fragment, + $6.Struct? fragment, $core.String? organizationOwner, $core.bool? public, - $4.Timestamp? createdOn, + $5.Timestamp? createdOn, $core.String? organizationName, $core.int? robotPartCount, $core.int? organizationCount, @@ -5161,10 +5162,10 @@ class Fragment extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Fragment', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOM<$5.Struct>(3, _omitFieldNames ? '' : 'fragment', subBuilder: $5.Struct.create) + ..aOM<$6.Struct>(3, _omitFieldNames ? '' : 'fragment', subBuilder: $6.Struct.create) ..aOS(4, _omitFieldNames ? '' : 'organizationOwner') ..aOB(5, _omitFieldNames ? '' : 'public') - ..aOM<$4.Timestamp>(6, _omitFieldNames ? '' : 'createdOn', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(6, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) ..aOS(7, _omitFieldNames ? '' : 'organizationName') ..a<$core.int>(9, _omitFieldNames ? '' : 'robotPartCount', $pb.PbFieldType.O3) ..a<$core.int>(10, _omitFieldNames ? '' : 'organizationCount', $pb.PbFieldType.O3) @@ -5212,15 +5213,15 @@ class Fragment extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $5.Struct get fragment => $_getN(2); + $6.Struct get fragment => $_getN(2); @$pb.TagNumber(3) - set fragment($5.Struct v) { setField(3, v); } + set fragment($6.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasFragment() => $_has(2); @$pb.TagNumber(3) void clearFragment() => clearField(3); @$pb.TagNumber(3) - $5.Struct ensureFragment() => $_ensure(2); + $6.Struct ensureFragment() => $_ensure(2); @$pb.TagNumber(4) $core.String get organizationOwner => $_getSZ(3); @@ -5241,15 +5242,15 @@ class Fragment extends $pb.GeneratedMessage { void clearPublic() => clearField(5); @$pb.TagNumber(6) - $4.Timestamp get createdOn => $_getN(5); + $5.Timestamp get createdOn => $_getN(5); @$pb.TagNumber(6) - set createdOn($4.Timestamp v) { setField(6, v); } + set createdOn($5.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasCreatedOn() => $_has(5); @$pb.TagNumber(6) void clearCreatedOn() => clearField(6); @$pb.TagNumber(6) - $4.Timestamp ensureCreatedOn() => $_ensure(5); + $5.Timestamp ensureCreatedOn() => $_ensure(5); @$pb.TagNumber(7) $core.String get organizationName => $_getSZ(6); @@ -5504,7 +5505,7 @@ class GetFragmentResponse extends $pb.GeneratedMessage { class CreateFragmentRequest extends $pb.GeneratedMessage { factory CreateFragmentRequest({ $core.String? name, - $5.Struct? config, + $6.Struct? config, $core.String? organizationId, }) { final $result = create(); @@ -5525,7 +5526,7 @@ class CreateFragmentRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateFragmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$5.Struct>(2, _omitFieldNames ? '' : 'config', subBuilder: $5.Struct.create) + ..aOM<$6.Struct>(2, _omitFieldNames ? '' : 'config', subBuilder: $6.Struct.create) ..aOS(3, _omitFieldNames ? '' : 'organizationId') ..hasRequiredFields = false ; @@ -5561,15 +5562,15 @@ class CreateFragmentRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(2) - $5.Struct get config => $_getN(1); + $6.Struct get config => $_getN(1); @$pb.TagNumber(2) - set config($5.Struct v) { setField(2, v); } + set config($6.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasConfig() => $_has(1); @$pb.TagNumber(2) void clearConfig() => clearField(2); @$pb.TagNumber(2) - $5.Struct ensureConfig() => $_ensure(1); + $6.Struct ensureConfig() => $_ensure(1); @$pb.TagNumber(3) $core.String get organizationId => $_getSZ(2); @@ -5637,7 +5638,7 @@ class UpdateFragmentRequest extends $pb.GeneratedMessage { factory UpdateFragmentRequest({ $core.String? id, $core.String? name, - $5.Struct? config, + $6.Struct? config, $core.bool? public, }) { final $result = create(); @@ -5662,7 +5663,7 @@ class UpdateFragmentRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateFragmentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') - ..aOM<$5.Struct>(3, _omitFieldNames ? '' : 'config', subBuilder: $5.Struct.create) + ..aOM<$6.Struct>(3, _omitFieldNames ? '' : 'config', subBuilder: $6.Struct.create) ..aOB(4, _omitFieldNames ? '' : 'public') ..hasRequiredFields = false ; @@ -5707,15 +5708,15 @@ class UpdateFragmentRequest extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $5.Struct get config => $_getN(2); + $6.Struct get config => $_getN(2); @$pb.TagNumber(3) - set config($5.Struct v) { setField(3, v); } + set config($6.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasConfig() => $_has(2); @$pb.TagNumber(3) void clearConfig() => clearField(3); @$pb.TagNumber(3) - $5.Struct ensureConfig() => $_ensure(2); + $6.Struct ensureConfig() => $_ensure(2); @$pb.TagNumber(4) $core.bool get public => $_getBF(3); @@ -7309,6 +7310,243 @@ class CheckPermissionsResponse extends $pb.GeneratedMessage { $core.List get authorizedPermissions => $_getList(0); } +class CreateRegistryItemRequest extends $pb.GeneratedMessage { + factory CreateRegistryItemRequest({ + $core.String? organizationId, + $core.String? name, + $0.PackageType? type, + }) { + final $result = create(); + if (organizationId != null) { + $result.organizationId = organizationId; + } + if (name != null) { + $result.name = name; + } + if (type != null) { + $result.type = type; + } + return $result; + } + CreateRegistryItemRequest._() : super(); + factory CreateRegistryItemRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory CreateRegistryItemRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateRegistryItemRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'organizationId') + ..aOS(2, _omitFieldNames ? '' : 'name') + ..e<$0.PackageType>(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $0.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $0.PackageType.valueOf, enumValues: $0.PackageType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CreateRegistryItemRequest clone() => CreateRegistryItemRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CreateRegistryItemRequest copyWith(void Function(CreateRegistryItemRequest) updates) => super.copyWith((message) => updates(message as CreateRegistryItemRequest)) as CreateRegistryItemRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CreateRegistryItemRequest create() => CreateRegistryItemRequest._(); + CreateRegistryItemRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CreateRegistryItemRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CreateRegistryItemRequest? _defaultInstance; + + /// The organization to create the registry item under + @$pb.TagNumber(1) + $core.String get organizationId => $_getSZ(0); + @$pb.TagNumber(1) + set organizationId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasOrganizationId() => $_has(0); + @$pb.TagNumber(1) + void clearOrganizationId() => clearField(1); + + /// The name of the registry item, which must be unique within your org + @$pb.TagNumber(2) + $core.String get name => $_getSZ(1); + @$pb.TagNumber(2) + set name($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasName() => $_has(1); + @$pb.TagNumber(2) + void clearName() => clearField(2); + + /// The type of the item in the registry + @$pb.TagNumber(3) + $0.PackageType get type => $_getN(2); + @$pb.TagNumber(3) + set type($0.PackageType v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasType() => $_has(2); + @$pb.TagNumber(3) + void clearType() => clearField(3); +} + +class CreateRegistryItemResponse extends $pb.GeneratedMessage { + factory CreateRegistryItemResponse() => create(); + CreateRegistryItemResponse._() : super(); + factory CreateRegistryItemResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory CreateRegistryItemResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CreateRegistryItemResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + CreateRegistryItemResponse clone() => CreateRegistryItemResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + CreateRegistryItemResponse copyWith(void Function(CreateRegistryItemResponse) updates) => super.copyWith((message) => updates(message as CreateRegistryItemResponse)) as CreateRegistryItemResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static CreateRegistryItemResponse create() => CreateRegistryItemResponse._(); + CreateRegistryItemResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static CreateRegistryItemResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static CreateRegistryItemResponse? _defaultInstance; +} + +class UpdateRegistryItemRequest extends $pb.GeneratedMessage { + factory UpdateRegistryItemRequest({ + $core.String? itemId, + $0.PackageType? type, + $core.String? description, + Visibility? visibility, + }) { + final $result = create(); + if (itemId != null) { + $result.itemId = itemId; + } + if (type != null) { + $result.type = type; + } + if (description != null) { + $result.description = description; + } + if (visibility != null) { + $result.visibility = visibility; + } + return $result; + } + UpdateRegistryItemRequest._() : super(); + factory UpdateRegistryItemRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UpdateRegistryItemRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRegistryItemRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'itemId') + ..e<$0.PackageType>(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $0.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $0.PackageType.valueOf, enumValues: $0.PackageType.values) + ..aOS(3, _omitFieldNames ? '' : 'description') + ..e(4, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: Visibility.VISIBILITY_UNSPECIFIED, valueOf: Visibility.valueOf, enumValues: Visibility.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UpdateRegistryItemRequest clone() => UpdateRegistryItemRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpdateRegistryItemRequest copyWith(void Function(UpdateRegistryItemRequest) updates) => super.copyWith((message) => updates(message as UpdateRegistryItemRequest)) as UpdateRegistryItemRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpdateRegistryItemRequest create() => UpdateRegistryItemRequest._(); + UpdateRegistryItemRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UpdateRegistryItemRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateRegistryItemRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get itemId => $_getSZ(0); + @$pb.TagNumber(1) + set itemId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasItemId() => $_has(0); + @$pb.TagNumber(1) + void clearItemId() => clearField(1); + + @$pb.TagNumber(2) + $0.PackageType get type => $_getN(1); + @$pb.TagNumber(2) + set type($0.PackageType v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasType() => $_has(1); + @$pb.TagNumber(2) + void clearType() => clearField(2); + + @$pb.TagNumber(3) + $core.String get description => $_getSZ(2); + @$pb.TagNumber(3) + set description($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasDescription() => $_has(2); + @$pb.TagNumber(3) + void clearDescription() => clearField(3); + + @$pb.TagNumber(4) + Visibility get visibility => $_getN(3); + @$pb.TagNumber(4) + set visibility(Visibility v) { setField(4, v); } + @$pb.TagNumber(4) + $core.bool hasVisibility() => $_has(3); + @$pb.TagNumber(4) + void clearVisibility() => clearField(4); +} + +class UpdateRegistryItemResponse extends $pb.GeneratedMessage { + factory UpdateRegistryItemResponse() => create(); + UpdateRegistryItemResponse._() : super(); + factory UpdateRegistryItemResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory UpdateRegistryItemResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateRegistryItemResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + UpdateRegistryItemResponse clone() => UpdateRegistryItemResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + UpdateRegistryItemResponse copyWith(void Function(UpdateRegistryItemResponse) updates) => super.copyWith((message) => updates(message as UpdateRegistryItemResponse)) as UpdateRegistryItemResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static UpdateRegistryItemResponse create() => UpdateRegistryItemResponse._(); + UpdateRegistryItemResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static UpdateRegistryItemResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static UpdateRegistryItemResponse? _defaultInstance; +} + /// Modules class CreateModuleRequest extends $pb.GeneratedMessage { factory CreateModuleRequest({ @@ -8291,7 +8529,7 @@ class VersionHistory extends $pb.GeneratedMessage { class Uploads extends $pb.GeneratedMessage { factory Uploads({ $core.String? platform, - $4.Timestamp? uploadedAt, + $5.Timestamp? uploadedAt, }) { final $result = create(); if (platform != null) { @@ -8308,7 +8546,7 @@ class Uploads extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Uploads', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'platform') - ..aOM<$4.Timestamp>(2, _omitFieldNames ? '' : 'uploadedAt', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(2, _omitFieldNames ? '' : 'uploadedAt', subBuilder: $5.Timestamp.create) ..hasRequiredFields = false ; @@ -8345,15 +8583,15 @@ class Uploads extends $pb.GeneratedMessage { /// The time when the file was uploaded @$pb.TagNumber(2) - $4.Timestamp get uploadedAt => $_getN(1); + $5.Timestamp get uploadedAt => $_getN(1); @$pb.TagNumber(2) - set uploadedAt($4.Timestamp v) { setField(2, v); } + set uploadedAt($5.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasUploadedAt() => $_has(1); @$pb.TagNumber(2) void clearUploadedAt() => clearField(2); @$pb.TagNumber(2) - $4.Timestamp ensureUploadedAt() => $_ensure(1); + $5.Timestamp ensureUploadedAt() => $_ensure(1); } class ListModulesRequest extends $pb.GeneratedMessage { diff --git a/lib/src/gen/app/v1/app.pbgrpc.dart b/lib/src/gen/app/v1/app.pbgrpc.dart index 3482c18e93..eaabd7ff01 100644 --- a/lib/src/gen/app/v1/app.pbgrpc.dart +++ b/lib/src/gen/app/v1/app.pbgrpc.dart @@ -15,264 +15,272 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import 'app.pb.dart' as $0; +import 'app.pb.dart' as $1; export 'app.pb.dart'; @$pb.GrpcServiceName('viam.app.v1.AppService') class AppServiceClient extends $grpc.Client { - static final _$getUserIDByEmail = $grpc.ClientMethod<$0.GetUserIDByEmailRequest, $0.GetUserIDByEmailResponse>( + static final _$getUserIDByEmail = $grpc.ClientMethod<$1.GetUserIDByEmailRequest, $1.GetUserIDByEmailResponse>( '/viam.app.v1.AppService/GetUserIDByEmail', - ($0.GetUserIDByEmailRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetUserIDByEmailResponse.fromBuffer(value)); - static final _$createOrganization = $grpc.ClientMethod<$0.CreateOrganizationRequest, $0.CreateOrganizationResponse>( + ($1.GetUserIDByEmailRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.GetUserIDByEmailResponse.fromBuffer(value)); + static final _$createOrganization = $grpc.ClientMethod<$1.CreateOrganizationRequest, $1.CreateOrganizationResponse>( '/viam.app.v1.AppService/CreateOrganization', - ($0.CreateOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.CreateOrganizationResponse.fromBuffer(value)); - static final _$listOrganizations = $grpc.ClientMethod<$0.ListOrganizationsRequest, $0.ListOrganizationsResponse>( + ($1.CreateOrganizationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.CreateOrganizationResponse.fromBuffer(value)); + static final _$listOrganizations = $grpc.ClientMethod<$1.ListOrganizationsRequest, $1.ListOrganizationsResponse>( '/viam.app.v1.AppService/ListOrganizations', - ($0.ListOrganizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ListOrganizationsResponse.fromBuffer(value)); - static final _$listOrganizationsByUser = $grpc.ClientMethod<$0.ListOrganizationsByUserRequest, $0.ListOrganizationsByUserResponse>( + ($1.ListOrganizationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.ListOrganizationsResponse.fromBuffer(value)); + static final _$listOrganizationsByUser = $grpc.ClientMethod<$1.ListOrganizationsByUserRequest, $1.ListOrganizationsByUserResponse>( '/viam.app.v1.AppService/ListOrganizationsByUser', - ($0.ListOrganizationsByUserRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ListOrganizationsByUserResponse.fromBuffer(value)); - static final _$getOrganization = $grpc.ClientMethod<$0.GetOrganizationRequest, $0.GetOrganizationResponse>( + ($1.ListOrganizationsByUserRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.ListOrganizationsByUserResponse.fromBuffer(value)); + static final _$getOrganization = $grpc.ClientMethod<$1.GetOrganizationRequest, $1.GetOrganizationResponse>( '/viam.app.v1.AppService/GetOrganization', - ($0.GetOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetOrganizationResponse.fromBuffer(value)); - static final _$getOrganizationNamespaceAvailability = $grpc.ClientMethod<$0.GetOrganizationNamespaceAvailabilityRequest, $0.GetOrganizationNamespaceAvailabilityResponse>( + ($1.GetOrganizationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.GetOrganizationResponse.fromBuffer(value)); + static final _$getOrganizationNamespaceAvailability = $grpc.ClientMethod<$1.GetOrganizationNamespaceAvailabilityRequest, $1.GetOrganizationNamespaceAvailabilityResponse>( '/viam.app.v1.AppService/GetOrganizationNamespaceAvailability', - ($0.GetOrganizationNamespaceAvailabilityRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetOrganizationNamespaceAvailabilityResponse.fromBuffer(value)); - static final _$updateOrganization = $grpc.ClientMethod<$0.UpdateOrganizationRequest, $0.UpdateOrganizationResponse>( + ($1.GetOrganizationNamespaceAvailabilityRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.GetOrganizationNamespaceAvailabilityResponse.fromBuffer(value)); + static final _$updateOrganization = $grpc.ClientMethod<$1.UpdateOrganizationRequest, $1.UpdateOrganizationResponse>( '/viam.app.v1.AppService/UpdateOrganization', - ($0.UpdateOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.UpdateOrganizationResponse.fromBuffer(value)); - static final _$deleteOrganization = $grpc.ClientMethod<$0.DeleteOrganizationRequest, $0.DeleteOrganizationResponse>( + ($1.UpdateOrganizationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.UpdateOrganizationResponse.fromBuffer(value)); + static final _$deleteOrganization = $grpc.ClientMethod<$1.DeleteOrganizationRequest, $1.DeleteOrganizationResponse>( '/viam.app.v1.AppService/DeleteOrganization', - ($0.DeleteOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.DeleteOrganizationResponse.fromBuffer(value)); - static final _$listOrganizationMembers = $grpc.ClientMethod<$0.ListOrganizationMembersRequest, $0.ListOrganizationMembersResponse>( + ($1.DeleteOrganizationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.DeleteOrganizationResponse.fromBuffer(value)); + static final _$listOrganizationMembers = $grpc.ClientMethod<$1.ListOrganizationMembersRequest, $1.ListOrganizationMembersResponse>( '/viam.app.v1.AppService/ListOrganizationMembers', - ($0.ListOrganizationMembersRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ListOrganizationMembersResponse.fromBuffer(value)); - static final _$createOrganizationInvite = $grpc.ClientMethod<$0.CreateOrganizationInviteRequest, $0.CreateOrganizationInviteResponse>( + ($1.ListOrganizationMembersRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.ListOrganizationMembersResponse.fromBuffer(value)); + static final _$createOrganizationInvite = $grpc.ClientMethod<$1.CreateOrganizationInviteRequest, $1.CreateOrganizationInviteResponse>( '/viam.app.v1.AppService/CreateOrganizationInvite', - ($0.CreateOrganizationInviteRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.CreateOrganizationInviteResponse.fromBuffer(value)); - static final _$updateOrganizationInviteAuthorizations = $grpc.ClientMethod<$0.UpdateOrganizationInviteAuthorizationsRequest, $0.UpdateOrganizationInviteAuthorizationsResponse>( + ($1.CreateOrganizationInviteRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.CreateOrganizationInviteResponse.fromBuffer(value)); + static final _$updateOrganizationInviteAuthorizations = $grpc.ClientMethod<$1.UpdateOrganizationInviteAuthorizationsRequest, $1.UpdateOrganizationInviteAuthorizationsResponse>( '/viam.app.v1.AppService/UpdateOrganizationInviteAuthorizations', - ($0.UpdateOrganizationInviteAuthorizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.UpdateOrganizationInviteAuthorizationsResponse.fromBuffer(value)); - static final _$deleteOrganizationMember = $grpc.ClientMethod<$0.DeleteOrganizationMemberRequest, $0.DeleteOrganizationMemberResponse>( + ($1.UpdateOrganizationInviteAuthorizationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.UpdateOrganizationInviteAuthorizationsResponse.fromBuffer(value)); + static final _$deleteOrganizationMember = $grpc.ClientMethod<$1.DeleteOrganizationMemberRequest, $1.DeleteOrganizationMemberResponse>( '/viam.app.v1.AppService/DeleteOrganizationMember', - ($0.DeleteOrganizationMemberRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.DeleteOrganizationMemberResponse.fromBuffer(value)); - static final _$deleteOrganizationInvite = $grpc.ClientMethod<$0.DeleteOrganizationInviteRequest, $0.DeleteOrganizationInviteResponse>( + ($1.DeleteOrganizationMemberRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.DeleteOrganizationMemberResponse.fromBuffer(value)); + static final _$deleteOrganizationInvite = $grpc.ClientMethod<$1.DeleteOrganizationInviteRequest, $1.DeleteOrganizationInviteResponse>( '/viam.app.v1.AppService/DeleteOrganizationInvite', - ($0.DeleteOrganizationInviteRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.DeleteOrganizationInviteResponse.fromBuffer(value)); - static final _$resendOrganizationInvite = $grpc.ClientMethod<$0.ResendOrganizationInviteRequest, $0.ResendOrganizationInviteResponse>( + ($1.DeleteOrganizationInviteRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.DeleteOrganizationInviteResponse.fromBuffer(value)); + static final _$resendOrganizationInvite = $grpc.ClientMethod<$1.ResendOrganizationInviteRequest, $1.ResendOrganizationInviteResponse>( '/viam.app.v1.AppService/ResendOrganizationInvite', - ($0.ResendOrganizationInviteRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ResendOrganizationInviteResponse.fromBuffer(value)); - static final _$createLocation = $grpc.ClientMethod<$0.CreateLocationRequest, $0.CreateLocationResponse>( + ($1.ResendOrganizationInviteRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.ResendOrganizationInviteResponse.fromBuffer(value)); + static final _$createLocation = $grpc.ClientMethod<$1.CreateLocationRequest, $1.CreateLocationResponse>( '/viam.app.v1.AppService/CreateLocation', - ($0.CreateLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.CreateLocationResponse.fromBuffer(value)); - static final _$getLocation = $grpc.ClientMethod<$0.GetLocationRequest, $0.GetLocationResponse>( + ($1.CreateLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.CreateLocationResponse.fromBuffer(value)); + static final _$getLocation = $grpc.ClientMethod<$1.GetLocationRequest, $1.GetLocationResponse>( '/viam.app.v1.AppService/GetLocation', - ($0.GetLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetLocationResponse.fromBuffer(value)); - static final _$updateLocation = $grpc.ClientMethod<$0.UpdateLocationRequest, $0.UpdateLocationResponse>( + ($1.GetLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.GetLocationResponse.fromBuffer(value)); + static final _$updateLocation = $grpc.ClientMethod<$1.UpdateLocationRequest, $1.UpdateLocationResponse>( '/viam.app.v1.AppService/UpdateLocation', - ($0.UpdateLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.UpdateLocationResponse.fromBuffer(value)); - static final _$deleteLocation = $grpc.ClientMethod<$0.DeleteLocationRequest, $0.DeleteLocationResponse>( + ($1.UpdateLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.UpdateLocationResponse.fromBuffer(value)); + static final _$deleteLocation = $grpc.ClientMethod<$1.DeleteLocationRequest, $1.DeleteLocationResponse>( '/viam.app.v1.AppService/DeleteLocation', - ($0.DeleteLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.DeleteLocationResponse.fromBuffer(value)); - static final _$listLocations = $grpc.ClientMethod<$0.ListLocationsRequest, $0.ListLocationsResponse>( + ($1.DeleteLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.DeleteLocationResponse.fromBuffer(value)); + static final _$listLocations = $grpc.ClientMethod<$1.ListLocationsRequest, $1.ListLocationsResponse>( '/viam.app.v1.AppService/ListLocations', - ($0.ListLocationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ListLocationsResponse.fromBuffer(value)); - static final _$shareLocation = $grpc.ClientMethod<$0.ShareLocationRequest, $0.ShareLocationResponse>( + ($1.ListLocationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.ListLocationsResponse.fromBuffer(value)); + static final _$shareLocation = $grpc.ClientMethod<$1.ShareLocationRequest, $1.ShareLocationResponse>( '/viam.app.v1.AppService/ShareLocation', - ($0.ShareLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ShareLocationResponse.fromBuffer(value)); - static final _$unshareLocation = $grpc.ClientMethod<$0.UnshareLocationRequest, $0.UnshareLocationResponse>( + ($1.ShareLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.ShareLocationResponse.fromBuffer(value)); + static final _$unshareLocation = $grpc.ClientMethod<$1.UnshareLocationRequest, $1.UnshareLocationResponse>( '/viam.app.v1.AppService/UnshareLocation', - ($0.UnshareLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.UnshareLocationResponse.fromBuffer(value)); - static final _$locationAuth = $grpc.ClientMethod<$0.LocationAuthRequest, $0.LocationAuthResponse>( + ($1.UnshareLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.UnshareLocationResponse.fromBuffer(value)); + static final _$locationAuth = $grpc.ClientMethod<$1.LocationAuthRequest, $1.LocationAuthResponse>( '/viam.app.v1.AppService/LocationAuth', - ($0.LocationAuthRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.LocationAuthResponse.fromBuffer(value)); - static final _$createLocationSecret = $grpc.ClientMethod<$0.CreateLocationSecretRequest, $0.CreateLocationSecretResponse>( + ($1.LocationAuthRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.LocationAuthResponse.fromBuffer(value)); + static final _$createLocationSecret = $grpc.ClientMethod<$1.CreateLocationSecretRequest, $1.CreateLocationSecretResponse>( '/viam.app.v1.AppService/CreateLocationSecret', - ($0.CreateLocationSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.CreateLocationSecretResponse.fromBuffer(value)); - static final _$deleteLocationSecret = $grpc.ClientMethod<$0.DeleteLocationSecretRequest, $0.DeleteLocationSecretResponse>( + ($1.CreateLocationSecretRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.CreateLocationSecretResponse.fromBuffer(value)); + static final _$deleteLocationSecret = $grpc.ClientMethod<$1.DeleteLocationSecretRequest, $1.DeleteLocationSecretResponse>( '/viam.app.v1.AppService/DeleteLocationSecret', - ($0.DeleteLocationSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.DeleteLocationSecretResponse.fromBuffer(value)); - static final _$getRobot = $grpc.ClientMethod<$0.GetRobotRequest, $0.GetRobotResponse>( + ($1.DeleteLocationSecretRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.DeleteLocationSecretResponse.fromBuffer(value)); + static final _$getRobot = $grpc.ClientMethod<$1.GetRobotRequest, $1.GetRobotResponse>( '/viam.app.v1.AppService/GetRobot', - ($0.GetRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetRobotResponse.fromBuffer(value)); - static final _$getRoverRentalRobots = $grpc.ClientMethod<$0.GetRoverRentalRobotsRequest, $0.GetRoverRentalRobotsResponse>( + ($1.GetRobotRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.GetRobotResponse.fromBuffer(value)); + static final _$getRoverRentalRobots = $grpc.ClientMethod<$1.GetRoverRentalRobotsRequest, $1.GetRoverRentalRobotsResponse>( '/viam.app.v1.AppService/GetRoverRentalRobots', - ($0.GetRoverRentalRobotsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetRoverRentalRobotsResponse.fromBuffer(value)); - static final _$getRobotParts = $grpc.ClientMethod<$0.GetRobotPartsRequest, $0.GetRobotPartsResponse>( + ($1.GetRoverRentalRobotsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.GetRoverRentalRobotsResponse.fromBuffer(value)); + static final _$getRobotParts = $grpc.ClientMethod<$1.GetRobotPartsRequest, $1.GetRobotPartsResponse>( '/viam.app.v1.AppService/GetRobotParts', - ($0.GetRobotPartsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetRobotPartsResponse.fromBuffer(value)); - static final _$getRobotPart = $grpc.ClientMethod<$0.GetRobotPartRequest, $0.GetRobotPartResponse>( + ($1.GetRobotPartsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.GetRobotPartsResponse.fromBuffer(value)); + static final _$getRobotPart = $grpc.ClientMethod<$1.GetRobotPartRequest, $1.GetRobotPartResponse>( '/viam.app.v1.AppService/GetRobotPart', - ($0.GetRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetRobotPartResponse.fromBuffer(value)); - static final _$getRobotPartLogs = $grpc.ClientMethod<$0.GetRobotPartLogsRequest, $0.GetRobotPartLogsResponse>( + ($1.GetRobotPartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.GetRobotPartResponse.fromBuffer(value)); + static final _$getRobotPartLogs = $grpc.ClientMethod<$1.GetRobotPartLogsRequest, $1.GetRobotPartLogsResponse>( '/viam.app.v1.AppService/GetRobotPartLogs', - ($0.GetRobotPartLogsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetRobotPartLogsResponse.fromBuffer(value)); - static final _$tailRobotPartLogs = $grpc.ClientMethod<$0.TailRobotPartLogsRequest, $0.TailRobotPartLogsResponse>( + ($1.GetRobotPartLogsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.GetRobotPartLogsResponse.fromBuffer(value)); + static final _$tailRobotPartLogs = $grpc.ClientMethod<$1.TailRobotPartLogsRequest, $1.TailRobotPartLogsResponse>( '/viam.app.v1.AppService/TailRobotPartLogs', - ($0.TailRobotPartLogsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.TailRobotPartLogsResponse.fromBuffer(value)); - static final _$getRobotPartHistory = $grpc.ClientMethod<$0.GetRobotPartHistoryRequest, $0.GetRobotPartHistoryResponse>( + ($1.TailRobotPartLogsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.TailRobotPartLogsResponse.fromBuffer(value)); + static final _$getRobotPartHistory = $grpc.ClientMethod<$1.GetRobotPartHistoryRequest, $1.GetRobotPartHistoryResponse>( '/viam.app.v1.AppService/GetRobotPartHistory', - ($0.GetRobotPartHistoryRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetRobotPartHistoryResponse.fromBuffer(value)); - static final _$updateRobotPart = $grpc.ClientMethod<$0.UpdateRobotPartRequest, $0.UpdateRobotPartResponse>( + ($1.GetRobotPartHistoryRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.GetRobotPartHistoryResponse.fromBuffer(value)); + static final _$updateRobotPart = $grpc.ClientMethod<$1.UpdateRobotPartRequest, $1.UpdateRobotPartResponse>( '/viam.app.v1.AppService/UpdateRobotPart', - ($0.UpdateRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.UpdateRobotPartResponse.fromBuffer(value)); - static final _$newRobotPart = $grpc.ClientMethod<$0.NewRobotPartRequest, $0.NewRobotPartResponse>( + ($1.UpdateRobotPartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.UpdateRobotPartResponse.fromBuffer(value)); + static final _$newRobotPart = $grpc.ClientMethod<$1.NewRobotPartRequest, $1.NewRobotPartResponse>( '/viam.app.v1.AppService/NewRobotPart', - ($0.NewRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.NewRobotPartResponse.fromBuffer(value)); - static final _$deleteRobotPart = $grpc.ClientMethod<$0.DeleteRobotPartRequest, $0.DeleteRobotPartResponse>( + ($1.NewRobotPartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.NewRobotPartResponse.fromBuffer(value)); + static final _$deleteRobotPart = $grpc.ClientMethod<$1.DeleteRobotPartRequest, $1.DeleteRobotPartResponse>( '/viam.app.v1.AppService/DeleteRobotPart', - ($0.DeleteRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.DeleteRobotPartResponse.fromBuffer(value)); - static final _$getRobotAPIKeys = $grpc.ClientMethod<$0.GetRobotAPIKeysRequest, $0.GetRobotAPIKeysResponse>( + ($1.DeleteRobotPartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.DeleteRobotPartResponse.fromBuffer(value)); + static final _$getRobotAPIKeys = $grpc.ClientMethod<$1.GetRobotAPIKeysRequest, $1.GetRobotAPIKeysResponse>( '/viam.app.v1.AppService/GetRobotAPIKeys', - ($0.GetRobotAPIKeysRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetRobotAPIKeysResponse.fromBuffer(value)); - static final _$markPartAsMain = $grpc.ClientMethod<$0.MarkPartAsMainRequest, $0.MarkPartAsMainResponse>( + ($1.GetRobotAPIKeysRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.GetRobotAPIKeysResponse.fromBuffer(value)); + static final _$markPartAsMain = $grpc.ClientMethod<$1.MarkPartAsMainRequest, $1.MarkPartAsMainResponse>( '/viam.app.v1.AppService/MarkPartAsMain', - ($0.MarkPartAsMainRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.MarkPartAsMainResponse.fromBuffer(value)); - static final _$markPartForRestart = $grpc.ClientMethod<$0.MarkPartForRestartRequest, $0.MarkPartForRestartResponse>( + ($1.MarkPartAsMainRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.MarkPartAsMainResponse.fromBuffer(value)); + static final _$markPartForRestart = $grpc.ClientMethod<$1.MarkPartForRestartRequest, $1.MarkPartForRestartResponse>( '/viam.app.v1.AppService/MarkPartForRestart', - ($0.MarkPartForRestartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.MarkPartForRestartResponse.fromBuffer(value)); - static final _$createRobotPartSecret = $grpc.ClientMethod<$0.CreateRobotPartSecretRequest, $0.CreateRobotPartSecretResponse>( + ($1.MarkPartForRestartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.MarkPartForRestartResponse.fromBuffer(value)); + static final _$createRobotPartSecret = $grpc.ClientMethod<$1.CreateRobotPartSecretRequest, $1.CreateRobotPartSecretResponse>( '/viam.app.v1.AppService/CreateRobotPartSecret', - ($0.CreateRobotPartSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.CreateRobotPartSecretResponse.fromBuffer(value)); - static final _$deleteRobotPartSecret = $grpc.ClientMethod<$0.DeleteRobotPartSecretRequest, $0.DeleteRobotPartSecretResponse>( + ($1.CreateRobotPartSecretRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.CreateRobotPartSecretResponse.fromBuffer(value)); + static final _$deleteRobotPartSecret = $grpc.ClientMethod<$1.DeleteRobotPartSecretRequest, $1.DeleteRobotPartSecretResponse>( '/viam.app.v1.AppService/DeleteRobotPartSecret', - ($0.DeleteRobotPartSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.DeleteRobotPartSecretResponse.fromBuffer(value)); - static final _$listRobots = $grpc.ClientMethod<$0.ListRobotsRequest, $0.ListRobotsResponse>( + ($1.DeleteRobotPartSecretRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.DeleteRobotPartSecretResponse.fromBuffer(value)); + static final _$listRobots = $grpc.ClientMethod<$1.ListRobotsRequest, $1.ListRobotsResponse>( '/viam.app.v1.AppService/ListRobots', - ($0.ListRobotsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ListRobotsResponse.fromBuffer(value)); - static final _$newRobot = $grpc.ClientMethod<$0.NewRobotRequest, $0.NewRobotResponse>( + ($1.ListRobotsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.ListRobotsResponse.fromBuffer(value)); + static final _$newRobot = $grpc.ClientMethod<$1.NewRobotRequest, $1.NewRobotResponse>( '/viam.app.v1.AppService/NewRobot', - ($0.NewRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.NewRobotResponse.fromBuffer(value)); - static final _$updateRobot = $grpc.ClientMethod<$0.UpdateRobotRequest, $0.UpdateRobotResponse>( + ($1.NewRobotRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.NewRobotResponse.fromBuffer(value)); + static final _$updateRobot = $grpc.ClientMethod<$1.UpdateRobotRequest, $1.UpdateRobotResponse>( '/viam.app.v1.AppService/UpdateRobot', - ($0.UpdateRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.UpdateRobotResponse.fromBuffer(value)); - static final _$deleteRobot = $grpc.ClientMethod<$0.DeleteRobotRequest, $0.DeleteRobotResponse>( + ($1.UpdateRobotRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.UpdateRobotResponse.fromBuffer(value)); + static final _$deleteRobot = $grpc.ClientMethod<$1.DeleteRobotRequest, $1.DeleteRobotResponse>( '/viam.app.v1.AppService/DeleteRobot', - ($0.DeleteRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.DeleteRobotResponse.fromBuffer(value)); - static final _$listFragments = $grpc.ClientMethod<$0.ListFragmentsRequest, $0.ListFragmentsResponse>( + ($1.DeleteRobotRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.DeleteRobotResponse.fromBuffer(value)); + static final _$listFragments = $grpc.ClientMethod<$1.ListFragmentsRequest, $1.ListFragmentsResponse>( '/viam.app.v1.AppService/ListFragments', - ($0.ListFragmentsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ListFragmentsResponse.fromBuffer(value)); - static final _$getFragment = $grpc.ClientMethod<$0.GetFragmentRequest, $0.GetFragmentResponse>( + ($1.ListFragmentsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.ListFragmentsResponse.fromBuffer(value)); + static final _$getFragment = $grpc.ClientMethod<$1.GetFragmentRequest, $1.GetFragmentResponse>( '/viam.app.v1.AppService/GetFragment', - ($0.GetFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetFragmentResponse.fromBuffer(value)); - static final _$createFragment = $grpc.ClientMethod<$0.CreateFragmentRequest, $0.CreateFragmentResponse>( + ($1.GetFragmentRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.GetFragmentResponse.fromBuffer(value)); + static final _$createFragment = $grpc.ClientMethod<$1.CreateFragmentRequest, $1.CreateFragmentResponse>( '/viam.app.v1.AppService/CreateFragment', - ($0.CreateFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.CreateFragmentResponse.fromBuffer(value)); - static final _$updateFragment = $grpc.ClientMethod<$0.UpdateFragmentRequest, $0.UpdateFragmentResponse>( + ($1.CreateFragmentRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.CreateFragmentResponse.fromBuffer(value)); + static final _$updateFragment = $grpc.ClientMethod<$1.UpdateFragmentRequest, $1.UpdateFragmentResponse>( '/viam.app.v1.AppService/UpdateFragment', - ($0.UpdateFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.UpdateFragmentResponse.fromBuffer(value)); - static final _$deleteFragment = $grpc.ClientMethod<$0.DeleteFragmentRequest, $0.DeleteFragmentResponse>( + ($1.UpdateFragmentRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.UpdateFragmentResponse.fromBuffer(value)); + static final _$deleteFragment = $grpc.ClientMethod<$1.DeleteFragmentRequest, $1.DeleteFragmentResponse>( '/viam.app.v1.AppService/DeleteFragment', - ($0.DeleteFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.DeleteFragmentResponse.fromBuffer(value)); - static final _$addRole = $grpc.ClientMethod<$0.AddRoleRequest, $0.AddRoleResponse>( + ($1.DeleteFragmentRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.DeleteFragmentResponse.fromBuffer(value)); + static final _$addRole = $grpc.ClientMethod<$1.AddRoleRequest, $1.AddRoleResponse>( '/viam.app.v1.AppService/AddRole', - ($0.AddRoleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.AddRoleResponse.fromBuffer(value)); - static final _$removeRole = $grpc.ClientMethod<$0.RemoveRoleRequest, $0.RemoveRoleResponse>( + ($1.AddRoleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.AddRoleResponse.fromBuffer(value)); + static final _$removeRole = $grpc.ClientMethod<$1.RemoveRoleRequest, $1.RemoveRoleResponse>( '/viam.app.v1.AppService/RemoveRole', - ($0.RemoveRoleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.RemoveRoleResponse.fromBuffer(value)); - static final _$changeRole = $grpc.ClientMethod<$0.ChangeRoleRequest, $0.ChangeRoleResponse>( + ($1.RemoveRoleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.RemoveRoleResponse.fromBuffer(value)); + static final _$changeRole = $grpc.ClientMethod<$1.ChangeRoleRequest, $1.ChangeRoleResponse>( '/viam.app.v1.AppService/ChangeRole', - ($0.ChangeRoleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ChangeRoleResponse.fromBuffer(value)); - static final _$listAuthorizations = $grpc.ClientMethod<$0.ListAuthorizationsRequest, $0.ListAuthorizationsResponse>( + ($1.ChangeRoleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.ChangeRoleResponse.fromBuffer(value)); + static final _$listAuthorizations = $grpc.ClientMethod<$1.ListAuthorizationsRequest, $1.ListAuthorizationsResponse>( '/viam.app.v1.AppService/ListAuthorizations', - ($0.ListAuthorizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ListAuthorizationsResponse.fromBuffer(value)); - static final _$checkPermissions = $grpc.ClientMethod<$0.CheckPermissionsRequest, $0.CheckPermissionsResponse>( + ($1.ListAuthorizationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.ListAuthorizationsResponse.fromBuffer(value)); + static final _$checkPermissions = $grpc.ClientMethod<$1.CheckPermissionsRequest, $1.CheckPermissionsResponse>( '/viam.app.v1.AppService/CheckPermissions', - ($0.CheckPermissionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.CheckPermissionsResponse.fromBuffer(value)); - static final _$createModule = $grpc.ClientMethod<$0.CreateModuleRequest, $0.CreateModuleResponse>( + ($1.CheckPermissionsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.CheckPermissionsResponse.fromBuffer(value)); + static final _$createRegistryItem = $grpc.ClientMethod<$1.CreateRegistryItemRequest, $1.CreateRegistryItemResponse>( + '/viam.app.v1.AppService/CreateRegistryItem', + ($1.CreateRegistryItemRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.CreateRegistryItemResponse.fromBuffer(value)); + static final _$updateRegistryItem = $grpc.ClientMethod<$1.UpdateRegistryItemRequest, $1.UpdateRegistryItemResponse>( + '/viam.app.v1.AppService/UpdateRegistryItem', + ($1.UpdateRegistryItemRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.UpdateRegistryItemResponse.fromBuffer(value)); + static final _$createModule = $grpc.ClientMethod<$1.CreateModuleRequest, $1.CreateModuleResponse>( '/viam.app.v1.AppService/CreateModule', - ($0.CreateModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.CreateModuleResponse.fromBuffer(value)); - static final _$updateModule = $grpc.ClientMethod<$0.UpdateModuleRequest, $0.UpdateModuleResponse>( + ($1.CreateModuleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.CreateModuleResponse.fromBuffer(value)); + static final _$updateModule = $grpc.ClientMethod<$1.UpdateModuleRequest, $1.UpdateModuleResponse>( '/viam.app.v1.AppService/UpdateModule', - ($0.UpdateModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.UpdateModuleResponse.fromBuffer(value)); - static final _$uploadModuleFile = $grpc.ClientMethod<$0.UploadModuleFileRequest, $0.UploadModuleFileResponse>( + ($1.UpdateModuleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.UpdateModuleResponse.fromBuffer(value)); + static final _$uploadModuleFile = $grpc.ClientMethod<$1.UploadModuleFileRequest, $1.UploadModuleFileResponse>( '/viam.app.v1.AppService/UploadModuleFile', - ($0.UploadModuleFileRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.UploadModuleFileResponse.fromBuffer(value)); - static final _$getModule = $grpc.ClientMethod<$0.GetModuleRequest, $0.GetModuleResponse>( + ($1.UploadModuleFileRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.UploadModuleFileResponse.fromBuffer(value)); + static final _$getModule = $grpc.ClientMethod<$1.GetModuleRequest, $1.GetModuleResponse>( '/viam.app.v1.AppService/GetModule', - ($0.GetModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetModuleResponse.fromBuffer(value)); - static final _$listModules = $grpc.ClientMethod<$0.ListModulesRequest, $0.ListModulesResponse>( + ($1.GetModuleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.GetModuleResponse.fromBuffer(value)); + static final _$listModules = $grpc.ClientMethod<$1.ListModulesRequest, $1.ListModulesResponse>( '/viam.app.v1.AppService/ListModules', - ($0.ListModulesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ListModulesResponse.fromBuffer(value)); - static final _$createKey = $grpc.ClientMethod<$0.CreateKeyRequest, $0.CreateKeyResponse>( + ($1.ListModulesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.ListModulesResponse.fromBuffer(value)); + static final _$createKey = $grpc.ClientMethod<$1.CreateKeyRequest, $1.CreateKeyResponse>( '/viam.app.v1.AppService/CreateKey', - ($0.CreateKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.CreateKeyResponse.fromBuffer(value)); - static final _$deleteKey = $grpc.ClientMethod<$0.DeleteKeyRequest, $0.DeleteKeyResponse>( + ($1.CreateKeyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.CreateKeyResponse.fromBuffer(value)); + static final _$deleteKey = $grpc.ClientMethod<$1.DeleteKeyRequest, $1.DeleteKeyResponse>( '/viam.app.v1.AppService/DeleteKey', - ($0.DeleteKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.DeleteKeyResponse.fromBuffer(value)); - static final _$listKeys = $grpc.ClientMethod<$0.ListKeysRequest, $0.ListKeysResponse>( + ($1.DeleteKeyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.DeleteKeyResponse.fromBuffer(value)); + static final _$listKeys = $grpc.ClientMethod<$1.ListKeysRequest, $1.ListKeysResponse>( '/viam.app.v1.AppService/ListKeys', - ($0.ListKeysRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.ListKeysResponse.fromBuffer(value)); - static final _$rotateKey = $grpc.ClientMethod<$0.RotateKeyRequest, $0.RotateKeyResponse>( + ($1.ListKeysRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.ListKeysResponse.fromBuffer(value)); + static final _$rotateKey = $grpc.ClientMethod<$1.RotateKeyRequest, $1.RotateKeyResponse>( '/viam.app.v1.AppService/RotateKey', - ($0.RotateKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.RotateKeyResponse.fromBuffer(value)); - static final _$createKeyFromExistingKeyAuthorizations = $grpc.ClientMethod<$0.CreateKeyFromExistingKeyAuthorizationsRequest, $0.CreateKeyFromExistingKeyAuthorizationsResponse>( + ($1.RotateKeyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.RotateKeyResponse.fromBuffer(value)); + static final _$createKeyFromExistingKeyAuthorizations = $grpc.ClientMethod<$1.CreateKeyFromExistingKeyAuthorizationsRequest, $1.CreateKeyFromExistingKeyAuthorizationsResponse>( '/viam.app.v1.AppService/CreateKeyFromExistingKeyAuthorizations', - ($0.CreateKeyFromExistingKeyAuthorizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.CreateKeyFromExistingKeyAuthorizationsResponse.fromBuffer(value)); + ($1.CreateKeyFromExistingKeyAuthorizationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $1.CreateKeyFromExistingKeyAuthorizationsResponse.fromBuffer(value)); AppServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -280,255 +288,263 @@ class AppServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$0.GetUserIDByEmailResponse> getUserIDByEmail($0.GetUserIDByEmailRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.GetUserIDByEmailResponse> getUserIDByEmail($1.GetUserIDByEmailRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getUserIDByEmail, request, options: options); } - $grpc.ResponseFuture<$0.CreateOrganizationResponse> createOrganization($0.CreateOrganizationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.CreateOrganizationResponse> createOrganization($1.CreateOrganizationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createOrganization, request, options: options); } - $grpc.ResponseFuture<$0.ListOrganizationsResponse> listOrganizations($0.ListOrganizationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.ListOrganizationsResponse> listOrganizations($1.ListOrganizationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listOrganizations, request, options: options); } - $grpc.ResponseFuture<$0.ListOrganizationsByUserResponse> listOrganizationsByUser($0.ListOrganizationsByUserRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.ListOrganizationsByUserResponse> listOrganizationsByUser($1.ListOrganizationsByUserRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listOrganizationsByUser, request, options: options); } - $grpc.ResponseFuture<$0.GetOrganizationResponse> getOrganization($0.GetOrganizationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.GetOrganizationResponse> getOrganization($1.GetOrganizationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getOrganization, request, options: options); } - $grpc.ResponseFuture<$0.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability($0.GetOrganizationNamespaceAvailabilityRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability($1.GetOrganizationNamespaceAvailabilityRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getOrganizationNamespaceAvailability, request, options: options); } - $grpc.ResponseFuture<$0.UpdateOrganizationResponse> updateOrganization($0.UpdateOrganizationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.UpdateOrganizationResponse> updateOrganization($1.UpdateOrganizationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateOrganization, request, options: options); } - $grpc.ResponseFuture<$0.DeleteOrganizationResponse> deleteOrganization($0.DeleteOrganizationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.DeleteOrganizationResponse> deleteOrganization($1.DeleteOrganizationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteOrganization, request, options: options); } - $grpc.ResponseFuture<$0.ListOrganizationMembersResponse> listOrganizationMembers($0.ListOrganizationMembersRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.ListOrganizationMembersResponse> listOrganizationMembers($1.ListOrganizationMembersRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listOrganizationMembers, request, options: options); } - $grpc.ResponseFuture<$0.CreateOrganizationInviteResponse> createOrganizationInvite($0.CreateOrganizationInviteRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.CreateOrganizationInviteResponse> createOrganizationInvite($1.CreateOrganizationInviteRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createOrganizationInvite, request, options: options); } - $grpc.ResponseFuture<$0.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations($0.UpdateOrganizationInviteAuthorizationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations($1.UpdateOrganizationInviteAuthorizationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateOrganizationInviteAuthorizations, request, options: options); } - $grpc.ResponseFuture<$0.DeleteOrganizationMemberResponse> deleteOrganizationMember($0.DeleteOrganizationMemberRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.DeleteOrganizationMemberResponse> deleteOrganizationMember($1.DeleteOrganizationMemberRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteOrganizationMember, request, options: options); } - $grpc.ResponseFuture<$0.DeleteOrganizationInviteResponse> deleteOrganizationInvite($0.DeleteOrganizationInviteRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.DeleteOrganizationInviteResponse> deleteOrganizationInvite($1.DeleteOrganizationInviteRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteOrganizationInvite, request, options: options); } - $grpc.ResponseFuture<$0.ResendOrganizationInviteResponse> resendOrganizationInvite($0.ResendOrganizationInviteRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.ResendOrganizationInviteResponse> resendOrganizationInvite($1.ResendOrganizationInviteRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$resendOrganizationInvite, request, options: options); } - $grpc.ResponseFuture<$0.CreateLocationResponse> createLocation($0.CreateLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.CreateLocationResponse> createLocation($1.CreateLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createLocation, request, options: options); } - $grpc.ResponseFuture<$0.GetLocationResponse> getLocation($0.GetLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.GetLocationResponse> getLocation($1.GetLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getLocation, request, options: options); } - $grpc.ResponseFuture<$0.UpdateLocationResponse> updateLocation($0.UpdateLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.UpdateLocationResponse> updateLocation($1.UpdateLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateLocation, request, options: options); } - $grpc.ResponseFuture<$0.DeleteLocationResponse> deleteLocation($0.DeleteLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.DeleteLocationResponse> deleteLocation($1.DeleteLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteLocation, request, options: options); } - $grpc.ResponseFuture<$0.ListLocationsResponse> listLocations($0.ListLocationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.ListLocationsResponse> listLocations($1.ListLocationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listLocations, request, options: options); } - $grpc.ResponseFuture<$0.ShareLocationResponse> shareLocation($0.ShareLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.ShareLocationResponse> shareLocation($1.ShareLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$shareLocation, request, options: options); } - $grpc.ResponseFuture<$0.UnshareLocationResponse> unshareLocation($0.UnshareLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.UnshareLocationResponse> unshareLocation($1.UnshareLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$unshareLocation, request, options: options); } - $grpc.ResponseFuture<$0.LocationAuthResponse> locationAuth($0.LocationAuthRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.LocationAuthResponse> locationAuth($1.LocationAuthRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$locationAuth, request, options: options); } - $grpc.ResponseFuture<$0.CreateLocationSecretResponse> createLocationSecret($0.CreateLocationSecretRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.CreateLocationSecretResponse> createLocationSecret($1.CreateLocationSecretRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createLocationSecret, request, options: options); } - $grpc.ResponseFuture<$0.DeleteLocationSecretResponse> deleteLocationSecret($0.DeleteLocationSecretRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.DeleteLocationSecretResponse> deleteLocationSecret($1.DeleteLocationSecretRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteLocationSecret, request, options: options); } - $grpc.ResponseFuture<$0.GetRobotResponse> getRobot($0.GetRobotRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.GetRobotResponse> getRobot($1.GetRobotRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobot, request, options: options); } - $grpc.ResponseFuture<$0.GetRoverRentalRobotsResponse> getRoverRentalRobots($0.GetRoverRentalRobotsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.GetRoverRentalRobotsResponse> getRoverRentalRobots($1.GetRoverRentalRobotsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRoverRentalRobots, request, options: options); } - $grpc.ResponseFuture<$0.GetRobotPartsResponse> getRobotParts($0.GetRobotPartsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.GetRobotPartsResponse> getRobotParts($1.GetRobotPartsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotParts, request, options: options); } - $grpc.ResponseFuture<$0.GetRobotPartResponse> getRobotPart($0.GetRobotPartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.GetRobotPartResponse> getRobotPart($1.GetRobotPartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotPart, request, options: options); } - $grpc.ResponseFuture<$0.GetRobotPartLogsResponse> getRobotPartLogs($0.GetRobotPartLogsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.GetRobotPartLogsResponse> getRobotPartLogs($1.GetRobotPartLogsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotPartLogs, request, options: options); } - $grpc.ResponseStream<$0.TailRobotPartLogsResponse> tailRobotPartLogs($0.TailRobotPartLogsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$1.TailRobotPartLogsResponse> tailRobotPartLogs($1.TailRobotPartLogsRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$tailRobotPartLogs, $async.Stream.fromIterable([request]), options: options); } - $grpc.ResponseFuture<$0.GetRobotPartHistoryResponse> getRobotPartHistory($0.GetRobotPartHistoryRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.GetRobotPartHistoryResponse> getRobotPartHistory($1.GetRobotPartHistoryRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotPartHistory, request, options: options); } - $grpc.ResponseFuture<$0.UpdateRobotPartResponse> updateRobotPart($0.UpdateRobotPartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.UpdateRobotPartResponse> updateRobotPart($1.UpdateRobotPartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateRobotPart, request, options: options); } - $grpc.ResponseFuture<$0.NewRobotPartResponse> newRobotPart($0.NewRobotPartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.NewRobotPartResponse> newRobotPart($1.NewRobotPartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$newRobotPart, request, options: options); } - $grpc.ResponseFuture<$0.DeleteRobotPartResponse> deleteRobotPart($0.DeleteRobotPartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.DeleteRobotPartResponse> deleteRobotPart($1.DeleteRobotPartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteRobotPart, request, options: options); } - $grpc.ResponseFuture<$0.GetRobotAPIKeysResponse> getRobotAPIKeys($0.GetRobotAPIKeysRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.GetRobotAPIKeysResponse> getRobotAPIKeys($1.GetRobotAPIKeysRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotAPIKeys, request, options: options); } - $grpc.ResponseFuture<$0.MarkPartAsMainResponse> markPartAsMain($0.MarkPartAsMainRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.MarkPartAsMainResponse> markPartAsMain($1.MarkPartAsMainRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$markPartAsMain, request, options: options); } - $grpc.ResponseFuture<$0.MarkPartForRestartResponse> markPartForRestart($0.MarkPartForRestartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.MarkPartForRestartResponse> markPartForRestart($1.MarkPartForRestartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$markPartForRestart, request, options: options); } - $grpc.ResponseFuture<$0.CreateRobotPartSecretResponse> createRobotPartSecret($0.CreateRobotPartSecretRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.CreateRobotPartSecretResponse> createRobotPartSecret($1.CreateRobotPartSecretRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createRobotPartSecret, request, options: options); } - $grpc.ResponseFuture<$0.DeleteRobotPartSecretResponse> deleteRobotPartSecret($0.DeleteRobotPartSecretRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.DeleteRobotPartSecretResponse> deleteRobotPartSecret($1.DeleteRobotPartSecretRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteRobotPartSecret, request, options: options); } - $grpc.ResponseFuture<$0.ListRobotsResponse> listRobots($0.ListRobotsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.ListRobotsResponse> listRobots($1.ListRobotsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listRobots, request, options: options); } - $grpc.ResponseFuture<$0.NewRobotResponse> newRobot($0.NewRobotRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.NewRobotResponse> newRobot($1.NewRobotRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$newRobot, request, options: options); } - $grpc.ResponseFuture<$0.UpdateRobotResponse> updateRobot($0.UpdateRobotRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.UpdateRobotResponse> updateRobot($1.UpdateRobotRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateRobot, request, options: options); } - $grpc.ResponseFuture<$0.DeleteRobotResponse> deleteRobot($0.DeleteRobotRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.DeleteRobotResponse> deleteRobot($1.DeleteRobotRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteRobot, request, options: options); } - $grpc.ResponseFuture<$0.ListFragmentsResponse> listFragments($0.ListFragmentsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.ListFragmentsResponse> listFragments($1.ListFragmentsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listFragments, request, options: options); } - $grpc.ResponseFuture<$0.GetFragmentResponse> getFragment($0.GetFragmentRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.GetFragmentResponse> getFragment($1.GetFragmentRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getFragment, request, options: options); } - $grpc.ResponseFuture<$0.CreateFragmentResponse> createFragment($0.CreateFragmentRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.CreateFragmentResponse> createFragment($1.CreateFragmentRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createFragment, request, options: options); } - $grpc.ResponseFuture<$0.UpdateFragmentResponse> updateFragment($0.UpdateFragmentRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.UpdateFragmentResponse> updateFragment($1.UpdateFragmentRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateFragment, request, options: options); } - $grpc.ResponseFuture<$0.DeleteFragmentResponse> deleteFragment($0.DeleteFragmentRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.DeleteFragmentResponse> deleteFragment($1.DeleteFragmentRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteFragment, request, options: options); } - $grpc.ResponseFuture<$0.AddRoleResponse> addRole($0.AddRoleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.AddRoleResponse> addRole($1.AddRoleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$addRole, request, options: options); } - $grpc.ResponseFuture<$0.RemoveRoleResponse> removeRole($0.RemoveRoleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.RemoveRoleResponse> removeRole($1.RemoveRoleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$removeRole, request, options: options); } - $grpc.ResponseFuture<$0.ChangeRoleResponse> changeRole($0.ChangeRoleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.ChangeRoleResponse> changeRole($1.ChangeRoleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$changeRole, request, options: options); } - $grpc.ResponseFuture<$0.ListAuthorizationsResponse> listAuthorizations($0.ListAuthorizationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.ListAuthorizationsResponse> listAuthorizations($1.ListAuthorizationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listAuthorizations, request, options: options); } - $grpc.ResponseFuture<$0.CheckPermissionsResponse> checkPermissions($0.CheckPermissionsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.CheckPermissionsResponse> checkPermissions($1.CheckPermissionsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$checkPermissions, request, options: options); } - $grpc.ResponseFuture<$0.CreateModuleResponse> createModule($0.CreateModuleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.CreateRegistryItemResponse> createRegistryItem($1.CreateRegistryItemRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$createRegistryItem, request, options: options); + } + + $grpc.ResponseFuture<$1.UpdateRegistryItemResponse> updateRegistryItem($1.UpdateRegistryItemRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$updateRegistryItem, request, options: options); + } + + $grpc.ResponseFuture<$1.CreateModuleResponse> createModule($1.CreateModuleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createModule, request, options: options); } - $grpc.ResponseFuture<$0.UpdateModuleResponse> updateModule($0.UpdateModuleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.UpdateModuleResponse> updateModule($1.UpdateModuleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateModule, request, options: options); } - $grpc.ResponseFuture<$0.UploadModuleFileResponse> uploadModuleFile($async.Stream<$0.UploadModuleFileRequest> request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.UploadModuleFileResponse> uploadModuleFile($async.Stream<$1.UploadModuleFileRequest> request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$uploadModuleFile, request, options: options).single; } - $grpc.ResponseFuture<$0.GetModuleResponse> getModule($0.GetModuleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.GetModuleResponse> getModule($1.GetModuleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getModule, request, options: options); } - $grpc.ResponseFuture<$0.ListModulesResponse> listModules($0.ListModulesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.ListModulesResponse> listModules($1.ListModulesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listModules, request, options: options); } - $grpc.ResponseFuture<$0.CreateKeyResponse> createKey($0.CreateKeyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.CreateKeyResponse> createKey($1.CreateKeyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createKey, request, options: options); } - $grpc.ResponseFuture<$0.DeleteKeyResponse> deleteKey($0.DeleteKeyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.DeleteKeyResponse> deleteKey($1.DeleteKeyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteKey, request, options: options); } - $grpc.ResponseFuture<$0.ListKeysResponse> listKeys($0.ListKeysRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.ListKeysResponse> listKeys($1.ListKeysRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listKeys, request, options: options); } - $grpc.ResponseFuture<$0.RotateKeyResponse> rotateKey($0.RotateKeyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.RotateKeyResponse> rotateKey($1.RotateKeyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$rotateKey, request, options: options); } - $grpc.ResponseFuture<$0.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations($0.CreateKeyFromExistingKeyAuthorizationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$1.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations($1.CreateKeyFromExistingKeyAuthorizationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createKeyFromExistingKeyAuthorizations, request, options: options); } } @@ -538,758 +554,782 @@ abstract class AppServiceBase extends $grpc.Service { $core.String get $name => 'viam.app.v1.AppService'; AppServiceBase() { - $addMethod($grpc.ServiceMethod<$0.GetUserIDByEmailRequest, $0.GetUserIDByEmailResponse>( + $addMethod($grpc.ServiceMethod<$1.GetUserIDByEmailRequest, $1.GetUserIDByEmailResponse>( 'GetUserIDByEmail', getUserIDByEmail_Pre, false, false, - ($core.List<$core.int> value) => $0.GetUserIDByEmailRequest.fromBuffer(value), - ($0.GetUserIDByEmailResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.CreateOrganizationRequest, $0.CreateOrganizationResponse>( + ($core.List<$core.int> value) => $1.GetUserIDByEmailRequest.fromBuffer(value), + ($1.GetUserIDByEmailResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.CreateOrganizationRequest, $1.CreateOrganizationResponse>( 'CreateOrganization', createOrganization_Pre, false, false, - ($core.List<$core.int> value) => $0.CreateOrganizationRequest.fromBuffer(value), - ($0.CreateOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.ListOrganizationsRequest, $0.ListOrganizationsResponse>( + ($core.List<$core.int> value) => $1.CreateOrganizationRequest.fromBuffer(value), + ($1.CreateOrganizationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.ListOrganizationsRequest, $1.ListOrganizationsResponse>( 'ListOrganizations', listOrganizations_Pre, false, false, - ($core.List<$core.int> value) => $0.ListOrganizationsRequest.fromBuffer(value), - ($0.ListOrganizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.ListOrganizationsByUserRequest, $0.ListOrganizationsByUserResponse>( + ($core.List<$core.int> value) => $1.ListOrganizationsRequest.fromBuffer(value), + ($1.ListOrganizationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.ListOrganizationsByUserRequest, $1.ListOrganizationsByUserResponse>( 'ListOrganizationsByUser', listOrganizationsByUser_Pre, false, false, - ($core.List<$core.int> value) => $0.ListOrganizationsByUserRequest.fromBuffer(value), - ($0.ListOrganizationsByUserResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetOrganizationRequest, $0.GetOrganizationResponse>( + ($core.List<$core.int> value) => $1.ListOrganizationsByUserRequest.fromBuffer(value), + ($1.ListOrganizationsByUserResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.GetOrganizationRequest, $1.GetOrganizationResponse>( 'GetOrganization', getOrganization_Pre, false, false, - ($core.List<$core.int> value) => $0.GetOrganizationRequest.fromBuffer(value), - ($0.GetOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetOrganizationNamespaceAvailabilityRequest, $0.GetOrganizationNamespaceAvailabilityResponse>( + ($core.List<$core.int> value) => $1.GetOrganizationRequest.fromBuffer(value), + ($1.GetOrganizationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.GetOrganizationNamespaceAvailabilityRequest, $1.GetOrganizationNamespaceAvailabilityResponse>( 'GetOrganizationNamespaceAvailability', getOrganizationNamespaceAvailability_Pre, false, false, - ($core.List<$core.int> value) => $0.GetOrganizationNamespaceAvailabilityRequest.fromBuffer(value), - ($0.GetOrganizationNamespaceAvailabilityResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UpdateOrganizationRequest, $0.UpdateOrganizationResponse>( + ($core.List<$core.int> value) => $1.GetOrganizationNamespaceAvailabilityRequest.fromBuffer(value), + ($1.GetOrganizationNamespaceAvailabilityResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.UpdateOrganizationRequest, $1.UpdateOrganizationResponse>( 'UpdateOrganization', updateOrganization_Pre, false, false, - ($core.List<$core.int> value) => $0.UpdateOrganizationRequest.fromBuffer(value), - ($0.UpdateOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.DeleteOrganizationRequest, $0.DeleteOrganizationResponse>( + ($core.List<$core.int> value) => $1.UpdateOrganizationRequest.fromBuffer(value), + ($1.UpdateOrganizationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.DeleteOrganizationRequest, $1.DeleteOrganizationResponse>( 'DeleteOrganization', deleteOrganization_Pre, false, false, - ($core.List<$core.int> value) => $0.DeleteOrganizationRequest.fromBuffer(value), - ($0.DeleteOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.ListOrganizationMembersRequest, $0.ListOrganizationMembersResponse>( + ($core.List<$core.int> value) => $1.DeleteOrganizationRequest.fromBuffer(value), + ($1.DeleteOrganizationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.ListOrganizationMembersRequest, $1.ListOrganizationMembersResponse>( 'ListOrganizationMembers', listOrganizationMembers_Pre, false, false, - ($core.List<$core.int> value) => $0.ListOrganizationMembersRequest.fromBuffer(value), - ($0.ListOrganizationMembersResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.CreateOrganizationInviteRequest, $0.CreateOrganizationInviteResponse>( + ($core.List<$core.int> value) => $1.ListOrganizationMembersRequest.fromBuffer(value), + ($1.ListOrganizationMembersResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.CreateOrganizationInviteRequest, $1.CreateOrganizationInviteResponse>( 'CreateOrganizationInvite', createOrganizationInvite_Pre, false, false, - ($core.List<$core.int> value) => $0.CreateOrganizationInviteRequest.fromBuffer(value), - ($0.CreateOrganizationInviteResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UpdateOrganizationInviteAuthorizationsRequest, $0.UpdateOrganizationInviteAuthorizationsResponse>( + ($core.List<$core.int> value) => $1.CreateOrganizationInviteRequest.fromBuffer(value), + ($1.CreateOrganizationInviteResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.UpdateOrganizationInviteAuthorizationsRequest, $1.UpdateOrganizationInviteAuthorizationsResponse>( 'UpdateOrganizationInviteAuthorizations', updateOrganizationInviteAuthorizations_Pre, false, false, - ($core.List<$core.int> value) => $0.UpdateOrganizationInviteAuthorizationsRequest.fromBuffer(value), - ($0.UpdateOrganizationInviteAuthorizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.DeleteOrganizationMemberRequest, $0.DeleteOrganizationMemberResponse>( + ($core.List<$core.int> value) => $1.UpdateOrganizationInviteAuthorizationsRequest.fromBuffer(value), + ($1.UpdateOrganizationInviteAuthorizationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.DeleteOrganizationMemberRequest, $1.DeleteOrganizationMemberResponse>( 'DeleteOrganizationMember', deleteOrganizationMember_Pre, false, false, - ($core.List<$core.int> value) => $0.DeleteOrganizationMemberRequest.fromBuffer(value), - ($0.DeleteOrganizationMemberResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.DeleteOrganizationInviteRequest, $0.DeleteOrganizationInviteResponse>( + ($core.List<$core.int> value) => $1.DeleteOrganizationMemberRequest.fromBuffer(value), + ($1.DeleteOrganizationMemberResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.DeleteOrganizationInviteRequest, $1.DeleteOrganizationInviteResponse>( 'DeleteOrganizationInvite', deleteOrganizationInvite_Pre, false, false, - ($core.List<$core.int> value) => $0.DeleteOrganizationInviteRequest.fromBuffer(value), - ($0.DeleteOrganizationInviteResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.ResendOrganizationInviteRequest, $0.ResendOrganizationInviteResponse>( + ($core.List<$core.int> value) => $1.DeleteOrganizationInviteRequest.fromBuffer(value), + ($1.DeleteOrganizationInviteResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.ResendOrganizationInviteRequest, $1.ResendOrganizationInviteResponse>( 'ResendOrganizationInvite', resendOrganizationInvite_Pre, false, false, - ($core.List<$core.int> value) => $0.ResendOrganizationInviteRequest.fromBuffer(value), - ($0.ResendOrganizationInviteResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.CreateLocationRequest, $0.CreateLocationResponse>( + ($core.List<$core.int> value) => $1.ResendOrganizationInviteRequest.fromBuffer(value), + ($1.ResendOrganizationInviteResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.CreateLocationRequest, $1.CreateLocationResponse>( 'CreateLocation', createLocation_Pre, false, false, - ($core.List<$core.int> value) => $0.CreateLocationRequest.fromBuffer(value), - ($0.CreateLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetLocationRequest, $0.GetLocationResponse>( + ($core.List<$core.int> value) => $1.CreateLocationRequest.fromBuffer(value), + ($1.CreateLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.GetLocationRequest, $1.GetLocationResponse>( 'GetLocation', getLocation_Pre, false, false, - ($core.List<$core.int> value) => $0.GetLocationRequest.fromBuffer(value), - ($0.GetLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UpdateLocationRequest, $0.UpdateLocationResponse>( + ($core.List<$core.int> value) => $1.GetLocationRequest.fromBuffer(value), + ($1.GetLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.UpdateLocationRequest, $1.UpdateLocationResponse>( 'UpdateLocation', updateLocation_Pre, false, false, - ($core.List<$core.int> value) => $0.UpdateLocationRequest.fromBuffer(value), - ($0.UpdateLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.DeleteLocationRequest, $0.DeleteLocationResponse>( + ($core.List<$core.int> value) => $1.UpdateLocationRequest.fromBuffer(value), + ($1.UpdateLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.DeleteLocationRequest, $1.DeleteLocationResponse>( 'DeleteLocation', deleteLocation_Pre, false, false, - ($core.List<$core.int> value) => $0.DeleteLocationRequest.fromBuffer(value), - ($0.DeleteLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.ListLocationsRequest, $0.ListLocationsResponse>( + ($core.List<$core.int> value) => $1.DeleteLocationRequest.fromBuffer(value), + ($1.DeleteLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.ListLocationsRequest, $1.ListLocationsResponse>( 'ListLocations', listLocations_Pre, false, false, - ($core.List<$core.int> value) => $0.ListLocationsRequest.fromBuffer(value), - ($0.ListLocationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.ShareLocationRequest, $0.ShareLocationResponse>( + ($core.List<$core.int> value) => $1.ListLocationsRequest.fromBuffer(value), + ($1.ListLocationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.ShareLocationRequest, $1.ShareLocationResponse>( 'ShareLocation', shareLocation_Pre, false, false, - ($core.List<$core.int> value) => $0.ShareLocationRequest.fromBuffer(value), - ($0.ShareLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UnshareLocationRequest, $0.UnshareLocationResponse>( + ($core.List<$core.int> value) => $1.ShareLocationRequest.fromBuffer(value), + ($1.ShareLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.UnshareLocationRequest, $1.UnshareLocationResponse>( 'UnshareLocation', unshareLocation_Pre, false, false, - ($core.List<$core.int> value) => $0.UnshareLocationRequest.fromBuffer(value), - ($0.UnshareLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.LocationAuthRequest, $0.LocationAuthResponse>( + ($core.List<$core.int> value) => $1.UnshareLocationRequest.fromBuffer(value), + ($1.UnshareLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.LocationAuthRequest, $1.LocationAuthResponse>( 'LocationAuth', locationAuth_Pre, false, false, - ($core.List<$core.int> value) => $0.LocationAuthRequest.fromBuffer(value), - ($0.LocationAuthResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.CreateLocationSecretRequest, $0.CreateLocationSecretResponse>( + ($core.List<$core.int> value) => $1.LocationAuthRequest.fromBuffer(value), + ($1.LocationAuthResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.CreateLocationSecretRequest, $1.CreateLocationSecretResponse>( 'CreateLocationSecret', createLocationSecret_Pre, false, false, - ($core.List<$core.int> value) => $0.CreateLocationSecretRequest.fromBuffer(value), - ($0.CreateLocationSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.DeleteLocationSecretRequest, $0.DeleteLocationSecretResponse>( + ($core.List<$core.int> value) => $1.CreateLocationSecretRequest.fromBuffer(value), + ($1.CreateLocationSecretResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.DeleteLocationSecretRequest, $1.DeleteLocationSecretResponse>( 'DeleteLocationSecret', deleteLocationSecret_Pre, false, false, - ($core.List<$core.int> value) => $0.DeleteLocationSecretRequest.fromBuffer(value), - ($0.DeleteLocationSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetRobotRequest, $0.GetRobotResponse>( + ($core.List<$core.int> value) => $1.DeleteLocationSecretRequest.fromBuffer(value), + ($1.DeleteLocationSecretResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.GetRobotRequest, $1.GetRobotResponse>( 'GetRobot', getRobot_Pre, false, false, - ($core.List<$core.int> value) => $0.GetRobotRequest.fromBuffer(value), - ($0.GetRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetRoverRentalRobotsRequest, $0.GetRoverRentalRobotsResponse>( + ($core.List<$core.int> value) => $1.GetRobotRequest.fromBuffer(value), + ($1.GetRobotResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.GetRoverRentalRobotsRequest, $1.GetRoverRentalRobotsResponse>( 'GetRoverRentalRobots', getRoverRentalRobots_Pre, false, false, - ($core.List<$core.int> value) => $0.GetRoverRentalRobotsRequest.fromBuffer(value), - ($0.GetRoverRentalRobotsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetRobotPartsRequest, $0.GetRobotPartsResponse>( + ($core.List<$core.int> value) => $1.GetRoverRentalRobotsRequest.fromBuffer(value), + ($1.GetRoverRentalRobotsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.GetRobotPartsRequest, $1.GetRobotPartsResponse>( 'GetRobotParts', getRobotParts_Pre, false, false, - ($core.List<$core.int> value) => $0.GetRobotPartsRequest.fromBuffer(value), - ($0.GetRobotPartsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetRobotPartRequest, $0.GetRobotPartResponse>( + ($core.List<$core.int> value) => $1.GetRobotPartsRequest.fromBuffer(value), + ($1.GetRobotPartsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.GetRobotPartRequest, $1.GetRobotPartResponse>( 'GetRobotPart', getRobotPart_Pre, false, false, - ($core.List<$core.int> value) => $0.GetRobotPartRequest.fromBuffer(value), - ($0.GetRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetRobotPartLogsRequest, $0.GetRobotPartLogsResponse>( + ($core.List<$core.int> value) => $1.GetRobotPartRequest.fromBuffer(value), + ($1.GetRobotPartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.GetRobotPartLogsRequest, $1.GetRobotPartLogsResponse>( 'GetRobotPartLogs', getRobotPartLogs_Pre, false, false, - ($core.List<$core.int> value) => $0.GetRobotPartLogsRequest.fromBuffer(value), - ($0.GetRobotPartLogsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.TailRobotPartLogsRequest, $0.TailRobotPartLogsResponse>( + ($core.List<$core.int> value) => $1.GetRobotPartLogsRequest.fromBuffer(value), + ($1.GetRobotPartLogsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.TailRobotPartLogsRequest, $1.TailRobotPartLogsResponse>( 'TailRobotPartLogs', tailRobotPartLogs_Pre, false, true, - ($core.List<$core.int> value) => $0.TailRobotPartLogsRequest.fromBuffer(value), - ($0.TailRobotPartLogsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetRobotPartHistoryRequest, $0.GetRobotPartHistoryResponse>( + ($core.List<$core.int> value) => $1.TailRobotPartLogsRequest.fromBuffer(value), + ($1.TailRobotPartLogsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.GetRobotPartHistoryRequest, $1.GetRobotPartHistoryResponse>( 'GetRobotPartHistory', getRobotPartHistory_Pre, false, false, - ($core.List<$core.int> value) => $0.GetRobotPartHistoryRequest.fromBuffer(value), - ($0.GetRobotPartHistoryResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UpdateRobotPartRequest, $0.UpdateRobotPartResponse>( + ($core.List<$core.int> value) => $1.GetRobotPartHistoryRequest.fromBuffer(value), + ($1.GetRobotPartHistoryResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.UpdateRobotPartRequest, $1.UpdateRobotPartResponse>( 'UpdateRobotPart', updateRobotPart_Pre, false, false, - ($core.List<$core.int> value) => $0.UpdateRobotPartRequest.fromBuffer(value), - ($0.UpdateRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.NewRobotPartRequest, $0.NewRobotPartResponse>( + ($core.List<$core.int> value) => $1.UpdateRobotPartRequest.fromBuffer(value), + ($1.UpdateRobotPartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.NewRobotPartRequest, $1.NewRobotPartResponse>( 'NewRobotPart', newRobotPart_Pre, false, false, - ($core.List<$core.int> value) => $0.NewRobotPartRequest.fromBuffer(value), - ($0.NewRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.DeleteRobotPartRequest, $0.DeleteRobotPartResponse>( + ($core.List<$core.int> value) => $1.NewRobotPartRequest.fromBuffer(value), + ($1.NewRobotPartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.DeleteRobotPartRequest, $1.DeleteRobotPartResponse>( 'DeleteRobotPart', deleteRobotPart_Pre, false, false, - ($core.List<$core.int> value) => $0.DeleteRobotPartRequest.fromBuffer(value), - ($0.DeleteRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetRobotAPIKeysRequest, $0.GetRobotAPIKeysResponse>( + ($core.List<$core.int> value) => $1.DeleteRobotPartRequest.fromBuffer(value), + ($1.DeleteRobotPartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.GetRobotAPIKeysRequest, $1.GetRobotAPIKeysResponse>( 'GetRobotAPIKeys', getRobotAPIKeys_Pre, false, false, - ($core.List<$core.int> value) => $0.GetRobotAPIKeysRequest.fromBuffer(value), - ($0.GetRobotAPIKeysResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.MarkPartAsMainRequest, $0.MarkPartAsMainResponse>( + ($core.List<$core.int> value) => $1.GetRobotAPIKeysRequest.fromBuffer(value), + ($1.GetRobotAPIKeysResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.MarkPartAsMainRequest, $1.MarkPartAsMainResponse>( 'MarkPartAsMain', markPartAsMain_Pre, false, false, - ($core.List<$core.int> value) => $0.MarkPartAsMainRequest.fromBuffer(value), - ($0.MarkPartAsMainResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.MarkPartForRestartRequest, $0.MarkPartForRestartResponse>( + ($core.List<$core.int> value) => $1.MarkPartAsMainRequest.fromBuffer(value), + ($1.MarkPartAsMainResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.MarkPartForRestartRequest, $1.MarkPartForRestartResponse>( 'MarkPartForRestart', markPartForRestart_Pre, false, false, - ($core.List<$core.int> value) => $0.MarkPartForRestartRequest.fromBuffer(value), - ($0.MarkPartForRestartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.CreateRobotPartSecretRequest, $0.CreateRobotPartSecretResponse>( + ($core.List<$core.int> value) => $1.MarkPartForRestartRequest.fromBuffer(value), + ($1.MarkPartForRestartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.CreateRobotPartSecretRequest, $1.CreateRobotPartSecretResponse>( 'CreateRobotPartSecret', createRobotPartSecret_Pre, false, false, - ($core.List<$core.int> value) => $0.CreateRobotPartSecretRequest.fromBuffer(value), - ($0.CreateRobotPartSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.DeleteRobotPartSecretRequest, $0.DeleteRobotPartSecretResponse>( + ($core.List<$core.int> value) => $1.CreateRobotPartSecretRequest.fromBuffer(value), + ($1.CreateRobotPartSecretResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.DeleteRobotPartSecretRequest, $1.DeleteRobotPartSecretResponse>( 'DeleteRobotPartSecret', deleteRobotPartSecret_Pre, false, false, - ($core.List<$core.int> value) => $0.DeleteRobotPartSecretRequest.fromBuffer(value), - ($0.DeleteRobotPartSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.ListRobotsRequest, $0.ListRobotsResponse>( + ($core.List<$core.int> value) => $1.DeleteRobotPartSecretRequest.fromBuffer(value), + ($1.DeleteRobotPartSecretResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.ListRobotsRequest, $1.ListRobotsResponse>( 'ListRobots', listRobots_Pre, false, false, - ($core.List<$core.int> value) => $0.ListRobotsRequest.fromBuffer(value), - ($0.ListRobotsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.NewRobotRequest, $0.NewRobotResponse>( + ($core.List<$core.int> value) => $1.ListRobotsRequest.fromBuffer(value), + ($1.ListRobotsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.NewRobotRequest, $1.NewRobotResponse>( 'NewRobot', newRobot_Pre, false, false, - ($core.List<$core.int> value) => $0.NewRobotRequest.fromBuffer(value), - ($0.NewRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UpdateRobotRequest, $0.UpdateRobotResponse>( + ($core.List<$core.int> value) => $1.NewRobotRequest.fromBuffer(value), + ($1.NewRobotResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.UpdateRobotRequest, $1.UpdateRobotResponse>( 'UpdateRobot', updateRobot_Pre, false, false, - ($core.List<$core.int> value) => $0.UpdateRobotRequest.fromBuffer(value), - ($0.UpdateRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.DeleteRobotRequest, $0.DeleteRobotResponse>( + ($core.List<$core.int> value) => $1.UpdateRobotRequest.fromBuffer(value), + ($1.UpdateRobotResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.DeleteRobotRequest, $1.DeleteRobotResponse>( 'DeleteRobot', deleteRobot_Pre, false, false, - ($core.List<$core.int> value) => $0.DeleteRobotRequest.fromBuffer(value), - ($0.DeleteRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.ListFragmentsRequest, $0.ListFragmentsResponse>( + ($core.List<$core.int> value) => $1.DeleteRobotRequest.fromBuffer(value), + ($1.DeleteRobotResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.ListFragmentsRequest, $1.ListFragmentsResponse>( 'ListFragments', listFragments_Pre, false, false, - ($core.List<$core.int> value) => $0.ListFragmentsRequest.fromBuffer(value), - ($0.ListFragmentsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetFragmentRequest, $0.GetFragmentResponse>( + ($core.List<$core.int> value) => $1.ListFragmentsRequest.fromBuffer(value), + ($1.ListFragmentsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.GetFragmentRequest, $1.GetFragmentResponse>( 'GetFragment', getFragment_Pre, false, false, - ($core.List<$core.int> value) => $0.GetFragmentRequest.fromBuffer(value), - ($0.GetFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.CreateFragmentRequest, $0.CreateFragmentResponse>( + ($core.List<$core.int> value) => $1.GetFragmentRequest.fromBuffer(value), + ($1.GetFragmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.CreateFragmentRequest, $1.CreateFragmentResponse>( 'CreateFragment', createFragment_Pre, false, false, - ($core.List<$core.int> value) => $0.CreateFragmentRequest.fromBuffer(value), - ($0.CreateFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UpdateFragmentRequest, $0.UpdateFragmentResponse>( + ($core.List<$core.int> value) => $1.CreateFragmentRequest.fromBuffer(value), + ($1.CreateFragmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.UpdateFragmentRequest, $1.UpdateFragmentResponse>( 'UpdateFragment', updateFragment_Pre, false, false, - ($core.List<$core.int> value) => $0.UpdateFragmentRequest.fromBuffer(value), - ($0.UpdateFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.DeleteFragmentRequest, $0.DeleteFragmentResponse>( + ($core.List<$core.int> value) => $1.UpdateFragmentRequest.fromBuffer(value), + ($1.UpdateFragmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.DeleteFragmentRequest, $1.DeleteFragmentResponse>( 'DeleteFragment', deleteFragment_Pre, false, false, - ($core.List<$core.int> value) => $0.DeleteFragmentRequest.fromBuffer(value), - ($0.DeleteFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.AddRoleRequest, $0.AddRoleResponse>( + ($core.List<$core.int> value) => $1.DeleteFragmentRequest.fromBuffer(value), + ($1.DeleteFragmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.AddRoleRequest, $1.AddRoleResponse>( 'AddRole', addRole_Pre, false, false, - ($core.List<$core.int> value) => $0.AddRoleRequest.fromBuffer(value), - ($0.AddRoleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.RemoveRoleRequest, $0.RemoveRoleResponse>( + ($core.List<$core.int> value) => $1.AddRoleRequest.fromBuffer(value), + ($1.AddRoleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.RemoveRoleRequest, $1.RemoveRoleResponse>( 'RemoveRole', removeRole_Pre, false, false, - ($core.List<$core.int> value) => $0.RemoveRoleRequest.fromBuffer(value), - ($0.RemoveRoleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.ChangeRoleRequest, $0.ChangeRoleResponse>( + ($core.List<$core.int> value) => $1.RemoveRoleRequest.fromBuffer(value), + ($1.RemoveRoleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.ChangeRoleRequest, $1.ChangeRoleResponse>( 'ChangeRole', changeRole_Pre, false, false, - ($core.List<$core.int> value) => $0.ChangeRoleRequest.fromBuffer(value), - ($0.ChangeRoleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.ListAuthorizationsRequest, $0.ListAuthorizationsResponse>( + ($core.List<$core.int> value) => $1.ChangeRoleRequest.fromBuffer(value), + ($1.ChangeRoleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.ListAuthorizationsRequest, $1.ListAuthorizationsResponse>( 'ListAuthorizations', listAuthorizations_Pre, false, false, - ($core.List<$core.int> value) => $0.ListAuthorizationsRequest.fromBuffer(value), - ($0.ListAuthorizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.CheckPermissionsRequest, $0.CheckPermissionsResponse>( + ($core.List<$core.int> value) => $1.ListAuthorizationsRequest.fromBuffer(value), + ($1.ListAuthorizationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.CheckPermissionsRequest, $1.CheckPermissionsResponse>( 'CheckPermissions', checkPermissions_Pre, false, false, - ($core.List<$core.int> value) => $0.CheckPermissionsRequest.fromBuffer(value), - ($0.CheckPermissionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.CreateModuleRequest, $0.CreateModuleResponse>( + ($core.List<$core.int> value) => $1.CheckPermissionsRequest.fromBuffer(value), + ($1.CheckPermissionsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.CreateRegistryItemRequest, $1.CreateRegistryItemResponse>( + 'CreateRegistryItem', + createRegistryItem_Pre, + false, + false, + ($core.List<$core.int> value) => $1.CreateRegistryItemRequest.fromBuffer(value), + ($1.CreateRegistryItemResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.UpdateRegistryItemRequest, $1.UpdateRegistryItemResponse>( + 'UpdateRegistryItem', + updateRegistryItem_Pre, + false, + false, + ($core.List<$core.int> value) => $1.UpdateRegistryItemRequest.fromBuffer(value), + ($1.UpdateRegistryItemResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.CreateModuleRequest, $1.CreateModuleResponse>( 'CreateModule', createModule_Pre, false, false, - ($core.List<$core.int> value) => $0.CreateModuleRequest.fromBuffer(value), - ($0.CreateModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UpdateModuleRequest, $0.UpdateModuleResponse>( + ($core.List<$core.int> value) => $1.CreateModuleRequest.fromBuffer(value), + ($1.CreateModuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.UpdateModuleRequest, $1.UpdateModuleResponse>( 'UpdateModule', updateModule_Pre, false, false, - ($core.List<$core.int> value) => $0.UpdateModuleRequest.fromBuffer(value), - ($0.UpdateModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.UploadModuleFileRequest, $0.UploadModuleFileResponse>( + ($core.List<$core.int> value) => $1.UpdateModuleRequest.fromBuffer(value), + ($1.UpdateModuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.UploadModuleFileRequest, $1.UploadModuleFileResponse>( 'UploadModuleFile', uploadModuleFile, true, false, - ($core.List<$core.int> value) => $0.UploadModuleFileRequest.fromBuffer(value), - ($0.UploadModuleFileResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetModuleRequest, $0.GetModuleResponse>( + ($core.List<$core.int> value) => $1.UploadModuleFileRequest.fromBuffer(value), + ($1.UploadModuleFileResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.GetModuleRequest, $1.GetModuleResponse>( 'GetModule', getModule_Pre, false, false, - ($core.List<$core.int> value) => $0.GetModuleRequest.fromBuffer(value), - ($0.GetModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.ListModulesRequest, $0.ListModulesResponse>( + ($core.List<$core.int> value) => $1.GetModuleRequest.fromBuffer(value), + ($1.GetModuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.ListModulesRequest, $1.ListModulesResponse>( 'ListModules', listModules_Pre, false, false, - ($core.List<$core.int> value) => $0.ListModulesRequest.fromBuffer(value), - ($0.ListModulesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.CreateKeyRequest, $0.CreateKeyResponse>( + ($core.List<$core.int> value) => $1.ListModulesRequest.fromBuffer(value), + ($1.ListModulesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.CreateKeyRequest, $1.CreateKeyResponse>( 'CreateKey', createKey_Pre, false, false, - ($core.List<$core.int> value) => $0.CreateKeyRequest.fromBuffer(value), - ($0.CreateKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.DeleteKeyRequest, $0.DeleteKeyResponse>( + ($core.List<$core.int> value) => $1.CreateKeyRequest.fromBuffer(value), + ($1.CreateKeyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.DeleteKeyRequest, $1.DeleteKeyResponse>( 'DeleteKey', deleteKey_Pre, false, false, - ($core.List<$core.int> value) => $0.DeleteKeyRequest.fromBuffer(value), - ($0.DeleteKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.ListKeysRequest, $0.ListKeysResponse>( + ($core.List<$core.int> value) => $1.DeleteKeyRequest.fromBuffer(value), + ($1.DeleteKeyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.ListKeysRequest, $1.ListKeysResponse>( 'ListKeys', listKeys_Pre, false, false, - ($core.List<$core.int> value) => $0.ListKeysRequest.fromBuffer(value), - ($0.ListKeysResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.RotateKeyRequest, $0.RotateKeyResponse>( + ($core.List<$core.int> value) => $1.ListKeysRequest.fromBuffer(value), + ($1.ListKeysResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.RotateKeyRequest, $1.RotateKeyResponse>( 'RotateKey', rotateKey_Pre, false, false, - ($core.List<$core.int> value) => $0.RotateKeyRequest.fromBuffer(value), - ($0.RotateKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.CreateKeyFromExistingKeyAuthorizationsRequest, $0.CreateKeyFromExistingKeyAuthorizationsResponse>( + ($core.List<$core.int> value) => $1.RotateKeyRequest.fromBuffer(value), + ($1.RotateKeyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$1.CreateKeyFromExistingKeyAuthorizationsRequest, $1.CreateKeyFromExistingKeyAuthorizationsResponse>( 'CreateKeyFromExistingKeyAuthorizations', createKeyFromExistingKeyAuthorizations_Pre, false, false, - ($core.List<$core.int> value) => $0.CreateKeyFromExistingKeyAuthorizationsRequest.fromBuffer(value), - ($0.CreateKeyFromExistingKeyAuthorizationsResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $1.CreateKeyFromExistingKeyAuthorizationsRequest.fromBuffer(value), + ($1.CreateKeyFromExistingKeyAuthorizationsResponse value) => value.writeToBuffer())); } - $async.Future<$0.GetUserIDByEmailResponse> getUserIDByEmail_Pre($grpc.ServiceCall call, $async.Future<$0.GetUserIDByEmailRequest> request) async { + $async.Future<$1.GetUserIDByEmailResponse> getUserIDByEmail_Pre($grpc.ServiceCall call, $async.Future<$1.GetUserIDByEmailRequest> request) async { return getUserIDByEmail(call, await request); } - $async.Future<$0.CreateOrganizationResponse> createOrganization_Pre($grpc.ServiceCall call, $async.Future<$0.CreateOrganizationRequest> request) async { + $async.Future<$1.CreateOrganizationResponse> createOrganization_Pre($grpc.ServiceCall call, $async.Future<$1.CreateOrganizationRequest> request) async { return createOrganization(call, await request); } - $async.Future<$0.ListOrganizationsResponse> listOrganizations_Pre($grpc.ServiceCall call, $async.Future<$0.ListOrganizationsRequest> request) async { + $async.Future<$1.ListOrganizationsResponse> listOrganizations_Pre($grpc.ServiceCall call, $async.Future<$1.ListOrganizationsRequest> request) async { return listOrganizations(call, await request); } - $async.Future<$0.ListOrganizationsByUserResponse> listOrganizationsByUser_Pre($grpc.ServiceCall call, $async.Future<$0.ListOrganizationsByUserRequest> request) async { + $async.Future<$1.ListOrganizationsByUserResponse> listOrganizationsByUser_Pre($grpc.ServiceCall call, $async.Future<$1.ListOrganizationsByUserRequest> request) async { return listOrganizationsByUser(call, await request); } - $async.Future<$0.GetOrganizationResponse> getOrganization_Pre($grpc.ServiceCall call, $async.Future<$0.GetOrganizationRequest> request) async { + $async.Future<$1.GetOrganizationResponse> getOrganization_Pre($grpc.ServiceCall call, $async.Future<$1.GetOrganizationRequest> request) async { return getOrganization(call, await request); } - $async.Future<$0.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability_Pre($grpc.ServiceCall call, $async.Future<$0.GetOrganizationNamespaceAvailabilityRequest> request) async { + $async.Future<$1.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability_Pre($grpc.ServiceCall call, $async.Future<$1.GetOrganizationNamespaceAvailabilityRequest> request) async { return getOrganizationNamespaceAvailability(call, await request); } - $async.Future<$0.UpdateOrganizationResponse> updateOrganization_Pre($grpc.ServiceCall call, $async.Future<$0.UpdateOrganizationRequest> request) async { + $async.Future<$1.UpdateOrganizationResponse> updateOrganization_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateOrganizationRequest> request) async { return updateOrganization(call, await request); } - $async.Future<$0.DeleteOrganizationResponse> deleteOrganization_Pre($grpc.ServiceCall call, $async.Future<$0.DeleteOrganizationRequest> request) async { + $async.Future<$1.DeleteOrganizationResponse> deleteOrganization_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteOrganizationRequest> request) async { return deleteOrganization(call, await request); } - $async.Future<$0.ListOrganizationMembersResponse> listOrganizationMembers_Pre($grpc.ServiceCall call, $async.Future<$0.ListOrganizationMembersRequest> request) async { + $async.Future<$1.ListOrganizationMembersResponse> listOrganizationMembers_Pre($grpc.ServiceCall call, $async.Future<$1.ListOrganizationMembersRequest> request) async { return listOrganizationMembers(call, await request); } - $async.Future<$0.CreateOrganizationInviteResponse> createOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$0.CreateOrganizationInviteRequest> request) async { + $async.Future<$1.CreateOrganizationInviteResponse> createOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$1.CreateOrganizationInviteRequest> request) async { return createOrganizationInvite(call, await request); } - $async.Future<$0.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$0.UpdateOrganizationInviteAuthorizationsRequest> request) async { + $async.Future<$1.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateOrganizationInviteAuthorizationsRequest> request) async { return updateOrganizationInviteAuthorizations(call, await request); } - $async.Future<$0.DeleteOrganizationMemberResponse> deleteOrganizationMember_Pre($grpc.ServiceCall call, $async.Future<$0.DeleteOrganizationMemberRequest> request) async { + $async.Future<$1.DeleteOrganizationMemberResponse> deleteOrganizationMember_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteOrganizationMemberRequest> request) async { return deleteOrganizationMember(call, await request); } - $async.Future<$0.DeleteOrganizationInviteResponse> deleteOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$0.DeleteOrganizationInviteRequest> request) async { + $async.Future<$1.DeleteOrganizationInviteResponse> deleteOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteOrganizationInviteRequest> request) async { return deleteOrganizationInvite(call, await request); } - $async.Future<$0.ResendOrganizationInviteResponse> resendOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$0.ResendOrganizationInviteRequest> request) async { + $async.Future<$1.ResendOrganizationInviteResponse> resendOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$1.ResendOrganizationInviteRequest> request) async { return resendOrganizationInvite(call, await request); } - $async.Future<$0.CreateLocationResponse> createLocation_Pre($grpc.ServiceCall call, $async.Future<$0.CreateLocationRequest> request) async { + $async.Future<$1.CreateLocationResponse> createLocation_Pre($grpc.ServiceCall call, $async.Future<$1.CreateLocationRequest> request) async { return createLocation(call, await request); } - $async.Future<$0.GetLocationResponse> getLocation_Pre($grpc.ServiceCall call, $async.Future<$0.GetLocationRequest> request) async { + $async.Future<$1.GetLocationResponse> getLocation_Pre($grpc.ServiceCall call, $async.Future<$1.GetLocationRequest> request) async { return getLocation(call, await request); } - $async.Future<$0.UpdateLocationResponse> updateLocation_Pre($grpc.ServiceCall call, $async.Future<$0.UpdateLocationRequest> request) async { + $async.Future<$1.UpdateLocationResponse> updateLocation_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateLocationRequest> request) async { return updateLocation(call, await request); } - $async.Future<$0.DeleteLocationResponse> deleteLocation_Pre($grpc.ServiceCall call, $async.Future<$0.DeleteLocationRequest> request) async { + $async.Future<$1.DeleteLocationResponse> deleteLocation_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteLocationRequest> request) async { return deleteLocation(call, await request); } - $async.Future<$0.ListLocationsResponse> listLocations_Pre($grpc.ServiceCall call, $async.Future<$0.ListLocationsRequest> request) async { + $async.Future<$1.ListLocationsResponse> listLocations_Pre($grpc.ServiceCall call, $async.Future<$1.ListLocationsRequest> request) async { return listLocations(call, await request); } - $async.Future<$0.ShareLocationResponse> shareLocation_Pre($grpc.ServiceCall call, $async.Future<$0.ShareLocationRequest> request) async { + $async.Future<$1.ShareLocationResponse> shareLocation_Pre($grpc.ServiceCall call, $async.Future<$1.ShareLocationRequest> request) async { return shareLocation(call, await request); } - $async.Future<$0.UnshareLocationResponse> unshareLocation_Pre($grpc.ServiceCall call, $async.Future<$0.UnshareLocationRequest> request) async { + $async.Future<$1.UnshareLocationResponse> unshareLocation_Pre($grpc.ServiceCall call, $async.Future<$1.UnshareLocationRequest> request) async { return unshareLocation(call, await request); } - $async.Future<$0.LocationAuthResponse> locationAuth_Pre($grpc.ServiceCall call, $async.Future<$0.LocationAuthRequest> request) async { + $async.Future<$1.LocationAuthResponse> locationAuth_Pre($grpc.ServiceCall call, $async.Future<$1.LocationAuthRequest> request) async { return locationAuth(call, await request); } - $async.Future<$0.CreateLocationSecretResponse> createLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$0.CreateLocationSecretRequest> request) async { + $async.Future<$1.CreateLocationSecretResponse> createLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$1.CreateLocationSecretRequest> request) async { return createLocationSecret(call, await request); } - $async.Future<$0.DeleteLocationSecretResponse> deleteLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$0.DeleteLocationSecretRequest> request) async { + $async.Future<$1.DeleteLocationSecretResponse> deleteLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteLocationSecretRequest> request) async { return deleteLocationSecret(call, await request); } - $async.Future<$0.GetRobotResponse> getRobot_Pre($grpc.ServiceCall call, $async.Future<$0.GetRobotRequest> request) async { + $async.Future<$1.GetRobotResponse> getRobot_Pre($grpc.ServiceCall call, $async.Future<$1.GetRobotRequest> request) async { return getRobot(call, await request); } - $async.Future<$0.GetRoverRentalRobotsResponse> getRoverRentalRobots_Pre($grpc.ServiceCall call, $async.Future<$0.GetRoverRentalRobotsRequest> request) async { + $async.Future<$1.GetRoverRentalRobotsResponse> getRoverRentalRobots_Pre($grpc.ServiceCall call, $async.Future<$1.GetRoverRentalRobotsRequest> request) async { return getRoverRentalRobots(call, await request); } - $async.Future<$0.GetRobotPartsResponse> getRobotParts_Pre($grpc.ServiceCall call, $async.Future<$0.GetRobotPartsRequest> request) async { + $async.Future<$1.GetRobotPartsResponse> getRobotParts_Pre($grpc.ServiceCall call, $async.Future<$1.GetRobotPartsRequest> request) async { return getRobotParts(call, await request); } - $async.Future<$0.GetRobotPartResponse> getRobotPart_Pre($grpc.ServiceCall call, $async.Future<$0.GetRobotPartRequest> request) async { + $async.Future<$1.GetRobotPartResponse> getRobotPart_Pre($grpc.ServiceCall call, $async.Future<$1.GetRobotPartRequest> request) async { return getRobotPart(call, await request); } - $async.Future<$0.GetRobotPartLogsResponse> getRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$0.GetRobotPartLogsRequest> request) async { + $async.Future<$1.GetRobotPartLogsResponse> getRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$1.GetRobotPartLogsRequest> request) async { return getRobotPartLogs(call, await request); } - $async.Stream<$0.TailRobotPartLogsResponse> tailRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$0.TailRobotPartLogsRequest> request) async* { + $async.Stream<$1.TailRobotPartLogsResponse> tailRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$1.TailRobotPartLogsRequest> request) async* { yield* tailRobotPartLogs(call, await request); } - $async.Future<$0.GetRobotPartHistoryResponse> getRobotPartHistory_Pre($grpc.ServiceCall call, $async.Future<$0.GetRobotPartHistoryRequest> request) async { + $async.Future<$1.GetRobotPartHistoryResponse> getRobotPartHistory_Pre($grpc.ServiceCall call, $async.Future<$1.GetRobotPartHistoryRequest> request) async { return getRobotPartHistory(call, await request); } - $async.Future<$0.UpdateRobotPartResponse> updateRobotPart_Pre($grpc.ServiceCall call, $async.Future<$0.UpdateRobotPartRequest> request) async { + $async.Future<$1.UpdateRobotPartResponse> updateRobotPart_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateRobotPartRequest> request) async { return updateRobotPart(call, await request); } - $async.Future<$0.NewRobotPartResponse> newRobotPart_Pre($grpc.ServiceCall call, $async.Future<$0.NewRobotPartRequest> request) async { + $async.Future<$1.NewRobotPartResponse> newRobotPart_Pre($grpc.ServiceCall call, $async.Future<$1.NewRobotPartRequest> request) async { return newRobotPart(call, await request); } - $async.Future<$0.DeleteRobotPartResponse> deleteRobotPart_Pre($grpc.ServiceCall call, $async.Future<$0.DeleteRobotPartRequest> request) async { + $async.Future<$1.DeleteRobotPartResponse> deleteRobotPart_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteRobotPartRequest> request) async { return deleteRobotPart(call, await request); } - $async.Future<$0.GetRobotAPIKeysResponse> getRobotAPIKeys_Pre($grpc.ServiceCall call, $async.Future<$0.GetRobotAPIKeysRequest> request) async { + $async.Future<$1.GetRobotAPIKeysResponse> getRobotAPIKeys_Pre($grpc.ServiceCall call, $async.Future<$1.GetRobotAPIKeysRequest> request) async { return getRobotAPIKeys(call, await request); } - $async.Future<$0.MarkPartAsMainResponse> markPartAsMain_Pre($grpc.ServiceCall call, $async.Future<$0.MarkPartAsMainRequest> request) async { + $async.Future<$1.MarkPartAsMainResponse> markPartAsMain_Pre($grpc.ServiceCall call, $async.Future<$1.MarkPartAsMainRequest> request) async { return markPartAsMain(call, await request); } - $async.Future<$0.MarkPartForRestartResponse> markPartForRestart_Pre($grpc.ServiceCall call, $async.Future<$0.MarkPartForRestartRequest> request) async { + $async.Future<$1.MarkPartForRestartResponse> markPartForRestart_Pre($grpc.ServiceCall call, $async.Future<$1.MarkPartForRestartRequest> request) async { return markPartForRestart(call, await request); } - $async.Future<$0.CreateRobotPartSecretResponse> createRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$0.CreateRobotPartSecretRequest> request) async { + $async.Future<$1.CreateRobotPartSecretResponse> createRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$1.CreateRobotPartSecretRequest> request) async { return createRobotPartSecret(call, await request); } - $async.Future<$0.DeleteRobotPartSecretResponse> deleteRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$0.DeleteRobotPartSecretRequest> request) async { + $async.Future<$1.DeleteRobotPartSecretResponse> deleteRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteRobotPartSecretRequest> request) async { return deleteRobotPartSecret(call, await request); } - $async.Future<$0.ListRobotsResponse> listRobots_Pre($grpc.ServiceCall call, $async.Future<$0.ListRobotsRequest> request) async { + $async.Future<$1.ListRobotsResponse> listRobots_Pre($grpc.ServiceCall call, $async.Future<$1.ListRobotsRequest> request) async { return listRobots(call, await request); } - $async.Future<$0.NewRobotResponse> newRobot_Pre($grpc.ServiceCall call, $async.Future<$0.NewRobotRequest> request) async { + $async.Future<$1.NewRobotResponse> newRobot_Pre($grpc.ServiceCall call, $async.Future<$1.NewRobotRequest> request) async { return newRobot(call, await request); } - $async.Future<$0.UpdateRobotResponse> updateRobot_Pre($grpc.ServiceCall call, $async.Future<$0.UpdateRobotRequest> request) async { + $async.Future<$1.UpdateRobotResponse> updateRobot_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateRobotRequest> request) async { return updateRobot(call, await request); } - $async.Future<$0.DeleteRobotResponse> deleteRobot_Pre($grpc.ServiceCall call, $async.Future<$0.DeleteRobotRequest> request) async { + $async.Future<$1.DeleteRobotResponse> deleteRobot_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteRobotRequest> request) async { return deleteRobot(call, await request); } - $async.Future<$0.ListFragmentsResponse> listFragments_Pre($grpc.ServiceCall call, $async.Future<$0.ListFragmentsRequest> request) async { + $async.Future<$1.ListFragmentsResponse> listFragments_Pre($grpc.ServiceCall call, $async.Future<$1.ListFragmentsRequest> request) async { return listFragments(call, await request); } - $async.Future<$0.GetFragmentResponse> getFragment_Pre($grpc.ServiceCall call, $async.Future<$0.GetFragmentRequest> request) async { + $async.Future<$1.GetFragmentResponse> getFragment_Pre($grpc.ServiceCall call, $async.Future<$1.GetFragmentRequest> request) async { return getFragment(call, await request); } - $async.Future<$0.CreateFragmentResponse> createFragment_Pre($grpc.ServiceCall call, $async.Future<$0.CreateFragmentRequest> request) async { + $async.Future<$1.CreateFragmentResponse> createFragment_Pre($grpc.ServiceCall call, $async.Future<$1.CreateFragmentRequest> request) async { return createFragment(call, await request); } - $async.Future<$0.UpdateFragmentResponse> updateFragment_Pre($grpc.ServiceCall call, $async.Future<$0.UpdateFragmentRequest> request) async { + $async.Future<$1.UpdateFragmentResponse> updateFragment_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateFragmentRequest> request) async { return updateFragment(call, await request); } - $async.Future<$0.DeleteFragmentResponse> deleteFragment_Pre($grpc.ServiceCall call, $async.Future<$0.DeleteFragmentRequest> request) async { + $async.Future<$1.DeleteFragmentResponse> deleteFragment_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteFragmentRequest> request) async { return deleteFragment(call, await request); } - $async.Future<$0.AddRoleResponse> addRole_Pre($grpc.ServiceCall call, $async.Future<$0.AddRoleRequest> request) async { + $async.Future<$1.AddRoleResponse> addRole_Pre($grpc.ServiceCall call, $async.Future<$1.AddRoleRequest> request) async { return addRole(call, await request); } - $async.Future<$0.RemoveRoleResponse> removeRole_Pre($grpc.ServiceCall call, $async.Future<$0.RemoveRoleRequest> request) async { + $async.Future<$1.RemoveRoleResponse> removeRole_Pre($grpc.ServiceCall call, $async.Future<$1.RemoveRoleRequest> request) async { return removeRole(call, await request); } - $async.Future<$0.ChangeRoleResponse> changeRole_Pre($grpc.ServiceCall call, $async.Future<$0.ChangeRoleRequest> request) async { + $async.Future<$1.ChangeRoleResponse> changeRole_Pre($grpc.ServiceCall call, $async.Future<$1.ChangeRoleRequest> request) async { return changeRole(call, await request); } - $async.Future<$0.ListAuthorizationsResponse> listAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$0.ListAuthorizationsRequest> request) async { + $async.Future<$1.ListAuthorizationsResponse> listAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$1.ListAuthorizationsRequest> request) async { return listAuthorizations(call, await request); } - $async.Future<$0.CheckPermissionsResponse> checkPermissions_Pre($grpc.ServiceCall call, $async.Future<$0.CheckPermissionsRequest> request) async { + $async.Future<$1.CheckPermissionsResponse> checkPermissions_Pre($grpc.ServiceCall call, $async.Future<$1.CheckPermissionsRequest> request) async { return checkPermissions(call, await request); } - $async.Future<$0.CreateModuleResponse> createModule_Pre($grpc.ServiceCall call, $async.Future<$0.CreateModuleRequest> request) async { + $async.Future<$1.CreateRegistryItemResponse> createRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$1.CreateRegistryItemRequest> request) async { + return createRegistryItem(call, await request); + } + + $async.Future<$1.UpdateRegistryItemResponse> updateRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateRegistryItemRequest> request) async { + return updateRegistryItem(call, await request); + } + + $async.Future<$1.CreateModuleResponse> createModule_Pre($grpc.ServiceCall call, $async.Future<$1.CreateModuleRequest> request) async { return createModule(call, await request); } - $async.Future<$0.UpdateModuleResponse> updateModule_Pre($grpc.ServiceCall call, $async.Future<$0.UpdateModuleRequest> request) async { + $async.Future<$1.UpdateModuleResponse> updateModule_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateModuleRequest> request) async { return updateModule(call, await request); } - $async.Future<$0.GetModuleResponse> getModule_Pre($grpc.ServiceCall call, $async.Future<$0.GetModuleRequest> request) async { + $async.Future<$1.GetModuleResponse> getModule_Pre($grpc.ServiceCall call, $async.Future<$1.GetModuleRequest> request) async { return getModule(call, await request); } - $async.Future<$0.ListModulesResponse> listModules_Pre($grpc.ServiceCall call, $async.Future<$0.ListModulesRequest> request) async { + $async.Future<$1.ListModulesResponse> listModules_Pre($grpc.ServiceCall call, $async.Future<$1.ListModulesRequest> request) async { return listModules(call, await request); } - $async.Future<$0.CreateKeyResponse> createKey_Pre($grpc.ServiceCall call, $async.Future<$0.CreateKeyRequest> request) async { + $async.Future<$1.CreateKeyResponse> createKey_Pre($grpc.ServiceCall call, $async.Future<$1.CreateKeyRequest> request) async { return createKey(call, await request); } - $async.Future<$0.DeleteKeyResponse> deleteKey_Pre($grpc.ServiceCall call, $async.Future<$0.DeleteKeyRequest> request) async { + $async.Future<$1.DeleteKeyResponse> deleteKey_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteKeyRequest> request) async { return deleteKey(call, await request); } - $async.Future<$0.ListKeysResponse> listKeys_Pre($grpc.ServiceCall call, $async.Future<$0.ListKeysRequest> request) async { + $async.Future<$1.ListKeysResponse> listKeys_Pre($grpc.ServiceCall call, $async.Future<$1.ListKeysRequest> request) async { return listKeys(call, await request); } - $async.Future<$0.RotateKeyResponse> rotateKey_Pre($grpc.ServiceCall call, $async.Future<$0.RotateKeyRequest> request) async { + $async.Future<$1.RotateKeyResponse> rotateKey_Pre($grpc.ServiceCall call, $async.Future<$1.RotateKeyRequest> request) async { return rotateKey(call, await request); } - $async.Future<$0.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$0.CreateKeyFromExistingKeyAuthorizationsRequest> request) async { + $async.Future<$1.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$1.CreateKeyFromExistingKeyAuthorizationsRequest> request) async { return createKeyFromExistingKeyAuthorizations(call, await request); } - $async.Future<$0.GetUserIDByEmailResponse> getUserIDByEmail($grpc.ServiceCall call, $0.GetUserIDByEmailRequest request); - $async.Future<$0.CreateOrganizationResponse> createOrganization($grpc.ServiceCall call, $0.CreateOrganizationRequest request); - $async.Future<$0.ListOrganizationsResponse> listOrganizations($grpc.ServiceCall call, $0.ListOrganizationsRequest request); - $async.Future<$0.ListOrganizationsByUserResponse> listOrganizationsByUser($grpc.ServiceCall call, $0.ListOrganizationsByUserRequest request); - $async.Future<$0.GetOrganizationResponse> getOrganization($grpc.ServiceCall call, $0.GetOrganizationRequest request); - $async.Future<$0.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability($grpc.ServiceCall call, $0.GetOrganizationNamespaceAvailabilityRequest request); - $async.Future<$0.UpdateOrganizationResponse> updateOrganization($grpc.ServiceCall call, $0.UpdateOrganizationRequest request); - $async.Future<$0.DeleteOrganizationResponse> deleteOrganization($grpc.ServiceCall call, $0.DeleteOrganizationRequest request); - $async.Future<$0.ListOrganizationMembersResponse> listOrganizationMembers($grpc.ServiceCall call, $0.ListOrganizationMembersRequest request); - $async.Future<$0.CreateOrganizationInviteResponse> createOrganizationInvite($grpc.ServiceCall call, $0.CreateOrganizationInviteRequest request); - $async.Future<$0.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations($grpc.ServiceCall call, $0.UpdateOrganizationInviteAuthorizationsRequest request); - $async.Future<$0.DeleteOrganizationMemberResponse> deleteOrganizationMember($grpc.ServiceCall call, $0.DeleteOrganizationMemberRequest request); - $async.Future<$0.DeleteOrganizationInviteResponse> deleteOrganizationInvite($grpc.ServiceCall call, $0.DeleteOrganizationInviteRequest request); - $async.Future<$0.ResendOrganizationInviteResponse> resendOrganizationInvite($grpc.ServiceCall call, $0.ResendOrganizationInviteRequest request); - $async.Future<$0.CreateLocationResponse> createLocation($grpc.ServiceCall call, $0.CreateLocationRequest request); - $async.Future<$0.GetLocationResponse> getLocation($grpc.ServiceCall call, $0.GetLocationRequest request); - $async.Future<$0.UpdateLocationResponse> updateLocation($grpc.ServiceCall call, $0.UpdateLocationRequest request); - $async.Future<$0.DeleteLocationResponse> deleteLocation($grpc.ServiceCall call, $0.DeleteLocationRequest request); - $async.Future<$0.ListLocationsResponse> listLocations($grpc.ServiceCall call, $0.ListLocationsRequest request); - $async.Future<$0.ShareLocationResponse> shareLocation($grpc.ServiceCall call, $0.ShareLocationRequest request); - $async.Future<$0.UnshareLocationResponse> unshareLocation($grpc.ServiceCall call, $0.UnshareLocationRequest request); - $async.Future<$0.LocationAuthResponse> locationAuth($grpc.ServiceCall call, $0.LocationAuthRequest request); - $async.Future<$0.CreateLocationSecretResponse> createLocationSecret($grpc.ServiceCall call, $0.CreateLocationSecretRequest request); - $async.Future<$0.DeleteLocationSecretResponse> deleteLocationSecret($grpc.ServiceCall call, $0.DeleteLocationSecretRequest request); - $async.Future<$0.GetRobotResponse> getRobot($grpc.ServiceCall call, $0.GetRobotRequest request); - $async.Future<$0.GetRoverRentalRobotsResponse> getRoverRentalRobots($grpc.ServiceCall call, $0.GetRoverRentalRobotsRequest request); - $async.Future<$0.GetRobotPartsResponse> getRobotParts($grpc.ServiceCall call, $0.GetRobotPartsRequest request); - $async.Future<$0.GetRobotPartResponse> getRobotPart($grpc.ServiceCall call, $0.GetRobotPartRequest request); - $async.Future<$0.GetRobotPartLogsResponse> getRobotPartLogs($grpc.ServiceCall call, $0.GetRobotPartLogsRequest request); - $async.Stream<$0.TailRobotPartLogsResponse> tailRobotPartLogs($grpc.ServiceCall call, $0.TailRobotPartLogsRequest request); - $async.Future<$0.GetRobotPartHistoryResponse> getRobotPartHistory($grpc.ServiceCall call, $0.GetRobotPartHistoryRequest request); - $async.Future<$0.UpdateRobotPartResponse> updateRobotPart($grpc.ServiceCall call, $0.UpdateRobotPartRequest request); - $async.Future<$0.NewRobotPartResponse> newRobotPart($grpc.ServiceCall call, $0.NewRobotPartRequest request); - $async.Future<$0.DeleteRobotPartResponse> deleteRobotPart($grpc.ServiceCall call, $0.DeleteRobotPartRequest request); - $async.Future<$0.GetRobotAPIKeysResponse> getRobotAPIKeys($grpc.ServiceCall call, $0.GetRobotAPIKeysRequest request); - $async.Future<$0.MarkPartAsMainResponse> markPartAsMain($grpc.ServiceCall call, $0.MarkPartAsMainRequest request); - $async.Future<$0.MarkPartForRestartResponse> markPartForRestart($grpc.ServiceCall call, $0.MarkPartForRestartRequest request); - $async.Future<$0.CreateRobotPartSecretResponse> createRobotPartSecret($grpc.ServiceCall call, $0.CreateRobotPartSecretRequest request); - $async.Future<$0.DeleteRobotPartSecretResponse> deleteRobotPartSecret($grpc.ServiceCall call, $0.DeleteRobotPartSecretRequest request); - $async.Future<$0.ListRobotsResponse> listRobots($grpc.ServiceCall call, $0.ListRobotsRequest request); - $async.Future<$0.NewRobotResponse> newRobot($grpc.ServiceCall call, $0.NewRobotRequest request); - $async.Future<$0.UpdateRobotResponse> updateRobot($grpc.ServiceCall call, $0.UpdateRobotRequest request); - $async.Future<$0.DeleteRobotResponse> deleteRobot($grpc.ServiceCall call, $0.DeleteRobotRequest request); - $async.Future<$0.ListFragmentsResponse> listFragments($grpc.ServiceCall call, $0.ListFragmentsRequest request); - $async.Future<$0.GetFragmentResponse> getFragment($grpc.ServiceCall call, $0.GetFragmentRequest request); - $async.Future<$0.CreateFragmentResponse> createFragment($grpc.ServiceCall call, $0.CreateFragmentRequest request); - $async.Future<$0.UpdateFragmentResponse> updateFragment($grpc.ServiceCall call, $0.UpdateFragmentRequest request); - $async.Future<$0.DeleteFragmentResponse> deleteFragment($grpc.ServiceCall call, $0.DeleteFragmentRequest request); - $async.Future<$0.AddRoleResponse> addRole($grpc.ServiceCall call, $0.AddRoleRequest request); - $async.Future<$0.RemoveRoleResponse> removeRole($grpc.ServiceCall call, $0.RemoveRoleRequest request); - $async.Future<$0.ChangeRoleResponse> changeRole($grpc.ServiceCall call, $0.ChangeRoleRequest request); - $async.Future<$0.ListAuthorizationsResponse> listAuthorizations($grpc.ServiceCall call, $0.ListAuthorizationsRequest request); - $async.Future<$0.CheckPermissionsResponse> checkPermissions($grpc.ServiceCall call, $0.CheckPermissionsRequest request); - $async.Future<$0.CreateModuleResponse> createModule($grpc.ServiceCall call, $0.CreateModuleRequest request); - $async.Future<$0.UpdateModuleResponse> updateModule($grpc.ServiceCall call, $0.UpdateModuleRequest request); - $async.Future<$0.UploadModuleFileResponse> uploadModuleFile($grpc.ServiceCall call, $async.Stream<$0.UploadModuleFileRequest> request); - $async.Future<$0.GetModuleResponse> getModule($grpc.ServiceCall call, $0.GetModuleRequest request); - $async.Future<$0.ListModulesResponse> listModules($grpc.ServiceCall call, $0.ListModulesRequest request); - $async.Future<$0.CreateKeyResponse> createKey($grpc.ServiceCall call, $0.CreateKeyRequest request); - $async.Future<$0.DeleteKeyResponse> deleteKey($grpc.ServiceCall call, $0.DeleteKeyRequest request); - $async.Future<$0.ListKeysResponse> listKeys($grpc.ServiceCall call, $0.ListKeysRequest request); - $async.Future<$0.RotateKeyResponse> rotateKey($grpc.ServiceCall call, $0.RotateKeyRequest request); - $async.Future<$0.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations($grpc.ServiceCall call, $0.CreateKeyFromExistingKeyAuthorizationsRequest request); + $async.Future<$1.GetUserIDByEmailResponse> getUserIDByEmail($grpc.ServiceCall call, $1.GetUserIDByEmailRequest request); + $async.Future<$1.CreateOrganizationResponse> createOrganization($grpc.ServiceCall call, $1.CreateOrganizationRequest request); + $async.Future<$1.ListOrganizationsResponse> listOrganizations($grpc.ServiceCall call, $1.ListOrganizationsRequest request); + $async.Future<$1.ListOrganizationsByUserResponse> listOrganizationsByUser($grpc.ServiceCall call, $1.ListOrganizationsByUserRequest request); + $async.Future<$1.GetOrganizationResponse> getOrganization($grpc.ServiceCall call, $1.GetOrganizationRequest request); + $async.Future<$1.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability($grpc.ServiceCall call, $1.GetOrganizationNamespaceAvailabilityRequest request); + $async.Future<$1.UpdateOrganizationResponse> updateOrganization($grpc.ServiceCall call, $1.UpdateOrganizationRequest request); + $async.Future<$1.DeleteOrganizationResponse> deleteOrganization($grpc.ServiceCall call, $1.DeleteOrganizationRequest request); + $async.Future<$1.ListOrganizationMembersResponse> listOrganizationMembers($grpc.ServiceCall call, $1.ListOrganizationMembersRequest request); + $async.Future<$1.CreateOrganizationInviteResponse> createOrganizationInvite($grpc.ServiceCall call, $1.CreateOrganizationInviteRequest request); + $async.Future<$1.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations($grpc.ServiceCall call, $1.UpdateOrganizationInviteAuthorizationsRequest request); + $async.Future<$1.DeleteOrganizationMemberResponse> deleteOrganizationMember($grpc.ServiceCall call, $1.DeleteOrganizationMemberRequest request); + $async.Future<$1.DeleteOrganizationInviteResponse> deleteOrganizationInvite($grpc.ServiceCall call, $1.DeleteOrganizationInviteRequest request); + $async.Future<$1.ResendOrganizationInviteResponse> resendOrganizationInvite($grpc.ServiceCall call, $1.ResendOrganizationInviteRequest request); + $async.Future<$1.CreateLocationResponse> createLocation($grpc.ServiceCall call, $1.CreateLocationRequest request); + $async.Future<$1.GetLocationResponse> getLocation($grpc.ServiceCall call, $1.GetLocationRequest request); + $async.Future<$1.UpdateLocationResponse> updateLocation($grpc.ServiceCall call, $1.UpdateLocationRequest request); + $async.Future<$1.DeleteLocationResponse> deleteLocation($grpc.ServiceCall call, $1.DeleteLocationRequest request); + $async.Future<$1.ListLocationsResponse> listLocations($grpc.ServiceCall call, $1.ListLocationsRequest request); + $async.Future<$1.ShareLocationResponse> shareLocation($grpc.ServiceCall call, $1.ShareLocationRequest request); + $async.Future<$1.UnshareLocationResponse> unshareLocation($grpc.ServiceCall call, $1.UnshareLocationRequest request); + $async.Future<$1.LocationAuthResponse> locationAuth($grpc.ServiceCall call, $1.LocationAuthRequest request); + $async.Future<$1.CreateLocationSecretResponse> createLocationSecret($grpc.ServiceCall call, $1.CreateLocationSecretRequest request); + $async.Future<$1.DeleteLocationSecretResponse> deleteLocationSecret($grpc.ServiceCall call, $1.DeleteLocationSecretRequest request); + $async.Future<$1.GetRobotResponse> getRobot($grpc.ServiceCall call, $1.GetRobotRequest request); + $async.Future<$1.GetRoverRentalRobotsResponse> getRoverRentalRobots($grpc.ServiceCall call, $1.GetRoverRentalRobotsRequest request); + $async.Future<$1.GetRobotPartsResponse> getRobotParts($grpc.ServiceCall call, $1.GetRobotPartsRequest request); + $async.Future<$1.GetRobotPartResponse> getRobotPart($grpc.ServiceCall call, $1.GetRobotPartRequest request); + $async.Future<$1.GetRobotPartLogsResponse> getRobotPartLogs($grpc.ServiceCall call, $1.GetRobotPartLogsRequest request); + $async.Stream<$1.TailRobotPartLogsResponse> tailRobotPartLogs($grpc.ServiceCall call, $1.TailRobotPartLogsRequest request); + $async.Future<$1.GetRobotPartHistoryResponse> getRobotPartHistory($grpc.ServiceCall call, $1.GetRobotPartHistoryRequest request); + $async.Future<$1.UpdateRobotPartResponse> updateRobotPart($grpc.ServiceCall call, $1.UpdateRobotPartRequest request); + $async.Future<$1.NewRobotPartResponse> newRobotPart($grpc.ServiceCall call, $1.NewRobotPartRequest request); + $async.Future<$1.DeleteRobotPartResponse> deleteRobotPart($grpc.ServiceCall call, $1.DeleteRobotPartRequest request); + $async.Future<$1.GetRobotAPIKeysResponse> getRobotAPIKeys($grpc.ServiceCall call, $1.GetRobotAPIKeysRequest request); + $async.Future<$1.MarkPartAsMainResponse> markPartAsMain($grpc.ServiceCall call, $1.MarkPartAsMainRequest request); + $async.Future<$1.MarkPartForRestartResponse> markPartForRestart($grpc.ServiceCall call, $1.MarkPartForRestartRequest request); + $async.Future<$1.CreateRobotPartSecretResponse> createRobotPartSecret($grpc.ServiceCall call, $1.CreateRobotPartSecretRequest request); + $async.Future<$1.DeleteRobotPartSecretResponse> deleteRobotPartSecret($grpc.ServiceCall call, $1.DeleteRobotPartSecretRequest request); + $async.Future<$1.ListRobotsResponse> listRobots($grpc.ServiceCall call, $1.ListRobotsRequest request); + $async.Future<$1.NewRobotResponse> newRobot($grpc.ServiceCall call, $1.NewRobotRequest request); + $async.Future<$1.UpdateRobotResponse> updateRobot($grpc.ServiceCall call, $1.UpdateRobotRequest request); + $async.Future<$1.DeleteRobotResponse> deleteRobot($grpc.ServiceCall call, $1.DeleteRobotRequest request); + $async.Future<$1.ListFragmentsResponse> listFragments($grpc.ServiceCall call, $1.ListFragmentsRequest request); + $async.Future<$1.GetFragmentResponse> getFragment($grpc.ServiceCall call, $1.GetFragmentRequest request); + $async.Future<$1.CreateFragmentResponse> createFragment($grpc.ServiceCall call, $1.CreateFragmentRequest request); + $async.Future<$1.UpdateFragmentResponse> updateFragment($grpc.ServiceCall call, $1.UpdateFragmentRequest request); + $async.Future<$1.DeleteFragmentResponse> deleteFragment($grpc.ServiceCall call, $1.DeleteFragmentRequest request); + $async.Future<$1.AddRoleResponse> addRole($grpc.ServiceCall call, $1.AddRoleRequest request); + $async.Future<$1.RemoveRoleResponse> removeRole($grpc.ServiceCall call, $1.RemoveRoleRequest request); + $async.Future<$1.ChangeRoleResponse> changeRole($grpc.ServiceCall call, $1.ChangeRoleRequest request); + $async.Future<$1.ListAuthorizationsResponse> listAuthorizations($grpc.ServiceCall call, $1.ListAuthorizationsRequest request); + $async.Future<$1.CheckPermissionsResponse> checkPermissions($grpc.ServiceCall call, $1.CheckPermissionsRequest request); + $async.Future<$1.CreateRegistryItemResponse> createRegistryItem($grpc.ServiceCall call, $1.CreateRegistryItemRequest request); + $async.Future<$1.UpdateRegistryItemResponse> updateRegistryItem($grpc.ServiceCall call, $1.UpdateRegistryItemRequest request); + $async.Future<$1.CreateModuleResponse> createModule($grpc.ServiceCall call, $1.CreateModuleRequest request); + $async.Future<$1.UpdateModuleResponse> updateModule($grpc.ServiceCall call, $1.UpdateModuleRequest request); + $async.Future<$1.UploadModuleFileResponse> uploadModuleFile($grpc.ServiceCall call, $async.Stream<$1.UploadModuleFileRequest> request); + $async.Future<$1.GetModuleResponse> getModule($grpc.ServiceCall call, $1.GetModuleRequest request); + $async.Future<$1.ListModulesResponse> listModules($grpc.ServiceCall call, $1.ListModulesRequest request); + $async.Future<$1.CreateKeyResponse> createKey($grpc.ServiceCall call, $1.CreateKeyRequest request); + $async.Future<$1.DeleteKeyResponse> deleteKey($grpc.ServiceCall call, $1.DeleteKeyRequest request); + $async.Future<$1.ListKeysResponse> listKeys($grpc.ServiceCall call, $1.ListKeysRequest request); + $async.Future<$1.RotateKeyResponse> rotateKey($grpc.ServiceCall call, $1.RotateKeyRequest request); + $async.Future<$1.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations($grpc.ServiceCall call, $1.CreateKeyFromExistingKeyAuthorizationsRequest request); } diff --git a/lib/src/gen/app/v1/app.pbjson.dart b/lib/src/gen/app/v1/app.pbjson.dart index 244e8747d6..6d59d5489a 100644 --- a/lib/src/gen/app/v1/app.pbjson.dart +++ b/lib/src/gen/app/v1/app.pbjson.dart @@ -1735,6 +1735,58 @@ final $typed_data.Uint8List checkPermissionsResponseDescriptor = $convert.base64 'MoCzIiLnZpYW0uYXBwLnYxLkF1dGhvcml6ZWRQZXJtaXNzaW9uc1IVYXV0aG9yaXplZFBlcm1p' 'c3Npb25z'); +@$core.Deprecated('Use createRegistryItemRequestDescriptor instead') +const CreateRegistryItemRequest$json = { + '1': 'CreateRegistryItemRequest', + '2': [ + {'1': 'organization_id', '3': 1, '4': 1, '5': 9, '10': 'organizationId'}, + {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + {'1': 'type', '3': 3, '4': 1, '5': 14, '6': '.viam.app.packages.v1.PackageType', '10': 'type'}, + ], +}; + +/// Descriptor for `CreateRegistryItemRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List createRegistryItemRequestDescriptor = $convert.base64Decode( + 'ChlDcmVhdGVSZWdpc3RyeUl0ZW1SZXF1ZXN0EicKD29yZ2FuaXphdGlvbl9pZBgBIAEoCVIOb3' + 'JnYW5pemF0aW9uSWQSEgoEbmFtZRgCIAEoCVIEbmFtZRI1CgR0eXBlGAMgASgOMiEudmlhbS5h' + 'cHAucGFja2FnZXMudjEuUGFja2FnZVR5cGVSBHR5cGU='); + +@$core.Deprecated('Use createRegistryItemResponseDescriptor instead') +const CreateRegistryItemResponse$json = { + '1': 'CreateRegistryItemResponse', +}; + +/// Descriptor for `CreateRegistryItemResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List createRegistryItemResponseDescriptor = $convert.base64Decode( + 'ChpDcmVhdGVSZWdpc3RyeUl0ZW1SZXNwb25zZQ=='); + +@$core.Deprecated('Use updateRegistryItemRequestDescriptor instead') +const UpdateRegistryItemRequest$json = { + '1': 'UpdateRegistryItemRequest', + '2': [ + {'1': 'item_id', '3': 1, '4': 1, '5': 9, '10': 'itemId'}, + {'1': 'type', '3': 2, '4': 1, '5': 14, '6': '.viam.app.packages.v1.PackageType', '10': 'type'}, + {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, + {'1': 'visibility', '3': 4, '4': 1, '5': 14, '6': '.viam.app.v1.Visibility', '10': 'visibility'}, + ], +}; + +/// Descriptor for `UpdateRegistryItemRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List updateRegistryItemRequestDescriptor = $convert.base64Decode( + 'ChlVcGRhdGVSZWdpc3RyeUl0ZW1SZXF1ZXN0EhcKB2l0ZW1faWQYASABKAlSBml0ZW1JZBI1Cg' + 'R0eXBlGAIgASgOMiEudmlhbS5hcHAucGFja2FnZXMudjEuUGFja2FnZVR5cGVSBHR5cGUSIAoL' + 'ZGVzY3JpcHRpb24YAyABKAlSC2Rlc2NyaXB0aW9uEjcKCnZpc2liaWxpdHkYBCABKA4yFy52aW' + 'FtLmFwcC52MS5WaXNpYmlsaXR5Ugp2aXNpYmlsaXR5'); + +@$core.Deprecated('Use updateRegistryItemResponseDescriptor instead') +const UpdateRegistryItemResponse$json = { + '1': 'UpdateRegistryItemResponse', +}; + +/// Descriptor for `UpdateRegistryItemResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List updateRegistryItemResponseDescriptor = $convert.base64Decode( + 'ChpVcGRhdGVSZWdpc3RyeUl0ZW1SZXNwb25zZQ=='); + @$core.Deprecated('Use createModuleRequestDescriptor instead') const CreateModuleRequest$json = { '1': 'CreateModuleRequest', diff --git a/lib/src/gen/app/v1/billing.pb.dart b/lib/src/gen/app/v1/billing.pb.dart index ed05004d74..64c59b3b1d 100644 --- a/lib/src/gen/app/v1/billing.pb.dart +++ b/lib/src/gen/app/v1/billing.pb.dart @@ -13,7 +13,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../google/protobuf/timestamp.pb.dart' as $4; +import '../../google/protobuf/timestamp.pb.dart' as $5; import 'billing.pbenum.dart'; export 'billing.pbenum.dart'; @@ -212,11 +212,11 @@ class CurrentMonthUsageSummary extends $pb.GeneratedMessage { class InvoiceSummary extends $pb.GeneratedMessage { factory InvoiceSummary({ $core.String? id, - $4.Timestamp? invoiceDate, + $5.Timestamp? invoiceDate, $core.double? invoiceAmount, $core.String? status, - $4.Timestamp? dueDate, - $4.Timestamp? paidDate, + $5.Timestamp? dueDate, + $5.Timestamp? paidDate, }) { final $result = create(); if (id != null) { @@ -245,11 +245,11 @@ class InvoiceSummary extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'InvoiceSummary', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM<$4.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $5.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'invoiceAmount', $pb.PbFieldType.OD) ..aOS(4, _omitFieldNames ? '' : 'status') - ..aOM<$4.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $4.Timestamp.create) - ..aOM<$4.Timestamp>(6, _omitFieldNames ? '' : 'paidDate', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $5.Timestamp.create) + ..aOM<$5.Timestamp>(6, _omitFieldNames ? '' : 'paidDate', subBuilder: $5.Timestamp.create) ..hasRequiredFields = false ; @@ -284,15 +284,15 @@ class InvoiceSummary extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $4.Timestamp get invoiceDate => $_getN(1); + $5.Timestamp get invoiceDate => $_getN(1); @$pb.TagNumber(2) - set invoiceDate($4.Timestamp v) { setField(2, v); } + set invoiceDate($5.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasInvoiceDate() => $_has(1); @$pb.TagNumber(2) void clearInvoiceDate() => clearField(2); @$pb.TagNumber(2) - $4.Timestamp ensureInvoiceDate() => $_ensure(1); + $5.Timestamp ensureInvoiceDate() => $_ensure(1); @$pb.TagNumber(3) $core.double get invoiceAmount => $_getN(2); @@ -313,26 +313,26 @@ class InvoiceSummary extends $pb.GeneratedMessage { void clearStatus() => clearField(4); @$pb.TagNumber(5) - $4.Timestamp get dueDate => $_getN(4); + $5.Timestamp get dueDate => $_getN(4); @$pb.TagNumber(5) - set dueDate($4.Timestamp v) { setField(5, v); } + set dueDate($5.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasDueDate() => $_has(4); @$pb.TagNumber(5) void clearDueDate() => clearField(5); @$pb.TagNumber(5) - $4.Timestamp ensureDueDate() => $_ensure(4); + $5.Timestamp ensureDueDate() => $_ensure(4); @$pb.TagNumber(6) - $4.Timestamp get paidDate => $_getN(5); + $5.Timestamp get paidDate => $_getN(5); @$pb.TagNumber(6) - set paidDate($4.Timestamp v) { setField(6, v); } + set paidDate($5.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasPaidDate() => $_has(5); @$pb.TagNumber(6) void clearPaidDate() => clearField(6); @$pb.TagNumber(6) - $4.Timestamp ensurePaidDate() => $_ensure(5); + $5.Timestamp ensurePaidDate() => $_ensure(5); } class BillableResourceEvent extends $pb.GeneratedMessage { @@ -342,7 +342,7 @@ class BillableResourceEvent extends $pb.GeneratedMessage { $core.double? usageQuantity, $core.String? usageQuantityUnit, $core.String? usageCost, - $4.Timestamp? occurredAt, + $5.Timestamp? occurredAt, $core.String? userName, }) { final $result = create(); @@ -379,7 +379,7 @@ class BillableResourceEvent extends $pb.GeneratedMessage { ..a<$core.double>(3, _omitFieldNames ? '' : 'usageQuantity', $pb.PbFieldType.OD) ..aOS(4, _omitFieldNames ? '' : 'usageQuantityUnit') ..aOS(5, _omitFieldNames ? '' : 'usageCost') - ..aOM<$4.Timestamp>(6, _omitFieldNames ? '' : 'occurredAt', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(6, _omitFieldNames ? '' : 'occurredAt', subBuilder: $5.Timestamp.create) ..aOS(7, _omitFieldNames ? '' : 'userName') ..hasRequiredFields = false ; @@ -451,15 +451,15 @@ class BillableResourceEvent extends $pb.GeneratedMessage { void clearUsageCost() => clearField(5); @$pb.TagNumber(6) - $4.Timestamp get occurredAt => $_getN(5); + $5.Timestamp get occurredAt => $_getN(5); @$pb.TagNumber(6) - set occurredAt($4.Timestamp v) { setField(6, v); } + set occurredAt($5.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasOccurredAt() => $_has(5); @$pb.TagNumber(6) void clearOccurredAt() => clearField(6); @$pb.TagNumber(6) - $4.Timestamp ensureOccurredAt() => $_ensure(5); + $5.Timestamp ensureOccurredAt() => $_ensure(5); @$pb.TagNumber(7) $core.String get userName => $_getSZ(6); @@ -474,10 +474,10 @@ class BillableResourceEvent extends $pb.GeneratedMessage { class Invoice extends $pb.GeneratedMessage { factory Invoice({ $core.String? id, - $4.Timestamp? invoiceDate, + $5.Timestamp? invoiceDate, $core.double? invoiceAmount, $core.String? status, - $4.Timestamp? dueDate, + $5.Timestamp? dueDate, $core.Iterable? items, $core.String? emailedTo, }) { @@ -511,10 +511,10 @@ class Invoice extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Invoice', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM<$4.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $5.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'invoiceAmount', $pb.PbFieldType.OD) ..aOS(4, _omitFieldNames ? '' : 'status') - ..aOM<$4.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $5.Timestamp.create) ..pc(6, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, subBuilder: BillableResourceEvent.create) ..aOS(7, _omitFieldNames ? '' : 'emailedTo') ..hasRequiredFields = false @@ -551,15 +551,15 @@ class Invoice extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $4.Timestamp get invoiceDate => $_getN(1); + $5.Timestamp get invoiceDate => $_getN(1); @$pb.TagNumber(2) - set invoiceDate($4.Timestamp v) { setField(2, v); } + set invoiceDate($5.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasInvoiceDate() => $_has(1); @$pb.TagNumber(2) void clearInvoiceDate() => clearField(2); @$pb.TagNumber(2) - $4.Timestamp ensureInvoiceDate() => $_ensure(1); + $5.Timestamp ensureInvoiceDate() => $_ensure(1); @$pb.TagNumber(3) $core.double get invoiceAmount => $_getN(2); @@ -580,15 +580,15 @@ class Invoice extends $pb.GeneratedMessage { void clearStatus() => clearField(4); @$pb.TagNumber(5) - $4.Timestamp get dueDate => $_getN(4); + $5.Timestamp get dueDate => $_getN(4); @$pb.TagNumber(5) - set dueDate($4.Timestamp v) { setField(5, v); } + set dueDate($5.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasDueDate() => $_has(4); @$pb.TagNumber(5) void clearDueDate() => clearField(5); @$pb.TagNumber(5) - $4.Timestamp ensureDueDate() => $_ensure(4); + $5.Timestamp ensureDueDate() => $_ensure(4); @$pb.TagNumber(6) $core.List get items => $_getList(5); @@ -961,8 +961,8 @@ class GetCurrentMonthUsageRequest extends $pb.GeneratedMessage { class GetCurrentMonthUsageResponse extends $pb.GeneratedMessage { factory GetCurrentMonthUsageResponse({ - $4.Timestamp? startDate, - $4.Timestamp? endDate, + $5.Timestamp? startDate, + $5.Timestamp? endDate, $core.double? cloudStorageUsageCost, $core.double? dataUploadUsageCost, $core.double? dataEgresUsageCost, @@ -1010,8 +1010,8 @@ class GetCurrentMonthUsageResponse extends $pb.GeneratedMessage { factory GetCurrentMonthUsageResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCurrentMonthUsageResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM<$4.Timestamp>(1, _omitFieldNames ? '' : 'startDate', subBuilder: $4.Timestamp.create) - ..aOM<$4.Timestamp>(2, _omitFieldNames ? '' : 'endDate', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(1, _omitFieldNames ? '' : 'startDate', subBuilder: $5.Timestamp.create) + ..aOM<$5.Timestamp>(2, _omitFieldNames ? '' : 'endDate', subBuilder: $5.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'cloudStorageUsageCost', $pb.PbFieldType.OD) ..a<$core.double>(4, _omitFieldNames ? '' : 'dataUploadUsageCost', $pb.PbFieldType.OD) ..a<$core.double>(5, _omitFieldNames ? '' : 'dataEgresUsageCost', $pb.PbFieldType.OD) @@ -1045,26 +1045,26 @@ class GetCurrentMonthUsageResponse extends $pb.GeneratedMessage { static GetCurrentMonthUsageResponse? _defaultInstance; @$pb.TagNumber(1) - $4.Timestamp get startDate => $_getN(0); + $5.Timestamp get startDate => $_getN(0); @$pb.TagNumber(1) - set startDate($4.Timestamp v) { setField(1, v); } + set startDate($5.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasStartDate() => $_has(0); @$pb.TagNumber(1) void clearStartDate() => clearField(1); @$pb.TagNumber(1) - $4.Timestamp ensureStartDate() => $_ensure(0); + $5.Timestamp ensureStartDate() => $_ensure(0); @$pb.TagNumber(2) - $4.Timestamp get endDate => $_getN(1); + $5.Timestamp get endDate => $_getN(1); @$pb.TagNumber(2) - set endDate($4.Timestamp v) { setField(2, v); } + set endDate($5.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEndDate() => $_has(1); @$pb.TagNumber(2) void clearEndDate() => clearField(2); @$pb.TagNumber(2) - $4.Timestamp ensureEndDate() => $_ensure(1); + $5.Timestamp ensureEndDate() => $_ensure(1); @$pb.TagNumber(3) $core.double get cloudStorageUsageCost => $_getN(2); @@ -1194,7 +1194,7 @@ class GetUnpaidBalanceRequest extends $pb.GeneratedMessage { class GetUnpaidBalanceResponse extends $pb.GeneratedMessage { factory GetUnpaidBalanceResponse({ $core.double? unpaidBalance, - $4.Timestamp? unpaidBalanceDueDate, + $5.Timestamp? unpaidBalanceDueDate, }) { final $result = create(); if (unpaidBalance != null) { @@ -1211,7 +1211,7 @@ class GetUnpaidBalanceResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetUnpaidBalanceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..a<$core.double>(1, _omitFieldNames ? '' : 'unpaidBalance', $pb.PbFieldType.OD) - ..aOM<$4.Timestamp>(2, _omitFieldNames ? '' : 'unpaidBalanceDueDate', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(2, _omitFieldNames ? '' : 'unpaidBalanceDueDate', subBuilder: $5.Timestamp.create) ..hasRequiredFields = false ; @@ -1246,15 +1246,15 @@ class GetUnpaidBalanceResponse extends $pb.GeneratedMessage { void clearUnpaidBalance() => clearField(1); @$pb.TagNumber(2) - $4.Timestamp get unpaidBalanceDueDate => $_getN(1); + $5.Timestamp get unpaidBalanceDueDate => $_getN(1); @$pb.TagNumber(2) - set unpaidBalanceDueDate($4.Timestamp v) { setField(2, v); } + set unpaidBalanceDueDate($5.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasUnpaidBalanceDueDate() => $_has(1); @$pb.TagNumber(2) void clearUnpaidBalanceDueDate() => clearField(2); @$pb.TagNumber(2) - $4.Timestamp ensureUnpaidBalanceDueDate() => $_ensure(1); + $5.Timestamp ensureUnpaidBalanceDueDate() => $_ensure(1); } /// TODO(APP-1865) may want to remove @@ -1772,7 +1772,7 @@ class GetBillingSummaryResponse extends $pb.GeneratedMessage { $core.double? statementBalance, $core.double? currentBalance, $core.double? currentMonthBalance, - $4.Timestamp? currentMonthDueDate, + $5.Timestamp? currentMonthDueDate, $core.String? invoiceEmail, PaymentMethodCard? paymentMethod, }) { @@ -1813,7 +1813,7 @@ class GetBillingSummaryResponse extends $pb.GeneratedMessage { ..a<$core.double>(3, _omitFieldNames ? '' : 'statementBalance', $pb.PbFieldType.OD) ..a<$core.double>(4, _omitFieldNames ? '' : 'currentBalance', $pb.PbFieldType.OD) ..a<$core.double>(5, _omitFieldNames ? '' : 'currentMonthBalance', $pb.PbFieldType.OD) - ..aOM<$4.Timestamp>(7, _omitFieldNames ? '' : 'currentMonthDueDate', subBuilder: $4.Timestamp.create) + ..aOM<$5.Timestamp>(7, _omitFieldNames ? '' : 'currentMonthDueDate', subBuilder: $5.Timestamp.create) ..aOS(8, _omitFieldNames ? '' : 'invoiceEmail') ..aOM(9, _omitFieldNames ? '' : 'paymentMethod', subBuilder: PaymentMethodCard.create) ..hasRequiredFields = false @@ -1882,15 +1882,15 @@ class GetBillingSummaryResponse extends $pb.GeneratedMessage { void clearCurrentMonthBalance() => clearField(5); @$pb.TagNumber(7) - $4.Timestamp get currentMonthDueDate => $_getN(5); + $5.Timestamp get currentMonthDueDate => $_getN(5); @$pb.TagNumber(7) - set currentMonthDueDate($4.Timestamp v) { setField(7, v); } + set currentMonthDueDate($5.Timestamp v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasCurrentMonthDueDate() => $_has(5); @$pb.TagNumber(7) void clearCurrentMonthDueDate() => clearField(7); @$pb.TagNumber(7) - $4.Timestamp ensureCurrentMonthDueDate() => $_ensure(5); + $5.Timestamp ensureCurrentMonthDueDate() => $_ensure(5); @$pb.TagNumber(8) $core.String get invoiceEmail => $_getSZ(6); diff --git a/lib/src/gen/app/v1/billing.pbgrpc.dart b/lib/src/gen/app/v1/billing.pbgrpc.dart index 106d7d1b5d..b65a68c06f 100644 --- a/lib/src/gen/app/v1/billing.pbgrpc.dart +++ b/lib/src/gen/app/v1/billing.pbgrpc.dart @@ -15,48 +15,48 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import 'billing.pb.dart' as $1; +import 'billing.pb.dart' as $2; export 'billing.pb.dart'; @$pb.GrpcServiceName('viam.app.v1.BillingService') class BillingServiceClient extends $grpc.Client { - static final _$getCurrentMonthUsageSummary = $grpc.ClientMethod<$1.GetCurrentMonthUsageSummaryRequest, $1.GetCurrentMonthUsageSummaryResponse>( + static final _$getCurrentMonthUsageSummary = $grpc.ClientMethod<$2.GetCurrentMonthUsageSummaryRequest, $2.GetCurrentMonthUsageSummaryResponse>( '/viam.app.v1.BillingService/GetCurrentMonthUsageSummary', - ($1.GetCurrentMonthUsageSummaryRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetCurrentMonthUsageSummaryResponse.fromBuffer(value)); - static final _$getUnpaidBalance = $grpc.ClientMethod<$1.GetUnpaidBalanceRequest, $1.GetUnpaidBalanceResponse>( + ($2.GetCurrentMonthUsageSummaryRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetCurrentMonthUsageSummaryResponse.fromBuffer(value)); + static final _$getUnpaidBalance = $grpc.ClientMethod<$2.GetUnpaidBalanceRequest, $2.GetUnpaidBalanceResponse>( '/viam.app.v1.BillingService/GetUnpaidBalance', - ($1.GetUnpaidBalanceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetUnpaidBalanceResponse.fromBuffer(value)); - static final _$getInvoiceHistory = $grpc.ClientMethod<$1.GetInvoiceHistoryRequest, $1.GetInvoiceHistoryResponse>( + ($2.GetUnpaidBalanceRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetUnpaidBalanceResponse.fromBuffer(value)); + static final _$getInvoiceHistory = $grpc.ClientMethod<$2.GetInvoiceHistoryRequest, $2.GetInvoiceHistoryResponse>( '/viam.app.v1.BillingService/GetInvoiceHistory', - ($1.GetInvoiceHistoryRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetInvoiceHistoryResponse.fromBuffer(value)); - static final _$getItemizedInvoice = $grpc.ClientMethod<$1.GetItemizedInvoiceRequest, $1.GetItemizedInvoiceResponse>( + ($2.GetInvoiceHistoryRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetInvoiceHistoryResponse.fromBuffer(value)); + static final _$getItemizedInvoice = $grpc.ClientMethod<$2.GetItemizedInvoiceRequest, $2.GetItemizedInvoiceResponse>( '/viam.app.v1.BillingService/GetItemizedInvoice', - ($1.GetItemizedInvoiceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetItemizedInvoiceResponse.fromBuffer(value)); - static final _$getBillingSummary = $grpc.ClientMethod<$1.GetBillingSummaryRequest, $1.GetBillingSummaryResponse>( + ($2.GetItemizedInvoiceRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetItemizedInvoiceResponse.fromBuffer(value)); + static final _$getBillingSummary = $grpc.ClientMethod<$2.GetBillingSummaryRequest, $2.GetBillingSummaryResponse>( '/viam.app.v1.BillingService/GetBillingSummary', - ($1.GetBillingSummaryRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetBillingSummaryResponse.fromBuffer(value)); - static final _$getCurrentMonthUsage = $grpc.ClientMethod<$1.GetCurrentMonthUsageRequest, $1.GetCurrentMonthUsageResponse>( + ($2.GetBillingSummaryRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetBillingSummaryResponse.fromBuffer(value)); + static final _$getCurrentMonthUsage = $grpc.ClientMethod<$2.GetCurrentMonthUsageRequest, $2.GetCurrentMonthUsageResponse>( '/viam.app.v1.BillingService/GetCurrentMonthUsage', - ($1.GetCurrentMonthUsageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetCurrentMonthUsageResponse.fromBuffer(value)); - static final _$getOrgBillingInformation = $grpc.ClientMethod<$1.GetOrgBillingInformationRequest, $1.GetOrgBillingInformationResponse>( + ($2.GetCurrentMonthUsageRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetCurrentMonthUsageResponse.fromBuffer(value)); + static final _$getOrgBillingInformation = $grpc.ClientMethod<$2.GetOrgBillingInformationRequest, $2.GetOrgBillingInformationResponse>( '/viam.app.v1.BillingService/GetOrgBillingInformation', - ($1.GetOrgBillingInformationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetOrgBillingInformationResponse.fromBuffer(value)); - static final _$getInvoicesSummary = $grpc.ClientMethod<$1.GetInvoicesSummaryRequest, $1.GetInvoicesSummaryResponse>( + ($2.GetOrgBillingInformationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetOrgBillingInformationResponse.fromBuffer(value)); + static final _$getInvoicesSummary = $grpc.ClientMethod<$2.GetInvoicesSummaryRequest, $2.GetInvoicesSummaryResponse>( '/viam.app.v1.BillingService/GetInvoicesSummary', - ($1.GetInvoicesSummaryRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetInvoicesSummaryResponse.fromBuffer(value)); - static final _$getInvoicePdf = $grpc.ClientMethod<$1.GetInvoicePdfRequest, $1.GetInvoicePdfResponse>( + ($2.GetInvoicesSummaryRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetInvoicesSummaryResponse.fromBuffer(value)); + static final _$getInvoicePdf = $grpc.ClientMethod<$2.GetInvoicePdfRequest, $2.GetInvoicePdfResponse>( '/viam.app.v1.BillingService/GetInvoicePdf', - ($1.GetInvoicePdfRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetInvoicePdfResponse.fromBuffer(value)); + ($2.GetInvoicePdfRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetInvoicePdfResponse.fromBuffer(value)); BillingServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -64,39 +64,39 @@ class BillingServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$1.GetCurrentMonthUsageSummaryResponse> getCurrentMonthUsageSummary($1.GetCurrentMonthUsageSummaryRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetCurrentMonthUsageSummaryResponse> getCurrentMonthUsageSummary($2.GetCurrentMonthUsageSummaryRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getCurrentMonthUsageSummary, request, options: options); } - $grpc.ResponseFuture<$1.GetUnpaidBalanceResponse> getUnpaidBalance($1.GetUnpaidBalanceRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetUnpaidBalanceResponse> getUnpaidBalance($2.GetUnpaidBalanceRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getUnpaidBalance, request, options: options); } - $grpc.ResponseFuture<$1.GetInvoiceHistoryResponse> getInvoiceHistory($1.GetInvoiceHistoryRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetInvoiceHistoryResponse> getInvoiceHistory($2.GetInvoiceHistoryRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getInvoiceHistory, request, options: options); } - $grpc.ResponseFuture<$1.GetItemizedInvoiceResponse> getItemizedInvoice($1.GetItemizedInvoiceRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetItemizedInvoiceResponse> getItemizedInvoice($2.GetItemizedInvoiceRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getItemizedInvoice, request, options: options); } - $grpc.ResponseFuture<$1.GetBillingSummaryResponse> getBillingSummary($1.GetBillingSummaryRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetBillingSummaryResponse> getBillingSummary($2.GetBillingSummaryRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getBillingSummary, request, options: options); } - $grpc.ResponseFuture<$1.GetCurrentMonthUsageResponse> getCurrentMonthUsage($1.GetCurrentMonthUsageRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetCurrentMonthUsageResponse> getCurrentMonthUsage($2.GetCurrentMonthUsageRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getCurrentMonthUsage, request, options: options); } - $grpc.ResponseFuture<$1.GetOrgBillingInformationResponse> getOrgBillingInformation($1.GetOrgBillingInformationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetOrgBillingInformationResponse> getOrgBillingInformation($2.GetOrgBillingInformationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getOrgBillingInformation, request, options: options); } - $grpc.ResponseFuture<$1.GetInvoicesSummaryResponse> getInvoicesSummary($1.GetInvoicesSummaryRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetInvoicesSummaryResponse> getInvoicesSummary($2.GetInvoicesSummaryRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getInvoicesSummary, request, options: options); } - $grpc.ResponseStream<$1.GetInvoicePdfResponse> getInvoicePdf($1.GetInvoicePdfRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$2.GetInvoicePdfResponse> getInvoicePdf($2.GetInvoicePdfRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$getInvoicePdf, $async.Stream.fromIterable([request]), options: options); } } @@ -106,114 +106,114 @@ abstract class BillingServiceBase extends $grpc.Service { $core.String get $name => 'viam.app.v1.BillingService'; BillingServiceBase() { - $addMethod($grpc.ServiceMethod<$1.GetCurrentMonthUsageSummaryRequest, $1.GetCurrentMonthUsageSummaryResponse>( + $addMethod($grpc.ServiceMethod<$2.GetCurrentMonthUsageSummaryRequest, $2.GetCurrentMonthUsageSummaryResponse>( 'GetCurrentMonthUsageSummary', getCurrentMonthUsageSummary_Pre, false, false, - ($core.List<$core.int> value) => $1.GetCurrentMonthUsageSummaryRequest.fromBuffer(value), - ($1.GetCurrentMonthUsageSummaryResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetUnpaidBalanceRequest, $1.GetUnpaidBalanceResponse>( + ($core.List<$core.int> value) => $2.GetCurrentMonthUsageSummaryRequest.fromBuffer(value), + ($2.GetCurrentMonthUsageSummaryResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetUnpaidBalanceRequest, $2.GetUnpaidBalanceResponse>( 'GetUnpaidBalance', getUnpaidBalance_Pre, false, false, - ($core.List<$core.int> value) => $1.GetUnpaidBalanceRequest.fromBuffer(value), - ($1.GetUnpaidBalanceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetInvoiceHistoryRequest, $1.GetInvoiceHistoryResponse>( + ($core.List<$core.int> value) => $2.GetUnpaidBalanceRequest.fromBuffer(value), + ($2.GetUnpaidBalanceResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetInvoiceHistoryRequest, $2.GetInvoiceHistoryResponse>( 'GetInvoiceHistory', getInvoiceHistory_Pre, false, false, - ($core.List<$core.int> value) => $1.GetInvoiceHistoryRequest.fromBuffer(value), - ($1.GetInvoiceHistoryResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetItemizedInvoiceRequest, $1.GetItemizedInvoiceResponse>( + ($core.List<$core.int> value) => $2.GetInvoiceHistoryRequest.fromBuffer(value), + ($2.GetInvoiceHistoryResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetItemizedInvoiceRequest, $2.GetItemizedInvoiceResponse>( 'GetItemizedInvoice', getItemizedInvoice_Pre, false, false, - ($core.List<$core.int> value) => $1.GetItemizedInvoiceRequest.fromBuffer(value), - ($1.GetItemizedInvoiceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetBillingSummaryRequest, $1.GetBillingSummaryResponse>( + ($core.List<$core.int> value) => $2.GetItemizedInvoiceRequest.fromBuffer(value), + ($2.GetItemizedInvoiceResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetBillingSummaryRequest, $2.GetBillingSummaryResponse>( 'GetBillingSummary', getBillingSummary_Pre, false, false, - ($core.List<$core.int> value) => $1.GetBillingSummaryRequest.fromBuffer(value), - ($1.GetBillingSummaryResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetCurrentMonthUsageRequest, $1.GetCurrentMonthUsageResponse>( + ($core.List<$core.int> value) => $2.GetBillingSummaryRequest.fromBuffer(value), + ($2.GetBillingSummaryResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetCurrentMonthUsageRequest, $2.GetCurrentMonthUsageResponse>( 'GetCurrentMonthUsage', getCurrentMonthUsage_Pre, false, false, - ($core.List<$core.int> value) => $1.GetCurrentMonthUsageRequest.fromBuffer(value), - ($1.GetCurrentMonthUsageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetOrgBillingInformationRequest, $1.GetOrgBillingInformationResponse>( + ($core.List<$core.int> value) => $2.GetCurrentMonthUsageRequest.fromBuffer(value), + ($2.GetCurrentMonthUsageResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetOrgBillingInformationRequest, $2.GetOrgBillingInformationResponse>( 'GetOrgBillingInformation', getOrgBillingInformation_Pre, false, false, - ($core.List<$core.int> value) => $1.GetOrgBillingInformationRequest.fromBuffer(value), - ($1.GetOrgBillingInformationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetInvoicesSummaryRequest, $1.GetInvoicesSummaryResponse>( + ($core.List<$core.int> value) => $2.GetOrgBillingInformationRequest.fromBuffer(value), + ($2.GetOrgBillingInformationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetInvoicesSummaryRequest, $2.GetInvoicesSummaryResponse>( 'GetInvoicesSummary', getInvoicesSummary_Pre, false, false, - ($core.List<$core.int> value) => $1.GetInvoicesSummaryRequest.fromBuffer(value), - ($1.GetInvoicesSummaryResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetInvoicePdfRequest, $1.GetInvoicePdfResponse>( + ($core.List<$core.int> value) => $2.GetInvoicesSummaryRequest.fromBuffer(value), + ($2.GetInvoicesSummaryResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetInvoicePdfRequest, $2.GetInvoicePdfResponse>( 'GetInvoicePdf', getInvoicePdf_Pre, false, true, - ($core.List<$core.int> value) => $1.GetInvoicePdfRequest.fromBuffer(value), - ($1.GetInvoicePdfResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $2.GetInvoicePdfRequest.fromBuffer(value), + ($2.GetInvoicePdfResponse value) => value.writeToBuffer())); } - $async.Future<$1.GetCurrentMonthUsageSummaryResponse> getCurrentMonthUsageSummary_Pre($grpc.ServiceCall call, $async.Future<$1.GetCurrentMonthUsageSummaryRequest> request) async { + $async.Future<$2.GetCurrentMonthUsageSummaryResponse> getCurrentMonthUsageSummary_Pre($grpc.ServiceCall call, $async.Future<$2.GetCurrentMonthUsageSummaryRequest> request) async { return getCurrentMonthUsageSummary(call, await request); } - $async.Future<$1.GetUnpaidBalanceResponse> getUnpaidBalance_Pre($grpc.ServiceCall call, $async.Future<$1.GetUnpaidBalanceRequest> request) async { + $async.Future<$2.GetUnpaidBalanceResponse> getUnpaidBalance_Pre($grpc.ServiceCall call, $async.Future<$2.GetUnpaidBalanceRequest> request) async { return getUnpaidBalance(call, await request); } - $async.Future<$1.GetInvoiceHistoryResponse> getInvoiceHistory_Pre($grpc.ServiceCall call, $async.Future<$1.GetInvoiceHistoryRequest> request) async { + $async.Future<$2.GetInvoiceHistoryResponse> getInvoiceHistory_Pre($grpc.ServiceCall call, $async.Future<$2.GetInvoiceHistoryRequest> request) async { return getInvoiceHistory(call, await request); } - $async.Future<$1.GetItemizedInvoiceResponse> getItemizedInvoice_Pre($grpc.ServiceCall call, $async.Future<$1.GetItemizedInvoiceRequest> request) async { + $async.Future<$2.GetItemizedInvoiceResponse> getItemizedInvoice_Pre($grpc.ServiceCall call, $async.Future<$2.GetItemizedInvoiceRequest> request) async { return getItemizedInvoice(call, await request); } - $async.Future<$1.GetBillingSummaryResponse> getBillingSummary_Pre($grpc.ServiceCall call, $async.Future<$1.GetBillingSummaryRequest> request) async { + $async.Future<$2.GetBillingSummaryResponse> getBillingSummary_Pre($grpc.ServiceCall call, $async.Future<$2.GetBillingSummaryRequest> request) async { return getBillingSummary(call, await request); } - $async.Future<$1.GetCurrentMonthUsageResponse> getCurrentMonthUsage_Pre($grpc.ServiceCall call, $async.Future<$1.GetCurrentMonthUsageRequest> request) async { + $async.Future<$2.GetCurrentMonthUsageResponse> getCurrentMonthUsage_Pre($grpc.ServiceCall call, $async.Future<$2.GetCurrentMonthUsageRequest> request) async { return getCurrentMonthUsage(call, await request); } - $async.Future<$1.GetOrgBillingInformationResponse> getOrgBillingInformation_Pre($grpc.ServiceCall call, $async.Future<$1.GetOrgBillingInformationRequest> request) async { + $async.Future<$2.GetOrgBillingInformationResponse> getOrgBillingInformation_Pre($grpc.ServiceCall call, $async.Future<$2.GetOrgBillingInformationRequest> request) async { return getOrgBillingInformation(call, await request); } - $async.Future<$1.GetInvoicesSummaryResponse> getInvoicesSummary_Pre($grpc.ServiceCall call, $async.Future<$1.GetInvoicesSummaryRequest> request) async { + $async.Future<$2.GetInvoicesSummaryResponse> getInvoicesSummary_Pre($grpc.ServiceCall call, $async.Future<$2.GetInvoicesSummaryRequest> request) async { return getInvoicesSummary(call, await request); } - $async.Stream<$1.GetInvoicePdfResponse> getInvoicePdf_Pre($grpc.ServiceCall call, $async.Future<$1.GetInvoicePdfRequest> request) async* { + $async.Stream<$2.GetInvoicePdfResponse> getInvoicePdf_Pre($grpc.ServiceCall call, $async.Future<$2.GetInvoicePdfRequest> request) async* { yield* getInvoicePdf(call, await request); } - $async.Future<$1.GetCurrentMonthUsageSummaryResponse> getCurrentMonthUsageSummary($grpc.ServiceCall call, $1.GetCurrentMonthUsageSummaryRequest request); - $async.Future<$1.GetUnpaidBalanceResponse> getUnpaidBalance($grpc.ServiceCall call, $1.GetUnpaidBalanceRequest request); - $async.Future<$1.GetInvoiceHistoryResponse> getInvoiceHistory($grpc.ServiceCall call, $1.GetInvoiceHistoryRequest request); - $async.Future<$1.GetItemizedInvoiceResponse> getItemizedInvoice($grpc.ServiceCall call, $1.GetItemizedInvoiceRequest request); - $async.Future<$1.GetBillingSummaryResponse> getBillingSummary($grpc.ServiceCall call, $1.GetBillingSummaryRequest request); - $async.Future<$1.GetCurrentMonthUsageResponse> getCurrentMonthUsage($grpc.ServiceCall call, $1.GetCurrentMonthUsageRequest request); - $async.Future<$1.GetOrgBillingInformationResponse> getOrgBillingInformation($grpc.ServiceCall call, $1.GetOrgBillingInformationRequest request); - $async.Future<$1.GetInvoicesSummaryResponse> getInvoicesSummary($grpc.ServiceCall call, $1.GetInvoicesSummaryRequest request); - $async.Stream<$1.GetInvoicePdfResponse> getInvoicePdf($grpc.ServiceCall call, $1.GetInvoicePdfRequest request); + $async.Future<$2.GetCurrentMonthUsageSummaryResponse> getCurrentMonthUsageSummary($grpc.ServiceCall call, $2.GetCurrentMonthUsageSummaryRequest request); + $async.Future<$2.GetUnpaidBalanceResponse> getUnpaidBalance($grpc.ServiceCall call, $2.GetUnpaidBalanceRequest request); + $async.Future<$2.GetInvoiceHistoryResponse> getInvoiceHistory($grpc.ServiceCall call, $2.GetInvoiceHistoryRequest request); + $async.Future<$2.GetItemizedInvoiceResponse> getItemizedInvoice($grpc.ServiceCall call, $2.GetItemizedInvoiceRequest request); + $async.Future<$2.GetBillingSummaryResponse> getBillingSummary($grpc.ServiceCall call, $2.GetBillingSummaryRequest request); + $async.Future<$2.GetCurrentMonthUsageResponse> getCurrentMonthUsage($grpc.ServiceCall call, $2.GetCurrentMonthUsageRequest request); + $async.Future<$2.GetOrgBillingInformationResponse> getOrgBillingInformation($grpc.ServiceCall call, $2.GetOrgBillingInformationRequest request); + $async.Future<$2.GetInvoicesSummaryResponse> getInvoicesSummary($grpc.ServiceCall call, $2.GetInvoicesSummaryRequest request); + $async.Stream<$2.GetInvoicePdfResponse> getInvoicePdf($grpc.ServiceCall call, $2.GetInvoicePdfRequest request); } diff --git a/lib/src/gen/app/v1/end_user.pbgrpc.dart b/lib/src/gen/app/v1/end_user.pbgrpc.dart index 6998a0a69d..29f5aa48bf 100644 --- a/lib/src/gen/app/v1/end_user.pbgrpc.dart +++ b/lib/src/gen/app/v1/end_user.pbgrpc.dart @@ -15,20 +15,20 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import 'end_user.pb.dart' as $2; +import 'end_user.pb.dart' as $3; export 'end_user.pb.dart'; @$pb.GrpcServiceName('viam.app.v1.EndUserService') class EndUserServiceClient extends $grpc.Client { - static final _$isLegalAccepted = $grpc.ClientMethod<$2.IsLegalAcceptedRequest, $2.IsLegalAcceptedResponse>( + static final _$isLegalAccepted = $grpc.ClientMethod<$3.IsLegalAcceptedRequest, $3.IsLegalAcceptedResponse>( '/viam.app.v1.EndUserService/IsLegalAccepted', - ($2.IsLegalAcceptedRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.IsLegalAcceptedResponse.fromBuffer(value)); - static final _$acceptLegal = $grpc.ClientMethod<$2.AcceptLegalRequest, $2.AcceptLegalResponse>( + ($3.IsLegalAcceptedRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $3.IsLegalAcceptedResponse.fromBuffer(value)); + static final _$acceptLegal = $grpc.ClientMethod<$3.AcceptLegalRequest, $3.AcceptLegalResponse>( '/viam.app.v1.EndUserService/AcceptLegal', - ($2.AcceptLegalRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.AcceptLegalResponse.fromBuffer(value)); + ($3.AcceptLegalRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $3.AcceptLegalResponse.fromBuffer(value)); EndUserServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -36,11 +36,11 @@ class EndUserServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$2.IsLegalAcceptedResponse> isLegalAccepted($2.IsLegalAcceptedRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$3.IsLegalAcceptedResponse> isLegalAccepted($3.IsLegalAcceptedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$isLegalAccepted, request, options: options); } - $grpc.ResponseFuture<$2.AcceptLegalResponse> acceptLegal($2.AcceptLegalRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$3.AcceptLegalResponse> acceptLegal($3.AcceptLegalRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$acceptLegal, request, options: options); } } @@ -50,30 +50,30 @@ abstract class EndUserServiceBase extends $grpc.Service { $core.String get $name => 'viam.app.v1.EndUserService'; EndUserServiceBase() { - $addMethod($grpc.ServiceMethod<$2.IsLegalAcceptedRequest, $2.IsLegalAcceptedResponse>( + $addMethod($grpc.ServiceMethod<$3.IsLegalAcceptedRequest, $3.IsLegalAcceptedResponse>( 'IsLegalAccepted', isLegalAccepted_Pre, false, false, - ($core.List<$core.int> value) => $2.IsLegalAcceptedRequest.fromBuffer(value), - ($2.IsLegalAcceptedResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$2.AcceptLegalRequest, $2.AcceptLegalResponse>( + ($core.List<$core.int> value) => $3.IsLegalAcceptedRequest.fromBuffer(value), + ($3.IsLegalAcceptedResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$3.AcceptLegalRequest, $3.AcceptLegalResponse>( 'AcceptLegal', acceptLegal_Pre, false, false, - ($core.List<$core.int> value) => $2.AcceptLegalRequest.fromBuffer(value), - ($2.AcceptLegalResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $3.AcceptLegalRequest.fromBuffer(value), + ($3.AcceptLegalResponse value) => value.writeToBuffer())); } - $async.Future<$2.IsLegalAcceptedResponse> isLegalAccepted_Pre($grpc.ServiceCall call, $async.Future<$2.IsLegalAcceptedRequest> request) async { + $async.Future<$3.IsLegalAcceptedResponse> isLegalAccepted_Pre($grpc.ServiceCall call, $async.Future<$3.IsLegalAcceptedRequest> request) async { return isLegalAccepted(call, await request); } - $async.Future<$2.AcceptLegalResponse> acceptLegal_Pre($grpc.ServiceCall call, $async.Future<$2.AcceptLegalRequest> request) async { + $async.Future<$3.AcceptLegalResponse> acceptLegal_Pre($grpc.ServiceCall call, $async.Future<$3.AcceptLegalRequest> request) async { return acceptLegal(call, await request); } - $async.Future<$2.IsLegalAcceptedResponse> isLegalAccepted($grpc.ServiceCall call, $2.IsLegalAcceptedRequest request); - $async.Future<$2.AcceptLegalResponse> acceptLegal($grpc.ServiceCall call, $2.AcceptLegalRequest request); + $async.Future<$3.IsLegalAcceptedResponse> isLegalAccepted($grpc.ServiceCall call, $3.IsLegalAcceptedRequest request); + $async.Future<$3.AcceptLegalResponse> acceptLegal($grpc.ServiceCall call, $3.AcceptLegalRequest request); } diff --git a/lib/src/gen/app/v1/robot.pb.dart b/lib/src/gen/app/v1/robot.pb.dart index 1e30da6671..401bfcc88b 100644 --- a/lib/src/gen/app/v1/robot.pb.dart +++ b/lib/src/gen/app/v1/robot.pb.dart @@ -13,10 +13,10 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../common/v1/common.pb.dart' as $7; -import '../../google/protobuf/duration.pb.dart' as $6; -import '../../google/protobuf/struct.pb.dart' as $5; -import 'app.pb.dart' as $0; +import '../../common/v1/common.pb.dart' as $8; +import '../../google/protobuf/duration.pb.dart' as $7; +import '../../google/protobuf/struct.pb.dart' as $6; +import 'app.pb.dart' as $1; import 'robot.pbenum.dart'; export 'robot.pbenum.dart'; @@ -473,8 +473,9 @@ class ComponentConfig extends $pb.GeneratedMessage { Frame? frame, $core.Iterable<$core.String>? dependsOn, $core.Iterable? serviceConfigs, - $5.Struct? attributes, + $6.Struct? attributes, $core.String? api, + LogConfiguration? logConfiguration, }) { final $result = create(); if (name != null) { @@ -504,6 +505,9 @@ class ComponentConfig extends $pb.GeneratedMessage { if (api != null) { $result.api = api; } + if (logConfiguration != null) { + $result.logConfiguration = logConfiguration; + } return $result; } ComponentConfig._() : super(); @@ -518,8 +522,9 @@ class ComponentConfig extends $pb.GeneratedMessage { ..aOM(5, _omitFieldNames ? '' : 'frame', subBuilder: Frame.create) ..pPS(6, _omitFieldNames ? '' : 'dependsOn') ..pc(7, _omitFieldNames ? '' : 'serviceConfigs', $pb.PbFieldType.PM, subBuilder: ResourceLevelServiceConfig.create) - ..aOM<$5.Struct>(8, _omitFieldNames ? '' : 'attributes', subBuilder: $5.Struct.create) + ..aOM<$6.Struct>(8, _omitFieldNames ? '' : 'attributes', subBuilder: $6.Struct.create) ..aOS(9, _omitFieldNames ? '' : 'api') + ..aOM(10, _omitFieldNames ? '' : 'logConfiguration', subBuilder: LogConfiguration.create) ..hasRequiredFields = false ; @@ -598,15 +603,15 @@ class ComponentConfig extends $pb.GeneratedMessage { $core.List get serviceConfigs => $_getList(6); @$pb.TagNumber(8) - $5.Struct get attributes => $_getN(7); + $6.Struct get attributes => $_getN(7); @$pb.TagNumber(8) - set attributes($5.Struct v) { setField(8, v); } + set attributes($6.Struct v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasAttributes() => $_has(7); @$pb.TagNumber(8) void clearAttributes() => clearField(8); @$pb.TagNumber(8) - $5.Struct ensureAttributes() => $_ensure(7); + $6.Struct ensureAttributes() => $_ensure(7); @$pb.TagNumber(9) $core.String get api => $_getSZ(8); @@ -616,13 +621,24 @@ class ComponentConfig extends $pb.GeneratedMessage { $core.bool hasApi() => $_has(8); @$pb.TagNumber(9) void clearApi() => clearField(9); + + @$pb.TagNumber(10) + LogConfiguration get logConfiguration => $_getN(9); + @$pb.TagNumber(10) + set logConfiguration(LogConfiguration v) { setField(10, v); } + @$pb.TagNumber(10) + $core.bool hasLogConfiguration() => $_has(9); + @$pb.TagNumber(10) + void clearLogConfiguration() => clearField(10); + @$pb.TagNumber(10) + LogConfiguration ensureLogConfiguration() => $_ensure(9); } /// A ResourceLevelServiceConfig describes component or remote configuration for a service. class ResourceLevelServiceConfig extends $pb.GeneratedMessage { factory ResourceLevelServiceConfig({ $core.String? type, - $5.Struct? attributes, + $6.Struct? attributes, }) { final $result = create(); if (type != null) { @@ -639,7 +655,7 @@ class ResourceLevelServiceConfig extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceLevelServiceConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'type') - ..aOM<$5.Struct>(2, _omitFieldNames ? '' : 'attributes', subBuilder: $5.Struct.create) + ..aOM<$6.Struct>(2, _omitFieldNames ? '' : 'attributes', subBuilder: $6.Struct.create) ..hasRequiredFields = false ; @@ -675,15 +691,15 @@ class ResourceLevelServiceConfig extends $pb.GeneratedMessage { /// TODO(adam): Should this be move to a structured type as defined in the typescript frontend. @$pb.TagNumber(2) - $5.Struct get attributes => $_getN(1); + $6.Struct get attributes => $_getN(1); @$pb.TagNumber(2) - set attributes($5.Struct v) { setField(2, v); } + set attributes($6.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasAttributes() => $_has(1); @$pb.TagNumber(2) void clearAttributes() => clearField(2); @$pb.TagNumber(2) - $5.Struct ensureAttributes() => $_ensure(1); + $6.Struct ensureAttributes() => $_ensure(1); } /// A ProcessConfig describes how to manage a system process. @@ -696,7 +712,7 @@ class ProcessConfig extends $pb.GeneratedMessage { $core.bool? oneShot, $core.bool? log, $core.int? stopSignal, - $6.Duration? stopTimeout, + $7.Duration? stopTimeout, $core.Map<$core.String, $core.String>? env, }) { final $result = create(); @@ -741,7 +757,7 @@ class ProcessConfig extends $pb.GeneratedMessage { ..aOB(5, _omitFieldNames ? '' : 'oneShot') ..aOB(6, _omitFieldNames ? '' : 'log') ..a<$core.int>(7, _omitFieldNames ? '' : 'stopSignal', $pb.PbFieldType.O3) - ..aOM<$6.Duration>(8, _omitFieldNames ? '' : 'stopTimeout', subBuilder: $6.Duration.create) + ..aOM<$7.Duration>(8, _omitFieldNames ? '' : 'stopTimeout', subBuilder: $7.Duration.create) ..m<$core.String, $core.String>(9, _omitFieldNames ? '' : 'env', entryClassName: 'ProcessConfig.EnvEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('viam.app.v1')) ..hasRequiredFields = false ; @@ -825,15 +841,15 @@ class ProcessConfig extends $pb.GeneratedMessage { void clearStopSignal() => clearField(7); @$pb.TagNumber(8) - $6.Duration get stopTimeout => $_getN(7); + $7.Duration get stopTimeout => $_getN(7); @$pb.TagNumber(8) - set stopTimeout($6.Duration v) { setField(8, v); } + set stopTimeout($7.Duration v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasStopTimeout() => $_has(7); @$pb.TagNumber(8) void clearStopTimeout() => clearField(8); @$pb.TagNumber(8) - $6.Duration ensureStopTimeout() => $_ensure(7); + $7.Duration ensureStopTimeout() => $_ensure(7); /// additional environment variables passed to the process @$pb.TagNumber(9) @@ -845,7 +861,7 @@ class ServiceConfig extends $pb.GeneratedMessage { $core.String? name, $core.String? namespace, $core.String? type, - $5.Struct? attributes, + $6.Struct? attributes, $core.Iterable<$core.String>? dependsOn, $core.String? model, $core.String? api, @@ -886,7 +902,7 @@ class ServiceConfig extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'namespace') ..aOS(3, _omitFieldNames ? '' : 'type') - ..aOM<$5.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $5.Struct.create) + ..aOM<$6.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $6.Struct.create) ..pPS(5, _omitFieldNames ? '' : 'dependsOn') ..aOS(6, _omitFieldNames ? '' : 'model') ..aOS(9, _omitFieldNames ? '' : 'api') @@ -943,15 +959,15 @@ class ServiceConfig extends $pb.GeneratedMessage { void clearType() => clearField(3); @$pb.TagNumber(4) - $5.Struct get attributes => $_getN(3); + $6.Struct get attributes => $_getN(3); @$pb.TagNumber(4) - set attributes($5.Struct v) { setField(4, v); } + set attributes($6.Struct v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasAttributes() => $_has(3); @$pb.TagNumber(4) void clearAttributes() => clearField(4); @$pb.TagNumber(4) - $5.Struct ensureAttributes() => $_ensure(3); + $6.Struct ensureAttributes() => $_ensure(3); @$pb.TagNumber(5) $core.List<$core.String> get dependsOn => $_getList(4); @@ -1088,7 +1104,7 @@ class NetworkConfig extends $pb.GeneratedMessage { class SessionsConfig extends $pb.GeneratedMessage { factory SessionsConfig({ - $6.Duration? heartbeatWindow, + $7.Duration? heartbeatWindow, }) { final $result = create(); if (heartbeatWindow != null) { @@ -1101,7 +1117,7 @@ class SessionsConfig extends $pb.GeneratedMessage { factory SessionsConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SessionsConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM<$6.Duration>(1, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $6.Duration.create) + ..aOM<$7.Duration>(1, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $7.Duration.create) ..hasRequiredFields = false ; @@ -1127,15 +1143,15 @@ class SessionsConfig extends $pb.GeneratedMessage { static SessionsConfig? _defaultInstance; @$pb.TagNumber(1) - $6.Duration get heartbeatWindow => $_getN(0); + $7.Duration get heartbeatWindow => $_getN(0); @$pb.TagNumber(1) - set heartbeatWindow($6.Duration v) { setField(1, v); } + set heartbeatWindow($7.Duration v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasHeartbeatWindow() => $_has(0); @$pb.TagNumber(1) void clearHeartbeatWindow() => clearField(1); @$pb.TagNumber(1) - $6.Duration ensureHeartbeatWindow() => $_ensure(0); + $7.Duration ensureHeartbeatWindow() => $_ensure(0); } class AuthConfig extends $pb.GeneratedMessage { @@ -1208,7 +1224,7 @@ class AuthConfig extends $pb.GeneratedMessage { class JWKSFile extends $pb.GeneratedMessage { factory JWKSFile({ - $5.Struct? json, + $6.Struct? json, }) { final $result = create(); if (json != null) { @@ -1221,7 +1237,7 @@ class JWKSFile extends $pb.GeneratedMessage { factory JWKSFile.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'JWKSFile', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM<$5.Struct>(1, _omitFieldNames ? '' : 'json', subBuilder: $5.Struct.create) + ..aOM<$6.Struct>(1, _omitFieldNames ? '' : 'json', subBuilder: $6.Struct.create) ..hasRequiredFields = false ; @@ -1249,15 +1265,15 @@ class JWKSFile extends $pb.GeneratedMessage { /// JSON Web Keys (JWKS) file as arbitary json. /// See https://www.rfc-editor.org/rfc/rfc7517 @$pb.TagNumber(1) - $5.Struct get json => $_getN(0); + $6.Struct get json => $_getN(0); @$pb.TagNumber(1) - set json($5.Struct v) { setField(1, v); } + set json($6.Struct v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasJson() => $_has(0); @$pb.TagNumber(1) void clearJson() => clearField(1); @$pb.TagNumber(1) - $5.Struct ensureJson() => $_ensure(0); + $6.Struct ensureJson() => $_ensure(0); } /// ExternalAuthConfig describes how a viam managed robot can accept @@ -1317,7 +1333,7 @@ class ExternalAuthConfig extends $pb.GeneratedMessage { class AuthHandlerConfig extends $pb.GeneratedMessage { factory AuthHandlerConfig({ CredentialsType? type, - $5.Struct? config, + $6.Struct? config, }) { final $result = create(); if (type != null) { @@ -1334,7 +1350,7 @@ class AuthHandlerConfig extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AuthHandlerConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..e(1, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: CredentialsType.CREDENTIALS_TYPE_UNSPECIFIED, valueOf: CredentialsType.valueOf, enumValues: CredentialsType.values) - ..aOM<$5.Struct>(5, _omitFieldNames ? '' : 'config', subBuilder: $5.Struct.create) + ..aOM<$6.Struct>(5, _omitFieldNames ? '' : 'config', subBuilder: $6.Struct.create) ..hasRequiredFields = false ; @@ -1369,15 +1385,15 @@ class AuthHandlerConfig extends $pb.GeneratedMessage { void clearType() => clearField(1); @$pb.TagNumber(5) - $5.Struct get config => $_getN(1); + $6.Struct get config => $_getN(1); @$pb.TagNumber(5) - set config($5.Struct v) { setField(5, v); } + set config($6.Struct v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasConfig() => $_has(1); @$pb.TagNumber(5) void clearConfig() => clearField(5); @$pb.TagNumber(5) - $5.Struct ensureConfig() => $_ensure(1); + $6.Struct ensureConfig() => $_ensure(1); } class Frame extends $pb.GeneratedMessage { @@ -1385,7 +1401,7 @@ class Frame extends $pb.GeneratedMessage { $core.String? parent, Translation? translation, Orientation? orientation, - $7.Geometry? geometry, + $8.Geometry? geometry, }) { final $result = create(); if (parent != null) { @@ -1410,7 +1426,7 @@ class Frame extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'parent') ..aOM(2, _omitFieldNames ? '' : 'translation', subBuilder: Translation.create) ..aOM(3, _omitFieldNames ? '' : 'orientation', subBuilder: Orientation.create) - ..aOM<$7.Geometry>(4, _omitFieldNames ? '' : 'geometry', subBuilder: $7.Geometry.create) + ..aOM<$8.Geometry>(4, _omitFieldNames ? '' : 'geometry', subBuilder: $8.Geometry.create) ..hasRequiredFields = false ; @@ -1467,15 +1483,65 @@ class Frame extends $pb.GeneratedMessage { Orientation ensureOrientation() => $_ensure(2); @$pb.TagNumber(4) - $7.Geometry get geometry => $_getN(3); + $8.Geometry get geometry => $_getN(3); @$pb.TagNumber(4) - set geometry($7.Geometry v) { setField(4, v); } + set geometry($8.Geometry v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasGeometry() => $_has(3); @$pb.TagNumber(4) void clearGeometry() => clearField(4); @$pb.TagNumber(4) - $7.Geometry ensureGeometry() => $_ensure(3); + $8.Geometry ensureGeometry() => $_ensure(3); +} + +class LogConfiguration extends $pb.GeneratedMessage { + factory LogConfiguration({ + $core.String? level, + }) { + final $result = create(); + if (level != null) { + $result.level = level; + } + return $result; + } + LogConfiguration._() : super(); + factory LogConfiguration.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory LogConfiguration.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LogConfiguration', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'level') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + LogConfiguration clone() => LogConfiguration()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LogConfiguration copyWith(void Function(LogConfiguration) updates) => super.copyWith((message) => updates(message as LogConfiguration)) as LogConfiguration; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static LogConfiguration create() => LogConfiguration._(); + LogConfiguration createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static LogConfiguration getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static LogConfiguration? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get level => $_getSZ(0); + @$pb.TagNumber(1) + set level($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasLevel() => $_has(0); + @$pb.TagNumber(1) + void clearLevel() => clearField(1); } class Translation extends $pb.GeneratedMessage { @@ -2222,8 +2288,8 @@ class RemoteConfig extends $pb.GeneratedMessage { RemoteAuth? auth, $core.String? managedBy, $core.bool? insecure, - $6.Duration? connectionCheckInterval, - $6.Duration? reconnectInterval, + $7.Duration? connectionCheckInterval, + $7.Duration? reconnectInterval, $core.Iterable? serviceConfigs, $core.String? secret, }) { @@ -2271,8 +2337,8 @@ class RemoteConfig extends $pb.GeneratedMessage { ..aOM(4, _omitFieldNames ? '' : 'auth', subBuilder: RemoteAuth.create) ..aOS(5, _omitFieldNames ? '' : 'managedBy') ..aOB(6, _omitFieldNames ? '' : 'insecure') - ..aOM<$6.Duration>(7, _omitFieldNames ? '' : 'connectionCheckInterval', subBuilder: $6.Duration.create) - ..aOM<$6.Duration>(8, _omitFieldNames ? '' : 'reconnectInterval', subBuilder: $6.Duration.create) + ..aOM<$7.Duration>(7, _omitFieldNames ? '' : 'connectionCheckInterval', subBuilder: $7.Duration.create) + ..aOM<$7.Duration>(8, _omitFieldNames ? '' : 'reconnectInterval', subBuilder: $7.Duration.create) ..pc(9, _omitFieldNames ? '' : 'serviceConfigs', $pb.PbFieldType.PM, subBuilder: ResourceLevelServiceConfig.create) ..aOS(10, _omitFieldNames ? '' : 'secret') ..hasRequiredFields = false @@ -2358,26 +2424,26 @@ class RemoteConfig extends $pb.GeneratedMessage { void clearInsecure() => clearField(6); @$pb.TagNumber(7) - $6.Duration get connectionCheckInterval => $_getN(6); + $7.Duration get connectionCheckInterval => $_getN(6); @$pb.TagNumber(7) - set connectionCheckInterval($6.Duration v) { setField(7, v); } + set connectionCheckInterval($7.Duration v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasConnectionCheckInterval() => $_has(6); @$pb.TagNumber(7) void clearConnectionCheckInterval() => clearField(7); @$pb.TagNumber(7) - $6.Duration ensureConnectionCheckInterval() => $_ensure(6); + $7.Duration ensureConnectionCheckInterval() => $_ensure(6); @$pb.TagNumber(8) - $6.Duration get reconnectInterval => $_getN(7); + $7.Duration get reconnectInterval => $_getN(7); @$pb.TagNumber(8) - set reconnectInterval($6.Duration v) { setField(8, v); } + set reconnectInterval($7.Duration v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasReconnectInterval() => $_has(7); @$pb.TagNumber(8) void clearReconnectInterval() => clearField(8); @$pb.TagNumber(8) - $6.Duration ensureReconnectInterval() => $_ensure(7); + $7.Duration ensureReconnectInterval() => $_ensure(7); @$pb.TagNumber(9) $core.List get serviceConfigs => $_getList(8); @@ -2898,7 +2964,7 @@ class CertificateResponse extends $pb.GeneratedMessage { class LogRequest extends $pb.GeneratedMessage { factory LogRequest({ $core.String? id, - $core.Iterable<$0.LogEntry>? logs, + $core.Iterable<$1.LogEntry>? logs, }) { final $result = create(); if (id != null) { @@ -2915,7 +2981,7 @@ class LogRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LogRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') - ..pc<$0.LogEntry>(2, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $0.LogEntry.create) + ..pc<$1.LogEntry>(2, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $1.LogEntry.create) ..hasRequiredFields = false ; @@ -2951,7 +3017,7 @@ class LogRequest extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $core.List<$0.LogEntry> get logs => $_getList(1); + $core.List<$1.LogEntry> get logs => $_getList(1); } class LogResponse extends $pb.GeneratedMessage { @@ -3041,7 +3107,7 @@ class NeedsRestartResponse extends $pb.GeneratedMessage { factory NeedsRestartResponse({ $core.String? id, $core.bool? mustRestart, - $6.Duration? restartCheckInterval, + $7.Duration? restartCheckInterval, }) { final $result = create(); if (id != null) { @@ -3062,7 +3128,7 @@ class NeedsRestartResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'NeedsRestartResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOB(2, _omitFieldNames ? '' : 'mustRestart') - ..aOM<$6.Duration>(3, _omitFieldNames ? '' : 'restartCheckInterval', subBuilder: $6.Duration.create) + ..aOM<$7.Duration>(3, _omitFieldNames ? '' : 'restartCheckInterval', subBuilder: $7.Duration.create) ..hasRequiredFields = false ; @@ -3107,15 +3173,15 @@ class NeedsRestartResponse extends $pb.GeneratedMessage { void clearMustRestart() => clearField(2); @$pb.TagNumber(3) - $6.Duration get restartCheckInterval => $_getN(2); + $7.Duration get restartCheckInterval => $_getN(2); @$pb.TagNumber(3) - set restartCheckInterval($6.Duration v) { setField(3, v); } + set restartCheckInterval($7.Duration v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasRestartCheckInterval() => $_has(2); @$pb.TagNumber(3) void clearRestartCheckInterval() => clearField(3); @$pb.TagNumber(3) - $6.Duration ensureRestartCheckInterval() => $_ensure(2); + $7.Duration ensureRestartCheckInterval() => $_ensure(2); } /// ModuleConfig is the configuration for a module. diff --git a/lib/src/gen/app/v1/robot.pbgrpc.dart b/lib/src/gen/app/v1/robot.pbgrpc.dart index aafa592a1e..32f1f54796 100644 --- a/lib/src/gen/app/v1/robot.pbgrpc.dart +++ b/lib/src/gen/app/v1/robot.pbgrpc.dart @@ -15,28 +15,28 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import 'robot.pb.dart' as $3; +import 'robot.pb.dart' as $4; export 'robot.pb.dart'; @$pb.GrpcServiceName('viam.app.v1.RobotService') class RobotServiceClient extends $grpc.Client { - static final _$config = $grpc.ClientMethod<$3.ConfigRequest, $3.ConfigResponse>( + static final _$config = $grpc.ClientMethod<$4.ConfigRequest, $4.ConfigResponse>( '/viam.app.v1.RobotService/Config', - ($3.ConfigRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.ConfigResponse.fromBuffer(value)); - static final _$certificate = $grpc.ClientMethod<$3.CertificateRequest, $3.CertificateResponse>( + ($4.ConfigRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $4.ConfigResponse.fromBuffer(value)); + static final _$certificate = $grpc.ClientMethod<$4.CertificateRequest, $4.CertificateResponse>( '/viam.app.v1.RobotService/Certificate', - ($3.CertificateRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.CertificateResponse.fromBuffer(value)); - static final _$log = $grpc.ClientMethod<$3.LogRequest, $3.LogResponse>( + ($4.CertificateRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $4.CertificateResponse.fromBuffer(value)); + static final _$log = $grpc.ClientMethod<$4.LogRequest, $4.LogResponse>( '/viam.app.v1.RobotService/Log', - ($3.LogRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.LogResponse.fromBuffer(value)); - static final _$needsRestart = $grpc.ClientMethod<$3.NeedsRestartRequest, $3.NeedsRestartResponse>( + ($4.LogRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $4.LogResponse.fromBuffer(value)); + static final _$needsRestart = $grpc.ClientMethod<$4.NeedsRestartRequest, $4.NeedsRestartResponse>( '/viam.app.v1.RobotService/NeedsRestart', - ($3.NeedsRestartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.NeedsRestartResponse.fromBuffer(value)); + ($4.NeedsRestartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $4.NeedsRestartResponse.fromBuffer(value)); RobotServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -44,19 +44,19 @@ class RobotServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$3.ConfigResponse> config($3.ConfigRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$4.ConfigResponse> config($4.ConfigRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$config, request, options: options); } - $grpc.ResponseFuture<$3.CertificateResponse> certificate($3.CertificateRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$4.CertificateResponse> certificate($4.CertificateRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$certificate, request, options: options); } - $grpc.ResponseFuture<$3.LogResponse> log($3.LogRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$4.LogResponse> log($4.LogRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$log, request, options: options); } - $grpc.ResponseFuture<$3.NeedsRestartResponse> needsRestart($3.NeedsRestartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$4.NeedsRestartResponse> needsRestart($4.NeedsRestartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$needsRestart, request, options: options); } } @@ -66,54 +66,54 @@ abstract class RobotServiceBase extends $grpc.Service { $core.String get $name => 'viam.app.v1.RobotService'; RobotServiceBase() { - $addMethod($grpc.ServiceMethod<$3.ConfigRequest, $3.ConfigResponse>( + $addMethod($grpc.ServiceMethod<$4.ConfigRequest, $4.ConfigResponse>( 'Config', config_Pre, false, false, - ($core.List<$core.int> value) => $3.ConfigRequest.fromBuffer(value), - ($3.ConfigResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.CertificateRequest, $3.CertificateResponse>( + ($core.List<$core.int> value) => $4.ConfigRequest.fromBuffer(value), + ($4.ConfigResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$4.CertificateRequest, $4.CertificateResponse>( 'Certificate', certificate_Pre, false, false, - ($core.List<$core.int> value) => $3.CertificateRequest.fromBuffer(value), - ($3.CertificateResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.LogRequest, $3.LogResponse>( + ($core.List<$core.int> value) => $4.CertificateRequest.fromBuffer(value), + ($4.CertificateResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$4.LogRequest, $4.LogResponse>( 'Log', log_Pre, false, false, - ($core.List<$core.int> value) => $3.LogRequest.fromBuffer(value), - ($3.LogResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.NeedsRestartRequest, $3.NeedsRestartResponse>( + ($core.List<$core.int> value) => $4.LogRequest.fromBuffer(value), + ($4.LogResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$4.NeedsRestartRequest, $4.NeedsRestartResponse>( 'NeedsRestart', needsRestart_Pre, false, false, - ($core.List<$core.int> value) => $3.NeedsRestartRequest.fromBuffer(value), - ($3.NeedsRestartResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $4.NeedsRestartRequest.fromBuffer(value), + ($4.NeedsRestartResponse value) => value.writeToBuffer())); } - $async.Future<$3.ConfigResponse> config_Pre($grpc.ServiceCall call, $async.Future<$3.ConfigRequest> request) async { + $async.Future<$4.ConfigResponse> config_Pre($grpc.ServiceCall call, $async.Future<$4.ConfigRequest> request) async { return config(call, await request); } - $async.Future<$3.CertificateResponse> certificate_Pre($grpc.ServiceCall call, $async.Future<$3.CertificateRequest> request) async { + $async.Future<$4.CertificateResponse> certificate_Pre($grpc.ServiceCall call, $async.Future<$4.CertificateRequest> request) async { return certificate(call, await request); } - $async.Future<$3.LogResponse> log_Pre($grpc.ServiceCall call, $async.Future<$3.LogRequest> request) async { + $async.Future<$4.LogResponse> log_Pre($grpc.ServiceCall call, $async.Future<$4.LogRequest> request) async { return log(call, await request); } - $async.Future<$3.NeedsRestartResponse> needsRestart_Pre($grpc.ServiceCall call, $async.Future<$3.NeedsRestartRequest> request) async { + $async.Future<$4.NeedsRestartResponse> needsRestart_Pre($grpc.ServiceCall call, $async.Future<$4.NeedsRestartRequest> request) async { return needsRestart(call, await request); } - $async.Future<$3.ConfigResponse> config($grpc.ServiceCall call, $3.ConfigRequest request); - $async.Future<$3.CertificateResponse> certificate($grpc.ServiceCall call, $3.CertificateRequest request); - $async.Future<$3.LogResponse> log($grpc.ServiceCall call, $3.LogRequest request); - $async.Future<$3.NeedsRestartResponse> needsRestart($grpc.ServiceCall call, $3.NeedsRestartRequest request); + $async.Future<$4.ConfigResponse> config($grpc.ServiceCall call, $4.ConfigRequest request); + $async.Future<$4.CertificateResponse> certificate($grpc.ServiceCall call, $4.CertificateRequest request); + $async.Future<$4.LogResponse> log($grpc.ServiceCall call, $4.LogRequest request); + $async.Future<$4.NeedsRestartResponse> needsRestart($grpc.ServiceCall call, $4.NeedsRestartRequest request); } diff --git a/lib/src/gen/app/v1/robot.pbjson.dart b/lib/src/gen/app/v1/robot.pbjson.dart index d886435001..89f56112b8 100644 --- a/lib/src/gen/app/v1/robot.pbjson.dart +++ b/lib/src/gen/app/v1/robot.pbjson.dart @@ -143,6 +143,7 @@ const ComponentConfig$json = { {'1': 'service_configs', '3': 7, '4': 3, '5': 11, '6': '.viam.app.v1.ResourceLevelServiceConfig', '8': {}, '10': 'serviceConfigs'}, {'1': 'attributes', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'attributes'}, {'1': 'api', '3': 9, '4': 1, '5': 9, '10': 'api'}, + {'1': 'log_configuration', '3': 10, '4': 1, '5': 11, '6': '.viam.app.v1.LogConfiguration', '10': 'logConfiguration'}, ], }; @@ -154,7 +155,8 @@ final $typed_data.Uint8List componentConfigDescriptor = $convert.base64Decode( 'YgAygJUglkZXBlbmRzT24SbAoPc2VydmljZV9jb25maWdzGAcgAygLMicudmlhbS5hcHAudjEu' 'UmVzb3VyY2VMZXZlbFNlcnZpY2VDb25maWdCGpqEngMVanNvbjoic2VydmljZV9jb25maWciUg' '5zZXJ2aWNlQ29uZmlncxI3CgphdHRyaWJ1dGVzGAggASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0' - 'cnVjdFIKYXR0cmlidXRlcxIQCgNhcGkYCSABKAlSA2FwaQ=='); + 'cnVjdFIKYXR0cmlidXRlcxIQCgNhcGkYCSABKAlSA2FwaRJKChFsb2dfY29uZmlndXJhdGlvbh' + 'gKIAEoCzIdLnZpYW0uYXBwLnYxLkxvZ0NvbmZpZ3VyYXRpb25SEGxvZ0NvbmZpZ3VyYXRpb24='); @$core.Deprecated('Use resourceLevelServiceConfigDescriptor instead') const ResourceLevelServiceConfig$json = { @@ -343,6 +345,18 @@ final $typed_data.Uint8List frameDescriptor = $convert.base64Decode( 'CzIYLnZpYW0uYXBwLnYxLk9yaWVudGF0aW9uUgtvcmllbnRhdGlvbhI0CghnZW9tZXRyeRgEIA' 'EoCzIYLnZpYW0uY29tbW9uLnYxLkdlb21ldHJ5UghnZW9tZXRyeQ=='); +@$core.Deprecated('Use logConfigurationDescriptor instead') +const LogConfiguration$json = { + '1': 'LogConfiguration', + '2': [ + {'1': 'level', '3': 1, '4': 1, '5': 9, '10': 'level'}, + ], +}; + +/// Descriptor for `LogConfiguration`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List logConfigurationDescriptor = $convert.base64Decode( + 'ChBMb2dDb25maWd1cmF0aW9uEhQKBWxldmVsGAEgASgJUgVsZXZlbA=='); + @$core.Deprecated('Use translationDescriptor instead') const Translation$json = { '1': 'Translation', diff --git a/lib/src/gen/module/v1/module.pb.dart b/lib/src/gen/module/v1/module.pb.dart index fb77e1763a..959349d4b8 100644 --- a/lib/src/gen/module/v1/module.pb.dart +++ b/lib/src/gen/module/v1/module.pb.dart @@ -13,12 +13,12 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../app/v1/robot.pb.dart' as $1; -import '../../robot/v1/robot.pb.dart' as $2; +import '../../app/v1/robot.pb.dart' as $2; +import '../../robot/v1/robot.pb.dart' as $3; class AddResourceRequest extends $pb.GeneratedMessage { factory AddResourceRequest({ - $1.ComponentConfig? config, + $2.ComponentConfig? config, $core.Iterable<$core.String>? dependencies, }) { final $result = create(); @@ -35,7 +35,7 @@ class AddResourceRequest extends $pb.GeneratedMessage { factory AddResourceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddResourceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOM<$1.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $1.ComponentConfig.create) + ..aOM<$2.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $2.ComponentConfig.create) ..pPS(2, _omitFieldNames ? '' : 'dependencies') ..hasRequiredFields = false ; @@ -62,15 +62,15 @@ class AddResourceRequest extends $pb.GeneratedMessage { static AddResourceRequest? _defaultInstance; @$pb.TagNumber(1) - $1.ComponentConfig get config => $_getN(0); + $2.ComponentConfig get config => $_getN(0); @$pb.TagNumber(1) - set config($1.ComponentConfig v) { setField(1, v); } + set config($2.ComponentConfig v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConfig() => $_has(0); @$pb.TagNumber(1) void clearConfig() => clearField(1); @$pb.TagNumber(1) - $1.ComponentConfig ensureConfig() => $_ensure(0); + $2.ComponentConfig ensureConfig() => $_ensure(0); @$pb.TagNumber(2) $core.List<$core.String> get dependencies => $_getList(1); @@ -110,7 +110,7 @@ class AddResourceResponse extends $pb.GeneratedMessage { class ReconfigureResourceRequest extends $pb.GeneratedMessage { factory ReconfigureResourceRequest({ - $1.ComponentConfig? config, + $2.ComponentConfig? config, $core.Iterable<$core.String>? dependencies, }) { final $result = create(); @@ -127,7 +127,7 @@ class ReconfigureResourceRequest extends $pb.GeneratedMessage { factory ReconfigureResourceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReconfigureResourceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOM<$1.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $1.ComponentConfig.create) + ..aOM<$2.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $2.ComponentConfig.create) ..pPS(2, _omitFieldNames ? '' : 'dependencies') ..hasRequiredFields = false ; @@ -154,15 +154,15 @@ class ReconfigureResourceRequest extends $pb.GeneratedMessage { static ReconfigureResourceRequest? _defaultInstance; @$pb.TagNumber(1) - $1.ComponentConfig get config => $_getN(0); + $2.ComponentConfig get config => $_getN(0); @$pb.TagNumber(1) - set config($1.ComponentConfig v) { setField(1, v); } + set config($2.ComponentConfig v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConfig() => $_has(0); @$pb.TagNumber(1) void clearConfig() => clearField(1); @$pb.TagNumber(1) - $1.ComponentConfig ensureConfig() => $_ensure(0); + $2.ComponentConfig ensureConfig() => $_ensure(0); @$pb.TagNumber(2) $core.List<$core.String> get dependencies => $_getList(1); @@ -284,7 +284,7 @@ class RemoveResourceResponse extends $pb.GeneratedMessage { class HandlerDefinition extends $pb.GeneratedMessage { factory HandlerDefinition({ - $2.ResourceRPCSubtype? subtype, + $3.ResourceRPCSubtype? subtype, $core.Iterable<$core.String>? models, }) { final $result = create(); @@ -301,7 +301,7 @@ class HandlerDefinition extends $pb.GeneratedMessage { factory HandlerDefinition.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlerDefinition', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOM<$2.ResourceRPCSubtype>(1, _omitFieldNames ? '' : 'subtype', subBuilder: $2.ResourceRPCSubtype.create) + ..aOM<$3.ResourceRPCSubtype>(1, _omitFieldNames ? '' : 'subtype', subBuilder: $3.ResourceRPCSubtype.create) ..pPS(2, _omitFieldNames ? '' : 'models') ..hasRequiredFields = false ; @@ -328,15 +328,15 @@ class HandlerDefinition extends $pb.GeneratedMessage { static HandlerDefinition? _defaultInstance; @$pb.TagNumber(1) - $2.ResourceRPCSubtype get subtype => $_getN(0); + $3.ResourceRPCSubtype get subtype => $_getN(0); @$pb.TagNumber(1) - set subtype($2.ResourceRPCSubtype v) { setField(1, v); } + set subtype($3.ResourceRPCSubtype v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasSubtype() => $_has(0); @$pb.TagNumber(1) void clearSubtype() => clearField(1); @$pb.TagNumber(1) - $2.ResourceRPCSubtype ensureSubtype() => $_ensure(0); + $3.ResourceRPCSubtype ensureSubtype() => $_ensure(0); @$pb.TagNumber(2) $core.List<$core.String> get models => $_getList(1); @@ -504,7 +504,7 @@ class ReadyResponse extends $pb.GeneratedMessage { class ValidateConfigRequest extends $pb.GeneratedMessage { factory ValidateConfigRequest({ - $1.ComponentConfig? config, + $2.ComponentConfig? config, }) { final $result = create(); if (config != null) { @@ -517,7 +517,7 @@ class ValidateConfigRequest extends $pb.GeneratedMessage { factory ValidateConfigRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ValidateConfigRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOM<$1.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $1.ComponentConfig.create) + ..aOM<$2.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $2.ComponentConfig.create) ..hasRequiredFields = false ; @@ -543,15 +543,15 @@ class ValidateConfigRequest extends $pb.GeneratedMessage { static ValidateConfigRequest? _defaultInstance; @$pb.TagNumber(1) - $1.ComponentConfig get config => $_getN(0); + $2.ComponentConfig get config => $_getN(0); @$pb.TagNumber(1) - set config($1.ComponentConfig v) { setField(1, v); } + set config($2.ComponentConfig v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConfig() => $_has(0); @$pb.TagNumber(1) void clearConfig() => clearField(1); @$pb.TagNumber(1) - $1.ComponentConfig ensureConfig() => $_ensure(0); + $2.ComponentConfig ensureConfig() => $_ensure(0); } class ValidateConfigResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/module/v1/module.pbgrpc.dart b/lib/src/gen/module/v1/module.pbgrpc.dart index 9a5e32c12b..65bdc50c02 100644 --- a/lib/src/gen/module/v1/module.pbgrpc.dart +++ b/lib/src/gen/module/v1/module.pbgrpc.dart @@ -15,32 +15,32 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import 'module.pb.dart' as $3; +import 'module.pb.dart' as $4; export 'module.pb.dart'; @$pb.GrpcServiceName('viam.module.v1.ModuleService') class ModuleServiceClient extends $grpc.Client { - static final _$addResource = $grpc.ClientMethod<$3.AddResourceRequest, $3.AddResourceResponse>( + static final _$addResource = $grpc.ClientMethod<$4.AddResourceRequest, $4.AddResourceResponse>( '/viam.module.v1.ModuleService/AddResource', - ($3.AddResourceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.AddResourceResponse.fromBuffer(value)); - static final _$reconfigureResource = $grpc.ClientMethod<$3.ReconfigureResourceRequest, $3.ReconfigureResourceResponse>( + ($4.AddResourceRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $4.AddResourceResponse.fromBuffer(value)); + static final _$reconfigureResource = $grpc.ClientMethod<$4.ReconfigureResourceRequest, $4.ReconfigureResourceResponse>( '/viam.module.v1.ModuleService/ReconfigureResource', - ($3.ReconfigureResourceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.ReconfigureResourceResponse.fromBuffer(value)); - static final _$removeResource = $grpc.ClientMethod<$3.RemoveResourceRequest, $3.RemoveResourceResponse>( + ($4.ReconfigureResourceRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $4.ReconfigureResourceResponse.fromBuffer(value)); + static final _$removeResource = $grpc.ClientMethod<$4.RemoveResourceRequest, $4.RemoveResourceResponse>( '/viam.module.v1.ModuleService/RemoveResource', - ($3.RemoveResourceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.RemoveResourceResponse.fromBuffer(value)); - static final _$ready = $grpc.ClientMethod<$3.ReadyRequest, $3.ReadyResponse>( + ($4.RemoveResourceRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $4.RemoveResourceResponse.fromBuffer(value)); + static final _$ready = $grpc.ClientMethod<$4.ReadyRequest, $4.ReadyResponse>( '/viam.module.v1.ModuleService/Ready', - ($3.ReadyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.ReadyResponse.fromBuffer(value)); - static final _$validateConfig = $grpc.ClientMethod<$3.ValidateConfigRequest, $3.ValidateConfigResponse>( + ($4.ReadyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $4.ReadyResponse.fromBuffer(value)); + static final _$validateConfig = $grpc.ClientMethod<$4.ValidateConfigRequest, $4.ValidateConfigResponse>( '/viam.module.v1.ModuleService/ValidateConfig', - ($3.ValidateConfigRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.ValidateConfigResponse.fromBuffer(value)); + ($4.ValidateConfigRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $4.ValidateConfigResponse.fromBuffer(value)); ModuleServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -48,23 +48,23 @@ class ModuleServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$3.AddResourceResponse> addResource($3.AddResourceRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$4.AddResourceResponse> addResource($4.AddResourceRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$addResource, request, options: options); } - $grpc.ResponseFuture<$3.ReconfigureResourceResponse> reconfigureResource($3.ReconfigureResourceRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$4.ReconfigureResourceResponse> reconfigureResource($4.ReconfigureResourceRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$reconfigureResource, request, options: options); } - $grpc.ResponseFuture<$3.RemoveResourceResponse> removeResource($3.RemoveResourceRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$4.RemoveResourceResponse> removeResource($4.RemoveResourceRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$removeResource, request, options: options); } - $grpc.ResponseFuture<$3.ReadyResponse> ready($3.ReadyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$4.ReadyResponse> ready($4.ReadyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$ready, request, options: options); } - $grpc.ResponseFuture<$3.ValidateConfigResponse> validateConfig($3.ValidateConfigRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$4.ValidateConfigResponse> validateConfig($4.ValidateConfigRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$validateConfig, request, options: options); } } @@ -74,66 +74,66 @@ abstract class ModuleServiceBase extends $grpc.Service { $core.String get $name => 'viam.module.v1.ModuleService'; ModuleServiceBase() { - $addMethod($grpc.ServiceMethod<$3.AddResourceRequest, $3.AddResourceResponse>( + $addMethod($grpc.ServiceMethod<$4.AddResourceRequest, $4.AddResourceResponse>( 'AddResource', addResource_Pre, false, false, - ($core.List<$core.int> value) => $3.AddResourceRequest.fromBuffer(value), - ($3.AddResourceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.ReconfigureResourceRequest, $3.ReconfigureResourceResponse>( + ($core.List<$core.int> value) => $4.AddResourceRequest.fromBuffer(value), + ($4.AddResourceResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$4.ReconfigureResourceRequest, $4.ReconfigureResourceResponse>( 'ReconfigureResource', reconfigureResource_Pre, false, false, - ($core.List<$core.int> value) => $3.ReconfigureResourceRequest.fromBuffer(value), - ($3.ReconfigureResourceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.RemoveResourceRequest, $3.RemoveResourceResponse>( + ($core.List<$core.int> value) => $4.ReconfigureResourceRequest.fromBuffer(value), + ($4.ReconfigureResourceResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$4.RemoveResourceRequest, $4.RemoveResourceResponse>( 'RemoveResource', removeResource_Pre, false, false, - ($core.List<$core.int> value) => $3.RemoveResourceRequest.fromBuffer(value), - ($3.RemoveResourceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.ReadyRequest, $3.ReadyResponse>( + ($core.List<$core.int> value) => $4.RemoveResourceRequest.fromBuffer(value), + ($4.RemoveResourceResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$4.ReadyRequest, $4.ReadyResponse>( 'Ready', ready_Pre, false, false, - ($core.List<$core.int> value) => $3.ReadyRequest.fromBuffer(value), - ($3.ReadyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.ValidateConfigRequest, $3.ValidateConfigResponse>( + ($core.List<$core.int> value) => $4.ReadyRequest.fromBuffer(value), + ($4.ReadyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$4.ValidateConfigRequest, $4.ValidateConfigResponse>( 'ValidateConfig', validateConfig_Pre, false, false, - ($core.List<$core.int> value) => $3.ValidateConfigRequest.fromBuffer(value), - ($3.ValidateConfigResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $4.ValidateConfigRequest.fromBuffer(value), + ($4.ValidateConfigResponse value) => value.writeToBuffer())); } - $async.Future<$3.AddResourceResponse> addResource_Pre($grpc.ServiceCall call, $async.Future<$3.AddResourceRequest> request) async { + $async.Future<$4.AddResourceResponse> addResource_Pre($grpc.ServiceCall call, $async.Future<$4.AddResourceRequest> request) async { return addResource(call, await request); } - $async.Future<$3.ReconfigureResourceResponse> reconfigureResource_Pre($grpc.ServiceCall call, $async.Future<$3.ReconfigureResourceRequest> request) async { + $async.Future<$4.ReconfigureResourceResponse> reconfigureResource_Pre($grpc.ServiceCall call, $async.Future<$4.ReconfigureResourceRequest> request) async { return reconfigureResource(call, await request); } - $async.Future<$3.RemoveResourceResponse> removeResource_Pre($grpc.ServiceCall call, $async.Future<$3.RemoveResourceRequest> request) async { + $async.Future<$4.RemoveResourceResponse> removeResource_Pre($grpc.ServiceCall call, $async.Future<$4.RemoveResourceRequest> request) async { return removeResource(call, await request); } - $async.Future<$3.ReadyResponse> ready_Pre($grpc.ServiceCall call, $async.Future<$3.ReadyRequest> request) async { + $async.Future<$4.ReadyResponse> ready_Pre($grpc.ServiceCall call, $async.Future<$4.ReadyRequest> request) async { return ready(call, await request); } - $async.Future<$3.ValidateConfigResponse> validateConfig_Pre($grpc.ServiceCall call, $async.Future<$3.ValidateConfigRequest> request) async { + $async.Future<$4.ValidateConfigResponse> validateConfig_Pre($grpc.ServiceCall call, $async.Future<$4.ValidateConfigRequest> request) async { return validateConfig(call, await request); } - $async.Future<$3.AddResourceResponse> addResource($grpc.ServiceCall call, $3.AddResourceRequest request); - $async.Future<$3.ReconfigureResourceResponse> reconfigureResource($grpc.ServiceCall call, $3.ReconfigureResourceRequest request); - $async.Future<$3.RemoveResourceResponse> removeResource($grpc.ServiceCall call, $3.RemoveResourceRequest request); - $async.Future<$3.ReadyResponse> ready($grpc.ServiceCall call, $3.ReadyRequest request); - $async.Future<$3.ValidateConfigResponse> validateConfig($grpc.ServiceCall call, $3.ValidateConfigRequest request); + $async.Future<$4.AddResourceResponse> addResource($grpc.ServiceCall call, $4.AddResourceRequest request); + $async.Future<$4.ReconfigureResourceResponse> reconfigureResource($grpc.ServiceCall call, $4.ReconfigureResourceRequest request); + $async.Future<$4.RemoveResourceResponse> removeResource($grpc.ServiceCall call, $4.RemoveResourceRequest request); + $async.Future<$4.ReadyResponse> ready($grpc.ServiceCall call, $4.ReadyRequest request); + $async.Future<$4.ValidateConfigResponse> validateConfig($grpc.ServiceCall call, $4.ValidateConfigRequest request); }