From c825d2cc12c9b9b775e477418cd6cc4a763ab5ef Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 8 Oct 2024 10:25:22 -0400 Subject: [PATCH] [WORKFLOW] Updating protos from viamrobotics/api, commit: 1e659fe06f75aaac39a3fe36c4a40443466bae8d (#272) Co-authored-by: viambot --- lib/protos/app/ml_inference.dart | 10 + lib/src/gen/app/agent/v1/agent.pb.dart | 24 +- lib/src/gen/app/build/v1/build.pb.dart | 37 +- lib/src/gen/app/build/v1/build.pbjson.dart | 6 +- .../gen/app/cloudslam/v1/cloud_slam.pb.dart | 86 +- lib/src/gen/app/data/v1/data.pb.dart | 94 +- lib/src/gen/app/dataset/v1/dataset.pb.dart | 12 +- lib/src/gen/app/datasync/v1/data_sync.pb.dart | 68 +- .../app/mlinference/v1/ml_inference.pb.dart | 149 ++ .../mlinference/v1/ml_inference.pbenum.dart | 11 + .../mlinference/v1/ml_inference.pbgrpc.dart | 59 + .../mlinference/v1/ml_inference.pbjson.dart | 42 + .../gen/app/mltraining/v1/ml_training.pb.dart | 64 +- .../app/mltraining/v1/ml_training.pbgrpc.dart | 128 +- lib/src/gen/app/packages/v1/packages.pb.dart | 24 +- .../gen/app/packages/v1/packages.pbgrpc.dart | 72 +- lib/src/gen/app/v1/app.pb.dart | 439 +++--- lib/src/gen/app/v1/app.pbgrpc.dart | 1314 ++++++++--------- lib/src/gen/app/v1/app.pbjson.dart | 35 +- lib/src/gen/app/v1/billing.pb.dart | 82 +- lib/src/gen/app/v1/billing.pbgrpc.dart | 92 +- lib/src/gen/app/v1/end_user.pbgrpc.dart | 92 +- lib/src/gen/app/v1/robot.pb.dart | 149 +- lib/src/gen/app/v1/robot.pbgrpc.dart | 74 +- lib/src/gen/app/v1/robot.pbjson.dart | 6 +- lib/src/gen/common/v1/common.pb.dart | 96 +- lib/src/gen/component/arm/v1/arm.pb.dart | 84 +- lib/src/gen/component/arm/v1/arm.pbgrpc.dart | 166 +-- .../audioinput/v1/audioinput.pb.dart | 22 +- .../audioinput/v1/audioinput.pbgrpc.dart | 96 +- lib/src/gen/component/base/v1/base.pb.dart | 104 +- .../gen/component/base/v1/base.pbgrpc.dart | 166 +-- lib/src/gen/component/board/v1/board.pb.dart | 124 +- .../gen/component/board/v1/board.pbgrpc.dart | 238 +-- .../gen/component/camera/v1/camera.pb.dart | 44 +- .../component/camera/v1/camera.pbgrpc.dart | 132 +- .../gen/component/encoder/v1/encoder.pb.dart | 32 +- .../component/encoder/v1/encoder.pbgrpc.dart | 94 +- .../gen/component/gantry/v1/gantry.pb.dart | 52 +- .../component/gantry/v1/gantry.pbgrpc.dart | 148 +- .../component/generic/v1/generic.pbgrpc.dart | 38 +- .../gen/component/gripper/v1/gripper.pb.dart | 42 +- .../component/gripper/v1/gripper.pbgrpc.dart | 112 +- .../v1/input_controller.pb.dart | 54 +- .../v1/input_controller.pbgrpc.dart | 112 +- lib/src/gen/component/motor/v1/motor.pb.dart | 92 +- .../gen/component/motor/v1/motor.pbgrpc.dart | 220 +-- .../movementsensor/v1/movementsensor.pb.dart | 134 +- .../v1/movementsensor.pbgrpc.dart | 202 +-- .../posetracker/v1/pose_tracker.pb.dart | 20 +- .../posetracker/v1/pose_tracker.pbgrpc.dart | 58 +- .../powersensor/v1/powersensor.pb.dart | 32 +- .../powersensor/v1/powersensor.pbgrpc.dart | 94 +- .../component/sensor/v1/sensor.pbgrpc.dart | 56 +- lib/src/gen/component/servo/v1/servo.pb.dart | 32 +- .../gen/component/servo/v1/servo.pbgrpc.dart | 112 +- .../testecho/v1/testecho.pbgrpc.dart | 72 +- lib/src/gen/module/v1/module.pb.dart | 44 +- lib/src/gen/module/v1/module.pbgrpc.dart | 92 +- .../provisioning/v1/provisioning.pbgrpc.dart | 74 +- lib/src/gen/robot/v1/robot.pb.dart | 224 +-- lib/src/gen/robot/v1/robot.pbgrpc.dart | 380 ++--- .../datamanager/v1/data_manager.pb.dart | 12 +- .../datamanager/v1/data_manager.pbgrpc.dart | 40 +- .../service/generic/v1/generic.pbgrpc.dart | 20 +- .../gen/service/mlmodel/v1/mlmodel.pb.dart | 32 +- .../service/mlmodel/v1/mlmodel.pbgrpc.dart | 38 +- lib/src/gen/service/motion/v1/motion.pb.dart | 290 ++-- .../gen/service/motion/v1/motion.pbgrpc.dart | 148 +- .../service/navigation/v1/navigation.pb.dart | 126 +- .../navigation/v1/navigation.pbgrpc.dart | 184 +-- .../gen/service/sensors/v1/sensors.pb.dart | 52 +- .../service/sensors/v1/sensors.pbgrpc.dart | 58 +- lib/src/gen/service/shell/v1/shell.pb.dart | 44 +- .../gen/service/shell/v1/shell.pbgrpc.dart | 70 +- lib/src/gen/service/slam/v1/slam.pb.dart | 12 +- lib/src/gen/service/slam/v1/slam.pbgrpc.dart | 94 +- lib/src/gen/service/vision/v1/vision.pb.dart | 108 +- .../gen/service/vision/v1/vision.pbgrpc.dart | 148 +- lib/src/gen/stream/v1/stream.pbgrpc.dart | 56 +- lib/src/utils.dart | 2 +- 81 files changed, 4502 insertions(+), 4095 deletions(-) create mode 100644 lib/protos/app/ml_inference.dart create mode 100644 lib/src/gen/app/mlinference/v1/ml_inference.pb.dart create mode 100644 lib/src/gen/app/mlinference/v1/ml_inference.pbenum.dart create mode 100644 lib/src/gen/app/mlinference/v1/ml_inference.pbgrpc.dart create mode 100644 lib/src/gen/app/mlinference/v1/ml_inference.pbjson.dart diff --git a/lib/protos/app/ml_inference.dart b/lib/protos/app/ml_inference.dart new file mode 100644 index 00000000000..56fb1391df3 --- /dev/null +++ b/lib/protos/app/ml_inference.dart @@ -0,0 +1,10 @@ +/// The proto definitions for ml_inference +/// {@category Protobuf Definitions} +library viam_protos.app.ml_inference; + +// THIS FILE IS AUTOMATICALLY GENERATED +// DO NOT OVERWRITE +export '../../../src/gen/app/mlinference/v1/ml_inference.pb.dart'; +export '../../../src/gen/app/mlinference/v1/ml_inference.pbenum.dart'; +export '../../../src/gen/app/mlinference/v1/ml_inference.pbgrpc.dart'; +export '../../../src/gen/app/mlinference/v1/ml_inference.pbjson.dart'; diff --git a/lib/src/gen/app/agent/v1/agent.pb.dart b/lib/src/gen/app/agent/v1/agent.pb.dart index 068293f43b0..ae54e7a847f 100644 --- a/lib/src/gen/app/agent/v1/agent.pb.dart +++ b/lib/src/gen/app/agent/v1/agent.pb.dart @@ -13,8 +13,8 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/duration.pb.dart' as $41; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../google/protobuf/duration.pb.dart' as $42; +import '../../../google/protobuf/struct.pb.dart' as $43; import 'agent.pbenum.dart'; export 'agent.pbenum.dart'; @@ -100,7 +100,7 @@ class DeviceAgentConfigRequest extends $pb.GeneratedMessage { class DeviceAgentConfigResponse extends $pb.GeneratedMessage { factory DeviceAgentConfigResponse({ $core.Map<$core.String, DeviceSubsystemConfig>? subsystemConfigs, - $41.Duration? checkInterval, + $42.Duration? checkInterval, }) { final $result = create(); if (subsystemConfigs != null) { @@ -117,7 +117,7 @@ class DeviceAgentConfigResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeviceAgentConfigResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.agent.v1'), createEmptyInstance: create) ..m<$core.String, DeviceSubsystemConfig>(1, _omitFieldNames ? '' : 'subsystemConfigs', entryClassName: 'DeviceAgentConfigResponse.SubsystemConfigsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: DeviceSubsystemConfig.create, valueDefaultOrMaker: DeviceSubsystemConfig.getDefault, packageName: const $pb.PackageName('viam.app.agent.v1')) - ..aOM<$41.Duration>(2, _omitFieldNames ? '' : 'checkInterval', subBuilder: $41.Duration.create) + ..aOM<$42.Duration>(2, _omitFieldNames ? '' : 'checkInterval', subBuilder: $42.Duration.create) ..hasRequiredFields = false ; @@ -149,15 +149,15 @@ class DeviceAgentConfigResponse extends $pb.GeneratedMessage { /// how often this request should be repeated @$pb.TagNumber(2) - $41.Duration get checkInterval => $_getN(1); + $42.Duration get checkInterval => $_getN(1); @$pb.TagNumber(2) - set checkInterval($41.Duration v) { setField(2, v); } + set checkInterval($42.Duration v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasCheckInterval() => $_has(1); @$pb.TagNumber(2) void clearCheckInterval() => clearField(2); @$pb.TagNumber(2) - $41.Duration ensureCheckInterval() => $_ensure(1); + $42.Duration ensureCheckInterval() => $_ensure(1); } class DeviceSubsystemConfig extends $pb.GeneratedMessage { @@ -165,7 +165,7 @@ class DeviceSubsystemConfig extends $pb.GeneratedMessage { SubsystemUpdateInfo? updateInfo, $core.bool? disable, $core.bool? forceRestart, - $42.Struct? attributes, + $43.Struct? attributes, }) { final $result = create(); if (updateInfo != null) { @@ -190,7 +190,7 @@ class DeviceSubsystemConfig extends $pb.GeneratedMessage { ..aOM(1, _omitFieldNames ? '' : 'updateInfo', subBuilder: SubsystemUpdateInfo.create) ..aOB(2, _omitFieldNames ? '' : 'disable') ..aOB(3, _omitFieldNames ? '' : 'forceRestart') - ..aOM<$42.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -249,15 +249,15 @@ class DeviceSubsystemConfig extends $pb.GeneratedMessage { /// arbitrary config sections @$pb.TagNumber(4) - $42.Struct get attributes => $_getN(3); + $43.Struct get attributes => $_getN(3); @$pb.TagNumber(4) - set attributes($42.Struct v) { setField(4, v); } + set attributes($43.Struct v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasAttributes() => $_has(3); @$pb.TagNumber(4) void clearAttributes() => clearField(4); @$pb.TagNumber(4) - $42.Struct ensureAttributes() => $_ensure(3); + $43.Struct ensureAttributes() => $_ensure(3); } class HostInfo extends $pb.GeneratedMessage { diff --git a/lib/src/gen/app/build/v1/build.pb.dart b/lib/src/gen/app/build/v1/build.pb.dart index f78ad35230b..20e3afeecdf 100644 --- a/lib/src/gen/app/build/v1/build.pb.dart +++ b/lib/src/gen/app/build/v1/build.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 $43; +import '../../../google/protobuf/timestamp.pb.dart' as $44; import 'build.pbenum.dart'; export 'build.pbenum.dart'; @@ -25,6 +25,7 @@ class StartBuildRequest extends $pb.GeneratedMessage { $core.Iterable<$core.String>? platforms, $core.String? moduleId, $core.String? moduleVersion, + $core.String? token, }) { final $result = create(); if (repo != null) { @@ -42,6 +43,9 @@ class StartBuildRequest extends $pb.GeneratedMessage { if (moduleVersion != null) { $result.moduleVersion = moduleVersion; } + if (token != null) { + $result.token = token; + } return $result; } StartBuildRequest._() : super(); @@ -54,6 +58,7 @@ class StartBuildRequest extends $pb.GeneratedMessage { ..pPS(3, _omitFieldNames ? '' : 'platforms') ..aOS(4, _omitFieldNames ? '' : 'moduleId') ..aOS(5, _omitFieldNames ? '' : 'moduleVersion') + ..aOS(6, _omitFieldNames ? '' : 'token') ..hasRequiredFields = false ; @@ -122,6 +127,16 @@ class StartBuildRequest extends $pb.GeneratedMessage { $core.bool hasModuleVersion() => $_has(4); @$pb.TagNumber(5) void clearModuleVersion() => clearField(5); + + /// checkout token. provide this for private repos + @$pb.TagNumber(6) + $core.String get token => $_getSZ(5); + @$pb.TagNumber(6) + set token($core.String v) { $_setString(5, v); } + @$pb.TagNumber(6) + $core.bool hasToken() => $_has(5); + @$pb.TagNumber(6) + void clearToken() => clearField(6); } class StartBuildResponse extends $pb.GeneratedMessage { @@ -312,8 +327,8 @@ class JobInfo extends $pb.GeneratedMessage { $core.String? platform, $core.String? version, JobStatus? status, - $43.Timestamp? startTime, - $43.Timestamp? endTime, + $44.Timestamp? startTime, + $44.Timestamp? endTime, }) { final $result = create(); if (buildId != null) { @@ -345,8 +360,8 @@ class JobInfo extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'platform') ..aOS(3, _omitFieldNames ? '' : 'version') ..e(4, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, defaultOrMaker: JobStatus.JOB_STATUS_UNSPECIFIED, valueOf: JobStatus.valueOf, enumValues: JobStatus.values) - ..aOM<$43.Timestamp>(5, _omitFieldNames ? '' : 'startTime', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(6, _omitFieldNames ? '' : 'endTime', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(5, _omitFieldNames ? '' : 'startTime', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(6, _omitFieldNames ? '' : 'endTime', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -408,26 +423,26 @@ class JobInfo extends $pb.GeneratedMessage { void clearStatus() => clearField(4); @$pb.TagNumber(5) - $43.Timestamp get startTime => $_getN(4); + $44.Timestamp get startTime => $_getN(4); @$pb.TagNumber(5) - set startTime($43.Timestamp v) { setField(5, v); } + set startTime($44.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasStartTime() => $_has(4); @$pb.TagNumber(5) void clearStartTime() => clearField(5); @$pb.TagNumber(5) - $43.Timestamp ensureStartTime() => $_ensure(4); + $44.Timestamp ensureStartTime() => $_ensure(4); @$pb.TagNumber(6) - $43.Timestamp get endTime => $_getN(5); + $44.Timestamp get endTime => $_getN(5); @$pb.TagNumber(6) - set endTime($43.Timestamp v) { setField(6, v); } + set endTime($44.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasEndTime() => $_has(5); @$pb.TagNumber(6) void clearEndTime() => clearField(6); @$pb.TagNumber(6) - $43.Timestamp ensureEndTime() => $_ensure(5); + $44.Timestamp ensureEndTime() => $_ensure(5); } class ListJobsRequest extends $pb.GeneratedMessage { diff --git a/lib/src/gen/app/build/v1/build.pbjson.dart b/lib/src/gen/app/build/v1/build.pbjson.dart index a43a733fbfa..dd780d6c85b 100644 --- a/lib/src/gen/app/build/v1/build.pbjson.dart +++ b/lib/src/gen/app/build/v1/build.pbjson.dart @@ -38,9 +38,11 @@ const StartBuildRequest$json = { {'1': 'platforms', '3': 3, '4': 3, '5': 9, '10': 'platforms'}, {'1': 'module_id', '3': 4, '4': 1, '5': 9, '10': 'moduleId'}, {'1': 'module_version', '3': 5, '4': 1, '5': 9, '10': 'moduleVersion'}, + {'1': 'token', '3': 6, '4': 1, '5': 9, '9': 1, '10': 'token', '17': true}, ], '8': [ {'1': '_ref'}, + {'1': '_token'}, ], }; @@ -48,8 +50,8 @@ const StartBuildRequest$json = { final $typed_data.Uint8List startBuildRequestDescriptor = $convert.base64Decode( 'ChFTdGFydEJ1aWxkUmVxdWVzdBISCgRyZXBvGAEgASgJUgRyZXBvEhUKA3JlZhgCIAEoCUgAUg' 'NyZWaIAQESHAoJcGxhdGZvcm1zGAMgAygJUglwbGF0Zm9ybXMSGwoJbW9kdWxlX2lkGAQgASgJ' - 'Ughtb2R1bGVJZBIlCg5tb2R1bGVfdmVyc2lvbhgFIAEoCVINbW9kdWxlVmVyc2lvbkIGCgRfcm' - 'Vm'); + 'Ughtb2R1bGVJZBIlCg5tb2R1bGVfdmVyc2lvbhgFIAEoCVINbW9kdWxlVmVyc2lvbhIZCgV0b2' + 'tlbhgGIAEoCUgBUgV0b2tlbogBAUIGCgRfcmVmQggKBl90b2tlbg=='); @$core.Deprecated('Use startBuildResponseDescriptor instead') const StartBuildResponse$json = { diff --git a/lib/src/gen/app/cloudslam/v1/cloud_slam.pb.dart b/lib/src/gen/app/cloudslam/v1/cloud_slam.pb.dart index f0d3186ab9d..82354f940f7 100644 --- a/lib/src/gen/app/cloudslam/v1/cloud_slam.pb.dart +++ b/lib/src/gen/app/cloudslam/v1/cloud_slam.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 $13; -import '../../../google/protobuf/struct.pb.dart' as $42; -import '../../../google/protobuf/timestamp.pb.dart' as $43; +import '../../../common/v1/common.pb.dart' as $14; +import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/timestamp.pb.dart' as $44; import 'cloud_slam.pbenum.dart'; export 'cloud_slam.pbenum.dart'; @@ -30,7 +30,7 @@ class StartMappingSessionRequest extends $pb.GeneratedMessage { $core.String? robotId, CaptureInterval? captureInterval, $core.Iterable? sensors, - $42.Struct? slamConfig, + $43.Struct? slamConfig, $core.String? existingMapVersion, Module? module, }) { @@ -83,7 +83,7 @@ class StartMappingSessionRequest extends $pb.GeneratedMessage { ..aOS(6, _omitFieldNames ? '' : 'robotId') ..aOM(7, _omitFieldNames ? '' : 'captureInterval', subBuilder: CaptureInterval.create) ..pc(8, _omitFieldNames ? '' : 'sensors', $pb.PbFieldType.PM, subBuilder: SensorInfo.create) - ..aOM<$42.Struct>(10, _omitFieldNames ? '' : 'slamConfig', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(10, _omitFieldNames ? '' : 'slamConfig', subBuilder: $43.Struct.create) ..aOS(11, _omitFieldNames ? '' : 'existingMapVersion') ..aOM(12, _omitFieldNames ? '' : 'module', subBuilder: Module.create) ..hasRequiredFields = false @@ -181,15 +181,15 @@ class StartMappingSessionRequest extends $pb.GeneratedMessage { $core.List get sensors => $_getList(7); @$pb.TagNumber(10) - $42.Struct get slamConfig => $_getN(8); + $43.Struct get slamConfig => $_getN(8); @$pb.TagNumber(10) - set slamConfig($42.Struct v) { setField(10, v); } + set slamConfig($43.Struct v) { setField(10, v); } @$pb.TagNumber(10) $core.bool hasSlamConfig() => $_has(8); @$pb.TagNumber(10) void clearSlamConfig() => clearField(10); @$pb.TagNumber(10) - $42.Struct ensureSlamConfig() => $_ensure(8); + $43.Struct ensureSlamConfig() => $_ensure(8); @$pb.TagNumber(11) $core.String get existingMapVersion => $_getSZ(9); @@ -371,8 +371,8 @@ class SensorInfo extends $pb.GeneratedMessage { class CaptureInterval extends $pb.GeneratedMessage { factory CaptureInterval({ - $43.Timestamp? startTime, - $43.Timestamp? endTime, + $44.Timestamp? startTime, + $44.Timestamp? endTime, }) { final $result = create(); if (startTime != null) { @@ -388,8 +388,8 @@ class CaptureInterval extends $pb.GeneratedMessage { factory CaptureInterval.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CaptureInterval', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) - ..aOM<$43.Timestamp>(1, _omitFieldNames ? '' : 'startTime', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(2, _omitFieldNames ? '' : 'endTime', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(1, _omitFieldNames ? '' : 'startTime', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'endTime', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -415,27 +415,27 @@ class CaptureInterval extends $pb.GeneratedMessage { static CaptureInterval? _defaultInstance; @$pb.TagNumber(1) - $43.Timestamp get startTime => $_getN(0); + $44.Timestamp get startTime => $_getN(0); @$pb.TagNumber(1) - set startTime($43.Timestamp v) { setField(1, v); } + set startTime($44.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasStartTime() => $_has(0); @$pb.TagNumber(1) void clearStartTime() => clearField(1); @$pb.TagNumber(1) - $43.Timestamp ensureStartTime() => $_ensure(0); + $44.Timestamp ensureStartTime() => $_ensure(0); /// if no end_time specified cloud slam will be run using live sensors @$pb.TagNumber(2) - $43.Timestamp get endTime => $_getN(1); + $44.Timestamp get endTime => $_getN(1); @$pb.TagNumber(2) - set endTime($43.Timestamp v) { setField(2, v); } + set endTime($44.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEndTime() => $_has(1); @$pb.TagNumber(2) void clearEndTime() => clearField(2); @$pb.TagNumber(2) - $43.Timestamp ensureEndTime() => $_ensure(1); + $44.Timestamp ensureEndTime() => $_ensure(1); } class StartMappingSessionResponse extends $pb.GeneratedMessage { @@ -642,7 +642,7 @@ class GetMappingSessionPointCloudRequest extends $pb.GeneratedMessage { class GetMappingSessionPointCloudResponse extends $pb.GeneratedMessage { factory GetMappingSessionPointCloudResponse({ $core.String? mapUrl, - $13.Pose? pose, + $14.Pose? pose, }) { final $result = create(); if (mapUrl != null) { @@ -659,7 +659,7 @@ class GetMappingSessionPointCloudResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMappingSessionPointCloudResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.cloudslam.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'mapUrl') - ..aOM<$13.Pose>(2, _omitFieldNames ? '' : 'pose', subBuilder: $13.Pose.create) + ..aOM<$14.Pose>(2, _omitFieldNames ? '' : 'pose', subBuilder: $14.Pose.create) ..hasRequiredFields = false ; @@ -696,15 +696,15 @@ class GetMappingSessionPointCloudResponse extends $pb.GeneratedMessage { /// Current position within the SLAM Map @$pb.TagNumber(2) - $13.Pose get pose => $_getN(1); + $14.Pose get pose => $_getN(1); @$pb.TagNumber(2) - set pose($13.Pose v) { setField(2, v); } + set pose($14.Pose v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasPose() => $_has(1); @$pb.TagNumber(2) void clearPose() => clearField(2); @$pb.TagNumber(2) - $13.Pose ensurePose() => $_ensure(1); + $14.Pose ensurePose() => $_ensure(1); } class ListMappingSessionsRequest extends $pb.GeneratedMessage { @@ -1036,10 +1036,10 @@ class MappingMetadata extends $pb.GeneratedMessage { $core.String? orgId, $core.String? locationId, $core.String? robotId, - $43.Timestamp? timeStartSubmitted, - $43.Timestamp? timeCloudRunJobStarted, - $43.Timestamp? timeEndSubmitted, - $43.Timestamp? timeCloudRunJobEnded, + $44.Timestamp? timeStartSubmitted, + $44.Timestamp? timeCloudRunJobStarted, + $44.Timestamp? timeEndSubmitted, + $44.Timestamp? timeCloudRunJobEnded, EndStatus? endStatus, $core.String? cloudRunJobId, $core.String? viamServerVersion, @@ -1101,10 +1101,10 @@ class MappingMetadata extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'orgId') ..aOS(2, _omitFieldNames ? '' : 'locationId') ..aOS(3, _omitFieldNames ? '' : 'robotId') - ..aOM<$43.Timestamp>(4, _omitFieldNames ? '' : 'timeStartSubmitted', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(5, _omitFieldNames ? '' : 'timeCloudRunJobStarted', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(6, _omitFieldNames ? '' : 'timeEndSubmitted', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(7, _omitFieldNames ? '' : 'timeCloudRunJobEnded', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'timeStartSubmitted', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(5, _omitFieldNames ? '' : 'timeCloudRunJobStarted', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(6, _omitFieldNames ? '' : 'timeEndSubmitted', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(7, _omitFieldNames ? '' : 'timeCloudRunJobEnded', subBuilder: $44.Timestamp.create) ..e(8, _omitFieldNames ? '' : 'endStatus', $pb.PbFieldType.OE, defaultOrMaker: EndStatus.END_STATUS_UNSPECIFIED, valueOf: EndStatus.valueOf, enumValues: EndStatus.values) ..aOS(9, _omitFieldNames ? '' : 'cloudRunJobId') ..aOS(10, _omitFieldNames ? '' : 'viamServerVersion') @@ -1164,48 +1164,48 @@ class MappingMetadata extends $pb.GeneratedMessage { void clearRobotId() => clearField(3); @$pb.TagNumber(4) - $43.Timestamp get timeStartSubmitted => $_getN(3); + $44.Timestamp get timeStartSubmitted => $_getN(3); @$pb.TagNumber(4) - set timeStartSubmitted($43.Timestamp v) { setField(4, v); } + set timeStartSubmitted($44.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasTimeStartSubmitted() => $_has(3); @$pb.TagNumber(4) void clearTimeStartSubmitted() => clearField(4); @$pb.TagNumber(4) - $43.Timestamp ensureTimeStartSubmitted() => $_ensure(3); + $44.Timestamp ensureTimeStartSubmitted() => $_ensure(3); @$pb.TagNumber(5) - $43.Timestamp get timeCloudRunJobStarted => $_getN(4); + $44.Timestamp get timeCloudRunJobStarted => $_getN(4); @$pb.TagNumber(5) - set timeCloudRunJobStarted($43.Timestamp v) { setField(5, v); } + set timeCloudRunJobStarted($44.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasTimeCloudRunJobStarted() => $_has(4); @$pb.TagNumber(5) void clearTimeCloudRunJobStarted() => clearField(5); @$pb.TagNumber(5) - $43.Timestamp ensureTimeCloudRunJobStarted() => $_ensure(4); + $44.Timestamp ensureTimeCloudRunJobStarted() => $_ensure(4); @$pb.TagNumber(6) - $43.Timestamp get timeEndSubmitted => $_getN(5); + $44.Timestamp get timeEndSubmitted => $_getN(5); @$pb.TagNumber(6) - set timeEndSubmitted($43.Timestamp v) { setField(6, v); } + set timeEndSubmitted($44.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasTimeEndSubmitted() => $_has(5); @$pb.TagNumber(6) void clearTimeEndSubmitted() => clearField(6); @$pb.TagNumber(6) - $43.Timestamp ensureTimeEndSubmitted() => $_ensure(5); + $44.Timestamp ensureTimeEndSubmitted() => $_ensure(5); @$pb.TagNumber(7) - $43.Timestamp get timeCloudRunJobEnded => $_getN(6); + $44.Timestamp get timeCloudRunJobEnded => $_getN(6); @$pb.TagNumber(7) - set timeCloudRunJobEnded($43.Timestamp v) { setField(7, v); } + set timeCloudRunJobEnded($44.Timestamp v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasTimeCloudRunJobEnded() => $_has(6); @$pb.TagNumber(7) void clearTimeCloudRunJobEnded() => clearField(7); @$pb.TagNumber(7) - $43.Timestamp ensureTimeCloudRunJobEnded() => $_ensure(6); + $44.Timestamp ensureTimeCloudRunJobEnded() => $_ensure(6); @$pb.TagNumber(8) EndStatus get endStatus => $_getN(7); diff --git a/lib/src/gen/app/data/v1/data.pb.dart b/lib/src/gen/app/data/v1/data.pb.dart index cf886ccca2f..237bcd2fb5e 100644 --- a/lib/src/gen/app/data/v1/data.pb.dart +++ b/lib/src/gen/app/data/v1/data.pb.dart @@ -14,9 +14,9 @@ import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/any.pb.dart' as $44; -import '../../../google/protobuf/struct.pb.dart' as $42; -import '../../../google/protobuf/timestamp.pb.dart' as $43; +import '../../../google/protobuf/any.pb.dart' as $45; +import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/timestamp.pb.dart' as $44; import 'data.pbenum.dart'; export 'data.pbenum.dart'; @@ -411,7 +411,7 @@ class CaptureMetadata extends $pb.GeneratedMessage { $core.String? componentType, $core.String? componentName, $core.String? methodName, - $core.Map<$core.String, $44.Any>? methodParameters, + $core.Map<$core.String, $45.Any>? methodParameters, $core.Iterable<$core.String>? tags, $core.String? mimeType, }) { @@ -468,7 +468,7 @@ class CaptureMetadata extends $pb.GeneratedMessage { ..aOS(7, _omitFieldNames ? '' : 'componentType') ..aOS(9, _omitFieldNames ? '' : 'componentName') ..aOS(10, _omitFieldNames ? '' : 'methodName') - ..m<$core.String, $44.Any>(11, _omitFieldNames ? '' : 'methodParameters', entryClassName: 'CaptureMetadata.MethodParametersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $44.Any.create, valueDefaultOrMaker: $44.Any.getDefault, packageName: const $pb.PackageName('viam.app.data.v1')) + ..m<$core.String, $45.Any>(11, _omitFieldNames ? '' : 'methodParameters', entryClassName: 'CaptureMetadata.MethodParametersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $45.Any.create, valueDefaultOrMaker: $45.Any.getDefault, packageName: const $pb.PackageName('viam.app.data.v1')) ..pPS(12, _omitFieldNames ? '' : 'tags') ..aOS(13, _omitFieldNames ? '' : 'mimeType') ..hasRequiredFields = false @@ -577,7 +577,7 @@ class CaptureMetadata extends $pb.GeneratedMessage { void clearMethodName() => clearField(10); @$pb.TagNumber(11) - $core.Map<$core.String, $44.Any> get methodParameters => $_getMap(9); + $core.Map<$core.String, $45.Any> get methodParameters => $_getMap(9); @$pb.TagNumber(12) $core.List<$core.String> get tags => $_getList(10); @@ -595,8 +595,8 @@ class CaptureMetadata extends $pb.GeneratedMessage { /// CaptureInterval describes the start and end time of the capture in this file. class CaptureInterval extends $pb.GeneratedMessage { factory CaptureInterval({ - $43.Timestamp? start, - $43.Timestamp? end, + $44.Timestamp? start, + $44.Timestamp? end, }) { final $result = create(); if (start != null) { @@ -612,8 +612,8 @@ class CaptureInterval extends $pb.GeneratedMessage { factory CaptureInterval.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CaptureInterval', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM<$43.Timestamp>(1, _omitFieldNames ? '' : 'start', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(2, _omitFieldNames ? '' : 'end', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(1, _omitFieldNames ? '' : 'start', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'end', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -639,26 +639,26 @@ class CaptureInterval extends $pb.GeneratedMessage { static CaptureInterval? _defaultInstance; @$pb.TagNumber(1) - $43.Timestamp get start => $_getN(0); + $44.Timestamp get start => $_getN(0); @$pb.TagNumber(1) - set start($43.Timestamp v) { setField(1, v); } + set start($44.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasStart() => $_has(0); @$pb.TagNumber(1) void clearStart() => clearField(1); @$pb.TagNumber(1) - $43.Timestamp ensureStart() => $_ensure(0); + $44.Timestamp ensureStart() => $_ensure(0); @$pb.TagNumber(2) - $43.Timestamp get end => $_getN(1); + $44.Timestamp get end => $_getN(1); @$pb.TagNumber(2) - set end($43.Timestamp v) { setField(2, v); } + set end($44.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEnd() => $_has(1); @$pb.TagNumber(2) void clearEnd() => clearField(2); @$pb.TagNumber(2) - $43.Timestamp ensureEnd() => $_ensure(1); + $44.Timestamp ensureEnd() => $_ensure(1); } /// TabularDataByFilterRequest requests tabular data based on filter values. @@ -840,10 +840,10 @@ class TabularDataByFilterResponse extends $pb.GeneratedMessage { /// TabularData contains data and metadata associated with tabular data. class TabularData extends $pb.GeneratedMessage { factory TabularData({ - $42.Struct? data, + $43.Struct? data, $core.int? metadataIndex, - $43.Timestamp? timeRequested, - $43.Timestamp? timeReceived, + $44.Timestamp? timeRequested, + $44.Timestamp? timeReceived, }) { final $result = create(); if (data != null) { @@ -865,10 +865,10 @@ class TabularData extends $pb.GeneratedMessage { factory TabularData.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TabularData', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM<$42.Struct>(1, _omitFieldNames ? '' : 'data', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(1, _omitFieldNames ? '' : 'data', subBuilder: $43.Struct.create) ..a<$core.int>(2, _omitFieldNames ? '' : 'metadataIndex', $pb.PbFieldType.OU3) - ..aOM<$43.Timestamp>(3, _omitFieldNames ? '' : 'timeRequested', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(4, _omitFieldNames ? '' : 'timeReceived', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'timeRequested', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'timeReceived', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -894,15 +894,15 @@ class TabularData extends $pb.GeneratedMessage { static TabularData? _defaultInstance; @$pb.TagNumber(1) - $42.Struct get data => $_getN(0); + $43.Struct get data => $_getN(0); @$pb.TagNumber(1) - set data($42.Struct v) { setField(1, v); } + set data($43.Struct v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasData() => $_has(0); @$pb.TagNumber(1) void clearData() => clearField(1); @$pb.TagNumber(1) - $42.Struct ensureData() => $_ensure(0); + $43.Struct ensureData() => $_ensure(0); @$pb.TagNumber(2) $core.int get metadataIndex => $_getIZ(1); @@ -914,26 +914,26 @@ class TabularData extends $pb.GeneratedMessage { void clearMetadataIndex() => clearField(2); @$pb.TagNumber(3) - $43.Timestamp get timeRequested => $_getN(2); + $44.Timestamp get timeRequested => $_getN(2); @$pb.TagNumber(3) - set timeRequested($43.Timestamp v) { setField(3, v); } + set timeRequested($44.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasTimeRequested() => $_has(2); @$pb.TagNumber(3) void clearTimeRequested() => clearField(3); @$pb.TagNumber(3) - $43.Timestamp ensureTimeRequested() => $_ensure(2); + $44.Timestamp ensureTimeRequested() => $_ensure(2); @$pb.TagNumber(4) - $43.Timestamp get timeReceived => $_getN(3); + $44.Timestamp get timeReceived => $_getN(3); @$pb.TagNumber(4) - set timeReceived($43.Timestamp v) { setField(4, v); } + set timeReceived($44.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasTimeReceived() => $_has(3); @$pb.TagNumber(4) void clearTimeReceived() => clearField(4); @$pb.TagNumber(4) - $43.Timestamp ensureTimeReceived() => $_ensure(3); + $44.Timestamp ensureTimeReceived() => $_ensure(3); } /// TabularDataBySQLRequest requests tabular data using a SQL query. @@ -1007,7 +1007,7 @@ class TabularDataBySQLRequest extends $pb.GeneratedMessage { /// TabularDataBySQLResponse provides unified tabular data and metadata, queried with SQL. class TabularDataBySQLResponse extends $pb.GeneratedMessage { factory TabularDataBySQLResponse({ - $core.Iterable<$42.Struct>? data, + $core.Iterable<$43.Struct>? data, }) { final $result = create(); if (data != null) { @@ -1020,7 +1020,7 @@ class TabularDataBySQLResponse extends $pb.GeneratedMessage { factory TabularDataBySQLResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TabularDataBySQLResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..pc<$42.Struct>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.PM, subBuilder: $42.Struct.create) + ..pc<$43.Struct>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.PM, subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1046,7 +1046,7 @@ class TabularDataBySQLResponse extends $pb.GeneratedMessage { static TabularDataBySQLResponse? _defaultInstance; @$pb.TagNumber(1) - $core.List<$42.Struct> get data => $_getList(0); + $core.List<$43.Struct> get data => $_getList(0); } /// TabularDataByMQLRequest requests tabular data using an MQL query. @@ -1114,7 +1114,7 @@ class TabularDataByMQLRequest extends $pb.GeneratedMessage { /// TabularDataByMQLResponse provides unified tabular data and metadata, queried with MQL. class TabularDataByMQLResponse extends $pb.GeneratedMessage { factory TabularDataByMQLResponse({ - $core.Iterable<$42.Struct>? data, + $core.Iterable<$43.Struct>? data, }) { final $result = create(); if (data != null) { @@ -1127,7 +1127,7 @@ class TabularDataByMQLResponse extends $pb.GeneratedMessage { factory TabularDataByMQLResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TabularDataByMQLResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..pc<$42.Struct>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.PM, subBuilder: $42.Struct.create) + ..pc<$43.Struct>(1, _omitFieldNames ? '' : 'data', $pb.PbFieldType.PM, subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1153,7 +1153,7 @@ class TabularDataByMQLResponse extends $pb.GeneratedMessage { static TabularDataByMQLResponse? _defaultInstance; @$pb.TagNumber(1) - $core.List<$42.Struct> get data => $_getList(0); + $core.List<$43.Struct> get data => $_getList(0); } /// BinaryData contains data and metadata associated with binary data. @@ -1774,8 +1774,8 @@ class BinaryMetadata extends $pb.GeneratedMessage { factory BinaryMetadata({ $core.String? id, CaptureMetadata? captureMetadata, - $43.Timestamp? timeRequested, - $43.Timestamp? timeReceived, + $44.Timestamp? timeRequested, + $44.Timestamp? timeReceived, $core.String? fileName, $core.String? fileExt, $core.String? uri, @@ -1819,8 +1819,8 @@ class BinaryMetadata extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BinaryMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOM(2, _omitFieldNames ? '' : 'captureMetadata', subBuilder: CaptureMetadata.create) - ..aOM<$43.Timestamp>(3, _omitFieldNames ? '' : 'timeRequested', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(4, _omitFieldNames ? '' : 'timeReceived', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'timeRequested', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'timeReceived', subBuilder: $44.Timestamp.create) ..aOS(5, _omitFieldNames ? '' : 'fileName') ..aOS(6, _omitFieldNames ? '' : 'fileExt') ..aOS(7, _omitFieldNames ? '' : 'uri') @@ -1871,26 +1871,26 @@ class BinaryMetadata extends $pb.GeneratedMessage { CaptureMetadata ensureCaptureMetadata() => $_ensure(1); @$pb.TagNumber(3) - $43.Timestamp get timeRequested => $_getN(2); + $44.Timestamp get timeRequested => $_getN(2); @$pb.TagNumber(3) - set timeRequested($43.Timestamp v) { setField(3, v); } + set timeRequested($44.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasTimeRequested() => $_has(2); @$pb.TagNumber(3) void clearTimeRequested() => clearField(3); @$pb.TagNumber(3) - $43.Timestamp ensureTimeRequested() => $_ensure(2); + $44.Timestamp ensureTimeRequested() => $_ensure(2); @$pb.TagNumber(4) - $43.Timestamp get timeReceived => $_getN(3); + $44.Timestamp get timeReceived => $_getN(3); @$pb.TagNumber(4) - set timeReceived($43.Timestamp v) { setField(4, v); } + set timeReceived($44.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasTimeReceived() => $_has(3); @$pb.TagNumber(4) void clearTimeReceived() => clearField(4); @$pb.TagNumber(4) - $43.Timestamp ensureTimeReceived() => $_ensure(3); + $44.Timestamp ensureTimeReceived() => $_ensure(3); @$pb.TagNumber(5) $core.String get fileName => $_getSZ(4); diff --git a/lib/src/gen/app/dataset/v1/dataset.pb.dart b/lib/src/gen/app/dataset/v1/dataset.pb.dart index 1472ba012a7..56041f8ee02 100644 --- a/lib/src/gen/app/dataset/v1/dataset.pb.dart +++ b/lib/src/gen/app/dataset/v1/dataset.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 $43; +import '../../../google/protobuf/timestamp.pb.dart' as $44; /// Dataset stores the metadata of a dataset. class Dataset extends $pb.GeneratedMessage { @@ -21,7 +21,7 @@ class Dataset extends $pb.GeneratedMessage { $core.String? id, $core.String? name, $core.String? organizationId, - $43.Timestamp? timeCreated, + $44.Timestamp? timeCreated, }) { final $result = create(); if (id != null) { @@ -46,7 +46,7 @@ class Dataset extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'organizationId') - ..aOM<$43.Timestamp>(4, _omitFieldNames ? '' : 'timeCreated', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'timeCreated', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -99,15 +99,15 @@ class Dataset extends $pb.GeneratedMessage { void clearOrganizationId() => clearField(3); @$pb.TagNumber(4) - $43.Timestamp get timeCreated => $_getN(3); + $44.Timestamp get timeCreated => $_getN(3); @$pb.TagNumber(4) - set timeCreated($43.Timestamp v) { setField(4, v); } + set timeCreated($44.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasTimeCreated() => $_has(3); @$pb.TagNumber(4) void clearTimeCreated() => clearField(4); @$pb.TagNumber(4) - $43.Timestamp ensureTimeCreated() => $_ensure(3); + $44.Timestamp ensureTimeCreated() => $_ensure(3); } /// CreateDatasetRequest defines the name and organization ID of a dataset. diff --git a/lib/src/gen/app/datasync/v1/data_sync.pb.dart b/lib/src/gen/app/datasync/v1/data_sync.pb.dart index 65448e86de6..1d7d08fd3ce 100644 --- a/lib/src/gen/app/datasync/v1/data_sync.pb.dart +++ b/lib/src/gen/app/datasync/v1/data_sync.pb.dart @@ -13,9 +13,9 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/any.pb.dart' as $44; -import '../../../google/protobuf/struct.pb.dart' as $42; -import '../../../google/protobuf/timestamp.pb.dart' as $43; +import '../../../google/protobuf/any.pb.dart' as $45; +import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/timestamp.pb.dart' as $44; import 'data_sync.pbenum.dart'; export 'data_sync.pbenum.dart'; @@ -405,8 +405,8 @@ class StreamingDataCaptureUploadResponse extends $pb.GeneratedMessage { /// SensorMetadata contains the time the sensor data was requested and was received. class SensorMetadata extends $pb.GeneratedMessage { factory SensorMetadata({ - $43.Timestamp? timeRequested, - $43.Timestamp? timeReceived, + $44.Timestamp? timeRequested, + $44.Timestamp? timeReceived, }) { final $result = create(); if (timeRequested != null) { @@ -422,8 +422,8 @@ class SensorMetadata extends $pb.GeneratedMessage { factory SensorMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SensorMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..aOM<$43.Timestamp>(1, _omitFieldNames ? '' : 'timeRequested', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(2, _omitFieldNames ? '' : 'timeReceived', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(1, _omitFieldNames ? '' : 'timeRequested', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'timeReceived', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -449,26 +449,26 @@ class SensorMetadata extends $pb.GeneratedMessage { static SensorMetadata? _defaultInstance; @$pb.TagNumber(1) - $43.Timestamp get timeRequested => $_getN(0); + $44.Timestamp get timeRequested => $_getN(0); @$pb.TagNumber(1) - set timeRequested($43.Timestamp v) { setField(1, v); } + set timeRequested($44.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasTimeRequested() => $_has(0); @$pb.TagNumber(1) void clearTimeRequested() => clearField(1); @$pb.TagNumber(1) - $43.Timestamp ensureTimeRequested() => $_ensure(0); + $44.Timestamp ensureTimeRequested() => $_ensure(0); @$pb.TagNumber(2) - $43.Timestamp get timeReceived => $_getN(1); + $44.Timestamp get timeReceived => $_getN(1); @$pb.TagNumber(2) - set timeReceived($43.Timestamp v) { setField(2, v); } + set timeReceived($44.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasTimeReceived() => $_has(1); @$pb.TagNumber(2) void clearTimeReceived() => clearField(2); @$pb.TagNumber(2) - $43.Timestamp ensureTimeReceived() => $_ensure(1); + $44.Timestamp ensureTimeReceived() => $_ensure(1); } enum SensorData_Data { @@ -481,7 +481,7 @@ enum SensorData_Data { class SensorData extends $pb.GeneratedMessage { factory SensorData({ SensorMetadata? metadata, - $42.Struct? struct, + $43.Struct? struct, $core.List<$core.int>? binary, }) { final $result = create(); @@ -508,7 +508,7 @@ class SensorData extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SensorData', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) ..oo(0, [2, 3]) ..aOM(1, _omitFieldNames ? '' : 'metadata', subBuilder: SensorMetadata.create) - ..aOM<$42.Struct>(2, _omitFieldNames ? '' : 'struct', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(2, _omitFieldNames ? '' : 'struct', subBuilder: $43.Struct.create) ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'binary', $pb.PbFieldType.OY) ..hasRequiredFields = false ; @@ -549,15 +549,15 @@ class SensorData extends $pb.GeneratedMessage { SensorMetadata ensureMetadata() => $_ensure(0); @$pb.TagNumber(2) - $42.Struct get struct => $_getN(1); + $43.Struct get struct => $_getN(1); @$pb.TagNumber(2) - set struct($42.Struct v) { setField(2, v); } + set struct($43.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasStruct() => $_has(1); @$pb.TagNumber(2) void clearStruct() => clearField(2); @$pb.TagNumber(2) - $42.Struct ensureStruct() => $_ensure(1); + $43.Struct ensureStruct() => $_ensure(1); @$pb.TagNumber(3) $core.List<$core.int> get binary => $_getN(2); @@ -629,7 +629,7 @@ class UploadMetadata extends $pb.GeneratedMessage { $core.String? methodName, DataType? type, $core.String? fileName, - $core.Map<$core.String, $44.Any>? methodParameters, + $core.Map<$core.String, $45.Any>? methodParameters, $core.String? fileExtension, $core.Iterable<$core.String>? tags, }) { @@ -674,7 +674,7 @@ class UploadMetadata extends $pb.GeneratedMessage { ..aOS(5, _omitFieldNames ? '' : 'methodName') ..e(6, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: DataType.DATA_TYPE_UNSPECIFIED, valueOf: DataType.valueOf, enumValues: DataType.values) ..aOS(7, _omitFieldNames ? '' : 'fileName') - ..m<$core.String, $44.Any>(8, _omitFieldNames ? '' : 'methodParameters', entryClassName: 'UploadMetadata.MethodParametersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $44.Any.create, valueDefaultOrMaker: $44.Any.getDefault, packageName: const $pb.PackageName('viam.app.datasync.v1')) + ..m<$core.String, $45.Any>(8, _omitFieldNames ? '' : 'methodParameters', entryClassName: 'UploadMetadata.MethodParametersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $45.Any.create, valueDefaultOrMaker: $45.Any.getDefault, packageName: const $pb.PackageName('viam.app.datasync.v1')) ..aOS(9, _omitFieldNames ? '' : 'fileExtension') ..pPS(10, _omitFieldNames ? '' : 'tags') ..hasRequiredFields = false @@ -756,7 +756,7 @@ class UploadMetadata extends $pb.GeneratedMessage { void clearFileName() => clearField(7); @$pb.TagNumber(8) - $core.Map<$core.String, $44.Any> get methodParameters => $_getMap(6); + $core.Map<$core.String, $45.Any> get methodParameters => $_getMap(6); @$pb.TagNumber(9) $core.String get fileExtension => $_getSZ(7); @@ -774,8 +774,8 @@ class UploadMetadata extends $pb.GeneratedMessage { /// CaptureInterval specifies the start and end times of the data capture. class CaptureInterval extends $pb.GeneratedMessage { factory CaptureInterval({ - $43.Timestamp? start, - $43.Timestamp? end, + $44.Timestamp? start, + $44.Timestamp? end, }) { final $result = create(); if (start != null) { @@ -791,8 +791,8 @@ class CaptureInterval extends $pb.GeneratedMessage { factory CaptureInterval.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CaptureInterval', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.datasync.v1'), createEmptyInstance: create) - ..aOM<$43.Timestamp>(1, _omitFieldNames ? '' : 'start', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(2, _omitFieldNames ? '' : 'end', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(1, _omitFieldNames ? '' : 'start', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'end', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -818,26 +818,26 @@ class CaptureInterval extends $pb.GeneratedMessage { static CaptureInterval? _defaultInstance; @$pb.TagNumber(1) - $43.Timestamp get start => $_getN(0); + $44.Timestamp get start => $_getN(0); @$pb.TagNumber(1) - set start($43.Timestamp v) { setField(1, v); } + set start($44.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasStart() => $_has(0); @$pb.TagNumber(1) void clearStart() => clearField(1); @$pb.TagNumber(1) - $43.Timestamp ensureStart() => $_ensure(0); + $44.Timestamp ensureStart() => $_ensure(0); @$pb.TagNumber(2) - $43.Timestamp get end => $_getN(1); + $44.Timestamp get end => $_getN(1); @$pb.TagNumber(2) - set end($43.Timestamp v) { setField(2, v); } + set end($44.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEnd() => $_has(1); @$pb.TagNumber(2) void clearEnd() => clearField(2); @$pb.TagNumber(2) - $43.Timestamp ensureEnd() => $_ensure(1); + $44.Timestamp ensureEnd() => $_ensure(1); } /// DataCaptureMetadata contains the metadata for data captured by collectors. @@ -847,7 +847,7 @@ class DataCaptureMetadata extends $pb.GeneratedMessage { $core.String? componentName, $core.String? methodName, DataType? type, - $core.Map<$core.String, $44.Any>? methodParameters, + $core.Map<$core.String, $45.Any>? methodParameters, $core.String? fileExtension, $core.Iterable<$core.String>? tags, }) { @@ -884,7 +884,7 @@ class DataCaptureMetadata extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'componentName') ..aOS(4, _omitFieldNames ? '' : 'methodName') ..e(5, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: DataType.DATA_TYPE_UNSPECIFIED, valueOf: DataType.valueOf, enumValues: DataType.values) - ..m<$core.String, $44.Any>(6, _omitFieldNames ? '' : 'methodParameters', entryClassName: 'DataCaptureMetadata.MethodParametersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $44.Any.create, valueDefaultOrMaker: $44.Any.getDefault, packageName: const $pb.PackageName('viam.app.datasync.v1')) + ..m<$core.String, $45.Any>(6, _omitFieldNames ? '' : 'methodParameters', entryClassName: 'DataCaptureMetadata.MethodParametersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $45.Any.create, valueDefaultOrMaker: $45.Any.getDefault, packageName: const $pb.PackageName('viam.app.datasync.v1')) ..aOS(7, _omitFieldNames ? '' : 'fileExtension') ..pPS(8, _omitFieldNames ? '' : 'tags') ..hasRequiredFields = false @@ -948,7 +948,7 @@ class DataCaptureMetadata extends $pb.GeneratedMessage { void clearType() => clearField(5); @$pb.TagNumber(6) - $core.Map<$core.String, $44.Any> get methodParameters => $_getMap(4); + $core.Map<$core.String, $45.Any> get methodParameters => $_getMap(4); @$pb.TagNumber(7) $core.String get fileExtension => $_getSZ(5); diff --git a/lib/src/gen/app/mlinference/v1/ml_inference.pb.dart b/lib/src/gen/app/mlinference/v1/ml_inference.pb.dart new file mode 100644 index 00000000000..cdcdb97e2d4 --- /dev/null +++ b/lib/src/gen/app/mlinference/v1/ml_inference.pb.dart @@ -0,0 +1,149 @@ +// +// Generated code. Do not modify. +// source: app/mlinference/v1/ml_inference.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +import '../../data/v1/data.pb.dart' as $3; + +class GetInferenceRequest extends $pb.GeneratedMessage { + factory GetInferenceRequest({ + $core.String? registryItemId, + $core.String? registryItemVersion, + $3.BinaryID? binaryId, + $core.String? organizationId, + }) { + final $result = create(); + if (registryItemId != null) { + $result.registryItemId = registryItemId; + } + if (registryItemVersion != null) { + $result.registryItemVersion = registryItemVersion; + } + if (binaryId != null) { + $result.binaryId = binaryId; + } + if (organizationId != null) { + $result.organizationId = organizationId; + } + return $result; + } + GetInferenceRequest._() : super(); + factory GetInferenceRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetInferenceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInferenceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mlinference.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'registryItemId') + ..aOS(2, _omitFieldNames ? '' : 'registryItemVersion') + ..aOM<$3.BinaryID>(3, _omitFieldNames ? '' : 'binaryId', subBuilder: $3.BinaryID.create) + ..aOS(4, _omitFieldNames ? '' : 'organizationId') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetInferenceRequest clone() => GetInferenceRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetInferenceRequest copyWith(void Function(GetInferenceRequest) updates) => super.copyWith((message) => updates(message as GetInferenceRequest)) as GetInferenceRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetInferenceRequest create() => GetInferenceRequest._(); + GetInferenceRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetInferenceRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetInferenceRequest? _defaultInstance; + + /// The model framework and model type are inferred from the ML model registry item; + /// For valid model types (classification, detections) we will return the formatted + /// labels or annotations from the associated inference outputs. + @$pb.TagNumber(1) + $core.String get registryItemId => $_getSZ(0); + @$pb.TagNumber(1) + set registryItemId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasRegistryItemId() => $_has(0); + @$pb.TagNumber(1) + void clearRegistryItemId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get registryItemVersion => $_getSZ(1); + @$pb.TagNumber(2) + set registryItemVersion($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasRegistryItemVersion() => $_has(1); + @$pb.TagNumber(2) + void clearRegistryItemVersion() => clearField(2); + + @$pb.TagNumber(3) + $3.BinaryID get binaryId => $_getN(2); + @$pb.TagNumber(3) + set binaryId($3.BinaryID v) { setField(3, v); } + @$pb.TagNumber(3) + $core.bool hasBinaryId() => $_has(2); + @$pb.TagNumber(3) + void clearBinaryId() => clearField(3); + @$pb.TagNumber(3) + $3.BinaryID ensureBinaryId() => $_ensure(2); + + @$pb.TagNumber(4) + $core.String get organizationId => $_getSZ(3); + @$pb.TagNumber(4) + set organizationId($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasOrganizationId() => $_has(3); + @$pb.TagNumber(4) + void clearOrganizationId() => clearField(4); +} + +class GetInferenceResponse extends $pb.GeneratedMessage { + factory GetInferenceResponse() => create(); + GetInferenceResponse._() : super(); + factory GetInferenceResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetInferenceResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetInferenceResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mlinference.v1'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + GetInferenceResponse clone() => GetInferenceResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetInferenceResponse copyWith(void Function(GetInferenceResponse) updates) => super.copyWith((message) => updates(message as GetInferenceResponse)) as GetInferenceResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetInferenceResponse create() => GetInferenceResponse._(); + GetInferenceResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetInferenceResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetInferenceResponse? _defaultInstance; +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/app/mlinference/v1/ml_inference.pbenum.dart b/lib/src/gen/app/mlinference/v1/ml_inference.pbenum.dart new file mode 100644 index 00000000000..5684a88a475 --- /dev/null +++ b/lib/src/gen/app/mlinference/v1/ml_inference.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: app/mlinference/v1/ml_inference.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + diff --git a/lib/src/gen/app/mlinference/v1/ml_inference.pbgrpc.dart b/lib/src/gen/app/mlinference/v1/ml_inference.pbgrpc.dart new file mode 100644 index 00000000000..e4b6e0979ff --- /dev/null +++ b/lib/src/gen/app/mlinference/v1/ml_inference.pbgrpc.dart @@ -0,0 +1,59 @@ +// +// Generated code. Do not modify. +// source: app/mlinference/v1/ml_inference.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:async' as $async; +import 'dart:core' as $core; + +import 'package:grpc/service_api.dart' as $grpc; +import 'package:protobuf/protobuf.dart' as $pb; + +import 'ml_inference.pb.dart' as $6; + +export 'ml_inference.pb.dart'; + +@$pb.GrpcServiceName('viam.app.mlinference.v1.MLInferenceService') +class MLInferenceServiceClient extends $grpc.Client { + static final _$getInference = $grpc.ClientMethod<$6.GetInferenceRequest, $6.GetInferenceResponse>( + '/viam.app.mlinference.v1.MLInferenceService/GetInference', + ($6.GetInferenceRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $6.GetInferenceResponse.fromBuffer(value)); + + MLInferenceServiceClient($grpc.ClientChannel channel, + {$grpc.CallOptions? options, + $core.Iterable<$grpc.ClientInterceptor>? interceptors}) + : super(channel, options: options, + interceptors: interceptors); + + $grpc.ResponseFuture<$6.GetInferenceResponse> getInference($6.GetInferenceRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$getInference, request, options: options); + } +} + +@$pb.GrpcServiceName('viam.app.mlinference.v1.MLInferenceService') +abstract class MLInferenceServiceBase extends $grpc.Service { + $core.String get $name => 'viam.app.mlinference.v1.MLInferenceService'; + + MLInferenceServiceBase() { + $addMethod($grpc.ServiceMethod<$6.GetInferenceRequest, $6.GetInferenceResponse>( + 'GetInference', + getInference_Pre, + false, + false, + ($core.List<$core.int> value) => $6.GetInferenceRequest.fromBuffer(value), + ($6.GetInferenceResponse value) => value.writeToBuffer())); + } + + $async.Future<$6.GetInferenceResponse> getInference_Pre($grpc.ServiceCall call, $async.Future<$6.GetInferenceRequest> request) async { + return getInference(call, await request); + } + + $async.Future<$6.GetInferenceResponse> getInference($grpc.ServiceCall call, $6.GetInferenceRequest request); +} diff --git a/lib/src/gen/app/mlinference/v1/ml_inference.pbjson.dart b/lib/src/gen/app/mlinference/v1/ml_inference.pbjson.dart new file mode 100644 index 00000000000..ea2c7511e23 --- /dev/null +++ b/lib/src/gen/app/mlinference/v1/ml_inference.pbjson.dart @@ -0,0 +1,42 @@ +// +// Generated code. Do not modify. +// source: app/mlinference/v1/ml_inference.proto +// +// @dart = 2.12 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names, library_prefixes +// ignore_for_file: non_constant_identifier_names, prefer_final_fields +// ignore_for_file: unnecessary_import, unnecessary_this, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use getInferenceRequestDescriptor instead') +const GetInferenceRequest$json = { + '1': 'GetInferenceRequest', + '2': [ + {'1': 'registry_item_id', '3': 1, '4': 1, '5': 9, '10': 'registryItemId'}, + {'1': 'registry_item_version', '3': 2, '4': 1, '5': 9, '10': 'registryItemVersion'}, + {'1': 'binary_id', '3': 3, '4': 1, '5': 11, '6': '.viam.app.data.v1.BinaryID', '10': 'binaryId'}, + {'1': 'organization_id', '3': 4, '4': 1, '5': 9, '10': 'organizationId'}, + ], +}; + +/// Descriptor for `GetInferenceRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getInferenceRequestDescriptor = $convert.base64Decode( + 'ChNHZXRJbmZlcmVuY2VSZXF1ZXN0EigKEHJlZ2lzdHJ5X2l0ZW1faWQYASABKAlSDnJlZ2lzdH' + 'J5SXRlbUlkEjIKFXJlZ2lzdHJ5X2l0ZW1fdmVyc2lvbhgCIAEoCVITcmVnaXN0cnlJdGVtVmVy' + 'c2lvbhI3CgliaW5hcnlfaWQYAyABKAsyGi52aWFtLmFwcC5kYXRhLnYxLkJpbmFyeUlEUghiaW' + '5hcnlJZBInCg9vcmdhbml6YXRpb25faWQYBCABKAlSDm9yZ2FuaXphdGlvbklk'); + +@$core.Deprecated('Use getInferenceResponseDescriptor instead') +const GetInferenceResponse$json = { + '1': 'GetInferenceResponse', +}; + +/// Descriptor for `GetInferenceResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getInferenceResponseDescriptor = $convert.base64Decode( + 'ChRHZXRJbmZlcmVuY2VSZXNwb25zZQ=='); + diff --git a/lib/src/gen/app/mltraining/v1/ml_training.pb.dart b/lib/src/gen/app/mltraining/v1/ml_training.pb.dart index e4991634e17..dff3b1b3073 100644 --- a/lib/src/gen/app/mltraining/v1/ml_training.pb.dart +++ b/lib/src/gen/app/mltraining/v1/ml_training.pb.dart @@ -13,8 +13,8 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/timestamp.pb.dart' as $43; -import '../../../google/rpc/status.pb.dart' as $45; +import '../../../google/protobuf/timestamp.pb.dart' as $44; +import '../../../google/rpc/status.pb.dart' as $46; import 'ml_training.pbenum.dart'; export 'ml_training.pbenum.dart'; @@ -574,13 +574,13 @@ class ListTrainingJobsResponse extends $pb.GeneratedMessage { class TrainingJobMetadata extends $pb.GeneratedMessage { factory TrainingJobMetadata({ TrainingStatus? status, - $43.Timestamp? createdOn, - $43.Timestamp? lastModified, + $44.Timestamp? createdOn, + $44.Timestamp? lastModified, $core.String? syncedModelId, $core.String? id, - $45.Status? errorStatus, - $43.Timestamp? trainingStarted, - $43.Timestamp? trainingEnded, + $46.Status? errorStatus, + $44.Timestamp? trainingStarted, + $44.Timestamp? trainingEnded, $core.String? datasetId, $core.String? organizationId, $core.String? modelName, @@ -655,13 +655,13 @@ class TrainingJobMetadata extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrainingJobMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) ..e(2, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE, defaultOrMaker: TrainingStatus.TRAINING_STATUS_UNSPECIFIED, valueOf: TrainingStatus.valueOf, enumValues: TrainingStatus.values) - ..aOM<$43.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(4, _omitFieldNames ? '' : 'lastModified', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'lastModified', subBuilder: $44.Timestamp.create) ..aOS(5, _omitFieldNames ? '' : 'syncedModelId') ..aOS(7, _omitFieldNames ? '' : 'id') - ..aOM<$45.Status>(8, _omitFieldNames ? '' : 'errorStatus', subBuilder: $45.Status.create) - ..aOM<$43.Timestamp>(9, _omitFieldNames ? '' : 'trainingStarted', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(10, _omitFieldNames ? '' : 'trainingEnded', subBuilder: $43.Timestamp.create) + ..aOM<$46.Status>(8, _omitFieldNames ? '' : 'errorStatus', subBuilder: $46.Status.create) + ..aOM<$44.Timestamp>(9, _omitFieldNames ? '' : 'trainingStarted', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(10, _omitFieldNames ? '' : 'trainingEnded', subBuilder: $44.Timestamp.create) ..aOS(11, _omitFieldNames ? '' : 'datasetId') ..aOS(12, _omitFieldNames ? '' : 'organizationId') ..aOS(13, _omitFieldNames ? '' : 'modelName') @@ -706,26 +706,26 @@ class TrainingJobMetadata extends $pb.GeneratedMessage { void clearStatus() => clearField(2); @$pb.TagNumber(3) - $43.Timestamp get createdOn => $_getN(1); + $44.Timestamp get createdOn => $_getN(1); @$pb.TagNumber(3) - set createdOn($43.Timestamp v) { setField(3, v); } + set createdOn($44.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(1); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $43.Timestamp ensureCreatedOn() => $_ensure(1); + $44.Timestamp ensureCreatedOn() => $_ensure(1); @$pb.TagNumber(4) - $43.Timestamp get lastModified => $_getN(2); + $44.Timestamp get lastModified => $_getN(2); @$pb.TagNumber(4) - set lastModified($43.Timestamp v) { setField(4, v); } + set lastModified($44.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasLastModified() => $_has(2); @$pb.TagNumber(4) void clearLastModified() => clearField(4); @$pb.TagNumber(4) - $43.Timestamp ensureLastModified() => $_ensure(2); + $44.Timestamp ensureLastModified() => $_ensure(2); @$pb.TagNumber(5) $core.String get syncedModelId => $_getSZ(3); @@ -746,37 +746,37 @@ class TrainingJobMetadata extends $pb.GeneratedMessage { void clearId() => clearField(7); @$pb.TagNumber(8) - $45.Status get errorStatus => $_getN(5); + $46.Status get errorStatus => $_getN(5); @$pb.TagNumber(8) - set errorStatus($45.Status v) { setField(8, v); } + set errorStatus($46.Status v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasErrorStatus() => $_has(5); @$pb.TagNumber(8) void clearErrorStatus() => clearField(8); @$pb.TagNumber(8) - $45.Status ensureErrorStatus() => $_ensure(5); + $46.Status ensureErrorStatus() => $_ensure(5); @$pb.TagNumber(9) - $43.Timestamp get trainingStarted => $_getN(6); + $44.Timestamp get trainingStarted => $_getN(6); @$pb.TagNumber(9) - set trainingStarted($43.Timestamp v) { setField(9, v); } + set trainingStarted($44.Timestamp v) { setField(9, v); } @$pb.TagNumber(9) $core.bool hasTrainingStarted() => $_has(6); @$pb.TagNumber(9) void clearTrainingStarted() => clearField(9); @$pb.TagNumber(9) - $43.Timestamp ensureTrainingStarted() => $_ensure(6); + $44.Timestamp ensureTrainingStarted() => $_ensure(6); @$pb.TagNumber(10) - $43.Timestamp get trainingEnded => $_getN(7); + $44.Timestamp get trainingEnded => $_getN(7); @$pb.TagNumber(10) - set trainingEnded($43.Timestamp v) { setField(10, v); } + set trainingEnded($44.Timestamp v) { setField(10, v); } @$pb.TagNumber(10) $core.bool hasTrainingEnded() => $_has(7); @$pb.TagNumber(10) void clearTrainingEnded() => clearField(10); @$pb.TagNumber(10) - $43.Timestamp ensureTrainingEnded() => $_ensure(7); + $44.Timestamp ensureTrainingEnded() => $_ensure(7); @$pb.TagNumber(11) $core.String get datasetId => $_getSZ(8); @@ -1030,7 +1030,7 @@ class DeleteCompletedTrainingJobResponse extends $pb.GeneratedMessage { class TrainingJobLogEntry extends $pb.GeneratedMessage { factory TrainingJobLogEntry({ $core.String? level, - $43.Timestamp? time, + $44.Timestamp? time, $core.String? message, }) { final $result = create(); @@ -1051,7 +1051,7 @@ class TrainingJobLogEntry extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TrainingJobLogEntry', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.mltraining.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'level') - ..aOM<$43.Timestamp>(2, _omitFieldNames ? '' : 'time', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'time', subBuilder: $44.Timestamp.create) ..aOS(3, _omitFieldNames ? '' : 'message') ..hasRequiredFields = false ; @@ -1087,15 +1087,15 @@ class TrainingJobLogEntry extends $pb.GeneratedMessage { void clearLevel() => clearField(1); @$pb.TagNumber(2) - $43.Timestamp get time => $_getN(1); + $44.Timestamp get time => $_getN(1); @$pb.TagNumber(2) - set time($43.Timestamp v) { setField(2, v); } + set time($44.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasTime() => $_has(1); @$pb.TagNumber(2) void clearTime() => clearField(2); @$pb.TagNumber(2) - $43.Timestamp ensureTime() => $_ensure(1); + $44.Timestamp ensureTime() => $_ensure(1); @$pb.TagNumber(3) $core.String get message => $_getSZ(2); diff --git a/lib/src/gen/app/mltraining/v1/ml_training.pbgrpc.dart b/lib/src/gen/app/mltraining/v1/ml_training.pbgrpc.dart index d5b1c5ce4a7..3f4f46aff0f 100644 --- a/lib/src/gen/app/mltraining/v1/ml_training.pbgrpc.dart +++ b/lib/src/gen/app/mltraining/v1/ml_training.pbgrpc.dart @@ -15,40 +15,40 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import 'ml_training.pb.dart' as $6; +import 'ml_training.pb.dart' as $7; export 'ml_training.pb.dart'; @$pb.GrpcServiceName('viam.app.mltraining.v1.MLTrainingService') class MLTrainingServiceClient extends $grpc.Client { - static final _$submitTrainingJob = $grpc.ClientMethod<$6.SubmitTrainingJobRequest, $6.SubmitTrainingJobResponse>( + static final _$submitTrainingJob = $grpc.ClientMethod<$7.SubmitTrainingJobRequest, $7.SubmitTrainingJobResponse>( '/viam.app.mltraining.v1.MLTrainingService/SubmitTrainingJob', - ($6.SubmitTrainingJobRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $6.SubmitTrainingJobResponse.fromBuffer(value)); - static final _$submitCustomTrainingJob = $grpc.ClientMethod<$6.SubmitCustomTrainingJobRequest, $6.SubmitCustomTrainingJobResponse>( + ($7.SubmitTrainingJobRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $7.SubmitTrainingJobResponse.fromBuffer(value)); + static final _$submitCustomTrainingJob = $grpc.ClientMethod<$7.SubmitCustomTrainingJobRequest, $7.SubmitCustomTrainingJobResponse>( '/viam.app.mltraining.v1.MLTrainingService/SubmitCustomTrainingJob', - ($6.SubmitCustomTrainingJobRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $6.SubmitCustomTrainingJobResponse.fromBuffer(value)); - static final _$getTrainingJob = $grpc.ClientMethod<$6.GetTrainingJobRequest, $6.GetTrainingJobResponse>( + ($7.SubmitCustomTrainingJobRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $7.SubmitCustomTrainingJobResponse.fromBuffer(value)); + static final _$getTrainingJob = $grpc.ClientMethod<$7.GetTrainingJobRequest, $7.GetTrainingJobResponse>( '/viam.app.mltraining.v1.MLTrainingService/GetTrainingJob', - ($6.GetTrainingJobRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $6.GetTrainingJobResponse.fromBuffer(value)); - static final _$listTrainingJobs = $grpc.ClientMethod<$6.ListTrainingJobsRequest, $6.ListTrainingJobsResponse>( + ($7.GetTrainingJobRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $7.GetTrainingJobResponse.fromBuffer(value)); + static final _$listTrainingJobs = $grpc.ClientMethod<$7.ListTrainingJobsRequest, $7.ListTrainingJobsResponse>( '/viam.app.mltraining.v1.MLTrainingService/ListTrainingJobs', - ($6.ListTrainingJobsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $6.ListTrainingJobsResponse.fromBuffer(value)); - static final _$cancelTrainingJob = $grpc.ClientMethod<$6.CancelTrainingJobRequest, $6.CancelTrainingJobResponse>( + ($7.ListTrainingJobsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $7.ListTrainingJobsResponse.fromBuffer(value)); + static final _$cancelTrainingJob = $grpc.ClientMethod<$7.CancelTrainingJobRequest, $7.CancelTrainingJobResponse>( '/viam.app.mltraining.v1.MLTrainingService/CancelTrainingJob', - ($6.CancelTrainingJobRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $6.CancelTrainingJobResponse.fromBuffer(value)); - static final _$deleteCompletedTrainingJob = $grpc.ClientMethod<$6.DeleteCompletedTrainingJobRequest, $6.DeleteCompletedTrainingJobResponse>( + ($7.CancelTrainingJobRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $7.CancelTrainingJobResponse.fromBuffer(value)); + static final _$deleteCompletedTrainingJob = $grpc.ClientMethod<$7.DeleteCompletedTrainingJobRequest, $7.DeleteCompletedTrainingJobResponse>( '/viam.app.mltraining.v1.MLTrainingService/DeleteCompletedTrainingJob', - ($6.DeleteCompletedTrainingJobRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $6.DeleteCompletedTrainingJobResponse.fromBuffer(value)); - static final _$getTrainingJobLogs = $grpc.ClientMethod<$6.GetTrainingJobLogsRequest, $6.GetTrainingJobLogsResponse>( + ($7.DeleteCompletedTrainingJobRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $7.DeleteCompletedTrainingJobResponse.fromBuffer(value)); + static final _$getTrainingJobLogs = $grpc.ClientMethod<$7.GetTrainingJobLogsRequest, $7.GetTrainingJobLogsResponse>( '/viam.app.mltraining.v1.MLTrainingService/GetTrainingJobLogs', - ($6.GetTrainingJobLogsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $6.GetTrainingJobLogsResponse.fromBuffer(value)); + ($7.GetTrainingJobLogsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $7.GetTrainingJobLogsResponse.fromBuffer(value)); MLTrainingServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -56,31 +56,31 @@ class MLTrainingServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$6.SubmitTrainingJobResponse> submitTrainingJob($6.SubmitTrainingJobRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$7.SubmitTrainingJobResponse> submitTrainingJob($7.SubmitTrainingJobRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$submitTrainingJob, request, options: options); } - $grpc.ResponseFuture<$6.SubmitCustomTrainingJobResponse> submitCustomTrainingJob($6.SubmitCustomTrainingJobRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$7.SubmitCustomTrainingJobResponse> submitCustomTrainingJob($7.SubmitCustomTrainingJobRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$submitCustomTrainingJob, request, options: options); } - $grpc.ResponseFuture<$6.GetTrainingJobResponse> getTrainingJob($6.GetTrainingJobRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$7.GetTrainingJobResponse> getTrainingJob($7.GetTrainingJobRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getTrainingJob, request, options: options); } - $grpc.ResponseFuture<$6.ListTrainingJobsResponse> listTrainingJobs($6.ListTrainingJobsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$7.ListTrainingJobsResponse> listTrainingJobs($7.ListTrainingJobsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listTrainingJobs, request, options: options); } - $grpc.ResponseFuture<$6.CancelTrainingJobResponse> cancelTrainingJob($6.CancelTrainingJobRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$7.CancelTrainingJobResponse> cancelTrainingJob($7.CancelTrainingJobRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$cancelTrainingJob, request, options: options); } - $grpc.ResponseFuture<$6.DeleteCompletedTrainingJobResponse> deleteCompletedTrainingJob($6.DeleteCompletedTrainingJobRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$7.DeleteCompletedTrainingJobResponse> deleteCompletedTrainingJob($7.DeleteCompletedTrainingJobRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteCompletedTrainingJob, request, options: options); } - $grpc.ResponseFuture<$6.GetTrainingJobLogsResponse> getTrainingJobLogs($6.GetTrainingJobLogsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$7.GetTrainingJobLogsResponse> getTrainingJobLogs($7.GetTrainingJobLogsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getTrainingJobLogs, request, options: options); } } @@ -90,90 +90,90 @@ abstract class MLTrainingServiceBase extends $grpc.Service { $core.String get $name => 'viam.app.mltraining.v1.MLTrainingService'; MLTrainingServiceBase() { - $addMethod($grpc.ServiceMethod<$6.SubmitTrainingJobRequest, $6.SubmitTrainingJobResponse>( + $addMethod($grpc.ServiceMethod<$7.SubmitTrainingJobRequest, $7.SubmitTrainingJobResponse>( 'SubmitTrainingJob', submitTrainingJob_Pre, false, false, - ($core.List<$core.int> value) => $6.SubmitTrainingJobRequest.fromBuffer(value), - ($6.SubmitTrainingJobResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$6.SubmitCustomTrainingJobRequest, $6.SubmitCustomTrainingJobResponse>( + ($core.List<$core.int> value) => $7.SubmitTrainingJobRequest.fromBuffer(value), + ($7.SubmitTrainingJobResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$7.SubmitCustomTrainingJobRequest, $7.SubmitCustomTrainingJobResponse>( 'SubmitCustomTrainingJob', submitCustomTrainingJob_Pre, false, false, - ($core.List<$core.int> value) => $6.SubmitCustomTrainingJobRequest.fromBuffer(value), - ($6.SubmitCustomTrainingJobResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$6.GetTrainingJobRequest, $6.GetTrainingJobResponse>( + ($core.List<$core.int> value) => $7.SubmitCustomTrainingJobRequest.fromBuffer(value), + ($7.SubmitCustomTrainingJobResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$7.GetTrainingJobRequest, $7.GetTrainingJobResponse>( 'GetTrainingJob', getTrainingJob_Pre, false, false, - ($core.List<$core.int> value) => $6.GetTrainingJobRequest.fromBuffer(value), - ($6.GetTrainingJobResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$6.ListTrainingJobsRequest, $6.ListTrainingJobsResponse>( + ($core.List<$core.int> value) => $7.GetTrainingJobRequest.fromBuffer(value), + ($7.GetTrainingJobResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$7.ListTrainingJobsRequest, $7.ListTrainingJobsResponse>( 'ListTrainingJobs', listTrainingJobs_Pre, false, false, - ($core.List<$core.int> value) => $6.ListTrainingJobsRequest.fromBuffer(value), - ($6.ListTrainingJobsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$6.CancelTrainingJobRequest, $6.CancelTrainingJobResponse>( + ($core.List<$core.int> value) => $7.ListTrainingJobsRequest.fromBuffer(value), + ($7.ListTrainingJobsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$7.CancelTrainingJobRequest, $7.CancelTrainingJobResponse>( 'CancelTrainingJob', cancelTrainingJob_Pre, false, false, - ($core.List<$core.int> value) => $6.CancelTrainingJobRequest.fromBuffer(value), - ($6.CancelTrainingJobResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$6.DeleteCompletedTrainingJobRequest, $6.DeleteCompletedTrainingJobResponse>( + ($core.List<$core.int> value) => $7.CancelTrainingJobRequest.fromBuffer(value), + ($7.CancelTrainingJobResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$7.DeleteCompletedTrainingJobRequest, $7.DeleteCompletedTrainingJobResponse>( 'DeleteCompletedTrainingJob', deleteCompletedTrainingJob_Pre, false, false, - ($core.List<$core.int> value) => $6.DeleteCompletedTrainingJobRequest.fromBuffer(value), - ($6.DeleteCompletedTrainingJobResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$6.GetTrainingJobLogsRequest, $6.GetTrainingJobLogsResponse>( + ($core.List<$core.int> value) => $7.DeleteCompletedTrainingJobRequest.fromBuffer(value), + ($7.DeleteCompletedTrainingJobResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$7.GetTrainingJobLogsRequest, $7.GetTrainingJobLogsResponse>( 'GetTrainingJobLogs', getTrainingJobLogs_Pre, false, false, - ($core.List<$core.int> value) => $6.GetTrainingJobLogsRequest.fromBuffer(value), - ($6.GetTrainingJobLogsResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $7.GetTrainingJobLogsRequest.fromBuffer(value), + ($7.GetTrainingJobLogsResponse value) => value.writeToBuffer())); } - $async.Future<$6.SubmitTrainingJobResponse> submitTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$6.SubmitTrainingJobRequest> request) async { + $async.Future<$7.SubmitTrainingJobResponse> submitTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$7.SubmitTrainingJobRequest> request) async { return submitTrainingJob(call, await request); } - $async.Future<$6.SubmitCustomTrainingJobResponse> submitCustomTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$6.SubmitCustomTrainingJobRequest> request) async { + $async.Future<$7.SubmitCustomTrainingJobResponse> submitCustomTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$7.SubmitCustomTrainingJobRequest> request) async { return submitCustomTrainingJob(call, await request); } - $async.Future<$6.GetTrainingJobResponse> getTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$6.GetTrainingJobRequest> request) async { + $async.Future<$7.GetTrainingJobResponse> getTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$7.GetTrainingJobRequest> request) async { return getTrainingJob(call, await request); } - $async.Future<$6.ListTrainingJobsResponse> listTrainingJobs_Pre($grpc.ServiceCall call, $async.Future<$6.ListTrainingJobsRequest> request) async { + $async.Future<$7.ListTrainingJobsResponse> listTrainingJobs_Pre($grpc.ServiceCall call, $async.Future<$7.ListTrainingJobsRequest> request) async { return listTrainingJobs(call, await request); } - $async.Future<$6.CancelTrainingJobResponse> cancelTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$6.CancelTrainingJobRequest> request) async { + $async.Future<$7.CancelTrainingJobResponse> cancelTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$7.CancelTrainingJobRequest> request) async { return cancelTrainingJob(call, await request); } - $async.Future<$6.DeleteCompletedTrainingJobResponse> deleteCompletedTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$6.DeleteCompletedTrainingJobRequest> request) async { + $async.Future<$7.DeleteCompletedTrainingJobResponse> deleteCompletedTrainingJob_Pre($grpc.ServiceCall call, $async.Future<$7.DeleteCompletedTrainingJobRequest> request) async { return deleteCompletedTrainingJob(call, await request); } - $async.Future<$6.GetTrainingJobLogsResponse> getTrainingJobLogs_Pre($grpc.ServiceCall call, $async.Future<$6.GetTrainingJobLogsRequest> request) async { + $async.Future<$7.GetTrainingJobLogsResponse> getTrainingJobLogs_Pre($grpc.ServiceCall call, $async.Future<$7.GetTrainingJobLogsRequest> request) async { return getTrainingJobLogs(call, await request); } - $async.Future<$6.SubmitTrainingJobResponse> submitTrainingJob($grpc.ServiceCall call, $6.SubmitTrainingJobRequest request); - $async.Future<$6.SubmitCustomTrainingJobResponse> submitCustomTrainingJob($grpc.ServiceCall call, $6.SubmitCustomTrainingJobRequest request); - $async.Future<$6.GetTrainingJobResponse> getTrainingJob($grpc.ServiceCall call, $6.GetTrainingJobRequest request); - $async.Future<$6.ListTrainingJobsResponse> listTrainingJobs($grpc.ServiceCall call, $6.ListTrainingJobsRequest request); - $async.Future<$6.CancelTrainingJobResponse> cancelTrainingJob($grpc.ServiceCall call, $6.CancelTrainingJobRequest request); - $async.Future<$6.DeleteCompletedTrainingJobResponse> deleteCompletedTrainingJob($grpc.ServiceCall call, $6.DeleteCompletedTrainingJobRequest request); - $async.Future<$6.GetTrainingJobLogsResponse> getTrainingJobLogs($grpc.ServiceCall call, $6.GetTrainingJobLogsRequest request); + $async.Future<$7.SubmitTrainingJobResponse> submitTrainingJob($grpc.ServiceCall call, $7.SubmitTrainingJobRequest request); + $async.Future<$7.SubmitCustomTrainingJobResponse> submitCustomTrainingJob($grpc.ServiceCall call, $7.SubmitCustomTrainingJobRequest request); + $async.Future<$7.GetTrainingJobResponse> getTrainingJob($grpc.ServiceCall call, $7.GetTrainingJobRequest request); + $async.Future<$7.ListTrainingJobsResponse> listTrainingJobs($grpc.ServiceCall call, $7.ListTrainingJobsRequest request); + $async.Future<$7.CancelTrainingJobResponse> cancelTrainingJob($grpc.ServiceCall call, $7.CancelTrainingJobRequest request); + $async.Future<$7.DeleteCompletedTrainingJobResponse> deleteCompletedTrainingJob($grpc.ServiceCall call, $7.DeleteCompletedTrainingJobRequest request); + $async.Future<$7.GetTrainingJobLogsResponse> getTrainingJobLogs($grpc.ServiceCall call, $7.GetTrainingJobLogsRequest request); } diff --git a/lib/src/gen/app/packages/v1/packages.pb.dart b/lib/src/gen/app/packages/v1/packages.pb.dart index 58d183cb797..31c8d37b296 100644 --- a/lib/src/gen/app/packages/v1/packages.pb.dart +++ b/lib/src/gen/app/packages/v1/packages.pb.dart @@ -14,8 +14,8 @@ import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/struct.pb.dart' as $42; -import '../../../google/protobuf/timestamp.pb.dart' as $43; +import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/timestamp.pb.dart' as $44; import 'packages.pbenum.dart'; export 'packages.pbenum.dart'; @@ -105,7 +105,7 @@ class PackageInfo extends $pb.GeneratedMessage { $core.String? version, PackageType? type, $core.Iterable? files, - $42.Struct? metadata, + $43.Struct? metadata, $core.String? platform, }) { final $result = create(); @@ -142,7 +142,7 @@ class PackageInfo extends $pb.GeneratedMessage { ..aOS(3, _omitFieldNames ? '' : 'version') ..e(4, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: PackageType.valueOf, enumValues: PackageType.values) ..pc(5, _omitFieldNames ? '' : 'files', $pb.PbFieldType.PM, subBuilder: FileInfo.create) - ..aOM<$42.Struct>(6, _omitFieldNames ? '' : 'metadata', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(6, _omitFieldNames ? '' : 'metadata', subBuilder: $43.Struct.create) ..aOS(7, _omitFieldNames ? '' : 'platform') ..hasRequiredFields = false ; @@ -208,15 +208,15 @@ class PackageInfo extends $pb.GeneratedMessage { $core.List get files => $_getList(4); @$pb.TagNumber(6) - $42.Struct get metadata => $_getN(5); + $43.Struct get metadata => $_getN(5); @$pb.TagNumber(6) - set metadata($42.Struct v) { setField(6, v); } + set metadata($43.Struct v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasMetadata() => $_has(5); @$pb.TagNumber(6) void clearMetadata() => clearField(6); @$pb.TagNumber(6) - $42.Struct ensureMetadata() => $_ensure(5); + $43.Struct ensureMetadata() => $_ensure(5); @$pb.TagNumber(7) $core.String get platform => $_getSZ(6); @@ -490,7 +490,7 @@ class Package extends $pb.GeneratedMessage { factory Package({ PackageInfo? info, $core.String? url, - $43.Timestamp? createdOn, + $44.Timestamp? createdOn, $core.String? checksum, $core.String? id, }) { @@ -519,7 +519,7 @@ class Package extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Package', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.packages.v1'), createEmptyInstance: create) ..aOM(1, _omitFieldNames ? '' : 'info', subBuilder: PackageInfo.create) ..aOS(2, _omitFieldNames ? '' : 'url') - ..aOM<$43.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) ..aOS(4, _omitFieldNames ? '' : 'checksum') ..aOS(5, _omitFieldNames ? '' : 'id') ..hasRequiredFields = false @@ -567,15 +567,15 @@ class Package extends $pb.GeneratedMessage { void clearUrl() => clearField(2); @$pb.TagNumber(3) - $43.Timestamp get createdOn => $_getN(2); + $44.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($43.Timestamp v) { setField(3, v); } + set createdOn($44.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $43.Timestamp ensureCreatedOn() => $_ensure(2); + $44.Timestamp ensureCreatedOn() => $_ensure(2); @$pb.TagNumber(4) $core.String get checksum => $_getSZ(3); diff --git a/lib/src/gen/app/packages/v1/packages.pbgrpc.dart b/lib/src/gen/app/packages/v1/packages.pbgrpc.dart index 89b9436174e..8aa26b97657 100644 --- a/lib/src/gen/app/packages/v1/packages.pbgrpc.dart +++ b/lib/src/gen/app/packages/v1/packages.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 'packages.pb.dart' as $7; +import 'packages.pb.dart' as $8; export 'packages.pb.dart'; @$pb.GrpcServiceName('viam.app.packages.v1.PackageService') class PackageServiceClient extends $grpc.Client { - static final _$createPackage = $grpc.ClientMethod<$7.CreatePackageRequest, $7.CreatePackageResponse>( + static final _$createPackage = $grpc.ClientMethod<$8.CreatePackageRequest, $8.CreatePackageResponse>( '/viam.app.packages.v1.PackageService/CreatePackage', - ($7.CreatePackageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $7.CreatePackageResponse.fromBuffer(value)); - static final _$deletePackage = $grpc.ClientMethod<$7.DeletePackageRequest, $7.DeletePackageResponse>( + ($8.CreatePackageRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $8.CreatePackageResponse.fromBuffer(value)); + static final _$deletePackage = $grpc.ClientMethod<$8.DeletePackageRequest, $8.DeletePackageResponse>( '/viam.app.packages.v1.PackageService/DeletePackage', - ($7.DeletePackageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $7.DeletePackageResponse.fromBuffer(value)); - static final _$getPackage = $grpc.ClientMethod<$7.GetPackageRequest, $7.GetPackageResponse>( + ($8.DeletePackageRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $8.DeletePackageResponse.fromBuffer(value)); + static final _$getPackage = $grpc.ClientMethod<$8.GetPackageRequest, $8.GetPackageResponse>( '/viam.app.packages.v1.PackageService/GetPackage', - ($7.GetPackageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $7.GetPackageResponse.fromBuffer(value)); - static final _$listPackages = $grpc.ClientMethod<$7.ListPackagesRequest, $7.ListPackagesResponse>( + ($8.GetPackageRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $8.GetPackageResponse.fromBuffer(value)); + static final _$listPackages = $grpc.ClientMethod<$8.ListPackagesRequest, $8.ListPackagesResponse>( '/viam.app.packages.v1.PackageService/ListPackages', - ($7.ListPackagesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $7.ListPackagesResponse.fromBuffer(value)); + ($8.ListPackagesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $8.ListPackagesResponse.fromBuffer(value)); PackageServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -44,19 +44,19 @@ class PackageServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$7.CreatePackageResponse> createPackage($async.Stream<$7.CreatePackageRequest> request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$8.CreatePackageResponse> createPackage($async.Stream<$8.CreatePackageRequest> request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$createPackage, request, options: options).single; } - $grpc.ResponseFuture<$7.DeletePackageResponse> deletePackage($7.DeletePackageRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$8.DeletePackageResponse> deletePackage($8.DeletePackageRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deletePackage, request, options: options); } - $grpc.ResponseFuture<$7.GetPackageResponse> getPackage($7.GetPackageRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$8.GetPackageResponse> getPackage($8.GetPackageRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPackage, request, options: options); } - $grpc.ResponseFuture<$7.ListPackagesResponse> listPackages($7.ListPackagesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$8.ListPackagesResponse> listPackages($8.ListPackagesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listPackages, request, options: options); } } @@ -66,50 +66,50 @@ abstract class PackageServiceBase extends $grpc.Service { $core.String get $name => 'viam.app.packages.v1.PackageService'; PackageServiceBase() { - $addMethod($grpc.ServiceMethod<$7.CreatePackageRequest, $7.CreatePackageResponse>( + $addMethod($grpc.ServiceMethod<$8.CreatePackageRequest, $8.CreatePackageResponse>( 'CreatePackage', createPackage, true, false, - ($core.List<$core.int> value) => $7.CreatePackageRequest.fromBuffer(value), - ($7.CreatePackageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$7.DeletePackageRequest, $7.DeletePackageResponse>( + ($core.List<$core.int> value) => $8.CreatePackageRequest.fromBuffer(value), + ($8.CreatePackageResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$8.DeletePackageRequest, $8.DeletePackageResponse>( 'DeletePackage', deletePackage_Pre, false, false, - ($core.List<$core.int> value) => $7.DeletePackageRequest.fromBuffer(value), - ($7.DeletePackageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$7.GetPackageRequest, $7.GetPackageResponse>( + ($core.List<$core.int> value) => $8.DeletePackageRequest.fromBuffer(value), + ($8.DeletePackageResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$8.GetPackageRequest, $8.GetPackageResponse>( 'GetPackage', getPackage_Pre, false, false, - ($core.List<$core.int> value) => $7.GetPackageRequest.fromBuffer(value), - ($7.GetPackageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$7.ListPackagesRequest, $7.ListPackagesResponse>( + ($core.List<$core.int> value) => $8.GetPackageRequest.fromBuffer(value), + ($8.GetPackageResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$8.ListPackagesRequest, $8.ListPackagesResponse>( 'ListPackages', listPackages_Pre, false, false, - ($core.List<$core.int> value) => $7.ListPackagesRequest.fromBuffer(value), - ($7.ListPackagesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $8.ListPackagesRequest.fromBuffer(value), + ($8.ListPackagesResponse value) => value.writeToBuffer())); } - $async.Future<$7.DeletePackageResponse> deletePackage_Pre($grpc.ServiceCall call, $async.Future<$7.DeletePackageRequest> request) async { + $async.Future<$8.DeletePackageResponse> deletePackage_Pre($grpc.ServiceCall call, $async.Future<$8.DeletePackageRequest> request) async { return deletePackage(call, await request); } - $async.Future<$7.GetPackageResponse> getPackage_Pre($grpc.ServiceCall call, $async.Future<$7.GetPackageRequest> request) async { + $async.Future<$8.GetPackageResponse> getPackage_Pre($grpc.ServiceCall call, $async.Future<$8.GetPackageRequest> request) async { return getPackage(call, await request); } - $async.Future<$7.ListPackagesResponse> listPackages_Pre($grpc.ServiceCall call, $async.Future<$7.ListPackagesRequest> request) async { + $async.Future<$8.ListPackagesResponse> listPackages_Pre($grpc.ServiceCall call, $async.Future<$8.ListPackagesRequest> request) async { return listPackages(call, await request); } - $async.Future<$7.CreatePackageResponse> createPackage($grpc.ServiceCall call, $async.Stream<$7.CreatePackageRequest> request); - $async.Future<$7.DeletePackageResponse> deletePackage($grpc.ServiceCall call, $7.DeletePackageRequest request); - $async.Future<$7.GetPackageResponse> getPackage($grpc.ServiceCall call, $7.GetPackageRequest request); - $async.Future<$7.ListPackagesResponse> listPackages($grpc.ServiceCall call, $7.ListPackagesRequest request); + $async.Future<$8.CreatePackageResponse> createPackage($grpc.ServiceCall call, $async.Stream<$8.CreatePackageRequest> request); + $async.Future<$8.DeletePackageResponse> deletePackage($grpc.ServiceCall call, $8.DeletePackageRequest request); + $async.Future<$8.GetPackageResponse> getPackage($grpc.ServiceCall call, $8.GetPackageRequest request); + $async.Future<$8.ListPackagesResponse> listPackages($grpc.ServiceCall call, $8.ListPackagesRequest request); } diff --git a/lib/src/gen/app/v1/app.pb.dart b/lib/src/gen/app/v1/app.pb.dart index 396132da428..e43bd6dda98 100644 --- a/lib/src/gen/app/v1/app.pb.dart +++ b/lib/src/gen/app/v1/app.pb.dart @@ -14,11 +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 $13; -import '../../google/protobuf/struct.pb.dart' as $42; -import '../../google/protobuf/timestamp.pb.dart' as $43; -import '../mltraining/v1/ml_training.pbenum.dart' as $6; -import '../packages/v1/packages.pbenum.dart' as $7; +import '../../common/v1/common.pb.dart' as $14; +import '../../google/protobuf/struct.pb.dart' as $43; +import '../../google/protobuf/timestamp.pb.dart' as $44; +import '../mltraining/v1/ml_training.pbenum.dart' as $7; +import '../packages/v1/packages.pbenum.dart' as $8; import 'app.pbenum.dart'; export 'app.pbenum.dart'; @@ -28,8 +28,8 @@ class Robot extends $pb.GeneratedMessage { $core.String? id, $core.String? name, $core.String? location, - $43.Timestamp? lastAccess, - $43.Timestamp? createdOn, + $44.Timestamp? lastAccess, + $44.Timestamp? createdOn, }) { final $result = create(); if (id != null) { @@ -57,8 +57,8 @@ class Robot extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'location') - ..aOM<$43.Timestamp>(4, _omitFieldNames ? '' : 'lastAccess', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(5, _omitFieldNames ? '' : 'createdOn', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'lastAccess', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(5, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -111,26 +111,26 @@ class Robot extends $pb.GeneratedMessage { void clearLocation() => clearField(3); @$pb.TagNumber(4) - $43.Timestamp get lastAccess => $_getN(3); + $44.Timestamp get lastAccess => $_getN(3); @$pb.TagNumber(4) - set lastAccess($43.Timestamp v) { setField(4, v); } + set lastAccess($44.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasLastAccess() => $_has(3); @$pb.TagNumber(4) void clearLastAccess() => clearField(4); @$pb.TagNumber(4) - $43.Timestamp ensureLastAccess() => $_ensure(3); + $44.Timestamp ensureLastAccess() => $_ensure(3); @$pb.TagNumber(5) - $43.Timestamp get createdOn => $_getN(4); + $44.Timestamp get createdOn => $_getN(4); @$pb.TagNumber(5) - set createdOn($43.Timestamp v) { setField(5, v); } + set createdOn($44.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasCreatedOn() => $_has(4); @$pb.TagNumber(5) void clearCreatedOn() => clearField(5); @$pb.TagNumber(5) - $43.Timestamp ensureCreatedOn() => $_ensure(4); + $44.Timestamp ensureCreatedOn() => $_ensure(4); } class RobotPart extends $pb.GeneratedMessage { @@ -139,17 +139,17 @@ class RobotPart extends $pb.GeneratedMessage { $core.String? name, $core.String? secret, $core.String? robot, - $42.Struct? robotConfig, - $43.Timestamp? lastAccess, - $42.Struct? userSuppliedInfo, + $43.Struct? robotConfig, + $44.Timestamp? lastAccess, + $43.Struct? userSuppliedInfo, $core.bool? mainPart, $core.String? fqdn, $core.String? dnsName, $core.String? localFqdn, $core.String? locationId, - $43.Timestamp? createdOn, + $44.Timestamp? createdOn, $core.Iterable? secrets, - $43.Timestamp? lastUpdated, + $44.Timestamp? lastUpdated, }) { final $result = create(); if (id != null) { @@ -208,17 +208,17 @@ class RobotPart extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'name') ..aOS(3, _omitFieldNames ? '' : 'secret') ..aOS(4, _omitFieldNames ? '' : 'robot') - ..aOM<$42.Struct>(5, _omitFieldNames ? '' : 'robotConfig', subBuilder: $42.Struct.create) - ..aOM<$43.Timestamp>(6, _omitFieldNames ? '' : 'lastAccess', subBuilder: $43.Timestamp.create) - ..aOM<$42.Struct>(7, _omitFieldNames ? '' : 'userSuppliedInfo', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(5, _omitFieldNames ? '' : 'robotConfig', subBuilder: $43.Struct.create) + ..aOM<$44.Timestamp>(6, _omitFieldNames ? '' : 'lastAccess', subBuilder: $44.Timestamp.create) + ..aOM<$43.Struct>(7, _omitFieldNames ? '' : 'userSuppliedInfo', subBuilder: $43.Struct.create) ..aOB(8, _omitFieldNames ? '' : 'mainPart') ..aOS(9, _omitFieldNames ? '' : 'fqdn') ..aOS(10, _omitFieldNames ? '' : 'dnsName') ..aOS(11, _omitFieldNames ? '' : 'localFqdn') ..aOS(12, _omitFieldNames ? '' : 'locationId') - ..aOM<$43.Timestamp>(13, _omitFieldNames ? '' : 'createdOn', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(13, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) ..pc(14, _omitFieldNames ? '' : 'secrets', $pb.PbFieldType.PM, subBuilder: SharedSecret.create) - ..aOM<$43.Timestamp>(15, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(15, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -280,37 +280,37 @@ class RobotPart extends $pb.GeneratedMessage { void clearRobot() => clearField(4); @$pb.TagNumber(5) - $42.Struct get robotConfig => $_getN(4); + $43.Struct get robotConfig => $_getN(4); @$pb.TagNumber(5) - set robotConfig($42.Struct v) { setField(5, v); } + set robotConfig($43.Struct v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasRobotConfig() => $_has(4); @$pb.TagNumber(5) void clearRobotConfig() => clearField(5); @$pb.TagNumber(5) - $42.Struct ensureRobotConfig() => $_ensure(4); + $43.Struct ensureRobotConfig() => $_ensure(4); @$pb.TagNumber(6) - $43.Timestamp get lastAccess => $_getN(5); + $44.Timestamp get lastAccess => $_getN(5); @$pb.TagNumber(6) - set lastAccess($43.Timestamp v) { setField(6, v); } + set lastAccess($44.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasLastAccess() => $_has(5); @$pb.TagNumber(6) void clearLastAccess() => clearField(6); @$pb.TagNumber(6) - $43.Timestamp ensureLastAccess() => $_ensure(5); + $44.Timestamp ensureLastAccess() => $_ensure(5); @$pb.TagNumber(7) - $42.Struct get userSuppliedInfo => $_getN(6); + $43.Struct get userSuppliedInfo => $_getN(6); @$pb.TagNumber(7) - set userSuppliedInfo($42.Struct v) { setField(7, v); } + set userSuppliedInfo($43.Struct v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasUserSuppliedInfo() => $_has(6); @$pb.TagNumber(7) void clearUserSuppliedInfo() => clearField(7); @$pb.TagNumber(7) - $42.Struct ensureUserSuppliedInfo() => $_ensure(6); + $43.Struct ensureUserSuppliedInfo() => $_ensure(6); @$pb.TagNumber(8) $core.bool get mainPart => $_getBF(7); @@ -361,15 +361,15 @@ class RobotPart extends $pb.GeneratedMessage { void clearLocationId() => clearField(12); @$pb.TagNumber(13) - $43.Timestamp get createdOn => $_getN(12); + $44.Timestamp get createdOn => $_getN(12); @$pb.TagNumber(13) - set createdOn($43.Timestamp v) { setField(13, v); } + set createdOn($44.Timestamp v) { setField(13, v); } @$pb.TagNumber(13) $core.bool hasCreatedOn() => $_has(12); @$pb.TagNumber(13) void clearCreatedOn() => clearField(13); @$pb.TagNumber(13) - $43.Timestamp ensureCreatedOn() => $_ensure(12); + $44.Timestamp ensureCreatedOn() => $_ensure(12); /// List of secrets allowed for authentication. @$pb.TagNumber(14) @@ -377,22 +377,22 @@ class RobotPart extends $pb.GeneratedMessage { /// latest timestamp when a robot part was updated @$pb.TagNumber(15) - $43.Timestamp get lastUpdated => $_getN(14); + $44.Timestamp get lastUpdated => $_getN(14); @$pb.TagNumber(15) - set lastUpdated($43.Timestamp v) { setField(15, v); } + set lastUpdated($44.Timestamp v) { setField(15, v); } @$pb.TagNumber(15) $core.bool hasLastUpdated() => $_has(14); @$pb.TagNumber(15) void clearLastUpdated() => clearField(15); @$pb.TagNumber(15) - $43.Timestamp ensureLastUpdated() => $_ensure(14); + $44.Timestamp ensureLastUpdated() => $_ensure(14); } class RobotPartHistoryEntry extends $pb.GeneratedMessage { factory RobotPartHistoryEntry({ $core.String? part, $core.String? robot, - $43.Timestamp? when, + $44.Timestamp? when, RobotPart? old, AuthenticatorInfo? editedBy, }) { @@ -421,7 +421,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<$43.Timestamp>(3, _omitFieldNames ? '' : 'when', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'when', subBuilder: $44.Timestamp.create) ..aOM(4, _omitFieldNames ? '' : 'old', subBuilder: RobotPart.create) ..aOM(5, _omitFieldNames ? '' : 'editedBy', subBuilder: AuthenticatorInfo.create) ..hasRequiredFields = false @@ -467,15 +467,15 @@ class RobotPartHistoryEntry extends $pb.GeneratedMessage { void clearRobot() => clearField(2); @$pb.TagNumber(3) - $43.Timestamp get when => $_getN(2); + $44.Timestamp get when => $_getN(2); @$pb.TagNumber(3) - set when($43.Timestamp v) { setField(3, v); } + set when($44.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasWhen() => $_has(2); @$pb.TagNumber(3) void clearWhen() => clearField(3); @$pb.TagNumber(3) - $43.Timestamp ensureWhen() => $_ensure(2); + $44.Timestamp ensureWhen() => $_ensure(2); @$pb.TagNumber(4) RobotPart get old => $_getN(3); @@ -614,7 +614,7 @@ class Organization extends $pb.GeneratedMessage { factory Organization({ $core.String? id, $core.String? name, - $43.Timestamp? createdOn, + $44.Timestamp? createdOn, $core.String? publicNamespace, $core.String? defaultRegion, $core.String? cid, @@ -647,7 +647,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<$43.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) ..aOS(4, _omitFieldNames ? '' : 'publicNamespace') ..aOS(5, _omitFieldNames ? '' : 'defaultRegion') ..aOS(6, _omitFieldNames ? '' : 'cid') @@ -694,15 +694,15 @@ class Organization extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $43.Timestamp get createdOn => $_getN(2); + $44.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($43.Timestamp v) { setField(3, v); } + set createdOn($44.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $43.Timestamp ensureCreatedOn() => $_ensure(2); + $44.Timestamp ensureCreatedOn() => $_ensure(2); @$pb.TagNumber(4) $core.String get publicNamespace => $_getSZ(3); @@ -738,8 +738,8 @@ class OrganizationMember extends $pb.GeneratedMessage { factory OrganizationMember({ $core.String? userId, $core.Iterable<$core.String>? emails, - $43.Timestamp? dateAdded, - $43.Timestamp? lastLogin, + $44.Timestamp? dateAdded, + $44.Timestamp? lastLogin, }) { final $result = create(); if (userId != null) { @@ -763,8 +763,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<$43.Timestamp>(3, _omitFieldNames ? '' : 'dateAdded', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(4, _omitFieldNames ? '' : 'lastLogin', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'dateAdded', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'lastLogin', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -802,26 +802,26 @@ class OrganizationMember extends $pb.GeneratedMessage { $core.List<$core.String> get emails => $_getList(1); @$pb.TagNumber(3) - $43.Timestamp get dateAdded => $_getN(2); + $44.Timestamp get dateAdded => $_getN(2); @$pb.TagNumber(3) - set dateAdded($43.Timestamp v) { setField(3, v); } + set dateAdded($44.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasDateAdded() => $_has(2); @$pb.TagNumber(3) void clearDateAdded() => clearField(3); @$pb.TagNumber(3) - $43.Timestamp ensureDateAdded() => $_ensure(2); + $44.Timestamp ensureDateAdded() => $_ensure(2); @$pb.TagNumber(4) - $43.Timestamp get lastLogin => $_getN(3); + $44.Timestamp get lastLogin => $_getN(3); @$pb.TagNumber(4) - set lastLogin($43.Timestamp v) { setField(4, v); } + set lastLogin($44.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasLastLogin() => $_has(3); @$pb.TagNumber(4) void clearLastLogin() => clearField(4); @$pb.TagNumber(4) - $43.Timestamp ensureLastLogin() => $_ensure(3); + $44.Timestamp ensureLastLogin() => $_ensure(3); } class ListOrganizationsResponse extends $pb.GeneratedMessage { @@ -872,7 +872,7 @@ class OrganizationInvite extends $pb.GeneratedMessage { factory OrganizationInvite({ $core.String? organizationId, $core.String? email, - $43.Timestamp? createdOn, + $44.Timestamp? createdOn, $core.Iterable? authorizations, }) { final $result = create(); @@ -897,7 +897,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<$43.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) ..pc(4, _omitFieldNames ? '' : 'authorizations', $pb.PbFieldType.PM, subBuilder: Authorization.create) ..hasRequiredFields = false ; @@ -942,15 +942,15 @@ class OrganizationInvite extends $pb.GeneratedMessage { void clearEmail() => clearField(2); @$pb.TagNumber(3) - $43.Timestamp get createdOn => $_getN(2); + $44.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($43.Timestamp v) { setField(3, v); } + set createdOn($44.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $43.Timestamp ensureCreatedOn() => $_ensure(2); + $44.Timestamp ensureCreatedOn() => $_ensure(2); @$pb.TagNumber(4) $core.List get authorizations => $_getList(3); @@ -2467,7 +2467,7 @@ class Location extends $pb.GeneratedMessage { factory Location({ $core.String? id, $core.String? name, - $43.Timestamp? createdOn, + $44.Timestamp? createdOn, $core.String? parentLocationId, LocationAuth? auth, $core.Iterable? organizations, @@ -2508,7 +2508,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<$43.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) ..aOS(4, _omitFieldNames ? '' : 'parentLocationId') ..aOM(5, _omitFieldNames ? '' : 'auth', subBuilder: LocationAuth.create) ..pc(6, _omitFieldNames ? '' : 'organizations', $pb.PbFieldType.PM, subBuilder: LocationOrganization.create) @@ -2560,15 +2560,15 @@ class Location extends $pb.GeneratedMessage { /// Location creation timestamp. @$pb.TagNumber(3) - $43.Timestamp get createdOn => $_getN(2); + $44.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($43.Timestamp v) { setField(3, v); } + set createdOn($44.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $43.Timestamp ensureCreatedOn() => $_ensure(2); + $44.Timestamp ensureCreatedOn() => $_ensure(2); /// Location ID of the parent location. @$pb.TagNumber(4) @@ -2623,7 +2623,7 @@ class SharedSecret extends $pb.GeneratedMessage { factory SharedSecret({ $core.String? id, $core.String? secret, - $43.Timestamp? createdOn, + $44.Timestamp? createdOn, SharedSecret_State? state, }) { final $result = create(); @@ -2648,7 +2648,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<$43.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) ..e(4, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: SharedSecret_State.STATE_UNSPECIFIED, valueOf: SharedSecret_State.valueOf, enumValues: SharedSecret_State.values) ..hasRequiredFields = false ; @@ -2695,15 +2695,15 @@ class SharedSecret extends $pb.GeneratedMessage { /// Date/time the secret was first created. @$pb.TagNumber(3) - $43.Timestamp get createdOn => $_getN(2); + $44.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($43.Timestamp v) { setField(3, v); } + set createdOn($44.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $43.Timestamp ensureCreatedOn() => $_ensure(2); + $44.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. @@ -4380,8 +4380,8 @@ class GetRobotPartLogsRequest extends $pb.GeneratedMessage { $core.String? filter, $core.String? pageToken, $core.Iterable<$core.String>? levels, - $43.Timestamp? start, - $43.Timestamp? end, + $44.Timestamp? start, + $44.Timestamp? end, $fixnum.Int64? limit, $core.String? source, }) { @@ -4426,8 +4426,8 @@ class GetRobotPartLogsRequest extends $pb.GeneratedMessage { ..aOS(3, _omitFieldNames ? '' : 'filter') ..aOS(4, _omitFieldNames ? '' : 'pageToken') ..pPS(5, _omitFieldNames ? '' : 'levels') - ..aOM<$43.Timestamp>(6, _omitFieldNames ? '' : 'start', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(7, _omitFieldNames ? '' : 'end', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(6, _omitFieldNames ? '' : 'start', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(7, _omitFieldNames ? '' : 'end', subBuilder: $44.Timestamp.create) ..aInt64(8, _omitFieldNames ? '' : 'limit') ..aOS(9, _omitFieldNames ? '' : 'source') ..hasRequiredFields = false @@ -4500,26 +4500,26 @@ class GetRobotPartLogsRequest extends $pb.GeneratedMessage { $core.List<$core.String> get levels => $_getList(4); @$pb.TagNumber(6) - $43.Timestamp get start => $_getN(5); + $44.Timestamp get start => $_getN(5); @$pb.TagNumber(6) - set start($43.Timestamp v) { setField(6, v); } + set start($44.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasStart() => $_has(5); @$pb.TagNumber(6) void clearStart() => clearField(6); @$pb.TagNumber(6) - $43.Timestamp ensureStart() => $_ensure(5); + $44.Timestamp ensureStart() => $_ensure(5); @$pb.TagNumber(7) - $43.Timestamp get end => $_getN(6); + $44.Timestamp get end => $_getN(6); @$pb.TagNumber(7) - set end($43.Timestamp v) { setField(7, v); } + set end($44.Timestamp v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasEnd() => $_has(6); @$pb.TagNumber(7) void clearEnd() => clearField(7); @$pb.TagNumber(7) - $43.Timestamp ensureEnd() => $_ensure(6); + $44.Timestamp ensureEnd() => $_ensure(6); @$pb.TagNumber(8) $fixnum.Int64 get limit => $_getI64(7); @@ -4542,7 +4542,7 @@ class GetRobotPartLogsRequest extends $pb.GeneratedMessage { class GetRobotPartLogsResponse extends $pb.GeneratedMessage { factory GetRobotPartLogsResponse({ - $core.Iterable<$13.LogEntry>? logs, + $core.Iterable<$14.LogEntry>? logs, $core.String? nextPageToken, }) { final $result = create(); @@ -4559,7 +4559,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<$13.LogEntry>(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $13.LogEntry.create) + ..pc<$14.LogEntry>(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $14.LogEntry.create) ..aOS(2, _omitFieldNames ? '' : 'nextPageToken') ..hasRequiredFields = false ; @@ -4586,7 +4586,7 @@ class GetRobotPartLogsResponse extends $pb.GeneratedMessage { static GetRobotPartLogsResponse? _defaultInstance; @$pb.TagNumber(1) - $core.List<$13.LogEntry> get logs => $_getList(0); + $core.List<$14.LogEntry> get logs => $_getList(0); @$pb.TagNumber(2) $core.String get nextPageToken => $_getSZ(1); @@ -4678,7 +4678,7 @@ class TailRobotPartLogsRequest extends $pb.GeneratedMessage { class TailRobotPartLogsResponse extends $pb.GeneratedMessage { factory TailRobotPartLogsResponse({ - $core.Iterable<$13.LogEntry>? logs, + $core.Iterable<$14.LogEntry>? logs, }) { final $result = create(); if (logs != null) { @@ -4691,7 +4691,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<$13.LogEntry>(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $13.LogEntry.create) + ..pc<$14.LogEntry>(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $14.LogEntry.create) ..hasRequiredFields = false ; @@ -4717,7 +4717,7 @@ class TailRobotPartLogsResponse extends $pb.GeneratedMessage { static TailRobotPartLogsResponse? _defaultInstance; @$pb.TagNumber(1) - $core.List<$13.LogEntry> get logs => $_getList(0); + $core.List<$14.LogEntry> get logs => $_getList(0); } class GetRobotPartHistoryRequest extends $pb.GeneratedMessage { @@ -4818,7 +4818,7 @@ class UpdateRobotPartRequest extends $pb.GeneratedMessage { factory UpdateRobotPartRequest({ $core.String? id, $core.String? name, - $42.Struct? robotConfig, + $43.Struct? robotConfig, }) { final $result = create(); if (id != null) { @@ -4839,7 +4839,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<$42.Struct>(3, _omitFieldNames ? '' : 'robotConfig', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(3, _omitFieldNames ? '' : 'robotConfig', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -4883,15 +4883,15 @@ class UpdateRobotPartRequest extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $42.Struct get robotConfig => $_getN(2); + $43.Struct get robotConfig => $_getN(2); @$pb.TagNumber(3) - set robotConfig($42.Struct v) { setField(3, v); } + set robotConfig($43.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasRobotConfig() => $_has(2); @$pb.TagNumber(3) void clearRobotConfig() => clearField(3); @$pb.TagNumber(3) - $42.Struct ensureRobotConfig() => $_ensure(2); + $43.Struct ensureRobotConfig() => $_ensure(2); } class UpdateRobotPartResponse extends $pb.GeneratedMessage { @@ -5165,7 +5165,7 @@ class APIKey extends $pb.GeneratedMessage { $core.String? id, $core.String? key, $core.String? name, - $43.Timestamp? createdOn, + $44.Timestamp? createdOn, }) { final $result = create(); if (id != null) { @@ -5190,7 +5190,7 @@ class APIKey extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'key') ..aOS(3, _omitFieldNames ? '' : 'name') - ..aOM<$43.Timestamp>(4, _omitFieldNames ? '' : 'createdOn', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -5243,15 +5243,15 @@ class APIKey extends $pb.GeneratedMessage { void clearName() => clearField(3); @$pb.TagNumber(4) - $43.Timestamp get createdOn => $_getN(3); + $44.Timestamp get createdOn => $_getN(3); @$pb.TagNumber(4) - set createdOn($43.Timestamp v) { setField(4, v); } + set createdOn($44.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasCreatedOn() => $_has(3); @$pb.TagNumber(4) void clearCreatedOn() => clearField(4); @$pb.TagNumber(4) - $43.Timestamp ensureCreatedOn() => $_ensure(3); + $44.Timestamp ensureCreatedOn() => $_ensure(3); } class GetRobotAPIKeysResponse extends $pb.GeneratedMessage { @@ -5334,16 +5334,16 @@ class Fragment extends $pb.GeneratedMessage { factory Fragment({ $core.String? id, $core.String? name, - $42.Struct? fragment, + $43.Struct? fragment, $core.String? organizationOwner, $core.bool? public, - $43.Timestamp? createdOn, + $44.Timestamp? createdOn, $core.String? organizationName, $core.int? robotPartCount, $core.int? organizationCount, $core.bool? onlyUsedByOwner, FragmentVisibility? visibility, - $43.Timestamp? lastUpdated, + $44.Timestamp? lastUpdated, }) { final $result = create(); if (id != null) { @@ -5391,16 +5391,16 @@ 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<$42.Struct>(3, _omitFieldNames ? '' : 'fragment', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(3, _omitFieldNames ? '' : 'fragment', subBuilder: $43.Struct.create) ..aOS(4, _omitFieldNames ? '' : 'organizationOwner') ..aOB(5, _omitFieldNames ? '' : 'public') - ..aOM<$43.Timestamp>(6, _omitFieldNames ? '' : 'createdOn', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(6, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) ..aOS(7, _omitFieldNames ? '' : 'organizationName') ..a<$core.int>(9, _omitFieldNames ? '' : 'robotPartCount', $pb.PbFieldType.O3) ..a<$core.int>(10, _omitFieldNames ? '' : 'organizationCount', $pb.PbFieldType.O3) ..aOB(11, _omitFieldNames ? '' : 'onlyUsedByOwner') ..e(12, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: FragmentVisibility.FRAGMENT_VISIBILITY_UNSPECIFIED, valueOf: FragmentVisibility.valueOf, enumValues: FragmentVisibility.values) - ..aOM<$43.Timestamp>(13, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(13, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -5444,15 +5444,15 @@ class Fragment extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $42.Struct get fragment => $_getN(2); + $43.Struct get fragment => $_getN(2); @$pb.TagNumber(3) - set fragment($42.Struct v) { setField(3, v); } + set fragment($43.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasFragment() => $_has(2); @$pb.TagNumber(3) void clearFragment() => clearField(3); @$pb.TagNumber(3) - $42.Struct ensureFragment() => $_ensure(2); + $43.Struct ensureFragment() => $_ensure(2); @$pb.TagNumber(4) $core.String get organizationOwner => $_getSZ(3); @@ -5473,15 +5473,15 @@ class Fragment extends $pb.GeneratedMessage { void clearPublic() => clearField(5); @$pb.TagNumber(6) - $43.Timestamp get createdOn => $_getN(5); + $44.Timestamp get createdOn => $_getN(5); @$pb.TagNumber(6) - set createdOn($43.Timestamp v) { setField(6, v); } + set createdOn($44.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasCreatedOn() => $_has(5); @$pb.TagNumber(6) void clearCreatedOn() => clearField(6); @$pb.TagNumber(6) - $43.Timestamp ensureCreatedOn() => $_ensure(5); + $44.Timestamp ensureCreatedOn() => $_ensure(5); @$pb.TagNumber(7) $core.String get organizationName => $_getSZ(6); @@ -5534,21 +5534,21 @@ class Fragment extends $pb.GeneratedMessage { /// latest timestamp when fragment was updated @$pb.TagNumber(13) - $43.Timestamp get lastUpdated => $_getN(11); + $44.Timestamp get lastUpdated => $_getN(11); @$pb.TagNumber(13) - set lastUpdated($43.Timestamp v) { setField(13, v); } + set lastUpdated($44.Timestamp v) { setField(13, v); } @$pb.TagNumber(13) $core.bool hasLastUpdated() => $_has(11); @$pb.TagNumber(13) void clearLastUpdated() => clearField(13); @$pb.TagNumber(13) - $43.Timestamp ensureLastUpdated() => $_ensure(11); + $44.Timestamp ensureLastUpdated() => $_ensure(11); } class FragmentHistoryEntry extends $pb.GeneratedMessage { factory FragmentHistoryEntry({ $core.String? fragment, - $43.Timestamp? editedOn, + $44.Timestamp? editedOn, Fragment? old, AuthenticatorInfo? editedBy, }) { @@ -5573,7 +5573,7 @@ class FragmentHistoryEntry extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FragmentHistoryEntry', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'fragment') - ..aOM<$43.Timestamp>(2, _omitFieldNames ? '' : 'editedOn', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'editedOn', subBuilder: $44.Timestamp.create) ..aOM(3, _omitFieldNames ? '' : 'old', subBuilder: Fragment.create) ..aOM(4, _omitFieldNames ? '' : 'editedBy', subBuilder: AuthenticatorInfo.create) ..hasRequiredFields = false @@ -5610,15 +5610,15 @@ class FragmentHistoryEntry extends $pb.GeneratedMessage { void clearFragment() => clearField(1); @$pb.TagNumber(2) - $43.Timestamp get editedOn => $_getN(1); + $44.Timestamp get editedOn => $_getN(1); @$pb.TagNumber(2) - set editedOn($43.Timestamp v) { setField(2, v); } + set editedOn($44.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEditedOn() => $_has(1); @$pb.TagNumber(2) void clearEditedOn() => clearField(2); @$pb.TagNumber(2) - $43.Timestamp ensureEditedOn() => $_ensure(1); + $44.Timestamp ensureEditedOn() => $_ensure(1); @$pb.TagNumber(3) Fragment get old => $_getN(2); @@ -5864,7 +5864,7 @@ class GetFragmentResponse extends $pb.GeneratedMessage { class CreateFragmentRequest extends $pb.GeneratedMessage { factory CreateFragmentRequest({ $core.String? name, - $42.Struct? config, + $43.Struct? config, $core.String? organizationId, FragmentVisibility? visibility, }) { @@ -5889,7 +5889,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<$42.Struct>(2, _omitFieldNames ? '' : 'config', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(2, _omitFieldNames ? '' : 'config', subBuilder: $43.Struct.create) ..aOS(3, _omitFieldNames ? '' : 'organizationId') ..e(4, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: FragmentVisibility.FRAGMENT_VISIBILITY_UNSPECIFIED, valueOf: FragmentVisibility.valueOf, enumValues: FragmentVisibility.values) ..hasRequiredFields = false @@ -5926,15 +5926,15 @@ class CreateFragmentRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(2) - $42.Struct get config => $_getN(1); + $43.Struct get config => $_getN(1); @$pb.TagNumber(2) - set config($42.Struct v) { setField(2, v); } + set config($43.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasConfig() => $_has(1); @$pb.TagNumber(2) void clearConfig() => clearField(2); @$pb.TagNumber(2) - $42.Struct ensureConfig() => $_ensure(1); + $43.Struct ensureConfig() => $_ensure(1); @$pb.TagNumber(3) $core.String get organizationId => $_getSZ(2); @@ -6011,7 +6011,7 @@ class UpdateFragmentRequest extends $pb.GeneratedMessage { factory UpdateFragmentRequest({ $core.String? id, $core.String? name, - $42.Struct? config, + $43.Struct? config, $core.bool? public, FragmentVisibility? visibility, }) { @@ -6040,7 +6040,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<$42.Struct>(3, _omitFieldNames ? '' : 'config', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(3, _omitFieldNames ? '' : 'config', subBuilder: $43.Struct.create) ..aOB(4, _omitFieldNames ? '' : 'public') ..e(5, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: FragmentVisibility.FRAGMENT_VISIBILITY_UNSPECIFIED, valueOf: FragmentVisibility.valueOf, enumValues: FragmentVisibility.values) ..hasRequiredFields = false @@ -6086,15 +6086,15 @@ class UpdateFragmentRequest extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $42.Struct get config => $_getN(2); + $43.Struct get config => $_getN(2); @$pb.TagNumber(3) - set config($42.Struct v) { setField(3, v); } + set config($43.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasConfig() => $_has(2); @$pb.TagNumber(3) void clearConfig() => clearField(3); @$pb.TagNumber(3) - $42.Struct ensureConfig() => $_ensure(2); + $43.Struct ensureConfig() => $_ensure(2); @$pb.TagNumber(4) $core.bool get public => $_getBF(3); @@ -7945,6 +7945,7 @@ class ModuleVersion extends $pb.GeneratedMessage { $core.Iterable? files, $core.Iterable? models, $core.String? entrypoint, + $core.String? firstRun, }) { final $result = create(); if (version != null) { @@ -7959,6 +7960,9 @@ class ModuleVersion extends $pb.GeneratedMessage { if (entrypoint != null) { $result.entrypoint = entrypoint; } + if (firstRun != null) { + $result.firstRun = firstRun; + } return $result; } ModuleVersion._() : super(); @@ -7970,6 +7974,7 @@ class ModuleVersion extends $pb.GeneratedMessage { ..pc(2, _omitFieldNames ? '' : 'files', $pb.PbFieldType.PM, subBuilder: Uploads.create) ..pc(3, _omitFieldNames ? '' : 'models', $pb.PbFieldType.PM, subBuilder: Model.create) ..aOS(4, _omitFieldNames ? '' : 'entrypoint') + ..aOS(5, _omitFieldNames ? '' : 'firstRun') ..hasRequiredFields = false ; @@ -8021,6 +8026,16 @@ class ModuleVersion extends $pb.GeneratedMessage { $core.bool hasEntrypoint() => $_has(3); @$pb.TagNumber(4) void clearEntrypoint() => clearField(4); + + /// The path to a setup script that is run before a newly downloaded module starts. + @$pb.TagNumber(5) + $core.String get firstRun => $_getSZ(4); + @$pb.TagNumber(5) + set firstRun($core.String v) { $_setString(4, v); } + @$pb.TagNumber(5) + $core.bool hasFirstRun() => $_has(4); + @$pb.TagNumber(5) + void clearFirstRun() => clearField(5); } class ModuleMetadata extends $pb.GeneratedMessage { @@ -8028,6 +8043,7 @@ class ModuleMetadata extends $pb.GeneratedMessage { $core.Iterable? models, $core.Iterable? versions, $core.String? entrypoint, + $core.String? firstRun, }) { final $result = create(); if (models != null) { @@ -8039,6 +8055,9 @@ class ModuleMetadata extends $pb.GeneratedMessage { if (entrypoint != null) { $result.entrypoint = entrypoint; } + if (firstRun != null) { + $result.firstRun = firstRun; + } return $result; } ModuleMetadata._() : super(); @@ -8049,6 +8068,7 @@ class ModuleMetadata extends $pb.GeneratedMessage { ..pc(1, _omitFieldNames ? '' : 'models', $pb.PbFieldType.PM, subBuilder: Model.create) ..pc(2, _omitFieldNames ? '' : 'versions', $pb.PbFieldType.PM, subBuilder: ModuleVersion.create) ..aOS(3, _omitFieldNames ? '' : 'entrypoint') + ..aOS(4, _omitFieldNames ? '' : 'firstRun') ..hasRequiredFields = false ; @@ -8091,13 +8111,23 @@ class ModuleMetadata extends $pb.GeneratedMessage { $core.bool hasEntrypoint() => $_has(2); @$pb.TagNumber(3) void clearEntrypoint() => clearField(3); + + /// The path to a setup script that is run before a newly downloaded module starts. + @$pb.TagNumber(4) + $core.String get firstRun => $_getSZ(3); + @$pb.TagNumber(4) + set firstRun($core.String v) { $_setString(3, v); } + @$pb.TagNumber(4) + $core.bool hasFirstRun() => $_has(3); + @$pb.TagNumber(4) + void clearFirstRun() => clearField(4); } class MLModelMetadata extends $pb.GeneratedMessage { factory MLModelMetadata({ $core.Iterable<$core.String>? versions, - $6.ModelType? modelType, - $6.ModelFramework? modelFramework, + $7.ModelType? modelType, + $7.ModelFramework? modelFramework, }) { final $result = create(); if (versions != null) { @@ -8117,8 +8147,8 @@ class MLModelMetadata extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MLModelMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..pPS(1, _omitFieldNames ? '' : 'versions') - ..e<$6.ModelType>(2, _omitFieldNames ? '' : 'modelType', $pb.PbFieldType.OE, defaultOrMaker: $6.ModelType.MODEL_TYPE_UNSPECIFIED, valueOf: $6.ModelType.valueOf, enumValues: $6.ModelType.values) - ..e<$6.ModelFramework>(3, _omitFieldNames ? '' : 'modelFramework', $pb.PbFieldType.OE, defaultOrMaker: $6.ModelFramework.MODEL_FRAMEWORK_UNSPECIFIED, valueOf: $6.ModelFramework.valueOf, enumValues: $6.ModelFramework.values) + ..e<$7.ModelType>(2, _omitFieldNames ? '' : 'modelType', $pb.PbFieldType.OE, defaultOrMaker: $7.ModelType.MODEL_TYPE_UNSPECIFIED, valueOf: $7.ModelType.valueOf, enumValues: $7.ModelType.values) + ..e<$7.ModelFramework>(3, _omitFieldNames ? '' : 'modelFramework', $pb.PbFieldType.OE, defaultOrMaker: $7.ModelFramework.MODEL_FRAMEWORK_UNSPECIFIED, valueOf: $7.ModelFramework.valueOf, enumValues: $7.ModelFramework.values) ..hasRequiredFields = false ; @@ -8148,18 +8178,18 @@ class MLModelMetadata extends $pb.GeneratedMessage { $core.List<$core.String> get versions => $_getList(0); @$pb.TagNumber(2) - $6.ModelType get modelType => $_getN(1); + $7.ModelType get modelType => $_getN(1); @$pb.TagNumber(2) - set modelType($6.ModelType v) { setField(2, v); } + set modelType($7.ModelType v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasModelType() => $_has(1); @$pb.TagNumber(2) void clearModelType() => clearField(2); @$pb.TagNumber(3) - $6.ModelFramework get modelFramework => $_getN(2); + $7.ModelFramework get modelFramework => $_getN(2); @$pb.TagNumber(3) - set modelFramework($6.ModelFramework v) { setField(3, v); } + set modelFramework($7.ModelFramework v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasModelFramework() => $_has(2); @$pb.TagNumber(3) @@ -8169,7 +8199,7 @@ class MLModelMetadata extends $pb.GeneratedMessage { class MLTrainingVersion extends $pb.GeneratedMessage { factory MLTrainingVersion({ $core.String? version, - $43.Timestamp? createdOn, + $44.Timestamp? createdOn, }) { final $result = create(); if (version != null) { @@ -8186,7 +8216,7 @@ class MLTrainingVersion extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MLTrainingVersion', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'version') - ..aOM<$43.Timestamp>(2, _omitFieldNames ? '' : 'createdOn', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -8221,21 +8251,21 @@ class MLTrainingVersion extends $pb.GeneratedMessage { void clearVersion() => clearField(1); @$pb.TagNumber(2) - $43.Timestamp get createdOn => $_getN(1); + $44.Timestamp get createdOn => $_getN(1); @$pb.TagNumber(2) - set createdOn($43.Timestamp v) { setField(2, v); } + set createdOn($44.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasCreatedOn() => $_has(1); @$pb.TagNumber(2) void clearCreatedOn() => clearField(2); @$pb.TagNumber(2) - $43.Timestamp ensureCreatedOn() => $_ensure(1); + $44.Timestamp ensureCreatedOn() => $_ensure(1); } class MLTrainingMetadata extends $pb.GeneratedMessage { factory MLTrainingMetadata({ - $6.ModelType? modelType, - $6.ModelFramework? modelFramework, + $7.ModelType? modelType, + $7.ModelFramework? modelFramework, $core.bool? draft, $core.Iterable? versions, }) { @@ -8259,8 +8289,8 @@ class MLTrainingMetadata extends $pb.GeneratedMessage { 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) - ..e<$6.ModelType>(2, _omitFieldNames ? '' : 'modelType', $pb.PbFieldType.OE, defaultOrMaker: $6.ModelType.MODEL_TYPE_UNSPECIFIED, valueOf: $6.ModelType.valueOf, enumValues: $6.ModelType.values) - ..e<$6.ModelFramework>(3, _omitFieldNames ? '' : 'modelFramework', $pb.PbFieldType.OE, defaultOrMaker: $6.ModelFramework.MODEL_FRAMEWORK_UNSPECIFIED, valueOf: $6.ModelFramework.valueOf, enumValues: $6.ModelFramework.values) + ..e<$7.ModelType>(2, _omitFieldNames ? '' : 'modelType', $pb.PbFieldType.OE, defaultOrMaker: $7.ModelType.MODEL_TYPE_UNSPECIFIED, valueOf: $7.ModelType.valueOf, enumValues: $7.ModelType.values) + ..e<$7.ModelFramework>(3, _omitFieldNames ? '' : 'modelFramework', $pb.PbFieldType.OE, defaultOrMaker: $7.ModelFramework.MODEL_FRAMEWORK_UNSPECIFIED, valueOf: $7.ModelFramework.valueOf, enumValues: $7.ModelFramework.values) ..aOB(4, _omitFieldNames ? '' : 'draft') ..pc(5, _omitFieldNames ? '' : 'versions', $pb.PbFieldType.PM, subBuilder: MLTrainingVersion.create) ..hasRequiredFields = false @@ -8288,18 +8318,18 @@ class MLTrainingMetadata extends $pb.GeneratedMessage { static MLTrainingMetadata? _defaultInstance; @$pb.TagNumber(2) - $6.ModelType get modelType => $_getN(0); + $7.ModelType get modelType => $_getN(0); @$pb.TagNumber(2) - set modelType($6.ModelType v) { setField(2, v); } + set modelType($7.ModelType v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasModelType() => $_has(0); @$pb.TagNumber(2) void clearModelType() => clearField(2); @$pb.TagNumber(3) - $6.ModelFramework get modelFramework => $_getN(1); + $7.ModelFramework get modelFramework => $_getN(1); @$pb.TagNumber(3) - set modelFramework($6.ModelFramework v) { setField(3, v); } + set modelFramework($7.ModelFramework v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasModelFramework() => $_has(1); @$pb.TagNumber(3) @@ -8332,7 +8362,7 @@ class RegistryItem extends $pb.GeneratedMessage { $core.String? organizationId, $core.String? publicNamespace, $core.String? name, - $7.PackageType? type, + $8.PackageType? type, Visibility? visibility, $core.String? url, $core.String? description, @@ -8342,8 +8372,8 @@ class RegistryItem extends $pb.GeneratedMessage { MLModelMetadata? mlModelMetadata, $fixnum.Int64? totalExternalRobotUsage, $fixnum.Int64? totalExternalOrganizationUsage, - $43.Timestamp? createdAt, - $43.Timestamp? updatedAt, + $44.Timestamp? createdAt, + $44.Timestamp? updatedAt, MLTrainingMetadata? mlTrainingMetadata, }) { final $result = create(); @@ -8416,7 +8446,7 @@ class RegistryItem extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'organizationId') ..aOS(3, _omitFieldNames ? '' : 'publicNamespace') ..aOS(4, _omitFieldNames ? '' : 'name') - ..e<$7.PackageType>(5, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $7.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $7.PackageType.valueOf, enumValues: $7.PackageType.values) + ..e<$8.PackageType>(5, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $8.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $8.PackageType.valueOf, enumValues: $8.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') @@ -8426,8 +8456,8 @@ class RegistryItem extends $pb.GeneratedMessage { ..aOM(12, _omitFieldNames ? '' : 'mlModelMetadata', subBuilder: MLModelMetadata.create) ..aInt64(13, _omitFieldNames ? '' : 'totalExternalRobotUsage') ..aInt64(14, _omitFieldNames ? '' : 'totalExternalOrganizationUsage') - ..aOM<$43.Timestamp>(15, _omitFieldNames ? '' : 'createdAt', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(16, _omitFieldNames ? '' : 'updatedAt', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(15, _omitFieldNames ? '' : 'createdAt', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(16, _omitFieldNames ? '' : 'updatedAt', subBuilder: $44.Timestamp.create) ..aOM(18, _omitFieldNames ? '' : 'mlTrainingMetadata', subBuilder: MLTrainingMetadata.create) ..hasRequiredFields = false ; @@ -8501,9 +8531,9 @@ class RegistryItem extends $pb.GeneratedMessage { /// The type of the item in the registry @$pb.TagNumber(5) - $7.PackageType get type => $_getN(4); + $8.PackageType get type => $_getN(4); @$pb.TagNumber(5) - set type($7.PackageType v) { setField(5, v); } + set type($8.PackageType v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasType() => $_has(4); @$pb.TagNumber(5) @@ -8603,27 +8633,27 @@ class RegistryItem extends $pb.GeneratedMessage { /// When the item was created @$pb.TagNumber(15) - $43.Timestamp get createdAt => $_getN(14); + $44.Timestamp get createdAt => $_getN(14); @$pb.TagNumber(15) - set createdAt($43.Timestamp v) { setField(15, v); } + set createdAt($44.Timestamp v) { setField(15, v); } @$pb.TagNumber(15) $core.bool hasCreatedAt() => $_has(14); @$pb.TagNumber(15) void clearCreatedAt() => clearField(15); @$pb.TagNumber(15) - $43.Timestamp ensureCreatedAt() => $_ensure(14); + $44.Timestamp ensureCreatedAt() => $_ensure(14); /// When the item was last updated, either through an update or upload. @$pb.TagNumber(16) - $43.Timestamp get updatedAt => $_getN(15); + $44.Timestamp get updatedAt => $_getN(15); @$pb.TagNumber(16) - set updatedAt($43.Timestamp v) { setField(16, v); } + set updatedAt($44.Timestamp v) { setField(16, v); } @$pb.TagNumber(16) $core.bool hasUpdatedAt() => $_has(15); @$pb.TagNumber(16) void clearUpdatedAt() => clearField(16); @$pb.TagNumber(16) - $43.Timestamp ensureUpdatedAt() => $_ensure(15); + $44.Timestamp ensureUpdatedAt() => $_ensure(15); @$pb.TagNumber(18) MLTrainingMetadata get mlTrainingMetadata => $_getN(16); @@ -8743,7 +8773,7 @@ class CreateRegistryItemRequest extends $pb.GeneratedMessage { factory CreateRegistryItemRequest({ $core.String? organizationId, $core.String? name, - $7.PackageType? type, + $8.PackageType? type, }) { final $result = create(); if (organizationId != null) { @@ -8764,7 +8794,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<$7.PackageType>(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $7.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $7.PackageType.valueOf, enumValues: $7.PackageType.values) + ..e<$8.PackageType>(3, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $8.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $8.PackageType.valueOf, enumValues: $8.PackageType.values) ..hasRequiredFields = false ; @@ -8811,9 +8841,9 @@ class CreateRegistryItemRequest extends $pb.GeneratedMessage { /// The type of the item in the registry @$pb.TagNumber(3) - $7.PackageType get type => $_getN(2); + $8.PackageType get type => $_getN(2); @$pb.TagNumber(3) - set type($7.PackageType v) { setField(3, v); } + set type($8.PackageType v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasType() => $_has(2); @$pb.TagNumber(3) @@ -8855,7 +8885,7 @@ class CreateRegistryItemResponse extends $pb.GeneratedMessage { class UpdateRegistryItemRequest extends $pb.GeneratedMessage { factory UpdateRegistryItemRequest({ $core.String? itemId, - $7.PackageType? type, + $8.PackageType? type, $core.String? description, Visibility? visibility, $core.String? url, @@ -8884,7 +8914,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<$7.PackageType>(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $7.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $7.PackageType.valueOf, enumValues: $7.PackageType.values) + ..e<$8.PackageType>(2, _omitFieldNames ? '' : 'type', $pb.PbFieldType.OE, defaultOrMaker: $8.PackageType.PACKAGE_TYPE_UNSPECIFIED, valueOf: $8.PackageType.valueOf, enumValues: $8.PackageType.values) ..aOS(3, _omitFieldNames ? '' : 'description') ..e(4, _omitFieldNames ? '' : 'visibility', $pb.PbFieldType.OE, defaultOrMaker: Visibility.VISIBILITY_UNSPECIFIED, valueOf: Visibility.valueOf, enumValues: Visibility.values) ..aOS(5, _omitFieldNames ? '' : 'url') @@ -8922,9 +8952,9 @@ class UpdateRegistryItemRequest extends $pb.GeneratedMessage { void clearItemId() => clearField(1); @$pb.TagNumber(2) - $7.PackageType get type => $_getN(1); + $8.PackageType get type => $_getN(1); @$pb.TagNumber(2) - set type($7.PackageType v) { setField(2, v); } + set type($8.PackageType v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasType() => $_has(1); @$pb.TagNumber(2) @@ -8993,7 +9023,7 @@ class UpdateRegistryItemResponse extends $pb.GeneratedMessage { class ListRegistryItemsRequest extends $pb.GeneratedMessage { factory ListRegistryItemsRequest({ $core.String? organizationId, - $core.Iterable<$7.PackageType>? types, + $core.Iterable<$8.PackageType>? types, $core.Iterable? visibilities, $core.Iterable<$core.String>? platforms, $core.Iterable? statuses, @@ -9034,7 +9064,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<$7.PackageType>(2, _omitFieldNames ? '' : 'types', $pb.PbFieldType.KE, valueOf: $7.PackageType.valueOf, enumValues: $7.PackageType.values, defaultEnumValue: $7.PackageType.PACKAGE_TYPE_UNSPECIFIED) + ..pc<$8.PackageType>(2, _omitFieldNames ? '' : 'types', $pb.PbFieldType.KE, valueOf: $8.PackageType.valueOf, enumValues: $8.PackageType.values, defaultEnumValue: $8.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) @@ -9076,7 +9106,7 @@ class ListRegistryItemsRequest extends $pb.GeneratedMessage { void clearOrganizationId() => clearField(1); @$pb.TagNumber(2) - $core.List<$7.PackageType> get types => $_getList(1); + $core.List<$8.PackageType> get types => $_getList(1); @$pb.TagNumber(3) $core.List get visibilities => $_getList(2); @@ -9474,6 +9504,7 @@ class UpdateModuleRequest extends $pb.GeneratedMessage { $core.String? description, $core.Iterable? models, $core.String? entrypoint, + $core.String? firstRun, }) { final $result = create(); if (moduleId != null) { @@ -9494,6 +9525,9 @@ class UpdateModuleRequest extends $pb.GeneratedMessage { if (entrypoint != null) { $result.entrypoint = entrypoint; } + if (firstRun != null) { + $result.firstRun = firstRun; + } return $result; } UpdateModuleRequest._() : super(); @@ -9507,6 +9541,7 @@ class UpdateModuleRequest extends $pb.GeneratedMessage { ..aOS(4, _omitFieldNames ? '' : 'description') ..pc(5, _omitFieldNames ? '' : 'models', $pb.PbFieldType.PM, subBuilder: Model.create) ..aOS(6, _omitFieldNames ? '' : 'entrypoint') + ..aOS(7, _omitFieldNames ? '' : 'firstRun') ..hasRequiredFields = false ; @@ -9584,6 +9619,16 @@ class UpdateModuleRequest extends $pb.GeneratedMessage { $core.bool hasEntrypoint() => $_has(5); @$pb.TagNumber(6) void clearEntrypoint() => clearField(6); + + /// The path to a setup script that is run before a newly downloaded module starts. + @$pb.TagNumber(7) + $core.String get firstRun => $_getSZ(6); + @$pb.TagNumber(7) + set firstRun($core.String v) { $_setString(6, v); } + @$pb.TagNumber(7) + $core.bool hasFirstRun() => $_has(6); + @$pb.TagNumber(7) + void clearFirstRun() => clearField(7); } class UpdateModuleResponse extends $pb.GeneratedMessage { @@ -10036,6 +10081,7 @@ class Module extends $pb.GeneratedMessage { $core.String? organizationId, $core.String? entrypoint, $core.String? publicNamespace, + $core.String? firstRun, }) { final $result = create(); if (moduleId != null) { @@ -10074,6 +10120,9 @@ class Module extends $pb.GeneratedMessage { if (publicNamespace != null) { $result.publicNamespace = publicNamespace; } + if (firstRun != null) { + $result.firstRun = firstRun; + } return $result; } Module._() : super(); @@ -10093,6 +10142,7 @@ class Module extends $pb.GeneratedMessage { ..aOS(10, _omitFieldNames ? '' : 'organizationId') ..aOS(11, _omitFieldNames ? '' : 'entrypoint') ..aOS(12, _omitFieldNames ? '' : 'publicNamespace') + ..aOS(13, _omitFieldNames ? '' : 'firstRun') ..hasRequiredFields = false ; @@ -10226,6 +10276,16 @@ class Module extends $pb.GeneratedMessage { $core.bool hasPublicNamespace() => $_has(11); @$pb.TagNumber(12) void clearPublicNamespace() => clearField(12); + + /// The path to a setup script that is run before a newly downloaded module starts. + @$pb.TagNumber(13) + $core.String get firstRun => $_getSZ(12); + @$pb.TagNumber(13) + set firstRun($core.String v) { $_setString(12, v); } + @$pb.TagNumber(13) + $core.bool hasFirstRun() => $_has(12); + @$pb.TagNumber(13) + void clearFirstRun() => clearField(13); } class VersionHistory extends $pb.GeneratedMessage { @@ -10234,6 +10294,7 @@ class VersionHistory extends $pb.GeneratedMessage { $core.Iterable? files, $core.Iterable? models, $core.String? entrypoint, + $core.String? firstRun, }) { final $result = create(); if (version != null) { @@ -10248,6 +10309,9 @@ class VersionHistory extends $pb.GeneratedMessage { if (entrypoint != null) { $result.entrypoint = entrypoint; } + if (firstRun != null) { + $result.firstRun = firstRun; + } return $result; } VersionHistory._() : super(); @@ -10259,6 +10323,7 @@ class VersionHistory extends $pb.GeneratedMessage { ..pc(2, _omitFieldNames ? '' : 'files', $pb.PbFieldType.PM, subBuilder: Uploads.create) ..pc(3, _omitFieldNames ? '' : 'models', $pb.PbFieldType.PM, subBuilder: Model.create) ..aOS(4, _omitFieldNames ? '' : 'entrypoint') + ..aOS(5, _omitFieldNames ? '' : 'firstRun') ..hasRequiredFields = false ; @@ -10310,12 +10375,22 @@ class VersionHistory extends $pb.GeneratedMessage { $core.bool hasEntrypoint() => $_has(3); @$pb.TagNumber(4) void clearEntrypoint() => clearField(4); + + /// The path to a setup script that is run before a newly downloaded module starts. + @$pb.TagNumber(5) + $core.String get firstRun => $_getSZ(4); + @$pb.TagNumber(5) + set firstRun($core.String v) { $_setString(4, v); } + @$pb.TagNumber(5) + $core.bool hasFirstRun() => $_has(4); + @$pb.TagNumber(5) + void clearFirstRun() => clearField(5); } class Uploads extends $pb.GeneratedMessage { factory Uploads({ $core.String? platform, - $43.Timestamp? uploadedAt, + $44.Timestamp? uploadedAt, }) { final $result = create(); if (platform != null) { @@ -10332,7 +10407,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<$43.Timestamp>(2, _omitFieldNames ? '' : 'uploadedAt', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'uploadedAt', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -10369,15 +10444,15 @@ class Uploads extends $pb.GeneratedMessage { /// The time when the file was uploaded @$pb.TagNumber(2) - $43.Timestamp get uploadedAt => $_getN(1); + $44.Timestamp get uploadedAt => $_getN(1); @$pb.TagNumber(2) - set uploadedAt($43.Timestamp v) { setField(2, v); } + set uploadedAt($44.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasUploadedAt() => $_has(1); @$pb.TagNumber(2) void clearUploadedAt() => clearField(2); @$pb.TagNumber(2) - $43.Timestamp ensureUploadedAt() => $_ensure(1); + $44.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 396e3589629..cb289960f74 100644 --- a/lib/src/gen/app/v1/app.pbgrpc.dart +++ b/lib/src/gen/app/v1/app.pbgrpc.dart @@ -15,304 +15,304 @@ 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 $8; +import 'app.pb.dart' as $9; export 'app.pb.dart'; @$pb.GrpcServiceName('viam.app.v1.AppService') class AppServiceClient extends $grpc.Client { - static final _$getUserIDByEmail = $grpc.ClientMethod<$8.GetUserIDByEmailRequest, $8.GetUserIDByEmailResponse>( + static final _$getUserIDByEmail = $grpc.ClientMethod<$9.GetUserIDByEmailRequest, $9.GetUserIDByEmailResponse>( '/viam.app.v1.AppService/GetUserIDByEmail', - ($8.GetUserIDByEmailRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetUserIDByEmailResponse.fromBuffer(value)); - static final _$createOrganization = $grpc.ClientMethod<$8.CreateOrganizationRequest, $8.CreateOrganizationResponse>( + ($9.GetUserIDByEmailRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetUserIDByEmailResponse.fromBuffer(value)); + static final _$createOrganization = $grpc.ClientMethod<$9.CreateOrganizationRequest, $9.CreateOrganizationResponse>( '/viam.app.v1.AppService/CreateOrganization', - ($8.CreateOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.CreateOrganizationResponse.fromBuffer(value)); - static final _$listOrganizations = $grpc.ClientMethod<$8.ListOrganizationsRequest, $8.ListOrganizationsResponse>( + ($9.CreateOrganizationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.CreateOrganizationResponse.fromBuffer(value)); + static final _$listOrganizations = $grpc.ClientMethod<$9.ListOrganizationsRequest, $9.ListOrganizationsResponse>( '/viam.app.v1.AppService/ListOrganizations', - ($8.ListOrganizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ListOrganizationsResponse.fromBuffer(value)); - static final _$getOrganizationsWithAccessToLocation = $grpc.ClientMethod<$8.GetOrganizationsWithAccessToLocationRequest, $8.GetOrganizationsWithAccessToLocationResponse>( + ($9.ListOrganizationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ListOrganizationsResponse.fromBuffer(value)); + static final _$getOrganizationsWithAccessToLocation = $grpc.ClientMethod<$9.GetOrganizationsWithAccessToLocationRequest, $9.GetOrganizationsWithAccessToLocationResponse>( '/viam.app.v1.AppService/GetOrganizationsWithAccessToLocation', - ($8.GetOrganizationsWithAccessToLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetOrganizationsWithAccessToLocationResponse.fromBuffer(value)); - static final _$listOrganizationsByUser = $grpc.ClientMethod<$8.ListOrganizationsByUserRequest, $8.ListOrganizationsByUserResponse>( + ($9.GetOrganizationsWithAccessToLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetOrganizationsWithAccessToLocationResponse.fromBuffer(value)); + static final _$listOrganizationsByUser = $grpc.ClientMethod<$9.ListOrganizationsByUserRequest, $9.ListOrganizationsByUserResponse>( '/viam.app.v1.AppService/ListOrganizationsByUser', - ($8.ListOrganizationsByUserRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ListOrganizationsByUserResponse.fromBuffer(value)); - static final _$getOrganization = $grpc.ClientMethod<$8.GetOrganizationRequest, $8.GetOrganizationResponse>( + ($9.ListOrganizationsByUserRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ListOrganizationsByUserResponse.fromBuffer(value)); + static final _$getOrganization = $grpc.ClientMethod<$9.GetOrganizationRequest, $9.GetOrganizationResponse>( '/viam.app.v1.AppService/GetOrganization', - ($8.GetOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetOrganizationResponse.fromBuffer(value)); - static final _$getOrganizationNamespaceAvailability = $grpc.ClientMethod<$8.GetOrganizationNamespaceAvailabilityRequest, $8.GetOrganizationNamespaceAvailabilityResponse>( + ($9.GetOrganizationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetOrganizationResponse.fromBuffer(value)); + static final _$getOrganizationNamespaceAvailability = $grpc.ClientMethod<$9.GetOrganizationNamespaceAvailabilityRequest, $9.GetOrganizationNamespaceAvailabilityResponse>( '/viam.app.v1.AppService/GetOrganizationNamespaceAvailability', - ($8.GetOrganizationNamespaceAvailabilityRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetOrganizationNamespaceAvailabilityResponse.fromBuffer(value)); - static final _$updateOrganization = $grpc.ClientMethod<$8.UpdateOrganizationRequest, $8.UpdateOrganizationResponse>( + ($9.GetOrganizationNamespaceAvailabilityRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetOrganizationNamespaceAvailabilityResponse.fromBuffer(value)); + static final _$updateOrganization = $grpc.ClientMethod<$9.UpdateOrganizationRequest, $9.UpdateOrganizationResponse>( '/viam.app.v1.AppService/UpdateOrganization', - ($8.UpdateOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.UpdateOrganizationResponse.fromBuffer(value)); - static final _$deleteOrganization = $grpc.ClientMethod<$8.DeleteOrganizationRequest, $8.DeleteOrganizationResponse>( + ($9.UpdateOrganizationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.UpdateOrganizationResponse.fromBuffer(value)); + static final _$deleteOrganization = $grpc.ClientMethod<$9.DeleteOrganizationRequest, $9.DeleteOrganizationResponse>( '/viam.app.v1.AppService/DeleteOrganization', - ($8.DeleteOrganizationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.DeleteOrganizationResponse.fromBuffer(value)); - static final _$listOrganizationMembers = $grpc.ClientMethod<$8.ListOrganizationMembersRequest, $8.ListOrganizationMembersResponse>( + ($9.DeleteOrganizationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.DeleteOrganizationResponse.fromBuffer(value)); + static final _$listOrganizationMembers = $grpc.ClientMethod<$9.ListOrganizationMembersRequest, $9.ListOrganizationMembersResponse>( '/viam.app.v1.AppService/ListOrganizationMembers', - ($8.ListOrganizationMembersRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ListOrganizationMembersResponse.fromBuffer(value)); - static final _$createOrganizationInvite = $grpc.ClientMethod<$8.CreateOrganizationInviteRequest, $8.CreateOrganizationInviteResponse>( + ($9.ListOrganizationMembersRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ListOrganizationMembersResponse.fromBuffer(value)); + static final _$createOrganizationInvite = $grpc.ClientMethod<$9.CreateOrganizationInviteRequest, $9.CreateOrganizationInviteResponse>( '/viam.app.v1.AppService/CreateOrganizationInvite', - ($8.CreateOrganizationInviteRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.CreateOrganizationInviteResponse.fromBuffer(value)); - static final _$updateOrganizationInviteAuthorizations = $grpc.ClientMethod<$8.UpdateOrganizationInviteAuthorizationsRequest, $8.UpdateOrganizationInviteAuthorizationsResponse>( + ($9.CreateOrganizationInviteRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.CreateOrganizationInviteResponse.fromBuffer(value)); + static final _$updateOrganizationInviteAuthorizations = $grpc.ClientMethod<$9.UpdateOrganizationInviteAuthorizationsRequest, $9.UpdateOrganizationInviteAuthorizationsResponse>( '/viam.app.v1.AppService/UpdateOrganizationInviteAuthorizations', - ($8.UpdateOrganizationInviteAuthorizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.UpdateOrganizationInviteAuthorizationsResponse.fromBuffer(value)); - static final _$deleteOrganizationMember = $grpc.ClientMethod<$8.DeleteOrganizationMemberRequest, $8.DeleteOrganizationMemberResponse>( + ($9.UpdateOrganizationInviteAuthorizationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.UpdateOrganizationInviteAuthorizationsResponse.fromBuffer(value)); + static final _$deleteOrganizationMember = $grpc.ClientMethod<$9.DeleteOrganizationMemberRequest, $9.DeleteOrganizationMemberResponse>( '/viam.app.v1.AppService/DeleteOrganizationMember', - ($8.DeleteOrganizationMemberRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.DeleteOrganizationMemberResponse.fromBuffer(value)); - static final _$deleteOrganizationInvite = $grpc.ClientMethod<$8.DeleteOrganizationInviteRequest, $8.DeleteOrganizationInviteResponse>( + ($9.DeleteOrganizationMemberRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.DeleteOrganizationMemberResponse.fromBuffer(value)); + static final _$deleteOrganizationInvite = $grpc.ClientMethod<$9.DeleteOrganizationInviteRequest, $9.DeleteOrganizationInviteResponse>( '/viam.app.v1.AppService/DeleteOrganizationInvite', - ($8.DeleteOrganizationInviteRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.DeleteOrganizationInviteResponse.fromBuffer(value)); - static final _$resendOrganizationInvite = $grpc.ClientMethod<$8.ResendOrganizationInviteRequest, $8.ResendOrganizationInviteResponse>( + ($9.DeleteOrganizationInviteRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.DeleteOrganizationInviteResponse.fromBuffer(value)); + static final _$resendOrganizationInvite = $grpc.ClientMethod<$9.ResendOrganizationInviteRequest, $9.ResendOrganizationInviteResponse>( '/viam.app.v1.AppService/ResendOrganizationInvite', - ($8.ResendOrganizationInviteRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ResendOrganizationInviteResponse.fromBuffer(value)); - static final _$createLocation = $grpc.ClientMethod<$8.CreateLocationRequest, $8.CreateLocationResponse>( + ($9.ResendOrganizationInviteRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ResendOrganizationInviteResponse.fromBuffer(value)); + static final _$createLocation = $grpc.ClientMethod<$9.CreateLocationRequest, $9.CreateLocationResponse>( '/viam.app.v1.AppService/CreateLocation', - ($8.CreateLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.CreateLocationResponse.fromBuffer(value)); - static final _$getLocation = $grpc.ClientMethod<$8.GetLocationRequest, $8.GetLocationResponse>( + ($9.CreateLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.CreateLocationResponse.fromBuffer(value)); + static final _$getLocation = $grpc.ClientMethod<$9.GetLocationRequest, $9.GetLocationResponse>( '/viam.app.v1.AppService/GetLocation', - ($8.GetLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetLocationResponse.fromBuffer(value)); - static final _$updateLocation = $grpc.ClientMethod<$8.UpdateLocationRequest, $8.UpdateLocationResponse>( + ($9.GetLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetLocationResponse.fromBuffer(value)); + static final _$updateLocation = $grpc.ClientMethod<$9.UpdateLocationRequest, $9.UpdateLocationResponse>( '/viam.app.v1.AppService/UpdateLocation', - ($8.UpdateLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.UpdateLocationResponse.fromBuffer(value)); - static final _$deleteLocation = $grpc.ClientMethod<$8.DeleteLocationRequest, $8.DeleteLocationResponse>( + ($9.UpdateLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.UpdateLocationResponse.fromBuffer(value)); + static final _$deleteLocation = $grpc.ClientMethod<$9.DeleteLocationRequest, $9.DeleteLocationResponse>( '/viam.app.v1.AppService/DeleteLocation', - ($8.DeleteLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.DeleteLocationResponse.fromBuffer(value)); - static final _$listLocations = $grpc.ClientMethod<$8.ListLocationsRequest, $8.ListLocationsResponse>( + ($9.DeleteLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.DeleteLocationResponse.fromBuffer(value)); + static final _$listLocations = $grpc.ClientMethod<$9.ListLocationsRequest, $9.ListLocationsResponse>( '/viam.app.v1.AppService/ListLocations', - ($8.ListLocationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ListLocationsResponse.fromBuffer(value)); - static final _$shareLocation = $grpc.ClientMethod<$8.ShareLocationRequest, $8.ShareLocationResponse>( + ($9.ListLocationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ListLocationsResponse.fromBuffer(value)); + static final _$shareLocation = $grpc.ClientMethod<$9.ShareLocationRequest, $9.ShareLocationResponse>( '/viam.app.v1.AppService/ShareLocation', - ($8.ShareLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ShareLocationResponse.fromBuffer(value)); - static final _$unshareLocation = $grpc.ClientMethod<$8.UnshareLocationRequest, $8.UnshareLocationResponse>( + ($9.ShareLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ShareLocationResponse.fromBuffer(value)); + static final _$unshareLocation = $grpc.ClientMethod<$9.UnshareLocationRequest, $9.UnshareLocationResponse>( '/viam.app.v1.AppService/UnshareLocation', - ($8.UnshareLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.UnshareLocationResponse.fromBuffer(value)); - static final _$locationAuth = $grpc.ClientMethod<$8.LocationAuthRequest, $8.LocationAuthResponse>( + ($9.UnshareLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.UnshareLocationResponse.fromBuffer(value)); + static final _$locationAuth = $grpc.ClientMethod<$9.LocationAuthRequest, $9.LocationAuthResponse>( '/viam.app.v1.AppService/LocationAuth', - ($8.LocationAuthRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.LocationAuthResponse.fromBuffer(value)); - static final _$createLocationSecret = $grpc.ClientMethod<$8.CreateLocationSecretRequest, $8.CreateLocationSecretResponse>( + ($9.LocationAuthRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.LocationAuthResponse.fromBuffer(value)); + static final _$createLocationSecret = $grpc.ClientMethod<$9.CreateLocationSecretRequest, $9.CreateLocationSecretResponse>( '/viam.app.v1.AppService/CreateLocationSecret', - ($8.CreateLocationSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.CreateLocationSecretResponse.fromBuffer(value)); - static final _$deleteLocationSecret = $grpc.ClientMethod<$8.DeleteLocationSecretRequest, $8.DeleteLocationSecretResponse>( + ($9.CreateLocationSecretRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.CreateLocationSecretResponse.fromBuffer(value)); + static final _$deleteLocationSecret = $grpc.ClientMethod<$9.DeleteLocationSecretRequest, $9.DeleteLocationSecretResponse>( '/viam.app.v1.AppService/DeleteLocationSecret', - ($8.DeleteLocationSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.DeleteLocationSecretResponse.fromBuffer(value)); - static final _$getRobot = $grpc.ClientMethod<$8.GetRobotRequest, $8.GetRobotResponse>( + ($9.DeleteLocationSecretRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.DeleteLocationSecretResponse.fromBuffer(value)); + static final _$getRobot = $grpc.ClientMethod<$9.GetRobotRequest, $9.GetRobotResponse>( '/viam.app.v1.AppService/GetRobot', - ($8.GetRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetRobotResponse.fromBuffer(value)); - static final _$getRoverRentalRobots = $grpc.ClientMethod<$8.GetRoverRentalRobotsRequest, $8.GetRoverRentalRobotsResponse>( + ($9.GetRobotRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetRobotResponse.fromBuffer(value)); + static final _$getRoverRentalRobots = $grpc.ClientMethod<$9.GetRoverRentalRobotsRequest, $9.GetRoverRentalRobotsResponse>( '/viam.app.v1.AppService/GetRoverRentalRobots', - ($8.GetRoverRentalRobotsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetRoverRentalRobotsResponse.fromBuffer(value)); - static final _$getRobotParts = $grpc.ClientMethod<$8.GetRobotPartsRequest, $8.GetRobotPartsResponse>( + ($9.GetRoverRentalRobotsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetRoverRentalRobotsResponse.fromBuffer(value)); + static final _$getRobotParts = $grpc.ClientMethod<$9.GetRobotPartsRequest, $9.GetRobotPartsResponse>( '/viam.app.v1.AppService/GetRobotParts', - ($8.GetRobotPartsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetRobotPartsResponse.fromBuffer(value)); - static final _$getRobotPart = $grpc.ClientMethod<$8.GetRobotPartRequest, $8.GetRobotPartResponse>( + ($9.GetRobotPartsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetRobotPartsResponse.fromBuffer(value)); + static final _$getRobotPart = $grpc.ClientMethod<$9.GetRobotPartRequest, $9.GetRobotPartResponse>( '/viam.app.v1.AppService/GetRobotPart', - ($8.GetRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetRobotPartResponse.fromBuffer(value)); - static final _$getRobotPartLogs = $grpc.ClientMethod<$8.GetRobotPartLogsRequest, $8.GetRobotPartLogsResponse>( + ($9.GetRobotPartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetRobotPartResponse.fromBuffer(value)); + static final _$getRobotPartLogs = $grpc.ClientMethod<$9.GetRobotPartLogsRequest, $9.GetRobotPartLogsResponse>( '/viam.app.v1.AppService/GetRobotPartLogs', - ($8.GetRobotPartLogsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetRobotPartLogsResponse.fromBuffer(value)); - static final _$tailRobotPartLogs = $grpc.ClientMethod<$8.TailRobotPartLogsRequest, $8.TailRobotPartLogsResponse>( + ($9.GetRobotPartLogsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetRobotPartLogsResponse.fromBuffer(value)); + static final _$tailRobotPartLogs = $grpc.ClientMethod<$9.TailRobotPartLogsRequest, $9.TailRobotPartLogsResponse>( '/viam.app.v1.AppService/TailRobotPartLogs', - ($8.TailRobotPartLogsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.TailRobotPartLogsResponse.fromBuffer(value)); - static final _$getRobotPartHistory = $grpc.ClientMethod<$8.GetRobotPartHistoryRequest, $8.GetRobotPartHistoryResponse>( + ($9.TailRobotPartLogsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.TailRobotPartLogsResponse.fromBuffer(value)); + static final _$getRobotPartHistory = $grpc.ClientMethod<$9.GetRobotPartHistoryRequest, $9.GetRobotPartHistoryResponse>( '/viam.app.v1.AppService/GetRobotPartHistory', - ($8.GetRobotPartHistoryRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetRobotPartHistoryResponse.fromBuffer(value)); - static final _$updateRobotPart = $grpc.ClientMethod<$8.UpdateRobotPartRequest, $8.UpdateRobotPartResponse>( + ($9.GetRobotPartHistoryRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetRobotPartHistoryResponse.fromBuffer(value)); + static final _$updateRobotPart = $grpc.ClientMethod<$9.UpdateRobotPartRequest, $9.UpdateRobotPartResponse>( '/viam.app.v1.AppService/UpdateRobotPart', - ($8.UpdateRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.UpdateRobotPartResponse.fromBuffer(value)); - static final _$newRobotPart = $grpc.ClientMethod<$8.NewRobotPartRequest, $8.NewRobotPartResponse>( + ($9.UpdateRobotPartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.UpdateRobotPartResponse.fromBuffer(value)); + static final _$newRobotPart = $grpc.ClientMethod<$9.NewRobotPartRequest, $9.NewRobotPartResponse>( '/viam.app.v1.AppService/NewRobotPart', - ($8.NewRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.NewRobotPartResponse.fromBuffer(value)); - static final _$deleteRobotPart = $grpc.ClientMethod<$8.DeleteRobotPartRequest, $8.DeleteRobotPartResponse>( + ($9.NewRobotPartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.NewRobotPartResponse.fromBuffer(value)); + static final _$deleteRobotPart = $grpc.ClientMethod<$9.DeleteRobotPartRequest, $9.DeleteRobotPartResponse>( '/viam.app.v1.AppService/DeleteRobotPart', - ($8.DeleteRobotPartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.DeleteRobotPartResponse.fromBuffer(value)); - static final _$getRobotAPIKeys = $grpc.ClientMethod<$8.GetRobotAPIKeysRequest, $8.GetRobotAPIKeysResponse>( + ($9.DeleteRobotPartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.DeleteRobotPartResponse.fromBuffer(value)); + static final _$getRobotAPIKeys = $grpc.ClientMethod<$9.GetRobotAPIKeysRequest, $9.GetRobotAPIKeysResponse>( '/viam.app.v1.AppService/GetRobotAPIKeys', - ($8.GetRobotAPIKeysRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetRobotAPIKeysResponse.fromBuffer(value)); - static final _$markPartAsMain = $grpc.ClientMethod<$8.MarkPartAsMainRequest, $8.MarkPartAsMainResponse>( + ($9.GetRobotAPIKeysRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetRobotAPIKeysResponse.fromBuffer(value)); + static final _$markPartAsMain = $grpc.ClientMethod<$9.MarkPartAsMainRequest, $9.MarkPartAsMainResponse>( '/viam.app.v1.AppService/MarkPartAsMain', - ($8.MarkPartAsMainRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.MarkPartAsMainResponse.fromBuffer(value)); - static final _$markPartForRestart = $grpc.ClientMethod<$8.MarkPartForRestartRequest, $8.MarkPartForRestartResponse>( + ($9.MarkPartAsMainRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.MarkPartAsMainResponse.fromBuffer(value)); + static final _$markPartForRestart = $grpc.ClientMethod<$9.MarkPartForRestartRequest, $9.MarkPartForRestartResponse>( '/viam.app.v1.AppService/MarkPartForRestart', - ($8.MarkPartForRestartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.MarkPartForRestartResponse.fromBuffer(value)); - static final _$createRobotPartSecret = $grpc.ClientMethod<$8.CreateRobotPartSecretRequest, $8.CreateRobotPartSecretResponse>( + ($9.MarkPartForRestartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.MarkPartForRestartResponse.fromBuffer(value)); + static final _$createRobotPartSecret = $grpc.ClientMethod<$9.CreateRobotPartSecretRequest, $9.CreateRobotPartSecretResponse>( '/viam.app.v1.AppService/CreateRobotPartSecret', - ($8.CreateRobotPartSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.CreateRobotPartSecretResponse.fromBuffer(value)); - static final _$deleteRobotPartSecret = $grpc.ClientMethod<$8.DeleteRobotPartSecretRequest, $8.DeleteRobotPartSecretResponse>( + ($9.CreateRobotPartSecretRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.CreateRobotPartSecretResponse.fromBuffer(value)); + static final _$deleteRobotPartSecret = $grpc.ClientMethod<$9.DeleteRobotPartSecretRequest, $9.DeleteRobotPartSecretResponse>( '/viam.app.v1.AppService/DeleteRobotPartSecret', - ($8.DeleteRobotPartSecretRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.DeleteRobotPartSecretResponse.fromBuffer(value)); - static final _$listRobots = $grpc.ClientMethod<$8.ListRobotsRequest, $8.ListRobotsResponse>( + ($9.DeleteRobotPartSecretRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.DeleteRobotPartSecretResponse.fromBuffer(value)); + static final _$listRobots = $grpc.ClientMethod<$9.ListRobotsRequest, $9.ListRobotsResponse>( '/viam.app.v1.AppService/ListRobots', - ($8.ListRobotsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ListRobotsResponse.fromBuffer(value)); - static final _$newRobot = $grpc.ClientMethod<$8.NewRobotRequest, $8.NewRobotResponse>( + ($9.ListRobotsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ListRobotsResponse.fromBuffer(value)); + static final _$newRobot = $grpc.ClientMethod<$9.NewRobotRequest, $9.NewRobotResponse>( '/viam.app.v1.AppService/NewRobot', - ($8.NewRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.NewRobotResponse.fromBuffer(value)); - static final _$updateRobot = $grpc.ClientMethod<$8.UpdateRobotRequest, $8.UpdateRobotResponse>( + ($9.NewRobotRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.NewRobotResponse.fromBuffer(value)); + static final _$updateRobot = $grpc.ClientMethod<$9.UpdateRobotRequest, $9.UpdateRobotResponse>( '/viam.app.v1.AppService/UpdateRobot', - ($8.UpdateRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.UpdateRobotResponse.fromBuffer(value)); - static final _$deleteRobot = $grpc.ClientMethod<$8.DeleteRobotRequest, $8.DeleteRobotResponse>( + ($9.UpdateRobotRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.UpdateRobotResponse.fromBuffer(value)); + static final _$deleteRobot = $grpc.ClientMethod<$9.DeleteRobotRequest, $9.DeleteRobotResponse>( '/viam.app.v1.AppService/DeleteRobot', - ($8.DeleteRobotRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.DeleteRobotResponse.fromBuffer(value)); - static final _$listFragments = $grpc.ClientMethod<$8.ListFragmentsRequest, $8.ListFragmentsResponse>( + ($9.DeleteRobotRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.DeleteRobotResponse.fromBuffer(value)); + static final _$listFragments = $grpc.ClientMethod<$9.ListFragmentsRequest, $9.ListFragmentsResponse>( '/viam.app.v1.AppService/ListFragments', - ($8.ListFragmentsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ListFragmentsResponse.fromBuffer(value)); - static final _$getFragment = $grpc.ClientMethod<$8.GetFragmentRequest, $8.GetFragmentResponse>( + ($9.ListFragmentsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ListFragmentsResponse.fromBuffer(value)); + static final _$getFragment = $grpc.ClientMethod<$9.GetFragmentRequest, $9.GetFragmentResponse>( '/viam.app.v1.AppService/GetFragment', - ($8.GetFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetFragmentResponse.fromBuffer(value)); - static final _$createFragment = $grpc.ClientMethod<$8.CreateFragmentRequest, $8.CreateFragmentResponse>( + ($9.GetFragmentRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetFragmentResponse.fromBuffer(value)); + static final _$createFragment = $grpc.ClientMethod<$9.CreateFragmentRequest, $9.CreateFragmentResponse>( '/viam.app.v1.AppService/CreateFragment', - ($8.CreateFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.CreateFragmentResponse.fromBuffer(value)); - static final _$updateFragment = $grpc.ClientMethod<$8.UpdateFragmentRequest, $8.UpdateFragmentResponse>( + ($9.CreateFragmentRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.CreateFragmentResponse.fromBuffer(value)); + static final _$updateFragment = $grpc.ClientMethod<$9.UpdateFragmentRequest, $9.UpdateFragmentResponse>( '/viam.app.v1.AppService/UpdateFragment', - ($8.UpdateFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.UpdateFragmentResponse.fromBuffer(value)); - static final _$deleteFragment = $grpc.ClientMethod<$8.DeleteFragmentRequest, $8.DeleteFragmentResponse>( + ($9.UpdateFragmentRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.UpdateFragmentResponse.fromBuffer(value)); + static final _$deleteFragment = $grpc.ClientMethod<$9.DeleteFragmentRequest, $9.DeleteFragmentResponse>( '/viam.app.v1.AppService/DeleteFragment', - ($8.DeleteFragmentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.DeleteFragmentResponse.fromBuffer(value)); - static final _$listMachineFragments = $grpc.ClientMethod<$8.ListMachineFragmentsRequest, $8.ListMachineFragmentsResponse>( + ($9.DeleteFragmentRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.DeleteFragmentResponse.fromBuffer(value)); + static final _$listMachineFragments = $grpc.ClientMethod<$9.ListMachineFragmentsRequest, $9.ListMachineFragmentsResponse>( '/viam.app.v1.AppService/ListMachineFragments', - ($8.ListMachineFragmentsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ListMachineFragmentsResponse.fromBuffer(value)); - static final _$getFragmentHistory = $grpc.ClientMethod<$8.GetFragmentHistoryRequest, $8.GetFragmentHistoryResponse>( + ($9.ListMachineFragmentsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ListMachineFragmentsResponse.fromBuffer(value)); + static final _$getFragmentHistory = $grpc.ClientMethod<$9.GetFragmentHistoryRequest, $9.GetFragmentHistoryResponse>( '/viam.app.v1.AppService/GetFragmentHistory', - ($8.GetFragmentHistoryRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetFragmentHistoryResponse.fromBuffer(value)); - static final _$addRole = $grpc.ClientMethod<$8.AddRoleRequest, $8.AddRoleResponse>( + ($9.GetFragmentHistoryRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetFragmentHistoryResponse.fromBuffer(value)); + static final _$addRole = $grpc.ClientMethod<$9.AddRoleRequest, $9.AddRoleResponse>( '/viam.app.v1.AppService/AddRole', - ($8.AddRoleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.AddRoleResponse.fromBuffer(value)); - static final _$removeRole = $grpc.ClientMethod<$8.RemoveRoleRequest, $8.RemoveRoleResponse>( + ($9.AddRoleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.AddRoleResponse.fromBuffer(value)); + static final _$removeRole = $grpc.ClientMethod<$9.RemoveRoleRequest, $9.RemoveRoleResponse>( '/viam.app.v1.AppService/RemoveRole', - ($8.RemoveRoleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.RemoveRoleResponse.fromBuffer(value)); - static final _$changeRole = $grpc.ClientMethod<$8.ChangeRoleRequest, $8.ChangeRoleResponse>( + ($9.RemoveRoleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.RemoveRoleResponse.fromBuffer(value)); + static final _$changeRole = $grpc.ClientMethod<$9.ChangeRoleRequest, $9.ChangeRoleResponse>( '/viam.app.v1.AppService/ChangeRole', - ($8.ChangeRoleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ChangeRoleResponse.fromBuffer(value)); - static final _$listAuthorizations = $grpc.ClientMethod<$8.ListAuthorizationsRequest, $8.ListAuthorizationsResponse>( + ($9.ChangeRoleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ChangeRoleResponse.fromBuffer(value)); + static final _$listAuthorizations = $grpc.ClientMethod<$9.ListAuthorizationsRequest, $9.ListAuthorizationsResponse>( '/viam.app.v1.AppService/ListAuthorizations', - ($8.ListAuthorizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ListAuthorizationsResponse.fromBuffer(value)); - static final _$checkPermissions = $grpc.ClientMethod<$8.CheckPermissionsRequest, $8.CheckPermissionsResponse>( + ($9.ListAuthorizationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ListAuthorizationsResponse.fromBuffer(value)); + static final _$checkPermissions = $grpc.ClientMethod<$9.CheckPermissionsRequest, $9.CheckPermissionsResponse>( '/viam.app.v1.AppService/CheckPermissions', - ($8.CheckPermissionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.CheckPermissionsResponse.fromBuffer(value)); - static final _$getRegistryItem = $grpc.ClientMethod<$8.GetRegistryItemRequest, $8.GetRegistryItemResponse>( + ($9.CheckPermissionsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.CheckPermissionsResponse.fromBuffer(value)); + static final _$getRegistryItem = $grpc.ClientMethod<$9.GetRegistryItemRequest, $9.GetRegistryItemResponse>( '/viam.app.v1.AppService/GetRegistryItem', - ($8.GetRegistryItemRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetRegistryItemResponse.fromBuffer(value)); - static final _$createRegistryItem = $grpc.ClientMethod<$8.CreateRegistryItemRequest, $8.CreateRegistryItemResponse>( + ($9.GetRegistryItemRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetRegistryItemResponse.fromBuffer(value)); + static final _$createRegistryItem = $grpc.ClientMethod<$9.CreateRegistryItemRequest, $9.CreateRegistryItemResponse>( '/viam.app.v1.AppService/CreateRegistryItem', - ($8.CreateRegistryItemRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.CreateRegistryItemResponse.fromBuffer(value)); - static final _$updateRegistryItem = $grpc.ClientMethod<$8.UpdateRegistryItemRequest, $8.UpdateRegistryItemResponse>( + ($9.CreateRegistryItemRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.CreateRegistryItemResponse.fromBuffer(value)); + static final _$updateRegistryItem = $grpc.ClientMethod<$9.UpdateRegistryItemRequest, $9.UpdateRegistryItemResponse>( '/viam.app.v1.AppService/UpdateRegistryItem', - ($8.UpdateRegistryItemRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.UpdateRegistryItemResponse.fromBuffer(value)); - static final _$listRegistryItems = $grpc.ClientMethod<$8.ListRegistryItemsRequest, $8.ListRegistryItemsResponse>( + ($9.UpdateRegistryItemRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.UpdateRegistryItemResponse.fromBuffer(value)); + static final _$listRegistryItems = $grpc.ClientMethod<$9.ListRegistryItemsRequest, $9.ListRegistryItemsResponse>( '/viam.app.v1.AppService/ListRegistryItems', - ($8.ListRegistryItemsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ListRegistryItemsResponse.fromBuffer(value)); - static final _$deleteRegistryItem = $grpc.ClientMethod<$8.DeleteRegistryItemRequest, $8.DeleteRegistryItemResponse>( + ($9.ListRegistryItemsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ListRegistryItemsResponse.fromBuffer(value)); + static final _$deleteRegistryItem = $grpc.ClientMethod<$9.DeleteRegistryItemRequest, $9.DeleteRegistryItemResponse>( '/viam.app.v1.AppService/DeleteRegistryItem', - ($8.DeleteRegistryItemRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.DeleteRegistryItemResponse.fromBuffer(value)); - static final _$transferRegistryItem = $grpc.ClientMethod<$8.TransferRegistryItemRequest, $8.TransferRegistryItemResponse>( + ($9.DeleteRegistryItemRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.DeleteRegistryItemResponse.fromBuffer(value)); + static final _$transferRegistryItem = $grpc.ClientMethod<$9.TransferRegistryItemRequest, $9.TransferRegistryItemResponse>( '/viam.app.v1.AppService/TransferRegistryItem', - ($8.TransferRegistryItemRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.TransferRegistryItemResponse.fromBuffer(value)); - static final _$createModule = $grpc.ClientMethod<$8.CreateModuleRequest, $8.CreateModuleResponse>( + ($9.TransferRegistryItemRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.TransferRegistryItemResponse.fromBuffer(value)); + static final _$createModule = $grpc.ClientMethod<$9.CreateModuleRequest, $9.CreateModuleResponse>( '/viam.app.v1.AppService/CreateModule', - ($8.CreateModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.CreateModuleResponse.fromBuffer(value)); - static final _$updateModule = $grpc.ClientMethod<$8.UpdateModuleRequest, $8.UpdateModuleResponse>( + ($9.CreateModuleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.CreateModuleResponse.fromBuffer(value)); + static final _$updateModule = $grpc.ClientMethod<$9.UpdateModuleRequest, $9.UpdateModuleResponse>( '/viam.app.v1.AppService/UpdateModule', - ($8.UpdateModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.UpdateModuleResponse.fromBuffer(value)); - static final _$uploadModuleFile = $grpc.ClientMethod<$8.UploadModuleFileRequest, $8.UploadModuleFileResponse>( + ($9.UpdateModuleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.UpdateModuleResponse.fromBuffer(value)); + static final _$uploadModuleFile = $grpc.ClientMethod<$9.UploadModuleFileRequest, $9.UploadModuleFileResponse>( '/viam.app.v1.AppService/UploadModuleFile', - ($8.UploadModuleFileRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.UploadModuleFileResponse.fromBuffer(value)); - static final _$getModule = $grpc.ClientMethod<$8.GetModuleRequest, $8.GetModuleResponse>( + ($9.UploadModuleFileRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.UploadModuleFileResponse.fromBuffer(value)); + static final _$getModule = $grpc.ClientMethod<$9.GetModuleRequest, $9.GetModuleResponse>( '/viam.app.v1.AppService/GetModule', - ($8.GetModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.GetModuleResponse.fromBuffer(value)); - static final _$listModules = $grpc.ClientMethod<$8.ListModulesRequest, $8.ListModulesResponse>( + ($9.GetModuleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.GetModuleResponse.fromBuffer(value)); + static final _$listModules = $grpc.ClientMethod<$9.ListModulesRequest, $9.ListModulesResponse>( '/viam.app.v1.AppService/ListModules', - ($8.ListModulesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ListModulesResponse.fromBuffer(value)); - static final _$createKey = $grpc.ClientMethod<$8.CreateKeyRequest, $8.CreateKeyResponse>( + ($9.ListModulesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ListModulesResponse.fromBuffer(value)); + static final _$createKey = $grpc.ClientMethod<$9.CreateKeyRequest, $9.CreateKeyResponse>( '/viam.app.v1.AppService/CreateKey', - ($8.CreateKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.CreateKeyResponse.fromBuffer(value)); - static final _$deleteKey = $grpc.ClientMethod<$8.DeleteKeyRequest, $8.DeleteKeyResponse>( + ($9.CreateKeyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.CreateKeyResponse.fromBuffer(value)); + static final _$deleteKey = $grpc.ClientMethod<$9.DeleteKeyRequest, $9.DeleteKeyResponse>( '/viam.app.v1.AppService/DeleteKey', - ($8.DeleteKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.DeleteKeyResponse.fromBuffer(value)); - static final _$listKeys = $grpc.ClientMethod<$8.ListKeysRequest, $8.ListKeysResponse>( + ($9.DeleteKeyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.DeleteKeyResponse.fromBuffer(value)); + static final _$listKeys = $grpc.ClientMethod<$9.ListKeysRequest, $9.ListKeysResponse>( '/viam.app.v1.AppService/ListKeys', - ($8.ListKeysRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.ListKeysResponse.fromBuffer(value)); - static final _$renameKey = $grpc.ClientMethod<$8.RenameKeyRequest, $8.RenameKeyResponse>( + ($9.ListKeysRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.ListKeysResponse.fromBuffer(value)); + static final _$renameKey = $grpc.ClientMethod<$9.RenameKeyRequest, $9.RenameKeyResponse>( '/viam.app.v1.AppService/RenameKey', - ($8.RenameKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.RenameKeyResponse.fromBuffer(value)); - static final _$rotateKey = $grpc.ClientMethod<$8.RotateKeyRequest, $8.RotateKeyResponse>( + ($9.RenameKeyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.RenameKeyResponse.fromBuffer(value)); + static final _$rotateKey = $grpc.ClientMethod<$9.RotateKeyRequest, $9.RotateKeyResponse>( '/viam.app.v1.AppService/RotateKey', - ($8.RotateKeyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.RotateKeyResponse.fromBuffer(value)); - static final _$createKeyFromExistingKeyAuthorizations = $grpc.ClientMethod<$8.CreateKeyFromExistingKeyAuthorizationsRequest, $8.CreateKeyFromExistingKeyAuthorizationsResponse>( + ($9.RotateKeyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.RotateKeyResponse.fromBuffer(value)); + static final _$createKeyFromExistingKeyAuthorizations = $grpc.ClientMethod<$9.CreateKeyFromExistingKeyAuthorizationsRequest, $9.CreateKeyFromExistingKeyAuthorizationsResponse>( '/viam.app.v1.AppService/CreateKeyFromExistingKeyAuthorizations', - ($8.CreateKeyFromExistingKeyAuthorizationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $8.CreateKeyFromExistingKeyAuthorizationsResponse.fromBuffer(value)); + ($9.CreateKeyFromExistingKeyAuthorizationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $9.CreateKeyFromExistingKeyAuthorizationsResponse.fromBuffer(value)); AppServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -320,295 +320,295 @@ class AppServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$8.GetUserIDByEmailResponse> getUserIDByEmail($8.GetUserIDByEmailRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetUserIDByEmailResponse> getUserIDByEmail($9.GetUserIDByEmailRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getUserIDByEmail, request, options: options); } - $grpc.ResponseFuture<$8.CreateOrganizationResponse> createOrganization($8.CreateOrganizationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.CreateOrganizationResponse> createOrganization($9.CreateOrganizationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createOrganization, request, options: options); } - $grpc.ResponseFuture<$8.ListOrganizationsResponse> listOrganizations($8.ListOrganizationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ListOrganizationsResponse> listOrganizations($9.ListOrganizationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listOrganizations, request, options: options); } - $grpc.ResponseFuture<$8.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation($8.GetOrganizationsWithAccessToLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation($9.GetOrganizationsWithAccessToLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getOrganizationsWithAccessToLocation, request, options: options); } - $grpc.ResponseFuture<$8.ListOrganizationsByUserResponse> listOrganizationsByUser($8.ListOrganizationsByUserRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ListOrganizationsByUserResponse> listOrganizationsByUser($9.ListOrganizationsByUserRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listOrganizationsByUser, request, options: options); } - $grpc.ResponseFuture<$8.GetOrganizationResponse> getOrganization($8.GetOrganizationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetOrganizationResponse> getOrganization($9.GetOrganizationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getOrganization, request, options: options); } - $grpc.ResponseFuture<$8.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability($8.GetOrganizationNamespaceAvailabilityRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability($9.GetOrganizationNamespaceAvailabilityRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getOrganizationNamespaceAvailability, request, options: options); } - $grpc.ResponseFuture<$8.UpdateOrganizationResponse> updateOrganization($8.UpdateOrganizationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.UpdateOrganizationResponse> updateOrganization($9.UpdateOrganizationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateOrganization, request, options: options); } - $grpc.ResponseFuture<$8.DeleteOrganizationResponse> deleteOrganization($8.DeleteOrganizationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.DeleteOrganizationResponse> deleteOrganization($9.DeleteOrganizationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteOrganization, request, options: options); } - $grpc.ResponseFuture<$8.ListOrganizationMembersResponse> listOrganizationMembers($8.ListOrganizationMembersRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ListOrganizationMembersResponse> listOrganizationMembers($9.ListOrganizationMembersRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listOrganizationMembers, request, options: options); } - $grpc.ResponseFuture<$8.CreateOrganizationInviteResponse> createOrganizationInvite($8.CreateOrganizationInviteRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.CreateOrganizationInviteResponse> createOrganizationInvite($9.CreateOrganizationInviteRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createOrganizationInvite, request, options: options); } - $grpc.ResponseFuture<$8.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations($8.UpdateOrganizationInviteAuthorizationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations($9.UpdateOrganizationInviteAuthorizationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateOrganizationInviteAuthorizations, request, options: options); } - $grpc.ResponseFuture<$8.DeleteOrganizationMemberResponse> deleteOrganizationMember($8.DeleteOrganizationMemberRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.DeleteOrganizationMemberResponse> deleteOrganizationMember($9.DeleteOrganizationMemberRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteOrganizationMember, request, options: options); } - $grpc.ResponseFuture<$8.DeleteOrganizationInviteResponse> deleteOrganizationInvite($8.DeleteOrganizationInviteRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.DeleteOrganizationInviteResponse> deleteOrganizationInvite($9.DeleteOrganizationInviteRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteOrganizationInvite, request, options: options); } - $grpc.ResponseFuture<$8.ResendOrganizationInviteResponse> resendOrganizationInvite($8.ResendOrganizationInviteRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ResendOrganizationInviteResponse> resendOrganizationInvite($9.ResendOrganizationInviteRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$resendOrganizationInvite, request, options: options); } - $grpc.ResponseFuture<$8.CreateLocationResponse> createLocation($8.CreateLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.CreateLocationResponse> createLocation($9.CreateLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createLocation, request, options: options); } - $grpc.ResponseFuture<$8.GetLocationResponse> getLocation($8.GetLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetLocationResponse> getLocation($9.GetLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getLocation, request, options: options); } - $grpc.ResponseFuture<$8.UpdateLocationResponse> updateLocation($8.UpdateLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.UpdateLocationResponse> updateLocation($9.UpdateLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateLocation, request, options: options); } - $grpc.ResponseFuture<$8.DeleteLocationResponse> deleteLocation($8.DeleteLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.DeleteLocationResponse> deleteLocation($9.DeleteLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteLocation, request, options: options); } - $grpc.ResponseFuture<$8.ListLocationsResponse> listLocations($8.ListLocationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ListLocationsResponse> listLocations($9.ListLocationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listLocations, request, options: options); } - $grpc.ResponseFuture<$8.ShareLocationResponse> shareLocation($8.ShareLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ShareLocationResponse> shareLocation($9.ShareLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$shareLocation, request, options: options); } - $grpc.ResponseFuture<$8.UnshareLocationResponse> unshareLocation($8.UnshareLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.UnshareLocationResponse> unshareLocation($9.UnshareLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$unshareLocation, request, options: options); } - $grpc.ResponseFuture<$8.LocationAuthResponse> locationAuth($8.LocationAuthRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.LocationAuthResponse> locationAuth($9.LocationAuthRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$locationAuth, request, options: options); } - $grpc.ResponseFuture<$8.CreateLocationSecretResponse> createLocationSecret($8.CreateLocationSecretRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.CreateLocationSecretResponse> createLocationSecret($9.CreateLocationSecretRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createLocationSecret, request, options: options); } - $grpc.ResponseFuture<$8.DeleteLocationSecretResponse> deleteLocationSecret($8.DeleteLocationSecretRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.DeleteLocationSecretResponse> deleteLocationSecret($9.DeleteLocationSecretRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteLocationSecret, request, options: options); } - $grpc.ResponseFuture<$8.GetRobotResponse> getRobot($8.GetRobotRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetRobotResponse> getRobot($9.GetRobotRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobot, request, options: options); } - $grpc.ResponseFuture<$8.GetRoverRentalRobotsResponse> getRoverRentalRobots($8.GetRoverRentalRobotsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetRoverRentalRobotsResponse> getRoverRentalRobots($9.GetRoverRentalRobotsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRoverRentalRobots, request, options: options); } - $grpc.ResponseFuture<$8.GetRobotPartsResponse> getRobotParts($8.GetRobotPartsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetRobotPartsResponse> getRobotParts($9.GetRobotPartsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotParts, request, options: options); } - $grpc.ResponseFuture<$8.GetRobotPartResponse> getRobotPart($8.GetRobotPartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetRobotPartResponse> getRobotPart($9.GetRobotPartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotPart, request, options: options); } - $grpc.ResponseFuture<$8.GetRobotPartLogsResponse> getRobotPartLogs($8.GetRobotPartLogsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetRobotPartLogsResponse> getRobotPartLogs($9.GetRobotPartLogsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotPartLogs, request, options: options); } - $grpc.ResponseStream<$8.TailRobotPartLogsResponse> tailRobotPartLogs($8.TailRobotPartLogsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$9.TailRobotPartLogsResponse> tailRobotPartLogs($9.TailRobotPartLogsRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$tailRobotPartLogs, $async.Stream.fromIterable([request]), options: options); } - $grpc.ResponseFuture<$8.GetRobotPartHistoryResponse> getRobotPartHistory($8.GetRobotPartHistoryRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetRobotPartHistoryResponse> getRobotPartHistory($9.GetRobotPartHistoryRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotPartHistory, request, options: options); } - $grpc.ResponseFuture<$8.UpdateRobotPartResponse> updateRobotPart($8.UpdateRobotPartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.UpdateRobotPartResponse> updateRobotPart($9.UpdateRobotPartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateRobotPart, request, options: options); } - $grpc.ResponseFuture<$8.NewRobotPartResponse> newRobotPart($8.NewRobotPartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.NewRobotPartResponse> newRobotPart($9.NewRobotPartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$newRobotPart, request, options: options); } - $grpc.ResponseFuture<$8.DeleteRobotPartResponse> deleteRobotPart($8.DeleteRobotPartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.DeleteRobotPartResponse> deleteRobotPart($9.DeleteRobotPartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteRobotPart, request, options: options); } - $grpc.ResponseFuture<$8.GetRobotAPIKeysResponse> getRobotAPIKeys($8.GetRobotAPIKeysRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetRobotAPIKeysResponse> getRobotAPIKeys($9.GetRobotAPIKeysRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRobotAPIKeys, request, options: options); } - $grpc.ResponseFuture<$8.MarkPartAsMainResponse> markPartAsMain($8.MarkPartAsMainRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.MarkPartAsMainResponse> markPartAsMain($9.MarkPartAsMainRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$markPartAsMain, request, options: options); } - $grpc.ResponseFuture<$8.MarkPartForRestartResponse> markPartForRestart($8.MarkPartForRestartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.MarkPartForRestartResponse> markPartForRestart($9.MarkPartForRestartRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$markPartForRestart, request, options: options); } - $grpc.ResponseFuture<$8.CreateRobotPartSecretResponse> createRobotPartSecret($8.CreateRobotPartSecretRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.CreateRobotPartSecretResponse> createRobotPartSecret($9.CreateRobotPartSecretRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createRobotPartSecret, request, options: options); } - $grpc.ResponseFuture<$8.DeleteRobotPartSecretResponse> deleteRobotPartSecret($8.DeleteRobotPartSecretRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.DeleteRobotPartSecretResponse> deleteRobotPartSecret($9.DeleteRobotPartSecretRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteRobotPartSecret, request, options: options); } - $grpc.ResponseFuture<$8.ListRobotsResponse> listRobots($8.ListRobotsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ListRobotsResponse> listRobots($9.ListRobotsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listRobots, request, options: options); } - $grpc.ResponseFuture<$8.NewRobotResponse> newRobot($8.NewRobotRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.NewRobotResponse> newRobot($9.NewRobotRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$newRobot, request, options: options); } - $grpc.ResponseFuture<$8.UpdateRobotResponse> updateRobot($8.UpdateRobotRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.UpdateRobotResponse> updateRobot($9.UpdateRobotRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateRobot, request, options: options); } - $grpc.ResponseFuture<$8.DeleteRobotResponse> deleteRobot($8.DeleteRobotRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.DeleteRobotResponse> deleteRobot($9.DeleteRobotRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteRobot, request, options: options); } - $grpc.ResponseFuture<$8.ListFragmentsResponse> listFragments($8.ListFragmentsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ListFragmentsResponse> listFragments($9.ListFragmentsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listFragments, request, options: options); } - $grpc.ResponseFuture<$8.GetFragmentResponse> getFragment($8.GetFragmentRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetFragmentResponse> getFragment($9.GetFragmentRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getFragment, request, options: options); } - $grpc.ResponseFuture<$8.CreateFragmentResponse> createFragment($8.CreateFragmentRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.CreateFragmentResponse> createFragment($9.CreateFragmentRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createFragment, request, options: options); } - $grpc.ResponseFuture<$8.UpdateFragmentResponse> updateFragment($8.UpdateFragmentRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.UpdateFragmentResponse> updateFragment($9.UpdateFragmentRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateFragment, request, options: options); } - $grpc.ResponseFuture<$8.DeleteFragmentResponse> deleteFragment($8.DeleteFragmentRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.DeleteFragmentResponse> deleteFragment($9.DeleteFragmentRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteFragment, request, options: options); } - $grpc.ResponseFuture<$8.ListMachineFragmentsResponse> listMachineFragments($8.ListMachineFragmentsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ListMachineFragmentsResponse> listMachineFragments($9.ListMachineFragmentsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listMachineFragments, request, options: options); } - $grpc.ResponseFuture<$8.GetFragmentHistoryResponse> getFragmentHistory($8.GetFragmentHistoryRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetFragmentHistoryResponse> getFragmentHistory($9.GetFragmentHistoryRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getFragmentHistory, request, options: options); } - $grpc.ResponseFuture<$8.AddRoleResponse> addRole($8.AddRoleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.AddRoleResponse> addRole($9.AddRoleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$addRole, request, options: options); } - $grpc.ResponseFuture<$8.RemoveRoleResponse> removeRole($8.RemoveRoleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.RemoveRoleResponse> removeRole($9.RemoveRoleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$removeRole, request, options: options); } - $grpc.ResponseFuture<$8.ChangeRoleResponse> changeRole($8.ChangeRoleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ChangeRoleResponse> changeRole($9.ChangeRoleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$changeRole, request, options: options); } - $grpc.ResponseFuture<$8.ListAuthorizationsResponse> listAuthorizations($8.ListAuthorizationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ListAuthorizationsResponse> listAuthorizations($9.ListAuthorizationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listAuthorizations, request, options: options); } - $grpc.ResponseFuture<$8.CheckPermissionsResponse> checkPermissions($8.CheckPermissionsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.CheckPermissionsResponse> checkPermissions($9.CheckPermissionsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$checkPermissions, request, options: options); } - $grpc.ResponseFuture<$8.GetRegistryItemResponse> getRegistryItem($8.GetRegistryItemRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetRegistryItemResponse> getRegistryItem($9.GetRegistryItemRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getRegistryItem, request, options: options); } - $grpc.ResponseFuture<$8.CreateRegistryItemResponse> createRegistryItem($8.CreateRegistryItemRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.CreateRegistryItemResponse> createRegistryItem($9.CreateRegistryItemRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createRegistryItem, request, options: options); } - $grpc.ResponseFuture<$8.UpdateRegistryItemResponse> updateRegistryItem($8.UpdateRegistryItemRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.UpdateRegistryItemResponse> updateRegistryItem($9.UpdateRegistryItemRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateRegistryItem, request, options: options); } - $grpc.ResponseFuture<$8.ListRegistryItemsResponse> listRegistryItems($8.ListRegistryItemsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ListRegistryItemsResponse> listRegistryItems($9.ListRegistryItemsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listRegistryItems, request, options: options); } - $grpc.ResponseFuture<$8.DeleteRegistryItemResponse> deleteRegistryItem($8.DeleteRegistryItemRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.DeleteRegistryItemResponse> deleteRegistryItem($9.DeleteRegistryItemRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteRegistryItem, request, options: options); } - $grpc.ResponseFuture<$8.TransferRegistryItemResponse> transferRegistryItem($8.TransferRegistryItemRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.TransferRegistryItemResponse> transferRegistryItem($9.TransferRegistryItemRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$transferRegistryItem, request, options: options); } - $grpc.ResponseFuture<$8.CreateModuleResponse> createModule($8.CreateModuleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.CreateModuleResponse> createModule($9.CreateModuleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createModule, request, options: options); } - $grpc.ResponseFuture<$8.UpdateModuleResponse> updateModule($8.UpdateModuleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.UpdateModuleResponse> updateModule($9.UpdateModuleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateModule, request, options: options); } - $grpc.ResponseFuture<$8.UploadModuleFileResponse> uploadModuleFile($async.Stream<$8.UploadModuleFileRequest> request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.UploadModuleFileResponse> uploadModuleFile($async.Stream<$9.UploadModuleFileRequest> request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$uploadModuleFile, request, options: options).single; } - $grpc.ResponseFuture<$8.GetModuleResponse> getModule($8.GetModuleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.GetModuleResponse> getModule($9.GetModuleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getModule, request, options: options); } - $grpc.ResponseFuture<$8.ListModulesResponse> listModules($8.ListModulesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ListModulesResponse> listModules($9.ListModulesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listModules, request, options: options); } - $grpc.ResponseFuture<$8.CreateKeyResponse> createKey($8.CreateKeyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.CreateKeyResponse> createKey($9.CreateKeyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createKey, request, options: options); } - $grpc.ResponseFuture<$8.DeleteKeyResponse> deleteKey($8.DeleteKeyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.DeleteKeyResponse> deleteKey($9.DeleteKeyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleteKey, request, options: options); } - $grpc.ResponseFuture<$8.ListKeysResponse> listKeys($8.ListKeysRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.ListKeysResponse> listKeys($9.ListKeysRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listKeys, request, options: options); } - $grpc.ResponseFuture<$8.RenameKeyResponse> renameKey($8.RenameKeyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.RenameKeyResponse> renameKey($9.RenameKeyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$renameKey, request, options: options); } - $grpc.ResponseFuture<$8.RotateKeyResponse> rotateKey($8.RotateKeyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.RotateKeyResponse> rotateKey($9.RotateKeyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$rotateKey, request, options: options); } - $grpc.ResponseFuture<$8.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations($8.CreateKeyFromExistingKeyAuthorizationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$9.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations($9.CreateKeyFromExistingKeyAuthorizationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createKeyFromExistingKeyAuthorizations, request, options: options); } } @@ -618,878 +618,878 @@ abstract class AppServiceBase extends $grpc.Service { $core.String get $name => 'viam.app.v1.AppService'; AppServiceBase() { - $addMethod($grpc.ServiceMethod<$8.GetUserIDByEmailRequest, $8.GetUserIDByEmailResponse>( + $addMethod($grpc.ServiceMethod<$9.GetUserIDByEmailRequest, $9.GetUserIDByEmailResponse>( 'GetUserIDByEmail', getUserIDByEmail_Pre, false, false, - ($core.List<$core.int> value) => $8.GetUserIDByEmailRequest.fromBuffer(value), - ($8.GetUserIDByEmailResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.CreateOrganizationRequest, $8.CreateOrganizationResponse>( + ($core.List<$core.int> value) => $9.GetUserIDByEmailRequest.fromBuffer(value), + ($9.GetUserIDByEmailResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.CreateOrganizationRequest, $9.CreateOrganizationResponse>( 'CreateOrganization', createOrganization_Pre, false, false, - ($core.List<$core.int> value) => $8.CreateOrganizationRequest.fromBuffer(value), - ($8.CreateOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ListOrganizationsRequest, $8.ListOrganizationsResponse>( + ($core.List<$core.int> value) => $9.CreateOrganizationRequest.fromBuffer(value), + ($9.CreateOrganizationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ListOrganizationsRequest, $9.ListOrganizationsResponse>( 'ListOrganizations', listOrganizations_Pre, false, false, - ($core.List<$core.int> value) => $8.ListOrganizationsRequest.fromBuffer(value), - ($8.ListOrganizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetOrganizationsWithAccessToLocationRequest, $8.GetOrganizationsWithAccessToLocationResponse>( + ($core.List<$core.int> value) => $9.ListOrganizationsRequest.fromBuffer(value), + ($9.ListOrganizationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetOrganizationsWithAccessToLocationRequest, $9.GetOrganizationsWithAccessToLocationResponse>( 'GetOrganizationsWithAccessToLocation', getOrganizationsWithAccessToLocation_Pre, false, false, - ($core.List<$core.int> value) => $8.GetOrganizationsWithAccessToLocationRequest.fromBuffer(value), - ($8.GetOrganizationsWithAccessToLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ListOrganizationsByUserRequest, $8.ListOrganizationsByUserResponse>( + ($core.List<$core.int> value) => $9.GetOrganizationsWithAccessToLocationRequest.fromBuffer(value), + ($9.GetOrganizationsWithAccessToLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ListOrganizationsByUserRequest, $9.ListOrganizationsByUserResponse>( 'ListOrganizationsByUser', listOrganizationsByUser_Pre, false, false, - ($core.List<$core.int> value) => $8.ListOrganizationsByUserRequest.fromBuffer(value), - ($8.ListOrganizationsByUserResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetOrganizationRequest, $8.GetOrganizationResponse>( + ($core.List<$core.int> value) => $9.ListOrganizationsByUserRequest.fromBuffer(value), + ($9.ListOrganizationsByUserResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetOrganizationRequest, $9.GetOrganizationResponse>( 'GetOrganization', getOrganization_Pre, false, false, - ($core.List<$core.int> value) => $8.GetOrganizationRequest.fromBuffer(value), - ($8.GetOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetOrganizationNamespaceAvailabilityRequest, $8.GetOrganizationNamespaceAvailabilityResponse>( + ($core.List<$core.int> value) => $9.GetOrganizationRequest.fromBuffer(value), + ($9.GetOrganizationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetOrganizationNamespaceAvailabilityRequest, $9.GetOrganizationNamespaceAvailabilityResponse>( 'GetOrganizationNamespaceAvailability', getOrganizationNamespaceAvailability_Pre, false, false, - ($core.List<$core.int> value) => $8.GetOrganizationNamespaceAvailabilityRequest.fromBuffer(value), - ($8.GetOrganizationNamespaceAvailabilityResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.UpdateOrganizationRequest, $8.UpdateOrganizationResponse>( + ($core.List<$core.int> value) => $9.GetOrganizationNamespaceAvailabilityRequest.fromBuffer(value), + ($9.GetOrganizationNamespaceAvailabilityResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.UpdateOrganizationRequest, $9.UpdateOrganizationResponse>( 'UpdateOrganization', updateOrganization_Pre, false, false, - ($core.List<$core.int> value) => $8.UpdateOrganizationRequest.fromBuffer(value), - ($8.UpdateOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.DeleteOrganizationRequest, $8.DeleteOrganizationResponse>( + ($core.List<$core.int> value) => $9.UpdateOrganizationRequest.fromBuffer(value), + ($9.UpdateOrganizationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.DeleteOrganizationRequest, $9.DeleteOrganizationResponse>( 'DeleteOrganization', deleteOrganization_Pre, false, false, - ($core.List<$core.int> value) => $8.DeleteOrganizationRequest.fromBuffer(value), - ($8.DeleteOrganizationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ListOrganizationMembersRequest, $8.ListOrganizationMembersResponse>( + ($core.List<$core.int> value) => $9.DeleteOrganizationRequest.fromBuffer(value), + ($9.DeleteOrganizationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ListOrganizationMembersRequest, $9.ListOrganizationMembersResponse>( 'ListOrganizationMembers', listOrganizationMembers_Pre, false, false, - ($core.List<$core.int> value) => $8.ListOrganizationMembersRequest.fromBuffer(value), - ($8.ListOrganizationMembersResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.CreateOrganizationInviteRequest, $8.CreateOrganizationInviteResponse>( + ($core.List<$core.int> value) => $9.ListOrganizationMembersRequest.fromBuffer(value), + ($9.ListOrganizationMembersResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.CreateOrganizationInviteRequest, $9.CreateOrganizationInviteResponse>( 'CreateOrganizationInvite', createOrganizationInvite_Pre, false, false, - ($core.List<$core.int> value) => $8.CreateOrganizationInviteRequest.fromBuffer(value), - ($8.CreateOrganizationInviteResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.UpdateOrganizationInviteAuthorizationsRequest, $8.UpdateOrganizationInviteAuthorizationsResponse>( + ($core.List<$core.int> value) => $9.CreateOrganizationInviteRequest.fromBuffer(value), + ($9.CreateOrganizationInviteResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.UpdateOrganizationInviteAuthorizationsRequest, $9.UpdateOrganizationInviteAuthorizationsResponse>( 'UpdateOrganizationInviteAuthorizations', updateOrganizationInviteAuthorizations_Pre, false, false, - ($core.List<$core.int> value) => $8.UpdateOrganizationInviteAuthorizationsRequest.fromBuffer(value), - ($8.UpdateOrganizationInviteAuthorizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.DeleteOrganizationMemberRequest, $8.DeleteOrganizationMemberResponse>( + ($core.List<$core.int> value) => $9.UpdateOrganizationInviteAuthorizationsRequest.fromBuffer(value), + ($9.UpdateOrganizationInviteAuthorizationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.DeleteOrganizationMemberRequest, $9.DeleteOrganizationMemberResponse>( 'DeleteOrganizationMember', deleteOrganizationMember_Pre, false, false, - ($core.List<$core.int> value) => $8.DeleteOrganizationMemberRequest.fromBuffer(value), - ($8.DeleteOrganizationMemberResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.DeleteOrganizationInviteRequest, $8.DeleteOrganizationInviteResponse>( + ($core.List<$core.int> value) => $9.DeleteOrganizationMemberRequest.fromBuffer(value), + ($9.DeleteOrganizationMemberResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.DeleteOrganizationInviteRequest, $9.DeleteOrganizationInviteResponse>( 'DeleteOrganizationInvite', deleteOrganizationInvite_Pre, false, false, - ($core.List<$core.int> value) => $8.DeleteOrganizationInviteRequest.fromBuffer(value), - ($8.DeleteOrganizationInviteResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ResendOrganizationInviteRequest, $8.ResendOrganizationInviteResponse>( + ($core.List<$core.int> value) => $9.DeleteOrganizationInviteRequest.fromBuffer(value), + ($9.DeleteOrganizationInviteResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ResendOrganizationInviteRequest, $9.ResendOrganizationInviteResponse>( 'ResendOrganizationInvite', resendOrganizationInvite_Pre, false, false, - ($core.List<$core.int> value) => $8.ResendOrganizationInviteRequest.fromBuffer(value), - ($8.ResendOrganizationInviteResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.CreateLocationRequest, $8.CreateLocationResponse>( + ($core.List<$core.int> value) => $9.ResendOrganizationInviteRequest.fromBuffer(value), + ($9.ResendOrganizationInviteResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.CreateLocationRequest, $9.CreateLocationResponse>( 'CreateLocation', createLocation_Pre, false, false, - ($core.List<$core.int> value) => $8.CreateLocationRequest.fromBuffer(value), - ($8.CreateLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetLocationRequest, $8.GetLocationResponse>( + ($core.List<$core.int> value) => $9.CreateLocationRequest.fromBuffer(value), + ($9.CreateLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetLocationRequest, $9.GetLocationResponse>( 'GetLocation', getLocation_Pre, false, false, - ($core.List<$core.int> value) => $8.GetLocationRequest.fromBuffer(value), - ($8.GetLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.UpdateLocationRequest, $8.UpdateLocationResponse>( + ($core.List<$core.int> value) => $9.GetLocationRequest.fromBuffer(value), + ($9.GetLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.UpdateLocationRequest, $9.UpdateLocationResponse>( 'UpdateLocation', updateLocation_Pre, false, false, - ($core.List<$core.int> value) => $8.UpdateLocationRequest.fromBuffer(value), - ($8.UpdateLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.DeleteLocationRequest, $8.DeleteLocationResponse>( + ($core.List<$core.int> value) => $9.UpdateLocationRequest.fromBuffer(value), + ($9.UpdateLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.DeleteLocationRequest, $9.DeleteLocationResponse>( 'DeleteLocation', deleteLocation_Pre, false, false, - ($core.List<$core.int> value) => $8.DeleteLocationRequest.fromBuffer(value), - ($8.DeleteLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ListLocationsRequest, $8.ListLocationsResponse>( + ($core.List<$core.int> value) => $9.DeleteLocationRequest.fromBuffer(value), + ($9.DeleteLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ListLocationsRequest, $9.ListLocationsResponse>( 'ListLocations', listLocations_Pre, false, false, - ($core.List<$core.int> value) => $8.ListLocationsRequest.fromBuffer(value), - ($8.ListLocationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ShareLocationRequest, $8.ShareLocationResponse>( + ($core.List<$core.int> value) => $9.ListLocationsRequest.fromBuffer(value), + ($9.ListLocationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ShareLocationRequest, $9.ShareLocationResponse>( 'ShareLocation', shareLocation_Pre, false, false, - ($core.List<$core.int> value) => $8.ShareLocationRequest.fromBuffer(value), - ($8.ShareLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.UnshareLocationRequest, $8.UnshareLocationResponse>( + ($core.List<$core.int> value) => $9.ShareLocationRequest.fromBuffer(value), + ($9.ShareLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.UnshareLocationRequest, $9.UnshareLocationResponse>( 'UnshareLocation', unshareLocation_Pre, false, false, - ($core.List<$core.int> value) => $8.UnshareLocationRequest.fromBuffer(value), - ($8.UnshareLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.LocationAuthRequest, $8.LocationAuthResponse>( + ($core.List<$core.int> value) => $9.UnshareLocationRequest.fromBuffer(value), + ($9.UnshareLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.LocationAuthRequest, $9.LocationAuthResponse>( 'LocationAuth', locationAuth_Pre, false, false, - ($core.List<$core.int> value) => $8.LocationAuthRequest.fromBuffer(value), - ($8.LocationAuthResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.CreateLocationSecretRequest, $8.CreateLocationSecretResponse>( + ($core.List<$core.int> value) => $9.LocationAuthRequest.fromBuffer(value), + ($9.LocationAuthResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.CreateLocationSecretRequest, $9.CreateLocationSecretResponse>( 'CreateLocationSecret', createLocationSecret_Pre, false, false, - ($core.List<$core.int> value) => $8.CreateLocationSecretRequest.fromBuffer(value), - ($8.CreateLocationSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.DeleteLocationSecretRequest, $8.DeleteLocationSecretResponse>( + ($core.List<$core.int> value) => $9.CreateLocationSecretRequest.fromBuffer(value), + ($9.CreateLocationSecretResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.DeleteLocationSecretRequest, $9.DeleteLocationSecretResponse>( 'DeleteLocationSecret', deleteLocationSecret_Pre, false, false, - ($core.List<$core.int> value) => $8.DeleteLocationSecretRequest.fromBuffer(value), - ($8.DeleteLocationSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetRobotRequest, $8.GetRobotResponse>( + ($core.List<$core.int> value) => $9.DeleteLocationSecretRequest.fromBuffer(value), + ($9.DeleteLocationSecretResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetRobotRequest, $9.GetRobotResponse>( 'GetRobot', getRobot_Pre, false, false, - ($core.List<$core.int> value) => $8.GetRobotRequest.fromBuffer(value), - ($8.GetRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetRoverRentalRobotsRequest, $8.GetRoverRentalRobotsResponse>( + ($core.List<$core.int> value) => $9.GetRobotRequest.fromBuffer(value), + ($9.GetRobotResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetRoverRentalRobotsRequest, $9.GetRoverRentalRobotsResponse>( 'GetRoverRentalRobots', getRoverRentalRobots_Pre, false, false, - ($core.List<$core.int> value) => $8.GetRoverRentalRobotsRequest.fromBuffer(value), - ($8.GetRoverRentalRobotsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetRobotPartsRequest, $8.GetRobotPartsResponse>( + ($core.List<$core.int> value) => $9.GetRoverRentalRobotsRequest.fromBuffer(value), + ($9.GetRoverRentalRobotsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetRobotPartsRequest, $9.GetRobotPartsResponse>( 'GetRobotParts', getRobotParts_Pre, false, false, - ($core.List<$core.int> value) => $8.GetRobotPartsRequest.fromBuffer(value), - ($8.GetRobotPartsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetRobotPartRequest, $8.GetRobotPartResponse>( + ($core.List<$core.int> value) => $9.GetRobotPartsRequest.fromBuffer(value), + ($9.GetRobotPartsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetRobotPartRequest, $9.GetRobotPartResponse>( 'GetRobotPart', getRobotPart_Pre, false, false, - ($core.List<$core.int> value) => $8.GetRobotPartRequest.fromBuffer(value), - ($8.GetRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetRobotPartLogsRequest, $8.GetRobotPartLogsResponse>( + ($core.List<$core.int> value) => $9.GetRobotPartRequest.fromBuffer(value), + ($9.GetRobotPartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetRobotPartLogsRequest, $9.GetRobotPartLogsResponse>( 'GetRobotPartLogs', getRobotPartLogs_Pre, false, false, - ($core.List<$core.int> value) => $8.GetRobotPartLogsRequest.fromBuffer(value), - ($8.GetRobotPartLogsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.TailRobotPartLogsRequest, $8.TailRobotPartLogsResponse>( + ($core.List<$core.int> value) => $9.GetRobotPartLogsRequest.fromBuffer(value), + ($9.GetRobotPartLogsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.TailRobotPartLogsRequest, $9.TailRobotPartLogsResponse>( 'TailRobotPartLogs', tailRobotPartLogs_Pre, false, true, - ($core.List<$core.int> value) => $8.TailRobotPartLogsRequest.fromBuffer(value), - ($8.TailRobotPartLogsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetRobotPartHistoryRequest, $8.GetRobotPartHistoryResponse>( + ($core.List<$core.int> value) => $9.TailRobotPartLogsRequest.fromBuffer(value), + ($9.TailRobotPartLogsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetRobotPartHistoryRequest, $9.GetRobotPartHistoryResponse>( 'GetRobotPartHistory', getRobotPartHistory_Pre, false, false, - ($core.List<$core.int> value) => $8.GetRobotPartHistoryRequest.fromBuffer(value), - ($8.GetRobotPartHistoryResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.UpdateRobotPartRequest, $8.UpdateRobotPartResponse>( + ($core.List<$core.int> value) => $9.GetRobotPartHistoryRequest.fromBuffer(value), + ($9.GetRobotPartHistoryResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.UpdateRobotPartRequest, $9.UpdateRobotPartResponse>( 'UpdateRobotPart', updateRobotPart_Pre, false, false, - ($core.List<$core.int> value) => $8.UpdateRobotPartRequest.fromBuffer(value), - ($8.UpdateRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.NewRobotPartRequest, $8.NewRobotPartResponse>( + ($core.List<$core.int> value) => $9.UpdateRobotPartRequest.fromBuffer(value), + ($9.UpdateRobotPartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.NewRobotPartRequest, $9.NewRobotPartResponse>( 'NewRobotPart', newRobotPart_Pre, false, false, - ($core.List<$core.int> value) => $8.NewRobotPartRequest.fromBuffer(value), - ($8.NewRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.DeleteRobotPartRequest, $8.DeleteRobotPartResponse>( + ($core.List<$core.int> value) => $9.NewRobotPartRequest.fromBuffer(value), + ($9.NewRobotPartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.DeleteRobotPartRequest, $9.DeleteRobotPartResponse>( 'DeleteRobotPart', deleteRobotPart_Pre, false, false, - ($core.List<$core.int> value) => $8.DeleteRobotPartRequest.fromBuffer(value), - ($8.DeleteRobotPartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetRobotAPIKeysRequest, $8.GetRobotAPIKeysResponse>( + ($core.List<$core.int> value) => $9.DeleteRobotPartRequest.fromBuffer(value), + ($9.DeleteRobotPartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetRobotAPIKeysRequest, $9.GetRobotAPIKeysResponse>( 'GetRobotAPIKeys', getRobotAPIKeys_Pre, false, false, - ($core.List<$core.int> value) => $8.GetRobotAPIKeysRequest.fromBuffer(value), - ($8.GetRobotAPIKeysResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.MarkPartAsMainRequest, $8.MarkPartAsMainResponse>( + ($core.List<$core.int> value) => $9.GetRobotAPIKeysRequest.fromBuffer(value), + ($9.GetRobotAPIKeysResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.MarkPartAsMainRequest, $9.MarkPartAsMainResponse>( 'MarkPartAsMain', markPartAsMain_Pre, false, false, - ($core.List<$core.int> value) => $8.MarkPartAsMainRequest.fromBuffer(value), - ($8.MarkPartAsMainResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.MarkPartForRestartRequest, $8.MarkPartForRestartResponse>( + ($core.List<$core.int> value) => $9.MarkPartAsMainRequest.fromBuffer(value), + ($9.MarkPartAsMainResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.MarkPartForRestartRequest, $9.MarkPartForRestartResponse>( 'MarkPartForRestart', markPartForRestart_Pre, false, false, - ($core.List<$core.int> value) => $8.MarkPartForRestartRequest.fromBuffer(value), - ($8.MarkPartForRestartResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.CreateRobotPartSecretRequest, $8.CreateRobotPartSecretResponse>( + ($core.List<$core.int> value) => $9.MarkPartForRestartRequest.fromBuffer(value), + ($9.MarkPartForRestartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.CreateRobotPartSecretRequest, $9.CreateRobotPartSecretResponse>( 'CreateRobotPartSecret', createRobotPartSecret_Pre, false, false, - ($core.List<$core.int> value) => $8.CreateRobotPartSecretRequest.fromBuffer(value), - ($8.CreateRobotPartSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.DeleteRobotPartSecretRequest, $8.DeleteRobotPartSecretResponse>( + ($core.List<$core.int> value) => $9.CreateRobotPartSecretRequest.fromBuffer(value), + ($9.CreateRobotPartSecretResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.DeleteRobotPartSecretRequest, $9.DeleteRobotPartSecretResponse>( 'DeleteRobotPartSecret', deleteRobotPartSecret_Pre, false, false, - ($core.List<$core.int> value) => $8.DeleteRobotPartSecretRequest.fromBuffer(value), - ($8.DeleteRobotPartSecretResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ListRobotsRequest, $8.ListRobotsResponse>( + ($core.List<$core.int> value) => $9.DeleteRobotPartSecretRequest.fromBuffer(value), + ($9.DeleteRobotPartSecretResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ListRobotsRequest, $9.ListRobotsResponse>( 'ListRobots', listRobots_Pre, false, false, - ($core.List<$core.int> value) => $8.ListRobotsRequest.fromBuffer(value), - ($8.ListRobotsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.NewRobotRequest, $8.NewRobotResponse>( + ($core.List<$core.int> value) => $9.ListRobotsRequest.fromBuffer(value), + ($9.ListRobotsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.NewRobotRequest, $9.NewRobotResponse>( 'NewRobot', newRobot_Pre, false, false, - ($core.List<$core.int> value) => $8.NewRobotRequest.fromBuffer(value), - ($8.NewRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.UpdateRobotRequest, $8.UpdateRobotResponse>( + ($core.List<$core.int> value) => $9.NewRobotRequest.fromBuffer(value), + ($9.NewRobotResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.UpdateRobotRequest, $9.UpdateRobotResponse>( 'UpdateRobot', updateRobot_Pre, false, false, - ($core.List<$core.int> value) => $8.UpdateRobotRequest.fromBuffer(value), - ($8.UpdateRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.DeleteRobotRequest, $8.DeleteRobotResponse>( + ($core.List<$core.int> value) => $9.UpdateRobotRequest.fromBuffer(value), + ($9.UpdateRobotResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.DeleteRobotRequest, $9.DeleteRobotResponse>( 'DeleteRobot', deleteRobot_Pre, false, false, - ($core.List<$core.int> value) => $8.DeleteRobotRequest.fromBuffer(value), - ($8.DeleteRobotResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ListFragmentsRequest, $8.ListFragmentsResponse>( + ($core.List<$core.int> value) => $9.DeleteRobotRequest.fromBuffer(value), + ($9.DeleteRobotResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ListFragmentsRequest, $9.ListFragmentsResponse>( 'ListFragments', listFragments_Pre, false, false, - ($core.List<$core.int> value) => $8.ListFragmentsRequest.fromBuffer(value), - ($8.ListFragmentsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetFragmentRequest, $8.GetFragmentResponse>( + ($core.List<$core.int> value) => $9.ListFragmentsRequest.fromBuffer(value), + ($9.ListFragmentsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetFragmentRequest, $9.GetFragmentResponse>( 'GetFragment', getFragment_Pre, false, false, - ($core.List<$core.int> value) => $8.GetFragmentRequest.fromBuffer(value), - ($8.GetFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.CreateFragmentRequest, $8.CreateFragmentResponse>( + ($core.List<$core.int> value) => $9.GetFragmentRequest.fromBuffer(value), + ($9.GetFragmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.CreateFragmentRequest, $9.CreateFragmentResponse>( 'CreateFragment', createFragment_Pre, false, false, - ($core.List<$core.int> value) => $8.CreateFragmentRequest.fromBuffer(value), - ($8.CreateFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.UpdateFragmentRequest, $8.UpdateFragmentResponse>( + ($core.List<$core.int> value) => $9.CreateFragmentRequest.fromBuffer(value), + ($9.CreateFragmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.UpdateFragmentRequest, $9.UpdateFragmentResponse>( 'UpdateFragment', updateFragment_Pre, false, false, - ($core.List<$core.int> value) => $8.UpdateFragmentRequest.fromBuffer(value), - ($8.UpdateFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.DeleteFragmentRequest, $8.DeleteFragmentResponse>( + ($core.List<$core.int> value) => $9.UpdateFragmentRequest.fromBuffer(value), + ($9.UpdateFragmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.DeleteFragmentRequest, $9.DeleteFragmentResponse>( 'DeleteFragment', deleteFragment_Pre, false, false, - ($core.List<$core.int> value) => $8.DeleteFragmentRequest.fromBuffer(value), - ($8.DeleteFragmentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ListMachineFragmentsRequest, $8.ListMachineFragmentsResponse>( + ($core.List<$core.int> value) => $9.DeleteFragmentRequest.fromBuffer(value), + ($9.DeleteFragmentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ListMachineFragmentsRequest, $9.ListMachineFragmentsResponse>( 'ListMachineFragments', listMachineFragments_Pre, false, false, - ($core.List<$core.int> value) => $8.ListMachineFragmentsRequest.fromBuffer(value), - ($8.ListMachineFragmentsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetFragmentHistoryRequest, $8.GetFragmentHistoryResponse>( + ($core.List<$core.int> value) => $9.ListMachineFragmentsRequest.fromBuffer(value), + ($9.ListMachineFragmentsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetFragmentHistoryRequest, $9.GetFragmentHistoryResponse>( 'GetFragmentHistory', getFragmentHistory_Pre, false, false, - ($core.List<$core.int> value) => $8.GetFragmentHistoryRequest.fromBuffer(value), - ($8.GetFragmentHistoryResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.AddRoleRequest, $8.AddRoleResponse>( + ($core.List<$core.int> value) => $9.GetFragmentHistoryRequest.fromBuffer(value), + ($9.GetFragmentHistoryResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.AddRoleRequest, $9.AddRoleResponse>( 'AddRole', addRole_Pre, false, false, - ($core.List<$core.int> value) => $8.AddRoleRequest.fromBuffer(value), - ($8.AddRoleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.RemoveRoleRequest, $8.RemoveRoleResponse>( + ($core.List<$core.int> value) => $9.AddRoleRequest.fromBuffer(value), + ($9.AddRoleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.RemoveRoleRequest, $9.RemoveRoleResponse>( 'RemoveRole', removeRole_Pre, false, false, - ($core.List<$core.int> value) => $8.RemoveRoleRequest.fromBuffer(value), - ($8.RemoveRoleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ChangeRoleRequest, $8.ChangeRoleResponse>( + ($core.List<$core.int> value) => $9.RemoveRoleRequest.fromBuffer(value), + ($9.RemoveRoleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ChangeRoleRequest, $9.ChangeRoleResponse>( 'ChangeRole', changeRole_Pre, false, false, - ($core.List<$core.int> value) => $8.ChangeRoleRequest.fromBuffer(value), - ($8.ChangeRoleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ListAuthorizationsRequest, $8.ListAuthorizationsResponse>( + ($core.List<$core.int> value) => $9.ChangeRoleRequest.fromBuffer(value), + ($9.ChangeRoleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ListAuthorizationsRequest, $9.ListAuthorizationsResponse>( 'ListAuthorizations', listAuthorizations_Pre, false, false, - ($core.List<$core.int> value) => $8.ListAuthorizationsRequest.fromBuffer(value), - ($8.ListAuthorizationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.CheckPermissionsRequest, $8.CheckPermissionsResponse>( + ($core.List<$core.int> value) => $9.ListAuthorizationsRequest.fromBuffer(value), + ($9.ListAuthorizationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.CheckPermissionsRequest, $9.CheckPermissionsResponse>( 'CheckPermissions', checkPermissions_Pre, false, false, - ($core.List<$core.int> value) => $8.CheckPermissionsRequest.fromBuffer(value), - ($8.CheckPermissionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetRegistryItemRequest, $8.GetRegistryItemResponse>( + ($core.List<$core.int> value) => $9.CheckPermissionsRequest.fromBuffer(value), + ($9.CheckPermissionsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetRegistryItemRequest, $9.GetRegistryItemResponse>( 'GetRegistryItem', getRegistryItem_Pre, false, false, - ($core.List<$core.int> value) => $8.GetRegistryItemRequest.fromBuffer(value), - ($8.GetRegistryItemResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.CreateRegistryItemRequest, $8.CreateRegistryItemResponse>( + ($core.List<$core.int> value) => $9.GetRegistryItemRequest.fromBuffer(value), + ($9.GetRegistryItemResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.CreateRegistryItemRequest, $9.CreateRegistryItemResponse>( 'CreateRegistryItem', createRegistryItem_Pre, false, false, - ($core.List<$core.int> value) => $8.CreateRegistryItemRequest.fromBuffer(value), - ($8.CreateRegistryItemResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.UpdateRegistryItemRequest, $8.UpdateRegistryItemResponse>( + ($core.List<$core.int> value) => $9.CreateRegistryItemRequest.fromBuffer(value), + ($9.CreateRegistryItemResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.UpdateRegistryItemRequest, $9.UpdateRegistryItemResponse>( 'UpdateRegistryItem', updateRegistryItem_Pre, false, false, - ($core.List<$core.int> value) => $8.UpdateRegistryItemRequest.fromBuffer(value), - ($8.UpdateRegistryItemResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ListRegistryItemsRequest, $8.ListRegistryItemsResponse>( + ($core.List<$core.int> value) => $9.UpdateRegistryItemRequest.fromBuffer(value), + ($9.UpdateRegistryItemResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ListRegistryItemsRequest, $9.ListRegistryItemsResponse>( 'ListRegistryItems', listRegistryItems_Pre, false, false, - ($core.List<$core.int> value) => $8.ListRegistryItemsRequest.fromBuffer(value), - ($8.ListRegistryItemsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.DeleteRegistryItemRequest, $8.DeleteRegistryItemResponse>( + ($core.List<$core.int> value) => $9.ListRegistryItemsRequest.fromBuffer(value), + ($9.ListRegistryItemsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.DeleteRegistryItemRequest, $9.DeleteRegistryItemResponse>( 'DeleteRegistryItem', deleteRegistryItem_Pre, false, false, - ($core.List<$core.int> value) => $8.DeleteRegistryItemRequest.fromBuffer(value), - ($8.DeleteRegistryItemResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.TransferRegistryItemRequest, $8.TransferRegistryItemResponse>( + ($core.List<$core.int> value) => $9.DeleteRegistryItemRequest.fromBuffer(value), + ($9.DeleteRegistryItemResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.TransferRegistryItemRequest, $9.TransferRegistryItemResponse>( 'TransferRegistryItem', transferRegistryItem_Pre, false, false, - ($core.List<$core.int> value) => $8.TransferRegistryItemRequest.fromBuffer(value), - ($8.TransferRegistryItemResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.CreateModuleRequest, $8.CreateModuleResponse>( + ($core.List<$core.int> value) => $9.TransferRegistryItemRequest.fromBuffer(value), + ($9.TransferRegistryItemResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.CreateModuleRequest, $9.CreateModuleResponse>( 'CreateModule', createModule_Pre, false, false, - ($core.List<$core.int> value) => $8.CreateModuleRequest.fromBuffer(value), - ($8.CreateModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.UpdateModuleRequest, $8.UpdateModuleResponse>( + ($core.List<$core.int> value) => $9.CreateModuleRequest.fromBuffer(value), + ($9.CreateModuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.UpdateModuleRequest, $9.UpdateModuleResponse>( 'UpdateModule', updateModule_Pre, false, false, - ($core.List<$core.int> value) => $8.UpdateModuleRequest.fromBuffer(value), - ($8.UpdateModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.UploadModuleFileRequest, $8.UploadModuleFileResponse>( + ($core.List<$core.int> value) => $9.UpdateModuleRequest.fromBuffer(value), + ($9.UpdateModuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.UploadModuleFileRequest, $9.UploadModuleFileResponse>( 'UploadModuleFile', uploadModuleFile, true, false, - ($core.List<$core.int> value) => $8.UploadModuleFileRequest.fromBuffer(value), - ($8.UploadModuleFileResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.GetModuleRequest, $8.GetModuleResponse>( + ($core.List<$core.int> value) => $9.UploadModuleFileRequest.fromBuffer(value), + ($9.UploadModuleFileResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.GetModuleRequest, $9.GetModuleResponse>( 'GetModule', getModule_Pre, false, false, - ($core.List<$core.int> value) => $8.GetModuleRequest.fromBuffer(value), - ($8.GetModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ListModulesRequest, $8.ListModulesResponse>( + ($core.List<$core.int> value) => $9.GetModuleRequest.fromBuffer(value), + ($9.GetModuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ListModulesRequest, $9.ListModulesResponse>( 'ListModules', listModules_Pre, false, false, - ($core.List<$core.int> value) => $8.ListModulesRequest.fromBuffer(value), - ($8.ListModulesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.CreateKeyRequest, $8.CreateKeyResponse>( + ($core.List<$core.int> value) => $9.ListModulesRequest.fromBuffer(value), + ($9.ListModulesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.CreateKeyRequest, $9.CreateKeyResponse>( 'CreateKey', createKey_Pre, false, false, - ($core.List<$core.int> value) => $8.CreateKeyRequest.fromBuffer(value), - ($8.CreateKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.DeleteKeyRequest, $8.DeleteKeyResponse>( + ($core.List<$core.int> value) => $9.CreateKeyRequest.fromBuffer(value), + ($9.CreateKeyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.DeleteKeyRequest, $9.DeleteKeyResponse>( 'DeleteKey', deleteKey_Pre, false, false, - ($core.List<$core.int> value) => $8.DeleteKeyRequest.fromBuffer(value), - ($8.DeleteKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.ListKeysRequest, $8.ListKeysResponse>( + ($core.List<$core.int> value) => $9.DeleteKeyRequest.fromBuffer(value), + ($9.DeleteKeyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.ListKeysRequest, $9.ListKeysResponse>( 'ListKeys', listKeys_Pre, false, false, - ($core.List<$core.int> value) => $8.ListKeysRequest.fromBuffer(value), - ($8.ListKeysResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.RenameKeyRequest, $8.RenameKeyResponse>( + ($core.List<$core.int> value) => $9.ListKeysRequest.fromBuffer(value), + ($9.ListKeysResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.RenameKeyRequest, $9.RenameKeyResponse>( 'RenameKey', renameKey_Pre, false, false, - ($core.List<$core.int> value) => $8.RenameKeyRequest.fromBuffer(value), - ($8.RenameKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.RotateKeyRequest, $8.RotateKeyResponse>( + ($core.List<$core.int> value) => $9.RenameKeyRequest.fromBuffer(value), + ($9.RenameKeyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.RotateKeyRequest, $9.RotateKeyResponse>( 'RotateKey', rotateKey_Pre, false, false, - ($core.List<$core.int> value) => $8.RotateKeyRequest.fromBuffer(value), - ($8.RotateKeyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$8.CreateKeyFromExistingKeyAuthorizationsRequest, $8.CreateKeyFromExistingKeyAuthorizationsResponse>( + ($core.List<$core.int> value) => $9.RotateKeyRequest.fromBuffer(value), + ($9.RotateKeyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$9.CreateKeyFromExistingKeyAuthorizationsRequest, $9.CreateKeyFromExistingKeyAuthorizationsResponse>( 'CreateKeyFromExistingKeyAuthorizations', createKeyFromExistingKeyAuthorizations_Pre, false, false, - ($core.List<$core.int> value) => $8.CreateKeyFromExistingKeyAuthorizationsRequest.fromBuffer(value), - ($8.CreateKeyFromExistingKeyAuthorizationsResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $9.CreateKeyFromExistingKeyAuthorizationsRequest.fromBuffer(value), + ($9.CreateKeyFromExistingKeyAuthorizationsResponse value) => value.writeToBuffer())); } - $async.Future<$8.GetUserIDByEmailResponse> getUserIDByEmail_Pre($grpc.ServiceCall call, $async.Future<$8.GetUserIDByEmailRequest> request) async { + $async.Future<$9.GetUserIDByEmailResponse> getUserIDByEmail_Pre($grpc.ServiceCall call, $async.Future<$9.GetUserIDByEmailRequest> request) async { return getUserIDByEmail(call, await request); } - $async.Future<$8.CreateOrganizationResponse> createOrganization_Pre($grpc.ServiceCall call, $async.Future<$8.CreateOrganizationRequest> request) async { + $async.Future<$9.CreateOrganizationResponse> createOrganization_Pre($grpc.ServiceCall call, $async.Future<$9.CreateOrganizationRequest> request) async { return createOrganization(call, await request); } - $async.Future<$8.ListOrganizationsResponse> listOrganizations_Pre($grpc.ServiceCall call, $async.Future<$8.ListOrganizationsRequest> request) async { + $async.Future<$9.ListOrganizationsResponse> listOrganizations_Pre($grpc.ServiceCall call, $async.Future<$9.ListOrganizationsRequest> request) async { return listOrganizations(call, await request); } - $async.Future<$8.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation_Pre($grpc.ServiceCall call, $async.Future<$8.GetOrganizationsWithAccessToLocationRequest> request) async { + $async.Future<$9.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation_Pre($grpc.ServiceCall call, $async.Future<$9.GetOrganizationsWithAccessToLocationRequest> request) async { return getOrganizationsWithAccessToLocation(call, await request); } - $async.Future<$8.ListOrganizationsByUserResponse> listOrganizationsByUser_Pre($grpc.ServiceCall call, $async.Future<$8.ListOrganizationsByUserRequest> request) async { + $async.Future<$9.ListOrganizationsByUserResponse> listOrganizationsByUser_Pre($grpc.ServiceCall call, $async.Future<$9.ListOrganizationsByUserRequest> request) async { return listOrganizationsByUser(call, await request); } - $async.Future<$8.GetOrganizationResponse> getOrganization_Pre($grpc.ServiceCall call, $async.Future<$8.GetOrganizationRequest> request) async { + $async.Future<$9.GetOrganizationResponse> getOrganization_Pre($grpc.ServiceCall call, $async.Future<$9.GetOrganizationRequest> request) async { return getOrganization(call, await request); } - $async.Future<$8.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability_Pre($grpc.ServiceCall call, $async.Future<$8.GetOrganizationNamespaceAvailabilityRequest> request) async { + $async.Future<$9.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability_Pre($grpc.ServiceCall call, $async.Future<$9.GetOrganizationNamespaceAvailabilityRequest> request) async { return getOrganizationNamespaceAvailability(call, await request); } - $async.Future<$8.UpdateOrganizationResponse> updateOrganization_Pre($grpc.ServiceCall call, $async.Future<$8.UpdateOrganizationRequest> request) async { + $async.Future<$9.UpdateOrganizationResponse> updateOrganization_Pre($grpc.ServiceCall call, $async.Future<$9.UpdateOrganizationRequest> request) async { return updateOrganization(call, await request); } - $async.Future<$8.DeleteOrganizationResponse> deleteOrganization_Pre($grpc.ServiceCall call, $async.Future<$8.DeleteOrganizationRequest> request) async { + $async.Future<$9.DeleteOrganizationResponse> deleteOrganization_Pre($grpc.ServiceCall call, $async.Future<$9.DeleteOrganizationRequest> request) async { return deleteOrganization(call, await request); } - $async.Future<$8.ListOrganizationMembersResponse> listOrganizationMembers_Pre($grpc.ServiceCall call, $async.Future<$8.ListOrganizationMembersRequest> request) async { + $async.Future<$9.ListOrganizationMembersResponse> listOrganizationMembers_Pre($grpc.ServiceCall call, $async.Future<$9.ListOrganizationMembersRequest> request) async { return listOrganizationMembers(call, await request); } - $async.Future<$8.CreateOrganizationInviteResponse> createOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$8.CreateOrganizationInviteRequest> request) async { + $async.Future<$9.CreateOrganizationInviteResponse> createOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$9.CreateOrganizationInviteRequest> request) async { return createOrganizationInvite(call, await request); } - $async.Future<$8.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$8.UpdateOrganizationInviteAuthorizationsRequest> request) async { + $async.Future<$9.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$9.UpdateOrganizationInviteAuthorizationsRequest> request) async { return updateOrganizationInviteAuthorizations(call, await request); } - $async.Future<$8.DeleteOrganizationMemberResponse> deleteOrganizationMember_Pre($grpc.ServiceCall call, $async.Future<$8.DeleteOrganizationMemberRequest> request) async { + $async.Future<$9.DeleteOrganizationMemberResponse> deleteOrganizationMember_Pre($grpc.ServiceCall call, $async.Future<$9.DeleteOrganizationMemberRequest> request) async { return deleteOrganizationMember(call, await request); } - $async.Future<$8.DeleteOrganizationInviteResponse> deleteOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$8.DeleteOrganizationInviteRequest> request) async { + $async.Future<$9.DeleteOrganizationInviteResponse> deleteOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$9.DeleteOrganizationInviteRequest> request) async { return deleteOrganizationInvite(call, await request); } - $async.Future<$8.ResendOrganizationInviteResponse> resendOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$8.ResendOrganizationInviteRequest> request) async { + $async.Future<$9.ResendOrganizationInviteResponse> resendOrganizationInvite_Pre($grpc.ServiceCall call, $async.Future<$9.ResendOrganizationInviteRequest> request) async { return resendOrganizationInvite(call, await request); } - $async.Future<$8.CreateLocationResponse> createLocation_Pre($grpc.ServiceCall call, $async.Future<$8.CreateLocationRequest> request) async { + $async.Future<$9.CreateLocationResponse> createLocation_Pre($grpc.ServiceCall call, $async.Future<$9.CreateLocationRequest> request) async { return createLocation(call, await request); } - $async.Future<$8.GetLocationResponse> getLocation_Pre($grpc.ServiceCall call, $async.Future<$8.GetLocationRequest> request) async { + $async.Future<$9.GetLocationResponse> getLocation_Pre($grpc.ServiceCall call, $async.Future<$9.GetLocationRequest> request) async { return getLocation(call, await request); } - $async.Future<$8.UpdateLocationResponse> updateLocation_Pre($grpc.ServiceCall call, $async.Future<$8.UpdateLocationRequest> request) async { + $async.Future<$9.UpdateLocationResponse> updateLocation_Pre($grpc.ServiceCall call, $async.Future<$9.UpdateLocationRequest> request) async { return updateLocation(call, await request); } - $async.Future<$8.DeleteLocationResponse> deleteLocation_Pre($grpc.ServiceCall call, $async.Future<$8.DeleteLocationRequest> request) async { + $async.Future<$9.DeleteLocationResponse> deleteLocation_Pre($grpc.ServiceCall call, $async.Future<$9.DeleteLocationRequest> request) async { return deleteLocation(call, await request); } - $async.Future<$8.ListLocationsResponse> listLocations_Pre($grpc.ServiceCall call, $async.Future<$8.ListLocationsRequest> request) async { + $async.Future<$9.ListLocationsResponse> listLocations_Pre($grpc.ServiceCall call, $async.Future<$9.ListLocationsRequest> request) async { return listLocations(call, await request); } - $async.Future<$8.ShareLocationResponse> shareLocation_Pre($grpc.ServiceCall call, $async.Future<$8.ShareLocationRequest> request) async { + $async.Future<$9.ShareLocationResponse> shareLocation_Pre($grpc.ServiceCall call, $async.Future<$9.ShareLocationRequest> request) async { return shareLocation(call, await request); } - $async.Future<$8.UnshareLocationResponse> unshareLocation_Pre($grpc.ServiceCall call, $async.Future<$8.UnshareLocationRequest> request) async { + $async.Future<$9.UnshareLocationResponse> unshareLocation_Pre($grpc.ServiceCall call, $async.Future<$9.UnshareLocationRequest> request) async { return unshareLocation(call, await request); } - $async.Future<$8.LocationAuthResponse> locationAuth_Pre($grpc.ServiceCall call, $async.Future<$8.LocationAuthRequest> request) async { + $async.Future<$9.LocationAuthResponse> locationAuth_Pre($grpc.ServiceCall call, $async.Future<$9.LocationAuthRequest> request) async { return locationAuth(call, await request); } - $async.Future<$8.CreateLocationSecretResponse> createLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$8.CreateLocationSecretRequest> request) async { + $async.Future<$9.CreateLocationSecretResponse> createLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$9.CreateLocationSecretRequest> request) async { return createLocationSecret(call, await request); } - $async.Future<$8.DeleteLocationSecretResponse> deleteLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$8.DeleteLocationSecretRequest> request) async { + $async.Future<$9.DeleteLocationSecretResponse> deleteLocationSecret_Pre($grpc.ServiceCall call, $async.Future<$9.DeleteLocationSecretRequest> request) async { return deleteLocationSecret(call, await request); } - $async.Future<$8.GetRobotResponse> getRobot_Pre($grpc.ServiceCall call, $async.Future<$8.GetRobotRequest> request) async { + $async.Future<$9.GetRobotResponse> getRobot_Pre($grpc.ServiceCall call, $async.Future<$9.GetRobotRequest> request) async { return getRobot(call, await request); } - $async.Future<$8.GetRoverRentalRobotsResponse> getRoverRentalRobots_Pre($grpc.ServiceCall call, $async.Future<$8.GetRoverRentalRobotsRequest> request) async { + $async.Future<$9.GetRoverRentalRobotsResponse> getRoverRentalRobots_Pre($grpc.ServiceCall call, $async.Future<$9.GetRoverRentalRobotsRequest> request) async { return getRoverRentalRobots(call, await request); } - $async.Future<$8.GetRobotPartsResponse> getRobotParts_Pre($grpc.ServiceCall call, $async.Future<$8.GetRobotPartsRequest> request) async { + $async.Future<$9.GetRobotPartsResponse> getRobotParts_Pre($grpc.ServiceCall call, $async.Future<$9.GetRobotPartsRequest> request) async { return getRobotParts(call, await request); } - $async.Future<$8.GetRobotPartResponse> getRobotPart_Pre($grpc.ServiceCall call, $async.Future<$8.GetRobotPartRequest> request) async { + $async.Future<$9.GetRobotPartResponse> getRobotPart_Pre($grpc.ServiceCall call, $async.Future<$9.GetRobotPartRequest> request) async { return getRobotPart(call, await request); } - $async.Future<$8.GetRobotPartLogsResponse> getRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$8.GetRobotPartLogsRequest> request) async { + $async.Future<$9.GetRobotPartLogsResponse> getRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$9.GetRobotPartLogsRequest> request) async { return getRobotPartLogs(call, await request); } - $async.Stream<$8.TailRobotPartLogsResponse> tailRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$8.TailRobotPartLogsRequest> request) async* { + $async.Stream<$9.TailRobotPartLogsResponse> tailRobotPartLogs_Pre($grpc.ServiceCall call, $async.Future<$9.TailRobotPartLogsRequest> request) async* { yield* tailRobotPartLogs(call, await request); } - $async.Future<$8.GetRobotPartHistoryResponse> getRobotPartHistory_Pre($grpc.ServiceCall call, $async.Future<$8.GetRobotPartHistoryRequest> request) async { + $async.Future<$9.GetRobotPartHistoryResponse> getRobotPartHistory_Pre($grpc.ServiceCall call, $async.Future<$9.GetRobotPartHistoryRequest> request) async { return getRobotPartHistory(call, await request); } - $async.Future<$8.UpdateRobotPartResponse> updateRobotPart_Pre($grpc.ServiceCall call, $async.Future<$8.UpdateRobotPartRequest> request) async { + $async.Future<$9.UpdateRobotPartResponse> updateRobotPart_Pre($grpc.ServiceCall call, $async.Future<$9.UpdateRobotPartRequest> request) async { return updateRobotPart(call, await request); } - $async.Future<$8.NewRobotPartResponse> newRobotPart_Pre($grpc.ServiceCall call, $async.Future<$8.NewRobotPartRequest> request) async { + $async.Future<$9.NewRobotPartResponse> newRobotPart_Pre($grpc.ServiceCall call, $async.Future<$9.NewRobotPartRequest> request) async { return newRobotPart(call, await request); } - $async.Future<$8.DeleteRobotPartResponse> deleteRobotPart_Pre($grpc.ServiceCall call, $async.Future<$8.DeleteRobotPartRequest> request) async { + $async.Future<$9.DeleteRobotPartResponse> deleteRobotPart_Pre($grpc.ServiceCall call, $async.Future<$9.DeleteRobotPartRequest> request) async { return deleteRobotPart(call, await request); } - $async.Future<$8.GetRobotAPIKeysResponse> getRobotAPIKeys_Pre($grpc.ServiceCall call, $async.Future<$8.GetRobotAPIKeysRequest> request) async { + $async.Future<$9.GetRobotAPIKeysResponse> getRobotAPIKeys_Pre($grpc.ServiceCall call, $async.Future<$9.GetRobotAPIKeysRequest> request) async { return getRobotAPIKeys(call, await request); } - $async.Future<$8.MarkPartAsMainResponse> markPartAsMain_Pre($grpc.ServiceCall call, $async.Future<$8.MarkPartAsMainRequest> request) async { + $async.Future<$9.MarkPartAsMainResponse> markPartAsMain_Pre($grpc.ServiceCall call, $async.Future<$9.MarkPartAsMainRequest> request) async { return markPartAsMain(call, await request); } - $async.Future<$8.MarkPartForRestartResponse> markPartForRestart_Pre($grpc.ServiceCall call, $async.Future<$8.MarkPartForRestartRequest> request) async { + $async.Future<$9.MarkPartForRestartResponse> markPartForRestart_Pre($grpc.ServiceCall call, $async.Future<$9.MarkPartForRestartRequest> request) async { return markPartForRestart(call, await request); } - $async.Future<$8.CreateRobotPartSecretResponse> createRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$8.CreateRobotPartSecretRequest> request) async { + $async.Future<$9.CreateRobotPartSecretResponse> createRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$9.CreateRobotPartSecretRequest> request) async { return createRobotPartSecret(call, await request); } - $async.Future<$8.DeleteRobotPartSecretResponse> deleteRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$8.DeleteRobotPartSecretRequest> request) async { + $async.Future<$9.DeleteRobotPartSecretResponse> deleteRobotPartSecret_Pre($grpc.ServiceCall call, $async.Future<$9.DeleteRobotPartSecretRequest> request) async { return deleteRobotPartSecret(call, await request); } - $async.Future<$8.ListRobotsResponse> listRobots_Pre($grpc.ServiceCall call, $async.Future<$8.ListRobotsRequest> request) async { + $async.Future<$9.ListRobotsResponse> listRobots_Pre($grpc.ServiceCall call, $async.Future<$9.ListRobotsRequest> request) async { return listRobots(call, await request); } - $async.Future<$8.NewRobotResponse> newRobot_Pre($grpc.ServiceCall call, $async.Future<$8.NewRobotRequest> request) async { + $async.Future<$9.NewRobotResponse> newRobot_Pre($grpc.ServiceCall call, $async.Future<$9.NewRobotRequest> request) async { return newRobot(call, await request); } - $async.Future<$8.UpdateRobotResponse> updateRobot_Pre($grpc.ServiceCall call, $async.Future<$8.UpdateRobotRequest> request) async { + $async.Future<$9.UpdateRobotResponse> updateRobot_Pre($grpc.ServiceCall call, $async.Future<$9.UpdateRobotRequest> request) async { return updateRobot(call, await request); } - $async.Future<$8.DeleteRobotResponse> deleteRobot_Pre($grpc.ServiceCall call, $async.Future<$8.DeleteRobotRequest> request) async { + $async.Future<$9.DeleteRobotResponse> deleteRobot_Pre($grpc.ServiceCall call, $async.Future<$9.DeleteRobotRequest> request) async { return deleteRobot(call, await request); } - $async.Future<$8.ListFragmentsResponse> listFragments_Pre($grpc.ServiceCall call, $async.Future<$8.ListFragmentsRequest> request) async { + $async.Future<$9.ListFragmentsResponse> listFragments_Pre($grpc.ServiceCall call, $async.Future<$9.ListFragmentsRequest> request) async { return listFragments(call, await request); } - $async.Future<$8.GetFragmentResponse> getFragment_Pre($grpc.ServiceCall call, $async.Future<$8.GetFragmentRequest> request) async { + $async.Future<$9.GetFragmentResponse> getFragment_Pre($grpc.ServiceCall call, $async.Future<$9.GetFragmentRequest> request) async { return getFragment(call, await request); } - $async.Future<$8.CreateFragmentResponse> createFragment_Pre($grpc.ServiceCall call, $async.Future<$8.CreateFragmentRequest> request) async { + $async.Future<$9.CreateFragmentResponse> createFragment_Pre($grpc.ServiceCall call, $async.Future<$9.CreateFragmentRequest> request) async { return createFragment(call, await request); } - $async.Future<$8.UpdateFragmentResponse> updateFragment_Pre($grpc.ServiceCall call, $async.Future<$8.UpdateFragmentRequest> request) async { + $async.Future<$9.UpdateFragmentResponse> updateFragment_Pre($grpc.ServiceCall call, $async.Future<$9.UpdateFragmentRequest> request) async { return updateFragment(call, await request); } - $async.Future<$8.DeleteFragmentResponse> deleteFragment_Pre($grpc.ServiceCall call, $async.Future<$8.DeleteFragmentRequest> request) async { + $async.Future<$9.DeleteFragmentResponse> deleteFragment_Pre($grpc.ServiceCall call, $async.Future<$9.DeleteFragmentRequest> request) async { return deleteFragment(call, await request); } - $async.Future<$8.ListMachineFragmentsResponse> listMachineFragments_Pre($grpc.ServiceCall call, $async.Future<$8.ListMachineFragmentsRequest> request) async { + $async.Future<$9.ListMachineFragmentsResponse> listMachineFragments_Pre($grpc.ServiceCall call, $async.Future<$9.ListMachineFragmentsRequest> request) async { return listMachineFragments(call, await request); } - $async.Future<$8.GetFragmentHistoryResponse> getFragmentHistory_Pre($grpc.ServiceCall call, $async.Future<$8.GetFragmentHistoryRequest> request) async { + $async.Future<$9.GetFragmentHistoryResponse> getFragmentHistory_Pre($grpc.ServiceCall call, $async.Future<$9.GetFragmentHistoryRequest> request) async { return getFragmentHistory(call, await request); } - $async.Future<$8.AddRoleResponse> addRole_Pre($grpc.ServiceCall call, $async.Future<$8.AddRoleRequest> request) async { + $async.Future<$9.AddRoleResponse> addRole_Pre($grpc.ServiceCall call, $async.Future<$9.AddRoleRequest> request) async { return addRole(call, await request); } - $async.Future<$8.RemoveRoleResponse> removeRole_Pre($grpc.ServiceCall call, $async.Future<$8.RemoveRoleRequest> request) async { + $async.Future<$9.RemoveRoleResponse> removeRole_Pre($grpc.ServiceCall call, $async.Future<$9.RemoveRoleRequest> request) async { return removeRole(call, await request); } - $async.Future<$8.ChangeRoleResponse> changeRole_Pre($grpc.ServiceCall call, $async.Future<$8.ChangeRoleRequest> request) async { + $async.Future<$9.ChangeRoleResponse> changeRole_Pre($grpc.ServiceCall call, $async.Future<$9.ChangeRoleRequest> request) async { return changeRole(call, await request); } - $async.Future<$8.ListAuthorizationsResponse> listAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$8.ListAuthorizationsRequest> request) async { + $async.Future<$9.ListAuthorizationsResponse> listAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$9.ListAuthorizationsRequest> request) async { return listAuthorizations(call, await request); } - $async.Future<$8.CheckPermissionsResponse> checkPermissions_Pre($grpc.ServiceCall call, $async.Future<$8.CheckPermissionsRequest> request) async { + $async.Future<$9.CheckPermissionsResponse> checkPermissions_Pre($grpc.ServiceCall call, $async.Future<$9.CheckPermissionsRequest> request) async { return checkPermissions(call, await request); } - $async.Future<$8.GetRegistryItemResponse> getRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$8.GetRegistryItemRequest> request) async { + $async.Future<$9.GetRegistryItemResponse> getRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$9.GetRegistryItemRequest> request) async { return getRegistryItem(call, await request); } - $async.Future<$8.CreateRegistryItemResponse> createRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$8.CreateRegistryItemRequest> request) async { + $async.Future<$9.CreateRegistryItemResponse> createRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$9.CreateRegistryItemRequest> request) async { return createRegistryItem(call, await request); } - $async.Future<$8.UpdateRegistryItemResponse> updateRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$8.UpdateRegistryItemRequest> request) async { + $async.Future<$9.UpdateRegistryItemResponse> updateRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$9.UpdateRegistryItemRequest> request) async { return updateRegistryItem(call, await request); } - $async.Future<$8.ListRegistryItemsResponse> listRegistryItems_Pre($grpc.ServiceCall call, $async.Future<$8.ListRegistryItemsRequest> request) async { + $async.Future<$9.ListRegistryItemsResponse> listRegistryItems_Pre($grpc.ServiceCall call, $async.Future<$9.ListRegistryItemsRequest> request) async { return listRegistryItems(call, await request); } - $async.Future<$8.DeleteRegistryItemResponse> deleteRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$8.DeleteRegistryItemRequest> request) async { + $async.Future<$9.DeleteRegistryItemResponse> deleteRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$9.DeleteRegistryItemRequest> request) async { return deleteRegistryItem(call, await request); } - $async.Future<$8.TransferRegistryItemResponse> transferRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$8.TransferRegistryItemRequest> request) async { + $async.Future<$9.TransferRegistryItemResponse> transferRegistryItem_Pre($grpc.ServiceCall call, $async.Future<$9.TransferRegistryItemRequest> request) async { return transferRegistryItem(call, await request); } - $async.Future<$8.CreateModuleResponse> createModule_Pre($grpc.ServiceCall call, $async.Future<$8.CreateModuleRequest> request) async { + $async.Future<$9.CreateModuleResponse> createModule_Pre($grpc.ServiceCall call, $async.Future<$9.CreateModuleRequest> request) async { return createModule(call, await request); } - $async.Future<$8.UpdateModuleResponse> updateModule_Pre($grpc.ServiceCall call, $async.Future<$8.UpdateModuleRequest> request) async { + $async.Future<$9.UpdateModuleResponse> updateModule_Pre($grpc.ServiceCall call, $async.Future<$9.UpdateModuleRequest> request) async { return updateModule(call, await request); } - $async.Future<$8.GetModuleResponse> getModule_Pre($grpc.ServiceCall call, $async.Future<$8.GetModuleRequest> request) async { + $async.Future<$9.GetModuleResponse> getModule_Pre($grpc.ServiceCall call, $async.Future<$9.GetModuleRequest> request) async { return getModule(call, await request); } - $async.Future<$8.ListModulesResponse> listModules_Pre($grpc.ServiceCall call, $async.Future<$8.ListModulesRequest> request) async { + $async.Future<$9.ListModulesResponse> listModules_Pre($grpc.ServiceCall call, $async.Future<$9.ListModulesRequest> request) async { return listModules(call, await request); } - $async.Future<$8.CreateKeyResponse> createKey_Pre($grpc.ServiceCall call, $async.Future<$8.CreateKeyRequest> request) async { + $async.Future<$9.CreateKeyResponse> createKey_Pre($grpc.ServiceCall call, $async.Future<$9.CreateKeyRequest> request) async { return createKey(call, await request); } - $async.Future<$8.DeleteKeyResponse> deleteKey_Pre($grpc.ServiceCall call, $async.Future<$8.DeleteKeyRequest> request) async { + $async.Future<$9.DeleteKeyResponse> deleteKey_Pre($grpc.ServiceCall call, $async.Future<$9.DeleteKeyRequest> request) async { return deleteKey(call, await request); } - $async.Future<$8.ListKeysResponse> listKeys_Pre($grpc.ServiceCall call, $async.Future<$8.ListKeysRequest> request) async { + $async.Future<$9.ListKeysResponse> listKeys_Pre($grpc.ServiceCall call, $async.Future<$9.ListKeysRequest> request) async { return listKeys(call, await request); } - $async.Future<$8.RenameKeyResponse> renameKey_Pre($grpc.ServiceCall call, $async.Future<$8.RenameKeyRequest> request) async { + $async.Future<$9.RenameKeyResponse> renameKey_Pre($grpc.ServiceCall call, $async.Future<$9.RenameKeyRequest> request) async { return renameKey(call, await request); } - $async.Future<$8.RotateKeyResponse> rotateKey_Pre($grpc.ServiceCall call, $async.Future<$8.RotateKeyRequest> request) async { + $async.Future<$9.RotateKeyResponse> rotateKey_Pre($grpc.ServiceCall call, $async.Future<$9.RotateKeyRequest> request) async { return rotateKey(call, await request); } - $async.Future<$8.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$8.CreateKeyFromExistingKeyAuthorizationsRequest> request) async { + $async.Future<$9.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations_Pre($grpc.ServiceCall call, $async.Future<$9.CreateKeyFromExistingKeyAuthorizationsRequest> request) async { return createKeyFromExistingKeyAuthorizations(call, await request); } - $async.Future<$8.GetUserIDByEmailResponse> getUserIDByEmail($grpc.ServiceCall call, $8.GetUserIDByEmailRequest request); - $async.Future<$8.CreateOrganizationResponse> createOrganization($grpc.ServiceCall call, $8.CreateOrganizationRequest request); - $async.Future<$8.ListOrganizationsResponse> listOrganizations($grpc.ServiceCall call, $8.ListOrganizationsRequest request); - $async.Future<$8.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation($grpc.ServiceCall call, $8.GetOrganizationsWithAccessToLocationRequest request); - $async.Future<$8.ListOrganizationsByUserResponse> listOrganizationsByUser($grpc.ServiceCall call, $8.ListOrganizationsByUserRequest request); - $async.Future<$8.GetOrganizationResponse> getOrganization($grpc.ServiceCall call, $8.GetOrganizationRequest request); - $async.Future<$8.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability($grpc.ServiceCall call, $8.GetOrganizationNamespaceAvailabilityRequest request); - $async.Future<$8.UpdateOrganizationResponse> updateOrganization($grpc.ServiceCall call, $8.UpdateOrganizationRequest request); - $async.Future<$8.DeleteOrganizationResponse> deleteOrganization($grpc.ServiceCall call, $8.DeleteOrganizationRequest request); - $async.Future<$8.ListOrganizationMembersResponse> listOrganizationMembers($grpc.ServiceCall call, $8.ListOrganizationMembersRequest request); - $async.Future<$8.CreateOrganizationInviteResponse> createOrganizationInvite($grpc.ServiceCall call, $8.CreateOrganizationInviteRequest request); - $async.Future<$8.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations($grpc.ServiceCall call, $8.UpdateOrganizationInviteAuthorizationsRequest request); - $async.Future<$8.DeleteOrganizationMemberResponse> deleteOrganizationMember($grpc.ServiceCall call, $8.DeleteOrganizationMemberRequest request); - $async.Future<$8.DeleteOrganizationInviteResponse> deleteOrganizationInvite($grpc.ServiceCall call, $8.DeleteOrganizationInviteRequest request); - $async.Future<$8.ResendOrganizationInviteResponse> resendOrganizationInvite($grpc.ServiceCall call, $8.ResendOrganizationInviteRequest request); - $async.Future<$8.CreateLocationResponse> createLocation($grpc.ServiceCall call, $8.CreateLocationRequest request); - $async.Future<$8.GetLocationResponse> getLocation($grpc.ServiceCall call, $8.GetLocationRequest request); - $async.Future<$8.UpdateLocationResponse> updateLocation($grpc.ServiceCall call, $8.UpdateLocationRequest request); - $async.Future<$8.DeleteLocationResponse> deleteLocation($grpc.ServiceCall call, $8.DeleteLocationRequest request); - $async.Future<$8.ListLocationsResponse> listLocations($grpc.ServiceCall call, $8.ListLocationsRequest request); - $async.Future<$8.ShareLocationResponse> shareLocation($grpc.ServiceCall call, $8.ShareLocationRequest request); - $async.Future<$8.UnshareLocationResponse> unshareLocation($grpc.ServiceCall call, $8.UnshareLocationRequest request); - $async.Future<$8.LocationAuthResponse> locationAuth($grpc.ServiceCall call, $8.LocationAuthRequest request); - $async.Future<$8.CreateLocationSecretResponse> createLocationSecret($grpc.ServiceCall call, $8.CreateLocationSecretRequest request); - $async.Future<$8.DeleteLocationSecretResponse> deleteLocationSecret($grpc.ServiceCall call, $8.DeleteLocationSecretRequest request); - $async.Future<$8.GetRobotResponse> getRobot($grpc.ServiceCall call, $8.GetRobotRequest request); - $async.Future<$8.GetRoverRentalRobotsResponse> getRoverRentalRobots($grpc.ServiceCall call, $8.GetRoverRentalRobotsRequest request); - $async.Future<$8.GetRobotPartsResponse> getRobotParts($grpc.ServiceCall call, $8.GetRobotPartsRequest request); - $async.Future<$8.GetRobotPartResponse> getRobotPart($grpc.ServiceCall call, $8.GetRobotPartRequest request); - $async.Future<$8.GetRobotPartLogsResponse> getRobotPartLogs($grpc.ServiceCall call, $8.GetRobotPartLogsRequest request); - $async.Stream<$8.TailRobotPartLogsResponse> tailRobotPartLogs($grpc.ServiceCall call, $8.TailRobotPartLogsRequest request); - $async.Future<$8.GetRobotPartHistoryResponse> getRobotPartHistory($grpc.ServiceCall call, $8.GetRobotPartHistoryRequest request); - $async.Future<$8.UpdateRobotPartResponse> updateRobotPart($grpc.ServiceCall call, $8.UpdateRobotPartRequest request); - $async.Future<$8.NewRobotPartResponse> newRobotPart($grpc.ServiceCall call, $8.NewRobotPartRequest request); - $async.Future<$8.DeleteRobotPartResponse> deleteRobotPart($grpc.ServiceCall call, $8.DeleteRobotPartRequest request); - $async.Future<$8.GetRobotAPIKeysResponse> getRobotAPIKeys($grpc.ServiceCall call, $8.GetRobotAPIKeysRequest request); - $async.Future<$8.MarkPartAsMainResponse> markPartAsMain($grpc.ServiceCall call, $8.MarkPartAsMainRequest request); - $async.Future<$8.MarkPartForRestartResponse> markPartForRestart($grpc.ServiceCall call, $8.MarkPartForRestartRequest request); - $async.Future<$8.CreateRobotPartSecretResponse> createRobotPartSecret($grpc.ServiceCall call, $8.CreateRobotPartSecretRequest request); - $async.Future<$8.DeleteRobotPartSecretResponse> deleteRobotPartSecret($grpc.ServiceCall call, $8.DeleteRobotPartSecretRequest request); - $async.Future<$8.ListRobotsResponse> listRobots($grpc.ServiceCall call, $8.ListRobotsRequest request); - $async.Future<$8.NewRobotResponse> newRobot($grpc.ServiceCall call, $8.NewRobotRequest request); - $async.Future<$8.UpdateRobotResponse> updateRobot($grpc.ServiceCall call, $8.UpdateRobotRequest request); - $async.Future<$8.DeleteRobotResponse> deleteRobot($grpc.ServiceCall call, $8.DeleteRobotRequest request); - $async.Future<$8.ListFragmentsResponse> listFragments($grpc.ServiceCall call, $8.ListFragmentsRequest request); - $async.Future<$8.GetFragmentResponse> getFragment($grpc.ServiceCall call, $8.GetFragmentRequest request); - $async.Future<$8.CreateFragmentResponse> createFragment($grpc.ServiceCall call, $8.CreateFragmentRequest request); - $async.Future<$8.UpdateFragmentResponse> updateFragment($grpc.ServiceCall call, $8.UpdateFragmentRequest request); - $async.Future<$8.DeleteFragmentResponse> deleteFragment($grpc.ServiceCall call, $8.DeleteFragmentRequest request); - $async.Future<$8.ListMachineFragmentsResponse> listMachineFragments($grpc.ServiceCall call, $8.ListMachineFragmentsRequest request); - $async.Future<$8.GetFragmentHistoryResponse> getFragmentHistory($grpc.ServiceCall call, $8.GetFragmentHistoryRequest request); - $async.Future<$8.AddRoleResponse> addRole($grpc.ServiceCall call, $8.AddRoleRequest request); - $async.Future<$8.RemoveRoleResponse> removeRole($grpc.ServiceCall call, $8.RemoveRoleRequest request); - $async.Future<$8.ChangeRoleResponse> changeRole($grpc.ServiceCall call, $8.ChangeRoleRequest request); - $async.Future<$8.ListAuthorizationsResponse> listAuthorizations($grpc.ServiceCall call, $8.ListAuthorizationsRequest request); - $async.Future<$8.CheckPermissionsResponse> checkPermissions($grpc.ServiceCall call, $8.CheckPermissionsRequest request); - $async.Future<$8.GetRegistryItemResponse> getRegistryItem($grpc.ServiceCall call, $8.GetRegistryItemRequest request); - $async.Future<$8.CreateRegistryItemResponse> createRegistryItem($grpc.ServiceCall call, $8.CreateRegistryItemRequest request); - $async.Future<$8.UpdateRegistryItemResponse> updateRegistryItem($grpc.ServiceCall call, $8.UpdateRegistryItemRequest request); - $async.Future<$8.ListRegistryItemsResponse> listRegistryItems($grpc.ServiceCall call, $8.ListRegistryItemsRequest request); - $async.Future<$8.DeleteRegistryItemResponse> deleteRegistryItem($grpc.ServiceCall call, $8.DeleteRegistryItemRequest request); - $async.Future<$8.TransferRegistryItemResponse> transferRegistryItem($grpc.ServiceCall call, $8.TransferRegistryItemRequest request); - $async.Future<$8.CreateModuleResponse> createModule($grpc.ServiceCall call, $8.CreateModuleRequest request); - $async.Future<$8.UpdateModuleResponse> updateModule($grpc.ServiceCall call, $8.UpdateModuleRequest request); - $async.Future<$8.UploadModuleFileResponse> uploadModuleFile($grpc.ServiceCall call, $async.Stream<$8.UploadModuleFileRequest> request); - $async.Future<$8.GetModuleResponse> getModule($grpc.ServiceCall call, $8.GetModuleRequest request); - $async.Future<$8.ListModulesResponse> listModules($grpc.ServiceCall call, $8.ListModulesRequest request); - $async.Future<$8.CreateKeyResponse> createKey($grpc.ServiceCall call, $8.CreateKeyRequest request); - $async.Future<$8.DeleteKeyResponse> deleteKey($grpc.ServiceCall call, $8.DeleteKeyRequest request); - $async.Future<$8.ListKeysResponse> listKeys($grpc.ServiceCall call, $8.ListKeysRequest request); - $async.Future<$8.RenameKeyResponse> renameKey($grpc.ServiceCall call, $8.RenameKeyRequest request); - $async.Future<$8.RotateKeyResponse> rotateKey($grpc.ServiceCall call, $8.RotateKeyRequest request); - $async.Future<$8.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations($grpc.ServiceCall call, $8.CreateKeyFromExistingKeyAuthorizationsRequest request); + $async.Future<$9.GetUserIDByEmailResponse> getUserIDByEmail($grpc.ServiceCall call, $9.GetUserIDByEmailRequest request); + $async.Future<$9.CreateOrganizationResponse> createOrganization($grpc.ServiceCall call, $9.CreateOrganizationRequest request); + $async.Future<$9.ListOrganizationsResponse> listOrganizations($grpc.ServiceCall call, $9.ListOrganizationsRequest request); + $async.Future<$9.GetOrganizationsWithAccessToLocationResponse> getOrganizationsWithAccessToLocation($grpc.ServiceCall call, $9.GetOrganizationsWithAccessToLocationRequest request); + $async.Future<$9.ListOrganizationsByUserResponse> listOrganizationsByUser($grpc.ServiceCall call, $9.ListOrganizationsByUserRequest request); + $async.Future<$9.GetOrganizationResponse> getOrganization($grpc.ServiceCall call, $9.GetOrganizationRequest request); + $async.Future<$9.GetOrganizationNamespaceAvailabilityResponse> getOrganizationNamespaceAvailability($grpc.ServiceCall call, $9.GetOrganizationNamespaceAvailabilityRequest request); + $async.Future<$9.UpdateOrganizationResponse> updateOrganization($grpc.ServiceCall call, $9.UpdateOrganizationRequest request); + $async.Future<$9.DeleteOrganizationResponse> deleteOrganization($grpc.ServiceCall call, $9.DeleteOrganizationRequest request); + $async.Future<$9.ListOrganizationMembersResponse> listOrganizationMembers($grpc.ServiceCall call, $9.ListOrganizationMembersRequest request); + $async.Future<$9.CreateOrganizationInviteResponse> createOrganizationInvite($grpc.ServiceCall call, $9.CreateOrganizationInviteRequest request); + $async.Future<$9.UpdateOrganizationInviteAuthorizationsResponse> updateOrganizationInviteAuthorizations($grpc.ServiceCall call, $9.UpdateOrganizationInviteAuthorizationsRequest request); + $async.Future<$9.DeleteOrganizationMemberResponse> deleteOrganizationMember($grpc.ServiceCall call, $9.DeleteOrganizationMemberRequest request); + $async.Future<$9.DeleteOrganizationInviteResponse> deleteOrganizationInvite($grpc.ServiceCall call, $9.DeleteOrganizationInviteRequest request); + $async.Future<$9.ResendOrganizationInviteResponse> resendOrganizationInvite($grpc.ServiceCall call, $9.ResendOrganizationInviteRequest request); + $async.Future<$9.CreateLocationResponse> createLocation($grpc.ServiceCall call, $9.CreateLocationRequest request); + $async.Future<$9.GetLocationResponse> getLocation($grpc.ServiceCall call, $9.GetLocationRequest request); + $async.Future<$9.UpdateLocationResponse> updateLocation($grpc.ServiceCall call, $9.UpdateLocationRequest request); + $async.Future<$9.DeleteLocationResponse> deleteLocation($grpc.ServiceCall call, $9.DeleteLocationRequest request); + $async.Future<$9.ListLocationsResponse> listLocations($grpc.ServiceCall call, $9.ListLocationsRequest request); + $async.Future<$9.ShareLocationResponse> shareLocation($grpc.ServiceCall call, $9.ShareLocationRequest request); + $async.Future<$9.UnshareLocationResponse> unshareLocation($grpc.ServiceCall call, $9.UnshareLocationRequest request); + $async.Future<$9.LocationAuthResponse> locationAuth($grpc.ServiceCall call, $9.LocationAuthRequest request); + $async.Future<$9.CreateLocationSecretResponse> createLocationSecret($grpc.ServiceCall call, $9.CreateLocationSecretRequest request); + $async.Future<$9.DeleteLocationSecretResponse> deleteLocationSecret($grpc.ServiceCall call, $9.DeleteLocationSecretRequest request); + $async.Future<$9.GetRobotResponse> getRobot($grpc.ServiceCall call, $9.GetRobotRequest request); + $async.Future<$9.GetRoverRentalRobotsResponse> getRoverRentalRobots($grpc.ServiceCall call, $9.GetRoverRentalRobotsRequest request); + $async.Future<$9.GetRobotPartsResponse> getRobotParts($grpc.ServiceCall call, $9.GetRobotPartsRequest request); + $async.Future<$9.GetRobotPartResponse> getRobotPart($grpc.ServiceCall call, $9.GetRobotPartRequest request); + $async.Future<$9.GetRobotPartLogsResponse> getRobotPartLogs($grpc.ServiceCall call, $9.GetRobotPartLogsRequest request); + $async.Stream<$9.TailRobotPartLogsResponse> tailRobotPartLogs($grpc.ServiceCall call, $9.TailRobotPartLogsRequest request); + $async.Future<$9.GetRobotPartHistoryResponse> getRobotPartHistory($grpc.ServiceCall call, $9.GetRobotPartHistoryRequest request); + $async.Future<$9.UpdateRobotPartResponse> updateRobotPart($grpc.ServiceCall call, $9.UpdateRobotPartRequest request); + $async.Future<$9.NewRobotPartResponse> newRobotPart($grpc.ServiceCall call, $9.NewRobotPartRequest request); + $async.Future<$9.DeleteRobotPartResponse> deleteRobotPart($grpc.ServiceCall call, $9.DeleteRobotPartRequest request); + $async.Future<$9.GetRobotAPIKeysResponse> getRobotAPIKeys($grpc.ServiceCall call, $9.GetRobotAPIKeysRequest request); + $async.Future<$9.MarkPartAsMainResponse> markPartAsMain($grpc.ServiceCall call, $9.MarkPartAsMainRequest request); + $async.Future<$9.MarkPartForRestartResponse> markPartForRestart($grpc.ServiceCall call, $9.MarkPartForRestartRequest request); + $async.Future<$9.CreateRobotPartSecretResponse> createRobotPartSecret($grpc.ServiceCall call, $9.CreateRobotPartSecretRequest request); + $async.Future<$9.DeleteRobotPartSecretResponse> deleteRobotPartSecret($grpc.ServiceCall call, $9.DeleteRobotPartSecretRequest request); + $async.Future<$9.ListRobotsResponse> listRobots($grpc.ServiceCall call, $9.ListRobotsRequest request); + $async.Future<$9.NewRobotResponse> newRobot($grpc.ServiceCall call, $9.NewRobotRequest request); + $async.Future<$9.UpdateRobotResponse> updateRobot($grpc.ServiceCall call, $9.UpdateRobotRequest request); + $async.Future<$9.DeleteRobotResponse> deleteRobot($grpc.ServiceCall call, $9.DeleteRobotRequest request); + $async.Future<$9.ListFragmentsResponse> listFragments($grpc.ServiceCall call, $9.ListFragmentsRequest request); + $async.Future<$9.GetFragmentResponse> getFragment($grpc.ServiceCall call, $9.GetFragmentRequest request); + $async.Future<$9.CreateFragmentResponse> createFragment($grpc.ServiceCall call, $9.CreateFragmentRequest request); + $async.Future<$9.UpdateFragmentResponse> updateFragment($grpc.ServiceCall call, $9.UpdateFragmentRequest request); + $async.Future<$9.DeleteFragmentResponse> deleteFragment($grpc.ServiceCall call, $9.DeleteFragmentRequest request); + $async.Future<$9.ListMachineFragmentsResponse> listMachineFragments($grpc.ServiceCall call, $9.ListMachineFragmentsRequest request); + $async.Future<$9.GetFragmentHistoryResponse> getFragmentHistory($grpc.ServiceCall call, $9.GetFragmentHistoryRequest request); + $async.Future<$9.AddRoleResponse> addRole($grpc.ServiceCall call, $9.AddRoleRequest request); + $async.Future<$9.RemoveRoleResponse> removeRole($grpc.ServiceCall call, $9.RemoveRoleRequest request); + $async.Future<$9.ChangeRoleResponse> changeRole($grpc.ServiceCall call, $9.ChangeRoleRequest request); + $async.Future<$9.ListAuthorizationsResponse> listAuthorizations($grpc.ServiceCall call, $9.ListAuthorizationsRequest request); + $async.Future<$9.CheckPermissionsResponse> checkPermissions($grpc.ServiceCall call, $9.CheckPermissionsRequest request); + $async.Future<$9.GetRegistryItemResponse> getRegistryItem($grpc.ServiceCall call, $9.GetRegistryItemRequest request); + $async.Future<$9.CreateRegistryItemResponse> createRegistryItem($grpc.ServiceCall call, $9.CreateRegistryItemRequest request); + $async.Future<$9.UpdateRegistryItemResponse> updateRegistryItem($grpc.ServiceCall call, $9.UpdateRegistryItemRequest request); + $async.Future<$9.ListRegistryItemsResponse> listRegistryItems($grpc.ServiceCall call, $9.ListRegistryItemsRequest request); + $async.Future<$9.DeleteRegistryItemResponse> deleteRegistryItem($grpc.ServiceCall call, $9.DeleteRegistryItemRequest request); + $async.Future<$9.TransferRegistryItemResponse> transferRegistryItem($grpc.ServiceCall call, $9.TransferRegistryItemRequest request); + $async.Future<$9.CreateModuleResponse> createModule($grpc.ServiceCall call, $9.CreateModuleRequest request); + $async.Future<$9.UpdateModuleResponse> updateModule($grpc.ServiceCall call, $9.UpdateModuleRequest request); + $async.Future<$9.UploadModuleFileResponse> uploadModuleFile($grpc.ServiceCall call, $async.Stream<$9.UploadModuleFileRequest> request); + $async.Future<$9.GetModuleResponse> getModule($grpc.ServiceCall call, $9.GetModuleRequest request); + $async.Future<$9.ListModulesResponse> listModules($grpc.ServiceCall call, $9.ListModulesRequest request); + $async.Future<$9.CreateKeyResponse> createKey($grpc.ServiceCall call, $9.CreateKeyRequest request); + $async.Future<$9.DeleteKeyResponse> deleteKey($grpc.ServiceCall call, $9.DeleteKeyRequest request); + $async.Future<$9.ListKeysResponse> listKeys($grpc.ServiceCall call, $9.ListKeysRequest request); + $async.Future<$9.RenameKeyResponse> renameKey($grpc.ServiceCall call, $9.RenameKeyRequest request); + $async.Future<$9.RotateKeyResponse> rotateKey($grpc.ServiceCall call, $9.RotateKeyRequest request); + $async.Future<$9.CreateKeyFromExistingKeyAuthorizationsResponse> createKeyFromExistingKeyAuthorizations($grpc.ServiceCall call, $9.CreateKeyFromExistingKeyAuthorizationsRequest request); } diff --git a/lib/src/gen/app/v1/app.pbjson.dart b/lib/src/gen/app/v1/app.pbjson.dart index afa702ffc13..e1e38fdcbc9 100644 --- a/lib/src/gen/app/v1/app.pbjson.dart +++ b/lib/src/gen/app/v1/app.pbjson.dart @@ -1964,6 +1964,10 @@ const ModuleVersion$json = { {'1': 'files', '3': 2, '4': 3, '5': 11, '6': '.viam.app.v1.Uploads', '10': 'files'}, {'1': 'models', '3': 3, '4': 3, '5': 11, '6': '.viam.app.v1.Model', '10': 'models'}, {'1': 'entrypoint', '3': 4, '4': 1, '5': 9, '10': 'entrypoint'}, + {'1': 'first_run', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true}, + ], + '8': [ + {'1': '_first_run'}, ], }; @@ -1971,7 +1975,8 @@ const ModuleVersion$json = { final $typed_data.Uint8List moduleVersionDescriptor = $convert.base64Decode( 'Cg1Nb2R1bGVWZXJzaW9uEhgKB3ZlcnNpb24YASABKAlSB3ZlcnNpb24SKgoFZmlsZXMYAiADKA' 'syFC52aWFtLmFwcC52MS5VcGxvYWRzUgVmaWxlcxIqCgZtb2RlbHMYAyADKAsyEi52aWFtLmFw' - 'cC52MS5Nb2RlbFIGbW9kZWxzEh4KCmVudHJ5cG9pbnQYBCABKAlSCmVudHJ5cG9pbnQ='); + 'cC52MS5Nb2RlbFIGbW9kZWxzEh4KCmVudHJ5cG9pbnQYBCABKAlSCmVudHJ5cG9pbnQSIAoJZm' + 'lyc3RfcnVuGAUgASgJSABSCGZpcnN0UnVuiAEBQgwKCl9maXJzdF9ydW4='); @$core.Deprecated('Use moduleMetadataDescriptor instead') const ModuleMetadata$json = { @@ -1980,6 +1985,10 @@ const ModuleMetadata$json = { {'1': 'models', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.Model', '10': 'models'}, {'1': 'versions', '3': 2, '4': 3, '5': 11, '6': '.viam.app.v1.ModuleVersion', '10': 'versions'}, {'1': 'entrypoint', '3': 3, '4': 1, '5': 9, '10': 'entrypoint'}, + {'1': 'first_run', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true}, + ], + '8': [ + {'1': '_first_run'}, ], }; @@ -1987,7 +1996,8 @@ const ModuleMetadata$json = { final $typed_data.Uint8List moduleMetadataDescriptor = $convert.base64Decode( 'Cg5Nb2R1bGVNZXRhZGF0YRIqCgZtb2RlbHMYASADKAsyEi52aWFtLmFwcC52MS5Nb2RlbFIGbW' '9kZWxzEjYKCHZlcnNpb25zGAIgAygLMhoudmlhbS5hcHAudjEuTW9kdWxlVmVyc2lvblIIdmVy' - 'c2lvbnMSHgoKZW50cnlwb2ludBgDIAEoCVIKZW50cnlwb2ludA=='); + 'c2lvbnMSHgoKZW50cnlwb2ludBgDIAEoCVIKZW50cnlwb2ludBIgCglmaXJzdF9ydW4YBCABKA' + 'lIAFIIZmlyc3RSdW6IAQFCDAoKX2ZpcnN0X3J1bg=='); @$core.Deprecated('Use mLModelMetadataDescriptor instead') const MLModelMetadata$json = { @@ -2298,6 +2308,10 @@ const UpdateModuleRequest$json = { {'1': 'description', '3': 4, '4': 1, '5': 9, '10': 'description'}, {'1': 'models', '3': 5, '4': 3, '5': 11, '6': '.viam.app.v1.Model', '10': 'models'}, {'1': 'entrypoint', '3': 6, '4': 1, '5': 9, '10': 'entrypoint'}, + {'1': 'first_run', '3': 7, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true}, + ], + '8': [ + {'1': '_first_run'}, ], }; @@ -2307,7 +2321,8 @@ final $typed_data.Uint8List updateModuleRequestDescriptor = $convert.base64Decod 'lzaWJpbGl0eRgCIAEoDjIXLnZpYW0uYXBwLnYxLlZpc2liaWxpdHlSCnZpc2liaWxpdHkSEAoD' 'dXJsGAMgASgJUgN1cmwSIAoLZGVzY3JpcHRpb24YBCABKAlSC2Rlc2NyaXB0aW9uEioKBm1vZG' 'VscxgFIAMoCzISLnZpYW0uYXBwLnYxLk1vZGVsUgZtb2RlbHMSHgoKZW50cnlwb2ludBgGIAEo' - 'CVIKZW50cnlwb2ludA=='); + 'CVIKZW50cnlwb2ludBIgCglmaXJzdF9ydW4YByABKAlIAFIIZmlyc3RSdW6IAQFCDAoKX2Zpcn' + 'N0X3J1bg=='); @$core.Deprecated('Use updateModuleResponseDescriptor instead') const UpdateModuleResponse$json = { @@ -2420,6 +2435,10 @@ const Module$json = { {'1': 'organization_id', '3': 10, '4': 1, '5': 9, '10': 'organizationId'}, {'1': 'entrypoint', '3': 11, '4': 1, '5': 9, '10': 'entrypoint'}, {'1': 'public_namespace', '3': 12, '4': 1, '5': 9, '10': 'publicNamespace'}, + {'1': 'first_run', '3': 13, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true}, + ], + '8': [ + {'1': '_first_run'}, ], }; @@ -2433,7 +2452,8 @@ final $typed_data.Uint8List moduleDescriptor = $convert.base64Decode( 'JvYm90X3VzYWdlGAggASgDUg90b3RhbFJvYm90VXNhZ2USOAoYdG90YWxfb3JnYW5pemF0aW9u' 'X3VzYWdlGAkgASgDUhZ0b3RhbE9yZ2FuaXphdGlvblVzYWdlEicKD29yZ2FuaXphdGlvbl9pZB' 'gKIAEoCVIOb3JnYW5pemF0aW9uSWQSHgoKZW50cnlwb2ludBgLIAEoCVIKZW50cnlwb2ludBIp' - 'ChBwdWJsaWNfbmFtZXNwYWNlGAwgASgJUg9wdWJsaWNOYW1lc3BhY2U='); + 'ChBwdWJsaWNfbmFtZXNwYWNlGAwgASgJUg9wdWJsaWNOYW1lc3BhY2USIAoJZmlyc3RfcnVuGA' + '0gASgJSABSCGZpcnN0UnVuiAEBQgwKCl9maXJzdF9ydW4='); @$core.Deprecated('Use versionHistoryDescriptor instead') const VersionHistory$json = { @@ -2443,6 +2463,10 @@ const VersionHistory$json = { {'1': 'files', '3': 2, '4': 3, '5': 11, '6': '.viam.app.v1.Uploads', '10': 'files'}, {'1': 'models', '3': 3, '4': 3, '5': 11, '6': '.viam.app.v1.Model', '10': 'models'}, {'1': 'entrypoint', '3': 4, '4': 1, '5': 9, '10': 'entrypoint'}, + {'1': 'first_run', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true}, + ], + '8': [ + {'1': '_first_run'}, ], }; @@ -2450,7 +2474,8 @@ const VersionHistory$json = { final $typed_data.Uint8List versionHistoryDescriptor = $convert.base64Decode( 'Cg5WZXJzaW9uSGlzdG9yeRIYCgd2ZXJzaW9uGAEgASgJUgd2ZXJzaW9uEioKBWZpbGVzGAIgAy' 'gLMhQudmlhbS5hcHAudjEuVXBsb2Fkc1IFZmlsZXMSKgoGbW9kZWxzGAMgAygLMhIudmlhbS5h' - 'cHAudjEuTW9kZWxSBm1vZGVscxIeCgplbnRyeXBvaW50GAQgASgJUgplbnRyeXBvaW50'); + 'cHAudjEuTW9kZWxSBm1vZGVscxIeCgplbnRyeXBvaW50GAQgASgJUgplbnRyeXBvaW50EiAKCW' + 'ZpcnN0X3J1bhgFIAEoCUgAUghmaXJzdFJ1bogBAUIMCgpfZmlyc3RfcnVu'); @$core.Deprecated('Use uploadsDescriptor instead') const Uploads$json = { diff --git a/lib/src/gen/app/v1/billing.pb.dart b/lib/src/gen/app/v1/billing.pb.dart index 0638b346a1a..72d4e048f1b 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 $43; +import '../../google/protobuf/timestamp.pb.dart' as $44; 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, - $43.Timestamp? invoiceDate, + $44.Timestamp? invoiceDate, $core.double? invoiceAmount, $core.String? status, - $43.Timestamp? dueDate, - $43.Timestamp? paidDate, + $44.Timestamp? dueDate, + $44.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<$43.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $44.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'invoiceAmount', $pb.PbFieldType.OD) ..aOS(4, _omitFieldNames ? '' : 'status') - ..aOM<$43.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(6, _omitFieldNames ? '' : 'paidDate', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(6, _omitFieldNames ? '' : 'paidDate', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -93,15 +93,15 @@ class InvoiceSummary extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $43.Timestamp get invoiceDate => $_getN(1); + $44.Timestamp get invoiceDate => $_getN(1); @$pb.TagNumber(2) - set invoiceDate($43.Timestamp v) { setField(2, v); } + set invoiceDate($44.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasInvoiceDate() => $_has(1); @$pb.TagNumber(2) void clearInvoiceDate() => clearField(2); @$pb.TagNumber(2) - $43.Timestamp ensureInvoiceDate() => $_ensure(1); + $44.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) - $43.Timestamp get dueDate => $_getN(4); + $44.Timestamp get dueDate => $_getN(4); @$pb.TagNumber(5) - set dueDate($43.Timestamp v) { setField(5, v); } + set dueDate($44.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasDueDate() => $_has(4); @$pb.TagNumber(5) void clearDueDate() => clearField(5); @$pb.TagNumber(5) - $43.Timestamp ensureDueDate() => $_ensure(4); + $44.Timestamp ensureDueDate() => $_ensure(4); @$pb.TagNumber(6) - $43.Timestamp get paidDate => $_getN(5); + $44.Timestamp get paidDate => $_getN(5); @$pb.TagNumber(6) - set paidDate($43.Timestamp v) { setField(6, v); } + set paidDate($44.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasPaidDate() => $_has(5); @$pb.TagNumber(6) void clearPaidDate() => clearField(6); @$pb.TagNumber(6) - $43.Timestamp ensurePaidDate() => $_ensure(5); + $44.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, - $43.Timestamp? occurredAt, + $44.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<$43.Timestamp>(6, _omitFieldNames ? '' : 'occurredAt', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(6, _omitFieldNames ? '' : 'occurredAt', subBuilder: $44.Timestamp.create) ..aOS(7, _omitFieldNames ? '' : 'userName') ..hasRequiredFields = false ; @@ -260,15 +260,15 @@ class BillableResourceEvent extends $pb.GeneratedMessage { void clearUsageCost() => clearField(5); @$pb.TagNumber(6) - $43.Timestamp get occurredAt => $_getN(5); + $44.Timestamp get occurredAt => $_getN(5); @$pb.TagNumber(6) - set occurredAt($43.Timestamp v) { setField(6, v); } + set occurredAt($44.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasOccurredAt() => $_has(5); @$pb.TagNumber(6) void clearOccurredAt() => clearField(6); @$pb.TagNumber(6) - $43.Timestamp ensureOccurredAt() => $_ensure(5); + $44.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, - $43.Timestamp? invoiceDate, + $44.Timestamp? invoiceDate, $core.double? invoiceAmount, $core.String? status, - $43.Timestamp? dueDate, + $44.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<$43.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $44.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'invoiceAmount', $pb.PbFieldType.OD) ..aOS(4, _omitFieldNames ? '' : 'status') - ..aOM<$43.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $44.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) - $43.Timestamp get invoiceDate => $_getN(1); + $44.Timestamp get invoiceDate => $_getN(1); @$pb.TagNumber(2) - set invoiceDate($43.Timestamp v) { setField(2, v); } + set invoiceDate($44.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasInvoiceDate() => $_has(1); @$pb.TagNumber(2) void clearInvoiceDate() => clearField(2); @$pb.TagNumber(2) - $43.Timestamp ensureInvoiceDate() => $_ensure(1); + $44.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) - $43.Timestamp get dueDate => $_getN(4); + $44.Timestamp get dueDate => $_getN(4); @$pb.TagNumber(5) - set dueDate($43.Timestamp v) { setField(5, v); } + set dueDate($44.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasDueDate() => $_has(4); @$pb.TagNumber(5) void clearDueDate() => clearField(5); @$pb.TagNumber(5) - $43.Timestamp ensureDueDate() => $_ensure(4); + $44.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({ - $43.Timestamp? startDate, - $43.Timestamp? endDate, + $44.Timestamp? startDate, + $44.Timestamp? endDate, $core.double? cloudStorageUsageCost, $core.double? dataUploadUsageCost, $core.double? dataEgresUsageCost, @@ -589,8 +589,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<$43.Timestamp>(1, _omitFieldNames ? '' : 'startDate', subBuilder: $43.Timestamp.create) - ..aOM<$43.Timestamp>(2, _omitFieldNames ? '' : 'endDate', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(1, _omitFieldNames ? '' : 'startDate', subBuilder: $44.Timestamp.create) + ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'endDate', subBuilder: $44.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) @@ -627,26 +627,26 @@ class GetCurrentMonthUsageResponse extends $pb.GeneratedMessage { static GetCurrentMonthUsageResponse? _defaultInstance; @$pb.TagNumber(1) - $43.Timestamp get startDate => $_getN(0); + $44.Timestamp get startDate => $_getN(0); @$pb.TagNumber(1) - set startDate($43.Timestamp v) { setField(1, v); } + set startDate($44.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasStartDate() => $_has(0); @$pb.TagNumber(1) void clearStartDate() => clearField(1); @$pb.TagNumber(1) - $43.Timestamp ensureStartDate() => $_ensure(0); + $44.Timestamp ensureStartDate() => $_ensure(0); @$pb.TagNumber(2) - $43.Timestamp get endDate => $_getN(1); + $44.Timestamp get endDate => $_getN(1); @$pb.TagNumber(2) - set endDate($43.Timestamp v) { setField(2, v); } + set endDate($44.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEndDate() => $_has(1); @$pb.TagNumber(2) void clearEndDate() => clearField(2); @$pb.TagNumber(2) - $43.Timestamp ensureEndDate() => $_ensure(1); + $44.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 6bfd3a0b43c..ca89b400b2e 100644 --- a/lib/src/gen/app/v1/billing.pbgrpc.dart +++ b/lib/src/gen/app/v1/billing.pbgrpc.dart @@ -15,32 +15,32 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import 'billing.pb.dart' as $9; +import 'billing.pb.dart' as $10; export 'billing.pb.dart'; @$pb.GrpcServiceName('viam.app.v1.BillingService') class BillingServiceClient extends $grpc.Client { - static final _$getCurrentMonthUsage = $grpc.ClientMethod<$9.GetCurrentMonthUsageRequest, $9.GetCurrentMonthUsageResponse>( + static final _$getCurrentMonthUsage = $grpc.ClientMethod<$10.GetCurrentMonthUsageRequest, $10.GetCurrentMonthUsageResponse>( '/viam.app.v1.BillingService/GetCurrentMonthUsage', - ($9.GetCurrentMonthUsageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $9.GetCurrentMonthUsageResponse.fromBuffer(value)); - static final _$getOrgBillingInformation = $grpc.ClientMethod<$9.GetOrgBillingInformationRequest, $9.GetOrgBillingInformationResponse>( + ($10.GetCurrentMonthUsageRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $10.GetCurrentMonthUsageResponse.fromBuffer(value)); + static final _$getOrgBillingInformation = $grpc.ClientMethod<$10.GetOrgBillingInformationRequest, $10.GetOrgBillingInformationResponse>( '/viam.app.v1.BillingService/GetOrgBillingInformation', - ($9.GetOrgBillingInformationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $9.GetOrgBillingInformationResponse.fromBuffer(value)); - static final _$getInvoicesSummary = $grpc.ClientMethod<$9.GetInvoicesSummaryRequest, $9.GetInvoicesSummaryResponse>( + ($10.GetOrgBillingInformationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $10.GetOrgBillingInformationResponse.fromBuffer(value)); + static final _$getInvoicesSummary = $grpc.ClientMethod<$10.GetInvoicesSummaryRequest, $10.GetInvoicesSummaryResponse>( '/viam.app.v1.BillingService/GetInvoicesSummary', - ($9.GetInvoicesSummaryRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $9.GetInvoicesSummaryResponse.fromBuffer(value)); - static final _$getInvoicePdf = $grpc.ClientMethod<$9.GetInvoicePdfRequest, $9.GetInvoicePdfResponse>( + ($10.GetInvoicesSummaryRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $10.GetInvoicesSummaryResponse.fromBuffer(value)); + static final _$getInvoicePdf = $grpc.ClientMethod<$10.GetInvoicePdfRequest, $10.GetInvoicePdfResponse>( '/viam.app.v1.BillingService/GetInvoicePdf', - ($9.GetInvoicePdfRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $9.GetInvoicePdfResponse.fromBuffer(value)); - static final _$sendPaymentRequiredEmail = $grpc.ClientMethod<$9.SendPaymentRequiredEmailRequest, $9.SendPaymentRequiredEmailResponse>( + ($10.GetInvoicePdfRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $10.GetInvoicePdfResponse.fromBuffer(value)); + static final _$sendPaymentRequiredEmail = $grpc.ClientMethod<$10.SendPaymentRequiredEmailRequest, $10.SendPaymentRequiredEmailResponse>( '/viam.app.v1.BillingService/SendPaymentRequiredEmail', - ($9.SendPaymentRequiredEmailRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $9.SendPaymentRequiredEmailResponse.fromBuffer(value)); + ($10.SendPaymentRequiredEmailRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $10.SendPaymentRequiredEmailResponse.fromBuffer(value)); BillingServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -48,23 +48,23 @@ class BillingServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$9.GetCurrentMonthUsageResponse> getCurrentMonthUsage($9.GetCurrentMonthUsageRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$10.GetCurrentMonthUsageResponse> getCurrentMonthUsage($10.GetCurrentMonthUsageRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getCurrentMonthUsage, request, options: options); } - $grpc.ResponseFuture<$9.GetOrgBillingInformationResponse> getOrgBillingInformation($9.GetOrgBillingInformationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$10.GetOrgBillingInformationResponse> getOrgBillingInformation($10.GetOrgBillingInformationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getOrgBillingInformation, request, options: options); } - $grpc.ResponseFuture<$9.GetInvoicesSummaryResponse> getInvoicesSummary($9.GetInvoicesSummaryRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$10.GetInvoicesSummaryResponse> getInvoicesSummary($10.GetInvoicesSummaryRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getInvoicesSummary, request, options: options); } - $grpc.ResponseStream<$9.GetInvoicePdfResponse> getInvoicePdf($9.GetInvoicePdfRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$10.GetInvoicePdfResponse> getInvoicePdf($10.GetInvoicePdfRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$getInvoicePdf, $async.Stream.fromIterable([request]), options: options); } - $grpc.ResponseFuture<$9.SendPaymentRequiredEmailResponse> sendPaymentRequiredEmail($9.SendPaymentRequiredEmailRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$10.SendPaymentRequiredEmailResponse> sendPaymentRequiredEmail($10.SendPaymentRequiredEmailRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$sendPaymentRequiredEmail, request, options: options); } } @@ -74,66 +74,66 @@ abstract class BillingServiceBase extends $grpc.Service { $core.String get $name => 'viam.app.v1.BillingService'; BillingServiceBase() { - $addMethod($grpc.ServiceMethod<$9.GetCurrentMonthUsageRequest, $9.GetCurrentMonthUsageResponse>( + $addMethod($grpc.ServiceMethod<$10.GetCurrentMonthUsageRequest, $10.GetCurrentMonthUsageResponse>( 'GetCurrentMonthUsage', getCurrentMonthUsage_Pre, false, false, - ($core.List<$core.int> value) => $9.GetCurrentMonthUsageRequest.fromBuffer(value), - ($9.GetCurrentMonthUsageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$9.GetOrgBillingInformationRequest, $9.GetOrgBillingInformationResponse>( + ($core.List<$core.int> value) => $10.GetCurrentMonthUsageRequest.fromBuffer(value), + ($10.GetCurrentMonthUsageResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$10.GetOrgBillingInformationRequest, $10.GetOrgBillingInformationResponse>( 'GetOrgBillingInformation', getOrgBillingInformation_Pre, false, false, - ($core.List<$core.int> value) => $9.GetOrgBillingInformationRequest.fromBuffer(value), - ($9.GetOrgBillingInformationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$9.GetInvoicesSummaryRequest, $9.GetInvoicesSummaryResponse>( + ($core.List<$core.int> value) => $10.GetOrgBillingInformationRequest.fromBuffer(value), + ($10.GetOrgBillingInformationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$10.GetInvoicesSummaryRequest, $10.GetInvoicesSummaryResponse>( 'GetInvoicesSummary', getInvoicesSummary_Pre, false, false, - ($core.List<$core.int> value) => $9.GetInvoicesSummaryRequest.fromBuffer(value), - ($9.GetInvoicesSummaryResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$9.GetInvoicePdfRequest, $9.GetInvoicePdfResponse>( + ($core.List<$core.int> value) => $10.GetInvoicesSummaryRequest.fromBuffer(value), + ($10.GetInvoicesSummaryResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$10.GetInvoicePdfRequest, $10.GetInvoicePdfResponse>( 'GetInvoicePdf', getInvoicePdf_Pre, false, true, - ($core.List<$core.int> value) => $9.GetInvoicePdfRequest.fromBuffer(value), - ($9.GetInvoicePdfResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$9.SendPaymentRequiredEmailRequest, $9.SendPaymentRequiredEmailResponse>( + ($core.List<$core.int> value) => $10.GetInvoicePdfRequest.fromBuffer(value), + ($10.GetInvoicePdfResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$10.SendPaymentRequiredEmailRequest, $10.SendPaymentRequiredEmailResponse>( 'SendPaymentRequiredEmail', sendPaymentRequiredEmail_Pre, false, false, - ($core.List<$core.int> value) => $9.SendPaymentRequiredEmailRequest.fromBuffer(value), - ($9.SendPaymentRequiredEmailResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $10.SendPaymentRequiredEmailRequest.fromBuffer(value), + ($10.SendPaymentRequiredEmailResponse value) => value.writeToBuffer())); } - $async.Future<$9.GetCurrentMonthUsageResponse> getCurrentMonthUsage_Pre($grpc.ServiceCall call, $async.Future<$9.GetCurrentMonthUsageRequest> request) async { + $async.Future<$10.GetCurrentMonthUsageResponse> getCurrentMonthUsage_Pre($grpc.ServiceCall call, $async.Future<$10.GetCurrentMonthUsageRequest> request) async { return getCurrentMonthUsage(call, await request); } - $async.Future<$9.GetOrgBillingInformationResponse> getOrgBillingInformation_Pre($grpc.ServiceCall call, $async.Future<$9.GetOrgBillingInformationRequest> request) async { + $async.Future<$10.GetOrgBillingInformationResponse> getOrgBillingInformation_Pre($grpc.ServiceCall call, $async.Future<$10.GetOrgBillingInformationRequest> request) async { return getOrgBillingInformation(call, await request); } - $async.Future<$9.GetInvoicesSummaryResponse> getInvoicesSummary_Pre($grpc.ServiceCall call, $async.Future<$9.GetInvoicesSummaryRequest> request) async { + $async.Future<$10.GetInvoicesSummaryResponse> getInvoicesSummary_Pre($grpc.ServiceCall call, $async.Future<$10.GetInvoicesSummaryRequest> request) async { return getInvoicesSummary(call, await request); } - $async.Stream<$9.GetInvoicePdfResponse> getInvoicePdf_Pre($grpc.ServiceCall call, $async.Future<$9.GetInvoicePdfRequest> request) async* { + $async.Stream<$10.GetInvoicePdfResponse> getInvoicePdf_Pre($grpc.ServiceCall call, $async.Future<$10.GetInvoicePdfRequest> request) async* { yield* getInvoicePdf(call, await request); } - $async.Future<$9.SendPaymentRequiredEmailResponse> sendPaymentRequiredEmail_Pre($grpc.ServiceCall call, $async.Future<$9.SendPaymentRequiredEmailRequest> request) async { + $async.Future<$10.SendPaymentRequiredEmailResponse> sendPaymentRequiredEmail_Pre($grpc.ServiceCall call, $async.Future<$10.SendPaymentRequiredEmailRequest> request) async { return sendPaymentRequiredEmail(call, await request); } - $async.Future<$9.GetCurrentMonthUsageResponse> getCurrentMonthUsage($grpc.ServiceCall call, $9.GetCurrentMonthUsageRequest request); - $async.Future<$9.GetOrgBillingInformationResponse> getOrgBillingInformation($grpc.ServiceCall call, $9.GetOrgBillingInformationRequest request); - $async.Future<$9.GetInvoicesSummaryResponse> getInvoicesSummary($grpc.ServiceCall call, $9.GetInvoicesSummaryRequest request); - $async.Stream<$9.GetInvoicePdfResponse> getInvoicePdf($grpc.ServiceCall call, $9.GetInvoicePdfRequest request); - $async.Future<$9.SendPaymentRequiredEmailResponse> sendPaymentRequiredEmail($grpc.ServiceCall call, $9.SendPaymentRequiredEmailRequest request); + $async.Future<$10.GetCurrentMonthUsageResponse> getCurrentMonthUsage($grpc.ServiceCall call, $10.GetCurrentMonthUsageRequest request); + $async.Future<$10.GetOrgBillingInformationResponse> getOrgBillingInformation($grpc.ServiceCall call, $10.GetOrgBillingInformationRequest request); + $async.Future<$10.GetInvoicesSummaryResponse> getInvoicesSummary($grpc.ServiceCall call, $10.GetInvoicesSummaryRequest request); + $async.Stream<$10.GetInvoicePdfResponse> getInvoicePdf($grpc.ServiceCall call, $10.GetInvoicePdfRequest request); + $async.Future<$10.SendPaymentRequiredEmailResponse> sendPaymentRequiredEmail($grpc.ServiceCall call, $10.SendPaymentRequiredEmailRequest request); } diff --git a/lib/src/gen/app/v1/end_user.pbgrpc.dart b/lib/src/gen/app/v1/end_user.pbgrpc.dart index a08c5a29204..a77693a57cb 100644 --- a/lib/src/gen/app/v1/end_user.pbgrpc.dart +++ b/lib/src/gen/app/v1/end_user.pbgrpc.dart @@ -15,32 +15,32 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import 'end_user.pb.dart' as $10; +import 'end_user.pb.dart' as $11; export 'end_user.pb.dart'; @$pb.GrpcServiceName('viam.app.v1.EndUserService') class EndUserServiceClient extends $grpc.Client { - static final _$isLegalAccepted = $grpc.ClientMethod<$10.IsLegalAcceptedRequest, $10.IsLegalAcceptedResponse>( + static final _$isLegalAccepted = $grpc.ClientMethod<$11.IsLegalAcceptedRequest, $11.IsLegalAcceptedResponse>( '/viam.app.v1.EndUserService/IsLegalAccepted', - ($10.IsLegalAcceptedRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.IsLegalAcceptedResponse.fromBuffer(value)); - static final _$acceptLegal = $grpc.ClientMethod<$10.AcceptLegalRequest, $10.AcceptLegalResponse>( + ($11.IsLegalAcceptedRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $11.IsLegalAcceptedResponse.fromBuffer(value)); + static final _$acceptLegal = $grpc.ClientMethod<$11.AcceptLegalRequest, $11.AcceptLegalResponse>( '/viam.app.v1.EndUserService/AcceptLegal', - ($10.AcceptLegalRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.AcceptLegalResponse.fromBuffer(value)); - static final _$registerAuthApplication = $grpc.ClientMethod<$10.RegisterAuthApplicationRequest, $10.RegisterAuthApplicationResponse>( + ($11.AcceptLegalRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $11.AcceptLegalResponse.fromBuffer(value)); + static final _$registerAuthApplication = $grpc.ClientMethod<$11.RegisterAuthApplicationRequest, $11.RegisterAuthApplicationResponse>( '/viam.app.v1.EndUserService/RegisterAuthApplication', - ($10.RegisterAuthApplicationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.RegisterAuthApplicationResponse.fromBuffer(value)); - static final _$updateAuthApplication = $grpc.ClientMethod<$10.UpdateAuthApplicationRequest, $10.UpdateAuthApplicationResponse>( + ($11.RegisterAuthApplicationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $11.RegisterAuthApplicationResponse.fromBuffer(value)); + static final _$updateAuthApplication = $grpc.ClientMethod<$11.UpdateAuthApplicationRequest, $11.UpdateAuthApplicationResponse>( '/viam.app.v1.EndUserService/UpdateAuthApplication', - ($10.UpdateAuthApplicationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.UpdateAuthApplicationResponse.fromBuffer(value)); - static final _$getAuthApplication = $grpc.ClientMethod<$10.GetAuthApplicationRequest, $10.GetAuthApplicationResponse>( + ($11.UpdateAuthApplicationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $11.UpdateAuthApplicationResponse.fromBuffer(value)); + static final _$getAuthApplication = $grpc.ClientMethod<$11.GetAuthApplicationRequest, $11.GetAuthApplicationResponse>( '/viam.app.v1.EndUserService/GetAuthApplication', - ($10.GetAuthApplicationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $10.GetAuthApplicationResponse.fromBuffer(value)); + ($11.GetAuthApplicationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $11.GetAuthApplicationResponse.fromBuffer(value)); EndUserServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -48,23 +48,23 @@ class EndUserServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$10.IsLegalAcceptedResponse> isLegalAccepted($10.IsLegalAcceptedRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$11.IsLegalAcceptedResponse> isLegalAccepted($11.IsLegalAcceptedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$isLegalAccepted, request, options: options); } - $grpc.ResponseFuture<$10.AcceptLegalResponse> acceptLegal($10.AcceptLegalRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$11.AcceptLegalResponse> acceptLegal($11.AcceptLegalRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$acceptLegal, request, options: options); } - $grpc.ResponseFuture<$10.RegisterAuthApplicationResponse> registerAuthApplication($10.RegisterAuthApplicationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$11.RegisterAuthApplicationResponse> registerAuthApplication($11.RegisterAuthApplicationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$registerAuthApplication, request, options: options); } - $grpc.ResponseFuture<$10.UpdateAuthApplicationResponse> updateAuthApplication($10.UpdateAuthApplicationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$11.UpdateAuthApplicationResponse> updateAuthApplication($11.UpdateAuthApplicationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateAuthApplication, request, options: options); } - $grpc.ResponseFuture<$10.GetAuthApplicationResponse> getAuthApplication($10.GetAuthApplicationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$11.GetAuthApplicationResponse> getAuthApplication($11.GetAuthApplicationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getAuthApplication, request, options: options); } } @@ -74,66 +74,66 @@ abstract class EndUserServiceBase extends $grpc.Service { $core.String get $name => 'viam.app.v1.EndUserService'; EndUserServiceBase() { - $addMethod($grpc.ServiceMethod<$10.IsLegalAcceptedRequest, $10.IsLegalAcceptedResponse>( + $addMethod($grpc.ServiceMethod<$11.IsLegalAcceptedRequest, $11.IsLegalAcceptedResponse>( 'IsLegalAccepted', isLegalAccepted_Pre, false, false, - ($core.List<$core.int> value) => $10.IsLegalAcceptedRequest.fromBuffer(value), - ($10.IsLegalAcceptedResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.AcceptLegalRequest, $10.AcceptLegalResponse>( + ($core.List<$core.int> value) => $11.IsLegalAcceptedRequest.fromBuffer(value), + ($11.IsLegalAcceptedResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$11.AcceptLegalRequest, $11.AcceptLegalResponse>( 'AcceptLegal', acceptLegal_Pre, false, false, - ($core.List<$core.int> value) => $10.AcceptLegalRequest.fromBuffer(value), - ($10.AcceptLegalResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.RegisterAuthApplicationRequest, $10.RegisterAuthApplicationResponse>( + ($core.List<$core.int> value) => $11.AcceptLegalRequest.fromBuffer(value), + ($11.AcceptLegalResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$11.RegisterAuthApplicationRequest, $11.RegisterAuthApplicationResponse>( 'RegisterAuthApplication', registerAuthApplication_Pre, false, false, - ($core.List<$core.int> value) => $10.RegisterAuthApplicationRequest.fromBuffer(value), - ($10.RegisterAuthApplicationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.UpdateAuthApplicationRequest, $10.UpdateAuthApplicationResponse>( + ($core.List<$core.int> value) => $11.RegisterAuthApplicationRequest.fromBuffer(value), + ($11.RegisterAuthApplicationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$11.UpdateAuthApplicationRequest, $11.UpdateAuthApplicationResponse>( 'UpdateAuthApplication', updateAuthApplication_Pre, false, false, - ($core.List<$core.int> value) => $10.UpdateAuthApplicationRequest.fromBuffer(value), - ($10.UpdateAuthApplicationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$10.GetAuthApplicationRequest, $10.GetAuthApplicationResponse>( + ($core.List<$core.int> value) => $11.UpdateAuthApplicationRequest.fromBuffer(value), + ($11.UpdateAuthApplicationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$11.GetAuthApplicationRequest, $11.GetAuthApplicationResponse>( 'GetAuthApplication', getAuthApplication_Pre, false, false, - ($core.List<$core.int> value) => $10.GetAuthApplicationRequest.fromBuffer(value), - ($10.GetAuthApplicationResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $11.GetAuthApplicationRequest.fromBuffer(value), + ($11.GetAuthApplicationResponse value) => value.writeToBuffer())); } - $async.Future<$10.IsLegalAcceptedResponse> isLegalAccepted_Pre($grpc.ServiceCall call, $async.Future<$10.IsLegalAcceptedRequest> request) async { + $async.Future<$11.IsLegalAcceptedResponse> isLegalAccepted_Pre($grpc.ServiceCall call, $async.Future<$11.IsLegalAcceptedRequest> request) async { return isLegalAccepted(call, await request); } - $async.Future<$10.AcceptLegalResponse> acceptLegal_Pre($grpc.ServiceCall call, $async.Future<$10.AcceptLegalRequest> request) async { + $async.Future<$11.AcceptLegalResponse> acceptLegal_Pre($grpc.ServiceCall call, $async.Future<$11.AcceptLegalRequest> request) async { return acceptLegal(call, await request); } - $async.Future<$10.RegisterAuthApplicationResponse> registerAuthApplication_Pre($grpc.ServiceCall call, $async.Future<$10.RegisterAuthApplicationRequest> request) async { + $async.Future<$11.RegisterAuthApplicationResponse> registerAuthApplication_Pre($grpc.ServiceCall call, $async.Future<$11.RegisterAuthApplicationRequest> request) async { return registerAuthApplication(call, await request); } - $async.Future<$10.UpdateAuthApplicationResponse> updateAuthApplication_Pre($grpc.ServiceCall call, $async.Future<$10.UpdateAuthApplicationRequest> request) async { + $async.Future<$11.UpdateAuthApplicationResponse> updateAuthApplication_Pre($grpc.ServiceCall call, $async.Future<$11.UpdateAuthApplicationRequest> request) async { return updateAuthApplication(call, await request); } - $async.Future<$10.GetAuthApplicationResponse> getAuthApplication_Pre($grpc.ServiceCall call, $async.Future<$10.GetAuthApplicationRequest> request) async { + $async.Future<$11.GetAuthApplicationResponse> getAuthApplication_Pre($grpc.ServiceCall call, $async.Future<$11.GetAuthApplicationRequest> request) async { return getAuthApplication(call, await request); } - $async.Future<$10.IsLegalAcceptedResponse> isLegalAccepted($grpc.ServiceCall call, $10.IsLegalAcceptedRequest request); - $async.Future<$10.AcceptLegalResponse> acceptLegal($grpc.ServiceCall call, $10.AcceptLegalRequest request); - $async.Future<$10.RegisterAuthApplicationResponse> registerAuthApplication($grpc.ServiceCall call, $10.RegisterAuthApplicationRequest request); - $async.Future<$10.UpdateAuthApplicationResponse> updateAuthApplication($grpc.ServiceCall call, $10.UpdateAuthApplicationRequest request); - $async.Future<$10.GetAuthApplicationResponse> getAuthApplication($grpc.ServiceCall call, $10.GetAuthApplicationRequest request); + $async.Future<$11.IsLegalAcceptedResponse> isLegalAccepted($grpc.ServiceCall call, $11.IsLegalAcceptedRequest request); + $async.Future<$11.AcceptLegalResponse> acceptLegal($grpc.ServiceCall call, $11.AcceptLegalRequest request); + $async.Future<$11.RegisterAuthApplicationResponse> registerAuthApplication($grpc.ServiceCall call, $11.RegisterAuthApplicationRequest request); + $async.Future<$11.UpdateAuthApplicationResponse> updateAuthApplication($grpc.ServiceCall call, $11.UpdateAuthApplicationRequest request); + $async.Future<$11.GetAuthApplicationResponse> getAuthApplication($grpc.ServiceCall call, $11.GetAuthApplicationRequest request); } diff --git a/lib/src/gen/app/v1/robot.pb.dart b/lib/src/gen/app/v1/robot.pb.dart index 7a3b9da7c98..834ce30d9ec 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 $13; -import '../../google/protobuf/duration.pb.dart' as $41; -import '../../google/protobuf/struct.pb.dart' as $42; +import '../../common/v1/common.pb.dart' as $14; +import '../../google/protobuf/duration.pb.dart' as $42; +import '../../google/protobuf/struct.pb.dart' as $43; import 'robot.pbenum.dart'; export 'robot.pbenum.dart'; @@ -642,7 +642,7 @@ class ComponentConfig extends $pb.GeneratedMessage { Frame? frame, $core.Iterable<$core.String>? dependsOn, $core.Iterable? serviceConfigs, - $42.Struct? attributes, + $43.Struct? attributes, $core.String? api, LogConfiguration? logConfiguration, }) { @@ -691,7 +691,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<$42.Struct>(8, _omitFieldNames ? '' : 'attributes', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(8, _omitFieldNames ? '' : 'attributes', subBuilder: $43.Struct.create) ..aOS(9, _omitFieldNames ? '' : 'api') ..aOM(10, _omitFieldNames ? '' : 'logConfiguration', subBuilder: LogConfiguration.create) ..hasRequiredFields = false @@ -772,15 +772,15 @@ class ComponentConfig extends $pb.GeneratedMessage { $core.List get serviceConfigs => $_getList(6); @$pb.TagNumber(8) - $42.Struct get attributes => $_getN(7); + $43.Struct get attributes => $_getN(7); @$pb.TagNumber(8) - set attributes($42.Struct v) { setField(8, v); } + set attributes($43.Struct v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasAttributes() => $_has(7); @$pb.TagNumber(8) void clearAttributes() => clearField(8); @$pb.TagNumber(8) - $42.Struct ensureAttributes() => $_ensure(7); + $43.Struct ensureAttributes() => $_ensure(7); @$pb.TagNumber(9) $core.String get api => $_getSZ(8); @@ -807,7 +807,7 @@ class ComponentConfig extends $pb.GeneratedMessage { class ResourceLevelServiceConfig extends $pb.GeneratedMessage { factory ResourceLevelServiceConfig({ $core.String? type, - $42.Struct? attributes, + $43.Struct? attributes, }) { final $result = create(); if (type != null) { @@ -824,7 +824,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<$42.Struct>(2, _omitFieldNames ? '' : 'attributes', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(2, _omitFieldNames ? '' : 'attributes', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -860,15 +860,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) - $42.Struct get attributes => $_getN(1); + $43.Struct get attributes => $_getN(1); @$pb.TagNumber(2) - set attributes($42.Struct v) { setField(2, v); } + set attributes($43.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasAttributes() => $_has(1); @$pb.TagNumber(2) void clearAttributes() => clearField(2); @$pb.TagNumber(2) - $42.Struct ensureAttributes() => $_ensure(1); + $43.Struct ensureAttributes() => $_ensure(1); } /// A ProcessConfig describes how to manage a system process. @@ -881,7 +881,7 @@ class ProcessConfig extends $pb.GeneratedMessage { $core.bool? oneShot, $core.bool? log, $core.int? stopSignal, - $41.Duration? stopTimeout, + $42.Duration? stopTimeout, $core.Map<$core.String, $core.String>? env, }) { final $result = create(); @@ -926,7 +926,7 @@ class ProcessConfig extends $pb.GeneratedMessage { ..aOB(5, _omitFieldNames ? '' : 'oneShot') ..aOB(6, _omitFieldNames ? '' : 'log') ..a<$core.int>(7, _omitFieldNames ? '' : 'stopSignal', $pb.PbFieldType.O3) - ..aOM<$41.Duration>(8, _omitFieldNames ? '' : 'stopTimeout', subBuilder: $41.Duration.create) + ..aOM<$42.Duration>(8, _omitFieldNames ? '' : 'stopTimeout', subBuilder: $42.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 ; @@ -1010,15 +1010,15 @@ class ProcessConfig extends $pb.GeneratedMessage { void clearStopSignal() => clearField(7); @$pb.TagNumber(8) - $41.Duration get stopTimeout => $_getN(7); + $42.Duration get stopTimeout => $_getN(7); @$pb.TagNumber(8) - set stopTimeout($41.Duration v) { setField(8, v); } + set stopTimeout($42.Duration v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasStopTimeout() => $_has(7); @$pb.TagNumber(8) void clearStopTimeout() => clearField(8); @$pb.TagNumber(8) - $41.Duration ensureStopTimeout() => $_ensure(7); + $42.Duration ensureStopTimeout() => $_ensure(7); /// additional environment variables passed to the process @$pb.TagNumber(9) @@ -1030,7 +1030,7 @@ class ServiceConfig extends $pb.GeneratedMessage { $core.String? name, $core.String? namespace, $core.String? type, - $42.Struct? attributes, + $43.Struct? attributes, $core.Iterable<$core.String>? dependsOn, $core.String? model, $core.String? api, @@ -1075,7 +1075,7 @@ class ServiceConfig extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'namespace') ..aOS(3, _omitFieldNames ? '' : 'type') - ..aOM<$42.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $43.Struct.create) ..pPS(5, _omitFieldNames ? '' : 'dependsOn') ..aOS(6, _omitFieldNames ? '' : 'model') ..aOS(9, _omitFieldNames ? '' : 'api') @@ -1133,15 +1133,15 @@ class ServiceConfig extends $pb.GeneratedMessage { void clearType() => clearField(3); @$pb.TagNumber(4) - $42.Struct get attributes => $_getN(3); + $43.Struct get attributes => $_getN(3); @$pb.TagNumber(4) - set attributes($42.Struct v) { setField(4, v); } + set attributes($43.Struct v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasAttributes() => $_has(3); @$pb.TagNumber(4) void clearAttributes() => clearField(4); @$pb.TagNumber(4) - $42.Struct ensureAttributes() => $_ensure(3); + $43.Struct ensureAttributes() => $_ensure(3); @$pb.TagNumber(5) $core.List<$core.String> get dependsOn => $_getList(4); @@ -1289,7 +1289,7 @@ class NetworkConfig extends $pb.GeneratedMessage { class SessionsConfig extends $pb.GeneratedMessage { factory SessionsConfig({ - $41.Duration? heartbeatWindow, + $42.Duration? heartbeatWindow, }) { final $result = create(); if (heartbeatWindow != null) { @@ -1302,7 +1302,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<$41.Duration>(1, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $41.Duration.create) + ..aOM<$42.Duration>(1, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $42.Duration.create) ..hasRequiredFields = false ; @@ -1328,15 +1328,15 @@ class SessionsConfig extends $pb.GeneratedMessage { static SessionsConfig? _defaultInstance; @$pb.TagNumber(1) - $41.Duration get heartbeatWindow => $_getN(0); + $42.Duration get heartbeatWindow => $_getN(0); @$pb.TagNumber(1) - set heartbeatWindow($41.Duration v) { setField(1, v); } + set heartbeatWindow($42.Duration v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasHeartbeatWindow() => $_has(0); @$pb.TagNumber(1) void clearHeartbeatWindow() => clearField(1); @$pb.TagNumber(1) - $41.Duration ensureHeartbeatWindow() => $_ensure(0); + $42.Duration ensureHeartbeatWindow() => $_ensure(0); } class AuthConfig extends $pb.GeneratedMessage { @@ -1409,7 +1409,7 @@ class AuthConfig extends $pb.GeneratedMessage { class JWKSFile extends $pb.GeneratedMessage { factory JWKSFile({ - $42.Struct? json, + $43.Struct? json, }) { final $result = create(); if (json != null) { @@ -1422,7 +1422,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<$42.Struct>(1, _omitFieldNames ? '' : 'json', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(1, _omitFieldNames ? '' : 'json', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1450,15 +1450,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) - $42.Struct get json => $_getN(0); + $43.Struct get json => $_getN(0); @$pb.TagNumber(1) - set json($42.Struct v) { setField(1, v); } + set json($43.Struct v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasJson() => $_has(0); @$pb.TagNumber(1) void clearJson() => clearField(1); @$pb.TagNumber(1) - $42.Struct ensureJson() => $_ensure(0); + $43.Struct ensureJson() => $_ensure(0); } /// ExternalAuthConfig describes how a viam managed robot can accept @@ -1518,7 +1518,7 @@ class ExternalAuthConfig extends $pb.GeneratedMessage { class AuthHandlerConfig extends $pb.GeneratedMessage { factory AuthHandlerConfig({ CredentialsType? type, - $42.Struct? config, + $43.Struct? config, }) { final $result = create(); if (type != null) { @@ -1535,7 +1535,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<$42.Struct>(5, _omitFieldNames ? '' : 'config', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(5, _omitFieldNames ? '' : 'config', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1570,15 +1570,15 @@ class AuthHandlerConfig extends $pb.GeneratedMessage { void clearType() => clearField(1); @$pb.TagNumber(5) - $42.Struct get config => $_getN(1); + $43.Struct get config => $_getN(1); @$pb.TagNumber(5) - set config($42.Struct v) { setField(5, v); } + set config($43.Struct v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasConfig() => $_has(1); @$pb.TagNumber(5) void clearConfig() => clearField(5); @$pb.TagNumber(5) - $42.Struct ensureConfig() => $_ensure(1); + $43.Struct ensureConfig() => $_ensure(1); } class Frame extends $pb.GeneratedMessage { @@ -1586,7 +1586,7 @@ class Frame extends $pb.GeneratedMessage { $core.String? parent, Translation? translation, Orientation? orientation, - $13.Geometry? geometry, + $14.Geometry? geometry, }) { final $result = create(); if (parent != null) { @@ -1611,7 +1611,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<$13.Geometry>(4, _omitFieldNames ? '' : 'geometry', subBuilder: $13.Geometry.create) + ..aOM<$14.Geometry>(4, _omitFieldNames ? '' : 'geometry', subBuilder: $14.Geometry.create) ..hasRequiredFields = false ; @@ -1668,15 +1668,15 @@ class Frame extends $pb.GeneratedMessage { Orientation ensureOrientation() => $_ensure(2); @$pb.TagNumber(4) - $13.Geometry get geometry => $_getN(3); + $14.Geometry get geometry => $_getN(3); @$pb.TagNumber(4) - set geometry($13.Geometry v) { setField(4, v); } + set geometry($14.Geometry v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasGeometry() => $_has(3); @$pb.TagNumber(4) void clearGeometry() => clearField(4); @$pb.TagNumber(4) - $13.Geometry ensureGeometry() => $_ensure(3); + $14.Geometry ensureGeometry() => $_ensure(3); } class LogConfiguration extends $pb.GeneratedMessage { @@ -2473,8 +2473,8 @@ class RemoteConfig extends $pb.GeneratedMessage { RemoteAuth? auth, $core.String? managedBy, $core.bool? insecure, - $41.Duration? connectionCheckInterval, - $41.Duration? reconnectInterval, + $42.Duration? connectionCheckInterval, + $42.Duration? reconnectInterval, $core.Iterable? serviceConfigs, $core.String? secret, }) { @@ -2522,8 +2522,8 @@ class RemoteConfig extends $pb.GeneratedMessage { ..aOM(4, _omitFieldNames ? '' : 'auth', subBuilder: RemoteAuth.create) ..aOS(5, _omitFieldNames ? '' : 'managedBy') ..aOB(6, _omitFieldNames ? '' : 'insecure') - ..aOM<$41.Duration>(7, _omitFieldNames ? '' : 'connectionCheckInterval', subBuilder: $41.Duration.create) - ..aOM<$41.Duration>(8, _omitFieldNames ? '' : 'reconnectInterval', subBuilder: $41.Duration.create) + ..aOM<$42.Duration>(7, _omitFieldNames ? '' : 'connectionCheckInterval', subBuilder: $42.Duration.create) + ..aOM<$42.Duration>(8, _omitFieldNames ? '' : 'reconnectInterval', subBuilder: $42.Duration.create) ..pc(9, _omitFieldNames ? '' : 'serviceConfigs', $pb.PbFieldType.PM, subBuilder: ResourceLevelServiceConfig.create) ..aOS(10, _omitFieldNames ? '' : 'secret') ..hasRequiredFields = false @@ -2609,26 +2609,26 @@ class RemoteConfig extends $pb.GeneratedMessage { void clearInsecure() => clearField(6); @$pb.TagNumber(7) - $41.Duration get connectionCheckInterval => $_getN(6); + $42.Duration get connectionCheckInterval => $_getN(6); @$pb.TagNumber(7) - set connectionCheckInterval($41.Duration v) { setField(7, v); } + set connectionCheckInterval($42.Duration v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasConnectionCheckInterval() => $_has(6); @$pb.TagNumber(7) void clearConnectionCheckInterval() => clearField(7); @$pb.TagNumber(7) - $41.Duration ensureConnectionCheckInterval() => $_ensure(6); + $42.Duration ensureConnectionCheckInterval() => $_ensure(6); @$pb.TagNumber(8) - $41.Duration get reconnectInterval => $_getN(7); + $42.Duration get reconnectInterval => $_getN(7); @$pb.TagNumber(8) - set reconnectInterval($41.Duration v) { setField(8, v); } + set reconnectInterval($42.Duration v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasReconnectInterval() => $_has(7); @$pb.TagNumber(8) void clearReconnectInterval() => clearField(8); @$pb.TagNumber(8) - $41.Duration ensureReconnectInterval() => $_ensure(7); + $42.Duration ensureReconnectInterval() => $_ensure(7); @$pb.TagNumber(9) $core.List get serviceConfigs => $_getList(8); @@ -3149,7 +3149,7 @@ class CertificateResponse extends $pb.GeneratedMessage { class LogRequest extends $pb.GeneratedMessage { factory LogRequest({ $core.String? id, - $core.Iterable<$13.LogEntry>? logs, + $core.Iterable<$14.LogEntry>? logs, }) { final $result = create(); if (id != null) { @@ -3166,7 +3166,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<$13.LogEntry>(2, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $13.LogEntry.create) + ..pc<$14.LogEntry>(2, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $14.LogEntry.create) ..hasRequiredFields = false ; @@ -3202,7 +3202,7 @@ class LogRequest extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $core.List<$13.LogEntry> get logs => $_getList(1); + $core.List<$14.LogEntry> get logs => $_getList(1); } class LogResponse extends $pb.GeneratedMessage { @@ -3292,7 +3292,7 @@ class NeedsRestartResponse extends $pb.GeneratedMessage { factory NeedsRestartResponse({ $core.String? id, $core.bool? mustRestart, - $41.Duration? restartCheckInterval, + $42.Duration? restartCheckInterval, }) { final $result = create(); if (id != null) { @@ -3313,7 +3313,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<$41.Duration>(3, _omitFieldNames ? '' : 'restartCheckInterval', subBuilder: $41.Duration.create) + ..aOM<$42.Duration>(3, _omitFieldNames ? '' : 'restartCheckInterval', subBuilder: $42.Duration.create) ..hasRequiredFields = false ; @@ -3358,15 +3358,15 @@ class NeedsRestartResponse extends $pb.GeneratedMessage { void clearMustRestart() => clearField(2); @$pb.TagNumber(3) - $41.Duration get restartCheckInterval => $_getN(2); + $42.Duration get restartCheckInterval => $_getN(2); @$pb.TagNumber(3) - set restartCheckInterval($41.Duration v) { setField(3, v); } + set restartCheckInterval($42.Duration v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasRestartCheckInterval() => $_has(2); @$pb.TagNumber(3) void clearRestartCheckInterval() => clearField(3); @$pb.TagNumber(3) - $41.Duration ensureRestartCheckInterval() => $_ensure(2); + $42.Duration ensureRestartCheckInterval() => $_ensure(2); } /// ModuleConfig is the configuration for a module. @@ -3379,6 +3379,7 @@ class ModuleConfig extends $pb.GeneratedMessage { $core.String? moduleId, $core.Map<$core.String, $core.String>? env, AppValidationStatus? status, + $42.Duration? firstRunTimeout, }) { final $result = create(); if (name != null) { @@ -3402,6 +3403,9 @@ class ModuleConfig extends $pb.GeneratedMessage { if (status != null) { $result.status = status; } + if (firstRunTimeout != null) { + $result.firstRunTimeout = firstRunTimeout; + } return $result; } ModuleConfig._() : super(); @@ -3416,6 +3420,7 @@ class ModuleConfig extends $pb.GeneratedMessage { ..aOS(5, _omitFieldNames ? '' : 'moduleId') ..m<$core.String, $core.String>(6, _omitFieldNames ? '' : 'env', entryClassName: 'ModuleConfig.EnvEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('viam.app.v1')) ..aOM(7, _omitFieldNames ? '' : 'status', subBuilder: AppValidationStatus.create) + ..aOM<$42.Duration>(8, _omitFieldNames ? '' : 'firstRunTimeout', subBuilder: $42.Duration.create) ..hasRequiredFields = false ; @@ -3504,6 +3509,18 @@ class ModuleConfig extends $pb.GeneratedMessage { void clearStatus() => clearField(7); @$pb.TagNumber(7) AppValidationStatus ensureStatus() => $_ensure(6); + + /// timeout for first_run script + @$pb.TagNumber(8) + $42.Duration get firstRunTimeout => $_getN(7); + @$pb.TagNumber(8) + set firstRunTimeout($42.Duration v) { setField(8, v); } + @$pb.TagNumber(8) + $core.bool hasFirstRunTimeout() => $_has(7); + @$pb.TagNumber(8) + void clearFirstRunTimeout() => clearField(8); + @$pb.TagNumber(8) + $42.Duration ensureFirstRunTimeout() => $_ensure(7); } /// PackageConfig is the configration for deployed Packages. @@ -3622,7 +3639,7 @@ class PackageConfig extends $pb.GeneratedMessage { class MaintenanceConfig extends $pb.GeneratedMessage { factory MaintenanceConfig({ - $13.ResourceName? sensorName, + $14.ResourceName? sensorName, $core.String? maintenanceAllowedKey, }) { final $result = create(); @@ -3639,7 +3656,7 @@ class MaintenanceConfig extends $pb.GeneratedMessage { factory MaintenanceConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MaintenanceConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) - ..aOM<$13.ResourceName>(1, _omitFieldNames ? '' : 'sensorName', subBuilder: $13.ResourceName.create) + ..aOM<$14.ResourceName>(1, _omitFieldNames ? '' : 'sensorName', subBuilder: $14.ResourceName.create) ..aOS(2, _omitFieldNames ? '' : 'maintenanceAllowedKey') ..hasRequiredFields = false ; @@ -3666,15 +3683,15 @@ class MaintenanceConfig extends $pb.GeneratedMessage { static MaintenanceConfig? _defaultInstance; @$pb.TagNumber(1) - $13.ResourceName get sensorName => $_getN(0); + $14.ResourceName get sensorName => $_getN(0); @$pb.TagNumber(1) - set sensorName($13.ResourceName v) { setField(1, v); } + set sensorName($14.ResourceName v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasSensorName() => $_has(0); @$pb.TagNumber(1) void clearSensorName() => clearField(1); @$pb.TagNumber(1) - $13.ResourceName ensureSensorName() => $_ensure(0); + $14.ResourceName ensureSensorName() => $_ensure(0); @$pb.TagNumber(2) $core.String get maintenanceAllowedKey => $_getSZ(1); diff --git a/lib/src/gen/app/v1/robot.pbgrpc.dart b/lib/src/gen/app/v1/robot.pbgrpc.dart index 25e01450f14..0e91ff4048b 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 $11; +import 'robot.pb.dart' as $12; export 'robot.pb.dart'; @$pb.GrpcServiceName('viam.app.v1.RobotService') class RobotServiceClient extends $grpc.Client { - static final _$config = $grpc.ClientMethod<$11.ConfigRequest, $11.ConfigResponse>( + static final _$config = $grpc.ClientMethod<$12.ConfigRequest, $12.ConfigResponse>( '/viam.app.v1.RobotService/Config', - ($11.ConfigRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $11.ConfigResponse.fromBuffer(value)); - static final _$certificate = $grpc.ClientMethod<$11.CertificateRequest, $11.CertificateResponse>( + ($12.ConfigRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $12.ConfigResponse.fromBuffer(value)); + static final _$certificate = $grpc.ClientMethod<$12.CertificateRequest, $12.CertificateResponse>( '/viam.app.v1.RobotService/Certificate', - ($11.CertificateRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $11.CertificateResponse.fromBuffer(value)); - static final _$log = $grpc.ClientMethod<$11.LogRequest, $11.LogResponse>( + ($12.CertificateRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $12.CertificateResponse.fromBuffer(value)); + static final _$log = $grpc.ClientMethod<$12.LogRequest, $12.LogResponse>( '/viam.app.v1.RobotService/Log', - ($11.LogRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $11.LogResponse.fromBuffer(value)); - static final _$needsRestart = $grpc.ClientMethod<$11.NeedsRestartRequest, $11.NeedsRestartResponse>( + ($12.LogRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $12.LogResponse.fromBuffer(value)); + static final _$needsRestart = $grpc.ClientMethod<$12.NeedsRestartRequest, $12.NeedsRestartResponse>( '/viam.app.v1.RobotService/NeedsRestart', - ($11.NeedsRestartRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $11.NeedsRestartResponse.fromBuffer(value)); + ($12.NeedsRestartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $12.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<$11.ConfigResponse> config($11.ConfigRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$12.ConfigResponse> config($12.ConfigRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$config, request, options: options); } - $grpc.ResponseFuture<$11.CertificateResponse> certificate($11.CertificateRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$12.CertificateResponse> certificate($12.CertificateRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$certificate, request, options: options); } - $grpc.ResponseFuture<$11.LogResponse> log($11.LogRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$12.LogResponse> log($12.LogRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$log, request, options: options); } - $grpc.ResponseFuture<$11.NeedsRestartResponse> needsRestart($11.NeedsRestartRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$12.NeedsRestartResponse> needsRestart($12.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<$11.ConfigRequest, $11.ConfigResponse>( + $addMethod($grpc.ServiceMethod<$12.ConfigRequest, $12.ConfigResponse>( 'Config', config_Pre, false, false, - ($core.List<$core.int> value) => $11.ConfigRequest.fromBuffer(value), - ($11.ConfigResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$11.CertificateRequest, $11.CertificateResponse>( + ($core.List<$core.int> value) => $12.ConfigRequest.fromBuffer(value), + ($12.ConfigResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$12.CertificateRequest, $12.CertificateResponse>( 'Certificate', certificate_Pre, false, false, - ($core.List<$core.int> value) => $11.CertificateRequest.fromBuffer(value), - ($11.CertificateResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$11.LogRequest, $11.LogResponse>( + ($core.List<$core.int> value) => $12.CertificateRequest.fromBuffer(value), + ($12.CertificateResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$12.LogRequest, $12.LogResponse>( 'Log', log_Pre, false, false, - ($core.List<$core.int> value) => $11.LogRequest.fromBuffer(value), - ($11.LogResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$11.NeedsRestartRequest, $11.NeedsRestartResponse>( + ($core.List<$core.int> value) => $12.LogRequest.fromBuffer(value), + ($12.LogResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$12.NeedsRestartRequest, $12.NeedsRestartResponse>( 'NeedsRestart', needsRestart_Pre, false, false, - ($core.List<$core.int> value) => $11.NeedsRestartRequest.fromBuffer(value), - ($11.NeedsRestartResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $12.NeedsRestartRequest.fromBuffer(value), + ($12.NeedsRestartResponse value) => value.writeToBuffer())); } - $async.Future<$11.ConfigResponse> config_Pre($grpc.ServiceCall call, $async.Future<$11.ConfigRequest> request) async { + $async.Future<$12.ConfigResponse> config_Pre($grpc.ServiceCall call, $async.Future<$12.ConfigRequest> request) async { return config(call, await request); } - $async.Future<$11.CertificateResponse> certificate_Pre($grpc.ServiceCall call, $async.Future<$11.CertificateRequest> request) async { + $async.Future<$12.CertificateResponse> certificate_Pre($grpc.ServiceCall call, $async.Future<$12.CertificateRequest> request) async { return certificate(call, await request); } - $async.Future<$11.LogResponse> log_Pre($grpc.ServiceCall call, $async.Future<$11.LogRequest> request) async { + $async.Future<$12.LogResponse> log_Pre($grpc.ServiceCall call, $async.Future<$12.LogRequest> request) async { return log(call, await request); } - $async.Future<$11.NeedsRestartResponse> needsRestart_Pre($grpc.ServiceCall call, $async.Future<$11.NeedsRestartRequest> request) async { + $async.Future<$12.NeedsRestartResponse> needsRestart_Pre($grpc.ServiceCall call, $async.Future<$12.NeedsRestartRequest> request) async { return needsRestart(call, await request); } - $async.Future<$11.ConfigResponse> config($grpc.ServiceCall call, $11.ConfigRequest request); - $async.Future<$11.CertificateResponse> certificate($grpc.ServiceCall call, $11.CertificateRequest request); - $async.Future<$11.LogResponse> log($grpc.ServiceCall call, $11.LogRequest request); - $async.Future<$11.NeedsRestartResponse> needsRestart($grpc.ServiceCall call, $11.NeedsRestartRequest request); + $async.Future<$12.ConfigResponse> config($grpc.ServiceCall call, $12.ConfigRequest request); + $async.Future<$12.CertificateResponse> certificate($grpc.ServiceCall call, $12.CertificateRequest request); + $async.Future<$12.LogResponse> log($grpc.ServiceCall call, $12.LogRequest request); + $async.Future<$12.NeedsRestartResponse> needsRestart($grpc.ServiceCall call, $12.NeedsRestartRequest request); } diff --git a/lib/src/gen/app/v1/robot.pbjson.dart b/lib/src/gen/app/v1/robot.pbjson.dart index ca69ce0ec91..807e327283d 100644 --- a/lib/src/gen/app/v1/robot.pbjson.dart +++ b/lib/src/gen/app/v1/robot.pbjson.dart @@ -702,6 +702,7 @@ const ModuleConfig$json = { {'1': 'module_id', '3': 5, '4': 1, '5': 9, '10': 'moduleId'}, {'1': 'env', '3': 6, '4': 3, '5': 11, '6': '.viam.app.v1.ModuleConfig.EnvEntry', '10': 'env'}, {'1': 'status', '3': 7, '4': 1, '5': 11, '6': '.viam.app.v1.AppValidationStatus', '10': 'status'}, + {'1': 'first_run_timeout', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Duration', '10': 'firstRunTimeout'}, ], '3': [ModuleConfig_EnvEntry$json], }; @@ -722,8 +723,9 @@ final $typed_data.Uint8List moduleConfigDescriptor = $convert.base64Decode( 'sKCWxvZ19sZXZlbBgDIAEoCVIIbG9nTGV2ZWwSEgoEdHlwZRgEIAEoCVIEdHlwZRIbCgltb2R1' 'bGVfaWQYBSABKAlSCG1vZHVsZUlkEjQKA2VudhgGIAMoCzIiLnZpYW0uYXBwLnYxLk1vZHVsZU' 'NvbmZpZy5FbnZFbnRyeVIDZW52EjgKBnN0YXR1cxgHIAEoCzIgLnZpYW0uYXBwLnYxLkFwcFZh' - 'bGlkYXRpb25TdGF0dXNSBnN0YXR1cxo2CghFbnZFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCg' - 'V2YWx1ZRgCIAEoCVIFdmFsdWU6AjgB'); + 'bGlkYXRpb25TdGF0dXNSBnN0YXR1cxJFChFmaXJzdF9ydW5fdGltZW91dBgIIAEoCzIZLmdvb2' + 'dsZS5wcm90b2J1Zi5EdXJhdGlvblIPZmlyc3RSdW5UaW1lb3V0GjYKCEVudkVudHJ5EhAKA2tl' + 'eRgBIAEoCVIDa2V5EhQKBXZhbHVlGAIgASgJUgV2YWx1ZToCOAE='); @$core.Deprecated('Use packageConfigDescriptor instead') const PackageConfig$json = { diff --git a/lib/src/gen/common/v1/common.pb.dart b/lib/src/gen/common/v1/common.pb.dart index 98ea3eaaff1..558a7017e81 100644 --- a/lib/src/gen/common/v1/common.pb.dart +++ b/lib/src/gen/common/v1/common.pb.dart @@ -13,8 +13,8 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../google/protobuf/struct.pb.dart' as $42; -import '../../google/protobuf/timestamp.pb.dart' as $43; +import '../../google/protobuf/struct.pb.dart' as $43; +import '../../google/protobuf/timestamp.pb.dart' as $44; import 'common.pbenum.dart'; export 'common.pbenum.dart'; @@ -1260,7 +1260,7 @@ class ActuatorStatus extends $pb.GeneratedMessage { class ResponseMetadata extends $pb.GeneratedMessage { factory ResponseMetadata({ - $43.Timestamp? capturedAt, + $44.Timestamp? capturedAt, }) { final $result = create(); if (capturedAt != null) { @@ -1273,7 +1273,7 @@ class ResponseMetadata extends $pb.GeneratedMessage { factory ResponseMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResponseMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOM<$43.Timestamp>(1, _omitFieldNames ? '' : 'capturedAt', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(1, _omitFieldNames ? '' : 'capturedAt', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -1303,22 +1303,22 @@ class ResponseMetadata extends $pb.GeneratedMessage { /// Note: If correlating between other resources, be sure that the means /// of measuring the capture are similar enough such that comparison can be made between them. @$pb.TagNumber(1) - $43.Timestamp get capturedAt => $_getN(0); + $44.Timestamp get capturedAt => $_getN(0); @$pb.TagNumber(1) - set capturedAt($43.Timestamp v) { setField(1, v); } + set capturedAt($44.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasCapturedAt() => $_has(0); @$pb.TagNumber(1) void clearCapturedAt() => clearField(1); @$pb.TagNumber(1) - $43.Timestamp ensureCapturedAt() => $_ensure(0); + $44.Timestamp ensureCapturedAt() => $_ensure(0); } /// DoCommandRequest represents a generic DoCommand input class DoCommandRequest extends $pb.GeneratedMessage { factory DoCommandRequest({ $core.String? name, - $42.Struct? command, + $43.Struct? command, }) { final $result = create(); if (name != null) { @@ -1335,7 +1335,7 @@ class DoCommandRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DoCommandRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(2, _omitFieldNames ? '' : 'command', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(2, _omitFieldNames ? '' : 'command', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1370,21 +1370,21 @@ class DoCommandRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(2) - $42.Struct get command => $_getN(1); + $43.Struct get command => $_getN(1); @$pb.TagNumber(2) - set command($42.Struct v) { setField(2, v); } + set command($43.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasCommand() => $_has(1); @$pb.TagNumber(2) void clearCommand() => clearField(2); @$pb.TagNumber(2) - $42.Struct ensureCommand() => $_ensure(1); + $43.Struct ensureCommand() => $_ensure(1); } /// DoCommandResponse represents a generic DoCommand output class DoCommandResponse extends $pb.GeneratedMessage { factory DoCommandResponse({ - $42.Struct? result, + $43.Struct? result, }) { final $result = create(); if (result != null) { @@ -1397,7 +1397,7 @@ class DoCommandResponse extends $pb.GeneratedMessage { factory DoCommandResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DoCommandResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..aOM<$42.Struct>(1, _omitFieldNames ? '' : 'result', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(1, _omitFieldNames ? '' : 'result', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1423,21 +1423,21 @@ class DoCommandResponse extends $pb.GeneratedMessage { static DoCommandResponse? _defaultInstance; @$pb.TagNumber(1) - $42.Struct get result => $_getN(0); + $43.Struct get result => $_getN(0); @$pb.TagNumber(1) - set result($42.Struct v) { setField(1, v); } + set result($43.Struct v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasResult() => $_has(0); @$pb.TagNumber(1) void clearResult() => clearField(1); @$pb.TagNumber(1) - $42.Struct ensureResult() => $_ensure(0); + $43.Struct ensureResult() => $_ensure(0); } class GetKinematicsRequest extends $pb.GeneratedMessage { factory GetKinematicsRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1454,7 +1454,7 @@ class GetKinematicsRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetKinematicsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1491,15 +1491,15 @@ class GetKinematicsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetKinematicsResponse extends $pb.GeneratedMessage { @@ -1572,7 +1572,7 @@ class GetKinematicsResponse extends $pb.GeneratedMessage { class GetGeometriesRequest extends $pb.GeneratedMessage { factory GetGeometriesRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1589,7 +1589,7 @@ class GetGeometriesRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetGeometriesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1626,15 +1626,15 @@ class GetGeometriesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetGeometriesResponse extends $pb.GeneratedMessage { @@ -1685,7 +1685,7 @@ class GetGeometriesResponse extends $pb.GeneratedMessage { class GetReadingsRequest extends $pb.GeneratedMessage { factory GetReadingsRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1702,7 +1702,7 @@ class GetReadingsRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetReadingsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1739,20 +1739,20 @@ class GetReadingsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetReadingsResponse extends $pb.GeneratedMessage { factory GetReadingsResponse({ - $core.Map<$core.String, $42.Value>? readings, + $core.Map<$core.String, $43.Value>? readings, }) { final $result = create(); if (readings != null) { @@ -1765,7 +1765,7 @@ class GetReadingsResponse extends $pb.GeneratedMessage { factory GetReadingsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetReadingsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) - ..m<$core.String, $42.Value>(1, _omitFieldNames ? '' : 'readings', entryClassName: 'GetReadingsResponse.ReadingsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $42.Value.create, valueDefaultOrMaker: $42.Value.getDefault, packageName: const $pb.PackageName('viam.common.v1')) + ..m<$core.String, $43.Value>(1, _omitFieldNames ? '' : 'readings', entryClassName: 'GetReadingsResponse.ReadingsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $43.Value.create, valueDefaultOrMaker: $43.Value.getDefault, packageName: const $pb.PackageName('viam.common.v1')) ..hasRequiredFields = false ; @@ -1791,19 +1791,19 @@ class GetReadingsResponse extends $pb.GeneratedMessage { static GetReadingsResponse? _defaultInstance; @$pb.TagNumber(1) - $core.Map<$core.String, $42.Value> get readings => $_getMap(0); + $core.Map<$core.String, $43.Value> get readings => $_getMap(0); } class LogEntry extends $pb.GeneratedMessage { factory LogEntry({ $core.String? host, $core.String? level, - $43.Timestamp? time, + $44.Timestamp? time, $core.String? loggerName, $core.String? message, - $42.Struct? caller, + $43.Struct? caller, $core.String? stack, - $core.Iterable<$42.Struct>? fields, + $core.Iterable<$43.Struct>? fields, }) { final $result = create(); if (host != null) { @@ -1839,12 +1839,12 @@ class LogEntry extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LogEntry', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.common.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'host') ..aOS(2, _omitFieldNames ? '' : 'level') - ..aOM<$43.Timestamp>(3, _omitFieldNames ? '' : 'time', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'time', subBuilder: $44.Timestamp.create) ..aOS(4, _omitFieldNames ? '' : 'loggerName') ..aOS(5, _omitFieldNames ? '' : 'message') - ..aOM<$42.Struct>(6, _omitFieldNames ? '' : 'caller', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(6, _omitFieldNames ? '' : 'caller', subBuilder: $43.Struct.create) ..aOS(7, _omitFieldNames ? '' : 'stack') - ..pc<$42.Struct>(8, _omitFieldNames ? '' : 'fields', $pb.PbFieldType.PM, subBuilder: $42.Struct.create) + ..pc<$43.Struct>(8, _omitFieldNames ? '' : 'fields', $pb.PbFieldType.PM, subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1888,15 +1888,15 @@ class LogEntry extends $pb.GeneratedMessage { void clearLevel() => clearField(2); @$pb.TagNumber(3) - $43.Timestamp get time => $_getN(2); + $44.Timestamp get time => $_getN(2); @$pb.TagNumber(3) - set time($43.Timestamp v) { setField(3, v); } + set time($44.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasTime() => $_has(2); @$pb.TagNumber(3) void clearTime() => clearField(3); @$pb.TagNumber(3) - $43.Timestamp ensureTime() => $_ensure(2); + $44.Timestamp ensureTime() => $_ensure(2); @$pb.TagNumber(4) $core.String get loggerName => $_getSZ(3); @@ -1917,15 +1917,15 @@ class LogEntry extends $pb.GeneratedMessage { void clearMessage() => clearField(5); @$pb.TagNumber(6) - $42.Struct get caller => $_getN(5); + $43.Struct get caller => $_getN(5); @$pb.TagNumber(6) - set caller($42.Struct v) { setField(6, v); } + set caller($43.Struct v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasCaller() => $_has(5); @$pb.TagNumber(6) void clearCaller() => clearField(6); @$pb.TagNumber(6) - $42.Struct ensureCaller() => $_ensure(5); + $43.Struct ensureCaller() => $_ensure(5); @$pb.TagNumber(7) $core.String get stack => $_getSZ(6); @@ -1937,7 +1937,7 @@ class LogEntry extends $pb.GeneratedMessage { void clearStack() => clearField(7); @$pb.TagNumber(8) - $core.List<$42.Struct> get fields => $_getList(7); + $core.List<$43.Struct> get fields => $_getList(7); } class Common { diff --git a/lib/src/gen/component/arm/v1/arm.pb.dart b/lib/src/gen/component/arm/v1/arm.pb.dart index 319a869cbf1..942c759d448 100644 --- a/lib/src/gen/component/arm/v1/arm.pb.dart +++ b/lib/src/gen/component/arm/v1/arm.pb.dart @@ -13,13 +13,13 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../common/v1/common.pb.dart' as $14; +import '../../../google/protobuf/struct.pb.dart' as $43; class GetEndPositionRequest extends $pb.GeneratedMessage { factory GetEndPositionRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -36,7 +36,7 @@ class GetEndPositionRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetEndPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -73,20 +73,20 @@ class GetEndPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetEndPositionResponse extends $pb.GeneratedMessage { factory GetEndPositionResponse({ - $13.Pose? pose, + $14.Pose? pose, }) { final $result = create(); if (pose != null) { @@ -99,7 +99,7 @@ class GetEndPositionResponse extends $pb.GeneratedMessage { factory GetEndPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetEndPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..aOM<$13.Pose>(1, _omitFieldNames ? '' : 'pose', subBuilder: $13.Pose.create) + ..aOM<$14.Pose>(1, _omitFieldNames ? '' : 'pose', subBuilder: $14.Pose.create) ..hasRequiredFields = false ; @@ -127,15 +127,15 @@ class GetEndPositionResponse extends $pb.GeneratedMessage { /// Returns 6d pose of the end effector relative to the base, represented by X,Y,Z coordinates which express /// millimeters and theta, ox, oy, oz coordinates which express an orientation vector @$pb.TagNumber(1) - $13.Pose get pose => $_getN(0); + $14.Pose get pose => $_getN(0); @$pb.TagNumber(1) - set pose($13.Pose v) { setField(1, v); } + set pose($14.Pose v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasPose() => $_has(0); @$pb.TagNumber(1) void clearPose() => clearField(1); @$pb.TagNumber(1) - $13.Pose ensurePose() => $_ensure(0); + $14.Pose ensurePose() => $_ensure(0); } class JointPositions extends $pb.GeneratedMessage { @@ -188,7 +188,7 @@ class JointPositions extends $pb.GeneratedMessage { class GetJointPositionsRequest extends $pb.GeneratedMessage { factory GetJointPositionsRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -205,7 +205,7 @@ class GetJointPositionsRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetJointPositionsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -242,15 +242,15 @@ class GetJointPositionsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetJointPositionsResponse extends $pb.GeneratedMessage { @@ -312,8 +312,8 @@ class GetJointPositionsResponse extends $pb.GeneratedMessage { class MoveToPositionRequest extends $pb.GeneratedMessage { factory MoveToPositionRequest({ $core.String? name, - $13.Pose? to, - $42.Struct? extra, + $14.Pose? to, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -333,8 +333,8 @@ class MoveToPositionRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveToPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$13.Pose>(2, _omitFieldNames ? '' : 'to', subBuilder: $13.Pose.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$14.Pose>(2, _omitFieldNames ? '' : 'to', subBuilder: $14.Pose.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -371,27 +371,27 @@ class MoveToPositionRequest extends $pb.GeneratedMessage { /// The destination to move the arm to; this is from the reference frame of the arm. @$pb.TagNumber(2) - $13.Pose get to => $_getN(1); + $14.Pose get to => $_getN(1); @$pb.TagNumber(2) - set to($13.Pose v) { setField(2, v); } + set to($14.Pose v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasTo() => $_has(1); @$pb.TagNumber(2) void clearTo() => clearField(2); @$pb.TagNumber(2) - $13.Pose ensureTo() => $_ensure(1); + $14.Pose ensureTo() => $_ensure(1); /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class MoveToPositionResponse extends $pb.GeneratedMessage { @@ -430,7 +430,7 @@ class MoveToJointPositionsRequest extends $pb.GeneratedMessage { factory MoveToJointPositionsRequest({ $core.String? name, JointPositions? positions, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -451,7 +451,7 @@ class MoveToJointPositionsRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveToJointPositionsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOM(2, _omitFieldNames ? '' : 'positions', subBuilder: JointPositions.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -501,15 +501,15 @@ class MoveToJointPositionsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class MoveToJointPositionsResponse extends $pb.GeneratedMessage { @@ -547,7 +547,7 @@ class MoveToJointPositionsResponse extends $pb.GeneratedMessage { class StopRequest extends $pb.GeneratedMessage { factory StopRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -564,7 +564,7 @@ class StopRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -601,15 +601,15 @@ class StopRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class StopResponse extends $pb.GeneratedMessage { @@ -646,7 +646,7 @@ class StopResponse extends $pb.GeneratedMessage { class Status extends $pb.GeneratedMessage { factory Status({ - $13.Pose? endPosition, + $14.Pose? endPosition, JointPositions? jointPositions, $core.bool? isMoving, }) { @@ -667,7 +667,7 @@ class Status extends $pb.GeneratedMessage { factory Status.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Status', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.arm.v1'), createEmptyInstance: create) - ..aOM<$13.Pose>(1, _omitFieldNames ? '' : 'endPosition', subBuilder: $13.Pose.create) + ..aOM<$14.Pose>(1, _omitFieldNames ? '' : 'endPosition', subBuilder: $14.Pose.create) ..aOM(2, _omitFieldNames ? '' : 'jointPositions', subBuilder: JointPositions.create) ..aOB(3, _omitFieldNames ? '' : 'isMoving') ..hasRequiredFields = false @@ -695,15 +695,15 @@ class Status extends $pb.GeneratedMessage { static Status? _defaultInstance; @$pb.TagNumber(1) - $13.Pose get endPosition => $_getN(0); + $14.Pose get endPosition => $_getN(0); @$pb.TagNumber(1) - set endPosition($13.Pose v) { setField(1, v); } + set endPosition($14.Pose v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasEndPosition() => $_has(0); @$pb.TagNumber(1) void clearEndPosition() => clearField(1); @$pb.TagNumber(1) - $13.Pose ensureEndPosition() => $_ensure(0); + $14.Pose ensureEndPosition() => $_ensure(0); @$pb.TagNumber(2) JointPositions get jointPositions => $_getN(1); diff --git a/lib/src/gen/component/arm/v1/arm.pbgrpc.dart b/lib/src/gen/component/arm/v1/arm.pbgrpc.dart index 8ebc4ec2f21..f0c029cef38 100644 --- a/lib/src/gen/component/arm/v1/arm.pbgrpc.dart +++ b/lib/src/gen/component/arm/v1/arm.pbgrpc.dart @@ -15,49 +15,49 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'arm.pb.dart' as $12; +import '../../../common/v1/common.pb.dart' as $14; +import 'arm.pb.dart' as $13; export 'arm.pb.dart'; @$pb.GrpcServiceName('viam.component.arm.v1.ArmService') class ArmServiceClient extends $grpc.Client { - static final _$getEndPosition = $grpc.ClientMethod<$12.GetEndPositionRequest, $12.GetEndPositionResponse>( + static final _$getEndPosition = $grpc.ClientMethod<$13.GetEndPositionRequest, $13.GetEndPositionResponse>( '/viam.component.arm.v1.ArmService/GetEndPosition', - ($12.GetEndPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $12.GetEndPositionResponse.fromBuffer(value)); - static final _$moveToPosition = $grpc.ClientMethod<$12.MoveToPositionRequest, $12.MoveToPositionResponse>( + ($13.GetEndPositionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $13.GetEndPositionResponse.fromBuffer(value)); + static final _$moveToPosition = $grpc.ClientMethod<$13.MoveToPositionRequest, $13.MoveToPositionResponse>( '/viam.component.arm.v1.ArmService/MoveToPosition', - ($12.MoveToPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $12.MoveToPositionResponse.fromBuffer(value)); - static final _$getJointPositions = $grpc.ClientMethod<$12.GetJointPositionsRequest, $12.GetJointPositionsResponse>( + ($13.MoveToPositionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $13.MoveToPositionResponse.fromBuffer(value)); + static final _$getJointPositions = $grpc.ClientMethod<$13.GetJointPositionsRequest, $13.GetJointPositionsResponse>( '/viam.component.arm.v1.ArmService/GetJointPositions', - ($12.GetJointPositionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $12.GetJointPositionsResponse.fromBuffer(value)); - static final _$moveToJointPositions = $grpc.ClientMethod<$12.MoveToJointPositionsRequest, $12.MoveToJointPositionsResponse>( + ($13.GetJointPositionsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $13.GetJointPositionsResponse.fromBuffer(value)); + static final _$moveToJointPositions = $grpc.ClientMethod<$13.MoveToJointPositionsRequest, $13.MoveToJointPositionsResponse>( '/viam.component.arm.v1.ArmService/MoveToJointPositions', - ($12.MoveToJointPositionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $12.MoveToJointPositionsResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$12.StopRequest, $12.StopResponse>( + ($13.MoveToJointPositionsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $13.MoveToJointPositionsResponse.fromBuffer(value)); + static final _$stop = $grpc.ClientMethod<$13.StopRequest, $13.StopResponse>( '/viam.component.arm.v1.ArmService/Stop', - ($12.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $12.StopResponse.fromBuffer(value)); - static final _$isMoving = $grpc.ClientMethod<$12.IsMovingRequest, $12.IsMovingResponse>( + ($13.StopRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $13.StopResponse.fromBuffer(value)); + static final _$isMoving = $grpc.ClientMethod<$13.IsMovingRequest, $13.IsMovingResponse>( '/viam.component.arm.v1.ArmService/IsMoving', - ($12.IsMovingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $12.IsMovingResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($13.IsMovingRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $13.IsMovingResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.arm.v1.ArmService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getKinematics = $grpc.ClientMethod<$13.GetKinematicsRequest, $13.GetKinematicsResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getKinematics = $grpc.ClientMethod<$14.GetKinematicsRequest, $14.GetKinematicsResponse>( '/viam.component.arm.v1.ArmService/GetKinematics', - ($13.GetKinematicsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetKinematicsResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.GetKinematicsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetKinematicsResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.arm.v1.ArmService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); ArmServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -65,39 +65,39 @@ class ArmServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$12.GetEndPositionResponse> getEndPosition($12.GetEndPositionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$13.GetEndPositionResponse> getEndPosition($13.GetEndPositionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getEndPosition, request, options: options); } - $grpc.ResponseFuture<$12.MoveToPositionResponse> moveToPosition($12.MoveToPositionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$13.MoveToPositionResponse> moveToPosition($13.MoveToPositionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$moveToPosition, request, options: options); } - $grpc.ResponseFuture<$12.GetJointPositionsResponse> getJointPositions($12.GetJointPositionsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$13.GetJointPositionsResponse> getJointPositions($13.GetJointPositionsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getJointPositions, request, options: options); } - $grpc.ResponseFuture<$12.MoveToJointPositionsResponse> moveToJointPositions($12.MoveToJointPositionsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$13.MoveToJointPositionsResponse> moveToJointPositions($13.MoveToJointPositionsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$moveToJointPositions, request, options: options); } - $grpc.ResponseFuture<$12.StopResponse> stop($12.StopRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$13.StopResponse> stop($13.StopRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$stop, request, options: options); } - $grpc.ResponseFuture<$12.IsMovingResponse> isMoving($12.IsMovingRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$13.IsMovingResponse> isMoving($13.IsMovingRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$isMoving, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetKinematicsResponse> getKinematics($13.GetKinematicsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetKinematicsResponse> getKinematics($14.GetKinematicsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getKinematics, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } } @@ -107,114 +107,114 @@ abstract class ArmServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.arm.v1.ArmService'; ArmServiceBase() { - $addMethod($grpc.ServiceMethod<$12.GetEndPositionRequest, $12.GetEndPositionResponse>( + $addMethod($grpc.ServiceMethod<$13.GetEndPositionRequest, $13.GetEndPositionResponse>( 'GetEndPosition', getEndPosition_Pre, false, false, - ($core.List<$core.int> value) => $12.GetEndPositionRequest.fromBuffer(value), - ($12.GetEndPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$12.MoveToPositionRequest, $12.MoveToPositionResponse>( + ($core.List<$core.int> value) => $13.GetEndPositionRequest.fromBuffer(value), + ($13.GetEndPositionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$13.MoveToPositionRequest, $13.MoveToPositionResponse>( 'MoveToPosition', moveToPosition_Pre, false, false, - ($core.List<$core.int> value) => $12.MoveToPositionRequest.fromBuffer(value), - ($12.MoveToPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$12.GetJointPositionsRequest, $12.GetJointPositionsResponse>( + ($core.List<$core.int> value) => $13.MoveToPositionRequest.fromBuffer(value), + ($13.MoveToPositionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$13.GetJointPositionsRequest, $13.GetJointPositionsResponse>( 'GetJointPositions', getJointPositions_Pre, false, false, - ($core.List<$core.int> value) => $12.GetJointPositionsRequest.fromBuffer(value), - ($12.GetJointPositionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$12.MoveToJointPositionsRequest, $12.MoveToJointPositionsResponse>( + ($core.List<$core.int> value) => $13.GetJointPositionsRequest.fromBuffer(value), + ($13.GetJointPositionsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$13.MoveToJointPositionsRequest, $13.MoveToJointPositionsResponse>( 'MoveToJointPositions', moveToJointPositions_Pre, false, false, - ($core.List<$core.int> value) => $12.MoveToJointPositionsRequest.fromBuffer(value), - ($12.MoveToJointPositionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$12.StopRequest, $12.StopResponse>( + ($core.List<$core.int> value) => $13.MoveToJointPositionsRequest.fromBuffer(value), + ($13.MoveToJointPositionsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$13.StopRequest, $13.StopResponse>( 'Stop', stop_Pre, false, false, - ($core.List<$core.int> value) => $12.StopRequest.fromBuffer(value), - ($12.StopResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$12.IsMovingRequest, $12.IsMovingResponse>( + ($core.List<$core.int> value) => $13.StopRequest.fromBuffer(value), + ($13.StopResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$13.IsMovingRequest, $13.IsMovingResponse>( 'IsMoving', isMoving_Pre, false, false, - ($core.List<$core.int> value) => $12.IsMovingRequest.fromBuffer(value), - ($12.IsMovingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $13.IsMovingRequest.fromBuffer(value), + ($13.IsMovingResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetKinematicsRequest, $13.GetKinematicsResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetKinematicsRequest, $14.GetKinematicsResponse>( 'GetKinematics', getKinematics_Pre, false, false, - ($core.List<$core.int> value) => $13.GetKinematicsRequest.fromBuffer(value), - ($13.GetKinematicsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.GetKinematicsRequest.fromBuffer(value), + ($14.GetKinematicsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); } - $async.Future<$12.GetEndPositionResponse> getEndPosition_Pre($grpc.ServiceCall call, $async.Future<$12.GetEndPositionRequest> request) async { + $async.Future<$13.GetEndPositionResponse> getEndPosition_Pre($grpc.ServiceCall call, $async.Future<$13.GetEndPositionRequest> request) async { return getEndPosition(call, await request); } - $async.Future<$12.MoveToPositionResponse> moveToPosition_Pre($grpc.ServiceCall call, $async.Future<$12.MoveToPositionRequest> request) async { + $async.Future<$13.MoveToPositionResponse> moveToPosition_Pre($grpc.ServiceCall call, $async.Future<$13.MoveToPositionRequest> request) async { return moveToPosition(call, await request); } - $async.Future<$12.GetJointPositionsResponse> getJointPositions_Pre($grpc.ServiceCall call, $async.Future<$12.GetJointPositionsRequest> request) async { + $async.Future<$13.GetJointPositionsResponse> getJointPositions_Pre($grpc.ServiceCall call, $async.Future<$13.GetJointPositionsRequest> request) async { return getJointPositions(call, await request); } - $async.Future<$12.MoveToJointPositionsResponse> moveToJointPositions_Pre($grpc.ServiceCall call, $async.Future<$12.MoveToJointPositionsRequest> request) async { + $async.Future<$13.MoveToJointPositionsResponse> moveToJointPositions_Pre($grpc.ServiceCall call, $async.Future<$13.MoveToJointPositionsRequest> request) async { return moveToJointPositions(call, await request); } - $async.Future<$12.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$12.StopRequest> request) async { + $async.Future<$13.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$13.StopRequest> request) async { return stop(call, await request); } - $async.Future<$12.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$12.IsMovingRequest> request) async { + $async.Future<$13.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$13.IsMovingRequest> request) async { return isMoving(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetKinematicsResponse> getKinematics_Pre($grpc.ServiceCall call, $async.Future<$13.GetKinematicsRequest> request) async { + $async.Future<$14.GetKinematicsResponse> getKinematics_Pre($grpc.ServiceCall call, $async.Future<$14.GetKinematicsRequest> request) async { return getKinematics(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$12.GetEndPositionResponse> getEndPosition($grpc.ServiceCall call, $12.GetEndPositionRequest request); - $async.Future<$12.MoveToPositionResponse> moveToPosition($grpc.ServiceCall call, $12.MoveToPositionRequest request); - $async.Future<$12.GetJointPositionsResponse> getJointPositions($grpc.ServiceCall call, $12.GetJointPositionsRequest request); - $async.Future<$12.MoveToJointPositionsResponse> moveToJointPositions($grpc.ServiceCall call, $12.MoveToJointPositionsRequest request); - $async.Future<$12.StopResponse> stop($grpc.ServiceCall call, $12.StopRequest request); - $async.Future<$12.IsMovingResponse> isMoving($grpc.ServiceCall call, $12.IsMovingRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetKinematicsResponse> getKinematics($grpc.ServiceCall call, $13.GetKinematicsRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); + $async.Future<$13.GetEndPositionResponse> getEndPosition($grpc.ServiceCall call, $13.GetEndPositionRequest request); + $async.Future<$13.MoveToPositionResponse> moveToPosition($grpc.ServiceCall call, $13.MoveToPositionRequest request); + $async.Future<$13.GetJointPositionsResponse> getJointPositions($grpc.ServiceCall call, $13.GetJointPositionsRequest request); + $async.Future<$13.MoveToJointPositionsResponse> moveToJointPositions($grpc.ServiceCall call, $13.MoveToJointPositionsRequest request); + $async.Future<$13.StopResponse> stop($grpc.ServiceCall call, $13.StopRequest request); + $async.Future<$13.IsMovingResponse> isMoving($grpc.ServiceCall call, $13.IsMovingRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetKinematicsResponse> getKinematics($grpc.ServiceCall call, $14.GetKinematicsRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); } diff --git a/lib/src/gen/component/audioinput/v1/audioinput.pb.dart b/lib/src/gen/component/audioinput/v1/audioinput.pb.dart index 1f048c8f677..36e233ccb90 100644 --- a/lib/src/gen/component/audioinput/v1/audioinput.pb.dart +++ b/lib/src/gen/component/audioinput/v1/audioinput.pb.dart @@ -14,7 +14,7 @@ import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/duration.pb.dart' as $41; +import '../../../google/protobuf/duration.pb.dart' as $42; import 'audioinput.pbenum.dart'; export 'audioinput.pbenum.dart'; @@ -22,7 +22,7 @@ export 'audioinput.pbenum.dart'; class RecordRequest extends $pb.GeneratedMessage { factory RecordRequest({ $core.String? name, - $41.Duration? duration, + $42.Duration? duration, }) { final $result = create(); if (name != null) { @@ -39,7 +39,7 @@ class RecordRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RecordRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.audioinput.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$41.Duration>(2, _omitFieldNames ? '' : 'duration', subBuilder: $41.Duration.create) + ..aOM<$42.Duration>(2, _omitFieldNames ? '' : 'duration', subBuilder: $42.Duration.create) ..hasRequiredFields = false ; @@ -75,15 +75,15 @@ class RecordRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(2) - $41.Duration get duration => $_getN(1); + $42.Duration get duration => $_getN(1); @$pb.TagNumber(2) - set duration($41.Duration v) { setField(2, v); } + set duration($42.Duration v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasDuration() => $_has(1); @$pb.TagNumber(2) void clearDuration() => clearField(2); @$pb.TagNumber(2) - $41.Duration ensureDuration() => $_ensure(1); + $42.Duration ensureDuration() => $_ensure(1); } class AudioChunkInfo extends $pb.GeneratedMessage { @@ -436,7 +436,7 @@ class PropertiesRequest extends $pb.GeneratedMessage { class PropertiesResponse extends $pb.GeneratedMessage { factory PropertiesResponse({ $core.int? channelCount, - $41.Duration? latency, + $42.Duration? latency, $core.int? sampleRate, $core.int? sampleSize, $core.bool? isBigEndian, @@ -473,7 +473,7 @@ class PropertiesResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PropertiesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.audioinput.v1'), createEmptyInstance: create) ..a<$core.int>(1, _omitFieldNames ? '' : 'channelCount', $pb.PbFieldType.OU3) - ..aOM<$41.Duration>(2, _omitFieldNames ? '' : 'latency', subBuilder: $41.Duration.create) + ..aOM<$42.Duration>(2, _omitFieldNames ? '' : 'latency', subBuilder: $42.Duration.create) ..a<$core.int>(3, _omitFieldNames ? '' : 'sampleRate', $pb.PbFieldType.OU3) ..a<$core.int>(4, _omitFieldNames ? '' : 'sampleSize', $pb.PbFieldType.OU3) ..aOB(5, _omitFieldNames ? '' : 'isBigEndian') @@ -513,15 +513,15 @@ class PropertiesResponse extends $pb.GeneratedMessage { void clearChannelCount() => clearField(1); @$pb.TagNumber(2) - $41.Duration get latency => $_getN(1); + $42.Duration get latency => $_getN(1); @$pb.TagNumber(2) - set latency($41.Duration v) { setField(2, v); } + set latency($42.Duration v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasLatency() => $_has(1); @$pb.TagNumber(2) void clearLatency() => clearField(2); @$pb.TagNumber(2) - $41.Duration ensureLatency() => $_ensure(1); + $42.Duration ensureLatency() => $_ensure(1); @$pb.TagNumber(3) $core.int get sampleRate => $_getIZ(2); diff --git a/lib/src/gen/component/audioinput/v1/audioinput.pbgrpc.dart b/lib/src/gen/component/audioinput/v1/audioinput.pbgrpc.dart index 538f0181be9..28b847b7703 100644 --- a/lib/src/gen/component/audioinput/v1/audioinput.pbgrpc.dart +++ b/lib/src/gen/component/audioinput/v1/audioinput.pbgrpc.dart @@ -15,34 +15,34 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import '../../../google/api/httpbody.pb.dart' as $15; -import 'audioinput.pb.dart' as $14; +import '../../../common/v1/common.pb.dart' as $14; +import '../../../google/api/httpbody.pb.dart' as $16; +import 'audioinput.pb.dart' as $15; export 'audioinput.pb.dart'; @$pb.GrpcServiceName('viam.component.audioinput.v1.AudioInputService') class AudioInputServiceClient extends $grpc.Client { - static final _$chunks = $grpc.ClientMethod<$14.ChunksRequest, $14.ChunksResponse>( + static final _$chunks = $grpc.ClientMethod<$15.ChunksRequest, $15.ChunksResponse>( '/viam.component.audioinput.v1.AudioInputService/Chunks', - ($14.ChunksRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $14.ChunksResponse.fromBuffer(value)); - static final _$properties = $grpc.ClientMethod<$14.PropertiesRequest, $14.PropertiesResponse>( + ($15.ChunksRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $15.ChunksResponse.fromBuffer(value)); + static final _$properties = $grpc.ClientMethod<$15.PropertiesRequest, $15.PropertiesResponse>( '/viam.component.audioinput.v1.AudioInputService/Properties', - ($14.PropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $14.PropertiesResponse.fromBuffer(value)); - static final _$record = $grpc.ClientMethod<$14.RecordRequest, $15.HttpBody>( + ($15.PropertiesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $15.PropertiesResponse.fromBuffer(value)); + static final _$record = $grpc.ClientMethod<$15.RecordRequest, $16.HttpBody>( '/viam.component.audioinput.v1.AudioInputService/Record', - ($14.RecordRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.HttpBody.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($15.RecordRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $16.HttpBody.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.audioinput.v1.AudioInputService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.audioinput.v1.AudioInputService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); AudioInputServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -50,23 +50,23 @@ class AudioInputServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseStream<$14.ChunksResponse> chunks($14.ChunksRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$15.ChunksResponse> chunks($15.ChunksRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$chunks, $async.Stream.fromIterable([request]), options: options); } - $grpc.ResponseFuture<$14.PropertiesResponse> properties($14.PropertiesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$15.PropertiesResponse> properties($15.PropertiesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$properties, request, options: options); } - $grpc.ResponseFuture<$15.HttpBody> record($14.RecordRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$16.HttpBody> record($15.RecordRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$record, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } } @@ -76,66 +76,66 @@ abstract class AudioInputServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.audioinput.v1.AudioInputService'; AudioInputServiceBase() { - $addMethod($grpc.ServiceMethod<$14.ChunksRequest, $14.ChunksResponse>( + $addMethod($grpc.ServiceMethod<$15.ChunksRequest, $15.ChunksResponse>( 'Chunks', chunks_Pre, false, true, - ($core.List<$core.int> value) => $14.ChunksRequest.fromBuffer(value), - ($14.ChunksResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$14.PropertiesRequest, $14.PropertiesResponse>( + ($core.List<$core.int> value) => $15.ChunksRequest.fromBuffer(value), + ($15.ChunksResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$15.PropertiesRequest, $15.PropertiesResponse>( 'Properties', properties_Pre, false, false, - ($core.List<$core.int> value) => $14.PropertiesRequest.fromBuffer(value), - ($14.PropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$14.RecordRequest, $15.HttpBody>( + ($core.List<$core.int> value) => $15.PropertiesRequest.fromBuffer(value), + ($15.PropertiesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$15.RecordRequest, $16.HttpBody>( 'Record', record_Pre, false, false, - ($core.List<$core.int> value) => $14.RecordRequest.fromBuffer(value), - ($15.HttpBody value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $15.RecordRequest.fromBuffer(value), + ($16.HttpBody value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); } - $async.Stream<$14.ChunksResponse> chunks_Pre($grpc.ServiceCall call, $async.Future<$14.ChunksRequest> request) async* { + $async.Stream<$15.ChunksResponse> chunks_Pre($grpc.ServiceCall call, $async.Future<$15.ChunksRequest> request) async* { yield* chunks(call, await request); } - $async.Future<$14.PropertiesResponse> properties_Pre($grpc.ServiceCall call, $async.Future<$14.PropertiesRequest> request) async { + $async.Future<$15.PropertiesResponse> properties_Pre($grpc.ServiceCall call, $async.Future<$15.PropertiesRequest> request) async { return properties(call, await request); } - $async.Future<$15.HttpBody> record_Pre($grpc.ServiceCall call, $async.Future<$14.RecordRequest> request) async { + $async.Future<$16.HttpBody> record_Pre($grpc.ServiceCall call, $async.Future<$15.RecordRequest> request) async { return record(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Stream<$14.ChunksResponse> chunks($grpc.ServiceCall call, $14.ChunksRequest request); - $async.Future<$14.PropertiesResponse> properties($grpc.ServiceCall call, $14.PropertiesRequest request); - $async.Future<$15.HttpBody> record($grpc.ServiceCall call, $14.RecordRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); + $async.Stream<$15.ChunksResponse> chunks($grpc.ServiceCall call, $15.ChunksRequest request); + $async.Future<$15.PropertiesResponse> properties($grpc.ServiceCall call, $15.PropertiesRequest request); + $async.Future<$16.HttpBody> record($grpc.ServiceCall call, $15.RecordRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); } diff --git a/lib/src/gen/component/base/v1/base.pb.dart b/lib/src/gen/component/base/v1/base.pb.dart index c449a5d435f..f826121fa09 100644 --- a/lib/src/gen/component/base/v1/base.pb.dart +++ b/lib/src/gen/component/base/v1/base.pb.dart @@ -14,15 +14,15 @@ 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 $13; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../common/v1/common.pb.dart' as $14; +import '../../../google/protobuf/struct.pb.dart' as $43; class MoveStraightRequest extends $pb.GeneratedMessage { factory MoveStraightRequest({ $core.String? name, $fixnum.Int64? distanceMm, $core.double? mmPerSec, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -47,7 +47,7 @@ class MoveStraightRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aInt64(2, _omitFieldNames ? '' : 'distanceMm') ..a<$core.double>(3, _omitFieldNames ? '' : 'mmPerSec', $pb.PbFieldType.OD) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -104,15 +104,15 @@ class MoveStraightRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class MoveStraightResponse extends $pb.GeneratedMessage { @@ -152,7 +152,7 @@ class SpinRequest extends $pb.GeneratedMessage { $core.String? name, $core.double? angleDeg, $core.double? degsPerSec, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -177,7 +177,7 @@ class SpinRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..a<$core.double>(2, _omitFieldNames ? '' : 'angleDeg', $pb.PbFieldType.OD) ..a<$core.double>(3, _omitFieldNames ? '' : 'degsPerSec', $pb.PbFieldType.OD) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -234,15 +234,15 @@ class SpinRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class SpinResponse extends $pb.GeneratedMessage { @@ -280,7 +280,7 @@ class SpinResponse extends $pb.GeneratedMessage { class StopRequest extends $pb.GeneratedMessage { factory StopRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -297,7 +297,7 @@ class StopRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -334,15 +334,15 @@ class StopRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class StopResponse extends $pb.GeneratedMessage { @@ -380,9 +380,9 @@ class StopResponse extends $pb.GeneratedMessage { class SetPowerRequest extends $pb.GeneratedMessage { factory SetPowerRequest({ $core.String? name, - $13.Vector3? linear, - $13.Vector3? angular, - $42.Struct? extra, + $14.Vector3? linear, + $14.Vector3? angular, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -405,9 +405,9 @@ class SetPowerRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPowerRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$13.Vector3>(2, _omitFieldNames ? '' : 'linear', subBuilder: $13.Vector3.create) - ..aOM<$13.Vector3>(3, _omitFieldNames ? '' : 'angular', subBuilder: $13.Vector3.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$14.Vector3>(2, _omitFieldNames ? '' : 'linear', subBuilder: $14.Vector3.create) + ..aOM<$14.Vector3>(3, _omitFieldNames ? '' : 'angular', subBuilder: $14.Vector3.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -444,39 +444,39 @@ class SetPowerRequest extends $pb.GeneratedMessage { /// Desired linear power percentage as -1 -> 1 @$pb.TagNumber(2) - $13.Vector3 get linear => $_getN(1); + $14.Vector3 get linear => $_getN(1); @$pb.TagNumber(2) - set linear($13.Vector3 v) { setField(2, v); } + set linear($14.Vector3 v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasLinear() => $_has(1); @$pb.TagNumber(2) void clearLinear() => clearField(2); @$pb.TagNumber(2) - $13.Vector3 ensureLinear() => $_ensure(1); + $14.Vector3 ensureLinear() => $_ensure(1); /// Desired angular power percentage % as -1 -> 1 @$pb.TagNumber(3) - $13.Vector3 get angular => $_getN(2); + $14.Vector3 get angular => $_getN(2); @$pb.TagNumber(3) - set angular($13.Vector3 v) { setField(3, v); } + set angular($14.Vector3 v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasAngular() => $_has(2); @$pb.TagNumber(3) void clearAngular() => clearField(3); @$pb.TagNumber(3) - $13.Vector3 ensureAngular() => $_ensure(2); + $14.Vector3 ensureAngular() => $_ensure(2); /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class SetPowerResponse extends $pb.GeneratedMessage { @@ -514,9 +514,9 @@ class SetPowerResponse extends $pb.GeneratedMessage { class SetVelocityRequest extends $pb.GeneratedMessage { factory SetVelocityRequest({ $core.String? name, - $13.Vector3? linear, - $13.Vector3? angular, - $42.Struct? extra, + $14.Vector3? linear, + $14.Vector3? angular, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -539,9 +539,9 @@ class SetVelocityRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetVelocityRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$13.Vector3>(2, _omitFieldNames ? '' : 'linear', subBuilder: $13.Vector3.create) - ..aOM<$13.Vector3>(3, _omitFieldNames ? '' : 'angular', subBuilder: $13.Vector3.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$14.Vector3>(2, _omitFieldNames ? '' : 'linear', subBuilder: $14.Vector3.create) + ..aOM<$14.Vector3>(3, _omitFieldNames ? '' : 'angular', subBuilder: $14.Vector3.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -578,39 +578,39 @@ class SetVelocityRequest extends $pb.GeneratedMessage { /// Desired linear velocity in mm per second @$pb.TagNumber(2) - $13.Vector3 get linear => $_getN(1); + $14.Vector3 get linear => $_getN(1); @$pb.TagNumber(2) - set linear($13.Vector3 v) { setField(2, v); } + set linear($14.Vector3 v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasLinear() => $_has(1); @$pb.TagNumber(2) void clearLinear() => clearField(2); @$pb.TagNumber(2) - $13.Vector3 ensureLinear() => $_ensure(1); + $14.Vector3 ensureLinear() => $_ensure(1); /// Desired angular velocity in degrees per second @$pb.TagNumber(3) - $13.Vector3 get angular => $_getN(2); + $14.Vector3 get angular => $_getN(2); @$pb.TagNumber(3) - set angular($13.Vector3 v) { setField(3, v); } + set angular($14.Vector3 v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasAngular() => $_has(2); @$pb.TagNumber(3) void clearAngular() => clearField(3); @$pb.TagNumber(3) - $13.Vector3 ensureAngular() => $_ensure(2); + $14.Vector3 ensureAngular() => $_ensure(2); /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class SetVelocityResponse extends $pb.GeneratedMessage { @@ -748,7 +748,7 @@ class IsMovingResponse extends $pb.GeneratedMessage { class GetPropertiesRequest extends $pb.GeneratedMessage { factory GetPropertiesRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -765,7 +765,7 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.base.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -801,15 +801,15 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetPropertiesResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/base/v1/base.pbgrpc.dart b/lib/src/gen/component/base/v1/base.pbgrpc.dart index 6e74c953595..cd44cc236ee 100644 --- a/lib/src/gen/component/base/v1/base.pbgrpc.dart +++ b/lib/src/gen/component/base/v1/base.pbgrpc.dart @@ -15,49 +15,49 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'base.pb.dart' as $16; +import '../../../common/v1/common.pb.dart' as $14; +import 'base.pb.dart' as $17; export 'base.pb.dart'; @$pb.GrpcServiceName('viam.component.base.v1.BaseService') class BaseServiceClient extends $grpc.Client { - static final _$moveStraight = $grpc.ClientMethod<$16.MoveStraightRequest, $16.MoveStraightResponse>( + static final _$moveStraight = $grpc.ClientMethod<$17.MoveStraightRequest, $17.MoveStraightResponse>( '/viam.component.base.v1.BaseService/MoveStraight', - ($16.MoveStraightRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $16.MoveStraightResponse.fromBuffer(value)); - static final _$spin = $grpc.ClientMethod<$16.SpinRequest, $16.SpinResponse>( + ($17.MoveStraightRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $17.MoveStraightResponse.fromBuffer(value)); + static final _$spin = $grpc.ClientMethod<$17.SpinRequest, $17.SpinResponse>( '/viam.component.base.v1.BaseService/Spin', - ($16.SpinRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $16.SpinResponse.fromBuffer(value)); - static final _$setPower = $grpc.ClientMethod<$16.SetPowerRequest, $16.SetPowerResponse>( + ($17.SpinRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $17.SpinResponse.fromBuffer(value)); + static final _$setPower = $grpc.ClientMethod<$17.SetPowerRequest, $17.SetPowerResponse>( '/viam.component.base.v1.BaseService/SetPower', - ($16.SetPowerRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $16.SetPowerResponse.fromBuffer(value)); - static final _$setVelocity = $grpc.ClientMethod<$16.SetVelocityRequest, $16.SetVelocityResponse>( + ($17.SetPowerRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $17.SetPowerResponse.fromBuffer(value)); + static final _$setVelocity = $grpc.ClientMethod<$17.SetVelocityRequest, $17.SetVelocityResponse>( '/viam.component.base.v1.BaseService/SetVelocity', - ($16.SetVelocityRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $16.SetVelocityResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$16.StopRequest, $16.StopResponse>( + ($17.SetVelocityRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $17.SetVelocityResponse.fromBuffer(value)); + static final _$stop = $grpc.ClientMethod<$17.StopRequest, $17.StopResponse>( '/viam.component.base.v1.BaseService/Stop', - ($16.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $16.StopResponse.fromBuffer(value)); - static final _$isMoving = $grpc.ClientMethod<$16.IsMovingRequest, $16.IsMovingResponse>( + ($17.StopRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $17.StopResponse.fromBuffer(value)); + static final _$isMoving = $grpc.ClientMethod<$17.IsMovingRequest, $17.IsMovingResponse>( '/viam.component.base.v1.BaseService/IsMoving', - ($16.IsMovingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $16.IsMovingResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($17.IsMovingRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $17.IsMovingResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.base.v1.BaseService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.base.v1.BaseService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$16.GetPropertiesRequest, $16.GetPropertiesResponse>( + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); + static final _$getProperties = $grpc.ClientMethod<$17.GetPropertiesRequest, $17.GetPropertiesResponse>( '/viam.component.base.v1.BaseService/GetProperties', - ($16.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $16.GetPropertiesResponse.fromBuffer(value)); + ($17.GetPropertiesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $17.GetPropertiesResponse.fromBuffer(value)); BaseServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -65,39 +65,39 @@ class BaseServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$16.MoveStraightResponse> moveStraight($16.MoveStraightRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$17.MoveStraightResponse> moveStraight($17.MoveStraightRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$moveStraight, request, options: options); } - $grpc.ResponseFuture<$16.SpinResponse> spin($16.SpinRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$17.SpinResponse> spin($17.SpinRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$spin, request, options: options); } - $grpc.ResponseFuture<$16.SetPowerResponse> setPower($16.SetPowerRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$17.SetPowerResponse> setPower($17.SetPowerRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$setPower, request, options: options); } - $grpc.ResponseFuture<$16.SetVelocityResponse> setVelocity($16.SetVelocityRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$17.SetVelocityResponse> setVelocity($17.SetVelocityRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$setVelocity, request, options: options); } - $grpc.ResponseFuture<$16.StopResponse> stop($16.StopRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$17.StopResponse> stop($17.StopRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$stop, request, options: options); } - $grpc.ResponseFuture<$16.IsMovingResponse> isMoving($16.IsMovingRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$17.IsMovingResponse> isMoving($17.IsMovingRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$isMoving, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } - $grpc.ResponseFuture<$16.GetPropertiesResponse> getProperties($16.GetPropertiesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$17.GetPropertiesResponse> getProperties($17.GetPropertiesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getProperties, request, options: options); } } @@ -107,114 +107,114 @@ abstract class BaseServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.base.v1.BaseService'; BaseServiceBase() { - $addMethod($grpc.ServiceMethod<$16.MoveStraightRequest, $16.MoveStraightResponse>( + $addMethod($grpc.ServiceMethod<$17.MoveStraightRequest, $17.MoveStraightResponse>( 'MoveStraight', moveStraight_Pre, false, false, - ($core.List<$core.int> value) => $16.MoveStraightRequest.fromBuffer(value), - ($16.MoveStraightResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$16.SpinRequest, $16.SpinResponse>( + ($core.List<$core.int> value) => $17.MoveStraightRequest.fromBuffer(value), + ($17.MoveStraightResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$17.SpinRequest, $17.SpinResponse>( 'Spin', spin_Pre, false, false, - ($core.List<$core.int> value) => $16.SpinRequest.fromBuffer(value), - ($16.SpinResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$16.SetPowerRequest, $16.SetPowerResponse>( + ($core.List<$core.int> value) => $17.SpinRequest.fromBuffer(value), + ($17.SpinResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$17.SetPowerRequest, $17.SetPowerResponse>( 'SetPower', setPower_Pre, false, false, - ($core.List<$core.int> value) => $16.SetPowerRequest.fromBuffer(value), - ($16.SetPowerResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$16.SetVelocityRequest, $16.SetVelocityResponse>( + ($core.List<$core.int> value) => $17.SetPowerRequest.fromBuffer(value), + ($17.SetPowerResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$17.SetVelocityRequest, $17.SetVelocityResponse>( 'SetVelocity', setVelocity_Pre, false, false, - ($core.List<$core.int> value) => $16.SetVelocityRequest.fromBuffer(value), - ($16.SetVelocityResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$16.StopRequest, $16.StopResponse>( + ($core.List<$core.int> value) => $17.SetVelocityRequest.fromBuffer(value), + ($17.SetVelocityResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$17.StopRequest, $17.StopResponse>( 'Stop', stop_Pre, false, false, - ($core.List<$core.int> value) => $16.StopRequest.fromBuffer(value), - ($16.StopResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$16.IsMovingRequest, $16.IsMovingResponse>( + ($core.List<$core.int> value) => $17.StopRequest.fromBuffer(value), + ($17.StopResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$17.IsMovingRequest, $17.IsMovingResponse>( 'IsMoving', isMoving_Pre, false, false, - ($core.List<$core.int> value) => $16.IsMovingRequest.fromBuffer(value), - ($16.IsMovingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $17.IsMovingRequest.fromBuffer(value), + ($17.IsMovingResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$16.GetPropertiesRequest, $16.GetPropertiesResponse>( + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$17.GetPropertiesRequest, $17.GetPropertiesResponse>( 'GetProperties', getProperties_Pre, false, false, - ($core.List<$core.int> value) => $16.GetPropertiesRequest.fromBuffer(value), - ($16.GetPropertiesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $17.GetPropertiesRequest.fromBuffer(value), + ($17.GetPropertiesResponse value) => value.writeToBuffer())); } - $async.Future<$16.MoveStraightResponse> moveStraight_Pre($grpc.ServiceCall call, $async.Future<$16.MoveStraightRequest> request) async { + $async.Future<$17.MoveStraightResponse> moveStraight_Pre($grpc.ServiceCall call, $async.Future<$17.MoveStraightRequest> request) async { return moveStraight(call, await request); } - $async.Future<$16.SpinResponse> spin_Pre($grpc.ServiceCall call, $async.Future<$16.SpinRequest> request) async { + $async.Future<$17.SpinResponse> spin_Pre($grpc.ServiceCall call, $async.Future<$17.SpinRequest> request) async { return spin(call, await request); } - $async.Future<$16.SetPowerResponse> setPower_Pre($grpc.ServiceCall call, $async.Future<$16.SetPowerRequest> request) async { + $async.Future<$17.SetPowerResponse> setPower_Pre($grpc.ServiceCall call, $async.Future<$17.SetPowerRequest> request) async { return setPower(call, await request); } - $async.Future<$16.SetVelocityResponse> setVelocity_Pre($grpc.ServiceCall call, $async.Future<$16.SetVelocityRequest> request) async { + $async.Future<$17.SetVelocityResponse> setVelocity_Pre($grpc.ServiceCall call, $async.Future<$17.SetVelocityRequest> request) async { return setVelocity(call, await request); } - $async.Future<$16.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$16.StopRequest> request) async { + $async.Future<$17.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$17.StopRequest> request) async { return stop(call, await request); } - $async.Future<$16.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$16.IsMovingRequest> request) async { + $async.Future<$17.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$17.IsMovingRequest> request) async { return isMoving(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$16.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$16.GetPropertiesRequest> request) async { + $async.Future<$17.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$17.GetPropertiesRequest> request) async { return getProperties(call, await request); } - $async.Future<$16.MoveStraightResponse> moveStraight($grpc.ServiceCall call, $16.MoveStraightRequest request); - $async.Future<$16.SpinResponse> spin($grpc.ServiceCall call, $16.SpinRequest request); - $async.Future<$16.SetPowerResponse> setPower($grpc.ServiceCall call, $16.SetPowerRequest request); - $async.Future<$16.SetVelocityResponse> setVelocity($grpc.ServiceCall call, $16.SetVelocityRequest request); - $async.Future<$16.StopResponse> stop($grpc.ServiceCall call, $16.StopRequest request); - $async.Future<$16.IsMovingResponse> isMoving($grpc.ServiceCall call, $16.IsMovingRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); - $async.Future<$16.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $16.GetPropertiesRequest request); + $async.Future<$17.MoveStraightResponse> moveStraight($grpc.ServiceCall call, $17.MoveStraightRequest request); + $async.Future<$17.SpinResponse> spin($grpc.ServiceCall call, $17.SpinRequest request); + $async.Future<$17.SetPowerResponse> setPower($grpc.ServiceCall call, $17.SetPowerRequest request); + $async.Future<$17.SetVelocityResponse> setVelocity($grpc.ServiceCall call, $17.SetVelocityRequest request); + $async.Future<$17.StopResponse> stop($grpc.ServiceCall call, $17.StopRequest request); + $async.Future<$17.IsMovingResponse> isMoving($grpc.ServiceCall call, $17.IsMovingRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); + $async.Future<$17.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $17.GetPropertiesRequest request); } diff --git a/lib/src/gen/component/board/v1/board.pb.dart b/lib/src/gen/component/board/v1/board.pb.dart index 0b9b649db08..fc9db2a8dcd 100644 --- a/lib/src/gen/component/board/v1/board.pb.dart +++ b/lib/src/gen/component/board/v1/board.pb.dart @@ -14,8 +14,8 @@ import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/duration.pb.dart' as $41; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../google/protobuf/duration.pb.dart' as $42; +import '../../../google/protobuf/struct.pb.dart' as $43; import 'board.pbenum.dart'; export 'board.pbenum.dart'; @@ -77,7 +77,7 @@ class SetGPIORequest extends $pb.GeneratedMessage { $core.String? name, $core.String? pin, $core.bool? high, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -102,7 +102,7 @@ class SetGPIORequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'pin') ..aOB(3, _omitFieldNames ? '' : 'high') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -156,15 +156,15 @@ class SetGPIORequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class SetGPIOResponse extends $pb.GeneratedMessage { @@ -203,7 +203,7 @@ class GetGPIORequest extends $pb.GeneratedMessage { factory GetGPIORequest({ $core.String? name, $core.String? pin, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -224,7 +224,7 @@ class GetGPIORequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetGPIORequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'pin') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -269,15 +269,15 @@ class GetGPIORequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class GetGPIOResponse extends $pb.GeneratedMessage { @@ -334,7 +334,7 @@ class PWMRequest extends $pb.GeneratedMessage { factory PWMRequest({ $core.String? name, $core.String? pin, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -355,7 +355,7 @@ class PWMRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PWMRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'pin') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -400,15 +400,15 @@ class PWMRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class PWMResponse extends $pb.GeneratedMessage { @@ -466,7 +466,7 @@ class SetPWMRequest extends $pb.GeneratedMessage { $core.String? name, $core.String? pin, $core.double? dutyCyclePct, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -491,7 +491,7 @@ class SetPWMRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'pin') ..a<$core.double>(3, _omitFieldNames ? '' : 'dutyCyclePct', $pb.PbFieldType.OD) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -545,15 +545,15 @@ class SetPWMRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class SetPWMResponse extends $pb.GeneratedMessage { @@ -592,7 +592,7 @@ class PWMFrequencyRequest extends $pb.GeneratedMessage { factory PWMFrequencyRequest({ $core.String? name, $core.String? pin, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -613,7 +613,7 @@ class PWMFrequencyRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PWMFrequencyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'pin') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -658,15 +658,15 @@ class PWMFrequencyRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class PWMFrequencyResponse extends $pb.GeneratedMessage { @@ -724,7 +724,7 @@ class SetPWMFrequencyRequest extends $pb.GeneratedMessage { $core.String? name, $core.String? pin, $fixnum.Int64? frequencyHz, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -749,7 +749,7 @@ class SetPWMFrequencyRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'pin') ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'frequencyHz', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -803,15 +803,15 @@ class SetPWMFrequencyRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class SetPWMFrequencyResponse extends $pb.GeneratedMessage { @@ -850,7 +850,7 @@ class ReadAnalogReaderRequest extends $pb.GeneratedMessage { factory ReadAnalogReaderRequest({ $core.String? boardName, $core.String? analogReaderName, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (boardName != null) { @@ -871,7 +871,7 @@ class ReadAnalogReaderRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReadAnalogReaderRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'boardName') ..aOS(2, _omitFieldNames ? '' : 'analogReaderName') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -916,15 +916,15 @@ class ReadAnalogReaderRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class ReadAnalogReaderResponse extends $pb.GeneratedMessage { @@ -1024,7 +1024,7 @@ class WriteAnalogRequest extends $pb.GeneratedMessage { $core.String? name, $core.String? pin, $core.int? value, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1049,7 +1049,7 @@ class WriteAnalogRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'pin') ..a<$core.int>(3, _omitFieldNames ? '' : 'value', $pb.PbFieldType.O3) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1103,15 +1103,15 @@ class WriteAnalogRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class WriteAnalogResponse extends $pb.GeneratedMessage { @@ -1150,7 +1150,7 @@ class GetDigitalInterruptValueRequest extends $pb.GeneratedMessage { factory GetDigitalInterruptValueRequest({ $core.String? boardName, $core.String? digitalInterruptName, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (boardName != null) { @@ -1171,7 +1171,7 @@ class GetDigitalInterruptValueRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetDigitalInterruptValueRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'boardName') ..aOS(2, _omitFieldNames ? '' : 'digitalInterruptName') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1216,15 +1216,15 @@ class GetDigitalInterruptValueRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class GetDigitalInterruptValueResponse extends $pb.GeneratedMessage { @@ -1281,7 +1281,7 @@ class StreamTicksRequest extends $pb.GeneratedMessage { factory StreamTicksRequest({ $core.String? name, $core.Iterable<$core.String>? pinNames, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1302,7 +1302,7 @@ class StreamTicksRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamTicksRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..pPS(2, _omitFieldNames ? '' : 'pinNames') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1343,15 +1343,15 @@ class StreamTicksRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class StreamTicksResponse extends $pb.GeneratedMessage { @@ -1439,8 +1439,8 @@ class SetPowerModeRequest extends $pb.GeneratedMessage { factory SetPowerModeRequest({ $core.String? name, PowerMode? powerMode, - $41.Duration? duration, - $42.Struct? extra, + $42.Duration? duration, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1464,8 +1464,8 @@ class SetPowerModeRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPowerModeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.board.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..e(2, _omitFieldNames ? '' : 'powerMode', $pb.PbFieldType.OE, defaultOrMaker: PowerMode.POWER_MODE_UNSPECIFIED, valueOf: PowerMode.valueOf, enumValues: PowerMode.values) - ..aOM<$41.Duration>(3, _omitFieldNames ? '' : 'duration', subBuilder: $41.Duration.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$42.Duration>(3, _omitFieldNames ? '' : 'duration', subBuilder: $42.Duration.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1512,27 +1512,27 @@ class SetPowerModeRequest extends $pb.GeneratedMessage { /// Requested duration to stay in `power_mode` @$pb.TagNumber(3) - $41.Duration get duration => $_getN(2); + $42.Duration get duration => $_getN(2); @$pb.TagNumber(3) - set duration($41.Duration v) { setField(3, v); } + set duration($42.Duration v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasDuration() => $_has(2); @$pb.TagNumber(3) void clearDuration() => clearField(3); @$pb.TagNumber(3) - $41.Duration ensureDuration() => $_ensure(2); + $42.Duration ensureDuration() => $_ensure(2); /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class SetPowerModeResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/board/v1/board.pbgrpc.dart b/lib/src/gen/component/board/v1/board.pbgrpc.dart index 6db1c2c2268..3ea952e837f 100644 --- a/lib/src/gen/component/board/v1/board.pbgrpc.dart +++ b/lib/src/gen/component/board/v1/board.pbgrpc.dart @@ -15,65 +15,65 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'board.pb.dart' as $17; +import '../../../common/v1/common.pb.dart' as $14; +import 'board.pb.dart' as $18; export 'board.pb.dart'; @$pb.GrpcServiceName('viam.component.board.v1.BoardService') class BoardServiceClient extends $grpc.Client { - static final _$setGPIO = $grpc.ClientMethod<$17.SetGPIORequest, $17.SetGPIOResponse>( + static final _$setGPIO = $grpc.ClientMethod<$18.SetGPIORequest, $18.SetGPIOResponse>( '/viam.component.board.v1.BoardService/SetGPIO', - ($17.SetGPIORequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $17.SetGPIOResponse.fromBuffer(value)); - static final _$getGPIO = $grpc.ClientMethod<$17.GetGPIORequest, $17.GetGPIOResponse>( + ($18.SetGPIORequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $18.SetGPIOResponse.fromBuffer(value)); + static final _$getGPIO = $grpc.ClientMethod<$18.GetGPIORequest, $18.GetGPIOResponse>( '/viam.component.board.v1.BoardService/GetGPIO', - ($17.GetGPIORequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $17.GetGPIOResponse.fromBuffer(value)); - static final _$pWM = $grpc.ClientMethod<$17.PWMRequest, $17.PWMResponse>( + ($18.GetGPIORequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $18.GetGPIOResponse.fromBuffer(value)); + static final _$pWM = $grpc.ClientMethod<$18.PWMRequest, $18.PWMResponse>( '/viam.component.board.v1.BoardService/PWM', - ($17.PWMRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $17.PWMResponse.fromBuffer(value)); - static final _$setPWM = $grpc.ClientMethod<$17.SetPWMRequest, $17.SetPWMResponse>( + ($18.PWMRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $18.PWMResponse.fromBuffer(value)); + static final _$setPWM = $grpc.ClientMethod<$18.SetPWMRequest, $18.SetPWMResponse>( '/viam.component.board.v1.BoardService/SetPWM', - ($17.SetPWMRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $17.SetPWMResponse.fromBuffer(value)); - static final _$pWMFrequency = $grpc.ClientMethod<$17.PWMFrequencyRequest, $17.PWMFrequencyResponse>( + ($18.SetPWMRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $18.SetPWMResponse.fromBuffer(value)); + static final _$pWMFrequency = $grpc.ClientMethod<$18.PWMFrequencyRequest, $18.PWMFrequencyResponse>( '/viam.component.board.v1.BoardService/PWMFrequency', - ($17.PWMFrequencyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $17.PWMFrequencyResponse.fromBuffer(value)); - static final _$setPWMFrequency = $grpc.ClientMethod<$17.SetPWMFrequencyRequest, $17.SetPWMFrequencyResponse>( + ($18.PWMFrequencyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $18.PWMFrequencyResponse.fromBuffer(value)); + static final _$setPWMFrequency = $grpc.ClientMethod<$18.SetPWMFrequencyRequest, $18.SetPWMFrequencyResponse>( '/viam.component.board.v1.BoardService/SetPWMFrequency', - ($17.SetPWMFrequencyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $17.SetPWMFrequencyResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($18.SetPWMFrequencyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $18.SetPWMFrequencyResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.board.v1.BoardService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$readAnalogReader = $grpc.ClientMethod<$17.ReadAnalogReaderRequest, $17.ReadAnalogReaderResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$readAnalogReader = $grpc.ClientMethod<$18.ReadAnalogReaderRequest, $18.ReadAnalogReaderResponse>( '/viam.component.board.v1.BoardService/ReadAnalogReader', - ($17.ReadAnalogReaderRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $17.ReadAnalogReaderResponse.fromBuffer(value)); - static final _$writeAnalog = $grpc.ClientMethod<$17.WriteAnalogRequest, $17.WriteAnalogResponse>( + ($18.ReadAnalogReaderRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $18.ReadAnalogReaderResponse.fromBuffer(value)); + static final _$writeAnalog = $grpc.ClientMethod<$18.WriteAnalogRequest, $18.WriteAnalogResponse>( '/viam.component.board.v1.BoardService/WriteAnalog', - ($17.WriteAnalogRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $17.WriteAnalogResponse.fromBuffer(value)); - static final _$getDigitalInterruptValue = $grpc.ClientMethod<$17.GetDigitalInterruptValueRequest, $17.GetDigitalInterruptValueResponse>( + ($18.WriteAnalogRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $18.WriteAnalogResponse.fromBuffer(value)); + static final _$getDigitalInterruptValue = $grpc.ClientMethod<$18.GetDigitalInterruptValueRequest, $18.GetDigitalInterruptValueResponse>( '/viam.component.board.v1.BoardService/GetDigitalInterruptValue', - ($17.GetDigitalInterruptValueRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $17.GetDigitalInterruptValueResponse.fromBuffer(value)); - static final _$streamTicks = $grpc.ClientMethod<$17.StreamTicksRequest, $17.StreamTicksResponse>( + ($18.GetDigitalInterruptValueRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $18.GetDigitalInterruptValueResponse.fromBuffer(value)); + static final _$streamTicks = $grpc.ClientMethod<$18.StreamTicksRequest, $18.StreamTicksResponse>( '/viam.component.board.v1.BoardService/StreamTicks', - ($17.StreamTicksRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $17.StreamTicksResponse.fromBuffer(value)); - static final _$setPowerMode = $grpc.ClientMethod<$17.SetPowerModeRequest, $17.SetPowerModeResponse>( + ($18.StreamTicksRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $18.StreamTicksResponse.fromBuffer(value)); + static final _$setPowerMode = $grpc.ClientMethod<$18.SetPowerModeRequest, $18.SetPowerModeResponse>( '/viam.component.board.v1.BoardService/SetPowerMode', - ($17.SetPowerModeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $17.SetPowerModeResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($18.SetPowerModeRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $18.SetPowerModeResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.board.v1.BoardService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); BoardServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -81,55 +81,55 @@ class BoardServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$17.SetGPIOResponse> setGPIO($17.SetGPIORequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$18.SetGPIOResponse> setGPIO($18.SetGPIORequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$setGPIO, request, options: options); } - $grpc.ResponseFuture<$17.GetGPIOResponse> getGPIO($17.GetGPIORequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$18.GetGPIOResponse> getGPIO($18.GetGPIORequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGPIO, request, options: options); } - $grpc.ResponseFuture<$17.PWMResponse> pWM($17.PWMRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$18.PWMResponse> pWM($18.PWMRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$pWM, request, options: options); } - $grpc.ResponseFuture<$17.SetPWMResponse> setPWM($17.SetPWMRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$18.SetPWMResponse> setPWM($18.SetPWMRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$setPWM, request, options: options); } - $grpc.ResponseFuture<$17.PWMFrequencyResponse> pWMFrequency($17.PWMFrequencyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$18.PWMFrequencyResponse> pWMFrequency($18.PWMFrequencyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$pWMFrequency, request, options: options); } - $grpc.ResponseFuture<$17.SetPWMFrequencyResponse> setPWMFrequency($17.SetPWMFrequencyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$18.SetPWMFrequencyResponse> setPWMFrequency($18.SetPWMFrequencyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$setPWMFrequency, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$17.ReadAnalogReaderResponse> readAnalogReader($17.ReadAnalogReaderRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$18.ReadAnalogReaderResponse> readAnalogReader($18.ReadAnalogReaderRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$readAnalogReader, request, options: options); } - $grpc.ResponseFuture<$17.WriteAnalogResponse> writeAnalog($17.WriteAnalogRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$18.WriteAnalogResponse> writeAnalog($18.WriteAnalogRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$writeAnalog, request, options: options); } - $grpc.ResponseFuture<$17.GetDigitalInterruptValueResponse> getDigitalInterruptValue($17.GetDigitalInterruptValueRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$18.GetDigitalInterruptValueResponse> getDigitalInterruptValue($18.GetDigitalInterruptValueRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getDigitalInterruptValue, request, options: options); } - $grpc.ResponseStream<$17.StreamTicksResponse> streamTicks($17.StreamTicksRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$18.StreamTicksResponse> streamTicks($18.StreamTicksRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$streamTicks, $async.Stream.fromIterable([request]), options: options); } - $grpc.ResponseFuture<$17.SetPowerModeResponse> setPowerMode($17.SetPowerModeRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$18.SetPowerModeResponse> setPowerMode($18.SetPowerModeRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$setPowerMode, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } } @@ -139,162 +139,162 @@ abstract class BoardServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.board.v1.BoardService'; BoardServiceBase() { - $addMethod($grpc.ServiceMethod<$17.SetGPIORequest, $17.SetGPIOResponse>( + $addMethod($grpc.ServiceMethod<$18.SetGPIORequest, $18.SetGPIOResponse>( 'SetGPIO', setGPIO_Pre, false, false, - ($core.List<$core.int> value) => $17.SetGPIORequest.fromBuffer(value), - ($17.SetGPIOResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$17.GetGPIORequest, $17.GetGPIOResponse>( + ($core.List<$core.int> value) => $18.SetGPIORequest.fromBuffer(value), + ($18.SetGPIOResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$18.GetGPIORequest, $18.GetGPIOResponse>( 'GetGPIO', getGPIO_Pre, false, false, - ($core.List<$core.int> value) => $17.GetGPIORequest.fromBuffer(value), - ($17.GetGPIOResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$17.PWMRequest, $17.PWMResponse>( + ($core.List<$core.int> value) => $18.GetGPIORequest.fromBuffer(value), + ($18.GetGPIOResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$18.PWMRequest, $18.PWMResponse>( 'PWM', pWM_Pre, false, false, - ($core.List<$core.int> value) => $17.PWMRequest.fromBuffer(value), - ($17.PWMResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$17.SetPWMRequest, $17.SetPWMResponse>( + ($core.List<$core.int> value) => $18.PWMRequest.fromBuffer(value), + ($18.PWMResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$18.SetPWMRequest, $18.SetPWMResponse>( 'SetPWM', setPWM_Pre, false, false, - ($core.List<$core.int> value) => $17.SetPWMRequest.fromBuffer(value), - ($17.SetPWMResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$17.PWMFrequencyRequest, $17.PWMFrequencyResponse>( + ($core.List<$core.int> value) => $18.SetPWMRequest.fromBuffer(value), + ($18.SetPWMResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$18.PWMFrequencyRequest, $18.PWMFrequencyResponse>( 'PWMFrequency', pWMFrequency_Pre, false, false, - ($core.List<$core.int> value) => $17.PWMFrequencyRequest.fromBuffer(value), - ($17.PWMFrequencyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$17.SetPWMFrequencyRequest, $17.SetPWMFrequencyResponse>( + ($core.List<$core.int> value) => $18.PWMFrequencyRequest.fromBuffer(value), + ($18.PWMFrequencyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$18.SetPWMFrequencyRequest, $18.SetPWMFrequencyResponse>( 'SetPWMFrequency', setPWMFrequency_Pre, false, false, - ($core.List<$core.int> value) => $17.SetPWMFrequencyRequest.fromBuffer(value), - ($17.SetPWMFrequencyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $18.SetPWMFrequencyRequest.fromBuffer(value), + ($18.SetPWMFrequencyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$17.ReadAnalogReaderRequest, $17.ReadAnalogReaderResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$18.ReadAnalogReaderRequest, $18.ReadAnalogReaderResponse>( 'ReadAnalogReader', readAnalogReader_Pre, false, false, - ($core.List<$core.int> value) => $17.ReadAnalogReaderRequest.fromBuffer(value), - ($17.ReadAnalogReaderResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$17.WriteAnalogRequest, $17.WriteAnalogResponse>( + ($core.List<$core.int> value) => $18.ReadAnalogReaderRequest.fromBuffer(value), + ($18.ReadAnalogReaderResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$18.WriteAnalogRequest, $18.WriteAnalogResponse>( 'WriteAnalog', writeAnalog_Pre, false, false, - ($core.List<$core.int> value) => $17.WriteAnalogRequest.fromBuffer(value), - ($17.WriteAnalogResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$17.GetDigitalInterruptValueRequest, $17.GetDigitalInterruptValueResponse>( + ($core.List<$core.int> value) => $18.WriteAnalogRequest.fromBuffer(value), + ($18.WriteAnalogResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$18.GetDigitalInterruptValueRequest, $18.GetDigitalInterruptValueResponse>( 'GetDigitalInterruptValue', getDigitalInterruptValue_Pre, false, false, - ($core.List<$core.int> value) => $17.GetDigitalInterruptValueRequest.fromBuffer(value), - ($17.GetDigitalInterruptValueResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$17.StreamTicksRequest, $17.StreamTicksResponse>( + ($core.List<$core.int> value) => $18.GetDigitalInterruptValueRequest.fromBuffer(value), + ($18.GetDigitalInterruptValueResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$18.StreamTicksRequest, $18.StreamTicksResponse>( 'StreamTicks', streamTicks_Pre, false, true, - ($core.List<$core.int> value) => $17.StreamTicksRequest.fromBuffer(value), - ($17.StreamTicksResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$17.SetPowerModeRequest, $17.SetPowerModeResponse>( + ($core.List<$core.int> value) => $18.StreamTicksRequest.fromBuffer(value), + ($18.StreamTicksResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$18.SetPowerModeRequest, $18.SetPowerModeResponse>( 'SetPowerMode', setPowerMode_Pre, false, false, - ($core.List<$core.int> value) => $17.SetPowerModeRequest.fromBuffer(value), - ($17.SetPowerModeResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $18.SetPowerModeRequest.fromBuffer(value), + ($18.SetPowerModeResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); } - $async.Future<$17.SetGPIOResponse> setGPIO_Pre($grpc.ServiceCall call, $async.Future<$17.SetGPIORequest> request) async { + $async.Future<$18.SetGPIOResponse> setGPIO_Pre($grpc.ServiceCall call, $async.Future<$18.SetGPIORequest> request) async { return setGPIO(call, await request); } - $async.Future<$17.GetGPIOResponse> getGPIO_Pre($grpc.ServiceCall call, $async.Future<$17.GetGPIORequest> request) async { + $async.Future<$18.GetGPIOResponse> getGPIO_Pre($grpc.ServiceCall call, $async.Future<$18.GetGPIORequest> request) async { return getGPIO(call, await request); } - $async.Future<$17.PWMResponse> pWM_Pre($grpc.ServiceCall call, $async.Future<$17.PWMRequest> request) async { + $async.Future<$18.PWMResponse> pWM_Pre($grpc.ServiceCall call, $async.Future<$18.PWMRequest> request) async { return pWM(call, await request); } - $async.Future<$17.SetPWMResponse> setPWM_Pre($grpc.ServiceCall call, $async.Future<$17.SetPWMRequest> request) async { + $async.Future<$18.SetPWMResponse> setPWM_Pre($grpc.ServiceCall call, $async.Future<$18.SetPWMRequest> request) async { return setPWM(call, await request); } - $async.Future<$17.PWMFrequencyResponse> pWMFrequency_Pre($grpc.ServiceCall call, $async.Future<$17.PWMFrequencyRequest> request) async { + $async.Future<$18.PWMFrequencyResponse> pWMFrequency_Pre($grpc.ServiceCall call, $async.Future<$18.PWMFrequencyRequest> request) async { return pWMFrequency(call, await request); } - $async.Future<$17.SetPWMFrequencyResponse> setPWMFrequency_Pre($grpc.ServiceCall call, $async.Future<$17.SetPWMFrequencyRequest> request) async { + $async.Future<$18.SetPWMFrequencyResponse> setPWMFrequency_Pre($grpc.ServiceCall call, $async.Future<$18.SetPWMFrequencyRequest> request) async { return setPWMFrequency(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$17.ReadAnalogReaderResponse> readAnalogReader_Pre($grpc.ServiceCall call, $async.Future<$17.ReadAnalogReaderRequest> request) async { + $async.Future<$18.ReadAnalogReaderResponse> readAnalogReader_Pre($grpc.ServiceCall call, $async.Future<$18.ReadAnalogReaderRequest> request) async { return readAnalogReader(call, await request); } - $async.Future<$17.WriteAnalogResponse> writeAnalog_Pre($grpc.ServiceCall call, $async.Future<$17.WriteAnalogRequest> request) async { + $async.Future<$18.WriteAnalogResponse> writeAnalog_Pre($grpc.ServiceCall call, $async.Future<$18.WriteAnalogRequest> request) async { return writeAnalog(call, await request); } - $async.Future<$17.GetDigitalInterruptValueResponse> getDigitalInterruptValue_Pre($grpc.ServiceCall call, $async.Future<$17.GetDigitalInterruptValueRequest> request) async { + $async.Future<$18.GetDigitalInterruptValueResponse> getDigitalInterruptValue_Pre($grpc.ServiceCall call, $async.Future<$18.GetDigitalInterruptValueRequest> request) async { return getDigitalInterruptValue(call, await request); } - $async.Stream<$17.StreamTicksResponse> streamTicks_Pre($grpc.ServiceCall call, $async.Future<$17.StreamTicksRequest> request) async* { + $async.Stream<$18.StreamTicksResponse> streamTicks_Pre($grpc.ServiceCall call, $async.Future<$18.StreamTicksRequest> request) async* { yield* streamTicks(call, await request); } - $async.Future<$17.SetPowerModeResponse> setPowerMode_Pre($grpc.ServiceCall call, $async.Future<$17.SetPowerModeRequest> request) async { + $async.Future<$18.SetPowerModeResponse> setPowerMode_Pre($grpc.ServiceCall call, $async.Future<$18.SetPowerModeRequest> request) async { return setPowerMode(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$17.SetGPIOResponse> setGPIO($grpc.ServiceCall call, $17.SetGPIORequest request); - $async.Future<$17.GetGPIOResponse> getGPIO($grpc.ServiceCall call, $17.GetGPIORequest request); - $async.Future<$17.PWMResponse> pWM($grpc.ServiceCall call, $17.PWMRequest request); - $async.Future<$17.SetPWMResponse> setPWM($grpc.ServiceCall call, $17.SetPWMRequest request); - $async.Future<$17.PWMFrequencyResponse> pWMFrequency($grpc.ServiceCall call, $17.PWMFrequencyRequest request); - $async.Future<$17.SetPWMFrequencyResponse> setPWMFrequency($grpc.ServiceCall call, $17.SetPWMFrequencyRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$17.ReadAnalogReaderResponse> readAnalogReader($grpc.ServiceCall call, $17.ReadAnalogReaderRequest request); - $async.Future<$17.WriteAnalogResponse> writeAnalog($grpc.ServiceCall call, $17.WriteAnalogRequest request); - $async.Future<$17.GetDigitalInterruptValueResponse> getDigitalInterruptValue($grpc.ServiceCall call, $17.GetDigitalInterruptValueRequest request); - $async.Stream<$17.StreamTicksResponse> streamTicks($grpc.ServiceCall call, $17.StreamTicksRequest request); - $async.Future<$17.SetPowerModeResponse> setPowerMode($grpc.ServiceCall call, $17.SetPowerModeRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); + $async.Future<$18.SetGPIOResponse> setGPIO($grpc.ServiceCall call, $18.SetGPIORequest request); + $async.Future<$18.GetGPIOResponse> getGPIO($grpc.ServiceCall call, $18.GetGPIORequest request); + $async.Future<$18.PWMResponse> pWM($grpc.ServiceCall call, $18.PWMRequest request); + $async.Future<$18.SetPWMResponse> setPWM($grpc.ServiceCall call, $18.SetPWMRequest request); + $async.Future<$18.PWMFrequencyResponse> pWMFrequency($grpc.ServiceCall call, $18.PWMFrequencyRequest request); + $async.Future<$18.SetPWMFrequencyResponse> setPWMFrequency($grpc.ServiceCall call, $18.SetPWMFrequencyRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$18.ReadAnalogReaderResponse> readAnalogReader($grpc.ServiceCall call, $18.ReadAnalogReaderRequest request); + $async.Future<$18.WriteAnalogResponse> writeAnalog($grpc.ServiceCall call, $18.WriteAnalogRequest request); + $async.Future<$18.GetDigitalInterruptValueResponse> getDigitalInterruptValue($grpc.ServiceCall call, $18.GetDigitalInterruptValueRequest request); + $async.Stream<$18.StreamTicksResponse> streamTicks($grpc.ServiceCall call, $18.StreamTicksRequest request); + $async.Future<$18.SetPowerModeResponse> setPowerMode($grpc.ServiceCall call, $18.SetPowerModeRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); } diff --git a/lib/src/gen/component/camera/v1/camera.pb.dart b/lib/src/gen/component/camera/v1/camera.pb.dart index bb589d48a9d..c09f64d7fa3 100644 --- a/lib/src/gen/component/camera/v1/camera.pb.dart +++ b/lib/src/gen/component/camera/v1/camera.pb.dart @@ -13,8 +13,8 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../common/v1/common.pb.dart' as $14; +import '../../../google/protobuf/struct.pb.dart' as $43; import 'camera.pbenum.dart'; export 'camera.pbenum.dart'; @@ -23,7 +23,7 @@ class GetImageRequest extends $pb.GeneratedMessage { factory GetImageRequest({ $core.String? name, $core.String? mimeType, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -44,7 +44,7 @@ class GetImageRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetImageRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'mimeType') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -91,15 +91,15 @@ class GetImageRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class GetImageResponse extends $pb.GeneratedMessage { @@ -222,7 +222,7 @@ class GetImagesRequest extends $pb.GeneratedMessage { class GetImagesResponse extends $pb.GeneratedMessage { factory GetImagesResponse({ $core.Iterable? images, - $13.ResponseMetadata? responseMetadata, + $14.ResponseMetadata? responseMetadata, }) { final $result = create(); if (images != null) { @@ -239,7 +239,7 @@ class GetImagesResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetImagesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) ..pc(1, _omitFieldNames ? '' : 'images', $pb.PbFieldType.PM, subBuilder: Image.create) - ..aOM<$13.ResponseMetadata>(84260, _omitFieldNames ? '' : 'responseMetadata', subBuilder: $13.ResponseMetadata.create) + ..aOM<$14.ResponseMetadata>(84260, _omitFieldNames ? '' : 'responseMetadata', subBuilder: $14.ResponseMetadata.create) ..hasRequiredFields = false ; @@ -270,15 +270,15 @@ class GetImagesResponse extends $pb.GeneratedMessage { /// contains timestamp data @$pb.TagNumber(84260) - $13.ResponseMetadata get responseMetadata => $_getN(1); + $14.ResponseMetadata get responseMetadata => $_getN(1); @$pb.TagNumber(84260) - set responseMetadata($13.ResponseMetadata v) { setField(84260, v); } + set responseMetadata($14.ResponseMetadata v) { setField(84260, v); } @$pb.TagNumber(84260) $core.bool hasResponseMetadata() => $_has(1); @$pb.TagNumber(84260) void clearResponseMetadata() => clearField(84260); @$pb.TagNumber(84260) - $13.ResponseMetadata ensureResponseMetadata() => $_ensure(1); + $14.ResponseMetadata ensureResponseMetadata() => $_ensure(1); } class Image extends $pb.GeneratedMessage { @@ -366,7 +366,7 @@ class RenderFrameRequest extends $pb.GeneratedMessage { factory RenderFrameRequest({ $core.String? name, $core.String? mimeType, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -387,7 +387,7 @@ class RenderFrameRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RenderFrameRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'mimeType') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -434,22 +434,22 @@ class RenderFrameRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class GetPointCloudRequest extends $pb.GeneratedMessage { factory GetPointCloudRequest({ $core.String? name, $core.String? mimeType, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -470,7 +470,7 @@ class GetPointCloudRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPointCloudRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.camera.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'mimeType') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -517,15 +517,15 @@ class GetPointCloudRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class GetPointCloudResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/camera/v1/camera.pbgrpc.dart b/lib/src/gen/component/camera/v1/camera.pbgrpc.dart index c5e8619e5e7..d3d305b494d 100644 --- a/lib/src/gen/component/camera/v1/camera.pbgrpc.dart +++ b/lib/src/gen/component/camera/v1/camera.pbgrpc.dart @@ -15,42 +15,42 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import '../../../google/api/httpbody.pb.dart' as $15; -import 'camera.pb.dart' as $18; +import '../../../common/v1/common.pb.dart' as $14; +import '../../../google/api/httpbody.pb.dart' as $16; +import 'camera.pb.dart' as $19; export 'camera.pb.dart'; @$pb.GrpcServiceName('viam.component.camera.v1.CameraService') class CameraServiceClient extends $grpc.Client { - static final _$getImage = $grpc.ClientMethod<$18.GetImageRequest, $18.GetImageResponse>( + static final _$getImage = $grpc.ClientMethod<$19.GetImageRequest, $19.GetImageResponse>( '/viam.component.camera.v1.CameraService/GetImage', - ($18.GetImageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $18.GetImageResponse.fromBuffer(value)); - static final _$getImages = $grpc.ClientMethod<$18.GetImagesRequest, $18.GetImagesResponse>( + ($19.GetImageRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $19.GetImageResponse.fromBuffer(value)); + static final _$getImages = $grpc.ClientMethod<$19.GetImagesRequest, $19.GetImagesResponse>( '/viam.component.camera.v1.CameraService/GetImages', - ($18.GetImagesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $18.GetImagesResponse.fromBuffer(value)); - static final _$renderFrame = $grpc.ClientMethod<$18.RenderFrameRequest, $15.HttpBody>( + ($19.GetImagesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $19.GetImagesResponse.fromBuffer(value)); + static final _$renderFrame = $grpc.ClientMethod<$19.RenderFrameRequest, $16.HttpBody>( '/viam.component.camera.v1.CameraService/RenderFrame', - ($18.RenderFrameRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $15.HttpBody.fromBuffer(value)); - static final _$getPointCloud = $grpc.ClientMethod<$18.GetPointCloudRequest, $18.GetPointCloudResponse>( + ($19.RenderFrameRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $16.HttpBody.fromBuffer(value)); + static final _$getPointCloud = $grpc.ClientMethod<$19.GetPointCloudRequest, $19.GetPointCloudResponse>( '/viam.component.camera.v1.CameraService/GetPointCloud', - ($18.GetPointCloudRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $18.GetPointCloudResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$18.GetPropertiesRequest, $18.GetPropertiesResponse>( + ($19.GetPointCloudRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $19.GetPointCloudResponse.fromBuffer(value)); + static final _$getProperties = $grpc.ClientMethod<$19.GetPropertiesRequest, $19.GetPropertiesResponse>( '/viam.component.camera.v1.CameraService/GetProperties', - ($18.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $18.GetPropertiesResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($19.GetPropertiesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $19.GetPropertiesResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.camera.v1.CameraService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.camera.v1.CameraService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); CameraServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -58,31 +58,31 @@ class CameraServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$18.GetImageResponse> getImage($18.GetImageRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$19.GetImageResponse> getImage($19.GetImageRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getImage, request, options: options); } - $grpc.ResponseFuture<$18.GetImagesResponse> getImages($18.GetImagesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$19.GetImagesResponse> getImages($19.GetImagesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getImages, request, options: options); } - $grpc.ResponseFuture<$15.HttpBody> renderFrame($18.RenderFrameRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$16.HttpBody> renderFrame($19.RenderFrameRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$renderFrame, request, options: options); } - $grpc.ResponseFuture<$18.GetPointCloudResponse> getPointCloud($18.GetPointCloudRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$19.GetPointCloudResponse> getPointCloud($19.GetPointCloudRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPointCloud, request, options: options); } - $grpc.ResponseFuture<$18.GetPropertiesResponse> getProperties($18.GetPropertiesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$19.GetPropertiesResponse> getProperties($19.GetPropertiesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getProperties, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } } @@ -92,90 +92,90 @@ abstract class CameraServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.camera.v1.CameraService'; CameraServiceBase() { - $addMethod($grpc.ServiceMethod<$18.GetImageRequest, $18.GetImageResponse>( + $addMethod($grpc.ServiceMethod<$19.GetImageRequest, $19.GetImageResponse>( 'GetImage', getImage_Pre, false, false, - ($core.List<$core.int> value) => $18.GetImageRequest.fromBuffer(value), - ($18.GetImageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$18.GetImagesRequest, $18.GetImagesResponse>( + ($core.List<$core.int> value) => $19.GetImageRequest.fromBuffer(value), + ($19.GetImageResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$19.GetImagesRequest, $19.GetImagesResponse>( 'GetImages', getImages_Pre, false, false, - ($core.List<$core.int> value) => $18.GetImagesRequest.fromBuffer(value), - ($18.GetImagesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$18.RenderFrameRequest, $15.HttpBody>( + ($core.List<$core.int> value) => $19.GetImagesRequest.fromBuffer(value), + ($19.GetImagesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$19.RenderFrameRequest, $16.HttpBody>( 'RenderFrame', renderFrame_Pre, false, false, - ($core.List<$core.int> value) => $18.RenderFrameRequest.fromBuffer(value), - ($15.HttpBody value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$18.GetPointCloudRequest, $18.GetPointCloudResponse>( + ($core.List<$core.int> value) => $19.RenderFrameRequest.fromBuffer(value), + ($16.HttpBody value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$19.GetPointCloudRequest, $19.GetPointCloudResponse>( 'GetPointCloud', getPointCloud_Pre, false, false, - ($core.List<$core.int> value) => $18.GetPointCloudRequest.fromBuffer(value), - ($18.GetPointCloudResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$18.GetPropertiesRequest, $18.GetPropertiesResponse>( + ($core.List<$core.int> value) => $19.GetPointCloudRequest.fromBuffer(value), + ($19.GetPointCloudResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$19.GetPropertiesRequest, $19.GetPropertiesResponse>( 'GetProperties', getProperties_Pre, false, false, - ($core.List<$core.int> value) => $18.GetPropertiesRequest.fromBuffer(value), - ($18.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $19.GetPropertiesRequest.fromBuffer(value), + ($19.GetPropertiesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); } - $async.Future<$18.GetImageResponse> getImage_Pre($grpc.ServiceCall call, $async.Future<$18.GetImageRequest> request) async { + $async.Future<$19.GetImageResponse> getImage_Pre($grpc.ServiceCall call, $async.Future<$19.GetImageRequest> request) async { return getImage(call, await request); } - $async.Future<$18.GetImagesResponse> getImages_Pre($grpc.ServiceCall call, $async.Future<$18.GetImagesRequest> request) async { + $async.Future<$19.GetImagesResponse> getImages_Pre($grpc.ServiceCall call, $async.Future<$19.GetImagesRequest> request) async { return getImages(call, await request); } - $async.Future<$15.HttpBody> renderFrame_Pre($grpc.ServiceCall call, $async.Future<$18.RenderFrameRequest> request) async { + $async.Future<$16.HttpBody> renderFrame_Pre($grpc.ServiceCall call, $async.Future<$19.RenderFrameRequest> request) async { return renderFrame(call, await request); } - $async.Future<$18.GetPointCloudResponse> getPointCloud_Pre($grpc.ServiceCall call, $async.Future<$18.GetPointCloudRequest> request) async { + $async.Future<$19.GetPointCloudResponse> getPointCloud_Pre($grpc.ServiceCall call, $async.Future<$19.GetPointCloudRequest> request) async { return getPointCloud(call, await request); } - $async.Future<$18.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$18.GetPropertiesRequest> request) async { + $async.Future<$19.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$19.GetPropertiesRequest> request) async { return getProperties(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$18.GetImageResponse> getImage($grpc.ServiceCall call, $18.GetImageRequest request); - $async.Future<$18.GetImagesResponse> getImages($grpc.ServiceCall call, $18.GetImagesRequest request); - $async.Future<$15.HttpBody> renderFrame($grpc.ServiceCall call, $18.RenderFrameRequest request); - $async.Future<$18.GetPointCloudResponse> getPointCloud($grpc.ServiceCall call, $18.GetPointCloudRequest request); - $async.Future<$18.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $18.GetPropertiesRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); + $async.Future<$19.GetImageResponse> getImage($grpc.ServiceCall call, $19.GetImageRequest request); + $async.Future<$19.GetImagesResponse> getImages($grpc.ServiceCall call, $19.GetImagesRequest request); + $async.Future<$16.HttpBody> renderFrame($grpc.ServiceCall call, $19.RenderFrameRequest request); + $async.Future<$19.GetPointCloudResponse> getPointCloud($grpc.ServiceCall call, $19.GetPointCloudRequest request); + $async.Future<$19.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $19.GetPropertiesRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); } diff --git a/lib/src/gen/component/encoder/v1/encoder.pb.dart b/lib/src/gen/component/encoder/v1/encoder.pb.dart index 0a65f76e192..f9cfb5c52ee 100644 --- a/lib/src/gen/component/encoder/v1/encoder.pb.dart +++ b/lib/src/gen/component/encoder/v1/encoder.pb.dart @@ -13,7 +13,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../google/protobuf/struct.pb.dart' as $43; import 'encoder.pbenum.dart'; export 'encoder.pbenum.dart'; @@ -22,7 +22,7 @@ class GetPositionRequest extends $pb.GeneratedMessage { factory GetPositionRequest({ $core.String? name, PositionType? positionType, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -43,7 +43,7 @@ class GetPositionRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.encoder.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..e(2, _omitFieldNames ? '' : 'positionType', $pb.PbFieldType.OE, defaultOrMaker: PositionType.POSITION_TYPE_UNSPECIFIED, valueOf: PositionType.valueOf, enumValues: PositionType.values) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -94,15 +94,15 @@ class GetPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class GetPositionResponse extends $pb.GeneratedMessage { @@ -172,7 +172,7 @@ class GetPositionResponse extends $pb.GeneratedMessage { class ResetPositionRequest extends $pb.GeneratedMessage { factory ResetPositionRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -189,7 +189,7 @@ class ResetPositionRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.encoder.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -226,15 +226,15 @@ class ResetPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class ResetPositionResponse extends $pb.GeneratedMessage { @@ -272,7 +272,7 @@ class ResetPositionResponse extends $pb.GeneratedMessage { class GetPropertiesRequest extends $pb.GeneratedMessage { factory GetPropertiesRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -289,7 +289,7 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.encoder.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -326,15 +326,15 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetPropertiesResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/encoder/v1/encoder.pbgrpc.dart b/lib/src/gen/component/encoder/v1/encoder.pbgrpc.dart index 48c501a16b2..557fc512e21 100644 --- a/lib/src/gen/component/encoder/v1/encoder.pbgrpc.dart +++ b/lib/src/gen/component/encoder/v1/encoder.pbgrpc.dart @@ -15,33 +15,33 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'encoder.pb.dart' as $19; +import '../../../common/v1/common.pb.dart' as $14; +import 'encoder.pb.dart' as $20; export 'encoder.pb.dart'; @$pb.GrpcServiceName('viam.component.encoder.v1.EncoderService') class EncoderServiceClient extends $grpc.Client { - static final _$getPosition = $grpc.ClientMethod<$19.GetPositionRequest, $19.GetPositionResponse>( + static final _$getPosition = $grpc.ClientMethod<$20.GetPositionRequest, $20.GetPositionResponse>( '/viam.component.encoder.v1.EncoderService/GetPosition', - ($19.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.GetPositionResponse.fromBuffer(value)); - static final _$resetPosition = $grpc.ClientMethod<$19.ResetPositionRequest, $19.ResetPositionResponse>( + ($20.GetPositionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $20.GetPositionResponse.fromBuffer(value)); + static final _$resetPosition = $grpc.ClientMethod<$20.ResetPositionRequest, $20.ResetPositionResponse>( '/viam.component.encoder.v1.EncoderService/ResetPosition', - ($19.ResetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.ResetPositionResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$19.GetPropertiesRequest, $19.GetPropertiesResponse>( + ($20.ResetPositionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $20.ResetPositionResponse.fromBuffer(value)); + static final _$getProperties = $grpc.ClientMethod<$20.GetPropertiesRequest, $20.GetPropertiesResponse>( '/viam.component.encoder.v1.EncoderService/GetProperties', - ($19.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $19.GetPropertiesResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($20.GetPropertiesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $20.GetPropertiesResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.encoder.v1.EncoderService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.encoder.v1.EncoderService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); EncoderServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -49,23 +49,23 @@ class EncoderServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$19.GetPositionResponse> getPosition($19.GetPositionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$20.GetPositionResponse> getPosition($20.GetPositionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPosition, request, options: options); } - $grpc.ResponseFuture<$19.ResetPositionResponse> resetPosition($19.ResetPositionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$20.ResetPositionResponse> resetPosition($20.ResetPositionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$resetPosition, request, options: options); } - $grpc.ResponseFuture<$19.GetPropertiesResponse> getProperties($19.GetPropertiesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$20.GetPropertiesResponse> getProperties($20.GetPropertiesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getProperties, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } } @@ -75,66 +75,66 @@ abstract class EncoderServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.encoder.v1.EncoderService'; EncoderServiceBase() { - $addMethod($grpc.ServiceMethod<$19.GetPositionRequest, $19.GetPositionResponse>( + $addMethod($grpc.ServiceMethod<$20.GetPositionRequest, $20.GetPositionResponse>( 'GetPosition', getPosition_Pre, false, false, - ($core.List<$core.int> value) => $19.GetPositionRequest.fromBuffer(value), - ($19.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$19.ResetPositionRequest, $19.ResetPositionResponse>( + ($core.List<$core.int> value) => $20.GetPositionRequest.fromBuffer(value), + ($20.GetPositionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$20.ResetPositionRequest, $20.ResetPositionResponse>( 'ResetPosition', resetPosition_Pre, false, false, - ($core.List<$core.int> value) => $19.ResetPositionRequest.fromBuffer(value), - ($19.ResetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$19.GetPropertiesRequest, $19.GetPropertiesResponse>( + ($core.List<$core.int> value) => $20.ResetPositionRequest.fromBuffer(value), + ($20.ResetPositionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$20.GetPropertiesRequest, $20.GetPropertiesResponse>( 'GetProperties', getProperties_Pre, false, false, - ($core.List<$core.int> value) => $19.GetPropertiesRequest.fromBuffer(value), - ($19.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $20.GetPropertiesRequest.fromBuffer(value), + ($20.GetPropertiesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); } - $async.Future<$19.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$19.GetPositionRequest> request) async { + $async.Future<$20.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$20.GetPositionRequest> request) async { return getPosition(call, await request); } - $async.Future<$19.ResetPositionResponse> resetPosition_Pre($grpc.ServiceCall call, $async.Future<$19.ResetPositionRequest> request) async { + $async.Future<$20.ResetPositionResponse> resetPosition_Pre($grpc.ServiceCall call, $async.Future<$20.ResetPositionRequest> request) async { return resetPosition(call, await request); } - $async.Future<$19.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$19.GetPropertiesRequest> request) async { + $async.Future<$20.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$20.GetPropertiesRequest> request) async { return getProperties(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$19.GetPositionResponse> getPosition($grpc.ServiceCall call, $19.GetPositionRequest request); - $async.Future<$19.ResetPositionResponse> resetPosition($grpc.ServiceCall call, $19.ResetPositionRequest request); - $async.Future<$19.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $19.GetPropertiesRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); + $async.Future<$20.GetPositionResponse> getPosition($grpc.ServiceCall call, $20.GetPositionRequest request); + $async.Future<$20.ResetPositionResponse> resetPosition($grpc.ServiceCall call, $20.ResetPositionRequest request); + $async.Future<$20.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $20.GetPropertiesRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); } diff --git a/lib/src/gen/component/gantry/v1/gantry.pb.dart b/lib/src/gen/component/gantry/v1/gantry.pb.dart index e28d3000028..b3f06ccb1eb 100644 --- a/lib/src/gen/component/gantry/v1/gantry.pb.dart +++ b/lib/src/gen/component/gantry/v1/gantry.pb.dart @@ -13,12 +13,12 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../google/protobuf/struct.pb.dart' as $43; class GetPositionRequest extends $pb.GeneratedMessage { factory GetPositionRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -35,7 +35,7 @@ class GetPositionRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -71,15 +71,15 @@ class GetPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetPositionResponse extends $pb.GeneratedMessage { @@ -131,7 +131,7 @@ class MoveToPositionRequest extends $pb.GeneratedMessage { $core.String? name, $core.Iterable<$core.double>? positionsMm, $core.Iterable<$core.double>? speedsMmPerSec, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -156,7 +156,7 @@ class MoveToPositionRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..p<$core.double>(2, _omitFieldNames ? '' : 'positionsMm', $pb.PbFieldType.KD) ..p<$core.double>(3, _omitFieldNames ? '' : 'speedsMmPerSec', $pb.PbFieldType.KD) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -200,15 +200,15 @@ class MoveToPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class MoveToPositionResponse extends $pb.GeneratedMessage { @@ -246,7 +246,7 @@ class MoveToPositionResponse extends $pb.GeneratedMessage { class HomeRequest extends $pb.GeneratedMessage { factory HomeRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -263,7 +263,7 @@ class HomeRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HomeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -299,15 +299,15 @@ class HomeRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class HomeResponse extends $pb.GeneratedMessage { @@ -364,7 +364,7 @@ class HomeResponse extends $pb.GeneratedMessage { class GetLengthsRequest extends $pb.GeneratedMessage { factory GetLengthsRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -381,7 +381,7 @@ class GetLengthsRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLengthsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -417,15 +417,15 @@ class GetLengthsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetLengthsResponse extends $pb.GeneratedMessage { @@ -475,7 +475,7 @@ class GetLengthsResponse extends $pb.GeneratedMessage { class StopRequest extends $pb.GeneratedMessage { factory StopRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -492,7 +492,7 @@ class StopRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gantry.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -529,15 +529,15 @@ class StopRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class StopResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/gantry/v1/gantry.pbgrpc.dart b/lib/src/gen/component/gantry/v1/gantry.pbgrpc.dart index b550fd9dbb0..7412e320743 100644 --- a/lib/src/gen/component/gantry/v1/gantry.pbgrpc.dart +++ b/lib/src/gen/component/gantry/v1/gantry.pbgrpc.dart @@ -15,45 +15,45 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'gantry.pb.dart' as $20; +import '../../../common/v1/common.pb.dart' as $14; +import 'gantry.pb.dart' as $21; export 'gantry.pb.dart'; @$pb.GrpcServiceName('viam.component.gantry.v1.GantryService') class GantryServiceClient extends $grpc.Client { - static final _$getPosition = $grpc.ClientMethod<$20.GetPositionRequest, $20.GetPositionResponse>( + static final _$getPosition = $grpc.ClientMethod<$21.GetPositionRequest, $21.GetPositionResponse>( '/viam.component.gantry.v1.GantryService/GetPosition', - ($20.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $20.GetPositionResponse.fromBuffer(value)); - static final _$moveToPosition = $grpc.ClientMethod<$20.MoveToPositionRequest, $20.MoveToPositionResponse>( + ($21.GetPositionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $21.GetPositionResponse.fromBuffer(value)); + static final _$moveToPosition = $grpc.ClientMethod<$21.MoveToPositionRequest, $21.MoveToPositionResponse>( '/viam.component.gantry.v1.GantryService/MoveToPosition', - ($20.MoveToPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $20.MoveToPositionResponse.fromBuffer(value)); - static final _$home = $grpc.ClientMethod<$20.HomeRequest, $20.HomeResponse>( + ($21.MoveToPositionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $21.MoveToPositionResponse.fromBuffer(value)); + static final _$home = $grpc.ClientMethod<$21.HomeRequest, $21.HomeResponse>( '/viam.component.gantry.v1.GantryService/Home', - ($20.HomeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $20.HomeResponse.fromBuffer(value)); - static final _$getLengths = $grpc.ClientMethod<$20.GetLengthsRequest, $20.GetLengthsResponse>( + ($21.HomeRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $21.HomeResponse.fromBuffer(value)); + static final _$getLengths = $grpc.ClientMethod<$21.GetLengthsRequest, $21.GetLengthsResponse>( '/viam.component.gantry.v1.GantryService/GetLengths', - ($20.GetLengthsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $20.GetLengthsResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$20.StopRequest, $20.StopResponse>( + ($21.GetLengthsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $21.GetLengthsResponse.fromBuffer(value)); + static final _$stop = $grpc.ClientMethod<$21.StopRequest, $21.StopResponse>( '/viam.component.gantry.v1.GantryService/Stop', - ($20.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $20.StopResponse.fromBuffer(value)); - static final _$isMoving = $grpc.ClientMethod<$20.IsMovingRequest, $20.IsMovingResponse>( + ($21.StopRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $21.StopResponse.fromBuffer(value)); + static final _$isMoving = $grpc.ClientMethod<$21.IsMovingRequest, $21.IsMovingResponse>( '/viam.component.gantry.v1.GantryService/IsMoving', - ($20.IsMovingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $20.IsMovingResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($21.IsMovingRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $21.IsMovingResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.gantry.v1.GantryService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.gantry.v1.GantryService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); GantryServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -61,35 +61,35 @@ class GantryServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$20.GetPositionResponse> getPosition($20.GetPositionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$21.GetPositionResponse> getPosition($21.GetPositionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPosition, request, options: options); } - $grpc.ResponseFuture<$20.MoveToPositionResponse> moveToPosition($20.MoveToPositionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$21.MoveToPositionResponse> moveToPosition($21.MoveToPositionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$moveToPosition, request, options: options); } - $grpc.ResponseFuture<$20.HomeResponse> home($20.HomeRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$21.HomeResponse> home($21.HomeRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$home, request, options: options); } - $grpc.ResponseFuture<$20.GetLengthsResponse> getLengths($20.GetLengthsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$21.GetLengthsResponse> getLengths($21.GetLengthsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getLengths, request, options: options); } - $grpc.ResponseFuture<$20.StopResponse> stop($20.StopRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$21.StopResponse> stop($21.StopRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$stop, request, options: options); } - $grpc.ResponseFuture<$20.IsMovingResponse> isMoving($20.IsMovingRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$21.IsMovingResponse> isMoving($21.IsMovingRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$isMoving, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } } @@ -99,102 +99,102 @@ abstract class GantryServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.gantry.v1.GantryService'; GantryServiceBase() { - $addMethod($grpc.ServiceMethod<$20.GetPositionRequest, $20.GetPositionResponse>( + $addMethod($grpc.ServiceMethod<$21.GetPositionRequest, $21.GetPositionResponse>( 'GetPosition', getPosition_Pre, false, false, - ($core.List<$core.int> value) => $20.GetPositionRequest.fromBuffer(value), - ($20.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$20.MoveToPositionRequest, $20.MoveToPositionResponse>( + ($core.List<$core.int> value) => $21.GetPositionRequest.fromBuffer(value), + ($21.GetPositionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$21.MoveToPositionRequest, $21.MoveToPositionResponse>( 'MoveToPosition', moveToPosition_Pre, false, false, - ($core.List<$core.int> value) => $20.MoveToPositionRequest.fromBuffer(value), - ($20.MoveToPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$20.HomeRequest, $20.HomeResponse>( + ($core.List<$core.int> value) => $21.MoveToPositionRequest.fromBuffer(value), + ($21.MoveToPositionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$21.HomeRequest, $21.HomeResponse>( 'Home', home_Pre, false, false, - ($core.List<$core.int> value) => $20.HomeRequest.fromBuffer(value), - ($20.HomeResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$20.GetLengthsRequest, $20.GetLengthsResponse>( + ($core.List<$core.int> value) => $21.HomeRequest.fromBuffer(value), + ($21.HomeResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$21.GetLengthsRequest, $21.GetLengthsResponse>( 'GetLengths', getLengths_Pre, false, false, - ($core.List<$core.int> value) => $20.GetLengthsRequest.fromBuffer(value), - ($20.GetLengthsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$20.StopRequest, $20.StopResponse>( + ($core.List<$core.int> value) => $21.GetLengthsRequest.fromBuffer(value), + ($21.GetLengthsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$21.StopRequest, $21.StopResponse>( 'Stop', stop_Pre, false, false, - ($core.List<$core.int> value) => $20.StopRequest.fromBuffer(value), - ($20.StopResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$20.IsMovingRequest, $20.IsMovingResponse>( + ($core.List<$core.int> value) => $21.StopRequest.fromBuffer(value), + ($21.StopResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$21.IsMovingRequest, $21.IsMovingResponse>( 'IsMoving', isMoving_Pre, false, false, - ($core.List<$core.int> value) => $20.IsMovingRequest.fromBuffer(value), - ($20.IsMovingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $21.IsMovingRequest.fromBuffer(value), + ($21.IsMovingResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); } - $async.Future<$20.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$20.GetPositionRequest> request) async { + $async.Future<$21.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$21.GetPositionRequest> request) async { return getPosition(call, await request); } - $async.Future<$20.MoveToPositionResponse> moveToPosition_Pre($grpc.ServiceCall call, $async.Future<$20.MoveToPositionRequest> request) async { + $async.Future<$21.MoveToPositionResponse> moveToPosition_Pre($grpc.ServiceCall call, $async.Future<$21.MoveToPositionRequest> request) async { return moveToPosition(call, await request); } - $async.Future<$20.HomeResponse> home_Pre($grpc.ServiceCall call, $async.Future<$20.HomeRequest> request) async { + $async.Future<$21.HomeResponse> home_Pre($grpc.ServiceCall call, $async.Future<$21.HomeRequest> request) async { return home(call, await request); } - $async.Future<$20.GetLengthsResponse> getLengths_Pre($grpc.ServiceCall call, $async.Future<$20.GetLengthsRequest> request) async { + $async.Future<$21.GetLengthsResponse> getLengths_Pre($grpc.ServiceCall call, $async.Future<$21.GetLengthsRequest> request) async { return getLengths(call, await request); } - $async.Future<$20.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$20.StopRequest> request) async { + $async.Future<$21.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$21.StopRequest> request) async { return stop(call, await request); } - $async.Future<$20.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$20.IsMovingRequest> request) async { + $async.Future<$21.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$21.IsMovingRequest> request) async { return isMoving(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$20.GetPositionResponse> getPosition($grpc.ServiceCall call, $20.GetPositionRequest request); - $async.Future<$20.MoveToPositionResponse> moveToPosition($grpc.ServiceCall call, $20.MoveToPositionRequest request); - $async.Future<$20.HomeResponse> home($grpc.ServiceCall call, $20.HomeRequest request); - $async.Future<$20.GetLengthsResponse> getLengths($grpc.ServiceCall call, $20.GetLengthsRequest request); - $async.Future<$20.StopResponse> stop($grpc.ServiceCall call, $20.StopRequest request); - $async.Future<$20.IsMovingResponse> isMoving($grpc.ServiceCall call, $20.IsMovingRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); + $async.Future<$21.GetPositionResponse> getPosition($grpc.ServiceCall call, $21.GetPositionRequest request); + $async.Future<$21.MoveToPositionResponse> moveToPosition($grpc.ServiceCall call, $21.MoveToPositionRequest request); + $async.Future<$21.HomeResponse> home($grpc.ServiceCall call, $21.HomeRequest request); + $async.Future<$21.GetLengthsResponse> getLengths($grpc.ServiceCall call, $21.GetLengthsRequest request); + $async.Future<$21.StopResponse> stop($grpc.ServiceCall call, $21.StopRequest request); + $async.Future<$21.IsMovingResponse> isMoving($grpc.ServiceCall call, $21.IsMovingRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); } diff --git a/lib/src/gen/component/generic/v1/generic.pbgrpc.dart b/lib/src/gen/component/generic/v1/generic.pbgrpc.dart index ffc0aa84f06..3c8bc02dbd2 100644 --- a/lib/src/gen/component/generic/v1/generic.pbgrpc.dart +++ b/lib/src/gen/component/generic/v1/generic.pbgrpc.dart @@ -15,20 +15,20 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; +import '../../../common/v1/common.pb.dart' as $14; export 'generic.pb.dart'; @$pb.GrpcServiceName('viam.component.generic.v1.GenericService') class GenericServiceClient extends $grpc.Client { - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.generic.v1.GenericService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.generic.v1.GenericService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); GenericServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -36,11 +36,11 @@ class GenericServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } } @@ -50,30 +50,30 @@ abstract class GenericServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.generic.v1.GenericService'; GenericServiceBase() { - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); } diff --git a/lib/src/gen/component/gripper/v1/gripper.pb.dart b/lib/src/gen/component/gripper/v1/gripper.pb.dart index accec2d2c26..54783f143bc 100644 --- a/lib/src/gen/component/gripper/v1/gripper.pb.dart +++ b/lib/src/gen/component/gripper/v1/gripper.pb.dart @@ -13,12 +13,12 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../google/protobuf/struct.pb.dart' as $43; class OpenRequest extends $pb.GeneratedMessage { factory OpenRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -35,7 +35,7 @@ class OpenRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'OpenRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gripper.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -70,15 +70,15 @@ class OpenRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class OpenResponse extends $pb.GeneratedMessage { @@ -116,7 +116,7 @@ class OpenResponse extends $pb.GeneratedMessage { class GrabRequest extends $pb.GeneratedMessage { factory GrabRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -133,7 +133,7 @@ class GrabRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GrabRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gripper.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -168,21 +168,21 @@ class GrabRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GrabResponse extends $pb.GeneratedMessage { factory GrabResponse({ $core.bool? success, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (success != null) { @@ -199,7 +199,7 @@ class GrabResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GrabResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gripper.v1'), createEmptyInstance: create) ..aOB(1, _omitFieldNames ? '' : 'success') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -234,21 +234,21 @@ class GrabResponse extends $pb.GeneratedMessage { void clearSuccess() => clearField(1); @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class StopRequest extends $pb.GeneratedMessage { factory StopRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -265,7 +265,7 @@ class StopRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.gripper.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -301,15 +301,15 @@ class StopRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class StopResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/gripper/v1/gripper.pbgrpc.dart b/lib/src/gen/component/gripper/v1/gripper.pbgrpc.dart index c46a71b3a17..3e0154b41e7 100644 --- a/lib/src/gen/component/gripper/v1/gripper.pbgrpc.dart +++ b/lib/src/gen/component/gripper/v1/gripper.pbgrpc.dart @@ -15,37 +15,37 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'gripper.pb.dart' as $21; +import '../../../common/v1/common.pb.dart' as $14; +import 'gripper.pb.dart' as $22; export 'gripper.pb.dart'; @$pb.GrpcServiceName('viam.component.gripper.v1.GripperService') class GripperServiceClient extends $grpc.Client { - static final _$open = $grpc.ClientMethod<$21.OpenRequest, $21.OpenResponse>( + static final _$open = $grpc.ClientMethod<$22.OpenRequest, $22.OpenResponse>( '/viam.component.gripper.v1.GripperService/Open', - ($21.OpenRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $21.OpenResponse.fromBuffer(value)); - static final _$grab = $grpc.ClientMethod<$21.GrabRequest, $21.GrabResponse>( + ($22.OpenRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $22.OpenResponse.fromBuffer(value)); + static final _$grab = $grpc.ClientMethod<$22.GrabRequest, $22.GrabResponse>( '/viam.component.gripper.v1.GripperService/Grab', - ($21.GrabRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $21.GrabResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$21.StopRequest, $21.StopResponse>( + ($22.GrabRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $22.GrabResponse.fromBuffer(value)); + static final _$stop = $grpc.ClientMethod<$22.StopRequest, $22.StopResponse>( '/viam.component.gripper.v1.GripperService/Stop', - ($21.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $21.StopResponse.fromBuffer(value)); - static final _$isMoving = $grpc.ClientMethod<$21.IsMovingRequest, $21.IsMovingResponse>( + ($22.StopRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $22.StopResponse.fromBuffer(value)); + static final _$isMoving = $grpc.ClientMethod<$22.IsMovingRequest, $22.IsMovingResponse>( '/viam.component.gripper.v1.GripperService/IsMoving', - ($21.IsMovingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $21.IsMovingResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($22.IsMovingRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $22.IsMovingResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.gripper.v1.GripperService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.gripper.v1.GripperService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); GripperServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -53,27 +53,27 @@ class GripperServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$21.OpenResponse> open($21.OpenRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$22.OpenResponse> open($22.OpenRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$open, request, options: options); } - $grpc.ResponseFuture<$21.GrabResponse> grab($21.GrabRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$22.GrabResponse> grab($22.GrabRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$grab, request, options: options); } - $grpc.ResponseFuture<$21.StopResponse> stop($21.StopRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$22.StopResponse> stop($22.StopRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$stop, request, options: options); } - $grpc.ResponseFuture<$21.IsMovingResponse> isMoving($21.IsMovingRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$22.IsMovingResponse> isMoving($22.IsMovingRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$isMoving, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } } @@ -83,78 +83,78 @@ abstract class GripperServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.gripper.v1.GripperService'; GripperServiceBase() { - $addMethod($grpc.ServiceMethod<$21.OpenRequest, $21.OpenResponse>( + $addMethod($grpc.ServiceMethod<$22.OpenRequest, $22.OpenResponse>( 'Open', open_Pre, false, false, - ($core.List<$core.int> value) => $21.OpenRequest.fromBuffer(value), - ($21.OpenResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$21.GrabRequest, $21.GrabResponse>( + ($core.List<$core.int> value) => $22.OpenRequest.fromBuffer(value), + ($22.OpenResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$22.GrabRequest, $22.GrabResponse>( 'Grab', grab_Pre, false, false, - ($core.List<$core.int> value) => $21.GrabRequest.fromBuffer(value), - ($21.GrabResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$21.StopRequest, $21.StopResponse>( + ($core.List<$core.int> value) => $22.GrabRequest.fromBuffer(value), + ($22.GrabResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$22.StopRequest, $22.StopResponse>( 'Stop', stop_Pre, false, false, - ($core.List<$core.int> value) => $21.StopRequest.fromBuffer(value), - ($21.StopResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$21.IsMovingRequest, $21.IsMovingResponse>( + ($core.List<$core.int> value) => $22.StopRequest.fromBuffer(value), + ($22.StopResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$22.IsMovingRequest, $22.IsMovingResponse>( 'IsMoving', isMoving_Pre, false, false, - ($core.List<$core.int> value) => $21.IsMovingRequest.fromBuffer(value), - ($21.IsMovingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $22.IsMovingRequest.fromBuffer(value), + ($22.IsMovingResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); } - $async.Future<$21.OpenResponse> open_Pre($grpc.ServiceCall call, $async.Future<$21.OpenRequest> request) async { + $async.Future<$22.OpenResponse> open_Pre($grpc.ServiceCall call, $async.Future<$22.OpenRequest> request) async { return open(call, await request); } - $async.Future<$21.GrabResponse> grab_Pre($grpc.ServiceCall call, $async.Future<$21.GrabRequest> request) async { + $async.Future<$22.GrabResponse> grab_Pre($grpc.ServiceCall call, $async.Future<$22.GrabRequest> request) async { return grab(call, await request); } - $async.Future<$21.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$21.StopRequest> request) async { + $async.Future<$22.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$22.StopRequest> request) async { return stop(call, await request); } - $async.Future<$21.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$21.IsMovingRequest> request) async { + $async.Future<$22.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$22.IsMovingRequest> request) async { return isMoving(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$21.OpenResponse> open($grpc.ServiceCall call, $21.OpenRequest request); - $async.Future<$21.GrabResponse> grab($grpc.ServiceCall call, $21.GrabRequest request); - $async.Future<$21.StopResponse> stop($grpc.ServiceCall call, $21.StopRequest request); - $async.Future<$21.IsMovingResponse> isMoving($grpc.ServiceCall call, $21.IsMovingRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); + $async.Future<$22.OpenResponse> open($grpc.ServiceCall call, $22.OpenRequest request); + $async.Future<$22.GrabResponse> grab($grpc.ServiceCall call, $22.GrabRequest request); + $async.Future<$22.StopResponse> stop($grpc.ServiceCall call, $22.StopRequest request); + $async.Future<$22.IsMovingResponse> isMoving($grpc.ServiceCall call, $22.IsMovingRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); } diff --git a/lib/src/gen/component/inputcontroller/v1/input_controller.pb.dart b/lib/src/gen/component/inputcontroller/v1/input_controller.pb.dart index ce33c88d53e..0ad72b329a1 100644 --- a/lib/src/gen/component/inputcontroller/v1/input_controller.pb.dart +++ b/lib/src/gen/component/inputcontroller/v1/input_controller.pb.dart @@ -13,13 +13,13 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/struct.pb.dart' as $42; -import '../../../google/protobuf/timestamp.pb.dart' as $43; +import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/timestamp.pb.dart' as $44; class GetControlsRequest extends $pb.GeneratedMessage { factory GetControlsRequest({ $core.String? controller, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (controller != null) { @@ -36,7 +36,7 @@ class GetControlsRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetControlsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'controller') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -73,15 +73,15 @@ class GetControlsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetControlsResponse extends $pb.GeneratedMessage { @@ -133,7 +133,7 @@ class GetControlsResponse extends $pb.GeneratedMessage { class GetEventsRequest extends $pb.GeneratedMessage { factory GetEventsRequest({ $core.String? controller, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (controller != null) { @@ -150,7 +150,7 @@ class GetEventsRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetEventsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'controller') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -187,15 +187,15 @@ class GetEventsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetEventsResponse extends $pb.GeneratedMessage { @@ -248,7 +248,7 @@ class TriggerEventRequest extends $pb.GeneratedMessage { factory TriggerEventRequest({ $core.String? controller, Event? event, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (controller != null) { @@ -269,7 +269,7 @@ class TriggerEventRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TriggerEventRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'controller') ..aOM(2, _omitFieldNames ? '' : 'event', subBuilder: Event.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -318,15 +318,15 @@ class TriggerEventRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class TriggerEventResponse extends $pb.GeneratedMessage { @@ -363,7 +363,7 @@ class TriggerEventResponse extends $pb.GeneratedMessage { class Event extends $pb.GeneratedMessage { factory Event({ - $43.Timestamp? time, + $44.Timestamp? time, $core.String? event, $core.String? control, $core.double? value, @@ -388,7 +388,7 @@ class Event extends $pb.GeneratedMessage { factory Event.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Event', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) - ..aOM<$43.Timestamp>(1, _omitFieldNames ? '' : 'time', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(1, _omitFieldNames ? '' : 'time', subBuilder: $44.Timestamp.create) ..aOS(2, _omitFieldNames ? '' : 'event') ..aOS(3, _omitFieldNames ? '' : 'control') ..a<$core.double>(4, _omitFieldNames ? '' : 'value', $pb.PbFieldType.OD) @@ -418,15 +418,15 @@ class Event extends $pb.GeneratedMessage { /// Timestamp of event @$pb.TagNumber(1) - $43.Timestamp get time => $_getN(0); + $44.Timestamp get time => $_getN(0); @$pb.TagNumber(1) - set time($43.Timestamp v) { setField(1, v); } + set time($44.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasTime() => $_has(0); @$pb.TagNumber(1) void clearTime() => clearField(1); @$pb.TagNumber(1) - $43.Timestamp ensureTime() => $_ensure(0); + $44.Timestamp ensureTime() => $_ensure(0); /// An event type (eg: ButtonPress, ButtonRelease) @$pb.TagNumber(2) @@ -533,7 +533,7 @@ class StreamEventsRequest extends $pb.GeneratedMessage { factory StreamEventsRequest({ $core.String? controller, $core.Iterable? events, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (controller != null) { @@ -554,7 +554,7 @@ class StreamEventsRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamEventsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.inputcontroller.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'controller') ..pc(2, _omitFieldNames ? '' : 'events', $pb.PbFieldType.PM, subBuilder: StreamEventsRequest_Events.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -595,15 +595,15 @@ class StreamEventsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class StreamEventsResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/inputcontroller/v1/input_controller.pbgrpc.dart b/lib/src/gen/component/inputcontroller/v1/input_controller.pbgrpc.dart index 1303270fd03..a355ed559ac 100644 --- a/lib/src/gen/component/inputcontroller/v1/input_controller.pbgrpc.dart +++ b/lib/src/gen/component/inputcontroller/v1/input_controller.pbgrpc.dart @@ -15,37 +15,37 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'input_controller.pb.dart' as $22; +import '../../../common/v1/common.pb.dart' as $14; +import 'input_controller.pb.dart' as $23; export 'input_controller.pb.dart'; @$pb.GrpcServiceName('viam.component.inputcontroller.v1.InputControllerService') class InputControllerServiceClient extends $grpc.Client { - static final _$getControls = $grpc.ClientMethod<$22.GetControlsRequest, $22.GetControlsResponse>( + static final _$getControls = $grpc.ClientMethod<$23.GetControlsRequest, $23.GetControlsResponse>( '/viam.component.inputcontroller.v1.InputControllerService/GetControls', - ($22.GetControlsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $22.GetControlsResponse.fromBuffer(value)); - static final _$getEvents = $grpc.ClientMethod<$22.GetEventsRequest, $22.GetEventsResponse>( + ($23.GetControlsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $23.GetControlsResponse.fromBuffer(value)); + static final _$getEvents = $grpc.ClientMethod<$23.GetEventsRequest, $23.GetEventsResponse>( '/viam.component.inputcontroller.v1.InputControllerService/GetEvents', - ($22.GetEventsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $22.GetEventsResponse.fromBuffer(value)); - static final _$streamEvents = $grpc.ClientMethod<$22.StreamEventsRequest, $22.StreamEventsResponse>( + ($23.GetEventsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $23.GetEventsResponse.fromBuffer(value)); + static final _$streamEvents = $grpc.ClientMethod<$23.StreamEventsRequest, $23.StreamEventsResponse>( '/viam.component.inputcontroller.v1.InputControllerService/StreamEvents', - ($22.StreamEventsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $22.StreamEventsResponse.fromBuffer(value)); - static final _$triggerEvent = $grpc.ClientMethod<$22.TriggerEventRequest, $22.TriggerEventResponse>( + ($23.StreamEventsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $23.StreamEventsResponse.fromBuffer(value)); + static final _$triggerEvent = $grpc.ClientMethod<$23.TriggerEventRequest, $23.TriggerEventResponse>( '/viam.component.inputcontroller.v1.InputControllerService/TriggerEvent', - ($22.TriggerEventRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $22.TriggerEventResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($23.TriggerEventRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $23.TriggerEventResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.inputcontroller.v1.InputControllerService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.inputcontroller.v1.InputControllerService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); InputControllerServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -53,27 +53,27 @@ class InputControllerServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$22.GetControlsResponse> getControls($22.GetControlsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$23.GetControlsResponse> getControls($23.GetControlsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getControls, request, options: options); } - $grpc.ResponseFuture<$22.GetEventsResponse> getEvents($22.GetEventsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$23.GetEventsResponse> getEvents($23.GetEventsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getEvents, request, options: options); } - $grpc.ResponseStream<$22.StreamEventsResponse> streamEvents($22.StreamEventsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$23.StreamEventsResponse> streamEvents($23.StreamEventsRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$streamEvents, $async.Stream.fromIterable([request]), options: options); } - $grpc.ResponseFuture<$22.TriggerEventResponse> triggerEvent($22.TriggerEventRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$23.TriggerEventResponse> triggerEvent($23.TriggerEventRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$triggerEvent, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } } @@ -83,78 +83,78 @@ abstract class InputControllerServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.inputcontroller.v1.InputControllerService'; InputControllerServiceBase() { - $addMethod($grpc.ServiceMethod<$22.GetControlsRequest, $22.GetControlsResponse>( + $addMethod($grpc.ServiceMethod<$23.GetControlsRequest, $23.GetControlsResponse>( 'GetControls', getControls_Pre, false, false, - ($core.List<$core.int> value) => $22.GetControlsRequest.fromBuffer(value), - ($22.GetControlsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$22.GetEventsRequest, $22.GetEventsResponse>( + ($core.List<$core.int> value) => $23.GetControlsRequest.fromBuffer(value), + ($23.GetControlsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$23.GetEventsRequest, $23.GetEventsResponse>( 'GetEvents', getEvents_Pre, false, false, - ($core.List<$core.int> value) => $22.GetEventsRequest.fromBuffer(value), - ($22.GetEventsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$22.StreamEventsRequest, $22.StreamEventsResponse>( + ($core.List<$core.int> value) => $23.GetEventsRequest.fromBuffer(value), + ($23.GetEventsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$23.StreamEventsRequest, $23.StreamEventsResponse>( 'StreamEvents', streamEvents_Pre, false, true, - ($core.List<$core.int> value) => $22.StreamEventsRequest.fromBuffer(value), - ($22.StreamEventsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$22.TriggerEventRequest, $22.TriggerEventResponse>( + ($core.List<$core.int> value) => $23.StreamEventsRequest.fromBuffer(value), + ($23.StreamEventsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$23.TriggerEventRequest, $23.TriggerEventResponse>( 'TriggerEvent', triggerEvent_Pre, false, false, - ($core.List<$core.int> value) => $22.TriggerEventRequest.fromBuffer(value), - ($22.TriggerEventResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $23.TriggerEventRequest.fromBuffer(value), + ($23.TriggerEventResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); } - $async.Future<$22.GetControlsResponse> getControls_Pre($grpc.ServiceCall call, $async.Future<$22.GetControlsRequest> request) async { + $async.Future<$23.GetControlsResponse> getControls_Pre($grpc.ServiceCall call, $async.Future<$23.GetControlsRequest> request) async { return getControls(call, await request); } - $async.Future<$22.GetEventsResponse> getEvents_Pre($grpc.ServiceCall call, $async.Future<$22.GetEventsRequest> request) async { + $async.Future<$23.GetEventsResponse> getEvents_Pre($grpc.ServiceCall call, $async.Future<$23.GetEventsRequest> request) async { return getEvents(call, await request); } - $async.Stream<$22.StreamEventsResponse> streamEvents_Pre($grpc.ServiceCall call, $async.Future<$22.StreamEventsRequest> request) async* { + $async.Stream<$23.StreamEventsResponse> streamEvents_Pre($grpc.ServiceCall call, $async.Future<$23.StreamEventsRequest> request) async* { yield* streamEvents(call, await request); } - $async.Future<$22.TriggerEventResponse> triggerEvent_Pre($grpc.ServiceCall call, $async.Future<$22.TriggerEventRequest> request) async { + $async.Future<$23.TriggerEventResponse> triggerEvent_Pre($grpc.ServiceCall call, $async.Future<$23.TriggerEventRequest> request) async { return triggerEvent(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$22.GetControlsResponse> getControls($grpc.ServiceCall call, $22.GetControlsRequest request); - $async.Future<$22.GetEventsResponse> getEvents($grpc.ServiceCall call, $22.GetEventsRequest request); - $async.Stream<$22.StreamEventsResponse> streamEvents($grpc.ServiceCall call, $22.StreamEventsRequest request); - $async.Future<$22.TriggerEventResponse> triggerEvent($grpc.ServiceCall call, $22.TriggerEventRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); + $async.Future<$23.GetControlsResponse> getControls($grpc.ServiceCall call, $23.GetControlsRequest request); + $async.Future<$23.GetEventsResponse> getEvents($grpc.ServiceCall call, $23.GetEventsRequest request); + $async.Stream<$23.StreamEventsResponse> streamEvents($grpc.ServiceCall call, $23.StreamEventsRequest request); + $async.Future<$23.TriggerEventResponse> triggerEvent($grpc.ServiceCall call, $23.TriggerEventRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); } diff --git a/lib/src/gen/component/motor/v1/motor.pb.dart b/lib/src/gen/component/motor/v1/motor.pb.dart index d5b8f0fb374..4a25411a8cb 100644 --- a/lib/src/gen/component/motor/v1/motor.pb.dart +++ b/lib/src/gen/component/motor/v1/motor.pb.dart @@ -13,13 +13,13 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../google/protobuf/struct.pb.dart' as $43; class SetPowerRequest extends $pb.GeneratedMessage { factory SetPowerRequest({ $core.String? name, $core.double? powerPct, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -40,7 +40,7 @@ class SetPowerRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetPowerRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..a<$core.double>(2, _omitFieldNames ? '' : 'powerPct', $pb.PbFieldType.OD) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -87,15 +87,15 @@ class SetPowerRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class SetPowerResponse extends $pb.GeneratedMessage { @@ -135,7 +135,7 @@ class GoForRequest extends $pb.GeneratedMessage { $core.String? name, $core.double? rpm, $core.double? revolutions, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -160,7 +160,7 @@ class GoForRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..a<$core.double>(2, _omitFieldNames ? '' : 'rpm', $pb.PbFieldType.OD) ..a<$core.double>(3, _omitFieldNames ? '' : 'revolutions', $pb.PbFieldType.OD) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -217,15 +217,15 @@ class GoForRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class GoForResponse extends $pb.GeneratedMessage { @@ -265,7 +265,7 @@ class GoToRequest extends $pb.GeneratedMessage { $core.String? name, $core.double? rpm, $core.double? positionRevolutions, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -290,7 +290,7 @@ class GoToRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..a<$core.double>(2, _omitFieldNames ? '' : 'rpm', $pb.PbFieldType.OD) ..a<$core.double>(3, _omitFieldNames ? '' : 'positionRevolutions', $pb.PbFieldType.OD) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -347,15 +347,15 @@ class GoToRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class GoToResponse extends $pb.GeneratedMessage { @@ -394,7 +394,7 @@ class SetRPMRequest extends $pb.GeneratedMessage { factory SetRPMRequest({ $core.String? name, $core.double? rpm, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -415,7 +415,7 @@ class SetRPMRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetRPMRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..a<$core.double>(2, _omitFieldNames ? '' : 'rpm', $pb.PbFieldType.OD) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -462,15 +462,15 @@ class SetRPMRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class SetRPMResponse extends $pb.GeneratedMessage { @@ -509,7 +509,7 @@ class ResetZeroPositionRequest extends $pb.GeneratedMessage { factory ResetZeroPositionRequest({ $core.String? name, $core.double? offset, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -530,7 +530,7 @@ class ResetZeroPositionRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResetZeroPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..a<$core.double>(2, _omitFieldNames ? '' : 'offset', $pb.PbFieldType.OD) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -577,15 +577,15 @@ class ResetZeroPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class ResetZeroPositionResponse extends $pb.GeneratedMessage { @@ -623,7 +623,7 @@ class ResetZeroPositionResponse extends $pb.GeneratedMessage { class GetPositionRequest extends $pb.GeneratedMessage { factory GetPositionRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -640,7 +640,7 @@ class GetPositionRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -677,15 +677,15 @@ class GetPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetPositionResponse extends $pb.GeneratedMessage { @@ -742,7 +742,7 @@ class GetPositionResponse extends $pb.GeneratedMessage { class StopRequest extends $pb.GeneratedMessage { factory StopRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -759,7 +759,7 @@ class StopRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -796,15 +796,15 @@ class StopRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class StopResponse extends $pb.GeneratedMessage { @@ -842,7 +842,7 @@ class StopResponse extends $pb.GeneratedMessage { class IsPoweredRequest extends $pb.GeneratedMessage { factory IsPoweredRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -859,7 +859,7 @@ class IsPoweredRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'IsPoweredRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -896,15 +896,15 @@ class IsPoweredRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class IsPoweredResponse extends $pb.GeneratedMessage { @@ -978,7 +978,7 @@ class IsPoweredResponse extends $pb.GeneratedMessage { class GetPropertiesRequest extends $pb.GeneratedMessage { factory GetPropertiesRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -995,7 +995,7 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.motor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1032,15 +1032,15 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetPropertiesResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/motor/v1/motor.pbgrpc.dart b/lib/src/gen/component/motor/v1/motor.pbgrpc.dart index 2cecc9fd40d..5aee1f82c52 100644 --- a/lib/src/gen/component/motor/v1/motor.pbgrpc.dart +++ b/lib/src/gen/component/motor/v1/motor.pbgrpc.dart @@ -15,61 +15,61 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'motor.pb.dart' as $23; +import '../../../common/v1/common.pb.dart' as $14; +import 'motor.pb.dart' as $24; export 'motor.pb.dart'; @$pb.GrpcServiceName('viam.component.motor.v1.MotorService') class MotorServiceClient extends $grpc.Client { - static final _$setPower = $grpc.ClientMethod<$23.SetPowerRequest, $23.SetPowerResponse>( + static final _$setPower = $grpc.ClientMethod<$24.SetPowerRequest, $24.SetPowerResponse>( '/viam.component.motor.v1.MotorService/SetPower', - ($23.SetPowerRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.SetPowerResponse.fromBuffer(value)); - static final _$goFor = $grpc.ClientMethod<$23.GoForRequest, $23.GoForResponse>( + ($24.SetPowerRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $24.SetPowerResponse.fromBuffer(value)); + static final _$goFor = $grpc.ClientMethod<$24.GoForRequest, $24.GoForResponse>( '/viam.component.motor.v1.MotorService/GoFor', - ($23.GoForRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.GoForResponse.fromBuffer(value)); - static final _$goTo = $grpc.ClientMethod<$23.GoToRequest, $23.GoToResponse>( + ($24.GoForRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $24.GoForResponse.fromBuffer(value)); + static final _$goTo = $grpc.ClientMethod<$24.GoToRequest, $24.GoToResponse>( '/viam.component.motor.v1.MotorService/GoTo', - ($23.GoToRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.GoToResponse.fromBuffer(value)); - static final _$setRPM = $grpc.ClientMethod<$23.SetRPMRequest, $23.SetRPMResponse>( + ($24.GoToRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $24.GoToResponse.fromBuffer(value)); + static final _$setRPM = $grpc.ClientMethod<$24.SetRPMRequest, $24.SetRPMResponse>( '/viam.component.motor.v1.MotorService/SetRPM', - ($23.SetRPMRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.SetRPMResponse.fromBuffer(value)); - static final _$resetZeroPosition = $grpc.ClientMethod<$23.ResetZeroPositionRequest, $23.ResetZeroPositionResponse>( + ($24.SetRPMRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $24.SetRPMResponse.fromBuffer(value)); + static final _$resetZeroPosition = $grpc.ClientMethod<$24.ResetZeroPositionRequest, $24.ResetZeroPositionResponse>( '/viam.component.motor.v1.MotorService/ResetZeroPosition', - ($23.ResetZeroPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.ResetZeroPositionResponse.fromBuffer(value)); - static final _$getPosition = $grpc.ClientMethod<$23.GetPositionRequest, $23.GetPositionResponse>( + ($24.ResetZeroPositionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $24.ResetZeroPositionResponse.fromBuffer(value)); + static final _$getPosition = $grpc.ClientMethod<$24.GetPositionRequest, $24.GetPositionResponse>( '/viam.component.motor.v1.MotorService/GetPosition', - ($23.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.GetPositionResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$23.GetPropertiesRequest, $23.GetPropertiesResponse>( + ($24.GetPositionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $24.GetPositionResponse.fromBuffer(value)); + static final _$getProperties = $grpc.ClientMethod<$24.GetPropertiesRequest, $24.GetPropertiesResponse>( '/viam.component.motor.v1.MotorService/GetProperties', - ($23.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.GetPropertiesResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$23.StopRequest, $23.StopResponse>( + ($24.GetPropertiesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $24.GetPropertiesResponse.fromBuffer(value)); + static final _$stop = $grpc.ClientMethod<$24.StopRequest, $24.StopResponse>( '/viam.component.motor.v1.MotorService/Stop', - ($23.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.StopResponse.fromBuffer(value)); - static final _$isPowered = $grpc.ClientMethod<$23.IsPoweredRequest, $23.IsPoweredResponse>( + ($24.StopRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $24.StopResponse.fromBuffer(value)); + static final _$isPowered = $grpc.ClientMethod<$24.IsPoweredRequest, $24.IsPoweredResponse>( '/viam.component.motor.v1.MotorService/IsPowered', - ($23.IsPoweredRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.IsPoweredResponse.fromBuffer(value)); - static final _$isMoving = $grpc.ClientMethod<$23.IsMovingRequest, $23.IsMovingResponse>( + ($24.IsPoweredRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $24.IsPoweredResponse.fromBuffer(value)); + static final _$isMoving = $grpc.ClientMethod<$24.IsMovingRequest, $24.IsMovingResponse>( '/viam.component.motor.v1.MotorService/IsMoving', - ($23.IsMovingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $23.IsMovingResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($24.IsMovingRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $24.IsMovingResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.motor.v1.MotorService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.motor.v1.MotorService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); MotorServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -77,51 +77,51 @@ class MotorServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$23.SetPowerResponse> setPower($23.SetPowerRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$24.SetPowerResponse> setPower($24.SetPowerRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$setPower, request, options: options); } - $grpc.ResponseFuture<$23.GoForResponse> goFor($23.GoForRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$24.GoForResponse> goFor($24.GoForRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$goFor, request, options: options); } - $grpc.ResponseFuture<$23.GoToResponse> goTo($23.GoToRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$24.GoToResponse> goTo($24.GoToRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$goTo, request, options: options); } - $grpc.ResponseFuture<$23.SetRPMResponse> setRPM($23.SetRPMRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$24.SetRPMResponse> setRPM($24.SetRPMRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$setRPM, request, options: options); } - $grpc.ResponseFuture<$23.ResetZeroPositionResponse> resetZeroPosition($23.ResetZeroPositionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$24.ResetZeroPositionResponse> resetZeroPosition($24.ResetZeroPositionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$resetZeroPosition, request, options: options); } - $grpc.ResponseFuture<$23.GetPositionResponse> getPosition($23.GetPositionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$24.GetPositionResponse> getPosition($24.GetPositionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPosition, request, options: options); } - $grpc.ResponseFuture<$23.GetPropertiesResponse> getProperties($23.GetPropertiesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$24.GetPropertiesResponse> getProperties($24.GetPropertiesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getProperties, request, options: options); } - $grpc.ResponseFuture<$23.StopResponse> stop($23.StopRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$24.StopResponse> stop($24.StopRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$stop, request, options: options); } - $grpc.ResponseFuture<$23.IsPoweredResponse> isPowered($23.IsPoweredRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$24.IsPoweredResponse> isPowered($24.IsPoweredRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$isPowered, request, options: options); } - $grpc.ResponseFuture<$23.IsMovingResponse> isMoving($23.IsMovingRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$24.IsMovingResponse> isMoving($24.IsMovingRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$isMoving, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } } @@ -131,150 +131,150 @@ abstract class MotorServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.motor.v1.MotorService'; MotorServiceBase() { - $addMethod($grpc.ServiceMethod<$23.SetPowerRequest, $23.SetPowerResponse>( + $addMethod($grpc.ServiceMethod<$24.SetPowerRequest, $24.SetPowerResponse>( 'SetPower', setPower_Pre, false, false, - ($core.List<$core.int> value) => $23.SetPowerRequest.fromBuffer(value), - ($23.SetPowerResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.GoForRequest, $23.GoForResponse>( + ($core.List<$core.int> value) => $24.SetPowerRequest.fromBuffer(value), + ($24.SetPowerResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$24.GoForRequest, $24.GoForResponse>( 'GoFor', goFor_Pre, false, false, - ($core.List<$core.int> value) => $23.GoForRequest.fromBuffer(value), - ($23.GoForResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.GoToRequest, $23.GoToResponse>( + ($core.List<$core.int> value) => $24.GoForRequest.fromBuffer(value), + ($24.GoForResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$24.GoToRequest, $24.GoToResponse>( 'GoTo', goTo_Pre, false, false, - ($core.List<$core.int> value) => $23.GoToRequest.fromBuffer(value), - ($23.GoToResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.SetRPMRequest, $23.SetRPMResponse>( + ($core.List<$core.int> value) => $24.GoToRequest.fromBuffer(value), + ($24.GoToResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$24.SetRPMRequest, $24.SetRPMResponse>( 'SetRPM', setRPM_Pre, false, false, - ($core.List<$core.int> value) => $23.SetRPMRequest.fromBuffer(value), - ($23.SetRPMResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.ResetZeroPositionRequest, $23.ResetZeroPositionResponse>( + ($core.List<$core.int> value) => $24.SetRPMRequest.fromBuffer(value), + ($24.SetRPMResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$24.ResetZeroPositionRequest, $24.ResetZeroPositionResponse>( 'ResetZeroPosition', resetZeroPosition_Pre, false, false, - ($core.List<$core.int> value) => $23.ResetZeroPositionRequest.fromBuffer(value), - ($23.ResetZeroPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.GetPositionRequest, $23.GetPositionResponse>( + ($core.List<$core.int> value) => $24.ResetZeroPositionRequest.fromBuffer(value), + ($24.ResetZeroPositionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$24.GetPositionRequest, $24.GetPositionResponse>( 'GetPosition', getPosition_Pre, false, false, - ($core.List<$core.int> value) => $23.GetPositionRequest.fromBuffer(value), - ($23.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.GetPropertiesRequest, $23.GetPropertiesResponse>( + ($core.List<$core.int> value) => $24.GetPositionRequest.fromBuffer(value), + ($24.GetPositionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$24.GetPropertiesRequest, $24.GetPropertiesResponse>( 'GetProperties', getProperties_Pre, false, false, - ($core.List<$core.int> value) => $23.GetPropertiesRequest.fromBuffer(value), - ($23.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.StopRequest, $23.StopResponse>( + ($core.List<$core.int> value) => $24.GetPropertiesRequest.fromBuffer(value), + ($24.GetPropertiesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$24.StopRequest, $24.StopResponse>( 'Stop', stop_Pre, false, false, - ($core.List<$core.int> value) => $23.StopRequest.fromBuffer(value), - ($23.StopResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.IsPoweredRequest, $23.IsPoweredResponse>( + ($core.List<$core.int> value) => $24.StopRequest.fromBuffer(value), + ($24.StopResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$24.IsPoweredRequest, $24.IsPoweredResponse>( 'IsPowered', isPowered_Pre, false, false, - ($core.List<$core.int> value) => $23.IsPoweredRequest.fromBuffer(value), - ($23.IsPoweredResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$23.IsMovingRequest, $23.IsMovingResponse>( + ($core.List<$core.int> value) => $24.IsPoweredRequest.fromBuffer(value), + ($24.IsPoweredResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$24.IsMovingRequest, $24.IsMovingResponse>( 'IsMoving', isMoving_Pre, false, false, - ($core.List<$core.int> value) => $23.IsMovingRequest.fromBuffer(value), - ($23.IsMovingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $24.IsMovingRequest.fromBuffer(value), + ($24.IsMovingResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); } - $async.Future<$23.SetPowerResponse> setPower_Pre($grpc.ServiceCall call, $async.Future<$23.SetPowerRequest> request) async { + $async.Future<$24.SetPowerResponse> setPower_Pre($grpc.ServiceCall call, $async.Future<$24.SetPowerRequest> request) async { return setPower(call, await request); } - $async.Future<$23.GoForResponse> goFor_Pre($grpc.ServiceCall call, $async.Future<$23.GoForRequest> request) async { + $async.Future<$24.GoForResponse> goFor_Pre($grpc.ServiceCall call, $async.Future<$24.GoForRequest> request) async { return goFor(call, await request); } - $async.Future<$23.GoToResponse> goTo_Pre($grpc.ServiceCall call, $async.Future<$23.GoToRequest> request) async { + $async.Future<$24.GoToResponse> goTo_Pre($grpc.ServiceCall call, $async.Future<$24.GoToRequest> request) async { return goTo(call, await request); } - $async.Future<$23.SetRPMResponse> setRPM_Pre($grpc.ServiceCall call, $async.Future<$23.SetRPMRequest> request) async { + $async.Future<$24.SetRPMResponse> setRPM_Pre($grpc.ServiceCall call, $async.Future<$24.SetRPMRequest> request) async { return setRPM(call, await request); } - $async.Future<$23.ResetZeroPositionResponse> resetZeroPosition_Pre($grpc.ServiceCall call, $async.Future<$23.ResetZeroPositionRequest> request) async { + $async.Future<$24.ResetZeroPositionResponse> resetZeroPosition_Pre($grpc.ServiceCall call, $async.Future<$24.ResetZeroPositionRequest> request) async { return resetZeroPosition(call, await request); } - $async.Future<$23.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$23.GetPositionRequest> request) async { + $async.Future<$24.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$24.GetPositionRequest> request) async { return getPosition(call, await request); } - $async.Future<$23.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$23.GetPropertiesRequest> request) async { + $async.Future<$24.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$24.GetPropertiesRequest> request) async { return getProperties(call, await request); } - $async.Future<$23.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$23.StopRequest> request) async { + $async.Future<$24.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$24.StopRequest> request) async { return stop(call, await request); } - $async.Future<$23.IsPoweredResponse> isPowered_Pre($grpc.ServiceCall call, $async.Future<$23.IsPoweredRequest> request) async { + $async.Future<$24.IsPoweredResponse> isPowered_Pre($grpc.ServiceCall call, $async.Future<$24.IsPoweredRequest> request) async { return isPowered(call, await request); } - $async.Future<$23.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$23.IsMovingRequest> request) async { + $async.Future<$24.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$24.IsMovingRequest> request) async { return isMoving(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$23.SetPowerResponse> setPower($grpc.ServiceCall call, $23.SetPowerRequest request); - $async.Future<$23.GoForResponse> goFor($grpc.ServiceCall call, $23.GoForRequest request); - $async.Future<$23.GoToResponse> goTo($grpc.ServiceCall call, $23.GoToRequest request); - $async.Future<$23.SetRPMResponse> setRPM($grpc.ServiceCall call, $23.SetRPMRequest request); - $async.Future<$23.ResetZeroPositionResponse> resetZeroPosition($grpc.ServiceCall call, $23.ResetZeroPositionRequest request); - $async.Future<$23.GetPositionResponse> getPosition($grpc.ServiceCall call, $23.GetPositionRequest request); - $async.Future<$23.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $23.GetPropertiesRequest request); - $async.Future<$23.StopResponse> stop($grpc.ServiceCall call, $23.StopRequest request); - $async.Future<$23.IsPoweredResponse> isPowered($grpc.ServiceCall call, $23.IsPoweredRequest request); - $async.Future<$23.IsMovingResponse> isMoving($grpc.ServiceCall call, $23.IsMovingRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); + $async.Future<$24.SetPowerResponse> setPower($grpc.ServiceCall call, $24.SetPowerRequest request); + $async.Future<$24.GoForResponse> goFor($grpc.ServiceCall call, $24.GoForRequest request); + $async.Future<$24.GoToResponse> goTo($grpc.ServiceCall call, $24.GoToRequest request); + $async.Future<$24.SetRPMResponse> setRPM($grpc.ServiceCall call, $24.SetRPMRequest request); + $async.Future<$24.ResetZeroPositionResponse> resetZeroPosition($grpc.ServiceCall call, $24.ResetZeroPositionRequest request); + $async.Future<$24.GetPositionResponse> getPosition($grpc.ServiceCall call, $24.GetPositionRequest request); + $async.Future<$24.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $24.GetPropertiesRequest request); + $async.Future<$24.StopResponse> stop($grpc.ServiceCall call, $24.StopRequest request); + $async.Future<$24.IsPoweredResponse> isPowered($grpc.ServiceCall call, $24.IsPoweredRequest request); + $async.Future<$24.IsMovingResponse> isMoving($grpc.ServiceCall call, $24.IsMovingRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); } diff --git a/lib/src/gen/component/movementsensor/v1/movementsensor.pb.dart b/lib/src/gen/component/movementsensor/v1/movementsensor.pb.dart index 921050983e0..1d32fb3eb5c 100644 --- a/lib/src/gen/component/movementsensor/v1/movementsensor.pb.dart +++ b/lib/src/gen/component/movementsensor/v1/movementsensor.pb.dart @@ -13,13 +13,13 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../common/v1/common.pb.dart' as $14; +import '../../../google/protobuf/struct.pb.dart' as $43; class GetLinearVelocityRequest extends $pb.GeneratedMessage { factory GetLinearVelocityRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -36,7 +36,7 @@ class GetLinearVelocityRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLinearVelocityRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -73,20 +73,20 @@ class GetLinearVelocityRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetLinearVelocityResponse extends $pb.GeneratedMessage { factory GetLinearVelocityResponse({ - $13.Vector3? linearVelocity, + $14.Vector3? linearVelocity, }) { final $result = create(); if (linearVelocity != null) { @@ -99,7 +99,7 @@ class GetLinearVelocityResponse extends $pb.GeneratedMessage { factory GetLinearVelocityResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLinearVelocityResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOM<$13.Vector3>(1, _omitFieldNames ? '' : 'linearVelocity', subBuilder: $13.Vector3.create) + ..aOM<$14.Vector3>(1, _omitFieldNames ? '' : 'linearVelocity', subBuilder: $14.Vector3.create) ..hasRequiredFields = false ; @@ -126,21 +126,21 @@ class GetLinearVelocityResponse extends $pb.GeneratedMessage { /// Linear velocity in m/s across x/y/z axes @$pb.TagNumber(1) - $13.Vector3 get linearVelocity => $_getN(0); + $14.Vector3 get linearVelocity => $_getN(0); @$pb.TagNumber(1) - set linearVelocity($13.Vector3 v) { setField(1, v); } + set linearVelocity($14.Vector3 v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasLinearVelocity() => $_has(0); @$pb.TagNumber(1) void clearLinearVelocity() => clearField(1); @$pb.TagNumber(1) - $13.Vector3 ensureLinearVelocity() => $_ensure(0); + $14.Vector3 ensureLinearVelocity() => $_ensure(0); } class GetAngularVelocityRequest extends $pb.GeneratedMessage { factory GetAngularVelocityRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -157,7 +157,7 @@ class GetAngularVelocityRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAngularVelocityRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -194,20 +194,20 @@ class GetAngularVelocityRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetAngularVelocityResponse extends $pb.GeneratedMessage { factory GetAngularVelocityResponse({ - $13.Vector3? angularVelocity, + $14.Vector3? angularVelocity, }) { final $result = create(); if (angularVelocity != null) { @@ -220,7 +220,7 @@ class GetAngularVelocityResponse extends $pb.GeneratedMessage { factory GetAngularVelocityResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAngularVelocityResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOM<$13.Vector3>(1, _omitFieldNames ? '' : 'angularVelocity', subBuilder: $13.Vector3.create) + ..aOM<$14.Vector3>(1, _omitFieldNames ? '' : 'angularVelocity', subBuilder: $14.Vector3.create) ..hasRequiredFields = false ; @@ -247,21 +247,21 @@ class GetAngularVelocityResponse extends $pb.GeneratedMessage { /// Angular velocity in degrees/s across x/y/z axes @$pb.TagNumber(1) - $13.Vector3 get angularVelocity => $_getN(0); + $14.Vector3 get angularVelocity => $_getN(0); @$pb.TagNumber(1) - set angularVelocity($13.Vector3 v) { setField(1, v); } + set angularVelocity($14.Vector3 v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasAngularVelocity() => $_has(0); @$pb.TagNumber(1) void clearAngularVelocity() => clearField(1); @$pb.TagNumber(1) - $13.Vector3 ensureAngularVelocity() => $_ensure(0); + $14.Vector3 ensureAngularVelocity() => $_ensure(0); } class GetCompassHeadingRequest extends $pb.GeneratedMessage { factory GetCompassHeadingRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -278,7 +278,7 @@ class GetCompassHeadingRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCompassHeadingRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -315,15 +315,15 @@ class GetCompassHeadingRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetCompassHeadingResponse extends $pb.GeneratedMessage { @@ -381,7 +381,7 @@ class GetCompassHeadingResponse extends $pb.GeneratedMessage { class GetOrientationRequest extends $pb.GeneratedMessage { factory GetOrientationRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -398,7 +398,7 @@ class GetOrientationRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrientationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -435,20 +435,20 @@ class GetOrientationRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetOrientationResponse extends $pb.GeneratedMessage { factory GetOrientationResponse({ - $13.Orientation? orientation, + $14.Orientation? orientation, }) { final $result = create(); if (orientation != null) { @@ -461,7 +461,7 @@ class GetOrientationResponse extends $pb.GeneratedMessage { factory GetOrientationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetOrientationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOM<$13.Orientation>(1, _omitFieldNames ? '' : 'orientation', subBuilder: $13.Orientation.create) + ..aOM<$14.Orientation>(1, _omitFieldNames ? '' : 'orientation', subBuilder: $14.Orientation.create) ..hasRequiredFields = false ; @@ -489,21 +489,21 @@ class GetOrientationResponse extends $pb.GeneratedMessage { /// Orientation is returned as an orientation message with /// OX OY OZ as unit-normalized components of the axis of the vector, and Theta in degrees @$pb.TagNumber(1) - $13.Orientation get orientation => $_getN(0); + $14.Orientation get orientation => $_getN(0); @$pb.TagNumber(1) - set orientation($13.Orientation v) { setField(1, v); } + set orientation($14.Orientation v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasOrientation() => $_has(0); @$pb.TagNumber(1) void clearOrientation() => clearField(1); @$pb.TagNumber(1) - $13.Orientation ensureOrientation() => $_ensure(0); + $14.Orientation ensureOrientation() => $_ensure(0); } class GetPositionRequest extends $pb.GeneratedMessage { factory GetPositionRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -520,7 +520,7 @@ class GetPositionRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -557,20 +557,20 @@ class GetPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetPositionResponse extends $pb.GeneratedMessage { factory GetPositionResponse({ - $13.GeoPoint? coordinate, + $14.GeoPoint? coordinate, $core.double? altitudeM, }) { final $result = create(); @@ -587,7 +587,7 @@ class GetPositionResponse extends $pb.GeneratedMessage { factory GetPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOM<$13.GeoPoint>(1, _omitFieldNames ? '' : 'coordinate', subBuilder: $13.GeoPoint.create) + ..aOM<$14.GeoPoint>(1, _omitFieldNames ? '' : 'coordinate', subBuilder: $14.GeoPoint.create) ..a<$core.double>(2, _omitFieldNames ? '' : 'altitudeM', $pb.PbFieldType.OF) ..hasRequiredFields = false ; @@ -616,15 +616,15 @@ class GetPositionResponse extends $pb.GeneratedMessage { /// Position is returned in a coordinate of latitute and longitude /// and an altidue in meters @$pb.TagNumber(1) - $13.GeoPoint get coordinate => $_getN(0); + $14.GeoPoint get coordinate => $_getN(0); @$pb.TagNumber(1) - set coordinate($13.GeoPoint v) { setField(1, v); } + set coordinate($14.GeoPoint v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasCoordinate() => $_has(0); @$pb.TagNumber(1) void clearCoordinate() => clearField(1); @$pb.TagNumber(1) - $13.GeoPoint ensureCoordinate() => $_ensure(0); + $14.GeoPoint ensureCoordinate() => $_ensure(0); @$pb.TagNumber(2) $core.double get altitudeM => $_getN(1); @@ -639,7 +639,7 @@ class GetPositionResponse extends $pb.GeneratedMessage { class GetPropertiesRequest extends $pb.GeneratedMessage { factory GetPropertiesRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -656,7 +656,7 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -693,15 +693,15 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetPropertiesResponse extends $pb.GeneratedMessage { @@ -827,7 +827,7 @@ class GetPropertiesResponse extends $pb.GeneratedMessage { class GetAccuracyRequest extends $pb.GeneratedMessage { factory GetAccuracyRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -844,7 +844,7 @@ class GetAccuracyRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetAccuracyRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -881,15 +881,15 @@ class GetAccuracyRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetAccuracyResponse extends $pb.GeneratedMessage { @@ -995,7 +995,7 @@ class GetAccuracyResponse extends $pb.GeneratedMessage { class GetLinearAccelerationRequest extends $pb.GeneratedMessage { factory GetLinearAccelerationRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1012,7 +1012,7 @@ class GetLinearAccelerationRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLinearAccelerationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1049,20 +1049,20 @@ class GetLinearAccelerationRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetLinearAccelerationResponse extends $pb.GeneratedMessage { factory GetLinearAccelerationResponse({ - $13.Vector3? linearAcceleration, + $14.Vector3? linearAcceleration, }) { final $result = create(); if (linearAcceleration != null) { @@ -1075,7 +1075,7 @@ class GetLinearAccelerationResponse extends $pb.GeneratedMessage { factory GetLinearAccelerationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLinearAccelerationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.movementsensor.v1'), createEmptyInstance: create) - ..aOM<$13.Vector3>(1, _omitFieldNames ? '' : 'linearAcceleration', subBuilder: $13.Vector3.create) + ..aOM<$14.Vector3>(1, _omitFieldNames ? '' : 'linearAcceleration', subBuilder: $14.Vector3.create) ..hasRequiredFields = false ; @@ -1102,15 +1102,15 @@ class GetLinearAccelerationResponse extends $pb.GeneratedMessage { /// Linear acceleration in m/s across x/y/z axes @$pb.TagNumber(1) - $13.Vector3 get linearAcceleration => $_getN(0); + $14.Vector3 get linearAcceleration => $_getN(0); @$pb.TagNumber(1) - set linearAcceleration($13.Vector3 v) { setField(1, v); } + set linearAcceleration($14.Vector3 v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasLinearAcceleration() => $_has(0); @$pb.TagNumber(1) void clearLinearAcceleration() => clearField(1); @$pb.TagNumber(1) - $13.Vector3 ensureLinearAcceleration() => $_ensure(0); + $14.Vector3 ensureLinearAcceleration() => $_ensure(0); } diff --git a/lib/src/gen/component/movementsensor/v1/movementsensor.pbgrpc.dart b/lib/src/gen/component/movementsensor/v1/movementsensor.pbgrpc.dart index 822dabe2b7c..9c625fefffd 100644 --- a/lib/src/gen/component/movementsensor/v1/movementsensor.pbgrpc.dart +++ b/lib/src/gen/component/movementsensor/v1/movementsensor.pbgrpc.dart @@ -15,57 +15,57 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'movementsensor.pb.dart' as $24; +import '../../../common/v1/common.pb.dart' as $14; +import 'movementsensor.pb.dart' as $25; export 'movementsensor.pb.dart'; @$pb.GrpcServiceName('viam.component.movementsensor.v1.MovementSensorService') class MovementSensorServiceClient extends $grpc.Client { - static final _$getLinearVelocity = $grpc.ClientMethod<$24.GetLinearVelocityRequest, $24.GetLinearVelocityResponse>( + static final _$getLinearVelocity = $grpc.ClientMethod<$25.GetLinearVelocityRequest, $25.GetLinearVelocityResponse>( '/viam.component.movementsensor.v1.MovementSensorService/GetLinearVelocity', - ($24.GetLinearVelocityRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $24.GetLinearVelocityResponse.fromBuffer(value)); - static final _$getAngularVelocity = $grpc.ClientMethod<$24.GetAngularVelocityRequest, $24.GetAngularVelocityResponse>( + ($25.GetLinearVelocityRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $25.GetLinearVelocityResponse.fromBuffer(value)); + static final _$getAngularVelocity = $grpc.ClientMethod<$25.GetAngularVelocityRequest, $25.GetAngularVelocityResponse>( '/viam.component.movementsensor.v1.MovementSensorService/GetAngularVelocity', - ($24.GetAngularVelocityRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $24.GetAngularVelocityResponse.fromBuffer(value)); - static final _$getCompassHeading = $grpc.ClientMethod<$24.GetCompassHeadingRequest, $24.GetCompassHeadingResponse>( + ($25.GetAngularVelocityRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $25.GetAngularVelocityResponse.fromBuffer(value)); + static final _$getCompassHeading = $grpc.ClientMethod<$25.GetCompassHeadingRequest, $25.GetCompassHeadingResponse>( '/viam.component.movementsensor.v1.MovementSensorService/GetCompassHeading', - ($24.GetCompassHeadingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $24.GetCompassHeadingResponse.fromBuffer(value)); - static final _$getOrientation = $grpc.ClientMethod<$24.GetOrientationRequest, $24.GetOrientationResponse>( + ($25.GetCompassHeadingRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $25.GetCompassHeadingResponse.fromBuffer(value)); + static final _$getOrientation = $grpc.ClientMethod<$25.GetOrientationRequest, $25.GetOrientationResponse>( '/viam.component.movementsensor.v1.MovementSensorService/GetOrientation', - ($24.GetOrientationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $24.GetOrientationResponse.fromBuffer(value)); - static final _$getPosition = $grpc.ClientMethod<$24.GetPositionRequest, $24.GetPositionResponse>( + ($25.GetOrientationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $25.GetOrientationResponse.fromBuffer(value)); + static final _$getPosition = $grpc.ClientMethod<$25.GetPositionRequest, $25.GetPositionResponse>( '/viam.component.movementsensor.v1.MovementSensorService/GetPosition', - ($24.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $24.GetPositionResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$24.GetPropertiesRequest, $24.GetPropertiesResponse>( + ($25.GetPositionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $25.GetPositionResponse.fromBuffer(value)); + static final _$getProperties = $grpc.ClientMethod<$25.GetPropertiesRequest, $25.GetPropertiesResponse>( '/viam.component.movementsensor.v1.MovementSensorService/GetProperties', - ($24.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $24.GetPropertiesResponse.fromBuffer(value)); - static final _$getAccuracy = $grpc.ClientMethod<$24.GetAccuracyRequest, $24.GetAccuracyResponse>( + ($25.GetPropertiesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $25.GetPropertiesResponse.fromBuffer(value)); + static final _$getAccuracy = $grpc.ClientMethod<$25.GetAccuracyRequest, $25.GetAccuracyResponse>( '/viam.component.movementsensor.v1.MovementSensorService/GetAccuracy', - ($24.GetAccuracyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $24.GetAccuracyResponse.fromBuffer(value)); - static final _$getLinearAcceleration = $grpc.ClientMethod<$24.GetLinearAccelerationRequest, $24.GetLinearAccelerationResponse>( + ($25.GetAccuracyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $25.GetAccuracyResponse.fromBuffer(value)); + static final _$getLinearAcceleration = $grpc.ClientMethod<$25.GetLinearAccelerationRequest, $25.GetLinearAccelerationResponse>( '/viam.component.movementsensor.v1.MovementSensorService/GetLinearAcceleration', - ($24.GetLinearAccelerationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $24.GetLinearAccelerationResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($25.GetLinearAccelerationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $25.GetLinearAccelerationResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.movementsensor.v1.MovementSensorService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.movementsensor.v1.MovementSensorService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); - static final _$getReadings = $grpc.ClientMethod<$13.GetReadingsRequest, $13.GetReadingsResponse>( + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); + static final _$getReadings = $grpc.ClientMethod<$14.GetReadingsRequest, $14.GetReadingsResponse>( '/viam.component.movementsensor.v1.MovementSensorService/GetReadings', - ($13.GetReadingsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetReadingsResponse.fromBuffer(value)); + ($14.GetReadingsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetReadingsResponse.fromBuffer(value)); MovementSensorServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -73,47 +73,47 @@ class MovementSensorServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$24.GetLinearVelocityResponse> getLinearVelocity($24.GetLinearVelocityRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$25.GetLinearVelocityResponse> getLinearVelocity($25.GetLinearVelocityRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getLinearVelocity, request, options: options); } - $grpc.ResponseFuture<$24.GetAngularVelocityResponse> getAngularVelocity($24.GetAngularVelocityRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$25.GetAngularVelocityResponse> getAngularVelocity($25.GetAngularVelocityRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getAngularVelocity, request, options: options); } - $grpc.ResponseFuture<$24.GetCompassHeadingResponse> getCompassHeading($24.GetCompassHeadingRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$25.GetCompassHeadingResponse> getCompassHeading($25.GetCompassHeadingRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getCompassHeading, request, options: options); } - $grpc.ResponseFuture<$24.GetOrientationResponse> getOrientation($24.GetOrientationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$25.GetOrientationResponse> getOrientation($25.GetOrientationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getOrientation, request, options: options); } - $grpc.ResponseFuture<$24.GetPositionResponse> getPosition($24.GetPositionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$25.GetPositionResponse> getPosition($25.GetPositionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPosition, request, options: options); } - $grpc.ResponseFuture<$24.GetPropertiesResponse> getProperties($24.GetPropertiesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$25.GetPropertiesResponse> getProperties($25.GetPropertiesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getProperties, request, options: options); } - $grpc.ResponseFuture<$24.GetAccuracyResponse> getAccuracy($24.GetAccuracyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$25.GetAccuracyResponse> getAccuracy($25.GetAccuracyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getAccuracy, request, options: options); } - $grpc.ResponseFuture<$24.GetLinearAccelerationResponse> getLinearAcceleration($24.GetLinearAccelerationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$25.GetLinearAccelerationResponse> getLinearAcceleration($25.GetLinearAccelerationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getLinearAcceleration, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } - $grpc.ResponseFuture<$13.GetReadingsResponse> getReadings($13.GetReadingsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetReadingsResponse> getReadings($14.GetReadingsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getReadings, request, options: options); } } @@ -123,138 +123,138 @@ abstract class MovementSensorServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.movementsensor.v1.MovementSensorService'; MovementSensorServiceBase() { - $addMethod($grpc.ServiceMethod<$24.GetLinearVelocityRequest, $24.GetLinearVelocityResponse>( + $addMethod($grpc.ServiceMethod<$25.GetLinearVelocityRequest, $25.GetLinearVelocityResponse>( 'GetLinearVelocity', getLinearVelocity_Pre, false, false, - ($core.List<$core.int> value) => $24.GetLinearVelocityRequest.fromBuffer(value), - ($24.GetLinearVelocityResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$24.GetAngularVelocityRequest, $24.GetAngularVelocityResponse>( + ($core.List<$core.int> value) => $25.GetLinearVelocityRequest.fromBuffer(value), + ($25.GetLinearVelocityResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$25.GetAngularVelocityRequest, $25.GetAngularVelocityResponse>( 'GetAngularVelocity', getAngularVelocity_Pre, false, false, - ($core.List<$core.int> value) => $24.GetAngularVelocityRequest.fromBuffer(value), - ($24.GetAngularVelocityResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$24.GetCompassHeadingRequest, $24.GetCompassHeadingResponse>( + ($core.List<$core.int> value) => $25.GetAngularVelocityRequest.fromBuffer(value), + ($25.GetAngularVelocityResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$25.GetCompassHeadingRequest, $25.GetCompassHeadingResponse>( 'GetCompassHeading', getCompassHeading_Pre, false, false, - ($core.List<$core.int> value) => $24.GetCompassHeadingRequest.fromBuffer(value), - ($24.GetCompassHeadingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$24.GetOrientationRequest, $24.GetOrientationResponse>( + ($core.List<$core.int> value) => $25.GetCompassHeadingRequest.fromBuffer(value), + ($25.GetCompassHeadingResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$25.GetOrientationRequest, $25.GetOrientationResponse>( 'GetOrientation', getOrientation_Pre, false, false, - ($core.List<$core.int> value) => $24.GetOrientationRequest.fromBuffer(value), - ($24.GetOrientationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$24.GetPositionRequest, $24.GetPositionResponse>( + ($core.List<$core.int> value) => $25.GetOrientationRequest.fromBuffer(value), + ($25.GetOrientationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$25.GetPositionRequest, $25.GetPositionResponse>( 'GetPosition', getPosition_Pre, false, false, - ($core.List<$core.int> value) => $24.GetPositionRequest.fromBuffer(value), - ($24.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$24.GetPropertiesRequest, $24.GetPropertiesResponse>( + ($core.List<$core.int> value) => $25.GetPositionRequest.fromBuffer(value), + ($25.GetPositionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$25.GetPropertiesRequest, $25.GetPropertiesResponse>( 'GetProperties', getProperties_Pre, false, false, - ($core.List<$core.int> value) => $24.GetPropertiesRequest.fromBuffer(value), - ($24.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$24.GetAccuracyRequest, $24.GetAccuracyResponse>( + ($core.List<$core.int> value) => $25.GetPropertiesRequest.fromBuffer(value), + ($25.GetPropertiesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$25.GetAccuracyRequest, $25.GetAccuracyResponse>( 'GetAccuracy', getAccuracy_Pre, false, false, - ($core.List<$core.int> value) => $24.GetAccuracyRequest.fromBuffer(value), - ($24.GetAccuracyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$24.GetLinearAccelerationRequest, $24.GetLinearAccelerationResponse>( + ($core.List<$core.int> value) => $25.GetAccuracyRequest.fromBuffer(value), + ($25.GetAccuracyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$25.GetLinearAccelerationRequest, $25.GetLinearAccelerationResponse>( 'GetLinearAcceleration', getLinearAcceleration_Pre, false, false, - ($core.List<$core.int> value) => $24.GetLinearAccelerationRequest.fromBuffer(value), - ($24.GetLinearAccelerationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $25.GetLinearAccelerationRequest.fromBuffer(value), + ($25.GetLinearAccelerationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetReadingsRequest, $13.GetReadingsResponse>( + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetReadingsRequest, $14.GetReadingsResponse>( 'GetReadings', getReadings_Pre, false, false, - ($core.List<$core.int> value) => $13.GetReadingsRequest.fromBuffer(value), - ($13.GetReadingsResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetReadingsRequest.fromBuffer(value), + ($14.GetReadingsResponse value) => value.writeToBuffer())); } - $async.Future<$24.GetLinearVelocityResponse> getLinearVelocity_Pre($grpc.ServiceCall call, $async.Future<$24.GetLinearVelocityRequest> request) async { + $async.Future<$25.GetLinearVelocityResponse> getLinearVelocity_Pre($grpc.ServiceCall call, $async.Future<$25.GetLinearVelocityRequest> request) async { return getLinearVelocity(call, await request); } - $async.Future<$24.GetAngularVelocityResponse> getAngularVelocity_Pre($grpc.ServiceCall call, $async.Future<$24.GetAngularVelocityRequest> request) async { + $async.Future<$25.GetAngularVelocityResponse> getAngularVelocity_Pre($grpc.ServiceCall call, $async.Future<$25.GetAngularVelocityRequest> request) async { return getAngularVelocity(call, await request); } - $async.Future<$24.GetCompassHeadingResponse> getCompassHeading_Pre($grpc.ServiceCall call, $async.Future<$24.GetCompassHeadingRequest> request) async { + $async.Future<$25.GetCompassHeadingResponse> getCompassHeading_Pre($grpc.ServiceCall call, $async.Future<$25.GetCompassHeadingRequest> request) async { return getCompassHeading(call, await request); } - $async.Future<$24.GetOrientationResponse> getOrientation_Pre($grpc.ServiceCall call, $async.Future<$24.GetOrientationRequest> request) async { + $async.Future<$25.GetOrientationResponse> getOrientation_Pre($grpc.ServiceCall call, $async.Future<$25.GetOrientationRequest> request) async { return getOrientation(call, await request); } - $async.Future<$24.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$24.GetPositionRequest> request) async { + $async.Future<$25.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$25.GetPositionRequest> request) async { return getPosition(call, await request); } - $async.Future<$24.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$24.GetPropertiesRequest> request) async { + $async.Future<$25.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$25.GetPropertiesRequest> request) async { return getProperties(call, await request); } - $async.Future<$24.GetAccuracyResponse> getAccuracy_Pre($grpc.ServiceCall call, $async.Future<$24.GetAccuracyRequest> request) async { + $async.Future<$25.GetAccuracyResponse> getAccuracy_Pre($grpc.ServiceCall call, $async.Future<$25.GetAccuracyRequest> request) async { return getAccuracy(call, await request); } - $async.Future<$24.GetLinearAccelerationResponse> getLinearAcceleration_Pre($grpc.ServiceCall call, $async.Future<$24.GetLinearAccelerationRequest> request) async { + $async.Future<$25.GetLinearAccelerationResponse> getLinearAcceleration_Pre($grpc.ServiceCall call, $async.Future<$25.GetLinearAccelerationRequest> request) async { return getLinearAcceleration(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$13.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$13.GetReadingsRequest> request) async { + $async.Future<$14.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$14.GetReadingsRequest> request) async { return getReadings(call, await request); } - $async.Future<$24.GetLinearVelocityResponse> getLinearVelocity($grpc.ServiceCall call, $24.GetLinearVelocityRequest request); - $async.Future<$24.GetAngularVelocityResponse> getAngularVelocity($grpc.ServiceCall call, $24.GetAngularVelocityRequest request); - $async.Future<$24.GetCompassHeadingResponse> getCompassHeading($grpc.ServiceCall call, $24.GetCompassHeadingRequest request); - $async.Future<$24.GetOrientationResponse> getOrientation($grpc.ServiceCall call, $24.GetOrientationRequest request); - $async.Future<$24.GetPositionResponse> getPosition($grpc.ServiceCall call, $24.GetPositionRequest request); - $async.Future<$24.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $24.GetPropertiesRequest request); - $async.Future<$24.GetAccuracyResponse> getAccuracy($grpc.ServiceCall call, $24.GetAccuracyRequest request); - $async.Future<$24.GetLinearAccelerationResponse> getLinearAcceleration($grpc.ServiceCall call, $24.GetLinearAccelerationRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); - $async.Future<$13.GetReadingsResponse> getReadings($grpc.ServiceCall call, $13.GetReadingsRequest request); + $async.Future<$25.GetLinearVelocityResponse> getLinearVelocity($grpc.ServiceCall call, $25.GetLinearVelocityRequest request); + $async.Future<$25.GetAngularVelocityResponse> getAngularVelocity($grpc.ServiceCall call, $25.GetAngularVelocityRequest request); + $async.Future<$25.GetCompassHeadingResponse> getCompassHeading($grpc.ServiceCall call, $25.GetCompassHeadingRequest request); + $async.Future<$25.GetOrientationResponse> getOrientation($grpc.ServiceCall call, $25.GetOrientationRequest request); + $async.Future<$25.GetPositionResponse> getPosition($grpc.ServiceCall call, $25.GetPositionRequest request); + $async.Future<$25.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $25.GetPropertiesRequest request); + $async.Future<$25.GetAccuracyResponse> getAccuracy($grpc.ServiceCall call, $25.GetAccuracyRequest request); + $async.Future<$25.GetLinearAccelerationResponse> getLinearAcceleration($grpc.ServiceCall call, $25.GetLinearAccelerationRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); + $async.Future<$14.GetReadingsResponse> getReadings($grpc.ServiceCall call, $14.GetReadingsRequest request); } diff --git a/lib/src/gen/component/posetracker/v1/pose_tracker.pb.dart b/lib/src/gen/component/posetracker/v1/pose_tracker.pb.dart index 1f06958a950..cdd4c8fa3cb 100644 --- a/lib/src/gen/component/posetracker/v1/pose_tracker.pb.dart +++ b/lib/src/gen/component/posetracker/v1/pose_tracker.pb.dart @@ -13,14 +13,14 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../common/v1/common.pb.dart' as $14; +import '../../../google/protobuf/struct.pb.dart' as $43; class GetPosesRequest extends $pb.GeneratedMessage { factory GetPosesRequest({ $core.String? name, $core.Iterable<$core.String>? bodyNames, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -41,7 +41,7 @@ class GetPosesRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPosesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.posetracker.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..pPS(2, _omitFieldNames ? '' : 'bodyNames') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -84,20 +84,20 @@ class GetPosesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class GetPosesResponse extends $pb.GeneratedMessage { factory GetPosesResponse({ - $core.Map<$core.String, $13.PoseInFrame>? bodyPoses, + $core.Map<$core.String, $14.PoseInFrame>? bodyPoses, }) { final $result = create(); if (bodyPoses != null) { @@ -110,7 +110,7 @@ class GetPosesResponse extends $pb.GeneratedMessage { factory GetPosesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPosesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.posetracker.v1'), createEmptyInstance: create) - ..m<$core.String, $13.PoseInFrame>(1, _omitFieldNames ? '' : 'bodyPoses', entryClassName: 'GetPosesResponse.BodyPosesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $13.PoseInFrame.create, valueDefaultOrMaker: $13.PoseInFrame.getDefault, packageName: const $pb.PackageName('viam.component.posetracker.v1')) + ..m<$core.String, $14.PoseInFrame>(1, _omitFieldNames ? '' : 'bodyPoses', entryClassName: 'GetPosesResponse.BodyPosesEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $14.PoseInFrame.create, valueDefaultOrMaker: $14.PoseInFrame.getDefault, packageName: const $pb.PackageName('viam.component.posetracker.v1')) ..hasRequiredFields = false ; @@ -137,7 +137,7 @@ class GetPosesResponse extends $pb.GeneratedMessage { /// Mapping of each body name to the pose representing the center of the body. @$pb.TagNumber(1) - $core.Map<$core.String, $13.PoseInFrame> get bodyPoses => $_getMap(0); + $core.Map<$core.String, $14.PoseInFrame> get bodyPoses => $_getMap(0); } diff --git a/lib/src/gen/component/posetracker/v1/pose_tracker.pbgrpc.dart b/lib/src/gen/component/posetracker/v1/pose_tracker.pbgrpc.dart index 5a3775c802e..de9cb044479 100644 --- a/lib/src/gen/component/posetracker/v1/pose_tracker.pbgrpc.dart +++ b/lib/src/gen/component/posetracker/v1/pose_tracker.pbgrpc.dart @@ -15,25 +15,25 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'pose_tracker.pb.dart' as $25; +import '../../../common/v1/common.pb.dart' as $14; +import 'pose_tracker.pb.dart' as $26; export 'pose_tracker.pb.dart'; @$pb.GrpcServiceName('viam.component.posetracker.v1.PoseTrackerService') class PoseTrackerServiceClient extends $grpc.Client { - static final _$getPoses = $grpc.ClientMethod<$25.GetPosesRequest, $25.GetPosesResponse>( + static final _$getPoses = $grpc.ClientMethod<$26.GetPosesRequest, $26.GetPosesResponse>( '/viam.component.posetracker.v1.PoseTrackerService/GetPoses', - ($25.GetPosesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $25.GetPosesResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($26.GetPosesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $26.GetPosesResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.posetracker.v1.PoseTrackerService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.posetracker.v1.PoseTrackerService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); PoseTrackerServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -41,15 +41,15 @@ class PoseTrackerServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$25.GetPosesResponse> getPoses($25.GetPosesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$26.GetPosesResponse> getPoses($26.GetPosesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPoses, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } } @@ -59,42 +59,42 @@ abstract class PoseTrackerServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.posetracker.v1.PoseTrackerService'; PoseTrackerServiceBase() { - $addMethod($grpc.ServiceMethod<$25.GetPosesRequest, $25.GetPosesResponse>( + $addMethod($grpc.ServiceMethod<$26.GetPosesRequest, $26.GetPosesResponse>( 'GetPoses', getPoses_Pre, false, false, - ($core.List<$core.int> value) => $25.GetPosesRequest.fromBuffer(value), - ($25.GetPosesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $26.GetPosesRequest.fromBuffer(value), + ($26.GetPosesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); } - $async.Future<$25.GetPosesResponse> getPoses_Pre($grpc.ServiceCall call, $async.Future<$25.GetPosesRequest> request) async { + $async.Future<$26.GetPosesResponse> getPoses_Pre($grpc.ServiceCall call, $async.Future<$26.GetPosesRequest> request) async { return getPoses(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$25.GetPosesResponse> getPoses($grpc.ServiceCall call, $25.GetPosesRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); + $async.Future<$26.GetPosesResponse> getPoses($grpc.ServiceCall call, $26.GetPosesRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); } diff --git a/lib/src/gen/component/powersensor/v1/powersensor.pb.dart b/lib/src/gen/component/powersensor/v1/powersensor.pb.dart index 47ce8f27d92..ffa41ffac58 100644 --- a/lib/src/gen/component/powersensor/v1/powersensor.pb.dart +++ b/lib/src/gen/component/powersensor/v1/powersensor.pb.dart @@ -13,12 +13,12 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../google/protobuf/struct.pb.dart' as $43; class GetVoltageRequest extends $pb.GeneratedMessage { factory GetVoltageRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -35,7 +35,7 @@ class GetVoltageRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetVoltageRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.powersensor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -72,15 +72,15 @@ class GetVoltageRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetVoltageResponse extends $pb.GeneratedMessage { @@ -152,7 +152,7 @@ class GetVoltageResponse extends $pb.GeneratedMessage { class GetCurrentRequest extends $pb.GeneratedMessage { factory GetCurrentRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -169,7 +169,7 @@ class GetCurrentRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetCurrentRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.powersensor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -206,15 +206,15 @@ class GetCurrentRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetCurrentResponse extends $pb.GeneratedMessage { @@ -286,7 +286,7 @@ class GetCurrentResponse extends $pb.GeneratedMessage { class GetPowerRequest extends $pb.GeneratedMessage { factory GetPowerRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -303,7 +303,7 @@ class GetPowerRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPowerRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.powersensor.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -340,15 +340,15 @@ class GetPowerRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetPowerResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/powersensor/v1/powersensor.pbgrpc.dart b/lib/src/gen/component/powersensor/v1/powersensor.pbgrpc.dart index 8450b028078..7c4d2d42767 100644 --- a/lib/src/gen/component/powersensor/v1/powersensor.pbgrpc.dart +++ b/lib/src/gen/component/powersensor/v1/powersensor.pbgrpc.dart @@ -15,33 +15,33 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'powersensor.pb.dart' as $26; +import '../../../common/v1/common.pb.dart' as $14; +import 'powersensor.pb.dart' as $27; export 'powersensor.pb.dart'; @$pb.GrpcServiceName('viam.component.powersensor.v1.PowerSensorService') class PowerSensorServiceClient extends $grpc.Client { - static final _$getVoltage = $grpc.ClientMethod<$26.GetVoltageRequest, $26.GetVoltageResponse>( + static final _$getVoltage = $grpc.ClientMethod<$27.GetVoltageRequest, $27.GetVoltageResponse>( '/viam.component.powersensor.v1.PowerSensorService/GetVoltage', - ($26.GetVoltageRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $26.GetVoltageResponse.fromBuffer(value)); - static final _$getCurrent = $grpc.ClientMethod<$26.GetCurrentRequest, $26.GetCurrentResponse>( + ($27.GetVoltageRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $27.GetVoltageResponse.fromBuffer(value)); + static final _$getCurrent = $grpc.ClientMethod<$27.GetCurrentRequest, $27.GetCurrentResponse>( '/viam.component.powersensor.v1.PowerSensorService/GetCurrent', - ($26.GetCurrentRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $26.GetCurrentResponse.fromBuffer(value)); - static final _$getPower = $grpc.ClientMethod<$26.GetPowerRequest, $26.GetPowerResponse>( + ($27.GetCurrentRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $27.GetCurrentResponse.fromBuffer(value)); + static final _$getPower = $grpc.ClientMethod<$27.GetPowerRequest, $27.GetPowerResponse>( '/viam.component.powersensor.v1.PowerSensorService/GetPower', - ($26.GetPowerRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $26.GetPowerResponse.fromBuffer(value)); - static final _$getReadings = $grpc.ClientMethod<$13.GetReadingsRequest, $13.GetReadingsResponse>( + ($27.GetPowerRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $27.GetPowerResponse.fromBuffer(value)); + static final _$getReadings = $grpc.ClientMethod<$14.GetReadingsRequest, $14.GetReadingsResponse>( '/viam.component.powersensor.v1.PowerSensorService/GetReadings', - ($13.GetReadingsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetReadingsResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($14.GetReadingsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetReadingsResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.powersensor.v1.PowerSensorService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); PowerSensorServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -49,23 +49,23 @@ class PowerSensorServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$26.GetVoltageResponse> getVoltage($26.GetVoltageRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$27.GetVoltageResponse> getVoltage($27.GetVoltageRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getVoltage, request, options: options); } - $grpc.ResponseFuture<$26.GetCurrentResponse> getCurrent($26.GetCurrentRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$27.GetCurrentResponse> getCurrent($27.GetCurrentRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getCurrent, request, options: options); } - $grpc.ResponseFuture<$26.GetPowerResponse> getPower($26.GetPowerRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$27.GetPowerResponse> getPower($27.GetPowerRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPower, request, options: options); } - $grpc.ResponseFuture<$13.GetReadingsResponse> getReadings($13.GetReadingsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetReadingsResponse> getReadings($14.GetReadingsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getReadings, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } } @@ -75,66 +75,66 @@ abstract class PowerSensorServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.powersensor.v1.PowerSensorService'; PowerSensorServiceBase() { - $addMethod($grpc.ServiceMethod<$26.GetVoltageRequest, $26.GetVoltageResponse>( + $addMethod($grpc.ServiceMethod<$27.GetVoltageRequest, $27.GetVoltageResponse>( 'GetVoltage', getVoltage_Pre, false, false, - ($core.List<$core.int> value) => $26.GetVoltageRequest.fromBuffer(value), - ($26.GetVoltageResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$26.GetCurrentRequest, $26.GetCurrentResponse>( + ($core.List<$core.int> value) => $27.GetVoltageRequest.fromBuffer(value), + ($27.GetVoltageResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$27.GetCurrentRequest, $27.GetCurrentResponse>( 'GetCurrent', getCurrent_Pre, false, false, - ($core.List<$core.int> value) => $26.GetCurrentRequest.fromBuffer(value), - ($26.GetCurrentResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$26.GetPowerRequest, $26.GetPowerResponse>( + ($core.List<$core.int> value) => $27.GetCurrentRequest.fromBuffer(value), + ($27.GetCurrentResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$27.GetPowerRequest, $27.GetPowerResponse>( 'GetPower', getPower_Pre, false, false, - ($core.List<$core.int> value) => $26.GetPowerRequest.fromBuffer(value), - ($26.GetPowerResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetReadingsRequest, $13.GetReadingsResponse>( + ($core.List<$core.int> value) => $27.GetPowerRequest.fromBuffer(value), + ($27.GetPowerResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetReadingsRequest, $14.GetReadingsResponse>( 'GetReadings', getReadings_Pre, false, false, - ($core.List<$core.int> value) => $13.GetReadingsRequest.fromBuffer(value), - ($13.GetReadingsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $14.GetReadingsRequest.fromBuffer(value), + ($14.GetReadingsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$26.GetVoltageResponse> getVoltage_Pre($grpc.ServiceCall call, $async.Future<$26.GetVoltageRequest> request) async { + $async.Future<$27.GetVoltageResponse> getVoltage_Pre($grpc.ServiceCall call, $async.Future<$27.GetVoltageRequest> request) async { return getVoltage(call, await request); } - $async.Future<$26.GetCurrentResponse> getCurrent_Pre($grpc.ServiceCall call, $async.Future<$26.GetCurrentRequest> request) async { + $async.Future<$27.GetCurrentResponse> getCurrent_Pre($grpc.ServiceCall call, $async.Future<$27.GetCurrentRequest> request) async { return getCurrent(call, await request); } - $async.Future<$26.GetPowerResponse> getPower_Pre($grpc.ServiceCall call, $async.Future<$26.GetPowerRequest> request) async { + $async.Future<$27.GetPowerResponse> getPower_Pre($grpc.ServiceCall call, $async.Future<$27.GetPowerRequest> request) async { return getPower(call, await request); } - $async.Future<$13.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$13.GetReadingsRequest> request) async { + $async.Future<$14.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$14.GetReadingsRequest> request) async { return getReadings(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$26.GetVoltageResponse> getVoltage($grpc.ServiceCall call, $26.GetVoltageRequest request); - $async.Future<$26.GetCurrentResponse> getCurrent($grpc.ServiceCall call, $26.GetCurrentRequest request); - $async.Future<$26.GetPowerResponse> getPower($grpc.ServiceCall call, $26.GetPowerRequest request); - $async.Future<$13.GetReadingsResponse> getReadings($grpc.ServiceCall call, $13.GetReadingsRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); + $async.Future<$27.GetVoltageResponse> getVoltage($grpc.ServiceCall call, $27.GetVoltageRequest request); + $async.Future<$27.GetCurrentResponse> getCurrent($grpc.ServiceCall call, $27.GetCurrentRequest request); + $async.Future<$27.GetPowerResponse> getPower($grpc.ServiceCall call, $27.GetPowerRequest request); + $async.Future<$14.GetReadingsResponse> getReadings($grpc.ServiceCall call, $14.GetReadingsRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); } diff --git a/lib/src/gen/component/sensor/v1/sensor.pbgrpc.dart b/lib/src/gen/component/sensor/v1/sensor.pbgrpc.dart index 2b687548eab..29e4e919e9b 100644 --- a/lib/src/gen/component/sensor/v1/sensor.pbgrpc.dart +++ b/lib/src/gen/component/sensor/v1/sensor.pbgrpc.dart @@ -15,24 +15,24 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; +import '../../../common/v1/common.pb.dart' as $14; export 'sensor.pb.dart'; @$pb.GrpcServiceName('viam.component.sensor.v1.SensorService') class SensorServiceClient extends $grpc.Client { - static final _$getReadings = $grpc.ClientMethod<$13.GetReadingsRequest, $13.GetReadingsResponse>( + static final _$getReadings = $grpc.ClientMethod<$14.GetReadingsRequest, $14.GetReadingsResponse>( '/viam.component.sensor.v1.SensorService/GetReadings', - ($13.GetReadingsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetReadingsResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($14.GetReadingsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetReadingsResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.sensor.v1.SensorService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.sensor.v1.SensorService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); SensorServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -40,15 +40,15 @@ class SensorServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$13.GetReadingsResponse> getReadings($13.GetReadingsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetReadingsResponse> getReadings($14.GetReadingsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getReadings, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } } @@ -58,42 +58,42 @@ abstract class SensorServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.sensor.v1.SensorService'; SensorServiceBase() { - $addMethod($grpc.ServiceMethod<$13.GetReadingsRequest, $13.GetReadingsResponse>( + $addMethod($grpc.ServiceMethod<$14.GetReadingsRequest, $14.GetReadingsResponse>( 'GetReadings', getReadings_Pre, false, false, - ($core.List<$core.int> value) => $13.GetReadingsRequest.fromBuffer(value), - ($13.GetReadingsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $14.GetReadingsRequest.fromBuffer(value), + ($14.GetReadingsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); } - $async.Future<$13.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$13.GetReadingsRequest> request) async { + $async.Future<$14.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$14.GetReadingsRequest> request) async { return getReadings(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$13.GetReadingsResponse> getReadings($grpc.ServiceCall call, $13.GetReadingsRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); + $async.Future<$14.GetReadingsResponse> getReadings($grpc.ServiceCall call, $14.GetReadingsRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); } diff --git a/lib/src/gen/component/servo/v1/servo.pb.dart b/lib/src/gen/component/servo/v1/servo.pb.dart index d05b22dafd7..a58a7edbced 100644 --- a/lib/src/gen/component/servo/v1/servo.pb.dart +++ b/lib/src/gen/component/servo/v1/servo.pb.dart @@ -13,13 +13,13 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../google/protobuf/struct.pb.dart' as $43; class MoveRequest extends $pb.GeneratedMessage { factory MoveRequest({ $core.String? name, $core.int? angleDeg, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -40,7 +40,7 @@ class MoveRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.servo.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..a<$core.int>(2, _omitFieldNames ? '' : 'angleDeg', $pb.PbFieldType.OU3) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -87,15 +87,15 @@ class MoveRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class MoveResponse extends $pb.GeneratedMessage { @@ -133,7 +133,7 @@ class MoveResponse extends $pb.GeneratedMessage { class GetPositionRequest extends $pb.GeneratedMessage { factory GetPositionRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -150,7 +150,7 @@ class GetPositionRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.servo.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -187,15 +187,15 @@ class GetPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetPositionResponse extends $pb.GeneratedMessage { @@ -252,7 +252,7 @@ class GetPositionResponse extends $pb.GeneratedMessage { class StopRequest extends $pb.GeneratedMessage { factory StopRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -269,7 +269,7 @@ class StopRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.component.servo.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -306,15 +306,15 @@ class StopRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class StopResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/servo/v1/servo.pbgrpc.dart b/lib/src/gen/component/servo/v1/servo.pbgrpc.dart index 8e10f19acb3..37f406b049b 100644 --- a/lib/src/gen/component/servo/v1/servo.pbgrpc.dart +++ b/lib/src/gen/component/servo/v1/servo.pbgrpc.dart @@ -15,37 +15,37 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'servo.pb.dart' as $27; +import '../../../common/v1/common.pb.dart' as $14; +import 'servo.pb.dart' as $28; export 'servo.pb.dart'; @$pb.GrpcServiceName('viam.component.servo.v1.ServoService') class ServoServiceClient extends $grpc.Client { - static final _$move = $grpc.ClientMethod<$27.MoveRequest, $27.MoveResponse>( + static final _$move = $grpc.ClientMethod<$28.MoveRequest, $28.MoveResponse>( '/viam.component.servo.v1.ServoService/Move', - ($27.MoveRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $27.MoveResponse.fromBuffer(value)); - static final _$getPosition = $grpc.ClientMethod<$27.GetPositionRequest, $27.GetPositionResponse>( + ($28.MoveRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $28.MoveResponse.fromBuffer(value)); + static final _$getPosition = $grpc.ClientMethod<$28.GetPositionRequest, $28.GetPositionResponse>( '/viam.component.servo.v1.ServoService/GetPosition', - ($27.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $27.GetPositionResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$27.StopRequest, $27.StopResponse>( + ($28.GetPositionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $28.GetPositionResponse.fromBuffer(value)); + static final _$stop = $grpc.ClientMethod<$28.StopRequest, $28.StopResponse>( '/viam.component.servo.v1.ServoService/Stop', - ($27.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $27.StopResponse.fromBuffer(value)); - static final _$isMoving = $grpc.ClientMethod<$27.IsMovingRequest, $27.IsMovingResponse>( + ($28.StopRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $28.StopResponse.fromBuffer(value)); + static final _$isMoving = $grpc.ClientMethod<$28.IsMovingRequest, $28.IsMovingResponse>( '/viam.component.servo.v1.ServoService/IsMoving', - ($27.IsMovingRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $27.IsMovingResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($28.IsMovingRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $28.IsMovingResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.component.servo.v1.ServoService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); - static final _$getGeometries = $grpc.ClientMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); + static final _$getGeometries = $grpc.ClientMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( '/viam.component.servo.v1.ServoService/GetGeometries', - ($13.GetGeometriesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.GetGeometriesResponse.fromBuffer(value)); + ($14.GetGeometriesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.GetGeometriesResponse.fromBuffer(value)); ServoServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -53,27 +53,27 @@ class ServoServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$27.MoveResponse> move($27.MoveRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$28.MoveResponse> move($28.MoveRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$move, request, options: options); } - $grpc.ResponseFuture<$27.GetPositionResponse> getPosition($27.GetPositionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$28.GetPositionResponse> getPosition($28.GetPositionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPosition, request, options: options); } - $grpc.ResponseFuture<$27.StopResponse> stop($27.StopRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$28.StopResponse> stop($28.StopRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$stop, request, options: options); } - $grpc.ResponseFuture<$27.IsMovingResponse> isMoving($27.IsMovingRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$28.IsMovingResponse> isMoving($28.IsMovingRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$isMoving, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } - $grpc.ResponseFuture<$13.GetGeometriesResponse> getGeometries($13.GetGeometriesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.GetGeometriesResponse> getGeometries($14.GetGeometriesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getGeometries, request, options: options); } } @@ -83,78 +83,78 @@ abstract class ServoServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.servo.v1.ServoService'; ServoServiceBase() { - $addMethod($grpc.ServiceMethod<$27.MoveRequest, $27.MoveResponse>( + $addMethod($grpc.ServiceMethod<$28.MoveRequest, $28.MoveResponse>( 'Move', move_Pre, false, false, - ($core.List<$core.int> value) => $27.MoveRequest.fromBuffer(value), - ($27.MoveResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$27.GetPositionRequest, $27.GetPositionResponse>( + ($core.List<$core.int> value) => $28.MoveRequest.fromBuffer(value), + ($28.MoveResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$28.GetPositionRequest, $28.GetPositionResponse>( 'GetPosition', getPosition_Pre, false, false, - ($core.List<$core.int> value) => $27.GetPositionRequest.fromBuffer(value), - ($27.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$27.StopRequest, $27.StopResponse>( + ($core.List<$core.int> value) => $28.GetPositionRequest.fromBuffer(value), + ($28.GetPositionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$28.StopRequest, $28.StopResponse>( 'Stop', stop_Pre, false, false, - ($core.List<$core.int> value) => $27.StopRequest.fromBuffer(value), - ($27.StopResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$27.IsMovingRequest, $27.IsMovingResponse>( + ($core.List<$core.int> value) => $28.StopRequest.fromBuffer(value), + ($28.StopResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$28.IsMovingRequest, $28.IsMovingResponse>( 'IsMoving', isMoving_Pre, false, false, - ($core.List<$core.int> value) => $27.IsMovingRequest.fromBuffer(value), - ($27.IsMovingResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $28.IsMovingRequest.fromBuffer(value), + ($28.IsMovingResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.GetGeometriesRequest, $13.GetGeometriesResponse>( + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.GetGeometriesRequest, $14.GetGeometriesResponse>( 'GetGeometries', getGeometries_Pre, false, false, - ($core.List<$core.int> value) => $13.GetGeometriesRequest.fromBuffer(value), - ($13.GetGeometriesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.GetGeometriesRequest.fromBuffer(value), + ($14.GetGeometriesResponse value) => value.writeToBuffer())); } - $async.Future<$27.MoveResponse> move_Pre($grpc.ServiceCall call, $async.Future<$27.MoveRequest> request) async { + $async.Future<$28.MoveResponse> move_Pre($grpc.ServiceCall call, $async.Future<$28.MoveRequest> request) async { return move(call, await request); } - $async.Future<$27.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$27.GetPositionRequest> request) async { + $async.Future<$28.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$28.GetPositionRequest> request) async { return getPosition(call, await request); } - $async.Future<$27.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$27.StopRequest> request) async { + $async.Future<$28.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$28.StopRequest> request) async { return stop(call, await request); } - $async.Future<$27.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$27.IsMovingRequest> request) async { + $async.Future<$28.IsMovingResponse> isMoving_Pre($grpc.ServiceCall call, $async.Future<$28.IsMovingRequest> request) async { return isMoving(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$13.GetGeometriesRequest> request) async { + $async.Future<$14.GetGeometriesResponse> getGeometries_Pre($grpc.ServiceCall call, $async.Future<$14.GetGeometriesRequest> request) async { return getGeometries(call, await request); } - $async.Future<$27.MoveResponse> move($grpc.ServiceCall call, $27.MoveRequest request); - $async.Future<$27.GetPositionResponse> getPosition($grpc.ServiceCall call, $27.GetPositionRequest request); - $async.Future<$27.StopResponse> stop($grpc.ServiceCall call, $27.StopRequest request); - $async.Future<$27.IsMovingResponse> isMoving($grpc.ServiceCall call, $27.IsMovingRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); - $async.Future<$13.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $13.GetGeometriesRequest request); + $async.Future<$28.MoveResponse> move($grpc.ServiceCall call, $28.MoveRequest request); + $async.Future<$28.GetPositionResponse> getPosition($grpc.ServiceCall call, $28.GetPositionRequest request); + $async.Future<$28.StopResponse> stop($grpc.ServiceCall call, $28.StopRequest request); + $async.Future<$28.IsMovingResponse> isMoving($grpc.ServiceCall call, $28.IsMovingRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); + $async.Future<$14.GetGeometriesResponse> getGeometries($grpc.ServiceCall call, $14.GetGeometriesRequest request); } diff --git a/lib/src/gen/component/testecho/v1/testecho.pbgrpc.dart b/lib/src/gen/component/testecho/v1/testecho.pbgrpc.dart index 7ea07f00c03..dfaae073c68 100644 --- a/lib/src/gen/component/testecho/v1/testecho.pbgrpc.dart +++ b/lib/src/gen/component/testecho/v1/testecho.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 'testecho.pb.dart' as $28; +import 'testecho.pb.dart' as $29; export 'testecho.pb.dart'; @$pb.GrpcServiceName('viam.component.testecho.v1.TestEchoService') class TestEchoServiceClient extends $grpc.Client { - static final _$echo = $grpc.ClientMethod<$28.EchoRequest, $28.EchoResponse>( + static final _$echo = $grpc.ClientMethod<$29.EchoRequest, $29.EchoResponse>( '/viam.component.testecho.v1.TestEchoService/Echo', - ($28.EchoRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $28.EchoResponse.fromBuffer(value)); - static final _$echoMultiple = $grpc.ClientMethod<$28.EchoMultipleRequest, $28.EchoMultipleResponse>( + ($29.EchoRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $29.EchoResponse.fromBuffer(value)); + static final _$echoMultiple = $grpc.ClientMethod<$29.EchoMultipleRequest, $29.EchoMultipleResponse>( '/viam.component.testecho.v1.TestEchoService/EchoMultiple', - ($28.EchoMultipleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $28.EchoMultipleResponse.fromBuffer(value)); - static final _$echoBiDi = $grpc.ClientMethod<$28.EchoBiDiRequest, $28.EchoBiDiResponse>( + ($29.EchoMultipleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $29.EchoMultipleResponse.fromBuffer(value)); + static final _$echoBiDi = $grpc.ClientMethod<$29.EchoBiDiRequest, $29.EchoBiDiResponse>( '/viam.component.testecho.v1.TestEchoService/EchoBiDi', - ($28.EchoBiDiRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $28.EchoBiDiResponse.fromBuffer(value)); - static final _$stop = $grpc.ClientMethod<$28.StopRequest, $28.StopResponse>( + ($29.EchoBiDiRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $29.EchoBiDiResponse.fromBuffer(value)); + static final _$stop = $grpc.ClientMethod<$29.StopRequest, $29.StopResponse>( '/viam.component.testecho.v1.TestEchoService/Stop', - ($28.StopRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $28.StopResponse.fromBuffer(value)); + ($29.StopRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $29.StopResponse.fromBuffer(value)); TestEchoServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -44,19 +44,19 @@ class TestEchoServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$28.EchoResponse> echo($28.EchoRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$29.EchoResponse> echo($29.EchoRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$echo, request, options: options); } - $grpc.ResponseStream<$28.EchoMultipleResponse> echoMultiple($28.EchoMultipleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$29.EchoMultipleResponse> echoMultiple($29.EchoMultipleRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$echoMultiple, $async.Stream.fromIterable([request]), options: options); } - $grpc.ResponseStream<$28.EchoBiDiResponse> echoBiDi($async.Stream<$28.EchoBiDiRequest> request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$29.EchoBiDiResponse> echoBiDi($async.Stream<$29.EchoBiDiRequest> request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$echoBiDi, request, options: options); } - $grpc.ResponseFuture<$28.StopResponse> stop($28.StopRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$29.StopResponse> stop($29.StopRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$stop, request, options: options); } } @@ -66,50 +66,50 @@ abstract class TestEchoServiceBase extends $grpc.Service { $core.String get $name => 'viam.component.testecho.v1.TestEchoService'; TestEchoServiceBase() { - $addMethod($grpc.ServiceMethod<$28.EchoRequest, $28.EchoResponse>( + $addMethod($grpc.ServiceMethod<$29.EchoRequest, $29.EchoResponse>( 'Echo', echo_Pre, false, false, - ($core.List<$core.int> value) => $28.EchoRequest.fromBuffer(value), - ($28.EchoResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$28.EchoMultipleRequest, $28.EchoMultipleResponse>( + ($core.List<$core.int> value) => $29.EchoRequest.fromBuffer(value), + ($29.EchoResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$29.EchoMultipleRequest, $29.EchoMultipleResponse>( 'EchoMultiple', echoMultiple_Pre, false, true, - ($core.List<$core.int> value) => $28.EchoMultipleRequest.fromBuffer(value), - ($28.EchoMultipleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$28.EchoBiDiRequest, $28.EchoBiDiResponse>( + ($core.List<$core.int> value) => $29.EchoMultipleRequest.fromBuffer(value), + ($29.EchoMultipleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$29.EchoBiDiRequest, $29.EchoBiDiResponse>( 'EchoBiDi', echoBiDi, true, true, - ($core.List<$core.int> value) => $28.EchoBiDiRequest.fromBuffer(value), - ($28.EchoBiDiResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$28.StopRequest, $28.StopResponse>( + ($core.List<$core.int> value) => $29.EchoBiDiRequest.fromBuffer(value), + ($29.EchoBiDiResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$29.StopRequest, $29.StopResponse>( 'Stop', stop_Pre, false, false, - ($core.List<$core.int> value) => $28.StopRequest.fromBuffer(value), - ($28.StopResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $29.StopRequest.fromBuffer(value), + ($29.StopResponse value) => value.writeToBuffer())); } - $async.Future<$28.EchoResponse> echo_Pre($grpc.ServiceCall call, $async.Future<$28.EchoRequest> request) async { + $async.Future<$29.EchoResponse> echo_Pre($grpc.ServiceCall call, $async.Future<$29.EchoRequest> request) async { return echo(call, await request); } - $async.Stream<$28.EchoMultipleResponse> echoMultiple_Pre($grpc.ServiceCall call, $async.Future<$28.EchoMultipleRequest> request) async* { + $async.Stream<$29.EchoMultipleResponse> echoMultiple_Pre($grpc.ServiceCall call, $async.Future<$29.EchoMultipleRequest> request) async* { yield* echoMultiple(call, await request); } - $async.Future<$28.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$28.StopRequest> request) async { + $async.Future<$29.StopResponse> stop_Pre($grpc.ServiceCall call, $async.Future<$29.StopRequest> request) async { return stop(call, await request); } - $async.Future<$28.EchoResponse> echo($grpc.ServiceCall call, $28.EchoRequest request); - $async.Stream<$28.EchoMultipleResponse> echoMultiple($grpc.ServiceCall call, $28.EchoMultipleRequest request); - $async.Stream<$28.EchoBiDiResponse> echoBiDi($grpc.ServiceCall call, $async.Stream<$28.EchoBiDiRequest> request); - $async.Future<$28.StopResponse> stop($grpc.ServiceCall call, $28.StopRequest request); + $async.Future<$29.EchoResponse> echo($grpc.ServiceCall call, $29.EchoRequest request); + $async.Stream<$29.EchoMultipleResponse> echoMultiple($grpc.ServiceCall call, $29.EchoMultipleRequest request); + $async.Stream<$29.EchoBiDiResponse> echoBiDi($grpc.ServiceCall call, $async.Stream<$29.EchoBiDiRequest> request); + $async.Future<$29.StopResponse> stop($grpc.ServiceCall call, $29.StopRequest request); } diff --git a/lib/src/gen/module/v1/module.pb.dart b/lib/src/gen/module/v1/module.pb.dart index f254338ad82..2b98e2dc870 100644 --- a/lib/src/gen/module/v1/module.pb.dart +++ b/lib/src/gen/module/v1/module.pb.dart @@ -13,12 +13,12 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../app/v1/robot.pb.dart' as $11; -import '../../robot/v1/robot.pb.dart' as $29; +import '../../app/v1/robot.pb.dart' as $12; +import '../../robot/v1/robot.pb.dart' as $30; class AddResourceRequest extends $pb.GeneratedMessage { factory AddResourceRequest({ - $11.ComponentConfig? config, + $12.ComponentConfig? config, $core.Iterable<$core.String>? dependencies, }) { final $result = create(); @@ -35,7 +35,7 @@ class AddResourceRequest extends $pb.GeneratedMessage { factory AddResourceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddResourceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOM<$11.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $11.ComponentConfig.create) + ..aOM<$12.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $12.ComponentConfig.create) ..pPS(2, _omitFieldNames ? '' : 'dependencies') ..hasRequiredFields = false ; @@ -62,15 +62,15 @@ class AddResourceRequest extends $pb.GeneratedMessage { static AddResourceRequest? _defaultInstance; @$pb.TagNumber(1) - $11.ComponentConfig get config => $_getN(0); + $12.ComponentConfig get config => $_getN(0); @$pb.TagNumber(1) - set config($11.ComponentConfig v) { setField(1, v); } + set config($12.ComponentConfig v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConfig() => $_has(0); @$pb.TagNumber(1) void clearConfig() => clearField(1); @$pb.TagNumber(1) - $11.ComponentConfig ensureConfig() => $_ensure(0); + $12.ComponentConfig ensureConfig() => $_ensure(0); @$pb.TagNumber(2) $core.List<$core.String> get dependencies => $_getList(1); @@ -110,7 +110,7 @@ class AddResourceResponse extends $pb.GeneratedMessage { class ReconfigureResourceRequest extends $pb.GeneratedMessage { factory ReconfigureResourceRequest({ - $11.ComponentConfig? config, + $12.ComponentConfig? config, $core.Iterable<$core.String>? dependencies, }) { final $result = create(); @@ -127,7 +127,7 @@ class ReconfigureResourceRequest extends $pb.GeneratedMessage { factory ReconfigureResourceRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ReconfigureResourceRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOM<$11.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $11.ComponentConfig.create) + ..aOM<$12.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $12.ComponentConfig.create) ..pPS(2, _omitFieldNames ? '' : 'dependencies') ..hasRequiredFields = false ; @@ -154,15 +154,15 @@ class ReconfigureResourceRequest extends $pb.GeneratedMessage { static ReconfigureResourceRequest? _defaultInstance; @$pb.TagNumber(1) - $11.ComponentConfig get config => $_getN(0); + $12.ComponentConfig get config => $_getN(0); @$pb.TagNumber(1) - set config($11.ComponentConfig v) { setField(1, v); } + set config($12.ComponentConfig v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConfig() => $_has(0); @$pb.TagNumber(1) void clearConfig() => clearField(1); @$pb.TagNumber(1) - $11.ComponentConfig ensureConfig() => $_ensure(0); + $12.ComponentConfig ensureConfig() => $_ensure(0); @$pb.TagNumber(2) $core.List<$core.String> get dependencies => $_getList(1); @@ -284,7 +284,7 @@ class RemoveResourceResponse extends $pb.GeneratedMessage { class HandlerDefinition extends $pb.GeneratedMessage { factory HandlerDefinition({ - $29.ResourceRPCSubtype? subtype, + $30.ResourceRPCSubtype? subtype, $core.Iterable<$core.String>? models, }) { final $result = create(); @@ -301,7 +301,7 @@ class HandlerDefinition extends $pb.GeneratedMessage { factory HandlerDefinition.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'HandlerDefinition', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOM<$29.ResourceRPCSubtype>(1, _omitFieldNames ? '' : 'subtype', subBuilder: $29.ResourceRPCSubtype.create) + ..aOM<$30.ResourceRPCSubtype>(1, _omitFieldNames ? '' : 'subtype', subBuilder: $30.ResourceRPCSubtype.create) ..pPS(2, _omitFieldNames ? '' : 'models') ..hasRequiredFields = false ; @@ -328,15 +328,15 @@ class HandlerDefinition extends $pb.GeneratedMessage { static HandlerDefinition? _defaultInstance; @$pb.TagNumber(1) - $29.ResourceRPCSubtype get subtype => $_getN(0); + $30.ResourceRPCSubtype get subtype => $_getN(0); @$pb.TagNumber(1) - set subtype($29.ResourceRPCSubtype v) { setField(1, v); } + set subtype($30.ResourceRPCSubtype v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasSubtype() => $_has(0); @$pb.TagNumber(1) void clearSubtype() => clearField(1); @$pb.TagNumber(1) - $29.ResourceRPCSubtype ensureSubtype() => $_ensure(0); + $30.ResourceRPCSubtype ensureSubtype() => $_ensure(0); @$pb.TagNumber(2) $core.List<$core.String> get models => $_getList(1); @@ -532,7 +532,7 @@ class ReadyResponse extends $pb.GeneratedMessage { class ValidateConfigRequest extends $pb.GeneratedMessage { factory ValidateConfigRequest({ - $11.ComponentConfig? config, + $12.ComponentConfig? config, }) { final $result = create(); if (config != null) { @@ -545,7 +545,7 @@ class ValidateConfigRequest extends $pb.GeneratedMessage { factory ValidateConfigRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ValidateConfigRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.module.v1'), createEmptyInstance: create) - ..aOM<$11.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $11.ComponentConfig.create) + ..aOM<$12.ComponentConfig>(1, _omitFieldNames ? '' : 'config', subBuilder: $12.ComponentConfig.create) ..hasRequiredFields = false ; @@ -571,15 +571,15 @@ class ValidateConfigRequest extends $pb.GeneratedMessage { static ValidateConfigRequest? _defaultInstance; @$pb.TagNumber(1) - $11.ComponentConfig get config => $_getN(0); + $12.ComponentConfig get config => $_getN(0); @$pb.TagNumber(1) - set config($11.ComponentConfig v) { setField(1, v); } + set config($12.ComponentConfig v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasConfig() => $_has(0); @$pb.TagNumber(1) void clearConfig() => clearField(1); @$pb.TagNumber(1) - $11.ComponentConfig ensureConfig() => $_ensure(0); + $12.ComponentConfig ensureConfig() => $_ensure(0); } class ValidateConfigResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/module/v1/module.pbgrpc.dart b/lib/src/gen/module/v1/module.pbgrpc.dart index ff6b820a8f5..b2558af2f6f 100644 --- a/lib/src/gen/module/v1/module.pbgrpc.dart +++ b/lib/src/gen/module/v1/module.pbgrpc.dart @@ -15,32 +15,32 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import 'module.pb.dart' as $30; +import 'module.pb.dart' as $31; export 'module.pb.dart'; @$pb.GrpcServiceName('viam.module.v1.ModuleService') class ModuleServiceClient extends $grpc.Client { - static final _$addResource = $grpc.ClientMethod<$30.AddResourceRequest, $30.AddResourceResponse>( + static final _$addResource = $grpc.ClientMethod<$31.AddResourceRequest, $31.AddResourceResponse>( '/viam.module.v1.ModuleService/AddResource', - ($30.AddResourceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $30.AddResourceResponse.fromBuffer(value)); - static final _$reconfigureResource = $grpc.ClientMethod<$30.ReconfigureResourceRequest, $30.ReconfigureResourceResponse>( + ($31.AddResourceRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $31.AddResourceResponse.fromBuffer(value)); + static final _$reconfigureResource = $grpc.ClientMethod<$31.ReconfigureResourceRequest, $31.ReconfigureResourceResponse>( '/viam.module.v1.ModuleService/ReconfigureResource', - ($30.ReconfigureResourceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $30.ReconfigureResourceResponse.fromBuffer(value)); - static final _$removeResource = $grpc.ClientMethod<$30.RemoveResourceRequest, $30.RemoveResourceResponse>( + ($31.ReconfigureResourceRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $31.ReconfigureResourceResponse.fromBuffer(value)); + static final _$removeResource = $grpc.ClientMethod<$31.RemoveResourceRequest, $31.RemoveResourceResponse>( '/viam.module.v1.ModuleService/RemoveResource', - ($30.RemoveResourceRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $30.RemoveResourceResponse.fromBuffer(value)); - static final _$ready = $grpc.ClientMethod<$30.ReadyRequest, $30.ReadyResponse>( + ($31.RemoveResourceRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $31.RemoveResourceResponse.fromBuffer(value)); + static final _$ready = $grpc.ClientMethod<$31.ReadyRequest, $31.ReadyResponse>( '/viam.module.v1.ModuleService/Ready', - ($30.ReadyRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $30.ReadyResponse.fromBuffer(value)); - static final _$validateConfig = $grpc.ClientMethod<$30.ValidateConfigRequest, $30.ValidateConfigResponse>( + ($31.ReadyRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $31.ReadyResponse.fromBuffer(value)); + static final _$validateConfig = $grpc.ClientMethod<$31.ValidateConfigRequest, $31.ValidateConfigResponse>( '/viam.module.v1.ModuleService/ValidateConfig', - ($30.ValidateConfigRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $30.ValidateConfigResponse.fromBuffer(value)); + ($31.ValidateConfigRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $31.ValidateConfigResponse.fromBuffer(value)); ModuleServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -48,23 +48,23 @@ class ModuleServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$30.AddResourceResponse> addResource($30.AddResourceRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$31.AddResourceResponse> addResource($31.AddResourceRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$addResource, request, options: options); } - $grpc.ResponseFuture<$30.ReconfigureResourceResponse> reconfigureResource($30.ReconfigureResourceRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$31.ReconfigureResourceResponse> reconfigureResource($31.ReconfigureResourceRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$reconfigureResource, request, options: options); } - $grpc.ResponseFuture<$30.RemoveResourceResponse> removeResource($30.RemoveResourceRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$31.RemoveResourceResponse> removeResource($31.RemoveResourceRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$removeResource, request, options: options); } - $grpc.ResponseFuture<$30.ReadyResponse> ready($30.ReadyRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$31.ReadyResponse> ready($31.ReadyRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$ready, request, options: options); } - $grpc.ResponseFuture<$30.ValidateConfigResponse> validateConfig($30.ValidateConfigRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$31.ValidateConfigResponse> validateConfig($31.ValidateConfigRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$validateConfig, request, options: options); } } @@ -74,66 +74,66 @@ abstract class ModuleServiceBase extends $grpc.Service { $core.String get $name => 'viam.module.v1.ModuleService'; ModuleServiceBase() { - $addMethod($grpc.ServiceMethod<$30.AddResourceRequest, $30.AddResourceResponse>( + $addMethod($grpc.ServiceMethod<$31.AddResourceRequest, $31.AddResourceResponse>( 'AddResource', addResource_Pre, false, false, - ($core.List<$core.int> value) => $30.AddResourceRequest.fromBuffer(value), - ($30.AddResourceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$30.ReconfigureResourceRequest, $30.ReconfigureResourceResponse>( + ($core.List<$core.int> value) => $31.AddResourceRequest.fromBuffer(value), + ($31.AddResourceResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$31.ReconfigureResourceRequest, $31.ReconfigureResourceResponse>( 'ReconfigureResource', reconfigureResource_Pre, false, false, - ($core.List<$core.int> value) => $30.ReconfigureResourceRequest.fromBuffer(value), - ($30.ReconfigureResourceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$30.RemoveResourceRequest, $30.RemoveResourceResponse>( + ($core.List<$core.int> value) => $31.ReconfigureResourceRequest.fromBuffer(value), + ($31.ReconfigureResourceResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$31.RemoveResourceRequest, $31.RemoveResourceResponse>( 'RemoveResource', removeResource_Pre, false, false, - ($core.List<$core.int> value) => $30.RemoveResourceRequest.fromBuffer(value), - ($30.RemoveResourceResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$30.ReadyRequest, $30.ReadyResponse>( + ($core.List<$core.int> value) => $31.RemoveResourceRequest.fromBuffer(value), + ($31.RemoveResourceResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$31.ReadyRequest, $31.ReadyResponse>( 'Ready', ready_Pre, false, false, - ($core.List<$core.int> value) => $30.ReadyRequest.fromBuffer(value), - ($30.ReadyResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$30.ValidateConfigRequest, $30.ValidateConfigResponse>( + ($core.List<$core.int> value) => $31.ReadyRequest.fromBuffer(value), + ($31.ReadyResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$31.ValidateConfigRequest, $31.ValidateConfigResponse>( 'ValidateConfig', validateConfig_Pre, false, false, - ($core.List<$core.int> value) => $30.ValidateConfigRequest.fromBuffer(value), - ($30.ValidateConfigResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $31.ValidateConfigRequest.fromBuffer(value), + ($31.ValidateConfigResponse value) => value.writeToBuffer())); } - $async.Future<$30.AddResourceResponse> addResource_Pre($grpc.ServiceCall call, $async.Future<$30.AddResourceRequest> request) async { + $async.Future<$31.AddResourceResponse> addResource_Pre($grpc.ServiceCall call, $async.Future<$31.AddResourceRequest> request) async { return addResource(call, await request); } - $async.Future<$30.ReconfigureResourceResponse> reconfigureResource_Pre($grpc.ServiceCall call, $async.Future<$30.ReconfigureResourceRequest> request) async { + $async.Future<$31.ReconfigureResourceResponse> reconfigureResource_Pre($grpc.ServiceCall call, $async.Future<$31.ReconfigureResourceRequest> request) async { return reconfigureResource(call, await request); } - $async.Future<$30.RemoveResourceResponse> removeResource_Pre($grpc.ServiceCall call, $async.Future<$30.RemoveResourceRequest> request) async { + $async.Future<$31.RemoveResourceResponse> removeResource_Pre($grpc.ServiceCall call, $async.Future<$31.RemoveResourceRequest> request) async { return removeResource(call, await request); } - $async.Future<$30.ReadyResponse> ready_Pre($grpc.ServiceCall call, $async.Future<$30.ReadyRequest> request) async { + $async.Future<$31.ReadyResponse> ready_Pre($grpc.ServiceCall call, $async.Future<$31.ReadyRequest> request) async { return ready(call, await request); } - $async.Future<$30.ValidateConfigResponse> validateConfig_Pre($grpc.ServiceCall call, $async.Future<$30.ValidateConfigRequest> request) async { + $async.Future<$31.ValidateConfigResponse> validateConfig_Pre($grpc.ServiceCall call, $async.Future<$31.ValidateConfigRequest> request) async { return validateConfig(call, await request); } - $async.Future<$30.AddResourceResponse> addResource($grpc.ServiceCall call, $30.AddResourceRequest request); - $async.Future<$30.ReconfigureResourceResponse> reconfigureResource($grpc.ServiceCall call, $30.ReconfigureResourceRequest request); - $async.Future<$30.RemoveResourceResponse> removeResource($grpc.ServiceCall call, $30.RemoveResourceRequest request); - $async.Future<$30.ReadyResponse> ready($grpc.ServiceCall call, $30.ReadyRequest request); - $async.Future<$30.ValidateConfigResponse> validateConfig($grpc.ServiceCall call, $30.ValidateConfigRequest request); + $async.Future<$31.AddResourceResponse> addResource($grpc.ServiceCall call, $31.AddResourceRequest request); + $async.Future<$31.ReconfigureResourceResponse> reconfigureResource($grpc.ServiceCall call, $31.ReconfigureResourceRequest request); + $async.Future<$31.RemoveResourceResponse> removeResource($grpc.ServiceCall call, $31.RemoveResourceRequest request); + $async.Future<$31.ReadyResponse> ready($grpc.ServiceCall call, $31.ReadyRequest request); + $async.Future<$31.ValidateConfigResponse> validateConfig($grpc.ServiceCall call, $31.ValidateConfigRequest request); } diff --git a/lib/src/gen/provisioning/v1/provisioning.pbgrpc.dart b/lib/src/gen/provisioning/v1/provisioning.pbgrpc.dart index 876b03cc578..a04a59688af 100644 --- a/lib/src/gen/provisioning/v1/provisioning.pbgrpc.dart +++ b/lib/src/gen/provisioning/v1/provisioning.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 'provisioning.pb.dart' as $31; +import 'provisioning.pb.dart' as $32; export 'provisioning.pb.dart'; @$pb.GrpcServiceName('viam.provisioning.v1.ProvisioningService') class ProvisioningServiceClient extends $grpc.Client { - static final _$getSmartMachineStatus = $grpc.ClientMethod<$31.GetSmartMachineStatusRequest, $31.GetSmartMachineStatusResponse>( + static final _$getSmartMachineStatus = $grpc.ClientMethod<$32.GetSmartMachineStatusRequest, $32.GetSmartMachineStatusResponse>( '/viam.provisioning.v1.ProvisioningService/GetSmartMachineStatus', - ($31.GetSmartMachineStatusRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $31.GetSmartMachineStatusResponse.fromBuffer(value)); - static final _$setNetworkCredentials = $grpc.ClientMethod<$31.SetNetworkCredentialsRequest, $31.SetNetworkCredentialsResponse>( + ($32.GetSmartMachineStatusRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $32.GetSmartMachineStatusResponse.fromBuffer(value)); + static final _$setNetworkCredentials = $grpc.ClientMethod<$32.SetNetworkCredentialsRequest, $32.SetNetworkCredentialsResponse>( '/viam.provisioning.v1.ProvisioningService/SetNetworkCredentials', - ($31.SetNetworkCredentialsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $31.SetNetworkCredentialsResponse.fromBuffer(value)); - static final _$setSmartMachineCredentials = $grpc.ClientMethod<$31.SetSmartMachineCredentialsRequest, $31.SetSmartMachineCredentialsResponse>( + ($32.SetNetworkCredentialsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $32.SetNetworkCredentialsResponse.fromBuffer(value)); + static final _$setSmartMachineCredentials = $grpc.ClientMethod<$32.SetSmartMachineCredentialsRequest, $32.SetSmartMachineCredentialsResponse>( '/viam.provisioning.v1.ProvisioningService/SetSmartMachineCredentials', - ($31.SetSmartMachineCredentialsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $31.SetSmartMachineCredentialsResponse.fromBuffer(value)); - static final _$getNetworkList = $grpc.ClientMethod<$31.GetNetworkListRequest, $31.GetNetworkListResponse>( + ($32.SetSmartMachineCredentialsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $32.SetSmartMachineCredentialsResponse.fromBuffer(value)); + static final _$getNetworkList = $grpc.ClientMethod<$32.GetNetworkListRequest, $32.GetNetworkListResponse>( '/viam.provisioning.v1.ProvisioningService/GetNetworkList', - ($31.GetNetworkListRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $31.GetNetworkListResponse.fromBuffer(value)); + ($32.GetNetworkListRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $32.GetNetworkListResponse.fromBuffer(value)); ProvisioningServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -44,19 +44,19 @@ class ProvisioningServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$31.GetSmartMachineStatusResponse> getSmartMachineStatus($31.GetSmartMachineStatusRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$32.GetSmartMachineStatusResponse> getSmartMachineStatus($32.GetSmartMachineStatusRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getSmartMachineStatus, request, options: options); } - $grpc.ResponseFuture<$31.SetNetworkCredentialsResponse> setNetworkCredentials($31.SetNetworkCredentialsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$32.SetNetworkCredentialsResponse> setNetworkCredentials($32.SetNetworkCredentialsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$setNetworkCredentials, request, options: options); } - $grpc.ResponseFuture<$31.SetSmartMachineCredentialsResponse> setSmartMachineCredentials($31.SetSmartMachineCredentialsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$32.SetSmartMachineCredentialsResponse> setSmartMachineCredentials($32.SetSmartMachineCredentialsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$setSmartMachineCredentials, request, options: options); } - $grpc.ResponseFuture<$31.GetNetworkListResponse> getNetworkList($31.GetNetworkListRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$32.GetNetworkListResponse> getNetworkList($32.GetNetworkListRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getNetworkList, request, options: options); } } @@ -66,54 +66,54 @@ abstract class ProvisioningServiceBase extends $grpc.Service { $core.String get $name => 'viam.provisioning.v1.ProvisioningService'; ProvisioningServiceBase() { - $addMethod($grpc.ServiceMethod<$31.GetSmartMachineStatusRequest, $31.GetSmartMachineStatusResponse>( + $addMethod($grpc.ServiceMethod<$32.GetSmartMachineStatusRequest, $32.GetSmartMachineStatusResponse>( 'GetSmartMachineStatus', getSmartMachineStatus_Pre, false, false, - ($core.List<$core.int> value) => $31.GetSmartMachineStatusRequest.fromBuffer(value), - ($31.GetSmartMachineStatusResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$31.SetNetworkCredentialsRequest, $31.SetNetworkCredentialsResponse>( + ($core.List<$core.int> value) => $32.GetSmartMachineStatusRequest.fromBuffer(value), + ($32.GetSmartMachineStatusResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$32.SetNetworkCredentialsRequest, $32.SetNetworkCredentialsResponse>( 'SetNetworkCredentials', setNetworkCredentials_Pre, false, false, - ($core.List<$core.int> value) => $31.SetNetworkCredentialsRequest.fromBuffer(value), - ($31.SetNetworkCredentialsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$31.SetSmartMachineCredentialsRequest, $31.SetSmartMachineCredentialsResponse>( + ($core.List<$core.int> value) => $32.SetNetworkCredentialsRequest.fromBuffer(value), + ($32.SetNetworkCredentialsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$32.SetSmartMachineCredentialsRequest, $32.SetSmartMachineCredentialsResponse>( 'SetSmartMachineCredentials', setSmartMachineCredentials_Pre, false, false, - ($core.List<$core.int> value) => $31.SetSmartMachineCredentialsRequest.fromBuffer(value), - ($31.SetSmartMachineCredentialsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$31.GetNetworkListRequest, $31.GetNetworkListResponse>( + ($core.List<$core.int> value) => $32.SetSmartMachineCredentialsRequest.fromBuffer(value), + ($32.SetSmartMachineCredentialsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$32.GetNetworkListRequest, $32.GetNetworkListResponse>( 'GetNetworkList', getNetworkList_Pre, false, false, - ($core.List<$core.int> value) => $31.GetNetworkListRequest.fromBuffer(value), - ($31.GetNetworkListResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $32.GetNetworkListRequest.fromBuffer(value), + ($32.GetNetworkListResponse value) => value.writeToBuffer())); } - $async.Future<$31.GetSmartMachineStatusResponse> getSmartMachineStatus_Pre($grpc.ServiceCall call, $async.Future<$31.GetSmartMachineStatusRequest> request) async { + $async.Future<$32.GetSmartMachineStatusResponse> getSmartMachineStatus_Pre($grpc.ServiceCall call, $async.Future<$32.GetSmartMachineStatusRequest> request) async { return getSmartMachineStatus(call, await request); } - $async.Future<$31.SetNetworkCredentialsResponse> setNetworkCredentials_Pre($grpc.ServiceCall call, $async.Future<$31.SetNetworkCredentialsRequest> request) async { + $async.Future<$32.SetNetworkCredentialsResponse> setNetworkCredentials_Pre($grpc.ServiceCall call, $async.Future<$32.SetNetworkCredentialsRequest> request) async { return setNetworkCredentials(call, await request); } - $async.Future<$31.SetSmartMachineCredentialsResponse> setSmartMachineCredentials_Pre($grpc.ServiceCall call, $async.Future<$31.SetSmartMachineCredentialsRequest> request) async { + $async.Future<$32.SetSmartMachineCredentialsResponse> setSmartMachineCredentials_Pre($grpc.ServiceCall call, $async.Future<$32.SetSmartMachineCredentialsRequest> request) async { return setSmartMachineCredentials(call, await request); } - $async.Future<$31.GetNetworkListResponse> getNetworkList_Pre($grpc.ServiceCall call, $async.Future<$31.GetNetworkListRequest> request) async { + $async.Future<$32.GetNetworkListResponse> getNetworkList_Pre($grpc.ServiceCall call, $async.Future<$32.GetNetworkListRequest> request) async { return getNetworkList(call, await request); } - $async.Future<$31.GetSmartMachineStatusResponse> getSmartMachineStatus($grpc.ServiceCall call, $31.GetSmartMachineStatusRequest request); - $async.Future<$31.SetNetworkCredentialsResponse> setNetworkCredentials($grpc.ServiceCall call, $31.SetNetworkCredentialsRequest request); - $async.Future<$31.SetSmartMachineCredentialsResponse> setSmartMachineCredentials($grpc.ServiceCall call, $31.SetSmartMachineCredentialsRequest request); - $async.Future<$31.GetNetworkListResponse> getNetworkList($grpc.ServiceCall call, $31.GetNetworkListRequest request); + $async.Future<$32.GetSmartMachineStatusResponse> getSmartMachineStatus($grpc.ServiceCall call, $32.GetSmartMachineStatusRequest request); + $async.Future<$32.SetNetworkCredentialsResponse> setNetworkCredentials($grpc.ServiceCall call, $32.SetNetworkCredentialsRequest request); + $async.Future<$32.SetSmartMachineCredentialsResponse> setSmartMachineCredentials($grpc.ServiceCall call, $32.SetSmartMachineCredentialsRequest request); + $async.Future<$32.GetNetworkListResponse> getNetworkList($grpc.ServiceCall call, $32.GetNetworkListRequest request); } diff --git a/lib/src/gen/robot/v1/robot.pb.dart b/lib/src/gen/robot/v1/robot.pb.dart index e5c2ae3f68f..6b017914fa5 100644 --- a/lib/src/gen/robot/v1/robot.pb.dart +++ b/lib/src/gen/robot/v1/robot.pb.dart @@ -13,18 +13,18 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../common/v1/common.pb.dart' as $13; -import '../../google/protobuf/duration.pb.dart' as $41; -import '../../google/protobuf/struct.pb.dart' as $42; -import '../../google/protobuf/timestamp.pb.dart' as $43; +import '../../common/v1/common.pb.dart' as $14; +import '../../google/protobuf/duration.pb.dart' as $42; +import '../../google/protobuf/struct.pb.dart' as $43; +import '../../google/protobuf/timestamp.pb.dart' as $44; import 'robot.pbenum.dart'; export 'robot.pbenum.dart'; class FrameSystemConfig extends $pb.GeneratedMessage { factory FrameSystemConfig({ - $13.Transform? frame, - $42.Struct? kinematics, + $14.Transform? frame, + $43.Struct? kinematics, }) { final $result = create(); if (frame != null) { @@ -40,8 +40,8 @@ class FrameSystemConfig extends $pb.GeneratedMessage { factory FrameSystemConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FrameSystemConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$13.Transform>(1, _omitFieldNames ? '' : 'frame', subBuilder: $13.Transform.create) - ..aOM<$42.Struct>(2, _omitFieldNames ? '' : 'kinematics', subBuilder: $42.Struct.create) + ..aOM<$14.Transform>(1, _omitFieldNames ? '' : 'frame', subBuilder: $14.Transform.create) + ..aOM<$43.Struct>(2, _omitFieldNames ? '' : 'kinematics', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -67,31 +67,31 @@ class FrameSystemConfig extends $pb.GeneratedMessage { static FrameSystemConfig? _defaultInstance; @$pb.TagNumber(1) - $13.Transform get frame => $_getN(0); + $14.Transform get frame => $_getN(0); @$pb.TagNumber(1) - set frame($13.Transform v) { setField(1, v); } + set frame($14.Transform v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasFrame() => $_has(0); @$pb.TagNumber(1) void clearFrame() => clearField(1); @$pb.TagNumber(1) - $13.Transform ensureFrame() => $_ensure(0); + $14.Transform ensureFrame() => $_ensure(0); @$pb.TagNumber(2) - $42.Struct get kinematics => $_getN(1); + $43.Struct get kinematics => $_getN(1); @$pb.TagNumber(2) - set kinematics($42.Struct v) { setField(2, v); } + set kinematics($43.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasKinematics() => $_has(1); @$pb.TagNumber(2) void clearKinematics() => clearField(2); @$pb.TagNumber(2) - $42.Struct ensureKinematics() => $_ensure(1); + $43.Struct ensureKinematics() => $_ensure(1); } class FrameSystemConfigRequest extends $pb.GeneratedMessage { factory FrameSystemConfigRequest({ - $core.Iterable<$13.Transform>? supplementalTransforms, + $core.Iterable<$14.Transform>? supplementalTransforms, }) { final $result = create(); if (supplementalTransforms != null) { @@ -104,7 +104,7 @@ class FrameSystemConfigRequest extends $pb.GeneratedMessage { factory FrameSystemConfigRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FrameSystemConfigRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc<$13.Transform>(1, _omitFieldNames ? '' : 'supplementalTransforms', $pb.PbFieldType.PM, subBuilder: $13.Transform.create) + ..pc<$14.Transform>(1, _omitFieldNames ? '' : 'supplementalTransforms', $pb.PbFieldType.PM, subBuilder: $14.Transform.create) ..hasRequiredFields = false ; @@ -132,7 +132,7 @@ class FrameSystemConfigRequest extends $pb.GeneratedMessage { /// pose information on any additional reference frames that are needed /// to supplement the robot's frame system @$pb.TagNumber(1) - $core.List<$13.Transform> get supplementalTransforms => $_getList(0); + $core.List<$14.Transform> get supplementalTransforms => $_getList(0); } class FrameSystemConfigResponse extends $pb.GeneratedMessage { @@ -181,9 +181,9 @@ class FrameSystemConfigResponse extends $pb.GeneratedMessage { class TransformPoseRequest extends $pb.GeneratedMessage { factory TransformPoseRequest({ - $13.PoseInFrame? source, + $14.PoseInFrame? source, $core.String? destination, - $core.Iterable<$13.Transform>? supplementalTransforms, + $core.Iterable<$14.Transform>? supplementalTransforms, }) { final $result = create(); if (source != null) { @@ -202,9 +202,9 @@ class TransformPoseRequest extends $pb.GeneratedMessage { factory TransformPoseRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TransformPoseRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$13.PoseInFrame>(1, _omitFieldNames ? '' : 'source', subBuilder: $13.PoseInFrame.create) + ..aOM<$14.PoseInFrame>(1, _omitFieldNames ? '' : 'source', subBuilder: $14.PoseInFrame.create) ..aOS(2, _omitFieldNames ? '' : 'destination') - ..pc<$13.Transform>(3, _omitFieldNames ? '' : 'supplementalTransforms', $pb.PbFieldType.PM, subBuilder: $13.Transform.create) + ..pc<$14.Transform>(3, _omitFieldNames ? '' : 'supplementalTransforms', $pb.PbFieldType.PM, subBuilder: $14.Transform.create) ..hasRequiredFields = false ; @@ -232,15 +232,15 @@ class TransformPoseRequest extends $pb.GeneratedMessage { /// the original pose to transform along with the reference frame in /// which it was observed @$pb.TagNumber(1) - $13.PoseInFrame get source => $_getN(0); + $14.PoseInFrame get source => $_getN(0); @$pb.TagNumber(1) - set source($13.PoseInFrame v) { setField(1, v); } + set source($14.PoseInFrame v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasSource() => $_has(0); @$pb.TagNumber(1) void clearSource() => clearField(1); @$pb.TagNumber(1) - $13.PoseInFrame ensureSource() => $_ensure(0); + $14.PoseInFrame ensureSource() => $_ensure(0); /// the reference frame into which the source pose should be transformed, /// if unset this defaults to the "world" reference frame @@ -256,12 +256,12 @@ class TransformPoseRequest extends $pb.GeneratedMessage { /// pose information on any additional reference frames that are needed /// to perform the transform @$pb.TagNumber(3) - $core.List<$13.Transform> get supplementalTransforms => $_getList(2); + $core.List<$14.Transform> get supplementalTransforms => $_getList(2); } class TransformPoseResponse extends $pb.GeneratedMessage { factory TransformPoseResponse({ - $13.PoseInFrame? pose, + $14.PoseInFrame? pose, }) { final $result = create(); if (pose != null) { @@ -274,7 +274,7 @@ class TransformPoseResponse extends $pb.GeneratedMessage { factory TransformPoseResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'TransformPoseResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$13.PoseInFrame>(1, _omitFieldNames ? '' : 'pose', subBuilder: $13.PoseInFrame.create) + ..aOM<$14.PoseInFrame>(1, _omitFieldNames ? '' : 'pose', subBuilder: $14.PoseInFrame.create) ..hasRequiredFields = false ; @@ -300,15 +300,15 @@ class TransformPoseResponse extends $pb.GeneratedMessage { static TransformPoseResponse? _defaultInstance; @$pb.TagNumber(1) - $13.PoseInFrame get pose => $_getN(0); + $14.PoseInFrame get pose => $_getN(0); @$pb.TagNumber(1) - set pose($13.PoseInFrame v) { setField(1, v); } + set pose($14.PoseInFrame v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasPose() => $_has(0); @$pb.TagNumber(1) void clearPose() => clearField(1); @$pb.TagNumber(1) - $13.PoseInFrame ensurePose() => $_ensure(0); + $14.PoseInFrame ensurePose() => $_ensure(0); } class TransformPCDRequest extends $pb.GeneratedMessage { @@ -479,7 +479,7 @@ class ResourceNamesRequest extends $pb.GeneratedMessage { class ResourceNamesResponse extends $pb.GeneratedMessage { factory ResourceNamesResponse({ - $core.Iterable<$13.ResourceName>? resources, + $core.Iterable<$14.ResourceName>? resources, }) { final $result = create(); if (resources != null) { @@ -492,7 +492,7 @@ class ResourceNamesResponse extends $pb.GeneratedMessage { factory ResourceNamesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceNamesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc<$13.ResourceName>(1, _omitFieldNames ? '' : 'resources', $pb.PbFieldType.PM, subBuilder: $13.ResourceName.create) + ..pc<$14.ResourceName>(1, _omitFieldNames ? '' : 'resources', $pb.PbFieldType.PM, subBuilder: $14.ResourceName.create) ..hasRequiredFields = false ; @@ -518,12 +518,12 @@ class ResourceNamesResponse extends $pb.GeneratedMessage { static ResourceNamesResponse? _defaultInstance; @$pb.TagNumber(1) - $core.List<$13.ResourceName> get resources => $_getList(0); + $core.List<$14.ResourceName> get resources => $_getList(0); } class ResourceRPCSubtype extends $pb.GeneratedMessage { factory ResourceRPCSubtype({ - $13.ResourceName? subtype, + $14.ResourceName? subtype, $core.String? protoService, }) { final $result = create(); @@ -540,7 +540,7 @@ class ResourceRPCSubtype extends $pb.GeneratedMessage { factory ResourceRPCSubtype.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceRPCSubtype', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$13.ResourceName>(1, _omitFieldNames ? '' : 'subtype', subBuilder: $13.ResourceName.create) + ..aOM<$14.ResourceName>(1, _omitFieldNames ? '' : 'subtype', subBuilder: $14.ResourceName.create) ..aOS(2, _omitFieldNames ? '' : 'protoService') ..hasRequiredFields = false ; @@ -567,15 +567,15 @@ class ResourceRPCSubtype extends $pb.GeneratedMessage { static ResourceRPCSubtype? _defaultInstance; @$pb.TagNumber(1) - $13.ResourceName get subtype => $_getN(0); + $14.ResourceName get subtype => $_getN(0); @$pb.TagNumber(1) - set subtype($13.ResourceName v) { setField(1, v); } + set subtype($14.ResourceName v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasSubtype() => $_has(0); @$pb.TagNumber(1) void clearSubtype() => clearField(1); @$pb.TagNumber(1) - $13.ResourceName ensureSubtype() => $_ensure(0); + $14.ResourceName ensureSubtype() => $_ensure(0); @$pb.TagNumber(2) $core.String get protoService => $_getSZ(1); @@ -667,8 +667,8 @@ class Operation extends $pb.GeneratedMessage { factory Operation({ $core.String? id, $core.String? method, - $42.Struct? arguments, - $43.Timestamp? started, + $43.Struct? arguments, + $44.Timestamp? started, $core.String? sessionId, }) { final $result = create(); @@ -696,8 +696,8 @@ class Operation extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Operation', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'method') - ..aOM<$42.Struct>(3, _omitFieldNames ? '' : 'arguments', subBuilder: $42.Struct.create) - ..aOM<$43.Timestamp>(4, _omitFieldNames ? '' : 'started', subBuilder: $43.Timestamp.create) + ..aOM<$43.Struct>(3, _omitFieldNames ? '' : 'arguments', subBuilder: $43.Struct.create) + ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'started', subBuilder: $44.Timestamp.create) ..aOS(5, _omitFieldNames ? '' : 'sessionId') ..hasRequiredFields = false ; @@ -742,26 +742,26 @@ class Operation extends $pb.GeneratedMessage { void clearMethod() => clearField(2); @$pb.TagNumber(3) - $42.Struct get arguments => $_getN(2); + $43.Struct get arguments => $_getN(2); @$pb.TagNumber(3) - set arguments($42.Struct v) { setField(3, v); } + set arguments($43.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasArguments() => $_has(2); @$pb.TagNumber(3) void clearArguments() => clearField(3); @$pb.TagNumber(3) - $42.Struct ensureArguments() => $_ensure(2); + $43.Struct ensureArguments() => $_ensure(2); @$pb.TagNumber(4) - $43.Timestamp get started => $_getN(3); + $44.Timestamp get started => $_getN(3); @$pb.TagNumber(4) - set started($43.Timestamp v) { setField(4, v); } + set started($44.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasStarted() => $_has(3); @$pb.TagNumber(4) void clearStarted() => clearField(4); @$pb.TagNumber(4) - $43.Timestamp ensureStarted() => $_ensure(3); + $44.Timestamp ensureStarted() => $_ensure(3); @$pb.TagNumber(5) $core.String get sessionId => $_getSZ(4); @@ -1300,7 +1300,7 @@ class DiscoveryQuery extends $pb.GeneratedMessage { class Discovery extends $pb.GeneratedMessage { factory Discovery({ DiscoveryQuery? query, - $42.Struct? results, + $43.Struct? results, }) { final $result = create(); if (query != null) { @@ -1317,7 +1317,7 @@ class Discovery extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Discovery', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) ..aOM(1, _omitFieldNames ? '' : 'query', subBuilder: DiscoveryQuery.create) - ..aOM<$42.Struct>(2, _omitFieldNames ? '' : 'results', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(2, _omitFieldNames ? '' : 'results', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1354,15 +1354,15 @@ class Discovery extends $pb.GeneratedMessage { DiscoveryQuery ensureQuery() => $_ensure(0); @$pb.TagNumber(2) - $42.Struct get results => $_getN(1); + $43.Struct get results => $_getN(1); @$pb.TagNumber(2) - set results($42.Struct v) { setField(2, v); } + set results($43.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasResults() => $_has(1); @$pb.TagNumber(2) void clearResults() => clearField(2); @$pb.TagNumber(2) - $42.Struct ensureResults() => $_ensure(1); + $43.Struct ensureResults() => $_ensure(1); } class DiscoverComponentsRequest extends $pb.GeneratedMessage { @@ -1455,9 +1455,9 @@ class DiscoverComponentsResponse extends $pb.GeneratedMessage { class Status extends $pb.GeneratedMessage { factory Status({ - $13.ResourceName? name, - $42.Struct? status, - $43.Timestamp? lastReconfigured, + $14.ResourceName? name, + $43.Struct? status, + $44.Timestamp? lastReconfigured, }) { final $result = create(); if (name != null) { @@ -1476,9 +1476,9 @@ class Status extends $pb.GeneratedMessage { factory Status.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Status', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$13.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $13.ResourceName.create) - ..aOM<$42.Struct>(2, _omitFieldNames ? '' : 'status', subBuilder: $42.Struct.create) - ..aOM<$43.Timestamp>(3, _omitFieldNames ? '' : 'lastReconfigured', subBuilder: $43.Timestamp.create) + ..aOM<$14.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $14.ResourceName.create) + ..aOM<$43.Struct>(2, _omitFieldNames ? '' : 'status', subBuilder: $43.Struct.create) + ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'lastReconfigured', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -1504,42 +1504,42 @@ class Status extends $pb.GeneratedMessage { static Status? _defaultInstance; @$pb.TagNumber(1) - $13.ResourceName get name => $_getN(0); + $14.ResourceName get name => $_getN(0); @$pb.TagNumber(1) - set name($13.ResourceName v) { setField(1, v); } + set name($14.ResourceName v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) void clearName() => clearField(1); @$pb.TagNumber(1) - $13.ResourceName ensureName() => $_ensure(0); + $14.ResourceName ensureName() => $_ensure(0); @$pb.TagNumber(2) - $42.Struct get status => $_getN(1); + $43.Struct get status => $_getN(1); @$pb.TagNumber(2) - set status($42.Struct v) { setField(2, v); } + set status($43.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasStatus() => $_has(1); @$pb.TagNumber(2) void clearStatus() => clearField(2); @$pb.TagNumber(2) - $42.Struct ensureStatus() => $_ensure(1); + $43.Struct ensureStatus() => $_ensure(1); @$pb.TagNumber(3) - $43.Timestamp get lastReconfigured => $_getN(2); + $44.Timestamp get lastReconfigured => $_getN(2); @$pb.TagNumber(3) - set lastReconfigured($43.Timestamp v) { setField(3, v); } + set lastReconfigured($44.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasLastReconfigured() => $_has(2); @$pb.TagNumber(3) void clearLastReconfigured() => clearField(3); @$pb.TagNumber(3) - $43.Timestamp ensureLastReconfigured() => $_ensure(2); + $44.Timestamp ensureLastReconfigured() => $_ensure(2); } class GetStatusRequest extends $pb.GeneratedMessage { factory GetStatusRequest({ - $core.Iterable<$13.ResourceName>? resourceNames, + $core.Iterable<$14.ResourceName>? resourceNames, }) { final $result = create(); if (resourceNames != null) { @@ -1552,7 +1552,7 @@ class GetStatusRequest extends $pb.GeneratedMessage { factory GetStatusRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetStatusRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc<$13.ResourceName>(1, _omitFieldNames ? '' : 'resourceNames', $pb.PbFieldType.PM, subBuilder: $13.ResourceName.create) + ..pc<$14.ResourceName>(1, _omitFieldNames ? '' : 'resourceNames', $pb.PbFieldType.PM, subBuilder: $14.ResourceName.create) ..hasRequiredFields = false ; @@ -1578,7 +1578,7 @@ class GetStatusRequest extends $pb.GeneratedMessage { static GetStatusRequest? _defaultInstance; @$pb.TagNumber(1) - $core.List<$13.ResourceName> get resourceNames => $_getList(0); + $core.List<$14.ResourceName> get resourceNames => $_getList(0); } class GetStatusResponse extends $pb.GeneratedMessage { @@ -1627,8 +1627,8 @@ class GetStatusResponse extends $pb.GeneratedMessage { class StreamStatusRequest extends $pb.GeneratedMessage { factory StreamStatusRequest({ - $core.Iterable<$13.ResourceName>? resourceNames, - $41.Duration? every, + $core.Iterable<$14.ResourceName>? resourceNames, + $42.Duration? every, }) { final $result = create(); if (resourceNames != null) { @@ -1644,8 +1644,8 @@ class StreamStatusRequest extends $pb.GeneratedMessage { factory StreamStatusRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamStatusRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc<$13.ResourceName>(1, _omitFieldNames ? '' : 'resourceNames', $pb.PbFieldType.PM, subBuilder: $13.ResourceName.create) - ..aOM<$41.Duration>(2, _omitFieldNames ? '' : 'every', subBuilder: $41.Duration.create) + ..pc<$14.ResourceName>(1, _omitFieldNames ? '' : 'resourceNames', $pb.PbFieldType.PM, subBuilder: $14.ResourceName.create) + ..aOM<$42.Duration>(2, _omitFieldNames ? '' : 'every', subBuilder: $42.Duration.create) ..hasRequiredFields = false ; @@ -1671,18 +1671,18 @@ class StreamStatusRequest extends $pb.GeneratedMessage { static StreamStatusRequest? _defaultInstance; @$pb.TagNumber(1) - $core.List<$13.ResourceName> get resourceNames => $_getList(0); + $core.List<$14.ResourceName> get resourceNames => $_getList(0); @$pb.TagNumber(2) - $41.Duration get every => $_getN(1); + $42.Duration get every => $_getN(1); @$pb.TagNumber(2) - set every($41.Duration v) { setField(2, v); } + set every($42.Duration v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEvery() => $_has(1); @$pb.TagNumber(2) void clearEvery() => clearField(2); @$pb.TagNumber(2) - $41.Duration ensureEvery() => $_ensure(1); + $42.Duration ensureEvery() => $_ensure(1); } class StreamStatusResponse extends $pb.GeneratedMessage { @@ -1731,8 +1731,8 @@ class StreamStatusResponse extends $pb.GeneratedMessage { class StopExtraParameters extends $pb.GeneratedMessage { factory StopExtraParameters({ - $13.ResourceName? name, - $42.Struct? params, + $14.ResourceName? name, + $43.Struct? params, }) { final $result = create(); if (name != null) { @@ -1748,8 +1748,8 @@ class StopExtraParameters extends $pb.GeneratedMessage { factory StopExtraParameters.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopExtraParameters', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$13.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $13.ResourceName.create) - ..aOM<$42.Struct>(2, _omitFieldNames ? '' : 'params', subBuilder: $42.Struct.create) + ..aOM<$14.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $14.ResourceName.create) + ..aOM<$43.Struct>(2, _omitFieldNames ? '' : 'params', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1775,26 +1775,26 @@ class StopExtraParameters extends $pb.GeneratedMessage { static StopExtraParameters? _defaultInstance; @$pb.TagNumber(1) - $13.ResourceName get name => $_getN(0); + $14.ResourceName get name => $_getN(0); @$pb.TagNumber(1) - set name($13.ResourceName v) { setField(1, v); } + set name($14.ResourceName v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) void clearName() => clearField(1); @$pb.TagNumber(1) - $13.ResourceName ensureName() => $_ensure(0); + $14.ResourceName ensureName() => $_ensure(0); @$pb.TagNumber(2) - $42.Struct get params => $_getN(1); + $43.Struct get params => $_getN(1); @$pb.TagNumber(2) - set params($42.Struct v) { setField(2, v); } + set params($43.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasParams() => $_has(1); @$pb.TagNumber(2) void clearParams() => clearField(2); @$pb.TagNumber(2) - $42.Struct ensureParams() => $_ensure(1); + $43.Struct ensureParams() => $_ensure(1); } class StopAllRequest extends $pb.GeneratedMessage { @@ -1928,7 +1928,7 @@ class StartSessionRequest extends $pb.GeneratedMessage { class StartSessionResponse extends $pb.GeneratedMessage { factory StartSessionResponse({ $core.String? id, - $41.Duration? heartbeatWindow, + $42.Duration? heartbeatWindow, }) { final $result = create(); if (id != null) { @@ -1945,7 +1945,7 @@ class StartSessionResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StartSessionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM<$41.Duration>(2, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $41.Duration.create) + ..aOM<$42.Duration>(2, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $42.Duration.create) ..hasRequiredFields = false ; @@ -1980,15 +1980,15 @@ class StartSessionResponse extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $41.Duration get heartbeatWindow => $_getN(1); + $42.Duration get heartbeatWindow => $_getN(1); @$pb.TagNumber(2) - set heartbeatWindow($41.Duration v) { setField(2, v); } + set heartbeatWindow($42.Duration v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasHeartbeatWindow() => $_has(1); @$pb.TagNumber(2) void clearHeartbeatWindow() => clearField(2); @$pb.TagNumber(2) - $41.Duration ensureHeartbeatWindow() => $_ensure(1); + $42.Duration ensureHeartbeatWindow() => $_ensure(1); } class SendSessionHeartbeatRequest extends $pb.GeneratedMessage { @@ -2075,7 +2075,7 @@ class SendSessionHeartbeatResponse extends $pb.GeneratedMessage { class LogRequest extends $pb.GeneratedMessage { factory LogRequest({ - $core.Iterable<$13.LogEntry>? logs, + $core.Iterable<$14.LogEntry>? logs, }) { final $result = create(); if (logs != null) { @@ -2088,7 +2088,7 @@ class LogRequest extends $pb.GeneratedMessage { factory LogRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'LogRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..pc<$13.LogEntry>(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $13.LogEntry.create) + ..pc<$14.LogEntry>(1, _omitFieldNames ? '' : 'logs', $pb.PbFieldType.PM, subBuilder: $14.LogEntry.create) ..hasRequiredFields = false ; @@ -2114,7 +2114,7 @@ class LogRequest extends $pb.GeneratedMessage { static LogRequest? _defaultInstance; @$pb.TagNumber(1) - $core.List<$13.LogEntry> get logs => $_getList(0); + $core.List<$14.LogEntry> get logs => $_getList(0); } class LogResponse extends $pb.GeneratedMessage { @@ -2564,9 +2564,9 @@ class GetMachineStatusResponse extends $pb.GeneratedMessage { class ResourceStatus extends $pb.GeneratedMessage { factory ResourceStatus({ - $13.ResourceName? name, + $14.ResourceName? name, ResourceStatus_State? state, - $43.Timestamp? lastUpdated, + $44.Timestamp? lastUpdated, $core.String? revision, $core.String? error, }) { @@ -2593,9 +2593,9 @@ class ResourceStatus extends $pb.GeneratedMessage { factory ResourceStatus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceStatus', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) - ..aOM<$13.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $13.ResourceName.create) + ..aOM<$14.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $14.ResourceName.create) ..e(2, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: ResourceStatus_State.STATE_UNSPECIFIED, valueOf: ResourceStatus_State.valueOf, enumValues: ResourceStatus_State.values) - ..aOM<$43.Timestamp>(3, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $44.Timestamp.create) ..aOS(4, _omitFieldNames ? '' : 'revision') ..aOS(5, _omitFieldNames ? '' : 'error') ..hasRequiredFields = false @@ -2624,15 +2624,15 @@ class ResourceStatus extends $pb.GeneratedMessage { /// resource name. @$pb.TagNumber(1) - $13.ResourceName get name => $_getN(0); + $14.ResourceName get name => $_getN(0); @$pb.TagNumber(1) - set name($13.ResourceName v) { setField(1, v); } + set name($14.ResourceName v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @$pb.TagNumber(1) void clearName() => clearField(1); @$pb.TagNumber(1) - $13.ResourceName ensureName() => $_ensure(0); + $14.ResourceName ensureName() => $_ensure(0); /// current state. @$pb.TagNumber(2) @@ -2646,15 +2646,15 @@ class ResourceStatus extends $pb.GeneratedMessage { /// state transition timestamp. @$pb.TagNumber(3) - $43.Timestamp get lastUpdated => $_getN(2); + $44.Timestamp get lastUpdated => $_getN(2); @$pb.TagNumber(3) - set lastUpdated($43.Timestamp v) { setField(3, v); } + set lastUpdated($44.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasLastUpdated() => $_has(2); @$pb.TagNumber(3) void clearLastUpdated() => clearField(3); @$pb.TagNumber(3) - $43.Timestamp ensureLastUpdated() => $_ensure(2); + $44.Timestamp ensureLastUpdated() => $_ensure(2); /// revision of the last config that successfully updated this resource. @$pb.TagNumber(4) @@ -2681,7 +2681,7 @@ class ResourceStatus extends $pb.GeneratedMessage { class ConfigStatus extends $pb.GeneratedMessage { factory ConfigStatus({ $core.String? revision, - $43.Timestamp? lastUpdated, + $44.Timestamp? lastUpdated, }) { final $result = create(); if (revision != null) { @@ -2698,7 +2698,7 @@ class ConfigStatus extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ConfigStatus', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'revision') - ..aOM<$43.Timestamp>(2, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $44.Timestamp.create) ..hasRequiredFields = false ; @@ -2735,15 +2735,15 @@ class ConfigStatus extends $pb.GeneratedMessage { /// config ingestion timestamp. @$pb.TagNumber(2) - $43.Timestamp get lastUpdated => $_getN(1); + $44.Timestamp get lastUpdated => $_getN(1); @$pb.TagNumber(2) - set lastUpdated($43.Timestamp v) { setField(2, v); } + set lastUpdated($44.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasLastUpdated() => $_has(1); @$pb.TagNumber(2) void clearLastUpdated() => clearField(2); @$pb.TagNumber(2) - $43.Timestamp ensureLastUpdated() => $_ensure(1); + $44.Timestamp ensureLastUpdated() => $_ensure(1); } class GetVersionRequest extends $pb.GeneratedMessage { diff --git a/lib/src/gen/robot/v1/robot.pbgrpc.dart b/lib/src/gen/robot/v1/robot.pbgrpc.dart index e61a2cccb64..4c7bb7b124f 100644 --- a/lib/src/gen/robot/v1/robot.pbgrpc.dart +++ b/lib/src/gen/robot/v1/robot.pbgrpc.dart @@ -15,96 +15,96 @@ 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 $29; +import 'robot.pb.dart' as $30; export 'robot.pb.dart'; @$pb.GrpcServiceName('viam.robot.v1.RobotService') class RobotServiceClient extends $grpc.Client { - static final _$getOperations = $grpc.ClientMethod<$29.GetOperationsRequest, $29.GetOperationsResponse>( + static final _$getOperations = $grpc.ClientMethod<$30.GetOperationsRequest, $30.GetOperationsResponse>( '/viam.robot.v1.RobotService/GetOperations', - ($29.GetOperationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.GetOperationsResponse.fromBuffer(value)); - static final _$getSessions = $grpc.ClientMethod<$29.GetSessionsRequest, $29.GetSessionsResponse>( + ($30.GetOperationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.GetOperationsResponse.fromBuffer(value)); + static final _$getSessions = $grpc.ClientMethod<$30.GetSessionsRequest, $30.GetSessionsResponse>( '/viam.robot.v1.RobotService/GetSessions', - ($29.GetSessionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.GetSessionsResponse.fromBuffer(value)); - static final _$resourceNames = $grpc.ClientMethod<$29.ResourceNamesRequest, $29.ResourceNamesResponse>( + ($30.GetSessionsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.GetSessionsResponse.fromBuffer(value)); + static final _$resourceNames = $grpc.ClientMethod<$30.ResourceNamesRequest, $30.ResourceNamesResponse>( '/viam.robot.v1.RobotService/ResourceNames', - ($29.ResourceNamesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.ResourceNamesResponse.fromBuffer(value)); - static final _$resourceRPCSubtypes = $grpc.ClientMethod<$29.ResourceRPCSubtypesRequest, $29.ResourceRPCSubtypesResponse>( + ($30.ResourceNamesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.ResourceNamesResponse.fromBuffer(value)); + static final _$resourceRPCSubtypes = $grpc.ClientMethod<$30.ResourceRPCSubtypesRequest, $30.ResourceRPCSubtypesResponse>( '/viam.robot.v1.RobotService/ResourceRPCSubtypes', - ($29.ResourceRPCSubtypesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.ResourceRPCSubtypesResponse.fromBuffer(value)); - static final _$cancelOperation = $grpc.ClientMethod<$29.CancelOperationRequest, $29.CancelOperationResponse>( + ($30.ResourceRPCSubtypesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.ResourceRPCSubtypesResponse.fromBuffer(value)); + static final _$cancelOperation = $grpc.ClientMethod<$30.CancelOperationRequest, $30.CancelOperationResponse>( '/viam.robot.v1.RobotService/CancelOperation', - ($29.CancelOperationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.CancelOperationResponse.fromBuffer(value)); - static final _$blockForOperation = $grpc.ClientMethod<$29.BlockForOperationRequest, $29.BlockForOperationResponse>( + ($30.CancelOperationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.CancelOperationResponse.fromBuffer(value)); + static final _$blockForOperation = $grpc.ClientMethod<$30.BlockForOperationRequest, $30.BlockForOperationResponse>( '/viam.robot.v1.RobotService/BlockForOperation', - ($29.BlockForOperationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.BlockForOperationResponse.fromBuffer(value)); - static final _$discoverComponents = $grpc.ClientMethod<$29.DiscoverComponentsRequest, $29.DiscoverComponentsResponse>( + ($30.BlockForOperationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.BlockForOperationResponse.fromBuffer(value)); + static final _$discoverComponents = $grpc.ClientMethod<$30.DiscoverComponentsRequest, $30.DiscoverComponentsResponse>( '/viam.robot.v1.RobotService/DiscoverComponents', - ($29.DiscoverComponentsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.DiscoverComponentsResponse.fromBuffer(value)); - static final _$frameSystemConfig = $grpc.ClientMethod<$29.FrameSystemConfigRequest, $29.FrameSystemConfigResponse>( + ($30.DiscoverComponentsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.DiscoverComponentsResponse.fromBuffer(value)); + static final _$frameSystemConfig = $grpc.ClientMethod<$30.FrameSystemConfigRequest, $30.FrameSystemConfigResponse>( '/viam.robot.v1.RobotService/FrameSystemConfig', - ($29.FrameSystemConfigRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.FrameSystemConfigResponse.fromBuffer(value)); - static final _$transformPose = $grpc.ClientMethod<$29.TransformPoseRequest, $29.TransformPoseResponse>( + ($30.FrameSystemConfigRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.FrameSystemConfigResponse.fromBuffer(value)); + static final _$transformPose = $grpc.ClientMethod<$30.TransformPoseRequest, $30.TransformPoseResponse>( '/viam.robot.v1.RobotService/TransformPose', - ($29.TransformPoseRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.TransformPoseResponse.fromBuffer(value)); - static final _$transformPCD = $grpc.ClientMethod<$29.TransformPCDRequest, $29.TransformPCDResponse>( + ($30.TransformPoseRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.TransformPoseResponse.fromBuffer(value)); + static final _$transformPCD = $grpc.ClientMethod<$30.TransformPCDRequest, $30.TransformPCDResponse>( '/viam.robot.v1.RobotService/TransformPCD', - ($29.TransformPCDRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.TransformPCDResponse.fromBuffer(value)); - static final _$getStatus = $grpc.ClientMethod<$29.GetStatusRequest, $29.GetStatusResponse>( + ($30.TransformPCDRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.TransformPCDResponse.fromBuffer(value)); + static final _$getStatus = $grpc.ClientMethod<$30.GetStatusRequest, $30.GetStatusResponse>( '/viam.robot.v1.RobotService/GetStatus', - ($29.GetStatusRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.GetStatusResponse.fromBuffer(value)); - static final _$streamStatus = $grpc.ClientMethod<$29.StreamStatusRequest, $29.StreamStatusResponse>( + ($30.GetStatusRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.GetStatusResponse.fromBuffer(value)); + static final _$streamStatus = $grpc.ClientMethod<$30.StreamStatusRequest, $30.StreamStatusResponse>( '/viam.robot.v1.RobotService/StreamStatus', - ($29.StreamStatusRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.StreamStatusResponse.fromBuffer(value)); - static final _$stopAll = $grpc.ClientMethod<$29.StopAllRequest, $29.StopAllResponse>( + ($30.StreamStatusRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.StreamStatusResponse.fromBuffer(value)); + static final _$stopAll = $grpc.ClientMethod<$30.StopAllRequest, $30.StopAllResponse>( '/viam.robot.v1.RobotService/StopAll', - ($29.StopAllRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.StopAllResponse.fromBuffer(value)); - static final _$startSession = $grpc.ClientMethod<$29.StartSessionRequest, $29.StartSessionResponse>( + ($30.StopAllRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.StopAllResponse.fromBuffer(value)); + static final _$startSession = $grpc.ClientMethod<$30.StartSessionRequest, $30.StartSessionResponse>( '/viam.robot.v1.RobotService/StartSession', - ($29.StartSessionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.StartSessionResponse.fromBuffer(value)); - static final _$sendSessionHeartbeat = $grpc.ClientMethod<$29.SendSessionHeartbeatRequest, $29.SendSessionHeartbeatResponse>( + ($30.StartSessionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.StartSessionResponse.fromBuffer(value)); + static final _$sendSessionHeartbeat = $grpc.ClientMethod<$30.SendSessionHeartbeatRequest, $30.SendSessionHeartbeatResponse>( '/viam.robot.v1.RobotService/SendSessionHeartbeat', - ($29.SendSessionHeartbeatRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.SendSessionHeartbeatResponse.fromBuffer(value)); - static final _$log = $grpc.ClientMethod<$29.LogRequest, $29.LogResponse>( + ($30.SendSessionHeartbeatRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.SendSessionHeartbeatResponse.fromBuffer(value)); + static final _$log = $grpc.ClientMethod<$30.LogRequest, $30.LogResponse>( '/viam.robot.v1.RobotService/Log', - ($29.LogRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.LogResponse.fromBuffer(value)); - static final _$getCloudMetadata = $grpc.ClientMethod<$29.GetCloudMetadataRequest, $29.GetCloudMetadataResponse>( + ($30.LogRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.LogResponse.fromBuffer(value)); + static final _$getCloudMetadata = $grpc.ClientMethod<$30.GetCloudMetadataRequest, $30.GetCloudMetadataResponse>( '/viam.robot.v1.RobotService/GetCloudMetadata', - ($29.GetCloudMetadataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.GetCloudMetadataResponse.fromBuffer(value)); - static final _$restartModule = $grpc.ClientMethod<$29.RestartModuleRequest, $29.RestartModuleResponse>( + ($30.GetCloudMetadataRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.GetCloudMetadataResponse.fromBuffer(value)); + static final _$restartModule = $grpc.ClientMethod<$30.RestartModuleRequest, $30.RestartModuleResponse>( '/viam.robot.v1.RobotService/RestartModule', - ($29.RestartModuleRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.RestartModuleResponse.fromBuffer(value)); - static final _$shutdown = $grpc.ClientMethod<$29.ShutdownRequest, $29.ShutdownResponse>( + ($30.RestartModuleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.RestartModuleResponse.fromBuffer(value)); + static final _$shutdown = $grpc.ClientMethod<$30.ShutdownRequest, $30.ShutdownResponse>( '/viam.robot.v1.RobotService/Shutdown', - ($29.ShutdownRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.ShutdownResponse.fromBuffer(value)); - static final _$getMachineStatus = $grpc.ClientMethod<$29.GetMachineStatusRequest, $29.GetMachineStatusResponse>( + ($30.ShutdownRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.ShutdownResponse.fromBuffer(value)); + static final _$getMachineStatus = $grpc.ClientMethod<$30.GetMachineStatusRequest, $30.GetMachineStatusResponse>( '/viam.robot.v1.RobotService/GetMachineStatus', - ($29.GetMachineStatusRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.GetMachineStatusResponse.fromBuffer(value)); - static final _$getVersion = $grpc.ClientMethod<$29.GetVersionRequest, $29.GetVersionResponse>( + ($30.GetMachineStatusRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.GetMachineStatusResponse.fromBuffer(value)); + static final _$getVersion = $grpc.ClientMethod<$30.GetVersionRequest, $30.GetVersionResponse>( '/viam.robot.v1.RobotService/GetVersion', - ($29.GetVersionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $29.GetVersionResponse.fromBuffer(value)); + ($30.GetVersionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $30.GetVersionResponse.fromBuffer(value)); RobotServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -112,87 +112,87 @@ class RobotServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$29.GetOperationsResponse> getOperations($29.GetOperationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.GetOperationsResponse> getOperations($30.GetOperationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getOperations, request, options: options); } - $grpc.ResponseFuture<$29.GetSessionsResponse> getSessions($29.GetSessionsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.GetSessionsResponse> getSessions($30.GetSessionsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getSessions, request, options: options); } - $grpc.ResponseFuture<$29.ResourceNamesResponse> resourceNames($29.ResourceNamesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.ResourceNamesResponse> resourceNames($30.ResourceNamesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$resourceNames, request, options: options); } - $grpc.ResponseFuture<$29.ResourceRPCSubtypesResponse> resourceRPCSubtypes($29.ResourceRPCSubtypesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.ResourceRPCSubtypesResponse> resourceRPCSubtypes($30.ResourceRPCSubtypesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$resourceRPCSubtypes, request, options: options); } - $grpc.ResponseFuture<$29.CancelOperationResponse> cancelOperation($29.CancelOperationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.CancelOperationResponse> cancelOperation($30.CancelOperationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$cancelOperation, request, options: options); } - $grpc.ResponseFuture<$29.BlockForOperationResponse> blockForOperation($29.BlockForOperationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.BlockForOperationResponse> blockForOperation($30.BlockForOperationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$blockForOperation, request, options: options); } - $grpc.ResponseFuture<$29.DiscoverComponentsResponse> discoverComponents($29.DiscoverComponentsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.DiscoverComponentsResponse> discoverComponents($30.DiscoverComponentsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$discoverComponents, request, options: options); } - $grpc.ResponseFuture<$29.FrameSystemConfigResponse> frameSystemConfig($29.FrameSystemConfigRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.FrameSystemConfigResponse> frameSystemConfig($30.FrameSystemConfigRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$frameSystemConfig, request, options: options); } - $grpc.ResponseFuture<$29.TransformPoseResponse> transformPose($29.TransformPoseRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.TransformPoseResponse> transformPose($30.TransformPoseRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$transformPose, request, options: options); } - $grpc.ResponseFuture<$29.TransformPCDResponse> transformPCD($29.TransformPCDRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.TransformPCDResponse> transformPCD($30.TransformPCDRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$transformPCD, request, options: options); } - $grpc.ResponseFuture<$29.GetStatusResponse> getStatus($29.GetStatusRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.GetStatusResponse> getStatus($30.GetStatusRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getStatus, request, options: options); } - $grpc.ResponseStream<$29.StreamStatusResponse> streamStatus($29.StreamStatusRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$30.StreamStatusResponse> streamStatus($30.StreamStatusRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$streamStatus, $async.Stream.fromIterable([request]), options: options); } - $grpc.ResponseFuture<$29.StopAllResponse> stopAll($29.StopAllRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.StopAllResponse> stopAll($30.StopAllRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$stopAll, request, options: options); } - $grpc.ResponseFuture<$29.StartSessionResponse> startSession($29.StartSessionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.StartSessionResponse> startSession($30.StartSessionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$startSession, request, options: options); } - $grpc.ResponseFuture<$29.SendSessionHeartbeatResponse> sendSessionHeartbeat($29.SendSessionHeartbeatRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.SendSessionHeartbeatResponse> sendSessionHeartbeat($30.SendSessionHeartbeatRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$sendSessionHeartbeat, request, options: options); } - $grpc.ResponseFuture<$29.LogResponse> log($29.LogRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.LogResponse> log($30.LogRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$log, request, options: options); } - $grpc.ResponseFuture<$29.GetCloudMetadataResponse> getCloudMetadata($29.GetCloudMetadataRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.GetCloudMetadataResponse> getCloudMetadata($30.GetCloudMetadataRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getCloudMetadata, request, options: options); } - $grpc.ResponseFuture<$29.RestartModuleResponse> restartModule($29.RestartModuleRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.RestartModuleResponse> restartModule($30.RestartModuleRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$restartModule, request, options: options); } - $grpc.ResponseFuture<$29.ShutdownResponse> shutdown($29.ShutdownRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.ShutdownResponse> shutdown($30.ShutdownRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$shutdown, request, options: options); } - $grpc.ResponseFuture<$29.GetMachineStatusResponse> getMachineStatus($29.GetMachineStatusRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.GetMachineStatusResponse> getMachineStatus($30.GetMachineStatusRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getMachineStatus, request, options: options); } - $grpc.ResponseFuture<$29.GetVersionResponse> getVersion($29.GetVersionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$30.GetVersionResponse> getVersion($30.GetVersionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getVersion, request, options: options); } } @@ -202,258 +202,258 @@ abstract class RobotServiceBase extends $grpc.Service { $core.String get $name => 'viam.robot.v1.RobotService'; RobotServiceBase() { - $addMethod($grpc.ServiceMethod<$29.GetOperationsRequest, $29.GetOperationsResponse>( + $addMethod($grpc.ServiceMethod<$30.GetOperationsRequest, $30.GetOperationsResponse>( 'GetOperations', getOperations_Pre, false, false, - ($core.List<$core.int> value) => $29.GetOperationsRequest.fromBuffer(value), - ($29.GetOperationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.GetSessionsRequest, $29.GetSessionsResponse>( + ($core.List<$core.int> value) => $30.GetOperationsRequest.fromBuffer(value), + ($30.GetOperationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.GetSessionsRequest, $30.GetSessionsResponse>( 'GetSessions', getSessions_Pre, false, false, - ($core.List<$core.int> value) => $29.GetSessionsRequest.fromBuffer(value), - ($29.GetSessionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.ResourceNamesRequest, $29.ResourceNamesResponse>( + ($core.List<$core.int> value) => $30.GetSessionsRequest.fromBuffer(value), + ($30.GetSessionsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.ResourceNamesRequest, $30.ResourceNamesResponse>( 'ResourceNames', resourceNames_Pre, false, false, - ($core.List<$core.int> value) => $29.ResourceNamesRequest.fromBuffer(value), - ($29.ResourceNamesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.ResourceRPCSubtypesRequest, $29.ResourceRPCSubtypesResponse>( + ($core.List<$core.int> value) => $30.ResourceNamesRequest.fromBuffer(value), + ($30.ResourceNamesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.ResourceRPCSubtypesRequest, $30.ResourceRPCSubtypesResponse>( 'ResourceRPCSubtypes', resourceRPCSubtypes_Pre, false, false, - ($core.List<$core.int> value) => $29.ResourceRPCSubtypesRequest.fromBuffer(value), - ($29.ResourceRPCSubtypesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.CancelOperationRequest, $29.CancelOperationResponse>( + ($core.List<$core.int> value) => $30.ResourceRPCSubtypesRequest.fromBuffer(value), + ($30.ResourceRPCSubtypesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.CancelOperationRequest, $30.CancelOperationResponse>( 'CancelOperation', cancelOperation_Pre, false, false, - ($core.List<$core.int> value) => $29.CancelOperationRequest.fromBuffer(value), - ($29.CancelOperationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.BlockForOperationRequest, $29.BlockForOperationResponse>( + ($core.List<$core.int> value) => $30.CancelOperationRequest.fromBuffer(value), + ($30.CancelOperationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.BlockForOperationRequest, $30.BlockForOperationResponse>( 'BlockForOperation', blockForOperation_Pre, false, false, - ($core.List<$core.int> value) => $29.BlockForOperationRequest.fromBuffer(value), - ($29.BlockForOperationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.DiscoverComponentsRequest, $29.DiscoverComponentsResponse>( + ($core.List<$core.int> value) => $30.BlockForOperationRequest.fromBuffer(value), + ($30.BlockForOperationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.DiscoverComponentsRequest, $30.DiscoverComponentsResponse>( 'DiscoverComponents', discoverComponents_Pre, false, false, - ($core.List<$core.int> value) => $29.DiscoverComponentsRequest.fromBuffer(value), - ($29.DiscoverComponentsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.FrameSystemConfigRequest, $29.FrameSystemConfigResponse>( + ($core.List<$core.int> value) => $30.DiscoverComponentsRequest.fromBuffer(value), + ($30.DiscoverComponentsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.FrameSystemConfigRequest, $30.FrameSystemConfigResponse>( 'FrameSystemConfig', frameSystemConfig_Pre, false, false, - ($core.List<$core.int> value) => $29.FrameSystemConfigRequest.fromBuffer(value), - ($29.FrameSystemConfigResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.TransformPoseRequest, $29.TransformPoseResponse>( + ($core.List<$core.int> value) => $30.FrameSystemConfigRequest.fromBuffer(value), + ($30.FrameSystemConfigResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.TransformPoseRequest, $30.TransformPoseResponse>( 'TransformPose', transformPose_Pre, false, false, - ($core.List<$core.int> value) => $29.TransformPoseRequest.fromBuffer(value), - ($29.TransformPoseResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.TransformPCDRequest, $29.TransformPCDResponse>( + ($core.List<$core.int> value) => $30.TransformPoseRequest.fromBuffer(value), + ($30.TransformPoseResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.TransformPCDRequest, $30.TransformPCDResponse>( 'TransformPCD', transformPCD_Pre, false, false, - ($core.List<$core.int> value) => $29.TransformPCDRequest.fromBuffer(value), - ($29.TransformPCDResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.GetStatusRequest, $29.GetStatusResponse>( + ($core.List<$core.int> value) => $30.TransformPCDRequest.fromBuffer(value), + ($30.TransformPCDResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.GetStatusRequest, $30.GetStatusResponse>( 'GetStatus', getStatus_Pre, false, false, - ($core.List<$core.int> value) => $29.GetStatusRequest.fromBuffer(value), - ($29.GetStatusResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.StreamStatusRequest, $29.StreamStatusResponse>( + ($core.List<$core.int> value) => $30.GetStatusRequest.fromBuffer(value), + ($30.GetStatusResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.StreamStatusRequest, $30.StreamStatusResponse>( 'StreamStatus', streamStatus_Pre, false, true, - ($core.List<$core.int> value) => $29.StreamStatusRequest.fromBuffer(value), - ($29.StreamStatusResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.StopAllRequest, $29.StopAllResponse>( + ($core.List<$core.int> value) => $30.StreamStatusRequest.fromBuffer(value), + ($30.StreamStatusResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.StopAllRequest, $30.StopAllResponse>( 'StopAll', stopAll_Pre, false, false, - ($core.List<$core.int> value) => $29.StopAllRequest.fromBuffer(value), - ($29.StopAllResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.StartSessionRequest, $29.StartSessionResponse>( + ($core.List<$core.int> value) => $30.StopAllRequest.fromBuffer(value), + ($30.StopAllResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.StartSessionRequest, $30.StartSessionResponse>( 'StartSession', startSession_Pre, false, false, - ($core.List<$core.int> value) => $29.StartSessionRequest.fromBuffer(value), - ($29.StartSessionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.SendSessionHeartbeatRequest, $29.SendSessionHeartbeatResponse>( + ($core.List<$core.int> value) => $30.StartSessionRequest.fromBuffer(value), + ($30.StartSessionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.SendSessionHeartbeatRequest, $30.SendSessionHeartbeatResponse>( 'SendSessionHeartbeat', sendSessionHeartbeat_Pre, false, false, - ($core.List<$core.int> value) => $29.SendSessionHeartbeatRequest.fromBuffer(value), - ($29.SendSessionHeartbeatResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.LogRequest, $29.LogResponse>( + ($core.List<$core.int> value) => $30.SendSessionHeartbeatRequest.fromBuffer(value), + ($30.SendSessionHeartbeatResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.LogRequest, $30.LogResponse>( 'Log', log_Pre, false, false, - ($core.List<$core.int> value) => $29.LogRequest.fromBuffer(value), - ($29.LogResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.GetCloudMetadataRequest, $29.GetCloudMetadataResponse>( + ($core.List<$core.int> value) => $30.LogRequest.fromBuffer(value), + ($30.LogResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.GetCloudMetadataRequest, $30.GetCloudMetadataResponse>( 'GetCloudMetadata', getCloudMetadata_Pre, false, false, - ($core.List<$core.int> value) => $29.GetCloudMetadataRequest.fromBuffer(value), - ($29.GetCloudMetadataResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.RestartModuleRequest, $29.RestartModuleResponse>( + ($core.List<$core.int> value) => $30.GetCloudMetadataRequest.fromBuffer(value), + ($30.GetCloudMetadataResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.RestartModuleRequest, $30.RestartModuleResponse>( 'RestartModule', restartModule_Pre, false, false, - ($core.List<$core.int> value) => $29.RestartModuleRequest.fromBuffer(value), - ($29.RestartModuleResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.ShutdownRequest, $29.ShutdownResponse>( + ($core.List<$core.int> value) => $30.RestartModuleRequest.fromBuffer(value), + ($30.RestartModuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.ShutdownRequest, $30.ShutdownResponse>( 'Shutdown', shutdown_Pre, false, false, - ($core.List<$core.int> value) => $29.ShutdownRequest.fromBuffer(value), - ($29.ShutdownResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.GetMachineStatusRequest, $29.GetMachineStatusResponse>( + ($core.List<$core.int> value) => $30.ShutdownRequest.fromBuffer(value), + ($30.ShutdownResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.GetMachineStatusRequest, $30.GetMachineStatusResponse>( 'GetMachineStatus', getMachineStatus_Pre, false, false, - ($core.List<$core.int> value) => $29.GetMachineStatusRequest.fromBuffer(value), - ($29.GetMachineStatusResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$29.GetVersionRequest, $29.GetVersionResponse>( + ($core.List<$core.int> value) => $30.GetMachineStatusRequest.fromBuffer(value), + ($30.GetMachineStatusResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$30.GetVersionRequest, $30.GetVersionResponse>( 'GetVersion', getVersion_Pre, false, false, - ($core.List<$core.int> value) => $29.GetVersionRequest.fromBuffer(value), - ($29.GetVersionResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $30.GetVersionRequest.fromBuffer(value), + ($30.GetVersionResponse value) => value.writeToBuffer())); } - $async.Future<$29.GetOperationsResponse> getOperations_Pre($grpc.ServiceCall call, $async.Future<$29.GetOperationsRequest> request) async { + $async.Future<$30.GetOperationsResponse> getOperations_Pre($grpc.ServiceCall call, $async.Future<$30.GetOperationsRequest> request) async { return getOperations(call, await request); } - $async.Future<$29.GetSessionsResponse> getSessions_Pre($grpc.ServiceCall call, $async.Future<$29.GetSessionsRequest> request) async { + $async.Future<$30.GetSessionsResponse> getSessions_Pre($grpc.ServiceCall call, $async.Future<$30.GetSessionsRequest> request) async { return getSessions(call, await request); } - $async.Future<$29.ResourceNamesResponse> resourceNames_Pre($grpc.ServiceCall call, $async.Future<$29.ResourceNamesRequest> request) async { + $async.Future<$30.ResourceNamesResponse> resourceNames_Pre($grpc.ServiceCall call, $async.Future<$30.ResourceNamesRequest> request) async { return resourceNames(call, await request); } - $async.Future<$29.ResourceRPCSubtypesResponse> resourceRPCSubtypes_Pre($grpc.ServiceCall call, $async.Future<$29.ResourceRPCSubtypesRequest> request) async { + $async.Future<$30.ResourceRPCSubtypesResponse> resourceRPCSubtypes_Pre($grpc.ServiceCall call, $async.Future<$30.ResourceRPCSubtypesRequest> request) async { return resourceRPCSubtypes(call, await request); } - $async.Future<$29.CancelOperationResponse> cancelOperation_Pre($grpc.ServiceCall call, $async.Future<$29.CancelOperationRequest> request) async { + $async.Future<$30.CancelOperationResponse> cancelOperation_Pre($grpc.ServiceCall call, $async.Future<$30.CancelOperationRequest> request) async { return cancelOperation(call, await request); } - $async.Future<$29.BlockForOperationResponse> blockForOperation_Pre($grpc.ServiceCall call, $async.Future<$29.BlockForOperationRequest> request) async { + $async.Future<$30.BlockForOperationResponse> blockForOperation_Pre($grpc.ServiceCall call, $async.Future<$30.BlockForOperationRequest> request) async { return blockForOperation(call, await request); } - $async.Future<$29.DiscoverComponentsResponse> discoverComponents_Pre($grpc.ServiceCall call, $async.Future<$29.DiscoverComponentsRequest> request) async { + $async.Future<$30.DiscoverComponentsResponse> discoverComponents_Pre($grpc.ServiceCall call, $async.Future<$30.DiscoverComponentsRequest> request) async { return discoverComponents(call, await request); } - $async.Future<$29.FrameSystemConfigResponse> frameSystemConfig_Pre($grpc.ServiceCall call, $async.Future<$29.FrameSystemConfigRequest> request) async { + $async.Future<$30.FrameSystemConfigResponse> frameSystemConfig_Pre($grpc.ServiceCall call, $async.Future<$30.FrameSystemConfigRequest> request) async { return frameSystemConfig(call, await request); } - $async.Future<$29.TransformPoseResponse> transformPose_Pre($grpc.ServiceCall call, $async.Future<$29.TransformPoseRequest> request) async { + $async.Future<$30.TransformPoseResponse> transformPose_Pre($grpc.ServiceCall call, $async.Future<$30.TransformPoseRequest> request) async { return transformPose(call, await request); } - $async.Future<$29.TransformPCDResponse> transformPCD_Pre($grpc.ServiceCall call, $async.Future<$29.TransformPCDRequest> request) async { + $async.Future<$30.TransformPCDResponse> transformPCD_Pre($grpc.ServiceCall call, $async.Future<$30.TransformPCDRequest> request) async { return transformPCD(call, await request); } - $async.Future<$29.GetStatusResponse> getStatus_Pre($grpc.ServiceCall call, $async.Future<$29.GetStatusRequest> request) async { + $async.Future<$30.GetStatusResponse> getStatus_Pre($grpc.ServiceCall call, $async.Future<$30.GetStatusRequest> request) async { return getStatus(call, await request); } - $async.Stream<$29.StreamStatusResponse> streamStatus_Pre($grpc.ServiceCall call, $async.Future<$29.StreamStatusRequest> request) async* { + $async.Stream<$30.StreamStatusResponse> streamStatus_Pre($grpc.ServiceCall call, $async.Future<$30.StreamStatusRequest> request) async* { yield* streamStatus(call, await request); } - $async.Future<$29.StopAllResponse> stopAll_Pre($grpc.ServiceCall call, $async.Future<$29.StopAllRequest> request) async { + $async.Future<$30.StopAllResponse> stopAll_Pre($grpc.ServiceCall call, $async.Future<$30.StopAllRequest> request) async { return stopAll(call, await request); } - $async.Future<$29.StartSessionResponse> startSession_Pre($grpc.ServiceCall call, $async.Future<$29.StartSessionRequest> request) async { + $async.Future<$30.StartSessionResponse> startSession_Pre($grpc.ServiceCall call, $async.Future<$30.StartSessionRequest> request) async { return startSession(call, await request); } - $async.Future<$29.SendSessionHeartbeatResponse> sendSessionHeartbeat_Pre($grpc.ServiceCall call, $async.Future<$29.SendSessionHeartbeatRequest> request) async { + $async.Future<$30.SendSessionHeartbeatResponse> sendSessionHeartbeat_Pre($grpc.ServiceCall call, $async.Future<$30.SendSessionHeartbeatRequest> request) async { return sendSessionHeartbeat(call, await request); } - $async.Future<$29.LogResponse> log_Pre($grpc.ServiceCall call, $async.Future<$29.LogRequest> request) async { + $async.Future<$30.LogResponse> log_Pre($grpc.ServiceCall call, $async.Future<$30.LogRequest> request) async { return log(call, await request); } - $async.Future<$29.GetCloudMetadataResponse> getCloudMetadata_Pre($grpc.ServiceCall call, $async.Future<$29.GetCloudMetadataRequest> request) async { + $async.Future<$30.GetCloudMetadataResponse> getCloudMetadata_Pre($grpc.ServiceCall call, $async.Future<$30.GetCloudMetadataRequest> request) async { return getCloudMetadata(call, await request); } - $async.Future<$29.RestartModuleResponse> restartModule_Pre($grpc.ServiceCall call, $async.Future<$29.RestartModuleRequest> request) async { + $async.Future<$30.RestartModuleResponse> restartModule_Pre($grpc.ServiceCall call, $async.Future<$30.RestartModuleRequest> request) async { return restartModule(call, await request); } - $async.Future<$29.ShutdownResponse> shutdown_Pre($grpc.ServiceCall call, $async.Future<$29.ShutdownRequest> request) async { + $async.Future<$30.ShutdownResponse> shutdown_Pre($grpc.ServiceCall call, $async.Future<$30.ShutdownRequest> request) async { return shutdown(call, await request); } - $async.Future<$29.GetMachineStatusResponse> getMachineStatus_Pre($grpc.ServiceCall call, $async.Future<$29.GetMachineStatusRequest> request) async { + $async.Future<$30.GetMachineStatusResponse> getMachineStatus_Pre($grpc.ServiceCall call, $async.Future<$30.GetMachineStatusRequest> request) async { return getMachineStatus(call, await request); } - $async.Future<$29.GetVersionResponse> getVersion_Pre($grpc.ServiceCall call, $async.Future<$29.GetVersionRequest> request) async { + $async.Future<$30.GetVersionResponse> getVersion_Pre($grpc.ServiceCall call, $async.Future<$30.GetVersionRequest> request) async { return getVersion(call, await request); } - $async.Future<$29.GetOperationsResponse> getOperations($grpc.ServiceCall call, $29.GetOperationsRequest request); - $async.Future<$29.GetSessionsResponse> getSessions($grpc.ServiceCall call, $29.GetSessionsRequest request); - $async.Future<$29.ResourceNamesResponse> resourceNames($grpc.ServiceCall call, $29.ResourceNamesRequest request); - $async.Future<$29.ResourceRPCSubtypesResponse> resourceRPCSubtypes($grpc.ServiceCall call, $29.ResourceRPCSubtypesRequest request); - $async.Future<$29.CancelOperationResponse> cancelOperation($grpc.ServiceCall call, $29.CancelOperationRequest request); - $async.Future<$29.BlockForOperationResponse> blockForOperation($grpc.ServiceCall call, $29.BlockForOperationRequest request); - $async.Future<$29.DiscoverComponentsResponse> discoverComponents($grpc.ServiceCall call, $29.DiscoverComponentsRequest request); - $async.Future<$29.FrameSystemConfigResponse> frameSystemConfig($grpc.ServiceCall call, $29.FrameSystemConfigRequest request); - $async.Future<$29.TransformPoseResponse> transformPose($grpc.ServiceCall call, $29.TransformPoseRequest request); - $async.Future<$29.TransformPCDResponse> transformPCD($grpc.ServiceCall call, $29.TransformPCDRequest request); - $async.Future<$29.GetStatusResponse> getStatus($grpc.ServiceCall call, $29.GetStatusRequest request); - $async.Stream<$29.StreamStatusResponse> streamStatus($grpc.ServiceCall call, $29.StreamStatusRequest request); - $async.Future<$29.StopAllResponse> stopAll($grpc.ServiceCall call, $29.StopAllRequest request); - $async.Future<$29.StartSessionResponse> startSession($grpc.ServiceCall call, $29.StartSessionRequest request); - $async.Future<$29.SendSessionHeartbeatResponse> sendSessionHeartbeat($grpc.ServiceCall call, $29.SendSessionHeartbeatRequest request); - $async.Future<$29.LogResponse> log($grpc.ServiceCall call, $29.LogRequest request); - $async.Future<$29.GetCloudMetadataResponse> getCloudMetadata($grpc.ServiceCall call, $29.GetCloudMetadataRequest request); - $async.Future<$29.RestartModuleResponse> restartModule($grpc.ServiceCall call, $29.RestartModuleRequest request); - $async.Future<$29.ShutdownResponse> shutdown($grpc.ServiceCall call, $29.ShutdownRequest request); - $async.Future<$29.GetMachineStatusResponse> getMachineStatus($grpc.ServiceCall call, $29.GetMachineStatusRequest request); - $async.Future<$29.GetVersionResponse> getVersion($grpc.ServiceCall call, $29.GetVersionRequest request); + $async.Future<$30.GetOperationsResponse> getOperations($grpc.ServiceCall call, $30.GetOperationsRequest request); + $async.Future<$30.GetSessionsResponse> getSessions($grpc.ServiceCall call, $30.GetSessionsRequest request); + $async.Future<$30.ResourceNamesResponse> resourceNames($grpc.ServiceCall call, $30.ResourceNamesRequest request); + $async.Future<$30.ResourceRPCSubtypesResponse> resourceRPCSubtypes($grpc.ServiceCall call, $30.ResourceRPCSubtypesRequest request); + $async.Future<$30.CancelOperationResponse> cancelOperation($grpc.ServiceCall call, $30.CancelOperationRequest request); + $async.Future<$30.BlockForOperationResponse> blockForOperation($grpc.ServiceCall call, $30.BlockForOperationRequest request); + $async.Future<$30.DiscoverComponentsResponse> discoverComponents($grpc.ServiceCall call, $30.DiscoverComponentsRequest request); + $async.Future<$30.FrameSystemConfigResponse> frameSystemConfig($grpc.ServiceCall call, $30.FrameSystemConfigRequest request); + $async.Future<$30.TransformPoseResponse> transformPose($grpc.ServiceCall call, $30.TransformPoseRequest request); + $async.Future<$30.TransformPCDResponse> transformPCD($grpc.ServiceCall call, $30.TransformPCDRequest request); + $async.Future<$30.GetStatusResponse> getStatus($grpc.ServiceCall call, $30.GetStatusRequest request); + $async.Stream<$30.StreamStatusResponse> streamStatus($grpc.ServiceCall call, $30.StreamStatusRequest request); + $async.Future<$30.StopAllResponse> stopAll($grpc.ServiceCall call, $30.StopAllRequest request); + $async.Future<$30.StartSessionResponse> startSession($grpc.ServiceCall call, $30.StartSessionRequest request); + $async.Future<$30.SendSessionHeartbeatResponse> sendSessionHeartbeat($grpc.ServiceCall call, $30.SendSessionHeartbeatRequest request); + $async.Future<$30.LogResponse> log($grpc.ServiceCall call, $30.LogRequest request); + $async.Future<$30.GetCloudMetadataResponse> getCloudMetadata($grpc.ServiceCall call, $30.GetCloudMetadataRequest request); + $async.Future<$30.RestartModuleResponse> restartModule($grpc.ServiceCall call, $30.RestartModuleRequest request); + $async.Future<$30.ShutdownResponse> shutdown($grpc.ServiceCall call, $30.ShutdownRequest request); + $async.Future<$30.GetMachineStatusResponse> getMachineStatus($grpc.ServiceCall call, $30.GetMachineStatusRequest request); + $async.Future<$30.GetVersionResponse> getVersion($grpc.ServiceCall call, $30.GetVersionRequest request); } diff --git a/lib/src/gen/service/datamanager/v1/data_manager.pb.dart b/lib/src/gen/service/datamanager/v1/data_manager.pb.dart index 72677edd7c2..73112b31331 100644 --- a/lib/src/gen/service/datamanager/v1/data_manager.pb.dart +++ b/lib/src/gen/service/datamanager/v1/data_manager.pb.dart @@ -13,12 +13,12 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../google/protobuf/struct.pb.dart' as $43; class SyncRequest extends $pb.GeneratedMessage { factory SyncRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -35,7 +35,7 @@ class SyncRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SyncRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.datamanager.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -71,15 +71,15 @@ class SyncRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class SyncResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/service/datamanager/v1/data_manager.pbgrpc.dart b/lib/src/gen/service/datamanager/v1/data_manager.pbgrpc.dart index 555a84033ed..2ddef3517c0 100644 --- a/lib/src/gen/service/datamanager/v1/data_manager.pbgrpc.dart +++ b/lib/src/gen/service/datamanager/v1/data_manager.pbgrpc.dart @@ -15,21 +15,21 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'data_manager.pb.dart' as $32; +import '../../../common/v1/common.pb.dart' as $14; +import 'data_manager.pb.dart' as $33; export 'data_manager.pb.dart'; @$pb.GrpcServiceName('viam.service.datamanager.v1.DataManagerService') class DataManagerServiceClient extends $grpc.Client { - static final _$sync = $grpc.ClientMethod<$32.SyncRequest, $32.SyncResponse>( + static final _$sync = $grpc.ClientMethod<$33.SyncRequest, $33.SyncResponse>( '/viam.service.datamanager.v1.DataManagerService/Sync', - ($32.SyncRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $32.SyncResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($33.SyncRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $33.SyncResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.service.datamanager.v1.DataManagerService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); DataManagerServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -37,11 +37,11 @@ class DataManagerServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$32.SyncResponse> sync($32.SyncRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$33.SyncResponse> sync($33.SyncRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$sync, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } } @@ -51,30 +51,30 @@ abstract class DataManagerServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.datamanager.v1.DataManagerService'; DataManagerServiceBase() { - $addMethod($grpc.ServiceMethod<$32.SyncRequest, $32.SyncResponse>( + $addMethod($grpc.ServiceMethod<$33.SyncRequest, $33.SyncResponse>( 'Sync', sync_Pre, false, false, - ($core.List<$core.int> value) => $32.SyncRequest.fromBuffer(value), - ($32.SyncResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $33.SyncRequest.fromBuffer(value), + ($33.SyncResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$32.SyncResponse> sync_Pre($grpc.ServiceCall call, $async.Future<$32.SyncRequest> request) async { + $async.Future<$33.SyncResponse> sync_Pre($grpc.ServiceCall call, $async.Future<$33.SyncRequest> request) async { return sync(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$32.SyncResponse> sync($grpc.ServiceCall call, $32.SyncRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); + $async.Future<$33.SyncResponse> sync($grpc.ServiceCall call, $33.SyncRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); } diff --git a/lib/src/gen/service/generic/v1/generic.pbgrpc.dart b/lib/src/gen/service/generic/v1/generic.pbgrpc.dart index 6d7766f7921..1e261c71898 100644 --- a/lib/src/gen/service/generic/v1/generic.pbgrpc.dart +++ b/lib/src/gen/service/generic/v1/generic.pbgrpc.dart @@ -15,16 +15,16 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; +import '../../../common/v1/common.pb.dart' as $14; export 'generic.pb.dart'; @$pb.GrpcServiceName('viam.service.generic.v1.GenericService') class GenericServiceClient extends $grpc.Client { - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.service.generic.v1.GenericService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); GenericServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -32,7 +32,7 @@ class GenericServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } } @@ -42,18 +42,18 @@ abstract class GenericServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.generic.v1.GenericService'; GenericServiceBase() { - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); } diff --git a/lib/src/gen/service/mlmodel/v1/mlmodel.pb.dart b/lib/src/gen/service/mlmodel/v1/mlmodel.pb.dart index 682ab20ab23..d115613f0e8 100644 --- a/lib/src/gen/service/mlmodel/v1/mlmodel.pb.dart +++ b/lib/src/gen/service/mlmodel/v1/mlmodel.pb.dart @@ -14,7 +14,7 @@ import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../google/protobuf/struct.pb.dart' as $43; import 'mlmodel.pbenum.dart'; export 'mlmodel.pbenum.dart'; @@ -23,7 +23,7 @@ class InferRequest extends $pb.GeneratedMessage { factory InferRequest({ $core.String? name, FlatTensors? inputTensors, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -44,7 +44,7 @@ class InferRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'InferRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOM(3, _omitFieldNames ? '' : 'inputTensors', subBuilder: FlatTensors.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -93,15 +93,15 @@ class InferRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class InferResponse extends $pb.GeneratedMessage { @@ -160,7 +160,7 @@ class InferResponse extends $pb.GeneratedMessage { class MetadataRequest extends $pb.GeneratedMessage { factory MetadataRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -177,7 +177,7 @@ class MetadataRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MetadataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.mlmodel.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -214,15 +214,15 @@ class MetadataRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class MetadataResponse extends $pb.GeneratedMessage { @@ -384,7 +384,7 @@ class TensorInfo extends $pb.GeneratedMessage { $core.String? dataType, $core.Iterable<$core.int>? shape, $core.Iterable? associatedFiles, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -417,7 +417,7 @@ class TensorInfo extends $pb.GeneratedMessage { ..aOS(3, _omitFieldNames ? '' : 'dataType') ..p<$core.int>(4, _omitFieldNames ? '' : 'shape', $pb.PbFieldType.K3) ..pc(5, _omitFieldNames ? '' : 'associatedFiles', $pb.PbFieldType.PM, subBuilder: File.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -482,15 +482,15 @@ class TensorInfo extends $pb.GeneratedMessage { /// anything else you want to say @$pb.TagNumber(99) - $42.Struct get extra => $_getN(5); + $43.Struct get extra => $_getN(5); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(5); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(5); + $43.Struct ensureExtra() => $_ensure(5); } class File extends $pb.GeneratedMessage { diff --git a/lib/src/gen/service/mlmodel/v1/mlmodel.pbgrpc.dart b/lib/src/gen/service/mlmodel/v1/mlmodel.pbgrpc.dart index 77180c25073..68d5d92358d 100644 --- a/lib/src/gen/service/mlmodel/v1/mlmodel.pbgrpc.dart +++ b/lib/src/gen/service/mlmodel/v1/mlmodel.pbgrpc.dart @@ -15,20 +15,20 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import 'mlmodel.pb.dart' as $33; +import 'mlmodel.pb.dart' as $34; export 'mlmodel.pb.dart'; @$pb.GrpcServiceName('viam.service.mlmodel.v1.MLModelService') class MLModelServiceClient extends $grpc.Client { - static final _$infer = $grpc.ClientMethod<$33.InferRequest, $33.InferResponse>( + static final _$infer = $grpc.ClientMethod<$34.InferRequest, $34.InferResponse>( '/viam.service.mlmodel.v1.MLModelService/Infer', - ($33.InferRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.InferResponse.fromBuffer(value)); - static final _$metadata = $grpc.ClientMethod<$33.MetadataRequest, $33.MetadataResponse>( + ($34.InferRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $34.InferResponse.fromBuffer(value)); + static final _$metadata = $grpc.ClientMethod<$34.MetadataRequest, $34.MetadataResponse>( '/viam.service.mlmodel.v1.MLModelService/Metadata', - ($33.MetadataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $33.MetadataResponse.fromBuffer(value)); + ($34.MetadataRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $34.MetadataResponse.fromBuffer(value)); MLModelServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -36,11 +36,11 @@ class MLModelServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$33.InferResponse> infer($33.InferRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$34.InferResponse> infer($34.InferRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$infer, request, options: options); } - $grpc.ResponseFuture<$33.MetadataResponse> metadata($33.MetadataRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$34.MetadataResponse> metadata($34.MetadataRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$metadata, request, options: options); } } @@ -50,30 +50,30 @@ abstract class MLModelServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.mlmodel.v1.MLModelService'; MLModelServiceBase() { - $addMethod($grpc.ServiceMethod<$33.InferRequest, $33.InferResponse>( + $addMethod($grpc.ServiceMethod<$34.InferRequest, $34.InferResponse>( 'Infer', infer_Pre, false, false, - ($core.List<$core.int> value) => $33.InferRequest.fromBuffer(value), - ($33.InferResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$33.MetadataRequest, $33.MetadataResponse>( + ($core.List<$core.int> value) => $34.InferRequest.fromBuffer(value), + ($34.InferResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$34.MetadataRequest, $34.MetadataResponse>( 'Metadata', metadata_Pre, false, false, - ($core.List<$core.int> value) => $33.MetadataRequest.fromBuffer(value), - ($33.MetadataResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $34.MetadataRequest.fromBuffer(value), + ($34.MetadataResponse value) => value.writeToBuffer())); } - $async.Future<$33.InferResponse> infer_Pre($grpc.ServiceCall call, $async.Future<$33.InferRequest> request) async { + $async.Future<$34.InferResponse> infer_Pre($grpc.ServiceCall call, $async.Future<$34.InferRequest> request) async { return infer(call, await request); } - $async.Future<$33.MetadataResponse> metadata_Pre($grpc.ServiceCall call, $async.Future<$33.MetadataRequest> request) async { + $async.Future<$34.MetadataResponse> metadata_Pre($grpc.ServiceCall call, $async.Future<$34.MetadataRequest> request) async { return metadata(call, await request); } - $async.Future<$33.InferResponse> infer($grpc.ServiceCall call, $33.InferRequest request); - $async.Future<$33.MetadataResponse> metadata($grpc.ServiceCall call, $33.MetadataRequest request); + $async.Future<$34.InferResponse> infer($grpc.ServiceCall call, $34.InferRequest request); + $async.Future<$34.MetadataResponse> metadata($grpc.ServiceCall call, $34.MetadataRequest request); } diff --git a/lib/src/gen/service/motion/v1/motion.pb.dart b/lib/src/gen/service/motion/v1/motion.pb.dart index 8d0b8aa7627..0ef1bb10e8c 100644 --- a/lib/src/gen/service/motion/v1/motion.pb.dart +++ b/lib/src/gen/service/motion/v1/motion.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 $13; -import '../../../google/protobuf/struct.pb.dart' as $42; -import '../../../google/protobuf/timestamp.pb.dart' as $43; +import '../../../common/v1/common.pb.dart' as $14; +import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/timestamp.pb.dart' as $44; import 'motion.pbenum.dart'; export 'motion.pbenum.dart'; @@ -24,11 +24,11 @@ export 'motion.pbenum.dart'; class MoveRequest extends $pb.GeneratedMessage { factory MoveRequest({ $core.String? name, - $13.PoseInFrame? destination, - $13.ResourceName? componentName, - $13.WorldState? worldState, + $14.PoseInFrame? destination, + $14.ResourceName? componentName, + $14.WorldState? worldState, Constraints? constraints, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -57,11 +57,11 @@ class MoveRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$13.PoseInFrame>(2, _omitFieldNames ? '' : 'destination', subBuilder: $13.PoseInFrame.create) - ..aOM<$13.ResourceName>(3, _omitFieldNames ? '' : 'componentName', subBuilder: $13.ResourceName.create) - ..aOM<$13.WorldState>(4, _omitFieldNames ? '' : 'worldState', subBuilder: $13.WorldState.create) + ..aOM<$14.PoseInFrame>(2, _omitFieldNames ? '' : 'destination', subBuilder: $14.PoseInFrame.create) + ..aOM<$14.ResourceName>(3, _omitFieldNames ? '' : 'componentName', subBuilder: $14.ResourceName.create) + ..aOM<$14.WorldState>(4, _omitFieldNames ? '' : 'worldState', subBuilder: $14.WorldState.create) ..aOM(5, _omitFieldNames ? '' : 'constraints', subBuilder: Constraints.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -98,40 +98,40 @@ class MoveRequest extends $pb.GeneratedMessage { /// Destination to move to, which can a pose in the reference frame of any frame in the robot's frame system @$pb.TagNumber(2) - $13.PoseInFrame get destination => $_getN(1); + $14.PoseInFrame get destination => $_getN(1); @$pb.TagNumber(2) - set destination($13.PoseInFrame v) { setField(2, v); } + set destination($14.PoseInFrame v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasDestination() => $_has(1); @$pb.TagNumber(2) void clearDestination() => clearField(2); @$pb.TagNumber(2) - $13.PoseInFrame ensureDestination() => $_ensure(1); + $14.PoseInFrame ensureDestination() => $_ensure(1); /// Component on the robot to move to the specified destination @$pb.TagNumber(3) - $13.ResourceName get componentName => $_getN(2); + $14.ResourceName get componentName => $_getN(2); @$pb.TagNumber(3) - set componentName($13.ResourceName v) { setField(3, v); } + set componentName($14.ResourceName v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasComponentName() => $_has(2); @$pb.TagNumber(3) void clearComponentName() => clearField(3); @$pb.TagNumber(3) - $13.ResourceName ensureComponentName() => $_ensure(2); + $14.ResourceName ensureComponentName() => $_ensure(2); /// Avoid obstacles by specifying their geometries in the world state /// Augment the frame system of the robot by specifying additional transforms to add to it for the duration of the Move @$pb.TagNumber(4) - $13.WorldState get worldState => $_getN(3); + $14.WorldState get worldState => $_getN(3); @$pb.TagNumber(4) - set worldState($13.WorldState v) { setField(4, v); } + set worldState($14.WorldState v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasWorldState() => $_has(3); @$pb.TagNumber(4) void clearWorldState() => clearField(4); @$pb.TagNumber(4) - $13.WorldState ensureWorldState() => $_ensure(3); + $14.WorldState ensureWorldState() => $_ensure(3); /// Constrain the way the robot will move @$pb.TagNumber(5) @@ -147,15 +147,15 @@ class MoveRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(5); + $43.Struct get extra => $_getN(5); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(5); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(5); + $43.Struct ensureExtra() => $_ensure(5); } class MoveResponse extends $pb.GeneratedMessage { @@ -211,12 +211,12 @@ class MoveResponse extends $pb.GeneratedMessage { class MoveOnMapRequest extends $pb.GeneratedMessage { factory MoveOnMapRequest({ $core.String? name, - $13.Pose? destination, - $13.ResourceName? componentName, - $13.ResourceName? slamServiceName, + $14.Pose? destination, + $14.ResourceName? componentName, + $14.ResourceName? slamServiceName, MotionConfiguration? motionConfiguration, - $core.Iterable<$13.Geometry>? obstacles, - $42.Struct? extra, + $core.Iterable<$14.Geometry>? obstacles, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -248,12 +248,12 @@ class MoveOnMapRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveOnMapRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$13.Pose>(2, _omitFieldNames ? '' : 'destination', subBuilder: $13.Pose.create) - ..aOM<$13.ResourceName>(3, _omitFieldNames ? '' : 'componentName', subBuilder: $13.ResourceName.create) - ..aOM<$13.ResourceName>(4, _omitFieldNames ? '' : 'slamServiceName', subBuilder: $13.ResourceName.create) + ..aOM<$14.Pose>(2, _omitFieldNames ? '' : 'destination', subBuilder: $14.Pose.create) + ..aOM<$14.ResourceName>(3, _omitFieldNames ? '' : 'componentName', subBuilder: $14.ResourceName.create) + ..aOM<$14.ResourceName>(4, _omitFieldNames ? '' : 'slamServiceName', subBuilder: $14.ResourceName.create) ..aOM(5, _omitFieldNames ? '' : 'motionConfiguration', subBuilder: MotionConfiguration.create) - ..pc<$13.Geometry>(6, _omitFieldNames ? '' : 'obstacles', $pb.PbFieldType.PM, subBuilder: $13.Geometry.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..pc<$14.Geometry>(6, _omitFieldNames ? '' : 'obstacles', $pb.PbFieldType.PM, subBuilder: $14.Geometry.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -290,39 +290,39 @@ class MoveOnMapRequest extends $pb.GeneratedMessage { /// Specify a destination to, which can be any pose with respect to the SLAM map's origin @$pb.TagNumber(2) - $13.Pose get destination => $_getN(1); + $14.Pose get destination => $_getN(1); @$pb.TagNumber(2) - set destination($13.Pose v) { setField(2, v); } + set destination($14.Pose v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasDestination() => $_has(1); @$pb.TagNumber(2) void clearDestination() => clearField(2); @$pb.TagNumber(2) - $13.Pose ensureDestination() => $_ensure(1); + $14.Pose ensureDestination() => $_ensure(1); /// Component on the robot to move to the specified destination @$pb.TagNumber(3) - $13.ResourceName get componentName => $_getN(2); + $14.ResourceName get componentName => $_getN(2); @$pb.TagNumber(3) - set componentName($13.ResourceName v) { setField(3, v); } + set componentName($14.ResourceName v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasComponentName() => $_has(2); @$pb.TagNumber(3) void clearComponentName() => clearField(3); @$pb.TagNumber(3) - $13.ResourceName ensureComponentName() => $_ensure(2); + $14.ResourceName ensureComponentName() => $_ensure(2); /// Name of the slam service from which the SLAM map is requested @$pb.TagNumber(4) - $13.ResourceName get slamServiceName => $_getN(3); + $14.ResourceName get slamServiceName => $_getN(3); @$pb.TagNumber(4) - set slamServiceName($13.ResourceName v) { setField(4, v); } + set slamServiceName($14.ResourceName v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasSlamServiceName() => $_has(3); @$pb.TagNumber(4) void clearSlamServiceName() => clearField(4); @$pb.TagNumber(4) - $13.ResourceName ensureSlamServiceName() => $_ensure(3); + $14.ResourceName ensureSlamServiceName() => $_ensure(3); /// Optional set of motion configuration options @$pb.TagNumber(5) @@ -338,19 +338,19 @@ class MoveOnMapRequest extends $pb.GeneratedMessage { /// Obstacles to be considered for motion planning @$pb.TagNumber(6) - $core.List<$13.Geometry> get obstacles => $_getList(5); + $core.List<$14.Geometry> get obstacles => $_getList(5); /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(6); + $43.Struct get extra => $_getN(6); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(6); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(6); + $43.Struct ensureExtra() => $_ensure(6); } class MoveOnMapResponse extends $pb.GeneratedMessage { @@ -409,8 +409,8 @@ class MoveOnMapResponse extends $pb.GeneratedMessage { /// Pairs a vision service with a camera, informing the service about which camera it may use class ObstacleDetector extends $pb.GeneratedMessage { factory ObstacleDetector({ - $13.ResourceName? visionService, - $13.ResourceName? camera, + $14.ResourceName? visionService, + $14.ResourceName? camera, }) { final $result = create(); if (visionService != null) { @@ -426,8 +426,8 @@ class ObstacleDetector extends $pb.GeneratedMessage { factory ObstacleDetector.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ObstacleDetector', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOM<$13.ResourceName>(1, _omitFieldNames ? '' : 'visionService', subBuilder: $13.ResourceName.create) - ..aOM<$13.ResourceName>(2, _omitFieldNames ? '' : 'camera', subBuilder: $13.ResourceName.create) + ..aOM<$14.ResourceName>(1, _omitFieldNames ? '' : 'visionService', subBuilder: $14.ResourceName.create) + ..aOM<$14.ResourceName>(2, _omitFieldNames ? '' : 'camera', subBuilder: $14.ResourceName.create) ..hasRequiredFields = false ; @@ -453,26 +453,26 @@ class ObstacleDetector extends $pb.GeneratedMessage { static ObstacleDetector? _defaultInstance; @$pb.TagNumber(1) - $13.ResourceName get visionService => $_getN(0); + $14.ResourceName get visionService => $_getN(0); @$pb.TagNumber(1) - set visionService($13.ResourceName v) { setField(1, v); } + set visionService($14.ResourceName v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasVisionService() => $_has(0); @$pb.TagNumber(1) void clearVisionService() => clearField(1); @$pb.TagNumber(1) - $13.ResourceName ensureVisionService() => $_ensure(0); + $14.ResourceName ensureVisionService() => $_ensure(0); @$pb.TagNumber(2) - $13.ResourceName get camera => $_getN(1); + $14.ResourceName get camera => $_getN(1); @$pb.TagNumber(2) - set camera($13.ResourceName v) { setField(2, v); } + set camera($14.ResourceName v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasCamera() => $_has(1); @$pb.TagNumber(2) void clearCamera() => clearField(2); @$pb.TagNumber(2) - $13.ResourceName ensureCamera() => $_ensure(1); + $14.ResourceName ensureCamera() => $_ensure(1); } class MotionConfiguration extends $pb.GeneratedMessage { @@ -598,14 +598,14 @@ class MotionConfiguration extends $pb.GeneratedMessage { class MoveOnGlobeRequest extends $pb.GeneratedMessage { factory MoveOnGlobeRequest({ $core.String? name, - $13.GeoPoint? destination, + $14.GeoPoint? destination, $core.double? heading, - $13.ResourceName? componentName, - $13.ResourceName? movementSensorName, - $core.Iterable<$13.GeoGeometry>? obstacles, + $14.ResourceName? componentName, + $14.ResourceName? movementSensorName, + $core.Iterable<$14.GeoGeometry>? obstacles, MotionConfiguration? motionConfiguration, - $core.Iterable<$13.GeoGeometry>? boundingRegions, - $42.Struct? extra, + $core.Iterable<$14.GeoGeometry>? boundingRegions, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -643,14 +643,14 @@ class MoveOnGlobeRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MoveOnGlobeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$13.GeoPoint>(2, _omitFieldNames ? '' : 'destination', subBuilder: $13.GeoPoint.create) + ..aOM<$14.GeoPoint>(2, _omitFieldNames ? '' : 'destination', subBuilder: $14.GeoPoint.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'heading', $pb.PbFieldType.OD) - ..aOM<$13.ResourceName>(4, _omitFieldNames ? '' : 'componentName', subBuilder: $13.ResourceName.create) - ..aOM<$13.ResourceName>(5, _omitFieldNames ? '' : 'movementSensorName', subBuilder: $13.ResourceName.create) - ..pc<$13.GeoGeometry>(6, _omitFieldNames ? '' : 'obstacles', $pb.PbFieldType.PM, subBuilder: $13.GeoGeometry.create) + ..aOM<$14.ResourceName>(4, _omitFieldNames ? '' : 'componentName', subBuilder: $14.ResourceName.create) + ..aOM<$14.ResourceName>(5, _omitFieldNames ? '' : 'movementSensorName', subBuilder: $14.ResourceName.create) + ..pc<$14.GeoGeometry>(6, _omitFieldNames ? '' : 'obstacles', $pb.PbFieldType.PM, subBuilder: $14.GeoGeometry.create) ..aOM(7, _omitFieldNames ? '' : 'motionConfiguration', subBuilder: MotionConfiguration.create) - ..pc<$13.GeoGeometry>(8, _omitFieldNames ? '' : 'boundingRegions', $pb.PbFieldType.PM, subBuilder: $13.GeoGeometry.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..pc<$14.GeoGeometry>(8, _omitFieldNames ? '' : 'boundingRegions', $pb.PbFieldType.PM, subBuilder: $14.GeoGeometry.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -687,15 +687,15 @@ class MoveOnGlobeRequest extends $pb.GeneratedMessage { /// Destination, encoded as a GeoPoint @$pb.TagNumber(2) - $13.GeoPoint get destination => $_getN(1); + $14.GeoPoint get destination => $_getN(1); @$pb.TagNumber(2) - set destination($13.GeoPoint v) { setField(2, v); } + set destination($14.GeoPoint v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasDestination() => $_has(1); @$pb.TagNumber(2) void clearDestination() => clearField(2); @$pb.TagNumber(2) - $13.GeoPoint ensureDestination() => $_ensure(1); + $14.GeoPoint ensureDestination() => $_ensure(1); /// Optional compass heading to achieve at the destination, in degrees [0-360) @$pb.TagNumber(3) @@ -709,31 +709,31 @@ class MoveOnGlobeRequest extends $pb.GeneratedMessage { /// Component on the robot to move to the specified destination @$pb.TagNumber(4) - $13.ResourceName get componentName => $_getN(3); + $14.ResourceName get componentName => $_getN(3); @$pb.TagNumber(4) - set componentName($13.ResourceName v) { setField(4, v); } + set componentName($14.ResourceName v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasComponentName() => $_has(3); @$pb.TagNumber(4) void clearComponentName() => clearField(4); @$pb.TagNumber(4) - $13.ResourceName ensureComponentName() => $_ensure(3); + $14.ResourceName ensureComponentName() => $_ensure(3); /// Name of the movement sensor which will be used to check robot location @$pb.TagNumber(5) - $13.ResourceName get movementSensorName => $_getN(4); + $14.ResourceName get movementSensorName => $_getN(4); @$pb.TagNumber(5) - set movementSensorName($13.ResourceName v) { setField(5, v); } + set movementSensorName($14.ResourceName v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasMovementSensorName() => $_has(4); @$pb.TagNumber(5) void clearMovementSensorName() => clearField(5); @$pb.TagNumber(5) - $13.ResourceName ensureMovementSensorName() => $_ensure(4); + $14.ResourceName ensureMovementSensorName() => $_ensure(4); /// Obstacles to be considered for motion planning @$pb.TagNumber(6) - $core.List<$13.GeoGeometry> get obstacles => $_getList(5); + $core.List<$14.GeoGeometry> get obstacles => $_getList(5); /// Optional set of motion configuration options @$pb.TagNumber(7) @@ -749,19 +749,19 @@ class MoveOnGlobeRequest extends $pb.GeneratedMessage { /// Set of obstacles which the robot must remain within while navigating @$pb.TagNumber(8) - $core.List<$13.GeoGeometry> get boundingRegions => $_getList(7); + $core.List<$14.GeoGeometry> get boundingRegions => $_getList(7); /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(8); + $43.Struct get extra => $_getN(8); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(8); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(8); + $43.Struct ensureExtra() => $_ensure(8); } class MoveOnGlobeResponse extends $pb.GeneratedMessage { @@ -820,10 +820,10 @@ class MoveOnGlobeResponse extends $pb.GeneratedMessage { class GetPoseRequest extends $pb.GeneratedMessage { factory GetPoseRequest({ $core.String? name, - $13.ResourceName? componentName, + $14.ResourceName? componentName, $core.String? destinationFrame, - $core.Iterable<$13.Transform>? supplementalTransforms, - $42.Struct? extra, + $core.Iterable<$14.Transform>? supplementalTransforms, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -849,10 +849,10 @@ class GetPoseRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPoseRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$13.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $13.ResourceName.create) + ..aOM<$14.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $14.ResourceName.create) ..aOS(3, _omitFieldNames ? '' : 'destinationFrame') - ..pc<$13.Transform>(4, _omitFieldNames ? '' : 'supplementalTransforms', $pb.PbFieldType.PM, subBuilder: $13.Transform.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..pc<$14.Transform>(4, _omitFieldNames ? '' : 'supplementalTransforms', $pb.PbFieldType.PM, subBuilder: $14.Transform.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -888,15 +888,15 @@ class GetPoseRequest extends $pb.GeneratedMessage { /// the component whose pose is being requested @$pb.TagNumber(2) - $13.ResourceName get componentName => $_getN(1); + $14.ResourceName get componentName => $_getN(1); @$pb.TagNumber(2) - set componentName($13.ResourceName v) { setField(2, v); } + set componentName($14.ResourceName v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasComponentName() => $_has(1); @$pb.TagNumber(2) void clearComponentName() => clearField(2); @$pb.TagNumber(2) - $13.ResourceName ensureComponentName() => $_ensure(1); + $14.ResourceName ensureComponentName() => $_ensure(1); /// the reference frame in which the component's pose /// should be provided, if unset this defaults @@ -913,24 +913,24 @@ class GetPoseRequest extends $pb.GeneratedMessage { /// pose information on any additional reference frames that are needed /// to compute the component's pose @$pb.TagNumber(4) - $core.List<$13.Transform> get supplementalTransforms => $_getList(3); + $core.List<$14.Transform> get supplementalTransforms => $_getList(3); /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(4); + $43.Struct get extra => $_getN(4); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(4); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(4); + $43.Struct ensureExtra() => $_ensure(4); } class GetPoseResponse extends $pb.GeneratedMessage { factory GetPoseResponse({ - $13.PoseInFrame? pose, + $14.PoseInFrame? pose, }) { final $result = create(); if (pose != null) { @@ -943,7 +943,7 @@ class GetPoseResponse extends $pb.GeneratedMessage { factory GetPoseResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPoseResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOM<$13.PoseInFrame>(1, _omitFieldNames ? '' : 'pose', subBuilder: $13.PoseInFrame.create) + ..aOM<$14.PoseInFrame>(1, _omitFieldNames ? '' : 'pose', subBuilder: $14.PoseInFrame.create) ..hasRequiredFields = false ; @@ -969,22 +969,22 @@ class GetPoseResponse extends $pb.GeneratedMessage { static GetPoseResponse? _defaultInstance; @$pb.TagNumber(1) - $13.PoseInFrame get pose => $_getN(0); + $14.PoseInFrame get pose => $_getN(0); @$pb.TagNumber(1) - set pose($13.PoseInFrame v) { setField(1, v); } + set pose($14.PoseInFrame v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasPose() => $_has(0); @$pb.TagNumber(1) void clearPose() => clearField(1); @$pb.TagNumber(1) - $13.PoseInFrame ensurePose() => $_ensure(0); + $14.PoseInFrame ensurePose() => $_ensure(0); } class StopPlanRequest extends $pb.GeneratedMessage { factory StopPlanRequest({ $core.String? name, - $13.ResourceName? componentName, - $42.Struct? extra, + $14.ResourceName? componentName, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1004,8 +1004,8 @@ class StopPlanRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopPlanRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$13.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $13.ResourceName.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$14.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $14.ResourceName.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1042,27 +1042,27 @@ class StopPlanRequest extends $pb.GeneratedMessage { /// The component of the currently executing plan to stop @$pb.TagNumber(2) - $13.ResourceName get componentName => $_getN(1); + $14.ResourceName get componentName => $_getN(1); @$pb.TagNumber(2) - set componentName($13.ResourceName v) { setField(2, v); } + set componentName($14.ResourceName v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasComponentName() => $_has(1); @$pb.TagNumber(2) void clearComponentName() => clearField(2); @$pb.TagNumber(2) - $13.ResourceName ensureComponentName() => $_ensure(1); + $14.ResourceName ensureComponentName() => $_ensure(1); /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class StopPlanResponse extends $pb.GeneratedMessage { @@ -1101,7 +1101,7 @@ class ListPlanStatusesRequest extends $pb.GeneratedMessage { factory ListPlanStatusesRequest({ $core.String? name, $core.bool? onlyActivePlans, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1122,7 +1122,7 @@ class ListPlanStatusesRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListPlanStatusesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOB(2, _omitFieldNames ? '' : 'onlyActivePlans') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1170,15 +1170,15 @@ class ListPlanStatusesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } /// Status of all executed / executing plan statuses with associated IDs within the 24 hour TTL @@ -1231,10 +1231,10 @@ class ListPlanStatusesResponse extends $pb.GeneratedMessage { class GetPlanRequest extends $pb.GeneratedMessage { factory GetPlanRequest({ $core.String? name, - $13.ResourceName? componentName, + $14.ResourceName? componentName, $core.bool? lastPlanOnly, $core.String? executionId, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1260,10 +1260,10 @@ class GetPlanRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPlanRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$13.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $13.ResourceName.create) + ..aOM<$14.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $14.ResourceName.create) ..aOB(3, _omitFieldNames ? '' : 'lastPlanOnly') ..aOS(4, _omitFieldNames ? '' : 'executionId') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1300,15 +1300,15 @@ class GetPlanRequest extends $pb.GeneratedMessage { /// The name of the component which was requested to be moved. @$pb.TagNumber(2) - $13.ResourceName get componentName => $_getN(1); + $14.ResourceName get componentName => $_getN(1); @$pb.TagNumber(2) - set componentName($13.ResourceName v) { setField(2, v); } + set componentName($14.ResourceName v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasComponentName() => $_has(1); @$pb.TagNumber(2) void clearComponentName() => clearField(2); @$pb.TagNumber(2) - $13.ResourceName ensureComponentName() => $_ensure(1); + $14.ResourceName ensureComponentName() => $_ensure(1); /// If supplied, the response will only return /// the the last plan for the component / execution @@ -1333,15 +1333,15 @@ class GetPlanRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(4); + $43.Struct get extra => $_getN(4); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(4); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(4); + $43.Struct ensureExtra() => $_ensure(4); } class GetPlanResponse extends $pb.GeneratedMessage { @@ -1788,7 +1788,7 @@ class PlanWithStatus extends $pb.GeneratedMessage { class PlanStatusWithID extends $pb.GeneratedMessage { factory PlanStatusWithID({ $core.String? planId, - $13.ResourceName? componentName, + $14.ResourceName? componentName, $core.String? executionId, PlanStatus? status, }) { @@ -1813,7 +1813,7 @@ class PlanStatusWithID extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlanStatusWithID', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'planId') - ..aOM<$13.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $13.ResourceName.create) + ..aOM<$14.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $14.ResourceName.create) ..aOS(3, _omitFieldNames ? '' : 'executionId') ..aOM(4, _omitFieldNames ? '' : 'status', subBuilder: PlanStatus.create) ..hasRequiredFields = false @@ -1855,15 +1855,15 @@ class PlanStatusWithID extends $pb.GeneratedMessage { /// NOTE: A plan may move more components than just the /// component_name. @$pb.TagNumber(2) - $13.ResourceName get componentName => $_getN(1); + $14.ResourceName get componentName => $_getN(1); @$pb.TagNumber(2) - set componentName($13.ResourceName v) { setField(2, v); } + set componentName($14.ResourceName v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasComponentName() => $_has(1); @$pb.TagNumber(2) void clearComponentName() => clearField(2); @$pb.TagNumber(2) - $13.ResourceName ensureComponentName() => $_ensure(1); + $14.ResourceName ensureComponentName() => $_ensure(1); /// The unique ID which identifies the plan execution. /// Multiple plans will share the same execution_id if they were @@ -1894,7 +1894,7 @@ class PlanStatusWithID extends $pb.GeneratedMessage { class PlanStatus extends $pb.GeneratedMessage { factory PlanStatus({ PlanState? state, - $43.Timestamp? timestamp, + $44.Timestamp? timestamp, $core.String? reason, }) { final $result = create(); @@ -1915,7 +1915,7 @@ class PlanStatus extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PlanStatus', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) ..e(1, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: PlanState.PLAN_STATE_UNSPECIFIED, valueOf: PlanState.valueOf, enumValues: PlanState.values) - ..aOM<$43.Timestamp>(2, _omitFieldNames ? '' : 'timestamp', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'timestamp', subBuilder: $44.Timestamp.create) ..aOS(3, _omitFieldNames ? '' : 'reason') ..hasRequiredFields = false ; @@ -1953,15 +1953,15 @@ class PlanStatus extends $pb.GeneratedMessage { /// The time the executing plan transtioned to the state @$pb.TagNumber(2) - $43.Timestamp get timestamp => $_getN(1); + $44.Timestamp get timestamp => $_getN(1); @$pb.TagNumber(2) - set timestamp($43.Timestamp v) { setField(2, v); } + set timestamp($44.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasTimestamp() => $_has(1); @$pb.TagNumber(2) void clearTimestamp() => clearField(2); @$pb.TagNumber(2) - $43.Timestamp ensureTimestamp() => $_ensure(1); + $44.Timestamp ensureTimestamp() => $_ensure(1); /// The reason for the state change. If motion plan failed /// this will return the error message. @@ -1981,7 +1981,7 @@ class PlanStatus extends $pb.GeneratedMessage { class Plan extends $pb.GeneratedMessage { factory Plan({ $core.String? id, - $13.ResourceName? componentName, + $14.ResourceName? componentName, $core.String? executionId, $core.Iterable? steps, }) { @@ -2006,7 +2006,7 @@ class Plan extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Plan', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM<$13.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $13.ResourceName.create) + ..aOM<$14.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $14.ResourceName.create) ..aOS(3, _omitFieldNames ? '' : 'executionId') ..pc(4, _omitFieldNames ? '' : 'steps', $pb.PbFieldType.PM, subBuilder: PlanStep.create) ..hasRequiredFields = false @@ -2048,15 +2048,15 @@ class Plan extends $pb.GeneratedMessage { /// NOTE: A plan may move more components than just the /// root component. @$pb.TagNumber(2) - $13.ResourceName get componentName => $_getN(1); + $14.ResourceName get componentName => $_getN(1); @$pb.TagNumber(2) - set componentName($13.ResourceName v) { setField(2, v); } + set componentName($14.ResourceName v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasComponentName() => $_has(1); @$pb.TagNumber(2) void clearComponentName() => clearField(2); @$pb.TagNumber(2) - $13.ResourceName ensureComponentName() => $_ensure(1); + $14.ResourceName ensureComponentName() => $_ensure(1); /// The unique ID which identifies the execution. /// Multiple plans will share the same execution_id if they were @@ -2126,7 +2126,7 @@ class PlanStep extends $pb.GeneratedMessage { /// A pose class ComponentState extends $pb.GeneratedMessage { factory ComponentState({ - $13.Pose? pose, + $14.Pose? pose, }) { final $result = create(); if (pose != null) { @@ -2139,7 +2139,7 @@ class ComponentState extends $pb.GeneratedMessage { factory ComponentState.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComponentState', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.motion.v1'), createEmptyInstance: create) - ..aOM<$13.Pose>(1, _omitFieldNames ? '' : 'pose', subBuilder: $13.Pose.create) + ..aOM<$14.Pose>(1, _omitFieldNames ? '' : 'pose', subBuilder: $14.Pose.create) ..hasRequiredFields = false ; @@ -2165,15 +2165,15 @@ class ComponentState extends $pb.GeneratedMessage { static ComponentState? _defaultInstance; @$pb.TagNumber(1) - $13.Pose get pose => $_getN(0); + $14.Pose get pose => $_getN(0); @$pb.TagNumber(1) - set pose($13.Pose v) { setField(1, v); } + set pose($14.Pose v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasPose() => $_has(0); @$pb.TagNumber(1) void clearPose() => clearField(1); @$pb.TagNumber(1) - $13.Pose ensurePose() => $_ensure(0); + $14.Pose ensurePose() => $_ensure(0); } diff --git a/lib/src/gen/service/motion/v1/motion.pbgrpc.dart b/lib/src/gen/service/motion/v1/motion.pbgrpc.dart index 3bfa7090e9e..e8f21540cb6 100644 --- a/lib/src/gen/service/motion/v1/motion.pbgrpc.dart +++ b/lib/src/gen/service/motion/v1/motion.pbgrpc.dart @@ -15,45 +15,45 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'motion.pb.dart' as $34; +import '../../../common/v1/common.pb.dart' as $14; +import 'motion.pb.dart' as $35; export 'motion.pb.dart'; @$pb.GrpcServiceName('viam.service.motion.v1.MotionService') class MotionServiceClient extends $grpc.Client { - static final _$move = $grpc.ClientMethod<$34.MoveRequest, $34.MoveResponse>( + static final _$move = $grpc.ClientMethod<$35.MoveRequest, $35.MoveResponse>( '/viam.service.motion.v1.MotionService/Move', - ($34.MoveRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $34.MoveResponse.fromBuffer(value)); - static final _$moveOnMap = $grpc.ClientMethod<$34.MoveOnMapRequest, $34.MoveOnMapResponse>( + ($35.MoveRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $35.MoveResponse.fromBuffer(value)); + static final _$moveOnMap = $grpc.ClientMethod<$35.MoveOnMapRequest, $35.MoveOnMapResponse>( '/viam.service.motion.v1.MotionService/MoveOnMap', - ($34.MoveOnMapRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $34.MoveOnMapResponse.fromBuffer(value)); - static final _$moveOnGlobe = $grpc.ClientMethod<$34.MoveOnGlobeRequest, $34.MoveOnGlobeResponse>( + ($35.MoveOnMapRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $35.MoveOnMapResponse.fromBuffer(value)); + static final _$moveOnGlobe = $grpc.ClientMethod<$35.MoveOnGlobeRequest, $35.MoveOnGlobeResponse>( '/viam.service.motion.v1.MotionService/MoveOnGlobe', - ($34.MoveOnGlobeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $34.MoveOnGlobeResponse.fromBuffer(value)); - static final _$getPose = $grpc.ClientMethod<$34.GetPoseRequest, $34.GetPoseResponse>( + ($35.MoveOnGlobeRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $35.MoveOnGlobeResponse.fromBuffer(value)); + static final _$getPose = $grpc.ClientMethod<$35.GetPoseRequest, $35.GetPoseResponse>( '/viam.service.motion.v1.MotionService/GetPose', - ($34.GetPoseRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $34.GetPoseResponse.fromBuffer(value)); - static final _$stopPlan = $grpc.ClientMethod<$34.StopPlanRequest, $34.StopPlanResponse>( + ($35.GetPoseRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $35.GetPoseResponse.fromBuffer(value)); + static final _$stopPlan = $grpc.ClientMethod<$35.StopPlanRequest, $35.StopPlanResponse>( '/viam.service.motion.v1.MotionService/StopPlan', - ($34.StopPlanRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $34.StopPlanResponse.fromBuffer(value)); - static final _$listPlanStatuses = $grpc.ClientMethod<$34.ListPlanStatusesRequest, $34.ListPlanStatusesResponse>( + ($35.StopPlanRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $35.StopPlanResponse.fromBuffer(value)); + static final _$listPlanStatuses = $grpc.ClientMethod<$35.ListPlanStatusesRequest, $35.ListPlanStatusesResponse>( '/viam.service.motion.v1.MotionService/ListPlanStatuses', - ($34.ListPlanStatusesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $34.ListPlanStatusesResponse.fromBuffer(value)); - static final _$getPlan = $grpc.ClientMethod<$34.GetPlanRequest, $34.GetPlanResponse>( + ($35.ListPlanStatusesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $35.ListPlanStatusesResponse.fromBuffer(value)); + static final _$getPlan = $grpc.ClientMethod<$35.GetPlanRequest, $35.GetPlanResponse>( '/viam.service.motion.v1.MotionService/GetPlan', - ($34.GetPlanRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $34.GetPlanResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($35.GetPlanRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $35.GetPlanResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.service.motion.v1.MotionService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); MotionServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -61,35 +61,35 @@ class MotionServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$34.MoveResponse> move($34.MoveRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$35.MoveResponse> move($35.MoveRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$move, request, options: options); } - $grpc.ResponseFuture<$34.MoveOnMapResponse> moveOnMap($34.MoveOnMapRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$35.MoveOnMapResponse> moveOnMap($35.MoveOnMapRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$moveOnMap, request, options: options); } - $grpc.ResponseFuture<$34.MoveOnGlobeResponse> moveOnGlobe($34.MoveOnGlobeRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$35.MoveOnGlobeResponse> moveOnGlobe($35.MoveOnGlobeRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$moveOnGlobe, request, options: options); } - $grpc.ResponseFuture<$34.GetPoseResponse> getPose($34.GetPoseRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$35.GetPoseResponse> getPose($35.GetPoseRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPose, request, options: options); } - $grpc.ResponseFuture<$34.StopPlanResponse> stopPlan($34.StopPlanRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$35.StopPlanResponse> stopPlan($35.StopPlanRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$stopPlan, request, options: options); } - $grpc.ResponseFuture<$34.ListPlanStatusesResponse> listPlanStatuses($34.ListPlanStatusesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$35.ListPlanStatusesResponse> listPlanStatuses($35.ListPlanStatusesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listPlanStatuses, request, options: options); } - $grpc.ResponseFuture<$34.GetPlanResponse> getPlan($34.GetPlanRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$35.GetPlanResponse> getPlan($35.GetPlanRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPlan, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } } @@ -99,102 +99,102 @@ abstract class MotionServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.motion.v1.MotionService'; MotionServiceBase() { - $addMethod($grpc.ServiceMethod<$34.MoveRequest, $34.MoveResponse>( + $addMethod($grpc.ServiceMethod<$35.MoveRequest, $35.MoveResponse>( 'Move', move_Pre, false, false, - ($core.List<$core.int> value) => $34.MoveRequest.fromBuffer(value), - ($34.MoveResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$34.MoveOnMapRequest, $34.MoveOnMapResponse>( + ($core.List<$core.int> value) => $35.MoveRequest.fromBuffer(value), + ($35.MoveResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$35.MoveOnMapRequest, $35.MoveOnMapResponse>( 'MoveOnMap', moveOnMap_Pre, false, false, - ($core.List<$core.int> value) => $34.MoveOnMapRequest.fromBuffer(value), - ($34.MoveOnMapResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$34.MoveOnGlobeRequest, $34.MoveOnGlobeResponse>( + ($core.List<$core.int> value) => $35.MoveOnMapRequest.fromBuffer(value), + ($35.MoveOnMapResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$35.MoveOnGlobeRequest, $35.MoveOnGlobeResponse>( 'MoveOnGlobe', moveOnGlobe_Pre, false, false, - ($core.List<$core.int> value) => $34.MoveOnGlobeRequest.fromBuffer(value), - ($34.MoveOnGlobeResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$34.GetPoseRequest, $34.GetPoseResponse>( + ($core.List<$core.int> value) => $35.MoveOnGlobeRequest.fromBuffer(value), + ($35.MoveOnGlobeResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$35.GetPoseRequest, $35.GetPoseResponse>( 'GetPose', getPose_Pre, false, false, - ($core.List<$core.int> value) => $34.GetPoseRequest.fromBuffer(value), - ($34.GetPoseResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$34.StopPlanRequest, $34.StopPlanResponse>( + ($core.List<$core.int> value) => $35.GetPoseRequest.fromBuffer(value), + ($35.GetPoseResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$35.StopPlanRequest, $35.StopPlanResponse>( 'StopPlan', stopPlan_Pre, false, false, - ($core.List<$core.int> value) => $34.StopPlanRequest.fromBuffer(value), - ($34.StopPlanResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$34.ListPlanStatusesRequest, $34.ListPlanStatusesResponse>( + ($core.List<$core.int> value) => $35.StopPlanRequest.fromBuffer(value), + ($35.StopPlanResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$35.ListPlanStatusesRequest, $35.ListPlanStatusesResponse>( 'ListPlanStatuses', listPlanStatuses_Pre, false, false, - ($core.List<$core.int> value) => $34.ListPlanStatusesRequest.fromBuffer(value), - ($34.ListPlanStatusesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$34.GetPlanRequest, $34.GetPlanResponse>( + ($core.List<$core.int> value) => $35.ListPlanStatusesRequest.fromBuffer(value), + ($35.ListPlanStatusesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$35.GetPlanRequest, $35.GetPlanResponse>( 'GetPlan', getPlan_Pre, false, false, - ($core.List<$core.int> value) => $34.GetPlanRequest.fromBuffer(value), - ($34.GetPlanResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $35.GetPlanRequest.fromBuffer(value), + ($35.GetPlanResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$34.MoveResponse> move_Pre($grpc.ServiceCall call, $async.Future<$34.MoveRequest> request) async { + $async.Future<$35.MoveResponse> move_Pre($grpc.ServiceCall call, $async.Future<$35.MoveRequest> request) async { return move(call, await request); } - $async.Future<$34.MoveOnMapResponse> moveOnMap_Pre($grpc.ServiceCall call, $async.Future<$34.MoveOnMapRequest> request) async { + $async.Future<$35.MoveOnMapResponse> moveOnMap_Pre($grpc.ServiceCall call, $async.Future<$35.MoveOnMapRequest> request) async { return moveOnMap(call, await request); } - $async.Future<$34.MoveOnGlobeResponse> moveOnGlobe_Pre($grpc.ServiceCall call, $async.Future<$34.MoveOnGlobeRequest> request) async { + $async.Future<$35.MoveOnGlobeResponse> moveOnGlobe_Pre($grpc.ServiceCall call, $async.Future<$35.MoveOnGlobeRequest> request) async { return moveOnGlobe(call, await request); } - $async.Future<$34.GetPoseResponse> getPose_Pre($grpc.ServiceCall call, $async.Future<$34.GetPoseRequest> request) async { + $async.Future<$35.GetPoseResponse> getPose_Pre($grpc.ServiceCall call, $async.Future<$35.GetPoseRequest> request) async { return getPose(call, await request); } - $async.Future<$34.StopPlanResponse> stopPlan_Pre($grpc.ServiceCall call, $async.Future<$34.StopPlanRequest> request) async { + $async.Future<$35.StopPlanResponse> stopPlan_Pre($grpc.ServiceCall call, $async.Future<$35.StopPlanRequest> request) async { return stopPlan(call, await request); } - $async.Future<$34.ListPlanStatusesResponse> listPlanStatuses_Pre($grpc.ServiceCall call, $async.Future<$34.ListPlanStatusesRequest> request) async { + $async.Future<$35.ListPlanStatusesResponse> listPlanStatuses_Pre($grpc.ServiceCall call, $async.Future<$35.ListPlanStatusesRequest> request) async { return listPlanStatuses(call, await request); } - $async.Future<$34.GetPlanResponse> getPlan_Pre($grpc.ServiceCall call, $async.Future<$34.GetPlanRequest> request) async { + $async.Future<$35.GetPlanResponse> getPlan_Pre($grpc.ServiceCall call, $async.Future<$35.GetPlanRequest> request) async { return getPlan(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$34.MoveResponse> move($grpc.ServiceCall call, $34.MoveRequest request); - $async.Future<$34.MoveOnMapResponse> moveOnMap($grpc.ServiceCall call, $34.MoveOnMapRequest request); - $async.Future<$34.MoveOnGlobeResponse> moveOnGlobe($grpc.ServiceCall call, $34.MoveOnGlobeRequest request); - $async.Future<$34.GetPoseResponse> getPose($grpc.ServiceCall call, $34.GetPoseRequest request); - $async.Future<$34.StopPlanResponse> stopPlan($grpc.ServiceCall call, $34.StopPlanRequest request); - $async.Future<$34.ListPlanStatusesResponse> listPlanStatuses($grpc.ServiceCall call, $34.ListPlanStatusesRequest request); - $async.Future<$34.GetPlanResponse> getPlan($grpc.ServiceCall call, $34.GetPlanRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); + $async.Future<$35.MoveResponse> move($grpc.ServiceCall call, $35.MoveRequest request); + $async.Future<$35.MoveOnMapResponse> moveOnMap($grpc.ServiceCall call, $35.MoveOnMapRequest request); + $async.Future<$35.MoveOnGlobeResponse> moveOnGlobe($grpc.ServiceCall call, $35.MoveOnGlobeRequest request); + $async.Future<$35.GetPoseResponse> getPose($grpc.ServiceCall call, $35.GetPoseRequest request); + $async.Future<$35.StopPlanResponse> stopPlan($grpc.ServiceCall call, $35.StopPlanRequest request); + $async.Future<$35.ListPlanStatusesResponse> listPlanStatuses($grpc.ServiceCall call, $35.ListPlanStatusesRequest request); + $async.Future<$35.GetPlanResponse> getPlan($grpc.ServiceCall call, $35.GetPlanRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); } diff --git a/lib/src/gen/service/navigation/v1/navigation.pb.dart b/lib/src/gen/service/navigation/v1/navigation.pb.dart index a688523ac30..c6bc135b3fa 100644 --- a/lib/src/gen/service/navigation/v1/navigation.pb.dart +++ b/lib/src/gen/service/navigation/v1/navigation.pb.dart @@ -13,8 +13,8 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../common/v1/common.pb.dart' as $14; +import '../../../google/protobuf/struct.pb.dart' as $43; import 'navigation.pbenum.dart'; export 'navigation.pbenum.dart'; @@ -22,7 +22,7 @@ export 'navigation.pbenum.dart'; class GetModeRequest extends $pb.GeneratedMessage { factory GetModeRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -39,7 +39,7 @@ class GetModeRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetModeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -75,15 +75,15 @@ class GetModeRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetModeResponse extends $pb.GeneratedMessage { @@ -140,7 +140,7 @@ class SetModeRequest extends $pb.GeneratedMessage { factory SetModeRequest({ $core.String? name, Mode? mode, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -161,7 +161,7 @@ class SetModeRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetModeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..e(2, _omitFieldNames ? '' : 'mode', $pb.PbFieldType.OE, defaultOrMaker: Mode.MODE_UNSPECIFIED, valueOf: Mode.valueOf, enumValues: Mode.values) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -206,15 +206,15 @@ class SetModeRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class SetModeResponse extends $pb.GeneratedMessage { @@ -252,7 +252,7 @@ class SetModeResponse extends $pb.GeneratedMessage { class Waypoint extends $pb.GeneratedMessage { factory Waypoint({ $core.String? id, - $13.GeoPoint? location, + $14.GeoPoint? location, }) { final $result = create(); if (id != null) { @@ -269,7 +269,7 @@ class Waypoint extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Waypoint', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'id') - ..aOM<$13.GeoPoint>(2, _omitFieldNames ? '' : 'location', subBuilder: $13.GeoPoint.create) + ..aOM<$14.GeoPoint>(2, _omitFieldNames ? '' : 'location', subBuilder: $14.GeoPoint.create) ..hasRequiredFields = false ; @@ -304,21 +304,21 @@ class Waypoint extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $13.GeoPoint get location => $_getN(1); + $14.GeoPoint get location => $_getN(1); @$pb.TagNumber(2) - set location($13.GeoPoint v) { setField(2, v); } + set location($14.GeoPoint v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasLocation() => $_has(1); @$pb.TagNumber(2) void clearLocation() => clearField(2); @$pb.TagNumber(2) - $13.GeoPoint ensureLocation() => $_ensure(1); + $14.GeoPoint ensureLocation() => $_ensure(1); } class GetLocationRequest extends $pb.GeneratedMessage { factory GetLocationRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -335,7 +335,7 @@ class GetLocationRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLocationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -371,20 +371,20 @@ class GetLocationRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetLocationResponse extends $pb.GeneratedMessage { factory GetLocationResponse({ - $13.GeoPoint? location, + $14.GeoPoint? location, $core.double? compassHeading, }) { final $result = create(); @@ -401,7 +401,7 @@ class GetLocationResponse extends $pb.GeneratedMessage { factory GetLocationResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLocationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..aOM<$13.GeoPoint>(1, _omitFieldNames ? '' : 'location', subBuilder: $13.GeoPoint.create) + ..aOM<$14.GeoPoint>(1, _omitFieldNames ? '' : 'location', subBuilder: $14.GeoPoint.create) ..a<$core.double>(2, _omitFieldNames ? '' : 'compassHeading', $pb.PbFieldType.OD) ..hasRequiredFields = false ; @@ -428,15 +428,15 @@ class GetLocationResponse extends $pb.GeneratedMessage { static GetLocationResponse? _defaultInstance; @$pb.TagNumber(1) - $13.GeoPoint get location => $_getN(0); + $14.GeoPoint get location => $_getN(0); @$pb.TagNumber(1) - set location($13.GeoPoint v) { setField(1, v); } + set location($14.GeoPoint v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasLocation() => $_has(0); @$pb.TagNumber(1) void clearLocation() => clearField(1); @$pb.TagNumber(1) - $13.GeoPoint ensureLocation() => $_ensure(0); + $14.GeoPoint ensureLocation() => $_ensure(0); /// A number from [0-360) where 0 is north /// 90 is east, 180 is south, 270 is west @@ -453,7 +453,7 @@ class GetLocationResponse extends $pb.GeneratedMessage { class GetWaypointsRequest extends $pb.GeneratedMessage { factory GetWaypointsRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -470,7 +470,7 @@ class GetWaypointsRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetWaypointsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -506,15 +506,15 @@ class GetWaypointsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetWaypointsResponse extends $pb.GeneratedMessage { @@ -564,8 +564,8 @@ class GetWaypointsResponse extends $pb.GeneratedMessage { class AddWaypointRequest extends $pb.GeneratedMessage { factory AddWaypointRequest({ $core.String? name, - $13.GeoPoint? location, - $42.Struct? extra, + $14.GeoPoint? location, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -585,8 +585,8 @@ class AddWaypointRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'AddWaypointRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$13.GeoPoint>(2, _omitFieldNames ? '' : 'location', subBuilder: $13.GeoPoint.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$14.GeoPoint>(2, _omitFieldNames ? '' : 'location', subBuilder: $14.GeoPoint.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -621,27 +621,27 @@ class AddWaypointRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(2) - $13.GeoPoint get location => $_getN(1); + $14.GeoPoint get location => $_getN(1); @$pb.TagNumber(2) - set location($13.GeoPoint v) { setField(2, v); } + set location($14.GeoPoint v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasLocation() => $_has(1); @$pb.TagNumber(2) void clearLocation() => clearField(2); @$pb.TagNumber(2) - $13.GeoPoint ensureLocation() => $_ensure(1); + $14.GeoPoint ensureLocation() => $_ensure(1); /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class AddWaypointResponse extends $pb.GeneratedMessage { @@ -680,7 +680,7 @@ class RemoveWaypointRequest extends $pb.GeneratedMessage { factory RemoveWaypointRequest({ $core.String? name, $core.String? id, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -701,7 +701,7 @@ class RemoveWaypointRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RemoveWaypointRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'id') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -746,15 +746,15 @@ class RemoveWaypointRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class RemoveWaypointResponse extends $pb.GeneratedMessage { @@ -796,7 +796,7 @@ class RemoveWaypointResponse extends $pb.GeneratedMessage { class GetObstaclesRequest extends $pb.GeneratedMessage { factory GetObstaclesRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -813,7 +813,7 @@ class GetObstaclesRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetObstaclesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -849,20 +849,20 @@ class GetObstaclesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetObstaclesResponse extends $pb.GeneratedMessage { factory GetObstaclesResponse({ - $core.Iterable<$13.GeoGeometry>? obstacles, + $core.Iterable<$14.GeoGeometry>? obstacles, }) { final $result = create(); if (obstacles != null) { @@ -875,7 +875,7 @@ class GetObstaclesResponse extends $pb.GeneratedMessage { factory GetObstaclesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetObstaclesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) - ..pc<$13.GeoGeometry>(1, _omitFieldNames ? '' : 'obstacles', $pb.PbFieldType.PM, subBuilder: $13.GeoGeometry.create) + ..pc<$14.GeoGeometry>(1, _omitFieldNames ? '' : 'obstacles', $pb.PbFieldType.PM, subBuilder: $14.GeoGeometry.create) ..hasRequiredFields = false ; @@ -902,7 +902,7 @@ class GetObstaclesResponse extends $pb.GeneratedMessage { /// List of all known geometries @$pb.TagNumber(1) - $core.List<$13.GeoGeometry> get obstacles => $_getList(0); + $core.List<$14.GeoGeometry> get obstacles => $_getList(0); } /// A user provided destination and the set of geopoints that @@ -910,7 +910,7 @@ class GetObstaclesResponse extends $pb.GeneratedMessage { class Path extends $pb.GeneratedMessage { factory Path({ $core.String? destinationWaypointId, - $core.Iterable<$13.GeoPoint>? geopoints, + $core.Iterable<$14.GeoPoint>? geopoints, }) { final $result = create(); if (destinationWaypointId != null) { @@ -927,7 +927,7 @@ class Path extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Path', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'destinationWaypointId') - ..pc<$13.GeoPoint>(2, _omitFieldNames ? '' : 'geopoints', $pb.PbFieldType.PM, subBuilder: $13.GeoPoint.create) + ..pc<$14.GeoPoint>(2, _omitFieldNames ? '' : 'geopoints', $pb.PbFieldType.PM, subBuilder: $14.GeoPoint.create) ..hasRequiredFields = false ; @@ -965,14 +965,14 @@ class Path extends $pb.GeneratedMessage { /// List of geopoints that the motion planner output to reach the destination /// The first geopoint is the starting position of the robot for that path @$pb.TagNumber(2) - $core.List<$13.GeoPoint> get geopoints => $_getList(1); + $core.List<$14.GeoPoint> get geopoints => $_getList(1); } /// Returns all the paths known to the navigation service class GetPathsRequest extends $pb.GeneratedMessage { factory GetPathsRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -989,7 +989,7 @@ class GetPathsRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPathsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.navigation.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1025,15 +1025,15 @@ class GetPathsRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetPathsResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/service/navigation/v1/navigation.pbgrpc.dart b/lib/src/gen/service/navigation/v1/navigation.pbgrpc.dart index 1451fa3ba0e..9c03f568409 100644 --- a/lib/src/gen/service/navigation/v1/navigation.pbgrpc.dart +++ b/lib/src/gen/service/navigation/v1/navigation.pbgrpc.dart @@ -15,53 +15,53 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'navigation.pb.dart' as $35; +import '../../../common/v1/common.pb.dart' as $14; +import 'navigation.pb.dart' as $36; export 'navigation.pb.dart'; @$pb.GrpcServiceName('viam.service.navigation.v1.NavigationService') class NavigationServiceClient extends $grpc.Client { - static final _$getMode = $grpc.ClientMethod<$35.GetModeRequest, $35.GetModeResponse>( + static final _$getMode = $grpc.ClientMethod<$36.GetModeRequest, $36.GetModeResponse>( '/viam.service.navigation.v1.NavigationService/GetMode', - ($35.GetModeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.GetModeResponse.fromBuffer(value)); - static final _$setMode = $grpc.ClientMethod<$35.SetModeRequest, $35.SetModeResponse>( + ($36.GetModeRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.GetModeResponse.fromBuffer(value)); + static final _$setMode = $grpc.ClientMethod<$36.SetModeRequest, $36.SetModeResponse>( '/viam.service.navigation.v1.NavigationService/SetMode', - ($35.SetModeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.SetModeResponse.fromBuffer(value)); - static final _$getLocation = $grpc.ClientMethod<$35.GetLocationRequest, $35.GetLocationResponse>( + ($36.SetModeRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.SetModeResponse.fromBuffer(value)); + static final _$getLocation = $grpc.ClientMethod<$36.GetLocationRequest, $36.GetLocationResponse>( '/viam.service.navigation.v1.NavigationService/GetLocation', - ($35.GetLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.GetLocationResponse.fromBuffer(value)); - static final _$getWaypoints = $grpc.ClientMethod<$35.GetWaypointsRequest, $35.GetWaypointsResponse>( + ($36.GetLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.GetLocationResponse.fromBuffer(value)); + static final _$getWaypoints = $grpc.ClientMethod<$36.GetWaypointsRequest, $36.GetWaypointsResponse>( '/viam.service.navigation.v1.NavigationService/GetWaypoints', - ($35.GetWaypointsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.GetWaypointsResponse.fromBuffer(value)); - static final _$addWaypoint = $grpc.ClientMethod<$35.AddWaypointRequest, $35.AddWaypointResponse>( + ($36.GetWaypointsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.GetWaypointsResponse.fromBuffer(value)); + static final _$addWaypoint = $grpc.ClientMethod<$36.AddWaypointRequest, $36.AddWaypointResponse>( '/viam.service.navigation.v1.NavigationService/AddWaypoint', - ($35.AddWaypointRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.AddWaypointResponse.fromBuffer(value)); - static final _$removeWaypoint = $grpc.ClientMethod<$35.RemoveWaypointRequest, $35.RemoveWaypointResponse>( + ($36.AddWaypointRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.AddWaypointResponse.fromBuffer(value)); + static final _$removeWaypoint = $grpc.ClientMethod<$36.RemoveWaypointRequest, $36.RemoveWaypointResponse>( '/viam.service.navigation.v1.NavigationService/RemoveWaypoint', - ($35.RemoveWaypointRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.RemoveWaypointResponse.fromBuffer(value)); - static final _$getObstacles = $grpc.ClientMethod<$35.GetObstaclesRequest, $35.GetObstaclesResponse>( + ($36.RemoveWaypointRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.RemoveWaypointResponse.fromBuffer(value)); + static final _$getObstacles = $grpc.ClientMethod<$36.GetObstaclesRequest, $36.GetObstaclesResponse>( '/viam.service.navigation.v1.NavigationService/GetObstacles', - ($35.GetObstaclesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.GetObstaclesResponse.fromBuffer(value)); - static final _$getPaths = $grpc.ClientMethod<$35.GetPathsRequest, $35.GetPathsResponse>( + ($36.GetObstaclesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.GetObstaclesResponse.fromBuffer(value)); + static final _$getPaths = $grpc.ClientMethod<$36.GetPathsRequest, $36.GetPathsResponse>( '/viam.service.navigation.v1.NavigationService/GetPaths', - ($35.GetPathsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.GetPathsResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$35.GetPropertiesRequest, $35.GetPropertiesResponse>( + ($36.GetPathsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.GetPathsResponse.fromBuffer(value)); + static final _$getProperties = $grpc.ClientMethod<$36.GetPropertiesRequest, $36.GetPropertiesResponse>( '/viam.service.navigation.v1.NavigationService/GetProperties', - ($35.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.GetPropertiesResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($36.GetPropertiesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.GetPropertiesResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.service.navigation.v1.NavigationService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); NavigationServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -69,43 +69,43 @@ class NavigationServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$35.GetModeResponse> getMode($35.GetModeRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.GetModeResponse> getMode($36.GetModeRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getMode, request, options: options); } - $grpc.ResponseFuture<$35.SetModeResponse> setMode($35.SetModeRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.SetModeResponse> setMode($36.SetModeRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$setMode, request, options: options); } - $grpc.ResponseFuture<$35.GetLocationResponse> getLocation($35.GetLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.GetLocationResponse> getLocation($36.GetLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getLocation, request, options: options); } - $grpc.ResponseFuture<$35.GetWaypointsResponse> getWaypoints($35.GetWaypointsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.GetWaypointsResponse> getWaypoints($36.GetWaypointsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getWaypoints, request, options: options); } - $grpc.ResponseFuture<$35.AddWaypointResponse> addWaypoint($35.AddWaypointRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.AddWaypointResponse> addWaypoint($36.AddWaypointRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$addWaypoint, request, options: options); } - $grpc.ResponseFuture<$35.RemoveWaypointResponse> removeWaypoint($35.RemoveWaypointRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.RemoveWaypointResponse> removeWaypoint($36.RemoveWaypointRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$removeWaypoint, request, options: options); } - $grpc.ResponseFuture<$35.GetObstaclesResponse> getObstacles($35.GetObstaclesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.GetObstaclesResponse> getObstacles($36.GetObstaclesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getObstacles, request, options: options); } - $grpc.ResponseFuture<$35.GetPathsResponse> getPaths($35.GetPathsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.GetPathsResponse> getPaths($36.GetPathsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPaths, request, options: options); } - $grpc.ResponseFuture<$35.GetPropertiesResponse> getProperties($35.GetPropertiesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.GetPropertiesResponse> getProperties($36.GetPropertiesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getProperties, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } } @@ -115,126 +115,126 @@ abstract class NavigationServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.navigation.v1.NavigationService'; NavigationServiceBase() { - $addMethod($grpc.ServiceMethod<$35.GetModeRequest, $35.GetModeResponse>( + $addMethod($grpc.ServiceMethod<$36.GetModeRequest, $36.GetModeResponse>( 'GetMode', getMode_Pre, false, false, - ($core.List<$core.int> value) => $35.GetModeRequest.fromBuffer(value), - ($35.GetModeResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.SetModeRequest, $35.SetModeResponse>( + ($core.List<$core.int> value) => $36.GetModeRequest.fromBuffer(value), + ($36.GetModeResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.SetModeRequest, $36.SetModeResponse>( 'SetMode', setMode_Pre, false, false, - ($core.List<$core.int> value) => $35.SetModeRequest.fromBuffer(value), - ($35.SetModeResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.GetLocationRequest, $35.GetLocationResponse>( + ($core.List<$core.int> value) => $36.SetModeRequest.fromBuffer(value), + ($36.SetModeResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.GetLocationRequest, $36.GetLocationResponse>( 'GetLocation', getLocation_Pre, false, false, - ($core.List<$core.int> value) => $35.GetLocationRequest.fromBuffer(value), - ($35.GetLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.GetWaypointsRequest, $35.GetWaypointsResponse>( + ($core.List<$core.int> value) => $36.GetLocationRequest.fromBuffer(value), + ($36.GetLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.GetWaypointsRequest, $36.GetWaypointsResponse>( 'GetWaypoints', getWaypoints_Pre, false, false, - ($core.List<$core.int> value) => $35.GetWaypointsRequest.fromBuffer(value), - ($35.GetWaypointsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.AddWaypointRequest, $35.AddWaypointResponse>( + ($core.List<$core.int> value) => $36.GetWaypointsRequest.fromBuffer(value), + ($36.GetWaypointsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.AddWaypointRequest, $36.AddWaypointResponse>( 'AddWaypoint', addWaypoint_Pre, false, false, - ($core.List<$core.int> value) => $35.AddWaypointRequest.fromBuffer(value), - ($35.AddWaypointResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.RemoveWaypointRequest, $35.RemoveWaypointResponse>( + ($core.List<$core.int> value) => $36.AddWaypointRequest.fromBuffer(value), + ($36.AddWaypointResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.RemoveWaypointRequest, $36.RemoveWaypointResponse>( 'RemoveWaypoint', removeWaypoint_Pre, false, false, - ($core.List<$core.int> value) => $35.RemoveWaypointRequest.fromBuffer(value), - ($35.RemoveWaypointResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.GetObstaclesRequest, $35.GetObstaclesResponse>( + ($core.List<$core.int> value) => $36.RemoveWaypointRequest.fromBuffer(value), + ($36.RemoveWaypointResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.GetObstaclesRequest, $36.GetObstaclesResponse>( 'GetObstacles', getObstacles_Pre, false, false, - ($core.List<$core.int> value) => $35.GetObstaclesRequest.fromBuffer(value), - ($35.GetObstaclesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.GetPathsRequest, $35.GetPathsResponse>( + ($core.List<$core.int> value) => $36.GetObstaclesRequest.fromBuffer(value), + ($36.GetObstaclesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.GetPathsRequest, $36.GetPathsResponse>( 'GetPaths', getPaths_Pre, false, false, - ($core.List<$core.int> value) => $35.GetPathsRequest.fromBuffer(value), - ($35.GetPathsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.GetPropertiesRequest, $35.GetPropertiesResponse>( + ($core.List<$core.int> value) => $36.GetPathsRequest.fromBuffer(value), + ($36.GetPathsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.GetPropertiesRequest, $36.GetPropertiesResponse>( 'GetProperties', getProperties_Pre, false, false, - ($core.List<$core.int> value) => $35.GetPropertiesRequest.fromBuffer(value), - ($35.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $36.GetPropertiesRequest.fromBuffer(value), + ($36.GetPropertiesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$35.GetModeResponse> getMode_Pre($grpc.ServiceCall call, $async.Future<$35.GetModeRequest> request) async { + $async.Future<$36.GetModeResponse> getMode_Pre($grpc.ServiceCall call, $async.Future<$36.GetModeRequest> request) async { return getMode(call, await request); } - $async.Future<$35.SetModeResponse> setMode_Pre($grpc.ServiceCall call, $async.Future<$35.SetModeRequest> request) async { + $async.Future<$36.SetModeResponse> setMode_Pre($grpc.ServiceCall call, $async.Future<$36.SetModeRequest> request) async { return setMode(call, await request); } - $async.Future<$35.GetLocationResponse> getLocation_Pre($grpc.ServiceCall call, $async.Future<$35.GetLocationRequest> request) async { + $async.Future<$36.GetLocationResponse> getLocation_Pre($grpc.ServiceCall call, $async.Future<$36.GetLocationRequest> request) async { return getLocation(call, await request); } - $async.Future<$35.GetWaypointsResponse> getWaypoints_Pre($grpc.ServiceCall call, $async.Future<$35.GetWaypointsRequest> request) async { + $async.Future<$36.GetWaypointsResponse> getWaypoints_Pre($grpc.ServiceCall call, $async.Future<$36.GetWaypointsRequest> request) async { return getWaypoints(call, await request); } - $async.Future<$35.AddWaypointResponse> addWaypoint_Pre($grpc.ServiceCall call, $async.Future<$35.AddWaypointRequest> request) async { + $async.Future<$36.AddWaypointResponse> addWaypoint_Pre($grpc.ServiceCall call, $async.Future<$36.AddWaypointRequest> request) async { return addWaypoint(call, await request); } - $async.Future<$35.RemoveWaypointResponse> removeWaypoint_Pre($grpc.ServiceCall call, $async.Future<$35.RemoveWaypointRequest> request) async { + $async.Future<$36.RemoveWaypointResponse> removeWaypoint_Pre($grpc.ServiceCall call, $async.Future<$36.RemoveWaypointRequest> request) async { return removeWaypoint(call, await request); } - $async.Future<$35.GetObstaclesResponse> getObstacles_Pre($grpc.ServiceCall call, $async.Future<$35.GetObstaclesRequest> request) async { + $async.Future<$36.GetObstaclesResponse> getObstacles_Pre($grpc.ServiceCall call, $async.Future<$36.GetObstaclesRequest> request) async { return getObstacles(call, await request); } - $async.Future<$35.GetPathsResponse> getPaths_Pre($grpc.ServiceCall call, $async.Future<$35.GetPathsRequest> request) async { + $async.Future<$36.GetPathsResponse> getPaths_Pre($grpc.ServiceCall call, $async.Future<$36.GetPathsRequest> request) async { return getPaths(call, await request); } - $async.Future<$35.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$35.GetPropertiesRequest> request) async { + $async.Future<$36.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$36.GetPropertiesRequest> request) async { return getProperties(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$35.GetModeResponse> getMode($grpc.ServiceCall call, $35.GetModeRequest request); - $async.Future<$35.SetModeResponse> setMode($grpc.ServiceCall call, $35.SetModeRequest request); - $async.Future<$35.GetLocationResponse> getLocation($grpc.ServiceCall call, $35.GetLocationRequest request); - $async.Future<$35.GetWaypointsResponse> getWaypoints($grpc.ServiceCall call, $35.GetWaypointsRequest request); - $async.Future<$35.AddWaypointResponse> addWaypoint($grpc.ServiceCall call, $35.AddWaypointRequest request); - $async.Future<$35.RemoveWaypointResponse> removeWaypoint($grpc.ServiceCall call, $35.RemoveWaypointRequest request); - $async.Future<$35.GetObstaclesResponse> getObstacles($grpc.ServiceCall call, $35.GetObstaclesRequest request); - $async.Future<$35.GetPathsResponse> getPaths($grpc.ServiceCall call, $35.GetPathsRequest request); - $async.Future<$35.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $35.GetPropertiesRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); + $async.Future<$36.GetModeResponse> getMode($grpc.ServiceCall call, $36.GetModeRequest request); + $async.Future<$36.SetModeResponse> setMode($grpc.ServiceCall call, $36.SetModeRequest request); + $async.Future<$36.GetLocationResponse> getLocation($grpc.ServiceCall call, $36.GetLocationRequest request); + $async.Future<$36.GetWaypointsResponse> getWaypoints($grpc.ServiceCall call, $36.GetWaypointsRequest request); + $async.Future<$36.AddWaypointResponse> addWaypoint($grpc.ServiceCall call, $36.AddWaypointRequest request); + $async.Future<$36.RemoveWaypointResponse> removeWaypoint($grpc.ServiceCall call, $36.RemoveWaypointRequest request); + $async.Future<$36.GetObstaclesResponse> getObstacles($grpc.ServiceCall call, $36.GetObstaclesRequest request); + $async.Future<$36.GetPathsResponse> getPaths($grpc.ServiceCall call, $36.GetPathsRequest request); + $async.Future<$36.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $36.GetPropertiesRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); } diff --git a/lib/src/gen/service/sensors/v1/sensors.pb.dart b/lib/src/gen/service/sensors/v1/sensors.pb.dart index 5940b56b04a..8ebc40a959a 100644 --- a/lib/src/gen/service/sensors/v1/sensors.pb.dart +++ b/lib/src/gen/service/sensors/v1/sensors.pb.dart @@ -13,8 +13,8 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../common/v1/common.pb.dart' as $14; +import '../../../google/protobuf/struct.pb.dart' as $43; /// The sensors service messages are deprecated class GetSensorsRequest extends $pb.GeneratedMessage { @@ -22,7 +22,7 @@ class GetSensorsRequest extends $pb.GeneratedMessage { @$core.Deprecated('This field is deprecated.') $core.String? name, @$core.Deprecated('This field is deprecated.') - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -41,7 +41,7 @@ class GetSensorsRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSensorsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.sensors.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -82,10 +82,10 @@ class GetSensorsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @@ -94,13 +94,13 @@ class GetSensorsRequest extends $pb.GeneratedMessage { void clearExtra() => clearField(99); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class GetSensorsResponse extends $pb.GeneratedMessage { factory GetSensorsResponse({ @$core.Deprecated('This field is deprecated.') - $core.Iterable<$13.ResourceName>? sensorNames, + $core.Iterable<$14.ResourceName>? sensorNames, }) { final $result = create(); if (sensorNames != null) { @@ -114,7 +114,7 @@ class GetSensorsResponse extends $pb.GeneratedMessage { factory GetSensorsResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetSensorsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.sensors.v1'), createEmptyInstance: create) - ..pc<$13.ResourceName>(1, _omitFieldNames ? '' : 'sensorNames', $pb.PbFieldType.PM, subBuilder: $13.ResourceName.create) + ..pc<$14.ResourceName>(1, _omitFieldNames ? '' : 'sensorNames', $pb.PbFieldType.PM, subBuilder: $14.ResourceName.create) ..hasRequiredFields = false ; @@ -141,7 +141,7 @@ class GetSensorsResponse extends $pb.GeneratedMessage { @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) - $core.List<$13.ResourceName> get sensorNames => $_getList(0); + $core.List<$14.ResourceName> get sensorNames => $_getList(0); } class GetReadingsRequest extends $pb.GeneratedMessage { @@ -149,9 +149,9 @@ class GetReadingsRequest extends $pb.GeneratedMessage { @$core.Deprecated('This field is deprecated.') $core.String? name, @$core.Deprecated('This field is deprecated.') - $core.Iterable<$13.ResourceName>? sensorNames, + $core.Iterable<$14.ResourceName>? sensorNames, @$core.Deprecated('This field is deprecated.') - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -174,8 +174,8 @@ class GetReadingsRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetReadingsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.sensors.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..pc<$13.ResourceName>(2, _omitFieldNames ? '' : 'sensorNames', $pb.PbFieldType.PM, subBuilder: $13.ResourceName.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..pc<$14.ResourceName>(2, _omitFieldNames ? '' : 'sensorNames', $pb.PbFieldType.PM, subBuilder: $14.ResourceName.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -215,15 +215,15 @@ class GetReadingsRequest extends $pb.GeneratedMessage { @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) - $core.List<$13.ResourceName> get sensorNames => $_getList(1); + $core.List<$14.ResourceName> get sensorNames => $_getList(1); /// Additional arguments to the method @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @@ -232,15 +232,15 @@ class GetReadingsRequest extends $pb.GeneratedMessage { void clearExtra() => clearField(99); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class Readings extends $pb.GeneratedMessage { factory Readings({ @$core.Deprecated('This field is deprecated.') - $13.ResourceName? name, + $14.ResourceName? name, @$core.Deprecated('This field is deprecated.') - $core.Map<$core.String, $42.Value>? readings, + $core.Map<$core.String, $43.Value>? readings, }) { final $result = create(); if (name != null) { @@ -258,8 +258,8 @@ class Readings extends $pb.GeneratedMessage { factory Readings.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Readings', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.sensors.v1'), createEmptyInstance: create) - ..aOM<$13.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $13.ResourceName.create) - ..m<$core.String, $42.Value>(2, _omitFieldNames ? '' : 'readings', entryClassName: 'Readings.ReadingsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $42.Value.create, valueDefaultOrMaker: $42.Value.getDefault, packageName: const $pb.PackageName('viam.service.sensors.v1')) + ..aOM<$14.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $14.ResourceName.create) + ..m<$core.String, $43.Value>(2, _omitFieldNames ? '' : 'readings', entryClassName: 'Readings.ReadingsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $43.Value.create, valueDefaultOrMaker: $43.Value.getDefault, packageName: const $pb.PackageName('viam.service.sensors.v1')) ..hasRequiredFields = false ; @@ -286,10 +286,10 @@ class Readings extends $pb.GeneratedMessage { @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) - $13.ResourceName get name => $_getN(0); + $14.ResourceName get name => $_getN(0); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) - set name($13.ResourceName v) { setField(1, v); } + set name($14.ResourceName v) { setField(1, v); } @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) $core.bool hasName() => $_has(0); @@ -298,11 +298,11 @@ class Readings extends $pb.GeneratedMessage { void clearName() => clearField(1); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(1) - $13.ResourceName ensureName() => $_ensure(0); + $14.ResourceName ensureName() => $_ensure(0); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) - $core.Map<$core.String, $42.Value> get readings => $_getMap(1); + $core.Map<$core.String, $43.Value> get readings => $_getMap(1); } class GetReadingsResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/service/sensors/v1/sensors.pbgrpc.dart b/lib/src/gen/service/sensors/v1/sensors.pbgrpc.dart index fb1a3a7cac9..ff366e425dd 100644 --- a/lib/src/gen/service/sensors/v1/sensors.pbgrpc.dart +++ b/lib/src/gen/service/sensors/v1/sensors.pbgrpc.dart @@ -15,25 +15,25 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'sensors.pb.dart' as $36; +import '../../../common/v1/common.pb.dart' as $14; +import 'sensors.pb.dart' as $37; export 'sensors.pb.dart'; @$pb.GrpcServiceName('viam.service.sensors.v1.SensorsService') class SensorsServiceClient extends $grpc.Client { - static final _$getSensors = $grpc.ClientMethod<$36.GetSensorsRequest, $36.GetSensorsResponse>( + static final _$getSensors = $grpc.ClientMethod<$37.GetSensorsRequest, $37.GetSensorsResponse>( '/viam.service.sensors.v1.SensorsService/GetSensors', - ($36.GetSensorsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $36.GetSensorsResponse.fromBuffer(value)); - static final _$getReadings = $grpc.ClientMethod<$36.GetReadingsRequest, $36.GetReadingsResponse>( + ($37.GetSensorsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $37.GetSensorsResponse.fromBuffer(value)); + static final _$getReadings = $grpc.ClientMethod<$37.GetReadingsRequest, $37.GetReadingsResponse>( '/viam.service.sensors.v1.SensorsService/GetReadings', - ($36.GetReadingsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $36.GetReadingsResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($37.GetReadingsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $37.GetReadingsResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.service.sensors.v1.SensorsService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); SensorsServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -41,15 +41,15 @@ class SensorsServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$36.GetSensorsResponse> getSensors($36.GetSensorsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$37.GetSensorsResponse> getSensors($37.GetSensorsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getSensors, request, options: options); } - $grpc.ResponseFuture<$36.GetReadingsResponse> getReadings($36.GetReadingsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$37.GetReadingsResponse> getReadings($37.GetReadingsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getReadings, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } } @@ -59,42 +59,42 @@ abstract class SensorsServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.sensors.v1.SensorsService'; SensorsServiceBase() { - $addMethod($grpc.ServiceMethod<$36.GetSensorsRequest, $36.GetSensorsResponse>( + $addMethod($grpc.ServiceMethod<$37.GetSensorsRequest, $37.GetSensorsResponse>( 'GetSensors', getSensors_Pre, false, false, - ($core.List<$core.int> value) => $36.GetSensorsRequest.fromBuffer(value), - ($36.GetSensorsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$36.GetReadingsRequest, $36.GetReadingsResponse>( + ($core.List<$core.int> value) => $37.GetSensorsRequest.fromBuffer(value), + ($37.GetSensorsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$37.GetReadingsRequest, $37.GetReadingsResponse>( 'GetReadings', getReadings_Pre, false, false, - ($core.List<$core.int> value) => $36.GetReadingsRequest.fromBuffer(value), - ($36.GetReadingsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $37.GetReadingsRequest.fromBuffer(value), + ($37.GetReadingsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$36.GetSensorsResponse> getSensors_Pre($grpc.ServiceCall call, $async.Future<$36.GetSensorsRequest> request) async { + $async.Future<$37.GetSensorsResponse> getSensors_Pre($grpc.ServiceCall call, $async.Future<$37.GetSensorsRequest> request) async { return getSensors(call, await request); } - $async.Future<$36.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$36.GetReadingsRequest> request) async { + $async.Future<$37.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$37.GetReadingsRequest> request) async { return getReadings(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$36.GetSensorsResponse> getSensors($grpc.ServiceCall call, $36.GetSensorsRequest request); - $async.Future<$36.GetReadingsResponse> getReadings($grpc.ServiceCall call, $36.GetReadingsRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); + $async.Future<$37.GetSensorsResponse> getSensors($grpc.ServiceCall call, $37.GetSensorsRequest request); + $async.Future<$37.GetReadingsResponse> getReadings($grpc.ServiceCall call, $37.GetReadingsRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); } diff --git a/lib/src/gen/service/shell/v1/shell.pb.dart b/lib/src/gen/service/shell/v1/shell.pb.dart index c7140204385..1c5d4210d30 100644 --- a/lib/src/gen/service/shell/v1/shell.pb.dart +++ b/lib/src/gen/service/shell/v1/shell.pb.dart @@ -14,8 +14,8 @@ import 'dart:core' as $core; import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../google/protobuf/struct.pb.dart' as $42; -import '../../../google/protobuf/timestamp.pb.dart' as $43; +import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/timestamp.pb.dart' as $44; import 'shell.pbenum.dart'; export 'shell.pbenum.dart'; @@ -24,7 +24,7 @@ class ShellRequest extends $pb.GeneratedMessage { factory ShellRequest({ $core.String? name, $core.String? dataIn, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -45,7 +45,7 @@ class ShellRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ShellRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.shell.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'dataIn') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -90,15 +90,15 @@ class ShellRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class ShellResponse extends $pb.GeneratedMessage { @@ -195,7 +195,7 @@ class FileData extends $pb.GeneratedMessage { $core.bool? isDir, $core.List<$core.int>? data, $core.bool? eof, - $43.Timestamp? modTime, + $44.Timestamp? modTime, $core.int? mode, }) { final $result = create(); @@ -232,7 +232,7 @@ class FileData extends $pb.GeneratedMessage { ..aOB(3, _omitFieldNames ? '' : 'isDir') ..a<$core.List<$core.int>>(4, _omitFieldNames ? '' : 'data', $pb.PbFieldType.OY) ..aOB(5, _omitFieldNames ? '' : 'eof') - ..aOM<$43.Timestamp>(6, _omitFieldNames ? '' : 'modTime', subBuilder: $43.Timestamp.create) + ..aOM<$44.Timestamp>(6, _omitFieldNames ? '' : 'modTime', subBuilder: $44.Timestamp.create) ..a<$core.int>(7, _omitFieldNames ? '' : 'mode', $pb.PbFieldType.OU3) ..hasRequiredFields = false ; @@ -305,15 +305,15 @@ class FileData extends $pb.GeneratedMessage { /// Note(erd): maybe support access time in the future if needed @$pb.TagNumber(6) - $43.Timestamp get modTime => $_getN(5); + $44.Timestamp get modTime => $_getN(5); @$pb.TagNumber(6) - set modTime($43.Timestamp v) { setField(6, v); } + set modTime($44.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasModTime() => $_has(5); @$pb.TagNumber(6) void clearModTime() => clearField(6); @$pb.TagNumber(6) - $43.Timestamp ensureModTime() => $_ensure(5); + $44.Timestamp ensureModTime() => $_ensure(5); @$pb.TagNumber(7) $core.int get mode => $_getIZ(6); @@ -331,7 +331,7 @@ class CopyFilesToMachineRequestMetadata extends $pb.GeneratedMessage { CopyFilesSourceType? sourceType, $core.String? destination, $core.bool? preserve, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -360,7 +360,7 @@ class CopyFilesToMachineRequestMetadata extends $pb.GeneratedMessage { ..e(2, _omitFieldNames ? '' : 'sourceType', $pb.PbFieldType.OE, defaultOrMaker: CopyFilesSourceType.COPY_FILES_SOURCE_TYPE_UNSPECIFIED, valueOf: CopyFilesSourceType.valueOf, enumValues: CopyFilesSourceType.values) ..aOS(3, _omitFieldNames ? '' : 'destination') ..aOB(4, _omitFieldNames ? '' : 'preserve') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -429,15 +429,15 @@ class CopyFilesToMachineRequestMetadata extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(4); + $43.Struct get extra => $_getN(4); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(4); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(4); + $43.Struct ensureExtra() => $_ensure(4); } enum CopyFilesToMachineRequest_Request { @@ -584,7 +584,7 @@ class CopyFilesFromMachineRequestMetadata extends $pb.GeneratedMessage { $core.Iterable<$core.String>? paths, $core.bool? allowRecursion, $core.bool? preserve, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -613,7 +613,7 @@ class CopyFilesFromMachineRequestMetadata extends $pb.GeneratedMessage { ..pPS(2, _omitFieldNames ? '' : 'paths') ..aOB(3, _omitFieldNames ? '' : 'allowRecursion') ..aOB(4, _omitFieldNames ? '' : 'preserve') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -676,15 +676,15 @@ class CopyFilesFromMachineRequestMetadata extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(4); + $43.Struct get extra => $_getN(4); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(4); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(4); + $43.Struct ensureExtra() => $_ensure(4); } enum CopyFilesFromMachineRequest_Request { diff --git a/lib/src/gen/service/shell/v1/shell.pbgrpc.dart b/lib/src/gen/service/shell/v1/shell.pbgrpc.dart index 0c3007c6484..0f073fd9477 100644 --- a/lib/src/gen/service/shell/v1/shell.pbgrpc.dart +++ b/lib/src/gen/service/shell/v1/shell.pbgrpc.dart @@ -15,29 +15,29 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'shell.pb.dart' as $37; +import '../../../common/v1/common.pb.dart' as $14; +import 'shell.pb.dart' as $38; export 'shell.pb.dart'; @$pb.GrpcServiceName('viam.service.shell.v1.ShellService') class ShellServiceClient extends $grpc.Client { - static final _$shell = $grpc.ClientMethod<$37.ShellRequest, $37.ShellResponse>( + static final _$shell = $grpc.ClientMethod<$38.ShellRequest, $38.ShellResponse>( '/viam.service.shell.v1.ShellService/Shell', - ($37.ShellRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $37.ShellResponse.fromBuffer(value)); - static final _$copyFilesToMachine = $grpc.ClientMethod<$37.CopyFilesToMachineRequest, $37.CopyFilesToMachineResponse>( + ($38.ShellRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $38.ShellResponse.fromBuffer(value)); + static final _$copyFilesToMachine = $grpc.ClientMethod<$38.CopyFilesToMachineRequest, $38.CopyFilesToMachineResponse>( '/viam.service.shell.v1.ShellService/CopyFilesToMachine', - ($37.CopyFilesToMachineRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $37.CopyFilesToMachineResponse.fromBuffer(value)); - static final _$copyFilesFromMachine = $grpc.ClientMethod<$37.CopyFilesFromMachineRequest, $37.CopyFilesFromMachineResponse>( + ($38.CopyFilesToMachineRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $38.CopyFilesToMachineResponse.fromBuffer(value)); + static final _$copyFilesFromMachine = $grpc.ClientMethod<$38.CopyFilesFromMachineRequest, $38.CopyFilesFromMachineResponse>( '/viam.service.shell.v1.ShellService/CopyFilesFromMachine', - ($37.CopyFilesFromMachineRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $37.CopyFilesFromMachineResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($38.CopyFilesFromMachineRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $38.CopyFilesFromMachineResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.service.shell.v1.ShellService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); ShellServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -45,19 +45,19 @@ class ShellServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseStream<$37.ShellResponse> shell($async.Stream<$37.ShellRequest> request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$38.ShellResponse> shell($async.Stream<$38.ShellRequest> request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$shell, request, options: options); } - $grpc.ResponseStream<$37.CopyFilesToMachineResponse> copyFilesToMachine($async.Stream<$37.CopyFilesToMachineRequest> request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$38.CopyFilesToMachineResponse> copyFilesToMachine($async.Stream<$38.CopyFilesToMachineRequest> request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$copyFilesToMachine, request, options: options); } - $grpc.ResponseStream<$37.CopyFilesFromMachineResponse> copyFilesFromMachine($async.Stream<$37.CopyFilesFromMachineRequest> request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$38.CopyFilesFromMachineResponse> copyFilesFromMachine($async.Stream<$38.CopyFilesFromMachineRequest> request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$copyFilesFromMachine, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } } @@ -67,42 +67,42 @@ abstract class ShellServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.shell.v1.ShellService'; ShellServiceBase() { - $addMethod($grpc.ServiceMethod<$37.ShellRequest, $37.ShellResponse>( + $addMethod($grpc.ServiceMethod<$38.ShellRequest, $38.ShellResponse>( 'Shell', shell, true, true, - ($core.List<$core.int> value) => $37.ShellRequest.fromBuffer(value), - ($37.ShellResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$37.CopyFilesToMachineRequest, $37.CopyFilesToMachineResponse>( + ($core.List<$core.int> value) => $38.ShellRequest.fromBuffer(value), + ($38.ShellResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$38.CopyFilesToMachineRequest, $38.CopyFilesToMachineResponse>( 'CopyFilesToMachine', copyFilesToMachine, true, true, - ($core.List<$core.int> value) => $37.CopyFilesToMachineRequest.fromBuffer(value), - ($37.CopyFilesToMachineResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$37.CopyFilesFromMachineRequest, $37.CopyFilesFromMachineResponse>( + ($core.List<$core.int> value) => $38.CopyFilesToMachineRequest.fromBuffer(value), + ($38.CopyFilesToMachineResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$38.CopyFilesFromMachineRequest, $38.CopyFilesFromMachineResponse>( 'CopyFilesFromMachine', copyFilesFromMachine, true, true, - ($core.List<$core.int> value) => $37.CopyFilesFromMachineRequest.fromBuffer(value), - ($37.CopyFilesFromMachineResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $38.CopyFilesFromMachineRequest.fromBuffer(value), + ($38.CopyFilesFromMachineResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Stream<$37.ShellResponse> shell($grpc.ServiceCall call, $async.Stream<$37.ShellRequest> request); - $async.Stream<$37.CopyFilesToMachineResponse> copyFilesToMachine($grpc.ServiceCall call, $async.Stream<$37.CopyFilesToMachineRequest> request); - $async.Stream<$37.CopyFilesFromMachineResponse> copyFilesFromMachine($grpc.ServiceCall call, $async.Stream<$37.CopyFilesFromMachineRequest> request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); + $async.Stream<$38.ShellResponse> shell($grpc.ServiceCall call, $async.Stream<$38.ShellRequest> request); + $async.Stream<$38.CopyFilesToMachineResponse> copyFilesToMachine($grpc.ServiceCall call, $async.Stream<$38.CopyFilesToMachineRequest> request); + $async.Stream<$38.CopyFilesFromMachineResponse> copyFilesFromMachine($grpc.ServiceCall call, $async.Stream<$38.CopyFilesFromMachineRequest> request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); } diff --git a/lib/src/gen/service/slam/v1/slam.pb.dart b/lib/src/gen/service/slam/v1/slam.pb.dart index c60a4d84f48..caab629e66c 100644 --- a/lib/src/gen/service/slam/v1/slam.pb.dart +++ b/lib/src/gen/service/slam/v1/slam.pb.dart @@ -13,7 +13,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; +import '../../../common/v1/common.pb.dart' as $14; import 'slam.pbenum.dart'; export 'slam.pbenum.dart'; @@ -71,7 +71,7 @@ class GetPositionRequest extends $pb.GeneratedMessage { class GetPositionResponse extends $pb.GeneratedMessage { factory GetPositionResponse({ - $13.Pose? pose, + $14.Pose? pose, }) { final $result = create(); if (pose != null) { @@ -84,7 +84,7 @@ class GetPositionResponse extends $pb.GeneratedMessage { factory GetPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPositionResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.slam.v1'), createEmptyInstance: create) - ..aOM<$13.Pose>(1, _omitFieldNames ? '' : 'pose', subBuilder: $13.Pose.create) + ..aOM<$14.Pose>(1, _omitFieldNames ? '' : 'pose', subBuilder: $14.Pose.create) ..hasRequiredFields = false ; @@ -111,15 +111,15 @@ class GetPositionResponse extends $pb.GeneratedMessage { /// Current position of the specified component in the SLAM Map @$pb.TagNumber(1) - $13.Pose get pose => $_getN(0); + $14.Pose get pose => $_getN(0); @$pb.TagNumber(1) - set pose($13.Pose v) { setField(1, v); } + set pose($14.Pose v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasPose() => $_has(0); @$pb.TagNumber(1) void clearPose() => clearField(1); @$pb.TagNumber(1) - $13.Pose ensurePose() => $_ensure(0); + $14.Pose ensurePose() => $_ensure(0); } class GetPointCloudMapRequest extends $pb.GeneratedMessage { diff --git a/lib/src/gen/service/slam/v1/slam.pbgrpc.dart b/lib/src/gen/service/slam/v1/slam.pbgrpc.dart index 409055284cb..2079e0df5d8 100644 --- a/lib/src/gen/service/slam/v1/slam.pbgrpc.dart +++ b/lib/src/gen/service/slam/v1/slam.pbgrpc.dart @@ -15,33 +15,33 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'slam.pb.dart' as $38; +import '../../../common/v1/common.pb.dart' as $14; +import 'slam.pb.dart' as $39; export 'slam.pb.dart'; @$pb.GrpcServiceName('viam.service.slam.v1.SLAMService') class SLAMServiceClient extends $grpc.Client { - static final _$getPosition = $grpc.ClientMethod<$38.GetPositionRequest, $38.GetPositionResponse>( + static final _$getPosition = $grpc.ClientMethod<$39.GetPositionRequest, $39.GetPositionResponse>( '/viam.service.slam.v1.SLAMService/GetPosition', - ($38.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.GetPositionResponse.fromBuffer(value)); - static final _$getPointCloudMap = $grpc.ClientMethod<$38.GetPointCloudMapRequest, $38.GetPointCloudMapResponse>( + ($39.GetPositionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $39.GetPositionResponse.fromBuffer(value)); + static final _$getPointCloudMap = $grpc.ClientMethod<$39.GetPointCloudMapRequest, $39.GetPointCloudMapResponse>( '/viam.service.slam.v1.SLAMService/GetPointCloudMap', - ($38.GetPointCloudMapRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.GetPointCloudMapResponse.fromBuffer(value)); - static final _$getInternalState = $grpc.ClientMethod<$38.GetInternalStateRequest, $38.GetInternalStateResponse>( + ($39.GetPointCloudMapRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $39.GetPointCloudMapResponse.fromBuffer(value)); + static final _$getInternalState = $grpc.ClientMethod<$39.GetInternalStateRequest, $39.GetInternalStateResponse>( '/viam.service.slam.v1.SLAMService/GetInternalState', - ($38.GetInternalStateRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.GetInternalStateResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$38.GetPropertiesRequest, $38.GetPropertiesResponse>( + ($39.GetInternalStateRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $39.GetInternalStateResponse.fromBuffer(value)); + static final _$getProperties = $grpc.ClientMethod<$39.GetPropertiesRequest, $39.GetPropertiesResponse>( '/viam.service.slam.v1.SLAMService/GetProperties', - ($38.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.GetPropertiesResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($39.GetPropertiesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $39.GetPropertiesResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.service.slam.v1.SLAMService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); SLAMServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -49,23 +49,23 @@ class SLAMServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$38.GetPositionResponse> getPosition($38.GetPositionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$39.GetPositionResponse> getPosition($39.GetPositionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPosition, request, options: options); } - $grpc.ResponseStream<$38.GetPointCloudMapResponse> getPointCloudMap($38.GetPointCloudMapRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$39.GetPointCloudMapResponse> getPointCloudMap($39.GetPointCloudMapRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$getPointCloudMap, $async.Stream.fromIterable([request]), options: options); } - $grpc.ResponseStream<$38.GetInternalStateResponse> getInternalState($38.GetInternalStateRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$39.GetInternalStateResponse> getInternalState($39.GetInternalStateRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$getInternalState, $async.Stream.fromIterable([request]), options: options); } - $grpc.ResponseFuture<$38.GetPropertiesResponse> getProperties($38.GetPropertiesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$39.GetPropertiesResponse> getProperties($39.GetPropertiesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getProperties, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } } @@ -75,66 +75,66 @@ abstract class SLAMServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.slam.v1.SLAMService'; SLAMServiceBase() { - $addMethod($grpc.ServiceMethod<$38.GetPositionRequest, $38.GetPositionResponse>( + $addMethod($grpc.ServiceMethod<$39.GetPositionRequest, $39.GetPositionResponse>( 'GetPosition', getPosition_Pre, false, false, - ($core.List<$core.int> value) => $38.GetPositionRequest.fromBuffer(value), - ($38.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$38.GetPointCloudMapRequest, $38.GetPointCloudMapResponse>( + ($core.List<$core.int> value) => $39.GetPositionRequest.fromBuffer(value), + ($39.GetPositionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$39.GetPointCloudMapRequest, $39.GetPointCloudMapResponse>( 'GetPointCloudMap', getPointCloudMap_Pre, false, true, - ($core.List<$core.int> value) => $38.GetPointCloudMapRequest.fromBuffer(value), - ($38.GetPointCloudMapResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$38.GetInternalStateRequest, $38.GetInternalStateResponse>( + ($core.List<$core.int> value) => $39.GetPointCloudMapRequest.fromBuffer(value), + ($39.GetPointCloudMapResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$39.GetInternalStateRequest, $39.GetInternalStateResponse>( 'GetInternalState', getInternalState_Pre, false, true, - ($core.List<$core.int> value) => $38.GetInternalStateRequest.fromBuffer(value), - ($38.GetInternalStateResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$38.GetPropertiesRequest, $38.GetPropertiesResponse>( + ($core.List<$core.int> value) => $39.GetInternalStateRequest.fromBuffer(value), + ($39.GetInternalStateResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$39.GetPropertiesRequest, $39.GetPropertiesResponse>( 'GetProperties', getProperties_Pre, false, false, - ($core.List<$core.int> value) => $38.GetPropertiesRequest.fromBuffer(value), - ($38.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $39.GetPropertiesRequest.fromBuffer(value), + ($39.GetPropertiesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$38.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$38.GetPositionRequest> request) async { + $async.Future<$39.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$39.GetPositionRequest> request) async { return getPosition(call, await request); } - $async.Stream<$38.GetPointCloudMapResponse> getPointCloudMap_Pre($grpc.ServiceCall call, $async.Future<$38.GetPointCloudMapRequest> request) async* { + $async.Stream<$39.GetPointCloudMapResponse> getPointCloudMap_Pre($grpc.ServiceCall call, $async.Future<$39.GetPointCloudMapRequest> request) async* { yield* getPointCloudMap(call, await request); } - $async.Stream<$38.GetInternalStateResponse> getInternalState_Pre($grpc.ServiceCall call, $async.Future<$38.GetInternalStateRequest> request) async* { + $async.Stream<$39.GetInternalStateResponse> getInternalState_Pre($grpc.ServiceCall call, $async.Future<$39.GetInternalStateRequest> request) async* { yield* getInternalState(call, await request); } - $async.Future<$38.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$38.GetPropertiesRequest> request) async { + $async.Future<$39.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$39.GetPropertiesRequest> request) async { return getProperties(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$38.GetPositionResponse> getPosition($grpc.ServiceCall call, $38.GetPositionRequest request); - $async.Stream<$38.GetPointCloudMapResponse> getPointCloudMap($grpc.ServiceCall call, $38.GetPointCloudMapRequest request); - $async.Stream<$38.GetInternalStateResponse> getInternalState($grpc.ServiceCall call, $38.GetInternalStateRequest request); - $async.Future<$38.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $38.GetPropertiesRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); + $async.Future<$39.GetPositionResponse> getPosition($grpc.ServiceCall call, $39.GetPositionRequest request); + $async.Stream<$39.GetPointCloudMapResponse> getPointCloudMap($grpc.ServiceCall call, $39.GetPointCloudMapRequest request); + $async.Stream<$39.GetInternalStateResponse> getInternalState($grpc.ServiceCall call, $39.GetInternalStateRequest request); + $async.Future<$39.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $39.GetPropertiesRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); } diff --git a/lib/src/gen/service/vision/v1/vision.pb.dart b/lib/src/gen/service/vision/v1/vision.pb.dart index 6a23711c952..e360e2e5af2 100644 --- a/lib/src/gen/service/vision/v1/vision.pb.dart +++ b/lib/src/gen/service/vision/v1/vision.pb.dart @@ -14,9 +14,9 @@ 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 $13; -import '../../../component/camera/v1/camera.pb.dart' as $18; -import '../../../google/protobuf/struct.pb.dart' as $42; +import '../../../common/v1/common.pb.dart' as $14; +import '../../../component/camera/v1/camera.pb.dart' as $19; +import '../../../google/protobuf/struct.pb.dart' as $43; class GetDetectionsRequest extends $pb.GeneratedMessage { factory GetDetectionsRequest({ @@ -25,7 +25,7 @@ class GetDetectionsRequest extends $pb.GeneratedMessage { $fixnum.Int64? width, $fixnum.Int64? height, $core.String? mimeType, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -58,7 +58,7 @@ class GetDetectionsRequest extends $pb.GeneratedMessage { ..aInt64(3, _omitFieldNames ? '' : 'width') ..aInt64(4, _omitFieldNames ? '' : 'height') ..aOS(5, _omitFieldNames ? '' : 'mimeType') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -135,15 +135,15 @@ class GetDetectionsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(5); + $43.Struct get extra => $_getN(5); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(5); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(5); + $43.Struct ensureExtra() => $_ensure(5); } class GetDetectionsResponse extends $pb.GeneratedMessage { @@ -195,7 +195,7 @@ class GetDetectionsFromCameraRequest extends $pb.GeneratedMessage { factory GetDetectionsFromCameraRequest({ $core.String? name, $core.String? cameraName, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -216,7 +216,7 @@ class GetDetectionsFromCameraRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetDetectionsFromCameraRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'cameraName') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -262,15 +262,15 @@ class GetDetectionsFromCameraRequest extends $pb.GeneratedMessage { void clearCameraName() => clearField(2); @$pb.TagNumber(99) - $42.Struct get extra => $_getN(2); + $43.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(2); + $43.Struct ensureExtra() => $_ensure(2); } class GetDetectionsFromCameraResponse extends $pb.GeneratedMessage { @@ -449,7 +449,7 @@ class GetClassificationsRequest extends $pb.GeneratedMessage { $core.int? height, $core.String? mimeType, $core.int? n, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -486,7 +486,7 @@ class GetClassificationsRequest extends $pb.GeneratedMessage { ..a<$core.int>(4, _omitFieldNames ? '' : 'height', $pb.PbFieldType.O3) ..aOS(5, _omitFieldNames ? '' : 'mimeType') ..a<$core.int>(6, _omitFieldNames ? '' : 'n', $pb.PbFieldType.O3) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -573,15 +573,15 @@ class GetClassificationsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(6); + $43.Struct get extra => $_getN(6); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(6); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(6); + $43.Struct ensureExtra() => $_ensure(6); } class GetClassificationsResponse extends $pb.GeneratedMessage { @@ -633,7 +633,7 @@ class GetClassificationsFromCameraRequest extends $pb.GeneratedMessage { $core.String? name, $core.String? cameraName, $core.int? n, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -658,7 +658,7 @@ class GetClassificationsFromCameraRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'cameraName') ..a<$core.int>(3, _omitFieldNames ? '' : 'n', $pb.PbFieldType.O3) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -715,15 +715,15 @@ class GetClassificationsFromCameraRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class GetClassificationsFromCameraResponse extends $pb.GeneratedMessage { @@ -842,7 +842,7 @@ class GetObjectPointCloudsRequest extends $pb.GeneratedMessage { $core.String? name, $core.String? cameraName, $core.String? mimeType, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -867,7 +867,7 @@ class GetObjectPointCloudsRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'cameraName') ..aOS(3, _omitFieldNames ? '' : 'mimeType') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -923,21 +923,21 @@ class GetObjectPointCloudsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(3); + $43.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(3); + $43.Struct ensureExtra() => $_ensure(3); } class GetObjectPointCloudsResponse extends $pb.GeneratedMessage { factory GetObjectPointCloudsResponse({ $core.String? mimeType, - $core.Iterable<$13.PointCloudObject>? objects, + $core.Iterable<$14.PointCloudObject>? objects, }) { final $result = create(); if (mimeType != null) { @@ -954,7 +954,7 @@ class GetObjectPointCloudsResponse extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetObjectPointCloudsResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'mimeType') - ..pc<$13.PointCloudObject>(2, _omitFieldNames ? '' : 'objects', $pb.PbFieldType.PM, subBuilder: $13.PointCloudObject.create) + ..pc<$14.PointCloudObject>(2, _omitFieldNames ? '' : 'objects', $pb.PbFieldType.PM, subBuilder: $14.PointCloudObject.create) ..hasRequiredFields = false ; @@ -991,13 +991,13 @@ class GetObjectPointCloudsResponse extends $pb.GeneratedMessage { /// List of objects in the scene @$pb.TagNumber(2) - $core.List<$13.PointCloudObject> get objects => $_getList(1); + $core.List<$14.PointCloudObject> get objects => $_getList(1); } class GetPropertiesRequest extends $pb.GeneratedMessage { factory GetPropertiesRequest({ $core.String? name, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1014,7 +1014,7 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetPropertiesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'name') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1051,15 +1051,15 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $42.Struct get extra => $_getN(1); + $43.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(1); + $43.Struct ensureExtra() => $_ensure(1); } class CaptureAllFromCameraRequest extends $pb.GeneratedMessage { @@ -1070,7 +1070,7 @@ class CaptureAllFromCameraRequest extends $pb.GeneratedMessage { $core.bool? returnClassifications, $core.bool? returnDetections, $core.bool? returnObjectPointClouds, - $42.Struct? extra, + $43.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1107,7 +1107,7 @@ class CaptureAllFromCameraRequest extends $pb.GeneratedMessage { ..aOB(4, _omitFieldNames ? '' : 'returnClassifications') ..aOB(5, _omitFieldNames ? '' : 'returnDetections') ..aOB(6, _omitFieldNames ? '' : 'returnObjectPointClouds') - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1193,24 +1193,24 @@ class CaptureAllFromCameraRequest extends $pb.GeneratedMessage { void clearReturnObjectPointClouds() => clearField(6); @$pb.TagNumber(99) - $42.Struct get extra => $_getN(6); + $43.Struct get extra => $_getN(6); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(6); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(6); + $43.Struct ensureExtra() => $_ensure(6); } class CaptureAllFromCameraResponse extends $pb.GeneratedMessage { factory CaptureAllFromCameraResponse({ - $18.Image? image, + $19.Image? image, $core.Iterable? detections, $core.Iterable? classifications, - $core.Iterable<$13.PointCloudObject>? objects, - $42.Struct? extra, + $core.Iterable<$14.PointCloudObject>? objects, + $43.Struct? extra, }) { final $result = create(); if (image != null) { @@ -1235,11 +1235,11 @@ class CaptureAllFromCameraResponse extends $pb.GeneratedMessage { factory CaptureAllFromCameraResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'CaptureAllFromCameraResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.vision.v1'), createEmptyInstance: create) - ..aOM<$18.Image>(1, _omitFieldNames ? '' : 'image', subBuilder: $18.Image.create) + ..aOM<$19.Image>(1, _omitFieldNames ? '' : 'image', subBuilder: $19.Image.create) ..pc(2, _omitFieldNames ? '' : 'detections', $pb.PbFieldType.PM, subBuilder: Detection.create) ..pc(3, _omitFieldNames ? '' : 'classifications', $pb.PbFieldType.PM, subBuilder: Classification.create) - ..pc<$13.PointCloudObject>(4, _omitFieldNames ? '' : 'objects', $pb.PbFieldType.PM, subBuilder: $13.PointCloudObject.create) - ..aOM<$42.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $42.Struct.create) + ..pc<$14.PointCloudObject>(4, _omitFieldNames ? '' : 'objects', $pb.PbFieldType.PM, subBuilder: $14.PointCloudObject.create) + ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) ..hasRequiredFields = false ; @@ -1265,15 +1265,15 @@ class CaptureAllFromCameraResponse extends $pb.GeneratedMessage { static CaptureAllFromCameraResponse? _defaultInstance; @$pb.TagNumber(1) - $18.Image get image => $_getN(0); + $19.Image get image => $_getN(0); @$pb.TagNumber(1) - set image($18.Image v) { setField(1, v); } + set image($19.Image v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasImage() => $_has(0); @$pb.TagNumber(1) void clearImage() => clearField(1); @$pb.TagNumber(1) - $18.Image ensureImage() => $_ensure(0); + $19.Image ensureImage() => $_ensure(0); @$pb.TagNumber(2) $core.List get detections => $_getList(1); @@ -1282,18 +1282,18 @@ class CaptureAllFromCameraResponse extends $pb.GeneratedMessage { $core.List get classifications => $_getList(2); @$pb.TagNumber(4) - $core.List<$13.PointCloudObject> get objects => $_getList(3); + $core.List<$14.PointCloudObject> get objects => $_getList(3); @$pb.TagNumber(99) - $42.Struct get extra => $_getN(4); + $43.Struct get extra => $_getN(4); @$pb.TagNumber(99) - set extra($42.Struct v) { setField(99, v); } + set extra($43.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(4); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $42.Struct ensureExtra() => $_ensure(4); + $43.Struct ensureExtra() => $_ensure(4); } class GetPropertiesResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/service/vision/v1/vision.pbgrpc.dart b/lib/src/gen/service/vision/v1/vision.pbgrpc.dart index ab670c65900..f65b0a6bbc2 100644 --- a/lib/src/gen/service/vision/v1/vision.pbgrpc.dart +++ b/lib/src/gen/service/vision/v1/vision.pbgrpc.dart @@ -15,45 +15,45 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import '../../../common/v1/common.pb.dart' as $13; -import 'vision.pb.dart' as $39; +import '../../../common/v1/common.pb.dart' as $14; +import 'vision.pb.dart' as $40; export 'vision.pb.dart'; @$pb.GrpcServiceName('viam.service.vision.v1.VisionService') class VisionServiceClient extends $grpc.Client { - static final _$getDetectionsFromCamera = $grpc.ClientMethod<$39.GetDetectionsFromCameraRequest, $39.GetDetectionsFromCameraResponse>( + static final _$getDetectionsFromCamera = $grpc.ClientMethod<$40.GetDetectionsFromCameraRequest, $40.GetDetectionsFromCameraResponse>( '/viam.service.vision.v1.VisionService/GetDetectionsFromCamera', - ($39.GetDetectionsFromCameraRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetDetectionsFromCameraResponse.fromBuffer(value)); - static final _$getDetections = $grpc.ClientMethod<$39.GetDetectionsRequest, $39.GetDetectionsResponse>( + ($40.GetDetectionsFromCameraRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $40.GetDetectionsFromCameraResponse.fromBuffer(value)); + static final _$getDetections = $grpc.ClientMethod<$40.GetDetectionsRequest, $40.GetDetectionsResponse>( '/viam.service.vision.v1.VisionService/GetDetections', - ($39.GetDetectionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetDetectionsResponse.fromBuffer(value)); - static final _$getClassificationsFromCamera = $grpc.ClientMethod<$39.GetClassificationsFromCameraRequest, $39.GetClassificationsFromCameraResponse>( + ($40.GetDetectionsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $40.GetDetectionsResponse.fromBuffer(value)); + static final _$getClassificationsFromCamera = $grpc.ClientMethod<$40.GetClassificationsFromCameraRequest, $40.GetClassificationsFromCameraResponse>( '/viam.service.vision.v1.VisionService/GetClassificationsFromCamera', - ($39.GetClassificationsFromCameraRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetClassificationsFromCameraResponse.fromBuffer(value)); - static final _$getClassifications = $grpc.ClientMethod<$39.GetClassificationsRequest, $39.GetClassificationsResponse>( + ($40.GetClassificationsFromCameraRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $40.GetClassificationsFromCameraResponse.fromBuffer(value)); + static final _$getClassifications = $grpc.ClientMethod<$40.GetClassificationsRequest, $40.GetClassificationsResponse>( '/viam.service.vision.v1.VisionService/GetClassifications', - ($39.GetClassificationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetClassificationsResponse.fromBuffer(value)); - static final _$getObjectPointClouds = $grpc.ClientMethod<$39.GetObjectPointCloudsRequest, $39.GetObjectPointCloudsResponse>( + ($40.GetClassificationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $40.GetClassificationsResponse.fromBuffer(value)); + static final _$getObjectPointClouds = $grpc.ClientMethod<$40.GetObjectPointCloudsRequest, $40.GetObjectPointCloudsResponse>( '/viam.service.vision.v1.VisionService/GetObjectPointClouds', - ($39.GetObjectPointCloudsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetObjectPointCloudsResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$39.GetPropertiesRequest, $39.GetPropertiesResponse>( + ($40.GetObjectPointCloudsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $40.GetObjectPointCloudsResponse.fromBuffer(value)); + static final _$getProperties = $grpc.ClientMethod<$40.GetPropertiesRequest, $40.GetPropertiesResponse>( '/viam.service.vision.v1.VisionService/GetProperties', - ($39.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetPropertiesResponse.fromBuffer(value)); - static final _$captureAllFromCamera = $grpc.ClientMethod<$39.CaptureAllFromCameraRequest, $39.CaptureAllFromCameraResponse>( + ($40.GetPropertiesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $40.GetPropertiesResponse.fromBuffer(value)); + static final _$captureAllFromCamera = $grpc.ClientMethod<$40.CaptureAllFromCameraRequest, $40.CaptureAllFromCameraResponse>( '/viam.service.vision.v1.VisionService/CaptureAllFromCamera', - ($39.CaptureAllFromCameraRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.CaptureAllFromCameraResponse.fromBuffer(value)); - static final _$doCommand = $grpc.ClientMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($40.CaptureAllFromCameraRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $40.CaptureAllFromCameraResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$14.DoCommandRequest, $14.DoCommandResponse>( '/viam.service.vision.v1.VisionService/DoCommand', - ($13.DoCommandRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $13.DoCommandResponse.fromBuffer(value)); + ($14.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $14.DoCommandResponse.fromBuffer(value)); VisionServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -61,35 +61,35 @@ class VisionServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$39.GetDetectionsFromCameraResponse> getDetectionsFromCamera($39.GetDetectionsFromCameraRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$40.GetDetectionsFromCameraResponse> getDetectionsFromCamera($40.GetDetectionsFromCameraRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getDetectionsFromCamera, request, options: options); } - $grpc.ResponseFuture<$39.GetDetectionsResponse> getDetections($39.GetDetectionsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$40.GetDetectionsResponse> getDetections($40.GetDetectionsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getDetections, request, options: options); } - $grpc.ResponseFuture<$39.GetClassificationsFromCameraResponse> getClassificationsFromCamera($39.GetClassificationsFromCameraRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$40.GetClassificationsFromCameraResponse> getClassificationsFromCamera($40.GetClassificationsFromCameraRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getClassificationsFromCamera, request, options: options); } - $grpc.ResponseFuture<$39.GetClassificationsResponse> getClassifications($39.GetClassificationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$40.GetClassificationsResponse> getClassifications($40.GetClassificationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getClassifications, request, options: options); } - $grpc.ResponseFuture<$39.GetObjectPointCloudsResponse> getObjectPointClouds($39.GetObjectPointCloudsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$40.GetObjectPointCloudsResponse> getObjectPointClouds($40.GetObjectPointCloudsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getObjectPointClouds, request, options: options); } - $grpc.ResponseFuture<$39.GetPropertiesResponse> getProperties($39.GetPropertiesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$40.GetPropertiesResponse> getProperties($40.GetPropertiesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getProperties, request, options: options); } - $grpc.ResponseFuture<$39.CaptureAllFromCameraResponse> captureAllFromCamera($39.CaptureAllFromCameraRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$40.CaptureAllFromCameraResponse> captureAllFromCamera($40.CaptureAllFromCameraRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$captureAllFromCamera, request, options: options); } - $grpc.ResponseFuture<$13.DoCommandResponse> doCommand($13.DoCommandRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$14.DoCommandResponse> doCommand($14.DoCommandRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$doCommand, request, options: options); } } @@ -99,102 +99,102 @@ abstract class VisionServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.vision.v1.VisionService'; VisionServiceBase() { - $addMethod($grpc.ServiceMethod<$39.GetDetectionsFromCameraRequest, $39.GetDetectionsFromCameraResponse>( + $addMethod($grpc.ServiceMethod<$40.GetDetectionsFromCameraRequest, $40.GetDetectionsFromCameraResponse>( 'GetDetectionsFromCamera', getDetectionsFromCamera_Pre, false, false, - ($core.List<$core.int> value) => $39.GetDetectionsFromCameraRequest.fromBuffer(value), - ($39.GetDetectionsFromCameraResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.GetDetectionsRequest, $39.GetDetectionsResponse>( + ($core.List<$core.int> value) => $40.GetDetectionsFromCameraRequest.fromBuffer(value), + ($40.GetDetectionsFromCameraResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$40.GetDetectionsRequest, $40.GetDetectionsResponse>( 'GetDetections', getDetections_Pre, false, false, - ($core.List<$core.int> value) => $39.GetDetectionsRequest.fromBuffer(value), - ($39.GetDetectionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.GetClassificationsFromCameraRequest, $39.GetClassificationsFromCameraResponse>( + ($core.List<$core.int> value) => $40.GetDetectionsRequest.fromBuffer(value), + ($40.GetDetectionsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$40.GetClassificationsFromCameraRequest, $40.GetClassificationsFromCameraResponse>( 'GetClassificationsFromCamera', getClassificationsFromCamera_Pre, false, false, - ($core.List<$core.int> value) => $39.GetClassificationsFromCameraRequest.fromBuffer(value), - ($39.GetClassificationsFromCameraResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.GetClassificationsRequest, $39.GetClassificationsResponse>( + ($core.List<$core.int> value) => $40.GetClassificationsFromCameraRequest.fromBuffer(value), + ($40.GetClassificationsFromCameraResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$40.GetClassificationsRequest, $40.GetClassificationsResponse>( 'GetClassifications', getClassifications_Pre, false, false, - ($core.List<$core.int> value) => $39.GetClassificationsRequest.fromBuffer(value), - ($39.GetClassificationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.GetObjectPointCloudsRequest, $39.GetObjectPointCloudsResponse>( + ($core.List<$core.int> value) => $40.GetClassificationsRequest.fromBuffer(value), + ($40.GetClassificationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$40.GetObjectPointCloudsRequest, $40.GetObjectPointCloudsResponse>( 'GetObjectPointClouds', getObjectPointClouds_Pre, false, false, - ($core.List<$core.int> value) => $39.GetObjectPointCloudsRequest.fromBuffer(value), - ($39.GetObjectPointCloudsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.GetPropertiesRequest, $39.GetPropertiesResponse>( + ($core.List<$core.int> value) => $40.GetObjectPointCloudsRequest.fromBuffer(value), + ($40.GetObjectPointCloudsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$40.GetPropertiesRequest, $40.GetPropertiesResponse>( 'GetProperties', getProperties_Pre, false, false, - ($core.List<$core.int> value) => $39.GetPropertiesRequest.fromBuffer(value), - ($39.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.CaptureAllFromCameraRequest, $39.CaptureAllFromCameraResponse>( + ($core.List<$core.int> value) => $40.GetPropertiesRequest.fromBuffer(value), + ($40.GetPropertiesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$40.CaptureAllFromCameraRequest, $40.CaptureAllFromCameraResponse>( 'CaptureAllFromCamera', captureAllFromCamera_Pre, false, false, - ($core.List<$core.int> value) => $39.CaptureAllFromCameraRequest.fromBuffer(value), - ($39.CaptureAllFromCameraResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$13.DoCommandRequest, $13.DoCommandResponse>( + ($core.List<$core.int> value) => $40.CaptureAllFromCameraRequest.fromBuffer(value), + ($40.CaptureAllFromCameraResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$14.DoCommandRequest, $14.DoCommandResponse>( 'DoCommand', doCommand_Pre, false, false, - ($core.List<$core.int> value) => $13.DoCommandRequest.fromBuffer(value), - ($13.DoCommandResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $14.DoCommandRequest.fromBuffer(value), + ($14.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$39.GetDetectionsFromCameraResponse> getDetectionsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$39.GetDetectionsFromCameraRequest> request) async { + $async.Future<$40.GetDetectionsFromCameraResponse> getDetectionsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$40.GetDetectionsFromCameraRequest> request) async { return getDetectionsFromCamera(call, await request); } - $async.Future<$39.GetDetectionsResponse> getDetections_Pre($grpc.ServiceCall call, $async.Future<$39.GetDetectionsRequest> request) async { + $async.Future<$40.GetDetectionsResponse> getDetections_Pre($grpc.ServiceCall call, $async.Future<$40.GetDetectionsRequest> request) async { return getDetections(call, await request); } - $async.Future<$39.GetClassificationsFromCameraResponse> getClassificationsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$39.GetClassificationsFromCameraRequest> request) async { + $async.Future<$40.GetClassificationsFromCameraResponse> getClassificationsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$40.GetClassificationsFromCameraRequest> request) async { return getClassificationsFromCamera(call, await request); } - $async.Future<$39.GetClassificationsResponse> getClassifications_Pre($grpc.ServiceCall call, $async.Future<$39.GetClassificationsRequest> request) async { + $async.Future<$40.GetClassificationsResponse> getClassifications_Pre($grpc.ServiceCall call, $async.Future<$40.GetClassificationsRequest> request) async { return getClassifications(call, await request); } - $async.Future<$39.GetObjectPointCloudsResponse> getObjectPointClouds_Pre($grpc.ServiceCall call, $async.Future<$39.GetObjectPointCloudsRequest> request) async { + $async.Future<$40.GetObjectPointCloudsResponse> getObjectPointClouds_Pre($grpc.ServiceCall call, $async.Future<$40.GetObjectPointCloudsRequest> request) async { return getObjectPointClouds(call, await request); } - $async.Future<$39.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$39.GetPropertiesRequest> request) async { + $async.Future<$40.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$40.GetPropertiesRequest> request) async { return getProperties(call, await request); } - $async.Future<$39.CaptureAllFromCameraResponse> captureAllFromCamera_Pre($grpc.ServiceCall call, $async.Future<$39.CaptureAllFromCameraRequest> request) async { + $async.Future<$40.CaptureAllFromCameraResponse> captureAllFromCamera_Pre($grpc.ServiceCall call, $async.Future<$40.CaptureAllFromCameraRequest> request) async { return captureAllFromCamera(call, await request); } - $async.Future<$13.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$13.DoCommandRequest> request) async { + $async.Future<$14.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$14.DoCommandRequest> request) async { return doCommand(call, await request); } - $async.Future<$39.GetDetectionsFromCameraResponse> getDetectionsFromCamera($grpc.ServiceCall call, $39.GetDetectionsFromCameraRequest request); - $async.Future<$39.GetDetectionsResponse> getDetections($grpc.ServiceCall call, $39.GetDetectionsRequest request); - $async.Future<$39.GetClassificationsFromCameraResponse> getClassificationsFromCamera($grpc.ServiceCall call, $39.GetClassificationsFromCameraRequest request); - $async.Future<$39.GetClassificationsResponse> getClassifications($grpc.ServiceCall call, $39.GetClassificationsRequest request); - $async.Future<$39.GetObjectPointCloudsResponse> getObjectPointClouds($grpc.ServiceCall call, $39.GetObjectPointCloudsRequest request); - $async.Future<$39.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $39.GetPropertiesRequest request); - $async.Future<$39.CaptureAllFromCameraResponse> captureAllFromCamera($grpc.ServiceCall call, $39.CaptureAllFromCameraRequest request); - $async.Future<$13.DoCommandResponse> doCommand($grpc.ServiceCall call, $13.DoCommandRequest request); + $async.Future<$40.GetDetectionsFromCameraResponse> getDetectionsFromCamera($grpc.ServiceCall call, $40.GetDetectionsFromCameraRequest request); + $async.Future<$40.GetDetectionsResponse> getDetections($grpc.ServiceCall call, $40.GetDetectionsRequest request); + $async.Future<$40.GetClassificationsFromCameraResponse> getClassificationsFromCamera($grpc.ServiceCall call, $40.GetClassificationsFromCameraRequest request); + $async.Future<$40.GetClassificationsResponse> getClassifications($grpc.ServiceCall call, $40.GetClassificationsRequest request); + $async.Future<$40.GetObjectPointCloudsResponse> getObjectPointClouds($grpc.ServiceCall call, $40.GetObjectPointCloudsRequest request); + $async.Future<$40.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $40.GetPropertiesRequest request); + $async.Future<$40.CaptureAllFromCameraResponse> captureAllFromCamera($grpc.ServiceCall call, $40.CaptureAllFromCameraRequest request); + $async.Future<$14.DoCommandResponse> doCommand($grpc.ServiceCall call, $14.DoCommandRequest request); } diff --git a/lib/src/gen/stream/v1/stream.pbgrpc.dart b/lib/src/gen/stream/v1/stream.pbgrpc.dart index bd8383920ec..3aede355884 100644 --- a/lib/src/gen/stream/v1/stream.pbgrpc.dart +++ b/lib/src/gen/stream/v1/stream.pbgrpc.dart @@ -15,24 +15,24 @@ import 'dart:core' as $core; import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; -import 'stream.pb.dart' as $40; +import 'stream.pb.dart' as $41; export 'stream.pb.dart'; @$pb.GrpcServiceName('proto.stream.v1.StreamService') class StreamServiceClient extends $grpc.Client { - static final _$listStreams = $grpc.ClientMethod<$40.ListStreamsRequest, $40.ListStreamsResponse>( + static final _$listStreams = $grpc.ClientMethod<$41.ListStreamsRequest, $41.ListStreamsResponse>( '/proto.stream.v1.StreamService/ListStreams', - ($40.ListStreamsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $40.ListStreamsResponse.fromBuffer(value)); - static final _$addStream = $grpc.ClientMethod<$40.AddStreamRequest, $40.AddStreamResponse>( + ($41.ListStreamsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $41.ListStreamsResponse.fromBuffer(value)); + static final _$addStream = $grpc.ClientMethod<$41.AddStreamRequest, $41.AddStreamResponse>( '/proto.stream.v1.StreamService/AddStream', - ($40.AddStreamRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $40.AddStreamResponse.fromBuffer(value)); - static final _$removeStream = $grpc.ClientMethod<$40.RemoveStreamRequest, $40.RemoveStreamResponse>( + ($41.AddStreamRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $41.AddStreamResponse.fromBuffer(value)); + static final _$removeStream = $grpc.ClientMethod<$41.RemoveStreamRequest, $41.RemoveStreamResponse>( '/proto.stream.v1.StreamService/RemoveStream', - ($40.RemoveStreamRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $40.RemoveStreamResponse.fromBuffer(value)); + ($41.RemoveStreamRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $41.RemoveStreamResponse.fromBuffer(value)); StreamServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -40,15 +40,15 @@ class StreamServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$40.ListStreamsResponse> listStreams($40.ListStreamsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$41.ListStreamsResponse> listStreams($41.ListStreamsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listStreams, request, options: options); } - $grpc.ResponseFuture<$40.AddStreamResponse> addStream($40.AddStreamRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$41.AddStreamResponse> addStream($41.AddStreamRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$addStream, request, options: options); } - $grpc.ResponseFuture<$40.RemoveStreamResponse> removeStream($40.RemoveStreamRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$41.RemoveStreamResponse> removeStream($41.RemoveStreamRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$removeStream, request, options: options); } } @@ -58,42 +58,42 @@ abstract class StreamServiceBase extends $grpc.Service { $core.String get $name => 'proto.stream.v1.StreamService'; StreamServiceBase() { - $addMethod($grpc.ServiceMethod<$40.ListStreamsRequest, $40.ListStreamsResponse>( + $addMethod($grpc.ServiceMethod<$41.ListStreamsRequest, $41.ListStreamsResponse>( 'ListStreams', listStreams_Pre, false, false, - ($core.List<$core.int> value) => $40.ListStreamsRequest.fromBuffer(value), - ($40.ListStreamsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$40.AddStreamRequest, $40.AddStreamResponse>( + ($core.List<$core.int> value) => $41.ListStreamsRequest.fromBuffer(value), + ($41.ListStreamsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$41.AddStreamRequest, $41.AddStreamResponse>( 'AddStream', addStream_Pre, false, false, - ($core.List<$core.int> value) => $40.AddStreamRequest.fromBuffer(value), - ($40.AddStreamResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$40.RemoveStreamRequest, $40.RemoveStreamResponse>( + ($core.List<$core.int> value) => $41.AddStreamRequest.fromBuffer(value), + ($41.AddStreamResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$41.RemoveStreamRequest, $41.RemoveStreamResponse>( 'RemoveStream', removeStream_Pre, false, false, - ($core.List<$core.int> value) => $40.RemoveStreamRequest.fromBuffer(value), - ($40.RemoveStreamResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $41.RemoveStreamRequest.fromBuffer(value), + ($41.RemoveStreamResponse value) => value.writeToBuffer())); } - $async.Future<$40.ListStreamsResponse> listStreams_Pre($grpc.ServiceCall call, $async.Future<$40.ListStreamsRequest> request) async { + $async.Future<$41.ListStreamsResponse> listStreams_Pre($grpc.ServiceCall call, $async.Future<$41.ListStreamsRequest> request) async { return listStreams(call, await request); } - $async.Future<$40.AddStreamResponse> addStream_Pre($grpc.ServiceCall call, $async.Future<$40.AddStreamRequest> request) async { + $async.Future<$41.AddStreamResponse> addStream_Pre($grpc.ServiceCall call, $async.Future<$41.AddStreamRequest> request) async { return addStream(call, await request); } - $async.Future<$40.RemoveStreamResponse> removeStream_Pre($grpc.ServiceCall call, $async.Future<$40.RemoveStreamRequest> request) async { + $async.Future<$41.RemoveStreamResponse> removeStream_Pre($grpc.ServiceCall call, $async.Future<$41.RemoveStreamRequest> request) async { return removeStream(call, await request); } - $async.Future<$40.ListStreamsResponse> listStreams($grpc.ServiceCall call, $40.ListStreamsRequest request); - $async.Future<$40.AddStreamResponse> addStream($grpc.ServiceCall call, $40.AddStreamRequest request); - $async.Future<$40.RemoveStreamResponse> removeStream($grpc.ServiceCall call, $40.RemoveStreamRequest request); + $async.Future<$41.ListStreamsResponse> listStreams($grpc.ServiceCall call, $41.ListStreamsRequest request); + $async.Future<$41.AddStreamResponse> addStream($grpc.ServiceCall call, $41.AddStreamRequest request); + $async.Future<$41.RemoveStreamResponse> removeStream($grpc.ServiceCall call, $41.RemoveStreamRequest request); } diff --git a/lib/src/utils.dart b/lib/src/utils.dart index 70d93ca1749..1fdd497b2b9 100644 --- a/lib/src/utils.dart +++ b/lib/src/utils.dart @@ -94,6 +94,6 @@ grpc_duration.Duration durationToProto(Duration duration) { String getVersionMetadata() { const String sdkVersion = 'v0.0.22'; - const String apiTag = 'v0.1.342'; + const String apiTag = 'v0.1.345'; return 'flutter;$sdkVersion;$apiTag'; }