From 7dfc94d7d58adab461c20b5dfb906db1892216d2 Mon Sep 17 00:00:00 2001 From: ci core model Date: Wed, 19 Aug 2026 08:36:54 +0000 Subject: [PATCH] Latest generation --- CHANGELOG.md | 2 +- lib/ruleEngine_model.pb.dart | 2820 +++++++++++++++++++++++++++ lib/ruleEngine_model.pbenum.dart | 346 ++++ lib/ruleEngine_model.pbjson.dart | 977 ++++++++++ lib/ruleEngine_services.pb.dart | 1678 ++++++++++++++++ lib/ruleEngine_services.pbenum.dart | 12 + lib/ruleEngine_services.pbgrpc.dart | 367 ++++ lib/ruleEngine_services.pbjson.dart | 437 +++++ pubspec.yaml | 2 +- 9 files changed, 6639 insertions(+), 2 deletions(-) create mode 100644 lib/ruleEngine_model.pb.dart create mode 100644 lib/ruleEngine_model.pbenum.dart create mode 100644 lib/ruleEngine_model.pbjson.dart create mode 100644 lib/ruleEngine_services.pb.dart create mode 100644 lib/ruleEngine_services.pbenum.dart create mode 100644 lib/ruleEngine_services.pbgrpc.dart create mode 100644 lib/ruleEngine_services.pbjson.dart diff --git a/CHANGELOG.md b/CHANGELOG.md index 01f937cf..6f2dc87b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.15.0-SNAPSHOT-260819082709 +Lib version: 1.15.0-SNAPSHOT-260819083604 diff --git a/lib/ruleEngine_model.pb.dart b/lib/ruleEngine_model.pb.dart new file mode 100644 index 00000000..8eada36f --- /dev/null +++ b/lib/ruleEngine_model.pb.dart @@ -0,0 +1,2820 @@ +// This is a generated file - do not edit. +// +// Generated from ruleEngine_model.proto. + +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names + +import 'dart:core' as $core; + +import 'package:fixnum/fixnum.dart' as $fixnum; +import 'package:protobuf/protobuf.dart' as $pb; + +import 'repositoryShared.pbenum.dart' as $3; +import 'ruleEngine_model.pbenum.dart'; +import 'shared.pbenum.dart' as $0; +import 'tradeShared.pbenum.dart' as $1; +import 'warehousingShared.pbenum.dart' as $2; + +export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; + +export 'ruleEngine_model.pbenum.dart'; + +enum EngineRule_Trigger { + scheduledTrigger, + eventTrigger, + milestoneTrigger, + notSet +} + +/// A rule ties together a target entity, a trigger, and a set of conditions. +/// Actions are evaluated when all conditions are met. +class EngineRule extends $pb.GeneratedMessage { + factory EngineRule({ + $core.String? projectID, + $core.String? code, + $core.String? label, + EngineRuleValidityType? validityType, + $core.String? validFrom, + $core.String? validUntil, + $0.EntityType? entity, + EngineRuleTriggerType? triggerType, + EngineRuleScheduledTrigger? scheduledTrigger, + EngineRuleEventTrigger? eventTrigger, + EngineRuleMilestoneTrigger? milestoneTrigger, + $core.Iterable? conditions, + $core.Iterable? actions, + $core.int? version, + $core.String? createdBy, + $core.String? createdAt, + $core.String? updatedAt, + $core.bool? isActive, + }) { + final result = create(); + if (projectID != null) result.projectID = projectID; + if (code != null) result.code = code; + if (label != null) result.label = label; + if (validityType != null) result.validityType = validityType; + if (validFrom != null) result.validFrom = validFrom; + if (validUntil != null) result.validUntil = validUntil; + if (entity != null) result.entity = entity; + if (triggerType != null) result.triggerType = triggerType; + if (scheduledTrigger != null) result.scheduledTrigger = scheduledTrigger; + if (eventTrigger != null) result.eventTrigger = eventTrigger; + if (milestoneTrigger != null) result.milestoneTrigger = milestoneTrigger; + if (conditions != null) result.conditions.addAll(conditions); + if (actions != null) result.actions.addAll(actions); + if (version != null) result.version = version; + if (createdBy != null) result.createdBy = createdBy; + if (createdAt != null) result.createdAt = createdAt; + if (updatedAt != null) result.updatedAt = updatedAt; + if (isActive != null) result.isActive = isActive; + return result; + } + + EngineRule._(); + + factory EngineRule.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRule.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static const $core.Map<$core.int, EngineRule_Trigger> _EngineRule_TriggerByTag = { + 70 : EngineRule_Trigger.scheduledTrigger, + 71 : EngineRule_Trigger.eventTrigger, + 72 : EngineRule_Trigger.milestoneTrigger, + 0 : EngineRule_Trigger.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRule', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..oo(0, [70, 71, 72]) + ..aOS(10, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID') + ..aOS(20, _omitFieldNames ? '' : 'Code', protoName: 'Code') + ..aOS(30, _omitFieldNames ? '' : 'Label', protoName: 'Label') + ..e(40, _omitFieldNames ? '' : 'ValidityType', $pb.PbFieldType.OE, protoName: 'ValidityType', defaultOrMaker: EngineRuleValidityType.ENGINE_RULE_VALIDITY_TYPE_UNKNOWN, valueOf: EngineRuleValidityType.valueOf, enumValues: EngineRuleValidityType.values) + ..aOS(41, _omitFieldNames ? '' : 'ValidFrom', protoName: 'ValidFrom') + ..aOS(42, _omitFieldNames ? '' : 'ValidUntil', protoName: 'ValidUntil') + ..e<$0.EntityType>(50, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $0.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $0.EntityType.valueOf, enumValues: $0.EntityType.values) + ..e(60, _omitFieldNames ? '' : 'TriggerType', $pb.PbFieldType.OE, protoName: 'TriggerType', defaultOrMaker: EngineRuleTriggerType.ENGINE_RULE_TRIGGER_TYPE_UNKNOWN, valueOf: EngineRuleTriggerType.valueOf, enumValues: EngineRuleTriggerType.values) + ..aOM(70, _omitFieldNames ? '' : 'ScheduledTrigger', protoName: 'ScheduledTrigger', subBuilder: EngineRuleScheduledTrigger.create) + ..aOM(71, _omitFieldNames ? '' : 'EventTrigger', protoName: 'EventTrigger', subBuilder: EngineRuleEventTrigger.create) + ..aOM(72, _omitFieldNames ? '' : 'MilestoneTrigger', protoName: 'MilestoneTrigger', subBuilder: EngineRuleMilestoneTrigger.create) + ..pc(80, _omitFieldNames ? '' : 'Conditions', $pb.PbFieldType.PM, protoName: 'Conditions', subBuilder: EngineRuleCondition.create) + ..pc(90, _omitFieldNames ? '' : 'Actions', $pb.PbFieldType.PM, protoName: 'Actions', subBuilder: EngineRuleAction.create) + ..a<$core.int>(100, _omitFieldNames ? '' : 'Version', $pb.PbFieldType.O3, protoName: 'Version') + ..aOS(110, _omitFieldNames ? '' : 'CreatedBy', protoName: 'CreatedBy') + ..aOS(120, _omitFieldNames ? '' : 'CreatedAt', protoName: 'CreatedAt') + ..aOS(130, _omitFieldNames ? '' : 'UpdatedAt', protoName: 'UpdatedAt') + ..aOB(140, _omitFieldNames ? '' : 'IsActive', protoName: 'IsActive') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRule clone() => EngineRule()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRule copyWith(void Function(EngineRule) updates) => super.copyWith((message) => updates(message as EngineRule)) as EngineRule; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRule create() => EngineRule._(); + @$core.override + EngineRule createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRule getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRule? _defaultInstance; + + EngineRule_Trigger whichTrigger() => _EngineRule_TriggerByTag[$_whichOneof(0)]!; + void clearTrigger() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(10) + $core.String get projectID => $_getSZ(0); + @$pb.TagNumber(10) + set projectID($core.String value) => $_setString(0, value); + @$pb.TagNumber(10) + $core.bool hasProjectID() => $_has(0); + @$pb.TagNumber(10) + void clearProjectID() => $_clearField(10); + + @$pb.TagNumber(20) + $core.String get code => $_getSZ(1); + @$pb.TagNumber(20) + set code($core.String value) => $_setString(1, value); + @$pb.TagNumber(20) + $core.bool hasCode() => $_has(1); + @$pb.TagNumber(20) + void clearCode() => $_clearField(20); + + @$pb.TagNumber(30) + $core.String get label => $_getSZ(2); + @$pb.TagNumber(30) + set label($core.String value) => $_setString(2, value); + @$pb.TagNumber(30) + $core.bool hasLabel() => $_has(2); + @$pb.TagNumber(30) + void clearLabel() => $_clearField(30); + + @$pb.TagNumber(40) + EngineRuleValidityType get validityType => $_getN(3); + @$pb.TagNumber(40) + set validityType(EngineRuleValidityType value) => $_setField(40, value); + @$pb.TagNumber(40) + $core.bool hasValidityType() => $_has(3); + @$pb.TagNumber(40) + void clearValidityType() => $_clearField(40); + + @$pb.TagNumber(41) + $core.String get validFrom => $_getSZ(4); + @$pb.TagNumber(41) + set validFrom($core.String value) => $_setString(4, value); + @$pb.TagNumber(41) + $core.bool hasValidFrom() => $_has(4); + @$pb.TagNumber(41) + void clearValidFrom() => $_clearField(41); + + @$pb.TagNumber(42) + $core.String get validUntil => $_getSZ(5); + @$pb.TagNumber(42) + set validUntil($core.String value) => $_setString(5, value); + @$pb.TagNumber(42) + $core.bool hasValidUntil() => $_has(5); + @$pb.TagNumber(42) + void clearValidUntil() => $_clearField(42); + + @$pb.TagNumber(50) + $0.EntityType get entity => $_getN(6); + @$pb.TagNumber(50) + set entity($0.EntityType value) => $_setField(50, value); + @$pb.TagNumber(50) + $core.bool hasEntity() => $_has(6); + @$pb.TagNumber(50) + void clearEntity() => $_clearField(50); + + @$pb.TagNumber(60) + EngineRuleTriggerType get triggerType => $_getN(7); + @$pb.TagNumber(60) + set triggerType(EngineRuleTriggerType value) => $_setField(60, value); + @$pb.TagNumber(60) + $core.bool hasTriggerType() => $_has(7); + @$pb.TagNumber(60) + void clearTriggerType() => $_clearField(60); + + @$pb.TagNumber(70) + EngineRuleScheduledTrigger get scheduledTrigger => $_getN(8); + @$pb.TagNumber(70) + set scheduledTrigger(EngineRuleScheduledTrigger value) => $_setField(70, value); + @$pb.TagNumber(70) + $core.bool hasScheduledTrigger() => $_has(8); + @$pb.TagNumber(70) + void clearScheduledTrigger() => $_clearField(70); + @$pb.TagNumber(70) + EngineRuleScheduledTrigger ensureScheduledTrigger() => $_ensure(8); + + @$pb.TagNumber(71) + EngineRuleEventTrigger get eventTrigger => $_getN(9); + @$pb.TagNumber(71) + set eventTrigger(EngineRuleEventTrigger value) => $_setField(71, value); + @$pb.TagNumber(71) + $core.bool hasEventTrigger() => $_has(9); + @$pb.TagNumber(71) + void clearEventTrigger() => $_clearField(71); + @$pb.TagNumber(71) + EngineRuleEventTrigger ensureEventTrigger() => $_ensure(9); + + @$pb.TagNumber(72) + EngineRuleMilestoneTrigger get milestoneTrigger => $_getN(10); + @$pb.TagNumber(72) + set milestoneTrigger(EngineRuleMilestoneTrigger value) => $_setField(72, value); + @$pb.TagNumber(72) + $core.bool hasMilestoneTrigger() => $_has(10); + @$pb.TagNumber(72) + void clearMilestoneTrigger() => $_clearField(72); + @$pb.TagNumber(72) + EngineRuleMilestoneTrigger ensureMilestoneTrigger() => $_ensure(10); + + @$pb.TagNumber(80) + $pb.PbList get conditions => $_getList(11); + + @$pb.TagNumber(90) + $pb.PbList get actions => $_getList(12); + + @$pb.TagNumber(100) + $core.int get version => $_getIZ(13); + @$pb.TagNumber(100) + set version($core.int value) => $_setSignedInt32(13, value); + @$pb.TagNumber(100) + $core.bool hasVersion() => $_has(13); + @$pb.TagNumber(100) + void clearVersion() => $_clearField(100); + + @$pb.TagNumber(110) + $core.String get createdBy => $_getSZ(14); + @$pb.TagNumber(110) + set createdBy($core.String value) => $_setString(14, value); + @$pb.TagNumber(110) + $core.bool hasCreatedBy() => $_has(14); + @$pb.TagNumber(110) + void clearCreatedBy() => $_clearField(110); + + @$pb.TagNumber(120) + $core.String get createdAt => $_getSZ(15); + @$pb.TagNumber(120) + set createdAt($core.String value) => $_setString(15, value); + @$pb.TagNumber(120) + $core.bool hasCreatedAt() => $_has(15); + @$pb.TagNumber(120) + void clearCreatedAt() => $_clearField(120); + + @$pb.TagNumber(130) + $core.String get updatedAt => $_getSZ(16); + @$pb.TagNumber(130) + set updatedAt($core.String value) => $_setString(16, value); + @$pb.TagNumber(130) + $core.bool hasUpdatedAt() => $_has(16); + @$pb.TagNumber(130) + void clearUpdatedAt() => $_clearField(130); + + @$pb.TagNumber(140) + $core.bool get isActive => $_getBF(17); + @$pb.TagNumber(140) + set isActive($core.bool value) => $_setBool(17, value); + @$pb.TagNumber(140) + $core.bool hasIsActive() => $_has(17); + @$pb.TagNumber(140) + void clearIsActive() => $_clearField(140); +} + +/// Triggered based on a partial RRule model. (recurrence rules commonly used for calendar events) +class EngineRuleScheduledTrigger extends $pb.GeneratedMessage { + factory EngineRuleScheduledTrigger({ + RuleRecurrenceFrequency? frequency, + $core.int? interval, + $core.Iterable<$0.WeekDay>? byDay, + $core.String? startDate, + $core.String? atTime, + }) { + final result = create(); + if (frequency != null) result.frequency = frequency; + if (interval != null) result.interval = interval; + if (byDay != null) result.byDay.addAll(byDay); + if (startDate != null) result.startDate = startDate; + if (atTime != null) result.atTime = atTime; + return result; + } + + EngineRuleScheduledTrigger._(); + + factory EngineRuleScheduledTrigger.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleScheduledTrigger.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleScheduledTrigger', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'Frequency', $pb.PbFieldType.OE, protoName: 'Frequency', defaultOrMaker: RuleRecurrenceFrequency.RULE_RECURRENCE_FREQUENCY_UNKNOWN, valueOf: RuleRecurrenceFrequency.valueOf, enumValues: RuleRecurrenceFrequency.values) + ..a<$core.int>(2, _omitFieldNames ? '' : 'Interval', $pb.PbFieldType.O3, protoName: 'Interval') + ..pc<$0.WeekDay>(3, _omitFieldNames ? '' : 'ByDay', $pb.PbFieldType.KE, protoName: 'ByDay', valueOf: $0.WeekDay.valueOf, enumValues: $0.WeekDay.values, defaultEnumValue: $0.WeekDay.WEEKDAY_UNDEFINED) + ..aOS(4, _omitFieldNames ? '' : 'StartDate', protoName: 'StartDate') + ..aOS(5, _omitFieldNames ? '' : 'AtTime', protoName: 'AtTime') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleScheduledTrigger clone() => EngineRuleScheduledTrigger()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleScheduledTrigger copyWith(void Function(EngineRuleScheduledTrigger) updates) => super.copyWith((message) => updates(message as EngineRuleScheduledTrigger)) as EngineRuleScheduledTrigger; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleScheduledTrigger create() => EngineRuleScheduledTrigger._(); + @$core.override + EngineRuleScheduledTrigger createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleScheduledTrigger getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleScheduledTrigger? _defaultInstance; + + @$pb.TagNumber(1) + RuleRecurrenceFrequency get frequency => $_getN(0); + @$pb.TagNumber(1) + set frequency(RuleRecurrenceFrequency value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasFrequency() => $_has(0); + @$pb.TagNumber(1) + void clearFrequency() => $_clearField(1); + + @$pb.TagNumber(2) + $core.int get interval => $_getIZ(1); + @$pb.TagNumber(2) + set interval($core.int value) => $_setSignedInt32(1, value); + @$pb.TagNumber(2) + $core.bool hasInterval() => $_has(1); + @$pb.TagNumber(2) + void clearInterval() => $_clearField(2); + + @$pb.TagNumber(3) + $pb.PbList<$0.WeekDay> get byDay => $_getList(2); + + @$pb.TagNumber(4) + $core.String get startDate => $_getSZ(3); + @$pb.TagNumber(4) + set startDate($core.String value) => $_setString(3, value); + @$pb.TagNumber(4) + $core.bool hasStartDate() => $_has(3); + @$pb.TagNumber(4) + void clearStartDate() => $_clearField(4); + + @$pb.TagNumber(5) + $core.String get atTime => $_getSZ(4); + @$pb.TagNumber(5) + set atTime($core.String value) => $_setString(4, value); + @$pb.TagNumber(5) + $core.bool hasAtTime() => $_has(4); + @$pb.TagNumber(5) + void clearAtTime() => $_clearField(5); +} + +enum EngineRuleEventTrigger_Event { + creation, + deletion, + statusChange, + notSet +} + +/// Triggered when an entity reaches a specific status. +/// The status code type is determined by the EngineRule.Entity field. +class EngineRuleEventTrigger extends $pb.GeneratedMessage { + factory EngineRuleEventTrigger({ + EngineRuleEventTriggerCreation? creation, + EngineRuleEventTriggerDeletion? deletion, + EngineRuleEventTriggerStatusChange? statusChange, + }) { + final result = create(); + if (creation != null) result.creation = creation; + if (deletion != null) result.deletion = deletion; + if (statusChange != null) result.statusChange = statusChange; + return result; + } + + EngineRuleEventTrigger._(); + + factory EngineRuleEventTrigger.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleEventTrigger.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static const $core.Map<$core.int, EngineRuleEventTrigger_Event> _EngineRuleEventTrigger_EventByTag = { + 1 : EngineRuleEventTrigger_Event.creation, + 2 : EngineRuleEventTrigger_Event.deletion, + 3 : EngineRuleEventTrigger_Event.statusChange, + 0 : EngineRuleEventTrigger_Event.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleEventTrigger', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..oo(0, [1, 2, 3]) + ..aOM(1, _omitFieldNames ? '' : 'Creation', protoName: 'Creation', subBuilder: EngineRuleEventTriggerCreation.create) + ..aOM(2, _omitFieldNames ? '' : 'Deletion', protoName: 'Deletion', subBuilder: EngineRuleEventTriggerDeletion.create) + ..aOM(3, _omitFieldNames ? '' : 'StatusChange', protoName: 'StatusChange', subBuilder: EngineRuleEventTriggerStatusChange.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleEventTrigger clone() => EngineRuleEventTrigger()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleEventTrigger copyWith(void Function(EngineRuleEventTrigger) updates) => super.copyWith((message) => updates(message as EngineRuleEventTrigger)) as EngineRuleEventTrigger; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleEventTrigger create() => EngineRuleEventTrigger._(); + @$core.override + EngineRuleEventTrigger createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleEventTrigger getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleEventTrigger? _defaultInstance; + + EngineRuleEventTrigger_Event whichEvent() => _EngineRuleEventTrigger_EventByTag[$_whichOneof(0)]!; + void clearEvent() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + EngineRuleEventTriggerCreation get creation => $_getN(0); + @$pb.TagNumber(1) + set creation(EngineRuleEventTriggerCreation value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasCreation() => $_has(0); + @$pb.TagNumber(1) + void clearCreation() => $_clearField(1); + @$pb.TagNumber(1) + EngineRuleEventTriggerCreation ensureCreation() => $_ensure(0); + + @$pb.TagNumber(2) + EngineRuleEventTriggerDeletion get deletion => $_getN(1); + @$pb.TagNumber(2) + set deletion(EngineRuleEventTriggerDeletion value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasDeletion() => $_has(1); + @$pb.TagNumber(2) + void clearDeletion() => $_clearField(2); + @$pb.TagNumber(2) + EngineRuleEventTriggerDeletion ensureDeletion() => $_ensure(1); + + @$pb.TagNumber(3) + EngineRuleEventTriggerStatusChange get statusChange => $_getN(2); + @$pb.TagNumber(3) + set statusChange(EngineRuleEventTriggerStatusChange value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasStatusChange() => $_has(2); + @$pb.TagNumber(3) + void clearStatusChange() => $_clearField(3); + @$pb.TagNumber(3) + EngineRuleEventTriggerStatusChange ensureStatusChange() => $_ensure(2); +} + +class EngineRuleEventTriggerCreation extends $pb.GeneratedMessage { + factory EngineRuleEventTriggerCreation() => create(); + + EngineRuleEventTriggerCreation._(); + + factory EngineRuleEventTriggerCreation.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleEventTriggerCreation.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleEventTriggerCreation', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleEventTriggerCreation clone() => EngineRuleEventTriggerCreation()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleEventTriggerCreation copyWith(void Function(EngineRuleEventTriggerCreation) updates) => super.copyWith((message) => updates(message as EngineRuleEventTriggerCreation)) as EngineRuleEventTriggerCreation; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleEventTriggerCreation create() => EngineRuleEventTriggerCreation._(); + @$core.override + EngineRuleEventTriggerCreation createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleEventTriggerCreation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleEventTriggerCreation? _defaultInstance; +} + +class EngineRuleEventTriggerDeletion extends $pb.GeneratedMessage { + factory EngineRuleEventTriggerDeletion() => create(); + + EngineRuleEventTriggerDeletion._(); + + factory EngineRuleEventTriggerDeletion.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleEventTriggerDeletion.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleEventTriggerDeletion', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleEventTriggerDeletion clone() => EngineRuleEventTriggerDeletion()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleEventTriggerDeletion copyWith(void Function(EngineRuleEventTriggerDeletion) updates) => super.copyWith((message) => updates(message as EngineRuleEventTriggerDeletion)) as EngineRuleEventTriggerDeletion; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleEventTriggerDeletion create() => EngineRuleEventTriggerDeletion._(); + @$core.override + EngineRuleEventTriggerDeletion createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleEventTriggerDeletion getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleEventTriggerDeletion? _defaultInstance; +} + +enum EngineRuleEventTriggerStatusChange_StatusCode { + orderStatus, + handlingunitStatus, + appointmentStatus, + claimStatus, + actorStatus, + itemStatus, + executionflowStatus, + partnerStatus, + stockStatus, + movementStatus, + notSet +} + +class EngineRuleEventTriggerStatusChange extends $pb.GeneratedMessage { + factory EngineRuleEventTriggerStatusChange({ + $1.OrderStatusCode? orderStatus, + $2.HandlingunitStatusCode? handlingunitStatus, + $0.AppointmentStatusCode? appointmentStatus, + $0.ClaimStatus? claimStatus, + $3.ActorStatusCode? actorStatus, + $3.ItemStatusCode? itemStatus, + $1.ExecutionflowStatusCode? executionflowStatus, + $3.PartnerStatusCode? partnerStatus, + $2.StockStatusCode? stockStatus, + $2.MovementStatusCode? movementStatus, + }) { + final result = create(); + if (orderStatus != null) result.orderStatus = orderStatus; + if (handlingunitStatus != null) result.handlingunitStatus = handlingunitStatus; + if (appointmentStatus != null) result.appointmentStatus = appointmentStatus; + if (claimStatus != null) result.claimStatus = claimStatus; + if (actorStatus != null) result.actorStatus = actorStatus; + if (itemStatus != null) result.itemStatus = itemStatus; + if (executionflowStatus != null) result.executionflowStatus = executionflowStatus; + if (partnerStatus != null) result.partnerStatus = partnerStatus; + if (stockStatus != null) result.stockStatus = stockStatus; + if (movementStatus != null) result.movementStatus = movementStatus; + return result; + } + + EngineRuleEventTriggerStatusChange._(); + + factory EngineRuleEventTriggerStatusChange.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleEventTriggerStatusChange.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static const $core.Map<$core.int, EngineRuleEventTriggerStatusChange_StatusCode> _EngineRuleEventTriggerStatusChange_StatusCodeByTag = { + 1 : EngineRuleEventTriggerStatusChange_StatusCode.orderStatus, + 2 : EngineRuleEventTriggerStatusChange_StatusCode.handlingunitStatus, + 3 : EngineRuleEventTriggerStatusChange_StatusCode.appointmentStatus, + 4 : EngineRuleEventTriggerStatusChange_StatusCode.claimStatus, + 5 : EngineRuleEventTriggerStatusChange_StatusCode.actorStatus, + 6 : EngineRuleEventTriggerStatusChange_StatusCode.itemStatus, + 7 : EngineRuleEventTriggerStatusChange_StatusCode.executionflowStatus, + 8 : EngineRuleEventTriggerStatusChange_StatusCode.partnerStatus, + 9 : EngineRuleEventTriggerStatusChange_StatusCode.stockStatus, + 10 : EngineRuleEventTriggerStatusChange_StatusCode.movementStatus, + 0 : EngineRuleEventTriggerStatusChange_StatusCode.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleEventTriggerStatusChange', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..oo(0, [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]) + ..e<$1.OrderStatusCode>(1, _omitFieldNames ? '' : 'OrderStatus', $pb.PbFieldType.OE, protoName: 'OrderStatus', defaultOrMaker: $1.OrderStatusCode.ORDER_0000_UNKNOWN, valueOf: $1.OrderStatusCode.valueOf, enumValues: $1.OrderStatusCode.values) + ..e<$2.HandlingunitStatusCode>(2, _omitFieldNames ? '' : 'HandlingunitStatus', $pb.PbFieldType.OE, protoName: 'HandlingunitStatus', defaultOrMaker: $2.HandlingunitStatusCode.HANDLINGUNIT_0000_UNKNOWN, valueOf: $2.HandlingunitStatusCode.valueOf, enumValues: $2.HandlingunitStatusCode.values) + ..e<$0.AppointmentStatusCode>(3, _omitFieldNames ? '' : 'AppointmentStatus', $pb.PbFieldType.OE, protoName: 'AppointmentStatus', defaultOrMaker: $0.AppointmentStatusCode.APPOINTMENT_0000_STATUS_UNKNOWN, valueOf: $0.AppointmentStatusCode.valueOf, enumValues: $0.AppointmentStatusCode.values) + ..e<$0.ClaimStatus>(4, _omitFieldNames ? '' : 'ClaimStatus', $pb.PbFieldType.OE, protoName: 'ClaimStatus', defaultOrMaker: $0.ClaimStatus.CLAIM_STATUS_UNKNOWN, valueOf: $0.ClaimStatus.valueOf, enumValues: $0.ClaimStatus.values) + ..e<$3.ActorStatusCode>(5, _omitFieldNames ? '' : 'ActorStatus', $pb.PbFieldType.OE, protoName: 'ActorStatus', defaultOrMaker: $3.ActorStatusCode.SITE_0000_UNKNOWN, valueOf: $3.ActorStatusCode.valueOf, enumValues: $3.ActorStatusCode.values) + ..e<$3.ItemStatusCode>(6, _omitFieldNames ? '' : 'ItemStatus', $pb.PbFieldType.OE, protoName: 'ItemStatus', defaultOrMaker: $3.ItemStatusCode.ITEM_0000_UNKNOWN, valueOf: $3.ItemStatusCode.valueOf, enumValues: $3.ItemStatusCode.values) + ..e<$1.ExecutionflowStatusCode>(7, _omitFieldNames ? '' : 'ExecutionflowStatus', $pb.PbFieldType.OE, protoName: 'ExecutionflowStatus', defaultOrMaker: $1.ExecutionflowStatusCode.EXECUTIONFLOW_0000_UNKNOWN, valueOf: $1.ExecutionflowStatusCode.valueOf, enumValues: $1.ExecutionflowStatusCode.values) + ..e<$3.PartnerStatusCode>(8, _omitFieldNames ? '' : 'PartnerStatus', $pb.PbFieldType.OE, protoName: 'PartnerStatus', defaultOrMaker: $3.PartnerStatusCode.PARTNER_0000_UNKNOWN, valueOf: $3.PartnerStatusCode.valueOf, enumValues: $3.PartnerStatusCode.values) + ..e<$2.StockStatusCode>(9, _omitFieldNames ? '' : 'StockStatus', $pb.PbFieldType.OE, protoName: 'StockStatus', defaultOrMaker: $2.StockStatusCode.STOCK_UNKNOWN, valueOf: $2.StockStatusCode.valueOf, enumValues: $2.StockStatusCode.values) + ..e<$2.MovementStatusCode>(10, _omitFieldNames ? '' : 'MovementStatus', $pb.PbFieldType.OE, protoName: 'MovementStatus', defaultOrMaker: $2.MovementStatusCode.MOVEMENT_UNKNOWN, valueOf: $2.MovementStatusCode.valueOf, enumValues: $2.MovementStatusCode.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleEventTriggerStatusChange clone() => EngineRuleEventTriggerStatusChange()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleEventTriggerStatusChange copyWith(void Function(EngineRuleEventTriggerStatusChange) updates) => super.copyWith((message) => updates(message as EngineRuleEventTriggerStatusChange)) as EngineRuleEventTriggerStatusChange; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleEventTriggerStatusChange create() => EngineRuleEventTriggerStatusChange._(); + @$core.override + EngineRuleEventTriggerStatusChange createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleEventTriggerStatusChange getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleEventTriggerStatusChange? _defaultInstance; + + EngineRuleEventTriggerStatusChange_StatusCode whichStatusCode() => _EngineRuleEventTriggerStatusChange_StatusCodeByTag[$_whichOneof(0)]!; + void clearStatusCode() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + $1.OrderStatusCode get orderStatus => $_getN(0); + @$pb.TagNumber(1) + set orderStatus($1.OrderStatusCode value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasOrderStatus() => $_has(0); + @$pb.TagNumber(1) + void clearOrderStatus() => $_clearField(1); + + @$pb.TagNumber(2) + $2.HandlingunitStatusCode get handlingunitStatus => $_getN(1); + @$pb.TagNumber(2) + set handlingunitStatus($2.HandlingunitStatusCode value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasHandlingunitStatus() => $_has(1); + @$pb.TagNumber(2) + void clearHandlingunitStatus() => $_clearField(2); + + @$pb.TagNumber(3) + $0.AppointmentStatusCode get appointmentStatus => $_getN(2); + @$pb.TagNumber(3) + set appointmentStatus($0.AppointmentStatusCode value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasAppointmentStatus() => $_has(2); + @$pb.TagNumber(3) + void clearAppointmentStatus() => $_clearField(3); + + @$pb.TagNumber(4) + $0.ClaimStatus get claimStatus => $_getN(3); + @$pb.TagNumber(4) + set claimStatus($0.ClaimStatus value) => $_setField(4, value); + @$pb.TagNumber(4) + $core.bool hasClaimStatus() => $_has(3); + @$pb.TagNumber(4) + void clearClaimStatus() => $_clearField(4); + + @$pb.TagNumber(5) + $3.ActorStatusCode get actorStatus => $_getN(4); + @$pb.TagNumber(5) + set actorStatus($3.ActorStatusCode value) => $_setField(5, value); + @$pb.TagNumber(5) + $core.bool hasActorStatus() => $_has(4); + @$pb.TagNumber(5) + void clearActorStatus() => $_clearField(5); + + @$pb.TagNumber(6) + $3.ItemStatusCode get itemStatus => $_getN(5); + @$pb.TagNumber(6) + set itemStatus($3.ItemStatusCode value) => $_setField(6, value); + @$pb.TagNumber(6) + $core.bool hasItemStatus() => $_has(5); + @$pb.TagNumber(6) + void clearItemStatus() => $_clearField(6); + + @$pb.TagNumber(7) + $1.ExecutionflowStatusCode get executionflowStatus => $_getN(6); + @$pb.TagNumber(7) + set executionflowStatus($1.ExecutionflowStatusCode value) => $_setField(7, value); + @$pb.TagNumber(7) + $core.bool hasExecutionflowStatus() => $_has(6); + @$pb.TagNumber(7) + void clearExecutionflowStatus() => $_clearField(7); + + @$pb.TagNumber(8) + $3.PartnerStatusCode get partnerStatus => $_getN(7); + @$pb.TagNumber(8) + set partnerStatus($3.PartnerStatusCode value) => $_setField(8, value); + @$pb.TagNumber(8) + $core.bool hasPartnerStatus() => $_has(7); + @$pb.TagNumber(8) + void clearPartnerStatus() => $_clearField(8); + + @$pb.TagNumber(9) + $2.StockStatusCode get stockStatus => $_getN(8); + @$pb.TagNumber(9) + set stockStatus($2.StockStatusCode value) => $_setField(9, value); + @$pb.TagNumber(9) + $core.bool hasStockStatus() => $_has(8); + @$pb.TagNumber(9) + void clearStockStatus() => $_clearField(9); + + @$pb.TagNumber(10) + $2.MovementStatusCode get movementStatus => $_getN(9); + @$pb.TagNumber(10) + set movementStatus($2.MovementStatusCode value) => $_setField(10, value); + @$pb.TagNumber(10) + $core.bool hasMovementStatus() => $_has(9); + @$pb.TagNumber(10) + void clearMovementStatus() => $_clearField(10); +} + +/// Triggered when a logistics milestone is reached. +/// Milestones are fields which are either part of the fixed model or user-defined Metadata +/// known at the model level -- unlike EngineRuleEventTriggerStatusChange's +/// StatusCode, which is a closed set of enums. MilestoneField therefore +/// references the metadata by its field path, the same way EngineRuleCondition +/// references fields, e.g. "Order.RequestedMilestones.ContractualLogisticsDate". +class EngineRuleMilestoneTrigger extends $pb.GeneratedMessage { + factory EngineRuleMilestoneTrigger({ + $core.String? milestoneField, + }) { + final result = create(); + if (milestoneField != null) result.milestoneField = milestoneField; + return result; + } + + EngineRuleMilestoneTrigger._(); + + factory EngineRuleMilestoneTrigger.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleMilestoneTrigger.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleMilestoneTrigger', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'MilestoneField', protoName: 'MilestoneField') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleMilestoneTrigger clone() => EngineRuleMilestoneTrigger()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleMilestoneTrigger copyWith(void Function(EngineRuleMilestoneTrigger) updates) => super.copyWith((message) => updates(message as EngineRuleMilestoneTrigger)) as EngineRuleMilestoneTrigger; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleMilestoneTrigger create() => EngineRuleMilestoneTrigger._(); + @$core.override + EngineRuleMilestoneTrigger createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleMilestoneTrigger getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleMilestoneTrigger? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get milestoneField => $_getSZ(0); + @$pb.TagNumber(1) + set milestoneField($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasMilestoneField() => $_has(0); + @$pb.TagNumber(1) + void clearMilestoneField() => $_clearField(1); +} + +enum EngineRuleCondition_Criteria { + field_10, + collection, + aggregate, + notSet +} + +enum EngineRuleCondition_Value { + literalValue, + literalListValue, + fieldRefValue, + computedValue, + mappingValue, + notSet +} + +/// A single predicate: Criteria Value. +/// All conditions on a rule are evaluated with AND semantics. +/// No conditions means the rule will trigger unconditionally when the trigger +/// event occurs. +class EngineRuleCondition extends $pb.GeneratedMessage { + factory EngineRuleCondition({ + $core.String? field_10, + EngineRuleConditionCollectionCriteria? collection, + EngineRuleConditionAggregateCriteria? aggregate, + EngineRuleConditionOperator? operator, + EngineRuleLiteral? literalValue, + EngineRuleLiteralList? literalListValue, + EngineRuleFieldRef? fieldRefValue, + EngineRuleComputedRef? computedValue, + EngineRuleMappingRef? mappingValue, + }) { + final result = create(); + if (field_10 != null) result.field_10 = field_10; + if (collection != null) result.collection = collection; + if (aggregate != null) result.aggregate = aggregate; + if (operator != null) result.operator = operator; + if (literalValue != null) result.literalValue = literalValue; + if (literalListValue != null) result.literalListValue = literalListValue; + if (fieldRefValue != null) result.fieldRefValue = fieldRefValue; + if (computedValue != null) result.computedValue = computedValue; + if (mappingValue != null) result.mappingValue = mappingValue; + return result; + } + + EngineRuleCondition._(); + + factory EngineRuleCondition.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleCondition.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static const $core.Map<$core.int, EngineRuleCondition_Criteria> _EngineRuleCondition_CriteriaByTag = { + 10 : EngineRuleCondition_Criteria.field_10, + 11 : EngineRuleCondition_Criteria.collection, + 12 : EngineRuleCondition_Criteria.aggregate, + 0 : EngineRuleCondition_Criteria.notSet + }; + static const $core.Map<$core.int, EngineRuleCondition_Value> _EngineRuleCondition_ValueByTag = { + 31 : EngineRuleCondition_Value.literalValue, + 32 : EngineRuleCondition_Value.literalListValue, + 33 : EngineRuleCondition_Value.fieldRefValue, + 34 : EngineRuleCondition_Value.computedValue, + 35 : EngineRuleCondition_Value.mappingValue, + 0 : EngineRuleCondition_Value.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleCondition', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..oo(0, [10, 11, 12]) + ..oo(1, [31, 32, 33, 34, 35]) + ..aOS(10, _omitFieldNames ? '' : 'Field', protoName: 'Field') + ..aOM(11, _omitFieldNames ? '' : 'Collection', protoName: 'Collection', subBuilder: EngineRuleConditionCollectionCriteria.create) + ..aOM(12, _omitFieldNames ? '' : 'Aggregate', protoName: 'Aggregate', subBuilder: EngineRuleConditionAggregateCriteria.create) + ..e(20, _omitFieldNames ? '' : 'Operator', $pb.PbFieldType.OE, protoName: 'Operator', defaultOrMaker: EngineRuleConditionOperator.RULE_CONDITION_OPERATOR_UNKNOWN, valueOf: EngineRuleConditionOperator.valueOf, enumValues: EngineRuleConditionOperator.values) + ..aOM(31, _omitFieldNames ? '' : 'LiteralValue', protoName: 'LiteralValue', subBuilder: EngineRuleLiteral.create) + ..aOM(32, _omitFieldNames ? '' : 'LiteralListValue', protoName: 'LiteralListValue', subBuilder: EngineRuleLiteralList.create) + ..aOM(33, _omitFieldNames ? '' : 'FieldRefValue', protoName: 'FieldRefValue', subBuilder: EngineRuleFieldRef.create) + ..aOM(34, _omitFieldNames ? '' : 'ComputedValue', protoName: 'ComputedValue', subBuilder: EngineRuleComputedRef.create) + ..aOM(35, _omitFieldNames ? '' : 'MappingValue', protoName: 'MappingValue', subBuilder: EngineRuleMappingRef.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleCondition clone() => EngineRuleCondition()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleCondition copyWith(void Function(EngineRuleCondition) updates) => super.copyWith((message) => updates(message as EngineRuleCondition)) as EngineRuleCondition; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleCondition create() => EngineRuleCondition._(); + @$core.override + EngineRuleCondition createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleCondition getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleCondition? _defaultInstance; + + EngineRuleCondition_Criteria whichCriteria() => _EngineRuleCondition_CriteriaByTag[$_whichOneof(0)]!; + void clearCriteria() => $_clearField($_whichOneof(0)); + + EngineRuleCondition_Value whichValue() => _EngineRuleCondition_ValueByTag[$_whichOneof(1)]!; + void clearValue() => $_clearField($_whichOneof(1)); + + @$pb.TagNumber(10) + $core.String get field_10 => $_getSZ(0); + @$pb.TagNumber(10) + set field_10($core.String value) => $_setString(0, value); + @$pb.TagNumber(10) + $core.bool hasField_10() => $_has(0); + @$pb.TagNumber(10) + void clearField_10() => $_clearField(10); + + /// a predicate on a single "current" instance. + @$pb.TagNumber(11) + EngineRuleConditionCollectionCriteria get collection => $_getN(1); + @$pb.TagNumber(11) + set collection(EngineRuleConditionCollectionCriteria value) => $_setField(11, value); + @$pb.TagNumber(11) + $core.bool hasCollection() => $_has(1); + @$pb.TagNumber(11) + void clearCollection() => $_clearField(11); + @$pb.TagNumber(11) + EngineRuleConditionCollectionCriteria ensureCollection() => $_ensure(1); + + /// e.g. "Order.Lines". Same population-filter semantics as Field above when Trigger = ScheduledTrigger. + @$pb.TagNumber(12) + EngineRuleConditionAggregateCriteria get aggregate => $_getN(2); + @$pb.TagNumber(12) + set aggregate(EngineRuleConditionAggregateCriteria value) => $_setField(12, value); + @$pb.TagNumber(12) + $core.bool hasAggregate() => $_has(2); + @$pb.TagNumber(12) + void clearAggregate() => $_clearField(12); + @$pb.TagNumber(12) + EngineRuleConditionAggregateCriteria ensureAggregate() => $_ensure(2); + + @$pb.TagNumber(20) + EngineRuleConditionOperator get operator => $_getN(3); + @$pb.TagNumber(20) + set operator(EngineRuleConditionOperator value) => $_setField(20, value); + @$pb.TagNumber(20) + $core.bool hasOperator() => $_has(3); + @$pb.TagNumber(20) + void clearOperator() => $_clearField(20); + + @$pb.TagNumber(31) + EngineRuleLiteral get literalValue => $_getN(4); + @$pb.TagNumber(31) + set literalValue(EngineRuleLiteral value) => $_setField(31, value); + @$pb.TagNumber(31) + $core.bool hasLiteralValue() => $_has(4); + @$pb.TagNumber(31) + void clearLiteralValue() => $_clearField(31); + @$pb.TagNumber(31) + EngineRuleLiteral ensureLiteralValue() => $_ensure(4); + + @$pb.TagNumber(32) + EngineRuleLiteralList get literalListValue => $_getN(5); + @$pb.TagNumber(32) + set literalListValue(EngineRuleLiteralList value) => $_setField(32, value); + @$pb.TagNumber(32) + $core.bool hasLiteralListValue() => $_has(5); + @$pb.TagNumber(32) + void clearLiteralListValue() => $_clearField(32); + @$pb.TagNumber(32) + EngineRuleLiteralList ensureLiteralListValue() => $_ensure(5); + + /// FieldRefValue, ComputedValue and MappingValue below all resolve + /// against a single "current" entity instance (a field path, a + /// Computation.Entity, or the entity passed to a MappingTable at + /// runtime, respectively). They are therefore only meaningful when + /// Criteria != Aggregate (i.e. NOT for a ScheduledTrigger's HAVING-like + /// condition, which has no single current instance to resolve them + /// against) -- only LiteralValue/LiteralListValue make sense there. + @$pb.TagNumber(33) + EngineRuleFieldRef get fieldRefValue => $_getN(6); + @$pb.TagNumber(33) + set fieldRefValue(EngineRuleFieldRef value) => $_setField(33, value); + @$pb.TagNumber(33) + $core.bool hasFieldRefValue() => $_has(6); + @$pb.TagNumber(33) + void clearFieldRefValue() => $_clearField(33); + @$pb.TagNumber(33) + EngineRuleFieldRef ensureFieldRefValue() => $_ensure(6); + + @$pb.TagNumber(34) + EngineRuleComputedRef get computedValue => $_getN(7); + @$pb.TagNumber(34) + set computedValue(EngineRuleComputedRef value) => $_setField(34, value); + @$pb.TagNumber(34) + $core.bool hasComputedValue() => $_has(7); + @$pb.TagNumber(34) + void clearComputedValue() => $_clearField(34); + @$pb.TagNumber(34) + EngineRuleComputedRef ensureComputedValue() => $_ensure(7); + + @$pb.TagNumber(35) + EngineRuleMappingRef get mappingValue => $_getN(8); + @$pb.TagNumber(35) + set mappingValue(EngineRuleMappingRef value) => $_setField(35, value); + @$pb.TagNumber(35) + $core.bool hasMappingValue() => $_has(8); + @$pb.TagNumber(35) + void clearMappingValue() => $_clearField(35); + @$pb.TagNumber(35) + EngineRuleMappingRef ensureMappingValue() => $_ensure(8); +} + +/// Applies a quantifier over a collection field. +/// e.g. ALL Order.Lines where Quantity == 0 +class EngineRuleConditionCollectionCriteria extends $pb.GeneratedMessage { + factory EngineRuleConditionCollectionCriteria({ + $core.String? collectionPath, + $core.String? elementField, + EngineRuleConditionQuantifier? quantifier, + }) { + final result = create(); + if (collectionPath != null) result.collectionPath = collectionPath; + if (elementField != null) result.elementField = elementField; + if (quantifier != null) result.quantifier = quantifier; + return result; + } + + EngineRuleConditionCollectionCriteria._(); + + factory EngineRuleConditionCollectionCriteria.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleConditionCollectionCriteria.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleConditionCollectionCriteria', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'CollectionPath', protoName: 'CollectionPath') + ..aOS(2, _omitFieldNames ? '' : 'ElementField', protoName: 'ElementField') + ..e(3, _omitFieldNames ? '' : 'Quantifier', $pb.PbFieldType.OE, protoName: 'Quantifier', defaultOrMaker: EngineRuleConditionQuantifier.RULE_CONDITION_QUANTIFIER_UNKNOWN, valueOf: EngineRuleConditionQuantifier.valueOf, enumValues: EngineRuleConditionQuantifier.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleConditionCollectionCriteria clone() => EngineRuleConditionCollectionCriteria()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleConditionCollectionCriteria copyWith(void Function(EngineRuleConditionCollectionCriteria) updates) => super.copyWith((message) => updates(message as EngineRuleConditionCollectionCriteria)) as EngineRuleConditionCollectionCriteria; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleConditionCollectionCriteria create() => EngineRuleConditionCollectionCriteria._(); + @$core.override + EngineRuleConditionCollectionCriteria createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleConditionCollectionCriteria getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleConditionCollectionCriteria? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get collectionPath => $_getSZ(0); + @$pb.TagNumber(1) + set collectionPath($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasCollectionPath() => $_has(0); + @$pb.TagNumber(1) + void clearCollectionPath() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get elementField => $_getSZ(1); + @$pb.TagNumber(2) + set elementField($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasElementField() => $_has(1); + @$pb.TagNumber(2) + void clearElementField() => $_clearField(2); + + @$pb.TagNumber(3) + EngineRuleConditionQuantifier get quantifier => $_getN(2); + @$pb.TagNumber(3) + set quantifier(EngineRuleConditionQuantifier value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasQuantifier() => $_has(2); + @$pb.TagNumber(3) + void clearQuantifier() => $_clearField(3); +} + +/// Applies an aggregate function over ALL instances of the rule's Entity (not a +/// collection nested in a single instance, see +/// EngineRuleConditionCollectionCriteria for that case). Only valid when +/// EngineRule.Trigger = ScheduledTrigger (a ScheduledTrigger rule is always +/// evaluated "set-based", see Trigger comment). +/// +/// The subset to aggregate over is NOT declared here: it is defined by the +/// OTHER conditions in the same EngineRule.Conditions list. In a ScheduledTrigger +/// rule, any Field/Collection condition acts as a filter over the whole +/// population (a "WHERE"), evaluated per-instance and ANDed together like any +/// other condition; the Aggregate condition(s) are then computed over that +/// common filtered subset (a "HAVING"). All Aggregate conditions in the same +/// rule share that same filtered subset. +/// +/// Example: on Stock, every 10 minutes, IF Périmé == true (plain Field +/// condition, acts as filter) AND SUM(Valeur) >= 1500 (Aggregate condition: +/// Field = "Valeur", AggregateFunction = SUM, compared via +/// EngineRuleCondition.Operator/Value) THEN CreateAlert. That's TWO top-level +/// EngineRuleCondition entries in EngineRule.Conditions, ANDed together. +/// +/// The Value compared against an Aggregate condition should be a +/// LiteralValue/LiteralListValue (see EngineRuleCondition.Value comment) -- +/// FieldRefValue/ComputedValue/MappingValue don't make sense here since they +/// resolve against a single current entity instance, which doesn't exist in +/// this mode. +class EngineRuleConditionAggregateCriteria extends $pb.GeneratedMessage { + factory EngineRuleConditionAggregateCriteria({ + $core.String? field_1, + EngineRuleConditionAggregateFunction? aggregateFunction, + }) { + final result = create(); + if (field_1 != null) result.field_1 = field_1; + if (aggregateFunction != null) result.aggregateFunction = aggregateFunction; + return result; + } + + EngineRuleConditionAggregateCriteria._(); + + factory EngineRuleConditionAggregateCriteria.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleConditionAggregateCriteria.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleConditionAggregateCriteria', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Field', protoName: 'Field') + ..e(2, _omitFieldNames ? '' : 'AggregateFunction', $pb.PbFieldType.OE, protoName: 'AggregateFunction', defaultOrMaker: EngineRuleConditionAggregateFunction.RULE_CONDITION_AGGREGATE_FUNCTION_UNKNOWN, valueOf: EngineRuleConditionAggregateFunction.valueOf, enumValues: EngineRuleConditionAggregateFunction.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleConditionAggregateCriteria clone() => EngineRuleConditionAggregateCriteria()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleConditionAggregateCriteria copyWith(void Function(EngineRuleConditionAggregateCriteria) updates) => super.copyWith((message) => updates(message as EngineRuleConditionAggregateCriteria)) as EngineRuleConditionAggregateCriteria; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleConditionAggregateCriteria create() => EngineRuleConditionAggregateCriteria._(); + @$core.override + EngineRuleConditionAggregateCriteria createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleConditionAggregateCriteria getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleConditionAggregateCriteria? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get field_1 => $_getSZ(0); + @$pb.TagNumber(1) + set field_1($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasField_1() => $_has(0); + @$pb.TagNumber(1) + void clearField_1() => $_clearField(1); + + /// COUNT, which just counts matching instances. + @$pb.TagNumber(2) + EngineRuleConditionAggregateFunction get aggregateFunction => $_getN(1); + @$pb.TagNumber(2) + set aggregateFunction(EngineRuleConditionAggregateFunction value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasAggregateFunction() => $_has(1); + @$pb.TagNumber(2) + void clearAggregateFunction() => $_clearField(2); +} + +enum EngineRuleLiteral_Literal { + integer, + decimal, + string, + boolean, + notSet +} + +/// A hardcoded typed value. +class EngineRuleLiteral extends $pb.GeneratedMessage { + factory EngineRuleLiteral({ + $fixnum.Int64? integer, + $core.double? decimal, + $core.String? string, + $core.bool? boolean, + }) { + final result = create(); + if (integer != null) result.integer = integer; + if (decimal != null) result.decimal = decimal; + if (string != null) result.string = string; + if (boolean != null) result.boolean = boolean; + return result; + } + + EngineRuleLiteral._(); + + factory EngineRuleLiteral.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleLiteral.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static const $core.Map<$core.int, EngineRuleLiteral_Literal> _EngineRuleLiteral_LiteralByTag = { + 1 : EngineRuleLiteral_Literal.integer, + 2 : EngineRuleLiteral_Literal.decimal, + 3 : EngineRuleLiteral_Literal.string, + 4 : EngineRuleLiteral_Literal.boolean, + 0 : EngineRuleLiteral_Literal.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleLiteral', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..oo(0, [1, 2, 3, 4]) + ..aInt64(1, _omitFieldNames ? '' : 'Integer', protoName: 'Integer') + ..a<$core.double>(2, _omitFieldNames ? '' : 'Decimal', $pb.PbFieldType.OF, protoName: 'Decimal') + ..aOS(3, _omitFieldNames ? '' : 'String', protoName: 'String') + ..aOB(4, _omitFieldNames ? '' : 'Boolean', protoName: 'Boolean') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleLiteral clone() => EngineRuleLiteral()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleLiteral copyWith(void Function(EngineRuleLiteral) updates) => super.copyWith((message) => updates(message as EngineRuleLiteral)) as EngineRuleLiteral; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleLiteral create() => EngineRuleLiteral._(); + @$core.override + EngineRuleLiteral createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleLiteral getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleLiteral? _defaultInstance; + + EngineRuleLiteral_Literal whichLiteral() => _EngineRuleLiteral_LiteralByTag[$_whichOneof(0)]!; + void clearLiteral() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + $fixnum.Int64 get integer => $_getI64(0); + @$pb.TagNumber(1) + set integer($fixnum.Int64 value) => $_setInt64(0, value); + @$pb.TagNumber(1) + $core.bool hasInteger() => $_has(0); + @$pb.TagNumber(1) + void clearInteger() => $_clearField(1); + + @$pb.TagNumber(2) + $core.double get decimal => $_getN(1); + @$pb.TagNumber(2) + set decimal($core.double value) => $_setFloat(1, value); + @$pb.TagNumber(2) + $core.bool hasDecimal() => $_has(1); + @$pb.TagNumber(2) + void clearDecimal() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get string => $_getSZ(2); + @$pb.TagNumber(3) + set string($core.String value) => $_setString(2, value); + @$pb.TagNumber(3) + $core.bool hasString() => $_has(2); + @$pb.TagNumber(3) + void clearString() => $_clearField(3); + + @$pb.TagNumber(4) + $core.bool get boolean => $_getBF(3); + @$pb.TagNumber(4) + set boolean($core.bool value) => $_setBool(3, value); + @$pb.TagNumber(4) + $core.bool hasBoolean() => $_has(3); + @$pb.TagNumber(4) + void clearBoolean() => $_clearField(4); +} + +/// A list of hardcoded typed values, used for IN operator conditions. +class EngineRuleLiteralList extends $pb.GeneratedMessage { + factory EngineRuleLiteralList({ + $core.Iterable? items, + }) { + final result = create(); + if (items != null) result.items.addAll(items); + return result; + } + + EngineRuleLiteralList._(); + + factory EngineRuleLiteralList.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleLiteralList.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleLiteralList', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'Items', $pb.PbFieldType.PM, protoName: 'Items', subBuilder: EngineRuleLiteral.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleLiteralList clone() => EngineRuleLiteralList()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleLiteralList copyWith(void Function(EngineRuleLiteralList) updates) => super.copyWith((message) => updates(message as EngineRuleLiteralList)) as EngineRuleLiteralList; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleLiteralList create() => EngineRuleLiteralList._(); + @$core.override + EngineRuleLiteralList createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleLiteralList getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleLiteralList? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get items => $_getList(0); +} + +/// A reference to another field, either from the root entity or relative to the +/// current collection element. +class EngineRuleFieldRef extends $pb.GeneratedMessage { + factory EngineRuleFieldRef({ + $core.String? path, + EngineRuleFieldRefScope? scope, + }) { + final result = create(); + if (path != null) result.path = path; + if (scope != null) result.scope = scope; + return result; + } + + EngineRuleFieldRef._(); + + factory EngineRuleFieldRef.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleFieldRef.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleFieldRef', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Path', protoName: 'Path') + ..e(2, _omitFieldNames ? '' : 'Scope', $pb.PbFieldType.OE, protoName: 'Scope', defaultOrMaker: EngineRuleFieldRefScope.ENGINE_RULE_FIELD_REF_SCOPE_UNKNOWN, valueOf: EngineRuleFieldRefScope.valueOf, enumValues: EngineRuleFieldRefScope.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleFieldRef clone() => EngineRuleFieldRef()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleFieldRef copyWith(void Function(EngineRuleFieldRef) updates) => super.copyWith((message) => updates(message as EngineRuleFieldRef)) as EngineRuleFieldRef; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleFieldRef create() => EngineRuleFieldRef._(); + @$core.override + EngineRuleFieldRef createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleFieldRef getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleFieldRef? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get path => $_getSZ(0); + @$pb.TagNumber(1) + set path($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasPath() => $_has(0); + @$pb.TagNumber(1) + void clearPath() => $_clearField(1); + + @$pb.TagNumber(2) + EngineRuleFieldRefScope get scope => $_getN(1); + @$pb.TagNumber(2) + set scope(EngineRuleFieldRefScope value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasScope() => $_has(1); + @$pb.TagNumber(2) + void clearScope() => $_clearField(2); +} + +/// A value computed by a runtime function ; definition intentionally deferred. +class EngineRuleComputedRef extends $pb.GeneratedMessage { + factory EngineRuleComputedRef({ + $core.String? computationID, + }) { + final result = create(); + if (computationID != null) result.computationID = computationID; + return result; + } + + EngineRuleComputedRef._(); + + factory EngineRuleComputedRef.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleComputedRef.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleComputedRef', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'ComputationID', protoName: 'ComputationID') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleComputedRef clone() => EngineRuleComputedRef()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleComputedRef copyWith(void Function(EngineRuleComputedRef) updates) => super.copyWith((message) => updates(message as EngineRuleComputedRef)) as EngineRuleComputedRef; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleComputedRef create() => EngineRuleComputedRef._(); + @$core.override + EngineRuleComputedRef createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleComputedRef getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleComputedRef? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get computationID => $_getSZ(0); + @$pb.TagNumber(1) + set computationID($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasComputationID() => $_has(0); + @$pb.TagNumber(1) + void clearComputationID() => $_clearField(1); +} + +/// Reference to an externally managed lookup table, shared across rules. +/// The entity in context is passed to the table at runtime; the table's InputFields define which fields are extracted. +class EngineRuleMappingRef extends $pb.GeneratedMessage { + factory EngineRuleMappingRef({ + $core.String? mappingID, + }) { + final result = create(); + if (mappingID != null) result.mappingID = mappingID; + return result; + } + + EngineRuleMappingRef._(); + + factory EngineRuleMappingRef.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleMappingRef.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleMappingRef', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'MappingID', protoName: 'MappingID') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleMappingRef clone() => EngineRuleMappingRef()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleMappingRef copyWith(void Function(EngineRuleMappingRef) updates) => super.copyWith((message) => updates(message as EngineRuleMappingRef)) as EngineRuleMappingRef; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleMappingRef create() => EngineRuleMappingRef._(); + @$core.override + EngineRuleMappingRef createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleMappingRef getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleMappingRef? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get mappingID => $_getSZ(0); + @$pb.TagNumber(1) + set mappingID($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasMappingID() => $_has(0); + @$pb.TagNumber(1) + void clearMappingID() => $_clearField(1); +} + +enum EngineRuleAction_Action { + createClaim, + updateMetadata, + createAlert, + notSet +} + +/// An action to execute when a rule is triggered and all conditions are met. +class EngineRuleAction extends $pb.GeneratedMessage { + factory EngineRuleAction({ + EngineRuleActionCreateClaim? createClaim, + EngineRuleActionUpdateMetadata? updateMetadata, + EngineRuleActionCreateAlert? createAlert, + }) { + final result = create(); + if (createClaim != null) result.createClaim = createClaim; + if (updateMetadata != null) result.updateMetadata = updateMetadata; + if (createAlert != null) result.createAlert = createAlert; + return result; + } + + EngineRuleAction._(); + + factory EngineRuleAction.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleAction.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static const $core.Map<$core.int, EngineRuleAction_Action> _EngineRuleAction_ActionByTag = { + 1 : EngineRuleAction_Action.createClaim, + 2 : EngineRuleAction_Action.updateMetadata, + 3 : EngineRuleAction_Action.createAlert, + 0 : EngineRuleAction_Action.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleAction', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..oo(0, [1, 2, 3]) + ..aOM(1, _omitFieldNames ? '' : 'CreateClaim', protoName: 'CreateClaim', subBuilder: EngineRuleActionCreateClaim.create) + ..aOM(2, _omitFieldNames ? '' : 'UpdateMetadata', protoName: 'UpdateMetadata', subBuilder: EngineRuleActionUpdateMetadata.create) + ..aOM(3, _omitFieldNames ? '' : 'CreateAlert', protoName: 'CreateAlert', subBuilder: EngineRuleActionCreateAlert.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleAction clone() => EngineRuleAction()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleAction copyWith(void Function(EngineRuleAction) updates) => super.copyWith((message) => updates(message as EngineRuleAction)) as EngineRuleAction; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleAction create() => EngineRuleAction._(); + @$core.override + EngineRuleAction createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleAction getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleAction? _defaultInstance; + + EngineRuleAction_Action whichAction() => _EngineRuleAction_ActionByTag[$_whichOneof(0)]!; + void clearAction() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + EngineRuleActionCreateClaim get createClaim => $_getN(0); + @$pb.TagNumber(1) + set createClaim(EngineRuleActionCreateClaim value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasCreateClaim() => $_has(0); + @$pb.TagNumber(1) + void clearCreateClaim() => $_clearField(1); + @$pb.TagNumber(1) + EngineRuleActionCreateClaim ensureCreateClaim() => $_ensure(0); + + @$pb.TagNumber(2) + EngineRuleActionUpdateMetadata get updateMetadata => $_getN(1); + @$pb.TagNumber(2) + set updateMetadata(EngineRuleActionUpdateMetadata value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasUpdateMetadata() => $_has(1); + @$pb.TagNumber(2) + void clearUpdateMetadata() => $_clearField(2); + @$pb.TagNumber(2) + EngineRuleActionUpdateMetadata ensureUpdateMetadata() => $_ensure(1); + + @$pb.TagNumber(3) + EngineRuleActionCreateAlert get createAlert => $_getN(2); + @$pb.TagNumber(3) + set createAlert(EngineRuleActionCreateAlert value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasCreateAlert() => $_has(2); + @$pb.TagNumber(3) + void clearCreateAlert() => $_clearField(3); + @$pb.TagNumber(3) + EngineRuleActionCreateAlert ensureCreateAlert() => $_ensure(2); +} + +/// Creates a claim of the specified type on the target entity. +class EngineRuleActionCreateClaim extends $pb.GeneratedMessage { + factory EngineRuleActionCreateClaim({ + $core.String? claimTypeID, + }) { + final result = create(); + if (claimTypeID != null) result.claimTypeID = claimTypeID; + return result; + } + + EngineRuleActionCreateClaim._(); + + factory EngineRuleActionCreateClaim.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleActionCreateClaim.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleActionCreateClaim', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'ClaimTypeID', protoName: 'ClaimTypeID') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleActionCreateClaim clone() => EngineRuleActionCreateClaim()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleActionCreateClaim copyWith(void Function(EngineRuleActionCreateClaim) updates) => super.copyWith((message) => updates(message as EngineRuleActionCreateClaim)) as EngineRuleActionCreateClaim; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleActionCreateClaim create() => EngineRuleActionCreateClaim._(); + @$core.override + EngineRuleActionCreateClaim createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleActionCreateClaim getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleActionCreateClaim? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get claimTypeID => $_getSZ(0); + @$pb.TagNumber(1) + set claimTypeID($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasClaimTypeID() => $_has(0); + @$pb.TagNumber(1) + void clearClaimTypeID() => $_clearField(1); +} + +/// Updates a single field on the target entity. +class EngineRuleActionUpdateMetadata extends $pb.GeneratedMessage { + factory EngineRuleActionUpdateMetadata({ + $core.String? field_1, + EngineRuleActionAttributeValue? value, + }) { + final result = create(); + if (field_1 != null) result.field_1 = field_1; + if (value != null) result.value = value; + return result; + } + + EngineRuleActionUpdateMetadata._(); + + factory EngineRuleActionUpdateMetadata.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleActionUpdateMetadata.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleActionUpdateMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Field', protoName: 'Field') + ..aOM(2, _omitFieldNames ? '' : 'Value', protoName: 'Value', subBuilder: EngineRuleActionAttributeValue.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleActionUpdateMetadata clone() => EngineRuleActionUpdateMetadata()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleActionUpdateMetadata copyWith(void Function(EngineRuleActionUpdateMetadata) updates) => super.copyWith((message) => updates(message as EngineRuleActionUpdateMetadata)) as EngineRuleActionUpdateMetadata; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleActionUpdateMetadata create() => EngineRuleActionUpdateMetadata._(); + @$core.override + EngineRuleActionUpdateMetadata createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleActionUpdateMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleActionUpdateMetadata? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get field_1 => $_getSZ(0); + @$pb.TagNumber(1) + set field_1($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasField_1() => $_has(0); + @$pb.TagNumber(1) + void clearField_1() => $_clearField(1); + + @$pb.TagNumber(2) + EngineRuleActionAttributeValue get value => $_getN(1); + @$pb.TagNumber(2) + set value(EngineRuleActionAttributeValue value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasValue() => $_has(1); + @$pb.TagNumber(2) + void clearValue() => $_clearField(2); + @$pb.TagNumber(2) + EngineRuleActionAttributeValue ensureValue() => $_ensure(1); +} + +/// Creates an alert, independent of any single target entity instance. +/// Definition intentionally minimal for now (label only); severity, recipients, +/// or templating may be added later. +class EngineRuleActionCreateAlert extends $pb.GeneratedMessage { + factory EngineRuleActionCreateAlert({ + $core.String? label, + }) { + final result = create(); + if (label != null) result.label = label; + return result; + } + + EngineRuleActionCreateAlert._(); + + factory EngineRuleActionCreateAlert.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleActionCreateAlert.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleActionCreateAlert', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Label', protoName: 'Label') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleActionCreateAlert clone() => EngineRuleActionCreateAlert()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleActionCreateAlert copyWith(void Function(EngineRuleActionCreateAlert) updates) => super.copyWith((message) => updates(message as EngineRuleActionCreateAlert)) as EngineRuleActionCreateAlert; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleActionCreateAlert create() => EngineRuleActionCreateAlert._(); + @$core.override + EngineRuleActionCreateAlert createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleActionCreateAlert getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleActionCreateAlert? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get label => $_getSZ(0); + @$pb.TagNumber(1) + set label($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasLabel() => $_has(0); + @$pb.TagNumber(1) + void clearLabel() => $_clearField(1); +} + +enum EngineRuleActionAttributeValue_Value { + literalValue, + computedValue, + mappingValue, + notSet +} + +/// The value to assign : either a literal, a computed function, or a mapping table. +class EngineRuleActionAttributeValue extends $pb.GeneratedMessage { + factory EngineRuleActionAttributeValue({ + EngineRuleLiteral? literalValue, + EngineRuleComputedRef? computedValue, + EngineRuleMappingRef? mappingValue, + }) { + final result = create(); + if (literalValue != null) result.literalValue = literalValue; + if (computedValue != null) result.computedValue = computedValue; + if (mappingValue != null) result.mappingValue = mappingValue; + return result; + } + + EngineRuleActionAttributeValue._(); + + factory EngineRuleActionAttributeValue.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory EngineRuleActionAttributeValue.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static const $core.Map<$core.int, EngineRuleActionAttributeValue_Value> _EngineRuleActionAttributeValue_ValueByTag = { + 1 : EngineRuleActionAttributeValue_Value.literalValue, + 2 : EngineRuleActionAttributeValue_Value.computedValue, + 3 : EngineRuleActionAttributeValue_Value.mappingValue, + 0 : EngineRuleActionAttributeValue_Value.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'EngineRuleActionAttributeValue', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..oo(0, [1, 2, 3]) + ..aOM(1, _omitFieldNames ? '' : 'LiteralValue', protoName: 'LiteralValue', subBuilder: EngineRuleLiteral.create) + ..aOM(2, _omitFieldNames ? '' : 'ComputedValue', protoName: 'ComputedValue', subBuilder: EngineRuleComputedRef.create) + ..aOM(3, _omitFieldNames ? '' : 'MappingValue', protoName: 'MappingValue', subBuilder: EngineRuleMappingRef.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleActionAttributeValue clone() => EngineRuleActionAttributeValue()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + EngineRuleActionAttributeValue copyWith(void Function(EngineRuleActionAttributeValue) updates) => super.copyWith((message) => updates(message as EngineRuleActionAttributeValue)) as EngineRuleActionAttributeValue; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static EngineRuleActionAttributeValue create() => EngineRuleActionAttributeValue._(); + @$core.override + EngineRuleActionAttributeValue createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static EngineRuleActionAttributeValue getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static EngineRuleActionAttributeValue? _defaultInstance; + + EngineRuleActionAttributeValue_Value whichValue() => _EngineRuleActionAttributeValue_ValueByTag[$_whichOneof(0)]!; + void clearValue() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + EngineRuleLiteral get literalValue => $_getN(0); + @$pb.TagNumber(1) + set literalValue(EngineRuleLiteral value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasLiteralValue() => $_has(0); + @$pb.TagNumber(1) + void clearLiteralValue() => $_clearField(1); + @$pb.TagNumber(1) + EngineRuleLiteral ensureLiteralValue() => $_ensure(0); + + @$pb.TagNumber(2) + EngineRuleComputedRef get computedValue => $_getN(1); + @$pb.TagNumber(2) + set computedValue(EngineRuleComputedRef value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasComputedValue() => $_has(1); + @$pb.TagNumber(2) + void clearComputedValue() => $_clearField(2); + @$pb.TagNumber(2) + EngineRuleComputedRef ensureComputedValue() => $_ensure(1); + + @$pb.TagNumber(3) + EngineRuleMappingRef get mappingValue => $_getN(2); + @$pb.TagNumber(3) + set mappingValue(EngineRuleMappingRef value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasMappingValue() => $_has(2); + @$pb.TagNumber(3) + void clearMappingValue() => $_clearField(3); + @$pb.TagNumber(3) + EngineRuleMappingRef ensureMappingValue() => $_ensure(2); +} + +enum Computation_Type { + dateDuration, + dueDate, + statusDuration, + customFunction, + notSet +} + +class Computation extends $pb.GeneratedMessage { + factory Computation({ + $core.String? projectID, + $core.String? iD, + $core.String? label, + $0.EntityType? entity, + ComputationDateDuration? dateDuration, + ComputationDueDate? dueDate, + ComputationStatusDuration? statusDuration, + ComputationCustomFunction? customFunction, + }) { + final result = create(); + if (projectID != null) result.projectID = projectID; + if (iD != null) result.iD = iD; + if (label != null) result.label = label; + if (entity != null) result.entity = entity; + if (dateDuration != null) result.dateDuration = dateDuration; + if (dueDate != null) result.dueDate = dueDate; + if (statusDuration != null) result.statusDuration = statusDuration; + if (customFunction != null) result.customFunction = customFunction; + return result; + } + + Computation._(); + + factory Computation.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory Computation.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static const $core.Map<$core.int, Computation_Type> _Computation_TypeByTag = { + 50 : Computation_Type.dateDuration, + 51 : Computation_Type.dueDate, + 52 : Computation_Type.statusDuration, + 53 : Computation_Type.customFunction, + 0 : Computation_Type.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Computation', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..oo(0, [50, 51, 52, 53]) + ..aOS(10, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID') + ..aOS(20, _omitFieldNames ? '' : 'ID', protoName: 'ID') + ..aOS(30, _omitFieldNames ? '' : 'Label', protoName: 'Label') + ..e<$0.EntityType>(40, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $0.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $0.EntityType.valueOf, enumValues: $0.EntityType.values) + ..aOM(50, _omitFieldNames ? '' : 'DateDuration', protoName: 'DateDuration', subBuilder: ComputationDateDuration.create) + ..aOM(51, _omitFieldNames ? '' : 'DueDate', protoName: 'DueDate', subBuilder: ComputationDueDate.create) + ..aOM(52, _omitFieldNames ? '' : 'StatusDuration', protoName: 'StatusDuration', subBuilder: ComputationStatusDuration.create) + ..aOM(53, _omitFieldNames ? '' : 'CustomFunction', protoName: 'CustomFunction', subBuilder: ComputationCustomFunction.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + Computation clone() => Computation()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + Computation copyWith(void Function(Computation) updates) => super.copyWith((message) => updates(message as Computation)) as Computation; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static Computation create() => Computation._(); + @$core.override + Computation createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static Computation getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static Computation? _defaultInstance; + + Computation_Type whichType() => _Computation_TypeByTag[$_whichOneof(0)]!; + void clearType() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(10) + $core.String get projectID => $_getSZ(0); + @$pb.TagNumber(10) + set projectID($core.String value) => $_setString(0, value); + @$pb.TagNumber(10) + $core.bool hasProjectID() => $_has(0); + @$pb.TagNumber(10) + void clearProjectID() => $_clearField(10); + + @$pb.TagNumber(20) + $core.String get iD => $_getSZ(1); + @$pb.TagNumber(20) + set iD($core.String value) => $_setString(1, value); + @$pb.TagNumber(20) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(20) + void clearID() => $_clearField(20); + + @$pb.TagNumber(30) + $core.String get label => $_getSZ(2); + @$pb.TagNumber(30) + set label($core.String value) => $_setString(2, value); + @$pb.TagNumber(30) + $core.bool hasLabel() => $_has(2); + @$pb.TagNumber(30) + void clearLabel() => $_clearField(30); + + @$pb.TagNumber(40) + $0.EntityType get entity => $_getN(3); + @$pb.TagNumber(40) + set entity($0.EntityType value) => $_setField(40, value); + @$pb.TagNumber(40) + $core.bool hasEntity() => $_has(3); + @$pb.TagNumber(40) + void clearEntity() => $_clearField(40); + + @$pb.TagNumber(50) + ComputationDateDuration get dateDuration => $_getN(4); + @$pb.TagNumber(50) + set dateDuration(ComputationDateDuration value) => $_setField(50, value); + @$pb.TagNumber(50) + $core.bool hasDateDuration() => $_has(4); + @$pb.TagNumber(50) + void clearDateDuration() => $_clearField(50); + @$pb.TagNumber(50) + ComputationDateDuration ensureDateDuration() => $_ensure(4); + + @$pb.TagNumber(51) + ComputationDueDate get dueDate => $_getN(5); + @$pb.TagNumber(51) + set dueDate(ComputationDueDate value) => $_setField(51, value); + @$pb.TagNumber(51) + $core.bool hasDueDate() => $_has(5); + @$pb.TagNumber(51) + void clearDueDate() => $_clearField(51); + @$pb.TagNumber(51) + ComputationDueDate ensureDueDate() => $_ensure(5); + + @$pb.TagNumber(52) + ComputationStatusDuration get statusDuration => $_getN(6); + @$pb.TagNumber(52) + set statusDuration(ComputationStatusDuration value) => $_setField(52, value); + @$pb.TagNumber(52) + $core.bool hasStatusDuration() => $_has(6); + @$pb.TagNumber(52) + void clearStatusDuration() => $_clearField(52); + @$pb.TagNumber(52) + ComputationStatusDuration ensureStatusDuration() => $_ensure(6); + + @$pb.TagNumber(53) + ComputationCustomFunction get customFunction => $_getN(7); + @$pb.TagNumber(53) + set customFunction(ComputationCustomFunction value) => $_setField(53, value); + @$pb.TagNumber(53) + $core.bool hasCustomFunction() => $_has(7); + @$pb.TagNumber(53) + void clearCustomFunction() => $_clearField(53); + @$pb.TagNumber(53) + ComputationCustomFunction ensureCustomFunction() => $_ensure(7); +} + +/// Computes the duration between two date fields on the entity. +/// Example: on Order, compute how many working days elapsed between creation +/// and shipment: +/// - StartDateField = "Order.CreatedAt" +/// - EndDateField = "Order.ShippedAt" +/// - DurationFormat = {Format: WORKING_DAYS, CalendarID:"FR_STANDARD", Rounding: UP} +/// The result (a WORKING_DAYS duration) can then be referenced elsewhere +/// via EngineRuleComputedRef pointing to this Computation's ID. +class ComputationDateDuration extends $pb.GeneratedMessage { + factory ComputationDateDuration({ + $core.String? startDateField, + $core.String? endDateField, + ComputationDurationFormat? durationFormat, + }) { + final result = create(); + if (startDateField != null) result.startDateField = startDateField; + if (endDateField != null) result.endDateField = endDateField; + if (durationFormat != null) result.durationFormat = durationFormat; + return result; + } + + ComputationDateDuration._(); + + factory ComputationDateDuration.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ComputationDateDuration.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComputationDateDuration', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'StartDateField', protoName: 'StartDateField') + ..aOS(2, _omitFieldNames ? '' : 'EndDateField', protoName: 'EndDateField') + ..aOM(3, _omitFieldNames ? '' : 'DurationFormat', protoName: 'DurationFormat', subBuilder: ComputationDurationFormat.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ComputationDateDuration clone() => ComputationDateDuration()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ComputationDateDuration copyWith(void Function(ComputationDateDuration) updates) => super.copyWith((message) => updates(message as ComputationDateDuration)) as ComputationDateDuration; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ComputationDateDuration create() => ComputationDateDuration._(); + @$core.override + ComputationDateDuration createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ComputationDateDuration getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ComputationDateDuration? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get startDateField => $_getSZ(0); + @$pb.TagNumber(1) + set startDateField($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasStartDateField() => $_has(0); + @$pb.TagNumber(1) + void clearStartDateField() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get endDateField => $_getSZ(1); + @$pb.TagNumber(2) + set endDateField($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasEndDateField() => $_has(1); + @$pb.TagNumber(2) + void clearEndDateField() => $_clearField(2); + + @$pb.TagNumber(3) + ComputationDurationFormat get durationFormat => $_getN(2); + @$pb.TagNumber(3) + set durationFormat(ComputationDurationFormat value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasDurationFormat() => $_has(2); + @$pb.TagNumber(3) + void clearDurationFormat() => $_clearField(3); + @$pb.TagNumber(3) + ComputationDurationFormat ensureDurationFormat() => $_ensure(2); +} + +enum ComputationDueDate_Value { + duration, + mappingValue, + notSet +} + +/// Computes a due date by adding or subtracting a duration (fixed or looked up) to a reference date field. +/// Example: on Order, compute a contractual delivery due date as "3 working days after order creation": +/// - ReferenceDateField = "Order.CreatedAt" +/// - ComputationType = ADD +/// - Value = {Duration: 3} +/// - DurationFormat = {Format: WORKING_DAYS, CalendarID: "FR_STANDARD", Rounding: UP} +/// Example with a mapping-driven duration instead of a fixed one: "due date = +/// order creation + N days, where N depends on Order.Priority" +/// - ReferenceDateField = "Order.CreatedAt" +/// - ComputationType = ADD +/// - Value = {MappingValue: {MappingID: "DeliveryLeadTimeByPriority"}} (the mapping table's Entries resolve Order.Priority -> a number of days) +/// - DurationFormat = {Format: DAYS, Rounding: UP}. +class ComputationDueDate extends $pb.GeneratedMessage { + factory ComputationDueDate({ + $core.String? referenceDateField, + ComputationDueDateComputationType? computationType, + $core.int? duration, + EngineRuleMappingRef? mappingValue, + ComputationDurationFormat? durationFormat, + }) { + final result = create(); + if (referenceDateField != null) result.referenceDateField = referenceDateField; + if (computationType != null) result.computationType = computationType; + if (duration != null) result.duration = duration; + if (mappingValue != null) result.mappingValue = mappingValue; + if (durationFormat != null) result.durationFormat = durationFormat; + return result; + } + + ComputationDueDate._(); + + factory ComputationDueDate.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ComputationDueDate.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static const $core.Map<$core.int, ComputationDueDate_Value> _ComputationDueDate_ValueByTag = { + 31 : ComputationDueDate_Value.duration, + 32 : ComputationDueDate_Value.mappingValue, + 0 : ComputationDueDate_Value.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComputationDueDate', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..oo(0, [31, 32]) + ..aOS(10, _omitFieldNames ? '' : 'ReferenceDateField', protoName: 'ReferenceDateField') + ..e(20, _omitFieldNames ? '' : 'ComputationType', $pb.PbFieldType.OE, protoName: 'ComputationType', defaultOrMaker: ComputationDueDateComputationType.COMPUTATION_DUE_DATE_COMPUTATION_TYPE_UNKNOWN, valueOf: ComputationDueDateComputationType.valueOf, enumValues: ComputationDueDateComputationType.values) + ..a<$core.int>(31, _omitFieldNames ? '' : 'Duration', $pb.PbFieldType.OU3, protoName: 'Duration') + ..aOM(32, _omitFieldNames ? '' : 'MappingValue', protoName: 'MappingValue', subBuilder: EngineRuleMappingRef.create) + ..aOM(40, _omitFieldNames ? '' : 'DurationFormat', protoName: 'DurationFormat', subBuilder: ComputationDurationFormat.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ComputationDueDate clone() => ComputationDueDate()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ComputationDueDate copyWith(void Function(ComputationDueDate) updates) => super.copyWith((message) => updates(message as ComputationDueDate)) as ComputationDueDate; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ComputationDueDate create() => ComputationDueDate._(); + @$core.override + ComputationDueDate createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ComputationDueDate getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ComputationDueDate? _defaultInstance; + + ComputationDueDate_Value whichValue() => _ComputationDueDate_ValueByTag[$_whichOneof(0)]!; + void clearValue() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(10) + $core.String get referenceDateField => $_getSZ(0); + @$pb.TagNumber(10) + set referenceDateField($core.String value) => $_setString(0, value); + @$pb.TagNumber(10) + $core.bool hasReferenceDateField() => $_has(0); + @$pb.TagNumber(10) + void clearReferenceDateField() => $_clearField(10); + + @$pb.TagNumber(20) + ComputationDueDateComputationType get computationType => $_getN(1); + @$pb.TagNumber(20) + set computationType(ComputationDueDateComputationType value) => $_setField(20, value); + @$pb.TagNumber(20) + $core.bool hasComputationType() => $_has(1); + @$pb.TagNumber(20) + void clearComputationType() => $_clearField(20); + + @$pb.TagNumber(31) + $core.int get duration => $_getIZ(2); + @$pb.TagNumber(31) + set duration($core.int value) => $_setUnsignedInt32(2, value); + @$pb.TagNumber(31) + $core.bool hasDuration() => $_has(2); + @$pb.TagNumber(31) + void clearDuration() => $_clearField(31); + + @$pb.TagNumber(32) + EngineRuleMappingRef get mappingValue => $_getN(3); + @$pb.TagNumber(32) + set mappingValue(EngineRuleMappingRef value) => $_setField(32, value); + @$pb.TagNumber(32) + $core.bool hasMappingValue() => $_has(3); + @$pb.TagNumber(32) + void clearMappingValue() => $_clearField(32); + @$pb.TagNumber(32) + EngineRuleMappingRef ensureMappingValue() => $_ensure(3); + + @$pb.TagNumber(40) + ComputationDurationFormat get durationFormat => $_getN(4); + @$pb.TagNumber(40) + set durationFormat(ComputationDurationFormat value) => $_setField(40, value); + @$pb.TagNumber(40) + $core.bool hasDurationFormat() => $_has(4); + @$pb.TagNumber(40) + void clearDurationFormat() => $_clearField(40); + @$pb.TagNumber(40) + ComputationDurationFormat ensureDurationFormat() => $_ensure(4); +} + +/// Computes the cumulated duration the entity spent across a set of statuses. +class ComputationStatusDuration extends $pb.GeneratedMessage { + factory ComputationStatusDuration({ + $core.Iterable<$core.String>? statusCodes, + ComputationDurationFormat? durationFormat, + }) { + final result = create(); + if (statusCodes != null) result.statusCodes.addAll(statusCodes); + if (durationFormat != null) result.durationFormat = durationFormat; + return result; + } + + ComputationStatusDuration._(); + + factory ComputationStatusDuration.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ComputationStatusDuration.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComputationStatusDuration', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pPS(1, _omitFieldNames ? '' : 'StatusCodes', protoName: 'StatusCodes') + ..aOM(2, _omitFieldNames ? '' : 'DurationFormat', protoName: 'DurationFormat', subBuilder: ComputationDurationFormat.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ComputationStatusDuration clone() => ComputationStatusDuration()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ComputationStatusDuration copyWith(void Function(ComputationStatusDuration) updates) => super.copyWith((message) => updates(message as ComputationStatusDuration)) as ComputationStatusDuration; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ComputationStatusDuration create() => ComputationStatusDuration._(); + @$core.override + ComputationStatusDuration createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ComputationStatusDuration getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ComputationStatusDuration? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList<$core.String> get statusCodes => $_getList(0); + + @$pb.TagNumber(2) + ComputationDurationFormat get durationFormat => $_getN(1); + @$pb.TagNumber(2) + set durationFormat(ComputationDurationFormat value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasDurationFormat() => $_has(1); + @$pb.TagNumber(2) + void clearDurationFormat() => $_clearField(2); + @$pb.TagNumber(2) + ComputationDurationFormat ensureDurationFormat() => $_ensure(1); +} + +/// Defines how a duration is expressed and optionally rounded. +/// Example: {Format: WORKING_HOURS, CalendarID: "FR_STANDARD", Rounding: +/// FIXED_HOUR, RoundingValue: "8:00:00"} expresses a duration in working hours +/// (excluding non-working time per the "FR_STANDARD" calendar) and rounds it to +/// the nearest 8-hour increment (e.g. a computed 10h30 duration becomes 16h). +/// CalendarID is only meaningful for the WORKING_* Format values (ignored for +/// plain MINUTES/HOURS/DAYS) +/// RoundingValue is only meaningful when Rounding = FIXED_HOUR (ignored for UP/DOWN). +class ComputationDurationFormat extends $pb.GeneratedMessage { + factory ComputationDurationFormat({ + DurationFormat? format, + $core.String? calendarID, + DurationRounding? rounding, + $core.String? roundingValue, + }) { + final result = create(); + if (format != null) result.format = format; + if (calendarID != null) result.calendarID = calendarID; + if (rounding != null) result.rounding = rounding; + if (roundingValue != null) result.roundingValue = roundingValue; + return result; + } + + ComputationDurationFormat._(); + + factory ComputationDurationFormat.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ComputationDurationFormat.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComputationDurationFormat', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'Format', $pb.PbFieldType.OE, protoName: 'Format', defaultOrMaker: DurationFormat.DURATION_FORMAT_UNKNOWN, valueOf: DurationFormat.valueOf, enumValues: DurationFormat.values) + ..aOS(2, _omitFieldNames ? '' : 'CalendarID', protoName: 'CalendarID') + ..e(3, _omitFieldNames ? '' : 'Rounding', $pb.PbFieldType.OE, protoName: 'Rounding', defaultOrMaker: DurationRounding.DURATION_ROUNDING_UNKNOWN, valueOf: DurationRounding.valueOf, enumValues: DurationRounding.values) + ..aOS(4, _omitFieldNames ? '' : 'RoundingValue', protoName: 'RoundingValue') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ComputationDurationFormat clone() => ComputationDurationFormat()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ComputationDurationFormat copyWith(void Function(ComputationDurationFormat) updates) => super.copyWith((message) => updates(message as ComputationDurationFormat)) as ComputationDurationFormat; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ComputationDurationFormat create() => ComputationDurationFormat._(); + @$core.override + ComputationDurationFormat createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ComputationDurationFormat getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ComputationDurationFormat? _defaultInstance; + + @$pb.TagNumber(1) + DurationFormat get format => $_getN(0); + @$pb.TagNumber(1) + set format(DurationFormat value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasFormat() => $_has(0); + @$pb.TagNumber(1) + void clearFormat() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get calendarID => $_getSZ(1); + @$pb.TagNumber(2) + set calendarID($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasCalendarID() => $_has(1); + @$pb.TagNumber(2) + void clearCalendarID() => $_clearField(2); + + @$pb.TagNumber(3) + DurationRounding get rounding => $_getN(2); + @$pb.TagNumber(3) + set rounding(DurationRounding value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasRounding() => $_has(2); + @$pb.TagNumber(3) + void clearRounding() => $_clearField(3); + + @$pb.TagNumber(4) + $core.String get roundingValue => $_getSZ(3); + @$pb.TagNumber(4) + set roundingValue($core.String value) => $_setString(3, value); + @$pb.TagNumber(4) + $core.bool hasRoundingValue() => $_has(3); + @$pb.TagNumber(4) + void clearRoundingValue() => $_clearField(4); +} + +/// Applies an arithmetic operator between two entity fields and formats the result. +class ComputationCustomFunction extends $pb.GeneratedMessage { + factory ComputationCustomFunction({ + $core.String? leftField, + ComputationCustomFunctionOperator? operator, + $core.String? rightField, + ComputationCustomFunctionFormat? format, + }) { + final result = create(); + if (leftField != null) result.leftField = leftField; + if (operator != null) result.operator = operator; + if (rightField != null) result.rightField = rightField; + if (format != null) result.format = format; + return result; + } + + ComputationCustomFunction._(); + + factory ComputationCustomFunction.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ComputationCustomFunction.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComputationCustomFunction', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'LeftField', protoName: 'LeftField') + ..e(2, _omitFieldNames ? '' : 'Operator', $pb.PbFieldType.OE, protoName: 'Operator', defaultOrMaker: ComputationCustomFunctionOperator.COMPUTATION_CUSTOM_FUNCTION_OPERATOR_UNKNOWN, valueOf: ComputationCustomFunctionOperator.valueOf, enumValues: ComputationCustomFunctionOperator.values) + ..aOS(3, _omitFieldNames ? '' : 'RightField', protoName: 'RightField') + ..aOM(4, _omitFieldNames ? '' : 'Format', protoName: 'Format', subBuilder: ComputationCustomFunctionFormat.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ComputationCustomFunction clone() => ComputationCustomFunction()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ComputationCustomFunction copyWith(void Function(ComputationCustomFunction) updates) => super.copyWith((message) => updates(message as ComputationCustomFunction)) as ComputationCustomFunction; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ComputationCustomFunction create() => ComputationCustomFunction._(); + @$core.override + ComputationCustomFunction createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ComputationCustomFunction getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ComputationCustomFunction? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get leftField => $_getSZ(0); + @$pb.TagNumber(1) + set leftField($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasLeftField() => $_has(0); + @$pb.TagNumber(1) + void clearLeftField() => $_clearField(1); + + @$pb.TagNumber(2) + ComputationCustomFunctionOperator get operator => $_getN(1); + @$pb.TagNumber(2) + set operator(ComputationCustomFunctionOperator value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasOperator() => $_has(1); + @$pb.TagNumber(2) + void clearOperator() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get rightField => $_getSZ(2); + @$pb.TagNumber(3) + set rightField($core.String value) => $_setString(2, value); + @$pb.TagNumber(3) + $core.bool hasRightField() => $_has(2); + @$pb.TagNumber(3) + void clearRightField() => $_clearField(3); + + @$pb.TagNumber(4) + ComputationCustomFunctionFormat get format => $_getN(3); + @$pb.TagNumber(4) + set format(ComputationCustomFunctionFormat value) => $_setField(4, value); + @$pb.TagNumber(4) + $core.bool hasFormat() => $_has(3); + @$pb.TagNumber(4) + void clearFormat() => $_clearField(4); + @$pb.TagNumber(4) + ComputationCustomFunctionFormat ensureFormat() => $_ensure(3); +} + +/// Defines how the result of a custom function is typed and rounded. +class ComputationCustomFunctionFormat extends $pb.GeneratedMessage { + factory ComputationCustomFunctionFormat({ + CustomFunctionFormat? format, + $core.int? precision, + CustomFunctionRounding? rounding, + }) { + final result = create(); + if (format != null) result.format = format; + if (precision != null) result.precision = precision; + if (rounding != null) result.rounding = rounding; + return result; + } + + ComputationCustomFunctionFormat._(); + + factory ComputationCustomFunctionFormat.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ComputationCustomFunctionFormat.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComputationCustomFunctionFormat', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..e(1, _omitFieldNames ? '' : 'Format', $pb.PbFieldType.OE, protoName: 'Format', defaultOrMaker: CustomFunctionFormat.CUSTOM_FUNCTION_FORMAT_UNKNOWN, valueOf: CustomFunctionFormat.valueOf, enumValues: CustomFunctionFormat.values) + ..a<$core.int>(2, _omitFieldNames ? '' : 'Precision', $pb.PbFieldType.OU3, protoName: 'Precision') + ..e(3, _omitFieldNames ? '' : 'Rounding', $pb.PbFieldType.OE, protoName: 'Rounding', defaultOrMaker: CustomFunctionRounding.CUSTOM_FUNCTION_ROUNDING_UNKNOWN, valueOf: CustomFunctionRounding.valueOf, enumValues: CustomFunctionRounding.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ComputationCustomFunctionFormat clone() => ComputationCustomFunctionFormat()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ComputationCustomFunctionFormat copyWith(void Function(ComputationCustomFunctionFormat) updates) => super.copyWith((message) => updates(message as ComputationCustomFunctionFormat)) as ComputationCustomFunctionFormat; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ComputationCustomFunctionFormat create() => ComputationCustomFunctionFormat._(); + @$core.override + ComputationCustomFunctionFormat createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ComputationCustomFunctionFormat getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ComputationCustomFunctionFormat? _defaultInstance; + + @$pb.TagNumber(1) + CustomFunctionFormat get format => $_getN(0); + @$pb.TagNumber(1) + set format(CustomFunctionFormat value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasFormat() => $_has(0); + @$pb.TagNumber(1) + void clearFormat() => $_clearField(1); + + @$pb.TagNumber(2) + $core.int get precision => $_getIZ(1); + @$pb.TagNumber(2) + set precision($core.int value) => $_setUnsignedInt32(1, value); + @$pb.TagNumber(2) + $core.bool hasPrecision() => $_has(1); + @$pb.TagNumber(2) + void clearPrecision() => $_clearField(2); + + @$pb.TagNumber(3) + CustomFunctionRounding get rounding => $_getN(2); + @$pb.TagNumber(3) + set rounding(CustomFunctionRounding value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasRounding() => $_has(2); + @$pb.TagNumber(3) + void clearRounding() => $_clearField(3); +} + +class MappingTable extends $pb.GeneratedMessage { + factory MappingTable({ + $core.String? projectID, + $core.String? iD, + $core.String? label, + $0.EntityType? entity, + $core.Iterable? inputFields, + MappingTableOutputField? outputField, + $core.Iterable? entries, + }) { + final result = create(); + if (projectID != null) result.projectID = projectID; + if (iD != null) result.iD = iD; + if (label != null) result.label = label; + if (entity != null) result.entity = entity; + if (inputFields != null) result.inputFields.addAll(inputFields); + if (outputField != null) result.outputField = outputField; + if (entries != null) result.entries.addAll(entries); + return result; + } + + MappingTable._(); + + factory MappingTable.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory MappingTable.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MappingTable', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(10, _omitFieldNames ? '' : 'ProjectID', protoName: 'ProjectID') + ..aOS(20, _omitFieldNames ? '' : 'ID', protoName: 'ID') + ..aOS(30, _omitFieldNames ? '' : 'Label', protoName: 'Label') + ..e<$0.EntityType>(40, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $0.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $0.EntityType.valueOf, enumValues: $0.EntityType.values) + ..pc(50, _omitFieldNames ? '' : 'InputFields', $pb.PbFieldType.PM, protoName: 'InputFields', subBuilder: MappingTableInputDescription.create) + ..aOM(60, _omitFieldNames ? '' : 'OutputField', protoName: 'OutputField', subBuilder: MappingTableOutputField.create) + ..pc(70, _omitFieldNames ? '' : 'Entries', $pb.PbFieldType.PM, protoName: 'Entries', subBuilder: MappingTableEntry.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MappingTable clone() => MappingTable()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MappingTable copyWith(void Function(MappingTable) updates) => super.copyWith((message) => updates(message as MappingTable)) as MappingTable; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MappingTable create() => MappingTable._(); + @$core.override + MappingTable createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MappingTable getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MappingTable? _defaultInstance; + + @$pb.TagNumber(10) + $core.String get projectID => $_getSZ(0); + @$pb.TagNumber(10) + set projectID($core.String value) => $_setString(0, value); + @$pb.TagNumber(10) + $core.bool hasProjectID() => $_has(0); + @$pb.TagNumber(10) + void clearProjectID() => $_clearField(10); + + @$pb.TagNumber(20) + $core.String get iD => $_getSZ(1); + @$pb.TagNumber(20) + set iD($core.String value) => $_setString(1, value); + @$pb.TagNumber(20) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(20) + void clearID() => $_clearField(20); + + @$pb.TagNumber(30) + $core.String get label => $_getSZ(2); + @$pb.TagNumber(30) + set label($core.String value) => $_setString(2, value); + @$pb.TagNumber(30) + $core.bool hasLabel() => $_has(2); + @$pb.TagNumber(30) + void clearLabel() => $_clearField(30); + + @$pb.TagNumber(40) + $0.EntityType get entity => $_getN(3); + @$pb.TagNumber(40) + set entity($0.EntityType value) => $_setField(40, value); + @$pb.TagNumber(40) + $core.bool hasEntity() => $_has(3); + @$pb.TagNumber(40) + void clearEntity() => $_clearField(40); + + @$pb.TagNumber(50) + $pb.PbList get inputFields => $_getList(4); + + @$pb.TagNumber(60) + MappingTableOutputField get outputField => $_getN(5); + @$pb.TagNumber(60) + set outputField(MappingTableOutputField value) => $_setField(60, value); + @$pb.TagNumber(60) + $core.bool hasOutputField() => $_has(5); + @$pb.TagNumber(60) + void clearOutputField() => $_clearField(60); + @$pb.TagNumber(60) + MappingTableOutputField ensureOutputField() => $_ensure(5); + + @$pb.TagNumber(70) + $pb.PbList get entries => $_getList(6); +} + +class MappingTableInputDescription extends $pb.GeneratedMessage { + factory MappingTableInputDescription({ + $core.String? field_1, + MappingTableInputDescriptionGranularity? granularity, + }) { + final result = create(); + if (field_1 != null) result.field_1 = field_1; + if (granularity != null) result.granularity = granularity; + return result; + } + + MappingTableInputDescription._(); + + factory MappingTableInputDescription.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory MappingTableInputDescription.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MappingTableInputDescription', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Field', protoName: 'Field') + ..e(2, _omitFieldNames ? '' : 'Granularity', $pb.PbFieldType.OE, protoName: 'Granularity', defaultOrMaker: MappingTableInputDescriptionGranularity.MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_UNKNOWN, valueOf: MappingTableInputDescriptionGranularity.valueOf, enumValues: MappingTableInputDescriptionGranularity.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MappingTableInputDescription clone() => MappingTableInputDescription()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MappingTableInputDescription copyWith(void Function(MappingTableInputDescription) updates) => super.copyWith((message) => updates(message as MappingTableInputDescription)) as MappingTableInputDescription; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MappingTableInputDescription create() => MappingTableInputDescription._(); + @$core.override + MappingTableInputDescription createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MappingTableInputDescription getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MappingTableInputDescription? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get field_1 => $_getSZ(0); + @$pb.TagNumber(1) + set field_1($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasField_1() => $_has(0); + @$pb.TagNumber(1) + void clearField_1() => $_clearField(1); + + @$pb.TagNumber(2) + MappingTableInputDescriptionGranularity get granularity => $_getN(1); + @$pb.TagNumber(2) + set granularity(MappingTableInputDescriptionGranularity value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasGranularity() => $_has(1); + @$pb.TagNumber(2) + void clearGranularity() => $_clearField(2); +} + +class MappingTableEntry extends $pb.GeneratedMessage { + factory MappingTableEntry({ + $core.Iterable? inputs, + EngineRuleLiteral? outputValue, + }) { + final result = create(); + if (inputs != null) result.inputs.addAll(inputs); + if (outputValue != null) result.outputValue = outputValue; + return result; + } + + MappingTableEntry._(); + + factory MappingTableEntry.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory MappingTableEntry.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MappingTableEntry', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'Inputs', $pb.PbFieldType.PM, protoName: 'Inputs', subBuilder: MappingTableInput.create) + ..aOM(2, _omitFieldNames ? '' : 'OutputValue', protoName: 'OutputValue', subBuilder: EngineRuleLiteral.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MappingTableEntry clone() => MappingTableEntry()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MappingTableEntry copyWith(void Function(MappingTableEntry) updates) => super.copyWith((message) => updates(message as MappingTableEntry)) as MappingTableEntry; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MappingTableEntry create() => MappingTableEntry._(); + @$core.override + MappingTableEntry createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MappingTableEntry getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MappingTableEntry? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get inputs => $_getList(0); + + @$pb.TagNumber(2) + EngineRuleLiteral get outputValue => $_getN(1); + @$pb.TagNumber(2) + set outputValue(EngineRuleLiteral value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasOutputValue() => $_has(1); + @$pb.TagNumber(2) + void clearOutputValue() => $_clearField(2); + @$pb.TagNumber(2) + EngineRuleLiteral ensureOutputValue() => $_ensure(1); +} + +enum MappingTableInput_Value { + literal, + allValuesMatch, + notSet +} + +class MappingTableInput extends $pb.GeneratedMessage { + factory MappingTableInput({ + $core.String? field_10, + EngineRuleLiteral? literal, + $core.bool? allValuesMatch, + MappingTableInputOperator? operator, + }) { + final result = create(); + if (field_10 != null) result.field_10 = field_10; + if (literal != null) result.literal = literal; + if (allValuesMatch != null) result.allValuesMatch = allValuesMatch; + if (operator != null) result.operator = operator; + return result; + } + + MappingTableInput._(); + + factory MappingTableInput.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory MappingTableInput.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static const $core.Map<$core.int, MappingTableInput_Value> _MappingTableInput_ValueByTag = { + 20 : MappingTableInput_Value.literal, + 21 : MappingTableInput_Value.allValuesMatch, + 0 : MappingTableInput_Value.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MappingTableInput', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..oo(0, [20, 21]) + ..aOS(10, _omitFieldNames ? '' : 'Field', protoName: 'Field') + ..aOM(20, _omitFieldNames ? '' : 'Literal', protoName: 'Literal', subBuilder: EngineRuleLiteral.create) + ..aOB(21, _omitFieldNames ? '' : 'AllValuesMatch', protoName: 'AllValuesMatch') + ..e(30, _omitFieldNames ? '' : 'Operator', $pb.PbFieldType.OE, protoName: 'Operator', defaultOrMaker: MappingTableInputOperator.MAPPING_TABLE_INPUT_OPERATOR_UNKNOWN, valueOf: MappingTableInputOperator.valueOf, enumValues: MappingTableInputOperator.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MappingTableInput clone() => MappingTableInput()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MappingTableInput copyWith(void Function(MappingTableInput) updates) => super.copyWith((message) => updates(message as MappingTableInput)) as MappingTableInput; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MappingTableInput create() => MappingTableInput._(); + @$core.override + MappingTableInput createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MappingTableInput getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MappingTableInput? _defaultInstance; + + MappingTableInput_Value whichValue() => _MappingTableInput_ValueByTag[$_whichOneof(0)]!; + void clearValue() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(10) + $core.String get field_10 => $_getSZ(0); + @$pb.TagNumber(10) + set field_10($core.String value) => $_setString(0, value); + @$pb.TagNumber(10) + $core.bool hasField_10() => $_has(0); + @$pb.TagNumber(10) + void clearField_10() => $_clearField(10); + + @$pb.TagNumber(20) + EngineRuleLiteral get literal => $_getN(1); + @$pb.TagNumber(20) + set literal(EngineRuleLiteral value) => $_setField(20, value); + @$pb.TagNumber(20) + $core.bool hasLiteral() => $_has(1); + @$pb.TagNumber(20) + void clearLiteral() => $_clearField(20); + @$pb.TagNumber(20) + EngineRuleLiteral ensureLiteral() => $_ensure(1); + + @$pb.TagNumber(21) + $core.bool get allValuesMatch => $_getBF(2); + @$pb.TagNumber(21) + set allValuesMatch($core.bool value) => $_setBool(2, value); + @$pb.TagNumber(21) + $core.bool hasAllValuesMatch() => $_has(2); + @$pb.TagNumber(21) + void clearAllValuesMatch() => $_clearField(21); + + @$pb.TagNumber(30) + MappingTableInputOperator get operator => $_getN(3); + @$pb.TagNumber(30) + set operator(MappingTableInputOperator value) => $_setField(30, value); + @$pb.TagNumber(30) + $core.bool hasOperator() => $_has(3); + @$pb.TagNumber(30) + void clearOperator() => $_clearField(30); +} + +class MappingTableOutputField extends $pb.GeneratedMessage { + factory MappingTableOutputField({ + $core.String? label, + MappingTableOutputFieldType? type, + }) { + final result = create(); + if (label != null) result.label = label; + if (type != null) result.type = type; + return result; + } + + MappingTableOutputField._(); + + factory MappingTableOutputField.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory MappingTableOutputField.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'MappingTableOutputField', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'Label', protoName: 'Label') + ..e(2, _omitFieldNames ? '' : 'Type', $pb.PbFieldType.OE, protoName: 'Type', defaultOrMaker: MappingTableOutputFieldType.MAPPING_TABLE_OUTPUT_FIELD_TYPE_UNKNOWN, valueOf: MappingTableOutputFieldType.valueOf, enumValues: MappingTableOutputFieldType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MappingTableOutputField clone() => MappingTableOutputField()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + MappingTableOutputField copyWith(void Function(MappingTableOutputField) updates) => super.copyWith((message) => updates(message as MappingTableOutputField)) as MappingTableOutputField; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static MappingTableOutputField create() => MappingTableOutputField._(); + @$core.override + MappingTableOutputField createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static MappingTableOutputField getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static MappingTableOutputField? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get label => $_getSZ(0); + @$pb.TagNumber(1) + set label($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasLabel() => $_has(0); + @$pb.TagNumber(1) + void clearLabel() => $_clearField(1); + + @$pb.TagNumber(2) + MappingTableOutputFieldType get type => $_getN(1); + @$pb.TagNumber(2) + set type(MappingTableOutputFieldType value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasType() => $_has(1); + @$pb.TagNumber(2) + void clearType() => $_clearField(2); +} + + +const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/ruleEngine_model.pbenum.dart b/lib/ruleEngine_model.pbenum.dart new file mode 100644 index 00000000..de55446d --- /dev/null +++ b/lib/ruleEngine_model.pbenum.dart @@ -0,0 +1,346 @@ +// This is a generated file - do not edit. +// +// Generated from ruleEngine_model.proto. + +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +class EngineRuleValidityType extends $pb.ProtobufEnum { + static const EngineRuleValidityType ENGINE_RULE_VALIDITY_TYPE_UNKNOWN = EngineRuleValidityType._(0, _omitEnumNames ? '' : 'ENGINE_RULE_VALIDITY_TYPE_UNKNOWN'); + static const EngineRuleValidityType ENGINE_RULE_VALIDITY_TYPE_INDEFINITE = EngineRuleValidityType._(1, _omitEnumNames ? '' : 'ENGINE_RULE_VALIDITY_TYPE_INDEFINITE'); + static const EngineRuleValidityType ENGINE_RULE_VALIDITY_TYPE_DATE_RANGE = EngineRuleValidityType._(2, _omitEnumNames ? '' : 'ENGINE_RULE_VALIDITY_TYPE_DATE_RANGE'); + + static const $core.List values = [ + ENGINE_RULE_VALIDITY_TYPE_UNKNOWN, + ENGINE_RULE_VALIDITY_TYPE_INDEFINITE, + ENGINE_RULE_VALIDITY_TYPE_DATE_RANGE, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static EngineRuleValidityType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const EngineRuleValidityType._(super.value, super.name); +} + +/// Note ByDay + AtTime combine to express things like "every Monday and +/// Tuesday at 23:59:00": Frequency = WEEKLY, ByDay = [MONDAY, TUESDAY], +/// AtTime = "23:59:00". This is already supported by the fields above. +class RuleRecurrenceFrequency extends $pb.ProtobufEnum { + static const RuleRecurrenceFrequency RULE_RECURRENCE_FREQUENCY_UNKNOWN = RuleRecurrenceFrequency._(0, _omitEnumNames ? '' : 'RULE_RECURRENCE_FREQUENCY_UNKNOWN'); + static const RuleRecurrenceFrequency RULE_RECURRENCE_FREQUENCY_MINUTELY = RuleRecurrenceFrequency._(5, _omitEnumNames ? '' : 'RULE_RECURRENCE_FREQUENCY_MINUTELY'); + static const RuleRecurrenceFrequency RULE_RECURRENCE_FREQUENCY_DAILY = RuleRecurrenceFrequency._(1, _omitEnumNames ? '' : 'RULE_RECURRENCE_FREQUENCY_DAILY'); + static const RuleRecurrenceFrequency RULE_RECURRENCE_FREQUENCY_WEEKLY = RuleRecurrenceFrequency._(2, _omitEnumNames ? '' : 'RULE_RECURRENCE_FREQUENCY_WEEKLY'); + static const RuleRecurrenceFrequency RULE_RECURRENCE_FREQUENCY_MONTHLY = RuleRecurrenceFrequency._(3, _omitEnumNames ? '' : 'RULE_RECURRENCE_FREQUENCY_MONTHLY'); + static const RuleRecurrenceFrequency RULE_RECURRENCE_FREQUENCY_YEARLY = RuleRecurrenceFrequency._(4, _omitEnumNames ? '' : 'RULE_RECURRENCE_FREQUENCY_YEARLY'); + + static const $core.List values = [ + RULE_RECURRENCE_FREQUENCY_UNKNOWN, + RULE_RECURRENCE_FREQUENCY_MINUTELY, + RULE_RECURRENCE_FREQUENCY_DAILY, + RULE_RECURRENCE_FREQUENCY_WEEKLY, + RULE_RECURRENCE_FREQUENCY_MONTHLY, + RULE_RECURRENCE_FREQUENCY_YEARLY, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 5); + static RuleRecurrenceFrequency? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const RuleRecurrenceFrequency._(super.value, super.name); +} + +class EngineRuleTriggerType extends $pb.ProtobufEnum { + static const EngineRuleTriggerType ENGINE_RULE_TRIGGER_TYPE_UNKNOWN = EngineRuleTriggerType._(0, _omitEnumNames ? '' : 'ENGINE_RULE_TRIGGER_TYPE_UNKNOWN'); + static const EngineRuleTriggerType ENGINE_RULE_TRIGGER_TYPE_SCHEDULED = EngineRuleTriggerType._(1, _omitEnumNames ? '' : 'ENGINE_RULE_TRIGGER_TYPE_SCHEDULED'); + static const EngineRuleTriggerType ENGINE_RULE_TRIGGER_TYPE_EVENT = EngineRuleTriggerType._(2, _omitEnumNames ? '' : 'ENGINE_RULE_TRIGGER_TYPE_EVENT'); + static const EngineRuleTriggerType ENGINE_RULE_TRIGGER_TYPE_MILESTONE = EngineRuleTriggerType._(3, _omitEnumNames ? '' : 'ENGINE_RULE_TRIGGER_TYPE_MILESTONE'); + + static const $core.List values = [ + ENGINE_RULE_TRIGGER_TYPE_UNKNOWN, + ENGINE_RULE_TRIGGER_TYPE_SCHEDULED, + ENGINE_RULE_TRIGGER_TYPE_EVENT, + ENGINE_RULE_TRIGGER_TYPE_MILESTONE, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); + static EngineRuleTriggerType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const EngineRuleTriggerType._(super.value, super.name); +} + +/// Logical quantifiers for collection conditions. +class EngineRuleConditionQuantifier extends $pb.ProtobufEnum { + static const EngineRuleConditionQuantifier RULE_CONDITION_QUANTIFIER_UNKNOWN = EngineRuleConditionQuantifier._(0, _omitEnumNames ? '' : 'RULE_CONDITION_QUANTIFIER_UNKNOWN'); + static const EngineRuleConditionQuantifier RULE_CONDITION_QUANTIFIER_ALL = EngineRuleConditionQuantifier._(1, _omitEnumNames ? '' : 'RULE_CONDITION_QUANTIFIER_ALL'); + static const EngineRuleConditionQuantifier RULE_CONDITION_QUANTIFIER_ANY = EngineRuleConditionQuantifier._(2, _omitEnumNames ? '' : 'RULE_CONDITION_QUANTIFIER_ANY'); + static const EngineRuleConditionQuantifier RULE_CONDITION_QUANTIFIER_NONE = EngineRuleConditionQuantifier._(3, _omitEnumNames ? '' : 'RULE_CONDITION_QUANTIFIER_NONE'); + + static const $core.List values = [ + RULE_CONDITION_QUANTIFIER_UNKNOWN, + RULE_CONDITION_QUANTIFIER_ALL, + RULE_CONDITION_QUANTIFIER_ANY, + RULE_CONDITION_QUANTIFIER_NONE, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); + static EngineRuleConditionQuantifier? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const EngineRuleConditionQuantifier._(super.value, super.name); +} + +class EngineRuleConditionAggregateFunction extends $pb.ProtobufEnum { + static const EngineRuleConditionAggregateFunction RULE_CONDITION_AGGREGATE_FUNCTION_UNKNOWN = EngineRuleConditionAggregateFunction._(0, _omitEnumNames ? '' : 'RULE_CONDITION_AGGREGATE_FUNCTION_UNKNOWN'); + static const EngineRuleConditionAggregateFunction RULE_CONDITION_AGGREGATE_FUNCTION_SUM = EngineRuleConditionAggregateFunction._(1, _omitEnumNames ? '' : 'RULE_CONDITION_AGGREGATE_FUNCTION_SUM'); + static const EngineRuleConditionAggregateFunction RULE_CONDITION_AGGREGATE_FUNCTION_COUNT = EngineRuleConditionAggregateFunction._(2, _omitEnumNames ? '' : 'RULE_CONDITION_AGGREGATE_FUNCTION_COUNT'); + static const EngineRuleConditionAggregateFunction RULE_CONDITION_AGGREGATE_FUNCTION_AVG = EngineRuleConditionAggregateFunction._(3, _omitEnumNames ? '' : 'RULE_CONDITION_AGGREGATE_FUNCTION_AVG'); + static const EngineRuleConditionAggregateFunction RULE_CONDITION_AGGREGATE_FUNCTION_MIN = EngineRuleConditionAggregateFunction._(4, _omitEnumNames ? '' : 'RULE_CONDITION_AGGREGATE_FUNCTION_MIN'); + static const EngineRuleConditionAggregateFunction RULE_CONDITION_AGGREGATE_FUNCTION_MAX = EngineRuleConditionAggregateFunction._(5, _omitEnumNames ? '' : 'RULE_CONDITION_AGGREGATE_FUNCTION_MAX'); + + static const $core.List values = [ + RULE_CONDITION_AGGREGATE_FUNCTION_UNKNOWN, + RULE_CONDITION_AGGREGATE_FUNCTION_SUM, + RULE_CONDITION_AGGREGATE_FUNCTION_COUNT, + RULE_CONDITION_AGGREGATE_FUNCTION_AVG, + RULE_CONDITION_AGGREGATE_FUNCTION_MIN, + RULE_CONDITION_AGGREGATE_FUNCTION_MAX, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 5); + static EngineRuleConditionAggregateFunction? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const EngineRuleConditionAggregateFunction._(super.value, super.name); +} + +class EngineRuleConditionOperator extends $pb.ProtobufEnum { + static const EngineRuleConditionOperator RULE_CONDITION_OPERATOR_UNKNOWN = EngineRuleConditionOperator._(0, _omitEnumNames ? '' : 'RULE_CONDITION_OPERATOR_UNKNOWN'); + static const EngineRuleConditionOperator RULE_CONDITION_OPERATOR_EQUALS = EngineRuleConditionOperator._(1, _omitEnumNames ? '' : 'RULE_CONDITION_OPERATOR_EQUALS'); + static const EngineRuleConditionOperator RULE_CONDITION_OPERATOR_NOT_EQUALS = EngineRuleConditionOperator._(2, _omitEnumNames ? '' : 'RULE_CONDITION_OPERATOR_NOT_EQUALS'); + static const EngineRuleConditionOperator RULE_CONDITION_OPERATOR_GREATER_THAN = EngineRuleConditionOperator._(3, _omitEnumNames ? '' : 'RULE_CONDITION_OPERATOR_GREATER_THAN'); + static const EngineRuleConditionOperator RULE_CONDITION_OPERATOR_LESS_THAN = EngineRuleConditionOperator._(4, _omitEnumNames ? '' : 'RULE_CONDITION_OPERATOR_LESS_THAN'); + static const EngineRuleConditionOperator RULE_CONDITION_OPERATOR_GREATER_OR_EQUALS = EngineRuleConditionOperator._(5, _omitEnumNames ? '' : 'RULE_CONDITION_OPERATOR_GREATER_OR_EQUALS'); + static const EngineRuleConditionOperator RULE_CONDITION_OPERATOR_LESS_OR_EQUALS = EngineRuleConditionOperator._(6, _omitEnumNames ? '' : 'RULE_CONDITION_OPERATOR_LESS_OR_EQUALS'); + static const EngineRuleConditionOperator RULE_CONDITION_OPERATOR_IN = EngineRuleConditionOperator._(7, _omitEnumNames ? '' : 'RULE_CONDITION_OPERATOR_IN'); + + static const $core.List values = [ + RULE_CONDITION_OPERATOR_UNKNOWN, + RULE_CONDITION_OPERATOR_EQUALS, + RULE_CONDITION_OPERATOR_NOT_EQUALS, + RULE_CONDITION_OPERATOR_GREATER_THAN, + RULE_CONDITION_OPERATOR_LESS_THAN, + RULE_CONDITION_OPERATOR_GREATER_OR_EQUALS, + RULE_CONDITION_OPERATOR_LESS_OR_EQUALS, + RULE_CONDITION_OPERATOR_IN, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 7); + static EngineRuleConditionOperator? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const EngineRuleConditionOperator._(super.value, super.name); +} + +class EngineRuleFieldRefScope extends $pb.ProtobufEnum { + static const EngineRuleFieldRefScope ENGINE_RULE_FIELD_REF_SCOPE_UNKNOWN = EngineRuleFieldRefScope._(0, _omitEnumNames ? '' : 'ENGINE_RULE_FIELD_REF_SCOPE_UNKNOWN'); + static const EngineRuleFieldRefScope ENGINE_RULE_FIELD_REF_SCOPE_ABSOLUTE = EngineRuleFieldRefScope._(1, _omitEnumNames ? '' : 'ENGINE_RULE_FIELD_REF_SCOPE_ABSOLUTE'); + static const EngineRuleFieldRefScope ENGINE_RULE_FIELD_REF_SCOPE_ELEMENT = EngineRuleFieldRefScope._(2, _omitEnumNames ? '' : 'ENGINE_RULE_FIELD_REF_SCOPE_ELEMENT'); + + static const $core.List values = [ + ENGINE_RULE_FIELD_REF_SCOPE_UNKNOWN, + ENGINE_RULE_FIELD_REF_SCOPE_ABSOLUTE, + ENGINE_RULE_FIELD_REF_SCOPE_ELEMENT, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static EngineRuleFieldRefScope? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const EngineRuleFieldRefScope._(super.value, super.name); +} + +class ComputationDueDateComputationType extends $pb.ProtobufEnum { + static const ComputationDueDateComputationType COMPUTATION_DUE_DATE_COMPUTATION_TYPE_UNKNOWN = ComputationDueDateComputationType._(0, _omitEnumNames ? '' : 'COMPUTATION_DUE_DATE_COMPUTATION_TYPE_UNKNOWN'); + static const ComputationDueDateComputationType COMPUTATION_DUE_DATE_COMPUTATION_TYPE_ADD = ComputationDueDateComputationType._(1, _omitEnumNames ? '' : 'COMPUTATION_DUE_DATE_COMPUTATION_TYPE_ADD'); + static const ComputationDueDateComputationType COMPUTATION_DUE_DATE_COMPUTATION_TYPE_SUBTRACT = ComputationDueDateComputationType._(2, _omitEnumNames ? '' : 'COMPUTATION_DUE_DATE_COMPUTATION_TYPE_SUBTRACT'); + + static const $core.List values = [ + COMPUTATION_DUE_DATE_COMPUTATION_TYPE_UNKNOWN, + COMPUTATION_DUE_DATE_COMPUTATION_TYPE_ADD, + COMPUTATION_DUE_DATE_COMPUTATION_TYPE_SUBTRACT, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static ComputationDueDateComputationType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const ComputationDueDateComputationType._(super.value, super.name); +} + +class DurationFormat extends $pb.ProtobufEnum { + static const DurationFormat DURATION_FORMAT_UNKNOWN = DurationFormat._(0, _omitEnumNames ? '' : 'DURATION_FORMAT_UNKNOWN'); + static const DurationFormat DURATION_FORMAT_MINUTES = DurationFormat._(10, _omitEnumNames ? '' : 'DURATION_FORMAT_MINUTES'); + static const DurationFormat DURATION_FORMAT_WORKING_MINUTES = DurationFormat._(11, _omitEnumNames ? '' : 'DURATION_FORMAT_WORKING_MINUTES'); + static const DurationFormat DURATION_FORMAT_HOURS = DurationFormat._(20, _omitEnumNames ? '' : 'DURATION_FORMAT_HOURS'); + static const DurationFormat DURATION_FORMAT_WORKING_HOURS = DurationFormat._(21, _omitEnumNames ? '' : 'DURATION_FORMAT_WORKING_HOURS'); + static const DurationFormat DURATION_FORMAT_DAYS = DurationFormat._(30, _omitEnumNames ? '' : 'DURATION_FORMAT_DAYS'); + static const DurationFormat DURATION_FORMAT_WORKING_DAYS = DurationFormat._(31, _omitEnumNames ? '' : 'DURATION_FORMAT_WORKING_DAYS'); + + static const $core.List values = [ + DURATION_FORMAT_UNKNOWN, + DURATION_FORMAT_MINUTES, + DURATION_FORMAT_WORKING_MINUTES, + DURATION_FORMAT_HOURS, + DURATION_FORMAT_WORKING_HOURS, + DURATION_FORMAT_DAYS, + DURATION_FORMAT_WORKING_DAYS, + ]; + + static final $core.Map<$core.int, DurationFormat> _byValue = $pb.ProtobufEnum.initByValue(values); + static DurationFormat? valueOf($core.int value) => _byValue[value]; + + const DurationFormat._(super.value, super.name); +} + +class DurationRounding extends $pb.ProtobufEnum { + static const DurationRounding DURATION_ROUNDING_UNKNOWN = DurationRounding._(0, _omitEnumNames ? '' : 'DURATION_ROUNDING_UNKNOWN'); + static const DurationRounding DURATION_ROUNDING_UP = DurationRounding._(1, _omitEnumNames ? '' : 'DURATION_ROUNDING_UP'); + static const DurationRounding DURATION_ROUNDING_DOWN = DurationRounding._(2, _omitEnumNames ? '' : 'DURATION_ROUNDING_DOWN'); + static const DurationRounding DURATION_ROUNDING_FIXED_HOUR = DurationRounding._(3, _omitEnumNames ? '' : 'DURATION_ROUNDING_FIXED_HOUR'); + + static const $core.List values = [ + DURATION_ROUNDING_UNKNOWN, + DURATION_ROUNDING_UP, + DURATION_ROUNDING_DOWN, + DURATION_ROUNDING_FIXED_HOUR, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); + static DurationRounding? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const DurationRounding._(super.value, super.name); +} + +class ComputationCustomFunctionOperator extends $pb.ProtobufEnum { + static const ComputationCustomFunctionOperator COMPUTATION_CUSTOM_FUNCTION_OPERATOR_UNKNOWN = ComputationCustomFunctionOperator._(0, _omitEnumNames ? '' : 'COMPUTATION_CUSTOM_FUNCTION_OPERATOR_UNKNOWN'); + static const ComputationCustomFunctionOperator COMPUTATION_CUSTOM_FUNCTION_OPERATOR_ADD = ComputationCustomFunctionOperator._(1, _omitEnumNames ? '' : 'COMPUTATION_CUSTOM_FUNCTION_OPERATOR_ADD'); + static const ComputationCustomFunctionOperator COMPUTATION_CUSTOM_FUNCTION_OPERATOR_SUBTRACT = ComputationCustomFunctionOperator._(2, _omitEnumNames ? '' : 'COMPUTATION_CUSTOM_FUNCTION_OPERATOR_SUBTRACT'); + static const ComputationCustomFunctionOperator COMPUTATION_CUSTOM_FUNCTION_OPERATOR_MULTIPLY = ComputationCustomFunctionOperator._(3, _omitEnumNames ? '' : 'COMPUTATION_CUSTOM_FUNCTION_OPERATOR_MULTIPLY'); + static const ComputationCustomFunctionOperator COMPUTATION_CUSTOM_FUNCTION_OPERATOR_DIVIDE = ComputationCustomFunctionOperator._(4, _omitEnumNames ? '' : 'COMPUTATION_CUSTOM_FUNCTION_OPERATOR_DIVIDE'); + + static const $core.List values = [ + COMPUTATION_CUSTOM_FUNCTION_OPERATOR_UNKNOWN, + COMPUTATION_CUSTOM_FUNCTION_OPERATOR_ADD, + COMPUTATION_CUSTOM_FUNCTION_OPERATOR_SUBTRACT, + COMPUTATION_CUSTOM_FUNCTION_OPERATOR_MULTIPLY, + COMPUTATION_CUSTOM_FUNCTION_OPERATOR_DIVIDE, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 4); + static ComputationCustomFunctionOperator? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const ComputationCustomFunctionOperator._(super.value, super.name); +} + +class CustomFunctionFormat extends $pb.ProtobufEnum { + static const CustomFunctionFormat CUSTOM_FUNCTION_FORMAT_UNKNOWN = CustomFunctionFormat._(0, _omitEnumNames ? '' : 'CUSTOM_FUNCTION_FORMAT_UNKNOWN'); + static const CustomFunctionFormat CUSTOM_FUNCTION_FORMAT_NUMERIC = CustomFunctionFormat._(1, _omitEnumNames ? '' : 'CUSTOM_FUNCTION_FORMAT_NUMERIC'); + static const CustomFunctionFormat CUSTOM_FUNCTION_FORMAT_PERCENTAGE = CustomFunctionFormat._(2, _omitEnumNames ? '' : 'CUSTOM_FUNCTION_FORMAT_PERCENTAGE'); + + static const $core.List values = [ + CUSTOM_FUNCTION_FORMAT_UNKNOWN, + CUSTOM_FUNCTION_FORMAT_NUMERIC, + CUSTOM_FUNCTION_FORMAT_PERCENTAGE, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static CustomFunctionFormat? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const CustomFunctionFormat._(super.value, super.name); +} + +class CustomFunctionRounding extends $pb.ProtobufEnum { + static const CustomFunctionRounding CUSTOM_FUNCTION_ROUNDING_UNKNOWN = CustomFunctionRounding._(0, _omitEnumNames ? '' : 'CUSTOM_FUNCTION_ROUNDING_UNKNOWN'); + static const CustomFunctionRounding CUSTOM_FUNCTION_ROUNDING_UP = CustomFunctionRounding._(1, _omitEnumNames ? '' : 'CUSTOM_FUNCTION_ROUNDING_UP'); + static const CustomFunctionRounding CUSTOM_FUNCTION_ROUNDING_DOWN = CustomFunctionRounding._(2, _omitEnumNames ? '' : 'CUSTOM_FUNCTION_ROUNDING_DOWN'); + + static const $core.List values = [ + CUSTOM_FUNCTION_ROUNDING_UNKNOWN, + CUSTOM_FUNCTION_ROUNDING_UP, + CUSTOM_FUNCTION_ROUNDING_DOWN, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 2); + static CustomFunctionRounding? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const CustomFunctionRounding._(super.value, super.name); +} + +class MappingTableInputDescriptionGranularity extends $pb.ProtobufEnum { + static const MappingTableInputDescriptionGranularity MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_UNKNOWN = MappingTableInputDescriptionGranularity._(0, _omitEnumNames ? '' : 'MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_UNKNOWN'); + static const MappingTableInputDescriptionGranularity MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_HOUR = MappingTableInputDescriptionGranularity._(1, _omitEnumNames ? '' : 'MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_HOUR'); + static const MappingTableInputDescriptionGranularity MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_DATE = MappingTableInputDescriptionGranularity._(2, _omitEnumNames ? '' : 'MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_DATE'); + static const MappingTableInputDescriptionGranularity MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_HOUR_AND_DATE = MappingTableInputDescriptionGranularity._(3, _omitEnumNames ? '' : 'MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_HOUR_AND_DATE'); + + static const $core.List values = [ + MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_UNKNOWN, + MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_HOUR, + MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_DATE, + MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_HOUR_AND_DATE, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); + static MappingTableInputDescriptionGranularity? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const MappingTableInputDescriptionGranularity._(super.value, super.name); +} + +class MappingTableInputOperator extends $pb.ProtobufEnum { + static const MappingTableInputOperator MAPPING_TABLE_INPUT_OPERATOR_UNKNOWN = MappingTableInputOperator._(0, _omitEnumNames ? '' : 'MAPPING_TABLE_INPUT_OPERATOR_UNKNOWN'); + static const MappingTableInputOperator MAPPING_TABLE_INPUT_OPERATOR_EQUALS = MappingTableInputOperator._(1, _omitEnumNames ? '' : 'MAPPING_TABLE_INPUT_OPERATOR_EQUALS'); + static const MappingTableInputOperator MAPPING_TABLE_INPUT_OPERATOR_NOT_EQUALS = MappingTableInputOperator._(2, _omitEnumNames ? '' : 'MAPPING_TABLE_INPUT_OPERATOR_NOT_EQUALS'); + static const MappingTableInputOperator MAPPING_TABLE_INPUT_OPERATOR_LESS_THAN = MappingTableInputOperator._(3, _omitEnumNames ? '' : 'MAPPING_TABLE_INPUT_OPERATOR_LESS_THAN'); + static const MappingTableInputOperator MAPPING_TABLE_INPUT_OPERATOR_LESS_OR_EQUALS = MappingTableInputOperator._(4, _omitEnumNames ? '' : 'MAPPING_TABLE_INPUT_OPERATOR_LESS_OR_EQUALS'); + static const MappingTableInputOperator MAPPING_TABLE_INPUT_OPERATOR_GREATER_THAN = MappingTableInputOperator._(5, _omitEnumNames ? '' : 'MAPPING_TABLE_INPUT_OPERATOR_GREATER_THAN'); + static const MappingTableInputOperator MAPPING_TABLE_INPUT_OPERATOR_GREATER_OR_EQUALS = MappingTableInputOperator._(6, _omitEnumNames ? '' : 'MAPPING_TABLE_INPUT_OPERATOR_GREATER_OR_EQUALS'); + + static const $core.List values = [ + MAPPING_TABLE_INPUT_OPERATOR_UNKNOWN, + MAPPING_TABLE_INPUT_OPERATOR_EQUALS, + MAPPING_TABLE_INPUT_OPERATOR_NOT_EQUALS, + MAPPING_TABLE_INPUT_OPERATOR_LESS_THAN, + MAPPING_TABLE_INPUT_OPERATOR_LESS_OR_EQUALS, + MAPPING_TABLE_INPUT_OPERATOR_GREATER_THAN, + MAPPING_TABLE_INPUT_OPERATOR_GREATER_OR_EQUALS, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 6); + static MappingTableInputOperator? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const MappingTableInputOperator._(super.value, super.name); +} + +class MappingTableOutputFieldType extends $pb.ProtobufEnum { + static const MappingTableOutputFieldType MAPPING_TABLE_OUTPUT_FIELD_TYPE_UNKNOWN = MappingTableOutputFieldType._(0, _omitEnumNames ? '' : 'MAPPING_TABLE_OUTPUT_FIELD_TYPE_UNKNOWN'); + static const MappingTableOutputFieldType MAPPING_TABLE_OUTPUT_FIELD_TYPE_INTEGER = MappingTableOutputFieldType._(1, _omitEnumNames ? '' : 'MAPPING_TABLE_OUTPUT_FIELD_TYPE_INTEGER'); + static const MappingTableOutputFieldType MAPPING_TABLE_OUTPUT_FIELD_TYPE_STRING = MappingTableOutputFieldType._(2, _omitEnumNames ? '' : 'MAPPING_TABLE_OUTPUT_FIELD_TYPE_STRING'); + static const MappingTableOutputFieldType MAPPING_TABLE_OUTPUT_FIELD_TYPE_BOOLEAN = MappingTableOutputFieldType._(3, _omitEnumNames ? '' : 'MAPPING_TABLE_OUTPUT_FIELD_TYPE_BOOLEAN'); + + static const $core.List values = [ + MAPPING_TABLE_OUTPUT_FIELD_TYPE_UNKNOWN, + MAPPING_TABLE_OUTPUT_FIELD_TYPE_INTEGER, + MAPPING_TABLE_OUTPUT_FIELD_TYPE_STRING, + MAPPING_TABLE_OUTPUT_FIELD_TYPE_BOOLEAN, + ]; + + static final $core.List _byValue = $pb.ProtobufEnum.$_initByValueList(values, 3); + static MappingTableOutputFieldType? valueOf($core.int value) => value < 0 || value >= _byValue.length ? null : _byValue[value]; + + const MappingTableOutputFieldType._(super.value, super.name); +} + + +const $core.bool _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/lib/ruleEngine_model.pbjson.dart b/lib/ruleEngine_model.pbjson.dart new file mode 100644 index 00000000..4e0e131a --- /dev/null +++ b/lib/ruleEngine_model.pbjson.dart @@ -0,0 +1,977 @@ +// This is a generated file - do not edit. +// +// Generated from ruleEngine_model.proto. + +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use engineRuleValidityTypeDescriptor instead') +const EngineRuleValidityType$json = { + '1': 'EngineRuleValidityType', + '2': [ + {'1': 'ENGINE_RULE_VALIDITY_TYPE_UNKNOWN', '2': 0}, + {'1': 'ENGINE_RULE_VALIDITY_TYPE_INDEFINITE', '2': 1}, + {'1': 'ENGINE_RULE_VALIDITY_TYPE_DATE_RANGE', '2': 2}, + ], +}; + +/// Descriptor for `EngineRuleValidityType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List engineRuleValidityTypeDescriptor = $convert.base64Decode( + 'ChZFbmdpbmVSdWxlVmFsaWRpdHlUeXBlEiUKIUVOR0lORV9SVUxFX1ZBTElESVRZX1RZUEVfVU' + '5LTk9XThAAEigKJEVOR0lORV9SVUxFX1ZBTElESVRZX1RZUEVfSU5ERUZJTklURRABEigKJEVO' + 'R0lORV9SVUxFX1ZBTElESVRZX1RZUEVfREFURV9SQU5HRRAC'); + +@$core.Deprecated('Use ruleRecurrenceFrequencyDescriptor instead') +const RuleRecurrenceFrequency$json = { + '1': 'RuleRecurrenceFrequency', + '2': [ + {'1': 'RULE_RECURRENCE_FREQUENCY_UNKNOWN', '2': 0}, + {'1': 'RULE_RECURRENCE_FREQUENCY_MINUTELY', '2': 5}, + {'1': 'RULE_RECURRENCE_FREQUENCY_DAILY', '2': 1}, + {'1': 'RULE_RECURRENCE_FREQUENCY_WEEKLY', '2': 2}, + {'1': 'RULE_RECURRENCE_FREQUENCY_MONTHLY', '2': 3}, + {'1': 'RULE_RECURRENCE_FREQUENCY_YEARLY', '2': 4}, + ], +}; + +/// Descriptor for `RuleRecurrenceFrequency`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List ruleRecurrenceFrequencyDescriptor = $convert.base64Decode( + 'ChdSdWxlUmVjdXJyZW5jZUZyZXF1ZW5jeRIlCiFSVUxFX1JFQ1VSUkVOQ0VfRlJFUVVFTkNZX1' + 'VOS05PV04QABImCiJSVUxFX1JFQ1VSUkVOQ0VfRlJFUVVFTkNZX01JTlVURUxZEAUSIwofUlVM' + 'RV9SRUNVUlJFTkNFX0ZSRVFVRU5DWV9EQUlMWRABEiQKIFJVTEVfUkVDVVJSRU5DRV9GUkVRVU' + 'VOQ1lfV0VFS0xZEAISJQohUlVMRV9SRUNVUlJFTkNFX0ZSRVFVRU5DWV9NT05USExZEAMSJAog' + 'UlVMRV9SRUNVUlJFTkNFX0ZSRVFVRU5DWV9ZRUFSTFkQBA=='); + +@$core.Deprecated('Use engineRuleTriggerTypeDescriptor instead') +const EngineRuleTriggerType$json = { + '1': 'EngineRuleTriggerType', + '2': [ + {'1': 'ENGINE_RULE_TRIGGER_TYPE_UNKNOWN', '2': 0}, + {'1': 'ENGINE_RULE_TRIGGER_TYPE_SCHEDULED', '2': 1}, + {'1': 'ENGINE_RULE_TRIGGER_TYPE_EVENT', '2': 2}, + {'1': 'ENGINE_RULE_TRIGGER_TYPE_MILESTONE', '2': 3}, + ], +}; + +/// Descriptor for `EngineRuleTriggerType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List engineRuleTriggerTypeDescriptor = $convert.base64Decode( + 'ChVFbmdpbmVSdWxlVHJpZ2dlclR5cGUSJAogRU5HSU5FX1JVTEVfVFJJR0dFUl9UWVBFX1VOS0' + '5PV04QABImCiJFTkdJTkVfUlVMRV9UUklHR0VSX1RZUEVfU0NIRURVTEVEEAESIgoeRU5HSU5F' + 'X1JVTEVfVFJJR0dFUl9UWVBFX0VWRU5UEAISJgoiRU5HSU5FX1JVTEVfVFJJR0dFUl9UWVBFX0' + '1JTEVTVE9ORRAD'); + +@$core.Deprecated('Use engineRuleConditionQuantifierDescriptor instead') +const EngineRuleConditionQuantifier$json = { + '1': 'EngineRuleConditionQuantifier', + '2': [ + {'1': 'RULE_CONDITION_QUANTIFIER_UNKNOWN', '2': 0}, + {'1': 'RULE_CONDITION_QUANTIFIER_ALL', '2': 1}, + {'1': 'RULE_CONDITION_QUANTIFIER_ANY', '2': 2}, + {'1': 'RULE_CONDITION_QUANTIFIER_NONE', '2': 3}, + ], +}; + +/// Descriptor for `EngineRuleConditionQuantifier`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List engineRuleConditionQuantifierDescriptor = $convert.base64Decode( + 'Ch1FbmdpbmVSdWxlQ29uZGl0aW9uUXVhbnRpZmllchIlCiFSVUxFX0NPTkRJVElPTl9RVUFOVE' + 'lGSUVSX1VOS05PV04QABIhCh1SVUxFX0NPTkRJVElPTl9RVUFOVElGSUVSX0FMTBABEiEKHVJV' + 'TEVfQ09ORElUSU9OX1FVQU5USUZJRVJfQU5ZEAISIgoeUlVMRV9DT05ESVRJT05fUVVBTlRJRk' + 'lFUl9OT05FEAM='); + +@$core.Deprecated('Use engineRuleConditionAggregateFunctionDescriptor instead') +const EngineRuleConditionAggregateFunction$json = { + '1': 'EngineRuleConditionAggregateFunction', + '2': [ + {'1': 'RULE_CONDITION_AGGREGATE_FUNCTION_UNKNOWN', '2': 0}, + {'1': 'RULE_CONDITION_AGGREGATE_FUNCTION_SUM', '2': 1}, + {'1': 'RULE_CONDITION_AGGREGATE_FUNCTION_COUNT', '2': 2}, + {'1': 'RULE_CONDITION_AGGREGATE_FUNCTION_AVG', '2': 3}, + {'1': 'RULE_CONDITION_AGGREGATE_FUNCTION_MIN', '2': 4}, + {'1': 'RULE_CONDITION_AGGREGATE_FUNCTION_MAX', '2': 5}, + ], +}; + +/// Descriptor for `EngineRuleConditionAggregateFunction`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List engineRuleConditionAggregateFunctionDescriptor = $convert.base64Decode( + 'CiRFbmdpbmVSdWxlQ29uZGl0aW9uQWdncmVnYXRlRnVuY3Rpb24SLQopUlVMRV9DT05ESVRJT0' + '5fQUdHUkVHQVRFX0ZVTkNUSU9OX1VOS05PV04QABIpCiVSVUxFX0NPTkRJVElPTl9BR0dSRUdB' + 'VEVfRlVOQ1RJT05fU1VNEAESKwonUlVMRV9DT05ESVRJT05fQUdHUkVHQVRFX0ZVTkNUSU9OX0' + 'NPVU5UEAISKQolUlVMRV9DT05ESVRJT05fQUdHUkVHQVRFX0ZVTkNUSU9OX0FWRxADEikKJVJV' + 'TEVfQ09ORElUSU9OX0FHR1JFR0FURV9GVU5DVElPTl9NSU4QBBIpCiVSVUxFX0NPTkRJVElPTl' + '9BR0dSRUdBVEVfRlVOQ1RJT05fTUFYEAU='); + +@$core.Deprecated('Use engineRuleConditionOperatorDescriptor instead') +const EngineRuleConditionOperator$json = { + '1': 'EngineRuleConditionOperator', + '2': [ + {'1': 'RULE_CONDITION_OPERATOR_UNKNOWN', '2': 0}, + {'1': 'RULE_CONDITION_OPERATOR_EQUALS', '2': 1}, + {'1': 'RULE_CONDITION_OPERATOR_NOT_EQUALS', '2': 2}, + {'1': 'RULE_CONDITION_OPERATOR_GREATER_THAN', '2': 3}, + {'1': 'RULE_CONDITION_OPERATOR_LESS_THAN', '2': 4}, + {'1': 'RULE_CONDITION_OPERATOR_GREATER_OR_EQUALS', '2': 5}, + {'1': 'RULE_CONDITION_OPERATOR_LESS_OR_EQUALS', '2': 6}, + {'1': 'RULE_CONDITION_OPERATOR_IN', '2': 7}, + ], +}; + +/// Descriptor for `EngineRuleConditionOperator`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List engineRuleConditionOperatorDescriptor = $convert.base64Decode( + 'ChtFbmdpbmVSdWxlQ29uZGl0aW9uT3BlcmF0b3ISIwofUlVMRV9DT05ESVRJT05fT1BFUkFUT1' + 'JfVU5LTk9XThAAEiIKHlJVTEVfQ09ORElUSU9OX09QRVJBVE9SX0VRVUFMUxABEiYKIlJVTEVf' + 'Q09ORElUSU9OX09QRVJBVE9SX05PVF9FUVVBTFMQAhIoCiRSVUxFX0NPTkRJVElPTl9PUEVSQV' + 'RPUl9HUkVBVEVSX1RIQU4QAxIlCiFSVUxFX0NPTkRJVElPTl9PUEVSQVRPUl9MRVNTX1RIQU4Q' + 'BBItCilSVUxFX0NPTkRJVElPTl9PUEVSQVRPUl9HUkVBVEVSX09SX0VRVUFMUxAFEioKJlJVTE' + 'VfQ09ORElUSU9OX09QRVJBVE9SX0xFU1NfT1JfRVFVQUxTEAYSHgoaUlVMRV9DT05ESVRJT05f' + 'T1BFUkFUT1JfSU4QBw=='); + +@$core.Deprecated('Use engineRuleFieldRefScopeDescriptor instead') +const EngineRuleFieldRefScope$json = { + '1': 'EngineRuleFieldRefScope', + '2': [ + {'1': 'ENGINE_RULE_FIELD_REF_SCOPE_UNKNOWN', '2': 0}, + {'1': 'ENGINE_RULE_FIELD_REF_SCOPE_ABSOLUTE', '2': 1}, + {'1': 'ENGINE_RULE_FIELD_REF_SCOPE_ELEMENT', '2': 2}, + ], +}; + +/// Descriptor for `EngineRuleFieldRefScope`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List engineRuleFieldRefScopeDescriptor = $convert.base64Decode( + 'ChdFbmdpbmVSdWxlRmllbGRSZWZTY29wZRInCiNFTkdJTkVfUlVMRV9GSUVMRF9SRUZfU0NPUE' + 'VfVU5LTk9XThAAEigKJEVOR0lORV9SVUxFX0ZJRUxEX1JFRl9TQ09QRV9BQlNPTFVURRABEicK' + 'I0VOR0lORV9SVUxFX0ZJRUxEX1JFRl9TQ09QRV9FTEVNRU5UEAI='); + +@$core.Deprecated('Use computationDueDateComputationTypeDescriptor instead') +const ComputationDueDateComputationType$json = { + '1': 'ComputationDueDateComputationType', + '2': [ + {'1': 'COMPUTATION_DUE_DATE_COMPUTATION_TYPE_UNKNOWN', '2': 0}, + {'1': 'COMPUTATION_DUE_DATE_COMPUTATION_TYPE_ADD', '2': 1}, + {'1': 'COMPUTATION_DUE_DATE_COMPUTATION_TYPE_SUBTRACT', '2': 2}, + ], +}; + +/// Descriptor for `ComputationDueDateComputationType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List computationDueDateComputationTypeDescriptor = $convert.base64Decode( + 'CiFDb21wdXRhdGlvbkR1ZURhdGVDb21wdXRhdGlvblR5cGUSMQotQ09NUFVUQVRJT05fRFVFX0' + 'RBVEVfQ09NUFVUQVRJT05fVFlQRV9VTktOT1dOEAASLQopQ09NUFVUQVRJT05fRFVFX0RBVEVf' + 'Q09NUFVUQVRJT05fVFlQRV9BREQQARIyCi5DT01QVVRBVElPTl9EVUVfREFURV9DT01QVVRBVE' + 'lPTl9UWVBFX1NVQlRSQUNUEAI='); + +@$core.Deprecated('Use durationFormatDescriptor instead') +const DurationFormat$json = { + '1': 'DurationFormat', + '2': [ + {'1': 'DURATION_FORMAT_UNKNOWN', '2': 0}, + {'1': 'DURATION_FORMAT_MINUTES', '2': 10}, + {'1': 'DURATION_FORMAT_WORKING_MINUTES', '2': 11}, + {'1': 'DURATION_FORMAT_HOURS', '2': 20}, + {'1': 'DURATION_FORMAT_WORKING_HOURS', '2': 21}, + {'1': 'DURATION_FORMAT_DAYS', '2': 30}, + {'1': 'DURATION_FORMAT_WORKING_DAYS', '2': 31}, + ], +}; + +/// Descriptor for `DurationFormat`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List durationFormatDescriptor = $convert.base64Decode( + 'Cg5EdXJhdGlvbkZvcm1hdBIbChdEVVJBVElPTl9GT1JNQVRfVU5LTk9XThAAEhsKF0RVUkFUSU' + '9OX0ZPUk1BVF9NSU5VVEVTEAoSIwofRFVSQVRJT05fRk9STUFUX1dPUktJTkdfTUlOVVRFUxAL' + 'EhkKFURVUkFUSU9OX0ZPUk1BVF9IT1VSUxAUEiEKHURVUkFUSU9OX0ZPUk1BVF9XT1JLSU5HX0' + 'hPVVJTEBUSGAoURFVSQVRJT05fRk9STUFUX0RBWVMQHhIgChxEVVJBVElPTl9GT1JNQVRfV09S' + 'S0lOR19EQVlTEB8='); + +@$core.Deprecated('Use durationRoundingDescriptor instead') +const DurationRounding$json = { + '1': 'DurationRounding', + '2': [ + {'1': 'DURATION_ROUNDING_UNKNOWN', '2': 0}, + {'1': 'DURATION_ROUNDING_UP', '2': 1}, + {'1': 'DURATION_ROUNDING_DOWN', '2': 2}, + {'1': 'DURATION_ROUNDING_FIXED_HOUR', '2': 3}, + ], +}; + +/// Descriptor for `DurationRounding`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List durationRoundingDescriptor = $convert.base64Decode( + 'ChBEdXJhdGlvblJvdW5kaW5nEh0KGURVUkFUSU9OX1JPVU5ESU5HX1VOS05PV04QABIYChREVV' + 'JBVElPTl9ST1VORElOR19VUBABEhoKFkRVUkFUSU9OX1JPVU5ESU5HX0RPV04QAhIgChxEVVJB' + 'VElPTl9ST1VORElOR19GSVhFRF9IT1VSEAM='); + +@$core.Deprecated('Use computationCustomFunctionOperatorDescriptor instead') +const ComputationCustomFunctionOperator$json = { + '1': 'ComputationCustomFunctionOperator', + '2': [ + {'1': 'COMPUTATION_CUSTOM_FUNCTION_OPERATOR_UNKNOWN', '2': 0}, + {'1': 'COMPUTATION_CUSTOM_FUNCTION_OPERATOR_ADD', '2': 1}, + {'1': 'COMPUTATION_CUSTOM_FUNCTION_OPERATOR_SUBTRACT', '2': 2}, + {'1': 'COMPUTATION_CUSTOM_FUNCTION_OPERATOR_MULTIPLY', '2': 3}, + {'1': 'COMPUTATION_CUSTOM_FUNCTION_OPERATOR_DIVIDE', '2': 4}, + ], +}; + +/// Descriptor for `ComputationCustomFunctionOperator`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List computationCustomFunctionOperatorDescriptor = $convert.base64Decode( + 'CiFDb21wdXRhdGlvbkN1c3RvbUZ1bmN0aW9uT3BlcmF0b3ISMAosQ09NUFVUQVRJT05fQ1VTVE' + '9NX0ZVTkNUSU9OX09QRVJBVE9SX1VOS05PV04QABIsCihDT01QVVRBVElPTl9DVVNUT01fRlVO' + 'Q1RJT05fT1BFUkFUT1JfQUREEAESMQotQ09NUFVUQVRJT05fQ1VTVE9NX0ZVTkNUSU9OX09QRV' + 'JBVE9SX1NVQlRSQUNUEAISMQotQ09NUFVUQVRJT05fQ1VTVE9NX0ZVTkNUSU9OX09QRVJBVE9S' + 'X01VTFRJUExZEAMSLworQ09NUFVUQVRJT05fQ1VTVE9NX0ZVTkNUSU9OX09QRVJBVE9SX0RJVk' + 'lERRAE'); + +@$core.Deprecated('Use customFunctionFormatDescriptor instead') +const CustomFunctionFormat$json = { + '1': 'CustomFunctionFormat', + '2': [ + {'1': 'CUSTOM_FUNCTION_FORMAT_UNKNOWN', '2': 0}, + {'1': 'CUSTOM_FUNCTION_FORMAT_NUMERIC', '2': 1}, + {'1': 'CUSTOM_FUNCTION_FORMAT_PERCENTAGE', '2': 2}, + ], +}; + +/// Descriptor for `CustomFunctionFormat`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List customFunctionFormatDescriptor = $convert.base64Decode( + 'ChRDdXN0b21GdW5jdGlvbkZvcm1hdBIiCh5DVVNUT01fRlVOQ1RJT05fRk9STUFUX1VOS05PV0' + '4QABIiCh5DVVNUT01fRlVOQ1RJT05fRk9STUFUX05VTUVSSUMQARIlCiFDVVNUT01fRlVOQ1RJ' + 'T05fRk9STUFUX1BFUkNFTlRBR0UQAg=='); + +@$core.Deprecated('Use customFunctionRoundingDescriptor instead') +const CustomFunctionRounding$json = { + '1': 'CustomFunctionRounding', + '2': [ + {'1': 'CUSTOM_FUNCTION_ROUNDING_UNKNOWN', '2': 0}, + {'1': 'CUSTOM_FUNCTION_ROUNDING_UP', '2': 1}, + {'1': 'CUSTOM_FUNCTION_ROUNDING_DOWN', '2': 2}, + ], +}; + +/// Descriptor for `CustomFunctionRounding`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List customFunctionRoundingDescriptor = $convert.base64Decode( + 'ChZDdXN0b21GdW5jdGlvblJvdW5kaW5nEiQKIENVU1RPTV9GVU5DVElPTl9ST1VORElOR19VTk' + 'tOT1dOEAASHwobQ1VTVE9NX0ZVTkNUSU9OX1JPVU5ESU5HX1VQEAESIQodQ1VTVE9NX0ZVTkNU' + 'SU9OX1JPVU5ESU5HX0RPV04QAg=='); + +@$core.Deprecated('Use mappingTableInputDescriptionGranularityDescriptor instead') +const MappingTableInputDescriptionGranularity$json = { + '1': 'MappingTableInputDescriptionGranularity', + '2': [ + {'1': 'MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_UNKNOWN', '2': 0}, + {'1': 'MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_HOUR', '2': 1}, + {'1': 'MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_DATE', '2': 2}, + {'1': 'MAPPING_TABLE_INPUT_DESCRIPTION_GRANULARITY_HOUR_AND_DATE', '2': 3}, + ], +}; + +/// Descriptor for `MappingTableInputDescriptionGranularity`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List mappingTableInputDescriptionGranularityDescriptor = $convert.base64Decode( + 'CidNYXBwaW5nVGFibGVJbnB1dERlc2NyaXB0aW9uR3JhbnVsYXJpdHkSNwozTUFQUElOR19UQU' + 'JMRV9JTlBVVF9ERVNDUklQVElPTl9HUkFOVUxBUklUWV9VTktOT1dOEAASNAowTUFQUElOR19U' + 'QUJMRV9JTlBVVF9ERVNDUklQVElPTl9HUkFOVUxBUklUWV9IT1VSEAESNAowTUFQUElOR19UQU' + 'JMRV9JTlBVVF9ERVNDUklQVElPTl9HUkFOVUxBUklUWV9EQVRFEAISPQo5TUFQUElOR19UQUJM' + 'RV9JTlBVVF9ERVNDUklQVElPTl9HUkFOVUxBUklUWV9IT1VSX0FORF9EQVRFEAM='); + +@$core.Deprecated('Use mappingTableInputOperatorDescriptor instead') +const MappingTableInputOperator$json = { + '1': 'MappingTableInputOperator', + '2': [ + {'1': 'MAPPING_TABLE_INPUT_OPERATOR_UNKNOWN', '2': 0}, + {'1': 'MAPPING_TABLE_INPUT_OPERATOR_EQUALS', '2': 1}, + {'1': 'MAPPING_TABLE_INPUT_OPERATOR_NOT_EQUALS', '2': 2}, + {'1': 'MAPPING_TABLE_INPUT_OPERATOR_LESS_THAN', '2': 3}, + {'1': 'MAPPING_TABLE_INPUT_OPERATOR_LESS_OR_EQUALS', '2': 4}, + {'1': 'MAPPING_TABLE_INPUT_OPERATOR_GREATER_THAN', '2': 5}, + {'1': 'MAPPING_TABLE_INPUT_OPERATOR_GREATER_OR_EQUALS', '2': 6}, + ], +}; + +/// Descriptor for `MappingTableInputOperator`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List mappingTableInputOperatorDescriptor = $convert.base64Decode( + 'ChlNYXBwaW5nVGFibGVJbnB1dE9wZXJhdG9yEigKJE1BUFBJTkdfVEFCTEVfSU5QVVRfT1BFUk' + 'FUT1JfVU5LTk9XThAAEicKI01BUFBJTkdfVEFCTEVfSU5QVVRfT1BFUkFUT1JfRVFVQUxTEAES' + 'KwonTUFQUElOR19UQUJMRV9JTlBVVF9PUEVSQVRPUl9OT1RfRVFVQUxTEAISKgomTUFQUElOR1' + '9UQUJMRV9JTlBVVF9PUEVSQVRPUl9MRVNTX1RIQU4QAxIvCitNQVBQSU5HX1RBQkxFX0lOUFVU' + 'X09QRVJBVE9SX0xFU1NfT1JfRVFVQUxTEAQSLQopTUFQUElOR19UQUJMRV9JTlBVVF9PUEVSQV' + 'RPUl9HUkVBVEVSX1RIQU4QBRIyCi5NQVBQSU5HX1RBQkxFX0lOUFVUX09QRVJBVE9SX0dSRUFU' + 'RVJfT1JfRVFVQUxTEAY='); + +@$core.Deprecated('Use mappingTableOutputFieldTypeDescriptor instead') +const MappingTableOutputFieldType$json = { + '1': 'MappingTableOutputFieldType', + '2': [ + {'1': 'MAPPING_TABLE_OUTPUT_FIELD_TYPE_UNKNOWN', '2': 0}, + {'1': 'MAPPING_TABLE_OUTPUT_FIELD_TYPE_INTEGER', '2': 1}, + {'1': 'MAPPING_TABLE_OUTPUT_FIELD_TYPE_STRING', '2': 2}, + {'1': 'MAPPING_TABLE_OUTPUT_FIELD_TYPE_BOOLEAN', '2': 3}, + ], +}; + +/// Descriptor for `MappingTableOutputFieldType`. Decode as a `google.protobuf.EnumDescriptorProto`. +final $typed_data.Uint8List mappingTableOutputFieldTypeDescriptor = $convert.base64Decode( + 'ChtNYXBwaW5nVGFibGVPdXRwdXRGaWVsZFR5cGUSKwonTUFQUElOR19UQUJMRV9PVVRQVVRfRk' + 'lFTERfVFlQRV9VTktOT1dOEAASKwonTUFQUElOR19UQUJMRV9PVVRQVVRfRklFTERfVFlQRV9J' + 'TlRFR0VSEAESKgomTUFQUElOR19UQUJMRV9PVVRQVVRfRklFTERfVFlQRV9TVFJJTkcQAhIrCi' + 'dNQVBQSU5HX1RBQkxFX09VVFBVVF9GSUVMRF9UWVBFX0JPT0xFQU4QAw=='); + +@$core.Deprecated('Use engineRuleDescriptor instead') +const EngineRule$json = { + '1': 'EngineRule', + '2': [ + {'1': 'ProjectID', '3': 10, '4': 1, '5': 9, '10': 'ProjectID'}, + {'1': 'Code', '3': 20, '4': 1, '5': 9, '8': {}, '10': 'Code'}, + {'1': 'Label', '3': 30, '4': 1, '5': 9, '10': 'Label'}, + {'1': 'ValidityType', '3': 40, '4': 1, '5': 14, '6': '.api.EngineRuleValidityType', '8': {}, '10': 'ValidityType'}, + {'1': 'ValidFrom', '3': 41, '4': 1, '5': 9, '8': {}, '10': 'ValidFrom'}, + {'1': 'ValidUntil', '3': 42, '4': 1, '5': 9, '8': {}, '10': 'ValidUntil'}, + {'1': 'Entity', '3': 50, '4': 1, '5': 14, '6': '.api.EntityType', '10': 'Entity'}, + {'1': 'TriggerType', '3': 60, '4': 1, '5': 14, '6': '.api.EngineRuleTriggerType', '8': {}, '10': 'TriggerType'}, + {'1': 'ScheduledTrigger', '3': 70, '4': 1, '5': 11, '6': '.api.EngineRuleScheduledTrigger', '9': 0, '10': 'ScheduledTrigger'}, + {'1': 'EventTrigger', '3': 71, '4': 1, '5': 11, '6': '.api.EngineRuleEventTrigger', '9': 0, '10': 'EventTrigger'}, + {'1': 'MilestoneTrigger', '3': 72, '4': 1, '5': 11, '6': '.api.EngineRuleMilestoneTrigger', '9': 0, '10': 'MilestoneTrigger'}, + {'1': 'Conditions', '3': 80, '4': 3, '5': 11, '6': '.api.EngineRuleCondition', '10': 'Conditions'}, + {'1': 'Actions', '3': 90, '4': 3, '5': 11, '6': '.api.EngineRuleAction', '8': {}, '10': 'Actions'}, + {'1': 'Version', '3': 100, '4': 1, '5': 5, '10': 'Version'}, + {'1': 'CreatedBy', '3': 110, '4': 1, '5': 9, '10': 'CreatedBy'}, + {'1': 'CreatedAt', '3': 120, '4': 1, '5': 9, '8': {}, '10': 'CreatedAt'}, + {'1': 'UpdatedAt', '3': 130, '4': 1, '5': 9, '8': {}, '10': 'UpdatedAt'}, + {'1': 'IsActive', '3': 140, '4': 1, '5': 8, '10': 'IsActive'}, + ], + '7': {}, + '8': [ + {'1': 'Trigger'}, + ], +}; + +/// Descriptor for `EngineRule`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleDescriptor = $convert.base64Decode( + 'CgpFbmdpbmVSdWxlEhwKCVByb2plY3RJRBgKIAEoCVIJUHJvamVjdElEEkAKBENvZGUYFCABKA' + 'lCLJJBEooBD15bQS1aYS16MC05X10rJLqBARNyETIPXltBLVphLXowLTlfXSskUgRDb2RlEhQK' + 'BUxhYmVsGB4gASgJUgVMYWJlbBJMCgxWYWxpZGl0eVR5cGUYKCABKA4yGy5hcGkuRW5naW5lUn' + 'VsZVZhbGlkaXR5VHlwZUILuoEBB4IBBBABIABSDFZhbGlkaXR5VHlwZRIqCglWYWxpZEZyb20Y' + 'KSABKAlCDLqBAQhyBtABAfABAVIJVmFsaWRGcm9tEiwKClZhbGlkVW50aWwYKiABKAlCDLqBAQ' + 'hyBtABAfABAVIKVmFsaWRVbnRpbBInCgZFbnRpdHkYMiABKA4yDy5hcGkuRW50aXR5VHlwZVIG' + 'RW50aXR5EkkKC1RyaWdnZXJUeXBlGDwgASgOMhouYXBpLkVuZ2luZVJ1bGVUcmlnZ2VyVHlwZU' + 'ILuoEBB4IBBBABIABSC1RyaWdnZXJUeXBlEk0KEFNjaGVkdWxlZFRyaWdnZXIYRiABKAsyHy5h' + 'cGkuRW5naW5lUnVsZVNjaGVkdWxlZFRyaWdnZXJIAFIQU2NoZWR1bGVkVHJpZ2dlchJBCgxFdm' + 'VudFRyaWdnZXIYRyABKAsyGy5hcGkuRW5naW5lUnVsZUV2ZW50VHJpZ2dlckgAUgxFdmVudFRy' + 'aWdnZXISTQoQTWlsZXN0b25lVHJpZ2dlchhIIAEoCzIfLmFwaS5FbmdpbmVSdWxlTWlsZXN0b2' + '5lVHJpZ2dlckgAUhBNaWxlc3RvbmVUcmlnZ2VyEjgKCkNvbmRpdGlvbnMYUCADKAsyGC5hcGku' + 'RW5naW5lUnVsZUNvbmRpdGlvblIKQ29uZGl0aW9ucxI6CgdBY3Rpb25zGFogAygLMhUuYXBpLk' + 'VuZ2luZVJ1bGVBY3Rpb25CCbqBAQWSAQIIAVIHQWN0aW9ucxIYCgdWZXJzaW9uGGQgASgFUgdW' + 'ZXJzaW9uEhwKCUNyZWF0ZWRCeRhuIAEoCVIJQ3JlYXRlZEJ5EicKCUNyZWF0ZWRBdBh4IAEoCU' + 'IJuoEBBXID0AEBUglDcmVhdGVkQXQSKAoJVXBkYXRlZEF0GIIBIAEoCUIJuoEBBXID0AEBUglV' + 'cGRhdGVkQXQSGwoISXNBY3RpdmUYjAEgASgIUghJc0FjdGl2ZTogkkEdChvSAQRDb2Rl0gEHQW' + 'N0aW9uc9IBB1RyaWdnZXJCCQoHVHJpZ2dlcg=='); + +@$core.Deprecated('Use engineRuleScheduledTriggerDescriptor instead') +const EngineRuleScheduledTrigger$json = { + '1': 'EngineRuleScheduledTrigger', + '2': [ + {'1': 'Frequency', '3': 1, '4': 1, '5': 14, '6': '.api.RuleRecurrenceFrequency', '8': {}, '10': 'Frequency'}, + {'1': 'Interval', '3': 2, '4': 1, '5': 5, '8': {}, '10': 'Interval'}, + {'1': 'ByDay', '3': 3, '4': 3, '5': 14, '6': '.api.WeekDay', '8': {}, '10': 'ByDay'}, + {'1': 'StartDate', '3': 4, '4': 1, '5': 9, '8': {}, '10': 'StartDate'}, + {'1': 'AtTime', '3': 5, '4': 1, '5': 9, '8': {}, '10': 'AtTime'}, + ], + '7': {}, +}; + +/// Descriptor for `EngineRuleScheduledTrigger`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleScheduledTriggerDescriptor = $convert.base64Decode( + 'ChpFbmdpbmVSdWxlU2NoZWR1bGVkVHJpZ2dlchJHCglGcmVxdWVuY3kYASABKA4yHC5hcGkuUn' + 'VsZVJlY3VycmVuY2VGcmVxdWVuY3lCC7qBAQeCAQQQASAAUglGcmVxdWVuY3kSJAoISW50ZXJ2' + 'YWwYAiABKAVCCLqBAQQaAiAAUghJbnRlcnZhbBIyCgVCeURheRgDIAMoDjIMLmFwaS5XZWVrRG' + 'F5Qg66gQEKkgEHIgWCAQIQAVIFQnlEYXkSJwoJU3RhcnREYXRlGAQgASgJQgm6gQEFcgPQAQFS' + 'CVN0YXJ0RGF0ZRJFCgZBdFRpbWUYBSABKAlCLbqBASlyJzIlXihbMDFdXGR8MlswLTNdKTooWz' + 'AtNV1cZCk6KFswLTVdXGQpJFIGQXRUaW1lOjGSQS4KLNIBCUZyZXF1ZW5jedIBCEludGVydmFs' + '0gEJU3RhcnREYXRl0gEGQXRUaW1l'); + +@$core.Deprecated('Use engineRuleEventTriggerDescriptor instead') +const EngineRuleEventTrigger$json = { + '1': 'EngineRuleEventTrigger', + '2': [ + {'1': 'Creation', '3': 1, '4': 1, '5': 11, '6': '.api.EngineRuleEventTriggerCreation', '9': 0, '10': 'Creation'}, + {'1': 'Deletion', '3': 2, '4': 1, '5': 11, '6': '.api.EngineRuleEventTriggerDeletion', '9': 0, '10': 'Deletion'}, + {'1': 'StatusChange', '3': 3, '4': 1, '5': 11, '6': '.api.EngineRuleEventTriggerStatusChange', '9': 0, '10': 'StatusChange'}, + ], + '7': {}, + '8': [ + {'1': 'Event'}, + ], +}; + +/// Descriptor for `EngineRuleEventTrigger`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleEventTriggerDescriptor = $convert.base64Decode( + 'ChZFbmdpbmVSdWxlRXZlbnRUcmlnZ2VyEkEKCENyZWF0aW9uGAEgASgLMiMuYXBpLkVuZ2luZV' + 'J1bGVFdmVudFRyaWdnZXJDcmVhdGlvbkgAUghDcmVhdGlvbhJBCghEZWxldGlvbhgCIAEoCzIj' + 'LmFwaS5FbmdpbmVSdWxlRXZlbnRUcmlnZ2VyRGVsZXRpb25IAFIIRGVsZXRpb24STQoMU3RhdH' + 'VzQ2hhbmdlGAMgASgLMicuYXBpLkVuZ2luZVJ1bGVFdmVudFRyaWdnZXJTdGF0dXNDaGFuZ2VI' + 'AFIMU3RhdHVzQ2hhbmdlOg2SQQoKCNIBBUV2ZW50QgcKBUV2ZW50'); + +@$core.Deprecated('Use engineRuleEventTriggerCreationDescriptor instead') +const EngineRuleEventTriggerCreation$json = { + '1': 'EngineRuleEventTriggerCreation', +}; + +/// Descriptor for `EngineRuleEventTriggerCreation`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleEventTriggerCreationDescriptor = $convert.base64Decode( + 'Ch5FbmdpbmVSdWxlRXZlbnRUcmlnZ2VyQ3JlYXRpb24='); + +@$core.Deprecated('Use engineRuleEventTriggerDeletionDescriptor instead') +const EngineRuleEventTriggerDeletion$json = { + '1': 'EngineRuleEventTriggerDeletion', +}; + +/// Descriptor for `EngineRuleEventTriggerDeletion`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleEventTriggerDeletionDescriptor = $convert.base64Decode( + 'Ch5FbmdpbmVSdWxlRXZlbnRUcmlnZ2VyRGVsZXRpb24='); + +@$core.Deprecated('Use engineRuleEventTriggerStatusChangeDescriptor instead') +const EngineRuleEventTriggerStatusChange$json = { + '1': 'EngineRuleEventTriggerStatusChange', + '2': [ + {'1': 'OrderStatus', '3': 1, '4': 1, '5': 14, '6': '.api.OrderStatusCode', '9': 0, '10': 'OrderStatus'}, + {'1': 'HandlingunitStatus', '3': 2, '4': 1, '5': 14, '6': '.api.HandlingunitStatusCode', '9': 0, '10': 'HandlingunitStatus'}, + {'1': 'AppointmentStatus', '3': 3, '4': 1, '5': 14, '6': '.api.AppointmentStatusCode', '9': 0, '10': 'AppointmentStatus'}, + {'1': 'ClaimStatus', '3': 4, '4': 1, '5': 14, '6': '.api.ClaimStatus', '9': 0, '10': 'ClaimStatus'}, + {'1': 'ActorStatus', '3': 5, '4': 1, '5': 14, '6': '.api.ActorStatusCode', '9': 0, '10': 'ActorStatus'}, + {'1': 'ItemStatus', '3': 6, '4': 1, '5': 14, '6': '.api.ItemStatusCode', '9': 0, '10': 'ItemStatus'}, + {'1': 'ExecutionflowStatus', '3': 7, '4': 1, '5': 14, '6': '.api.ExecutionflowStatusCode', '9': 0, '10': 'ExecutionflowStatus'}, + {'1': 'PartnerStatus', '3': 8, '4': 1, '5': 14, '6': '.api.PartnerStatusCode', '9': 0, '10': 'PartnerStatus'}, + {'1': 'StockStatus', '3': 9, '4': 1, '5': 14, '6': '.api.StockStatusCode', '9': 0, '10': 'StockStatus'}, + {'1': 'MovementStatus', '3': 10, '4': 1, '5': 14, '6': '.api.MovementStatusCode', '9': 0, '10': 'MovementStatus'}, + ], + '7': {}, + '8': [ + {'1': 'StatusCode'}, + ], +}; + +/// Descriptor for `EngineRuleEventTriggerStatusChange`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleEventTriggerStatusChangeDescriptor = $convert.base64Decode( + 'CiJFbmdpbmVSdWxlRXZlbnRUcmlnZ2VyU3RhdHVzQ2hhbmdlEjgKC09yZGVyU3RhdHVzGAEgAS' + 'gOMhQuYXBpLk9yZGVyU3RhdHVzQ29kZUgAUgtPcmRlclN0YXR1cxJNChJIYW5kbGluZ3VuaXRT' + 'dGF0dXMYAiABKA4yGy5hcGkuSGFuZGxpbmd1bml0U3RhdHVzQ29kZUgAUhJIYW5kbGluZ3VuaX' + 'RTdGF0dXMSSgoRQXBwb2ludG1lbnRTdGF0dXMYAyABKA4yGi5hcGkuQXBwb2ludG1lbnRTdGF0' + 'dXNDb2RlSABSEUFwcG9pbnRtZW50U3RhdHVzEjQKC0NsYWltU3RhdHVzGAQgASgOMhAuYXBpLk' + 'NsYWltU3RhdHVzSABSC0NsYWltU3RhdHVzEjgKC0FjdG9yU3RhdHVzGAUgASgOMhQuYXBpLkFj' + 'dG9yU3RhdHVzQ29kZUgAUgtBY3RvclN0YXR1cxI1CgpJdGVtU3RhdHVzGAYgASgOMhMuYXBpLk' + 'l0ZW1TdGF0dXNDb2RlSABSCkl0ZW1TdGF0dXMSUAoTRXhlY3V0aW9uZmxvd1N0YXR1cxgHIAEo' + 'DjIcLmFwaS5FeGVjdXRpb25mbG93U3RhdHVzQ29kZUgAUhNFeGVjdXRpb25mbG93U3RhdHVzEj' + '4KDVBhcnRuZXJTdGF0dXMYCCABKA4yFi5hcGkuUGFydG5lclN0YXR1c0NvZGVIAFINUGFydG5l' + 'clN0YXR1cxI4CgtTdG9ja1N0YXR1cxgJIAEoDjIULmFwaS5TdG9ja1N0YXR1c0NvZGVIAFILU3' + 'RvY2tTdGF0dXMSQQoOTW92ZW1lbnRTdGF0dXMYCiABKA4yFy5hcGkuTW92ZW1lbnRTdGF0dXND' + 'b2RlSABSDk1vdmVtZW50U3RhdHVzOhKSQQ8KDdIBClN0YXR1c0NvZGVCDAoKU3RhdHVzQ29kZQ' + '=='); + +@$core.Deprecated('Use engineRuleMilestoneTriggerDescriptor instead') +const EngineRuleMilestoneTrigger$json = { + '1': 'EngineRuleMilestoneTrigger', + '2': [ + {'1': 'MilestoneField', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'MilestoneField'}, + ], + '7': {}, +}; + +/// Descriptor for `EngineRuleMilestoneTrigger`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleMilestoneTriggerDescriptor = $convert.base64Decode( + 'ChpFbmdpbmVSdWxlTWlsZXN0b25lVHJpZ2dlchIwCg5NaWxlc3RvbmVGaWVsZBgBIAEoCUIIuo' + 'EBBHICEAFSDk1pbGVzdG9uZUZpZWxkOhaSQRMKEdIBDk1pbGVzdG9uZUZpZWxk'); + +@$core.Deprecated('Use engineRuleConditionDescriptor instead') +const EngineRuleCondition$json = { + '1': 'EngineRuleCondition', + '2': [ + {'1': 'Field', '3': 10, '4': 1, '5': 9, '9': 0, '10': 'Field'}, + {'1': 'Collection', '3': 11, '4': 1, '5': 11, '6': '.api.EngineRuleConditionCollectionCriteria', '9': 0, '10': 'Collection'}, + {'1': 'Aggregate', '3': 12, '4': 1, '5': 11, '6': '.api.EngineRuleConditionAggregateCriteria', '9': 0, '10': 'Aggregate'}, + {'1': 'Operator', '3': 20, '4': 1, '5': 14, '6': '.api.EngineRuleConditionOperator', '8': {}, '10': 'Operator'}, + {'1': 'LiteralValue', '3': 31, '4': 1, '5': 11, '6': '.api.EngineRuleLiteral', '9': 1, '10': 'LiteralValue'}, + {'1': 'LiteralListValue', '3': 32, '4': 1, '5': 11, '6': '.api.EngineRuleLiteralList', '9': 1, '10': 'LiteralListValue'}, + {'1': 'FieldRefValue', '3': 33, '4': 1, '5': 11, '6': '.api.EngineRuleFieldRef', '9': 1, '10': 'FieldRefValue'}, + {'1': 'ComputedValue', '3': 34, '4': 1, '5': 11, '6': '.api.EngineRuleComputedRef', '9': 1, '10': 'ComputedValue'}, + {'1': 'MappingValue', '3': 35, '4': 1, '5': 11, '6': '.api.EngineRuleMappingRef', '9': 1, '10': 'MappingValue'}, + ], + '7': {}, + '8': [ + {'1': 'Criteria'}, + {'1': 'Value'}, + ], +}; + +/// Descriptor for `EngineRuleCondition`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleConditionDescriptor = $convert.base64Decode( + 'ChNFbmdpbmVSdWxlQ29uZGl0aW9uEhYKBUZpZWxkGAogASgJSABSBUZpZWxkEkwKCkNvbGxlY3' + 'Rpb24YCyABKAsyKi5hcGkuRW5naW5lUnVsZUNvbmRpdGlvbkNvbGxlY3Rpb25Dcml0ZXJpYUgA' + 'UgpDb2xsZWN0aW9uEkkKCUFnZ3JlZ2F0ZRgMIAEoCzIpLmFwaS5FbmdpbmVSdWxlQ29uZGl0aW' + '9uQWdncmVnYXRlQ3JpdGVyaWFIAFIJQWdncmVnYXRlEkkKCE9wZXJhdG9yGBQgASgOMiAuYXBp' + 'LkVuZ2luZVJ1bGVDb25kaXRpb25PcGVyYXRvckILuoEBB4IBBBABIABSCE9wZXJhdG9yEjwKDE' + 'xpdGVyYWxWYWx1ZRgfIAEoCzIWLmFwaS5FbmdpbmVSdWxlTGl0ZXJhbEgBUgxMaXRlcmFsVmFs' + 'dWUSSAoQTGl0ZXJhbExpc3RWYWx1ZRggIAEoCzIaLmFwaS5FbmdpbmVSdWxlTGl0ZXJhbExpc3' + 'RIAVIQTGl0ZXJhbExpc3RWYWx1ZRI/Cg1GaWVsZFJlZlZhbHVlGCEgASgLMhcuYXBpLkVuZ2lu' + 'ZVJ1bGVGaWVsZFJlZkgBUg1GaWVsZFJlZlZhbHVlEkIKDUNvbXB1dGVkVmFsdWUYIiABKAsyGi' + '5hcGkuRW5naW5lUnVsZUNvbXB1dGVkUmVmSAFSDUNvbXB1dGVkVmFsdWUSPwoMTWFwcGluZ1Zh' + 'bHVlGCMgASgLMhkuYXBpLkVuZ2luZVJ1bGVNYXBwaW5nUmVmSAFSDE1hcHBpbmdWYWx1ZTojkk' + 'EgCh7SAQhPcGVyYXRvctIBCENyaXRlcmlh0gEFVmFsdWVCCgoIQ3JpdGVyaWFCBwoFVmFsdWU='); + +@$core.Deprecated('Use engineRuleConditionCollectionCriteriaDescriptor instead') +const EngineRuleConditionCollectionCriteria$json = { + '1': 'EngineRuleConditionCollectionCriteria', + '2': [ + {'1': 'CollectionPath', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'CollectionPath'}, + {'1': 'ElementField', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ElementField'}, + {'1': 'Quantifier', '3': 3, '4': 1, '5': 14, '6': '.api.EngineRuleConditionQuantifier', '8': {}, '10': 'Quantifier'}, + ], + '7': {}, +}; + +/// Descriptor for `EngineRuleConditionCollectionCriteria`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleConditionCollectionCriteriaDescriptor = $convert.base64Decode( + 'CiVFbmdpbmVSdWxlQ29uZGl0aW9uQ29sbGVjdGlvbkNyaXRlcmlhEjAKDkNvbGxlY3Rpb25QYX' + 'RoGAEgASgJQgi6gQEEcgIQAVIOQ29sbGVjdGlvblBhdGgSLAoMRWxlbWVudEZpZWxkGAIgASgJ' + 'Qgi6gQEEcgIQAVIMRWxlbWVudEZpZWxkEk8KClF1YW50aWZpZXIYAyABKA4yIi5hcGkuRW5naW' + '5lUnVsZUNvbmRpdGlvblF1YW50aWZpZXJCC7qBAQeCAQQQASAAUgpRdWFudGlmaWVyOjKSQS8K' + 'LdIBDkNvbGxlY3Rpb25QYXRo0gEMRWxlbWVudEZpZWxk0gEKUXVhbnRpZmllcg=='); + +@$core.Deprecated('Use engineRuleConditionAggregateCriteriaDescriptor instead') +const EngineRuleConditionAggregateCriteria$json = { + '1': 'EngineRuleConditionAggregateCriteria', + '2': [ + {'1': 'Field', '3': 1, '4': 1, '5': 9, '10': 'Field'}, + {'1': 'AggregateFunction', '3': 2, '4': 1, '5': 14, '6': '.api.EngineRuleConditionAggregateFunction', '8': {}, '10': 'AggregateFunction'}, + ], + '7': {}, +}; + +/// Descriptor for `EngineRuleConditionAggregateCriteria`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleConditionAggregateCriteriaDescriptor = $convert.base64Decode( + 'CiRFbmdpbmVSdWxlQ29uZGl0aW9uQWdncmVnYXRlQ3JpdGVyaWESFAoFRmllbGQYASABKAlSBU' + 'ZpZWxkEmQKEUFnZ3JlZ2F0ZUZ1bmN0aW9uGAIgASgOMikuYXBpLkVuZ2luZVJ1bGVDb25kaXRp' + 'b25BZ2dyZWdhdGVGdW5jdGlvbkILuoEBB4IBBBABIABSEUFnZ3JlZ2F0ZUZ1bmN0aW9uOhmSQR' + 'YKFNIBEUFnZ3JlZ2F0ZUZ1bmN0aW9u'); + +@$core.Deprecated('Use engineRuleLiteralDescriptor instead') +const EngineRuleLiteral$json = { + '1': 'EngineRuleLiteral', + '2': [ + {'1': 'Integer', '3': 1, '4': 1, '5': 3, '9': 0, '10': 'Integer'}, + {'1': 'Decimal', '3': 2, '4': 1, '5': 2, '9': 0, '10': 'Decimal'}, + {'1': 'String', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'String'}, + {'1': 'Boolean', '3': 4, '4': 1, '5': 8, '9': 0, '10': 'Boolean'}, + ], + '7': {}, + '8': [ + {'1': 'Literal'}, + ], +}; + +/// Descriptor for `EngineRuleLiteral`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleLiteralDescriptor = $convert.base64Decode( + 'ChFFbmdpbmVSdWxlTGl0ZXJhbBIaCgdJbnRlZ2VyGAEgASgDSABSB0ludGVnZXISGgoHRGVjaW' + '1hbBgCIAEoAkgAUgdEZWNpbWFsEhgKBlN0cmluZxgDIAEoCUgAUgZTdHJpbmcSGgoHQm9vbGVh' + 'bhgEIAEoCEgAUgdCb29sZWFuOg+SQQwKCtIBB0xpdGVyYWxCCQoHTGl0ZXJhbA=='); + +@$core.Deprecated('Use engineRuleLiteralListDescriptor instead') +const EngineRuleLiteralList$json = { + '1': 'EngineRuleLiteralList', + '2': [ + {'1': 'Items', '3': 1, '4': 3, '5': 11, '6': '.api.EngineRuleLiteral', '8': {}, '10': 'Items'}, + ], + '7': {}, +}; + +/// Descriptor for `EngineRuleLiteralList`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleLiteralListDescriptor = $convert.base64Decode( + 'ChVFbmdpbmVSdWxlTGl0ZXJhbExpc3QSNwoFSXRlbXMYASADKAsyFi5hcGkuRW5naW5lUnVsZU' + 'xpdGVyYWxCCbqBAQWSAQIIAVIFSXRlbXM6DZJBCgoI0gEFSXRlbXM='); + +@$core.Deprecated('Use engineRuleFieldRefDescriptor instead') +const EngineRuleFieldRef$json = { + '1': 'EngineRuleFieldRef', + '2': [ + {'1': 'Path', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'Path'}, + {'1': 'Scope', '3': 2, '4': 1, '5': 14, '6': '.api.EngineRuleFieldRefScope', '8': {}, '10': 'Scope'}, + ], + '7': {}, +}; + +/// Descriptor for `EngineRuleFieldRef`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleFieldRefDescriptor = $convert.base64Decode( + 'ChJFbmdpbmVSdWxlRmllbGRSZWYSHAoEUGF0aBgBIAEoCUIIuoEBBHICEAFSBFBhdGgSPwoFU2' + 'NvcGUYAiABKA4yHC5hcGkuRW5naW5lUnVsZUZpZWxkUmVmU2NvcGVCC7qBAQeCAQQQASAAUgVT' + 'Y29wZToUkkERCg/SAQRQYXRo0gEFU2NvcGU='); + +@$core.Deprecated('Use engineRuleComputedRefDescriptor instead') +const EngineRuleComputedRef$json = { + '1': 'EngineRuleComputedRef', + '2': [ + {'1': 'ComputationID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ComputationID'}, + ], + '7': {}, +}; + +/// Descriptor for `EngineRuleComputedRef`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleComputedRefDescriptor = $convert.base64Decode( + 'ChVFbmdpbmVSdWxlQ29tcHV0ZWRSZWYSLgoNQ29tcHV0YXRpb25JRBgBIAEoCUIIuoEBBHICEA' + 'FSDUNvbXB1dGF0aW9uSUQ6FZJBEgoQ0gENQ29tcHV0YXRpb25JRA=='); + +@$core.Deprecated('Use engineRuleMappingRefDescriptor instead') +const EngineRuleMappingRef$json = { + '1': 'EngineRuleMappingRef', + '2': [ + {'1': 'MappingID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'MappingID'}, + ], + '7': {}, +}; + +/// Descriptor for `EngineRuleMappingRef`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleMappingRefDescriptor = $convert.base64Decode( + 'ChRFbmdpbmVSdWxlTWFwcGluZ1JlZhImCglNYXBwaW5nSUQYASABKAlCCLqBAQRyAhABUglNYX' + 'BwaW5nSUQ6EZJBDgoM0gEJTWFwcGluZ0lE'); + +@$core.Deprecated('Use engineRuleActionDescriptor instead') +const EngineRuleAction$json = { + '1': 'EngineRuleAction', + '2': [ + {'1': 'CreateClaim', '3': 1, '4': 1, '5': 11, '6': '.api.EngineRuleActionCreateClaim', '9': 0, '10': 'CreateClaim'}, + {'1': 'UpdateMetadata', '3': 2, '4': 1, '5': 11, '6': '.api.EngineRuleActionUpdateMetadata', '9': 0, '10': 'UpdateMetadata'}, + {'1': 'CreateAlert', '3': 3, '4': 1, '5': 11, '6': '.api.EngineRuleActionCreateAlert', '9': 0, '10': 'CreateAlert'}, + ], + '7': {}, + '8': [ + {'1': 'Action'}, + ], +}; + +/// Descriptor for `EngineRuleAction`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleActionDescriptor = $convert.base64Decode( + 'ChBFbmdpbmVSdWxlQWN0aW9uEkQKC0NyZWF0ZUNsYWltGAEgASgLMiAuYXBpLkVuZ2luZVJ1bG' + 'VBY3Rpb25DcmVhdGVDbGFpbUgAUgtDcmVhdGVDbGFpbRJNCg5VcGRhdGVNZXRhZGF0YRgCIAEo' + 'CzIjLmFwaS5FbmdpbmVSdWxlQWN0aW9uVXBkYXRlTWV0YWRhdGFIAFIOVXBkYXRlTWV0YWRhdG' + 'ESRAoLQ3JlYXRlQWxlcnQYAyABKAsyIC5hcGkuRW5naW5lUnVsZUFjdGlvbkNyZWF0ZUFsZXJ0' + 'SABSC0NyZWF0ZUFsZXJ0Og6SQQsKCdIBBkFjdGlvbkIICgZBY3Rpb24='); + +@$core.Deprecated('Use engineRuleActionCreateClaimDescriptor instead') +const EngineRuleActionCreateClaim$json = { + '1': 'EngineRuleActionCreateClaim', + '2': [ + {'1': 'ClaimTypeID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'ClaimTypeID'}, + ], + '7': {}, +}; + +/// Descriptor for `EngineRuleActionCreateClaim`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleActionCreateClaimDescriptor = $convert.base64Decode( + 'ChtFbmdpbmVSdWxlQWN0aW9uQ3JlYXRlQ2xhaW0SKgoLQ2xhaW1UeXBlSUQYASABKAlCCLqBAQ' + 'RyAhABUgtDbGFpbVR5cGVJRDoTkkEQCg7SAQtDbGFpbVR5cGVJRA=='); + +@$core.Deprecated('Use engineRuleActionUpdateMetadataDescriptor instead') +const EngineRuleActionUpdateMetadata$json = { + '1': 'EngineRuleActionUpdateMetadata', + '2': [ + {'1': 'Field', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'Field'}, + {'1': 'Value', '3': 2, '4': 1, '5': 11, '6': '.api.EngineRuleActionAttributeValue', '8': {}, '10': 'Value'}, + ], + '7': {}, +}; + +/// Descriptor for `EngineRuleActionUpdateMetadata`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleActionUpdateMetadataDescriptor = $convert.base64Decode( + 'Ch5FbmdpbmVSdWxlQWN0aW9uVXBkYXRlTWV0YWRhdGESHgoFRmllbGQYASABKAlCCLqBAQRyAh' + 'ABUgVGaWVsZBJECgVWYWx1ZRgCIAEoCzIjLmFwaS5FbmdpbmVSdWxlQWN0aW9uQXR0cmlidXRl' + 'VmFsdWVCCbqBAQWKAQIQAVIFVmFsdWU6FZJBEgoQ0gEFRmllbGTSAQVWYWx1ZQ=='); + +@$core.Deprecated('Use engineRuleActionCreateAlertDescriptor instead') +const EngineRuleActionCreateAlert$json = { + '1': 'EngineRuleActionCreateAlert', + '2': [ + {'1': 'Label', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'Label'}, + ], + '7': {}, +}; + +/// Descriptor for `EngineRuleActionCreateAlert`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleActionCreateAlertDescriptor = $convert.base64Decode( + 'ChtFbmdpbmVSdWxlQWN0aW9uQ3JlYXRlQWxlcnQSHgoFTGFiZWwYASABKAlCCLqBAQRyAhABUg' + 'VMYWJlbDoNkkEKCgjSAQVMYWJlbA=='); + +@$core.Deprecated('Use engineRuleActionAttributeValueDescriptor instead') +const EngineRuleActionAttributeValue$json = { + '1': 'EngineRuleActionAttributeValue', + '2': [ + {'1': 'LiteralValue', '3': 1, '4': 1, '5': 11, '6': '.api.EngineRuleLiteral', '9': 0, '10': 'LiteralValue'}, + {'1': 'ComputedValue', '3': 2, '4': 1, '5': 11, '6': '.api.EngineRuleComputedRef', '9': 0, '10': 'ComputedValue'}, + {'1': 'MappingValue', '3': 3, '4': 1, '5': 11, '6': '.api.EngineRuleMappingRef', '9': 0, '10': 'MappingValue'}, + ], + '7': {}, + '8': [ + {'1': 'Value'}, + ], +}; + +/// Descriptor for `EngineRuleActionAttributeValue`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List engineRuleActionAttributeValueDescriptor = $convert.base64Decode( + 'Ch5FbmdpbmVSdWxlQWN0aW9uQXR0cmlidXRlVmFsdWUSPAoMTGl0ZXJhbFZhbHVlGAEgASgLMh' + 'YuYXBpLkVuZ2luZVJ1bGVMaXRlcmFsSABSDExpdGVyYWxWYWx1ZRJCCg1Db21wdXRlZFZhbHVl' + 'GAIgASgLMhouYXBpLkVuZ2luZVJ1bGVDb21wdXRlZFJlZkgAUg1Db21wdXRlZFZhbHVlEj8KDE' + '1hcHBpbmdWYWx1ZRgDIAEoCzIZLmFwaS5FbmdpbmVSdWxlTWFwcGluZ1JlZkgAUgxNYXBwaW5n' + 'VmFsdWU6DZJBCgoI0gEFVmFsdWVCBwoFVmFsdWU='); + +@$core.Deprecated('Use computationDescriptor instead') +const Computation$json = { + '1': 'Computation', + '2': [ + {'1': 'ProjectID', '3': 10, '4': 1, '5': 9, '10': 'ProjectID'}, + {'1': 'ID', '3': 20, '4': 1, '5': 9, '10': 'ID'}, + {'1': 'Label', '3': 30, '4': 1, '5': 9, '8': {}, '10': 'Label'}, + {'1': 'Entity', '3': 40, '4': 1, '5': 14, '6': '.api.EntityType', '8': {}, '10': 'Entity'}, + {'1': 'DateDuration', '3': 50, '4': 1, '5': 11, '6': '.api.ComputationDateDuration', '9': 0, '10': 'DateDuration'}, + {'1': 'DueDate', '3': 51, '4': 1, '5': 11, '6': '.api.ComputationDueDate', '9': 0, '10': 'DueDate'}, + {'1': 'StatusDuration', '3': 52, '4': 1, '5': 11, '6': '.api.ComputationStatusDuration', '9': 0, '10': 'StatusDuration'}, + {'1': 'CustomFunction', '3': 53, '4': 1, '5': 11, '6': '.api.ComputationCustomFunction', '9': 0, '10': 'CustomFunction'}, + ], + '7': {}, + '8': [ + {'1': 'Type'}, + ], +}; + +/// Descriptor for `Computation`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List computationDescriptor = $convert.base64Decode( + 'CgtDb21wdXRhdGlvbhIcCglQcm9qZWN0SUQYCiABKAlSCVByb2plY3RJRBIOCgJJRBgUIAEoCV' + 'ICSUQSHgoFTGFiZWwYHiABKAlCCLqBAQRyAhABUgVMYWJlbBI0CgZFbnRpdHkYKCABKA4yDy5h' + 'cGkuRW50aXR5VHlwZUILuoEBB4IBBBABIABSBkVudGl0eRJCCgxEYXRlRHVyYXRpb24YMiABKA' + 'syHC5hcGkuQ29tcHV0YXRpb25EYXRlRHVyYXRpb25IAFIMRGF0ZUR1cmF0aW9uEjMKB0R1ZURh' + 'dGUYMyABKAsyFy5hcGkuQ29tcHV0YXRpb25EdWVEYXRlSABSB0R1ZURhdGUSSAoOU3RhdHVzRH' + 'VyYXRpb24YNCABKAsyHi5hcGkuQ29tcHV0YXRpb25TdGF0dXNEdXJhdGlvbkgAUg5TdGF0dXNE' + 'dXJhdGlvbhJICg5DdXN0b21GdW5jdGlvbhg1IAEoCzIeLmFwaS5Db21wdXRhdGlvbkN1c3RvbU' + 'Z1bmN0aW9uSABSDkN1c3RvbUZ1bmN0aW9uOh2SQRoKGNIBBUxhYmVs0gEGRW50aXR50gEEVHlw' + 'ZUIGCgRUeXBl'); + +@$core.Deprecated('Use computationDateDurationDescriptor instead') +const ComputationDateDuration$json = { + '1': 'ComputationDateDuration', + '2': [ + {'1': 'StartDateField', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'StartDateField'}, + {'1': 'EndDateField', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'EndDateField'}, + {'1': 'DurationFormat', '3': 3, '4': 1, '5': 11, '6': '.api.ComputationDurationFormat', '8': {}, '10': 'DurationFormat'}, + ], + '7': {}, +}; + +/// Descriptor for `ComputationDateDuration`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List computationDateDurationDescriptor = $convert.base64Decode( + 'ChdDb21wdXRhdGlvbkRhdGVEdXJhdGlvbhIwCg5TdGFydERhdGVGaWVsZBgBIAEoCUIIuoEBBH' + 'ICEAFSDlN0YXJ0RGF0ZUZpZWxkEiwKDEVuZERhdGVGaWVsZBgCIAEoCUIIuoEBBHICEAFSDEVu' + 'ZERhdGVGaWVsZBJRCg5EdXJhdGlvbkZvcm1hdBgDIAEoCzIeLmFwaS5Db21wdXRhdGlvbkR1cm' + 'F0aW9uRm9ybWF0Qgm6gQEFigECEAFSDkR1cmF0aW9uRm9ybWF0OjaSQTMKMdIBDlN0YXJ0RGF0' + 'ZUZpZWxk0gEMRW5kRGF0ZUZpZWxk0gEORHVyYXRpb25Gb3JtYXQ='); + +@$core.Deprecated('Use computationDueDateDescriptor instead') +const ComputationDueDate$json = { + '1': 'ComputationDueDate', + '2': [ + {'1': 'ReferenceDateField', '3': 10, '4': 1, '5': 9, '8': {}, '10': 'ReferenceDateField'}, + {'1': 'ComputationType', '3': 20, '4': 1, '5': 14, '6': '.api.ComputationDueDateComputationType', '8': {}, '10': 'ComputationType'}, + {'1': 'Duration', '3': 31, '4': 1, '5': 13, '9': 0, '10': 'Duration'}, + {'1': 'MappingValue', '3': 32, '4': 1, '5': 11, '6': '.api.EngineRuleMappingRef', '9': 0, '10': 'MappingValue'}, + {'1': 'DurationFormat', '3': 40, '4': 1, '5': 11, '6': '.api.ComputationDurationFormat', '8': {}, '10': 'DurationFormat'}, + ], + '7': {}, + '8': [ + {'1': 'Value'}, + ], +}; + +/// Descriptor for `ComputationDueDate`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List computationDueDateDescriptor = $convert.base64Decode( + 'ChJDb21wdXRhdGlvbkR1ZURhdGUSOAoSUmVmZXJlbmNlRGF0ZUZpZWxkGAogASgJQgi6gQEEcg' + 'IQAVISUmVmZXJlbmNlRGF0ZUZpZWxkEl0KD0NvbXB1dGF0aW9uVHlwZRgUIAEoDjImLmFwaS5D' + 'b21wdXRhdGlvbkR1ZURhdGVDb21wdXRhdGlvblR5cGVCC7qBAQeCAQQQASAAUg9Db21wdXRhdG' + 'lvblR5cGUSHAoIRHVyYXRpb24YHyABKA1IAFIIRHVyYXRpb24SPwoMTWFwcGluZ1ZhbHVlGCAg' + 'ASgLMhkuYXBpLkVuZ2luZVJ1bGVNYXBwaW5nUmVmSABSDE1hcHBpbmdWYWx1ZRJRCg5EdXJhdG' + 'lvbkZvcm1hdBgoIAEoCzIeLmFwaS5Db21wdXRhdGlvbkR1cmF0aW9uRm9ybWF0Qgm6gQEFigEC' + 'EAFSDkR1cmF0aW9uRm9ybWF0OkWSQUIKQNIBElJlZmVyZW5jZURhdGVGaWVsZNIBD0NvbXB1dG' + 'F0aW9uVHlwZdIBBVZhbHVl0gEORHVyYXRpb25Gb3JtYXRCBwoFVmFsdWU='); + +@$core.Deprecated('Use computationStatusDurationDescriptor instead') +const ComputationStatusDuration$json = { + '1': 'ComputationStatusDuration', + '2': [ + {'1': 'StatusCodes', '3': 1, '4': 3, '5': 9, '8': {}, '10': 'StatusCodes'}, + {'1': 'DurationFormat', '3': 2, '4': 1, '5': 11, '6': '.api.ComputationDurationFormat', '8': {}, '10': 'DurationFormat'}, + ], + '7': {}, +}; + +/// Descriptor for `ComputationStatusDuration`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List computationStatusDurationDescriptor = $convert.base64Decode( + 'ChlDb21wdXRhdGlvblN0YXR1c0R1cmF0aW9uEisKC1N0YXR1c0NvZGVzGAEgAygJQgm6gQEFkg' + 'ECCAFSC1N0YXR1c0NvZGVzElEKDkR1cmF0aW9uRm9ybWF0GAIgASgLMh4uYXBpLkNvbXB1dGF0' + 'aW9uRHVyYXRpb25Gb3JtYXRCCbqBAQWKAQIQAVIORHVyYXRpb25Gb3JtYXQ6JJJBIQof0gELU3' + 'RhdHVzQ29kZXPSAQ5EdXJhdGlvbkZvcm1hdA=='); + +@$core.Deprecated('Use computationDurationFormatDescriptor instead') +const ComputationDurationFormat$json = { + '1': 'ComputationDurationFormat', + '2': [ + {'1': 'Format', '3': 1, '4': 1, '5': 14, '6': '.api.DurationFormat', '8': {}, '10': 'Format'}, + {'1': 'CalendarID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'CalendarID'}, + {'1': 'Rounding', '3': 3, '4': 1, '5': 14, '6': '.api.DurationRounding', '8': {}, '10': 'Rounding'}, + {'1': 'RoundingValue', '3': 4, '4': 1, '5': 9, '10': 'RoundingValue'}, + ], + '7': {}, +}; + +/// Descriptor for `ComputationDurationFormat`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List computationDurationFormatDescriptor = $convert.base64Decode( + 'ChlDb21wdXRhdGlvbkR1cmF0aW9uRm9ybWF0EjgKBkZvcm1hdBgBIAEoDjITLmFwaS5EdXJhdG' + 'lvbkZvcm1hdEILuoEBB4IBBBABIABSBkZvcm1hdBIoCgpDYWxlbmRhcklEGAIgASgJQgi6gQEE' + 'cgIQAVIKQ2FsZW5kYXJJRBI+CghSb3VuZGluZxgDIAEoDjIVLmFwaS5EdXJhdGlvblJvdW5kaW' + '5nQgu6gQEHggEEEAEgAFIIUm91bmRpbmcSJAoNUm91bmRpbmdWYWx1ZRgEIAEoCVINUm91bmRp' + 'bmdWYWx1ZTomkkEjCiHSAQZGb3JtYXTSAQhSb3VuZGluZ9IBCkNhbGVuZGFySUQ='); + +@$core.Deprecated('Use computationCustomFunctionDescriptor instead') +const ComputationCustomFunction$json = { + '1': 'ComputationCustomFunction', + '2': [ + {'1': 'LeftField', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'LeftField'}, + {'1': 'Operator', '3': 2, '4': 1, '5': 14, '6': '.api.ComputationCustomFunctionOperator', '8': {}, '10': 'Operator'}, + {'1': 'RightField', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'RightField'}, + {'1': 'Format', '3': 4, '4': 1, '5': 11, '6': '.api.ComputationCustomFunctionFormat', '8': {}, '10': 'Format'}, + ], + '7': {}, +}; + +/// Descriptor for `ComputationCustomFunction`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List computationCustomFunctionDescriptor = $convert.base64Decode( + 'ChlDb21wdXRhdGlvbkN1c3RvbUZ1bmN0aW9uEiYKCUxlZnRGaWVsZBgBIAEoCUIIuoEBBHICEA' + 'FSCUxlZnRGaWVsZBJPCghPcGVyYXRvchgCIAEoDjImLmFwaS5Db21wdXRhdGlvbkN1c3RvbUZ1' + 'bmN0aW9uT3BlcmF0b3JCC7qBAQeCAQQQASAAUghPcGVyYXRvchIoCgpSaWdodEZpZWxkGAMgAS' + 'gJQgi6gQEEcgIQAVIKUmlnaHRGaWVsZBJHCgZGb3JtYXQYBCABKAsyJC5hcGkuQ29tcHV0YXRp' + 'b25DdXN0b21GdW5jdGlvbkZvcm1hdEIJuoEBBYoBAhABUgZGb3JtYXQ6MpJBLwot0gEJTGVmdE' + 'ZpZWxk0gEIT3BlcmF0b3LSAQpSaWdodEZpZWxk0gEGRm9ybWF0'); + +@$core.Deprecated('Use computationCustomFunctionFormatDescriptor instead') +const ComputationCustomFunctionFormat$json = { + '1': 'ComputationCustomFunctionFormat', + '2': [ + {'1': 'Format', '3': 1, '4': 1, '5': 14, '6': '.api.CustomFunctionFormat', '8': {}, '10': 'Format'}, + {'1': 'Precision', '3': 2, '4': 1, '5': 13, '8': {}, '10': 'Precision'}, + {'1': 'Rounding', '3': 3, '4': 1, '5': 14, '6': '.api.CustomFunctionRounding', '8': {}, '10': 'Rounding'}, + ], + '7': {}, +}; + +/// Descriptor for `ComputationCustomFunctionFormat`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List computationCustomFunctionFormatDescriptor = $convert.base64Decode( + 'Ch9Db21wdXRhdGlvbkN1c3RvbUZ1bmN0aW9uRm9ybWF0Ej4KBkZvcm1hdBgBIAEoDjIZLmFwaS' + '5DdXN0b21GdW5jdGlvbkZvcm1hdEILuoEBB4IBBBABIABSBkZvcm1hdBImCglQcmVjaXNpb24Y' + 'AiABKA1CCLqBAQQqAigAUglQcmVjaXNpb24SRAoIUm91bmRpbmcYAyABKA4yGy5hcGkuQ3VzdG' + '9tRnVuY3Rpb25Sb3VuZGluZ0ILuoEBB4IBBBABIABSCFJvdW5kaW5nOiWSQSIKINIBBkZvcm1h' + 'dNIBCFJvdW5kaW5n0gEJUHJlY2lzaW9u'); + +@$core.Deprecated('Use mappingTableDescriptor instead') +const MappingTable$json = { + '1': 'MappingTable', + '2': [ + {'1': 'ProjectID', '3': 10, '4': 1, '5': 9, '10': 'ProjectID'}, + {'1': 'ID', '3': 20, '4': 1, '5': 9, '8': {}, '10': 'ID'}, + {'1': 'Label', '3': 30, '4': 1, '5': 9, '8': {}, '10': 'Label'}, + {'1': 'Entity', '3': 40, '4': 1, '5': 14, '6': '.api.EntityType', '8': {}, '10': 'Entity'}, + {'1': 'InputFields', '3': 50, '4': 3, '5': 11, '6': '.api.MappingTableInputDescription', '8': {}, '10': 'InputFields'}, + {'1': 'OutputField', '3': 60, '4': 1, '5': 11, '6': '.api.MappingTableOutputField', '8': {}, '10': 'OutputField'}, + {'1': 'Entries', '3': 70, '4': 3, '5': 11, '6': '.api.MappingTableEntry', '8': {}, '10': 'Entries'}, + ], + '7': {}, +}; + +/// Descriptor for `MappingTable`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mappingTableDescriptor = $convert.base64Decode( + 'CgxNYXBwaW5nVGFibGUSHAoJUHJvamVjdElEGAogASgJUglQcm9qZWN0SUQSGAoCSUQYFCABKA' + 'lCCLqBAQRyAhABUgJJRBIeCgVMYWJlbBgeIAEoCUIIuoEBBHICEAFSBUxhYmVsEjQKBkVudGl0' + 'eRgoIAEoDjIPLmFwaS5FbnRpdHlUeXBlQgu6gQEHggEEEAEgAFIGRW50aXR5Ek4KC0lucHV0Rm' + 'llbGRzGDIgAygLMiEuYXBpLk1hcHBpbmdUYWJsZUlucHV0RGVzY3JpcHRpb25CCbqBAQWSAQII' + 'AVILSW5wdXRGaWVsZHMSSQoLT3V0cHV0RmllbGQYPCABKAsyHC5hcGkuTWFwcGluZ1RhYmxlT3' + 'V0cHV0RmllbGRCCbqBAQWKAQIQAVILT3V0cHV0RmllbGQSOwoHRW50cmllcxhGIAMoCzIWLmFw' + 'aS5NYXBwaW5nVGFibGVFbnRyeUIJuoEBBZIBAggBUgdFbnRyaWVzOjySQTkKN9IBBUxhYmVs0g' + 'ELSW5wdXRGaWVsZHPSAQtPdXRwdXRGaWVsZNIBB0VudHJpZXPSAQZFbnRpdHk='); + +@$core.Deprecated('Use mappingTableInputDescriptionDescriptor instead') +const MappingTableInputDescription$json = { + '1': 'MappingTableInputDescription', + '2': [ + {'1': 'Field', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'Field'}, + {'1': 'Granularity', '3': 2, '4': 1, '5': 14, '6': '.api.MappingTableInputDescriptionGranularity', '8': {}, '10': 'Granularity'}, + ], +}; + +/// Descriptor for `MappingTableInputDescription`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mappingTableInputDescriptionDescriptor = $convert.base64Decode( + 'ChxNYXBwaW5nVGFibGVJbnB1dERlc2NyaXB0aW9uEh4KBUZpZWxkGAEgASgJQgi6gQEEcgIQAV' + 'IFRmllbGQSWwoLR3JhbnVsYXJpdHkYAiABKA4yLC5hcGkuTWFwcGluZ1RhYmxlSW5wdXREZXNj' + 'cmlwdGlvbkdyYW51bGFyaXR5Qgu6gQEHggEEEAEgAFILR3JhbnVsYXJpdHk='); + +@$core.Deprecated('Use mappingTableEntryDescriptor instead') +const MappingTableEntry$json = { + '1': 'MappingTableEntry', + '2': [ + {'1': 'Inputs', '3': 1, '4': 3, '5': 11, '6': '.api.MappingTableInput', '8': {}, '10': 'Inputs'}, + {'1': 'OutputValue', '3': 2, '4': 1, '5': 11, '6': '.api.EngineRuleLiteral', '8': {}, '10': 'OutputValue'}, + ], + '7': {}, +}; + +/// Descriptor for `MappingTableEntry`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mappingTableEntryDescriptor = $convert.base64Decode( + 'ChFNYXBwaW5nVGFibGVFbnRyeRI5CgZJbnB1dHMYASADKAsyFi5hcGkuTWFwcGluZ1RhYmxlSW' + '5wdXRCCbqBAQWSAQIIAVIGSW5wdXRzEkMKC091dHB1dFZhbHVlGAIgASgLMhYuYXBpLkVuZ2lu' + 'ZVJ1bGVMaXRlcmFsQgm6gQEFigECEAFSC091dHB1dFZhbHVlOhySQRkKF9IBBklucHV0c9IBC0' + '91dHB1dFZhbHVl'); + +@$core.Deprecated('Use mappingTableInputDescriptor instead') +const MappingTableInput$json = { + '1': 'MappingTableInput', + '2': [ + {'1': 'Field', '3': 10, '4': 1, '5': 9, '8': {}, '10': 'Field'}, + {'1': 'Literal', '3': 20, '4': 1, '5': 11, '6': '.api.EngineRuleLiteral', '8': {}, '9': 0, '10': 'Literal'}, + {'1': 'AllValuesMatch', '3': 21, '4': 1, '5': 8, '9': 0, '10': 'AllValuesMatch'}, + {'1': 'Operator', '3': 30, '4': 1, '5': 14, '6': '.api.MappingTableInputOperator', '8': {}, '10': 'Operator'}, + ], + '7': {}, + '8': [ + {'1': 'Value'}, + ], +}; + +/// Descriptor for `MappingTableInput`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mappingTableInputDescriptor = $convert.base64Decode( + 'ChFNYXBwaW5nVGFibGVJbnB1dBIeCgVGaWVsZBgKIAEoCUIIuoEBBHICEAFSBUZpZWxkEj0KB0' + 'xpdGVyYWwYFCABKAsyFi5hcGkuRW5naW5lUnVsZUxpdGVyYWxCCbqBAQWKAQIQAUgAUgdMaXRl' + 'cmFsEigKDkFsbFZhbHVlc01hdGNoGBUgASgISABSDkFsbFZhbHVlc01hdGNoEkcKCE9wZXJhdG' + '9yGB4gASgOMh4uYXBpLk1hcHBpbmdUYWJsZUlucHV0T3BlcmF0b3JCC7qBAQeCAQQQASAAUghP' + 'cGVyYXRvcjoVkkESChDSAQVGaWVsZNIBBVZhbHVlQgcKBVZhbHVl'); + +@$core.Deprecated('Use mappingTableOutputFieldDescriptor instead') +const MappingTableOutputField$json = { + '1': 'MappingTableOutputField', + '2': [ + {'1': 'Label', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'Label'}, + {'1': 'Type', '3': 2, '4': 1, '5': 14, '6': '.api.MappingTableOutputFieldType', '8': {}, '10': 'Type'}, + ], + '7': {}, +}; + +/// Descriptor for `MappingTableOutputField`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List mappingTableOutputFieldDescriptor = $convert.base64Decode( + 'ChdNYXBwaW5nVGFibGVPdXRwdXRGaWVsZBIeCgVMYWJlbBgBIAEoCUIIuoEBBHICEAFSBUxhYm' + 'VsEkEKBFR5cGUYAiABKA4yIC5hcGkuTWFwcGluZ1RhYmxlT3V0cHV0RmllbGRUeXBlQgu6gQEH' + 'ggEEEAEgAFIEVHlwZToUkkERCg/SAQVMYWJlbNIBBFR5cGU='); + diff --git a/lib/ruleEngine_services.pb.dart b/lib/ruleEngine_services.pb.dart new file mode 100644 index 00000000..ba178227 --- /dev/null +++ b/lib/ruleEngine_services.pb.dart @@ -0,0 +1,1678 @@ +// This is a generated file - do not edit. +// +// Generated from ruleEngine_services.proto. + +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names + +import 'dart:core' as $core; + +import 'package:fixnum/fixnum.dart' as $fixnum; +import 'package:protobuf/protobuf.dart' as $pb; + +import 'ruleEngine_model.pb.dart' as $2; +import 'shared.pb.dart' as $1; + +export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; + +enum PutEngineRuleRequest_Trigger { + scheduledTrigger, + eventTrigger, + milestoneTrigger, + notSet +} + +/// Put +class PutEngineRuleRequest extends $pb.GeneratedMessage { + factory PutEngineRuleRequest({ + $1.RequestProjectHeader? header, + $core.String? code, + $core.String? label, + $2.EngineRuleValidityType? validityType, + $core.String? validFrom, + $core.String? validUntil, + $1.EntityType? entity, + $2.EngineRuleScheduledTrigger? scheduledTrigger, + $2.EngineRuleEventTrigger? eventTrigger, + $2.EngineRuleMilestoneTrigger? milestoneTrigger, + $core.Iterable<$2.EngineRuleCondition>? conditions, + $core.Iterable<$2.EngineRuleAction>? actions, + $core.bool? isActive, + }) { + final result = create(); + if (header != null) result.header = header; + if (code != null) result.code = code; + if (label != null) result.label = label; + if (validityType != null) result.validityType = validityType; + if (validFrom != null) result.validFrom = validFrom; + if (validUntil != null) result.validUntil = validUntil; + if (entity != null) result.entity = entity; + if (scheduledTrigger != null) result.scheduledTrigger = scheduledTrigger; + if (eventTrigger != null) result.eventTrigger = eventTrigger; + if (milestoneTrigger != null) result.milestoneTrigger = milestoneTrigger; + if (conditions != null) result.conditions.addAll(conditions); + if (actions != null) result.actions.addAll(actions); + if (isActive != null) result.isActive = isActive; + return result; + } + + PutEngineRuleRequest._(); + + factory PutEngineRuleRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory PutEngineRuleRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static const $core.Map<$core.int, PutEngineRuleRequest_Trigger> _PutEngineRuleRequest_TriggerByTag = { + 50 : PutEngineRuleRequest_Trigger.scheduledTrigger, + 51 : PutEngineRuleRequest_Trigger.eventTrigger, + 52 : PutEngineRuleRequest_Trigger.milestoneTrigger, + 0 : PutEngineRuleRequest_Trigger.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PutEngineRuleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..oo(0, [50, 51, 52]) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOS(10, _omitFieldNames ? '' : 'Code', protoName: 'Code') + ..aOS(20, _omitFieldNames ? '' : 'Label', protoName: 'Label') + ..e<$2.EngineRuleValidityType>(30, _omitFieldNames ? '' : 'ValidityType', $pb.PbFieldType.OE, protoName: 'ValidityType', defaultOrMaker: $2.EngineRuleValidityType.ENGINE_RULE_VALIDITY_TYPE_UNKNOWN, valueOf: $2.EngineRuleValidityType.valueOf, enumValues: $2.EngineRuleValidityType.values) + ..aOS(31, _omitFieldNames ? '' : 'ValidFrom', protoName: 'ValidFrom') + ..aOS(32, _omitFieldNames ? '' : 'ValidUntil', protoName: 'ValidUntil') + ..e<$1.EntityType>(40, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values) + ..aOM<$2.EngineRuleScheduledTrigger>(50, _omitFieldNames ? '' : 'ScheduledTrigger', protoName: 'ScheduledTrigger', subBuilder: $2.EngineRuleScheduledTrigger.create) + ..aOM<$2.EngineRuleEventTrigger>(51, _omitFieldNames ? '' : 'EventTrigger', protoName: 'EventTrigger', subBuilder: $2.EngineRuleEventTrigger.create) + ..aOM<$2.EngineRuleMilestoneTrigger>(52, _omitFieldNames ? '' : 'MilestoneTrigger', protoName: 'MilestoneTrigger', subBuilder: $2.EngineRuleMilestoneTrigger.create) + ..pc<$2.EngineRuleCondition>(60, _omitFieldNames ? '' : 'Conditions', $pb.PbFieldType.PM, protoName: 'Conditions', subBuilder: $2.EngineRuleCondition.create) + ..pc<$2.EngineRuleAction>(70, _omitFieldNames ? '' : 'Actions', $pb.PbFieldType.PM, protoName: 'Actions', subBuilder: $2.EngineRuleAction.create) + ..aOB(80, _omitFieldNames ? '' : 'IsActive', protoName: 'IsActive') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PutEngineRuleRequest clone() => PutEngineRuleRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PutEngineRuleRequest copyWith(void Function(PutEngineRuleRequest) updates) => super.copyWith((message) => updates(message as PutEngineRuleRequest)) as PutEngineRuleRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PutEngineRuleRequest create() => PutEngineRuleRequest._(); + @$core.override + PutEngineRuleRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PutEngineRuleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PutEngineRuleRequest? _defaultInstance; + + PutEngineRuleRequest_Trigger whichTrigger() => _PutEngineRuleRequest_TriggerByTag[$_whichOneof(0)]!; + void clearTrigger() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(10) + $core.String get code => $_getSZ(1); + @$pb.TagNumber(10) + set code($core.String value) => $_setString(1, value); + @$pb.TagNumber(10) + $core.bool hasCode() => $_has(1); + @$pb.TagNumber(10) + void clearCode() => $_clearField(10); + + @$pb.TagNumber(20) + $core.String get label => $_getSZ(2); + @$pb.TagNumber(20) + set label($core.String value) => $_setString(2, value); + @$pb.TagNumber(20) + $core.bool hasLabel() => $_has(2); + @$pb.TagNumber(20) + void clearLabel() => $_clearField(20); + + @$pb.TagNumber(30) + $2.EngineRuleValidityType get validityType => $_getN(3); + @$pb.TagNumber(30) + set validityType($2.EngineRuleValidityType value) => $_setField(30, value); + @$pb.TagNumber(30) + $core.bool hasValidityType() => $_has(3); + @$pb.TagNumber(30) + void clearValidityType() => $_clearField(30); + + @$pb.TagNumber(31) + $core.String get validFrom => $_getSZ(4); + @$pb.TagNumber(31) + set validFrom($core.String value) => $_setString(4, value); + @$pb.TagNumber(31) + $core.bool hasValidFrom() => $_has(4); + @$pb.TagNumber(31) + void clearValidFrom() => $_clearField(31); + + @$pb.TagNumber(32) + $core.String get validUntil => $_getSZ(5); + @$pb.TagNumber(32) + set validUntil($core.String value) => $_setString(5, value); + @$pb.TagNumber(32) + $core.bool hasValidUntil() => $_has(5); + @$pb.TagNumber(32) + void clearValidUntil() => $_clearField(32); + + @$pb.TagNumber(40) + $1.EntityType get entity => $_getN(6); + @$pb.TagNumber(40) + set entity($1.EntityType value) => $_setField(40, value); + @$pb.TagNumber(40) + $core.bool hasEntity() => $_has(6); + @$pb.TagNumber(40) + void clearEntity() => $_clearField(40); + + @$pb.TagNumber(50) + $2.EngineRuleScheduledTrigger get scheduledTrigger => $_getN(7); + @$pb.TagNumber(50) + set scheduledTrigger($2.EngineRuleScheduledTrigger value) => $_setField(50, value); + @$pb.TagNumber(50) + $core.bool hasScheduledTrigger() => $_has(7); + @$pb.TagNumber(50) + void clearScheduledTrigger() => $_clearField(50); + @$pb.TagNumber(50) + $2.EngineRuleScheduledTrigger ensureScheduledTrigger() => $_ensure(7); + + @$pb.TagNumber(51) + $2.EngineRuleEventTrigger get eventTrigger => $_getN(8); + @$pb.TagNumber(51) + set eventTrigger($2.EngineRuleEventTrigger value) => $_setField(51, value); + @$pb.TagNumber(51) + $core.bool hasEventTrigger() => $_has(8); + @$pb.TagNumber(51) + void clearEventTrigger() => $_clearField(51); + @$pb.TagNumber(51) + $2.EngineRuleEventTrigger ensureEventTrigger() => $_ensure(8); + + @$pb.TagNumber(52) + $2.EngineRuleMilestoneTrigger get milestoneTrigger => $_getN(9); + @$pb.TagNumber(52) + set milestoneTrigger($2.EngineRuleMilestoneTrigger value) => $_setField(52, value); + @$pb.TagNumber(52) + $core.bool hasMilestoneTrigger() => $_has(9); + @$pb.TagNumber(52) + void clearMilestoneTrigger() => $_clearField(52); + @$pb.TagNumber(52) + $2.EngineRuleMilestoneTrigger ensureMilestoneTrigger() => $_ensure(9); + + @$pb.TagNumber(60) + $pb.PbList<$2.EngineRuleCondition> get conditions => $_getList(10); + + @$pb.TagNumber(70) + $pb.PbList<$2.EngineRuleAction> get actions => $_getList(11); + + @$pb.TagNumber(80) + $core.bool get isActive => $_getBF(12); + @$pb.TagNumber(80) + set isActive($core.bool value) => $_setBool(12, value); + @$pb.TagNumber(80) + $core.bool hasIsActive() => $_has(12); + @$pb.TagNumber(80) + void clearIsActive() => $_clearField(80); +} + +class PutEngineRuleResponse extends $pb.GeneratedMessage { + factory PutEngineRuleResponse({ + $2.EngineRule? engineRule, + }) { + final result = create(); + if (engineRule != null) result.engineRule = engineRule; + return result; + } + + PutEngineRuleResponse._(); + + factory PutEngineRuleResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory PutEngineRuleResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PutEngineRuleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.EngineRule>(1, _omitFieldNames ? '' : 'EngineRule', protoName: 'EngineRule', subBuilder: $2.EngineRule.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PutEngineRuleResponse clone() => PutEngineRuleResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PutEngineRuleResponse copyWith(void Function(PutEngineRuleResponse) updates) => super.copyWith((message) => updates(message as PutEngineRuleResponse)) as PutEngineRuleResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PutEngineRuleResponse create() => PutEngineRuleResponse._(); + @$core.override + PutEngineRuleResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PutEngineRuleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PutEngineRuleResponse? _defaultInstance; + + @$pb.TagNumber(1) + $2.EngineRule get engineRule => $_getN(0); + @$pb.TagNumber(1) + set engineRule($2.EngineRule value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasEngineRule() => $_has(0); + @$pb.TagNumber(1) + void clearEngineRule() => $_clearField(1); + @$pb.TagNumber(1) + $2.EngineRule ensureEngineRule() => $_ensure(0); +} + +/// Get +class GetEngineRuleRequest extends $pb.GeneratedMessage { + factory GetEngineRuleRequest({ + $1.RequestProjectHeader? header, + $core.String? code, + }) { + final result = create(); + if (header != null) result.header = header; + if (code != null) result.code = code; + return result; + } + + GetEngineRuleRequest._(); + + factory GetEngineRuleRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory GetEngineRuleRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetEngineRuleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOS(2, _omitFieldNames ? '' : 'Code', protoName: 'Code') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetEngineRuleRequest clone() => GetEngineRuleRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetEngineRuleRequest copyWith(void Function(GetEngineRuleRequest) updates) => super.copyWith((message) => updates(message as GetEngineRuleRequest)) as GetEngineRuleRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetEngineRuleRequest create() => GetEngineRuleRequest._(); + @$core.override + GetEngineRuleRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetEngineRuleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetEngineRuleRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $core.String get code => $_getSZ(1); + @$pb.TagNumber(2) + set code($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasCode() => $_has(1); + @$pb.TagNumber(2) + void clearCode() => $_clearField(2); +} + +class GetEngineRuleResponse extends $pb.GeneratedMessage { + factory GetEngineRuleResponse({ + $2.EngineRule? engineRule, + }) { + final result = create(); + if (engineRule != null) result.engineRule = engineRule; + return result; + } + + GetEngineRuleResponse._(); + + factory GetEngineRuleResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory GetEngineRuleResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetEngineRuleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.EngineRule>(1, _omitFieldNames ? '' : 'EngineRule', protoName: 'EngineRule', subBuilder: $2.EngineRule.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetEngineRuleResponse clone() => GetEngineRuleResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetEngineRuleResponse copyWith(void Function(GetEngineRuleResponse) updates) => super.copyWith((message) => updates(message as GetEngineRuleResponse)) as GetEngineRuleResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetEngineRuleResponse create() => GetEngineRuleResponse._(); + @$core.override + GetEngineRuleResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetEngineRuleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetEngineRuleResponse? _defaultInstance; + + @$pb.TagNumber(1) + $2.EngineRule get engineRule => $_getN(0); + @$pb.TagNumber(1) + set engineRule($2.EngineRule value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasEngineRule() => $_has(0); + @$pb.TagNumber(1) + void clearEngineRule() => $_clearField(1); + @$pb.TagNumber(1) + $2.EngineRule ensureEngineRule() => $_ensure(0); +} + +/// List +class ListEngineRuleRequest extends $pb.GeneratedMessage { + factory ListEngineRuleRequest({ + $1.RequestProjectHeader? header, + $1.EntityType? entity, + $2.EngineRuleTriggerType? triggerType, + $core.bool? isCurrentlyValid, + }) { + final result = create(); + if (header != null) result.header = header; + if (entity != null) result.entity = entity; + if (triggerType != null) result.triggerType = triggerType; + if (isCurrentlyValid != null) result.isCurrentlyValid = isCurrentlyValid; + return result; + } + + ListEngineRuleRequest._(); + + factory ListEngineRuleRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ListEngineRuleRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListEngineRuleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..e<$1.EntityType>(2, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values) + ..e<$2.EngineRuleTriggerType>(3, _omitFieldNames ? '' : 'TriggerType', $pb.PbFieldType.OE, protoName: 'TriggerType', defaultOrMaker: $2.EngineRuleTriggerType.ENGINE_RULE_TRIGGER_TYPE_UNKNOWN, valueOf: $2.EngineRuleTriggerType.valueOf, enumValues: $2.EngineRuleTriggerType.values) + ..aOB(4, _omitFieldNames ? '' : 'IsCurrentlyValid', protoName: 'IsCurrentlyValid') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ListEngineRuleRequest clone() => ListEngineRuleRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ListEngineRuleRequest copyWith(void Function(ListEngineRuleRequest) updates) => super.copyWith((message) => updates(message as ListEngineRuleRequest)) as ListEngineRuleRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ListEngineRuleRequest create() => ListEngineRuleRequest._(); + @$core.override + ListEngineRuleRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ListEngineRuleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ListEngineRuleRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $1.EntityType get entity => $_getN(1); + @$pb.TagNumber(2) + set entity($1.EntityType value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasEntity() => $_has(1); + @$pb.TagNumber(2) + void clearEntity() => $_clearField(2); + + @$pb.TagNumber(3) + $2.EngineRuleTriggerType get triggerType => $_getN(2); + @$pb.TagNumber(3) + set triggerType($2.EngineRuleTriggerType value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasTriggerType() => $_has(2); + @$pb.TagNumber(3) + void clearTriggerType() => $_clearField(3); + + @$pb.TagNumber(4) + $core.bool get isCurrentlyValid => $_getBF(3); + @$pb.TagNumber(4) + set isCurrentlyValid($core.bool value) => $_setBool(3, value); + @$pb.TagNumber(4) + $core.bool hasIsCurrentlyValid() => $_has(3); + @$pb.TagNumber(4) + void clearIsCurrentlyValid() => $_clearField(4); +} + +class ListEngineRuleResponse extends $pb.GeneratedMessage { + factory ListEngineRuleResponse({ + $core.Iterable<$2.EngineRule>? engineRules, + $fixnum.Int64? debugUntil, + }) { + final result = create(); + if (engineRules != null) result.engineRules.addAll(engineRules); + if (debugUntil != null) result.debugUntil = debugUntil; + return result; + } + + ListEngineRuleResponse._(); + + factory ListEngineRuleResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ListEngineRuleResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListEngineRuleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pc<$2.EngineRule>(1, _omitFieldNames ? '' : 'EngineRules', $pb.PbFieldType.PM, protoName: 'EngineRules', subBuilder: $2.EngineRule.create) + ..aInt64(2, _omitFieldNames ? '' : 'DebugUntil', protoName: 'DebugUntil') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ListEngineRuleResponse clone() => ListEngineRuleResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ListEngineRuleResponse copyWith(void Function(ListEngineRuleResponse) updates) => super.copyWith((message) => updates(message as ListEngineRuleResponse)) as ListEngineRuleResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ListEngineRuleResponse create() => ListEngineRuleResponse._(); + @$core.override + ListEngineRuleResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ListEngineRuleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ListEngineRuleResponse? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList<$2.EngineRule> get engineRules => $_getList(0); + + @$pb.TagNumber(2) + $fixnum.Int64 get debugUntil => $_getI64(1); + @$pb.TagNumber(2) + set debugUntil($fixnum.Int64 value) => $_setInt64(1, value); + @$pb.TagNumber(2) + $core.bool hasDebugUntil() => $_has(1); + @$pb.TagNumber(2) + void clearDebugUntil() => $_clearField(2); +} + +/// Delete +class DeleteEngineRuleRequest extends $pb.GeneratedMessage { + factory DeleteEngineRuleRequest({ + $1.RequestProjectHeader? header, + $core.String? code, + }) { + final result = create(); + if (header != null) result.header = header; + if (code != null) result.code = code; + return result; + } + + DeleteEngineRuleRequest._(); + + factory DeleteEngineRuleRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory DeleteEngineRuleRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteEngineRuleRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOS(2, _omitFieldNames ? '' : 'Code', protoName: 'Code') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteEngineRuleRequest clone() => DeleteEngineRuleRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteEngineRuleRequest copyWith(void Function(DeleteEngineRuleRequest) updates) => super.copyWith((message) => updates(message as DeleteEngineRuleRequest)) as DeleteEngineRuleRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteEngineRuleRequest create() => DeleteEngineRuleRequest._(); + @$core.override + DeleteEngineRuleRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteEngineRuleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteEngineRuleRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $core.String get code => $_getSZ(1); + @$pb.TagNumber(2) + set code($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasCode() => $_has(1); + @$pb.TagNumber(2) + void clearCode() => $_clearField(2); +} + +class DeleteEngineRuleResponse extends $pb.GeneratedMessage { + factory DeleteEngineRuleResponse() => create(); + + DeleteEngineRuleResponse._(); + + factory DeleteEngineRuleResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory DeleteEngineRuleResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteEngineRuleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteEngineRuleResponse clone() => DeleteEngineRuleResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteEngineRuleResponse copyWith(void Function(DeleteEngineRuleResponse) updates) => super.copyWith((message) => updates(message as DeleteEngineRuleResponse)) as DeleteEngineRuleResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteEngineRuleResponse create() => DeleteEngineRuleResponse._(); + @$core.override + DeleteEngineRuleResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteEngineRuleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteEngineRuleResponse? _defaultInstance; +} + +/// ToggleDebugOn +class ToggleDebugOnRequest extends $pb.GeneratedMessage { + factory ToggleDebugOnRequest({ + $1.RequestProjectHeader? header, + }) { + final result = create(); + if (header != null) result.header = header; + return result; + } + + ToggleDebugOnRequest._(); + + factory ToggleDebugOnRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ToggleDebugOnRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToggleDebugOnRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ToggleDebugOnRequest clone() => ToggleDebugOnRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ToggleDebugOnRequest copyWith(void Function(ToggleDebugOnRequest) updates) => super.copyWith((message) => updates(message as ToggleDebugOnRequest)) as ToggleDebugOnRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ToggleDebugOnRequest create() => ToggleDebugOnRequest._(); + @$core.override + ToggleDebugOnRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ToggleDebugOnRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ToggleDebugOnRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); +} + +class ToggleDebugOnResponse extends $pb.GeneratedMessage { + factory ToggleDebugOnResponse({ + $fixnum.Int64? debugUntil, + }) { + final result = create(); + if (debugUntil != null) result.debugUntil = debugUntil; + return result; + } + + ToggleDebugOnResponse._(); + + factory ToggleDebugOnResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ToggleDebugOnResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToggleDebugOnResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aInt64(1, _omitFieldNames ? '' : 'DebugUntil', protoName: 'DebugUntil') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ToggleDebugOnResponse clone() => ToggleDebugOnResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ToggleDebugOnResponse copyWith(void Function(ToggleDebugOnResponse) updates) => super.copyWith((message) => updates(message as ToggleDebugOnResponse)) as ToggleDebugOnResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ToggleDebugOnResponse create() => ToggleDebugOnResponse._(); + @$core.override + ToggleDebugOnResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ToggleDebugOnResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ToggleDebugOnResponse? _defaultInstance; + + @$pb.TagNumber(1) + $fixnum.Int64 get debugUntil => $_getI64(0); + @$pb.TagNumber(1) + set debugUntil($fixnum.Int64 value) => $_setInt64(0, value); + @$pb.TagNumber(1) + $core.bool hasDebugUntil() => $_has(0); + @$pb.TagNumber(1) + void clearDebugUntil() => $_clearField(1); +} + +enum PutComputationRequest_Type { + dateDuration, + dueDate, + statusDuration, + customFunction, + notSet +} + +/// Put +class PutComputationRequest extends $pb.GeneratedMessage { + factory PutComputationRequest({ + $1.RequestProjectHeader? header, + $core.String? iD, + $core.String? label, + $1.EntityType? entity, + $2.ComputationDateDuration? dateDuration, + $2.ComputationDueDate? dueDate, + $2.ComputationStatusDuration? statusDuration, + $2.ComputationCustomFunction? customFunction, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + if (label != null) result.label = label; + if (entity != null) result.entity = entity; + if (dateDuration != null) result.dateDuration = dateDuration; + if (dueDate != null) result.dueDate = dueDate; + if (statusDuration != null) result.statusDuration = statusDuration; + if (customFunction != null) result.customFunction = customFunction; + return result; + } + + PutComputationRequest._(); + + factory PutComputationRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory PutComputationRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static const $core.Map<$core.int, PutComputationRequest_Type> _PutComputationRequest_TypeByTag = { + 40 : PutComputationRequest_Type.dateDuration, + 41 : PutComputationRequest_Type.dueDate, + 42 : PutComputationRequest_Type.statusDuration, + 43 : PutComputationRequest_Type.customFunction, + 0 : PutComputationRequest_Type.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PutComputationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..oo(0, [40, 41, 42, 43]) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID') + ..aOS(20, _omitFieldNames ? '' : 'Label', protoName: 'Label') + ..e<$1.EntityType>(30, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values) + ..aOM<$2.ComputationDateDuration>(40, _omitFieldNames ? '' : 'DateDuration', protoName: 'DateDuration', subBuilder: $2.ComputationDateDuration.create) + ..aOM<$2.ComputationDueDate>(41, _omitFieldNames ? '' : 'DueDate', protoName: 'DueDate', subBuilder: $2.ComputationDueDate.create) + ..aOM<$2.ComputationStatusDuration>(42, _omitFieldNames ? '' : 'StatusDuration', protoName: 'StatusDuration', subBuilder: $2.ComputationStatusDuration.create) + ..aOM<$2.ComputationCustomFunction>(43, _omitFieldNames ? '' : 'CustomFunction', protoName: 'CustomFunction', subBuilder: $2.ComputationCustomFunction.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PutComputationRequest clone() => PutComputationRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PutComputationRequest copyWith(void Function(PutComputationRequest) updates) => super.copyWith((message) => updates(message as PutComputationRequest)) as PutComputationRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PutComputationRequest create() => PutComputationRequest._(); + @$core.override + PutComputationRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PutComputationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PutComputationRequest? _defaultInstance; + + PutComputationRequest_Type whichType() => _PutComputationRequest_TypeByTag[$_whichOneof(0)]!; + void clearType() => $_clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $core.String get iD => $_getSZ(1); + @$pb.TagNumber(2) + set iD($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + + @$pb.TagNumber(20) + $core.String get label => $_getSZ(2); + @$pb.TagNumber(20) + set label($core.String value) => $_setString(2, value); + @$pb.TagNumber(20) + $core.bool hasLabel() => $_has(2); + @$pb.TagNumber(20) + void clearLabel() => $_clearField(20); + + @$pb.TagNumber(30) + $1.EntityType get entity => $_getN(3); + @$pb.TagNumber(30) + set entity($1.EntityType value) => $_setField(30, value); + @$pb.TagNumber(30) + $core.bool hasEntity() => $_has(3); + @$pb.TagNumber(30) + void clearEntity() => $_clearField(30); + + @$pb.TagNumber(40) + $2.ComputationDateDuration get dateDuration => $_getN(4); + @$pb.TagNumber(40) + set dateDuration($2.ComputationDateDuration value) => $_setField(40, value); + @$pb.TagNumber(40) + $core.bool hasDateDuration() => $_has(4); + @$pb.TagNumber(40) + void clearDateDuration() => $_clearField(40); + @$pb.TagNumber(40) + $2.ComputationDateDuration ensureDateDuration() => $_ensure(4); + + @$pb.TagNumber(41) + $2.ComputationDueDate get dueDate => $_getN(5); + @$pb.TagNumber(41) + set dueDate($2.ComputationDueDate value) => $_setField(41, value); + @$pb.TagNumber(41) + $core.bool hasDueDate() => $_has(5); + @$pb.TagNumber(41) + void clearDueDate() => $_clearField(41); + @$pb.TagNumber(41) + $2.ComputationDueDate ensureDueDate() => $_ensure(5); + + @$pb.TagNumber(42) + $2.ComputationStatusDuration get statusDuration => $_getN(6); + @$pb.TagNumber(42) + set statusDuration($2.ComputationStatusDuration value) => $_setField(42, value); + @$pb.TagNumber(42) + $core.bool hasStatusDuration() => $_has(6); + @$pb.TagNumber(42) + void clearStatusDuration() => $_clearField(42); + @$pb.TagNumber(42) + $2.ComputationStatusDuration ensureStatusDuration() => $_ensure(6); + + @$pb.TagNumber(43) + $2.ComputationCustomFunction get customFunction => $_getN(7); + @$pb.TagNumber(43) + set customFunction($2.ComputationCustomFunction value) => $_setField(43, value); + @$pb.TagNumber(43) + $core.bool hasCustomFunction() => $_has(7); + @$pb.TagNumber(43) + void clearCustomFunction() => $_clearField(43); + @$pb.TagNumber(43) + $2.ComputationCustomFunction ensureCustomFunction() => $_ensure(7); +} + +class PutComputationResponse extends $pb.GeneratedMessage { + factory PutComputationResponse({ + $2.Computation? computation, + }) { + final result = create(); + if (computation != null) result.computation = computation; + return result; + } + + PutComputationResponse._(); + + factory PutComputationResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory PutComputationResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PutComputationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.Computation>(1, _omitFieldNames ? '' : 'Computation', protoName: 'Computation', subBuilder: $2.Computation.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PutComputationResponse clone() => PutComputationResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PutComputationResponse copyWith(void Function(PutComputationResponse) updates) => super.copyWith((message) => updates(message as PutComputationResponse)) as PutComputationResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PutComputationResponse create() => PutComputationResponse._(); + @$core.override + PutComputationResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PutComputationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PutComputationResponse? _defaultInstance; + + @$pb.TagNumber(1) + $2.Computation get computation => $_getN(0); + @$pb.TagNumber(1) + set computation($2.Computation value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasComputation() => $_has(0); + @$pb.TagNumber(1) + void clearComputation() => $_clearField(1); + @$pb.TagNumber(1) + $2.Computation ensureComputation() => $_ensure(0); +} + +/// Get +class GetComputationRequest extends $pb.GeneratedMessage { + factory GetComputationRequest({ + $1.RequestProjectHeader? header, + $core.String? iD, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + return result; + } + + GetComputationRequest._(); + + factory GetComputationRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory GetComputationRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetComputationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetComputationRequest clone() => GetComputationRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetComputationRequest copyWith(void Function(GetComputationRequest) updates) => super.copyWith((message) => updates(message as GetComputationRequest)) as GetComputationRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetComputationRequest create() => GetComputationRequest._(); + @$core.override + GetComputationRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetComputationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetComputationRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $core.String get iD => $_getSZ(1); + @$pb.TagNumber(2) + set iD($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); +} + +class GetComputationResponse extends $pb.GeneratedMessage { + factory GetComputationResponse({ + $2.Computation? computation, + }) { + final result = create(); + if (computation != null) result.computation = computation; + return result; + } + + GetComputationResponse._(); + + factory GetComputationResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory GetComputationResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetComputationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.Computation>(1, _omitFieldNames ? '' : 'Computation', protoName: 'Computation', subBuilder: $2.Computation.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetComputationResponse clone() => GetComputationResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetComputationResponse copyWith(void Function(GetComputationResponse) updates) => super.copyWith((message) => updates(message as GetComputationResponse)) as GetComputationResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetComputationResponse create() => GetComputationResponse._(); + @$core.override + GetComputationResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetComputationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetComputationResponse? _defaultInstance; + + @$pb.TagNumber(1) + $2.Computation get computation => $_getN(0); + @$pb.TagNumber(1) + set computation($2.Computation value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasComputation() => $_has(0); + @$pb.TagNumber(1) + void clearComputation() => $_clearField(1); + @$pb.TagNumber(1) + $2.Computation ensureComputation() => $_ensure(0); +} + +/// List +class ListComputationRequest extends $pb.GeneratedMessage { + factory ListComputationRequest({ + $1.RequestProjectHeader? header, + $1.EntityType? entity, + }) { + final result = create(); + if (header != null) result.header = header; + if (entity != null) result.entity = entity; + return result; + } + + ListComputationRequest._(); + + factory ListComputationRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ListComputationRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListComputationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..e<$1.EntityType>(2, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ListComputationRequest clone() => ListComputationRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ListComputationRequest copyWith(void Function(ListComputationRequest) updates) => super.copyWith((message) => updates(message as ListComputationRequest)) as ListComputationRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ListComputationRequest create() => ListComputationRequest._(); + @$core.override + ListComputationRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ListComputationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ListComputationRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $1.EntityType get entity => $_getN(1); + @$pb.TagNumber(2) + set entity($1.EntityType value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasEntity() => $_has(1); + @$pb.TagNumber(2) + void clearEntity() => $_clearField(2); +} + +class ListComputationResponse extends $pb.GeneratedMessage { + factory ListComputationResponse({ + $core.Iterable<$2.Computation>? computations, + }) { + final result = create(); + if (computations != null) result.computations.addAll(computations); + return result; + } + + ListComputationResponse._(); + + factory ListComputationResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ListComputationResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListComputationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pc<$2.Computation>(1, _omitFieldNames ? '' : 'Computations', $pb.PbFieldType.PM, protoName: 'Computations', subBuilder: $2.Computation.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ListComputationResponse clone() => ListComputationResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ListComputationResponse copyWith(void Function(ListComputationResponse) updates) => super.copyWith((message) => updates(message as ListComputationResponse)) as ListComputationResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ListComputationResponse create() => ListComputationResponse._(); + @$core.override + ListComputationResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ListComputationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ListComputationResponse? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList<$2.Computation> get computations => $_getList(0); +} + +/// Delete +class DeleteComputationRequest extends $pb.GeneratedMessage { + factory DeleteComputationRequest({ + $1.RequestProjectHeader? header, + $core.String? iD, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + return result; + } + + DeleteComputationRequest._(); + + factory DeleteComputationRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory DeleteComputationRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteComputationRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteComputationRequest clone() => DeleteComputationRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteComputationRequest copyWith(void Function(DeleteComputationRequest) updates) => super.copyWith((message) => updates(message as DeleteComputationRequest)) as DeleteComputationRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteComputationRequest create() => DeleteComputationRequest._(); + @$core.override + DeleteComputationRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteComputationRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteComputationRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $core.String get iD => $_getSZ(1); + @$pb.TagNumber(2) + set iD($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); +} + +class DeleteComputationResponse extends $pb.GeneratedMessage { + factory DeleteComputationResponse() => create(); + + DeleteComputationResponse._(); + + factory DeleteComputationResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory DeleteComputationResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteComputationResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteComputationResponse clone() => DeleteComputationResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteComputationResponse copyWith(void Function(DeleteComputationResponse) updates) => super.copyWith((message) => updates(message as DeleteComputationResponse)) as DeleteComputationResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteComputationResponse create() => DeleteComputationResponse._(); + @$core.override + DeleteComputationResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteComputationResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteComputationResponse? _defaultInstance; +} + +/// Put +class PutMappingTableRequest extends $pb.GeneratedMessage { + factory PutMappingTableRequest({ + $1.RequestProjectHeader? header, + $core.String? iD, + $core.String? label, + $1.EntityType? entity, + $core.Iterable<$2.MappingTableInputDescription>? inputFields, + $2.MappingTableOutputField? outputField, + $core.Iterable<$2.MappingTableEntry>? entries, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + if (label != null) result.label = label; + if (entity != null) result.entity = entity; + if (inputFields != null) result.inputFields.addAll(inputFields); + if (outputField != null) result.outputField = outputField; + if (entries != null) result.entries.addAll(entries); + return result; + } + + PutMappingTableRequest._(); + + factory PutMappingTableRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory PutMappingTableRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PutMappingTableRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID') + ..aOS(3, _omitFieldNames ? '' : 'Label', protoName: 'Label') + ..e<$1.EntityType>(4, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values) + ..pc<$2.MappingTableInputDescription>(5, _omitFieldNames ? '' : 'InputFields', $pb.PbFieldType.PM, protoName: 'InputFields', subBuilder: $2.MappingTableInputDescription.create) + ..aOM<$2.MappingTableOutputField>(6, _omitFieldNames ? '' : 'OutputField', protoName: 'OutputField', subBuilder: $2.MappingTableOutputField.create) + ..pc<$2.MappingTableEntry>(7, _omitFieldNames ? '' : 'Entries', $pb.PbFieldType.PM, protoName: 'Entries', subBuilder: $2.MappingTableEntry.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PutMappingTableRequest clone() => PutMappingTableRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PutMappingTableRequest copyWith(void Function(PutMappingTableRequest) updates) => super.copyWith((message) => updates(message as PutMappingTableRequest)) as PutMappingTableRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PutMappingTableRequest create() => PutMappingTableRequest._(); + @$core.override + PutMappingTableRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PutMappingTableRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PutMappingTableRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $core.String get iD => $_getSZ(1); + @$pb.TagNumber(2) + set iD($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get label => $_getSZ(2); + @$pb.TagNumber(3) + set label($core.String value) => $_setString(2, value); + @$pb.TagNumber(3) + $core.bool hasLabel() => $_has(2); + @$pb.TagNumber(3) + void clearLabel() => $_clearField(3); + + @$pb.TagNumber(4) + $1.EntityType get entity => $_getN(3); + @$pb.TagNumber(4) + set entity($1.EntityType value) => $_setField(4, value); + @$pb.TagNumber(4) + $core.bool hasEntity() => $_has(3); + @$pb.TagNumber(4) + void clearEntity() => $_clearField(4); + + @$pb.TagNumber(5) + $pb.PbList<$2.MappingTableInputDescription> get inputFields => $_getList(4); + + @$pb.TagNumber(6) + $2.MappingTableOutputField get outputField => $_getN(5); + @$pb.TagNumber(6) + set outputField($2.MappingTableOutputField value) => $_setField(6, value); + @$pb.TagNumber(6) + $core.bool hasOutputField() => $_has(5); + @$pb.TagNumber(6) + void clearOutputField() => $_clearField(6); + @$pb.TagNumber(6) + $2.MappingTableOutputField ensureOutputField() => $_ensure(5); + + @$pb.TagNumber(7) + $pb.PbList<$2.MappingTableEntry> get entries => $_getList(6); +} + +class PutMappingTableResponse extends $pb.GeneratedMessage { + factory PutMappingTableResponse({ + $2.MappingTable? mappingTable, + }) { + final result = create(); + if (mappingTable != null) result.mappingTable = mappingTable; + return result; + } + + PutMappingTableResponse._(); + + factory PutMappingTableResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory PutMappingTableResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'PutMappingTableResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.MappingTable>(1, _omitFieldNames ? '' : 'MappingTable', protoName: 'MappingTable', subBuilder: $2.MappingTable.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PutMappingTableResponse clone() => PutMappingTableResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + PutMappingTableResponse copyWith(void Function(PutMappingTableResponse) updates) => super.copyWith((message) => updates(message as PutMappingTableResponse)) as PutMappingTableResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static PutMappingTableResponse create() => PutMappingTableResponse._(); + @$core.override + PutMappingTableResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static PutMappingTableResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static PutMappingTableResponse? _defaultInstance; + + @$pb.TagNumber(1) + $2.MappingTable get mappingTable => $_getN(0); + @$pb.TagNumber(1) + set mappingTable($2.MappingTable value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasMappingTable() => $_has(0); + @$pb.TagNumber(1) + void clearMappingTable() => $_clearField(1); + @$pb.TagNumber(1) + $2.MappingTable ensureMappingTable() => $_ensure(0); +} + +/// Get +class GetMappingTableRequest extends $pb.GeneratedMessage { + factory GetMappingTableRequest({ + $1.RequestProjectHeader? header, + $core.String? iD, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + return result; + } + + GetMappingTableRequest._(); + + factory GetMappingTableRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory GetMappingTableRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMappingTableRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetMappingTableRequest clone() => GetMappingTableRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetMappingTableRequest copyWith(void Function(GetMappingTableRequest) updates) => super.copyWith((message) => updates(message as GetMappingTableRequest)) as GetMappingTableRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetMappingTableRequest create() => GetMappingTableRequest._(); + @$core.override + GetMappingTableRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetMappingTableRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetMappingTableRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $core.String get iD => $_getSZ(1); + @$pb.TagNumber(2) + set iD($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); +} + +class GetMappingTableResponse extends $pb.GeneratedMessage { + factory GetMappingTableResponse({ + $2.MappingTable? mappingTable, + }) { + final result = create(); + if (mappingTable != null) result.mappingTable = mappingTable; + return result; + } + + GetMappingTableResponse._(); + + factory GetMappingTableResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory GetMappingTableResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMappingTableResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$2.MappingTable>(1, _omitFieldNames ? '' : 'MappingTable', protoName: 'MappingTable', subBuilder: $2.MappingTable.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetMappingTableResponse clone() => GetMappingTableResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + GetMappingTableResponse copyWith(void Function(GetMappingTableResponse) updates) => super.copyWith((message) => updates(message as GetMappingTableResponse)) as GetMappingTableResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static GetMappingTableResponse create() => GetMappingTableResponse._(); + @$core.override + GetMappingTableResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static GetMappingTableResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static GetMappingTableResponse? _defaultInstance; + + @$pb.TagNumber(1) + $2.MappingTable get mappingTable => $_getN(0); + @$pb.TagNumber(1) + set mappingTable($2.MappingTable value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasMappingTable() => $_has(0); + @$pb.TagNumber(1) + void clearMappingTable() => $_clearField(1); + @$pb.TagNumber(1) + $2.MappingTable ensureMappingTable() => $_ensure(0); +} + +/// List +class ListMappingTableRequest extends $pb.GeneratedMessage { + factory ListMappingTableRequest({ + $1.RequestProjectHeader? header, + $1.EntityType? entity, + }) { + final result = create(); + if (header != null) result.header = header; + if (entity != null) result.entity = entity; + return result; + } + + ListMappingTableRequest._(); + + factory ListMappingTableRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ListMappingTableRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListMappingTableRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..e<$1.EntityType>(2, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ListMappingTableRequest clone() => ListMappingTableRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ListMappingTableRequest copyWith(void Function(ListMappingTableRequest) updates) => super.copyWith((message) => updates(message as ListMappingTableRequest)) as ListMappingTableRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ListMappingTableRequest create() => ListMappingTableRequest._(); + @$core.override + ListMappingTableRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ListMappingTableRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ListMappingTableRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $1.EntityType get entity => $_getN(1); + @$pb.TagNumber(2) + set entity($1.EntityType value) => $_setField(2, value); + @$pb.TagNumber(2) + $core.bool hasEntity() => $_has(1); + @$pb.TagNumber(2) + void clearEntity() => $_clearField(2); +} + +class ListMappingTableResponse extends $pb.GeneratedMessage { + factory ListMappingTableResponse({ + $core.Iterable<$2.MappingTable>? mappingTables, + }) { + final result = create(); + if (mappingTables != null) result.mappingTables.addAll(mappingTables); + return result; + } + + ListMappingTableResponse._(); + + factory ListMappingTableResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory ListMappingTableResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ListMappingTableResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pc<$2.MappingTable>(1, _omitFieldNames ? '' : 'MappingTables', $pb.PbFieldType.PM, protoName: 'MappingTables', subBuilder: $2.MappingTable.create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ListMappingTableResponse clone() => ListMappingTableResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + ListMappingTableResponse copyWith(void Function(ListMappingTableResponse) updates) => super.copyWith((message) => updates(message as ListMappingTableResponse)) as ListMappingTableResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static ListMappingTableResponse create() => ListMappingTableResponse._(); + @$core.override + ListMappingTableResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static ListMappingTableResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static ListMappingTableResponse? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList<$2.MappingTable> get mappingTables => $_getList(0); +} + +/// Delete +class DeleteMappingTableRequest extends $pb.GeneratedMessage { + factory DeleteMappingTableRequest({ + $1.RequestProjectHeader? header, + $core.String? iD, + }) { + final result = create(); + if (header != null) result.header = header; + if (iD != null) result.iD = iD; + return result; + } + + DeleteMappingTableRequest._(); + + factory DeleteMappingTableRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory DeleteMappingTableRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteMappingTableRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOM<$1.RequestProjectHeader>(1, _omitFieldNames ? '' : 'Header', protoName: 'Header', subBuilder: $1.RequestProjectHeader.create) + ..aOS(2, _omitFieldNames ? '' : 'ID', protoName: 'ID') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteMappingTableRequest clone() => DeleteMappingTableRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteMappingTableRequest copyWith(void Function(DeleteMappingTableRequest) updates) => super.copyWith((message) => updates(message as DeleteMappingTableRequest)) as DeleteMappingTableRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteMappingTableRequest create() => DeleteMappingTableRequest._(); + @$core.override + DeleteMappingTableRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteMappingTableRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteMappingTableRequest? _defaultInstance; + + @$pb.TagNumber(1) + $1.RequestProjectHeader get header => $_getN(0); + @$pb.TagNumber(1) + set header($1.RequestProjectHeader value) => $_setField(1, value); + @$pb.TagNumber(1) + $core.bool hasHeader() => $_has(0); + @$pb.TagNumber(1) + void clearHeader() => $_clearField(1); + @$pb.TagNumber(1) + $1.RequestProjectHeader ensureHeader() => $_ensure(0); + + @$pb.TagNumber(2) + $core.String get iD => $_getSZ(1); + @$pb.TagNumber(2) + set iD($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasID() => $_has(1); + @$pb.TagNumber(2) + void clearID() => $_clearField(2); +} + +class DeleteMappingTableResponse extends $pb.GeneratedMessage { + factory DeleteMappingTableResponse() => create(); + + DeleteMappingTableResponse._(); + + factory DeleteMappingTableResponse.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory DeleteMappingTableResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DeleteMappingTableResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteMappingTableResponse clone() => DeleteMappingTableResponse()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DeleteMappingTableResponse copyWith(void Function(DeleteMappingTableResponse) updates) => super.copyWith((message) => updates(message as DeleteMappingTableResponse)) as DeleteMappingTableResponse; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DeleteMappingTableResponse create() => DeleteMappingTableResponse._(); + @$core.override + DeleteMappingTableResponse createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DeleteMappingTableResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DeleteMappingTableResponse? _defaultInstance; +} + + +const $core.bool _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); +const $core.bool _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/lib/ruleEngine_services.pbenum.dart b/lib/ruleEngine_services.pbenum.dart new file mode 100644 index 00000000..50f5e905 --- /dev/null +++ b/lib/ruleEngine_services.pbenum.dart @@ -0,0 +1,12 @@ +// This is a generated file - do not edit. +// +// Generated from ruleEngine_services.proto. + +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names + diff --git a/lib/ruleEngine_services.pbgrpc.dart b/lib/ruleEngine_services.pbgrpc.dart new file mode 100644 index 00000000..03d6ed26 --- /dev/null +++ b/lib/ruleEngine_services.pbgrpc.dart @@ -0,0 +1,367 @@ +// This is a generated file - do not edit. +// +// Generated from ruleEngine_services.proto. + +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names + +import 'dart:async' as $async; +import 'dart:core' as $core; + +import 'package:grpc/service_api.dart' as $grpc; +import 'package:protobuf/protobuf.dart' as $pb; + +import 'ruleEngine_services.pb.dart' as $0; + +export 'ruleEngine_services.pb.dart'; + +@$pb.GrpcServiceName('api.RuleEngineService') +class RuleEngineServiceClient extends $grpc.Client { + /// The hostname for this service. + static const $core.String defaultHost = ''; + + /// OAuth scopes needed for the client. + static const $core.List<$core.String> oauthScopes = [ + '', + ]; + + RuleEngineServiceClient(super.channel, {super.options, super.interceptors}); + + $grpc.ResponseFuture<$0.PutEngineRuleResponse> put($0.PutEngineRuleRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$put, request, options: options); + } + + $grpc.ResponseFuture<$0.GetEngineRuleResponse> get($0.GetEngineRuleRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$get, request, options: options); + } + + $grpc.ResponseFuture<$0.ListEngineRuleResponse> list($0.ListEngineRuleRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$list, request, options: options); + } + + $grpc.ResponseFuture<$0.DeleteEngineRuleResponse> delete($0.DeleteEngineRuleRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$delete, request, options: options); + } + + $grpc.ResponseFuture<$0.ToggleDebugOnResponse> toggleDebugOn($0.ToggleDebugOnRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$toggleDebugOn, request, options: options); + } + + // method descriptors + + static final _$put = $grpc.ClientMethod<$0.PutEngineRuleRequest, $0.PutEngineRuleResponse>( + '/api.RuleEngineService/Put', + ($0.PutEngineRuleRequest value) => value.writeToBuffer(), + $0.PutEngineRuleResponse.fromBuffer); + static final _$get = $grpc.ClientMethod<$0.GetEngineRuleRequest, $0.GetEngineRuleResponse>( + '/api.RuleEngineService/Get', + ($0.GetEngineRuleRequest value) => value.writeToBuffer(), + $0.GetEngineRuleResponse.fromBuffer); + static final _$list = $grpc.ClientMethod<$0.ListEngineRuleRequest, $0.ListEngineRuleResponse>( + '/api.RuleEngineService/List', + ($0.ListEngineRuleRequest value) => value.writeToBuffer(), + $0.ListEngineRuleResponse.fromBuffer); + static final _$delete = $grpc.ClientMethod<$0.DeleteEngineRuleRequest, $0.DeleteEngineRuleResponse>( + '/api.RuleEngineService/Delete', + ($0.DeleteEngineRuleRequest value) => value.writeToBuffer(), + $0.DeleteEngineRuleResponse.fromBuffer); + static final _$toggleDebugOn = $grpc.ClientMethod<$0.ToggleDebugOnRequest, $0.ToggleDebugOnResponse>( + '/api.RuleEngineService/ToggleDebugOn', + ($0.ToggleDebugOnRequest value) => value.writeToBuffer(), + $0.ToggleDebugOnResponse.fromBuffer); +} + +@$pb.GrpcServiceName('api.RuleEngineService') +abstract class RuleEngineServiceBase extends $grpc.Service { + $core.String get $name => 'api.RuleEngineService'; + + RuleEngineServiceBase() { + $addMethod($grpc.ServiceMethod<$0.PutEngineRuleRequest, $0.PutEngineRuleResponse>( + 'Put', + put_Pre, + false, + false, + ($core.List<$core.int> value) => $0.PutEngineRuleRequest.fromBuffer(value), + ($0.PutEngineRuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.GetEngineRuleRequest, $0.GetEngineRuleResponse>( + 'Get', + get_Pre, + false, + false, + ($core.List<$core.int> value) => $0.GetEngineRuleRequest.fromBuffer(value), + ($0.GetEngineRuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.ListEngineRuleRequest, $0.ListEngineRuleResponse>( + 'List', + list_Pre, + false, + false, + ($core.List<$core.int> value) => $0.ListEngineRuleRequest.fromBuffer(value), + ($0.ListEngineRuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DeleteEngineRuleRequest, $0.DeleteEngineRuleResponse>( + 'Delete', + delete_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DeleteEngineRuleRequest.fromBuffer(value), + ($0.DeleteEngineRuleResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.ToggleDebugOnRequest, $0.ToggleDebugOnResponse>( + 'ToggleDebugOn', + toggleDebugOn_Pre, + false, + false, + ($core.List<$core.int> value) => $0.ToggleDebugOnRequest.fromBuffer(value), + ($0.ToggleDebugOnResponse value) => value.writeToBuffer())); + } + + $async.Future<$0.PutEngineRuleResponse> put_Pre($grpc.ServiceCall $call, $async.Future<$0.PutEngineRuleRequest> $request) async { + return put($call, await $request); + } + + $async.Future<$0.PutEngineRuleResponse> put($grpc.ServiceCall call, $0.PutEngineRuleRequest request); + + $async.Future<$0.GetEngineRuleResponse> get_Pre($grpc.ServiceCall $call, $async.Future<$0.GetEngineRuleRequest> $request) async { + return get($call, await $request); + } + + $async.Future<$0.GetEngineRuleResponse> get($grpc.ServiceCall call, $0.GetEngineRuleRequest request); + + $async.Future<$0.ListEngineRuleResponse> list_Pre($grpc.ServiceCall $call, $async.Future<$0.ListEngineRuleRequest> $request) async { + return list($call, await $request); + } + + $async.Future<$0.ListEngineRuleResponse> list($grpc.ServiceCall call, $0.ListEngineRuleRequest request); + + $async.Future<$0.DeleteEngineRuleResponse> delete_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteEngineRuleRequest> $request) async { + return delete($call, await $request); + } + + $async.Future<$0.DeleteEngineRuleResponse> delete($grpc.ServiceCall call, $0.DeleteEngineRuleRequest request); + + $async.Future<$0.ToggleDebugOnResponse> toggleDebugOn_Pre($grpc.ServiceCall $call, $async.Future<$0.ToggleDebugOnRequest> $request) async { + return toggleDebugOn($call, await $request); + } + + $async.Future<$0.ToggleDebugOnResponse> toggleDebugOn($grpc.ServiceCall call, $0.ToggleDebugOnRequest request); + +} +@$pb.GrpcServiceName('api.ComputationService') +class ComputationServiceClient extends $grpc.Client { + /// The hostname for this service. + static const $core.String defaultHost = ''; + + /// OAuth scopes needed for the client. + static const $core.List<$core.String> oauthScopes = [ + '', + ]; + + ComputationServiceClient(super.channel, {super.options, super.interceptors}); + + $grpc.ResponseFuture<$0.PutComputationResponse> put($0.PutComputationRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$put, request, options: options); + } + + $grpc.ResponseFuture<$0.GetComputationResponse> get($0.GetComputationRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$get, request, options: options); + } + + $grpc.ResponseFuture<$0.ListComputationResponse> list($0.ListComputationRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$list, request, options: options); + } + + $grpc.ResponseFuture<$0.DeleteComputationResponse> delete($0.DeleteComputationRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$delete, request, options: options); + } + + // method descriptors + + static final _$put = $grpc.ClientMethod<$0.PutComputationRequest, $0.PutComputationResponse>( + '/api.ComputationService/Put', + ($0.PutComputationRequest value) => value.writeToBuffer(), + $0.PutComputationResponse.fromBuffer); + static final _$get = $grpc.ClientMethod<$0.GetComputationRequest, $0.GetComputationResponse>( + '/api.ComputationService/Get', + ($0.GetComputationRequest value) => value.writeToBuffer(), + $0.GetComputationResponse.fromBuffer); + static final _$list = $grpc.ClientMethod<$0.ListComputationRequest, $0.ListComputationResponse>( + '/api.ComputationService/List', + ($0.ListComputationRequest value) => value.writeToBuffer(), + $0.ListComputationResponse.fromBuffer); + static final _$delete = $grpc.ClientMethod<$0.DeleteComputationRequest, $0.DeleteComputationResponse>( + '/api.ComputationService/Delete', + ($0.DeleteComputationRequest value) => value.writeToBuffer(), + $0.DeleteComputationResponse.fromBuffer); +} + +@$pb.GrpcServiceName('api.ComputationService') +abstract class ComputationServiceBase extends $grpc.Service { + $core.String get $name => 'api.ComputationService'; + + ComputationServiceBase() { + $addMethod($grpc.ServiceMethod<$0.PutComputationRequest, $0.PutComputationResponse>( + 'Put', + put_Pre, + false, + false, + ($core.List<$core.int> value) => $0.PutComputationRequest.fromBuffer(value), + ($0.PutComputationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.GetComputationRequest, $0.GetComputationResponse>( + 'Get', + get_Pre, + false, + false, + ($core.List<$core.int> value) => $0.GetComputationRequest.fromBuffer(value), + ($0.GetComputationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.ListComputationRequest, $0.ListComputationResponse>( + 'List', + list_Pre, + false, + false, + ($core.List<$core.int> value) => $0.ListComputationRequest.fromBuffer(value), + ($0.ListComputationResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DeleteComputationRequest, $0.DeleteComputationResponse>( + 'Delete', + delete_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DeleteComputationRequest.fromBuffer(value), + ($0.DeleteComputationResponse value) => value.writeToBuffer())); + } + + $async.Future<$0.PutComputationResponse> put_Pre($grpc.ServiceCall $call, $async.Future<$0.PutComputationRequest> $request) async { + return put($call, await $request); + } + + $async.Future<$0.PutComputationResponse> put($grpc.ServiceCall call, $0.PutComputationRequest request); + + $async.Future<$0.GetComputationResponse> get_Pre($grpc.ServiceCall $call, $async.Future<$0.GetComputationRequest> $request) async { + return get($call, await $request); + } + + $async.Future<$0.GetComputationResponse> get($grpc.ServiceCall call, $0.GetComputationRequest request); + + $async.Future<$0.ListComputationResponse> list_Pre($grpc.ServiceCall $call, $async.Future<$0.ListComputationRequest> $request) async { + return list($call, await $request); + } + + $async.Future<$0.ListComputationResponse> list($grpc.ServiceCall call, $0.ListComputationRequest request); + + $async.Future<$0.DeleteComputationResponse> delete_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteComputationRequest> $request) async { + return delete($call, await $request); + } + + $async.Future<$0.DeleteComputationResponse> delete($grpc.ServiceCall call, $0.DeleteComputationRequest request); + +} +@$pb.GrpcServiceName('api.MappingTableService') +class MappingTableServiceClient extends $grpc.Client { + /// The hostname for this service. + static const $core.String defaultHost = ''; + + /// OAuth scopes needed for the client. + static const $core.List<$core.String> oauthScopes = [ + '', + ]; + + MappingTableServiceClient(super.channel, {super.options, super.interceptors}); + + $grpc.ResponseFuture<$0.PutMappingTableResponse> put($0.PutMappingTableRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$put, request, options: options); + } + + $grpc.ResponseFuture<$0.GetMappingTableResponse> get($0.GetMappingTableRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$get, request, options: options); + } + + $grpc.ResponseFuture<$0.ListMappingTableResponse> list($0.ListMappingTableRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$list, request, options: options); + } + + $grpc.ResponseFuture<$0.DeleteMappingTableResponse> delete($0.DeleteMappingTableRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$delete, request, options: options); + } + + // method descriptors + + static final _$put = $grpc.ClientMethod<$0.PutMappingTableRequest, $0.PutMappingTableResponse>( + '/api.MappingTableService/Put', + ($0.PutMappingTableRequest value) => value.writeToBuffer(), + $0.PutMappingTableResponse.fromBuffer); + static final _$get = $grpc.ClientMethod<$0.GetMappingTableRequest, $0.GetMappingTableResponse>( + '/api.MappingTableService/Get', + ($0.GetMappingTableRequest value) => value.writeToBuffer(), + $0.GetMappingTableResponse.fromBuffer); + static final _$list = $grpc.ClientMethod<$0.ListMappingTableRequest, $0.ListMappingTableResponse>( + '/api.MappingTableService/List', + ($0.ListMappingTableRequest value) => value.writeToBuffer(), + $0.ListMappingTableResponse.fromBuffer); + static final _$delete = $grpc.ClientMethod<$0.DeleteMappingTableRequest, $0.DeleteMappingTableResponse>( + '/api.MappingTableService/Delete', + ($0.DeleteMappingTableRequest value) => value.writeToBuffer(), + $0.DeleteMappingTableResponse.fromBuffer); +} + +@$pb.GrpcServiceName('api.MappingTableService') +abstract class MappingTableServiceBase extends $grpc.Service { + $core.String get $name => 'api.MappingTableService'; + + MappingTableServiceBase() { + $addMethod($grpc.ServiceMethod<$0.PutMappingTableRequest, $0.PutMappingTableResponse>( + 'Put', + put_Pre, + false, + false, + ($core.List<$core.int> value) => $0.PutMappingTableRequest.fromBuffer(value), + ($0.PutMappingTableResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.GetMappingTableRequest, $0.GetMappingTableResponse>( + 'Get', + get_Pre, + false, + false, + ($core.List<$core.int> value) => $0.GetMappingTableRequest.fromBuffer(value), + ($0.GetMappingTableResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.ListMappingTableRequest, $0.ListMappingTableResponse>( + 'List', + list_Pre, + false, + false, + ($core.List<$core.int> value) => $0.ListMappingTableRequest.fromBuffer(value), + ($0.ListMappingTableResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DeleteMappingTableRequest, $0.DeleteMappingTableResponse>( + 'Delete', + delete_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DeleteMappingTableRequest.fromBuffer(value), + ($0.DeleteMappingTableResponse value) => value.writeToBuffer())); + } + + $async.Future<$0.PutMappingTableResponse> put_Pre($grpc.ServiceCall $call, $async.Future<$0.PutMappingTableRequest> $request) async { + return put($call, await $request); + } + + $async.Future<$0.PutMappingTableResponse> put($grpc.ServiceCall call, $0.PutMappingTableRequest request); + + $async.Future<$0.GetMappingTableResponse> get_Pre($grpc.ServiceCall $call, $async.Future<$0.GetMappingTableRequest> $request) async { + return get($call, await $request); + } + + $async.Future<$0.GetMappingTableResponse> get($grpc.ServiceCall call, $0.GetMappingTableRequest request); + + $async.Future<$0.ListMappingTableResponse> list_Pre($grpc.ServiceCall $call, $async.Future<$0.ListMappingTableRequest> $request) async { + return list($call, await $request); + } + + $async.Future<$0.ListMappingTableResponse> list($grpc.ServiceCall call, $0.ListMappingTableRequest request); + + $async.Future<$0.DeleteMappingTableResponse> delete_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteMappingTableRequest> $request) async { + return delete($call, await $request); + } + + $async.Future<$0.DeleteMappingTableResponse> delete($grpc.ServiceCall call, $0.DeleteMappingTableRequest request); + +} diff --git a/lib/ruleEngine_services.pbjson.dart b/lib/ruleEngine_services.pbjson.dart new file mode 100644 index 00000000..795a2f06 --- /dev/null +++ b/lib/ruleEngine_services.pbjson.dart @@ -0,0 +1,437 @@ +// This is a generated file - do not edit. +// +// Generated from ruleEngine_services.proto. + +// @dart = 3.3 + +// ignore_for_file: annotate_overrides, camel_case_types, comment_references +// ignore_for_file: constant_identifier_names +// ignore_for_file: curly_braces_in_flow_control_structures +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes +// ignore_for_file: non_constant_identifier_names, unused_import + +import 'dart:convert' as $convert; +import 'dart:core' as $core; +import 'dart:typed_data' as $typed_data; + +@$core.Deprecated('Use putEngineRuleRequestDescriptor instead') +const PutEngineRuleRequest$json = { + '1': 'PutEngineRuleRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'Code', '3': 10, '4': 1, '5': 9, '8': {}, '10': 'Code'}, + {'1': 'Label', '3': 20, '4': 1, '5': 9, '10': 'Label'}, + {'1': 'ValidityType', '3': 30, '4': 1, '5': 14, '6': '.api.EngineRuleValidityType', '8': {}, '10': 'ValidityType'}, + {'1': 'ValidFrom', '3': 31, '4': 1, '5': 9, '8': {}, '10': 'ValidFrom'}, + {'1': 'ValidUntil', '3': 32, '4': 1, '5': 9, '8': {}, '10': 'ValidUntil'}, + {'1': 'Entity', '3': 40, '4': 1, '5': 14, '6': '.api.EntityType', '10': 'Entity'}, + {'1': 'ScheduledTrigger', '3': 50, '4': 1, '5': 11, '6': '.api.EngineRuleScheduledTrigger', '9': 0, '10': 'ScheduledTrigger'}, + {'1': 'EventTrigger', '3': 51, '4': 1, '5': 11, '6': '.api.EngineRuleEventTrigger', '9': 0, '10': 'EventTrigger'}, + {'1': 'MilestoneTrigger', '3': 52, '4': 1, '5': 11, '6': '.api.EngineRuleMilestoneTrigger', '9': 0, '10': 'MilestoneTrigger'}, + {'1': 'Conditions', '3': 60, '4': 3, '5': 11, '6': '.api.EngineRuleCondition', '10': 'Conditions'}, + {'1': 'Actions', '3': 70, '4': 3, '5': 11, '6': '.api.EngineRuleAction', '8': {}, '10': 'Actions'}, + {'1': 'IsActive', '3': 80, '4': 1, '5': 8, '10': 'IsActive'}, + ], + '7': {}, + '8': [ + {'1': 'Trigger'}, + ], +}; + +/// Descriptor for `PutEngineRuleRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List putEngineRuleRequestDescriptor = $convert.base64Decode( + 'ChRQdXRFbmdpbmVSdWxlUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdFByb2' + 'plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyEkAKBENvZGUYCiABKAlCLJJBEooBD15bQS1a' + 'YS16MC05X10rJLqBARNyETIPXltBLVphLXowLTlfXSskUgRDb2RlEhQKBUxhYmVsGBQgASgJUg' + 'VMYWJlbBJMCgxWYWxpZGl0eVR5cGUYHiABKA4yGy5hcGkuRW5naW5lUnVsZVZhbGlkaXR5VHlw' + 'ZUILuoEBB4IBBBABIABSDFZhbGlkaXR5VHlwZRIqCglWYWxpZEZyb20YHyABKAlCDLqBAQhyBt' + 'ABAfABAVIJVmFsaWRGcm9tEiwKClZhbGlkVW50aWwYICABKAlCDLqBAQhyBtABAfABAVIKVmFs' + 'aWRVbnRpbBInCgZFbnRpdHkYKCABKA4yDy5hcGkuRW50aXR5VHlwZVIGRW50aXR5Ek0KEFNjaG' + 'VkdWxlZFRyaWdnZXIYMiABKAsyHy5hcGkuRW5naW5lUnVsZVNjaGVkdWxlZFRyaWdnZXJIAFIQ' + 'U2NoZWR1bGVkVHJpZ2dlchJBCgxFdmVudFRyaWdnZXIYMyABKAsyGy5hcGkuRW5naW5lUnVsZU' + 'V2ZW50VHJpZ2dlckgAUgxFdmVudFRyaWdnZXISTQoQTWlsZXN0b25lVHJpZ2dlchg0IAEoCzIf' + 'LmFwaS5FbmdpbmVSdWxlTWlsZXN0b25lVHJpZ2dlckgAUhBNaWxlc3RvbmVUcmlnZ2VyEjgKCk' + 'NvbmRpdGlvbnMYPCADKAsyGC5hcGkuRW5naW5lUnVsZUNvbmRpdGlvblIKQ29uZGl0aW9ucxI6' + 'CgdBY3Rpb25zGEYgAygLMhUuYXBpLkVuZ2luZVJ1bGVBY3Rpb25CCbqBAQWSAQIIAVIHQWN0aW' + '9ucxIaCghJc0FjdGl2ZRhQIAEoCFIISXNBY3RpdmU6KZJBJgok0gEGSGVhZGVy0gEEQ29kZdIB' + 'B0FjdGlvbnPSAQdUcmlnZ2VyQgkKB1RyaWdnZXI='); + +@$core.Deprecated('Use putEngineRuleResponseDescriptor instead') +const PutEngineRuleResponse$json = { + '1': 'PutEngineRuleResponse', + '2': [ + {'1': 'EngineRule', '3': 1, '4': 1, '5': 11, '6': '.api.EngineRule', '8': {}, '10': 'EngineRule'}, + ], +}; + +/// Descriptor for `PutEngineRuleResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List putEngineRuleResponseDescriptor = $convert.base64Decode( + 'ChVQdXRFbmdpbmVSdWxlUmVzcG9uc2USOgoKRW5naW5lUnVsZRgBIAEoCzIPLmFwaS5Fbmdpbm' + 'VSdWxlQgm6gQEFigECEAFSCkVuZ2luZVJ1bGU='); + +@$core.Deprecated('Use getEngineRuleRequestDescriptor instead') +const GetEngineRuleRequest$json = { + '1': 'GetEngineRuleRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'Code', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Code'}, + ], + '7': {}, +}; + +/// Descriptor for `GetEngineRuleRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getEngineRuleRequestDescriptor = $convert.base64Decode( + 'ChRHZXRFbmdpbmVSdWxlUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdFByb2' + 'plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyEhwKBENvZGUYAiABKAlCCLqBAQRyAhABUgRD' + 'b2RlOhWSQRIKENIBBkhlYWRlctIBBENvZGU='); + +@$core.Deprecated('Use getEngineRuleResponseDescriptor instead') +const GetEngineRuleResponse$json = { + '1': 'GetEngineRuleResponse', + '2': [ + {'1': 'EngineRule', '3': 1, '4': 1, '5': 11, '6': '.api.EngineRule', '8': {}, '10': 'EngineRule'}, + ], +}; + +/// Descriptor for `GetEngineRuleResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getEngineRuleResponseDescriptor = $convert.base64Decode( + 'ChVHZXRFbmdpbmVSdWxlUmVzcG9uc2USOgoKRW5naW5lUnVsZRgBIAEoCzIPLmFwaS5Fbmdpbm' + 'VSdWxlQgm6gQEFigECEAFSCkVuZ2luZVJ1bGU='); + +@$core.Deprecated('Use listEngineRuleRequestDescriptor instead') +const ListEngineRuleRequest$json = { + '1': 'ListEngineRuleRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'Entity', '3': 2, '4': 1, '5': 14, '6': '.api.EntityType', '10': 'Entity'}, + {'1': 'TriggerType', '3': 3, '4': 1, '5': 14, '6': '.api.EngineRuleTriggerType', '10': 'TriggerType'}, + {'1': 'IsCurrentlyValid', '3': 4, '4': 1, '5': 8, '10': 'IsCurrentlyValid'}, + ], + '7': {}, +}; + +/// Descriptor for `ListEngineRuleRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List listEngineRuleRequestDescriptor = $convert.base64Decode( + 'ChVMaXN0RW5naW5lUnVsZVJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3RQcm' + '9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchInCgZFbnRpdHkYAiABKA4yDy5hcGkuRW50' + 'aXR5VHlwZVIGRW50aXR5EjwKC1RyaWdnZXJUeXBlGAMgASgOMhouYXBpLkVuZ2luZVJ1bGVUcm' + 'lnZ2VyVHlwZVILVHJpZ2dlclR5cGUSKgoQSXNDdXJyZW50bHlWYWxpZBgEIAEoCFIQSXNDdXJy' + 'ZW50bHlWYWxpZDoOkkELCgnSAQZIZWFkZXI='); + +@$core.Deprecated('Use listEngineRuleResponseDescriptor instead') +const ListEngineRuleResponse$json = { + '1': 'ListEngineRuleResponse', + '2': [ + {'1': 'EngineRules', '3': 1, '4': 3, '5': 11, '6': '.api.EngineRule', '10': 'EngineRules'}, + {'1': 'DebugUntil', '3': 2, '4': 1, '5': 3, '10': 'DebugUntil'}, + ], +}; + +/// Descriptor for `ListEngineRuleResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List listEngineRuleResponseDescriptor = $convert.base64Decode( + 'ChZMaXN0RW5naW5lUnVsZVJlc3BvbnNlEjEKC0VuZ2luZVJ1bGVzGAEgAygLMg8uYXBpLkVuZ2' + 'luZVJ1bGVSC0VuZ2luZVJ1bGVzEh4KCkRlYnVnVW50aWwYAiABKANSCkRlYnVnVW50aWw='); + +@$core.Deprecated('Use deleteEngineRuleRequestDescriptor instead') +const DeleteEngineRuleRequest$json = { + '1': 'DeleteEngineRuleRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'Code', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Code'}, + ], + '7': {}, +}; + +/// Descriptor for `DeleteEngineRuleRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteEngineRuleRequestDescriptor = $convert.base64Decode( + 'ChdEZWxldGVFbmdpbmVSdWxlUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdF' + 'Byb2plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyEhwKBENvZGUYAiABKAlCCLqBAQRyAhAB' + 'UgRDb2RlOhWSQRIKENIBBkhlYWRlctIBBENvZGU='); + +@$core.Deprecated('Use deleteEngineRuleResponseDescriptor instead') +const DeleteEngineRuleResponse$json = { + '1': 'DeleteEngineRuleResponse', +}; + +/// Descriptor for `DeleteEngineRuleResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteEngineRuleResponseDescriptor = $convert.base64Decode( + 'ChhEZWxldGVFbmdpbmVSdWxlUmVzcG9uc2U='); + +@$core.Deprecated('Use toggleDebugOnRequestDescriptor instead') +const ToggleDebugOnRequest$json = { + '1': 'ToggleDebugOnRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + ], + '7': {}, +}; + +/// Descriptor for `ToggleDebugOnRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List toggleDebugOnRequestDescriptor = $convert.base64Decode( + 'ChRUb2dnbGVEZWJ1Z09uUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdFByb2' + 'plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyOg6SQQsKCdIBBkhlYWRlcg=='); + +@$core.Deprecated('Use toggleDebugOnResponseDescriptor instead') +const ToggleDebugOnResponse$json = { + '1': 'ToggleDebugOnResponse', + '2': [ + {'1': 'DebugUntil', '3': 1, '4': 1, '5': 3, '10': 'DebugUntil'}, + ], +}; + +/// Descriptor for `ToggleDebugOnResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List toggleDebugOnResponseDescriptor = $convert.base64Decode( + 'ChVUb2dnbGVEZWJ1Z09uUmVzcG9uc2USHgoKRGVidWdVbnRpbBgBIAEoA1IKRGVidWdVbnRpbA' + '=='); + +@$core.Deprecated('Use putComputationRequestDescriptor instead') +const PutComputationRequest$json = { + '1': 'PutComputationRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 9, '10': 'ID'}, + {'1': 'Label', '3': 20, '4': 1, '5': 9, '8': {}, '10': 'Label'}, + {'1': 'Entity', '3': 30, '4': 1, '5': 14, '6': '.api.EntityType', '8': {}, '10': 'Entity'}, + {'1': 'DateDuration', '3': 40, '4': 1, '5': 11, '6': '.api.ComputationDateDuration', '9': 0, '10': 'DateDuration'}, + {'1': 'DueDate', '3': 41, '4': 1, '5': 11, '6': '.api.ComputationDueDate', '9': 0, '10': 'DueDate'}, + {'1': 'StatusDuration', '3': 42, '4': 1, '5': 11, '6': '.api.ComputationStatusDuration', '9': 0, '10': 'StatusDuration'}, + {'1': 'CustomFunction', '3': 43, '4': 1, '5': 11, '6': '.api.ComputationCustomFunction', '9': 0, '10': 'CustomFunction'}, + ], + '7': {}, + '8': [ + {'1': 'Type'}, + ], +}; + +/// Descriptor for `PutComputationRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List putComputationRequestDescriptor = $convert.base64Decode( + 'ChVQdXRDb21wdXRhdGlvblJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3RQcm' + '9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchIOCgJJRBgCIAEoCVICSUQSHgoFTGFiZWwY' + 'FCABKAlCCLqBAQRyAhABUgVMYWJlbBI0CgZFbnRpdHkYHiABKA4yDy5hcGkuRW50aXR5VHlwZU' + 'ILuoEBB4IBBBABIABSBkVudGl0eRJCCgxEYXRlRHVyYXRpb24YKCABKAsyHC5hcGkuQ29tcHV0' + 'YXRpb25EYXRlRHVyYXRpb25IAFIMRGF0ZUR1cmF0aW9uEjMKB0R1ZURhdGUYKSABKAsyFy5hcG' + 'kuQ29tcHV0YXRpb25EdWVEYXRlSABSB0R1ZURhdGUSSAoOU3RhdHVzRHVyYXRpb24YKiABKAsy' + 'Hi5hcGkuQ29tcHV0YXRpb25TdGF0dXNEdXJhdGlvbkgAUg5TdGF0dXNEdXJhdGlvbhJICg5DdX' + 'N0b21GdW5jdGlvbhgrIAEoCzIeLmFwaS5Db21wdXRhdGlvbkN1c3RvbUZ1bmN0aW9uSABSDkN1' + 'c3RvbUZ1bmN0aW9uOiaSQSMKIdIBBkhlYWRlctIBBUxhYmVs0gEGRW50aXR50gEEVHlwZUIGCg' + 'RUeXBl'); + +@$core.Deprecated('Use putComputationResponseDescriptor instead') +const PutComputationResponse$json = { + '1': 'PutComputationResponse', + '2': [ + {'1': 'Computation', '3': 1, '4': 1, '5': 11, '6': '.api.Computation', '8': {}, '10': 'Computation'}, + ], +}; + +/// Descriptor for `PutComputationResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List putComputationResponseDescriptor = $convert.base64Decode( + 'ChZQdXRDb21wdXRhdGlvblJlc3BvbnNlEj0KC0NvbXB1dGF0aW9uGAEgASgLMhAuYXBpLkNvbX' + 'B1dGF0aW9uQgm6gQEFigECEAFSC0NvbXB1dGF0aW9u'); + +@$core.Deprecated('Use getComputationRequestDescriptor instead') +const GetComputationRequest$json = { + '1': 'GetComputationRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ID'}, + ], + '7': {}, +}; + +/// Descriptor for `GetComputationRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getComputationRequestDescriptor = $convert.base64Decode( + 'ChVHZXRDb21wdXRhdGlvblJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3RQcm' + '9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchIYCgJJRBgCIAEoCUIIuoEBBHICEAFSAklE' + 'OhOSQRAKDtIBBkhlYWRlctIBAklE'); + +@$core.Deprecated('Use getComputationResponseDescriptor instead') +const GetComputationResponse$json = { + '1': 'GetComputationResponse', + '2': [ + {'1': 'Computation', '3': 1, '4': 1, '5': 11, '6': '.api.Computation', '8': {}, '10': 'Computation'}, + ], +}; + +/// Descriptor for `GetComputationResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getComputationResponseDescriptor = $convert.base64Decode( + 'ChZHZXRDb21wdXRhdGlvblJlc3BvbnNlEj0KC0NvbXB1dGF0aW9uGAEgASgLMhAuYXBpLkNvbX' + 'B1dGF0aW9uQgm6gQEFigECEAFSC0NvbXB1dGF0aW9u'); + +@$core.Deprecated('Use listComputationRequestDescriptor instead') +const ListComputationRequest$json = { + '1': 'ListComputationRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'Entity', '3': 2, '4': 1, '5': 14, '6': '.api.EntityType', '10': 'Entity'}, + ], + '7': {}, +}; + +/// Descriptor for `ListComputationRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List listComputationRequestDescriptor = $convert.base64Decode( + 'ChZMaXN0Q29tcHV0YXRpb25SZXF1ZXN0EjwKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH' + 'JvamVjdEhlYWRlckIJuoEBBYoBAhABUgZIZWFkZXISJwoGRW50aXR5GAIgASgOMg8uYXBpLkVu' + 'dGl0eVR5cGVSBkVudGl0eToOkkELCgnSAQZIZWFkZXI='); + +@$core.Deprecated('Use listComputationResponseDescriptor instead') +const ListComputationResponse$json = { + '1': 'ListComputationResponse', + '2': [ + {'1': 'Computations', '3': 1, '4': 3, '5': 11, '6': '.api.Computation', '10': 'Computations'}, + ], +}; + +/// Descriptor for `ListComputationResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List listComputationResponseDescriptor = $convert.base64Decode( + 'ChdMaXN0Q29tcHV0YXRpb25SZXNwb25zZRI0CgxDb21wdXRhdGlvbnMYASADKAsyEC5hcGkuQ2' + '9tcHV0YXRpb25SDENvbXB1dGF0aW9ucw=='); + +@$core.Deprecated('Use deleteComputationRequestDescriptor instead') +const DeleteComputationRequest$json = { + '1': 'DeleteComputationRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ID'}, + ], + '7': {}, +}; + +/// Descriptor for `DeleteComputationRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteComputationRequestDescriptor = $convert.base64Decode( + 'ChhEZWxldGVDb21wdXRhdGlvblJlcXVlc3QSPAoGSGVhZGVyGAEgASgLMhkuYXBpLlJlcXVlc3' + 'RQcm9qZWN0SGVhZGVyQgm6gQEFigECEAFSBkhlYWRlchIYCgJJRBgCIAEoCUIIuoEBBHICEAFS' + 'AklEOhOSQRAKDtIBBkhlYWRlctIBAklE'); + +@$core.Deprecated('Use deleteComputationResponseDescriptor instead') +const DeleteComputationResponse$json = { + '1': 'DeleteComputationResponse', +}; + +/// Descriptor for `DeleteComputationResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteComputationResponseDescriptor = $convert.base64Decode( + 'ChlEZWxldGVDb21wdXRhdGlvblJlc3BvbnNl'); + +@$core.Deprecated('Use putMappingTableRequestDescriptor instead') +const PutMappingTableRequest$json = { + '1': 'PutMappingTableRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 9, '10': 'ID'}, + {'1': 'Label', '3': 3, '4': 1, '5': 9, '8': {}, '10': 'Label'}, + {'1': 'Entity', '3': 4, '4': 1, '5': 14, '6': '.api.EntityType', '8': {}, '10': 'Entity'}, + {'1': 'InputFields', '3': 5, '4': 3, '5': 11, '6': '.api.MappingTableInputDescription', '8': {}, '10': 'InputFields'}, + {'1': 'OutputField', '3': 6, '4': 1, '5': 11, '6': '.api.MappingTableOutputField', '8': {}, '10': 'OutputField'}, + {'1': 'Entries', '3': 7, '4': 3, '5': 11, '6': '.api.MappingTableEntry', '8': {}, '10': 'Entries'}, + ], + '7': {}, +}; + +/// Descriptor for `PutMappingTableRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List putMappingTableRequestDescriptor = $convert.base64Decode( + 'ChZQdXRNYXBwaW5nVGFibGVSZXF1ZXN0EjwKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH' + 'JvamVjdEhlYWRlckIJuoEBBYoBAhABUgZIZWFkZXISDgoCSUQYAiABKAlSAklEEh4KBUxhYmVs' + 'GAMgASgJQgi6gQEEcgIQAVIFTGFiZWwSNAoGRW50aXR5GAQgASgOMg8uYXBpLkVudGl0eVR5cG' + 'VCC7qBAQeCAQQQASAAUgZFbnRpdHkSTgoLSW5wdXRGaWVsZHMYBSADKAsyIS5hcGkuTWFwcGlu' + 'Z1RhYmxlSW5wdXREZXNjcmlwdGlvbkIJuoEBBZIBAggBUgtJbnB1dEZpZWxkcxJJCgtPdXRwdX' + 'RGaWVsZBgGIAEoCzIcLmFwaS5NYXBwaW5nVGFibGVPdXRwdXRGaWVsZEIJuoEBBYoBAhABUgtP' + 'dXRwdXRGaWVsZBI7CgdFbnRyaWVzGAcgAygLMhYuYXBpLk1hcHBpbmdUYWJsZUVudHJ5Qgm6gQ' + 'EFkgECCAFSB0VudHJpZXM6RZJBQgpA0gEGSGVhZGVy0gEFTGFiZWzSAQtJbnB1dEZpZWxkc9IB' + 'C091dHB1dEZpZWxk0gEHRW50cmllc9IBBkVudGl0eQ=='); + +@$core.Deprecated('Use putMappingTableResponseDescriptor instead') +const PutMappingTableResponse$json = { + '1': 'PutMappingTableResponse', + '2': [ + {'1': 'MappingTable', '3': 1, '4': 1, '5': 11, '6': '.api.MappingTable', '8': {}, '10': 'MappingTable'}, + ], +}; + +/// Descriptor for `PutMappingTableResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List putMappingTableResponseDescriptor = $convert.base64Decode( + 'ChdQdXRNYXBwaW5nVGFibGVSZXNwb25zZRJACgxNYXBwaW5nVGFibGUYASABKAsyES5hcGkuTW' + 'FwcGluZ1RhYmxlQgm6gQEFigECEAFSDE1hcHBpbmdUYWJsZQ=='); + +@$core.Deprecated('Use getMappingTableRequestDescriptor instead') +const GetMappingTableRequest$json = { + '1': 'GetMappingTableRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ID'}, + ], + '7': {}, +}; + +/// Descriptor for `GetMappingTableRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getMappingTableRequestDescriptor = $convert.base64Decode( + 'ChZHZXRNYXBwaW5nVGFibGVSZXF1ZXN0EjwKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZXN0UH' + 'JvamVjdEhlYWRlckIJuoEBBYoBAhABUgZIZWFkZXISGAoCSUQYAiABKAlCCLqBAQRyAhABUgJJ' + 'RDoTkkEQCg7SAQZIZWFkZXLSAQJJRA=='); + +@$core.Deprecated('Use getMappingTableResponseDescriptor instead') +const GetMappingTableResponse$json = { + '1': 'GetMappingTableResponse', + '2': [ + {'1': 'MappingTable', '3': 1, '4': 1, '5': 11, '6': '.api.MappingTable', '8': {}, '10': 'MappingTable'}, + ], +}; + +/// Descriptor for `GetMappingTableResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List getMappingTableResponseDescriptor = $convert.base64Decode( + 'ChdHZXRNYXBwaW5nVGFibGVSZXNwb25zZRJACgxNYXBwaW5nVGFibGUYASABKAsyES5hcGkuTW' + 'FwcGluZ1RhYmxlQgm6gQEFigECEAFSDE1hcHBpbmdUYWJsZQ=='); + +@$core.Deprecated('Use listMappingTableRequestDescriptor instead') +const ListMappingTableRequest$json = { + '1': 'ListMappingTableRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'Entity', '3': 2, '4': 1, '5': 14, '6': '.api.EntityType', '10': 'Entity'}, + ], + '7': {}, +}; + +/// Descriptor for `ListMappingTableRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List listMappingTableRequestDescriptor = $convert.base64Decode( + 'ChdMaXN0TWFwcGluZ1RhYmxlUmVxdWVzdBI8CgZIZWFkZXIYASABKAsyGS5hcGkuUmVxdWVzdF' + 'Byb2plY3RIZWFkZXJCCbqBAQWKAQIQAVIGSGVhZGVyEicKBkVudGl0eRgCIAEoDjIPLmFwaS5F' + 'bnRpdHlUeXBlUgZFbnRpdHk6DpJBCwoJ0gEGSGVhZGVy'); + +@$core.Deprecated('Use listMappingTableResponseDescriptor instead') +const ListMappingTableResponse$json = { + '1': 'ListMappingTableResponse', + '2': [ + {'1': 'MappingTables', '3': 1, '4': 3, '5': 11, '6': '.api.MappingTable', '10': 'MappingTables'}, + ], +}; + +/// Descriptor for `ListMappingTableResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List listMappingTableResponseDescriptor = $convert.base64Decode( + 'ChhMaXN0TWFwcGluZ1RhYmxlUmVzcG9uc2USNwoNTWFwcGluZ1RhYmxlcxgBIAMoCzIRLmFwaS' + '5NYXBwaW5nVGFibGVSDU1hcHBpbmdUYWJsZXM='); + +@$core.Deprecated('Use deleteMappingTableRequestDescriptor instead') +const DeleteMappingTableRequest$json = { + '1': 'DeleteMappingTableRequest', + '2': [ + {'1': 'Header', '3': 1, '4': 1, '5': 11, '6': '.api.RequestProjectHeader', '8': {}, '10': 'Header'}, + {'1': 'ID', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'ID'}, + ], + '7': {}, +}; + +/// Descriptor for `DeleteMappingTableRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteMappingTableRequestDescriptor = $convert.base64Decode( + 'ChlEZWxldGVNYXBwaW5nVGFibGVSZXF1ZXN0EjwKBkhlYWRlchgBIAEoCzIZLmFwaS5SZXF1ZX' + 'N0UHJvamVjdEhlYWRlckIJuoEBBYoBAhABUgZIZWFkZXISGAoCSUQYAiABKAlCCLqBAQRyAhAB' + 'UgJJRDoTkkEQCg7SAQZIZWFkZXLSAQJJRA=='); + +@$core.Deprecated('Use deleteMappingTableResponseDescriptor instead') +const DeleteMappingTableResponse$json = { + '1': 'DeleteMappingTableResponse', +}; + +/// Descriptor for `DeleteMappingTableResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deleteMappingTableResponseDescriptor = $convert.base64Decode( + 'ChpEZWxldGVNYXBwaW5nVGFibGVSZXNwb25zZQ=='); + diff --git a/pubspec.yaml b/pubspec.yaml index 1ac6ac31..69de2b02 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: dart_core_sdk description: dart libs from core model proto files -version: 1.15.0-SNAPSHOT-260819082709 +version: 1.15.0-SNAPSHOT-260819083604 homepage: '' publish_to: '' repository: ''