feat: FlowSummary.sample — regenerated stubs
Some checks failed
Security / Security check (push) Failing after 2s
Some checks failed
Security / Security check (push) Failing after 2s
The hub marks bundled sample flows on the wire (field 6, additive); old hubs decode to false so clients never chip on guesswork. Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
70f04af438
commit
5759ce4c7a
3 changed files with 24 additions and 1 deletions
|
|
@ -6,6 +6,11 @@ for the authoritative per-release detail.
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
- Regenerated stubs: `FlowSummary.sample` (wire field 6) — true when
|
||||||
|
a saved flow still carries the bundled-sample header. Old hubs
|
||||||
|
without the field decode to false, so clients can mark and group
|
||||||
|
examples honestly.
|
||||||
|
|
||||||
- `declareService()` — persist a host service into the operator
|
- `declareService()` — persist a host service into the operator
|
||||||
config via the new DeclareService RPC (returns restartRequired).
|
config via the new DeclareService RPC (returns restartRequired).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2661,6 +2661,7 @@ class FlowSummary extends $pb.GeneratedMessage {
|
||||||
$fixnum.Int64? sizeBytes,
|
$fixnum.Int64? sizeBytes,
|
||||||
$core.Iterable<$core.String>? requiredCapabilities,
|
$core.Iterable<$core.String>? requiredCapabilities,
|
||||||
$core.String? project,
|
$core.String? project,
|
||||||
|
$core.bool? sample,
|
||||||
}) {
|
}) {
|
||||||
final result = create();
|
final result = create();
|
||||||
if (name != null) result.name = name;
|
if (name != null) result.name = name;
|
||||||
|
|
@ -2669,6 +2670,7 @@ class FlowSummary extends $pb.GeneratedMessage {
|
||||||
if (requiredCapabilities != null)
|
if (requiredCapabilities != null)
|
||||||
result.requiredCapabilities.addAll(requiredCapabilities);
|
result.requiredCapabilities.addAll(requiredCapabilities);
|
||||||
if (project != null) result.project = project;
|
if (project != null) result.project = project;
|
||||||
|
if (sample != null) result.sample = sample;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2690,6 +2692,7 @@ class FlowSummary extends $pb.GeneratedMessage {
|
||||||
..aInt64(3, _omitFieldNames ? '' : 'sizeBytes')
|
..aInt64(3, _omitFieldNames ? '' : 'sizeBytes')
|
||||||
..pPS(4, _omitFieldNames ? '' : 'requiredCapabilities')
|
..pPS(4, _omitFieldNames ? '' : 'requiredCapabilities')
|
||||||
..aOS(5, _omitFieldNames ? '' : 'project')
|
..aOS(5, _omitFieldNames ? '' : 'project')
|
||||||
|
..aOB(6, _omitFieldNames ? '' : 'sample')
|
||||||
..hasRequiredFields = false;
|
..hasRequiredFields = false;
|
||||||
|
|
||||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||||
|
|
@ -2759,6 +2762,19 @@ class FlowSummary extends $pb.GeneratedMessage {
|
||||||
$core.bool hasProject() => $_has(4);
|
$core.bool hasProject() => $_has(4);
|
||||||
@$pb.TagNumber(5)
|
@$pb.TagNumber(5)
|
||||||
void clearProject() => $_clearField(5);
|
void clearProject() => $_clearField(5);
|
||||||
|
|
||||||
|
/// True when the file still carries the bundled-sample header —
|
||||||
|
/// it arrived via the hub's sample import, not from an operator.
|
||||||
|
/// Clients mark and group these so examples are never mistaken
|
||||||
|
/// for real work. Deleting the header claims the flow.
|
||||||
|
@$pb.TagNumber(6)
|
||||||
|
$core.bool get sample => $_getBF(5);
|
||||||
|
@$pb.TagNumber(6)
|
||||||
|
set sample($core.bool value) => $_setBool(5, value);
|
||||||
|
@$pb.TagNumber(6)
|
||||||
|
$core.bool hasSample() => $_has(5);
|
||||||
|
@$pb.TagNumber(6)
|
||||||
|
void clearSample() => $_clearField(6);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// One registered project (shared-hub registry row). Sealed
|
/// One registered project (shared-hub registry row). Sealed
|
||||||
|
|
|
||||||
|
|
@ -784,6 +784,7 @@ const FlowSummary$json = {
|
||||||
'10': 'requiredCapabilities'
|
'10': 'requiredCapabilities'
|
||||||
},
|
},
|
||||||
{'1': 'project', '3': 5, '4': 1, '5': 9, '10': 'project'},
|
{'1': 'project', '3': 5, '4': 1, '5': 9, '10': 'project'},
|
||||||
|
{'1': 'sample', '3': 6, '4': 1, '5': 8, '10': 'sample'},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -791,7 +792,8 @@ const FlowSummary$json = {
|
||||||
final $typed_data.Uint8List flowSummaryDescriptor = $convert.base64Decode(
|
final $typed_data.Uint8List flowSummaryDescriptor = $convert.base64Decode(
|
||||||
'CgtGbG93U3VtbWFyeRISCgRuYW1lGAEgASgJUgRuYW1lEhIKBHBhdGgYAiABKAlSBHBhdGgSHQ'
|
'CgtGbG93U3VtbWFyeRISCgRuYW1lGAEgASgJUgRuYW1lEhIKBHBhdGgYAiABKAlSBHBhdGgSHQ'
|
||||||
'oKc2l6ZV9ieXRlcxgDIAEoA1IJc2l6ZUJ5dGVzEjMKFXJlcXVpcmVkX2NhcGFiaWxpdGllcxgE'
|
'oKc2l6ZV9ieXRlcxgDIAEoA1IJc2l6ZUJ5dGVzEjMKFXJlcXVpcmVkX2NhcGFiaWxpdGllcxgE'
|
||||||
'IAMoCVIUcmVxdWlyZWRDYXBhYmlsaXRpZXMSGAoHcHJvamVjdBgFIAEoCVIHcHJvamVjdA==');
|
'IAMoCVIUcmVxdWlyZWRDYXBhYmlsaXRpZXMSGAoHcHJvamVjdBgFIAEoCVIHcHJvamVjdBIWCg'
|
||||||
|
'ZzYW1wbGUYBiABKAhSBnNhbXBsZQ==');
|
||||||
|
|
||||||
@$core.Deprecated('Use projectInfoDescriptor instead')
|
@$core.Deprecated('Use projectInfoDescriptor instead')
|
||||||
const ProjectInfo$json = {
|
const ProjectInfo$json = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue