From 16c9b7a54894b15174d3832988a9ab66e1ba0bb8 Mon Sep 17 00:00:00 2001 From: ci core model Date: Wed, 22 Oct 2025 13:47:37 +0000 Subject: [PATCH] Latest generation --- CHANGELOG.md | 2 +- lib/restrictions.pb.dart | 70 ++++++++++++++++++++++++++++++++++-- lib/restrictions.pbjson.dart | 22 ++++++++++-- pubspec.yaml | 2 +- 4 files changed, 88 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d8b4b88..303a6db8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.12.0-SNAPSHOT-251022081211 +Lib version: 1.12.0-SNAPSHOT-251022134708 diff --git a/lib/restrictions.pb.dart b/lib/restrictions.pb.dart index 2dd859ae..b133ec79 100644 --- a/lib/restrictions.pb.dart +++ b/lib/restrictions.pb.dart @@ -158,6 +158,70 @@ class Restriction extends $pb.GeneratedMessage { void clearCreatedAt() => $_clearField(9); } +class RestrictionComputeResult extends $pb.GeneratedMessage { + factory RestrictionComputeResult({ + $core.Iterable? results, + $core.String? restrictionID, + $core.String? restrictionName, + }) { + final result = create(); + if (results != null) result.results.addAll(results); + if (restrictionID != null) result.restrictionID = restrictionID; + if (restrictionName != null) result.restrictionName = restrictionName; + return result; + } + + RestrictionComputeResult._(); + + factory RestrictionComputeResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory RestrictionComputeResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RestrictionComputeResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..pc(1, _omitFieldNames ? '' : 'Results', $pb.PbFieldType.PM, protoName: 'Results', subBuilder: RuleComputeResult.create) + ..aOS(2, _omitFieldNames ? '' : 'RestrictionID', protoName: 'RestrictionID') + ..aOS(3, _omitFieldNames ? '' : 'RestrictionName', protoName: 'RestrictionName') + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + RestrictionComputeResult clone() => RestrictionComputeResult()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + RestrictionComputeResult copyWith(void Function(RestrictionComputeResult) updates) => super.copyWith((message) => updates(message as RestrictionComputeResult)) as RestrictionComputeResult; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static RestrictionComputeResult create() => RestrictionComputeResult._(); + @$core.override + RestrictionComputeResult createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static RestrictionComputeResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static RestrictionComputeResult? _defaultInstance; + + @$pb.TagNumber(1) + $pb.PbList get results => $_getList(0); + + @$pb.TagNumber(2) + $core.String get restrictionID => $_getSZ(1); + @$pb.TagNumber(2) + set restrictionID($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasRestrictionID() => $_has(1); + @$pb.TagNumber(2) + void clearRestrictionID() => $_clearField(2); + + @$pb.TagNumber(3) + $core.String get restrictionName => $_getSZ(2); + @$pb.TagNumber(3) + set restrictionName($core.String value) => $_setString(2, value); + @$pb.TagNumber(3) + $core.bool hasRestrictionName() => $_has(2); + @$pb.TagNumber(3) + void clearRestrictionName() => $_clearField(3); +} + class RuleComputeResult extends $pb.GeneratedMessage { factory RuleComputeResult({ RuleComputeFormat? format, @@ -1505,7 +1569,7 @@ class ComputeRuleRequest extends $pb.GeneratedMessage { class ComputeRuleResponse extends $pb.GeneratedMessage { factory ComputeRuleResponse({ - $core.Iterable? results, + $core.Iterable? results, }) { final result = create(); if (results != null) result.results.addAll(results); @@ -1518,7 +1582,7 @@ class ComputeRuleResponse extends $pb.GeneratedMessage { factory ComputeRuleResponse.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ComputeRuleResponse', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) - ..pc(1, _omitFieldNames ? '' : 'Results', $pb.PbFieldType.PM, protoName: 'Results', subBuilder: RuleComputeResult.create) + ..pc(1, _omitFieldNames ? '' : 'Results', $pb.PbFieldType.PM, protoName: 'Results', subBuilder: RestrictionComputeResult.create) ..hasRequiredFields = false ; @@ -1540,7 +1604,7 @@ class ComputeRuleResponse extends $pb.GeneratedMessage { static ComputeRuleResponse? _defaultInstance; @$pb.TagNumber(1) - $pb.PbList get results => $_getList(0); + $pb.PbList get results => $_getList(0); } class ValidateRestrictionRuleRequest extends $pb.GeneratedMessage { diff --git a/lib/restrictions.pbjson.dart b/lib/restrictions.pbjson.dart index ff3efa19..537f59e8 100644 --- a/lib/restrictions.pbjson.dart +++ b/lib/restrictions.pbjson.dart @@ -71,6 +71,22 @@ final $typed_data.Uint8List restrictionDescriptor = $convert.base64Decode( 'ZXMSHAoJVXBkYXRlZEF0GAggASgJUglVcGRhdGVkQXQSHAoJQ3JlYXRlZEF0GAkgASgJUglDcm' 'VhdGVkQXQ='); +@$core.Deprecated('Use restrictionComputeResultDescriptor instead') +const RestrictionComputeResult$json = { + '1': 'RestrictionComputeResult', + '2': [ + {'1': 'Results', '3': 1, '4': 3, '5': 11, '6': '.api.RuleComputeResult', '10': 'Results'}, + {'1': 'RestrictionID', '3': 2, '4': 1, '5': 9, '10': 'RestrictionID'}, + {'1': 'RestrictionName', '3': 3, '4': 1, '5': 9, '10': 'RestrictionName'}, + ], +}; + +/// Descriptor for `RestrictionComputeResult`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List restrictionComputeResultDescriptor = $convert.base64Decode( + 'ChhSZXN0cmljdGlvbkNvbXB1dGVSZXN1bHQSMAoHUmVzdWx0cxgBIAMoCzIWLmFwaS5SdWxlQ2' + '9tcHV0ZVJlc3VsdFIHUmVzdWx0cxIkCg1SZXN0cmljdGlvbklEGAIgASgJUg1SZXN0cmljdGlv' + 'bklEEigKD1Jlc3RyaWN0aW9uTmFtZRgDIAEoCVIPUmVzdHJpY3Rpb25OYW1l'); + @$core.Deprecated('Use ruleComputeResultDescriptor instead') const RuleComputeResult$json = { '1': 'RuleComputeResult', @@ -428,14 +444,14 @@ final $typed_data.Uint8List computeRuleRequestDescriptor = $convert.base64Decode const ComputeRuleResponse$json = { '1': 'ComputeRuleResponse', '2': [ - {'1': 'Results', '3': 1, '4': 3, '5': 11, '6': '.api.RuleComputeResult', '10': 'Results'}, + {'1': 'Results', '3': 1, '4': 3, '5': 11, '6': '.api.RestrictionComputeResult', '10': 'Results'}, ], }; /// Descriptor for `ComputeRuleResponse`. Decode as a `google.protobuf.DescriptorProto`. final $typed_data.Uint8List computeRuleResponseDescriptor = $convert.base64Decode( - 'ChNDb21wdXRlUnVsZVJlc3BvbnNlEjAKB1Jlc3VsdHMYASADKAsyFi5hcGkuUnVsZUNvbXB1dG' - 'VSZXN1bHRSB1Jlc3VsdHM='); + 'ChNDb21wdXRlUnVsZVJlc3BvbnNlEjcKB1Jlc3VsdHMYASADKAsyHS5hcGkuUmVzdHJpY3Rpb2' + '5Db21wdXRlUmVzdWx0UgdSZXN1bHRz'); @$core.Deprecated('Use validateRestrictionRuleRequestDescriptor instead') const ValidateRestrictionRuleRequest$json = { diff --git a/pubspec.yaml b/pubspec.yaml index 670ba6f1..5ea49dac 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.12.0-SNAPSHOT-251022081211 +version: 1.12.0-SNAPSHOT-251022134708 homepage: '' publish_to: '' repository: ''