chore(proto): regenerate stubs for Submit/RunSavedFlow project field
Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
parent
cbe4478675
commit
58ff6b2376
2 changed files with 39 additions and 5 deletions
|
|
@ -83,11 +83,13 @@ class SubmitRequest extends $pb.GeneratedMessage {
|
||||||
$core.List<$core.int>? flowYaml,
|
$core.List<$core.int>? flowYaml,
|
||||||
$core.Iterable<$core.MapEntry<$core.String, $2.Payload>>? inputs,
|
$core.Iterable<$core.MapEntry<$core.String, $2.Payload>>? inputs,
|
||||||
$core.bool? detach,
|
$core.bool? detach,
|
||||||
|
$core.String? project,
|
||||||
}) {
|
}) {
|
||||||
final result = create();
|
final result = create();
|
||||||
if (flowYaml != null) result.flowYaml = flowYaml;
|
if (flowYaml != null) result.flowYaml = flowYaml;
|
||||||
if (inputs != null) result.inputs.addEntries(inputs);
|
if (inputs != null) result.inputs.addEntries(inputs);
|
||||||
if (detach != null) result.detach = detach;
|
if (detach != null) result.detach = detach;
|
||||||
|
if (project != null) result.project = project;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -114,6 +116,7 @@ class SubmitRequest extends $pb.GeneratedMessage {
|
||||||
valueDefaultOrMaker: $2.Payload.getDefault,
|
valueDefaultOrMaker: $2.Payload.getDefault,
|
||||||
packageName: const $pb.PackageName('chain.v1'))
|
packageName: const $pb.PackageName('chain.v1'))
|
||||||
..aOB(3, _omitFieldNames ? '' : 'detach')
|
..aOB(3, _omitFieldNames ? '' : 'detach')
|
||||||
|
..aOS(4, _omitFieldNames ? '' : 'project')
|
||||||
..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.')
|
||||||
|
|
@ -162,6 +165,20 @@ class SubmitRequest extends $pb.GeneratedMessage {
|
||||||
$core.bool hasDetach() => $_has(2);
|
$core.bool hasDetach() => $_has(2);
|
||||||
@$pb.TagNumber(3)
|
@$pb.TagNumber(3)
|
||||||
void clearDetach() => $_clearField(3);
|
void clearDetach() => $_clearField(3);
|
||||||
|
|
||||||
|
/// Project slug this run belongs to (added phase 2). Overrides the
|
||||||
|
/// flow YAML's `project:`; empty → the flow's project, then
|
||||||
|
/// `general`. Every audit event, approval and detached row from this
|
||||||
|
/// run is stamped (and hashed) with it. Grouping/filtering only —
|
||||||
|
/// not tenancy.
|
||||||
|
@$pb.TagNumber(4)
|
||||||
|
$core.String get project => $_getSZ(3);
|
||||||
|
@$pb.TagNumber(4)
|
||||||
|
set project($core.String value) => $_setString(3, value);
|
||||||
|
@$pb.TagNumber(4)
|
||||||
|
$core.bool hasProject() => $_has(3);
|
||||||
|
@$pb.TagNumber(4)
|
||||||
|
void clearProject() => $_clearField(4);
|
||||||
}
|
}
|
||||||
|
|
||||||
class SubmitResponse extends $pb.GeneratedMessage {
|
class SubmitResponse extends $pb.GeneratedMessage {
|
||||||
|
|
@ -2525,10 +2542,12 @@ class RunSavedFlowRequest extends $pb.GeneratedMessage {
|
||||||
factory RunSavedFlowRequest({
|
factory RunSavedFlowRequest({
|
||||||
$core.String? name,
|
$core.String? name,
|
||||||
$core.Iterable<$core.MapEntry<$core.String, $2.Payload>>? inputs,
|
$core.Iterable<$core.MapEntry<$core.String, $2.Payload>>? inputs,
|
||||||
|
$core.String? project,
|
||||||
}) {
|
}) {
|
||||||
final result = create();
|
final result = create();
|
||||||
if (name != null) result.name = name;
|
if (name != null) result.name = name;
|
||||||
if (inputs != null) result.inputs.addEntries(inputs);
|
if (inputs != null) result.inputs.addEntries(inputs);
|
||||||
|
if (project != null) result.project = project;
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -2553,6 +2572,7 @@ class RunSavedFlowRequest extends $pb.GeneratedMessage {
|
||||||
valueCreator: $2.Payload.create,
|
valueCreator: $2.Payload.create,
|
||||||
valueDefaultOrMaker: $2.Payload.getDefault,
|
valueDefaultOrMaker: $2.Payload.getDefault,
|
||||||
packageName: const $pb.PackageName('chain.v1'))
|
packageName: const $pb.PackageName('chain.v1'))
|
||||||
|
..aOS(3, _omitFieldNames ? '' : 'project')
|
||||||
..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.')
|
||||||
|
|
@ -2585,6 +2605,17 @@ class RunSavedFlowRequest extends $pb.GeneratedMessage {
|
||||||
|
|
||||||
@$pb.TagNumber(2)
|
@$pb.TagNumber(2)
|
||||||
$pb.PbMap<$core.String, $2.Payload> get inputs => $_getMap(1);
|
$pb.PbMap<$core.String, $2.Payload> get inputs => $_getMap(1);
|
||||||
|
|
||||||
|
/// Project slug override (added phase 2); empty → the saved flow's
|
||||||
|
/// own `project:`, then `general`.
|
||||||
|
@$pb.TagNumber(3)
|
||||||
|
$core.String get project => $_getSZ(2);
|
||||||
|
@$pb.TagNumber(3)
|
||||||
|
set project($core.String value) => $_setString(2, value);
|
||||||
|
@$pb.TagNumber(3)
|
||||||
|
$core.bool hasProject() => $_has(2);
|
||||||
|
@$pb.TagNumber(3)
|
||||||
|
void clearProject() => $_clearField(3);
|
||||||
}
|
}
|
||||||
|
|
||||||
class GetFlowDefinitionRequest extends $pb.GeneratedMessage {
|
class GetFlowDefinitionRequest extends $pb.GeneratedMessage {
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,7 @@ const SubmitRequest$json = {
|
||||||
'10': 'inputs'
|
'10': 'inputs'
|
||||||
},
|
},
|
||||||
{'1': 'detach', '3': 3, '4': 1, '5': 8, '10': 'detach'},
|
{'1': 'detach', '3': 3, '4': 1, '5': 8, '10': 'detach'},
|
||||||
|
{'1': 'project', '3': 4, '4': 1, '5': 9, '10': 'project'},
|
||||||
],
|
],
|
||||||
'3': [SubmitRequest_InputsEntry$json],
|
'3': [SubmitRequest_InputsEntry$json],
|
||||||
};
|
};
|
||||||
|
|
@ -67,8 +68,9 @@ const SubmitRequest_InputsEntry$json = {
|
||||||
final $typed_data.Uint8List submitRequestDescriptor = $convert.base64Decode(
|
final $typed_data.Uint8List submitRequestDescriptor = $convert.base64Decode(
|
||||||
'Cg1TdWJtaXRSZXF1ZXN0EhsKCWZsb3dfeWFtbBgBIAEoDFIIZmxvd1lhbWwSOwoGaW5wdXRzGA'
|
'Cg1TdWJtaXRSZXF1ZXN0EhsKCWZsb3dfeWFtbBgBIAEoDFIIZmxvd1lhbWwSOwoGaW5wdXRzGA'
|
||||||
'IgAygLMiMuY2hhaW4udjEuU3VibWl0UmVxdWVzdC5JbnB1dHNFbnRyeVIGaW5wdXRzEhYKBmRl'
|
'IgAygLMiMuY2hhaW4udjEuU3VibWl0UmVxdWVzdC5JbnB1dHNFbnRyeVIGaW5wdXRzEhYKBmRl'
|
||||||
'dGFjaBgDIAEoCFIGZGV0YWNoGkwKC0lucHV0c0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EicKBX'
|
'dGFjaBgDIAEoCFIGZGV0YWNoEhgKB3Byb2plY3QYBCABKAlSB3Byb2plY3QaTAoLSW5wdXRzRW'
|
||||||
'ZhbHVlGAIgASgLMhEuY2hhaW4udjEuUGF5bG9hZFIFdmFsdWU6AjgB');
|
'50cnkSEAoDa2V5GAEgASgJUgNrZXkSJwoFdmFsdWUYAiABKAsyES5jaGFpbi52MS5QYXlsb2Fk'
|
||||||
|
'UgV2YWx1ZToCOAE=');
|
||||||
|
|
||||||
@$core.Deprecated('Use submitResponseDescriptor instead')
|
@$core.Deprecated('Use submitResponseDescriptor instead')
|
||||||
const SubmitResponse$json = {
|
const SubmitResponse$json = {
|
||||||
|
|
@ -754,6 +756,7 @@ const RunSavedFlowRequest$json = {
|
||||||
'6': '.chain.v1.RunSavedFlowRequest.InputsEntry',
|
'6': '.chain.v1.RunSavedFlowRequest.InputsEntry',
|
||||||
'10': 'inputs'
|
'10': 'inputs'
|
||||||
},
|
},
|
||||||
|
{'1': 'project', '3': 3, '4': 1, '5': 9, '10': 'project'},
|
||||||
],
|
],
|
||||||
'3': [RunSavedFlowRequest_InputsEntry$json],
|
'3': [RunSavedFlowRequest_InputsEntry$json],
|
||||||
};
|
};
|
||||||
|
|
@ -778,9 +781,9 @@ const RunSavedFlowRequest_InputsEntry$json = {
|
||||||
/// Descriptor for `RunSavedFlowRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
/// Descriptor for `RunSavedFlowRequest`. Decode as a `google.protobuf.DescriptorProto`.
|
||||||
final $typed_data.Uint8List runSavedFlowRequestDescriptor = $convert.base64Decode(
|
final $typed_data.Uint8List runSavedFlowRequestDescriptor = $convert.base64Decode(
|
||||||
'ChNSdW5TYXZlZEZsb3dSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSQQoGaW5wdXRzGAIgAy'
|
'ChNSdW5TYXZlZEZsb3dSZXF1ZXN0EhIKBG5hbWUYASABKAlSBG5hbWUSQQoGaW5wdXRzGAIgAy'
|
||||||
'gLMikuY2hhaW4udjEuUnVuU2F2ZWRGbG93UmVxdWVzdC5JbnB1dHNFbnRyeVIGaW5wdXRzGkwK'
|
'gLMikuY2hhaW4udjEuUnVuU2F2ZWRGbG93UmVxdWVzdC5JbnB1dHNFbnRyeVIGaW5wdXRzEhgK'
|
||||||
'C0lucHV0c0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EicKBXZhbHVlGAIgASgLMhEuY2hhaW4udj'
|
'B3Byb2plY3QYAyABKAlSB3Byb2plY3QaTAoLSW5wdXRzRW50cnkSEAoDa2V5GAEgASgJUgNrZX'
|
||||||
'EuUGF5bG9hZFIFdmFsdWU6AjgB');
|
'kSJwoFdmFsdWUYAiABKAsyES5jaGFpbi52MS5QYXlsb2FkUgV2YWx1ZToCOAE=');
|
||||||
|
|
||||||
@$core.Deprecated('Use getFlowDefinitionRequestDescriptor instead')
|
@$core.Deprecated('Use getFlowDefinitionRequestDescriptor instead')
|
||||||
const GetFlowDefinitionRequest$json = {
|
const GetFlowDefinitionRequest$json = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue