Skip to content

Commit a4d226d

Browse files
authored
[WORKFLOW] Updating protos from viamrobotics/api, commit: ecab331278b11082a346632b83ed347c3cdbbcca (#386)
Co-authored-by: viambot <[email protected]>
1 parent a4a317d commit a4d226d

File tree

3 files changed

+26
-2
lines changed

3 files changed

+26
-2
lines changed

lib/src/gen/app/mltraining/v1/ml_training.pb.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -605,6 +605,7 @@ class TrainingJobMetadata extends $pb.GeneratedMessage {
605605
$core.bool? isCustomJob,
606606
$core.String? registryItemId,
607607
$core.String? registryItemVersion,
608+
$core.Map<$core.String, $core.String>? arguments,
608609
}) {
609610
final $result = create();
610611
if (status != null) {
@@ -661,6 +662,9 @@ class TrainingJobMetadata extends $pb.GeneratedMessage {
661662
if (registryItemVersion != null) {
662663
$result.registryItemVersion = registryItemVersion;
663664
}
665+
if (arguments != null) {
666+
$result.arguments.addAll(arguments);
667+
}
664668
return $result;
665669
}
666670
TrainingJobMetadata._() : super();
@@ -686,6 +690,7 @@ class TrainingJobMetadata extends $pb.GeneratedMessage {
686690
..aOB(18, _omitFieldNames ? '' : 'isCustomJob')
687691
..aOS(19, _omitFieldNames ? '' : 'registryItemId')
688692
..aOS(20, _omitFieldNames ? '' : 'registryItemVersion')
693+
..m<$core.String, $core.String>(21, _omitFieldNames ? '' : 'arguments', entryClassName: 'TrainingJobMetadata.ArgumentsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('viam.app.mltraining.v1'))
689694
..hasRequiredFields = false
690695
;
691696

@@ -875,6 +880,9 @@ class TrainingJobMetadata extends $pb.GeneratedMessage {
875880
$core.bool hasRegistryItemVersion() => $_has(17);
876881
@$pb.TagNumber(20)
877882
void clearRegistryItemVersion() => clearField(20);
883+
884+
@$pb.TagNumber(21)
885+
$core.Map<$core.String, $core.String> get arguments => $_getMap(18);
878886
}
879887

880888
class CancelTrainingJobRequest extends $pb.GeneratedMessage {

lib/src/gen/app/mltraining/v1/ml_training.pbjson.dart

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,14 +244,26 @@ const TrainingJobMetadata$json = {
244244
{'1': 'training_ended', '3': 10, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'trainingEnded'},
245245
{'1': 'synced_model_id', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'syncedModelId'},
246246
{'1': 'tags', '3': 16, '4': 3, '5': 9, '8': {}, '10': 'tags'},
247+
{'1': 'arguments', '3': 21, '4': 3, '5': 11, '6': '.viam.app.mltraining.v1.TrainingJobMetadata.ArgumentsEntry', '8': {}, '10': 'arguments'},
247248
],
249+
'3': [TrainingJobMetadata_ArgumentsEntry$json],
248250
'9': [
249251
{'1': 1, '2': 2},
250252
{'1': 6, '2': 7},
251253
],
252254
'10': ['request', 'user_email'],
253255
};
254256

257+
@$core.Deprecated('Use trainingJobMetadataDescriptor instead')
258+
const TrainingJobMetadata_ArgumentsEntry$json = {
259+
'1': 'ArgumentsEntry',
260+
'2': [
261+
{'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'},
262+
{'1': 'value', '3': 2, '4': 1, '5': 9, '10': 'value'},
263+
],
264+
'7': {'7': true},
265+
};
266+
255267
/// Descriptor for `TrainingJobMetadata`. Decode as a `google.protobuf.DescriptorProto`.
256268
final $typed_data.Uint8List trainingJobMetadataDescriptor = $convert.base64Decode(
257269
'ChNUcmFpbmluZ0pvYk1ldGFkYXRhEjMKAmlkGAcgASgJQiOahJ4DHmJzb246Il9pZCIganNvbj'
@@ -285,7 +297,11 @@ final $typed_data.Uint8List trainingJobMetadataDescriptor = $convert.base64Decod
285297
'IGpzb246InRyYWluaW5nX2VuZGVkIlINdHJhaW5pbmdFbmRlZBJaCg9zeW5jZWRfbW9kZWxfaW'
286298
'QYBSABKAlCMpqEngMtYnNvbjoic3luY2VkX21vZGVsX2lkIiBqc29uOiJzeW5jZWRfbW9kZWxf'
287299
'aWQiUg1zeW5jZWRNb2RlbElkEjAKBHRhZ3MYECADKAlCHJqEngMXYnNvbjoidGFncyIganNvbj'
288-
'oidGFncyJSBHRhZ3NKBAgBEAJKBAgGEAdSB3JlcXVlc3RSCnVzZXJfZW1haWw=');
300+
'oidGFncyJSBHRhZ3MSgAEKCWFyZ3VtZW50cxgVIAMoCzI6LnZpYW0uYXBwLm1sdHJhaW5pbmcu'
301+
'djEuVHJhaW5pbmdKb2JNZXRhZGF0YS5Bcmd1bWVudHNFbnRyeUImmoSeAyFic29uOiJhcmd1bW'
302+
'VudHMiIGpzb246ImFyZ3VtZW50cyJSCWFyZ3VtZW50cxo8Cg5Bcmd1bWVudHNFbnRyeRIQCgNr'
303+
'ZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEoCVIFdmFsdWU6AjgBSgQIARACSgQIBhAHUgdyZX'
304+
'F1ZXN0Ugp1c2VyX2VtYWls');
289305

290306
@$core.Deprecated('Use cancelTrainingJobRequestDescriptor instead')
291307
const CancelTrainingJobRequest$json = {

lib/src/utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ extension GetReadingsResponseUtils on GetReadingsResponse {
117117

118118
String getVersionMetadata() {
119119
const String sdkVersion = 'v0.6.0';
120-
const String apiTag = 'v0.1.436';
120+
const String apiTag = 'v0.1.437';
121121

122122
return 'flutter;$sdkVersion;$apiTag';
123123
}

0 commit comments

Comments
 (0)