Skip to content

Commit

Permalink
[WORKFLOW] Updating protos from viamrobotics/api, commit: 1e659fe06f7…
Browse files Browse the repository at this point in the history
…5aaac39a3fe36c4a40443466bae8d (#272)

Co-authored-by: viambot <[email protected]>
  • Loading branch information
github-actions[bot] and viambot authored Oct 8, 2024
1 parent 173369f commit c825d2c
Show file tree
Hide file tree
Showing 81 changed files with 4,502 additions and 4,095 deletions.
10 changes: 10 additions & 0 deletions lib/protos/app/ml_inference.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/// The proto definitions for ml_inference
/// {@category Protobuf Definitions}
library viam_protos.app.ml_inference;

// THIS FILE IS AUTOMATICALLY GENERATED
// DO NOT OVERWRITE
export '../../../src/gen/app/mlinference/v1/ml_inference.pb.dart';
export '../../../src/gen/app/mlinference/v1/ml_inference.pbenum.dart';
export '../../../src/gen/app/mlinference/v1/ml_inference.pbgrpc.dart';
export '../../../src/gen/app/mlinference/v1/ml_inference.pbjson.dart';
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 $41;
import '../../../google/protobuf/struct.pb.dart' as $42;
import '../../../google/protobuf/duration.pb.dart' as $42;
import '../../../google/protobuf/struct.pb.dart' as $43;
import 'agent.pbenum.dart';

export 'agent.pbenum.dart';
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,
$41.Duration? checkInterval,
$42.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<$41.Duration>(2, _omitFieldNames ? '' : 'checkInterval', subBuilder: $41.Duration.create)
..aOM<$42.Duration>(2, _omitFieldNames ? '' : 'checkInterval', subBuilder: $42.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)
$41.Duration get checkInterval => $_getN(1);
$42.Duration get checkInterval => $_getN(1);
@$pb.TagNumber(2)
set checkInterval($41.Duration v) { setField(2, v); }
set checkInterval($42.Duration v) { setField(2, v); }
@$pb.TagNumber(2)
$core.bool hasCheckInterval() => $_has(1);
@$pb.TagNumber(2)
void clearCheckInterval() => clearField(2);
@$pb.TagNumber(2)
$41.Duration ensureCheckInterval() => $_ensure(1);
$42.Duration ensureCheckInterval() => $_ensure(1);
}

class DeviceSubsystemConfig extends $pb.GeneratedMessage {
factory DeviceSubsystemConfig({
SubsystemUpdateInfo? updateInfo,
$core.bool? disable,
$core.bool? forceRestart,
$42.Struct? attributes,
$43.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<$42.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $42.Struct.create)
..aOM<$43.Struct>(4, _omitFieldNames ? '' : 'attributes', subBuilder: $43.Struct.create)
..hasRequiredFields = false
;

Expand Down Expand Up @@ -249,15 +249,15 @@ class DeviceSubsystemConfig extends $pb.GeneratedMessage {

/// arbitrary config sections
@$pb.TagNumber(4)
$42.Struct get attributes => $_getN(3);
$43.Struct get attributes => $_getN(3);
@$pb.TagNumber(4)
set attributes($42.Struct v) { setField(4, v); }
set attributes($43.Struct v) { setField(4, v); }
@$pb.TagNumber(4)
$core.bool hasAttributes() => $_has(3);
@$pb.TagNumber(4)
void clearAttributes() => clearField(4);
@$pb.TagNumber(4)
$42.Struct ensureAttributes() => $_ensure(3);
$43.Struct ensureAttributes() => $_ensure(3);
}

class HostInfo extends $pb.GeneratedMessage {
Expand Down
37 changes: 26 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 $43;
import '../../../google/protobuf/timestamp.pb.dart' as $44;
import 'build.pbenum.dart';

export 'build.pbenum.dart';
Expand All @@ -25,6 +25,7 @@ class StartBuildRequest extends $pb.GeneratedMessage {
$core.Iterable<$core.String>? platforms,
$core.String? moduleId,
$core.String? moduleVersion,
$core.String? token,
}) {
final $result = create();
if (repo != null) {
Expand All @@ -42,6 +43,9 @@ class StartBuildRequest extends $pb.GeneratedMessage {
if (moduleVersion != null) {
$result.moduleVersion = moduleVersion;
}
if (token != null) {
$result.token = token;
}
return $result;
}
StartBuildRequest._() : super();
Expand All @@ -54,6 +58,7 @@ class StartBuildRequest extends $pb.GeneratedMessage {
..pPS(3, _omitFieldNames ? '' : 'platforms')
..aOS(4, _omitFieldNames ? '' : 'moduleId')
..aOS(5, _omitFieldNames ? '' : 'moduleVersion')
..aOS(6, _omitFieldNames ? '' : 'token')
..hasRequiredFields = false
;

Expand Down Expand Up @@ -122,6 +127,16 @@ class StartBuildRequest extends $pb.GeneratedMessage {
$core.bool hasModuleVersion() => $_has(4);
@$pb.TagNumber(5)
void clearModuleVersion() => clearField(5);

/// checkout token. provide this for private repos
@$pb.TagNumber(6)
$core.String get token => $_getSZ(5);
@$pb.TagNumber(6)
set token($core.String v) { $_setString(5, v); }
@$pb.TagNumber(6)
$core.bool hasToken() => $_has(5);
@$pb.TagNumber(6)
void clearToken() => clearField(6);
}

class StartBuildResponse extends $pb.GeneratedMessage {
Expand Down Expand Up @@ -312,8 +327,8 @@ class JobInfo extends $pb.GeneratedMessage {
$core.String? platform,
$core.String? version,
JobStatus? status,
$43.Timestamp? startTime,
$43.Timestamp? endTime,
$44.Timestamp? startTime,
$44.Timestamp? endTime,
}) {
final $result = create();
if (buildId != null) {
Expand Down Expand Up @@ -345,8 +360,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<$43.Timestamp>(5, _omitFieldNames ? '' : 'startTime', subBuilder: $43.Timestamp.create)
..aOM<$43.Timestamp>(6, _omitFieldNames ? '' : 'endTime', subBuilder: $43.Timestamp.create)
..aOM<$44.Timestamp>(5, _omitFieldNames ? '' : 'startTime', subBuilder: $44.Timestamp.create)
..aOM<$44.Timestamp>(6, _omitFieldNames ? '' : 'endTime', subBuilder: $44.Timestamp.create)
..hasRequiredFields = false
;

Expand Down Expand Up @@ -408,26 +423,26 @@ class JobInfo extends $pb.GeneratedMessage {
void clearStatus() => clearField(4);

@$pb.TagNumber(5)
$43.Timestamp get startTime => $_getN(4);
$44.Timestamp get startTime => $_getN(4);
@$pb.TagNumber(5)
set startTime($43.Timestamp v) { setField(5, v); }
set startTime($44.Timestamp v) { setField(5, v); }
@$pb.TagNumber(5)
$core.bool hasStartTime() => $_has(4);
@$pb.TagNumber(5)
void clearStartTime() => clearField(5);
@$pb.TagNumber(5)
$43.Timestamp ensureStartTime() => $_ensure(4);
$44.Timestamp ensureStartTime() => $_ensure(4);

@$pb.TagNumber(6)
$43.Timestamp get endTime => $_getN(5);
$44.Timestamp get endTime => $_getN(5);
@$pb.TagNumber(6)
set endTime($43.Timestamp v) { setField(6, v); }
set endTime($44.Timestamp v) { setField(6, v); }
@$pb.TagNumber(6)
$core.bool hasEndTime() => $_has(5);
@$pb.TagNumber(6)
void clearEndTime() => clearField(6);
@$pb.TagNumber(6)
$43.Timestamp ensureEndTime() => $_ensure(5);
$44.Timestamp ensureEndTime() => $_ensure(5);
}

class ListJobsRequest extends $pb.GeneratedMessage {
Expand Down
6 changes: 4 additions & 2 deletions lib/src/gen/app/build/v1/build.pbjson.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,20 @@ const StartBuildRequest$json = {
{'1': 'platforms', '3': 3, '4': 3, '5': 9, '10': 'platforms'},
{'1': 'module_id', '3': 4, '4': 1, '5': 9, '10': 'moduleId'},
{'1': 'module_version', '3': 5, '4': 1, '5': 9, '10': 'moduleVersion'},
{'1': 'token', '3': 6, '4': 1, '5': 9, '9': 1, '10': 'token', '17': true},
],
'8': [
{'1': '_ref'},
{'1': '_token'},
],
};

/// Descriptor for `StartBuildRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List startBuildRequestDescriptor = $convert.base64Decode(
'ChFTdGFydEJ1aWxkUmVxdWVzdBISCgRyZXBvGAEgASgJUgRyZXBvEhUKA3JlZhgCIAEoCUgAUg'
'NyZWaIAQESHAoJcGxhdGZvcm1zGAMgAygJUglwbGF0Zm9ybXMSGwoJbW9kdWxlX2lkGAQgASgJ'
'Ughtb2R1bGVJZBIlCg5tb2R1bGVfdmVyc2lvbhgFIAEoCVINbW9kdWxlVmVyc2lvbkIGCgRfcm'
'Vm');
'Ughtb2R1bGVJZBIlCg5tb2R1bGVfdmVyc2lvbhgFIAEoCVINbW9kdWxlVmVyc2lvbhIZCgV0b2'
'tlbhgGIAEoCUgBUgV0b2tlbogBAUIGCgRfcmVmQggKBl90b2tlbg==');

@$core.Deprecated('Use startBuildResponseDescriptor instead')
const StartBuildResponse$json = {
Expand Down
Loading

0 comments on commit c825d2c

Please sign in to comment.