Skip to content

Commit

Permalink
[WORKFLOW] Updating protos from viamrobotics/api, commit: 01a87a04f77…
Browse files Browse the repository at this point in the history
…aa0a151a0572618cc27315e639b4b (#216)

Co-authored-by: viambot <[email protected]>
  • Loading branch information
github-actions[bot] and viambot authored May 17, 2024
1 parent 87f2e5b commit 62ce012
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 22 deletions.
28 changes: 28 additions & 0 deletions lib/src/gen/app/mltraining/v1/ml_training.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ class SubmitCustomTrainingJobRequest extends $pb.GeneratedMessage {
$core.String? organizationId,
$core.String? modelName,
$core.String? modelVersion,
$core.String? registryItemVersion,
}) {
final $result = create();
if (datasetId != null) {
Expand All @@ -207,6 +208,9 @@ class SubmitCustomTrainingJobRequest extends $pb.GeneratedMessage {
if (modelVersion != null) {
$result.modelVersion = modelVersion;
}
if (registryItemVersion != null) {
$result.registryItemVersion = registryItemVersion;
}
return $result;
}
SubmitCustomTrainingJobRequest._() : super();
Expand All @@ -219,6 +223,7 @@ class SubmitCustomTrainingJobRequest extends $pb.GeneratedMessage {
..aOS(3, _omitFieldNames ? '' : 'organizationId')
..aOS(4, _omitFieldNames ? '' : 'modelName')
..aOS(5, _omitFieldNames ? '' : 'modelVersion')
..aOS(6, _omitFieldNames ? '' : 'registryItemVersion')
..hasRequiredFields = false
;

Expand Down Expand Up @@ -287,6 +292,15 @@ class SubmitCustomTrainingJobRequest extends $pb.GeneratedMessage {
$core.bool hasModelVersion() => $_has(4);
@$pb.TagNumber(5)
void clearModelVersion() => clearField(5);

@$pb.TagNumber(6)
$core.String get registryItemVersion => $_getSZ(5);
@$pb.TagNumber(6)
set registryItemVersion($core.String v) { $_setString(5, v); }
@$pb.TagNumber(6)
$core.bool hasRegistryItemVersion() => $_has(5);
@$pb.TagNumber(6)
void clearRegistryItemVersion() => clearField(6);
}

class SubmitCustomTrainingJobResponse extends $pb.GeneratedMessage {
Expand Down Expand Up @@ -569,6 +583,7 @@ class TrainingJobMetadata extends $pb.GeneratedMessage {
ModelFramework? modelFramework,
$core.bool? isCustomJob,
$core.String? registryItemId,
$core.String? registryItemVersion,
}) {
final $result = create();
if (request != null) {
Expand Down Expand Up @@ -625,6 +640,9 @@ class TrainingJobMetadata extends $pb.GeneratedMessage {
if (registryItemId != null) {
$result.registryItemId = registryItemId;
}
if (registryItemVersion != null) {
$result.registryItemVersion = registryItemVersion;
}
return $result;
}
TrainingJobMetadata._() : super();
Expand All @@ -650,6 +668,7 @@ class TrainingJobMetadata extends $pb.GeneratedMessage {
..e<ModelFramework>(17, _omitFieldNames ? '' : 'modelFramework', $pb.PbFieldType.OE, defaultOrMaker: ModelFramework.MODEL_FRAMEWORK_UNSPECIFIED, valueOf: ModelFramework.valueOf, enumValues: ModelFramework.values)
..aOB(18, _omitFieldNames ? '' : 'isCustomJob')
..aOS(19, _omitFieldNames ? '' : 'registryItemId')
..aOS(20, _omitFieldNames ? '' : 'registryItemVersion')
..hasRequiredFields = false
;

Expand Down Expand Up @@ -841,6 +860,15 @@ class TrainingJobMetadata extends $pb.GeneratedMessage {
$core.bool hasRegistryItemId() => $_has(17);
@$pb.TagNumber(19)
void clearRegistryItemId() => clearField(19);

@$pb.TagNumber(20)
$core.String get registryItemVersion => $_getSZ(18);
@$pb.TagNumber(20)
set registryItemVersion($core.String v) { $_setString(18, v); }
@$pb.TagNumber(20)
$core.bool hasRegistryItemVersion() => $_has(18);
@$pb.TagNumber(20)
void clearRegistryItemVersion() => clearField(20);
}

class CancelTrainingJobRequest extends $pb.GeneratedMessage {
Expand Down
50 changes: 28 additions & 22 deletions lib/src/gen/app/mltraining/v1/ml_training.pbjson.dart
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ const SubmitCustomTrainingJobRequest$json = {
'2': [
{'1': 'dataset_id', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'datasetId'},
{'1': 'registry_item_id', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'registryItemId'},
{'1': 'registry_item_version', '3': 6, '4': 1, '5': 9, '8': {}, '10': 'registryItemVersion'},
{'1': 'organization_id', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'organizationId'},
{'1': 'model_name', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'modelName'},
{'1': 'model_version', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'modelVersion'},
Expand All @@ -129,12 +130,14 @@ final $typed_data.Uint8List submitCustomTrainingJobRequestDescriptor = $convert.
'Ch5TdWJtaXRDdXN0b21UcmFpbmluZ0pvYlJlcXVlc3QSRwoKZGF0YXNldF9pZBgBIAEoCUIomo'
'SeAyNic29uOiJkYXRhc2V0X2lkIiBqc29uOiJkYXRhc2V0X2lkIlIJZGF0YXNldElkEl4KEHJl'
'Z2lzdHJ5X2l0ZW1faWQYAiABKAlCNJqEngMvYnNvbjoicmVnaXN0cnlfaXRlbV9pZCIganNvbj'
'oicmVnaXN0cnlfaXRlbV9pZCJSDnJlZ2lzdHJ5SXRlbUlkElsKD29yZ2FuaXphdGlvbl9pZBgD'
'IAEoCUIymoSeAy1ic29uOiJvcmdhbml6YXRpb25faWQiIGpzb246Im9yZ2FuaXphdGlvbl9pZC'
'JSDm9yZ2FuaXphdGlvbklkEkcKCm1vZGVsX25hbWUYBCABKAlCKJqEngMjYnNvbjoibW9kZWxf'
'bmFtZSIganNvbjoibW9kZWxfbmFtZSJSCW1vZGVsTmFtZRJTCg1tb2RlbF92ZXJzaW9uGAUgAS'
'gJQi6ahJ4DKWJzb246Im1vZGVsX3ZlcnNpb24iIGpzb246Im1vZGVsX3ZlcnNpb24iUgxtb2Rl'
'bFZlcnNpb24=');
'oicmVnaXN0cnlfaXRlbV9pZCJSDnJlZ2lzdHJ5SXRlbUlkEnIKFXJlZ2lzdHJ5X2l0ZW1fdmVy'
'c2lvbhgGIAEoCUI+moSeAzlic29uOiJyZWdpc3RyeV9pdGVtX3ZlcnNpb24iIGpzb246InJlZ2'
'lzdHJ5X2l0ZW1fdmVyc2lvbiJSE3JlZ2lzdHJ5SXRlbVZlcnNpb24SWwoPb3JnYW5pemF0aW9u'
'X2lkGAMgASgJQjKahJ4DLWJzb246Im9yZ2FuaXphdGlvbl9pZCIganNvbjoib3JnYW5pemF0aW'
'9uX2lkIlIOb3JnYW5pemF0aW9uSWQSRwoKbW9kZWxfbmFtZRgEIAEoCUIomoSeAyNic29uOiJt'
'b2RlbF9uYW1lIiBqc29uOiJtb2RlbF9uYW1lIlIJbW9kZWxOYW1lElMKDW1vZGVsX3ZlcnNpb2'
'4YBSABKAlCLpqEngMpYnNvbjoibW9kZWxfdmVyc2lvbiIganNvbjoibW9kZWxfdmVyc2lvbiJS'
'DG1vZGVsVmVyc2lvbg==');

@$core.Deprecated('Use submitCustomTrainingJobResponseDescriptor instead')
const SubmitCustomTrainingJobResponse$json = {
Expand Down Expand Up @@ -215,6 +218,7 @@ const TrainingJobMetadata$json = {
{'1': 'model_framework', '3': 17, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.ModelFramework', '8': {}, '10': 'modelFramework'},
{'1': 'is_custom_job', '3': 18, '4': 1, '5': 8, '8': {}, '10': 'isCustomJob'},
{'1': 'registry_item_id', '3': 19, '4': 1, '5': 9, '8': {}, '10': 'registryItemId'},
{'1': 'registry_item_version', '3': 20, '4': 1, '5': 9, '8': {}, '10': 'registryItemVersion'},
{'1': 'status', '3': 2, '4': 1, '5': 14, '6': '.viam.app.mltraining.v1.TrainingStatus', '8': {}, '10': 'status'},
{'1': 'error_status', '3': 8, '4': 1, '5': 11, '6': '.google.rpc.Status', '8': {}, '10': 'errorStatus'},
{'1': 'created_on', '3': 3, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '8': {}, '10': 'createdOn'},
Expand Down Expand Up @@ -248,22 +252,24 @@ final $typed_data.Uint8List trainingJobMetadataDescriptor = $convert.base64Decod
'9kZWxfZnJhbWV3b3JrIlIObW9kZWxGcmFtZXdvcmsSUgoNaXNfY3VzdG9tX2pvYhg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nsKEHRyYWluaW5nX3N0YXJ0ZWQYCSABKAsyGi5nb29nbGUucH'
'JvdG9idWYuVGltZXN0YW1wQjSahJ4DL2Jzb246InRyYWluaW5nX3N0YXJ0ZWQiIGpzb246InRy'
'YWluaW5nX3N0YXJ0ZWQiUg90cmFpbmluZ1N0YXJ0ZWQScwoOdHJhaW5pbmdfZW5kZWQYCiABKA'
'syGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wQjCahJ4DK2Jzb246InRyYWluaW5nX2VuZGVk'
'IiBqc29uOiJ0cmFpbmluZ19lbmRlZCJSDXRyYWluaW5nRW5kZWQSWgoPc3luY2VkX21vZGVsX2'
'lkGAUgASgJQjKahJ4DLWJzb246InN5bmNlZF9tb2RlbF9pZCIganNvbjoic3luY2VkX21vZGVs'
'X2lkIlINc3luY2VkTW9kZWxJZBIwCgR0YWdzGBAgAygJQhyahJ4DF2Jzb246InRhZ3MiIGpzb2'
'46InRhZ3MiUgR0YWdzSgQIBhAHUgp1c2VyX2VtYWls');

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

0 comments on commit 62ce012

Please sign in to comment.