Latest generation

This commit is contained in:
ci core model
2026-07-09 08:03:16 +00:00
parent 2d439e0649
commit 9ce40cd521
5 changed files with 185 additions and 2 deletions

View File

@@ -3592,6 +3592,136 @@ class StartWorkflowUpgradeModelResult extends $pb.GeneratedMessage {
$1.WorkflowExecutionResult ensureWorkflowExecution() => $_ensure(0);
}
class StartWorkflowSendInputEventRequest extends $pb.GeneratedMessage {
factory StartWorkflowSendInputEventRequest({
$core.String? organisationID,
$core.String? projectID,
$1.EntityType? entity,
$core.String? eventName,
}) {
final result = create();
if (organisationID != null) result.organisationID = organisationID;
if (projectID != null) result.projectID = projectID;
if (entity != null) result.entity = entity;
if (eventName != null) result.eventName = eventName;
return result;
}
StartWorkflowSendInputEventRequest._();
factory StartWorkflowSendInputEventRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory StartWorkflowSendInputEventRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StartWorkflowSendInputEventRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'OrganisationID', protoName: 'OrganisationID')
..aOS(2, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID')
..e<$1.EntityType>(3, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values)
..aOS(4, _omitFieldNames ? '' : 'EventName', protoName: 'EventName')
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
StartWorkflowSendInputEventRequest clone() => StartWorkflowSendInputEventRequest()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
StartWorkflowSendInputEventRequest copyWith(void Function(StartWorkflowSendInputEventRequest) updates) => super.copyWith((message) => updates(message as StartWorkflowSendInputEventRequest)) as StartWorkflowSendInputEventRequest;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static StartWorkflowSendInputEventRequest create() => StartWorkflowSendInputEventRequest._();
@$core.override
StartWorkflowSendInputEventRequest createEmptyInstance() => create();
static $pb.PbList<StartWorkflowSendInputEventRequest> createRepeated() => $pb.PbList<StartWorkflowSendInputEventRequest>();
@$core.pragma('dart2js:noInline')
static StartWorkflowSendInputEventRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StartWorkflowSendInputEventRequest>(create);
static StartWorkflowSendInputEventRequest? _defaultInstance;
@$pb.TagNumber(1)
$core.String get organisationID => $_getSZ(0);
@$pb.TagNumber(1)
set organisationID($core.String value) => $_setString(0, value);
@$pb.TagNumber(1)
$core.bool hasOrganisationID() => $_has(0);
@$pb.TagNumber(1)
void clearOrganisationID() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get projectID => $_getSZ(1);
@$pb.TagNumber(2)
set projectID($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasProjectID() => $_has(1);
@$pb.TagNumber(2)
void clearProjectID() => $_clearField(2);
@$pb.TagNumber(3)
$1.EntityType get entity => $_getN(2);
@$pb.TagNumber(3)
set entity($1.EntityType value) => $_setField(3, value);
@$pb.TagNumber(3)
$core.bool hasEntity() => $_has(2);
@$pb.TagNumber(3)
void clearEntity() => $_clearField(3);
@$pb.TagNumber(4)
$core.String get eventName => $_getSZ(3);
@$pb.TagNumber(4)
set eventName($core.String value) => $_setString(3, value);
@$pb.TagNumber(4)
$core.bool hasEventName() => $_has(3);
@$pb.TagNumber(4)
void clearEventName() => $_clearField(4);
}
class StartWorkflowSendInputEventResult extends $pb.GeneratedMessage {
factory StartWorkflowSendInputEventResult({
$1.WorkflowExecutionResult? workflowExecution,
}) {
final result = create();
if (workflowExecution != null) result.workflowExecution = workflowExecution;
return result;
}
StartWorkflowSendInputEventResult._();
factory StartWorkflowSendInputEventResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry);
factory StartWorkflowSendInputEventResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StartWorkflowSendInputEventResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create)
..aOM<$1.WorkflowExecutionResult>(1, _omitFieldNames ? '' : 'WorkflowExecution', protoName: 'WorkflowExecution', subBuilder: $1.WorkflowExecutionResult.create)
..hasRequiredFields = false
;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
StartWorkflowSendInputEventResult clone() => StartWorkflowSendInputEventResult()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
StartWorkflowSendInputEventResult copyWith(void Function(StartWorkflowSendInputEventResult) updates) => super.copyWith((message) => updates(message as StartWorkflowSendInputEventResult)) as StartWorkflowSendInputEventResult;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static StartWorkflowSendInputEventResult create() => StartWorkflowSendInputEventResult._();
@$core.override
StartWorkflowSendInputEventResult createEmptyInstance() => create();
static $pb.PbList<StartWorkflowSendInputEventResult> createRepeated() => $pb.PbList<StartWorkflowSendInputEventResult>();
@$core.pragma('dart2js:noInline')
static StartWorkflowSendInputEventResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StartWorkflowSendInputEventResult>(create);
static StartWorkflowSendInputEventResult? _defaultInstance;
@$pb.TagNumber(1)
$1.WorkflowExecutionResult get workflowExecution => $_getN(0);
@$pb.TagNumber(1)
set workflowExecution($1.WorkflowExecutionResult value) => $_setField(1, value);
@$pb.TagNumber(1)
$core.bool hasWorkflowExecution() => $_has(0);
@$pb.TagNumber(1)
void clearWorkflowExecution() => $_clearField(1);
@$pb.TagNumber(1)
$1.WorkflowExecutionResult ensureWorkflowExecution() => $_ensure(0);
}
class StartWorkflowSweepRequest extends $pb.GeneratedMessage {
factory StartWorkflowSweepRequest({
$core.bool? dryRun,

View File

@@ -168,6 +168,10 @@ class WorkflowServiceClient extends $grpc.Client {
return $createUnaryCall(_$startWorkflowSynchronizeUMAStore, request, options: options);
}
$grpc.ResponseFuture<$0.StartWorkflowSendInputEventResult> startWorkflowSendInputEvent($0.StartWorkflowSendInputEventRequest request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$startWorkflowSendInputEvent, request, options: options);
}
// method descriptors
static final _$retryWorkflow = $grpc.ClientMethod<$0.RetryWorkflowRequest, $0.RetryWorkflowResult>(
@@ -306,6 +310,10 @@ class WorkflowServiceClient extends $grpc.Client {
'/api.WorkflowService/StartWorkflowSynchronizeUMAStore',
($0.StartWorkflowSynchronizeUMAStoreRequest value) => value.writeToBuffer(),
$0.StartWorkflowSynchronizeUMAStoreResult.fromBuffer);
static final _$startWorkflowSendInputEvent = $grpc.ClientMethod<$0.StartWorkflowSendInputEventRequest, $0.StartWorkflowSendInputEventResult>(
'/api.WorkflowService/StartWorkflowSendInputEvent',
($0.StartWorkflowSendInputEventRequest value) => value.writeToBuffer(),
$0.StartWorkflowSendInputEventResult.fromBuffer);
}
@$pb.GrpcServiceName('api.WorkflowService')
@@ -551,6 +559,13 @@ abstract class WorkflowServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $0.StartWorkflowSynchronizeUMAStoreRequest.fromBuffer(value),
($0.StartWorkflowSynchronizeUMAStoreResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.StartWorkflowSendInputEventRequest, $0.StartWorkflowSendInputEventResult>(
'StartWorkflowSendInputEvent',
startWorkflowSendInputEvent_Pre,
false,
false,
($core.List<$core.int> value) => $0.StartWorkflowSendInputEventRequest.fromBuffer(value),
($0.StartWorkflowSendInputEventResult value) => value.writeToBuffer()));
}
$async.Future<$0.RetryWorkflowResult> retryWorkflow_Pre($grpc.ServiceCall $call, $async.Future<$0.RetryWorkflowRequest> $request) async {
@@ -757,4 +772,10 @@ abstract class WorkflowServiceBase extends $grpc.Service {
$async.Future<$0.StartWorkflowSynchronizeUMAStoreResult> startWorkflowSynchronizeUMAStore($grpc.ServiceCall call, $0.StartWorkflowSynchronizeUMAStoreRequest request);
$async.Future<$0.StartWorkflowSendInputEventResult> startWorkflowSendInputEvent_Pre($grpc.ServiceCall $call, $async.Future<$0.StartWorkflowSendInputEventRequest> $request) async {
return startWorkflowSendInputEvent($call, await $request);
}
$async.Future<$0.StartWorkflowSendInputEventResult> startWorkflowSendInputEvent($grpc.ServiceCall call, $0.StartWorkflowSendInputEventRequest request);
}

View File

@@ -1079,6 +1079,38 @@ final $typed_data.Uint8List startWorkflowUpgradeModelResultDescriptor = $convert
'Ch9TdGFydFdvcmtmbG93VXBncmFkZU1vZGVsUmVzdWx0EkoKEVdvcmtmbG93RXhlY3V0aW9uGA'
'EgASgLMhwuYXBpLldvcmtmbG93RXhlY3V0aW9uUmVzdWx0UhFXb3JrZmxvd0V4ZWN1dGlvbg==');
@$core.Deprecated('Use startWorkflowSendInputEventRequestDescriptor instead')
const StartWorkflowSendInputEventRequest$json = {
'1': 'StartWorkflowSendInputEventRequest',
'2': [
{'1': 'OrganisationID', '3': 1, '4': 1, '5': 9, '10': 'OrganisationID'},
{'1': 'ProjectID', '3': 2, '4': 1, '5': 9, '10': 'ProjectID'},
{'1': 'Entity', '3': 3, '4': 1, '5': 14, '6': '.api.EntityType', '10': 'Entity'},
{'1': 'EventName', '3': 4, '4': 1, '5': 9, '10': 'EventName'},
],
'7': {},
};
/// Descriptor for `StartWorkflowSendInputEventRequest`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List startWorkflowSendInputEventRequestDescriptor = $convert.base64Decode(
'CiJTdGFydFdvcmtmbG93U2VuZElucHV0RXZlbnRSZXF1ZXN0EiYKDk9yZ2FuaXNhdGlvbklEGA'
'EgASgJUg5PcmdhbmlzYXRpb25JRBIcCglQcm9qZWN0SUQYAiABKAlSCVByb2plY3RJRBInCgZF'
'bnRpdHkYAyABKA4yDy5hcGkuRW50aXR5VHlwZVIGRW50aXR5EhwKCUV2ZW50TmFtZRgEIAEoCV'
'IJRXZlbnROYW1lOgWSQQIKAA==');
@$core.Deprecated('Use startWorkflowSendInputEventResultDescriptor instead')
const StartWorkflowSendInputEventResult$json = {
'1': 'StartWorkflowSendInputEventResult',
'2': [
{'1': 'WorkflowExecution', '3': 1, '4': 1, '5': 11, '6': '.api.WorkflowExecutionResult', '10': 'WorkflowExecution'},
],
};
/// Descriptor for `StartWorkflowSendInputEventResult`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List startWorkflowSendInputEventResultDescriptor = $convert.base64Decode(
'CiFTdGFydFdvcmtmbG93U2VuZElucHV0RXZlbnRSZXN1bHQSSgoRV29ya2Zsb3dFeGVjdXRpb2'
'4YASABKAsyHC5hcGkuV29ya2Zsb3dFeGVjdXRpb25SZXN1bHRSEVdvcmtmbG93RXhlY3V0aW9u');
@$core.Deprecated('Use startWorkflowSweepRequestDescriptor instead')
const StartWorkflowSweepRequest$json = {
'1': 'StartWorkflowSweepRequest',