Skip to content

Automated Protos Update #369

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 88 additions & 0 deletions lib/src/gen/app/v1/app.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11149,6 +11149,7 @@ class ModuleMetadata extends $pb.GeneratedMessage {
$core.Iterable<ModuleVersion>? versions,
$core.String? entrypoint,
$core.String? firstRun,
$core.String? markdownDescription,
}) {
final $result = create();
if (models != null) {
Expand All @@ -11163,6 +11164,9 @@ class ModuleMetadata extends $pb.GeneratedMessage {
if (firstRun != null) {
$result.firstRun = firstRun;
}
if (markdownDescription != null) {
$result.markdownDescription = markdownDescription;
}
return $result;
}
ModuleMetadata._() : super();
Expand All @@ -11174,6 +11178,7 @@ class ModuleMetadata extends $pb.GeneratedMessage {
..pc<ModuleVersion>(2, _omitFieldNames ? '' : 'versions', $pb.PbFieldType.PM, subBuilder: ModuleVersion.create)
..aOS(3, _omitFieldNames ? '' : 'entrypoint')
..aOS(4, _omitFieldNames ? '' : 'firstRun')
..aOS(5, _omitFieldNames ? '' : 'markdownDescription')
..hasRequiredFields = false
;

Expand Down Expand Up @@ -11226,6 +11231,16 @@ class ModuleMetadata extends $pb.GeneratedMessage {
$core.bool hasFirstRun() => $_has(3);
@$pb.TagNumber(4)
void clearFirstRun() => clearField(4);

/// markdown content for the entire module
@$pb.TagNumber(5)
$core.String get markdownDescription => $_getSZ(4);
@$pb.TagNumber(5)
set markdownDescription($core.String v) { $_setString(4, v); }
@$pb.TagNumber(5)
$core.bool hasMarkdownDescription() => $_has(4);
@$pb.TagNumber(5)
void clearMarkdownDescription() => clearField(5);
}

class MLModelMetadata extends $pb.GeneratedMessage {
Expand Down Expand Up @@ -12018,6 +12033,7 @@ class UpdateRegistryItemRequest extends $pb.GeneratedMessage {
UpdateModuleMetadata? updateModuleMetadata,
UpdateMLModelMetadata? updateMlModelMetadata,
UpdateMLTrainingMetadata? updateMlTrainingMetadata,
$core.String? markdownDescription,
}) {
final $result = create();
if (itemId != null) {
Expand All @@ -12044,6 +12060,9 @@ class UpdateRegistryItemRequest extends $pb.GeneratedMessage {
if (updateMlTrainingMetadata != null) {
$result.updateMlTrainingMetadata = updateMlTrainingMetadata;
}
if (markdownDescription != null) {
$result.markdownDescription = markdownDescription;
}
return $result;
}
UpdateRegistryItemRequest._() : super();
Expand All @@ -12066,6 +12085,7 @@ class UpdateRegistryItemRequest extends $pb.GeneratedMessage {
..aOM<UpdateModuleMetadata>(6, _omitFieldNames ? '' : 'updateModuleMetadata', subBuilder: UpdateModuleMetadata.create)
..aOM<UpdateMLModelMetadata>(7, _omitFieldNames ? '' : 'updateMlModelMetadata', subBuilder: UpdateMLModelMetadata.create)
..aOM<UpdateMLTrainingMetadata>(8, _omitFieldNames ? '' : 'updateMlTrainingMetadata', subBuilder: UpdateMLTrainingMetadata.create)
..aOS(9, _omitFieldNames ? '' : 'markdownDescription')
..hasRequiredFields = false
;

Expand Down Expand Up @@ -12170,6 +12190,15 @@ class UpdateRegistryItemRequest extends $pb.GeneratedMessage {
void clearUpdateMlTrainingMetadata() => clearField(8);
@$pb.TagNumber(8)
UpdateMLTrainingMetadata ensureUpdateMlTrainingMetadata() => $_ensure(7);

@$pb.TagNumber(9)
$core.String get markdownDescription => $_getSZ(8);
@$pb.TagNumber(9)
set markdownDescription($core.String v) { $_setString(8, v); }
@$pb.TagNumber(9)
$core.bool hasMarkdownDescription() => $_has(8);
@$pb.TagNumber(9)
void clearMarkdownDescription() => clearField(9);
}

class UpdateRegistryItemResponse extends $pb.GeneratedMessage {
Expand Down Expand Up @@ -12704,6 +12733,7 @@ class UpdateModuleRequest extends $pb.GeneratedMessage {
$core.String? entrypoint,
$core.String? firstRun,
$core.Iterable<App>? apps,
$core.String? markdownDescription,
}) {
final $result = create();
if (moduleId != null) {
Expand All @@ -12730,6 +12760,9 @@ class UpdateModuleRequest extends $pb.GeneratedMessage {
if (apps != null) {
$result.apps.addAll(apps);
}
if (markdownDescription != null) {
$result.markdownDescription = markdownDescription;
}
return $result;
}
UpdateModuleRequest._() : super();
Expand All @@ -12745,6 +12778,7 @@ class UpdateModuleRequest extends $pb.GeneratedMessage {
..aOS(6, _omitFieldNames ? '' : 'entrypoint')
..aOS(7, _omitFieldNames ? '' : 'firstRun')
..pc<App>(8, _omitFieldNames ? '' : 'apps', $pb.PbFieldType.PM, subBuilder: App.create)
..aOS(9, _omitFieldNames ? '' : 'markdownDescription')
..hasRequiredFields = false
;

Expand Down Expand Up @@ -12836,6 +12870,16 @@ class UpdateModuleRequest extends $pb.GeneratedMessage {
/// A list of applications associated with the module
@$pb.TagNumber(8)
$core.List<App> get apps => $_getList(7);

/// longer documentation provided in markdown format
@$pb.TagNumber(9)
$core.String get markdownDescription => $_getSZ(8);
@$pb.TagNumber(9)
set markdownDescription($core.String v) { $_setString(8, v); }
@$pb.TagNumber(9)
$core.bool hasMarkdownDescription() => $_has(8);
@$pb.TagNumber(9)
void clearMarkdownDescription() => clearField(9);
}

class App extends $pb.GeneratedMessage {
Expand Down Expand Up @@ -13636,6 +13680,7 @@ class Module extends $pb.GeneratedMessage {
$core.String? entrypoint,
$core.String? publicNamespace,
$core.String? firstRun,
$core.String? markdownDescription,
}) {
final $result = create();
if (moduleId != null) {
Expand Down Expand Up @@ -13677,6 +13722,9 @@ class Module extends $pb.GeneratedMessage {
if (firstRun != null) {
$result.firstRun = firstRun;
}
if (markdownDescription != null) {
$result.markdownDescription = markdownDescription;
}
return $result;
}
Module._() : super();
Expand All @@ -13697,6 +13745,7 @@ class Module extends $pb.GeneratedMessage {
..aOS(11, _omitFieldNames ? '' : 'entrypoint')
..aOS(12, _omitFieldNames ? '' : 'publicNamespace')
..aOS(13, _omitFieldNames ? '' : 'firstRun')
..aOS(14, _omitFieldNames ? '' : 'markdownDescription')
..hasRequiredFields = false
;

Expand Down Expand Up @@ -13840,6 +13889,16 @@ class Module extends $pb.GeneratedMessage {
$core.bool hasFirstRun() => $_has(12);
@$pb.TagNumber(13)
void clearFirstRun() => clearField(13);

/// Longer documentation provided in markdown format
@$pb.TagNumber(14)
$core.String get markdownDescription => $_getSZ(13);
@$pb.TagNumber(14)
set markdownDescription($core.String v) { $_setString(13, v); }
@$pb.TagNumber(14)
$core.bool hasMarkdownDescription() => $_has(13);
@$pb.TagNumber(14)
void clearMarkdownDescription() => clearField(14);
}

class VersionHistory extends $pb.GeneratedMessage {
Expand All @@ -13849,6 +13908,7 @@ class VersionHistory extends $pb.GeneratedMessage {
$core.Iterable<Model>? models,
$core.String? entrypoint,
$core.String? firstRun,
$core.String? markdownDescription,
}) {
final $result = create();
if (version != null) {
Expand All @@ -13866,6 +13926,9 @@ class VersionHistory extends $pb.GeneratedMessage {
if (firstRun != null) {
$result.firstRun = firstRun;
}
if (markdownDescription != null) {
$result.markdownDescription = markdownDescription;
}
return $result;
}
VersionHistory._() : super();
Expand All @@ -13878,6 +13941,7 @@ class VersionHistory extends $pb.GeneratedMessage {
..pc<Model>(3, _omitFieldNames ? '' : 'models', $pb.PbFieldType.PM, subBuilder: Model.create)
..aOS(4, _omitFieldNames ? '' : 'entrypoint')
..aOS(5, _omitFieldNames ? '' : 'firstRun')
..aOS(6, _omitFieldNames ? '' : 'markdownDescription')
..hasRequiredFields = false
;

Expand Down Expand Up @@ -13939,6 +14003,16 @@ class VersionHistory extends $pb.GeneratedMessage {
$core.bool hasFirstRun() => $_has(4);
@$pb.TagNumber(5)
void clearFirstRun() => clearField(5);

/// The markdown documentation for this version of the module
@$pb.TagNumber(6)
$core.String get markdownDescription => $_getSZ(5);
@$pb.TagNumber(6)
set markdownDescription($core.String v) { $_setString(5, v); }
@$pb.TagNumber(6)
$core.bool hasMarkdownDescription() => $_has(5);
@$pb.TagNumber(6)
void clearMarkdownDescription() => clearField(6);
}

class Uploads extends $pb.GeneratedMessage {
Expand Down Expand Up @@ -14275,6 +14349,7 @@ class OrgDetails extends $pb.GeneratedMessage {
$core.String? orgName,
$core.String? orgCid,
$core.String? publicNamespace,
$core.String? billingTier,
}) {
final $result = create();
if (orgId != null) {
Expand All @@ -14289,6 +14364,9 @@ class OrgDetails extends $pb.GeneratedMessage {
if (publicNamespace != null) {
$result.publicNamespace = publicNamespace;
}
if (billingTier != null) {
$result.billingTier = billingTier;
}
return $result;
}
OrgDetails._() : super();
Expand All @@ -14300,6 +14378,7 @@ class OrgDetails extends $pb.GeneratedMessage {
..aOS(2, _omitFieldNames ? '' : 'orgName')
..aOS(3, _omitFieldNames ? '' : 'orgCid')
..aOS(4, _omitFieldNames ? '' : 'publicNamespace')
..aOS(5, _omitFieldNames ? '' : 'billingTier')
..hasRequiredFields = false
;

Expand Down Expand Up @@ -14359,6 +14438,15 @@ class OrgDetails extends $pb.GeneratedMessage {
$core.bool hasPublicNamespace() => $_has(3);
@$pb.TagNumber(4)
void clearPublicNamespace() => clearField(4);

@$pb.TagNumber(5)
$core.String get billingTier => $_getSZ(4);
@$pb.TagNumber(5)
set billingTier($core.String v) { $_setString(4, v); }
@$pb.TagNumber(5)
$core.bool hasBillingTier() => $_has(4);
@$pb.TagNumber(5)
void clearBillingTier() => clearField(5);
}

class ListOrganizationsByUserResponse extends $pb.GeneratedMessage {
Expand Down
37 changes: 30 additions & 7 deletions lib/src/gen/app/v1/app.pbjson.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2804,9 +2804,11 @@ const ModuleMetadata$json = {
{'1': 'versions', '3': 2, '4': 3, '5': 11, '6': '.viam.app.v1.ModuleVersion', '10': 'versions'},
{'1': 'entrypoint', '3': 3, '4': 1, '5': 9, '10': 'entrypoint'},
{'1': 'first_run', '3': 4, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true},
{'1': 'markdown_description', '3': 5, '4': 1, '5': 9, '9': 1, '10': 'markdownDescription', '17': true},
],
'8': [
{'1': '_first_run'},
{'1': '_markdown_description'},
],
};

Expand All @@ -2815,7 +2817,9 @@ final $typed_data.Uint8List moduleMetadataDescriptor = $convert.base64Decode(
'Cg5Nb2R1bGVNZXRhZGF0YRIqCgZtb2RlbHMYASADKAsyEi52aWFtLmFwcC52MS5Nb2RlbFIGbW'
'9kZWxzEjYKCHZlcnNpb25zGAIgAygLMhoudmlhbS5hcHAudjEuTW9kdWxlVmVyc2lvblIIdmVy'
'c2lvbnMSHgoKZW50cnlwb2ludBgDIAEoCVIKZW50cnlwb2ludBIgCglmaXJzdF9ydW4YBCABKA'
'lIAFIIZmlyc3RSdW6IAQFCDAoKX2ZpcnN0X3J1bg==');
'lIAFIIZmlyc3RSdW6IAQESNgoUbWFya2Rvd25fZGVzY3JpcHRpb24YBSABKAlIAVITbWFya2Rv'
'd25EZXNjcmlwdGlvbogBAUIMCgpfZmlyc3RfcnVuQhcKFV9tYXJrZG93bl9kZXNjcmlwdGlvbg'
'==');

@$core.Deprecated('Use mLModelMetadataDescriptor instead')
const MLModelMetadata$json = {
Expand Down Expand Up @@ -2985,10 +2989,12 @@ const UpdateRegistryItemRequest$json = {
{'1': 'update_module_metadata', '3': 6, '4': 1, '5': 11, '6': '.viam.app.v1.UpdateModuleMetadata', '9': 0, '10': 'updateModuleMetadata'},
{'1': 'update_ml_model_metadata', '3': 7, '4': 1, '5': 11, '6': '.viam.app.v1.UpdateMLModelMetadata', '9': 0, '10': 'updateMlModelMetadata'},
{'1': 'update_ml_training_metadata', '3': 8, '4': 1, '5': 11, '6': '.viam.app.v1.UpdateMLTrainingMetadata', '9': 0, '10': 'updateMlTrainingMetadata'},
{'1': 'markdown_description', '3': 9, '4': 1, '5': 9, '9': 2, '10': 'markdownDescription', '17': true},
],
'8': [
{'1': 'metadata'},
{'1': '_url'},
{'1': '_markdown_description'},
],
};

Expand All @@ -3003,7 +3009,9 @@ final $typed_data.Uint8List updateRegistryItemRequestDescriptor = $convert.base6
'ZXRhZGF0YRgHIAEoCzIiLnZpYW0uYXBwLnYxLlVwZGF0ZU1MTW9kZWxNZXRhZGF0YUgAUhV1cG'
'RhdGVNbE1vZGVsTWV0YWRhdGESZgobdXBkYXRlX21sX3RyYWluaW5nX21ldGFkYXRhGAggASgL'
'MiUudmlhbS5hcHAudjEuVXBkYXRlTUxUcmFpbmluZ01ldGFkYXRhSABSGHVwZGF0ZU1sVHJhaW'
'5pbmdNZXRhZGF0YUIKCghtZXRhZGF0YUIGCgRfdXJs');
'5pbmdNZXRhZGF0YRI2ChRtYXJrZG93bl9kZXNjcmlwdGlvbhgJIAEoCUgCUhNtYXJrZG93bkRl'
'c2NyaXB0aW9uiAEBQgoKCG1ldGFkYXRhQgYKBF91cmxCFwoVX21hcmtkb3duX2Rlc2NyaXB0aW'
'9u');

@$core.Deprecated('Use updateRegistryItemResponseDescriptor instead')
const UpdateRegistryItemResponse$json = {
Expand Down Expand Up @@ -3147,9 +3155,11 @@ const UpdateModuleRequest$json = {
{'1': 'entrypoint', '3': 6, '4': 1, '5': 9, '10': 'entrypoint'},
{'1': 'first_run', '3': 7, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true},
{'1': 'apps', '3': 8, '4': 3, '5': 11, '6': '.viam.app.v1.App', '10': 'apps'},
{'1': 'markdown_description', '3': 9, '4': 1, '5': 9, '9': 1, '10': 'markdownDescription', '17': true},
],
'8': [
{'1': '_first_run'},
{'1': '_markdown_description'},
],
};

Expand All @@ -3160,7 +3170,9 @@ final $typed_data.Uint8List updateModuleRequestDescriptor = $convert.base64Decod
'dXJsGAMgASgJUgN1cmwSIAoLZGVzY3JpcHRpb24YBCABKAlSC2Rlc2NyaXB0aW9uEioKBm1vZG'
'VscxgFIAMoCzISLnZpYW0uYXBwLnYxLk1vZGVsUgZtb2RlbHMSHgoKZW50cnlwb2ludBgGIAEo'
'CVIKZW50cnlwb2ludBIgCglmaXJzdF9ydW4YByABKAlIAFIIZmlyc3RSdW6IAQESJAoEYXBwcx'
'gIIAMoCzIQLnZpYW0uYXBwLnYxLkFwcFIEYXBwc0IMCgpfZmlyc3RfcnVu');
'gIIAMoCzIQLnZpYW0uYXBwLnYxLkFwcFIEYXBwcxI2ChRtYXJrZG93bl9kZXNjcmlwdGlvbhgJ'
'IAEoCUgBUhNtYXJrZG93bkRlc2NyaXB0aW9uiAEBQgwKCl9maXJzdF9ydW5CFwoVX21hcmtkb3'
'duX2Rlc2NyaXB0aW9u');

@$core.Deprecated('Use appDescriptor instead')
const App$json = {
Expand Down Expand Up @@ -3355,9 +3367,11 @@ const Module$json = {
{'1': 'entrypoint', '3': 11, '4': 1, '5': 9, '10': 'entrypoint'},
{'1': 'public_namespace', '3': 12, '4': 1, '5': 9, '10': 'publicNamespace'},
{'1': 'first_run', '3': 13, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true},
{'1': 'markdown_description', '3': 14, '4': 1, '5': 9, '9': 1, '10': 'markdownDescription', '17': true},
],
'8': [
{'1': '_first_run'},
{'1': '_markdown_description'},
],
};

Expand All @@ -3372,7 +3386,9 @@ final $typed_data.Uint8List moduleDescriptor = $convert.base64Decode(
'X3VzYWdlGAkgASgDUhZ0b3RhbE9yZ2FuaXphdGlvblVzYWdlEicKD29yZ2FuaXphdGlvbl9pZB'
'gKIAEoCVIOb3JnYW5pemF0aW9uSWQSHgoKZW50cnlwb2ludBgLIAEoCVIKZW50cnlwb2ludBIp'
'ChBwdWJsaWNfbmFtZXNwYWNlGAwgASgJUg9wdWJsaWNOYW1lc3BhY2USIAoJZmlyc3RfcnVuGA'
'0gASgJSABSCGZpcnN0UnVuiAEBQgwKCl9maXJzdF9ydW4=');
'0gASgJSABSCGZpcnN0UnVuiAEBEjYKFG1hcmtkb3duX2Rlc2NyaXB0aW9uGA4gASgJSAFSE21h'
'cmtkb3duRGVzY3JpcHRpb26IAQFCDAoKX2ZpcnN0X3J1bkIXChVfbWFya2Rvd25fZGVzY3JpcH'
'Rpb24=');

@$core.Deprecated('Use versionHistoryDescriptor instead')
const VersionHistory$json = {
Expand All @@ -3383,9 +3399,11 @@ const VersionHistory$json = {
{'1': 'models', '3': 3, '4': 3, '5': 11, '6': '.viam.app.v1.Model', '10': 'models'},
{'1': 'entrypoint', '3': 4, '4': 1, '5': 9, '10': 'entrypoint'},
{'1': 'first_run', '3': 5, '4': 1, '5': 9, '9': 0, '10': 'firstRun', '17': true},
{'1': 'markdown_description', '3': 6, '4': 1, '5': 9, '9': 1, '10': 'markdownDescription', '17': true},
],
'8': [
{'1': '_first_run'},
{'1': '_markdown_description'},
],
};

Expand All @@ -3394,7 +3412,9 @@ final $typed_data.Uint8List versionHistoryDescriptor = $convert.base64Decode(
'Cg5WZXJzaW9uSGlzdG9yeRIYCgd2ZXJzaW9uGAEgASgJUgd2ZXJzaW9uEioKBWZpbGVzGAIgAy'
'gLMhQudmlhbS5hcHAudjEuVXBsb2Fkc1IFZmlsZXMSKgoGbW9kZWxzGAMgAygLMhIudmlhbS5h'
'cHAudjEuTW9kZWxSBm1vZGVscxIeCgplbnRyeXBvaW50GAQgASgJUgplbnRyeXBvaW50EiAKCW'
'ZpcnN0X3J1bhgFIAEoCUgAUghmaXJzdFJ1bogBAUIMCgpfZmlyc3RfcnVu');
'ZpcnN0X3J1bhgFIAEoCUgAUghmaXJzdFJ1bogBARI2ChRtYXJrZG93bl9kZXNjcmlwdGlvbhgG'
'IAEoCUgBUhNtYXJrZG93bkRlc2NyaXB0aW9uiAEBQgwKCl9maXJzdF9ydW5CFwoVX21hcmtkb3'
'duX2Rlc2NyaXB0aW9u');

@$core.Deprecated('Use uploadsDescriptor instead')
const Uploads$json = {
Expand Down Expand Up @@ -3488,19 +3508,22 @@ const OrgDetails$json = {
{'1': 'org_name', '3': 2, '4': 1, '5': 9, '10': 'orgName'},
{'1': 'org_cid', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'orgCid', '17': true},
{'1': 'public_namespace', '3': 4, '4': 1, '5': 9, '9': 1, '10': 'publicNamespace', '17': true},
{'1': 'billing_tier', '3': 5, '4': 1, '5': 9, '9': 2, '10': 'billingTier', '17': true},
],
'8': [
{'1': '_org_cid'},
{'1': '_public_namespace'},
{'1': '_billing_tier'},
],
};

/// Descriptor for `OrgDetails`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List orgDetailsDescriptor = $convert.base64Decode(
'CgpPcmdEZXRhaWxzEhUKBm9yZ19pZBgBIAEoCVIFb3JnSWQSGQoIb3JnX25hbWUYAiABKAlSB2'
'9yZ05hbWUSHAoHb3JnX2NpZBgDIAEoCUgAUgZvcmdDaWSIAQESLgoQcHVibGljX25hbWVzcGFj'
'ZRgEIAEoCUgBUg9wdWJsaWNOYW1lc3BhY2WIAQFCCgoIX29yZ19jaWRCEwoRX3B1YmxpY19uYW'
'1lc3BhY2U=');
'ZRgEIAEoCUgBUg9wdWJsaWNOYW1lc3BhY2WIAQESJgoMYmlsbGluZ190aWVyGAUgASgJSAJSC2'
'JpbGxpbmdUaWVyiAEBQgoKCF9vcmdfY2lkQhMKEV9wdWJsaWNfbmFtZXNwYWNlQg8KDV9iaWxs'
'aW5nX3RpZXI=');

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