Skip to content

Commit

Permalink
[WORKFLOW] Updating protos from viamrobotics/api, commit: 3f0b40a80d2…
Browse files Browse the repository at this point in the history
…23721fce7e385afe026aeeb6bd4fc (#325)

Co-authored-by: viambot <[email protected]>
  • Loading branch information
github-actions[bot] and viambot authored Jan 9, 2025
1 parent 6aaafed commit 39930f8
Show file tree
Hide file tree
Showing 49 changed files with 1,946 additions and 1,442 deletions.
10 changes: 10 additions & 0 deletions lib/protos/service/discovery.dart
Original file line number Diff line number Diff line change
@@ -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';
24 changes: 12 additions & 12 deletions lib/src/gen/app/agent/v1/agent.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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) {
Expand All @@ -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
;

Expand Down Expand Up @@ -149,23 +149,23 @@ 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 {
factory DeviceSubsystemConfig({
SubsystemUpdateInfo? updateInfo,
$core.bool? disable,
$core.bool? forceRestart,
$43.Struct? attributes,
$44.Struct? attributes,
}) {
final $result = create();
if (updateInfo != null) {
Expand All @@ -190,7 +190,7 @@ class DeviceSubsystemConfig extends $pb.GeneratedMessage {
..aOM<SubsystemUpdateInfo>(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
;

Expand Down Expand Up @@ -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 {
Expand Down
22 changes: 11 additions & 11 deletions lib/src/gen/app/build/v1/build.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -375,8 +375,8 @@ class JobInfo extends $pb.GeneratedMessage {
..aOS(2, _omitFieldNames ? '' : 'platform')
..aOS(3, _omitFieldNames ? '' : 'version')
..e<JobStatus>(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
;

Expand Down Expand Up @@ -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 {
Expand Down
74 changes: 37 additions & 37 deletions lib/src/gen/app/cloudslam/v1/cloud_slam.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -30,7 +30,7 @@ class StartMappingSessionRequest extends $pb.GeneratedMessage {
$core.String? robotId,
CaptureInterval? captureInterval,
$core.Iterable<SensorInfo>? sensors,
$43.Struct? slamConfig,
$44.Struct? slamConfig,
$core.String? existingMapVersion,
Module? module,
}) {
Expand Down Expand Up @@ -83,7 +83,7 @@ class StartMappingSessionRequest extends $pb.GeneratedMessage {
..aOS(6, _omitFieldNames ? '' : 'robotId')
..aOM<CaptureInterval>(7, _omitFieldNames ? '' : 'captureInterval', subBuilder: CaptureInterval.create)
..pc<SensorInfo>(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<Module>(12, _omitFieldNames ? '' : 'module', subBuilder: Module.create)
..hasRequiredFields = false
Expand Down Expand Up @@ -181,15 +181,15 @@ class StartMappingSessionRequest extends $pb.GeneratedMessage {
$core.List<SensorInfo> 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);
Expand Down Expand Up @@ -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) {
Expand All @@ -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
;

Expand All @@ -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 {
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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<EndStatus>(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')
Expand Down Expand Up @@ -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);
Expand Down
Loading

0 comments on commit 39930f8

Please sign in to comment.