feat: InvocationList.detachedEnabled — detached feature flag on the list RPC
Some checks are pending
Security / Security check (push) Waiting to run
Some checks are pending
Security / Security check (push) Waiting to run
Regenerated stubs for the additive proto field; lets the runs monitor distinguish 'feature off' from 'on, but no runs yet'. Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
9849bd7731
commit
ca9d8f2879
3 changed files with 23 additions and 1 deletions
|
|
@ -952,9 +952,11 @@ class InvocationEntry extends $pb.GeneratedMessage {
|
|||
class InvocationList extends $pb.GeneratedMessage {
|
||||
factory InvocationList({
|
||||
$core.Iterable<InvocationEntry>? invocations,
|
||||
$core.bool? detachedEnabled,
|
||||
}) {
|
||||
final result = create();
|
||||
if (invocations != null) result.invocations.addAll(invocations);
|
||||
if (detachedEnabled != null) result.detachedEnabled = detachedEnabled;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
@ -973,6 +975,7 @@ class InvocationList extends $pb.GeneratedMessage {
|
|||
createEmptyInstance: create)
|
||||
..pPM<InvocationEntry>(1, _omitFieldNames ? '' : 'invocations',
|
||||
subBuilder: InvocationEntry.create)
|
||||
..aOB(2, _omitFieldNames ? '' : 'detachedEnabled')
|
||||
..hasRequiredFields = false;
|
||||
|
||||
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
|
||||
|
|
@ -997,6 +1000,19 @@ class InvocationList extends $pb.GeneratedMessage {
|
|||
/// Tracked detached invocations, newest-first by start time.
|
||||
@$pb.TagNumber(1)
|
||||
$pb.PbList<InvocationEntry> get invocations => $_getList(0);
|
||||
|
||||
/// Whether the operator enabled detached invocations
|
||||
/// (`detached.enabled`). Lets monitor UIs distinguish "feature
|
||||
/// off" from "on, but no runs yet" instead of guessing (added
|
||||
/// additively; absent = false on pre-1.1 hubs).
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool get detachedEnabled => $_getBF(1);
|
||||
@$pb.TagNumber(2)
|
||||
set detachedEnabled($core.bool value) => $_setBool(1, value);
|
||||
@$pb.TagNumber(2)
|
||||
$core.bool hasDetachedEnabled() => $_has(1);
|
||||
@$pb.TagNumber(2)
|
||||
void clearDetachedEnabled() => $_clearField(2);
|
||||
}
|
||||
|
||||
class ModuleList extends $pb.GeneratedMessage {
|
||||
|
|
|
|||
|
|
@ -339,13 +339,15 @@ const InvocationList$json = {
|
|||
'6': '.chain.v1.InvocationEntry',
|
||||
'10': 'invocations'
|
||||
},
|
||||
{'1': 'detached_enabled', '3': 2, '4': 1, '5': 8, '10': 'detachedEnabled'},
|
||||
],
|
||||
};
|
||||
|
||||
/// Descriptor for `InvocationList`. Decode as a `google.protobuf.DescriptorProto`.
|
||||
final $typed_data.Uint8List invocationListDescriptor = $convert.base64Decode(
|
||||
'Cg5JbnZvY2F0aW9uTGlzdBI7CgtpbnZvY2F0aW9ucxgBIAMoCzIZLmNoYWluLnYxLkludm9jYX'
|
||||
'Rpb25FbnRyeVILaW52b2NhdGlvbnM=');
|
||||
'Rpb25FbnRyeVILaW52b2NhdGlvbnMSKQoQZGV0YWNoZWRfZW5hYmxlZBgCIAEoCFIPZGV0YWNo'
|
||||
'ZWRFbmFibGVk');
|
||||
|
||||
@$core.Deprecated('Use moduleListDescriptor instead')
|
||||
const ModuleList$json = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue