From b884892aacd38bdfd8efa3b0a554e327d6bc844b Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 Apr 2024 13:46:32 -0400 Subject: [PATCH] [WORKFLOW] Updating protos from viamrobotics/api, commit: f02f6ccccc48872a061127a12e6fbd5f5b4f647d (#191) Co-authored-by: viambot --- .../app/mltraining/v1/ml_training.pbenum.dart | 21 + .../app/mltraining/v1/ml_training.pbjson.dart | 18 + .../gen/app/packages/v1/packages.pbenum.dart | 2 + .../gen/app/packages/v1/packages.pbjson.dart | 4 +- lib/src/gen/app/v1/app.pb.dart | 378 +++-- lib/src/gen/app/v1/app.pbgrpc.dart | 1242 ++++++++--------- lib/src/gen/app/v1/app.pbjson.dart | 27 +- lib/src/gen/app/v1/billing.pb.dart | 82 +- lib/src/gen/app/v1/billing.pbgrpc.dart | 74 +- lib/src/gen/app/v1/end_user.pbgrpc.dart | 74 +- lib/src/gen/app/v1/robot.pb.dart | 122 +- lib/src/gen/app/v1/robot.pbgrpc.dart | 74 +- 12 files changed, 1144 insertions(+), 974 deletions(-) diff --git a/lib/src/gen/app/mltraining/v1/ml_training.pbenum.dart b/lib/src/gen/app/mltraining/v1/ml_training.pbenum.dart index d698b6d92a..62a8001455 100644 --- a/lib/src/gen/app/mltraining/v1/ml_training.pbenum.dart +++ b/lib/src/gen/app/mltraining/v1/ml_training.pbenum.dart @@ -32,6 +32,27 @@ class ModelType extends $pb.ProtobufEnum { const ModelType._($core.int v, $core.String n) : super(v, n); } +class ModelFramework extends $pb.ProtobufEnum { + static const ModelFramework MODEL_FRAMEWORK_UNSPECIFIED = ModelFramework._(0, _omitEnumNames ? '' : 'MODEL_FRAMEWORK_UNSPECIFIED'); + static const ModelFramework MODEL_FRAMEWORK_TFLITE = ModelFramework._(1, _omitEnumNames ? '' : 'MODEL_FRAMEWORK_TFLITE'); + static const ModelFramework MODEL_FRAMEWORK_TENSORFLOW = ModelFramework._(2, _omitEnumNames ? '' : 'MODEL_FRAMEWORK_TENSORFLOW'); + static const ModelFramework MODEL_FRAMEWORK_PYTORCH = ModelFramework._(3, _omitEnumNames ? '' : 'MODEL_FRAMEWORK_PYTORCH'); + static const ModelFramework MODEL_FRAMEWORK_ONNX = ModelFramework._(4, _omitEnumNames ? '' : 'MODEL_FRAMEWORK_ONNX'); + + static const $core.List values = [ + MODEL_FRAMEWORK_UNSPECIFIED, + MODEL_FRAMEWORK_TFLITE, + MODEL_FRAMEWORK_TENSORFLOW, + MODEL_FRAMEWORK_PYTORCH, + MODEL_FRAMEWORK_ONNX, + ]; + + static final $core.Map<$core.int, ModelFramework> _byValue = $pb.ProtobufEnum.initByValue(values); + static ModelFramework? valueOf($core.int value) => _byValue[value]; + + const ModelFramework._($core.int v, $core.String n) : super(v, n); +} + class TrainingStatus extends $pb.ProtobufEnum { static const TrainingStatus TRAINING_STATUS_UNSPECIFIED = TrainingStatus._(0, _omitEnumNames ? '' : 'TRAINING_STATUS_UNSPECIFIED'); static const TrainingStatus TRAINING_STATUS_PENDING = TrainingStatus._(1, _omitEnumNames ? '' : 'TRAINING_STATUS_PENDING'); diff --git a/lib/src/gen/app/mltraining/v1/ml_training.pbjson.dart b/lib/src/gen/app/mltraining/v1/ml_training.pbjson.dart index 101d3deae2..fe2d9b24c4 100644 --- a/lib/src/gen/app/mltraining/v1/ml_training.pbjson.dart +++ b/lib/src/gen/app/mltraining/v1/ml_training.pbjson.dart @@ -30,6 +30,24 @@ final $typed_data.Uint8List modelTypeDescriptor = $convert.base64Decode( 'lOR0xFX0xBQkVMX0NMQVNTSUZJQ0FUSU9OEAESKQolTU9ERUxfVFlQRV9NVUxUSV9MQUJFTF9D' 'TEFTU0lGSUNBVElPThACEh8KG01PREVMX1RZUEVfT0JKRUNUX0RFVEVDVElPThAD'); +@$core.Deprecated('Use modelFrameworkDescriptor instead') +const ModelFramework$json = { + '1': 'ModelFramework', + '2': [ + {'1': 'MODEL_FRAMEWORK_UNSPECIFIED', '2': 0}, + {'1': 'MODEL_FRAMEWORK_TFLITE', '2': 1}, + {'1': 'MODEL_FRAMEWORK_TENSORFLOW', '2': 2}, + {'1': 'MODEL_FRAMEWORK_PYTORCH', '2': 3}, + {'1': 'MODEL_FRAMEWORK_ONNX', '2': 4}, + ], +}; + +/// Descriptor for `ModelFramework`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List modelFrameworkDescriptor = $convert.base64Decode( + 'Cg5Nb2RlbEZyYW1ld29yaxIfChtNT0RFTF9GUkFNRVdPUktfVU5TUEVDSUZJRUQQABIaChZNT0' + 'RFTF9GUkFNRVdPUktfVEZMSVRFEAESHgoaTU9ERUxfRlJBTUVXT1JLX1RFTlNPUkZMT1cQAhIb' + 'ChdNT0RFTF9GUkFNRVdPUktfUFlUT1JDSBADEhgKFE1PREVMX0ZSQU1FV09SS19PTk5YEAQ='); + @$core.Deprecated('Use trainingStatusDescriptor instead') const TrainingStatus$json = { '1': 'TrainingStatus', diff --git a/lib/src/gen/app/packages/v1/packages.pbenum.dart b/lib/src/gen/app/packages/v1/packages.pbenum.dart index 581bc56f29..dbf05ce1b4 100644 --- a/lib/src/gen/app/packages/v1/packages.pbenum.dart +++ b/lib/src/gen/app/packages/v1/packages.pbenum.dart @@ -19,6 +19,7 @@ class PackageType extends $pb.ProtobufEnum { static const PackageType PACKAGE_TYPE_ML_MODEL = PackageType._(2, _omitEnumNames ? '' : 'PACKAGE_TYPE_ML_MODEL'); static const PackageType PACKAGE_TYPE_MODULE = PackageType._(3, _omitEnumNames ? '' : 'PACKAGE_TYPE_MODULE'); static const PackageType PACKAGE_TYPE_SLAM_MAP = PackageType._(4, _omitEnumNames ? '' : 'PACKAGE_TYPE_SLAM_MAP'); + static const PackageType PACKAGE_TYPE_ML_TRAINING = PackageType._(5, _omitEnumNames ? '' : 'PACKAGE_TYPE_ML_TRAINING'); static const $core.List values = [ PACKAGE_TYPE_UNSPECIFIED, @@ -26,6 +27,7 @@ class PackageType extends $pb.ProtobufEnum { PACKAGE_TYPE_ML_MODEL, PACKAGE_TYPE_MODULE, PACKAGE_TYPE_SLAM_MAP, + PACKAGE_TYPE_ML_TRAINING, ]; static final $core.Map<$core.int, PackageType> _byValue = $pb.ProtobufEnum.initByValue(values); diff --git a/lib/src/gen/app/packages/v1/packages.pbjson.dart b/lib/src/gen/app/packages/v1/packages.pbjson.dart index 25c9ae7a63..6a7ce79bcd 100644 --- a/lib/src/gen/app/packages/v1/packages.pbjson.dart +++ b/lib/src/gen/app/packages/v1/packages.pbjson.dart @@ -22,6 +22,7 @@ const PackageType$json = { {'1': 'PACKAGE_TYPE_ML_MODEL', '2': 2}, {'1': 'PACKAGE_TYPE_MODULE', '2': 3}, {'1': 'PACKAGE_TYPE_SLAM_MAP', '2': 4}, + {'1': 'PACKAGE_TYPE_ML_TRAINING', '2': 5}, ], }; @@ -29,7 +30,8 @@ const PackageType$json = { final $typed_data.Uint8List packageTypeDescriptor = $convert.base64Decode( 'CgtQYWNrYWdlVHlwZRIcChhQQUNLQUdFX1RZUEVfVU5TUEVDSUZJRUQQABIYChRQQUNLQUdFX1' 'RZUEVfQVJDSElWRRABEhkKFVBBQ0tBR0VfVFlQRV9NTF9NT0RFTBACEhcKE1BBQ0tBR0VfVFlQ' - 'RV9NT0RVTEUQAxIZChVQQUNLQUdFX1RZUEVfU0xBTV9NQVAQBA=='); + 'RV9NT0RVTEUQAxIZChVQQUNLQUdFX1RZUEVfU0xBTV9NQVAQBBIcChhQQUNLQUdFX1RZUEVfTU' + 'xfVFJBSU5JTkcQBQ=='); @$core.Deprecated('Use fileInfoDescriptor instead') const FileInfo$json = { diff --git a/lib/src/gen/app/v1/app.pb.dart b/lib/src/gen/app/v1/app.pb.dart index 55686752c9..ee08a381e6 100644 --- a/lib/src/gen/app/v1/app.pb.dart +++ b/lib/src/gen/app/v1/app.pb.dart @@ -14,10 +14,11 @@ import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; -import '../../common/v1/common.pb.dart' as $7; -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 '../../common/v1/common.pb.dart' as $8; +import '../../google/protobuf/struct.pb.dart' as $7; +import '../../google/protobuf/timestamp.pb.dart' as $6; +import '../mltraining/v1/ml_training.pbenum.dart' as $0; +import '../packages/v1/packages.pbenum.dart' as $1; import 'app.pbenum.dart'; export 'app.pbenum.dart'; @@ -27,8 +28,8 @@ class Robot extends $pb.GeneratedMessage { $core.String? id, $core.String? name, $core.String? location, - $5.Timestamp? lastAccess, - $5.Timestamp? createdOn, + $6.Timestamp? lastAccess, + $6.Timestamp? createdOn, }) { final $result = create(); if (id != null) { @@ -56,8 +57,8 @@ class Robot extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'location') - ..aOM<$5.Timestamp>(4, _omitFieldNames ? '' : 'lastAccess', subBuilder: $5.Timestamp.create) - ..aOM<$5.Timestamp>(5, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(4, _omitFieldNames ? '' : 'lastAccess', subBuilder: $6.Timestamp.create) + ..aOM<$6.Timestamp>(5, _omitFieldNames ? '' : 'createdOn', subBuilder: $6.Timestamp.create) ..hasRequiredFields = false ; @@ -110,26 +111,26 @@ class Robot extends $pb.GeneratedMessage { void clearLocation() => clearField(3); @$pb.TagNumber(4) - $5.Timestamp get lastAccess => $_getN(3); + $6.Timestamp get lastAccess => $_getN(3); @$pb.TagNumber(4) - set lastAccess($5.Timestamp v) { setField(4, v); } + set lastAccess($6.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasLastAccess() => $_has(3); @$pb.TagNumber(4) void clearLastAccess() => clearField(4); @$pb.TagNumber(4) - $5.Timestamp ensureLastAccess() => $_ensure(3); + $6.Timestamp ensureLastAccess() => $_ensure(3); @$pb.TagNumber(5) - $5.Timestamp get createdOn => $_getN(4); + $6.Timestamp get createdOn => $_getN(4); @$pb.TagNumber(5) - set createdOn($5.Timestamp v) { setField(5, v); } + set createdOn($6.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasCreatedOn() => $_has(4); @$pb.TagNumber(5) void clearCreatedOn() => clearField(5); @$pb.TagNumber(5) - $5.Timestamp ensureCreatedOn() => $_ensure(4); + $6.Timestamp ensureCreatedOn() => $_ensure(4); } class RobotPart extends $pb.GeneratedMessage { @@ -138,15 +139,15 @@ class RobotPart extends $pb.GeneratedMessage { $core.String? name, $core.String? secret, $core.String? robot, - $6.Struct? robotConfig, - $5.Timestamp? lastAccess, - $6.Struct? userSuppliedInfo, + $7.Struct? robotConfig, + $6.Timestamp? lastAccess, + $7.Struct? userSuppliedInfo, $core.bool? mainPart, $core.String? fqdn, $core.String? dnsName, $core.String? localFqdn, $core.String? locationId, - $5.Timestamp? createdOn, + $6.Timestamp? createdOn, $core.Iterable? secrets, }) { final $result = create(); @@ -203,15 +204,15 @@ class RobotPart extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'secret') ..aOS(4, _omitFieldNames ? '' : 'robot') - ..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) + ..aOM<$7.Struct>(5, _omitFieldNames ? '' : 'robotConfig', subBuilder: $7.Struct.create) + ..aOM<$6.Timestamp>(6, _omitFieldNames ? '' : 'lastAccess', subBuilder: $6.Timestamp.create) + ..aOM<$7.Struct>(7, _omitFieldNames ? '' : 'userSuppliedInfo', subBuilder: $7.Struct.create) ..aOB(8, _omitFieldNames ? '' : 'mainPart') ..aOS(9, _omitFieldNames ? '' : 'fqdn') ..aOS(10, _omitFieldNames ? '' : 'dnsName') ..aOS(11, _omitFieldNames ? '' : 'localFqdn') ..aOS(12, _omitFieldNames ? '' : 'locationId') - ..aOM<$5.Timestamp>(13, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(13, _omitFieldNames ? '' : 'createdOn', subBuilder: $6.Timestamp.create) ..pc(14, _omitFieldNames ? '' : 'secrets', $pb.PbFieldType.PM, subBuilder: SharedSecret.create) ..hasRequiredFields = false ; @@ -274,37 +275,37 @@ class RobotPart extends $pb.GeneratedMessage { void clearRobot() => clearField(4); @$pb.TagNumber(5) - $6.Struct get robotConfig => $_getN(4); + $7.Struct get robotConfig => $_getN(4); @$pb.TagNumber(5) - set robotConfig($6.Struct v) { setField(5, v); } + set robotConfig($7.Struct v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasRobotConfig() => $_has(4); @$pb.TagNumber(5) void clearRobotConfig() => clearField(5); @$pb.TagNumber(5) - $6.Struct ensureRobotConfig() => $_ensure(4); + $7.Struct ensureRobotConfig() => $_ensure(4); @$pb.TagNumber(6) - $5.Timestamp get lastAccess => $_getN(5); + $6.Timestamp get lastAccess => $_getN(5); @$pb.TagNumber(6) - set lastAccess($5.Timestamp v) { setField(6, v); } + set lastAccess($6.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasLastAccess() => $_has(5); @$pb.TagNumber(6) void clearLastAccess() => clearField(6); @$pb.TagNumber(6) - $5.Timestamp ensureLastAccess() => $_ensure(5); + $6.Timestamp ensureLastAccess() => $_ensure(5); @$pb.TagNumber(7) - $6.Struct get userSuppliedInfo => $_getN(6); + $7.Struct get userSuppliedInfo => $_getN(6); @$pb.TagNumber(7) - set userSuppliedInfo($6.Struct v) { setField(7, v); } + set userSuppliedInfo($7.Struct v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasUserSuppliedInfo() => $_has(6); @$pb.TagNumber(7) void clearUserSuppliedInfo() => clearField(7); @$pb.TagNumber(7) - $6.Struct ensureUserSuppliedInfo() => $_ensure(6); + $7.Struct ensureUserSuppliedInfo() => $_ensure(6); @$pb.TagNumber(8) $core.bool get mainPart => $_getBF(7); @@ -355,15 +356,15 @@ class RobotPart extends $pb.GeneratedMessage { void clearLocationId() => clearField(12); @$pb.TagNumber(13) - $5.Timestamp get createdOn => $_getN(12); + $6.Timestamp get createdOn => $_getN(12); @$pb.TagNumber(13) - set createdOn($5.Timestamp v) { setField(13, v); } + set createdOn($6.Timestamp v) { setField(13, v); } @$pb.TagNumber(13) $core.bool hasCreatedOn() => $_has(12); @$pb.TagNumber(13) void clearCreatedOn() => clearField(13); @$pb.TagNumber(13) - $5.Timestamp ensureCreatedOn() => $_ensure(12); + $6.Timestamp ensureCreatedOn() => $_ensure(12); /// List of secrets allowed for authentication. @$pb.TagNumber(14) @@ -374,7 +375,7 @@ class RobotPartHistoryEntry extends $pb.GeneratedMessage { factory RobotPartHistoryEntry({ $core.String? part, $core.String? robot, - $5.Timestamp? when, + $6.Timestamp? when, RobotPart? old, }) { final $result = create(); @@ -399,7 +400,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<$5.Timestamp>(3, _omitFieldNames ? '' : 'when', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(3, _omitFieldNames ? '' : 'when', subBuilder: $6.Timestamp.create) ..aOM(4, _omitFieldNames ? '' : 'old', subBuilder: RobotPart.create) ..hasRequiredFields = false ; @@ -444,15 +445,15 @@ class RobotPartHistoryEntry extends $pb.GeneratedMessage { void clearRobot() => clearField(2); @$pb.TagNumber(3) - $5.Timestamp get when => $_getN(2); + $6.Timestamp get when => $_getN(2); @$pb.TagNumber(3) - set when($5.Timestamp v) { setField(3, v); } + set when($6.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasWhen() => $_has(2); @$pb.TagNumber(3) void clearWhen() => clearField(3); @$pb.TagNumber(3) - $5.Timestamp ensureWhen() => $_ensure(2); + $6.Timestamp ensureWhen() => $_ensure(2); @$pb.TagNumber(4) RobotPart get old => $_getN(3); @@ -502,7 +503,7 @@ class Organization extends $pb.GeneratedMessage { factory Organization({ $core.String? id, $core.String? name, - $5.Timestamp? createdOn, + $6.Timestamp? createdOn, $core.String? publicNamespace, $core.String? defaultRegion, $core.String? cid, @@ -535,7 +536,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<$5.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $6.Timestamp.create) ..aOS(4, _omitFieldNames ? '' : 'publicNamespace') ..aOS(5, _omitFieldNames ? '' : 'defaultRegion') ..aOS(6, _omitFieldNames ? '' : 'cid') @@ -582,15 +583,15 @@ class Organization extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $5.Timestamp get createdOn => $_getN(2); + $6.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($5.Timestamp v) { setField(3, v); } + set createdOn($6.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $5.Timestamp ensureCreatedOn() => $_ensure(2); + $6.Timestamp ensureCreatedOn() => $_ensure(2); @$pb.TagNumber(4) $core.String get publicNamespace => $_getSZ(3); @@ -626,8 +627,8 @@ class OrganizationMember extends $pb.GeneratedMessage { factory OrganizationMember({ $core.String? userId, $core.Iterable<$core.String>? emails, - $5.Timestamp? dateAdded, - $5.Timestamp? lastLogin, + $6.Timestamp? dateAdded, + $6.Timestamp? lastLogin, }) { final $result = create(); if (userId != null) { @@ -651,8 +652,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<$5.Timestamp>(3, _omitFieldNames ? '' : 'dateAdded', subBuilder: $5.Timestamp.create) - ..aOM<$5.Timestamp>(4, _omitFieldNames ? '' : 'lastLogin', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(3, _omitFieldNames ? '' : 'dateAdded', subBuilder: $6.Timestamp.create) + ..aOM<$6.Timestamp>(4, _omitFieldNames ? '' : 'lastLogin', subBuilder: $6.Timestamp.create) ..hasRequiredFields = false ; @@ -690,26 +691,26 @@ class OrganizationMember extends $pb.GeneratedMessage { $core.List<$core.String> get emails => $_getList(1); @$pb.TagNumber(3) - $5.Timestamp get dateAdded => $_getN(2); + $6.Timestamp get dateAdded => $_getN(2); @$pb.TagNumber(3) - set dateAdded($5.Timestamp v) { setField(3, v); } + set dateAdded($6.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasDateAdded() => $_has(2); @$pb.TagNumber(3) void clearDateAdded() => clearField(3); @$pb.TagNumber(3) - $5.Timestamp ensureDateAdded() => $_ensure(2); + $6.Timestamp ensureDateAdded() => $_ensure(2); @$pb.TagNumber(4) - $5.Timestamp get lastLogin => $_getN(3); + $6.Timestamp get lastLogin => $_getN(3); @$pb.TagNumber(4) - set lastLogin($5.Timestamp v) { setField(4, v); } + set lastLogin($6.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasLastLogin() => $_has(3); @$pb.TagNumber(4) void clearLastLogin() => clearField(4); @$pb.TagNumber(4) - $5.Timestamp ensureLastLogin() => $_ensure(3); + $6.Timestamp ensureLastLogin() => $_ensure(3); } class ListOrganizationsResponse extends $pb.GeneratedMessage { @@ -760,7 +761,7 @@ class OrganizationInvite extends $pb.GeneratedMessage { factory OrganizationInvite({ $core.String? organizationId, $core.String? email, - $5.Timestamp? createdOn, + $6.Timestamp? createdOn, $core.Iterable? authorizations, }) { final $result = create(); @@ -785,7 +786,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<$5.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $6.Timestamp.create) ..pc(4, _omitFieldNames ? '' : 'authorizations', $pb.PbFieldType.PM, subBuilder: Authorization.create) ..hasRequiredFields = false ; @@ -830,15 +831,15 @@ class OrganizationInvite extends $pb.GeneratedMessage { void clearEmail() => clearField(2); @$pb.TagNumber(3) - $5.Timestamp get createdOn => $_getN(2); + $6.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($5.Timestamp v) { setField(3, v); } + set createdOn($6.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $5.Timestamp ensureCreatedOn() => $_ensure(2); + $6.Timestamp ensureCreatedOn() => $_ensure(2); @$pb.TagNumber(4) $core.List get authorizations => $_getList(3); @@ -2355,7 +2356,7 @@ class Location extends $pb.GeneratedMessage { factory Location({ $core.String? id, $core.String? name, - $5.Timestamp? createdOn, + $6.Timestamp? createdOn, $core.String? parentLocationId, LocationAuth? auth, $core.Iterable? organizations, @@ -2396,7 +2397,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<$5.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $6.Timestamp.create) ..aOS(4, _omitFieldNames ? '' : 'parentLocationId') ..aOM(5, _omitFieldNames ? '' : 'auth', subBuilder: LocationAuth.create) ..pc(6, _omitFieldNames ? '' : 'organizations', $pb.PbFieldType.PM, subBuilder: LocationOrganization.create) @@ -2448,15 +2449,15 @@ class Location extends $pb.GeneratedMessage { /// Location creation timestamp. @$pb.TagNumber(3) - $5.Timestamp get createdOn => $_getN(2); + $6.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($5.Timestamp v) { setField(3, v); } + set createdOn($6.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $5.Timestamp ensureCreatedOn() => $_ensure(2); + $6.Timestamp ensureCreatedOn() => $_ensure(2); /// Location ID of the parent location. @$pb.TagNumber(4) @@ -2511,7 +2512,7 @@ class SharedSecret extends $pb.GeneratedMessage { factory SharedSecret({ $core.String? id, $core.String? secret, - $5.Timestamp? createdOn, + $6.Timestamp? createdOn, SharedSecret_State? state, }) { final $result = create(); @@ -2536,7 +2537,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<$5.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $6.Timestamp.create) ..e(4, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: SharedSecret_State.STATE_UNSPECIFIED, valueOf: SharedSecret_State.valueOf, enumValues: SharedSecret_State.values) ..hasRequiredFields = false ; @@ -2583,15 +2584,15 @@ class SharedSecret extends $pb.GeneratedMessage { /// Date/time the secret was first created. @$pb.TagNumber(3) - $5.Timestamp get createdOn => $_getN(2); + $6.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($5.Timestamp v) { setField(3, v); } + set createdOn($6.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $5.Timestamp ensureCreatedOn() => $_ensure(2); + $6.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. @@ -4370,7 +4371,7 @@ class GetRobotPartLogsRequest extends $pb.GeneratedMessage { class GetRobotPartLogsResponse extends $pb.GeneratedMessage { factory GetRobotPartLogsResponse({ - $core.Iterable<$7.LogEntry>? logs, + $core.Iterable<$8.LogEntry>? logs, $core.String? nextPageToken, }) { final $result = create(); @@ -4387,7 +4388,7 @@ class GetRobotPartLogsResponse extends $pb.GeneratedMessage { factory GetRobotPartLogsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetRobotPartLogsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc<$7.LogEntry>(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $7.LogEntry.create) + ..pc<$8.LogEntry>(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $8.LogEntry.create) ..aOS(2, _omitFieldNames ? '' : 'nextPageToken') ..hasRequiredFields = false ; @@ -4414,7 +4415,7 @@ class GetRobotPartLogsResponse extends $pb.GeneratedMessage { static GetRobotPartLogsResponse? _defaultInstance; @$pb.TagNumber(1) - $core.List<$7.LogEntry> get logs => $_getList(0); + $core.List<$8.LogEntry> get logs => $_getList(0); @$pb.TagNumber(2) $core.String get nextPageToken => $_getSZ(1); @@ -4506,7 +4507,7 @@ class TailRobotPartLogsRequest extends $pb.GeneratedMessage { class TailRobotPartLogsResponse extends $pb.GeneratedMessage { factory TailRobotPartLogsResponse({ - $core.Iterable<$7.LogEntry>? logs, + $core.Iterable<$8.LogEntry>? logs, }) { final $result = create(); if (logs != null) { @@ -4519,7 +4520,7 @@ class TailRobotPartLogsResponse extends $pb.GeneratedMessage { factory TailRobotPartLogsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TailRobotPartLogsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..pc<$7.LogEntry>(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $7.LogEntry.create) + ..pc<$8.LogEntry>(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $8.LogEntry.create) ..hasRequiredFields = false ; @@ -4545,7 +4546,7 @@ class TailRobotPartLogsResponse extends $pb.GeneratedMessage { static TailRobotPartLogsResponse? _defaultInstance; @$pb.TagNumber(1) - $core.List<$7.LogEntry> get logs => $_getList(0); + $core.List<$8.LogEntry> get logs => $_getList(0); } class GetRobotPartHistoryRequest extends $pb.GeneratedMessage { @@ -4646,7 +4647,7 @@ class UpdateRobotPartRequest extends $pb.GeneratedMessage { factory UpdateRobotPartRequest({ $core.String? id, $core.String? name, - $6.Struct? robotConfig, + $7.Struct? robotConfig, }) { final $result = create(); if (id != null) { @@ -4667,7 +4668,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<$6.Struct>(3, _omitFieldNames ? '' : 'robotConfig', subBuilder: $6.Struct.create) + ..aOM<$7.Struct>(3, _omitFieldNames ? '' : 'robotConfig', subBuilder: $7.Struct.create) ..hasRequiredFields = false ; @@ -4711,15 +4712,15 @@ class UpdateRobotPartRequest extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $6.Struct get robotConfig => $_getN(2); + $7.Struct get robotConfig => $_getN(2); @$pb.TagNumber(3) - set robotConfig($6.Struct v) { setField(3, v); } + set robotConfig($7.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasRobotConfig() => $_has(2); @$pb.TagNumber(3) void clearRobotConfig() => clearField(3); @$pb.TagNumber(3) - $6.Struct ensureRobotConfig() => $_ensure(2); + $7.Struct ensureRobotConfig() => $_ensure(2); } class UpdateRobotPartResponse extends $pb.GeneratedMessage { @@ -4993,7 +4994,7 @@ class APIKey extends $pb.GeneratedMessage { $core.String? id, $core.String? key, $core.String? name, - $5.Timestamp? createdOn, + $6.Timestamp? createdOn, }) { final $result = create(); if (id != null) { @@ -5018,7 +5019,7 @@ class APIKey extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'key') ..aOS(3, _omitFieldNames ? '' : 'name') - ..aOM<$5.Timestamp>(4, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(4, _omitFieldNames ? '' : 'createdOn', subBuilder: $6.Timestamp.create) ..hasRequiredFields = false ; @@ -5071,15 +5072,15 @@ class APIKey extends $pb.GeneratedMessage { void clearName() => clearField(3); @$pb.TagNumber(4) - $5.Timestamp get createdOn => $_getN(3); + $6.Timestamp get createdOn => $_getN(3); @$pb.TagNumber(4) - set createdOn($5.Timestamp v) { setField(4, v); } + set createdOn($6.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasCreatedOn() => $_has(3); @$pb.TagNumber(4) void clearCreatedOn() => clearField(4); @$pb.TagNumber(4) - $5.Timestamp ensureCreatedOn() => $_ensure(3); + $6.Timestamp ensureCreatedOn() => $_ensure(3); } class GetRobotAPIKeysResponse extends $pb.GeneratedMessage { @@ -5162,10 +5163,10 @@ class Fragment extends $pb.GeneratedMessage { factory Fragment({ $core.String? id, $core.String? name, - $6.Struct? fragment, + $7.Struct? fragment, $core.String? organizationOwner, $core.bool? public, - $5.Timestamp? createdOn, + $6.Timestamp? createdOn, $core.String? organizationName, $core.int? robotPartCount, $core.int? organizationCount, @@ -5211,10 +5212,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<$6.Struct>(3, _omitFieldNames ? '' : 'fragment', subBuilder: $6.Struct.create) + ..aOM<$7.Struct>(3, _omitFieldNames ? '' : 'fragment', subBuilder: $7.Struct.create) ..aOS(4, _omitFieldNames ? '' : 'organizationOwner') ..aOB(5, _omitFieldNames ? '' : 'public') - ..aOM<$5.Timestamp>(6, _omitFieldNames ? '' : 'createdOn', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(6, _omitFieldNames ? '' : 'createdOn', subBuilder: $6.Timestamp.create) ..aOS(7, _omitFieldNames ? '' : 'organizationName') ..a<$core.int>(9, _omitFieldNames ? '' : 'robotPartCount', $pb.PbFieldType.O3) ..a<$core.int>(10, _omitFieldNames ? '' : 'organizationCount', $pb.PbFieldType.O3) @@ -5262,15 +5263,15 @@ class Fragment extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $6.Struct get fragment => $_getN(2); + $7.Struct get fragment => $_getN(2); @$pb.TagNumber(3) - set fragment($6.Struct v) { setField(3, v); } + set fragment($7.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasFragment() => $_has(2); @$pb.TagNumber(3) void clearFragment() => clearField(3); @$pb.TagNumber(3) - $6.Struct ensureFragment() => $_ensure(2); + $7.Struct ensureFragment() => $_ensure(2); @$pb.TagNumber(4) $core.String get organizationOwner => $_getSZ(3); @@ -5291,15 +5292,15 @@ class Fragment extends $pb.GeneratedMessage { void clearPublic() => clearField(5); @$pb.TagNumber(6) - $5.Timestamp get createdOn => $_getN(5); + $6.Timestamp get createdOn => $_getN(5); @$pb.TagNumber(6) - set createdOn($5.Timestamp v) { setField(6, v); } + set createdOn($6.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasCreatedOn() => $_has(5); @$pb.TagNumber(6) void clearCreatedOn() => clearField(6); @$pb.TagNumber(6) - $5.Timestamp ensureCreatedOn() => $_ensure(5); + $6.Timestamp ensureCreatedOn() => $_ensure(5); @$pb.TagNumber(7) $core.String get organizationName => $_getSZ(6); @@ -5554,7 +5555,7 @@ class GetFragmentResponse extends $pb.GeneratedMessage { class CreateFragmentRequest extends $pb.GeneratedMessage { factory CreateFragmentRequest({ $core.String? name, - $6.Struct? config, + $7.Struct? config, $core.String? organizationId, }) { final $result = create(); @@ -5575,7 +5576,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<$6.Struct>(2, _omitFieldNames ? '' : 'config', subBuilder: $6.Struct.create) + ..aOM<$7.Struct>(2, _omitFieldNames ? '' : 'config', subBuilder: $7.Struct.create) ..aOS(3, _omitFieldNames ? '' : 'organizationId') ..hasRequiredFields = false ; @@ -5611,15 +5612,15 @@ class CreateFragmentRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(2) - $6.Struct get config => $_getN(1); + $7.Struct get config => $_getN(1); @$pb.TagNumber(2) - set config($6.Struct v) { setField(2, v); } + set config($7.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasConfig() => $_has(1); @$pb.TagNumber(2) void clearConfig() => clearField(2); @$pb.TagNumber(2) - $6.Struct ensureConfig() => $_ensure(1); + $7.Struct ensureConfig() => $_ensure(1); @$pb.TagNumber(3) $core.String get organizationId => $_getSZ(2); @@ -5687,7 +5688,7 @@ class UpdateFragmentRequest extends $pb.GeneratedMessage { factory UpdateFragmentRequest({ $core.String? id, $core.String? name, - $6.Struct? config, + $7.Struct? config, $core.bool? public, }) { final $result = create(); @@ -5712,7 +5713,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<$6.Struct>(3, _omitFieldNames ? '' : 'config', subBuilder: $6.Struct.create) + ..aOM<$7.Struct>(3, _omitFieldNames ? '' : 'config', subBuilder: $7.Struct.create) ..aOB(4, _omitFieldNames ? '' : 'public') ..hasRequiredFields = false ; @@ -5757,15 +5758,15 @@ class UpdateFragmentRequest extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $6.Struct get config => $_getN(2); + $7.Struct get config => $_getN(2); @$pb.TagNumber(3) - set config($6.Struct v) { setField(3, v); } + set config($7.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasConfig() => $_has(2); @$pb.TagNumber(3) void clearConfig() => clearField(3); @$pb.TagNumber(3) - $6.Struct ensureConfig() => $_ensure(2); + $7.Struct ensureConfig() => $_ensure(2); @$pb.TagNumber(4) $core.bool get public => $_getBF(3); @@ -7558,9 +7559,97 @@ class MLModelMetadata extends $pb.GeneratedMessage { $core.List<$core.String> get versions => $_getList(0); } +class MLTrainingMetadata extends $pb.GeneratedMessage { + factory MLTrainingMetadata({ + $core.Iterable<$core.String>? versions, + $0.ModelType? modelType, + $0.ModelFramework? modelFramework, + $core.bool? draft, + }) { + final $result = create(); + if (versions != null) { + $result.versions.addAll(versions); + } + if (modelType != null) { + $result.modelType = modelType; + } + if (modelFramework != null) { + $result.modelFramework = modelFramework; + } + if (draft != null) { + $result.draft = draft; + } + return $result; + } + MLTrainingMetadata._() : super(); + factory MLTrainingMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory MLTrainingMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MLTrainingMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) + ..pPS(1, _omitFieldNames ? '' : 'versions') + ..e<$0.ModelType>(2, _omitFieldNames ? '' : 'modelType', $pb.PbFieldType.OE, defaultOrMaker: $0.ModelType.MODEL_TYPE_UNSPECIFIED, valueOf: $0.ModelType.valueOf, enumValues: $0.ModelType.values) + ..e<$0.ModelFramework>(3, _omitFieldNames ? '' : 'modelFramework', $pb.PbFieldType.OE, defaultOrMaker: $0.ModelFramework.MODEL_FRAMEWORK_UNSPECIFIED, valueOf: $0.ModelFramework.valueOf, enumValues: $0.ModelFramework.values) + ..aOB(4, _omitFieldNames ? '' : 'draft') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + MLTrainingMetadata clone() => MLTrainingMetadata()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + MLTrainingMetadata copyWith(void Function(MLTrainingMetadata) updates) => super.copyWith((message) => updates(message as MLTrainingMetadata)) as MLTrainingMetadata; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MLTrainingMetadata create() => MLTrainingMetadata._(); + MLTrainingMetadata createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MLTrainingMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MLTrainingMetadata? _defaultInstance; + + /// A list of package versions for ML training source distribution + @$pb.TagNumber(1) + $core.List<$core.String> get versions => $_getList(0); + + @$pb.TagNumber(2) + $0.ModelType get modelType => $_getN(1); + @$pb.TagNumber(2) + set modelType($0.ModelType v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasModelType() => $_has(1); + @$pb.TagNumber(2) + void clearModelType() => clearField(2); + + @$pb.TagNumber(3) + $0.ModelFramework get modelFramework => $_getN(2); + @$pb.TagNumber(3) + set modelFramework($0.ModelFramework v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasModelFramework() => $_has(2); + @$pb.TagNumber(3) + void clearModelFramework() => clearField(3); + + @$pb.TagNumber(4) + $core.bool get draft => $_getBF(3); + @$pb.TagNumber(4) + set draft($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(4) + $core.bool hasDraft() => $_has(3); + @$pb.TagNumber(4) + void clearDraft() => clearField(4); +} + enum RegistryItem_Metadata { moduleMetadata, mlModelMetadata, + mlTrainingMetadata, notSet } @@ -7570,7 +7659,7 @@ class RegistryItem extends $pb.GeneratedMessage { $core.String? organizationId, $core.String? publicNamespace, $core.String? name, - $0.PackageType? type, + $1.PackageType? type, Visibility? visibility, $core.String? url, $core.String? description, @@ -7580,8 +7669,9 @@ class RegistryItem extends $pb.GeneratedMessage { MLModelMetadata? mlModelMetadata, $fixnum.Int64? totalExternalRobotUsage, $fixnum.Int64? totalExternalOrganizationUsage, - $5.Timestamp? createdAt, - $5.Timestamp? updatedAt, + $6.Timestamp? createdAt, + $6.Timestamp? updatedAt, + MLTrainingMetadata? mlTrainingMetadata, }) { final $result = create(); if (itemId != null) { @@ -7632,6 +7722,9 @@ class RegistryItem extends $pb.GeneratedMessage { if (updatedAt != null) { $result.updatedAt = updatedAt; } + if (mlTrainingMetadata != null) { + $result.mlTrainingMetadata = mlTrainingMetadata; + } return $result; } RegistryItem._() : super(); @@ -7641,15 +7734,16 @@ class RegistryItem extends $pb.GeneratedMessage { static const $core.Map<$core.int, RegistryItem_Metadata> _RegistryItem_MetadataByTag = { 11 : RegistryItem_Metadata.moduleMetadata, 12 : RegistryItem_Metadata.mlModelMetadata, + 18 : RegistryItem_Metadata.mlTrainingMetadata, 0 : RegistryItem_Metadata.notSet }; static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegistryItem', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..oo(0, [11, 12]) + ..oo(0, [11, 12, 18]) ..aOS(1, _omitFieldNames ? '' : 'itemId') ..aOS(2, _omitFieldNames ? '' : 'organizationId') ..aOS(3, _omitFieldNames ? '' : 'publicNamespace') ..aOS(4, _omitFieldNames ? '' : 'name') - ..e<$0.PackageType>(5, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $0.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $0.PackageType.valueOf, enumValues: $0.PackageType.values) + ..e<$1.PackageType>(5, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $1.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $1.PackageType.valueOf, enumValues: $1.PackageType.values) ..e(6, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: Visibility.VISIBILITY_UNSPECIFIED, valueOf: Visibility.valueOf, enumValues: Visibility.values) ..aOS(7, _omitFieldNames ? '' : 'url') ..aOS(8, _omitFieldNames ? '' : 'description') @@ -7659,8 +7753,9 @@ class RegistryItem extends $pb.GeneratedMessage { ..aOM(12, _omitFieldNames ? '' : 'mlModelMetadata', subBuilder: MLModelMetadata.create) ..aInt64(13, _omitFieldNames ? '' : 'totalExternalRobotUsage') ..aInt64(14, _omitFieldNames ? '' : 'totalExternalOrganizationUsage') - ..aOM<$5.Timestamp>(15, _omitFieldNames ? '' : 'createdAt', subBuilder: $5.Timestamp.create) - ..aOM<$5.Timestamp>(16, _omitFieldNames ? '' : 'updatedAt', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(15, _omitFieldNames ? '' : 'createdAt', subBuilder: $6.Timestamp.create) + ..aOM<$6.Timestamp>(16, _omitFieldNames ? '' : 'updatedAt', subBuilder: $6.Timestamp.create) + ..aOM(18, _omitFieldNames ? '' : 'mlTrainingMetadata', subBuilder: MLTrainingMetadata.create) ..hasRequiredFields = false ; @@ -7733,9 +7828,9 @@ class RegistryItem extends $pb.GeneratedMessage { /// The type of the item in the registry @$pb.TagNumber(5) - $0.PackageType get type => $_getN(4); + $1.PackageType get type => $_getN(4); @$pb.TagNumber(5) - set type($0.PackageType v) { setField(5, v); } + set type($1.PackageType v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasType() => $_has(4); @$pb.TagNumber(5) @@ -7835,27 +7930,38 @@ class RegistryItem extends $pb.GeneratedMessage { /// When the item was created @$pb.TagNumber(15) - $5.Timestamp get createdAt => $_getN(14); + $6.Timestamp get createdAt => $_getN(14); @$pb.TagNumber(15) - set createdAt($5.Timestamp v) { setField(15, v); } + set createdAt($6.Timestamp v) { setField(15, v); } @$pb.TagNumber(15) $core.bool hasCreatedAt() => $_has(14); @$pb.TagNumber(15) void clearCreatedAt() => clearField(15); @$pb.TagNumber(15) - $5.Timestamp ensureCreatedAt() => $_ensure(14); + $6.Timestamp ensureCreatedAt() => $_ensure(14); /// When the item was last updated, either through an update or upload. @$pb.TagNumber(16) - $5.Timestamp get updatedAt => $_getN(15); + $6.Timestamp get updatedAt => $_getN(15); @$pb.TagNumber(16) - set updatedAt($5.Timestamp v) { setField(16, v); } + set updatedAt($6.Timestamp v) { setField(16, v); } @$pb.TagNumber(16) $core.bool hasUpdatedAt() => $_has(15); @$pb.TagNumber(16) void clearUpdatedAt() => clearField(16); @$pb.TagNumber(16) - $5.Timestamp ensureUpdatedAt() => $_ensure(15); + $6.Timestamp ensureUpdatedAt() => $_ensure(15); + + @$pb.TagNumber(18) + MLTrainingMetadata get mlTrainingMetadata => $_getN(16); + @$pb.TagNumber(18) + set mlTrainingMetadata(MLTrainingMetadata v) { setField(18, v); } + @$pb.TagNumber(18) + $core.bool hasMlTrainingMetadata() => $_has(16); + @$pb.TagNumber(18) + void clearMlTrainingMetadata() => clearField(18); + @$pb.TagNumber(18) + MLTrainingMetadata ensureMlTrainingMetadata() => $_ensure(16); } class GetRegistryItemRequest extends $pb.GeneratedMessage { @@ -7964,7 +8070,7 @@ class CreateRegistryItemRequest extends $pb.GeneratedMessage { factory CreateRegistryItemRequest({ $core.String? organizationId, $core.String? name, - $0.PackageType? type, + $1.PackageType? type, }) { final $result = create(); if (organizationId != null) { @@ -7985,7 +8091,7 @@ class CreateRegistryItemRequest extends $pb.GeneratedMessage { 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) + ..e<$1.PackageType>(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $1.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $1.PackageType.valueOf, enumValues: $1.PackageType.values) ..hasRequiredFields = false ; @@ -8032,9 +8138,9 @@ class CreateRegistryItemRequest extends $pb.GeneratedMessage { /// The type of the item in the registry @$pb.TagNumber(3) - $0.PackageType get type => $_getN(2); + $1.PackageType get type => $_getN(2); @$pb.TagNumber(3) - set type($0.PackageType v) { setField(3, v); } + set type($1.PackageType v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasType() => $_has(2); @$pb.TagNumber(3) @@ -8076,7 +8182,7 @@ class CreateRegistryItemResponse extends $pb.GeneratedMessage { class UpdateRegistryItemRequest extends $pb.GeneratedMessage { factory UpdateRegistryItemRequest({ $core.String? itemId, - $0.PackageType? type, + $1.PackageType? type, $core.String? description, Visibility? visibility, }) { @@ -8101,7 +8207,7 @@ class UpdateRegistryItemRequest extends $pb.GeneratedMessage { 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) + ..e<$1.PackageType>(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $1.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $1.PackageType.valueOf, enumValues: $1.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 @@ -8138,9 +8244,9 @@ class UpdateRegistryItemRequest extends $pb.GeneratedMessage { void clearItemId() => clearField(1); @$pb.TagNumber(2) - $0.PackageType get type => $_getN(1); + $1.PackageType get type => $_getN(1); @$pb.TagNumber(2) - set type($0.PackageType v) { setField(2, v); } + set type($1.PackageType v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasType() => $_has(1); @$pb.TagNumber(2) @@ -8200,7 +8306,7 @@ class UpdateRegistryItemResponse extends $pb.GeneratedMessage { class ListRegistryItemsRequest extends $pb.GeneratedMessage { factory ListRegistryItemsRequest({ $core.String? organizationId, - $core.Iterable<$0.PackageType>? types, + $core.Iterable<$1.PackageType>? types, $core.Iterable? visibilities, $core.Iterable<$core.String>? platforms, $core.Iterable? statuses, @@ -8237,7 +8343,7 @@ class ListRegistryItemsRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListRegistryItemsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'organizationId') - ..pc<$0.PackageType>(2, _omitFieldNames ? '' : 'types', $pb.PbFieldType.KE, valueOf: $0.PackageType.valueOf, enumValues: $0.PackageType.values, defaultEnumValue: $0.PackageType.PACKAGE_TYPE_UNSPECIFIED) + ..pc<$1.PackageType>(2, _omitFieldNames ? '' : 'types', $pb.PbFieldType.KE, valueOf: $1.PackageType.valueOf, enumValues: $1.PackageType.values, defaultEnumValue: $1.PackageType.PACKAGE_TYPE_UNSPECIFIED) ..pc(3, _omitFieldNames ? '' : 'visibilities', $pb.PbFieldType.KE, valueOf: Visibility.valueOf, enumValues: Visibility.values, defaultEnumValue: Visibility.VISIBILITY_UNSPECIFIED) ..pPS(4, _omitFieldNames ? '' : 'platforms') ..pc(5, _omitFieldNames ? '' : 'statuses', $pb.PbFieldType.KE, valueOf: RegistryItemStatus.valueOf, enumValues: RegistryItemStatus.values, defaultEnumValue: RegistryItemStatus.REGISTRY_ITEM_STATUS_UNSPECIFIED) @@ -8278,7 +8384,7 @@ class ListRegistryItemsRequest extends $pb.GeneratedMessage { void clearOrganizationId() => clearField(1); @$pb.TagNumber(2) - $core.List<$0.PackageType> get types => $_getList(1); + $core.List<$1.PackageType> get types => $_getList(1); @$pb.TagNumber(3) $core.List get visibilities => $_getList(2); @@ -9417,7 +9523,7 @@ class VersionHistory extends $pb.GeneratedMessage { class Uploads extends $pb.GeneratedMessage { factory Uploads({ $core.String? platform, - $5.Timestamp? uploadedAt, + $6.Timestamp? uploadedAt, }) { final $result = create(); if (platform != null) { @@ -9434,7 +9540,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<$5.Timestamp>(2, _omitFieldNames ? '' : 'uploadedAt', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(2, _omitFieldNames ? '' : 'uploadedAt', subBuilder: $6.Timestamp.create) ..hasRequiredFields = false ; @@ -9471,15 +9577,15 @@ class Uploads extends $pb.GeneratedMessage { /// The time when the file was uploaded @$pb.TagNumber(2) - $5.Timestamp get uploadedAt => $_getN(1); + $6.Timestamp get uploadedAt => $_getN(1); @$pb.TagNumber(2) - set uploadedAt($5.Timestamp v) { setField(2, v); } + set uploadedAt($6.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasUploadedAt() => $_has(1); @$pb.TagNumber(2) void clearUploadedAt() => clearField(2); @$pb.TagNumber(2) - $5.Timestamp ensureUploadedAt() => $_ensure(1); + $6.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 94ebae4ae3..61c3f65a98 100644 --- a/lib/src/gen/app/v1/app.pbgrpc.dart +++ b/lib/src/gen/app/v1/app.pbgrpc.dart @@ -15,288 +15,288 @@ 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 $1; +import 'app.pb.dart' as $2; export 'app.pb.dart'; @$pb.GrpcServiceName('viam.app.v1.AppService') class AppServiceClient extends $grpc.Client { - static final _$getUserIDByEmail = $grpc.ClientMethod<$1.GetUserIDByEmailRequest, $1.GetUserIDByEmailResponse>( + static final _$getUserIDByEmail = $grpc.ClientMethod<$2.GetUserIDByEmailRequest, $2.GetUserIDByEmailResponse>( '/viam.app.v1.AppService/GetUserIDByEmail', - ($1.GetUserIDByEmailRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetUserIDByEmailResponse.fromBuffer(value)); - static final _$createOrganization = $grpc.ClientMethod<$1.CreateOrganizationRequest, $1.CreateOrganizationResponse>( + ($2.GetUserIDByEmailRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetUserIDByEmailResponse.fromBuffer(value)); + static final _$createOrganization = $grpc.ClientMethod<$2.CreateOrganizationRequest, $2.CreateOrganizationResponse>( '/viam.app.v1.AppService/CreateOrganization', - ($1.CreateOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.CreateOrganizationResponse.fromBuffer(value)); - static final _$listOrganizations = $grpc.ClientMethod<$1.ListOrganizationsRequest, $1.ListOrganizationsResponse>( + ($2.CreateOrganizationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.CreateOrganizationResponse.fromBuffer(value)); + static final _$listOrganizations = $grpc.ClientMethod<$2.ListOrganizationsRequest, $2.ListOrganizationsResponse>( '/viam.app.v1.AppService/ListOrganizations', - ($1.ListOrganizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListOrganizationsResponse.fromBuffer(value)); - static final _$getOrganizationsWithAccessToLocation = $grpc.ClientMethod<$1.GetOrganizationsWithAccessToLocationRequest, $1.GetOrganizationsWithAccessToLocationResponse>( + ($2.ListOrganizationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.ListOrganizationsResponse.fromBuffer(value)); + static final _$getOrganizationsWithAccessToLocation = $grpc.ClientMethod<$2.GetOrganizationsWithAccessToLocationRequest, $2.GetOrganizationsWithAccessToLocationResponse>( '/viam.app.v1.AppService/GetOrganizationsWithAccessToLocation', - ($1.GetOrganizationsWithAccessToLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetOrganizationsWithAccessToLocationResponse.fromBuffer(value)); - static final _$listOrganizationsByUser = $grpc.ClientMethod<$1.ListOrganizationsByUserRequest, $1.ListOrganizationsByUserResponse>( + ($2.GetOrganizationsWithAccessToLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetOrganizationsWithAccessToLocationResponse.fromBuffer(value)); + static final _$listOrganizationsByUser = $grpc.ClientMethod<$2.ListOrganizationsByUserRequest, $2.ListOrganizationsByUserResponse>( '/viam.app.v1.AppService/ListOrganizationsByUser', - ($1.ListOrganizationsByUserRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListOrganizationsByUserResponse.fromBuffer(value)); - static final _$getOrganization = $grpc.ClientMethod<$1.GetOrganizationRequest, $1.GetOrganizationResponse>( + ($2.ListOrganizationsByUserRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.ListOrganizationsByUserResponse.fromBuffer(value)); + static final _$getOrganization = $grpc.ClientMethod<$2.GetOrganizationRequest, $2.GetOrganizationResponse>( '/viam.app.v1.AppService/GetOrganization', - ($1.GetOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetOrganizationResponse.fromBuffer(value)); - static final _$getOrganizationNamespaceAvailability = $grpc.ClientMethod<$1.GetOrganizationNamespaceAvailabilityRequest, $1.GetOrganizationNamespaceAvailabilityResponse>( + ($2.GetOrganizationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetOrganizationResponse.fromBuffer(value)); + static final _$getOrganizationNamespaceAvailability = $grpc.ClientMethod<$2.GetOrganizationNamespaceAvailabilityRequest, $2.GetOrganizationNamespaceAvailabilityResponse>( '/viam.app.v1.AppService/GetOrganizationNamespaceAvailability', - ($1.GetOrganizationNamespaceAvailabilityRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetOrganizationNamespaceAvailabilityResponse.fromBuffer(value)); - static final _$updateOrganization = $grpc.ClientMethod<$1.UpdateOrganizationRequest, $1.UpdateOrganizationResponse>( + ($2.GetOrganizationNamespaceAvailabilityRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetOrganizationNamespaceAvailabilityResponse.fromBuffer(value)); + static final _$updateOrganization = $grpc.ClientMethod<$2.UpdateOrganizationRequest, $2.UpdateOrganizationResponse>( '/viam.app.v1.AppService/UpdateOrganization', - ($1.UpdateOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.UpdateOrganizationResponse.fromBuffer(value)); - static final _$deleteOrganization = $grpc.ClientMethod<$1.DeleteOrganizationRequest, $1.DeleteOrganizationResponse>( + ($2.UpdateOrganizationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.UpdateOrganizationResponse.fromBuffer(value)); + static final _$deleteOrganization = $grpc.ClientMethod<$2.DeleteOrganizationRequest, $2.DeleteOrganizationResponse>( '/viam.app.v1.AppService/DeleteOrganization', - ($1.DeleteOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.DeleteOrganizationResponse.fromBuffer(value)); - static final _$listOrganizationMembers = $grpc.ClientMethod<$1.ListOrganizationMembersRequest, $1.ListOrganizationMembersResponse>( + ($2.DeleteOrganizationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.DeleteOrganizationResponse.fromBuffer(value)); + static final _$listOrganizationMembers = $grpc.ClientMethod<$2.ListOrganizationMembersRequest, $2.ListOrganizationMembersResponse>( '/viam.app.v1.AppService/ListOrganizationMembers', - ($1.ListOrganizationMembersRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListOrganizationMembersResponse.fromBuffer(value)); - static final _$createOrganizationInvite = $grpc.ClientMethod<$1.CreateOrganizationInviteRequest, $1.CreateOrganizationInviteResponse>( + ($2.ListOrganizationMembersRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.ListOrganizationMembersResponse.fromBuffer(value)); + static final _$createOrganizationInvite = $grpc.ClientMethod<$2.CreateOrganizationInviteRequest, $2.CreateOrganizationInviteResponse>( '/viam.app.v1.AppService/CreateOrganizationInvite', - ($1.CreateOrganizationInviteRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.CreateOrganizationInviteResponse.fromBuffer(value)); - static final _$updateOrganizationInviteAuthorizations = $grpc.ClientMethod<$1.UpdateOrganizationInviteAuthorizationsRequest, $1.UpdateOrganizationInviteAuthorizationsResponse>( + ($2.CreateOrganizationInviteRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.CreateOrganizationInviteResponse.fromBuffer(value)); + static final _$updateOrganizationInviteAuthorizations = $grpc.ClientMethod<$2.UpdateOrganizationInviteAuthorizationsRequest, $2.UpdateOrganizationInviteAuthorizationsResponse>( '/viam.app.v1.AppService/UpdateOrganizationInviteAuthorizations', - ($1.UpdateOrganizationInviteAuthorizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.UpdateOrganizationInviteAuthorizationsResponse.fromBuffer(value)); - static final _$deleteOrganizationMember = $grpc.ClientMethod<$1.DeleteOrganizationMemberRequest, $1.DeleteOrganizationMemberResponse>( + ($2.UpdateOrganizationInviteAuthorizationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.UpdateOrganizationInviteAuthorizationsResponse.fromBuffer(value)); + static final _$deleteOrganizationMember = $grpc.ClientMethod<$2.DeleteOrganizationMemberRequest, $2.DeleteOrganizationMemberResponse>( '/viam.app.v1.AppService/DeleteOrganizationMember', - ($1.DeleteOrganizationMemberRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.DeleteOrganizationMemberResponse.fromBuffer(value)); - static final _$deleteOrganizationInvite = $grpc.ClientMethod<$1.DeleteOrganizationInviteRequest, $1.DeleteOrganizationInviteResponse>( + ($2.DeleteOrganizationMemberRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.DeleteOrganizationMemberResponse.fromBuffer(value)); + static final _$deleteOrganizationInvite = $grpc.ClientMethod<$2.DeleteOrganizationInviteRequest, $2.DeleteOrganizationInviteResponse>( '/viam.app.v1.AppService/DeleteOrganizationInvite', - ($1.DeleteOrganizationInviteRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.DeleteOrganizationInviteResponse.fromBuffer(value)); - static final _$resendOrganizationInvite = $grpc.ClientMethod<$1.ResendOrganizationInviteRequest, $1.ResendOrganizationInviteResponse>( + ($2.DeleteOrganizationInviteRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.DeleteOrganizationInviteResponse.fromBuffer(value)); + static final _$resendOrganizationInvite = $grpc.ClientMethod<$2.ResendOrganizationInviteRequest, $2.ResendOrganizationInviteResponse>( '/viam.app.v1.AppService/ResendOrganizationInvite', - ($1.ResendOrganizationInviteRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ResendOrganizationInviteResponse.fromBuffer(value)); - static final _$createLocation = $grpc.ClientMethod<$1.CreateLocationRequest, $1.CreateLocationResponse>( + ($2.ResendOrganizationInviteRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.ResendOrganizationInviteResponse.fromBuffer(value)); + static final _$createLocation = $grpc.ClientMethod<$2.CreateLocationRequest, $2.CreateLocationResponse>( '/viam.app.v1.AppService/CreateLocation', - ($1.CreateLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.CreateLocationResponse.fromBuffer(value)); - static final _$getLocation = $grpc.ClientMethod<$1.GetLocationRequest, $1.GetLocationResponse>( + ($2.CreateLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.CreateLocationResponse.fromBuffer(value)); + static final _$getLocation = $grpc.ClientMethod<$2.GetLocationRequest, $2.GetLocationResponse>( '/viam.app.v1.AppService/GetLocation', - ($1.GetLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetLocationResponse.fromBuffer(value)); - static final _$updateLocation = $grpc.ClientMethod<$1.UpdateLocationRequest, $1.UpdateLocationResponse>( + ($2.GetLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetLocationResponse.fromBuffer(value)); + static final _$updateLocation = $grpc.ClientMethod<$2.UpdateLocationRequest, $2.UpdateLocationResponse>( '/viam.app.v1.AppService/UpdateLocation', - ($1.UpdateLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.UpdateLocationResponse.fromBuffer(value)); - static final _$deleteLocation = $grpc.ClientMethod<$1.DeleteLocationRequest, $1.DeleteLocationResponse>( + ($2.UpdateLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.UpdateLocationResponse.fromBuffer(value)); + static final _$deleteLocation = $grpc.ClientMethod<$2.DeleteLocationRequest, $2.DeleteLocationResponse>( '/viam.app.v1.AppService/DeleteLocation', - ($1.DeleteLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.DeleteLocationResponse.fromBuffer(value)); - static final _$listLocations = $grpc.ClientMethod<$1.ListLocationsRequest, $1.ListLocationsResponse>( + ($2.DeleteLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.DeleteLocationResponse.fromBuffer(value)); + static final _$listLocations = $grpc.ClientMethod<$2.ListLocationsRequest, $2.ListLocationsResponse>( '/viam.app.v1.AppService/ListLocations', - ($1.ListLocationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListLocationsResponse.fromBuffer(value)); - static final _$shareLocation = $grpc.ClientMethod<$1.ShareLocationRequest, $1.ShareLocationResponse>( + ($2.ListLocationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.ListLocationsResponse.fromBuffer(value)); + static final _$shareLocation = $grpc.ClientMethod<$2.ShareLocationRequest, $2.ShareLocationResponse>( '/viam.app.v1.AppService/ShareLocation', - ($1.ShareLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ShareLocationResponse.fromBuffer(value)); - static final _$unshareLocation = $grpc.ClientMethod<$1.UnshareLocationRequest, $1.UnshareLocationResponse>( + ($2.ShareLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.ShareLocationResponse.fromBuffer(value)); + static final _$unshareLocation = $grpc.ClientMethod<$2.UnshareLocationRequest, $2.UnshareLocationResponse>( '/viam.app.v1.AppService/UnshareLocation', - ($1.UnshareLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.UnshareLocationResponse.fromBuffer(value)); - static final _$locationAuth = $grpc.ClientMethod<$1.LocationAuthRequest, $1.LocationAuthResponse>( + ($2.UnshareLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.UnshareLocationResponse.fromBuffer(value)); + static final _$locationAuth = $grpc.ClientMethod<$2.LocationAuthRequest, $2.LocationAuthResponse>( '/viam.app.v1.AppService/LocationAuth', - ($1.LocationAuthRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.LocationAuthResponse.fromBuffer(value)); - static final _$createLocationSecret = $grpc.ClientMethod<$1.CreateLocationSecretRequest, $1.CreateLocationSecretResponse>( + ($2.LocationAuthRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.LocationAuthResponse.fromBuffer(value)); + static final _$createLocationSecret = $grpc.ClientMethod<$2.CreateLocationSecretRequest, $2.CreateLocationSecretResponse>( '/viam.app.v1.AppService/CreateLocationSecret', - ($1.CreateLocationSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.CreateLocationSecretResponse.fromBuffer(value)); - static final _$deleteLocationSecret = $grpc.ClientMethod<$1.DeleteLocationSecretRequest, $1.DeleteLocationSecretResponse>( + ($2.CreateLocationSecretRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.CreateLocationSecretResponse.fromBuffer(value)); + static final _$deleteLocationSecret = $grpc.ClientMethod<$2.DeleteLocationSecretRequest, $2.DeleteLocationSecretResponse>( '/viam.app.v1.AppService/DeleteLocationSecret', - ($1.DeleteLocationSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.DeleteLocationSecretResponse.fromBuffer(value)); - static final _$getRobot = $grpc.ClientMethod<$1.GetRobotRequest, $1.GetRobotResponse>( + ($2.DeleteLocationSecretRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.DeleteLocationSecretResponse.fromBuffer(value)); + static final _$getRobot = $grpc.ClientMethod<$2.GetRobotRequest, $2.GetRobotResponse>( '/viam.app.v1.AppService/GetRobot', - ($1.GetRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetRobotResponse.fromBuffer(value)); - static final _$getRoverRentalRobots = $grpc.ClientMethod<$1.GetRoverRentalRobotsRequest, $1.GetRoverRentalRobotsResponse>( + ($2.GetRobotRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetRobotResponse.fromBuffer(value)); + static final _$getRoverRentalRobots = $grpc.ClientMethod<$2.GetRoverRentalRobotsRequest, $2.GetRoverRentalRobotsResponse>( '/viam.app.v1.AppService/GetRoverRentalRobots', - ($1.GetRoverRentalRobotsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetRoverRentalRobotsResponse.fromBuffer(value)); - static final _$getRobotParts = $grpc.ClientMethod<$1.GetRobotPartsRequest, $1.GetRobotPartsResponse>( + ($2.GetRoverRentalRobotsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetRoverRentalRobotsResponse.fromBuffer(value)); + static final _$getRobotParts = $grpc.ClientMethod<$2.GetRobotPartsRequest, $2.GetRobotPartsResponse>( '/viam.app.v1.AppService/GetRobotParts', - ($1.GetRobotPartsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetRobotPartsResponse.fromBuffer(value)); - static final _$getRobotPart = $grpc.ClientMethod<$1.GetRobotPartRequest, $1.GetRobotPartResponse>( + ($2.GetRobotPartsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetRobotPartsResponse.fromBuffer(value)); + static final _$getRobotPart = $grpc.ClientMethod<$2.GetRobotPartRequest, $2.GetRobotPartResponse>( '/viam.app.v1.AppService/GetRobotPart', - ($1.GetRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetRobotPartResponse.fromBuffer(value)); - static final _$getRobotPartLogs = $grpc.ClientMethod<$1.GetRobotPartLogsRequest, $1.GetRobotPartLogsResponse>( + ($2.GetRobotPartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetRobotPartResponse.fromBuffer(value)); + static final _$getRobotPartLogs = $grpc.ClientMethod<$2.GetRobotPartLogsRequest, $2.GetRobotPartLogsResponse>( '/viam.app.v1.AppService/GetRobotPartLogs', - ($1.GetRobotPartLogsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetRobotPartLogsResponse.fromBuffer(value)); - static final _$tailRobotPartLogs = $grpc.ClientMethod<$1.TailRobotPartLogsRequest, $1.TailRobotPartLogsResponse>( + ($2.GetRobotPartLogsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetRobotPartLogsResponse.fromBuffer(value)); + static final _$tailRobotPartLogs = $grpc.ClientMethod<$2.TailRobotPartLogsRequest, $2.TailRobotPartLogsResponse>( '/viam.app.v1.AppService/TailRobotPartLogs', - ($1.TailRobotPartLogsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.TailRobotPartLogsResponse.fromBuffer(value)); - static final _$getRobotPartHistory = $grpc.ClientMethod<$1.GetRobotPartHistoryRequest, $1.GetRobotPartHistoryResponse>( + ($2.TailRobotPartLogsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.TailRobotPartLogsResponse.fromBuffer(value)); + static final _$getRobotPartHistory = $grpc.ClientMethod<$2.GetRobotPartHistoryRequest, $2.GetRobotPartHistoryResponse>( '/viam.app.v1.AppService/GetRobotPartHistory', - ($1.GetRobotPartHistoryRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetRobotPartHistoryResponse.fromBuffer(value)); - static final _$updateRobotPart = $grpc.ClientMethod<$1.UpdateRobotPartRequest, $1.UpdateRobotPartResponse>( + ($2.GetRobotPartHistoryRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetRobotPartHistoryResponse.fromBuffer(value)); + static final _$updateRobotPart = $grpc.ClientMethod<$2.UpdateRobotPartRequest, $2.UpdateRobotPartResponse>( '/viam.app.v1.AppService/UpdateRobotPart', - ($1.UpdateRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.UpdateRobotPartResponse.fromBuffer(value)); - static final _$newRobotPart = $grpc.ClientMethod<$1.NewRobotPartRequest, $1.NewRobotPartResponse>( + ($2.UpdateRobotPartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.UpdateRobotPartResponse.fromBuffer(value)); + static final _$newRobotPart = $grpc.ClientMethod<$2.NewRobotPartRequest, $2.NewRobotPartResponse>( '/viam.app.v1.AppService/NewRobotPart', - ($1.NewRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.NewRobotPartResponse.fromBuffer(value)); - static final _$deleteRobotPart = $grpc.ClientMethod<$1.DeleteRobotPartRequest, $1.DeleteRobotPartResponse>( + ($2.NewRobotPartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.NewRobotPartResponse.fromBuffer(value)); + static final _$deleteRobotPart = $grpc.ClientMethod<$2.DeleteRobotPartRequest, $2.DeleteRobotPartResponse>( '/viam.app.v1.AppService/DeleteRobotPart', - ($1.DeleteRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.DeleteRobotPartResponse.fromBuffer(value)); - static final _$getRobotAPIKeys = $grpc.ClientMethod<$1.GetRobotAPIKeysRequest, $1.GetRobotAPIKeysResponse>( + ($2.DeleteRobotPartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.DeleteRobotPartResponse.fromBuffer(value)); + static final _$getRobotAPIKeys = $grpc.ClientMethod<$2.GetRobotAPIKeysRequest, $2.GetRobotAPIKeysResponse>( '/viam.app.v1.AppService/GetRobotAPIKeys', - ($1.GetRobotAPIKeysRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetRobotAPIKeysResponse.fromBuffer(value)); - static final _$markPartAsMain = $grpc.ClientMethod<$1.MarkPartAsMainRequest, $1.MarkPartAsMainResponse>( + ($2.GetRobotAPIKeysRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetRobotAPIKeysResponse.fromBuffer(value)); + static final _$markPartAsMain = $grpc.ClientMethod<$2.MarkPartAsMainRequest, $2.MarkPartAsMainResponse>( '/viam.app.v1.AppService/MarkPartAsMain', - ($1.MarkPartAsMainRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.MarkPartAsMainResponse.fromBuffer(value)); - static final _$markPartForRestart = $grpc.ClientMethod<$1.MarkPartForRestartRequest, $1.MarkPartForRestartResponse>( + ($2.MarkPartAsMainRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.MarkPartAsMainResponse.fromBuffer(value)); + static final _$markPartForRestart = $grpc.ClientMethod<$2.MarkPartForRestartRequest, $2.MarkPartForRestartResponse>( '/viam.app.v1.AppService/MarkPartForRestart', - ($1.MarkPartForRestartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.MarkPartForRestartResponse.fromBuffer(value)); - static final _$createRobotPartSecret = $grpc.ClientMethod<$1.CreateRobotPartSecretRequest, $1.CreateRobotPartSecretResponse>( + ($2.MarkPartForRestartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.MarkPartForRestartResponse.fromBuffer(value)); + static final _$createRobotPartSecret = $grpc.ClientMethod<$2.CreateRobotPartSecretRequest, $2.CreateRobotPartSecretResponse>( '/viam.app.v1.AppService/CreateRobotPartSecret', - ($1.CreateRobotPartSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.CreateRobotPartSecretResponse.fromBuffer(value)); - static final _$deleteRobotPartSecret = $grpc.ClientMethod<$1.DeleteRobotPartSecretRequest, $1.DeleteRobotPartSecretResponse>( + ($2.CreateRobotPartSecretRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.CreateRobotPartSecretResponse.fromBuffer(value)); + static final _$deleteRobotPartSecret = $grpc.ClientMethod<$2.DeleteRobotPartSecretRequest, $2.DeleteRobotPartSecretResponse>( '/viam.app.v1.AppService/DeleteRobotPartSecret', - ($1.DeleteRobotPartSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.DeleteRobotPartSecretResponse.fromBuffer(value)); - static final _$listRobots = $grpc.ClientMethod<$1.ListRobotsRequest, $1.ListRobotsResponse>( + ($2.DeleteRobotPartSecretRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.DeleteRobotPartSecretResponse.fromBuffer(value)); + static final _$listRobots = $grpc.ClientMethod<$2.ListRobotsRequest, $2.ListRobotsResponse>( '/viam.app.v1.AppService/ListRobots', - ($1.ListRobotsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListRobotsResponse.fromBuffer(value)); - static final _$newRobot = $grpc.ClientMethod<$1.NewRobotRequest, $1.NewRobotResponse>( + ($2.ListRobotsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.ListRobotsResponse.fromBuffer(value)); + static final _$newRobot = $grpc.ClientMethod<$2.NewRobotRequest, $2.NewRobotResponse>( '/viam.app.v1.AppService/NewRobot', - ($1.NewRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.NewRobotResponse.fromBuffer(value)); - static final _$updateRobot = $grpc.ClientMethod<$1.UpdateRobotRequest, $1.UpdateRobotResponse>( + ($2.NewRobotRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.NewRobotResponse.fromBuffer(value)); + static final _$updateRobot = $grpc.ClientMethod<$2.UpdateRobotRequest, $2.UpdateRobotResponse>( '/viam.app.v1.AppService/UpdateRobot', - ($1.UpdateRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.UpdateRobotResponse.fromBuffer(value)); - static final _$deleteRobot = $grpc.ClientMethod<$1.DeleteRobotRequest, $1.DeleteRobotResponse>( + ($2.UpdateRobotRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.UpdateRobotResponse.fromBuffer(value)); + static final _$deleteRobot = $grpc.ClientMethod<$2.DeleteRobotRequest, $2.DeleteRobotResponse>( '/viam.app.v1.AppService/DeleteRobot', - ($1.DeleteRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.DeleteRobotResponse.fromBuffer(value)); - static final _$listFragments = $grpc.ClientMethod<$1.ListFragmentsRequest, $1.ListFragmentsResponse>( + ($2.DeleteRobotRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.DeleteRobotResponse.fromBuffer(value)); + static final _$listFragments = $grpc.ClientMethod<$2.ListFragmentsRequest, $2.ListFragmentsResponse>( '/viam.app.v1.AppService/ListFragments', - ($1.ListFragmentsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListFragmentsResponse.fromBuffer(value)); - static final _$getFragment = $grpc.ClientMethod<$1.GetFragmentRequest, $1.GetFragmentResponse>( + ($2.ListFragmentsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.ListFragmentsResponse.fromBuffer(value)); + static final _$getFragment = $grpc.ClientMethod<$2.GetFragmentRequest, $2.GetFragmentResponse>( '/viam.app.v1.AppService/GetFragment', - ($1.GetFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetFragmentResponse.fromBuffer(value)); - static final _$createFragment = $grpc.ClientMethod<$1.CreateFragmentRequest, $1.CreateFragmentResponse>( + ($2.GetFragmentRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetFragmentResponse.fromBuffer(value)); + static final _$createFragment = $grpc.ClientMethod<$2.CreateFragmentRequest, $2.CreateFragmentResponse>( '/viam.app.v1.AppService/CreateFragment', - ($1.CreateFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.CreateFragmentResponse.fromBuffer(value)); - static final _$updateFragment = $grpc.ClientMethod<$1.UpdateFragmentRequest, $1.UpdateFragmentResponse>( + ($2.CreateFragmentRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.CreateFragmentResponse.fromBuffer(value)); + static final _$updateFragment = $grpc.ClientMethod<$2.UpdateFragmentRequest, $2.UpdateFragmentResponse>( '/viam.app.v1.AppService/UpdateFragment', - ($1.UpdateFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.UpdateFragmentResponse.fromBuffer(value)); - static final _$deleteFragment = $grpc.ClientMethod<$1.DeleteFragmentRequest, $1.DeleteFragmentResponse>( + ($2.UpdateFragmentRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.UpdateFragmentResponse.fromBuffer(value)); + static final _$deleteFragment = $grpc.ClientMethod<$2.DeleteFragmentRequest, $2.DeleteFragmentResponse>( '/viam.app.v1.AppService/DeleteFragment', - ($1.DeleteFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.DeleteFragmentResponse.fromBuffer(value)); - static final _$addRole = $grpc.ClientMethod<$1.AddRoleRequest, $1.AddRoleResponse>( + ($2.DeleteFragmentRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.DeleteFragmentResponse.fromBuffer(value)); + static final _$addRole = $grpc.ClientMethod<$2.AddRoleRequest, $2.AddRoleResponse>( '/viam.app.v1.AppService/AddRole', - ($1.AddRoleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.AddRoleResponse.fromBuffer(value)); - static final _$removeRole = $grpc.ClientMethod<$1.RemoveRoleRequest, $1.RemoveRoleResponse>( + ($2.AddRoleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.AddRoleResponse.fromBuffer(value)); + static final _$removeRole = $grpc.ClientMethod<$2.RemoveRoleRequest, $2.RemoveRoleResponse>( '/viam.app.v1.AppService/RemoveRole', - ($1.RemoveRoleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.RemoveRoleResponse.fromBuffer(value)); - static final _$changeRole = $grpc.ClientMethod<$1.ChangeRoleRequest, $1.ChangeRoleResponse>( + ($2.RemoveRoleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.RemoveRoleResponse.fromBuffer(value)); + static final _$changeRole = $grpc.ClientMethod<$2.ChangeRoleRequest, $2.ChangeRoleResponse>( '/viam.app.v1.AppService/ChangeRole', - ($1.ChangeRoleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ChangeRoleResponse.fromBuffer(value)); - static final _$listAuthorizations = $grpc.ClientMethod<$1.ListAuthorizationsRequest, $1.ListAuthorizationsResponse>( + ($2.ChangeRoleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.ChangeRoleResponse.fromBuffer(value)); + static final _$listAuthorizations = $grpc.ClientMethod<$2.ListAuthorizationsRequest, $2.ListAuthorizationsResponse>( '/viam.app.v1.AppService/ListAuthorizations', - ($1.ListAuthorizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListAuthorizationsResponse.fromBuffer(value)); - static final _$checkPermissions = $grpc.ClientMethod<$1.CheckPermissionsRequest, $1.CheckPermissionsResponse>( + ($2.ListAuthorizationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.ListAuthorizationsResponse.fromBuffer(value)); + static final _$checkPermissions = $grpc.ClientMethod<$2.CheckPermissionsRequest, $2.CheckPermissionsResponse>( '/viam.app.v1.AppService/CheckPermissions', - ($1.CheckPermissionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.CheckPermissionsResponse.fromBuffer(value)); - static final _$getRegistryItem = $grpc.ClientMethod<$1.GetRegistryItemRequest, $1.GetRegistryItemResponse>( + ($2.CheckPermissionsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.CheckPermissionsResponse.fromBuffer(value)); + static final _$getRegistryItem = $grpc.ClientMethod<$2.GetRegistryItemRequest, $2.GetRegistryItemResponse>( '/viam.app.v1.AppService/GetRegistryItem', - ($1.GetRegistryItemRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetRegistryItemResponse.fromBuffer(value)); - static final _$createRegistryItem = $grpc.ClientMethod<$1.CreateRegistryItemRequest, $1.CreateRegistryItemResponse>( + ($2.GetRegistryItemRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetRegistryItemResponse.fromBuffer(value)); + static final _$createRegistryItem = $grpc.ClientMethod<$2.CreateRegistryItemRequest, $2.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>( + ($2.CreateRegistryItemRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.CreateRegistryItemResponse.fromBuffer(value)); + static final _$updateRegistryItem = $grpc.ClientMethod<$2.UpdateRegistryItemRequest, $2.UpdateRegistryItemResponse>( '/viam.app.v1.AppService/UpdateRegistryItem', - ($1.UpdateRegistryItemRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.UpdateRegistryItemResponse.fromBuffer(value)); - static final _$listRegistryItems = $grpc.ClientMethod<$1.ListRegistryItemsRequest, $1.ListRegistryItemsResponse>( + ($2.UpdateRegistryItemRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.UpdateRegistryItemResponse.fromBuffer(value)); + static final _$listRegistryItems = $grpc.ClientMethod<$2.ListRegistryItemsRequest, $2.ListRegistryItemsResponse>( '/viam.app.v1.AppService/ListRegistryItems', - ($1.ListRegistryItemsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListRegistryItemsResponse.fromBuffer(value)); - static final _$deleteRegistryItem = $grpc.ClientMethod<$1.DeleteRegistryItemRequest, $1.DeleteRegistryItemResponse>( + ($2.ListRegistryItemsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.ListRegistryItemsResponse.fromBuffer(value)); + static final _$deleteRegistryItem = $grpc.ClientMethod<$2.DeleteRegistryItemRequest, $2.DeleteRegistryItemResponse>( '/viam.app.v1.AppService/DeleteRegistryItem', - ($1.DeleteRegistryItemRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.DeleteRegistryItemResponse.fromBuffer(value)); - static final _$createModule = $grpc.ClientMethod<$1.CreateModuleRequest, $1.CreateModuleResponse>( + ($2.DeleteRegistryItemRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.DeleteRegistryItemResponse.fromBuffer(value)); + static final _$createModule = $grpc.ClientMethod<$2.CreateModuleRequest, $2.CreateModuleResponse>( '/viam.app.v1.AppService/CreateModule', - ($1.CreateModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.CreateModuleResponse.fromBuffer(value)); - static final _$updateModule = $grpc.ClientMethod<$1.UpdateModuleRequest, $1.UpdateModuleResponse>( + ($2.CreateModuleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.CreateModuleResponse.fromBuffer(value)); + static final _$updateModule = $grpc.ClientMethod<$2.UpdateModuleRequest, $2.UpdateModuleResponse>( '/viam.app.v1.AppService/UpdateModule', - ($1.UpdateModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.UpdateModuleResponse.fromBuffer(value)); - static final _$uploadModuleFile = $grpc.ClientMethod<$1.UploadModuleFileRequest, $1.UploadModuleFileResponse>( + ($2.UpdateModuleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.UpdateModuleResponse.fromBuffer(value)); + static final _$uploadModuleFile = $grpc.ClientMethod<$2.UploadModuleFileRequest, $2.UploadModuleFileResponse>( '/viam.app.v1.AppService/UploadModuleFile', - ($1.UploadModuleFileRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.UploadModuleFileResponse.fromBuffer(value)); - static final _$getModule = $grpc.ClientMethod<$1.GetModuleRequest, $1.GetModuleResponse>( + ($2.UploadModuleFileRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.UploadModuleFileResponse.fromBuffer(value)); + static final _$getModule = $grpc.ClientMethod<$2.GetModuleRequest, $2.GetModuleResponse>( '/viam.app.v1.AppService/GetModule', - ($1.GetModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.GetModuleResponse.fromBuffer(value)); - static final _$listModules = $grpc.ClientMethod<$1.ListModulesRequest, $1.ListModulesResponse>( + ($2.GetModuleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.GetModuleResponse.fromBuffer(value)); + static final _$listModules = $grpc.ClientMethod<$2.ListModulesRequest, $2.ListModulesResponse>( '/viam.app.v1.AppService/ListModules', - ($1.ListModulesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListModulesResponse.fromBuffer(value)); - static final _$createKey = $grpc.ClientMethod<$1.CreateKeyRequest, $1.CreateKeyResponse>( + ($2.ListModulesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.ListModulesResponse.fromBuffer(value)); + static final _$createKey = $grpc.ClientMethod<$2.CreateKeyRequest, $2.CreateKeyResponse>( '/viam.app.v1.AppService/CreateKey', - ($1.CreateKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.CreateKeyResponse.fromBuffer(value)); - static final _$deleteKey = $grpc.ClientMethod<$1.DeleteKeyRequest, $1.DeleteKeyResponse>( + ($2.CreateKeyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.CreateKeyResponse.fromBuffer(value)); + static final _$deleteKey = $grpc.ClientMethod<$2.DeleteKeyRequest, $2.DeleteKeyResponse>( '/viam.app.v1.AppService/DeleteKey', - ($1.DeleteKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.DeleteKeyResponse.fromBuffer(value)); - static final _$listKeys = $grpc.ClientMethod<$1.ListKeysRequest, $1.ListKeysResponse>( + ($2.DeleteKeyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.DeleteKeyResponse.fromBuffer(value)); + static final _$listKeys = $grpc.ClientMethod<$2.ListKeysRequest, $2.ListKeysResponse>( '/viam.app.v1.AppService/ListKeys', - ($1.ListKeysRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.ListKeysResponse.fromBuffer(value)); - static final _$rotateKey = $grpc.ClientMethod<$1.RotateKeyRequest, $1.RotateKeyResponse>( + ($2.ListKeysRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.ListKeysResponse.fromBuffer(value)); + static final _$rotateKey = $grpc.ClientMethod<$2.RotateKeyRequest, $2.RotateKeyResponse>( '/viam.app.v1.AppService/RotateKey', - ($1.RotateKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.RotateKeyResponse.fromBuffer(value)); - static final _$createKeyFromExistingKeyAuthorizations = $grpc.ClientMethod<$1.CreateKeyFromExistingKeyAuthorizationsRequest, $1.CreateKeyFromExistingKeyAuthorizationsResponse>( + ($2.RotateKeyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.RotateKeyResponse.fromBuffer(value)); + static final _$createKeyFromExistingKeyAuthorizations = $grpc.ClientMethod<$2.CreateKeyFromExistingKeyAuthorizationsRequest, $2.CreateKeyFromExistingKeyAuthorizationsResponse>( '/viam.app.v1.AppService/CreateKeyFromExistingKeyAuthorizations', - ($1.CreateKeyFromExistingKeyAuthorizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.CreateKeyFromExistingKeyAuthorizationsResponse.fromBuffer(value)); + ($2.CreateKeyFromExistingKeyAuthorizationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $2.CreateKeyFromExistingKeyAuthorizationsResponse.fromBuffer(value)); AppServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -304,279 +304,279 @@ class AppServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$1.GetUserIDByEmailResponse> getUserIDByEmail($1.GetUserIDByEmailRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetUserIDByEmailResponse> getUserIDByEmail($2.GetUserIDByEmailRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getUserIDByEmail, request, options: options); } - $grpc.ResponseFuture<$1.CreateOrganizationResponse> createOrganization($1.CreateOrganizationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.CreateOrganizationResponse> createOrganization($2.CreateOrganizationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createOrganization, request, options: options); } - $grpc.ResponseFuture<$1.ListOrganizationsResponse> listOrganizations($1.ListOrganizationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.ListOrganizationsResponse> listOrganizations($2.ListOrganizationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listOrganizations, request, options: options); } - $grpc.ResponseFuture<$1.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation($1.GetOrganizationsWithAccessToLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation($2.GetOrganizationsWithAccessToLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getOrganizationsWithAccessToLocation, request, options: options); } - $grpc.ResponseFuture<$1.ListOrganizationsByUserResponse> listOrganizationsByUser($1.ListOrganizationsByUserRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.ListOrganizationsByUserResponse> listOrganizationsByUser($2.ListOrganizationsByUserRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listOrganizationsByUser, request, options: options); } - $grpc.ResponseFuture<$1.GetOrganizationResponse> getOrganization($1.GetOrganizationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetOrganizationResponse> getOrganization($2.GetOrganizationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getOrganization, request, options: options); } - $grpc.ResponseFuture<$1.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability($1.GetOrganizationNamespaceAvailabilityRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability($2.GetOrganizationNamespaceAvailabilityRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getOrganizationNamespaceAvailability, request, options: options); } - $grpc.ResponseFuture<$1.UpdateOrganizationResponse> updateOrganization($1.UpdateOrganizationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.UpdateOrganizationResponse> updateOrganization($2.UpdateOrganizationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateOrganization, request, options: options); } - $grpc.ResponseFuture<$1.DeleteOrganizationResponse> deleteOrganization($1.DeleteOrganizationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.DeleteOrganizationResponse> deleteOrganization($2.DeleteOrganizationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteOrganization, request, options: options); } - $grpc.ResponseFuture<$1.ListOrganizationMembersResponse> listOrganizationMembers($1.ListOrganizationMembersRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.ListOrganizationMembersResponse> listOrganizationMembers($2.ListOrganizationMembersRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listOrganizationMembers, request, options: options); } - $grpc.ResponseFuture<$1.CreateOrganizationInviteResponse> createOrganizationInvite($1.CreateOrganizationInviteRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.CreateOrganizationInviteResponse> createOrganizationInvite($2.CreateOrganizationInviteRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createOrganizationInvite, request, options: options); } - $grpc.ResponseFuture<$1.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations($1.UpdateOrganizationInviteAuthorizationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations($2.UpdateOrganizationInviteAuthorizationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateOrganizationInviteAuthorizations, request, options: options); } - $grpc.ResponseFuture<$1.DeleteOrganizationMemberResponse> deleteOrganizationMember($1.DeleteOrganizationMemberRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.DeleteOrganizationMemberResponse> deleteOrganizationMember($2.DeleteOrganizationMemberRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteOrganizationMember, request, options: options); } - $grpc.ResponseFuture<$1.DeleteOrganizationInviteResponse> deleteOrganizationInvite($1.DeleteOrganizationInviteRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.DeleteOrganizationInviteResponse> deleteOrganizationInvite($2.DeleteOrganizationInviteRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteOrganizationInvite, request, options: options); } - $grpc.ResponseFuture<$1.ResendOrganizationInviteResponse> resendOrganizationInvite($1.ResendOrganizationInviteRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.ResendOrganizationInviteResponse> resendOrganizationInvite($2.ResendOrganizationInviteRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$resendOrganizationInvite, request, options: options); } - $grpc.ResponseFuture<$1.CreateLocationResponse> createLocation($1.CreateLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.CreateLocationResponse> createLocation($2.CreateLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createLocation, request, options: options); } - $grpc.ResponseFuture<$1.GetLocationResponse> getLocation($1.GetLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetLocationResponse> getLocation($2.GetLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getLocation, request, options: options); } - $grpc.ResponseFuture<$1.UpdateLocationResponse> updateLocation($1.UpdateLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.UpdateLocationResponse> updateLocation($2.UpdateLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateLocation, request, options: options); } - $grpc.ResponseFuture<$1.DeleteLocationResponse> deleteLocation($1.DeleteLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.DeleteLocationResponse> deleteLocation($2.DeleteLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteLocation, request, options: options); } - $grpc.ResponseFuture<$1.ListLocationsResponse> listLocations($1.ListLocationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.ListLocationsResponse> listLocations($2.ListLocationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listLocations, request, options: options); } - $grpc.ResponseFuture<$1.ShareLocationResponse> shareLocation($1.ShareLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.ShareLocationResponse> shareLocation($2.ShareLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$shareLocation, request, options: options); } - $grpc.ResponseFuture<$1.UnshareLocationResponse> unshareLocation($1.UnshareLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.UnshareLocationResponse> unshareLocation($2.UnshareLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$unshareLocation, request, options: options); } - $grpc.ResponseFuture<$1.LocationAuthResponse> locationAuth($1.LocationAuthRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.LocationAuthResponse> locationAuth($2.LocationAuthRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$locationAuth, request, options: options); } - $grpc.ResponseFuture<$1.CreateLocationSecretResponse> createLocationSecret($1.CreateLocationSecretRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.CreateLocationSecretResponse> createLocationSecret($2.CreateLocationSecretRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createLocationSecret, request, options: options); } - $grpc.ResponseFuture<$1.DeleteLocationSecretResponse> deleteLocationSecret($1.DeleteLocationSecretRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.DeleteLocationSecretResponse> deleteLocationSecret($2.DeleteLocationSecretRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteLocationSecret, request, options: options); } - $grpc.ResponseFuture<$1.GetRobotResponse> getRobot($1.GetRobotRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetRobotResponse> getRobot($2.GetRobotRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobot, request, options: options); } - $grpc.ResponseFuture<$1.GetRoverRentalRobotsResponse> getRoverRentalRobots($1.GetRoverRentalRobotsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetRoverRentalRobotsResponse> getRoverRentalRobots($2.GetRoverRentalRobotsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRoverRentalRobots, request, options: options); } - $grpc.ResponseFuture<$1.GetRobotPartsResponse> getRobotParts($1.GetRobotPartsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetRobotPartsResponse> getRobotParts($2.GetRobotPartsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotParts, request, options: options); } - $grpc.ResponseFuture<$1.GetRobotPartResponse> getRobotPart($1.GetRobotPartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetRobotPartResponse> getRobotPart($2.GetRobotPartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotPart, request, options: options); } - $grpc.ResponseFuture<$1.GetRobotPartLogsResponse> getRobotPartLogs($1.GetRobotPartLogsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetRobotPartLogsResponse> getRobotPartLogs($2.GetRobotPartLogsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotPartLogs, request, options: options); } - $grpc.ResponseStream<$1.TailRobotPartLogsResponse> tailRobotPartLogs($1.TailRobotPartLogsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$2.TailRobotPartLogsResponse> tailRobotPartLogs($2.TailRobotPartLogsRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$tailRobotPartLogs, $async.Stream.fromIterable([request]), options: options); } - $grpc.ResponseFuture<$1.GetRobotPartHistoryResponse> getRobotPartHistory($1.GetRobotPartHistoryRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetRobotPartHistoryResponse> getRobotPartHistory($2.GetRobotPartHistoryRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotPartHistory, request, options: options); } - $grpc.ResponseFuture<$1.UpdateRobotPartResponse> updateRobotPart($1.UpdateRobotPartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.UpdateRobotPartResponse> updateRobotPart($2.UpdateRobotPartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateRobotPart, request, options: options); } - $grpc.ResponseFuture<$1.NewRobotPartResponse> newRobotPart($1.NewRobotPartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.NewRobotPartResponse> newRobotPart($2.NewRobotPartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$newRobotPart, request, options: options); } - $grpc.ResponseFuture<$1.DeleteRobotPartResponse> deleteRobotPart($1.DeleteRobotPartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.DeleteRobotPartResponse> deleteRobotPart($2.DeleteRobotPartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteRobotPart, request, options: options); } - $grpc.ResponseFuture<$1.GetRobotAPIKeysResponse> getRobotAPIKeys($1.GetRobotAPIKeysRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetRobotAPIKeysResponse> getRobotAPIKeys($2.GetRobotAPIKeysRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotAPIKeys, request, options: options); } - $grpc.ResponseFuture<$1.MarkPartAsMainResponse> markPartAsMain($1.MarkPartAsMainRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.MarkPartAsMainResponse> markPartAsMain($2.MarkPartAsMainRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$markPartAsMain, request, options: options); } - $grpc.ResponseFuture<$1.MarkPartForRestartResponse> markPartForRestart($1.MarkPartForRestartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.MarkPartForRestartResponse> markPartForRestart($2.MarkPartForRestartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$markPartForRestart, request, options: options); } - $grpc.ResponseFuture<$1.CreateRobotPartSecretResponse> createRobotPartSecret($1.CreateRobotPartSecretRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.CreateRobotPartSecretResponse> createRobotPartSecret($2.CreateRobotPartSecretRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createRobotPartSecret, request, options: options); } - $grpc.ResponseFuture<$1.DeleteRobotPartSecretResponse> deleteRobotPartSecret($1.DeleteRobotPartSecretRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.DeleteRobotPartSecretResponse> deleteRobotPartSecret($2.DeleteRobotPartSecretRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteRobotPartSecret, request, options: options); } - $grpc.ResponseFuture<$1.ListRobotsResponse> listRobots($1.ListRobotsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.ListRobotsResponse> listRobots($2.ListRobotsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listRobots, request, options: options); } - $grpc.ResponseFuture<$1.NewRobotResponse> newRobot($1.NewRobotRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.NewRobotResponse> newRobot($2.NewRobotRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$newRobot, request, options: options); } - $grpc.ResponseFuture<$1.UpdateRobotResponse> updateRobot($1.UpdateRobotRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.UpdateRobotResponse> updateRobot($2.UpdateRobotRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateRobot, request, options: options); } - $grpc.ResponseFuture<$1.DeleteRobotResponse> deleteRobot($1.DeleteRobotRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.DeleteRobotResponse> deleteRobot($2.DeleteRobotRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteRobot, request, options: options); } - $grpc.ResponseFuture<$1.ListFragmentsResponse> listFragments($1.ListFragmentsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.ListFragmentsResponse> listFragments($2.ListFragmentsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listFragments, request, options: options); } - $grpc.ResponseFuture<$1.GetFragmentResponse> getFragment($1.GetFragmentRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetFragmentResponse> getFragment($2.GetFragmentRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getFragment, request, options: options); } - $grpc.ResponseFuture<$1.CreateFragmentResponse> createFragment($1.CreateFragmentRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.CreateFragmentResponse> createFragment($2.CreateFragmentRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createFragment, request, options: options); } - $grpc.ResponseFuture<$1.UpdateFragmentResponse> updateFragment($1.UpdateFragmentRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.UpdateFragmentResponse> updateFragment($2.UpdateFragmentRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateFragment, request, options: options); } - $grpc.ResponseFuture<$1.DeleteFragmentResponse> deleteFragment($1.DeleteFragmentRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.DeleteFragmentResponse> deleteFragment($2.DeleteFragmentRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteFragment, request, options: options); } - $grpc.ResponseFuture<$1.AddRoleResponse> addRole($1.AddRoleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.AddRoleResponse> addRole($2.AddRoleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$addRole, request, options: options); } - $grpc.ResponseFuture<$1.RemoveRoleResponse> removeRole($1.RemoveRoleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.RemoveRoleResponse> removeRole($2.RemoveRoleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$removeRole, request, options: options); } - $grpc.ResponseFuture<$1.ChangeRoleResponse> changeRole($1.ChangeRoleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.ChangeRoleResponse> changeRole($2.ChangeRoleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$changeRole, request, options: options); } - $grpc.ResponseFuture<$1.ListAuthorizationsResponse> listAuthorizations($1.ListAuthorizationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.ListAuthorizationsResponse> listAuthorizations($2.ListAuthorizationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listAuthorizations, request, options: options); } - $grpc.ResponseFuture<$1.CheckPermissionsResponse> checkPermissions($1.CheckPermissionsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.CheckPermissionsResponse> checkPermissions($2.CheckPermissionsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$checkPermissions, request, options: options); } - $grpc.ResponseFuture<$1.GetRegistryItemResponse> getRegistryItem($1.GetRegistryItemRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetRegistryItemResponse> getRegistryItem($2.GetRegistryItemRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRegistryItem, request, options: options); } - $grpc.ResponseFuture<$1.CreateRegistryItemResponse> createRegistryItem($1.CreateRegistryItemRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.CreateRegistryItemResponse> createRegistryItem($2.CreateRegistryItemRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createRegistryItem, request, options: options); } - $grpc.ResponseFuture<$1.UpdateRegistryItemResponse> updateRegistryItem($1.UpdateRegistryItemRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.UpdateRegistryItemResponse> updateRegistryItem($2.UpdateRegistryItemRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateRegistryItem, request, options: options); } - $grpc.ResponseFuture<$1.ListRegistryItemsResponse> listRegistryItems($1.ListRegistryItemsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.ListRegistryItemsResponse> listRegistryItems($2.ListRegistryItemsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listRegistryItems, request, options: options); } - $grpc.ResponseFuture<$1.DeleteRegistryItemResponse> deleteRegistryItem($1.DeleteRegistryItemRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.DeleteRegistryItemResponse> deleteRegistryItem($2.DeleteRegistryItemRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteRegistryItem, request, options: options); } - $grpc.ResponseFuture<$1.CreateModuleResponse> createModule($1.CreateModuleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.CreateModuleResponse> createModule($2.CreateModuleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createModule, request, options: options); } - $grpc.ResponseFuture<$1.UpdateModuleResponse> updateModule($1.UpdateModuleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.UpdateModuleResponse> updateModule($2.UpdateModuleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateModule, request, options: options); } - $grpc.ResponseFuture<$1.UploadModuleFileResponse> uploadModuleFile($async.Stream<$1.UploadModuleFileRequest> request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.UploadModuleFileResponse> uploadModuleFile($async.Stream<$2.UploadModuleFileRequest> request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$uploadModuleFile, request, options: options).single; } - $grpc.ResponseFuture<$1.GetModuleResponse> getModule($1.GetModuleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.GetModuleResponse> getModule($2.GetModuleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getModule, request, options: options); } - $grpc.ResponseFuture<$1.ListModulesResponse> listModules($1.ListModulesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.ListModulesResponse> listModules($2.ListModulesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listModules, request, options: options); } - $grpc.ResponseFuture<$1.CreateKeyResponse> createKey($1.CreateKeyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.CreateKeyResponse> createKey($2.CreateKeyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createKey, request, options: options); } - $grpc.ResponseFuture<$1.DeleteKeyResponse> deleteKey($1.DeleteKeyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.DeleteKeyResponse> deleteKey($2.DeleteKeyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteKey, request, options: options); } - $grpc.ResponseFuture<$1.ListKeysResponse> listKeys($1.ListKeysRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.ListKeysResponse> listKeys($2.ListKeysRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listKeys, request, options: options); } - $grpc.ResponseFuture<$1.RotateKeyResponse> rotateKey($1.RotateKeyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.RotateKeyResponse> rotateKey($2.RotateKeyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$rotateKey, request, options: options); } - $grpc.ResponseFuture<$1.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations($1.CreateKeyFromExistingKeyAuthorizationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$2.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations($2.CreateKeyFromExistingKeyAuthorizationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createKeyFromExistingKeyAuthorizations, request, options: options); } } @@ -586,830 +586,830 @@ abstract class AppServiceBase extends $grpc.Service { $core.String get $name => 'viam.app.v1.AppService'; AppServiceBase() { - $addMethod($grpc.ServiceMethod<$1.GetUserIDByEmailRequest, $1.GetUserIDByEmailResponse>( + $addMethod($grpc.ServiceMethod<$2.GetUserIDByEmailRequest, $2.GetUserIDByEmailResponse>( 'GetUserIDByEmail', getUserIDByEmail_Pre, false, false, - ($core.List<$core.int> value) => $1.GetUserIDByEmailRequest.fromBuffer(value), - ($1.GetUserIDByEmailResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.CreateOrganizationRequest, $1.CreateOrganizationResponse>( + ($core.List<$core.int> value) => $2.GetUserIDByEmailRequest.fromBuffer(value), + ($2.GetUserIDByEmailResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.CreateOrganizationRequest, $2.CreateOrganizationResponse>( 'CreateOrganization', createOrganization_Pre, false, false, - ($core.List<$core.int> value) => $1.CreateOrganizationRequest.fromBuffer(value), - ($1.CreateOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ListOrganizationsRequest, $1.ListOrganizationsResponse>( + ($core.List<$core.int> value) => $2.CreateOrganizationRequest.fromBuffer(value), + ($2.CreateOrganizationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.ListOrganizationsRequest, $2.ListOrganizationsResponse>( 'ListOrganizations', listOrganizations_Pre, false, false, - ($core.List<$core.int> value) => $1.ListOrganizationsRequest.fromBuffer(value), - ($1.ListOrganizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetOrganizationsWithAccessToLocationRequest, $1.GetOrganizationsWithAccessToLocationResponse>( + ($core.List<$core.int> value) => $2.ListOrganizationsRequest.fromBuffer(value), + ($2.ListOrganizationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetOrganizationsWithAccessToLocationRequest, $2.GetOrganizationsWithAccessToLocationResponse>( 'GetOrganizationsWithAccessToLocation', getOrganizationsWithAccessToLocation_Pre, false, false, - ($core.List<$core.int> value) => $1.GetOrganizationsWithAccessToLocationRequest.fromBuffer(value), - ($1.GetOrganizationsWithAccessToLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ListOrganizationsByUserRequest, $1.ListOrganizationsByUserResponse>( + ($core.List<$core.int> value) => $2.GetOrganizationsWithAccessToLocationRequest.fromBuffer(value), + ($2.GetOrganizationsWithAccessToLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.ListOrganizationsByUserRequest, $2.ListOrganizationsByUserResponse>( 'ListOrganizationsByUser', listOrganizationsByUser_Pre, false, false, - ($core.List<$core.int> value) => $1.ListOrganizationsByUserRequest.fromBuffer(value), - ($1.ListOrganizationsByUserResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetOrganizationRequest, $1.GetOrganizationResponse>( + ($core.List<$core.int> value) => $2.ListOrganizationsByUserRequest.fromBuffer(value), + ($2.ListOrganizationsByUserResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetOrganizationRequest, $2.GetOrganizationResponse>( 'GetOrganization', getOrganization_Pre, false, false, - ($core.List<$core.int> value) => $1.GetOrganizationRequest.fromBuffer(value), - ($1.GetOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetOrganizationNamespaceAvailabilityRequest, $1.GetOrganizationNamespaceAvailabilityResponse>( + ($core.List<$core.int> value) => $2.GetOrganizationRequest.fromBuffer(value), + ($2.GetOrganizationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetOrganizationNamespaceAvailabilityRequest, $2.GetOrganizationNamespaceAvailabilityResponse>( 'GetOrganizationNamespaceAvailability', getOrganizationNamespaceAvailability_Pre, false, false, - ($core.List<$core.int> value) => $1.GetOrganizationNamespaceAvailabilityRequest.fromBuffer(value), - ($1.GetOrganizationNamespaceAvailabilityResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.UpdateOrganizationRequest, $1.UpdateOrganizationResponse>( + ($core.List<$core.int> value) => $2.GetOrganizationNamespaceAvailabilityRequest.fromBuffer(value), + ($2.GetOrganizationNamespaceAvailabilityResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.UpdateOrganizationRequest, $2.UpdateOrganizationResponse>( 'UpdateOrganization', updateOrganization_Pre, false, false, - ($core.List<$core.int> value) => $1.UpdateOrganizationRequest.fromBuffer(value), - ($1.UpdateOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.DeleteOrganizationRequest, $1.DeleteOrganizationResponse>( + ($core.List<$core.int> value) => $2.UpdateOrganizationRequest.fromBuffer(value), + ($2.UpdateOrganizationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.DeleteOrganizationRequest, $2.DeleteOrganizationResponse>( 'DeleteOrganization', deleteOrganization_Pre, false, false, - ($core.List<$core.int> value) => $1.DeleteOrganizationRequest.fromBuffer(value), - ($1.DeleteOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ListOrganizationMembersRequest, $1.ListOrganizationMembersResponse>( + ($core.List<$core.int> value) => $2.DeleteOrganizationRequest.fromBuffer(value), + ($2.DeleteOrganizationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.ListOrganizationMembersRequest, $2.ListOrganizationMembersResponse>( 'ListOrganizationMembers', listOrganizationMembers_Pre, false, false, - ($core.List<$core.int> value) => $1.ListOrganizationMembersRequest.fromBuffer(value), - ($1.ListOrganizationMembersResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.CreateOrganizationInviteRequest, $1.CreateOrganizationInviteResponse>( + ($core.List<$core.int> value) => $2.ListOrganizationMembersRequest.fromBuffer(value), + ($2.ListOrganizationMembersResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.CreateOrganizationInviteRequest, $2.CreateOrganizationInviteResponse>( 'CreateOrganizationInvite', createOrganizationInvite_Pre, false, false, - ($core.List<$core.int> value) => $1.CreateOrganizationInviteRequest.fromBuffer(value), - ($1.CreateOrganizationInviteResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.UpdateOrganizationInviteAuthorizationsRequest, $1.UpdateOrganizationInviteAuthorizationsResponse>( + ($core.List<$core.int> value) => $2.CreateOrganizationInviteRequest.fromBuffer(value), + ($2.CreateOrganizationInviteResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.UpdateOrganizationInviteAuthorizationsRequest, $2.UpdateOrganizationInviteAuthorizationsResponse>( 'UpdateOrganizationInviteAuthorizations', updateOrganizationInviteAuthorizations_Pre, false, false, - ($core.List<$core.int> value) => $1.UpdateOrganizationInviteAuthorizationsRequest.fromBuffer(value), - ($1.UpdateOrganizationInviteAuthorizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.DeleteOrganizationMemberRequest, $1.DeleteOrganizationMemberResponse>( + ($core.List<$core.int> value) => $2.UpdateOrganizationInviteAuthorizationsRequest.fromBuffer(value), + ($2.UpdateOrganizationInviteAuthorizationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.DeleteOrganizationMemberRequest, $2.DeleteOrganizationMemberResponse>( 'DeleteOrganizationMember', deleteOrganizationMember_Pre, false, false, - ($core.List<$core.int> value) => $1.DeleteOrganizationMemberRequest.fromBuffer(value), - ($1.DeleteOrganizationMemberResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.DeleteOrganizationInviteRequest, $1.DeleteOrganizationInviteResponse>( + ($core.List<$core.int> value) => $2.DeleteOrganizationMemberRequest.fromBuffer(value), + ($2.DeleteOrganizationMemberResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.DeleteOrganizationInviteRequest, $2.DeleteOrganizationInviteResponse>( 'DeleteOrganizationInvite', deleteOrganizationInvite_Pre, false, false, - ($core.List<$core.int> value) => $1.DeleteOrganizationInviteRequest.fromBuffer(value), - ($1.DeleteOrganizationInviteResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ResendOrganizationInviteRequest, $1.ResendOrganizationInviteResponse>( + ($core.List<$core.int> value) => $2.DeleteOrganizationInviteRequest.fromBuffer(value), + ($2.DeleteOrganizationInviteResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.ResendOrganizationInviteRequest, $2.ResendOrganizationInviteResponse>( 'ResendOrganizationInvite', resendOrganizationInvite_Pre, false, false, - ($core.List<$core.int> value) => $1.ResendOrganizationInviteRequest.fromBuffer(value), - ($1.ResendOrganizationInviteResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.CreateLocationRequest, $1.CreateLocationResponse>( + ($core.List<$core.int> value) => $2.ResendOrganizationInviteRequest.fromBuffer(value), + ($2.ResendOrganizationInviteResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.CreateLocationRequest, $2.CreateLocationResponse>( 'CreateLocation', createLocation_Pre, false, false, - ($core.List<$core.int> value) => $1.CreateLocationRequest.fromBuffer(value), - ($1.CreateLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetLocationRequest, $1.GetLocationResponse>( + ($core.List<$core.int> value) => $2.CreateLocationRequest.fromBuffer(value), + ($2.CreateLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetLocationRequest, $2.GetLocationResponse>( 'GetLocation', getLocation_Pre, false, false, - ($core.List<$core.int> value) => $1.GetLocationRequest.fromBuffer(value), - ($1.GetLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.UpdateLocationRequest, $1.UpdateLocationResponse>( + ($core.List<$core.int> value) => $2.GetLocationRequest.fromBuffer(value), + ($2.GetLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.UpdateLocationRequest, $2.UpdateLocationResponse>( 'UpdateLocation', updateLocation_Pre, false, false, - ($core.List<$core.int> value) => $1.UpdateLocationRequest.fromBuffer(value), - ($1.UpdateLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.DeleteLocationRequest, $1.DeleteLocationResponse>( + ($core.List<$core.int> value) => $2.UpdateLocationRequest.fromBuffer(value), + ($2.UpdateLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.DeleteLocationRequest, $2.DeleteLocationResponse>( 'DeleteLocation', deleteLocation_Pre, false, false, - ($core.List<$core.int> value) => $1.DeleteLocationRequest.fromBuffer(value), - ($1.DeleteLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ListLocationsRequest, $1.ListLocationsResponse>( + ($core.List<$core.int> value) => $2.DeleteLocationRequest.fromBuffer(value), + ($2.DeleteLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.ListLocationsRequest, $2.ListLocationsResponse>( 'ListLocations', listLocations_Pre, false, false, - ($core.List<$core.int> value) => $1.ListLocationsRequest.fromBuffer(value), - ($1.ListLocationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ShareLocationRequest, $1.ShareLocationResponse>( + ($core.List<$core.int> value) => $2.ListLocationsRequest.fromBuffer(value), + ($2.ListLocationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.ShareLocationRequest, $2.ShareLocationResponse>( 'ShareLocation', shareLocation_Pre, false, false, - ($core.List<$core.int> value) => $1.ShareLocationRequest.fromBuffer(value), - ($1.ShareLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.UnshareLocationRequest, $1.UnshareLocationResponse>( + ($core.List<$core.int> value) => $2.ShareLocationRequest.fromBuffer(value), + ($2.ShareLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.UnshareLocationRequest, $2.UnshareLocationResponse>( 'UnshareLocation', unshareLocation_Pre, false, false, - ($core.List<$core.int> value) => $1.UnshareLocationRequest.fromBuffer(value), - ($1.UnshareLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.LocationAuthRequest, $1.LocationAuthResponse>( + ($core.List<$core.int> value) => $2.UnshareLocationRequest.fromBuffer(value), + ($2.UnshareLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.LocationAuthRequest, $2.LocationAuthResponse>( 'LocationAuth', locationAuth_Pre, false, false, - ($core.List<$core.int> value) => $1.LocationAuthRequest.fromBuffer(value), - ($1.LocationAuthResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.CreateLocationSecretRequest, $1.CreateLocationSecretResponse>( + ($core.List<$core.int> value) => $2.LocationAuthRequest.fromBuffer(value), + ($2.LocationAuthResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.CreateLocationSecretRequest, $2.CreateLocationSecretResponse>( 'CreateLocationSecret', createLocationSecret_Pre, false, false, - ($core.List<$core.int> value) => $1.CreateLocationSecretRequest.fromBuffer(value), - ($1.CreateLocationSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.DeleteLocationSecretRequest, $1.DeleteLocationSecretResponse>( + ($core.List<$core.int> value) => $2.CreateLocationSecretRequest.fromBuffer(value), + ($2.CreateLocationSecretResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.DeleteLocationSecretRequest, $2.DeleteLocationSecretResponse>( 'DeleteLocationSecret', deleteLocationSecret_Pre, false, false, - ($core.List<$core.int> value) => $1.DeleteLocationSecretRequest.fromBuffer(value), - ($1.DeleteLocationSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetRobotRequest, $1.GetRobotResponse>( + ($core.List<$core.int> value) => $2.DeleteLocationSecretRequest.fromBuffer(value), + ($2.DeleteLocationSecretResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetRobotRequest, $2.GetRobotResponse>( 'GetRobot', getRobot_Pre, false, false, - ($core.List<$core.int> value) => $1.GetRobotRequest.fromBuffer(value), - ($1.GetRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetRoverRentalRobotsRequest, $1.GetRoverRentalRobotsResponse>( + ($core.List<$core.int> value) => $2.GetRobotRequest.fromBuffer(value), + ($2.GetRobotResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetRoverRentalRobotsRequest, $2.GetRoverRentalRobotsResponse>( 'GetRoverRentalRobots', getRoverRentalRobots_Pre, false, false, - ($core.List<$core.int> value) => $1.GetRoverRentalRobotsRequest.fromBuffer(value), - ($1.GetRoverRentalRobotsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetRobotPartsRequest, $1.GetRobotPartsResponse>( + ($core.List<$core.int> value) => $2.GetRoverRentalRobotsRequest.fromBuffer(value), + ($2.GetRoverRentalRobotsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetRobotPartsRequest, $2.GetRobotPartsResponse>( 'GetRobotParts', getRobotParts_Pre, false, false, - ($core.List<$core.int> value) => $1.GetRobotPartsRequest.fromBuffer(value), - ($1.GetRobotPartsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetRobotPartRequest, $1.GetRobotPartResponse>( + ($core.List<$core.int> value) => $2.GetRobotPartsRequest.fromBuffer(value), + ($2.GetRobotPartsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetRobotPartRequest, $2.GetRobotPartResponse>( 'GetRobotPart', getRobotPart_Pre, false, false, - ($core.List<$core.int> value) => $1.GetRobotPartRequest.fromBuffer(value), - ($1.GetRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetRobotPartLogsRequest, $1.GetRobotPartLogsResponse>( + ($core.List<$core.int> value) => $2.GetRobotPartRequest.fromBuffer(value), + ($2.GetRobotPartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetRobotPartLogsRequest, $2.GetRobotPartLogsResponse>( 'GetRobotPartLogs', getRobotPartLogs_Pre, false, false, - ($core.List<$core.int> value) => $1.GetRobotPartLogsRequest.fromBuffer(value), - ($1.GetRobotPartLogsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.TailRobotPartLogsRequest, $1.TailRobotPartLogsResponse>( + ($core.List<$core.int> value) => $2.GetRobotPartLogsRequest.fromBuffer(value), + ($2.GetRobotPartLogsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.TailRobotPartLogsRequest, $2.TailRobotPartLogsResponse>( 'TailRobotPartLogs', tailRobotPartLogs_Pre, false, true, - ($core.List<$core.int> value) => $1.TailRobotPartLogsRequest.fromBuffer(value), - ($1.TailRobotPartLogsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetRobotPartHistoryRequest, $1.GetRobotPartHistoryResponse>( + ($core.List<$core.int> value) => $2.TailRobotPartLogsRequest.fromBuffer(value), + ($2.TailRobotPartLogsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetRobotPartHistoryRequest, $2.GetRobotPartHistoryResponse>( 'GetRobotPartHistory', getRobotPartHistory_Pre, false, false, - ($core.List<$core.int> value) => $1.GetRobotPartHistoryRequest.fromBuffer(value), - ($1.GetRobotPartHistoryResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.UpdateRobotPartRequest, $1.UpdateRobotPartResponse>( + ($core.List<$core.int> value) => $2.GetRobotPartHistoryRequest.fromBuffer(value), + ($2.GetRobotPartHistoryResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.UpdateRobotPartRequest, $2.UpdateRobotPartResponse>( 'UpdateRobotPart', updateRobotPart_Pre, false, false, - ($core.List<$core.int> value) => $1.UpdateRobotPartRequest.fromBuffer(value), - ($1.UpdateRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.NewRobotPartRequest, $1.NewRobotPartResponse>( + ($core.List<$core.int> value) => $2.UpdateRobotPartRequest.fromBuffer(value), + ($2.UpdateRobotPartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.NewRobotPartRequest, $2.NewRobotPartResponse>( 'NewRobotPart', newRobotPart_Pre, false, false, - ($core.List<$core.int> value) => $1.NewRobotPartRequest.fromBuffer(value), - ($1.NewRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.DeleteRobotPartRequest, $1.DeleteRobotPartResponse>( + ($core.List<$core.int> value) => $2.NewRobotPartRequest.fromBuffer(value), + ($2.NewRobotPartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.DeleteRobotPartRequest, $2.DeleteRobotPartResponse>( 'DeleteRobotPart', deleteRobotPart_Pre, false, false, - ($core.List<$core.int> value) => $1.DeleteRobotPartRequest.fromBuffer(value), - ($1.DeleteRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetRobotAPIKeysRequest, $1.GetRobotAPIKeysResponse>( + ($core.List<$core.int> value) => $2.DeleteRobotPartRequest.fromBuffer(value), + ($2.DeleteRobotPartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetRobotAPIKeysRequest, $2.GetRobotAPIKeysResponse>( 'GetRobotAPIKeys', getRobotAPIKeys_Pre, false, false, - ($core.List<$core.int> value) => $1.GetRobotAPIKeysRequest.fromBuffer(value), - ($1.GetRobotAPIKeysResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.MarkPartAsMainRequest, $1.MarkPartAsMainResponse>( + ($core.List<$core.int> value) => $2.GetRobotAPIKeysRequest.fromBuffer(value), + ($2.GetRobotAPIKeysResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.MarkPartAsMainRequest, $2.MarkPartAsMainResponse>( 'MarkPartAsMain', markPartAsMain_Pre, false, false, - ($core.List<$core.int> value) => $1.MarkPartAsMainRequest.fromBuffer(value), - ($1.MarkPartAsMainResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.MarkPartForRestartRequest, $1.MarkPartForRestartResponse>( + ($core.List<$core.int> value) => $2.MarkPartAsMainRequest.fromBuffer(value), + ($2.MarkPartAsMainResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.MarkPartForRestartRequest, $2.MarkPartForRestartResponse>( 'MarkPartForRestart', markPartForRestart_Pre, false, false, - ($core.List<$core.int> value) => $1.MarkPartForRestartRequest.fromBuffer(value), - ($1.MarkPartForRestartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.CreateRobotPartSecretRequest, $1.CreateRobotPartSecretResponse>( + ($core.List<$core.int> value) => $2.MarkPartForRestartRequest.fromBuffer(value), + ($2.MarkPartForRestartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.CreateRobotPartSecretRequest, $2.CreateRobotPartSecretResponse>( 'CreateRobotPartSecret', createRobotPartSecret_Pre, false, false, - ($core.List<$core.int> value) => $1.CreateRobotPartSecretRequest.fromBuffer(value), - ($1.CreateRobotPartSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.DeleteRobotPartSecretRequest, $1.DeleteRobotPartSecretResponse>( + ($core.List<$core.int> value) => $2.CreateRobotPartSecretRequest.fromBuffer(value), + ($2.CreateRobotPartSecretResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.DeleteRobotPartSecretRequest, $2.DeleteRobotPartSecretResponse>( 'DeleteRobotPartSecret', deleteRobotPartSecret_Pre, false, false, - ($core.List<$core.int> value) => $1.DeleteRobotPartSecretRequest.fromBuffer(value), - ($1.DeleteRobotPartSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ListRobotsRequest, $1.ListRobotsResponse>( + ($core.List<$core.int> value) => $2.DeleteRobotPartSecretRequest.fromBuffer(value), + ($2.DeleteRobotPartSecretResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.ListRobotsRequest, $2.ListRobotsResponse>( 'ListRobots', listRobots_Pre, false, false, - ($core.List<$core.int> value) => $1.ListRobotsRequest.fromBuffer(value), - ($1.ListRobotsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.NewRobotRequest, $1.NewRobotResponse>( + ($core.List<$core.int> value) => $2.ListRobotsRequest.fromBuffer(value), + ($2.ListRobotsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.NewRobotRequest, $2.NewRobotResponse>( 'NewRobot', newRobot_Pre, false, false, - ($core.List<$core.int> value) => $1.NewRobotRequest.fromBuffer(value), - ($1.NewRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.UpdateRobotRequest, $1.UpdateRobotResponse>( + ($core.List<$core.int> value) => $2.NewRobotRequest.fromBuffer(value), + ($2.NewRobotResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.UpdateRobotRequest, $2.UpdateRobotResponse>( 'UpdateRobot', updateRobot_Pre, false, false, - ($core.List<$core.int> value) => $1.UpdateRobotRequest.fromBuffer(value), - ($1.UpdateRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.DeleteRobotRequest, $1.DeleteRobotResponse>( + ($core.List<$core.int> value) => $2.UpdateRobotRequest.fromBuffer(value), + ($2.UpdateRobotResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.DeleteRobotRequest, $2.DeleteRobotResponse>( 'DeleteRobot', deleteRobot_Pre, false, false, - ($core.List<$core.int> value) => $1.DeleteRobotRequest.fromBuffer(value), - ($1.DeleteRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ListFragmentsRequest, $1.ListFragmentsResponse>( + ($core.List<$core.int> value) => $2.DeleteRobotRequest.fromBuffer(value), + ($2.DeleteRobotResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.ListFragmentsRequest, $2.ListFragmentsResponse>( 'ListFragments', listFragments_Pre, false, false, - ($core.List<$core.int> value) => $1.ListFragmentsRequest.fromBuffer(value), - ($1.ListFragmentsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetFragmentRequest, $1.GetFragmentResponse>( + ($core.List<$core.int> value) => $2.ListFragmentsRequest.fromBuffer(value), + ($2.ListFragmentsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetFragmentRequest, $2.GetFragmentResponse>( 'GetFragment', getFragment_Pre, false, false, - ($core.List<$core.int> value) => $1.GetFragmentRequest.fromBuffer(value), - ($1.GetFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.CreateFragmentRequest, $1.CreateFragmentResponse>( + ($core.List<$core.int> value) => $2.GetFragmentRequest.fromBuffer(value), + ($2.GetFragmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.CreateFragmentRequest, $2.CreateFragmentResponse>( 'CreateFragment', createFragment_Pre, false, false, - ($core.List<$core.int> value) => $1.CreateFragmentRequest.fromBuffer(value), - ($1.CreateFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.UpdateFragmentRequest, $1.UpdateFragmentResponse>( + ($core.List<$core.int> value) => $2.CreateFragmentRequest.fromBuffer(value), + ($2.CreateFragmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.UpdateFragmentRequest, $2.UpdateFragmentResponse>( 'UpdateFragment', updateFragment_Pre, false, false, - ($core.List<$core.int> value) => $1.UpdateFragmentRequest.fromBuffer(value), - ($1.UpdateFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.DeleteFragmentRequest, $1.DeleteFragmentResponse>( + ($core.List<$core.int> value) => $2.UpdateFragmentRequest.fromBuffer(value), + ($2.UpdateFragmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.DeleteFragmentRequest, $2.DeleteFragmentResponse>( 'DeleteFragment', deleteFragment_Pre, false, false, - ($core.List<$core.int> value) => $1.DeleteFragmentRequest.fromBuffer(value), - ($1.DeleteFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.AddRoleRequest, $1.AddRoleResponse>( + ($core.List<$core.int> value) => $2.DeleteFragmentRequest.fromBuffer(value), + ($2.DeleteFragmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.AddRoleRequest, $2.AddRoleResponse>( 'AddRole', addRole_Pre, false, false, - ($core.List<$core.int> value) => $1.AddRoleRequest.fromBuffer(value), - ($1.AddRoleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.RemoveRoleRequest, $1.RemoveRoleResponse>( + ($core.List<$core.int> value) => $2.AddRoleRequest.fromBuffer(value), + ($2.AddRoleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.RemoveRoleRequest, $2.RemoveRoleResponse>( 'RemoveRole', removeRole_Pre, false, false, - ($core.List<$core.int> value) => $1.RemoveRoleRequest.fromBuffer(value), - ($1.RemoveRoleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ChangeRoleRequest, $1.ChangeRoleResponse>( + ($core.List<$core.int> value) => $2.RemoveRoleRequest.fromBuffer(value), + ($2.RemoveRoleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.ChangeRoleRequest, $2.ChangeRoleResponse>( 'ChangeRole', changeRole_Pre, false, false, - ($core.List<$core.int> value) => $1.ChangeRoleRequest.fromBuffer(value), - ($1.ChangeRoleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ListAuthorizationsRequest, $1.ListAuthorizationsResponse>( + ($core.List<$core.int> value) => $2.ChangeRoleRequest.fromBuffer(value), + ($2.ChangeRoleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.ListAuthorizationsRequest, $2.ListAuthorizationsResponse>( 'ListAuthorizations', listAuthorizations_Pre, false, false, - ($core.List<$core.int> value) => $1.ListAuthorizationsRequest.fromBuffer(value), - ($1.ListAuthorizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.CheckPermissionsRequest, $1.CheckPermissionsResponse>( + ($core.List<$core.int> value) => $2.ListAuthorizationsRequest.fromBuffer(value), + ($2.ListAuthorizationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.CheckPermissionsRequest, $2.CheckPermissionsResponse>( 'CheckPermissions', checkPermissions_Pre, false, false, - ($core.List<$core.int> value) => $1.CheckPermissionsRequest.fromBuffer(value), - ($1.CheckPermissionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetRegistryItemRequest, $1.GetRegistryItemResponse>( + ($core.List<$core.int> value) => $2.CheckPermissionsRequest.fromBuffer(value), + ($2.CheckPermissionsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetRegistryItemRequest, $2.GetRegistryItemResponse>( 'GetRegistryItem', getRegistryItem_Pre, false, false, - ($core.List<$core.int> value) => $1.GetRegistryItemRequest.fromBuffer(value), - ($1.GetRegistryItemResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.CreateRegistryItemRequest, $1.CreateRegistryItemResponse>( + ($core.List<$core.int> value) => $2.GetRegistryItemRequest.fromBuffer(value), + ($2.GetRegistryItemResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.CreateRegistryItemRequest, $2.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>( + ($core.List<$core.int> value) => $2.CreateRegistryItemRequest.fromBuffer(value), + ($2.CreateRegistryItemResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.UpdateRegistryItemRequest, $2.UpdateRegistryItemResponse>( 'UpdateRegistryItem', updateRegistryItem_Pre, false, false, - ($core.List<$core.int> value) => $1.UpdateRegistryItemRequest.fromBuffer(value), - ($1.UpdateRegistryItemResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ListRegistryItemsRequest, $1.ListRegistryItemsResponse>( + ($core.List<$core.int> value) => $2.UpdateRegistryItemRequest.fromBuffer(value), + ($2.UpdateRegistryItemResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.ListRegistryItemsRequest, $2.ListRegistryItemsResponse>( 'ListRegistryItems', listRegistryItems_Pre, false, false, - ($core.List<$core.int> value) => $1.ListRegistryItemsRequest.fromBuffer(value), - ($1.ListRegistryItemsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.DeleteRegistryItemRequest, $1.DeleteRegistryItemResponse>( + ($core.List<$core.int> value) => $2.ListRegistryItemsRequest.fromBuffer(value), + ($2.ListRegistryItemsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.DeleteRegistryItemRequest, $2.DeleteRegistryItemResponse>( 'DeleteRegistryItem', deleteRegistryItem_Pre, false, false, - ($core.List<$core.int> value) => $1.DeleteRegistryItemRequest.fromBuffer(value), - ($1.DeleteRegistryItemResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.CreateModuleRequest, $1.CreateModuleResponse>( + ($core.List<$core.int> value) => $2.DeleteRegistryItemRequest.fromBuffer(value), + ($2.DeleteRegistryItemResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.CreateModuleRequest, $2.CreateModuleResponse>( 'CreateModule', createModule_Pre, false, false, - ($core.List<$core.int> value) => $1.CreateModuleRequest.fromBuffer(value), - ($1.CreateModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.UpdateModuleRequest, $1.UpdateModuleResponse>( + ($core.List<$core.int> value) => $2.CreateModuleRequest.fromBuffer(value), + ($2.CreateModuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.UpdateModuleRequest, $2.UpdateModuleResponse>( 'UpdateModule', updateModule_Pre, false, false, - ($core.List<$core.int> value) => $1.UpdateModuleRequest.fromBuffer(value), - ($1.UpdateModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.UploadModuleFileRequest, $1.UploadModuleFileResponse>( + ($core.List<$core.int> value) => $2.UpdateModuleRequest.fromBuffer(value), + ($2.UpdateModuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.UploadModuleFileRequest, $2.UploadModuleFileResponse>( 'UploadModuleFile', uploadModuleFile, true, false, - ($core.List<$core.int> value) => $1.UploadModuleFileRequest.fromBuffer(value), - ($1.UploadModuleFileResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.GetModuleRequest, $1.GetModuleResponse>( + ($core.List<$core.int> value) => $2.UploadModuleFileRequest.fromBuffer(value), + ($2.UploadModuleFileResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.GetModuleRequest, $2.GetModuleResponse>( 'GetModule', getModule_Pre, false, false, - ($core.List<$core.int> value) => $1.GetModuleRequest.fromBuffer(value), - ($1.GetModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ListModulesRequest, $1.ListModulesResponse>( + ($core.List<$core.int> value) => $2.GetModuleRequest.fromBuffer(value), + ($2.GetModuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.ListModulesRequest, $2.ListModulesResponse>( 'ListModules', listModules_Pre, false, false, - ($core.List<$core.int> value) => $1.ListModulesRequest.fromBuffer(value), - ($1.ListModulesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.CreateKeyRequest, $1.CreateKeyResponse>( + ($core.List<$core.int> value) => $2.ListModulesRequest.fromBuffer(value), + ($2.ListModulesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.CreateKeyRequest, $2.CreateKeyResponse>( 'CreateKey', createKey_Pre, false, false, - ($core.List<$core.int> value) => $1.CreateKeyRequest.fromBuffer(value), - ($1.CreateKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.DeleteKeyRequest, $1.DeleteKeyResponse>( + ($core.List<$core.int> value) => $2.CreateKeyRequest.fromBuffer(value), + ($2.CreateKeyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.DeleteKeyRequest, $2.DeleteKeyResponse>( 'DeleteKey', deleteKey_Pre, false, false, - ($core.List<$core.int> value) => $1.DeleteKeyRequest.fromBuffer(value), - ($1.DeleteKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.ListKeysRequest, $1.ListKeysResponse>( + ($core.List<$core.int> value) => $2.DeleteKeyRequest.fromBuffer(value), + ($2.DeleteKeyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.ListKeysRequest, $2.ListKeysResponse>( 'ListKeys', listKeys_Pre, false, false, - ($core.List<$core.int> value) => $1.ListKeysRequest.fromBuffer(value), - ($1.ListKeysResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.RotateKeyRequest, $1.RotateKeyResponse>( + ($core.List<$core.int> value) => $2.ListKeysRequest.fromBuffer(value), + ($2.ListKeysResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.RotateKeyRequest, $2.RotateKeyResponse>( 'RotateKey', rotateKey_Pre, false, false, - ($core.List<$core.int> value) => $1.RotateKeyRequest.fromBuffer(value), - ($1.RotateKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.CreateKeyFromExistingKeyAuthorizationsRequest, $1.CreateKeyFromExistingKeyAuthorizationsResponse>( + ($core.List<$core.int> value) => $2.RotateKeyRequest.fromBuffer(value), + ($2.RotateKeyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$2.CreateKeyFromExistingKeyAuthorizationsRequest, $2.CreateKeyFromExistingKeyAuthorizationsResponse>( 'CreateKeyFromExistingKeyAuthorizations', createKeyFromExistingKeyAuthorizations_Pre, false, false, - ($core.List<$core.int> value) => $1.CreateKeyFromExistingKeyAuthorizationsRequest.fromBuffer(value), - ($1.CreateKeyFromExistingKeyAuthorizationsResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $2.CreateKeyFromExistingKeyAuthorizationsRequest.fromBuffer(value), + ($2.CreateKeyFromExistingKeyAuthorizationsResponse value) => value.writeToBuffer())); } - $async.Future<$1.GetUserIDByEmailResponse> getUserIDByEmail_Pre($grpc.ServiceCall call, $async.Future<$1.GetUserIDByEmailRequest> request) async { + $async.Future<$2.GetUserIDByEmailResponse> getUserIDByEmail_Pre($grpc.ServiceCall call, $async.Future<$2.GetUserIDByEmailRequest> request) async { return getUserIDByEmail(call, await request); } - $async.Future<$1.CreateOrganizationResponse> createOrganization_Pre($grpc.ServiceCall call, $async.Future<$1.CreateOrganizationRequest> request) async { + $async.Future<$2.CreateOrganizationResponse> createOrganization_Pre($grpc.ServiceCall call, $async.Future<$2.CreateOrganizationRequest> request) async { return createOrganization(call, await request); } - $async.Future<$1.ListOrganizationsResponse> listOrganizations_Pre($grpc.ServiceCall call, $async.Future<$1.ListOrganizationsRequest> request) async { + $async.Future<$2.ListOrganizationsResponse> listOrganizations_Pre($grpc.ServiceCall call, $async.Future<$2.ListOrganizationsRequest> request) async { return listOrganizations(call, await request); } - $async.Future<$1.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation_Pre($grpc.ServiceCall call, $async.Future<$1.GetOrganizationsWithAccessToLocationRequest> request) async { + $async.Future<$2.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation_Pre($grpc.ServiceCall call, $async.Future<$2.GetOrganizationsWithAccessToLocationRequest> request) async { return getOrganizationsWithAccessToLocation(call, await request); } - $async.Future<$1.ListOrganizationsByUserResponse> listOrganizationsByUser_Pre($grpc.ServiceCall call, $async.Future<$1.ListOrganizationsByUserRequest> request) async { + $async.Future<$2.ListOrganizationsByUserResponse> listOrganizationsByUser_Pre($grpc.ServiceCall call, $async.Future<$2.ListOrganizationsByUserRequest> request) async { return listOrganizationsByUser(call, await request); } - $async.Future<$1.GetOrganizationResponse> getOrganization_Pre($grpc.ServiceCall call, $async.Future<$1.GetOrganizationRequest> request) async { + $async.Future<$2.GetOrganizationResponse> getOrganization_Pre($grpc.ServiceCall call, $async.Future<$2.GetOrganizationRequest> request) async { return getOrganization(call, await request); } - $async.Future<$1.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability_Pre($grpc.ServiceCall call, $async.Future<$1.GetOrganizationNamespaceAvailabilityRequest> request) async { + $async.Future<$2.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability_Pre($grpc.ServiceCall call, $async.Future<$2.GetOrganizationNamespaceAvailabilityRequest> request) async { return getOrganizationNamespaceAvailability(call, await request); } - $async.Future<$1.UpdateOrganizationResponse> updateOrganization_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateOrganizationRequest> request) async { + $async.Future<$2.UpdateOrganizationResponse> updateOrganization_Pre($grpc.ServiceCall call, $async.Future<$2.UpdateOrganizationRequest> request) async { return updateOrganization(call, await request); } - $async.Future<$1.DeleteOrganizationResponse> deleteOrganization_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteOrganizationRequest> request) async { + $async.Future<$2.DeleteOrganizationResponse> deleteOrganization_Pre($grpc.ServiceCall call, $async.Future<$2.DeleteOrganizationRequest> request) async { return deleteOrganization(call, await request); } - $async.Future<$1.ListOrganizationMembersResponse> listOrganizationMembers_Pre($grpc.ServiceCall call, $async.Future<$1.ListOrganizationMembersRequest> request) async { + $async.Future<$2.ListOrganizationMembersResponse> listOrganizationMembers_Pre($grpc.ServiceCall call, $async.Future<$2.ListOrganizationMembersRequest> request) async { return listOrganizationMembers(call, await request); } - $async.Future<$1.CreateOrganizationInviteResponse> createOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$1.CreateOrganizationInviteRequest> request) async { + $async.Future<$2.CreateOrganizationInviteResponse> createOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$2.CreateOrganizationInviteRequest> request) async { return createOrganizationInvite(call, await request); } - $async.Future<$1.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateOrganizationInviteAuthorizationsRequest> request) async { + $async.Future<$2.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$2.UpdateOrganizationInviteAuthorizationsRequest> request) async { return updateOrganizationInviteAuthorizations(call, await request); } - $async.Future<$1.DeleteOrganizationMemberResponse> deleteOrganizationMember_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteOrganizationMemberRequest> request) async { + $async.Future<$2.DeleteOrganizationMemberResponse> deleteOrganizationMember_Pre($grpc.ServiceCall call, $async.Future<$2.DeleteOrganizationMemberRequest> request) async { return deleteOrganizationMember(call, await request); } - $async.Future<$1.DeleteOrganizationInviteResponse> deleteOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteOrganizationInviteRequest> request) async { + $async.Future<$2.DeleteOrganizationInviteResponse> deleteOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$2.DeleteOrganizationInviteRequest> request) async { return deleteOrganizationInvite(call, await request); } - $async.Future<$1.ResendOrganizationInviteResponse> resendOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$1.ResendOrganizationInviteRequest> request) async { + $async.Future<$2.ResendOrganizationInviteResponse> resendOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$2.ResendOrganizationInviteRequest> request) async { return resendOrganizationInvite(call, await request); } - $async.Future<$1.CreateLocationResponse> createLocation_Pre($grpc.ServiceCall call, $async.Future<$1.CreateLocationRequest> request) async { + $async.Future<$2.CreateLocationResponse> createLocation_Pre($grpc.ServiceCall call, $async.Future<$2.CreateLocationRequest> request) async { return createLocation(call, await request); } - $async.Future<$1.GetLocationResponse> getLocation_Pre($grpc.ServiceCall call, $async.Future<$1.GetLocationRequest> request) async { + $async.Future<$2.GetLocationResponse> getLocation_Pre($grpc.ServiceCall call, $async.Future<$2.GetLocationRequest> request) async { return getLocation(call, await request); } - $async.Future<$1.UpdateLocationResponse> updateLocation_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateLocationRequest> request) async { + $async.Future<$2.UpdateLocationResponse> updateLocation_Pre($grpc.ServiceCall call, $async.Future<$2.UpdateLocationRequest> request) async { return updateLocation(call, await request); } - $async.Future<$1.DeleteLocationResponse> deleteLocation_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteLocationRequest> request) async { + $async.Future<$2.DeleteLocationResponse> deleteLocation_Pre($grpc.ServiceCall call, $async.Future<$2.DeleteLocationRequest> request) async { return deleteLocation(call, await request); } - $async.Future<$1.ListLocationsResponse> listLocations_Pre($grpc.ServiceCall call, $async.Future<$1.ListLocationsRequest> request) async { + $async.Future<$2.ListLocationsResponse> listLocations_Pre($grpc.ServiceCall call, $async.Future<$2.ListLocationsRequest> request) async { return listLocations(call, await request); } - $async.Future<$1.ShareLocationResponse> shareLocation_Pre($grpc.ServiceCall call, $async.Future<$1.ShareLocationRequest> request) async { + $async.Future<$2.ShareLocationResponse> shareLocation_Pre($grpc.ServiceCall call, $async.Future<$2.ShareLocationRequest> request) async { return shareLocation(call, await request); } - $async.Future<$1.UnshareLocationResponse> unshareLocation_Pre($grpc.ServiceCall call, $async.Future<$1.UnshareLocationRequest> request) async { + $async.Future<$2.UnshareLocationResponse> unshareLocation_Pre($grpc.ServiceCall call, $async.Future<$2.UnshareLocationRequest> request) async { return unshareLocation(call, await request); } - $async.Future<$1.LocationAuthResponse> locationAuth_Pre($grpc.ServiceCall call, $async.Future<$1.LocationAuthRequest> request) async { + $async.Future<$2.LocationAuthResponse> locationAuth_Pre($grpc.ServiceCall call, $async.Future<$2.LocationAuthRequest> request) async { return locationAuth(call, await request); } - $async.Future<$1.CreateLocationSecretResponse> createLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$1.CreateLocationSecretRequest> request) async { + $async.Future<$2.CreateLocationSecretResponse> createLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$2.CreateLocationSecretRequest> request) async { return createLocationSecret(call, await request); } - $async.Future<$1.DeleteLocationSecretResponse> deleteLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteLocationSecretRequest> request) async { + $async.Future<$2.DeleteLocationSecretResponse> deleteLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$2.DeleteLocationSecretRequest> request) async { return deleteLocationSecret(call, await request); } - $async.Future<$1.GetRobotResponse> getRobot_Pre($grpc.ServiceCall call, $async.Future<$1.GetRobotRequest> request) async { + $async.Future<$2.GetRobotResponse> getRobot_Pre($grpc.ServiceCall call, $async.Future<$2.GetRobotRequest> request) async { return getRobot(call, await request); } - $async.Future<$1.GetRoverRentalRobotsResponse> getRoverRentalRobots_Pre($grpc.ServiceCall call, $async.Future<$1.GetRoverRentalRobotsRequest> request) async { + $async.Future<$2.GetRoverRentalRobotsResponse> getRoverRentalRobots_Pre($grpc.ServiceCall call, $async.Future<$2.GetRoverRentalRobotsRequest> request) async { return getRoverRentalRobots(call, await request); } - $async.Future<$1.GetRobotPartsResponse> getRobotParts_Pre($grpc.ServiceCall call, $async.Future<$1.GetRobotPartsRequest> request) async { + $async.Future<$2.GetRobotPartsResponse> getRobotParts_Pre($grpc.ServiceCall call, $async.Future<$2.GetRobotPartsRequest> request) async { return getRobotParts(call, await request); } - $async.Future<$1.GetRobotPartResponse> getRobotPart_Pre($grpc.ServiceCall call, $async.Future<$1.GetRobotPartRequest> request) async { + $async.Future<$2.GetRobotPartResponse> getRobotPart_Pre($grpc.ServiceCall call, $async.Future<$2.GetRobotPartRequest> request) async { return getRobotPart(call, await request); } - $async.Future<$1.GetRobotPartLogsResponse> getRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$1.GetRobotPartLogsRequest> request) async { + $async.Future<$2.GetRobotPartLogsResponse> getRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$2.GetRobotPartLogsRequest> request) async { return getRobotPartLogs(call, await request); } - $async.Stream<$1.TailRobotPartLogsResponse> tailRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$1.TailRobotPartLogsRequest> request) async* { + $async.Stream<$2.TailRobotPartLogsResponse> tailRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$2.TailRobotPartLogsRequest> request) async* { yield* tailRobotPartLogs(call, await request); } - $async.Future<$1.GetRobotPartHistoryResponse> getRobotPartHistory_Pre($grpc.ServiceCall call, $async.Future<$1.GetRobotPartHistoryRequest> request) async { + $async.Future<$2.GetRobotPartHistoryResponse> getRobotPartHistory_Pre($grpc.ServiceCall call, $async.Future<$2.GetRobotPartHistoryRequest> request) async { return getRobotPartHistory(call, await request); } - $async.Future<$1.UpdateRobotPartResponse> updateRobotPart_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateRobotPartRequest> request) async { + $async.Future<$2.UpdateRobotPartResponse> updateRobotPart_Pre($grpc.ServiceCall call, $async.Future<$2.UpdateRobotPartRequest> request) async { return updateRobotPart(call, await request); } - $async.Future<$1.NewRobotPartResponse> newRobotPart_Pre($grpc.ServiceCall call, $async.Future<$1.NewRobotPartRequest> request) async { + $async.Future<$2.NewRobotPartResponse> newRobotPart_Pre($grpc.ServiceCall call, $async.Future<$2.NewRobotPartRequest> request) async { return newRobotPart(call, await request); } - $async.Future<$1.DeleteRobotPartResponse> deleteRobotPart_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteRobotPartRequest> request) async { + $async.Future<$2.DeleteRobotPartResponse> deleteRobotPart_Pre($grpc.ServiceCall call, $async.Future<$2.DeleteRobotPartRequest> request) async { return deleteRobotPart(call, await request); } - $async.Future<$1.GetRobotAPIKeysResponse> getRobotAPIKeys_Pre($grpc.ServiceCall call, $async.Future<$1.GetRobotAPIKeysRequest> request) async { + $async.Future<$2.GetRobotAPIKeysResponse> getRobotAPIKeys_Pre($grpc.ServiceCall call, $async.Future<$2.GetRobotAPIKeysRequest> request) async { return getRobotAPIKeys(call, await request); } - $async.Future<$1.MarkPartAsMainResponse> markPartAsMain_Pre($grpc.ServiceCall call, $async.Future<$1.MarkPartAsMainRequest> request) async { + $async.Future<$2.MarkPartAsMainResponse> markPartAsMain_Pre($grpc.ServiceCall call, $async.Future<$2.MarkPartAsMainRequest> request) async { return markPartAsMain(call, await request); } - $async.Future<$1.MarkPartForRestartResponse> markPartForRestart_Pre($grpc.ServiceCall call, $async.Future<$1.MarkPartForRestartRequest> request) async { + $async.Future<$2.MarkPartForRestartResponse> markPartForRestart_Pre($grpc.ServiceCall call, $async.Future<$2.MarkPartForRestartRequest> request) async { return markPartForRestart(call, await request); } - $async.Future<$1.CreateRobotPartSecretResponse> createRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$1.CreateRobotPartSecretRequest> request) async { + $async.Future<$2.CreateRobotPartSecretResponse> createRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$2.CreateRobotPartSecretRequest> request) async { return createRobotPartSecret(call, await request); } - $async.Future<$1.DeleteRobotPartSecretResponse> deleteRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteRobotPartSecretRequest> request) async { + $async.Future<$2.DeleteRobotPartSecretResponse> deleteRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$2.DeleteRobotPartSecretRequest> request) async { return deleteRobotPartSecret(call, await request); } - $async.Future<$1.ListRobotsResponse> listRobots_Pre($grpc.ServiceCall call, $async.Future<$1.ListRobotsRequest> request) async { + $async.Future<$2.ListRobotsResponse> listRobots_Pre($grpc.ServiceCall call, $async.Future<$2.ListRobotsRequest> request) async { return listRobots(call, await request); } - $async.Future<$1.NewRobotResponse> newRobot_Pre($grpc.ServiceCall call, $async.Future<$1.NewRobotRequest> request) async { + $async.Future<$2.NewRobotResponse> newRobot_Pre($grpc.ServiceCall call, $async.Future<$2.NewRobotRequest> request) async { return newRobot(call, await request); } - $async.Future<$1.UpdateRobotResponse> updateRobot_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateRobotRequest> request) async { + $async.Future<$2.UpdateRobotResponse> updateRobot_Pre($grpc.ServiceCall call, $async.Future<$2.UpdateRobotRequest> request) async { return updateRobot(call, await request); } - $async.Future<$1.DeleteRobotResponse> deleteRobot_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteRobotRequest> request) async { + $async.Future<$2.DeleteRobotResponse> deleteRobot_Pre($grpc.ServiceCall call, $async.Future<$2.DeleteRobotRequest> request) async { return deleteRobot(call, await request); } - $async.Future<$1.ListFragmentsResponse> listFragments_Pre($grpc.ServiceCall call, $async.Future<$1.ListFragmentsRequest> request) async { + $async.Future<$2.ListFragmentsResponse> listFragments_Pre($grpc.ServiceCall call, $async.Future<$2.ListFragmentsRequest> request) async { return listFragments(call, await request); } - $async.Future<$1.GetFragmentResponse> getFragment_Pre($grpc.ServiceCall call, $async.Future<$1.GetFragmentRequest> request) async { + $async.Future<$2.GetFragmentResponse> getFragment_Pre($grpc.ServiceCall call, $async.Future<$2.GetFragmentRequest> request) async { return getFragment(call, await request); } - $async.Future<$1.CreateFragmentResponse> createFragment_Pre($grpc.ServiceCall call, $async.Future<$1.CreateFragmentRequest> request) async { + $async.Future<$2.CreateFragmentResponse> createFragment_Pre($grpc.ServiceCall call, $async.Future<$2.CreateFragmentRequest> request) async { return createFragment(call, await request); } - $async.Future<$1.UpdateFragmentResponse> updateFragment_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateFragmentRequest> request) async { + $async.Future<$2.UpdateFragmentResponse> updateFragment_Pre($grpc.ServiceCall call, $async.Future<$2.UpdateFragmentRequest> request) async { return updateFragment(call, await request); } - $async.Future<$1.DeleteFragmentResponse> deleteFragment_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteFragmentRequest> request) async { + $async.Future<$2.DeleteFragmentResponse> deleteFragment_Pre($grpc.ServiceCall call, $async.Future<$2.DeleteFragmentRequest> request) async { return deleteFragment(call, await request); } - $async.Future<$1.AddRoleResponse> addRole_Pre($grpc.ServiceCall call, $async.Future<$1.AddRoleRequest> request) async { + $async.Future<$2.AddRoleResponse> addRole_Pre($grpc.ServiceCall call, $async.Future<$2.AddRoleRequest> request) async { return addRole(call, await request); } - $async.Future<$1.RemoveRoleResponse> removeRole_Pre($grpc.ServiceCall call, $async.Future<$1.RemoveRoleRequest> request) async { + $async.Future<$2.RemoveRoleResponse> removeRole_Pre($grpc.ServiceCall call, $async.Future<$2.RemoveRoleRequest> request) async { return removeRole(call, await request); } - $async.Future<$1.ChangeRoleResponse> changeRole_Pre($grpc.ServiceCall call, $async.Future<$1.ChangeRoleRequest> request) async { + $async.Future<$2.ChangeRoleResponse> changeRole_Pre($grpc.ServiceCall call, $async.Future<$2.ChangeRoleRequest> request) async { return changeRole(call, await request); } - $async.Future<$1.ListAuthorizationsResponse> listAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$1.ListAuthorizationsRequest> request) async { + $async.Future<$2.ListAuthorizationsResponse> listAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$2.ListAuthorizationsRequest> request) async { return listAuthorizations(call, await request); } - $async.Future<$1.CheckPermissionsResponse> checkPermissions_Pre($grpc.ServiceCall call, $async.Future<$1.CheckPermissionsRequest> request) async { + $async.Future<$2.CheckPermissionsResponse> checkPermissions_Pre($grpc.ServiceCall call, $async.Future<$2.CheckPermissionsRequest> request) async { return checkPermissions(call, await request); } - $async.Future<$1.GetRegistryItemResponse> getRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$1.GetRegistryItemRequest> request) async { + $async.Future<$2.GetRegistryItemResponse> getRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$2.GetRegistryItemRequest> request) async { return getRegistryItem(call, await request); } - $async.Future<$1.CreateRegistryItemResponse> createRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$1.CreateRegistryItemRequest> request) async { + $async.Future<$2.CreateRegistryItemResponse> createRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$2.CreateRegistryItemRequest> request) async { return createRegistryItem(call, await request); } - $async.Future<$1.UpdateRegistryItemResponse> updateRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateRegistryItemRequest> request) async { + $async.Future<$2.UpdateRegistryItemResponse> updateRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$2.UpdateRegistryItemRequest> request) async { return updateRegistryItem(call, await request); } - $async.Future<$1.ListRegistryItemsResponse> listRegistryItems_Pre($grpc.ServiceCall call, $async.Future<$1.ListRegistryItemsRequest> request) async { + $async.Future<$2.ListRegistryItemsResponse> listRegistryItems_Pre($grpc.ServiceCall call, $async.Future<$2.ListRegistryItemsRequest> request) async { return listRegistryItems(call, await request); } - $async.Future<$1.DeleteRegistryItemResponse> deleteRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteRegistryItemRequest> request) async { + $async.Future<$2.DeleteRegistryItemResponse> deleteRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$2.DeleteRegistryItemRequest> request) async { return deleteRegistryItem(call, await request); } - $async.Future<$1.CreateModuleResponse> createModule_Pre($grpc.ServiceCall call, $async.Future<$1.CreateModuleRequest> request) async { + $async.Future<$2.CreateModuleResponse> createModule_Pre($grpc.ServiceCall call, $async.Future<$2.CreateModuleRequest> request) async { return createModule(call, await request); } - $async.Future<$1.UpdateModuleResponse> updateModule_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateModuleRequest> request) async { + $async.Future<$2.UpdateModuleResponse> updateModule_Pre($grpc.ServiceCall call, $async.Future<$2.UpdateModuleRequest> request) async { return updateModule(call, await request); } - $async.Future<$1.GetModuleResponse> getModule_Pre($grpc.ServiceCall call, $async.Future<$1.GetModuleRequest> request) async { + $async.Future<$2.GetModuleResponse> getModule_Pre($grpc.ServiceCall call, $async.Future<$2.GetModuleRequest> request) async { return getModule(call, await request); } - $async.Future<$1.ListModulesResponse> listModules_Pre($grpc.ServiceCall call, $async.Future<$1.ListModulesRequest> request) async { + $async.Future<$2.ListModulesResponse> listModules_Pre($grpc.ServiceCall call, $async.Future<$2.ListModulesRequest> request) async { return listModules(call, await request); } - $async.Future<$1.CreateKeyResponse> createKey_Pre($grpc.ServiceCall call, $async.Future<$1.CreateKeyRequest> request) async { + $async.Future<$2.CreateKeyResponse> createKey_Pre($grpc.ServiceCall call, $async.Future<$2.CreateKeyRequest> request) async { return createKey(call, await request); } - $async.Future<$1.DeleteKeyResponse> deleteKey_Pre($grpc.ServiceCall call, $async.Future<$1.DeleteKeyRequest> request) async { + $async.Future<$2.DeleteKeyResponse> deleteKey_Pre($grpc.ServiceCall call, $async.Future<$2.DeleteKeyRequest> request) async { return deleteKey(call, await request); } - $async.Future<$1.ListKeysResponse> listKeys_Pre($grpc.ServiceCall call, $async.Future<$1.ListKeysRequest> request) async { + $async.Future<$2.ListKeysResponse> listKeys_Pre($grpc.ServiceCall call, $async.Future<$2.ListKeysRequest> request) async { return listKeys(call, await request); } - $async.Future<$1.RotateKeyResponse> rotateKey_Pre($grpc.ServiceCall call, $async.Future<$1.RotateKeyRequest> request) async { + $async.Future<$2.RotateKeyResponse> rotateKey_Pre($grpc.ServiceCall call, $async.Future<$2.RotateKeyRequest> request) async { return rotateKey(call, await request); } - $async.Future<$1.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$1.CreateKeyFromExistingKeyAuthorizationsRequest> request) async { + $async.Future<$2.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$2.CreateKeyFromExistingKeyAuthorizationsRequest> request) async { return createKeyFromExistingKeyAuthorizations(call, await 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.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation($grpc.ServiceCall call, $1.GetOrganizationsWithAccessToLocationRequest 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.GetRegistryItemResponse> getRegistryItem($grpc.ServiceCall call, $1.GetRegistryItemRequest 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.ListRegistryItemsResponse> listRegistryItems($grpc.ServiceCall call, $1.ListRegistryItemsRequest request); - $async.Future<$1.DeleteRegistryItemResponse> deleteRegistryItem($grpc.ServiceCall call, $1.DeleteRegistryItemRequest 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); + $async.Future<$2.GetUserIDByEmailResponse> getUserIDByEmail($grpc.ServiceCall call, $2.GetUserIDByEmailRequest request); + $async.Future<$2.CreateOrganizationResponse> createOrganization($grpc.ServiceCall call, $2.CreateOrganizationRequest request); + $async.Future<$2.ListOrganizationsResponse> listOrganizations($grpc.ServiceCall call, $2.ListOrganizationsRequest request); + $async.Future<$2.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation($grpc.ServiceCall call, $2.GetOrganizationsWithAccessToLocationRequest request); + $async.Future<$2.ListOrganizationsByUserResponse> listOrganizationsByUser($grpc.ServiceCall call, $2.ListOrganizationsByUserRequest request); + $async.Future<$2.GetOrganizationResponse> getOrganization($grpc.ServiceCall call, $2.GetOrganizationRequest request); + $async.Future<$2.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability($grpc.ServiceCall call, $2.GetOrganizationNamespaceAvailabilityRequest request); + $async.Future<$2.UpdateOrganizationResponse> updateOrganization($grpc.ServiceCall call, $2.UpdateOrganizationRequest request); + $async.Future<$2.DeleteOrganizationResponse> deleteOrganization($grpc.ServiceCall call, $2.DeleteOrganizationRequest request); + $async.Future<$2.ListOrganizationMembersResponse> listOrganizationMembers($grpc.ServiceCall call, $2.ListOrganizationMembersRequest request); + $async.Future<$2.CreateOrganizationInviteResponse> createOrganizationInvite($grpc.ServiceCall call, $2.CreateOrganizationInviteRequest request); + $async.Future<$2.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations($grpc.ServiceCall call, $2.UpdateOrganizationInviteAuthorizationsRequest request); + $async.Future<$2.DeleteOrganizationMemberResponse> deleteOrganizationMember($grpc.ServiceCall call, $2.DeleteOrganizationMemberRequest request); + $async.Future<$2.DeleteOrganizationInviteResponse> deleteOrganizationInvite($grpc.ServiceCall call, $2.DeleteOrganizationInviteRequest request); + $async.Future<$2.ResendOrganizationInviteResponse> resendOrganizationInvite($grpc.ServiceCall call, $2.ResendOrganizationInviteRequest request); + $async.Future<$2.CreateLocationResponse> createLocation($grpc.ServiceCall call, $2.CreateLocationRequest request); + $async.Future<$2.GetLocationResponse> getLocation($grpc.ServiceCall call, $2.GetLocationRequest request); + $async.Future<$2.UpdateLocationResponse> updateLocation($grpc.ServiceCall call, $2.UpdateLocationRequest request); + $async.Future<$2.DeleteLocationResponse> deleteLocation($grpc.ServiceCall call, $2.DeleteLocationRequest request); + $async.Future<$2.ListLocationsResponse> listLocations($grpc.ServiceCall call, $2.ListLocationsRequest request); + $async.Future<$2.ShareLocationResponse> shareLocation($grpc.ServiceCall call, $2.ShareLocationRequest request); + $async.Future<$2.UnshareLocationResponse> unshareLocation($grpc.ServiceCall call, $2.UnshareLocationRequest request); + $async.Future<$2.LocationAuthResponse> locationAuth($grpc.ServiceCall call, $2.LocationAuthRequest request); + $async.Future<$2.CreateLocationSecretResponse> createLocationSecret($grpc.ServiceCall call, $2.CreateLocationSecretRequest request); + $async.Future<$2.DeleteLocationSecretResponse> deleteLocationSecret($grpc.ServiceCall call, $2.DeleteLocationSecretRequest request); + $async.Future<$2.GetRobotResponse> getRobot($grpc.ServiceCall call, $2.GetRobotRequest request); + $async.Future<$2.GetRoverRentalRobotsResponse> getRoverRentalRobots($grpc.ServiceCall call, $2.GetRoverRentalRobotsRequest request); + $async.Future<$2.GetRobotPartsResponse> getRobotParts($grpc.ServiceCall call, $2.GetRobotPartsRequest request); + $async.Future<$2.GetRobotPartResponse> getRobotPart($grpc.ServiceCall call, $2.GetRobotPartRequest request); + $async.Future<$2.GetRobotPartLogsResponse> getRobotPartLogs($grpc.ServiceCall call, $2.GetRobotPartLogsRequest request); + $async.Stream<$2.TailRobotPartLogsResponse> tailRobotPartLogs($grpc.ServiceCall call, $2.TailRobotPartLogsRequest request); + $async.Future<$2.GetRobotPartHistoryResponse> getRobotPartHistory($grpc.ServiceCall call, $2.GetRobotPartHistoryRequest request); + $async.Future<$2.UpdateRobotPartResponse> updateRobotPart($grpc.ServiceCall call, $2.UpdateRobotPartRequest request); + $async.Future<$2.NewRobotPartResponse> newRobotPart($grpc.ServiceCall call, $2.NewRobotPartRequest request); + $async.Future<$2.DeleteRobotPartResponse> deleteRobotPart($grpc.ServiceCall call, $2.DeleteRobotPartRequest request); + $async.Future<$2.GetRobotAPIKeysResponse> getRobotAPIKeys($grpc.ServiceCall call, $2.GetRobotAPIKeysRequest request); + $async.Future<$2.MarkPartAsMainResponse> markPartAsMain($grpc.ServiceCall call, $2.MarkPartAsMainRequest request); + $async.Future<$2.MarkPartForRestartResponse> markPartForRestart($grpc.ServiceCall call, $2.MarkPartForRestartRequest request); + $async.Future<$2.CreateRobotPartSecretResponse> createRobotPartSecret($grpc.ServiceCall call, $2.CreateRobotPartSecretRequest request); + $async.Future<$2.DeleteRobotPartSecretResponse> deleteRobotPartSecret($grpc.ServiceCall call, $2.DeleteRobotPartSecretRequest request); + $async.Future<$2.ListRobotsResponse> listRobots($grpc.ServiceCall call, $2.ListRobotsRequest request); + $async.Future<$2.NewRobotResponse> newRobot($grpc.ServiceCall call, $2.NewRobotRequest request); + $async.Future<$2.UpdateRobotResponse> updateRobot($grpc.ServiceCall call, $2.UpdateRobotRequest request); + $async.Future<$2.DeleteRobotResponse> deleteRobot($grpc.ServiceCall call, $2.DeleteRobotRequest request); + $async.Future<$2.ListFragmentsResponse> listFragments($grpc.ServiceCall call, $2.ListFragmentsRequest request); + $async.Future<$2.GetFragmentResponse> getFragment($grpc.ServiceCall call, $2.GetFragmentRequest request); + $async.Future<$2.CreateFragmentResponse> createFragment($grpc.ServiceCall call, $2.CreateFragmentRequest request); + $async.Future<$2.UpdateFragmentResponse> updateFragment($grpc.ServiceCall call, $2.UpdateFragmentRequest request); + $async.Future<$2.DeleteFragmentResponse> deleteFragment($grpc.ServiceCall call, $2.DeleteFragmentRequest request); + $async.Future<$2.AddRoleResponse> addRole($grpc.ServiceCall call, $2.AddRoleRequest request); + $async.Future<$2.RemoveRoleResponse> removeRole($grpc.ServiceCall call, $2.RemoveRoleRequest request); + $async.Future<$2.ChangeRoleResponse> changeRole($grpc.ServiceCall call, $2.ChangeRoleRequest request); + $async.Future<$2.ListAuthorizationsResponse> listAuthorizations($grpc.ServiceCall call, $2.ListAuthorizationsRequest request); + $async.Future<$2.CheckPermissionsResponse> checkPermissions($grpc.ServiceCall call, $2.CheckPermissionsRequest request); + $async.Future<$2.GetRegistryItemResponse> getRegistryItem($grpc.ServiceCall call, $2.GetRegistryItemRequest request); + $async.Future<$2.CreateRegistryItemResponse> createRegistryItem($grpc.ServiceCall call, $2.CreateRegistryItemRequest request); + $async.Future<$2.UpdateRegistryItemResponse> updateRegistryItem($grpc.ServiceCall call, $2.UpdateRegistryItemRequest request); + $async.Future<$2.ListRegistryItemsResponse> listRegistryItems($grpc.ServiceCall call, $2.ListRegistryItemsRequest request); + $async.Future<$2.DeleteRegistryItemResponse> deleteRegistryItem($grpc.ServiceCall call, $2.DeleteRegistryItemRequest request); + $async.Future<$2.CreateModuleResponse> createModule($grpc.ServiceCall call, $2.CreateModuleRequest request); + $async.Future<$2.UpdateModuleResponse> updateModule($grpc.ServiceCall call, $2.UpdateModuleRequest request); + $async.Future<$2.UploadModuleFileResponse> uploadModuleFile($grpc.ServiceCall call, $async.Stream<$2.UploadModuleFileRequest> request); + $async.Future<$2.GetModuleResponse> getModule($grpc.ServiceCall call, $2.GetModuleRequest request); + $async.Future<$2.ListModulesResponse> listModules($grpc.ServiceCall call, $2.ListModulesRequest request); + $async.Future<$2.CreateKeyResponse> createKey($grpc.ServiceCall call, $2.CreateKeyRequest request); + $async.Future<$2.DeleteKeyResponse> deleteKey($grpc.ServiceCall call, $2.DeleteKeyRequest request); + $async.Future<$2.ListKeysResponse> listKeys($grpc.ServiceCall call, $2.ListKeysRequest request); + $async.Future<$2.RotateKeyResponse> rotateKey($grpc.ServiceCall call, $2.RotateKeyRequest request); + $async.Future<$2.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations($grpc.ServiceCall call, $2.CreateKeyFromExistingKeyAuthorizationsRequest request); } diff --git a/lib/src/gen/app/v1/app.pbjson.dart b/lib/src/gen/app/v1/app.pbjson.dart index dcd8bf760a..335d0b2c16 100644 --- a/lib/src/gen/app/v1/app.pbjson.dart +++ b/lib/src/gen/app/v1/app.pbjson.dart @@ -1829,6 +1829,24 @@ const MLModelMetadata$json = { final $typed_data.Uint8List mLModelMetadataDescriptor = $convert.base64Decode( 'Cg9NTE1vZGVsTWV0YWRhdGESGgoIdmVyc2lvbnMYASADKAlSCHZlcnNpb25z'); +@$core.Deprecated('Use mLTrainingMetadataDescriptor instead') +const MLTrainingMetadata$json = { + '1': 'MLTrainingMetadata', + '2': [ + {'1': 'versions', '3': 1, '4': 3, '5': 9, '10': 'versions'}, + {'1': 'model_type', '3': 2, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelType', '10': 'modelType'}, + {'1': 'model_framework', '3': 3, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelFramework', '10': 'modelFramework'}, + {'1': 'draft', '3': 4, '4': 1, '5': 8, '10': 'draft'}, + ], +}; + +/// Descriptor for `MLTrainingMetadata`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mLTrainingMetadataDescriptor = $convert.base64Decode( + 'ChJNTFRyYWluaW5nTWV0YWRhdGESGgoIdmVyc2lvbnMYASADKAlSCHZlcnNpb25zEkAKCm1vZG' + 'VsX3R5cGUYAiABKA4yIS52aWFtLmFwcC5tbHRyYWluaW5nLnYxLk1vZGVsVHlwZVIJbW9kZWxU' + 'eXBlEk8KD21vZGVsX2ZyYW1ld29yaxgDIAEoDjImLnZpYW0uYXBwLm1sdHJhaW5pbmcudjEuTW' + '9kZWxGcmFtZXdvcmtSDm1vZGVsRnJhbWV3b3JrEhQKBWRyYWZ0GAQgASgIUgVkcmFmdA=='); + @$core.Deprecated('Use registryItemDescriptor instead') const RegistryItem$json = { '1': 'RegistryItem', @@ -1847,6 +1865,7 @@ const RegistryItem$json = { {'1': 'total_external_organization_usage', '3': 14, '4': 1, '5': 3, '10': 'totalExternalOrganizationUsage'}, {'1': 'module_metadata', '3': 11, '4': 1, '5': 11, '6': '.viam.app.v1.ModuleMetadata', '9': 0, '10': 'moduleMetadata'}, {'1': 'ml_model_metadata', '3': 12, '4': 1, '5': 11, '6': '.viam.app.v1.MLModelMetadata', '9': 0, '10': 'mlModelMetadata'}, + {'1': 'ml_training_metadata', '3': 18, '4': 1, '5': 11, '6': '.viam.app.v1.MLTrainingMetadata', '9': 0, '10': 'mlTrainingMetadata'}, {'1': 'created_at', '3': 15, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'createdAt'}, {'1': 'updated_at', '3': 16, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'updatedAt'}, ], @@ -1869,9 +1888,11 @@ final $typed_data.Uint8List registryItemDescriptor = $convert.base64Decode( '9uX3VzYWdlGA4gASgDUh50b3RhbEV4dGVybmFsT3JnYW5pemF0aW9uVXNhZ2USRgoPbW9kdWxl' 'X21ldGFkYXRhGAsgASgLMhsudmlhbS5hcHAudjEuTW9kdWxlTWV0YWRhdGFIAFIObW9kdWxlTW' 'V0YWRhdGESSgoRbWxfbW9kZWxfbWV0YWRhdGEYDCABKAsyHC52aWFtLmFwcC52MS5NTE1vZGVs' - 'TWV0YWRhdGFIAFIPbWxNb2RlbE1ldGFkYXRhEjkKCmNyZWF0ZWRfYXQYDyABKAsyGi5nb29nbG' - 'UucHJvdG9idWYuVGltZXN0YW1wUgljcmVhdGVkQXQSOQoKdXBkYXRlZF9hdBgQIAEoCzIaLmdv' - 'b2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBSCXVwZGF0ZWRBdEIKCghtZXRhZGF0YQ=='); + 'TWV0YWRhdGFIAFIPbWxNb2RlbE1ldGFkYXRhElMKFG1sX3RyYWluaW5nX21ldGFkYXRhGBIgAS' + 'gLMh8udmlhbS5hcHAudjEuTUxUcmFpbmluZ01ldGFkYXRhSABSEm1sVHJhaW5pbmdNZXRhZGF0' + 'YRI5CgpjcmVhdGVkX2F0GA8gASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcFIJY3JlYX' + 'RlZEF0EjkKCnVwZGF0ZWRfYXQYECABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgl1' + 'cGRhdGVkQXRCCgoIbWV0YWRhdGE='); @$core.Deprecated('Use getRegistryItemRequestDescriptor instead') const GetRegistryItemRequest$json = { diff --git a/lib/src/gen/app/v1/billing.pb.dart b/lib/src/gen/app/v1/billing.pb.dart index d82feb113e..6d491b0aa0 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 $5; +import '../../google/protobuf/timestamp.pb.dart' as $6; import 'billing.pbenum.dart'; export 'billing.pbenum.dart'; @@ -21,11 +21,11 @@ export 'billing.pbenum.dart'; class InvoiceSummary extends $pb.GeneratedMessage { factory InvoiceSummary({ $core.String? id, - $5.Timestamp? invoiceDate, + $6.Timestamp? invoiceDate, $core.double? invoiceAmount, $core.String? status, - $5.Timestamp? dueDate, - $5.Timestamp? paidDate, + $6.Timestamp? dueDate, + $6.Timestamp? paidDate, }) { final $result = create(); if (id != null) { @@ -54,11 +54,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<$5.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $6.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'invoiceAmount', $pb.PbFieldType.OD) ..aOS(4, _omitFieldNames ? '' : 'status') - ..aOM<$5.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $5.Timestamp.create) - ..aOM<$5.Timestamp>(6, _omitFieldNames ? '' : 'paidDate', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $6.Timestamp.create) + ..aOM<$6.Timestamp>(6, _omitFieldNames ? '' : 'paidDate', subBuilder: $6.Timestamp.create) ..hasRequiredFields = false ; @@ -93,15 +93,15 @@ class InvoiceSummary extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $5.Timestamp get invoiceDate => $_getN(1); + $6.Timestamp get invoiceDate => $_getN(1); @$pb.TagNumber(2) - set invoiceDate($5.Timestamp v) { setField(2, v); } + set invoiceDate($6.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasInvoiceDate() => $_has(1); @$pb.TagNumber(2) void clearInvoiceDate() => clearField(2); @$pb.TagNumber(2) - $5.Timestamp ensureInvoiceDate() => $_ensure(1); + $6.Timestamp ensureInvoiceDate() => $_ensure(1); @$pb.TagNumber(3) $core.double get invoiceAmount => $_getN(2); @@ -122,26 +122,26 @@ class InvoiceSummary extends $pb.GeneratedMessage { void clearStatus() => clearField(4); @$pb.TagNumber(5) - $5.Timestamp get dueDate => $_getN(4); + $6.Timestamp get dueDate => $_getN(4); @$pb.TagNumber(5) - set dueDate($5.Timestamp v) { setField(5, v); } + set dueDate($6.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasDueDate() => $_has(4); @$pb.TagNumber(5) void clearDueDate() => clearField(5); @$pb.TagNumber(5) - $5.Timestamp ensureDueDate() => $_ensure(4); + $6.Timestamp ensureDueDate() => $_ensure(4); @$pb.TagNumber(6) - $5.Timestamp get paidDate => $_getN(5); + $6.Timestamp get paidDate => $_getN(5); @$pb.TagNumber(6) - set paidDate($5.Timestamp v) { setField(6, v); } + set paidDate($6.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasPaidDate() => $_has(5); @$pb.TagNumber(6) void clearPaidDate() => clearField(6); @$pb.TagNumber(6) - $5.Timestamp ensurePaidDate() => $_ensure(5); + $6.Timestamp ensurePaidDate() => $_ensure(5); } class BillableResourceEvent extends $pb.GeneratedMessage { @@ -151,7 +151,7 @@ class BillableResourceEvent extends $pb.GeneratedMessage { $core.double? usageQuantity, $core.String? usageQuantityUnit, $core.String? usageCost, - $5.Timestamp? occurredAt, + $6.Timestamp? occurredAt, $core.String? userName, }) { final $result = create(); @@ -188,7 +188,7 @@ class BillableResourceEvent extends $pb.GeneratedMessage { ..a<$core.double>(3, _omitFieldNames ? '' : 'usageQuantity', $pb.PbFieldType.OD) ..aOS(4, _omitFieldNames ? '' : 'usageQuantityUnit') ..aOS(5, _omitFieldNames ? '' : 'usageCost') - ..aOM<$5.Timestamp>(6, _omitFieldNames ? '' : 'occurredAt', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(6, _omitFieldNames ? '' : 'occurredAt', subBuilder: $6.Timestamp.create) ..aOS(7, _omitFieldNames ? '' : 'userName') ..hasRequiredFields = false ; @@ -260,15 +260,15 @@ class BillableResourceEvent extends $pb.GeneratedMessage { void clearUsageCost() => clearField(5); @$pb.TagNumber(6) - $5.Timestamp get occurredAt => $_getN(5); + $6.Timestamp get occurredAt => $_getN(5); @$pb.TagNumber(6) - set occurredAt($5.Timestamp v) { setField(6, v); } + set occurredAt($6.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasOccurredAt() => $_has(5); @$pb.TagNumber(6) void clearOccurredAt() => clearField(6); @$pb.TagNumber(6) - $5.Timestamp ensureOccurredAt() => $_ensure(5); + $6.Timestamp ensureOccurredAt() => $_ensure(5); @$pb.TagNumber(7) $core.String get userName => $_getSZ(6); @@ -283,10 +283,10 @@ class BillableResourceEvent extends $pb.GeneratedMessage { class Invoice extends $pb.GeneratedMessage { factory Invoice({ $core.String? id, - $5.Timestamp? invoiceDate, + $6.Timestamp? invoiceDate, $core.double? invoiceAmount, $core.String? status, - $5.Timestamp? dueDate, + $6.Timestamp? dueDate, $core.Iterable? items, $core.String? emailedTo, }) { @@ -320,10 +320,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<$5.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $6.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'invoiceAmount', $pb.PbFieldType.OD) ..aOS(4, _omitFieldNames ? '' : 'status') - ..aOM<$5.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $6.Timestamp.create) ..pc(6, _omitFieldNames ? '' : 'items', $pb.PbFieldType.PM, subBuilder: BillableResourceEvent.create) ..aOS(7, _omitFieldNames ? '' : 'emailedTo') ..hasRequiredFields = false @@ -360,15 +360,15 @@ class Invoice extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $5.Timestamp get invoiceDate => $_getN(1); + $6.Timestamp get invoiceDate => $_getN(1); @$pb.TagNumber(2) - set invoiceDate($5.Timestamp v) { setField(2, v); } + set invoiceDate($6.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasInvoiceDate() => $_has(1); @$pb.TagNumber(2) void clearInvoiceDate() => clearField(2); @$pb.TagNumber(2) - $5.Timestamp ensureInvoiceDate() => $_ensure(1); + $6.Timestamp ensureInvoiceDate() => $_ensure(1); @$pb.TagNumber(3) $core.double get invoiceAmount => $_getN(2); @@ -389,15 +389,15 @@ class Invoice extends $pb.GeneratedMessage { void clearStatus() => clearField(4); @$pb.TagNumber(5) - $5.Timestamp get dueDate => $_getN(4); + $6.Timestamp get dueDate => $_getN(4); @$pb.TagNumber(5) - set dueDate($5.Timestamp v) { setField(5, v); } + set dueDate($6.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasDueDate() => $_has(4); @$pb.TagNumber(5) void clearDueDate() => clearField(5); @$pb.TagNumber(5) - $5.Timestamp ensureDueDate() => $_ensure(4); + $6.Timestamp ensureDueDate() => $_ensure(4); @$pb.TagNumber(6) $core.List get items => $_getList(5); @@ -528,8 +528,8 @@ class GetCurrentMonthUsageRequest extends $pb.GeneratedMessage { class GetCurrentMonthUsageResponse extends $pb.GeneratedMessage { factory GetCurrentMonthUsageResponse({ - $5.Timestamp? startDate, - $5.Timestamp? endDate, + $6.Timestamp? startDate, + $6.Timestamp? endDate, $core.double? cloudStorageUsageCost, $core.double? dataUploadUsageCost, $core.double? dataEgresUsageCost, @@ -577,8 +577,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<$5.Timestamp>(1, _omitFieldNames ? '' : 'startDate', subBuilder: $5.Timestamp.create) - ..aOM<$5.Timestamp>(2, _omitFieldNames ? '' : 'endDate', subBuilder: $5.Timestamp.create) + ..aOM<$6.Timestamp>(1, _omitFieldNames ? '' : 'startDate', subBuilder: $6.Timestamp.create) + ..aOM<$6.Timestamp>(2, _omitFieldNames ? '' : 'endDate', subBuilder: $6.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) @@ -612,26 +612,26 @@ class GetCurrentMonthUsageResponse extends $pb.GeneratedMessage { static GetCurrentMonthUsageResponse? _defaultInstance; @$pb.TagNumber(1) - $5.Timestamp get startDate => $_getN(0); + $6.Timestamp get startDate => $_getN(0); @$pb.TagNumber(1) - set startDate($5.Timestamp v) { setField(1, v); } + set startDate($6.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasStartDate() => $_has(0); @$pb.TagNumber(1) void clearStartDate() => clearField(1); @$pb.TagNumber(1) - $5.Timestamp ensureStartDate() => $_ensure(0); + $6.Timestamp ensureStartDate() => $_ensure(0); @$pb.TagNumber(2) - $5.Timestamp get endDate => $_getN(1); + $6.Timestamp get endDate => $_getN(1); @$pb.TagNumber(2) - set endDate($5.Timestamp v) { setField(2, v); } + set endDate($6.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEndDate() => $_has(1); @$pb.TagNumber(2) void clearEndDate() => clearField(2); @$pb.TagNumber(2) - $5.Timestamp ensureEndDate() => $_ensure(1); + $6.Timestamp ensureEndDate() => $_ensure(1); @$pb.TagNumber(3) $core.double get cloudStorageUsageCost => $_getN(2); diff --git a/lib/src/gen/app/v1/billing.pbgrpc.dart b/lib/src/gen/app/v1/billing.pbgrpc.dart index 50d0e6d682..5a616febab 100644 --- a/lib/src/gen/app/v1/billing.pbgrpc.dart +++ b/lib/src/gen/app/v1/billing.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 'billing.pb.dart' as $2; +import 'billing.pb.dart' as $3; export 'billing.pb.dart'; @$pb.GrpcServiceName('viam.app.v1.BillingService') class BillingServiceClient extends $grpc.Client { - static final _$getCurrentMonthUsage = $grpc.ClientMethod<$2.GetCurrentMonthUsageRequest, $2.GetCurrentMonthUsageResponse>( + static final _$getCurrentMonthUsage = $grpc.ClientMethod<$3.GetCurrentMonthUsageRequest, $3.GetCurrentMonthUsageResponse>( '/viam.app.v1.BillingService/GetCurrentMonthUsage', - ($2.GetCurrentMonthUsageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.GetCurrentMonthUsageResponse.fromBuffer(value)); - static final _$getOrgBillingInformation = $grpc.ClientMethod<$2.GetOrgBillingInformationRequest, $2.GetOrgBillingInformationResponse>( + ($3.GetCurrentMonthUsageRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $3.GetCurrentMonthUsageResponse.fromBuffer(value)); + static final _$getOrgBillingInformation = $grpc.ClientMethod<$3.GetOrgBillingInformationRequest, $3.GetOrgBillingInformationResponse>( '/viam.app.v1.BillingService/GetOrgBillingInformation', - ($2.GetOrgBillingInformationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.GetOrgBillingInformationResponse.fromBuffer(value)); - static final _$getInvoicesSummary = $grpc.ClientMethod<$2.GetInvoicesSummaryRequest, $2.GetInvoicesSummaryResponse>( + ($3.GetOrgBillingInformationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $3.GetOrgBillingInformationResponse.fromBuffer(value)); + static final _$getInvoicesSummary = $grpc.ClientMethod<$3.GetInvoicesSummaryRequest, $3.GetInvoicesSummaryResponse>( '/viam.app.v1.BillingService/GetInvoicesSummary', - ($2.GetInvoicesSummaryRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.GetInvoicesSummaryResponse.fromBuffer(value)); - static final _$getInvoicePdf = $grpc.ClientMethod<$2.GetInvoicePdfRequest, $2.GetInvoicePdfResponse>( + ($3.GetInvoicesSummaryRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $3.GetInvoicesSummaryResponse.fromBuffer(value)); + static final _$getInvoicePdf = $grpc.ClientMethod<$3.GetInvoicePdfRequest, $3.GetInvoicePdfResponse>( '/viam.app.v1.BillingService/GetInvoicePdf', - ($2.GetInvoicePdfRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $2.GetInvoicePdfResponse.fromBuffer(value)); + ($3.GetInvoicePdfRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $3.GetInvoicePdfResponse.fromBuffer(value)); BillingServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -44,19 +44,19 @@ class BillingServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$2.GetCurrentMonthUsageResponse> getCurrentMonthUsage($2.GetCurrentMonthUsageRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$3.GetCurrentMonthUsageResponse> getCurrentMonthUsage($3.GetCurrentMonthUsageRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getCurrentMonthUsage, request, options: options); } - $grpc.ResponseFuture<$2.GetOrgBillingInformationResponse> getOrgBillingInformation($2.GetOrgBillingInformationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$3.GetOrgBillingInformationResponse> getOrgBillingInformation($3.GetOrgBillingInformationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getOrgBillingInformation, request, options: options); } - $grpc.ResponseFuture<$2.GetInvoicesSummaryResponse> getInvoicesSummary($2.GetInvoicesSummaryRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$3.GetInvoicesSummaryResponse> getInvoicesSummary($3.GetInvoicesSummaryRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getInvoicesSummary, request, options: options); } - $grpc.ResponseStream<$2.GetInvoicePdfResponse> getInvoicePdf($2.GetInvoicePdfRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$3.GetInvoicePdfResponse> getInvoicePdf($3.GetInvoicePdfRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$getInvoicePdf, $async.Stream.fromIterable([request]), options: options); } } @@ -66,54 +66,54 @@ abstract class BillingServiceBase extends $grpc.Service { $core.String get $name => 'viam.app.v1.BillingService'; BillingServiceBase() { - $addMethod($grpc.ServiceMethod<$2.GetCurrentMonthUsageRequest, $2.GetCurrentMonthUsageResponse>( + $addMethod($grpc.ServiceMethod<$3.GetCurrentMonthUsageRequest, $3.GetCurrentMonthUsageResponse>( 'GetCurrentMonthUsage', getCurrentMonthUsage_Pre, false, false, - ($core.List<$core.int> value) => $2.GetCurrentMonthUsageRequest.fromBuffer(value), - ($2.GetCurrentMonthUsageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$2.GetOrgBillingInformationRequest, $2.GetOrgBillingInformationResponse>( + ($core.List<$core.int> value) => $3.GetCurrentMonthUsageRequest.fromBuffer(value), + ($3.GetCurrentMonthUsageResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$3.GetOrgBillingInformationRequest, $3.GetOrgBillingInformationResponse>( 'GetOrgBillingInformation', getOrgBillingInformation_Pre, false, false, - ($core.List<$core.int> value) => $2.GetOrgBillingInformationRequest.fromBuffer(value), - ($2.GetOrgBillingInformationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$2.GetInvoicesSummaryRequest, $2.GetInvoicesSummaryResponse>( + ($core.List<$core.int> value) => $3.GetOrgBillingInformationRequest.fromBuffer(value), + ($3.GetOrgBillingInformationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$3.GetInvoicesSummaryRequest, $3.GetInvoicesSummaryResponse>( 'GetInvoicesSummary', getInvoicesSummary_Pre, false, false, - ($core.List<$core.int> value) => $2.GetInvoicesSummaryRequest.fromBuffer(value), - ($2.GetInvoicesSummaryResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$2.GetInvoicePdfRequest, $2.GetInvoicePdfResponse>( + ($core.List<$core.int> value) => $3.GetInvoicesSummaryRequest.fromBuffer(value), + ($3.GetInvoicesSummaryResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$3.GetInvoicePdfRequest, $3.GetInvoicePdfResponse>( 'GetInvoicePdf', getInvoicePdf_Pre, false, true, - ($core.List<$core.int> value) => $2.GetInvoicePdfRequest.fromBuffer(value), - ($2.GetInvoicePdfResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $3.GetInvoicePdfRequest.fromBuffer(value), + ($3.GetInvoicePdfResponse value) => value.writeToBuffer())); } - $async.Future<$2.GetCurrentMonthUsageResponse> getCurrentMonthUsage_Pre($grpc.ServiceCall call, $async.Future<$2.GetCurrentMonthUsageRequest> request) async { + $async.Future<$3.GetCurrentMonthUsageResponse> getCurrentMonthUsage_Pre($grpc.ServiceCall call, $async.Future<$3.GetCurrentMonthUsageRequest> request) async { return getCurrentMonthUsage(call, await request); } - $async.Future<$2.GetOrgBillingInformationResponse> getOrgBillingInformation_Pre($grpc.ServiceCall call, $async.Future<$2.GetOrgBillingInformationRequest> request) async { + $async.Future<$3.GetOrgBillingInformationResponse> getOrgBillingInformation_Pre($grpc.ServiceCall call, $async.Future<$3.GetOrgBillingInformationRequest> request) async { return getOrgBillingInformation(call, await request); } - $async.Future<$2.GetInvoicesSummaryResponse> getInvoicesSummary_Pre($grpc.ServiceCall call, $async.Future<$2.GetInvoicesSummaryRequest> request) async { + $async.Future<$3.GetInvoicesSummaryResponse> getInvoicesSummary_Pre($grpc.ServiceCall call, $async.Future<$3.GetInvoicesSummaryRequest> request) async { return getInvoicesSummary(call, await request); } - $async.Stream<$2.GetInvoicePdfResponse> getInvoicePdf_Pre($grpc.ServiceCall call, $async.Future<$2.GetInvoicePdfRequest> request) async* { + $async.Stream<$3.GetInvoicePdfResponse> getInvoicePdf_Pre($grpc.ServiceCall call, $async.Future<$3.GetInvoicePdfRequest> request) async* { yield* getInvoicePdf(call, await 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); + $async.Future<$3.GetCurrentMonthUsageResponse> getCurrentMonthUsage($grpc.ServiceCall call, $3.GetCurrentMonthUsageRequest request); + $async.Future<$3.GetOrgBillingInformationResponse> getOrgBillingInformation($grpc.ServiceCall call, $3.GetOrgBillingInformationRequest request); + $async.Future<$3.GetInvoicesSummaryResponse> getInvoicesSummary($grpc.ServiceCall call, $3.GetInvoicesSummaryRequest request); + $async.Stream<$3.GetInvoicePdfResponse> getInvoicePdf($grpc.ServiceCall call, $3.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 7d821aceb7..4ed525213a 100644 --- a/lib/src/gen/app/v1/end_user.pbgrpc.dart +++ b/lib/src/gen/app/v1/end_user.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 'end_user.pb.dart' as $3; +import 'end_user.pb.dart' as $4; export 'end_user.pb.dart'; @$pb.GrpcServiceName('viam.app.v1.EndUserService') class EndUserServiceClient extends $grpc.Client { - static final _$isLegalAccepted = $grpc.ClientMethod<$3.IsLegalAcceptedRequest, $3.IsLegalAcceptedResponse>( + static final _$isLegalAccepted = $grpc.ClientMethod<$4.IsLegalAcceptedRequest, $4.IsLegalAcceptedResponse>( '/viam.app.v1.EndUserService/IsLegalAccepted', - ($3.IsLegalAcceptedRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.IsLegalAcceptedResponse.fromBuffer(value)); - static final _$acceptLegal = $grpc.ClientMethod<$3.AcceptLegalRequest, $3.AcceptLegalResponse>( + ($4.IsLegalAcceptedRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $4.IsLegalAcceptedResponse.fromBuffer(value)); + static final _$acceptLegal = $grpc.ClientMethod<$4.AcceptLegalRequest, $4.AcceptLegalResponse>( '/viam.app.v1.EndUserService/AcceptLegal', - ($3.AcceptLegalRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.AcceptLegalResponse.fromBuffer(value)); - static final _$registerAuthApplication = $grpc.ClientMethod<$3.RegisterAuthApplicationRequest, $3.RegisterAuthApplicationResponse>( + ($4.AcceptLegalRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $4.AcceptLegalResponse.fromBuffer(value)); + static final _$registerAuthApplication = $grpc.ClientMethod<$4.RegisterAuthApplicationRequest, $4.RegisterAuthApplicationResponse>( '/viam.app.v1.EndUserService/RegisterAuthApplication', - ($3.RegisterAuthApplicationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.RegisterAuthApplicationResponse.fromBuffer(value)); - static final _$updateAuthApplication = $grpc.ClientMethod<$3.UpdateAuthApplicationRequest, $3.UpdateAuthApplicationResponse>( + ($4.RegisterAuthApplicationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $4.RegisterAuthApplicationResponse.fromBuffer(value)); + static final _$updateAuthApplication = $grpc.ClientMethod<$4.UpdateAuthApplicationRequest, $4.UpdateAuthApplicationResponse>( '/viam.app.v1.EndUserService/UpdateAuthApplication', - ($3.UpdateAuthApplicationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $3.UpdateAuthApplicationResponse.fromBuffer(value)); + ($4.UpdateAuthApplicationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $4.UpdateAuthApplicationResponse.fromBuffer(value)); EndUserServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -44,19 +44,19 @@ class EndUserServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$3.IsLegalAcceptedResponse> isLegalAccepted($3.IsLegalAcceptedRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$4.IsLegalAcceptedResponse> isLegalAccepted($4.IsLegalAcceptedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$isLegalAccepted, request, options: options); } - $grpc.ResponseFuture<$3.AcceptLegalResponse> acceptLegal($3.AcceptLegalRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$4.AcceptLegalResponse> acceptLegal($4.AcceptLegalRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$acceptLegal, request, options: options); } - $grpc.ResponseFuture<$3.RegisterAuthApplicationResponse> registerAuthApplication($3.RegisterAuthApplicationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$4.RegisterAuthApplicationResponse> registerAuthApplication($4.RegisterAuthApplicationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$registerAuthApplication, request, options: options); } - $grpc.ResponseFuture<$3.UpdateAuthApplicationResponse> updateAuthApplication($3.UpdateAuthApplicationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$4.UpdateAuthApplicationResponse> updateAuthApplication($4.UpdateAuthApplicationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateAuthApplication, request, options: options); } } @@ -66,54 +66,54 @@ abstract class EndUserServiceBase extends $grpc.Service { $core.String get $name => 'viam.app.v1.EndUserService'; EndUserServiceBase() { - $addMethod($grpc.ServiceMethod<$3.IsLegalAcceptedRequest, $3.IsLegalAcceptedResponse>( + $addMethod($grpc.ServiceMethod<$4.IsLegalAcceptedRequest, $4.IsLegalAcceptedResponse>( 'IsLegalAccepted', isLegalAccepted_Pre, false, false, - ($core.List<$core.int> value) => $3.IsLegalAcceptedRequest.fromBuffer(value), - ($3.IsLegalAcceptedResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.AcceptLegalRequest, $3.AcceptLegalResponse>( + ($core.List<$core.int> value) => $4.IsLegalAcceptedRequest.fromBuffer(value), + ($4.IsLegalAcceptedResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$4.AcceptLegalRequest, $4.AcceptLegalResponse>( 'AcceptLegal', acceptLegal_Pre, false, false, - ($core.List<$core.int> value) => $3.AcceptLegalRequest.fromBuffer(value), - ($3.AcceptLegalResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.RegisterAuthApplicationRequest, $3.RegisterAuthApplicationResponse>( + ($core.List<$core.int> value) => $4.AcceptLegalRequest.fromBuffer(value), + ($4.AcceptLegalResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$4.RegisterAuthApplicationRequest, $4.RegisterAuthApplicationResponse>( 'RegisterAuthApplication', registerAuthApplication_Pre, false, false, - ($core.List<$core.int> value) => $3.RegisterAuthApplicationRequest.fromBuffer(value), - ($3.RegisterAuthApplicationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$3.UpdateAuthApplicationRequest, $3.UpdateAuthApplicationResponse>( + ($core.List<$core.int> value) => $4.RegisterAuthApplicationRequest.fromBuffer(value), + ($4.RegisterAuthApplicationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$4.UpdateAuthApplicationRequest, $4.UpdateAuthApplicationResponse>( 'UpdateAuthApplication', updateAuthApplication_Pre, false, false, - ($core.List<$core.int> value) => $3.UpdateAuthApplicationRequest.fromBuffer(value), - ($3.UpdateAuthApplicationResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $4.UpdateAuthApplicationRequest.fromBuffer(value), + ($4.UpdateAuthApplicationResponse value) => value.writeToBuffer())); } - $async.Future<$3.IsLegalAcceptedResponse> isLegalAccepted_Pre($grpc.ServiceCall call, $async.Future<$3.IsLegalAcceptedRequest> request) async { + $async.Future<$4.IsLegalAcceptedResponse> isLegalAccepted_Pre($grpc.ServiceCall call, $async.Future<$4.IsLegalAcceptedRequest> request) async { return isLegalAccepted(call, await request); } - $async.Future<$3.AcceptLegalResponse> acceptLegal_Pre($grpc.ServiceCall call, $async.Future<$3.AcceptLegalRequest> request) async { + $async.Future<$4.AcceptLegalResponse> acceptLegal_Pre($grpc.ServiceCall call, $async.Future<$4.AcceptLegalRequest> request) async { return acceptLegal(call, await request); } - $async.Future<$3.RegisterAuthApplicationResponse> registerAuthApplication_Pre($grpc.ServiceCall call, $async.Future<$3.RegisterAuthApplicationRequest> request) async { + $async.Future<$4.RegisterAuthApplicationResponse> registerAuthApplication_Pre($grpc.ServiceCall call, $async.Future<$4.RegisterAuthApplicationRequest> request) async { return registerAuthApplication(call, await request); } - $async.Future<$3.UpdateAuthApplicationResponse> updateAuthApplication_Pre($grpc.ServiceCall call, $async.Future<$3.UpdateAuthApplicationRequest> request) async { + $async.Future<$4.UpdateAuthApplicationResponse> updateAuthApplication_Pre($grpc.ServiceCall call, $async.Future<$4.UpdateAuthApplicationRequest> request) async { return updateAuthApplication(call, await request); } - $async.Future<$3.IsLegalAcceptedResponse> isLegalAccepted($grpc.ServiceCall call, $3.IsLegalAcceptedRequest request); - $async.Future<$3.AcceptLegalResponse> acceptLegal($grpc.ServiceCall call, $3.AcceptLegalRequest request); - $async.Future<$3.RegisterAuthApplicationResponse> registerAuthApplication($grpc.ServiceCall call, $3.RegisterAuthApplicationRequest request); - $async.Future<$3.UpdateAuthApplicationResponse> updateAuthApplication($grpc.ServiceCall call, $3.UpdateAuthApplicationRequest request); + $async.Future<$4.IsLegalAcceptedResponse> isLegalAccepted($grpc.ServiceCall call, $4.IsLegalAcceptedRequest request); + $async.Future<$4.AcceptLegalResponse> acceptLegal($grpc.ServiceCall call, $4.AcceptLegalRequest request); + $async.Future<$4.RegisterAuthApplicationResponse> registerAuthApplication($grpc.ServiceCall call, $4.RegisterAuthApplicationRequest request); + $async.Future<$4.UpdateAuthApplicationResponse> updateAuthApplication($grpc.ServiceCall call, $4.UpdateAuthApplicationRequest request); } diff --git a/lib/src/gen/app/v1/robot.pb.dart b/lib/src/gen/app/v1/robot.pb.dart index 48a001ab73..2b2862346c 100644 --- a/lib/src/gen/app/v1/robot.pb.dart +++ b/lib/src/gen/app/v1/robot.pb.dart @@ -13,9 +13,9 @@ 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 $8; -import '../../google/protobuf/struct.pb.dart' as $6; +import '../../common/v1/common.pb.dart' as $8; +import '../../google/protobuf/duration.pb.dart' as $9; +import '../../google/protobuf/struct.pb.dart' as $7; import 'robot.pbenum.dart'; export 'robot.pbenum.dart'; @@ -522,7 +522,7 @@ class ComponentConfig extends $pb.GeneratedMessage { Frame? frame, $core.Iterable<$core.String>? dependsOn, $core.Iterable? serviceConfigs, - $6.Struct? attributes, + $7.Struct? attributes, $core.String? api, LogConfiguration? logConfiguration, }) { @@ -571,7 +571,7 @@ 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<$6.Struct>(8, _omitFieldNames ? '' : 'attributes', subBuilder: $6.Struct.create) + ..aOM<$7.Struct>(8, _omitFieldNames ? '' : 'attributes', subBuilder: $7.Struct.create) ..aOS(9, _omitFieldNames ? '' : 'api') ..aOM(10, _omitFieldNames ? '' : 'logConfiguration', subBuilder: LogConfiguration.create) ..hasRequiredFields = false @@ -652,15 +652,15 @@ class ComponentConfig extends $pb.GeneratedMessage { $core.List get serviceConfigs => $_getList(6); @$pb.TagNumber(8) - $6.Struct get attributes => $_getN(7); + $7.Struct get attributes => $_getN(7); @$pb.TagNumber(8) - set attributes($6.Struct v) { setField(8, v); } + set attributes($7.Struct v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasAttributes() => $_has(7); @$pb.TagNumber(8) void clearAttributes() => clearField(8); @$pb.TagNumber(8) - $6.Struct ensureAttributes() => $_ensure(7); + $7.Struct ensureAttributes() => $_ensure(7); @$pb.TagNumber(9) $core.String get api => $_getSZ(8); @@ -687,7 +687,7 @@ class ComponentConfig extends $pb.GeneratedMessage { class ResourceLevelServiceConfig extends $pb.GeneratedMessage { factory ResourceLevelServiceConfig({ $core.String? type, - $6.Struct? attributes, + $7.Struct? attributes, }) { final $result = create(); if (type != null) { @@ -704,7 +704,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<$6.Struct>(2, _omitFieldNames ? '' : 'attributes', subBuilder: $6.Struct.create) + ..aOM<$7.Struct>(2, _omitFieldNames ? '' : 'attributes', subBuilder: $7.Struct.create) ..hasRequiredFields = false ; @@ -740,15 +740,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) - $6.Struct get attributes => $_getN(1); + $7.Struct get attributes => $_getN(1); @$pb.TagNumber(2) - set attributes($6.Struct v) { setField(2, v); } + set attributes($7.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasAttributes() => $_has(1); @$pb.TagNumber(2) void clearAttributes() => clearField(2); @$pb.TagNumber(2) - $6.Struct ensureAttributes() => $_ensure(1); + $7.Struct ensureAttributes() => $_ensure(1); } /// A ProcessConfig describes how to manage a system process. @@ -761,7 +761,7 @@ class ProcessConfig extends $pb.GeneratedMessage { $core.bool? oneShot, $core.bool? log, $core.int? stopSignal, - $8.Duration? stopTimeout, + $9.Duration? stopTimeout, $core.Map<$core.String, $core.String>? env, }) { final $result = create(); @@ -806,7 +806,7 @@ class ProcessConfig extends $pb.GeneratedMessage { ..aOB(5, _omitFieldNames ? '' : 'oneShot') ..aOB(6, _omitFieldNames ? '' : 'log') ..a<$core.int>(7, _omitFieldNames ? '' : 'stopSignal', $pb.PbFieldType.O3) - ..aOM<$8.Duration>(8, _omitFieldNames ? '' : 'stopTimeout', subBuilder: $8.Duration.create) + ..aOM<$9.Duration>(8, _omitFieldNames ? '' : 'stopTimeout', subBuilder: $9.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 ; @@ -890,15 +890,15 @@ class ProcessConfig extends $pb.GeneratedMessage { void clearStopSignal() => clearField(7); @$pb.TagNumber(8) - $8.Duration get stopTimeout => $_getN(7); + $9.Duration get stopTimeout => $_getN(7); @$pb.TagNumber(8) - set stopTimeout($8.Duration v) { setField(8, v); } + set stopTimeout($9.Duration v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasStopTimeout() => $_has(7); @$pb.TagNumber(8) void clearStopTimeout() => clearField(8); @$pb.TagNumber(8) - $8.Duration ensureStopTimeout() => $_ensure(7); + $9.Duration ensureStopTimeout() => $_ensure(7); /// additional environment variables passed to the process @$pb.TagNumber(9) @@ -910,7 +910,7 @@ class ServiceConfig extends $pb.GeneratedMessage { $core.String? name, $core.String? namespace, $core.String? type, - $6.Struct? attributes, + $7.Struct? attributes, $core.Iterable<$core.String>? dependsOn, $core.String? model, $core.String? api, @@ -951,7 +951,7 @@ class ServiceConfig extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'namespace') ..aOS(3, _omitFieldNames ? '' : 'type') - ..aOM<$6.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $6.Struct.create) + ..aOM<$7.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $7.Struct.create) ..pPS(5, _omitFieldNames ? '' : 'dependsOn') ..aOS(6, _omitFieldNames ? '' : 'model') ..aOS(9, _omitFieldNames ? '' : 'api') @@ -1008,15 +1008,15 @@ class ServiceConfig extends $pb.GeneratedMessage { void clearType() => clearField(3); @$pb.TagNumber(4) - $6.Struct get attributes => $_getN(3); + $7.Struct get attributes => $_getN(3); @$pb.TagNumber(4) - set attributes($6.Struct v) { setField(4, v); } + set attributes($7.Struct v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasAttributes() => $_has(3); @$pb.TagNumber(4) void clearAttributes() => clearField(4); @$pb.TagNumber(4) - $6.Struct ensureAttributes() => $_ensure(3); + $7.Struct ensureAttributes() => $_ensure(3); @$pb.TagNumber(5) $core.List<$core.String> get dependsOn => $_getList(4); @@ -1153,7 +1153,7 @@ class NetworkConfig extends $pb.GeneratedMessage { class SessionsConfig extends $pb.GeneratedMessage { factory SessionsConfig({ - $8.Duration? heartbeatWindow, + $9.Duration? heartbeatWindow, }) { final $result = create(); if (heartbeatWindow != null) { @@ -1166,7 +1166,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<$8.Duration>(1, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $8.Duration.create) + ..aOM<$9.Duration>(1, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $9.Duration.create) ..hasRequiredFields = false ; @@ -1192,15 +1192,15 @@ class SessionsConfig extends $pb.GeneratedMessage { static SessionsConfig? _defaultInstance; @$pb.TagNumber(1) - $8.Duration get heartbeatWindow => $_getN(0); + $9.Duration get heartbeatWindow => $_getN(0); @$pb.TagNumber(1) - set heartbeatWindow($8.Duration v) { setField(1, v); } + set heartbeatWindow($9.Duration v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasHeartbeatWindow() => $_has(0); @$pb.TagNumber(1) void clearHeartbeatWindow() => clearField(1); @$pb.TagNumber(1) - $8.Duration ensureHeartbeatWindow() => $_ensure(0); + $9.Duration ensureHeartbeatWindow() => $_ensure(0); } class AuthConfig extends $pb.GeneratedMessage { @@ -1273,7 +1273,7 @@ class AuthConfig extends $pb.GeneratedMessage { class JWKSFile extends $pb.GeneratedMessage { factory JWKSFile({ - $6.Struct? json, + $7.Struct? json, }) { final $result = create(); if (json != null) { @@ -1286,7 +1286,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<$6.Struct>(1, _omitFieldNames ? '' : 'json', subBuilder: $6.Struct.create) + ..aOM<$7.Struct>(1, _omitFieldNames ? '' : 'json', subBuilder: $7.Struct.create) ..hasRequiredFields = false ; @@ -1314,15 +1314,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) - $6.Struct get json => $_getN(0); + $7.Struct get json => $_getN(0); @$pb.TagNumber(1) - set json($6.Struct v) { setField(1, v); } + set json($7.Struct v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasJson() => $_has(0); @$pb.TagNumber(1) void clearJson() => clearField(1); @$pb.TagNumber(1) - $6.Struct ensureJson() => $_ensure(0); + $7.Struct ensureJson() => $_ensure(0); } /// ExternalAuthConfig describes how a viam managed robot can accept @@ -1382,7 +1382,7 @@ class ExternalAuthConfig extends $pb.GeneratedMessage { class AuthHandlerConfig extends $pb.GeneratedMessage { factory AuthHandlerConfig({ CredentialsType? type, - $6.Struct? config, + $7.Struct? config, }) { final $result = create(); if (type != null) { @@ -1399,7 +1399,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<$6.Struct>(5, _omitFieldNames ? '' : 'config', subBuilder: $6.Struct.create) + ..aOM<$7.Struct>(5, _omitFieldNames ? '' : 'config', subBuilder: $7.Struct.create) ..hasRequiredFields = false ; @@ -1434,15 +1434,15 @@ class AuthHandlerConfig extends $pb.GeneratedMessage { void clearType() => clearField(1); @$pb.TagNumber(5) - $6.Struct get config => $_getN(1); + $7.Struct get config => $_getN(1); @$pb.TagNumber(5) - set config($6.Struct v) { setField(5, v); } + set config($7.Struct v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasConfig() => $_has(1); @$pb.TagNumber(5) void clearConfig() => clearField(5); @$pb.TagNumber(5) - $6.Struct ensureConfig() => $_ensure(1); + $7.Struct ensureConfig() => $_ensure(1); } class Frame extends $pb.GeneratedMessage { @@ -1450,7 +1450,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) { @@ -1475,7 +1475,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 ; @@ -1532,15 +1532,15 @@ 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 { @@ -2337,8 +2337,8 @@ class RemoteConfig extends $pb.GeneratedMessage { RemoteAuth? auth, $core.String? managedBy, $core.bool? insecure, - $8.Duration? connectionCheckInterval, - $8.Duration? reconnectInterval, + $9.Duration? connectionCheckInterval, + $9.Duration? reconnectInterval, $core.Iterable? serviceConfigs, $core.String? secret, }) { @@ -2386,8 +2386,8 @@ class RemoteConfig extends $pb.GeneratedMessage { ..aOM(4, _omitFieldNames ? '' : 'auth', subBuilder: RemoteAuth.create) ..aOS(5, _omitFieldNames ? '' : 'managedBy') ..aOB(6, _omitFieldNames ? '' : 'insecure') - ..aOM<$8.Duration>(7, _omitFieldNames ? '' : 'connectionCheckInterval', subBuilder: $8.Duration.create) - ..aOM<$8.Duration>(8, _omitFieldNames ? '' : 'reconnectInterval', subBuilder: $8.Duration.create) + ..aOM<$9.Duration>(7, _omitFieldNames ? '' : 'connectionCheckInterval', subBuilder: $9.Duration.create) + ..aOM<$9.Duration>(8, _omitFieldNames ? '' : 'reconnectInterval', subBuilder: $9.Duration.create) ..pc(9, _omitFieldNames ? '' : 'serviceConfigs', $pb.PbFieldType.PM, subBuilder: ResourceLevelServiceConfig.create) ..aOS(10, _omitFieldNames ? '' : 'secret') ..hasRequiredFields = false @@ -2473,26 +2473,26 @@ class RemoteConfig extends $pb.GeneratedMessage { void clearInsecure() => clearField(6); @$pb.TagNumber(7) - $8.Duration get connectionCheckInterval => $_getN(6); + $9.Duration get connectionCheckInterval => $_getN(6); @$pb.TagNumber(7) - set connectionCheckInterval($8.Duration v) { setField(7, v); } + set connectionCheckInterval($9.Duration v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasConnectionCheckInterval() => $_has(6); @$pb.TagNumber(7) void clearConnectionCheckInterval() => clearField(7); @$pb.TagNumber(7) - $8.Duration ensureConnectionCheckInterval() => $_ensure(6); + $9.Duration ensureConnectionCheckInterval() => $_ensure(6); @$pb.TagNumber(8) - $8.Duration get reconnectInterval => $_getN(7); + $9.Duration get reconnectInterval => $_getN(7); @$pb.TagNumber(8) - set reconnectInterval($8.Duration v) { setField(8, v); } + set reconnectInterval($9.Duration v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasReconnectInterval() => $_has(7); @$pb.TagNumber(8) void clearReconnectInterval() => clearField(8); @$pb.TagNumber(8) - $8.Duration ensureReconnectInterval() => $_ensure(7); + $9.Duration ensureReconnectInterval() => $_ensure(7); @$pb.TagNumber(9) $core.List get serviceConfigs => $_getList(8); @@ -3013,7 +3013,7 @@ class CertificateResponse extends $pb.GeneratedMessage { class LogRequest extends $pb.GeneratedMessage { factory LogRequest({ $core.String? id, - $core.Iterable<$7.LogEntry>? logs, + $core.Iterable<$8.LogEntry>? logs, }) { final $result = create(); if (id != null) { @@ -3030,7 +3030,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<$7.LogEntry>(2, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $7.LogEntry.create) + ..pc<$8.LogEntry>(2, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $8.LogEntry.create) ..hasRequiredFields = false ; @@ -3066,7 +3066,7 @@ class LogRequest extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $core.List<$7.LogEntry> get logs => $_getList(1); + $core.List<$8.LogEntry> get logs => $_getList(1); } class LogResponse extends $pb.GeneratedMessage { @@ -3156,7 +3156,7 @@ class NeedsRestartResponse extends $pb.GeneratedMessage { factory NeedsRestartResponse({ $core.String? id, $core.bool? mustRestart, - $8.Duration? restartCheckInterval, + $9.Duration? restartCheckInterval, }) { final $result = create(); if (id != null) { @@ -3177,7 +3177,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<$8.Duration>(3, _omitFieldNames ? '' : 'restartCheckInterval', subBuilder: $8.Duration.create) + ..aOM<$9.Duration>(3, _omitFieldNames ? '' : 'restartCheckInterval', subBuilder: $9.Duration.create) ..hasRequiredFields = false ; @@ -3222,15 +3222,15 @@ class NeedsRestartResponse extends $pb.GeneratedMessage { void clearMustRestart() => clearField(2); @$pb.TagNumber(3) - $8.Duration get restartCheckInterval => $_getN(2); + $9.Duration get restartCheckInterval => $_getN(2); @$pb.TagNumber(3) - set restartCheckInterval($8.Duration v) { setField(3, v); } + set restartCheckInterval($9.Duration v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasRestartCheckInterval() => $_has(2); @$pb.TagNumber(3) void clearRestartCheckInterval() => clearField(3); @$pb.TagNumber(3) - $8.Duration ensureRestartCheckInterval() => $_ensure(2); + $9.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 32f1f54796..28df6f2f21 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 $4; +import 'robot.pb.dart' as $5; export 'robot.pb.dart'; @$pb.GrpcServiceName('viam.app.v1.RobotService') class RobotServiceClient extends $grpc.Client { - static final _$config = $grpc.ClientMethod<$4.ConfigRequest, $4.ConfigResponse>( + static final _$config = $grpc.ClientMethod<$5.ConfigRequest, $5.ConfigResponse>( '/viam.app.v1.RobotService/Config', - ($4.ConfigRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.ConfigResponse.fromBuffer(value)); - static final _$certificate = $grpc.ClientMethod<$4.CertificateRequest, $4.CertificateResponse>( + ($5.ConfigRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $5.ConfigResponse.fromBuffer(value)); + static final _$certificate = $grpc.ClientMethod<$5.CertificateRequest, $5.CertificateResponse>( '/viam.app.v1.RobotService/Certificate', - ($4.CertificateRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.CertificateResponse.fromBuffer(value)); - static final _$log = $grpc.ClientMethod<$4.LogRequest, $4.LogResponse>( + ($5.CertificateRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $5.CertificateResponse.fromBuffer(value)); + static final _$log = $grpc.ClientMethod<$5.LogRequest, $5.LogResponse>( '/viam.app.v1.RobotService/Log', - ($4.LogRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.LogResponse.fromBuffer(value)); - static final _$needsRestart = $grpc.ClientMethod<$4.NeedsRestartRequest, $4.NeedsRestartResponse>( + ($5.LogRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $5.LogResponse.fromBuffer(value)); + static final _$needsRestart = $grpc.ClientMethod<$5.NeedsRestartRequest, $5.NeedsRestartResponse>( '/viam.app.v1.RobotService/NeedsRestart', - ($4.NeedsRestartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $4.NeedsRestartResponse.fromBuffer(value)); + ($5.NeedsRestartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $5.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<$4.ConfigResponse> config($4.ConfigRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$5.ConfigResponse> config($5.ConfigRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$config, request, options: options); } - $grpc.ResponseFuture<$4.CertificateResponse> certificate($4.CertificateRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$5.CertificateResponse> certificate($5.CertificateRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$certificate, request, options: options); } - $grpc.ResponseFuture<$4.LogResponse> log($4.LogRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$5.LogResponse> log($5.LogRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$log, request, options: options); } - $grpc.ResponseFuture<$4.NeedsRestartResponse> needsRestart($4.NeedsRestartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$5.NeedsRestartResponse> needsRestart($5.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<$4.ConfigRequest, $4.ConfigResponse>( + $addMethod($grpc.ServiceMethod<$5.ConfigRequest, $5.ConfigResponse>( 'Config', config_Pre, false, false, - ($core.List<$core.int> value) => $4.ConfigRequest.fromBuffer(value), - ($4.ConfigResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$4.CertificateRequest, $4.CertificateResponse>( + ($core.List<$core.int> value) => $5.ConfigRequest.fromBuffer(value), + ($5.ConfigResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$5.CertificateRequest, $5.CertificateResponse>( 'Certificate', certificate_Pre, false, false, - ($core.List<$core.int> value) => $4.CertificateRequest.fromBuffer(value), - ($4.CertificateResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$4.LogRequest, $4.LogResponse>( + ($core.List<$core.int> value) => $5.CertificateRequest.fromBuffer(value), + ($5.CertificateResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$5.LogRequest, $5.LogResponse>( 'Log', log_Pre, false, false, - ($core.List<$core.int> value) => $4.LogRequest.fromBuffer(value), - ($4.LogResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$4.NeedsRestartRequest, $4.NeedsRestartResponse>( + ($core.List<$core.int> value) => $5.LogRequest.fromBuffer(value), + ($5.LogResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$5.NeedsRestartRequest, $5.NeedsRestartResponse>( 'NeedsRestart', needsRestart_Pre, false, false, - ($core.List<$core.int> value) => $4.NeedsRestartRequest.fromBuffer(value), - ($4.NeedsRestartResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $5.NeedsRestartRequest.fromBuffer(value), + ($5.NeedsRestartResponse value) => value.writeToBuffer())); } - $async.Future<$4.ConfigResponse> config_Pre($grpc.ServiceCall call, $async.Future<$4.ConfigRequest> request) async { + $async.Future<$5.ConfigResponse> config_Pre($grpc.ServiceCall call, $async.Future<$5.ConfigRequest> request) async { return config(call, await request); } - $async.Future<$4.CertificateResponse> certificate_Pre($grpc.ServiceCall call, $async.Future<$4.CertificateRequest> request) async { + $async.Future<$5.CertificateResponse> certificate_Pre($grpc.ServiceCall call, $async.Future<$5.CertificateRequest> request) async { return certificate(call, await request); } - $async.Future<$4.LogResponse> log_Pre($grpc.ServiceCall call, $async.Future<$4.LogRequest> request) async { + $async.Future<$5.LogResponse> log_Pre($grpc.ServiceCall call, $async.Future<$5.LogRequest> request) async { return log(call, await request); } - $async.Future<$4.NeedsRestartResponse> needsRestart_Pre($grpc.ServiceCall call, $async.Future<$4.NeedsRestartRequest> request) async { + $async.Future<$5.NeedsRestartResponse> needsRestart_Pre($grpc.ServiceCall call, $async.Future<$5.NeedsRestartRequest> request) async { return needsRestart(call, await 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); + $async.Future<$5.ConfigResponse> config($grpc.ServiceCall call, $5.ConfigRequest request); + $async.Future<$5.CertificateResponse> certificate($grpc.ServiceCall call, $5.CertificateRequest request); + $async.Future<$5.LogResponse> log($grpc.ServiceCall call, $5.LogRequest request); + $async.Future<$5.NeedsRestartResponse> needsRestart($grpc.ServiceCall call, $5.NeedsRestartRequest request); }