From 39930f830292e59df3f39125875c31930c5fadc5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 9 Jan 2025 14:12:04 -0500 Subject: [PATCH] [WORKFLOW] Updating protos from viamrobotics/api, commit: 3f0b40a80d223721fce7e385afe026aeeb6bd4fc (#325) Co-authored-by: viambot --- lib/protos/service/discovery.dart | 10 + lib/src/gen/app/agent/v1/agent.pb.dart | 24 +- lib/src/gen/app/build/v1/build.pb.dart | 22 +- .../gen/app/cloudslam/v1/cloud_slam.pb.dart | 74 ++--- lib/src/gen/app/data/v1/data.pb.dart | 142 ++++----- lib/src/gen/app/dataset/v1/dataset.pb.dart | 12 +- lib/src/gen/app/datasync/v1/data_sync.pb.dart | 68 ++-- .../gen/app/mltraining/v1/ml_training.pb.dart | 64 ++-- lib/src/gen/app/packages/v1/packages.pb.dart | 24 +- lib/src/gen/app/v1/app.pb.dart | 294 +++++++++--------- lib/src/gen/app/v1/billing.pb.dart | 52 ++-- lib/src/gen/app/v1/robot.pb.dart | 114 +++---- lib/src/gen/common/v1/common.pb.dart | 96 +++--- lib/src/gen/component/arm/v1/arm.pb.dart | 62 ++-- .../audioinput/v1/audioinput.pb.dart | 22 +- lib/src/gen/component/base/v1/base.pb.dart | 62 ++-- lib/src/gen/component/board/v1/board.pb.dart | 124 ++++---- .../gen/component/camera/v1/camera.pb.dart | 32 +- .../gen/component/encoder/v1/encoder.pb.dart | 32 +- .../gen/component/gantry/v1/gantry.pb.dart | 52 ++-- .../gen/component/gripper/v1/gripper.pb.dart | 42 +-- .../v1/input_controller.pb.dart | 54 ++-- lib/src/gen/component/motor/v1/motor.pb.dart | 92 +++--- .../movementsensor/v1/movementsensor.pb.dart | 82 ++--- .../posetracker/v1/pose_tracker.pb.dart | 12 +- .../powersensor/v1/powersensor.pb.dart | 32 +- lib/src/gen/component/servo/v1/servo.pb.dart | 32 +- lib/src/gen/robot/v1/robot.pb.dart | 294 ++++++++++++++---- lib/src/gen/robot/v1/robot.pbgrpc.dart | 20 ++ lib/src/gen/robot/v1/robot.pbjson.dart | 39 +++ .../datamanager/v1/data_manager.pb.dart | 12 +- .../service/discovery/v1/discovery.pb.dart | 134 ++++++++ .../discovery/v1/discovery.pbenum.dart | 11 + .../discovery/v1/discovery.pbgrpc.dart | 80 +++++ .../discovery/v1/discovery.pbjson.dart | 42 +++ .../gen/service/mlmodel/v1/mlmodel.pb.dart | 32 +- lib/src/gen/service/motion/v1/motion.pb.dart | 84 ++--- .../gen/service/motion/v1/motion.pbgrpc.dart | 128 ++++---- .../service/navigation/v1/navigation.pb.dart | 82 ++--- .../navigation/v1/navigation.pbgrpc.dart | 164 +++++----- .../gen/service/sensors/v1/sensors.pb.dart | 28 +- .../service/sensors/v1/sensors.pbgrpc.dart | 38 +-- lib/src/gen/service/shell/v1/shell.pb.dart | 44 +-- .../gen/service/shell/v1/shell.pbgrpc.dart | 50 +-- lib/src/gen/service/slam/v1/slam.pbgrpc.dart | 74 ++--- lib/src/gen/service/vision/v1/vision.pb.dart | 82 ++--- .../gen/service/vision/v1/vision.pbgrpc.dart | 128 ++++---- lib/src/gen/stream/v1/stream.pbgrpc.dart | 92 +++--- lib/src/utils.dart | 2 +- 49 files changed, 1946 insertions(+), 1442 deletions(-) create mode 100644 lib/protos/service/discovery.dart create mode 100644 lib/src/gen/service/discovery/v1/discovery.pb.dart create mode 100644 lib/src/gen/service/discovery/v1/discovery.pbenum.dart create mode 100644 lib/src/gen/service/discovery/v1/discovery.pbgrpc.dart create mode 100644 lib/src/gen/service/discovery/v1/discovery.pbjson.dart diff --git a/lib/protos/service/discovery.dart b/lib/protos/service/discovery.dart new file mode 100644 index 00000000000..c73b6be8e8a --- /dev/null +++ b/lib/protos/service/discovery.dart @@ -0,0 +1,10 @@ +/// The proto definitions for discovery +/// {@category Protobuf Definitions} +library viam_protos.service.discovery; + +// THIS FILE IS AUTOMATICALLY GENERATED +// DO NOT OVERWRITE +export '../../../src/gen/service/discovery/v1/discovery.pb.dart'; +export '../../../src/gen/service/discovery/v1/discovery.pbenum.dart'; +export '../../../src/gen/service/discovery/v1/discovery.pbgrpc.dart'; +export '../../../src/gen/service/discovery/v1/discovery.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 ae54e7a847f..dd5843d4ec9 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 $42; -import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/duration.pb.dart' as $43; +import '../../../google/protobuf/struct.pb.dart' as $44; 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, - $42.Duration? checkInterval, + $43.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<$42.Duration>(2, _omitFieldNames ? '' : 'checkInterval', subBuilder: $42.Duration.create) + ..aOM<$43.Duration>(2, _omitFieldNames ? '' : 'checkInterval', subBuilder: $43.Duration.create) ..hasRequiredFields = false ; @@ -149,15 +149,15 @@ class DeviceAgentConfigResponse extends $pb.GeneratedMessage { /// how often this request should be repeated @$pb.TagNumber(2) - $42.Duration get checkInterval => $_getN(1); + $43.Duration get checkInterval => $_getN(1); @$pb.TagNumber(2) - set checkInterval($42.Duration v) { setField(2, v); } + set checkInterval($43.Duration v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasCheckInterval() => $_has(1); @$pb.TagNumber(2) void clearCheckInterval() => clearField(2); @$pb.TagNumber(2) - $42.Duration ensureCheckInterval() => $_ensure(1); + $43.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, - $43.Struct? attributes, + $44.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<$43.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -249,15 +249,15 @@ class DeviceSubsystemConfig extends $pb.GeneratedMessage { /// arbitrary config sections @$pb.TagNumber(4) - $43.Struct get attributes => $_getN(3); + $44.Struct get attributes => $_getN(3); @$pb.TagNumber(4) - set attributes($43.Struct v) { setField(4, v); } + set attributes($44.Struct v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasAttributes() => $_has(3); @$pb.TagNumber(4) void clearAttributes() => clearField(4); @$pb.TagNumber(4) - $43.Struct ensureAttributes() => $_ensure(3); + $44.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 fedc68bb132..752f892c55c 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 $44; +import '../../../google/protobuf/timestamp.pb.dart' as $45; import 'build.pbenum.dart'; export 'build.pbenum.dart'; @@ -342,8 +342,8 @@ class JobInfo extends $pb.GeneratedMessage { $core.String? platform, $core.String? version, JobStatus? status, - $44.Timestamp? startTime, - $44.Timestamp? endTime, + $45.Timestamp? startTime, + $45.Timestamp? endTime, }) { final $result = create(); if (buildId != null) { @@ -375,8 +375,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<$44.Timestamp>(5, _omitFieldNames ? '' : 'startTime', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(6, _omitFieldNames ? '' : 'endTime', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(5, _omitFieldNames ? '' : 'startTime', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(6, _omitFieldNames ? '' : 'endTime', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -438,26 +438,26 @@ class JobInfo extends $pb.GeneratedMessage { void clearStatus() => clearField(4); @$pb.TagNumber(5) - $44.Timestamp get startTime => $_getN(4); + $45.Timestamp get startTime => $_getN(4); @$pb.TagNumber(5) - set startTime($44.Timestamp v) { setField(5, v); } + set startTime($45.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasStartTime() => $_has(4); @$pb.TagNumber(5) void clearStartTime() => clearField(5); @$pb.TagNumber(5) - $44.Timestamp ensureStartTime() => $_ensure(4); + $45.Timestamp ensureStartTime() => $_ensure(4); @$pb.TagNumber(6) - $44.Timestamp get endTime => $_getN(5); + $45.Timestamp get endTime => $_getN(5); @$pb.TagNumber(6) - set endTime($44.Timestamp v) { setField(6, v); } + set endTime($45.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasEndTime() => $_has(5); @$pb.TagNumber(6) void clearEndTime() => clearField(6); @$pb.TagNumber(6) - $44.Timestamp ensureEndTime() => $_ensure(5); + $45.Timestamp ensureEndTime() => $_ensure(5); } class ListJobsRequest extends $pb.GeneratedMessage { 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 e269d243d75..a58fc9d4407 100644 --- a/lib/src/gen/app/cloudslam/v1/cloud_slam.pb.dart +++ b/lib/src/gen/app/cloudslam/v1/cloud_slam.pb.dart @@ -14,8 +14,8 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $43; -import '../../../google/protobuf/timestamp.pb.dart' as $44; +import '../../../google/protobuf/struct.pb.dart' as $44; +import '../../../google/protobuf/timestamp.pb.dart' as $45; 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, - $43.Struct? slamConfig, + $44.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<$43.Struct>(10, _omitFieldNames ? '' : 'slamConfig', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(10, _omitFieldNames ? '' : 'slamConfig', subBuilder: $44.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) - $43.Struct get slamConfig => $_getN(8); + $44.Struct get slamConfig => $_getN(8); @$pb.TagNumber(10) - set slamConfig($43.Struct v) { setField(10, v); } + set slamConfig($44.Struct v) { setField(10, v); } @$pb.TagNumber(10) $core.bool hasSlamConfig() => $_has(8); @$pb.TagNumber(10) void clearSlamConfig() => clearField(10); @$pb.TagNumber(10) - $43.Struct ensureSlamConfig() => $_ensure(8); + $44.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({ - $44.Timestamp? startTime, - $44.Timestamp? endTime, + $45.Timestamp? startTime, + $45.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<$44.Timestamp>(1, _omitFieldNames ? '' : 'startTime', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'endTime', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(1, _omitFieldNames ? '' : 'startTime', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'endTime', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -415,27 +415,27 @@ class CaptureInterval extends $pb.GeneratedMessage { static CaptureInterval? _defaultInstance; @$pb.TagNumber(1) - $44.Timestamp get startTime => $_getN(0); + $45.Timestamp get startTime => $_getN(0); @$pb.TagNumber(1) - set startTime($44.Timestamp v) { setField(1, v); } + set startTime($45.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasStartTime() => $_has(0); @$pb.TagNumber(1) void clearStartTime() => clearField(1); @$pb.TagNumber(1) - $44.Timestamp ensureStartTime() => $_ensure(0); + $45.Timestamp ensureStartTime() => $_ensure(0); /// if no end_time specified cloud slam will be run using live sensors @$pb.TagNumber(2) - $44.Timestamp get endTime => $_getN(1); + $45.Timestamp get endTime => $_getN(1); @$pb.TagNumber(2) - set endTime($44.Timestamp v) { setField(2, v); } + set endTime($45.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEndTime() => $_has(1); @$pb.TagNumber(2) void clearEndTime() => clearField(2); @$pb.TagNumber(2) - $44.Timestamp ensureEndTime() => $_ensure(1); + $45.Timestamp ensureEndTime() => $_ensure(1); } class StartMappingSessionResponse extends $pb.GeneratedMessage { @@ -1036,10 +1036,10 @@ class MappingMetadata extends $pb.GeneratedMessage { $core.String? orgId, $core.String? locationId, $core.String? robotId, - $44.Timestamp? timeStartSubmitted, - $44.Timestamp? timeCloudRunJobStarted, - $44.Timestamp? timeEndSubmitted, - $44.Timestamp? timeCloudRunJobEnded, + $45.Timestamp? timeStartSubmitted, + $45.Timestamp? timeCloudRunJobStarted, + $45.Timestamp? timeEndSubmitted, + $45.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<$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) + ..aOM<$45.Timestamp>(4, _omitFieldNames ? '' : 'timeStartSubmitted', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(5, _omitFieldNames ? '' : 'timeCloudRunJobStarted', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(6, _omitFieldNames ? '' : 'timeEndSubmitted', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(7, _omitFieldNames ? '' : 'timeCloudRunJobEnded', subBuilder: $45.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) - $44.Timestamp get timeStartSubmitted => $_getN(3); + $45.Timestamp get timeStartSubmitted => $_getN(3); @$pb.TagNumber(4) - set timeStartSubmitted($44.Timestamp v) { setField(4, v); } + set timeStartSubmitted($45.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasTimeStartSubmitted() => $_has(3); @$pb.TagNumber(4) void clearTimeStartSubmitted() => clearField(4); @$pb.TagNumber(4) - $44.Timestamp ensureTimeStartSubmitted() => $_ensure(3); + $45.Timestamp ensureTimeStartSubmitted() => $_ensure(3); @$pb.TagNumber(5) - $44.Timestamp get timeCloudRunJobStarted => $_getN(4); + $45.Timestamp get timeCloudRunJobStarted => $_getN(4); @$pb.TagNumber(5) - set timeCloudRunJobStarted($44.Timestamp v) { setField(5, v); } + set timeCloudRunJobStarted($45.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasTimeCloudRunJobStarted() => $_has(4); @$pb.TagNumber(5) void clearTimeCloudRunJobStarted() => clearField(5); @$pb.TagNumber(5) - $44.Timestamp ensureTimeCloudRunJobStarted() => $_ensure(4); + $45.Timestamp ensureTimeCloudRunJobStarted() => $_ensure(4); @$pb.TagNumber(6) - $44.Timestamp get timeEndSubmitted => $_getN(5); + $45.Timestamp get timeEndSubmitted => $_getN(5); @$pb.TagNumber(6) - set timeEndSubmitted($44.Timestamp v) { setField(6, v); } + set timeEndSubmitted($45.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasTimeEndSubmitted() => $_has(5); @$pb.TagNumber(6) void clearTimeEndSubmitted() => clearField(6); @$pb.TagNumber(6) - $44.Timestamp ensureTimeEndSubmitted() => $_ensure(5); + $45.Timestamp ensureTimeEndSubmitted() => $_ensure(5); @$pb.TagNumber(7) - $44.Timestamp get timeCloudRunJobEnded => $_getN(6); + $45.Timestamp get timeCloudRunJobEnded => $_getN(6); @$pb.TagNumber(7) - set timeCloudRunJobEnded($44.Timestamp v) { setField(7, v); } + set timeCloudRunJobEnded($45.Timestamp v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasTimeCloudRunJobEnded() => $_has(6); @$pb.TagNumber(7) void clearTimeCloudRunJobEnded() => clearField(7); @$pb.TagNumber(7) - $44.Timestamp ensureTimeCloudRunJobEnded() => $_ensure(6); + $45.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 16e9977ec47..fc2c38e4b85 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 $45; -import '../../../google/protobuf/struct.pb.dart' as $43; -import '../../../google/protobuf/timestamp.pb.dart' as $44; +import '../../../google/protobuf/any.pb.dart' as $46; +import '../../../google/protobuf/struct.pb.dart' as $44; +import '../../../google/protobuf/timestamp.pb.dart' as $45; 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, $45.Any>? methodParameters, + $core.Map<$core.String, $46.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, $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')) + ..m<$core.String, $46.Any>(11, _omitFieldNames ? '' : 'methodParameters', entryClassName: 'CaptureMetadata.MethodParametersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $46.Any.create, valueDefaultOrMaker: $46.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, $45.Any> get methodParameters => $_getMap(9); + $core.Map<$core.String, $46.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({ - $44.Timestamp? start, - $44.Timestamp? end, + $45.Timestamp? start, + $45.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<$44.Timestamp>(1, _omitFieldNames ? '' : 'start', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'end', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(1, _omitFieldNames ? '' : 'start', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'end', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -639,26 +639,26 @@ class CaptureInterval extends $pb.GeneratedMessage { static CaptureInterval? _defaultInstance; @$pb.TagNumber(1) - $44.Timestamp get start => $_getN(0); + $45.Timestamp get start => $_getN(0); @$pb.TagNumber(1) - set start($44.Timestamp v) { setField(1, v); } + set start($45.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasStart() => $_has(0); @$pb.TagNumber(1) void clearStart() => clearField(1); @$pb.TagNumber(1) - $44.Timestamp ensureStart() => $_ensure(0); + $45.Timestamp ensureStart() => $_ensure(0); @$pb.TagNumber(2) - $44.Timestamp get end => $_getN(1); + $45.Timestamp get end => $_getN(1); @$pb.TagNumber(2) - set end($44.Timestamp v) { setField(2, v); } + set end($45.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEnd() => $_has(1); @$pb.TagNumber(2) void clearEnd() => clearField(2); @$pb.TagNumber(2) - $44.Timestamp ensureEnd() => $_ensure(1); + $45.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({ - $43.Struct? data, + $44.Struct? data, $core.int? metadataIndex, - $44.Timestamp? timeRequested, - $44.Timestamp? timeReceived, + $45.Timestamp? timeRequested, + $45.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<$43.Struct>(1, _omitFieldNames ? '' : 'data', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(1, _omitFieldNames ? '' : 'data', subBuilder: $44.Struct.create) ..a<$core.int>(2, _omitFieldNames ? '' : 'metadataIndex', $pb.PbFieldType.OU3) - ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'timeRequested', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'timeReceived', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(3, _omitFieldNames ? '' : 'timeRequested', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(4, _omitFieldNames ? '' : 'timeReceived', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -894,15 +894,15 @@ class TabularData extends $pb.GeneratedMessage { static TabularData? _defaultInstance; @$pb.TagNumber(1) - $43.Struct get data => $_getN(0); + $44.Struct get data => $_getN(0); @$pb.TagNumber(1) - set data($43.Struct v) { setField(1, v); } + set data($44.Struct v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasData() => $_has(0); @$pb.TagNumber(1) void clearData() => clearField(1); @$pb.TagNumber(1) - $43.Struct ensureData() => $_ensure(0); + $44.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) - $44.Timestamp get timeRequested => $_getN(2); + $45.Timestamp get timeRequested => $_getN(2); @$pb.TagNumber(3) - set timeRequested($44.Timestamp v) { setField(3, v); } + set timeRequested($45.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasTimeRequested() => $_has(2); @$pb.TagNumber(3) void clearTimeRequested() => clearField(3); @$pb.TagNumber(3) - $44.Timestamp ensureTimeRequested() => $_ensure(2); + $45.Timestamp ensureTimeRequested() => $_ensure(2); @$pb.TagNumber(4) - $44.Timestamp get timeReceived => $_getN(3); + $45.Timestamp get timeReceived => $_getN(3); @$pb.TagNumber(4) - set timeReceived($44.Timestamp v) { setField(4, v); } + set timeReceived($45.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasTimeReceived() => $_has(3); @$pb.TagNumber(4) void clearTimeReceived() => clearField(4); @$pb.TagNumber(4) - $44.Timestamp ensureTimeReceived() => $_ensure(3); + $45.Timestamp ensureTimeReceived() => $_ensure(3); } /// TabularDataBySQLRequest requests tabular data using a SQL query. @@ -1272,15 +1272,15 @@ class ExportTabularDataResponse extends $pb.GeneratedMessage { $core.String? resourceName, $core.String? resourceSubtype, $core.String? methodName, - $44.Timestamp? timeCaptured, + $45.Timestamp? timeCaptured, $core.String? organizationId, $core.String? locationId, $core.String? robotName, $core.String? robotId, $core.String? partName, - $43.Struct? methodParameters, + $44.Struct? methodParameters, $core.Iterable<$core.String>? tags, - $43.Struct? payload, + $44.Struct? payload, }) { final $result = create(); if (partId != null) { @@ -1333,15 +1333,15 @@ class ExportTabularDataResponse extends $pb.GeneratedMessage { ..aOS(2, _omitFieldNames ? '' : 'resourceName') ..aOS(3, _omitFieldNames ? '' : 'resourceSubtype') ..aOS(4, _omitFieldNames ? '' : 'methodName') - ..aOM<$44.Timestamp>(5, _omitFieldNames ? '' : 'timeCaptured', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(5, _omitFieldNames ? '' : 'timeCaptured', subBuilder: $45.Timestamp.create) ..aOS(6, _omitFieldNames ? '' : 'organizationId') ..aOS(7, _omitFieldNames ? '' : 'locationId') ..aOS(8, _omitFieldNames ? '' : 'robotName') ..aOS(9, _omitFieldNames ? '' : 'robotId') ..aOS(10, _omitFieldNames ? '' : 'partName') - ..aOM<$43.Struct>(11, _omitFieldNames ? '' : 'methodParameters', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(11, _omitFieldNames ? '' : 'methodParameters', subBuilder: $44.Struct.create) ..pPS(12, _omitFieldNames ? '' : 'tags') - ..aOM<$43.Struct>(13, _omitFieldNames ? '' : 'payload', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(13, _omitFieldNames ? '' : 'payload', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1403,15 +1403,15 @@ class ExportTabularDataResponse extends $pb.GeneratedMessage { void clearMethodName() => clearField(4); @$pb.TagNumber(5) - $44.Timestamp get timeCaptured => $_getN(4); + $45.Timestamp get timeCaptured => $_getN(4); @$pb.TagNumber(5) - set timeCaptured($44.Timestamp v) { setField(5, v); } + set timeCaptured($45.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasTimeCaptured() => $_has(4); @$pb.TagNumber(5) void clearTimeCaptured() => clearField(5); @$pb.TagNumber(5) - $44.Timestamp ensureTimeCaptured() => $_ensure(4); + $45.Timestamp ensureTimeCaptured() => $_ensure(4); @$pb.TagNumber(6) $core.String get organizationId => $_getSZ(5); @@ -1459,29 +1459,29 @@ class ExportTabularDataResponse extends $pb.GeneratedMessage { void clearPartName() => clearField(10); @$pb.TagNumber(11) - $43.Struct get methodParameters => $_getN(10); + $44.Struct get methodParameters => $_getN(10); @$pb.TagNumber(11) - set methodParameters($43.Struct v) { setField(11, v); } + set methodParameters($44.Struct v) { setField(11, v); } @$pb.TagNumber(11) $core.bool hasMethodParameters() => $_has(10); @$pb.TagNumber(11) void clearMethodParameters() => clearField(11); @$pb.TagNumber(11) - $43.Struct ensureMethodParameters() => $_ensure(10); + $44.Struct ensureMethodParameters() => $_ensure(10); @$pb.TagNumber(12) $core.List<$core.String> get tags => $_getList(11); @$pb.TagNumber(13) - $43.Struct get payload => $_getN(12); + $44.Struct get payload => $_getN(12); @$pb.TagNumber(13) - set payload($43.Struct v) { setField(13, v); } + set payload($44.Struct v) { setField(13, v); } @$pb.TagNumber(13) $core.bool hasPayload() => $_has(12); @$pb.TagNumber(13) void clearPayload() => clearField(13); @$pb.TagNumber(13) - $43.Struct ensurePayload() => $_ensure(12); + $44.Struct ensurePayload() => $_ensure(12); } /// GetLatestTabularDataRequest requests the most recent tabular data captured from the specified data source. @@ -1581,9 +1581,9 @@ class GetLatestTabularDataRequest extends $pb.GeneratedMessage { /// from the requested data source, as long as it was synced within the last year. class GetLatestTabularDataResponse extends $pb.GeneratedMessage { factory GetLatestTabularDataResponse({ - $44.Timestamp? timeCaptured, - $44.Timestamp? timeSynced, - $43.Struct? payload, + $45.Timestamp? timeCaptured, + $45.Timestamp? timeSynced, + $44.Struct? payload, }) { final $result = create(); if (timeCaptured != null) { @@ -1602,9 +1602,9 @@ class GetLatestTabularDataResponse extends $pb.GeneratedMessage { factory GetLatestTabularDataResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetLatestTabularDataResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.data.v1'), createEmptyInstance: create) - ..aOM<$44.Timestamp>(1, _omitFieldNames ? '' : 'timeCaptured', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'timeSynced', subBuilder: $44.Timestamp.create) - ..aOM<$43.Struct>(3, _omitFieldNames ? '' : 'payload', subBuilder: $43.Struct.create) + ..aOM<$45.Timestamp>(1, _omitFieldNames ? '' : 'timeCaptured', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'timeSynced', subBuilder: $45.Timestamp.create) + ..aOM<$44.Struct>(3, _omitFieldNames ? '' : 'payload', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1630,37 +1630,37 @@ class GetLatestTabularDataResponse extends $pb.GeneratedMessage { static GetLatestTabularDataResponse? _defaultInstance; @$pb.TagNumber(1) - $44.Timestamp get timeCaptured => $_getN(0); + $45.Timestamp get timeCaptured => $_getN(0); @$pb.TagNumber(1) - set timeCaptured($44.Timestamp v) { setField(1, v); } + set timeCaptured($45.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasTimeCaptured() => $_has(0); @$pb.TagNumber(1) void clearTimeCaptured() => clearField(1); @$pb.TagNumber(1) - $44.Timestamp ensureTimeCaptured() => $_ensure(0); + $45.Timestamp ensureTimeCaptured() => $_ensure(0); @$pb.TagNumber(2) - $44.Timestamp get timeSynced => $_getN(1); + $45.Timestamp get timeSynced => $_getN(1); @$pb.TagNumber(2) - set timeSynced($44.Timestamp v) { setField(2, v); } + set timeSynced($45.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasTimeSynced() => $_has(1); @$pb.TagNumber(2) void clearTimeSynced() => clearField(2); @$pb.TagNumber(2) - $44.Timestamp ensureTimeSynced() => $_ensure(1); + $45.Timestamp ensureTimeSynced() => $_ensure(1); @$pb.TagNumber(3) - $43.Struct get payload => $_getN(2); + $44.Struct get payload => $_getN(2); @$pb.TagNumber(3) - set payload($43.Struct v) { setField(3, v); } + set payload($44.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasPayload() => $_has(2); @$pb.TagNumber(3) void clearPayload() => clearField(3); @$pb.TagNumber(3) - $43.Struct ensurePayload() => $_ensure(2); + $44.Struct ensurePayload() => $_ensure(2); } /// BinaryData contains data and metadata associated with binary data. @@ -2370,8 +2370,8 @@ class BinaryMetadata extends $pb.GeneratedMessage { factory BinaryMetadata({ $core.String? id, CaptureMetadata? captureMetadata, - $44.Timestamp? timeRequested, - $44.Timestamp? timeReceived, + $45.Timestamp? timeRequested, + $45.Timestamp? timeReceived, $core.String? fileName, $core.String? fileExt, $core.String? uri, @@ -2415,8 +2415,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<$44.Timestamp>(3, _omitFieldNames ? '' : 'timeRequested', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'timeReceived', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(3, _omitFieldNames ? '' : 'timeRequested', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(4, _omitFieldNames ? '' : 'timeReceived', subBuilder: $45.Timestamp.create) ..aOS(5, _omitFieldNames ? '' : 'fileName') ..aOS(6, _omitFieldNames ? '' : 'fileExt') ..aOS(7, _omitFieldNames ? '' : 'uri') @@ -2467,26 +2467,26 @@ class BinaryMetadata extends $pb.GeneratedMessage { CaptureMetadata ensureCaptureMetadata() => $_ensure(1); @$pb.TagNumber(3) - $44.Timestamp get timeRequested => $_getN(2); + $45.Timestamp get timeRequested => $_getN(2); @$pb.TagNumber(3) - set timeRequested($44.Timestamp v) { setField(3, v); } + set timeRequested($45.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasTimeRequested() => $_has(2); @$pb.TagNumber(3) void clearTimeRequested() => clearField(3); @$pb.TagNumber(3) - $44.Timestamp ensureTimeRequested() => $_ensure(2); + $45.Timestamp ensureTimeRequested() => $_ensure(2); @$pb.TagNumber(4) - $44.Timestamp get timeReceived => $_getN(3); + $45.Timestamp get timeReceived => $_getN(3); @$pb.TagNumber(4) - set timeReceived($44.Timestamp v) { setField(4, v); } + set timeReceived($45.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasTimeReceived() => $_has(3); @$pb.TagNumber(4) void clearTimeReceived() => clearField(4); @$pb.TagNumber(4) - $44.Timestamp ensureTimeReceived() => $_ensure(3); + $45.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 56041f8ee02..012617fac9d 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 $44; +import '../../../google/protobuf/timestamp.pb.dart' as $45; /// 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, - $44.Timestamp? timeCreated, + $45.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<$44.Timestamp>(4, _omitFieldNames ? '' : 'timeCreated', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(4, _omitFieldNames ? '' : 'timeCreated', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -99,15 +99,15 @@ class Dataset extends $pb.GeneratedMessage { void clearOrganizationId() => clearField(3); @$pb.TagNumber(4) - $44.Timestamp get timeCreated => $_getN(3); + $45.Timestamp get timeCreated => $_getN(3); @$pb.TagNumber(4) - set timeCreated($44.Timestamp v) { setField(4, v); } + set timeCreated($45.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasTimeCreated() => $_has(3); @$pb.TagNumber(4) void clearTimeCreated() => clearField(4); @$pb.TagNumber(4) - $44.Timestamp ensureTimeCreated() => $_ensure(3); + $45.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 0e8aa76eb13..7fe2af19e9a 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 $45; -import '../../../google/protobuf/struct.pb.dart' as $43; -import '../../../google/protobuf/timestamp.pb.dart' as $44; +import '../../../google/protobuf/any.pb.dart' as $46; +import '../../../google/protobuf/struct.pb.dart' as $44; +import '../../../google/protobuf/timestamp.pb.dart' as $45; import '../../data/v1/data.pb.dart' as $3; import 'data_sync.pbenum.dart'; @@ -407,8 +407,8 @@ class StreamingDataCaptureUploadResponse extends $pb.GeneratedMessage { /// received. class SensorMetadata extends $pb.GeneratedMessage { factory SensorMetadata({ - $44.Timestamp? timeRequested, - $44.Timestamp? timeReceived, + $45.Timestamp? timeRequested, + $45.Timestamp? timeReceived, MimeType? mimeType, $3.Annotations? annotations, }) { @@ -432,8 +432,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<$44.Timestamp>(1, _omitFieldNames ? '' : 'timeRequested', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'timeReceived', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(1, _omitFieldNames ? '' : 'timeRequested', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'timeReceived', subBuilder: $45.Timestamp.create) ..e(3, _omitFieldNames ? '' : 'mimeType', $pb.PbFieldType.OE, defaultOrMaker: MimeType.MIME_TYPE_UNSPECIFIED, valueOf: MimeType.valueOf, enumValues: MimeType.values) ..aOM<$3.Annotations>(4, _omitFieldNames ? '' : 'annotations', subBuilder: $3.Annotations.create) ..hasRequiredFields = false @@ -461,26 +461,26 @@ class SensorMetadata extends $pb.GeneratedMessage { static SensorMetadata? _defaultInstance; @$pb.TagNumber(1) - $44.Timestamp get timeRequested => $_getN(0); + $45.Timestamp get timeRequested => $_getN(0); @$pb.TagNumber(1) - set timeRequested($44.Timestamp v) { setField(1, v); } + set timeRequested($45.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasTimeRequested() => $_has(0); @$pb.TagNumber(1) void clearTimeRequested() => clearField(1); @$pb.TagNumber(1) - $44.Timestamp ensureTimeRequested() => $_ensure(0); + $45.Timestamp ensureTimeRequested() => $_ensure(0); @$pb.TagNumber(2) - $44.Timestamp get timeReceived => $_getN(1); + $45.Timestamp get timeReceived => $_getN(1); @$pb.TagNumber(2) - set timeReceived($44.Timestamp v) { setField(2, v); } + set timeReceived($45.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasTimeReceived() => $_has(1); @$pb.TagNumber(2) void clearTimeReceived() => clearField(2); @$pb.TagNumber(2) - $44.Timestamp ensureTimeReceived() => $_ensure(1); + $45.Timestamp ensureTimeReceived() => $_ensure(1); @$pb.TagNumber(3) MimeType get mimeType => $_getN(2); @@ -513,7 +513,7 @@ enum SensorData_Data { class SensorData extends $pb.GeneratedMessage { factory SensorData({ SensorMetadata? metadata, - $43.Struct? struct, + $44.Struct? struct, $core.List<$core.int>? binary, }) { final $result = create(); @@ -540,7 +540,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<$43.Struct>(2, _omitFieldNames ? '' : 'struct', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(2, _omitFieldNames ? '' : 'struct', subBuilder: $44.Struct.create) ..a<$core.List<$core.int>>(3, _omitFieldNames ? '' : 'binary', $pb.PbFieldType.OY) ..hasRequiredFields = false ; @@ -581,15 +581,15 @@ class SensorData extends $pb.GeneratedMessage { SensorMetadata ensureMetadata() => $_ensure(0); @$pb.TagNumber(2) - $43.Struct get struct => $_getN(1); + $44.Struct get struct => $_getN(1); @$pb.TagNumber(2) - set struct($43.Struct v) { setField(2, v); } + set struct($44.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasStruct() => $_has(1); @$pb.TagNumber(2) void clearStruct() => clearField(2); @$pb.TagNumber(2) - $43.Struct ensureStruct() => $_ensure(1); + $44.Struct ensureStruct() => $_ensure(1); @$pb.TagNumber(3) $core.List<$core.int> get binary => $_getN(2); @@ -661,7 +661,7 @@ class UploadMetadata extends $pb.GeneratedMessage { $core.String? methodName, DataType? type, $core.String? fileName, - $core.Map<$core.String, $45.Any>? methodParameters, + $core.Map<$core.String, $46.Any>? methodParameters, $core.String? fileExtension, $core.Iterable<$core.String>? tags, }) { @@ -706,7 +706,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, $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')) + ..m<$core.String, $46.Any>(8, _omitFieldNames ? '' : 'methodParameters', entryClassName: 'UploadMetadata.MethodParametersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $46.Any.create, valueDefaultOrMaker: $46.Any.getDefault, packageName: const $pb.PackageName('viam.app.datasync.v1')) ..aOS(9, _omitFieldNames ? '' : 'fileExtension') ..pPS(10, _omitFieldNames ? '' : 'tags') ..hasRequiredFields = false @@ -788,7 +788,7 @@ class UploadMetadata extends $pb.GeneratedMessage { void clearFileName() => clearField(7); @$pb.TagNumber(8) - $core.Map<$core.String, $45.Any> get methodParameters => $_getMap(6); + $core.Map<$core.String, $46.Any> get methodParameters => $_getMap(6); @$pb.TagNumber(9) $core.String get fileExtension => $_getSZ(7); @@ -806,8 +806,8 @@ class UploadMetadata extends $pb.GeneratedMessage { /// CaptureInterval specifies the start and end times of the data capture. class CaptureInterval extends $pb.GeneratedMessage { factory CaptureInterval({ - $44.Timestamp? start, - $44.Timestamp? end, + $45.Timestamp? start, + $45.Timestamp? end, }) { final $result = create(); if (start != null) { @@ -823,8 +823,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<$44.Timestamp>(1, _omitFieldNames ? '' : 'start', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'end', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(1, _omitFieldNames ? '' : 'start', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'end', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -850,26 +850,26 @@ class CaptureInterval extends $pb.GeneratedMessage { static CaptureInterval? _defaultInstance; @$pb.TagNumber(1) - $44.Timestamp get start => $_getN(0); + $45.Timestamp get start => $_getN(0); @$pb.TagNumber(1) - set start($44.Timestamp v) { setField(1, v); } + set start($45.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasStart() => $_has(0); @$pb.TagNumber(1) void clearStart() => clearField(1); @$pb.TagNumber(1) - $44.Timestamp ensureStart() => $_ensure(0); + $45.Timestamp ensureStart() => $_ensure(0); @$pb.TagNumber(2) - $44.Timestamp get end => $_getN(1); + $45.Timestamp get end => $_getN(1); @$pb.TagNumber(2) - set end($44.Timestamp v) { setField(2, v); } + set end($45.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEnd() => $_has(1); @$pb.TagNumber(2) void clearEnd() => clearField(2); @$pb.TagNumber(2) - $44.Timestamp ensureEnd() => $_ensure(1); + $45.Timestamp ensureEnd() => $_ensure(1); } /// DataCaptureMetadata contains the metadata for data captured by collectors. @@ -879,7 +879,7 @@ class DataCaptureMetadata extends $pb.GeneratedMessage { $core.String? componentName, $core.String? methodName, DataType? type, - $core.Map<$core.String, $45.Any>? methodParameters, + $core.Map<$core.String, $46.Any>? methodParameters, $core.String? fileExtension, $core.Iterable<$core.String>? tags, }) { @@ -916,7 +916,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, $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')) + ..m<$core.String, $46.Any>(6, _omitFieldNames ? '' : 'methodParameters', entryClassName: 'DataCaptureMetadata.MethodParametersEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $46.Any.create, valueDefaultOrMaker: $46.Any.getDefault, packageName: const $pb.PackageName('viam.app.datasync.v1')) ..aOS(7, _omitFieldNames ? '' : 'fileExtension') ..pPS(8, _omitFieldNames ? '' : 'tags') ..hasRequiredFields = false @@ -980,7 +980,7 @@ class DataCaptureMetadata extends $pb.GeneratedMessage { void clearType() => clearField(5); @$pb.TagNumber(6) - $core.Map<$core.String, $45.Any> get methodParameters => $_getMap(4); + $core.Map<$core.String, $46.Any> get methodParameters => $_getMap(4); @$pb.TagNumber(7) $core.String get fileExtension => $_getSZ(5); 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 dff3b1b3073..483ef146bf8 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 $44; -import '../../../google/rpc/status.pb.dart' as $46; +import '../../../google/protobuf/timestamp.pb.dart' as $45; +import '../../../google/rpc/status.pb.dart' as $47; 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, - $44.Timestamp? createdOn, - $44.Timestamp? lastModified, + $45.Timestamp? createdOn, + $45.Timestamp? lastModified, $core.String? syncedModelId, $core.String? id, - $46.Status? errorStatus, - $44.Timestamp? trainingStarted, - $44.Timestamp? trainingEnded, + $47.Status? errorStatus, + $45.Timestamp? trainingStarted, + $45.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<$44.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'lastModified', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(4, _omitFieldNames ? '' : 'lastModified', subBuilder: $45.Timestamp.create) ..aOS(5, _omitFieldNames ? '' : 'syncedModelId') ..aOS(7, _omitFieldNames ? '' : 'id') - ..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) + ..aOM<$47.Status>(8, _omitFieldNames ? '' : 'errorStatus', subBuilder: $47.Status.create) + ..aOM<$45.Timestamp>(9, _omitFieldNames ? '' : 'trainingStarted', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(10, _omitFieldNames ? '' : 'trainingEnded', subBuilder: $45.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) - $44.Timestamp get createdOn => $_getN(1); + $45.Timestamp get createdOn => $_getN(1); @$pb.TagNumber(3) - set createdOn($44.Timestamp v) { setField(3, v); } + set createdOn($45.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(1); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $44.Timestamp ensureCreatedOn() => $_ensure(1); + $45.Timestamp ensureCreatedOn() => $_ensure(1); @$pb.TagNumber(4) - $44.Timestamp get lastModified => $_getN(2); + $45.Timestamp get lastModified => $_getN(2); @$pb.TagNumber(4) - set lastModified($44.Timestamp v) { setField(4, v); } + set lastModified($45.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasLastModified() => $_has(2); @$pb.TagNumber(4) void clearLastModified() => clearField(4); @$pb.TagNumber(4) - $44.Timestamp ensureLastModified() => $_ensure(2); + $45.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) - $46.Status get errorStatus => $_getN(5); + $47.Status get errorStatus => $_getN(5); @$pb.TagNumber(8) - set errorStatus($46.Status v) { setField(8, v); } + set errorStatus($47.Status v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasErrorStatus() => $_has(5); @$pb.TagNumber(8) void clearErrorStatus() => clearField(8); @$pb.TagNumber(8) - $46.Status ensureErrorStatus() => $_ensure(5); + $47.Status ensureErrorStatus() => $_ensure(5); @$pb.TagNumber(9) - $44.Timestamp get trainingStarted => $_getN(6); + $45.Timestamp get trainingStarted => $_getN(6); @$pb.TagNumber(9) - set trainingStarted($44.Timestamp v) { setField(9, v); } + set trainingStarted($45.Timestamp v) { setField(9, v); } @$pb.TagNumber(9) $core.bool hasTrainingStarted() => $_has(6); @$pb.TagNumber(9) void clearTrainingStarted() => clearField(9); @$pb.TagNumber(9) - $44.Timestamp ensureTrainingStarted() => $_ensure(6); + $45.Timestamp ensureTrainingStarted() => $_ensure(6); @$pb.TagNumber(10) - $44.Timestamp get trainingEnded => $_getN(7); + $45.Timestamp get trainingEnded => $_getN(7); @$pb.TagNumber(10) - set trainingEnded($44.Timestamp v) { setField(10, v); } + set trainingEnded($45.Timestamp v) { setField(10, v); } @$pb.TagNumber(10) $core.bool hasTrainingEnded() => $_has(7); @$pb.TagNumber(10) void clearTrainingEnded() => clearField(10); @$pb.TagNumber(10) - $44.Timestamp ensureTrainingEnded() => $_ensure(7); + $45.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, - $44.Timestamp? time, + $45.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<$44.Timestamp>(2, _omitFieldNames ? '' : 'time', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'time', subBuilder: $45.Timestamp.create) ..aOS(3, _omitFieldNames ? '' : 'message') ..hasRequiredFields = false ; @@ -1087,15 +1087,15 @@ class TrainingJobLogEntry extends $pb.GeneratedMessage { void clearLevel() => clearField(1); @$pb.TagNumber(2) - $44.Timestamp get time => $_getN(1); + $45.Timestamp get time => $_getN(1); @$pb.TagNumber(2) - set time($44.Timestamp v) { setField(2, v); } + set time($45.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasTime() => $_has(1); @$pb.TagNumber(2) void clearTime() => clearField(2); @$pb.TagNumber(2) - $44.Timestamp ensureTime() => $_ensure(1); + $45.Timestamp ensureTime() => $_ensure(1); @$pb.TagNumber(3) $core.String get message => $_getSZ(2); diff --git a/lib/src/gen/app/packages/v1/packages.pb.dart b/lib/src/gen/app/packages/v1/packages.pb.dart index 31c8d37b296..ffcacbaa085 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 $43; -import '../../../google/protobuf/timestamp.pb.dart' as $44; +import '../../../google/protobuf/struct.pb.dart' as $44; +import '../../../google/protobuf/timestamp.pb.dart' as $45; 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, - $43.Struct? metadata, + $44.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<$43.Struct>(6, _omitFieldNames ? '' : 'metadata', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(6, _omitFieldNames ? '' : 'metadata', subBuilder: $44.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) - $43.Struct get metadata => $_getN(5); + $44.Struct get metadata => $_getN(5); @$pb.TagNumber(6) - set metadata($43.Struct v) { setField(6, v); } + set metadata($44.Struct v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasMetadata() => $_has(5); @$pb.TagNumber(6) void clearMetadata() => clearField(6); @$pb.TagNumber(6) - $43.Struct ensureMetadata() => $_ensure(5); + $44.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, - $44.Timestamp? createdOn, + $45.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<$44.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $45.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) - $44.Timestamp get createdOn => $_getN(2); + $45.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($44.Timestamp v) { setField(3, v); } + set createdOn($45.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $44.Timestamp ensureCreatedOn() => $_ensure(2); + $45.Timestamp ensureCreatedOn() => $_ensure(2); @$pb.TagNumber(4) $core.String get checksum => $_getSZ(3); diff --git a/lib/src/gen/app/v1/app.pb.dart b/lib/src/gen/app/v1/app.pb.dart index ab97bc39511..3dbe62bec31 100644 --- a/lib/src/gen/app/v1/app.pb.dart +++ b/lib/src/gen/app/v1/app.pb.dart @@ -15,8 +15,8 @@ import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; import '../../common/v1/common.pb.dart' as $15; -import '../../google/protobuf/struct.pb.dart' as $43; -import '../../google/protobuf/timestamp.pb.dart' as $44; +import '../../google/protobuf/struct.pb.dart' as $44; +import '../../google/protobuf/timestamp.pb.dart' as $45; import '../mltraining/v1/ml_training.pbenum.dart' as $8; import '../packages/v1/packages.pbenum.dart' as $9; import 'app.pbenum.dart'; @@ -28,8 +28,8 @@ class Robot extends $pb.GeneratedMessage { $core.String? id, $core.String? name, $core.String? location, - $44.Timestamp? lastAccess, - $44.Timestamp? createdOn, + $45.Timestamp? lastAccess, + $45.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<$44.Timestamp>(4, _omitFieldNames ? '' : 'lastAccess', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(5, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(4, _omitFieldNames ? '' : 'lastAccess', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(5, _omitFieldNames ? '' : 'createdOn', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -111,26 +111,26 @@ class Robot extends $pb.GeneratedMessage { void clearLocation() => clearField(3); @$pb.TagNumber(4) - $44.Timestamp get lastAccess => $_getN(3); + $45.Timestamp get lastAccess => $_getN(3); @$pb.TagNumber(4) - set lastAccess($44.Timestamp v) { setField(4, v); } + set lastAccess($45.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasLastAccess() => $_has(3); @$pb.TagNumber(4) void clearLastAccess() => clearField(4); @$pb.TagNumber(4) - $44.Timestamp ensureLastAccess() => $_ensure(3); + $45.Timestamp ensureLastAccess() => $_ensure(3); @$pb.TagNumber(5) - $44.Timestamp get createdOn => $_getN(4); + $45.Timestamp get createdOn => $_getN(4); @$pb.TagNumber(5) - set createdOn($44.Timestamp v) { setField(5, v); } + set createdOn($45.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasCreatedOn() => $_has(4); @$pb.TagNumber(5) void clearCreatedOn() => clearField(5); @$pb.TagNumber(5) - $44.Timestamp ensureCreatedOn() => $_ensure(4); + $45.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, - $43.Struct? robotConfig, - $44.Timestamp? lastAccess, - $43.Struct? userSuppliedInfo, + $44.Struct? robotConfig, + $45.Timestamp? lastAccess, + $44.Struct? userSuppliedInfo, $core.bool? mainPart, $core.String? fqdn, $core.String? dnsName, $core.String? localFqdn, $core.String? locationId, - $44.Timestamp? createdOn, + $45.Timestamp? createdOn, $core.Iterable? secrets, - $44.Timestamp? lastUpdated, + $45.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<$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) + ..aOM<$44.Struct>(5, _omitFieldNames ? '' : 'robotConfig', subBuilder: $44.Struct.create) + ..aOM<$45.Timestamp>(6, _omitFieldNames ? '' : 'lastAccess', subBuilder: $45.Timestamp.create) + ..aOM<$44.Struct>(7, _omitFieldNames ? '' : 'userSuppliedInfo', subBuilder: $44.Struct.create) ..aOB(8, _omitFieldNames ? '' : 'mainPart') ..aOS(9, _omitFieldNames ? '' : 'fqdn') ..aOS(10, _omitFieldNames ? '' : 'dnsName') ..aOS(11, _omitFieldNames ? '' : 'localFqdn') ..aOS(12, _omitFieldNames ? '' : 'locationId') - ..aOM<$44.Timestamp>(13, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(13, _omitFieldNames ? '' : 'createdOn', subBuilder: $45.Timestamp.create) ..pc(14, _omitFieldNames ? '' : 'secrets', $pb.PbFieldType.PM, subBuilder: SharedSecret.create) - ..aOM<$44.Timestamp>(15, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(15, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -280,37 +280,37 @@ class RobotPart extends $pb.GeneratedMessage { void clearRobot() => clearField(4); @$pb.TagNumber(5) - $43.Struct get robotConfig => $_getN(4); + $44.Struct get robotConfig => $_getN(4); @$pb.TagNumber(5) - set robotConfig($43.Struct v) { setField(5, v); } + set robotConfig($44.Struct v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasRobotConfig() => $_has(4); @$pb.TagNumber(5) void clearRobotConfig() => clearField(5); @$pb.TagNumber(5) - $43.Struct ensureRobotConfig() => $_ensure(4); + $44.Struct ensureRobotConfig() => $_ensure(4); @$pb.TagNumber(6) - $44.Timestamp get lastAccess => $_getN(5); + $45.Timestamp get lastAccess => $_getN(5); @$pb.TagNumber(6) - set lastAccess($44.Timestamp v) { setField(6, v); } + set lastAccess($45.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasLastAccess() => $_has(5); @$pb.TagNumber(6) void clearLastAccess() => clearField(6); @$pb.TagNumber(6) - $44.Timestamp ensureLastAccess() => $_ensure(5); + $45.Timestamp ensureLastAccess() => $_ensure(5); @$pb.TagNumber(7) - $43.Struct get userSuppliedInfo => $_getN(6); + $44.Struct get userSuppliedInfo => $_getN(6); @$pb.TagNumber(7) - set userSuppliedInfo($43.Struct v) { setField(7, v); } + set userSuppliedInfo($44.Struct v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasUserSuppliedInfo() => $_has(6); @$pb.TagNumber(7) void clearUserSuppliedInfo() => clearField(7); @$pb.TagNumber(7) - $43.Struct ensureUserSuppliedInfo() => $_ensure(6); + $44.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) - $44.Timestamp get createdOn => $_getN(12); + $45.Timestamp get createdOn => $_getN(12); @$pb.TagNumber(13) - set createdOn($44.Timestamp v) { setField(13, v); } + set createdOn($45.Timestamp v) { setField(13, v); } @$pb.TagNumber(13) $core.bool hasCreatedOn() => $_has(12); @$pb.TagNumber(13) void clearCreatedOn() => clearField(13); @$pb.TagNumber(13) - $44.Timestamp ensureCreatedOn() => $_ensure(12); + $45.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) - $44.Timestamp get lastUpdated => $_getN(14); + $45.Timestamp get lastUpdated => $_getN(14); @$pb.TagNumber(15) - set lastUpdated($44.Timestamp v) { setField(15, v); } + set lastUpdated($45.Timestamp v) { setField(15, v); } @$pb.TagNumber(15) $core.bool hasLastUpdated() => $_has(14); @$pb.TagNumber(15) void clearLastUpdated() => clearField(15); @$pb.TagNumber(15) - $44.Timestamp ensureLastUpdated() => $_ensure(14); + $45.Timestamp ensureLastUpdated() => $_ensure(14); } class RobotPartHistoryEntry extends $pb.GeneratedMessage { factory RobotPartHistoryEntry({ $core.String? part, $core.String? robot, - $44.Timestamp? when, + $45.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<$44.Timestamp>(3, _omitFieldNames ? '' : 'when', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(3, _omitFieldNames ? '' : 'when', subBuilder: $45.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) - $44.Timestamp get when => $_getN(2); + $45.Timestamp get when => $_getN(2); @$pb.TagNumber(3) - set when($44.Timestamp v) { setField(3, v); } + set when($45.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasWhen() => $_has(2); @$pb.TagNumber(3) void clearWhen() => clearField(3); @$pb.TagNumber(3) - $44.Timestamp ensureWhen() => $_ensure(2); + $45.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, - $44.Timestamp? createdOn, + $45.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<$44.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $45.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) - $44.Timestamp get createdOn => $_getN(2); + $45.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($44.Timestamp v) { setField(3, v); } + set createdOn($45.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $44.Timestamp ensureCreatedOn() => $_ensure(2); + $45.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, - $44.Timestamp? dateAdded, - $44.Timestamp? lastLogin, + $45.Timestamp? dateAdded, + $45.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<$44.Timestamp>(3, _omitFieldNames ? '' : 'dateAdded', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'lastLogin', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(3, _omitFieldNames ? '' : 'dateAdded', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(4, _omitFieldNames ? '' : 'lastLogin', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -802,26 +802,26 @@ class OrganizationMember extends $pb.GeneratedMessage { $core.List<$core.String> get emails => $_getList(1); @$pb.TagNumber(3) - $44.Timestamp get dateAdded => $_getN(2); + $45.Timestamp get dateAdded => $_getN(2); @$pb.TagNumber(3) - set dateAdded($44.Timestamp v) { setField(3, v); } + set dateAdded($45.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasDateAdded() => $_has(2); @$pb.TagNumber(3) void clearDateAdded() => clearField(3); @$pb.TagNumber(3) - $44.Timestamp ensureDateAdded() => $_ensure(2); + $45.Timestamp ensureDateAdded() => $_ensure(2); @$pb.TagNumber(4) - $44.Timestamp get lastLogin => $_getN(3); + $45.Timestamp get lastLogin => $_getN(3); @$pb.TagNumber(4) - set lastLogin($44.Timestamp v) { setField(4, v); } + set lastLogin($45.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasLastLogin() => $_has(3); @$pb.TagNumber(4) void clearLastLogin() => clearField(4); @$pb.TagNumber(4) - $44.Timestamp ensureLastLogin() => $_ensure(3); + $45.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, - $44.Timestamp? createdOn, + $45.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<$44.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $45.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) - $44.Timestamp get createdOn => $_getN(2); + $45.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($44.Timestamp v) { setField(3, v); } + set createdOn($45.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $44.Timestamp ensureCreatedOn() => $_ensure(2); + $45.Timestamp ensureCreatedOn() => $_ensure(2); @$pb.TagNumber(4) $core.List get authorizations => $_getList(3); @@ -3191,7 +3191,7 @@ class Location extends $pb.GeneratedMessage { factory Location({ $core.String? id, $core.String? name, - $44.Timestamp? createdOn, + $45.Timestamp? createdOn, $core.String? parentLocationId, LocationAuth? auth, $core.Iterable? organizations, @@ -3232,7 +3232,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<$44.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $45.Timestamp.create) ..aOS(4, _omitFieldNames ? '' : 'parentLocationId') ..aOM(5, _omitFieldNames ? '' : 'auth', subBuilder: LocationAuth.create) ..pc(6, _omitFieldNames ? '' : 'organizations', $pb.PbFieldType.PM, subBuilder: LocationOrganization.create) @@ -3284,15 +3284,15 @@ class Location extends $pb.GeneratedMessage { /// Location creation timestamp. @$pb.TagNumber(3) - $44.Timestamp get createdOn => $_getN(2); + $45.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($44.Timestamp v) { setField(3, v); } + set createdOn($45.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $44.Timestamp ensureCreatedOn() => $_ensure(2); + $45.Timestamp ensureCreatedOn() => $_ensure(2); /// Location ID of the parent location. @$pb.TagNumber(4) @@ -3347,7 +3347,7 @@ class SharedSecret extends $pb.GeneratedMessage { factory SharedSecret({ $core.String? id, $core.String? secret, - $44.Timestamp? createdOn, + $45.Timestamp? createdOn, SharedSecret_State? state, }) { final $result = create(); @@ -3372,7 +3372,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<$44.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(3, _omitFieldNames ? '' : 'createdOn', subBuilder: $45.Timestamp.create) ..e(4, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: SharedSecret_State.STATE_UNSPECIFIED, valueOf: SharedSecret_State.valueOf, enumValues: SharedSecret_State.values) ..hasRequiredFields = false ; @@ -3419,15 +3419,15 @@ class SharedSecret extends $pb.GeneratedMessage { /// Date/time the secret was first created. @$pb.TagNumber(3) - $44.Timestamp get createdOn => $_getN(2); + $45.Timestamp get createdOn => $_getN(2); @$pb.TagNumber(3) - set createdOn($44.Timestamp v) { setField(3, v); } + set createdOn($45.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasCreatedOn() => $_has(2); @$pb.TagNumber(3) void clearCreatedOn() => clearField(3); @$pb.TagNumber(3) - $44.Timestamp ensureCreatedOn() => $_ensure(2); + $45.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. @@ -5104,8 +5104,8 @@ class GetRobotPartLogsRequest extends $pb.GeneratedMessage { $core.String? filter, $core.String? pageToken, $core.Iterable<$core.String>? levels, - $44.Timestamp? start, - $44.Timestamp? end, + $45.Timestamp? start, + $45.Timestamp? end, $fixnum.Int64? limit, $core.String? source, }) { @@ -5150,8 +5150,8 @@ class GetRobotPartLogsRequest extends $pb.GeneratedMessage { ..aOS(3, _omitFieldNames ? '' : 'filter') ..aOS(4, _omitFieldNames ? '' : 'pageToken') ..pPS(5, _omitFieldNames ? '' : 'levels') - ..aOM<$44.Timestamp>(6, _omitFieldNames ? '' : 'start', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(7, _omitFieldNames ? '' : 'end', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(6, _omitFieldNames ? '' : 'start', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(7, _omitFieldNames ? '' : 'end', subBuilder: $45.Timestamp.create) ..aInt64(8, _omitFieldNames ? '' : 'limit') ..aOS(9, _omitFieldNames ? '' : 'source') ..hasRequiredFields = false @@ -5224,26 +5224,26 @@ class GetRobotPartLogsRequest extends $pb.GeneratedMessage { $core.List<$core.String> get levels => $_getList(4); @$pb.TagNumber(6) - $44.Timestamp get start => $_getN(5); + $45.Timestamp get start => $_getN(5); @$pb.TagNumber(6) - set start($44.Timestamp v) { setField(6, v); } + set start($45.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasStart() => $_has(5); @$pb.TagNumber(6) void clearStart() => clearField(6); @$pb.TagNumber(6) - $44.Timestamp ensureStart() => $_ensure(5); + $45.Timestamp ensureStart() => $_ensure(5); @$pb.TagNumber(7) - $44.Timestamp get end => $_getN(6); + $45.Timestamp get end => $_getN(6); @$pb.TagNumber(7) - set end($44.Timestamp v) { setField(7, v); } + set end($45.Timestamp v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasEnd() => $_has(6); @$pb.TagNumber(7) void clearEnd() => clearField(7); @$pb.TagNumber(7) - $44.Timestamp ensureEnd() => $_ensure(6); + $45.Timestamp ensureEnd() => $_ensure(6); @$pb.TagNumber(8) $fixnum.Int64 get limit => $_getI64(7); @@ -5542,7 +5542,7 @@ class UpdateRobotPartRequest extends $pb.GeneratedMessage { factory UpdateRobotPartRequest({ $core.String? id, $core.String? name, - $43.Struct? robotConfig, + $44.Struct? robotConfig, }) { final $result = create(); if (id != null) { @@ -5563,7 +5563,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<$43.Struct>(3, _omitFieldNames ? '' : 'robotConfig', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(3, _omitFieldNames ? '' : 'robotConfig', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -5607,15 +5607,15 @@ class UpdateRobotPartRequest extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $43.Struct get robotConfig => $_getN(2); + $44.Struct get robotConfig => $_getN(2); @$pb.TagNumber(3) - set robotConfig($43.Struct v) { setField(3, v); } + set robotConfig($44.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasRobotConfig() => $_has(2); @$pb.TagNumber(3) void clearRobotConfig() => clearField(3); @$pb.TagNumber(3) - $43.Struct ensureRobotConfig() => $_ensure(2); + $44.Struct ensureRobotConfig() => $_ensure(2); } class UpdateRobotPartResponse extends $pb.GeneratedMessage { @@ -5889,7 +5889,7 @@ class APIKey extends $pb.GeneratedMessage { $core.String? id, $core.String? key, $core.String? name, - $44.Timestamp? createdOn, + $45.Timestamp? createdOn, }) { final $result = create(); if (id != null) { @@ -5914,7 +5914,7 @@ class APIKey extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'id') ..aOS(2, _omitFieldNames ? '' : 'key') ..aOS(3, _omitFieldNames ? '' : 'name') - ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(4, _omitFieldNames ? '' : 'createdOn', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -5967,15 +5967,15 @@ class APIKey extends $pb.GeneratedMessage { void clearName() => clearField(3); @$pb.TagNumber(4) - $44.Timestamp get createdOn => $_getN(3); + $45.Timestamp get createdOn => $_getN(3); @$pb.TagNumber(4) - set createdOn($44.Timestamp v) { setField(4, v); } + set createdOn($45.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasCreatedOn() => $_has(3); @$pb.TagNumber(4) void clearCreatedOn() => clearField(4); @$pb.TagNumber(4) - $44.Timestamp ensureCreatedOn() => $_ensure(3); + $45.Timestamp ensureCreatedOn() => $_ensure(3); } class GetRobotAPIKeysResponse extends $pb.GeneratedMessage { @@ -6058,16 +6058,16 @@ class Fragment extends $pb.GeneratedMessage { factory Fragment({ $core.String? id, $core.String? name, - $43.Struct? fragment, + $44.Struct? fragment, $core.String? organizationOwner, $core.bool? public, - $44.Timestamp? createdOn, + $45.Timestamp? createdOn, $core.String? organizationName, $core.int? robotPartCount, $core.int? organizationCount, $core.bool? onlyUsedByOwner, FragmentVisibility? visibility, - $44.Timestamp? lastUpdated, + $45.Timestamp? lastUpdated, }) { final $result = create(); if (id != null) { @@ -6115,16 +6115,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<$43.Struct>(3, _omitFieldNames ? '' : 'fragment', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(3, _omitFieldNames ? '' : 'fragment', subBuilder: $44.Struct.create) ..aOS(4, _omitFieldNames ? '' : 'organizationOwner') ..aOB(5, _omitFieldNames ? '' : 'public') - ..aOM<$44.Timestamp>(6, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(6, _omitFieldNames ? '' : 'createdOn', subBuilder: $45.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<$44.Timestamp>(13, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(13, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -6168,15 +6168,15 @@ class Fragment extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $43.Struct get fragment => $_getN(2); + $44.Struct get fragment => $_getN(2); @$pb.TagNumber(3) - set fragment($43.Struct v) { setField(3, v); } + set fragment($44.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasFragment() => $_has(2); @$pb.TagNumber(3) void clearFragment() => clearField(3); @$pb.TagNumber(3) - $43.Struct ensureFragment() => $_ensure(2); + $44.Struct ensureFragment() => $_ensure(2); @$pb.TagNumber(4) $core.String get organizationOwner => $_getSZ(3); @@ -6197,15 +6197,15 @@ class Fragment extends $pb.GeneratedMessage { void clearPublic() => clearField(5); @$pb.TagNumber(6) - $44.Timestamp get createdOn => $_getN(5); + $45.Timestamp get createdOn => $_getN(5); @$pb.TagNumber(6) - set createdOn($44.Timestamp v) { setField(6, v); } + set createdOn($45.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasCreatedOn() => $_has(5); @$pb.TagNumber(6) void clearCreatedOn() => clearField(6); @$pb.TagNumber(6) - $44.Timestamp ensureCreatedOn() => $_ensure(5); + $45.Timestamp ensureCreatedOn() => $_ensure(5); @$pb.TagNumber(7) $core.String get organizationName => $_getSZ(6); @@ -6258,21 +6258,21 @@ class Fragment extends $pb.GeneratedMessage { /// latest timestamp when fragment was updated @$pb.TagNumber(13) - $44.Timestamp get lastUpdated => $_getN(11); + $45.Timestamp get lastUpdated => $_getN(11); @$pb.TagNumber(13) - set lastUpdated($44.Timestamp v) { setField(13, v); } + set lastUpdated($45.Timestamp v) { setField(13, v); } @$pb.TagNumber(13) $core.bool hasLastUpdated() => $_has(11); @$pb.TagNumber(13) void clearLastUpdated() => clearField(13); @$pb.TagNumber(13) - $44.Timestamp ensureLastUpdated() => $_ensure(11); + $45.Timestamp ensureLastUpdated() => $_ensure(11); } class FragmentHistoryEntry extends $pb.GeneratedMessage { factory FragmentHistoryEntry({ $core.String? fragment, - $44.Timestamp? editedOn, + $45.Timestamp? editedOn, Fragment? old, AuthenticatorInfo? editedBy, }) { @@ -6297,7 +6297,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<$44.Timestamp>(2, _omitFieldNames ? '' : 'editedOn', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'editedOn', subBuilder: $45.Timestamp.create) ..aOM(3, _omitFieldNames ? '' : 'old', subBuilder: Fragment.create) ..aOM(4, _omitFieldNames ? '' : 'editedBy', subBuilder: AuthenticatorInfo.create) ..hasRequiredFields = false @@ -6334,15 +6334,15 @@ class FragmentHistoryEntry extends $pb.GeneratedMessage { void clearFragment() => clearField(1); @$pb.TagNumber(2) - $44.Timestamp get editedOn => $_getN(1); + $45.Timestamp get editedOn => $_getN(1); @$pb.TagNumber(2) - set editedOn($44.Timestamp v) { setField(2, v); } + set editedOn($45.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEditedOn() => $_has(1); @$pb.TagNumber(2) void clearEditedOn() => clearField(2); @$pb.TagNumber(2) - $44.Timestamp ensureEditedOn() => $_ensure(1); + $45.Timestamp ensureEditedOn() => $_ensure(1); @$pb.TagNumber(3) Fragment get old => $_getN(2); @@ -6540,7 +6540,7 @@ class FragmentUsage extends $pb.GeneratedMessage { class ResolvedFragment extends $pb.GeneratedMessage { factory ResolvedFragment({ $core.String? fragmentId, - $43.Struct? resolvedConfig, + $44.Struct? resolvedConfig, FragmentError? error, }) { final $result = create(); @@ -6561,7 +6561,7 @@ class ResolvedFragment extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResolvedFragment', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.app.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'fragmentId') - ..aOM<$43.Struct>(2, _omitFieldNames ? '' : 'resolvedConfig', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(2, _omitFieldNames ? '' : 'resolvedConfig', subBuilder: $44.Struct.create) ..aOM(3, _omitFieldNames ? '' : 'error', subBuilder: FragmentError.create) ..hasRequiredFields = false ; @@ -6597,15 +6597,15 @@ class ResolvedFragment extends $pb.GeneratedMessage { void clearFragmentId() => clearField(1); @$pb.TagNumber(2) - $43.Struct get resolvedConfig => $_getN(1); + $44.Struct get resolvedConfig => $_getN(1); @$pb.TagNumber(2) - set resolvedConfig($43.Struct v) { setField(2, v); } + set resolvedConfig($44.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasResolvedConfig() => $_has(1); @$pb.TagNumber(2) void clearResolvedConfig() => clearField(2); @$pb.TagNumber(2) - $43.Struct ensureResolvedConfig() => $_ensure(1); + $44.Struct ensureResolvedConfig() => $_ensure(1); @$pb.TagNumber(3) FragmentError get error => $_getN(2); @@ -6878,7 +6878,7 @@ class GetFragmentResponse extends $pb.GeneratedMessage { class CreateFragmentRequest extends $pb.GeneratedMessage { factory CreateFragmentRequest({ $core.String? name, - $43.Struct? config, + $44.Struct? config, $core.String? organizationId, FragmentVisibility? visibility, }) { @@ -6903,7 +6903,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<$43.Struct>(2, _omitFieldNames ? '' : 'config', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(2, _omitFieldNames ? '' : 'config', subBuilder: $44.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 @@ -6940,15 +6940,15 @@ class CreateFragmentRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(2) - $43.Struct get config => $_getN(1); + $44.Struct get config => $_getN(1); @$pb.TagNumber(2) - set config($43.Struct v) { setField(2, v); } + set config($44.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasConfig() => $_has(1); @$pb.TagNumber(2) void clearConfig() => clearField(2); @$pb.TagNumber(2) - $43.Struct ensureConfig() => $_ensure(1); + $44.Struct ensureConfig() => $_ensure(1); @$pb.TagNumber(3) $core.String get organizationId => $_getSZ(2); @@ -7025,7 +7025,7 @@ class UpdateFragmentRequest extends $pb.GeneratedMessage { factory UpdateFragmentRequest({ $core.String? id, $core.String? name, - $43.Struct? config, + $44.Struct? config, $core.bool? public, FragmentVisibility? visibility, }) { @@ -7054,7 +7054,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<$43.Struct>(3, _omitFieldNames ? '' : 'config', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(3, _omitFieldNames ? '' : 'config', subBuilder: $44.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 @@ -7100,15 +7100,15 @@ class UpdateFragmentRequest extends $pb.GeneratedMessage { void clearName() => clearField(2); @$pb.TagNumber(3) - $43.Struct get config => $_getN(2); + $44.Struct get config => $_getN(2); @$pb.TagNumber(3) - set config($43.Struct v) { setField(3, v); } + set config($44.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasConfig() => $_has(2); @$pb.TagNumber(3) void clearConfig() => clearField(3); @$pb.TagNumber(3) - $43.Struct ensureConfig() => $_ensure(2); + $44.Struct ensureConfig() => $_ensure(2); @$pb.TagNumber(4) $core.bool get public => $_getBF(3); @@ -9221,7 +9221,7 @@ class MLModelMetadata extends $pb.GeneratedMessage { class MLTrainingVersion extends $pb.GeneratedMessage { factory MLTrainingVersion({ $core.String? version, - $44.Timestamp? createdOn, + $45.Timestamp? createdOn, }) { final $result = create(); if (version != null) { @@ -9238,7 +9238,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<$44.Timestamp>(2, _omitFieldNames ? '' : 'createdOn', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'createdOn', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -9273,15 +9273,15 @@ class MLTrainingVersion extends $pb.GeneratedMessage { void clearVersion() => clearField(1); @$pb.TagNumber(2) - $44.Timestamp get createdOn => $_getN(1); + $45.Timestamp get createdOn => $_getN(1); @$pb.TagNumber(2) - set createdOn($44.Timestamp v) { setField(2, v); } + set createdOn($45.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasCreatedOn() => $_has(1); @$pb.TagNumber(2) void clearCreatedOn() => clearField(2); @$pb.TagNumber(2) - $44.Timestamp ensureCreatedOn() => $_ensure(1); + $45.Timestamp ensureCreatedOn() => $_ensure(1); } class MLTrainingMetadata extends $pb.GeneratedMessage { @@ -9394,8 +9394,8 @@ class RegistryItem extends $pb.GeneratedMessage { MLModelMetadata? mlModelMetadata, $fixnum.Int64? totalExternalRobotUsage, $fixnum.Int64? totalExternalOrganizationUsage, - $44.Timestamp? createdAt, - $44.Timestamp? updatedAt, + $45.Timestamp? createdAt, + $45.Timestamp? updatedAt, MLTrainingMetadata? mlTrainingMetadata, }) { final $result = create(); @@ -9478,8 +9478,8 @@ class RegistryItem extends $pb.GeneratedMessage { ..aOM(12, _omitFieldNames ? '' : 'mlModelMetadata', subBuilder: MLModelMetadata.create) ..aInt64(13, _omitFieldNames ? '' : 'totalExternalRobotUsage') ..aInt64(14, _omitFieldNames ? '' : 'totalExternalOrganizationUsage') - ..aOM<$44.Timestamp>(15, _omitFieldNames ? '' : 'createdAt', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(16, _omitFieldNames ? '' : 'updatedAt', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(15, _omitFieldNames ? '' : 'createdAt', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(16, _omitFieldNames ? '' : 'updatedAt', subBuilder: $45.Timestamp.create) ..aOM(18, _omitFieldNames ? '' : 'mlTrainingMetadata', subBuilder: MLTrainingMetadata.create) ..hasRequiredFields = false ; @@ -9655,27 +9655,27 @@ class RegistryItem extends $pb.GeneratedMessage { /// When the item was created @$pb.TagNumber(15) - $44.Timestamp get createdAt => $_getN(14); + $45.Timestamp get createdAt => $_getN(14); @$pb.TagNumber(15) - set createdAt($44.Timestamp v) { setField(15, v); } + set createdAt($45.Timestamp v) { setField(15, v); } @$pb.TagNumber(15) $core.bool hasCreatedAt() => $_has(14); @$pb.TagNumber(15) void clearCreatedAt() => clearField(15); @$pb.TagNumber(15) - $44.Timestamp ensureCreatedAt() => $_ensure(14); + $45.Timestamp ensureCreatedAt() => $_ensure(14); /// When the item was last updated, either through an update or upload. @$pb.TagNumber(16) - $44.Timestamp get updatedAt => $_getN(15); + $45.Timestamp get updatedAt => $_getN(15); @$pb.TagNumber(16) - set updatedAt($44.Timestamp v) { setField(16, v); } + set updatedAt($45.Timestamp v) { setField(16, v); } @$pb.TagNumber(16) $core.bool hasUpdatedAt() => $_has(15); @$pb.TagNumber(16) void clearUpdatedAt() => clearField(16); @$pb.TagNumber(16) - $44.Timestamp ensureUpdatedAt() => $_ensure(15); + $45.Timestamp ensureUpdatedAt() => $_ensure(15); @$pb.TagNumber(18) MLTrainingMetadata get mlTrainingMetadata => $_getN(16); @@ -11762,7 +11762,7 @@ class VersionHistory extends $pb.GeneratedMessage { class Uploads extends $pb.GeneratedMessage { factory Uploads({ $core.String? platform, - $44.Timestamp? uploadedAt, + $45.Timestamp? uploadedAt, }) { final $result = create(); if (platform != null) { @@ -11779,7 +11779,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<$44.Timestamp>(2, _omitFieldNames ? '' : 'uploadedAt', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'uploadedAt', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -11816,15 +11816,15 @@ class Uploads extends $pb.GeneratedMessage { /// The time when the file was uploaded @$pb.TagNumber(2) - $44.Timestamp get uploadedAt => $_getN(1); + $45.Timestamp get uploadedAt => $_getN(1); @$pb.TagNumber(2) - set uploadedAt($44.Timestamp v) { setField(2, v); } + set uploadedAt($45.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasUploadedAt() => $_has(1); @$pb.TagNumber(2) void clearUploadedAt() => clearField(2); @$pb.TagNumber(2) - $44.Timestamp ensureUploadedAt() => $_ensure(1); + $45.Timestamp ensureUploadedAt() => $_ensure(1); } class ListModulesRequest extends $pb.GeneratedMessage { diff --git a/lib/src/gen/app/v1/billing.pb.dart b/lib/src/gen/app/v1/billing.pb.dart index bc9431bf9b2..24463e9aa6c 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 $44; +import '../../google/protobuf/timestamp.pb.dart' as $45; 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, - $44.Timestamp? invoiceDate, + $45.Timestamp? invoiceDate, $core.double? invoiceAmount, $core.String? status, - $44.Timestamp? dueDate, - $44.Timestamp? paidDate, + $45.Timestamp? dueDate, + $45.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<$44.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'invoiceDate', subBuilder: $45.Timestamp.create) ..a<$core.double>(3, _omitFieldNames ? '' : 'invoiceAmount', $pb.PbFieldType.OD) ..aOS(4, _omitFieldNames ? '' : 'status') - ..aOM<$44.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(6, _omitFieldNames ? '' : 'paidDate', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(5, _omitFieldNames ? '' : 'dueDate', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(6, _omitFieldNames ? '' : 'paidDate', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -93,15 +93,15 @@ class InvoiceSummary extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $44.Timestamp get invoiceDate => $_getN(1); + $45.Timestamp get invoiceDate => $_getN(1); @$pb.TagNumber(2) - set invoiceDate($44.Timestamp v) { setField(2, v); } + set invoiceDate($45.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasInvoiceDate() => $_has(1); @$pb.TagNumber(2) void clearInvoiceDate() => clearField(2); @$pb.TagNumber(2) - $44.Timestamp ensureInvoiceDate() => $_ensure(1); + $45.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) - $44.Timestamp get dueDate => $_getN(4); + $45.Timestamp get dueDate => $_getN(4); @$pb.TagNumber(5) - set dueDate($44.Timestamp v) { setField(5, v); } + set dueDate($45.Timestamp v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasDueDate() => $_has(4); @$pb.TagNumber(5) void clearDueDate() => clearField(5); @$pb.TagNumber(5) - $44.Timestamp ensureDueDate() => $_ensure(4); + $45.Timestamp ensureDueDate() => $_ensure(4); @$pb.TagNumber(6) - $44.Timestamp get paidDate => $_getN(5); + $45.Timestamp get paidDate => $_getN(5); @$pb.TagNumber(6) - set paidDate($44.Timestamp v) { setField(6, v); } + set paidDate($45.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasPaidDate() => $_has(5); @$pb.TagNumber(6) void clearPaidDate() => clearField(6); @$pb.TagNumber(6) - $44.Timestamp ensurePaidDate() => $_ensure(5); + $45.Timestamp ensurePaidDate() => $_ensure(5); } class PaymentMethodCard extends $pb.GeneratedMessage { @@ -490,8 +490,8 @@ class ResourceUsageCosts extends $pb.GeneratedMessage { class GetCurrentMonthUsageResponse extends $pb.GeneratedMessage { factory GetCurrentMonthUsageResponse({ - $44.Timestamp? startDate, - $44.Timestamp? endDate, + $45.Timestamp? startDate, + $45.Timestamp? endDate, @$core.Deprecated('This field is deprecated.') $core.double? cloudStorageUsageCost, @$core.Deprecated('This field is deprecated.') @@ -581,8 +581,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<$44.Timestamp>(1, _omitFieldNames ? '' : 'startDate', subBuilder: $44.Timestamp.create) - ..aOM<$44.Timestamp>(2, _omitFieldNames ? '' : 'endDate', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(1, _omitFieldNames ? '' : 'startDate', subBuilder: $45.Timestamp.create) + ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'endDate', subBuilder: $45.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) @@ -621,26 +621,26 @@ class GetCurrentMonthUsageResponse extends $pb.GeneratedMessage { static GetCurrentMonthUsageResponse? _defaultInstance; @$pb.TagNumber(1) - $44.Timestamp get startDate => $_getN(0); + $45.Timestamp get startDate => $_getN(0); @$pb.TagNumber(1) - set startDate($44.Timestamp v) { setField(1, v); } + set startDate($45.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasStartDate() => $_has(0); @$pb.TagNumber(1) void clearStartDate() => clearField(1); @$pb.TagNumber(1) - $44.Timestamp ensureStartDate() => $_ensure(0); + $45.Timestamp ensureStartDate() => $_ensure(0); @$pb.TagNumber(2) - $44.Timestamp get endDate => $_getN(1); + $45.Timestamp get endDate => $_getN(1); @$pb.TagNumber(2) - set endDate($44.Timestamp v) { setField(2, v); } + set endDate($45.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEndDate() => $_has(1); @$pb.TagNumber(2) void clearEndDate() => clearField(2); @$pb.TagNumber(2) - $44.Timestamp ensureEndDate() => $_ensure(1); + $45.Timestamp ensureEndDate() => $_ensure(1); /// all fields below are deprecated @$core.Deprecated('This field is deprecated.') diff --git a/lib/src/gen/app/v1/robot.pb.dart b/lib/src/gen/app/v1/robot.pb.dart index 962242b9387..6a9b2aefabb 100644 --- a/lib/src/gen/app/v1/robot.pb.dart +++ b/lib/src/gen/app/v1/robot.pb.dart @@ -14,8 +14,8 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; import '../../common/v1/common.pb.dart' as $15; -import '../../google/protobuf/duration.pb.dart' as $42; -import '../../google/protobuf/struct.pb.dart' as $43; +import '../../google/protobuf/duration.pb.dart' as $43; +import '../../google/protobuf/struct.pb.dart' as $44; import 'robot.pbenum.dart'; export 'robot.pbenum.dart'; @@ -658,7 +658,7 @@ class ComponentConfig extends $pb.GeneratedMessage { Frame? frame, $core.Iterable<$core.String>? dependsOn, $core.Iterable? serviceConfigs, - $43.Struct? attributes, + $44.Struct? attributes, $core.String? api, LogConfiguration? logConfiguration, }) { @@ -707,7 +707,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<$43.Struct>(8, _omitFieldNames ? '' : 'attributes', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(8, _omitFieldNames ? '' : 'attributes', subBuilder: $44.Struct.create) ..aOS(9, _omitFieldNames ? '' : 'api') ..aOM(10, _omitFieldNames ? '' : 'logConfiguration', subBuilder: LogConfiguration.create) ..hasRequiredFields = false @@ -788,15 +788,15 @@ class ComponentConfig extends $pb.GeneratedMessage { $core.List get serviceConfigs => $_getList(6); @$pb.TagNumber(8) - $43.Struct get attributes => $_getN(7); + $44.Struct get attributes => $_getN(7); @$pb.TagNumber(8) - set attributes($43.Struct v) { setField(8, v); } + set attributes($44.Struct v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasAttributes() => $_has(7); @$pb.TagNumber(8) void clearAttributes() => clearField(8); @$pb.TagNumber(8) - $43.Struct ensureAttributes() => $_ensure(7); + $44.Struct ensureAttributes() => $_ensure(7); @$pb.TagNumber(9) $core.String get api => $_getSZ(8); @@ -823,7 +823,7 @@ class ComponentConfig extends $pb.GeneratedMessage { class ResourceLevelServiceConfig extends $pb.GeneratedMessage { factory ResourceLevelServiceConfig({ $core.String? type, - $43.Struct? attributes, + $44.Struct? attributes, }) { final $result = create(); if (type != null) { @@ -840,7 +840,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<$43.Struct>(2, _omitFieldNames ? '' : 'attributes', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(2, _omitFieldNames ? '' : 'attributes', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -876,15 +876,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) - $43.Struct get attributes => $_getN(1); + $44.Struct get attributes => $_getN(1); @$pb.TagNumber(2) - set attributes($43.Struct v) { setField(2, v); } + set attributes($44.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasAttributes() => $_has(1); @$pb.TagNumber(2) void clearAttributes() => clearField(2); @$pb.TagNumber(2) - $43.Struct ensureAttributes() => $_ensure(1); + $44.Struct ensureAttributes() => $_ensure(1); } /// A ProcessConfig describes how to manage a system process. @@ -897,7 +897,7 @@ class ProcessConfig extends $pb.GeneratedMessage { $core.bool? oneShot, $core.bool? log, $core.int? stopSignal, - $42.Duration? stopTimeout, + $43.Duration? stopTimeout, $core.Map<$core.String, $core.String>? env, $core.String? username, }) { @@ -946,7 +946,7 @@ class ProcessConfig extends $pb.GeneratedMessage { ..aOB(5, _omitFieldNames ? '' : 'oneShot') ..aOB(6, _omitFieldNames ? '' : 'log') ..a<$core.int>(7, _omitFieldNames ? '' : 'stopSignal', $pb.PbFieldType.O3) - ..aOM<$42.Duration>(8, _omitFieldNames ? '' : 'stopTimeout', subBuilder: $42.Duration.create) + ..aOM<$43.Duration>(8, _omitFieldNames ? '' : 'stopTimeout', subBuilder: $43.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')) ..aOS(10, _omitFieldNames ? '' : 'username') ..hasRequiredFields = false @@ -1031,15 +1031,15 @@ class ProcessConfig extends $pb.GeneratedMessage { void clearStopSignal() => clearField(7); @$pb.TagNumber(8) - $42.Duration get stopTimeout => $_getN(7); + $43.Duration get stopTimeout => $_getN(7); @$pb.TagNumber(8) - set stopTimeout($42.Duration v) { setField(8, v); } + set stopTimeout($43.Duration v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasStopTimeout() => $_has(7); @$pb.TagNumber(8) void clearStopTimeout() => clearField(8); @$pb.TagNumber(8) - $42.Duration ensureStopTimeout() => $_ensure(7); + $43.Duration ensureStopTimeout() => $_ensure(7); /// additional environment variables passed to the process @$pb.TagNumber(9) @@ -1060,7 +1060,7 @@ class ServiceConfig extends $pb.GeneratedMessage { $core.String? name, $core.String? namespace, $core.String? type, - $43.Struct? attributes, + $44.Struct? attributes, $core.Iterable<$core.String>? dependsOn, $core.String? model, $core.String? api, @@ -1105,7 +1105,7 @@ class ServiceConfig extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOS(2, _omitFieldNames ? '' : 'namespace') ..aOS(3, _omitFieldNames ? '' : 'type') - ..aOM<$43.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $44.Struct.create) ..pPS(5, _omitFieldNames ? '' : 'dependsOn') ..aOS(6, _omitFieldNames ? '' : 'model') ..aOS(9, _omitFieldNames ? '' : 'api') @@ -1163,15 +1163,15 @@ class ServiceConfig extends $pb.GeneratedMessage { void clearType() => clearField(3); @$pb.TagNumber(4) - $43.Struct get attributes => $_getN(3); + $44.Struct get attributes => $_getN(3); @$pb.TagNumber(4) - set attributes($43.Struct v) { setField(4, v); } + set attributes($44.Struct v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasAttributes() => $_has(3); @$pb.TagNumber(4) void clearAttributes() => clearField(4); @$pb.TagNumber(4) - $43.Struct ensureAttributes() => $_ensure(3); + $44.Struct ensureAttributes() => $_ensure(3); @$pb.TagNumber(5) $core.List<$core.String> get dependsOn => $_getList(4); @@ -1319,7 +1319,7 @@ class NetworkConfig extends $pb.GeneratedMessage { class SessionsConfig extends $pb.GeneratedMessage { factory SessionsConfig({ - $42.Duration? heartbeatWindow, + $43.Duration? heartbeatWindow, }) { final $result = create(); if (heartbeatWindow != null) { @@ -1332,7 +1332,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<$42.Duration>(1, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $42.Duration.create) + ..aOM<$43.Duration>(1, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $43.Duration.create) ..hasRequiredFields = false ; @@ -1358,15 +1358,15 @@ class SessionsConfig extends $pb.GeneratedMessage { static SessionsConfig? _defaultInstance; @$pb.TagNumber(1) - $42.Duration get heartbeatWindow => $_getN(0); + $43.Duration get heartbeatWindow => $_getN(0); @$pb.TagNumber(1) - set heartbeatWindow($42.Duration v) { setField(1, v); } + set heartbeatWindow($43.Duration v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasHeartbeatWindow() => $_has(0); @$pb.TagNumber(1) void clearHeartbeatWindow() => clearField(1); @$pb.TagNumber(1) - $42.Duration ensureHeartbeatWindow() => $_ensure(0); + $43.Duration ensureHeartbeatWindow() => $_ensure(0); } class AuthConfig extends $pb.GeneratedMessage { @@ -1439,7 +1439,7 @@ class AuthConfig extends $pb.GeneratedMessage { class JWKSFile extends $pb.GeneratedMessage { factory JWKSFile({ - $43.Struct? json, + $44.Struct? json, }) { final $result = create(); if (json != null) { @@ -1452,7 +1452,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<$43.Struct>(1, _omitFieldNames ? '' : 'json', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(1, _omitFieldNames ? '' : 'json', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1480,15 +1480,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) - $43.Struct get json => $_getN(0); + $44.Struct get json => $_getN(0); @$pb.TagNumber(1) - set json($43.Struct v) { setField(1, v); } + set json($44.Struct v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasJson() => $_has(0); @$pb.TagNumber(1) void clearJson() => clearField(1); @$pb.TagNumber(1) - $43.Struct ensureJson() => $_ensure(0); + $44.Struct ensureJson() => $_ensure(0); } /// ExternalAuthConfig describes how a viam managed robot can accept @@ -1548,7 +1548,7 @@ class ExternalAuthConfig extends $pb.GeneratedMessage { class AuthHandlerConfig extends $pb.GeneratedMessage { factory AuthHandlerConfig({ CredentialsType? type, - $43.Struct? config, + $44.Struct? config, }) { final $result = create(); if (type != null) { @@ -1565,7 +1565,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<$43.Struct>(5, _omitFieldNames ? '' : 'config', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(5, _omitFieldNames ? '' : 'config', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1600,15 +1600,15 @@ class AuthHandlerConfig extends $pb.GeneratedMessage { void clearType() => clearField(1); @$pb.TagNumber(5) - $43.Struct get config => $_getN(1); + $44.Struct get config => $_getN(1); @$pb.TagNumber(5) - set config($43.Struct v) { setField(5, v); } + set config($44.Struct v) { setField(5, v); } @$pb.TagNumber(5) $core.bool hasConfig() => $_has(1); @$pb.TagNumber(5) void clearConfig() => clearField(5); @$pb.TagNumber(5) - $43.Struct ensureConfig() => $_ensure(1); + $44.Struct ensureConfig() => $_ensure(1); } class Frame extends $pb.GeneratedMessage { @@ -2503,8 +2503,8 @@ class RemoteConfig extends $pb.GeneratedMessage { RemoteAuth? auth, $core.String? managedBy, $core.bool? insecure, - $42.Duration? connectionCheckInterval, - $42.Duration? reconnectInterval, + $43.Duration? connectionCheckInterval, + $43.Duration? reconnectInterval, $core.Iterable? serviceConfigs, $core.String? secret, }) { @@ -2552,8 +2552,8 @@ class RemoteConfig extends $pb.GeneratedMessage { ..aOM(4, _omitFieldNames ? '' : 'auth', subBuilder: RemoteAuth.create) ..aOS(5, _omitFieldNames ? '' : 'managedBy') ..aOB(6, _omitFieldNames ? '' : 'insecure') - ..aOM<$42.Duration>(7, _omitFieldNames ? '' : 'connectionCheckInterval', subBuilder: $42.Duration.create) - ..aOM<$42.Duration>(8, _omitFieldNames ? '' : 'reconnectInterval', subBuilder: $42.Duration.create) + ..aOM<$43.Duration>(7, _omitFieldNames ? '' : 'connectionCheckInterval', subBuilder: $43.Duration.create) + ..aOM<$43.Duration>(8, _omitFieldNames ? '' : 'reconnectInterval', subBuilder: $43.Duration.create) ..pc(9, _omitFieldNames ? '' : 'serviceConfigs', $pb.PbFieldType.PM, subBuilder: ResourceLevelServiceConfig.create) ..aOS(10, _omitFieldNames ? '' : 'secret') ..hasRequiredFields = false @@ -2639,26 +2639,26 @@ class RemoteConfig extends $pb.GeneratedMessage { void clearInsecure() => clearField(6); @$pb.TagNumber(7) - $42.Duration get connectionCheckInterval => $_getN(6); + $43.Duration get connectionCheckInterval => $_getN(6); @$pb.TagNumber(7) - set connectionCheckInterval($42.Duration v) { setField(7, v); } + set connectionCheckInterval($43.Duration v) { setField(7, v); } @$pb.TagNumber(7) $core.bool hasConnectionCheckInterval() => $_has(6); @$pb.TagNumber(7) void clearConnectionCheckInterval() => clearField(7); @$pb.TagNumber(7) - $42.Duration ensureConnectionCheckInterval() => $_ensure(6); + $43.Duration ensureConnectionCheckInterval() => $_ensure(6); @$pb.TagNumber(8) - $42.Duration get reconnectInterval => $_getN(7); + $43.Duration get reconnectInterval => $_getN(7); @$pb.TagNumber(8) - set reconnectInterval($42.Duration v) { setField(8, v); } + set reconnectInterval($43.Duration v) { setField(8, v); } @$pb.TagNumber(8) $core.bool hasReconnectInterval() => $_has(7); @$pb.TagNumber(8) void clearReconnectInterval() => clearField(8); @$pb.TagNumber(8) - $42.Duration ensureReconnectInterval() => $_ensure(7); + $43.Duration ensureReconnectInterval() => $_ensure(7); @$pb.TagNumber(9) $core.List get serviceConfigs => $_getList(8); @@ -3331,7 +3331,7 @@ class NeedsRestartResponse extends $pb.GeneratedMessage { factory NeedsRestartResponse({ $core.String? id, $core.bool? mustRestart, - $42.Duration? restartCheckInterval, + $43.Duration? restartCheckInterval, }) { final $result = create(); if (id != null) { @@ -3352,7 +3352,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<$42.Duration>(3, _omitFieldNames ? '' : 'restartCheckInterval', subBuilder: $42.Duration.create) + ..aOM<$43.Duration>(3, _omitFieldNames ? '' : 'restartCheckInterval', subBuilder: $43.Duration.create) ..hasRequiredFields = false ; @@ -3397,15 +3397,15 @@ class NeedsRestartResponse extends $pb.GeneratedMessage { void clearMustRestart() => clearField(2); @$pb.TagNumber(3) - $42.Duration get restartCheckInterval => $_getN(2); + $43.Duration get restartCheckInterval => $_getN(2); @$pb.TagNumber(3) - set restartCheckInterval($42.Duration v) { setField(3, v); } + set restartCheckInterval($43.Duration v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasRestartCheckInterval() => $_has(2); @$pb.TagNumber(3) void clearRestartCheckInterval() => clearField(3); @$pb.TagNumber(3) - $42.Duration ensureRestartCheckInterval() => $_ensure(2); + $43.Duration ensureRestartCheckInterval() => $_ensure(2); } /// ModuleConfig is the configuration for a module. @@ -3418,7 +3418,7 @@ class ModuleConfig extends $pb.GeneratedMessage { $core.String? moduleId, $core.Map<$core.String, $core.String>? env, AppValidationStatus? status, - $42.Duration? firstRunTimeout, + $43.Duration? firstRunTimeout, }) { final $result = create(); if (name != null) { @@ -3459,7 +3459,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) + ..aOM<$43.Duration>(8, _omitFieldNames ? '' : 'firstRunTimeout', subBuilder: $43.Duration.create) ..hasRequiredFields = false ; @@ -3551,15 +3551,15 @@ class ModuleConfig extends $pb.GeneratedMessage { /// timeout for first_run script @$pb.TagNumber(8) - $42.Duration get firstRunTimeout => $_getN(7); + $43.Duration get firstRunTimeout => $_getN(7); @$pb.TagNumber(8) - set firstRunTimeout($42.Duration v) { setField(8, v); } + set firstRunTimeout($43.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); + $43.Duration ensureFirstRunTimeout() => $_ensure(7); } /// PackageConfig is the configration for deployed Packages. diff --git a/lib/src/gen/common/v1/common.pb.dart b/lib/src/gen/common/v1/common.pb.dart index 03c33195186..847d7780ec6 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 $43; -import '../../google/protobuf/timestamp.pb.dart' as $44; +import '../../google/protobuf/struct.pb.dart' as $44; +import '../../google/protobuf/timestamp.pb.dart' as $45; import 'common.pbenum.dart'; export 'common.pbenum.dart'; @@ -1282,7 +1282,7 @@ class ActuatorStatus extends $pb.GeneratedMessage { class ResponseMetadata extends $pb.GeneratedMessage { factory ResponseMetadata({ - $44.Timestamp? capturedAt, + $45.Timestamp? capturedAt, }) { final $result = create(); if (capturedAt != null) { @@ -1295,7 +1295,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<$44.Timestamp>(1, _omitFieldNames ? '' : 'capturedAt', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(1, _omitFieldNames ? '' : 'capturedAt', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -1325,22 +1325,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) - $44.Timestamp get capturedAt => $_getN(0); + $45.Timestamp get capturedAt => $_getN(0); @$pb.TagNumber(1) - set capturedAt($44.Timestamp v) { setField(1, v); } + set capturedAt($45.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasCapturedAt() => $_has(0); @$pb.TagNumber(1) void clearCapturedAt() => clearField(1); @$pb.TagNumber(1) - $44.Timestamp ensureCapturedAt() => $_ensure(0); + $45.Timestamp ensureCapturedAt() => $_ensure(0); } /// DoCommandRequest represents a generic DoCommand input class DoCommandRequest extends $pb.GeneratedMessage { factory DoCommandRequest({ $core.String? name, - $43.Struct? command, + $44.Struct? command, }) { final $result = create(); if (name != null) { @@ -1357,7 +1357,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<$43.Struct>(2, _omitFieldNames ? '' : 'command', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(2, _omitFieldNames ? '' : 'command', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1392,21 +1392,21 @@ class DoCommandRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(2) - $43.Struct get command => $_getN(1); + $44.Struct get command => $_getN(1); @$pb.TagNumber(2) - set command($43.Struct v) { setField(2, v); } + set command($44.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasCommand() => $_has(1); @$pb.TagNumber(2) void clearCommand() => clearField(2); @$pb.TagNumber(2) - $43.Struct ensureCommand() => $_ensure(1); + $44.Struct ensureCommand() => $_ensure(1); } /// DoCommandResponse represents a generic DoCommand output class DoCommandResponse extends $pb.GeneratedMessage { factory DoCommandResponse({ - $43.Struct? result, + $44.Struct? result, }) { final $result = create(); if (result != null) { @@ -1419,7 +1419,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<$43.Struct>(1, _omitFieldNames ? '' : 'result', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(1, _omitFieldNames ? '' : 'result', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1445,21 +1445,21 @@ class DoCommandResponse extends $pb.GeneratedMessage { static DoCommandResponse? _defaultInstance; @$pb.TagNumber(1) - $43.Struct get result => $_getN(0); + $44.Struct get result => $_getN(0); @$pb.TagNumber(1) - set result($43.Struct v) { setField(1, v); } + set result($44.Struct v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasResult() => $_has(0); @$pb.TagNumber(1) void clearResult() => clearField(1); @$pb.TagNumber(1) - $43.Struct ensureResult() => $_ensure(0); + $44.Struct ensureResult() => $_ensure(0); } class GetKinematicsRequest extends $pb.GeneratedMessage { factory GetKinematicsRequest({ $core.String? name, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1476,7 +1476,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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1513,15 +1513,15 @@ class GetKinematicsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetKinematicsResponse extends $pb.GeneratedMessage { @@ -1594,7 +1594,7 @@ class GetKinematicsResponse extends $pb.GeneratedMessage { class GetGeometriesRequest extends $pb.GeneratedMessage { factory GetGeometriesRequest({ $core.String? name, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1611,7 +1611,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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1648,15 +1648,15 @@ class GetGeometriesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetGeometriesResponse extends $pb.GeneratedMessage { @@ -1707,7 +1707,7 @@ class GetGeometriesResponse extends $pb.GeneratedMessage { class GetReadingsRequest extends $pb.GeneratedMessage { factory GetReadingsRequest({ $core.String? name, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1724,7 +1724,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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1761,20 +1761,20 @@ class GetReadingsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetReadingsResponse extends $pb.GeneratedMessage { factory GetReadingsResponse({ - $core.Map<$core.String, $43.Value>? readings, + $core.Map<$core.String, $44.Value>? readings, }) { final $result = create(); if (readings != null) { @@ -1787,7 +1787,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, $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')) + ..m<$core.String, $44.Value>(1, _omitFieldNames ? '' : 'readings', entryClassName: 'GetReadingsResponse.ReadingsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $44.Value.create, valueDefaultOrMaker: $44.Value.getDefault, packageName: const $pb.PackageName('viam.common.v1')) ..hasRequiredFields = false ; @@ -1813,19 +1813,19 @@ class GetReadingsResponse extends $pb.GeneratedMessage { static GetReadingsResponse? _defaultInstance; @$pb.TagNumber(1) - $core.Map<$core.String, $43.Value> get readings => $_getMap(0); + $core.Map<$core.String, $44.Value> get readings => $_getMap(0); } class LogEntry extends $pb.GeneratedMessage { factory LogEntry({ $core.String? host, $core.String? level, - $44.Timestamp? time, + $45.Timestamp? time, $core.String? loggerName, $core.String? message, - $43.Struct? caller, + $44.Struct? caller, $core.String? stack, - $core.Iterable<$43.Struct>? fields, + $core.Iterable<$44.Struct>? fields, }) { final $result = create(); if (host != null) { @@ -1861,12 +1861,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<$44.Timestamp>(3, _omitFieldNames ? '' : 'time', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(3, _omitFieldNames ? '' : 'time', subBuilder: $45.Timestamp.create) ..aOS(4, _omitFieldNames ? '' : 'loggerName') ..aOS(5, _omitFieldNames ? '' : 'message') - ..aOM<$43.Struct>(6, _omitFieldNames ? '' : 'caller', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(6, _omitFieldNames ? '' : 'caller', subBuilder: $44.Struct.create) ..aOS(7, _omitFieldNames ? '' : 'stack') - ..pc<$43.Struct>(8, _omitFieldNames ? '' : 'fields', $pb.PbFieldType.PM, subBuilder: $43.Struct.create) + ..pc<$44.Struct>(8, _omitFieldNames ? '' : 'fields', $pb.PbFieldType.PM, subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1910,15 +1910,15 @@ class LogEntry extends $pb.GeneratedMessage { void clearLevel() => clearField(2); @$pb.TagNumber(3) - $44.Timestamp get time => $_getN(2); + $45.Timestamp get time => $_getN(2); @$pb.TagNumber(3) - set time($44.Timestamp v) { setField(3, v); } + set time($45.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasTime() => $_has(2); @$pb.TagNumber(3) void clearTime() => clearField(3); @$pb.TagNumber(3) - $44.Timestamp ensureTime() => $_ensure(2); + $45.Timestamp ensureTime() => $_ensure(2); @$pb.TagNumber(4) $core.String get loggerName => $_getSZ(3); @@ -1939,15 +1939,15 @@ class LogEntry extends $pb.GeneratedMessage { void clearMessage() => clearField(5); @$pb.TagNumber(6) - $43.Struct get caller => $_getN(5); + $44.Struct get caller => $_getN(5); @$pb.TagNumber(6) - set caller($43.Struct v) { setField(6, v); } + set caller($44.Struct v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasCaller() => $_has(5); @$pb.TagNumber(6) void clearCaller() => clearField(6); @$pb.TagNumber(6) - $43.Struct ensureCaller() => $_ensure(5); + $44.Struct ensureCaller() => $_ensure(5); @$pb.TagNumber(7) $core.String get stack => $_getSZ(6); @@ -1959,7 +1959,7 @@ class LogEntry extends $pb.GeneratedMessage { void clearStack() => clearField(7); @$pb.TagNumber(8) - $core.List<$43.Struct> get fields => $_getList(7); + $core.List<$44.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 72f5dc4cbb2..438bc596d0b 100644 --- a/lib/src/gen/component/arm/v1/arm.pb.dart +++ b/lib/src/gen/component/arm/v1/arm.pb.dart @@ -14,12 +14,12 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/struct.pb.dart' as $44; class GetEndPositionRequest extends $pb.GeneratedMessage { factory GetEndPositionRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -73,15 +73,15 @@ class GetEndPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetEndPositionResponse extends $pb.GeneratedMessage { @@ -187,7 +187,7 @@ class JointPositions extends $pb.GeneratedMessage { class GetJointPositionsRequest extends $pb.GeneratedMessage { factory GetJointPositionsRequest({ $core.String? name, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -204,7 +204,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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -241,15 +241,15 @@ class GetJointPositionsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetJointPositionsResponse extends $pb.GeneratedMessage { @@ -312,7 +312,7 @@ class MoveToPositionRequest extends $pb.GeneratedMessage { factory MoveToPositionRequest({ $core.String? name, $15.Pose? to, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -333,7 +333,7 @@ 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<$15.Pose>(2, _omitFieldNames ? '' : 'to', subBuilder: $15.Pose.create) - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -382,15 +382,15 @@ class MoveToPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.Struct ensureExtra() => $_ensure(2); } class MoveToPositionResponse extends $pb.GeneratedMessage { @@ -429,7 +429,7 @@ class MoveToJointPositionsRequest extends $pb.GeneratedMessage { factory MoveToJointPositionsRequest({ $core.String? name, JointPositions? positions, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -450,7 +450,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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -500,15 +500,15 @@ class MoveToJointPositionsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.Struct ensureExtra() => $_ensure(2); } class MoveToJointPositionsResponse extends $pb.GeneratedMessage { @@ -548,7 +548,7 @@ class MoveThroughJointPositionsRequest extends $pb.GeneratedMessage { $core.String? name, $core.Iterable? positions, MoveOptions? options, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -573,7 +573,7 @@ class MoveThroughJointPositionsRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..pc(2, _omitFieldNames ? '' : 'positions', $pb.PbFieldType.PM, subBuilder: JointPositions.create) ..aOM(3, _omitFieldNames ? '' : 'options', subBuilder: MoveOptions.create) - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -626,15 +626,15 @@ class MoveThroughJointPositionsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.Struct ensureExtra() => $_ensure(3); } class MoveThroughJointPositionsResponse extends $pb.GeneratedMessage { @@ -672,7 +672,7 @@ class MoveThroughJointPositionsResponse extends $pb.GeneratedMessage { class StopRequest extends $pb.GeneratedMessage { factory StopRequest({ $core.String? name, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -689,7 +689,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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -726,15 +726,15 @@ class StopRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class StopResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/audioinput/v1/audioinput.pb.dart b/lib/src/gen/component/audioinput/v1/audioinput.pb.dart index 36e233ccb90..0ceb4b5fcde 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 $42; +import '../../../google/protobuf/duration.pb.dart' as $43; 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, - $42.Duration? duration, + $43.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<$42.Duration>(2, _omitFieldNames ? '' : 'duration', subBuilder: $42.Duration.create) + ..aOM<$43.Duration>(2, _omitFieldNames ? '' : 'duration', subBuilder: $43.Duration.create) ..hasRequiredFields = false ; @@ -75,15 +75,15 @@ class RecordRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(2) - $42.Duration get duration => $_getN(1); + $43.Duration get duration => $_getN(1); @$pb.TagNumber(2) - set duration($42.Duration v) { setField(2, v); } + set duration($43.Duration v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasDuration() => $_has(1); @$pb.TagNumber(2) void clearDuration() => clearField(2); @$pb.TagNumber(2) - $42.Duration ensureDuration() => $_ensure(1); + $43.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, - $42.Duration? latency, + $43.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<$42.Duration>(2, _omitFieldNames ? '' : 'latency', subBuilder: $42.Duration.create) + ..aOM<$43.Duration>(2, _omitFieldNames ? '' : 'latency', subBuilder: $43.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) - $42.Duration get latency => $_getN(1); + $43.Duration get latency => $_getN(1); @$pb.TagNumber(2) - set latency($42.Duration v) { setField(2, v); } + set latency($43.Duration v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasLatency() => $_has(1); @$pb.TagNumber(2) void clearLatency() => clearField(2); @$pb.TagNumber(2) - $42.Duration ensureLatency() => $_ensure(1); + $43.Duration ensureLatency() => $_ensure(1); @$pb.TagNumber(3) $core.int get sampleRate => $_getIZ(2); diff --git a/lib/src/gen/component/base/v1/base.pb.dart b/lib/src/gen/component/base/v1/base.pb.dart index 1c952fbb901..341922c2690 100644 --- a/lib/src/gen/component/base/v1/base.pb.dart +++ b/lib/src/gen/component/base/v1/base.pb.dart @@ -15,14 +15,14 @@ import 'package:fixnum/fixnum.dart' as $fixnum; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/struct.pb.dart' as $44; class MoveStraightRequest extends $pb.GeneratedMessage { factory MoveStraightRequest({ $core.String? name, $fixnum.Int64? distanceMm, $core.double? mmPerSec, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -104,15 +104,15 @@ class MoveStraightRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -234,15 +234,15 @@ class SpinRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -334,15 +334,15 @@ class StopRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class StopResponse extends $pb.GeneratedMessage { @@ -382,7 +382,7 @@ class SetPowerRequest extends $pb.GeneratedMessage { $core.String? name, $15.Vector3? linear, $15.Vector3? angular, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -407,7 +407,7 @@ class SetPowerRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOM<$15.Vector3>(2, _omitFieldNames ? '' : 'linear', subBuilder: $15.Vector3.create) ..aOM<$15.Vector3>(3, _omitFieldNames ? '' : 'angular', subBuilder: $15.Vector3.create) - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -468,15 +468,15 @@ class SetPowerRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.Struct ensureExtra() => $_ensure(3); } class SetPowerResponse extends $pb.GeneratedMessage { @@ -516,7 +516,7 @@ class SetVelocityRequest extends $pb.GeneratedMessage { $core.String? name, $15.Vector3? linear, $15.Vector3? angular, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -541,7 +541,7 @@ class SetVelocityRequest extends $pb.GeneratedMessage { ..aOS(1, _omitFieldNames ? '' : 'name') ..aOM<$15.Vector3>(2, _omitFieldNames ? '' : 'linear', subBuilder: $15.Vector3.create) ..aOM<$15.Vector3>(3, _omitFieldNames ? '' : 'angular', subBuilder: $15.Vector3.create) - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -602,15 +602,15 @@ class SetVelocityRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -801,15 +801,15 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetPropertiesResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/board/v1/board.pb.dart b/lib/src/gen/component/board/v1/board.pb.dart index fc9db2a8dcd..b5f2d28028f 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 $42; -import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/duration.pb.dart' as $43; +import '../../../google/protobuf/struct.pb.dart' as $44; 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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -156,15 +156,15 @@ class SetGPIORequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -269,15 +269,15 @@ class GetGPIORequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -400,15 +400,15 @@ class PWMRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -545,15 +545,15 @@ class SetPWMRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -658,15 +658,15 @@ class PWMFrequencyRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -803,15 +803,15 @@ class SetPWMFrequencyRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -916,15 +916,15 @@ class ReadAnalogReaderRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1103,15 +1103,15 @@ class WriteAnalogRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1216,15 +1216,15 @@ class GetDigitalInterruptValueRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1343,15 +1343,15 @@ class StreamTicksRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $42.Duration? duration, - $43.Struct? extra, + $43.Duration? duration, + $44.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<$42.Duration>(3, _omitFieldNames ? '' : 'duration', subBuilder: $42.Duration.create) - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$43.Duration>(3, _omitFieldNames ? '' : 'duration', subBuilder: $43.Duration.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1512,27 +1512,27 @@ class SetPowerModeRequest extends $pb.GeneratedMessage { /// Requested duration to stay in `power_mode` @$pb.TagNumber(3) - $42.Duration get duration => $_getN(2); + $43.Duration get duration => $_getN(2); @$pb.TagNumber(3) - set duration($42.Duration v) { setField(3, v); } + set duration($43.Duration v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasDuration() => $_has(2); @$pb.TagNumber(3) void clearDuration() => clearField(3); @$pb.TagNumber(3) - $42.Duration ensureDuration() => $_ensure(2); + $43.Duration ensureDuration() => $_ensure(2); /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.Struct ensureExtra() => $_ensure(3); } class SetPowerModeResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/camera/v1/camera.pb.dart b/lib/src/gen/component/camera/v1/camera.pb.dart index 07a0dbec210..4787b2eb1ed 100644 --- a/lib/src/gen/component/camera/v1/camera.pb.dart +++ b/lib/src/gen/component/camera/v1/camera.pb.dart @@ -14,7 +14,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/struct.pb.dart' as $44; 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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -91,15 +91,15 @@ class GetImageRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.Struct ensureExtra() => $_ensure(2); } class GetImageResponse extends $pb.GeneratedMessage { @@ -366,7 +366,7 @@ class RenderFrameRequest extends $pb.GeneratedMessage { factory RenderFrameRequest({ $core.String? name, $core.String? mimeType, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -434,22 +434,22 @@ class RenderFrameRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.Struct ensureExtra() => $_ensure(2); } class GetPointCloudRequest extends $pb.GeneratedMessage { factory GetPointCloudRequest({ $core.String? name, $core.String? mimeType, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -517,15 +517,15 @@ class GetPointCloudRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.Struct ensureExtra() => $_ensure(2); } class GetPointCloudResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/encoder/v1/encoder.pb.dart b/lib/src/gen/component/encoder/v1/encoder.pb.dart index f9cfb5c52ee..140e493767d 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 $43; +import '../../../google/protobuf/struct.pb.dart' as $44; import 'encoder.pbenum.dart'; export 'encoder.pbenum.dart'; @@ -22,7 +22,7 @@ class GetPositionRequest extends $pb.GeneratedMessage { factory GetPositionRequest({ $core.String? name, PositionType? positionType, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -94,15 +94,15 @@ class GetPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -226,15 +226,15 @@ class ResetPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -326,15 +326,15 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetPropertiesResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/gantry/v1/gantry.pb.dart b/lib/src/gen/component/gantry/v1/gantry.pb.dart index b3f06ccb1eb..e40f5478a45 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 $43; +import '../../../google/protobuf/struct.pb.dart' as $44; class GetPositionRequest extends $pb.GeneratedMessage { factory GetPositionRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -71,15 +71,15 @@ class GetPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -200,15 +200,15 @@ class MoveToPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -299,15 +299,15 @@ class HomeRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -417,15 +417,15 @@ class GetLengthsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -529,15 +529,15 @@ class StopRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class StopResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/gripper/v1/gripper.pb.dart b/lib/src/gen/component/gripper/v1/gripper.pb.dart index 54783f143bc..016d8d06702 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 $43; +import '../../../google/protobuf/struct.pb.dart' as $44; class OpenRequest extends $pb.GeneratedMessage { factory OpenRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -70,15 +70,15 @@ class OpenRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -168,21 +168,21 @@ class GrabRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GrabResponse extends $pb.GeneratedMessage { factory GrabResponse({ $core.bool? success, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -234,21 +234,21 @@ class GrabResponse extends $pb.GeneratedMessage { void clearSuccess() => clearField(1); @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class StopRequest extends $pb.GeneratedMessage { factory StopRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -301,15 +301,15 @@ class StopRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class StopResponse extends $pb.GeneratedMessage { 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 0ad72b329a1..99e256243aa 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 $43; -import '../../../google/protobuf/timestamp.pb.dart' as $44; +import '../../../google/protobuf/struct.pb.dart' as $44; +import '../../../google/protobuf/timestamp.pb.dart' as $45; class GetControlsRequest extends $pb.GeneratedMessage { factory GetControlsRequest({ $core.String? controller, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -73,15 +73,15 @@ class GetControlsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -187,15 +187,15 @@ class GetEventsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -318,15 +318,15 @@ class TriggerEventRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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({ - $44.Timestamp? time, + $45.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<$44.Timestamp>(1, _omitFieldNames ? '' : 'time', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(1, _omitFieldNames ? '' : 'time', subBuilder: $45.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) - $44.Timestamp get time => $_getN(0); + $45.Timestamp get time => $_getN(0); @$pb.TagNumber(1) - set time($44.Timestamp v) { setField(1, v); } + set time($45.Timestamp v) { setField(1, v); } @$pb.TagNumber(1) $core.bool hasTime() => $_has(0); @$pb.TagNumber(1) void clearTime() => clearField(1); @$pb.TagNumber(1) - $44.Timestamp ensureTime() => $_ensure(0); + $45.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -595,15 +595,15 @@ class StreamEventsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.Struct ensureExtra() => $_ensure(2); } class StreamEventsResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/motor/v1/motor.pb.dart b/lib/src/gen/component/motor/v1/motor.pb.dart index 4a25411a8cb..ac841d121b4 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 $43; +import '../../../google/protobuf/struct.pb.dart' as $44; class SetPowerRequest extends $pb.GeneratedMessage { factory SetPowerRequest({ $core.String? name, $core.double? powerPct, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -87,15 +87,15 @@ class SetPowerRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -217,15 +217,15 @@ class GoForRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -347,15 +347,15 @@ class GoToRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -462,15 +462,15 @@ class SetRPMRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -577,15 +577,15 @@ class ResetZeroPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -677,15 +677,15 @@ class GetPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -796,15 +796,15 @@ class StopRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -896,15 +896,15 @@ class IsPoweredRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1032,15 +1032,15 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetPropertiesResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/movementsensor/v1/movementsensor.pb.dart b/lib/src/gen/component/movementsensor/v1/movementsensor.pb.dart index 80c50648d5c..4f4a02d4f2f 100644 --- a/lib/src/gen/component/movementsensor/v1/movementsensor.pb.dart +++ b/lib/src/gen/component/movementsensor/v1/movementsensor.pb.dart @@ -14,12 +14,12 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/struct.pb.dart' as $44; class GetLinearVelocityRequest extends $pb.GeneratedMessage { factory GetLinearVelocityRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -73,15 +73,15 @@ class GetLinearVelocityRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetLinearVelocityResponse extends $pb.GeneratedMessage { @@ -140,7 +140,7 @@ class GetLinearVelocityResponse extends $pb.GeneratedMessage { class GetAngularVelocityRequest extends $pb.GeneratedMessage { factory GetAngularVelocityRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -194,15 +194,15 @@ class GetAngularVelocityRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetAngularVelocityResponse extends $pb.GeneratedMessage { @@ -261,7 +261,7 @@ class GetAngularVelocityResponse extends $pb.GeneratedMessage { class GetCompassHeadingRequest extends $pb.GeneratedMessage { factory GetCompassHeadingRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -315,15 +315,15 @@ class GetCompassHeadingRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -435,15 +435,15 @@ class GetOrientationRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetOrientationResponse extends $pb.GeneratedMessage { @@ -503,7 +503,7 @@ class GetOrientationResponse extends $pb.GeneratedMessage { class GetPositionRequest extends $pb.GeneratedMessage { factory GetPositionRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -557,15 +557,15 @@ class GetPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetPositionResponse extends $pb.GeneratedMessage { @@ -639,7 +639,7 @@ class GetPositionResponse extends $pb.GeneratedMessage { class GetPropertiesRequest extends $pb.GeneratedMessage { factory GetPropertiesRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -693,15 +693,15 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -881,15 +881,15 @@ class GetAccuracyRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1049,15 +1049,15 @@ class GetLinearAccelerationRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetLinearAccelerationResponse extends $pb.GeneratedMessage { 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 022269e7126..b9f79344e9c 100644 --- a/lib/src/gen/component/posetracker/v1/pose_tracker.pb.dart +++ b/lib/src/gen/component/posetracker/v1/pose_tracker.pb.dart @@ -14,13 +14,13 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/struct.pb.dart' as $44; class GetPosesRequest extends $pb.GeneratedMessage { factory GetPosesRequest({ $core.String? name, $core.Iterable<$core.String>? bodyNames, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -84,15 +84,15 @@ class GetPosesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.Struct ensureExtra() => $_ensure(2); } class GetPosesResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/powersensor/v1/powersensor.pb.dart b/lib/src/gen/component/powersensor/v1/powersensor.pb.dart index ffa41ffac58..05044ff4981 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 $43; +import '../../../google/protobuf/struct.pb.dart' as $44; class GetVoltageRequest extends $pb.GeneratedMessage { factory GetVoltageRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -72,15 +72,15 @@ class GetVoltageRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -206,15 +206,15 @@ class GetCurrentRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -340,15 +340,15 @@ class GetPowerRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetPowerResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/component/servo/v1/servo.pb.dart b/lib/src/gen/component/servo/v1/servo.pb.dart index a58a7edbced..40db9e7c60a 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 $43; +import '../../../google/protobuf/struct.pb.dart' as $44; class MoveRequest extends $pb.GeneratedMessage { factory MoveRequest({ $core.String? name, $core.int? angleDeg, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -87,15 +87,15 @@ class MoveRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -187,15 +187,15 @@ class GetPositionRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -306,15 +306,15 @@ class StopRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class StopResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/robot/v1/robot.pb.dart b/lib/src/gen/robot/v1/robot.pb.dart index 700e23c4486..8b5f59f8b6d 100644 --- a/lib/src/gen/robot/v1/robot.pb.dart +++ b/lib/src/gen/robot/v1/robot.pb.dart @@ -14,9 +14,9 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; import '../../common/v1/common.pb.dart' as $15; -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 '../../google/protobuf/duration.pb.dart' as $43; +import '../../google/protobuf/struct.pb.dart' as $44; +import '../../google/protobuf/timestamp.pb.dart' as $45; import 'robot.pbenum.dart'; export 'robot.pbenum.dart'; @@ -24,7 +24,7 @@ export 'robot.pbenum.dart'; class FrameSystemConfig extends $pb.GeneratedMessage { factory FrameSystemConfig({ $15.Transform? frame, - $43.Struct? kinematics, + $44.Struct? kinematics, }) { final $result = create(); if (frame != null) { @@ -41,7 +41,7 @@ class FrameSystemConfig extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FrameSystemConfig', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) ..aOM<$15.Transform>(1, _omitFieldNames ? '' : 'frame', subBuilder: $15.Transform.create) - ..aOM<$43.Struct>(2, _omitFieldNames ? '' : 'kinematics', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(2, _omitFieldNames ? '' : 'kinematics', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -78,15 +78,15 @@ class FrameSystemConfig extends $pb.GeneratedMessage { $15.Transform ensureFrame() => $_ensure(0); @$pb.TagNumber(2) - $43.Struct get kinematics => $_getN(1); + $44.Struct get kinematics => $_getN(1); @$pb.TagNumber(2) - set kinematics($43.Struct v) { setField(2, v); } + set kinematics($44.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasKinematics() => $_has(1); @$pb.TagNumber(2) void clearKinematics() => clearField(2); @$pb.TagNumber(2) - $43.Struct ensureKinematics() => $_ensure(1); + $44.Struct ensureKinematics() => $_ensure(1); } class FrameSystemConfigRequest extends $pb.GeneratedMessage { @@ -667,8 +667,8 @@ class Operation extends $pb.GeneratedMessage { factory Operation({ $core.String? id, $core.String? method, - $43.Struct? arguments, - $44.Timestamp? started, + $44.Struct? arguments, + $45.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<$43.Struct>(3, _omitFieldNames ? '' : 'arguments', subBuilder: $43.Struct.create) - ..aOM<$44.Timestamp>(4, _omitFieldNames ? '' : 'started', subBuilder: $44.Timestamp.create) + ..aOM<$44.Struct>(3, _omitFieldNames ? '' : 'arguments', subBuilder: $44.Struct.create) + ..aOM<$45.Timestamp>(4, _omitFieldNames ? '' : 'started', subBuilder: $45.Timestamp.create) ..aOS(5, _omitFieldNames ? '' : 'sessionId') ..hasRequiredFields = false ; @@ -742,26 +742,26 @@ class Operation extends $pb.GeneratedMessage { void clearMethod() => clearField(2); @$pb.TagNumber(3) - $43.Struct get arguments => $_getN(2); + $44.Struct get arguments => $_getN(2); @$pb.TagNumber(3) - set arguments($43.Struct v) { setField(3, v); } + set arguments($44.Struct v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasArguments() => $_has(2); @$pb.TagNumber(3) void clearArguments() => clearField(3); @$pb.TagNumber(3) - $43.Struct ensureArguments() => $_ensure(2); + $44.Struct ensureArguments() => $_ensure(2); @$pb.TagNumber(4) - $44.Timestamp get started => $_getN(3); + $45.Timestamp get started => $_getN(3); @$pb.TagNumber(4) - set started($44.Timestamp v) { setField(4, v); } + set started($45.Timestamp v) { setField(4, v); } @$pb.TagNumber(4) $core.bool hasStarted() => $_has(3); @$pb.TagNumber(4) void clearStarted() => clearField(4); @$pb.TagNumber(4) - $44.Timestamp ensureStarted() => $_ensure(3); + $45.Timestamp ensureStarted() => $_ensure(3); @$pb.TagNumber(5) $core.String get sessionId => $_getSZ(4); @@ -1237,7 +1237,7 @@ class DiscoveryQuery extends $pb.GeneratedMessage { factory DiscoveryQuery({ $core.String? subtype, $core.String? model, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (subtype != null) { @@ -1258,7 +1258,7 @@ class DiscoveryQuery extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DiscoveryQuery', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'subtype') ..aOS(2, _omitFieldNames ? '' : 'model') - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1302,21 +1302,21 @@ class DiscoveryQuery extends $pb.GeneratedMessage { void clearModel() => clearField(2); @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.Struct ensureExtra() => $_ensure(2); } class Discovery extends $pb.GeneratedMessage { factory Discovery({ DiscoveryQuery? query, - $43.Struct? results, + $44.Struct? results, }) { final $result = create(); if (query != null) { @@ -1333,7 +1333,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<$43.Struct>(2, _omitFieldNames ? '' : 'results', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(2, _omitFieldNames ? '' : 'results', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1370,15 +1370,183 @@ class Discovery extends $pb.GeneratedMessage { DiscoveryQuery ensureQuery() => $_ensure(0); @$pb.TagNumber(2) - $43.Struct get results => $_getN(1); + $44.Struct get results => $_getN(1); @$pb.TagNumber(2) - set results($43.Struct v) { setField(2, v); } + set results($44.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasResults() => $_has(1); @$pb.TagNumber(2) void clearResults() => clearField(2); @$pb.TagNumber(2) - $43.Struct ensureResults() => $_ensure(1); + $44.Struct ensureResults() => $_ensure(1); +} + +class ModuleModel extends $pb.GeneratedMessage { + factory ModuleModel({ + $core.String? moduleName, + $core.String? model, + $core.String? api, + $core.bool? fromLocalModule, + }) { + final $result = create(); + if (moduleName != null) { + $result.moduleName = moduleName; + } + if (model != null) { + $result.model = model; + } + if (api != null) { + $result.api = api; + } + if (fromLocalModule != null) { + $result.fromLocalModule = fromLocalModule; + } + return $result; + } + ModuleModel._() : super(); + factory ModuleModel.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ModuleModel.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ModuleModel', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'moduleName') + ..aOS(2, _omitFieldNames ? '' : 'model') + ..aOS(3, _omitFieldNames ? '' : 'api') + ..aOB(4, _omitFieldNames ? '' : 'fromLocalModule') + ..hasRequiredFields = false + ; + + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ModuleModel clone() => ModuleModel()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ModuleModel copyWith(void Function(ModuleModel) updates) => super.copyWith((message) => updates(message as ModuleModel)) as ModuleModel; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ModuleModel create() => ModuleModel._(); + ModuleModel createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ModuleModel getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ModuleModel? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get moduleName => $_getSZ(0); + @$pb.TagNumber(1) + set moduleName($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasModuleName() => $_has(0); + @$pb.TagNumber(1) + void clearModuleName() => clearField(1); + + @$pb.TagNumber(2) + $core.String get model => $_getSZ(1); + @$pb.TagNumber(2) + set model($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasModel() => $_has(1); + @$pb.TagNumber(2) + void clearModel() => clearField(2); + + @$pb.TagNumber(3) + $core.String get api => $_getSZ(2); + @$pb.TagNumber(3) + set api($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasApi() => $_has(2); + @$pb.TagNumber(3) + void clearApi() => clearField(3); + + @$pb.TagNumber(4) + $core.bool get fromLocalModule => $_getBF(3); + @$pb.TagNumber(4) + set fromLocalModule($core.bool v) { $_setBool(3, v); } + @$pb.TagNumber(4) + $core.bool hasFromLocalModule() => $_has(3); + @$pb.TagNumber(4) + void clearFromLocalModule() => clearField(4); +} + +class GetModelsFromModulesRequest extends $pb.GeneratedMessage { + factory GetModelsFromModulesRequest() => create(); + GetModelsFromModulesRequest._() : super(); + factory GetModelsFromModulesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetModelsFromModulesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetModelsFromModulesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.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') + GetModelsFromModulesRequest clone() => GetModelsFromModulesRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetModelsFromModulesRequest copyWith(void Function(GetModelsFromModulesRequest) updates) => super.copyWith((message) => updates(message as GetModelsFromModulesRequest)) as GetModelsFromModulesRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetModelsFromModulesRequest create() => GetModelsFromModulesRequest._(); + GetModelsFromModulesRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetModelsFromModulesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetModelsFromModulesRequest? _defaultInstance; +} + +class GetModelsFromModulesResponse extends $pb.GeneratedMessage { + factory GetModelsFromModulesResponse({ + $core.Iterable? models, + }) { + final $result = create(); + if (models != null) { + $result.models.addAll(models); + } + return $result; + } + GetModelsFromModulesResponse._() : super(); + factory GetModelsFromModulesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory GetModelsFromModulesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetModelsFromModulesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'models', $pb.PbFieldType.PM, subBuilder: ModuleModel.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') + GetModelsFromModulesResponse clone() => GetModelsFromModulesResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + GetModelsFromModulesResponse copyWith(void Function(GetModelsFromModulesResponse) updates) => super.copyWith((message) => updates(message as GetModelsFromModulesResponse)) as GetModelsFromModulesResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetModelsFromModulesResponse create() => GetModelsFromModulesResponse._(); + GetModelsFromModulesResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetModelsFromModulesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetModelsFromModulesResponse? _defaultInstance; + + @$pb.TagNumber(1) + $core.List get models => $_getList(0); } class DiscoverComponentsRequest extends $pb.GeneratedMessage { @@ -1472,8 +1640,8 @@ class DiscoverComponentsResponse extends $pb.GeneratedMessage { class Status extends $pb.GeneratedMessage { factory Status({ $15.ResourceName? name, - $43.Struct? status, - $44.Timestamp? lastReconfigured, + $44.Struct? status, + $45.Timestamp? lastReconfigured, }) { final $result = create(); if (name != null) { @@ -1493,8 +1661,8 @@ class Status extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Status', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) ..aOM<$15.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $15.ResourceName.create) - ..aOM<$43.Struct>(2, _omitFieldNames ? '' : 'status', subBuilder: $43.Struct.create) - ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'lastReconfigured', subBuilder: $44.Timestamp.create) + ..aOM<$44.Struct>(2, _omitFieldNames ? '' : 'status', subBuilder: $44.Struct.create) + ..aOM<$45.Timestamp>(3, _omitFieldNames ? '' : 'lastReconfigured', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -1531,26 +1699,26 @@ class Status extends $pb.GeneratedMessage { $15.ResourceName ensureName() => $_ensure(0); @$pb.TagNumber(2) - $43.Struct get status => $_getN(1); + $44.Struct get status => $_getN(1); @$pb.TagNumber(2) - set status($43.Struct v) { setField(2, v); } + set status($44.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasStatus() => $_has(1); @$pb.TagNumber(2) void clearStatus() => clearField(2); @$pb.TagNumber(2) - $43.Struct ensureStatus() => $_ensure(1); + $44.Struct ensureStatus() => $_ensure(1); @$pb.TagNumber(3) - $44.Timestamp get lastReconfigured => $_getN(2); + $45.Timestamp get lastReconfigured => $_getN(2); @$pb.TagNumber(3) - set lastReconfigured($44.Timestamp v) { setField(3, v); } + set lastReconfigured($45.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasLastReconfigured() => $_has(2); @$pb.TagNumber(3) void clearLastReconfigured() => clearField(3); @$pb.TagNumber(3) - $44.Timestamp ensureLastReconfigured() => $_ensure(2); + $45.Timestamp ensureLastReconfigured() => $_ensure(2); } class GetStatusRequest extends $pb.GeneratedMessage { @@ -1644,7 +1812,7 @@ class GetStatusResponse extends $pb.GeneratedMessage { class StreamStatusRequest extends $pb.GeneratedMessage { factory StreamStatusRequest({ $core.Iterable<$15.ResourceName>? resourceNames, - $42.Duration? every, + $43.Duration? every, }) { final $result = create(); if (resourceNames != null) { @@ -1661,7 +1829,7 @@ class StreamStatusRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamStatusRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) ..pc<$15.ResourceName>(1, _omitFieldNames ? '' : 'resourceNames', $pb.PbFieldType.PM, subBuilder: $15.ResourceName.create) - ..aOM<$42.Duration>(2, _omitFieldNames ? '' : 'every', subBuilder: $42.Duration.create) + ..aOM<$43.Duration>(2, _omitFieldNames ? '' : 'every', subBuilder: $43.Duration.create) ..hasRequiredFields = false ; @@ -1690,15 +1858,15 @@ class StreamStatusRequest extends $pb.GeneratedMessage { $core.List<$15.ResourceName> get resourceNames => $_getList(0); @$pb.TagNumber(2) - $42.Duration get every => $_getN(1); + $43.Duration get every => $_getN(1); @$pb.TagNumber(2) - set every($42.Duration v) { setField(2, v); } + set every($43.Duration v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasEvery() => $_has(1); @$pb.TagNumber(2) void clearEvery() => clearField(2); @$pb.TagNumber(2) - $42.Duration ensureEvery() => $_ensure(1); + $43.Duration ensureEvery() => $_ensure(1); } class StreamStatusResponse extends $pb.GeneratedMessage { @@ -1748,7 +1916,7 @@ class StreamStatusResponse extends $pb.GeneratedMessage { class StopExtraParameters extends $pb.GeneratedMessage { factory StopExtraParameters({ $15.ResourceName? name, - $43.Struct? params, + $44.Struct? params, }) { final $result = create(); if (name != null) { @@ -1765,7 +1933,7 @@ class StopExtraParameters extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StopExtraParameters', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) ..aOM<$15.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $15.ResourceName.create) - ..aOM<$43.Struct>(2, _omitFieldNames ? '' : 'params', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(2, _omitFieldNames ? '' : 'params', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1802,15 +1970,15 @@ class StopExtraParameters extends $pb.GeneratedMessage { $15.ResourceName ensureName() => $_ensure(0); @$pb.TagNumber(2) - $43.Struct get params => $_getN(1); + $44.Struct get params => $_getN(1); @$pb.TagNumber(2) - set params($43.Struct v) { setField(2, v); } + set params($44.Struct v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasParams() => $_has(1); @$pb.TagNumber(2) void clearParams() => clearField(2); @$pb.TagNumber(2) - $43.Struct ensureParams() => $_ensure(1); + $44.Struct ensureParams() => $_ensure(1); } class StopAllRequest extends $pb.GeneratedMessage { @@ -1944,7 +2112,7 @@ class StartSessionRequest extends $pb.GeneratedMessage { class StartSessionResponse extends $pb.GeneratedMessage { factory StartSessionResponse({ $core.String? id, - $42.Duration? heartbeatWindow, + $43.Duration? heartbeatWindow, }) { final $result = create(); if (id != null) { @@ -1961,7 +2129,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<$42.Duration>(2, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $42.Duration.create) + ..aOM<$43.Duration>(2, _omitFieldNames ? '' : 'heartbeatWindow', subBuilder: $43.Duration.create) ..hasRequiredFields = false ; @@ -1996,15 +2164,15 @@ class StartSessionResponse extends $pb.GeneratedMessage { void clearId() => clearField(1); @$pb.TagNumber(2) - $42.Duration get heartbeatWindow => $_getN(1); + $43.Duration get heartbeatWindow => $_getN(1); @$pb.TagNumber(2) - set heartbeatWindow($42.Duration v) { setField(2, v); } + set heartbeatWindow($43.Duration v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasHeartbeatWindow() => $_has(1); @$pb.TagNumber(2) void clearHeartbeatWindow() => clearField(2); @$pb.TagNumber(2) - $42.Duration ensureHeartbeatWindow() => $_ensure(1); + $43.Duration ensureHeartbeatWindow() => $_ensure(1); } class SendSessionHeartbeatRequest extends $pb.GeneratedMessage { @@ -2596,7 +2764,7 @@ class ResourceStatus extends $pb.GeneratedMessage { factory ResourceStatus({ $15.ResourceName? name, ResourceStatus_State? state, - $44.Timestamp? lastUpdated, + $45.Timestamp? lastUpdated, $core.String? revision, $core.String? error, GetCloudMetadataResponse? cloudMetadata, @@ -2629,7 +2797,7 @@ class ResourceStatus extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ResourceStatus', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.robot.v1'), createEmptyInstance: create) ..aOM<$15.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $15.ResourceName.create) ..e(2, _omitFieldNames ? '' : 'state', $pb.PbFieldType.OE, defaultOrMaker: ResourceStatus_State.STATE_UNSPECIFIED, valueOf: ResourceStatus_State.valueOf, enumValues: ResourceStatus_State.values) - ..aOM<$44.Timestamp>(3, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(3, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $45.Timestamp.create) ..aOS(4, _omitFieldNames ? '' : 'revision') ..aOS(5, _omitFieldNames ? '' : 'error') ..aOM(6, _omitFieldNames ? '' : 'cloudMetadata', subBuilder: GetCloudMetadataResponse.create) @@ -2681,15 +2849,15 @@ class ResourceStatus extends $pb.GeneratedMessage { /// state transition timestamp. @$pb.TagNumber(3) - $44.Timestamp get lastUpdated => $_getN(2); + $45.Timestamp get lastUpdated => $_getN(2); @$pb.TagNumber(3) - set lastUpdated($44.Timestamp v) { setField(3, v); } + set lastUpdated($45.Timestamp v) { setField(3, v); } @$pb.TagNumber(3) $core.bool hasLastUpdated() => $_has(2); @$pb.TagNumber(3) void clearLastUpdated() => clearField(3); @$pb.TagNumber(3) - $44.Timestamp ensureLastUpdated() => $_ensure(2); + $45.Timestamp ensureLastUpdated() => $_ensure(2); /// revision of the last config that successfully updated this resource. @$pb.TagNumber(4) @@ -2728,7 +2896,7 @@ class ResourceStatus extends $pb.GeneratedMessage { class ConfigStatus extends $pb.GeneratedMessage { factory ConfigStatus({ $core.String? revision, - $44.Timestamp? lastUpdated, + $45.Timestamp? lastUpdated, }) { final $result = create(); if (revision != null) { @@ -2745,7 +2913,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<$44.Timestamp>(2, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'lastUpdated', subBuilder: $45.Timestamp.create) ..hasRequiredFields = false ; @@ -2782,15 +2950,15 @@ class ConfigStatus extends $pb.GeneratedMessage { /// config ingestion timestamp. @$pb.TagNumber(2) - $44.Timestamp get lastUpdated => $_getN(1); + $45.Timestamp get lastUpdated => $_getN(1); @$pb.TagNumber(2) - set lastUpdated($44.Timestamp v) { setField(2, v); } + set lastUpdated($45.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasLastUpdated() => $_has(1); @$pb.TagNumber(2) void clearLastUpdated() => clearField(2); @$pb.TagNumber(2) - $44.Timestamp ensureLastUpdated() => $_ensure(1); + $45.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 048ef9655bd..795501a2965 100644 --- a/lib/src/gen/robot/v1/robot.pbgrpc.dart +++ b/lib/src/gen/robot/v1/robot.pbgrpc.dart @@ -45,6 +45,10 @@ class RobotServiceClient extends $grpc.Client { '/viam.robot.v1.RobotService/BlockForOperation', ($31.BlockForOperationRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $31.BlockForOperationResponse.fromBuffer(value)); + static final _$getModelsFromModules = $grpc.ClientMethod<$31.GetModelsFromModulesRequest, $31.GetModelsFromModulesResponse>( + '/viam.robot.v1.RobotService/GetModelsFromModules', + ($31.GetModelsFromModulesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $31.GetModelsFromModulesResponse.fromBuffer(value)); static final _$discoverComponents = $grpc.ClientMethod<$31.DiscoverComponentsRequest, $31.DiscoverComponentsResponse>( '/viam.robot.v1.RobotService/DiscoverComponents', ($31.DiscoverComponentsRequest value) => value.writeToBuffer(), @@ -136,6 +140,10 @@ class RobotServiceClient extends $grpc.Client { return $createUnaryCall(_$blockForOperation, request, options: options); } + $grpc.ResponseFuture<$31.GetModelsFromModulesResponse> getModelsFromModules($31.GetModelsFromModulesRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$getModelsFromModules, request, options: options); + } + $grpc.ResponseFuture<$31.DiscoverComponentsResponse> discoverComponents($31.DiscoverComponentsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$discoverComponents, request, options: options); } @@ -244,6 +252,13 @@ abstract class RobotServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $31.BlockForOperationRequest.fromBuffer(value), ($31.BlockForOperationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$31.GetModelsFromModulesRequest, $31.GetModelsFromModulesResponse>( + 'GetModelsFromModules', + getModelsFromModules_Pre, + false, + false, + ($core.List<$core.int> value) => $31.GetModelsFromModulesRequest.fromBuffer(value), + ($31.GetModelsFromModulesResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$31.DiscoverComponentsRequest, $31.DiscoverComponentsResponse>( 'DiscoverComponents', discoverComponents_Pre, @@ -375,6 +390,10 @@ abstract class RobotServiceBase extends $grpc.Service { return blockForOperation(call, await request); } + $async.Future<$31.GetModelsFromModulesResponse> getModelsFromModules_Pre($grpc.ServiceCall call, $async.Future<$31.GetModelsFromModulesRequest> request) async { + return getModelsFromModules(call, await request); + } + $async.Future<$31.DiscoverComponentsResponse> discoverComponents_Pre($grpc.ServiceCall call, $async.Future<$31.DiscoverComponentsRequest> request) async { return discoverComponents(call, await request); } @@ -441,6 +460,7 @@ abstract class RobotServiceBase extends $grpc.Service { $async.Future<$31.ResourceRPCSubtypesResponse> resourceRPCSubtypes($grpc.ServiceCall call, $31.ResourceRPCSubtypesRequest request); $async.Future<$31.CancelOperationResponse> cancelOperation($grpc.ServiceCall call, $31.CancelOperationRequest request); $async.Future<$31.BlockForOperationResponse> blockForOperation($grpc.ServiceCall call, $31.BlockForOperationRequest request); + $async.Future<$31.GetModelsFromModulesResponse> getModelsFromModules($grpc.ServiceCall call, $31.GetModelsFromModulesRequest request); $async.Future<$31.DiscoverComponentsResponse> discoverComponents($grpc.ServiceCall call, $31.DiscoverComponentsRequest request); $async.Future<$31.FrameSystemConfigResponse> frameSystemConfig($grpc.ServiceCall call, $31.FrameSystemConfigRequest request); $async.Future<$31.TransformPoseResponse> transformPose($grpc.ServiceCall call, $31.TransformPoseRequest request); diff --git a/lib/src/gen/robot/v1/robot.pbjson.dart b/lib/src/gen/robot/v1/robot.pbjson.dart index 39bc0260f47..fc7eff814f4 100644 --- a/lib/src/gen/robot/v1/robot.pbjson.dart +++ b/lib/src/gen/robot/v1/robot.pbjson.dart @@ -366,6 +366,45 @@ final $typed_data.Uint8List discoveryDescriptor = $convert.base64Decode( 'J5UgVxdWVyeRIxCgdyZXN1bHRzGAIgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdFIHcmVz' 'dWx0cw=='); +@$core.Deprecated('Use moduleModelDescriptor instead') +const ModuleModel$json = { + '1': 'ModuleModel', + '2': [ + {'1': 'module_name', '3': 1, '4': 1, '5': 9, '10': 'moduleName'}, + {'1': 'model', '3': 2, '4': 1, '5': 9, '10': 'model'}, + {'1': 'api', '3': 3, '4': 1, '5': 9, '10': 'api'}, + {'1': 'from_local_module', '3': 4, '4': 1, '5': 8, '10': 'fromLocalModule'}, + ], +}; + +/// Descriptor for `ModuleModel`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List moduleModelDescriptor = $convert.base64Decode( + 'CgtNb2R1bGVNb2RlbBIfCgttb2R1bGVfbmFtZRgBIAEoCVIKbW9kdWxlTmFtZRIUCgVtb2RlbB' + 'gCIAEoCVIFbW9kZWwSEAoDYXBpGAMgASgJUgNhcGkSKgoRZnJvbV9sb2NhbF9tb2R1bGUYBCAB' + 'KAhSD2Zyb21Mb2NhbE1vZHVsZQ=='); + +@$core.Deprecated('Use getModelsFromModulesRequestDescriptor instead') +const GetModelsFromModulesRequest$json = { + '1': 'GetModelsFromModulesRequest', +}; + +/// Descriptor for `GetModelsFromModulesRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getModelsFromModulesRequestDescriptor = $convert.base64Decode( + 'ChtHZXRNb2RlbHNGcm9tTW9kdWxlc1JlcXVlc3Q='); + +@$core.Deprecated('Use getModelsFromModulesResponseDescriptor instead') +const GetModelsFromModulesResponse$json = { + '1': 'GetModelsFromModulesResponse', + '2': [ + {'1': 'models', '3': 1, '4': 3, '5': 11, '6': '.viam.robot.v1.ModuleModel', '10': 'models'}, + ], +}; + +/// Descriptor for `GetModelsFromModulesResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getModelsFromModulesResponseDescriptor = $convert.base64Decode( + 'ChxHZXRNb2RlbHNGcm9tTW9kdWxlc1Jlc3BvbnNlEjIKBm1vZGVscxgBIAMoCzIaLnZpYW0ucm' + '9ib3QudjEuTW9kdWxlTW9kZWxSBm1vZGVscw=='); + @$core.Deprecated('Use discoverComponentsRequestDescriptor instead') const DiscoverComponentsRequest$json = { '1': 'DiscoverComponentsRequest', 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 73112b31331..4ac23df7570 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 $43; +import '../../../google/protobuf/struct.pb.dart' as $44; class SyncRequest extends $pb.GeneratedMessage { factory SyncRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -71,15 +71,15 @@ class SyncRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class SyncResponse extends $pb.GeneratedMessage { diff --git a/lib/src/gen/service/discovery/v1/discovery.pb.dart b/lib/src/gen/service/discovery/v1/discovery.pb.dart new file mode 100644 index 00000000000..36a63330e0c --- /dev/null +++ b/lib/src/gen/service/discovery/v1/discovery.pb.dart @@ -0,0 +1,134 @@ +// +// Generated code. Do not modify. +// source: service/discovery/v1/discovery.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 '../../../app/v1/robot.pb.dart' as $13; +import '../../../google/protobuf/struct.pb.dart' as $44; + +class DiscoverResourcesRequest extends $pb.GeneratedMessage { + factory DiscoverResourcesRequest({ + $core.String? name, + $44.Struct? extra, + }) { + final $result = create(); + if (name != null) { + $result.name = name; + } + if (extra != null) { + $result.extra = extra; + } + return $result; + } + DiscoverResourcesRequest._() : super(); + factory DiscoverResourcesRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DiscoverResourcesRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DiscoverResourcesRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.discovery.v1'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'name') + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.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') + DiscoverResourcesRequest clone() => DiscoverResourcesRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DiscoverResourcesRequest copyWith(void Function(DiscoverResourcesRequest) updates) => super.copyWith((message) => updates(message as DiscoverResourcesRequest)) as DiscoverResourcesRequest; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DiscoverResourcesRequest create() => DiscoverResourcesRequest._(); + DiscoverResourcesRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DiscoverResourcesRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DiscoverResourcesRequest? _defaultInstance; + + /// name of the discover service + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); + + /// Additional arguments to the method + @$pb.TagNumber(99) + $44.Struct get extra => $_getN(1); + @$pb.TagNumber(99) + set extra($44.Struct v) { setField(99, v); } + @$pb.TagNumber(99) + $core.bool hasExtra() => $_has(1); + @$pb.TagNumber(99) + void clearExtra() => clearField(99); + @$pb.TagNumber(99) + $44.Struct ensureExtra() => $_ensure(1); +} + +class DiscoverResourcesResponse extends $pb.GeneratedMessage { + factory DiscoverResourcesResponse({ + $core.Iterable<$13.ComponentConfig>? discoveries, + }) { + final $result = create(); + if (discoveries != null) { + $result.discoveries.addAll(discoveries); + } + return $result; + } + DiscoverResourcesResponse._() : super(); + factory DiscoverResourcesResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DiscoverResourcesResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DiscoverResourcesResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.discovery.v1'), createEmptyInstance: create) + ..pc<$13.ComponentConfig>(1, _omitFieldNames ? '' : 'discoveries', $pb.PbFieldType.PM, subBuilder: $13.ComponentConfig.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') + DiscoverResourcesResponse clone() => DiscoverResourcesResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DiscoverResourcesResponse copyWith(void Function(DiscoverResourcesResponse) updates) => super.copyWith((message) => updates(message as DiscoverResourcesResponse)) as DiscoverResourcesResponse; + + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DiscoverResourcesResponse create() => DiscoverResourcesResponse._(); + DiscoverResourcesResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DiscoverResourcesResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DiscoverResourcesResponse? _defaultInstance; + + /// list of ComponentConfigs that describe the components found by a discover service. + @$pb.TagNumber(1) + $core.List<$13.ComponentConfig> get discoveries => $_getList(0); +} + + +const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/src/gen/service/discovery/v1/discovery.pbenum.dart b/lib/src/gen/service/discovery/v1/discovery.pbenum.dart new file mode 100644 index 00000000000..b3792ca9127 --- /dev/null +++ b/lib/src/gen/service/discovery/v1/discovery.pbenum.dart @@ -0,0 +1,11 @@ +// +// Generated code. Do not modify. +// source: service/discovery/v1/discovery.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/service/discovery/v1/discovery.pbgrpc.dart b/lib/src/gen/service/discovery/v1/discovery.pbgrpc.dart new file mode 100644 index 00000000000..7d42e605963 --- /dev/null +++ b/lib/src/gen/service/discovery/v1/discovery.pbgrpc.dart @@ -0,0 +1,80 @@ +// +// Generated code. Do not modify. +// source: service/discovery/v1/discovery.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 '../../../common/v1/common.pb.dart' as $15; +import 'discovery.pb.dart' as $35; + +export 'discovery.pb.dart'; + +@$pb.GrpcServiceName('viam.service.discovery.v1.DiscoveryService') +class DiscoveryServiceClient extends $grpc.Client { + static final _$discoverResources = $grpc.ClientMethod<$35.DiscoverResourcesRequest, $35.DiscoverResourcesResponse>( + '/viam.service.discovery.v1.DiscoveryService/DiscoverResources', + ($35.DiscoverResourcesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $35.DiscoverResourcesResponse.fromBuffer(value)); + static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( + '/viam.service.discovery.v1.DiscoveryService/DoCommand', + ($15.DoCommandRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $15.DoCommandResponse.fromBuffer(value)); + + DiscoveryServiceClient($grpc.ClientChannel channel, + {$grpc.CallOptions? options, + $core.Iterable<$grpc.ClientInterceptor>? interceptors}) + : super(channel, options: options, + interceptors: interceptors); + + $grpc.ResponseFuture<$35.DiscoverResourcesResponse> discoverResources($35.DiscoverResourcesRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$discoverResources, request, options: options); + } + + $grpc.ResponseFuture<$15.DoCommandResponse> doCommand($15.DoCommandRequest request, {$grpc.CallOptions? options}) { + return $createUnaryCall(_$doCommand, request, options: options); + } +} + +@$pb.GrpcServiceName('viam.service.discovery.v1.DiscoveryService') +abstract class DiscoveryServiceBase extends $grpc.Service { + $core.String get $name => 'viam.service.discovery.v1.DiscoveryService'; + + DiscoveryServiceBase() { + $addMethod($grpc.ServiceMethod<$35.DiscoverResourcesRequest, $35.DiscoverResourcesResponse>( + 'DiscoverResources', + discoverResources_Pre, + false, + false, + ($core.List<$core.int> value) => $35.DiscoverResourcesRequest.fromBuffer(value), + ($35.DiscoverResourcesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( + 'DoCommand', + doCommand_Pre, + false, + false, + ($core.List<$core.int> value) => $15.DoCommandRequest.fromBuffer(value), + ($15.DoCommandResponse value) => value.writeToBuffer())); + } + + $async.Future<$35.DiscoverResourcesResponse> discoverResources_Pre($grpc.ServiceCall call, $async.Future<$35.DiscoverResourcesRequest> request) async { + return discoverResources(call, await request); + } + + $async.Future<$15.DoCommandResponse> doCommand_Pre($grpc.ServiceCall call, $async.Future<$15.DoCommandRequest> request) async { + return doCommand(call, await request); + } + + $async.Future<$35.DiscoverResourcesResponse> discoverResources($grpc.ServiceCall call, $35.DiscoverResourcesRequest request); + $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); +} diff --git a/lib/src/gen/service/discovery/v1/discovery.pbjson.dart b/lib/src/gen/service/discovery/v1/discovery.pbjson.dart new file mode 100644 index 00000000000..8bccdadbf6f --- /dev/null +++ b/lib/src/gen/service/discovery/v1/discovery.pbjson.dart @@ -0,0 +1,42 @@ +// +// Generated code. Do not modify. +// source: service/discovery/v1/discovery.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 discoverResourcesRequestDescriptor instead') +const DiscoverResourcesRequest$json = { + '1': 'DiscoverResourcesRequest', + '2': [ + {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + {'1': 'extra', '3': 99, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '10': 'extra'}, + ], +}; + +/// Descriptor for `DiscoverResourcesRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List discoverResourcesRequestDescriptor = $convert.base64Decode( + 'ChhEaXNjb3ZlclJlc291cmNlc1JlcXVlc3QSEgoEbmFtZRgBIAEoCVIEbmFtZRItCgVleHRyYR' + 'hjIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RSBWV4dHJh'); + +@$core.Deprecated('Use discoverResourcesResponseDescriptor instead') +const DiscoverResourcesResponse$json = { + '1': 'DiscoverResourcesResponse', + '2': [ + {'1': 'discoveries', '3': 1, '4': 3, '5': 11, '6': '.viam.app.v1.ComponentConfig', '10': 'discoveries'}, + ], +}; + +/// Descriptor for `DiscoverResourcesResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List discoverResourcesResponseDescriptor = $convert.base64Decode( + 'ChlEaXNjb3ZlclJlc291cmNlc1Jlc3BvbnNlEj4KC2Rpc2NvdmVyaWVzGAEgAygLMhwudmlhbS' + '5hcHAudjEuQ29tcG9uZW50Q29uZmlnUgtkaXNjb3Zlcmllcw=='); + diff --git a/lib/src/gen/service/mlmodel/v1/mlmodel.pb.dart b/lib/src/gen/service/mlmodel/v1/mlmodel.pb.dart index d115613f0e8..beb4c77a465 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 $43; +import '../../../google/protobuf/struct.pb.dart' as $44; import 'mlmodel.pbenum.dart'; export 'mlmodel.pbenum.dart'; @@ -23,7 +23,7 @@ class InferRequest extends $pb.GeneratedMessage { factory InferRequest({ $core.String? name, FlatTensors? inputTensors, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -93,15 +93,15 @@ class InferRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -214,15 +214,15 @@ class MetadataRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -482,15 +482,15 @@ class TensorInfo extends $pb.GeneratedMessage { /// anything else you want to say @$pb.TagNumber(99) - $43.Struct get extra => $_getN(5); + $44.Struct get extra => $_getN(5); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(5); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(5); + $44.Struct ensureExtra() => $_ensure(5); } class File extends $pb.GeneratedMessage { diff --git a/lib/src/gen/service/motion/v1/motion.pb.dart b/lib/src/gen/service/motion/v1/motion.pb.dart index 18f04ae38dd..c304355d58c 100644 --- a/lib/src/gen/service/motion/v1/motion.pb.dart +++ b/lib/src/gen/service/motion/v1/motion.pb.dart @@ -14,8 +14,8 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $43; -import '../../../google/protobuf/timestamp.pb.dart' as $44; +import '../../../google/protobuf/struct.pb.dart' as $44; +import '../../../google/protobuf/timestamp.pb.dart' as $45; import 'motion.pbenum.dart'; export 'motion.pbenum.dart'; @@ -28,7 +28,7 @@ class MoveRequest extends $pb.GeneratedMessage { $15.ResourceName? componentName, $15.WorldState? worldState, Constraints? constraints, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -61,7 +61,7 @@ class MoveRequest extends $pb.GeneratedMessage { ..aOM<$15.ResourceName>(3, _omitFieldNames ? '' : 'componentName', subBuilder: $15.ResourceName.create) ..aOM<$15.WorldState>(4, _omitFieldNames ? '' : 'worldState', subBuilder: $15.WorldState.create) ..aOM(5, _omitFieldNames ? '' : 'constraints', subBuilder: Constraints.create) - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -147,15 +147,15 @@ class MoveRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(5); + $44.Struct get extra => $_getN(5); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(5); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(5); + $44.Struct ensureExtra() => $_ensure(5); } class MoveResponse extends $pb.GeneratedMessage { @@ -216,7 +216,7 @@ class MoveOnMapRequest extends $pb.GeneratedMessage { $15.ResourceName? slamServiceName, MotionConfiguration? motionConfiguration, $core.Iterable<$15.Geometry>? obstacles, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -253,7 +253,7 @@ class MoveOnMapRequest extends $pb.GeneratedMessage { ..aOM<$15.ResourceName>(4, _omitFieldNames ? '' : 'slamServiceName', subBuilder: $15.ResourceName.create) ..aOM(5, _omitFieldNames ? '' : 'motionConfiguration', subBuilder: MotionConfiguration.create) ..pc<$15.Geometry>(6, _omitFieldNames ? '' : 'obstacles', $pb.PbFieldType.PM, subBuilder: $15.Geometry.create) - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -342,15 +342,15 @@ class MoveOnMapRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(6); + $44.Struct get extra => $_getN(6); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(6); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(6); + $44.Struct ensureExtra() => $_ensure(6); } class MoveOnMapResponse extends $pb.GeneratedMessage { @@ -605,7 +605,7 @@ class MoveOnGlobeRequest extends $pb.GeneratedMessage { $core.Iterable<$15.GeoGeometry>? obstacles, MotionConfiguration? motionConfiguration, $core.Iterable<$15.GeoGeometry>? boundingRegions, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -650,7 +650,7 @@ class MoveOnGlobeRequest extends $pb.GeneratedMessage { ..pc<$15.GeoGeometry>(6, _omitFieldNames ? '' : 'obstacles', $pb.PbFieldType.PM, subBuilder: $15.GeoGeometry.create) ..aOM(7, _omitFieldNames ? '' : 'motionConfiguration', subBuilder: MotionConfiguration.create) ..pc<$15.GeoGeometry>(8, _omitFieldNames ? '' : 'boundingRegions', $pb.PbFieldType.PM, subBuilder: $15.GeoGeometry.create) - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -753,15 +753,15 @@ class MoveOnGlobeRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(8); + $44.Struct get extra => $_getN(8); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(8); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(8); + $44.Struct ensureExtra() => $_ensure(8); } class MoveOnGlobeResponse extends $pb.GeneratedMessage { @@ -823,7 +823,7 @@ class GetPoseRequest extends $pb.GeneratedMessage { $15.ResourceName? componentName, $core.String? destinationFrame, $core.Iterable<$15.Transform>? supplementalTransforms, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -852,7 +852,7 @@ class GetPoseRequest extends $pb.GeneratedMessage { ..aOM<$15.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $15.ResourceName.create) ..aOS(3, _omitFieldNames ? '' : 'destinationFrame') ..pc<$15.Transform>(4, _omitFieldNames ? '' : 'supplementalTransforms', $pb.PbFieldType.PM, subBuilder: $15.Transform.create) - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -917,15 +917,15 @@ class GetPoseRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(4); + $44.Struct get extra => $_getN(4); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(4); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(4); + $44.Struct ensureExtra() => $_ensure(4); } class GetPoseResponse extends $pb.GeneratedMessage { @@ -984,7 +984,7 @@ class StopPlanRequest extends $pb.GeneratedMessage { factory StopPlanRequest({ $core.String? name, $15.ResourceName? componentName, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1005,7 +1005,7 @@ 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<$15.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $15.ResourceName.create) - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1054,15 +1054,15 @@ class StopPlanRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1170,15 +1170,15 @@ class ListPlanStatusesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.Struct ensureExtra() => $_ensure(2); } /// Status of all executed / executing plan statuses with associated IDs within the 24 hour TTL @@ -1234,7 +1234,7 @@ class GetPlanRequest extends $pb.GeneratedMessage { $15.ResourceName? componentName, $core.bool? lastPlanOnly, $core.String? executionId, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -1263,7 +1263,7 @@ class GetPlanRequest extends $pb.GeneratedMessage { ..aOM<$15.ResourceName>(2, _omitFieldNames ? '' : 'componentName', subBuilder: $15.ResourceName.create) ..aOB(3, _omitFieldNames ? '' : 'lastPlanOnly') ..aOS(4, _omitFieldNames ? '' : 'executionId') - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1333,15 +1333,15 @@ class GetPlanRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(4); + $44.Struct get extra => $_getN(4); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(4); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(4); + $44.Struct ensureExtra() => $_ensure(4); } class GetPlanResponse extends $pb.GeneratedMessage { @@ -1894,7 +1894,7 @@ class PlanStatusWithID extends $pb.GeneratedMessage { class PlanStatus extends $pb.GeneratedMessage { factory PlanStatus({ PlanState? state, - $44.Timestamp? timestamp, + $45.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<$44.Timestamp>(2, _omitFieldNames ? '' : 'timestamp', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(2, _omitFieldNames ? '' : 'timestamp', subBuilder: $45.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) - $44.Timestamp get timestamp => $_getN(1); + $45.Timestamp get timestamp => $_getN(1); @$pb.TagNumber(2) - set timestamp($44.Timestamp v) { setField(2, v); } + set timestamp($45.Timestamp v) { setField(2, v); } @$pb.TagNumber(2) $core.bool hasTimestamp() => $_has(1); @$pb.TagNumber(2) void clearTimestamp() => clearField(2); @$pb.TagNumber(2) - $44.Timestamp ensureTimestamp() => $_ensure(1); + $45.Timestamp ensureTimestamp() => $_ensure(1); /// The reason for the state change. If motion plan failed /// this will return the error message. diff --git a/lib/src/gen/service/motion/v1/motion.pbgrpc.dart b/lib/src/gen/service/motion/v1/motion.pbgrpc.dart index 1b8ffbed8d7..21c4861b120 100644 --- a/lib/src/gen/service/motion/v1/motion.pbgrpc.dart +++ b/lib/src/gen/service/motion/v1/motion.pbgrpc.dart @@ -16,40 +16,40 @@ import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import 'motion.pb.dart' as $35; +import 'motion.pb.dart' as $36; export 'motion.pb.dart'; @$pb.GrpcServiceName('viam.service.motion.v1.MotionService') class MotionServiceClient extends $grpc.Client { - static final _$move = $grpc.ClientMethod<$35.MoveRequest, $35.MoveResponse>( + static final _$move = $grpc.ClientMethod<$36.MoveRequest, $36.MoveResponse>( '/viam.service.motion.v1.MotionService/Move', - ($35.MoveRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.MoveResponse.fromBuffer(value)); - static final _$moveOnMap = $grpc.ClientMethod<$35.MoveOnMapRequest, $35.MoveOnMapResponse>( + ($36.MoveRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.MoveResponse.fromBuffer(value)); + static final _$moveOnMap = $grpc.ClientMethod<$36.MoveOnMapRequest, $36.MoveOnMapResponse>( '/viam.service.motion.v1.MotionService/MoveOnMap', - ($35.MoveOnMapRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.MoveOnMapResponse.fromBuffer(value)); - static final _$moveOnGlobe = $grpc.ClientMethod<$35.MoveOnGlobeRequest, $35.MoveOnGlobeResponse>( + ($36.MoveOnMapRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.MoveOnMapResponse.fromBuffer(value)); + static final _$moveOnGlobe = $grpc.ClientMethod<$36.MoveOnGlobeRequest, $36.MoveOnGlobeResponse>( '/viam.service.motion.v1.MotionService/MoveOnGlobe', - ($35.MoveOnGlobeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.MoveOnGlobeResponse.fromBuffer(value)); - static final _$getPose = $grpc.ClientMethod<$35.GetPoseRequest, $35.GetPoseResponse>( + ($36.MoveOnGlobeRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.MoveOnGlobeResponse.fromBuffer(value)); + static final _$getPose = $grpc.ClientMethod<$36.GetPoseRequest, $36.GetPoseResponse>( '/viam.service.motion.v1.MotionService/GetPose', - ($35.GetPoseRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.GetPoseResponse.fromBuffer(value)); - static final _$stopPlan = $grpc.ClientMethod<$35.StopPlanRequest, $35.StopPlanResponse>( + ($36.GetPoseRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.GetPoseResponse.fromBuffer(value)); + static final _$stopPlan = $grpc.ClientMethod<$36.StopPlanRequest, $36.StopPlanResponse>( '/viam.service.motion.v1.MotionService/StopPlan', - ($35.StopPlanRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.StopPlanResponse.fromBuffer(value)); - static final _$listPlanStatuses = $grpc.ClientMethod<$35.ListPlanStatusesRequest, $35.ListPlanStatusesResponse>( + ($36.StopPlanRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.StopPlanResponse.fromBuffer(value)); + static final _$listPlanStatuses = $grpc.ClientMethod<$36.ListPlanStatusesRequest, $36.ListPlanStatusesResponse>( '/viam.service.motion.v1.MotionService/ListPlanStatuses', - ($35.ListPlanStatusesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.ListPlanStatusesResponse.fromBuffer(value)); - static final _$getPlan = $grpc.ClientMethod<$35.GetPlanRequest, $35.GetPlanResponse>( + ($36.ListPlanStatusesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.ListPlanStatusesResponse.fromBuffer(value)); + static final _$getPlan = $grpc.ClientMethod<$36.GetPlanRequest, $36.GetPlanResponse>( '/viam.service.motion.v1.MotionService/GetPlan', - ($35.GetPlanRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $35.GetPlanResponse.fromBuffer(value)); + ($36.GetPlanRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $36.GetPlanResponse.fromBuffer(value)); static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( '/viam.service.motion.v1.MotionService/DoCommand', ($15.DoCommandRequest value) => value.writeToBuffer(), @@ -61,31 +61,31 @@ class MotionServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$35.MoveResponse> move($35.MoveRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.MoveResponse> move($36.MoveRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$move, request, options: options); } - $grpc.ResponseFuture<$35.MoveOnMapResponse> moveOnMap($35.MoveOnMapRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.MoveOnMapResponse> moveOnMap($36.MoveOnMapRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$moveOnMap, request, options: options); } - $grpc.ResponseFuture<$35.MoveOnGlobeResponse> moveOnGlobe($35.MoveOnGlobeRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.MoveOnGlobeResponse> moveOnGlobe($36.MoveOnGlobeRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$moveOnGlobe, request, options: options); } - $grpc.ResponseFuture<$35.GetPoseResponse> getPose($35.GetPoseRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.GetPoseResponse> getPose($36.GetPoseRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPose, request, options: options); } - $grpc.ResponseFuture<$35.StopPlanResponse> stopPlan($35.StopPlanRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.StopPlanResponse> stopPlan($36.StopPlanRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$stopPlan, request, options: options); } - $grpc.ResponseFuture<$35.ListPlanStatusesResponse> listPlanStatuses($35.ListPlanStatusesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.ListPlanStatusesResponse> listPlanStatuses($36.ListPlanStatusesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listPlanStatuses, request, options: options); } - $grpc.ResponseFuture<$35.GetPlanResponse> getPlan($35.GetPlanRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$36.GetPlanResponse> getPlan($36.GetPlanRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPlan, request, options: options); } @@ -99,55 +99,55 @@ abstract class MotionServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.motion.v1.MotionService'; MotionServiceBase() { - $addMethod($grpc.ServiceMethod<$35.MoveRequest, $35.MoveResponse>( + $addMethod($grpc.ServiceMethod<$36.MoveRequest, $36.MoveResponse>( 'Move', move_Pre, false, false, - ($core.List<$core.int> value) => $35.MoveRequest.fromBuffer(value), - ($35.MoveResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.MoveOnMapRequest, $35.MoveOnMapResponse>( + ($core.List<$core.int> value) => $36.MoveRequest.fromBuffer(value), + ($36.MoveResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.MoveOnMapRequest, $36.MoveOnMapResponse>( 'MoveOnMap', moveOnMap_Pre, false, false, - ($core.List<$core.int> value) => $35.MoveOnMapRequest.fromBuffer(value), - ($35.MoveOnMapResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.MoveOnGlobeRequest, $35.MoveOnGlobeResponse>( + ($core.List<$core.int> value) => $36.MoveOnMapRequest.fromBuffer(value), + ($36.MoveOnMapResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.MoveOnGlobeRequest, $36.MoveOnGlobeResponse>( 'MoveOnGlobe', moveOnGlobe_Pre, false, false, - ($core.List<$core.int> value) => $35.MoveOnGlobeRequest.fromBuffer(value), - ($35.MoveOnGlobeResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.GetPoseRequest, $35.GetPoseResponse>( + ($core.List<$core.int> value) => $36.MoveOnGlobeRequest.fromBuffer(value), + ($36.MoveOnGlobeResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.GetPoseRequest, $36.GetPoseResponse>( 'GetPose', getPose_Pre, false, false, - ($core.List<$core.int> value) => $35.GetPoseRequest.fromBuffer(value), - ($35.GetPoseResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.StopPlanRequest, $35.StopPlanResponse>( + ($core.List<$core.int> value) => $36.GetPoseRequest.fromBuffer(value), + ($36.GetPoseResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.StopPlanRequest, $36.StopPlanResponse>( 'StopPlan', stopPlan_Pre, false, false, - ($core.List<$core.int> value) => $35.StopPlanRequest.fromBuffer(value), - ($35.StopPlanResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.ListPlanStatusesRequest, $35.ListPlanStatusesResponse>( + ($core.List<$core.int> value) => $36.StopPlanRequest.fromBuffer(value), + ($36.StopPlanResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.ListPlanStatusesRequest, $36.ListPlanStatusesResponse>( 'ListPlanStatuses', listPlanStatuses_Pre, false, false, - ($core.List<$core.int> value) => $35.ListPlanStatusesRequest.fromBuffer(value), - ($35.ListPlanStatusesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$35.GetPlanRequest, $35.GetPlanResponse>( + ($core.List<$core.int> value) => $36.ListPlanStatusesRequest.fromBuffer(value), + ($36.ListPlanStatusesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$36.GetPlanRequest, $36.GetPlanResponse>( 'GetPlan', getPlan_Pre, false, false, - ($core.List<$core.int> value) => $35.GetPlanRequest.fromBuffer(value), - ($35.GetPlanResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $36.GetPlanRequest.fromBuffer(value), + ($36.GetPlanResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( 'DoCommand', doCommand_Pre, @@ -157,31 +157,31 @@ abstract class MotionServiceBase extends $grpc.Service { ($15.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$35.MoveResponse> move_Pre($grpc.ServiceCall call, $async.Future<$35.MoveRequest> request) async { + $async.Future<$36.MoveResponse> move_Pre($grpc.ServiceCall call, $async.Future<$36.MoveRequest> request) async { return move(call, await request); } - $async.Future<$35.MoveOnMapResponse> moveOnMap_Pre($grpc.ServiceCall call, $async.Future<$35.MoveOnMapRequest> request) async { + $async.Future<$36.MoveOnMapResponse> moveOnMap_Pre($grpc.ServiceCall call, $async.Future<$36.MoveOnMapRequest> request) async { return moveOnMap(call, await request); } - $async.Future<$35.MoveOnGlobeResponse> moveOnGlobe_Pre($grpc.ServiceCall call, $async.Future<$35.MoveOnGlobeRequest> request) async { + $async.Future<$36.MoveOnGlobeResponse> moveOnGlobe_Pre($grpc.ServiceCall call, $async.Future<$36.MoveOnGlobeRequest> request) async { return moveOnGlobe(call, await request); } - $async.Future<$35.GetPoseResponse> getPose_Pre($grpc.ServiceCall call, $async.Future<$35.GetPoseRequest> request) async { + $async.Future<$36.GetPoseResponse> getPose_Pre($grpc.ServiceCall call, $async.Future<$36.GetPoseRequest> request) async { return getPose(call, await request); } - $async.Future<$35.StopPlanResponse> stopPlan_Pre($grpc.ServiceCall call, $async.Future<$35.StopPlanRequest> request) async { + $async.Future<$36.StopPlanResponse> stopPlan_Pre($grpc.ServiceCall call, $async.Future<$36.StopPlanRequest> request) async { return stopPlan(call, await request); } - $async.Future<$35.ListPlanStatusesResponse> listPlanStatuses_Pre($grpc.ServiceCall call, $async.Future<$35.ListPlanStatusesRequest> request) async { + $async.Future<$36.ListPlanStatusesResponse> listPlanStatuses_Pre($grpc.ServiceCall call, $async.Future<$36.ListPlanStatusesRequest> request) async { return listPlanStatuses(call, await request); } - $async.Future<$35.GetPlanResponse> getPlan_Pre($grpc.ServiceCall call, $async.Future<$35.GetPlanRequest> request) async { + $async.Future<$36.GetPlanResponse> getPlan_Pre($grpc.ServiceCall call, $async.Future<$36.GetPlanRequest> request) async { return getPlan(call, await request); } @@ -189,12 +189,12 @@ abstract class MotionServiceBase extends $grpc.Service { return doCommand(call, await 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<$36.MoveResponse> move($grpc.ServiceCall call, $36.MoveRequest request); + $async.Future<$36.MoveOnMapResponse> moveOnMap($grpc.ServiceCall call, $36.MoveOnMapRequest request); + $async.Future<$36.MoveOnGlobeResponse> moveOnGlobe($grpc.ServiceCall call, $36.MoveOnGlobeRequest request); + $async.Future<$36.GetPoseResponse> getPose($grpc.ServiceCall call, $36.GetPoseRequest request); + $async.Future<$36.StopPlanResponse> stopPlan($grpc.ServiceCall call, $36.StopPlanRequest request); + $async.Future<$36.ListPlanStatusesResponse> listPlanStatuses($grpc.ServiceCall call, $36.ListPlanStatusesRequest request); + $async.Future<$36.GetPlanResponse> getPlan($grpc.ServiceCall call, $36.GetPlanRequest request); $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.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 594d4a550ba..55b9e97a92c 100644 --- a/lib/src/gen/service/navigation/v1/navigation.pb.dart +++ b/lib/src/gen/service/navigation/v1/navigation.pb.dart @@ -14,7 +14,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/struct.pb.dart' as $44; 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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -75,15 +75,15 @@ class GetModeRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -206,15 +206,15 @@ class SetModeRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.Struct ensureExtra() => $_ensure(2); } class SetModeResponse extends $pb.GeneratedMessage { @@ -318,7 +318,7 @@ class Waypoint extends $pb.GeneratedMessage { class GetLocationRequest extends $pb.GeneratedMessage { factory GetLocationRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -371,15 +371,15 @@ class GetLocationRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetLocationResponse extends $pb.GeneratedMessage { @@ -453,7 +453,7 @@ class GetLocationResponse extends $pb.GeneratedMessage { class GetWaypointsRequest extends $pb.GeneratedMessage { factory GetWaypointsRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -506,15 +506,15 @@ class GetWaypointsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetWaypointsResponse extends $pb.GeneratedMessage { @@ -565,7 +565,7 @@ class AddWaypointRequest extends $pb.GeneratedMessage { factory AddWaypointRequest({ $core.String? name, $15.GeoPoint? location, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -586,7 +586,7 @@ 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<$15.GeoPoint>(2, _omitFieldNames ? '' : 'location', subBuilder: $15.GeoPoint.create) - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -633,15 +633,15 @@ class AddWaypointRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -746,15 +746,15 @@ class RemoveWaypointRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -849,15 +849,15 @@ class GetObstaclesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetObstaclesResponse extends $pb.GeneratedMessage { @@ -972,7 +972,7 @@ class Path extends $pb.GeneratedMessage { class GetPathsRequest extends $pb.GeneratedMessage { factory GetPathsRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1025,15 +1025,15 @@ class GetPathsRequest extends $pb.GeneratedMessage { void clearName() => clearField(1); @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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 3a62ee0d7ae..414e5109933 100644 --- a/lib/src/gen/service/navigation/v1/navigation.pbgrpc.dart +++ b/lib/src/gen/service/navigation/v1/navigation.pbgrpc.dart @@ -16,48 +16,48 @@ import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import 'navigation.pb.dart' as $36; +import 'navigation.pb.dart' as $37; export 'navigation.pb.dart'; @$pb.GrpcServiceName('viam.service.navigation.v1.NavigationService') class NavigationServiceClient extends $grpc.Client { - static final _$getMode = $grpc.ClientMethod<$36.GetModeRequest, $36.GetModeResponse>( + static final _$getMode = $grpc.ClientMethod<$37.GetModeRequest, $37.GetModeResponse>( '/viam.service.navigation.v1.NavigationService/GetMode', - ($36.GetModeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $36.GetModeResponse.fromBuffer(value)); - static final _$setMode = $grpc.ClientMethod<$36.SetModeRequest, $36.SetModeResponse>( + ($37.GetModeRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $37.GetModeResponse.fromBuffer(value)); + static final _$setMode = $grpc.ClientMethod<$37.SetModeRequest, $37.SetModeResponse>( '/viam.service.navigation.v1.NavigationService/SetMode', - ($36.SetModeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $36.SetModeResponse.fromBuffer(value)); - static final _$getLocation = $grpc.ClientMethod<$36.GetLocationRequest, $36.GetLocationResponse>( + ($37.SetModeRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $37.SetModeResponse.fromBuffer(value)); + static final _$getLocation = $grpc.ClientMethod<$37.GetLocationRequest, $37.GetLocationResponse>( '/viam.service.navigation.v1.NavigationService/GetLocation', - ($36.GetLocationRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $36.GetLocationResponse.fromBuffer(value)); - static final _$getWaypoints = $grpc.ClientMethod<$36.GetWaypointsRequest, $36.GetWaypointsResponse>( + ($37.GetLocationRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $37.GetLocationResponse.fromBuffer(value)); + static final _$getWaypoints = $grpc.ClientMethod<$37.GetWaypointsRequest, $37.GetWaypointsResponse>( '/viam.service.navigation.v1.NavigationService/GetWaypoints', - ($36.GetWaypointsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $36.GetWaypointsResponse.fromBuffer(value)); - static final _$addWaypoint = $grpc.ClientMethod<$36.AddWaypointRequest, $36.AddWaypointResponse>( + ($37.GetWaypointsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $37.GetWaypointsResponse.fromBuffer(value)); + static final _$addWaypoint = $grpc.ClientMethod<$37.AddWaypointRequest, $37.AddWaypointResponse>( '/viam.service.navigation.v1.NavigationService/AddWaypoint', - ($36.AddWaypointRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $36.AddWaypointResponse.fromBuffer(value)); - static final _$removeWaypoint = $grpc.ClientMethod<$36.RemoveWaypointRequest, $36.RemoveWaypointResponse>( + ($37.AddWaypointRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $37.AddWaypointResponse.fromBuffer(value)); + static final _$removeWaypoint = $grpc.ClientMethod<$37.RemoveWaypointRequest, $37.RemoveWaypointResponse>( '/viam.service.navigation.v1.NavigationService/RemoveWaypoint', - ($36.RemoveWaypointRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $36.RemoveWaypointResponse.fromBuffer(value)); - static final _$getObstacles = $grpc.ClientMethod<$36.GetObstaclesRequest, $36.GetObstaclesResponse>( + ($37.RemoveWaypointRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $37.RemoveWaypointResponse.fromBuffer(value)); + static final _$getObstacles = $grpc.ClientMethod<$37.GetObstaclesRequest, $37.GetObstaclesResponse>( '/viam.service.navigation.v1.NavigationService/GetObstacles', - ($36.GetObstaclesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $36.GetObstaclesResponse.fromBuffer(value)); - static final _$getPaths = $grpc.ClientMethod<$36.GetPathsRequest, $36.GetPathsResponse>( + ($37.GetObstaclesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $37.GetObstaclesResponse.fromBuffer(value)); + static final _$getPaths = $grpc.ClientMethod<$37.GetPathsRequest, $37.GetPathsResponse>( '/viam.service.navigation.v1.NavigationService/GetPaths', - ($36.GetPathsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $36.GetPathsResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$36.GetPropertiesRequest, $36.GetPropertiesResponse>( + ($37.GetPathsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $37.GetPathsResponse.fromBuffer(value)); + static final _$getProperties = $grpc.ClientMethod<$37.GetPropertiesRequest, $37.GetPropertiesResponse>( '/viam.service.navigation.v1.NavigationService/GetProperties', - ($36.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $36.GetPropertiesResponse.fromBuffer(value)); + ($37.GetPropertiesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $37.GetPropertiesResponse.fromBuffer(value)); static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( '/viam.service.navigation.v1.NavigationService/DoCommand', ($15.DoCommandRequest value) => value.writeToBuffer(), @@ -69,39 +69,39 @@ class NavigationServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$36.GetModeResponse> getMode($36.GetModeRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$37.GetModeResponse> getMode($37.GetModeRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getMode, request, options: options); } - $grpc.ResponseFuture<$36.SetModeResponse> setMode($36.SetModeRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$37.SetModeResponse> setMode($37.SetModeRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$setMode, request, options: options); } - $grpc.ResponseFuture<$36.GetLocationResponse> getLocation($36.GetLocationRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$37.GetLocationResponse> getLocation($37.GetLocationRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getLocation, request, options: options); } - $grpc.ResponseFuture<$36.GetWaypointsResponse> getWaypoints($36.GetWaypointsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$37.GetWaypointsResponse> getWaypoints($37.GetWaypointsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getWaypoints, request, options: options); } - $grpc.ResponseFuture<$36.AddWaypointResponse> addWaypoint($36.AddWaypointRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$37.AddWaypointResponse> addWaypoint($37.AddWaypointRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$addWaypoint, request, options: options); } - $grpc.ResponseFuture<$36.RemoveWaypointResponse> removeWaypoint($36.RemoveWaypointRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$37.RemoveWaypointResponse> removeWaypoint($37.RemoveWaypointRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$removeWaypoint, request, options: options); } - $grpc.ResponseFuture<$36.GetObstaclesResponse> getObstacles($36.GetObstaclesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$37.GetObstaclesResponse> getObstacles($37.GetObstaclesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getObstacles, request, options: options); } - $grpc.ResponseFuture<$36.GetPathsResponse> getPaths($36.GetPathsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$37.GetPathsResponse> getPaths($37.GetPathsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPaths, request, options: options); } - $grpc.ResponseFuture<$36.GetPropertiesResponse> getProperties($36.GetPropertiesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$37.GetPropertiesResponse> getProperties($37.GetPropertiesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getProperties, request, options: options); } @@ -115,69 +115,69 @@ abstract class NavigationServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.navigation.v1.NavigationService'; NavigationServiceBase() { - $addMethod($grpc.ServiceMethod<$36.GetModeRequest, $36.GetModeResponse>( + $addMethod($grpc.ServiceMethod<$37.GetModeRequest, $37.GetModeResponse>( 'GetMode', getMode_Pre, false, false, - ($core.List<$core.int> value) => $36.GetModeRequest.fromBuffer(value), - ($36.GetModeResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$36.SetModeRequest, $36.SetModeResponse>( + ($core.List<$core.int> value) => $37.GetModeRequest.fromBuffer(value), + ($37.GetModeResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$37.SetModeRequest, $37.SetModeResponse>( 'SetMode', setMode_Pre, false, false, - ($core.List<$core.int> value) => $36.SetModeRequest.fromBuffer(value), - ($36.SetModeResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$36.GetLocationRequest, $36.GetLocationResponse>( + ($core.List<$core.int> value) => $37.SetModeRequest.fromBuffer(value), + ($37.SetModeResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$37.GetLocationRequest, $37.GetLocationResponse>( 'GetLocation', getLocation_Pre, false, false, - ($core.List<$core.int> value) => $36.GetLocationRequest.fromBuffer(value), - ($36.GetLocationResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$36.GetWaypointsRequest, $36.GetWaypointsResponse>( + ($core.List<$core.int> value) => $37.GetLocationRequest.fromBuffer(value), + ($37.GetLocationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$37.GetWaypointsRequest, $37.GetWaypointsResponse>( 'GetWaypoints', getWaypoints_Pre, false, false, - ($core.List<$core.int> value) => $36.GetWaypointsRequest.fromBuffer(value), - ($36.GetWaypointsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$36.AddWaypointRequest, $36.AddWaypointResponse>( + ($core.List<$core.int> value) => $37.GetWaypointsRequest.fromBuffer(value), + ($37.GetWaypointsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$37.AddWaypointRequest, $37.AddWaypointResponse>( 'AddWaypoint', addWaypoint_Pre, false, false, - ($core.List<$core.int> value) => $36.AddWaypointRequest.fromBuffer(value), - ($36.AddWaypointResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$36.RemoveWaypointRequest, $36.RemoveWaypointResponse>( + ($core.List<$core.int> value) => $37.AddWaypointRequest.fromBuffer(value), + ($37.AddWaypointResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$37.RemoveWaypointRequest, $37.RemoveWaypointResponse>( 'RemoveWaypoint', removeWaypoint_Pre, false, false, - ($core.List<$core.int> value) => $36.RemoveWaypointRequest.fromBuffer(value), - ($36.RemoveWaypointResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$36.GetObstaclesRequest, $36.GetObstaclesResponse>( + ($core.List<$core.int> value) => $37.RemoveWaypointRequest.fromBuffer(value), + ($37.RemoveWaypointResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$37.GetObstaclesRequest, $37.GetObstaclesResponse>( 'GetObstacles', getObstacles_Pre, false, false, - ($core.List<$core.int> value) => $36.GetObstaclesRequest.fromBuffer(value), - ($36.GetObstaclesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$36.GetPathsRequest, $36.GetPathsResponse>( + ($core.List<$core.int> value) => $37.GetObstaclesRequest.fromBuffer(value), + ($37.GetObstaclesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$37.GetPathsRequest, $37.GetPathsResponse>( 'GetPaths', getPaths_Pre, false, false, - ($core.List<$core.int> value) => $36.GetPathsRequest.fromBuffer(value), - ($36.GetPathsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$36.GetPropertiesRequest, $36.GetPropertiesResponse>( + ($core.List<$core.int> value) => $37.GetPathsRequest.fromBuffer(value), + ($37.GetPathsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$37.GetPropertiesRequest, $37.GetPropertiesResponse>( 'GetProperties', getProperties_Pre, false, false, - ($core.List<$core.int> value) => $36.GetPropertiesRequest.fromBuffer(value), - ($36.GetPropertiesResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $37.GetPropertiesRequest.fromBuffer(value), + ($37.GetPropertiesResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( 'DoCommand', doCommand_Pre, @@ -187,39 +187,39 @@ abstract class NavigationServiceBase extends $grpc.Service { ($15.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$36.GetModeResponse> getMode_Pre($grpc.ServiceCall call, $async.Future<$36.GetModeRequest> request) async { + $async.Future<$37.GetModeResponse> getMode_Pre($grpc.ServiceCall call, $async.Future<$37.GetModeRequest> request) async { return getMode(call, await request); } - $async.Future<$36.SetModeResponse> setMode_Pre($grpc.ServiceCall call, $async.Future<$36.SetModeRequest> request) async { + $async.Future<$37.SetModeResponse> setMode_Pre($grpc.ServiceCall call, $async.Future<$37.SetModeRequest> request) async { return setMode(call, await request); } - $async.Future<$36.GetLocationResponse> getLocation_Pre($grpc.ServiceCall call, $async.Future<$36.GetLocationRequest> request) async { + $async.Future<$37.GetLocationResponse> getLocation_Pre($grpc.ServiceCall call, $async.Future<$37.GetLocationRequest> request) async { return getLocation(call, await request); } - $async.Future<$36.GetWaypointsResponse> getWaypoints_Pre($grpc.ServiceCall call, $async.Future<$36.GetWaypointsRequest> request) async { + $async.Future<$37.GetWaypointsResponse> getWaypoints_Pre($grpc.ServiceCall call, $async.Future<$37.GetWaypointsRequest> request) async { return getWaypoints(call, await request); } - $async.Future<$36.AddWaypointResponse> addWaypoint_Pre($grpc.ServiceCall call, $async.Future<$36.AddWaypointRequest> request) async { + $async.Future<$37.AddWaypointResponse> addWaypoint_Pre($grpc.ServiceCall call, $async.Future<$37.AddWaypointRequest> request) async { return addWaypoint(call, await request); } - $async.Future<$36.RemoveWaypointResponse> removeWaypoint_Pre($grpc.ServiceCall call, $async.Future<$36.RemoveWaypointRequest> request) async { + $async.Future<$37.RemoveWaypointResponse> removeWaypoint_Pre($grpc.ServiceCall call, $async.Future<$37.RemoveWaypointRequest> request) async { return removeWaypoint(call, await request); } - $async.Future<$36.GetObstaclesResponse> getObstacles_Pre($grpc.ServiceCall call, $async.Future<$36.GetObstaclesRequest> request) async { + $async.Future<$37.GetObstaclesResponse> getObstacles_Pre($grpc.ServiceCall call, $async.Future<$37.GetObstaclesRequest> request) async { return getObstacles(call, await request); } - $async.Future<$36.GetPathsResponse> getPaths_Pre($grpc.ServiceCall call, $async.Future<$36.GetPathsRequest> request) async { + $async.Future<$37.GetPathsResponse> getPaths_Pre($grpc.ServiceCall call, $async.Future<$37.GetPathsRequest> request) async { return getPaths(call, await request); } - $async.Future<$36.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$36.GetPropertiesRequest> request) async { + $async.Future<$37.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$37.GetPropertiesRequest> request) async { return getProperties(call, await request); } @@ -227,14 +227,14 @@ abstract class NavigationServiceBase extends $grpc.Service { return doCommand(call, await 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<$37.GetModeResponse> getMode($grpc.ServiceCall call, $37.GetModeRequest request); + $async.Future<$37.SetModeResponse> setMode($grpc.ServiceCall call, $37.SetModeRequest request); + $async.Future<$37.GetLocationResponse> getLocation($grpc.ServiceCall call, $37.GetLocationRequest request); + $async.Future<$37.GetWaypointsResponse> getWaypoints($grpc.ServiceCall call, $37.GetWaypointsRequest request); + $async.Future<$37.AddWaypointResponse> addWaypoint($grpc.ServiceCall call, $37.AddWaypointRequest request); + $async.Future<$37.RemoveWaypointResponse> removeWaypoint($grpc.ServiceCall call, $37.RemoveWaypointRequest request); + $async.Future<$37.GetObstaclesResponse> getObstacles($grpc.ServiceCall call, $37.GetObstaclesRequest request); + $async.Future<$37.GetPathsResponse> getPaths($grpc.ServiceCall call, $37.GetPathsRequest request); + $async.Future<$37.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $37.GetPropertiesRequest request); $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.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 c71d3f4f9ad..bd793024896 100644 --- a/lib/src/gen/service/sensors/v1/sensors.pb.dart +++ b/lib/src/gen/service/sensors/v1/sensors.pb.dart @@ -14,7 +14,7 @@ import 'dart:core' as $core; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/struct.pb.dart' as $44; /// 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.') - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.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) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @@ -94,7 +94,7 @@ class GetSensorsRequest extends $pb.GeneratedMessage { void clearExtra() => clearField(99); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.Struct ensureExtra() => $_ensure(1); } class GetSensorsResponse extends $pb.GeneratedMessage { @@ -151,7 +151,7 @@ class GetReadingsRequest extends $pb.GeneratedMessage { @$core.Deprecated('This field is deprecated.') $core.Iterable<$15.ResourceName>? sensorNames, @$core.Deprecated('This field is deprecated.') - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (name != null) { @@ -175,7 +175,7 @@ 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<$15.ResourceName>(2, _omitFieldNames ? '' : 'sensorNames', $pb.PbFieldType.PM, subBuilder: $15.ResourceName.create) - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -220,10 +220,10 @@ class GetReadingsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @@ -232,7 +232,7 @@ class GetReadingsRequest extends $pb.GeneratedMessage { void clearExtra() => clearField(99); @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.Struct ensureExtra() => $_ensure(2); } class Readings extends $pb.GeneratedMessage { @@ -240,7 +240,7 @@ class Readings extends $pb.GeneratedMessage { @$core.Deprecated('This field is deprecated.') $15.ResourceName? name, @$core.Deprecated('This field is deprecated.') - $core.Map<$core.String, $43.Value>? readings, + $core.Map<$core.String, $44.Value>? readings, }) { final $result = create(); if (name != null) { @@ -259,7 +259,7 @@ class Readings extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Readings', package: const $pb.PackageName(_omitMessageNames ? '' : 'viam.service.sensors.v1'), createEmptyInstance: create) ..aOM<$15.ResourceName>(1, _omitFieldNames ? '' : 'name', subBuilder: $15.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')) + ..m<$core.String, $44.Value>(2, _omitFieldNames ? '' : 'readings', entryClassName: 'Readings.ReadingsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $44.Value.create, valueDefaultOrMaker: $44.Value.getDefault, packageName: const $pb.PackageName('viam.service.sensors.v1')) ..hasRequiredFields = false ; @@ -302,7 +302,7 @@ class Readings extends $pb.GeneratedMessage { @$core.Deprecated('This field is deprecated.') @$pb.TagNumber(2) - $core.Map<$core.String, $43.Value> get readings => $_getMap(1); + $core.Map<$core.String, $44.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 057670a4a4d..46c4b5dbc6f 100644 --- a/lib/src/gen/service/sensors/v1/sensors.pbgrpc.dart +++ b/lib/src/gen/service/sensors/v1/sensors.pbgrpc.dart @@ -16,20 +16,20 @@ import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import 'sensors.pb.dart' as $37; +import 'sensors.pb.dart' as $38; export 'sensors.pb.dart'; @$pb.GrpcServiceName('viam.service.sensors.v1.SensorsService') class SensorsServiceClient extends $grpc.Client { - static final _$getSensors = $grpc.ClientMethod<$37.GetSensorsRequest, $37.GetSensorsResponse>( + static final _$getSensors = $grpc.ClientMethod<$38.GetSensorsRequest, $38.GetSensorsResponse>( '/viam.service.sensors.v1.SensorsService/GetSensors', - ($37.GetSensorsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $37.GetSensorsResponse.fromBuffer(value)); - static final _$getReadings = $grpc.ClientMethod<$37.GetReadingsRequest, $37.GetReadingsResponse>( + ($38.GetSensorsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $38.GetSensorsResponse.fromBuffer(value)); + static final _$getReadings = $grpc.ClientMethod<$38.GetReadingsRequest, $38.GetReadingsResponse>( '/viam.service.sensors.v1.SensorsService/GetReadings', - ($37.GetReadingsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $37.GetReadingsResponse.fromBuffer(value)); + ($38.GetReadingsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $38.GetReadingsResponse.fromBuffer(value)); static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( '/viam.service.sensors.v1.SensorsService/DoCommand', ($15.DoCommandRequest value) => value.writeToBuffer(), @@ -41,11 +41,11 @@ class SensorsServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$37.GetSensorsResponse> getSensors($37.GetSensorsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$38.GetSensorsResponse> getSensors($38.GetSensorsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getSensors, request, options: options); } - $grpc.ResponseFuture<$37.GetReadingsResponse> getReadings($37.GetReadingsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$38.GetReadingsResponse> getReadings($38.GetReadingsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getReadings, request, options: options); } @@ -59,20 +59,20 @@ abstract class SensorsServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.sensors.v1.SensorsService'; SensorsServiceBase() { - $addMethod($grpc.ServiceMethod<$37.GetSensorsRequest, $37.GetSensorsResponse>( + $addMethod($grpc.ServiceMethod<$38.GetSensorsRequest, $38.GetSensorsResponse>( 'GetSensors', getSensors_Pre, false, false, - ($core.List<$core.int> value) => $37.GetSensorsRequest.fromBuffer(value), - ($37.GetSensorsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$37.GetReadingsRequest, $37.GetReadingsResponse>( + ($core.List<$core.int> value) => $38.GetSensorsRequest.fromBuffer(value), + ($38.GetSensorsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$38.GetReadingsRequest, $38.GetReadingsResponse>( 'GetReadings', getReadings_Pre, false, false, - ($core.List<$core.int> value) => $37.GetReadingsRequest.fromBuffer(value), - ($37.GetReadingsResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $38.GetReadingsRequest.fromBuffer(value), + ($38.GetReadingsResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( 'DoCommand', doCommand_Pre, @@ -82,11 +82,11 @@ abstract class SensorsServiceBase extends $grpc.Service { ($15.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$37.GetSensorsResponse> getSensors_Pre($grpc.ServiceCall call, $async.Future<$37.GetSensorsRequest> request) async { + $async.Future<$38.GetSensorsResponse> getSensors_Pre($grpc.ServiceCall call, $async.Future<$38.GetSensorsRequest> request) async { return getSensors(call, await request); } - $async.Future<$37.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$37.GetReadingsRequest> request) async { + $async.Future<$38.GetReadingsResponse> getReadings_Pre($grpc.ServiceCall call, $async.Future<$38.GetReadingsRequest> request) async { return getReadings(call, await request); } @@ -94,7 +94,7 @@ abstract class SensorsServiceBase extends $grpc.Service { return doCommand(call, await 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<$38.GetSensorsResponse> getSensors($grpc.ServiceCall call, $38.GetSensorsRequest request); + $async.Future<$38.GetReadingsResponse> getReadings($grpc.ServiceCall call, $38.GetReadingsRequest request); $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.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 1c5d4210d30..3a00ba49897 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 $43; -import '../../../google/protobuf/timestamp.pb.dart' as $44; +import '../../../google/protobuf/struct.pb.dart' as $44; +import '../../../google/protobuf/timestamp.pb.dart' as $45; 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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -90,15 +90,15 @@ class ShellRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $44.Timestamp? modTime, + $45.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<$44.Timestamp>(6, _omitFieldNames ? '' : 'modTime', subBuilder: $44.Timestamp.create) + ..aOM<$45.Timestamp>(6, _omitFieldNames ? '' : 'modTime', subBuilder: $45.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) - $44.Timestamp get modTime => $_getN(5); + $45.Timestamp get modTime => $_getN(5); @$pb.TagNumber(6) - set modTime($44.Timestamp v) { setField(6, v); } + set modTime($45.Timestamp v) { setField(6, v); } @$pb.TagNumber(6) $core.bool hasModTime() => $_has(5); @$pb.TagNumber(6) void clearModTime() => clearField(6); @$pb.TagNumber(6) - $44.Timestamp ensureModTime() => $_ensure(5); + $45.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -429,15 +429,15 @@ class CopyFilesToMachineRequestMetadata extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(4); + $44.Struct get extra => $_getN(4); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(4); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(4); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -676,15 +676,15 @@ class CopyFilesFromMachineRequestMetadata extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(4); + $44.Struct get extra => $_getN(4); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(4); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(4); + $44.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 d90c98c22b3..72727742b32 100644 --- a/lib/src/gen/service/shell/v1/shell.pbgrpc.dart +++ b/lib/src/gen/service/shell/v1/shell.pbgrpc.dart @@ -16,24 +16,24 @@ import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import 'shell.pb.dart' as $38; +import 'shell.pb.dart' as $39; export 'shell.pb.dart'; @$pb.GrpcServiceName('viam.service.shell.v1.ShellService') class ShellServiceClient extends $grpc.Client { - static final _$shell = $grpc.ClientMethod<$38.ShellRequest, $38.ShellResponse>( + static final _$shell = $grpc.ClientMethod<$39.ShellRequest, $39.ShellResponse>( '/viam.service.shell.v1.ShellService/Shell', - ($38.ShellRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.ShellResponse.fromBuffer(value)); - static final _$copyFilesToMachine = $grpc.ClientMethod<$38.CopyFilesToMachineRequest, $38.CopyFilesToMachineResponse>( + ($39.ShellRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $39.ShellResponse.fromBuffer(value)); + static final _$copyFilesToMachine = $grpc.ClientMethod<$39.CopyFilesToMachineRequest, $39.CopyFilesToMachineResponse>( '/viam.service.shell.v1.ShellService/CopyFilesToMachine', - ($38.CopyFilesToMachineRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.CopyFilesToMachineResponse.fromBuffer(value)); - static final _$copyFilesFromMachine = $grpc.ClientMethod<$38.CopyFilesFromMachineRequest, $38.CopyFilesFromMachineResponse>( + ($39.CopyFilesToMachineRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $39.CopyFilesToMachineResponse.fromBuffer(value)); + static final _$copyFilesFromMachine = $grpc.ClientMethod<$39.CopyFilesFromMachineRequest, $39.CopyFilesFromMachineResponse>( '/viam.service.shell.v1.ShellService/CopyFilesFromMachine', - ($38.CopyFilesFromMachineRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $38.CopyFilesFromMachineResponse.fromBuffer(value)); + ($39.CopyFilesFromMachineRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $39.CopyFilesFromMachineResponse.fromBuffer(value)); static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( '/viam.service.shell.v1.ShellService/DoCommand', ($15.DoCommandRequest value) => value.writeToBuffer(), @@ -45,15 +45,15 @@ class ShellServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseStream<$38.ShellResponse> shell($async.Stream<$38.ShellRequest> request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$39.ShellResponse> shell($async.Stream<$39.ShellRequest> request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$shell, request, options: options); } - $grpc.ResponseStream<$38.CopyFilesToMachineResponse> copyFilesToMachine($async.Stream<$38.CopyFilesToMachineRequest> request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$39.CopyFilesToMachineResponse> copyFilesToMachine($async.Stream<$39.CopyFilesToMachineRequest> request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$copyFilesToMachine, request, options: options); } - $grpc.ResponseStream<$38.CopyFilesFromMachineResponse> copyFilesFromMachine($async.Stream<$38.CopyFilesFromMachineRequest> request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$39.CopyFilesFromMachineResponse> copyFilesFromMachine($async.Stream<$39.CopyFilesFromMachineRequest> request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$copyFilesFromMachine, request, options: options); } @@ -67,27 +67,27 @@ abstract class ShellServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.shell.v1.ShellService'; ShellServiceBase() { - $addMethod($grpc.ServiceMethod<$38.ShellRequest, $38.ShellResponse>( + $addMethod($grpc.ServiceMethod<$39.ShellRequest, $39.ShellResponse>( 'Shell', shell, true, true, - ($core.List<$core.int> value) => $38.ShellRequest.fromBuffer(value), - ($38.ShellResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$38.CopyFilesToMachineRequest, $38.CopyFilesToMachineResponse>( + ($core.List<$core.int> value) => $39.ShellRequest.fromBuffer(value), + ($39.ShellResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$39.CopyFilesToMachineRequest, $39.CopyFilesToMachineResponse>( 'CopyFilesToMachine', copyFilesToMachine, true, true, - ($core.List<$core.int> value) => $38.CopyFilesToMachineRequest.fromBuffer(value), - ($38.CopyFilesToMachineResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$38.CopyFilesFromMachineRequest, $38.CopyFilesFromMachineResponse>( + ($core.List<$core.int> value) => $39.CopyFilesToMachineRequest.fromBuffer(value), + ($39.CopyFilesToMachineResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$39.CopyFilesFromMachineRequest, $39.CopyFilesFromMachineResponse>( 'CopyFilesFromMachine', copyFilesFromMachine, true, true, - ($core.List<$core.int> value) => $38.CopyFilesFromMachineRequest.fromBuffer(value), - ($38.CopyFilesFromMachineResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $39.CopyFilesFromMachineRequest.fromBuffer(value), + ($39.CopyFilesFromMachineResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( 'DoCommand', doCommand_Pre, @@ -101,8 +101,8 @@ abstract class ShellServiceBase extends $grpc.Service { return doCommand(call, await 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.Stream<$39.ShellResponse> shell($grpc.ServiceCall call, $async.Stream<$39.ShellRequest> request); + $async.Stream<$39.CopyFilesToMachineResponse> copyFilesToMachine($grpc.ServiceCall call, $async.Stream<$39.CopyFilesToMachineRequest> request); + $async.Stream<$39.CopyFilesFromMachineResponse> copyFilesFromMachine($grpc.ServiceCall call, $async.Stream<$39.CopyFilesFromMachineRequest> request); $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); } diff --git a/lib/src/gen/service/slam/v1/slam.pbgrpc.dart b/lib/src/gen/service/slam/v1/slam.pbgrpc.dart index 655cec53f8e..46f75214aff 100644 --- a/lib/src/gen/service/slam/v1/slam.pbgrpc.dart +++ b/lib/src/gen/service/slam/v1/slam.pbgrpc.dart @@ -16,28 +16,28 @@ import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import 'slam.pb.dart' as $39; +import 'slam.pb.dart' as $40; export 'slam.pb.dart'; @$pb.GrpcServiceName('viam.service.slam.v1.SLAMService') class SLAMServiceClient extends $grpc.Client { - static final _$getPosition = $grpc.ClientMethod<$39.GetPositionRequest, $39.GetPositionResponse>( + static final _$getPosition = $grpc.ClientMethod<$40.GetPositionRequest, $40.GetPositionResponse>( '/viam.service.slam.v1.SLAMService/GetPosition', - ($39.GetPositionRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetPositionResponse.fromBuffer(value)); - static final _$getPointCloudMap = $grpc.ClientMethod<$39.GetPointCloudMapRequest, $39.GetPointCloudMapResponse>( + ($40.GetPositionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $40.GetPositionResponse.fromBuffer(value)); + static final _$getPointCloudMap = $grpc.ClientMethod<$40.GetPointCloudMapRequest, $40.GetPointCloudMapResponse>( '/viam.service.slam.v1.SLAMService/GetPointCloudMap', - ($39.GetPointCloudMapRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetPointCloudMapResponse.fromBuffer(value)); - static final _$getInternalState = $grpc.ClientMethod<$39.GetInternalStateRequest, $39.GetInternalStateResponse>( + ($40.GetPointCloudMapRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $40.GetPointCloudMapResponse.fromBuffer(value)); + static final _$getInternalState = $grpc.ClientMethod<$40.GetInternalStateRequest, $40.GetInternalStateResponse>( '/viam.service.slam.v1.SLAMService/GetInternalState', - ($39.GetInternalStateRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetInternalStateResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$39.GetPropertiesRequest, $39.GetPropertiesResponse>( + ($40.GetInternalStateRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $40.GetInternalStateResponse.fromBuffer(value)); + static final _$getProperties = $grpc.ClientMethod<$40.GetPropertiesRequest, $40.GetPropertiesResponse>( '/viam.service.slam.v1.SLAMService/GetProperties', - ($39.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $39.GetPropertiesResponse.fromBuffer(value)); + ($40.GetPropertiesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $40.GetPropertiesResponse.fromBuffer(value)); static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( '/viam.service.slam.v1.SLAMService/DoCommand', ($15.DoCommandRequest value) => value.writeToBuffer(), @@ -49,19 +49,19 @@ class SLAMServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$39.GetPositionResponse> getPosition($39.GetPositionRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$40.GetPositionResponse> getPosition($40.GetPositionRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getPosition, request, options: options); } - $grpc.ResponseStream<$39.GetPointCloudMapResponse> getPointCloudMap($39.GetPointCloudMapRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$40.GetPointCloudMapResponse> getPointCloudMap($40.GetPointCloudMapRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$getPointCloudMap, $async.Stream.fromIterable([request]), options: options); } - $grpc.ResponseStream<$39.GetInternalStateResponse> getInternalState($39.GetInternalStateRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseStream<$40.GetInternalStateResponse> getInternalState($40.GetInternalStateRequest request, {$grpc.CallOptions? options}) { return $createStreamingCall(_$getInternalState, $async.Stream.fromIterable([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); } @@ -75,34 +75,34 @@ abstract class SLAMServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.slam.v1.SLAMService'; SLAMServiceBase() { - $addMethod($grpc.ServiceMethod<$39.GetPositionRequest, $39.GetPositionResponse>( + $addMethod($grpc.ServiceMethod<$40.GetPositionRequest, $40.GetPositionResponse>( 'GetPosition', getPosition_Pre, false, false, - ($core.List<$core.int> value) => $39.GetPositionRequest.fromBuffer(value), - ($39.GetPositionResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.GetPointCloudMapRequest, $39.GetPointCloudMapResponse>( + ($core.List<$core.int> value) => $40.GetPositionRequest.fromBuffer(value), + ($40.GetPositionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$40.GetPointCloudMapRequest, $40.GetPointCloudMapResponse>( 'GetPointCloudMap', getPointCloudMap_Pre, false, true, - ($core.List<$core.int> value) => $39.GetPointCloudMapRequest.fromBuffer(value), - ($39.GetPointCloudMapResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.GetInternalStateRequest, $39.GetInternalStateResponse>( + ($core.List<$core.int> value) => $40.GetPointCloudMapRequest.fromBuffer(value), + ($40.GetPointCloudMapResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$40.GetInternalStateRequest, $40.GetInternalStateResponse>( 'GetInternalState', getInternalState_Pre, false, true, - ($core.List<$core.int> value) => $39.GetInternalStateRequest.fromBuffer(value), - ($39.GetInternalStateResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$39.GetPropertiesRequest, $39.GetPropertiesResponse>( + ($core.List<$core.int> value) => $40.GetInternalStateRequest.fromBuffer(value), + ($40.GetInternalStateResponse 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())); + ($core.List<$core.int> value) => $40.GetPropertiesRequest.fromBuffer(value), + ($40.GetPropertiesResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( 'DoCommand', doCommand_Pre, @@ -112,19 +112,19 @@ abstract class SLAMServiceBase extends $grpc.Service { ($15.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$39.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$39.GetPositionRequest> request) async { + $async.Future<$40.GetPositionResponse> getPosition_Pre($grpc.ServiceCall call, $async.Future<$40.GetPositionRequest> request) async { return getPosition(call, await request); } - $async.Stream<$39.GetPointCloudMapResponse> getPointCloudMap_Pre($grpc.ServiceCall call, $async.Future<$39.GetPointCloudMapRequest> request) async* { + $async.Stream<$40.GetPointCloudMapResponse> getPointCloudMap_Pre($grpc.ServiceCall call, $async.Future<$40.GetPointCloudMapRequest> request) async* { yield* getPointCloudMap(call, await request); } - $async.Stream<$39.GetInternalStateResponse> getInternalState_Pre($grpc.ServiceCall call, $async.Future<$39.GetInternalStateRequest> request) async* { + $async.Stream<$40.GetInternalStateResponse> getInternalState_Pre($grpc.ServiceCall call, $async.Future<$40.GetInternalStateRequest> request) async* { yield* getInternalState(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); } @@ -132,9 +132,9 @@ abstract class SLAMServiceBase extends $grpc.Service { return doCommand(call, await 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<$40.GetPositionResponse> getPosition($grpc.ServiceCall call, $40.GetPositionRequest request); + $async.Stream<$40.GetPointCloudMapResponse> getPointCloudMap($grpc.ServiceCall call, $40.GetPointCloudMapRequest request); + $async.Stream<$40.GetInternalStateResponse> getInternalState($grpc.ServiceCall call, $40.GetInternalStateRequest request); + $async.Future<$40.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $40.GetPropertiesRequest request); $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.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 17aa47b26d2..c54527e9b22 100644 --- a/lib/src/gen/service/vision/v1/vision.pb.dart +++ b/lib/src/gen/service/vision/v1/vision.pb.dart @@ -16,7 +16,7 @@ import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; import '../../../component/camera/v1/camera.pb.dart' as $20; -import '../../../google/protobuf/struct.pb.dart' as $43; +import '../../../google/protobuf/struct.pb.dart' as $44; 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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -135,15 +135,15 @@ class GetDetectionsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(5); + $44.Struct get extra => $_getN(5); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(5); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(5); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -262,15 +262,15 @@ class GetDetectionsFromCameraRequest extends $pb.GeneratedMessage { void clearCameraName() => clearField(2); @$pb.TagNumber(99) - $43.Struct get extra => $_getN(2); + $44.Struct get extra => $_getN(2); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(2); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(2); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -573,15 +573,15 @@ class GetClassificationsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(6); + $44.Struct get extra => $_getN(6); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(6); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(6); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -715,15 +715,15 @@ class GetClassificationsFromCameraRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -923,15 +923,15 @@ class GetObjectPointCloudsRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(3); + $44.Struct get extra => $_getN(3); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(3); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(3); + $44.Struct ensureExtra() => $_ensure(3); } class GetObjectPointCloudsResponse extends $pb.GeneratedMessage { @@ -997,7 +997,7 @@ class GetObjectPointCloudsResponse extends $pb.GeneratedMessage { class GetPropertiesRequest extends $pb.GeneratedMessage { factory GetPropertiesRequest({ $core.String? name, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1051,15 +1051,15 @@ class GetPropertiesRequest extends $pb.GeneratedMessage { /// Additional arguments to the method @$pb.TagNumber(99) - $43.Struct get extra => $_getN(1); + $44.Struct get extra => $_getN(1); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(1); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(1); + $44.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, - $43.Struct? extra, + $44.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<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1193,15 +1193,15 @@ class CaptureAllFromCameraRequest extends $pb.GeneratedMessage { void clearReturnObjectPointClouds() => clearField(6); @$pb.TagNumber(99) - $43.Struct get extra => $_getN(6); + $44.Struct get extra => $_getN(6); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(6); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(6); + $44.Struct ensureExtra() => $_ensure(6); } class CaptureAllFromCameraResponse extends $pb.GeneratedMessage { @@ -1210,7 +1210,7 @@ class CaptureAllFromCameraResponse extends $pb.GeneratedMessage { $core.Iterable? detections, $core.Iterable? classifications, $core.Iterable<$15.PointCloudObject>? objects, - $43.Struct? extra, + $44.Struct? extra, }) { final $result = create(); if (image != null) { @@ -1239,7 +1239,7 @@ class CaptureAllFromCameraResponse extends $pb.GeneratedMessage { ..pc(2, _omitFieldNames ? '' : 'detections', $pb.PbFieldType.PM, subBuilder: Detection.create) ..pc(3, _omitFieldNames ? '' : 'classifications', $pb.PbFieldType.PM, subBuilder: Classification.create) ..pc<$15.PointCloudObject>(4, _omitFieldNames ? '' : 'objects', $pb.PbFieldType.PM, subBuilder: $15.PointCloudObject.create) - ..aOM<$43.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $43.Struct.create) + ..aOM<$44.Struct>(99, _omitFieldNames ? '' : 'extra', subBuilder: $44.Struct.create) ..hasRequiredFields = false ; @@ -1285,15 +1285,15 @@ class CaptureAllFromCameraResponse extends $pb.GeneratedMessage { $core.List<$15.PointCloudObject> get objects => $_getList(3); @$pb.TagNumber(99) - $43.Struct get extra => $_getN(4); + $44.Struct get extra => $_getN(4); @$pb.TagNumber(99) - set extra($43.Struct v) { setField(99, v); } + set extra($44.Struct v) { setField(99, v); } @$pb.TagNumber(99) $core.bool hasExtra() => $_has(4); @$pb.TagNumber(99) void clearExtra() => clearField(99); @$pb.TagNumber(99) - $43.Struct ensureExtra() => $_ensure(4); + $44.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 cdf99553654..b5e33628cb3 100644 --- a/lib/src/gen/service/vision/v1/vision.pbgrpc.dart +++ b/lib/src/gen/service/vision/v1/vision.pbgrpc.dart @@ -16,40 +16,40 @@ import 'package:grpc/service_api.dart' as $grpc; import 'package:protobuf/protobuf.dart' as $pb; import '../../../common/v1/common.pb.dart' as $15; -import 'vision.pb.dart' as $40; +import 'vision.pb.dart' as $41; export 'vision.pb.dart'; @$pb.GrpcServiceName('viam.service.vision.v1.VisionService') class VisionServiceClient extends $grpc.Client { - static final _$getDetectionsFromCamera = $grpc.ClientMethod<$40.GetDetectionsFromCameraRequest, $40.GetDetectionsFromCameraResponse>( + static final _$getDetectionsFromCamera = $grpc.ClientMethod<$41.GetDetectionsFromCameraRequest, $41.GetDetectionsFromCameraResponse>( '/viam.service.vision.v1.VisionService/GetDetectionsFromCamera', - ($40.GetDetectionsFromCameraRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $40.GetDetectionsFromCameraResponse.fromBuffer(value)); - static final _$getDetections = $grpc.ClientMethod<$40.GetDetectionsRequest, $40.GetDetectionsResponse>( + ($41.GetDetectionsFromCameraRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $41.GetDetectionsFromCameraResponse.fromBuffer(value)); + static final _$getDetections = $grpc.ClientMethod<$41.GetDetectionsRequest, $41.GetDetectionsResponse>( '/viam.service.vision.v1.VisionService/GetDetections', - ($40.GetDetectionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $40.GetDetectionsResponse.fromBuffer(value)); - static final _$getClassificationsFromCamera = $grpc.ClientMethod<$40.GetClassificationsFromCameraRequest, $40.GetClassificationsFromCameraResponse>( + ($41.GetDetectionsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $41.GetDetectionsResponse.fromBuffer(value)); + static final _$getClassificationsFromCamera = $grpc.ClientMethod<$41.GetClassificationsFromCameraRequest, $41.GetClassificationsFromCameraResponse>( '/viam.service.vision.v1.VisionService/GetClassificationsFromCamera', - ($40.GetClassificationsFromCameraRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $40.GetClassificationsFromCameraResponse.fromBuffer(value)); - static final _$getClassifications = $grpc.ClientMethod<$40.GetClassificationsRequest, $40.GetClassificationsResponse>( + ($41.GetClassificationsFromCameraRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $41.GetClassificationsFromCameraResponse.fromBuffer(value)); + static final _$getClassifications = $grpc.ClientMethod<$41.GetClassificationsRequest, $41.GetClassificationsResponse>( '/viam.service.vision.v1.VisionService/GetClassifications', - ($40.GetClassificationsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $40.GetClassificationsResponse.fromBuffer(value)); - static final _$getObjectPointClouds = $grpc.ClientMethod<$40.GetObjectPointCloudsRequest, $40.GetObjectPointCloudsResponse>( + ($41.GetClassificationsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $41.GetClassificationsResponse.fromBuffer(value)); + static final _$getObjectPointClouds = $grpc.ClientMethod<$41.GetObjectPointCloudsRequest, $41.GetObjectPointCloudsResponse>( '/viam.service.vision.v1.VisionService/GetObjectPointClouds', - ($40.GetObjectPointCloudsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $40.GetObjectPointCloudsResponse.fromBuffer(value)); - static final _$getProperties = $grpc.ClientMethod<$40.GetPropertiesRequest, $40.GetPropertiesResponse>( + ($41.GetObjectPointCloudsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $41.GetObjectPointCloudsResponse.fromBuffer(value)); + static final _$getProperties = $grpc.ClientMethod<$41.GetPropertiesRequest, $41.GetPropertiesResponse>( '/viam.service.vision.v1.VisionService/GetProperties', - ($40.GetPropertiesRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $40.GetPropertiesResponse.fromBuffer(value)); - static final _$captureAllFromCamera = $grpc.ClientMethod<$40.CaptureAllFromCameraRequest, $40.CaptureAllFromCameraResponse>( + ($41.GetPropertiesRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $41.GetPropertiesResponse.fromBuffer(value)); + static final _$captureAllFromCamera = $grpc.ClientMethod<$41.CaptureAllFromCameraRequest, $41.CaptureAllFromCameraResponse>( '/viam.service.vision.v1.VisionService/CaptureAllFromCamera', - ($40.CaptureAllFromCameraRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $40.CaptureAllFromCameraResponse.fromBuffer(value)); + ($41.CaptureAllFromCameraRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $41.CaptureAllFromCameraResponse.fromBuffer(value)); static final _$doCommand = $grpc.ClientMethod<$15.DoCommandRequest, $15.DoCommandResponse>( '/viam.service.vision.v1.VisionService/DoCommand', ($15.DoCommandRequest value) => value.writeToBuffer(), @@ -61,31 +61,31 @@ class VisionServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$40.GetDetectionsFromCameraResponse> getDetectionsFromCamera($40.GetDetectionsFromCameraRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$41.GetDetectionsFromCameraResponse> getDetectionsFromCamera($41.GetDetectionsFromCameraRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getDetectionsFromCamera, request, options: options); } - $grpc.ResponseFuture<$40.GetDetectionsResponse> getDetections($40.GetDetectionsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$41.GetDetectionsResponse> getDetections($41.GetDetectionsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getDetections, request, options: options); } - $grpc.ResponseFuture<$40.GetClassificationsFromCameraResponse> getClassificationsFromCamera($40.GetClassificationsFromCameraRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$41.GetClassificationsFromCameraResponse> getClassificationsFromCamera($41.GetClassificationsFromCameraRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getClassificationsFromCamera, request, options: options); } - $grpc.ResponseFuture<$40.GetClassificationsResponse> getClassifications($40.GetClassificationsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$41.GetClassificationsResponse> getClassifications($41.GetClassificationsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getClassifications, request, options: options); } - $grpc.ResponseFuture<$40.GetObjectPointCloudsResponse> getObjectPointClouds($40.GetObjectPointCloudsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$41.GetObjectPointCloudsResponse> getObjectPointClouds($41.GetObjectPointCloudsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getObjectPointClouds, request, options: options); } - $grpc.ResponseFuture<$40.GetPropertiesResponse> getProperties($40.GetPropertiesRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$41.GetPropertiesResponse> getProperties($41.GetPropertiesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getProperties, request, options: options); } - $grpc.ResponseFuture<$40.CaptureAllFromCameraResponse> captureAllFromCamera($40.CaptureAllFromCameraRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$41.CaptureAllFromCameraResponse> captureAllFromCamera($41.CaptureAllFromCameraRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$captureAllFromCamera, request, options: options); } @@ -99,55 +99,55 @@ abstract class VisionServiceBase extends $grpc.Service { $core.String get $name => 'viam.service.vision.v1.VisionService'; VisionServiceBase() { - $addMethod($grpc.ServiceMethod<$40.GetDetectionsFromCameraRequest, $40.GetDetectionsFromCameraResponse>( + $addMethod($grpc.ServiceMethod<$41.GetDetectionsFromCameraRequest, $41.GetDetectionsFromCameraResponse>( 'GetDetectionsFromCamera', getDetectionsFromCamera_Pre, false, false, - ($core.List<$core.int> value) => $40.GetDetectionsFromCameraRequest.fromBuffer(value), - ($40.GetDetectionsFromCameraResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$40.GetDetectionsRequest, $40.GetDetectionsResponse>( + ($core.List<$core.int> value) => $41.GetDetectionsFromCameraRequest.fromBuffer(value), + ($41.GetDetectionsFromCameraResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$41.GetDetectionsRequest, $41.GetDetectionsResponse>( 'GetDetections', getDetections_Pre, false, false, - ($core.List<$core.int> value) => $40.GetDetectionsRequest.fromBuffer(value), - ($40.GetDetectionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$40.GetClassificationsFromCameraRequest, $40.GetClassificationsFromCameraResponse>( + ($core.List<$core.int> value) => $41.GetDetectionsRequest.fromBuffer(value), + ($41.GetDetectionsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$41.GetClassificationsFromCameraRequest, $41.GetClassificationsFromCameraResponse>( 'GetClassificationsFromCamera', getClassificationsFromCamera_Pre, false, false, - ($core.List<$core.int> value) => $40.GetClassificationsFromCameraRequest.fromBuffer(value), - ($40.GetClassificationsFromCameraResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$40.GetClassificationsRequest, $40.GetClassificationsResponse>( + ($core.List<$core.int> value) => $41.GetClassificationsFromCameraRequest.fromBuffer(value), + ($41.GetClassificationsFromCameraResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$41.GetClassificationsRequest, $41.GetClassificationsResponse>( 'GetClassifications', getClassifications_Pre, false, false, - ($core.List<$core.int> value) => $40.GetClassificationsRequest.fromBuffer(value), - ($40.GetClassificationsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$40.GetObjectPointCloudsRequest, $40.GetObjectPointCloudsResponse>( + ($core.List<$core.int> value) => $41.GetClassificationsRequest.fromBuffer(value), + ($41.GetClassificationsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$41.GetObjectPointCloudsRequest, $41.GetObjectPointCloudsResponse>( 'GetObjectPointClouds', getObjectPointClouds_Pre, false, false, - ($core.List<$core.int> value) => $40.GetObjectPointCloudsRequest.fromBuffer(value), - ($40.GetObjectPointCloudsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$40.GetPropertiesRequest, $40.GetPropertiesResponse>( + ($core.List<$core.int> value) => $41.GetObjectPointCloudsRequest.fromBuffer(value), + ($41.GetObjectPointCloudsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$41.GetPropertiesRequest, $41.GetPropertiesResponse>( 'GetProperties', getProperties_Pre, false, false, - ($core.List<$core.int> value) => $40.GetPropertiesRequest.fromBuffer(value), - ($40.GetPropertiesResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$40.CaptureAllFromCameraRequest, $40.CaptureAllFromCameraResponse>( + ($core.List<$core.int> value) => $41.GetPropertiesRequest.fromBuffer(value), + ($41.GetPropertiesResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$41.CaptureAllFromCameraRequest, $41.CaptureAllFromCameraResponse>( 'CaptureAllFromCamera', captureAllFromCamera_Pre, false, false, - ($core.List<$core.int> value) => $40.CaptureAllFromCameraRequest.fromBuffer(value), - ($40.CaptureAllFromCameraResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $41.CaptureAllFromCameraRequest.fromBuffer(value), + ($41.CaptureAllFromCameraResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$15.DoCommandRequest, $15.DoCommandResponse>( 'DoCommand', doCommand_Pre, @@ -157,31 +157,31 @@ abstract class VisionServiceBase extends $grpc.Service { ($15.DoCommandResponse value) => value.writeToBuffer())); } - $async.Future<$40.GetDetectionsFromCameraResponse> getDetectionsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$40.GetDetectionsFromCameraRequest> request) async { + $async.Future<$41.GetDetectionsFromCameraResponse> getDetectionsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$41.GetDetectionsFromCameraRequest> request) async { return getDetectionsFromCamera(call, await request); } - $async.Future<$40.GetDetectionsResponse> getDetections_Pre($grpc.ServiceCall call, $async.Future<$40.GetDetectionsRequest> request) async { + $async.Future<$41.GetDetectionsResponse> getDetections_Pre($grpc.ServiceCall call, $async.Future<$41.GetDetectionsRequest> request) async { return getDetections(call, await request); } - $async.Future<$40.GetClassificationsFromCameraResponse> getClassificationsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$40.GetClassificationsFromCameraRequest> request) async { + $async.Future<$41.GetClassificationsFromCameraResponse> getClassificationsFromCamera_Pre($grpc.ServiceCall call, $async.Future<$41.GetClassificationsFromCameraRequest> request) async { return getClassificationsFromCamera(call, await request); } - $async.Future<$40.GetClassificationsResponse> getClassifications_Pre($grpc.ServiceCall call, $async.Future<$40.GetClassificationsRequest> request) async { + $async.Future<$41.GetClassificationsResponse> getClassifications_Pre($grpc.ServiceCall call, $async.Future<$41.GetClassificationsRequest> request) async { return getClassifications(call, await request); } - $async.Future<$40.GetObjectPointCloudsResponse> getObjectPointClouds_Pre($grpc.ServiceCall call, $async.Future<$40.GetObjectPointCloudsRequest> request) async { + $async.Future<$41.GetObjectPointCloudsResponse> getObjectPointClouds_Pre($grpc.ServiceCall call, $async.Future<$41.GetObjectPointCloudsRequest> request) async { return getObjectPointClouds(call, await request); } - $async.Future<$40.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$40.GetPropertiesRequest> request) async { + $async.Future<$41.GetPropertiesResponse> getProperties_Pre($grpc.ServiceCall call, $async.Future<$41.GetPropertiesRequest> request) async { return getProperties(call, await request); } - $async.Future<$40.CaptureAllFromCameraResponse> captureAllFromCamera_Pre($grpc.ServiceCall call, $async.Future<$40.CaptureAllFromCameraRequest> request) async { + $async.Future<$41.CaptureAllFromCameraResponse> captureAllFromCamera_Pre($grpc.ServiceCall call, $async.Future<$41.CaptureAllFromCameraRequest> request) async { return captureAllFromCamera(call, await request); } @@ -189,12 +189,12 @@ abstract class VisionServiceBase extends $grpc.Service { return doCommand(call, await 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<$41.GetDetectionsFromCameraResponse> getDetectionsFromCamera($grpc.ServiceCall call, $41.GetDetectionsFromCameraRequest request); + $async.Future<$41.GetDetectionsResponse> getDetections($grpc.ServiceCall call, $41.GetDetectionsRequest request); + $async.Future<$41.GetClassificationsFromCameraResponse> getClassificationsFromCamera($grpc.ServiceCall call, $41.GetClassificationsFromCameraRequest request); + $async.Future<$41.GetClassificationsResponse> getClassifications($grpc.ServiceCall call, $41.GetClassificationsRequest request); + $async.Future<$41.GetObjectPointCloudsResponse> getObjectPointClouds($grpc.ServiceCall call, $41.GetObjectPointCloudsRequest request); + $async.Future<$41.GetPropertiesResponse> getProperties($grpc.ServiceCall call, $41.GetPropertiesRequest request); + $async.Future<$41.CaptureAllFromCameraResponse> captureAllFromCamera($grpc.ServiceCall call, $41.CaptureAllFromCameraRequest request); $async.Future<$15.DoCommandResponse> doCommand($grpc.ServiceCall call, $15.DoCommandRequest request); } diff --git a/lib/src/gen/stream/v1/stream.pbgrpc.dart b/lib/src/gen/stream/v1/stream.pbgrpc.dart index fbd71aebb71..91fbc5d6587 100644 --- a/lib/src/gen/stream/v1/stream.pbgrpc.dart +++ b/lib/src/gen/stream/v1/stream.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 'stream.pb.dart' as $41; +import 'stream.pb.dart' as $42; export 'stream.pb.dart'; @$pb.GrpcServiceName('proto.stream.v1.StreamService') class StreamServiceClient extends $grpc.Client { - static final _$listStreams = $grpc.ClientMethod<$41.ListStreamsRequest, $41.ListStreamsResponse>( + static final _$listStreams = $grpc.ClientMethod<$42.ListStreamsRequest, $42.ListStreamsResponse>( '/proto.stream.v1.StreamService/ListStreams', - ($41.ListStreamsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $41.ListStreamsResponse.fromBuffer(value)); - static final _$addStream = $grpc.ClientMethod<$41.AddStreamRequest, $41.AddStreamResponse>( + ($42.ListStreamsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $42.ListStreamsResponse.fromBuffer(value)); + static final _$addStream = $grpc.ClientMethod<$42.AddStreamRequest, $42.AddStreamResponse>( '/proto.stream.v1.StreamService/AddStream', - ($41.AddStreamRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $41.AddStreamResponse.fromBuffer(value)); - static final _$getStreamOptions = $grpc.ClientMethod<$41.GetStreamOptionsRequest, $41.GetStreamOptionsResponse>( + ($42.AddStreamRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $42.AddStreamResponse.fromBuffer(value)); + static final _$getStreamOptions = $grpc.ClientMethod<$42.GetStreamOptionsRequest, $42.GetStreamOptionsResponse>( '/proto.stream.v1.StreamService/GetStreamOptions', - ($41.GetStreamOptionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $41.GetStreamOptionsResponse.fromBuffer(value)); - static final _$setStreamOptions = $grpc.ClientMethod<$41.SetStreamOptionsRequest, $41.SetStreamOptionsResponse>( + ($42.GetStreamOptionsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $42.GetStreamOptionsResponse.fromBuffer(value)); + static final _$setStreamOptions = $grpc.ClientMethod<$42.SetStreamOptionsRequest, $42.SetStreamOptionsResponse>( '/proto.stream.v1.StreamService/SetStreamOptions', - ($41.SetStreamOptionsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $41.SetStreamOptionsResponse.fromBuffer(value)); - static final _$removeStream = $grpc.ClientMethod<$41.RemoveStreamRequest, $41.RemoveStreamResponse>( + ($42.SetStreamOptionsRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $42.SetStreamOptionsResponse.fromBuffer(value)); + static final _$removeStream = $grpc.ClientMethod<$42.RemoveStreamRequest, $42.RemoveStreamResponse>( '/proto.stream.v1.StreamService/RemoveStream', - ($41.RemoveStreamRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $41.RemoveStreamResponse.fromBuffer(value)); + ($42.RemoveStreamRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $42.RemoveStreamResponse.fromBuffer(value)); StreamServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, @@ -48,23 +48,23 @@ class StreamServiceClient extends $grpc.Client { : super(channel, options: options, interceptors: interceptors); - $grpc.ResponseFuture<$41.ListStreamsResponse> listStreams($41.ListStreamsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$42.ListStreamsResponse> listStreams($42.ListStreamsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$listStreams, request, options: options); } - $grpc.ResponseFuture<$41.AddStreamResponse> addStream($41.AddStreamRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$42.AddStreamResponse> addStream($42.AddStreamRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$addStream, request, options: options); } - $grpc.ResponseFuture<$41.GetStreamOptionsResponse> getStreamOptions($41.GetStreamOptionsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$42.GetStreamOptionsResponse> getStreamOptions($42.GetStreamOptionsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getStreamOptions, request, options: options); } - $grpc.ResponseFuture<$41.SetStreamOptionsResponse> setStreamOptions($41.SetStreamOptionsRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$42.SetStreamOptionsResponse> setStreamOptions($42.SetStreamOptionsRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$setStreamOptions, request, options: options); } - $grpc.ResponseFuture<$41.RemoveStreamResponse> removeStream($41.RemoveStreamRequest request, {$grpc.CallOptions? options}) { + $grpc.ResponseFuture<$42.RemoveStreamResponse> removeStream($42.RemoveStreamRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$removeStream, request, options: options); } } @@ -74,66 +74,66 @@ abstract class StreamServiceBase extends $grpc.Service { $core.String get $name => 'proto.stream.v1.StreamService'; StreamServiceBase() { - $addMethod($grpc.ServiceMethod<$41.ListStreamsRequest, $41.ListStreamsResponse>( + $addMethod($grpc.ServiceMethod<$42.ListStreamsRequest, $42.ListStreamsResponse>( 'ListStreams', listStreams_Pre, false, false, - ($core.List<$core.int> value) => $41.ListStreamsRequest.fromBuffer(value), - ($41.ListStreamsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$41.AddStreamRequest, $41.AddStreamResponse>( + ($core.List<$core.int> value) => $42.ListStreamsRequest.fromBuffer(value), + ($42.ListStreamsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$42.AddStreamRequest, $42.AddStreamResponse>( 'AddStream', addStream_Pre, false, false, - ($core.List<$core.int> value) => $41.AddStreamRequest.fromBuffer(value), - ($41.AddStreamResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$41.GetStreamOptionsRequest, $41.GetStreamOptionsResponse>( + ($core.List<$core.int> value) => $42.AddStreamRequest.fromBuffer(value), + ($42.AddStreamResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$42.GetStreamOptionsRequest, $42.GetStreamOptionsResponse>( 'GetStreamOptions', getStreamOptions_Pre, false, false, - ($core.List<$core.int> value) => $41.GetStreamOptionsRequest.fromBuffer(value), - ($41.GetStreamOptionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$41.SetStreamOptionsRequest, $41.SetStreamOptionsResponse>( + ($core.List<$core.int> value) => $42.GetStreamOptionsRequest.fromBuffer(value), + ($42.GetStreamOptionsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$42.SetStreamOptionsRequest, $42.SetStreamOptionsResponse>( 'SetStreamOptions', setStreamOptions_Pre, false, false, - ($core.List<$core.int> value) => $41.SetStreamOptionsRequest.fromBuffer(value), - ($41.SetStreamOptionsResponse value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$41.RemoveStreamRequest, $41.RemoveStreamResponse>( + ($core.List<$core.int> value) => $42.SetStreamOptionsRequest.fromBuffer(value), + ($42.SetStreamOptionsResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$42.RemoveStreamRequest, $42.RemoveStreamResponse>( 'RemoveStream', removeStream_Pre, false, false, - ($core.List<$core.int> value) => $41.RemoveStreamRequest.fromBuffer(value), - ($41.RemoveStreamResponse value) => value.writeToBuffer())); + ($core.List<$core.int> value) => $42.RemoveStreamRequest.fromBuffer(value), + ($42.RemoveStreamResponse value) => value.writeToBuffer())); } - $async.Future<$41.ListStreamsResponse> listStreams_Pre($grpc.ServiceCall call, $async.Future<$41.ListStreamsRequest> request) async { + $async.Future<$42.ListStreamsResponse> listStreams_Pre($grpc.ServiceCall call, $async.Future<$42.ListStreamsRequest> request) async { return listStreams(call, await request); } - $async.Future<$41.AddStreamResponse> addStream_Pre($grpc.ServiceCall call, $async.Future<$41.AddStreamRequest> request) async { + $async.Future<$42.AddStreamResponse> addStream_Pre($grpc.ServiceCall call, $async.Future<$42.AddStreamRequest> request) async { return addStream(call, await request); } - $async.Future<$41.GetStreamOptionsResponse> getStreamOptions_Pre($grpc.ServiceCall call, $async.Future<$41.GetStreamOptionsRequest> request) async { + $async.Future<$42.GetStreamOptionsResponse> getStreamOptions_Pre($grpc.ServiceCall call, $async.Future<$42.GetStreamOptionsRequest> request) async { return getStreamOptions(call, await request); } - $async.Future<$41.SetStreamOptionsResponse> setStreamOptions_Pre($grpc.ServiceCall call, $async.Future<$41.SetStreamOptionsRequest> request) async { + $async.Future<$42.SetStreamOptionsResponse> setStreamOptions_Pre($grpc.ServiceCall call, $async.Future<$42.SetStreamOptionsRequest> request) async { return setStreamOptions(call, await request); } - $async.Future<$41.RemoveStreamResponse> removeStream_Pre($grpc.ServiceCall call, $async.Future<$41.RemoveStreamRequest> request) async { + $async.Future<$42.RemoveStreamResponse> removeStream_Pre($grpc.ServiceCall call, $async.Future<$42.RemoveStreamRequest> request) async { return removeStream(call, await 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.GetStreamOptionsResponse> getStreamOptions($grpc.ServiceCall call, $41.GetStreamOptionsRequest request); - $async.Future<$41.SetStreamOptionsResponse> setStreamOptions($grpc.ServiceCall call, $41.SetStreamOptionsRequest request); - $async.Future<$41.RemoveStreamResponse> removeStream($grpc.ServiceCall call, $41.RemoveStreamRequest request); + $async.Future<$42.ListStreamsResponse> listStreams($grpc.ServiceCall call, $42.ListStreamsRequest request); + $async.Future<$42.AddStreamResponse> addStream($grpc.ServiceCall call, $42.AddStreamRequest request); + $async.Future<$42.GetStreamOptionsResponse> getStreamOptions($grpc.ServiceCall call, $42.GetStreamOptionsRequest request); + $async.Future<$42.SetStreamOptionsResponse> setStreamOptions($grpc.ServiceCall call, $42.SetStreamOptionsRequest request); + $async.Future<$42.RemoveStreamResponse> removeStream($grpc.ServiceCall call, $42.RemoveStreamRequest request); } diff --git a/lib/src/utils.dart b/lib/src/utils.dart index 2e9353eb1b3..8006a09858e 100644 --- a/lib/src/utils.dart +++ b/lib/src/utils.dart @@ -117,7 +117,7 @@ extension GetReadingsResponseUtils on GetReadingsResponse { String getVersionMetadata() { const String sdkVersion = 'v0.1.0'; - const String apiTag = 'v0.1.379'; + const String apiTag = 'v0.1.380'; return 'flutter;$sdkVersion;$apiTag'; }