diff --git a/CHANGELOG.md b/CHANGELOG.md index ec7de1b..01110f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ # CHANGELOG -Lib version: 1.13.0-SNAPSHOT-260409095225 +Lib version: 1.13.0-SNAPSHOT-260413083350 diff --git a/lib/kpi.pb.dart b/lib/kpi.pb.dart index 7059105..d9a2d68 100644 --- a/lib/kpi.pb.dart +++ b/lib/kpi.pb.dart @@ -440,10 +440,12 @@ class GetKpiTableStructureRequest extends $pb.GeneratedMessage { factory GetKpiTableStructureRequest({ $core.String? rscID, $core.String? domain, + $1.EntityType? entity, }) { final result = create(); if (rscID != null) result.rscID = rscID; if (domain != null) result.domain = domain; + if (entity != null) result.entity = entity; return result; } @@ -455,6 +457,7 @@ class GetKpiTableStructureRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetKpiTableStructureRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'RscID', protoName: 'RscID') ..aOS(2, _omitFieldNames ? '' : 'Domain', protoName: 'Domain') + ..e<$1.EntityType>(3, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values) ..hasRequiredFields = false ; @@ -492,6 +495,15 @@ class GetKpiTableStructureRequest extends $pb.GeneratedMessage { $core.bool hasDomain() => $_has(1); @$pb.TagNumber(2) void clearDomain() => $_clearField(2); + + @$pb.TagNumber(3) + $1.EntityType get entity => $_getN(2); + @$pb.TagNumber(3) + set entity($1.EntityType value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasEntity() => $_has(2); + @$pb.TagNumber(3) + void clearEntity() => $_clearField(3); } class GetKpiTableStructureResult extends $pb.GeneratedMessage { @@ -538,10 +550,12 @@ class UpdateKpiTableStructureRequest extends $pb.GeneratedMessage { factory UpdateKpiTableStructureRequest({ $core.String? rscID, $core.String? domain, + $1.EntityType? entity, }) { final result = create(); if (rscID != null) result.rscID = rscID; if (domain != null) result.domain = domain; + if (entity != null) result.entity = entity; return result; } @@ -553,6 +567,7 @@ class UpdateKpiTableStructureRequest extends $pb.GeneratedMessage { static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateKpiTableStructureRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) ..aOS(1, _omitFieldNames ? '' : 'RscID', protoName: 'RscID') ..aOS(2, _omitFieldNames ? '' : 'Domain', protoName: 'Domain') + ..e<$1.EntityType>(3, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values) ..hasRequiredFields = false ; @@ -590,6 +605,15 @@ class UpdateKpiTableStructureRequest extends $pb.GeneratedMessage { $core.bool hasDomain() => $_has(1); @$pb.TagNumber(2) void clearDomain() => $_clearField(2); + + @$pb.TagNumber(3) + $1.EntityType get entity => $_getN(2); + @$pb.TagNumber(3) + set entity($1.EntityType value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasEntity() => $_has(2); + @$pb.TagNumber(3) + void clearEntity() => $_clearField(3); } class UpdateKpiTableStructureResult extends $pb.GeneratedMessage { @@ -622,6 +646,106 @@ class UpdateKpiTableStructureResult extends $pb.GeneratedMessage { static UpdateKpiTableStructureResult? _defaultInstance; } +class DropKpiTableStructureRequest extends $pb.GeneratedMessage { + factory DropKpiTableStructureRequest({ + $core.String? rscID, + $core.String? domain, + $1.EntityType? entity, + }) { + final result = create(); + if (rscID != null) result.rscID = rscID; + if (domain != null) result.domain = domain; + if (entity != null) result.entity = entity; + return result; + } + + DropKpiTableStructureRequest._(); + + factory DropKpiTableStructureRequest.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory DropKpiTableStructureRequest.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DropKpiTableStructureRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..aOS(1, _omitFieldNames ? '' : 'RscID', protoName: 'RscID') + ..aOS(2, _omitFieldNames ? '' : 'Domain', protoName: 'Domain') + ..e<$1.EntityType>(3, _omitFieldNames ? '' : 'Entity', $pb.PbFieldType.OE, protoName: 'Entity', defaultOrMaker: $1.EntityType.ENTITY_TYPE_UNKNOWN, valueOf: $1.EntityType.valueOf, enumValues: $1.EntityType.values) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DropKpiTableStructureRequest clone() => DropKpiTableStructureRequest()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DropKpiTableStructureRequest copyWith(void Function(DropKpiTableStructureRequest) updates) => super.copyWith((message) => updates(message as DropKpiTableStructureRequest)) as DropKpiTableStructureRequest; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DropKpiTableStructureRequest create() => DropKpiTableStructureRequest._(); + @$core.override + DropKpiTableStructureRequest createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DropKpiTableStructureRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DropKpiTableStructureRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get rscID => $_getSZ(0); + @$pb.TagNumber(1) + set rscID($core.String value) => $_setString(0, value); + @$pb.TagNumber(1) + $core.bool hasRscID() => $_has(0); + @$pb.TagNumber(1) + void clearRscID() => $_clearField(1); + + @$pb.TagNumber(2) + $core.String get domain => $_getSZ(1); + @$pb.TagNumber(2) + set domain($core.String value) => $_setString(1, value); + @$pb.TagNumber(2) + $core.bool hasDomain() => $_has(1); + @$pb.TagNumber(2) + void clearDomain() => $_clearField(2); + + @$pb.TagNumber(3) + $1.EntityType get entity => $_getN(2); + @$pb.TagNumber(3) + set entity($1.EntityType value) => $_setField(3, value); + @$pb.TagNumber(3) + $core.bool hasEntity() => $_has(2); + @$pb.TagNumber(3) + void clearEntity() => $_clearField(3); +} + +class DropKpiTableStructureResult extends $pb.GeneratedMessage { + factory DropKpiTableStructureResult() => create(); + + DropKpiTableStructureResult._(); + + factory DropKpiTableStructureResult.fromBuffer($core.List<$core.int> data, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(data, registry); + factory DropKpiTableStructureResult.fromJson($core.String json, [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(json, registry); + + static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DropKpiTableStructureResult', package: const $pb.PackageName(_omitMessageNames ? '' : 'api'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DropKpiTableStructureResult clone() => DropKpiTableStructureResult()..mergeFromMessage(this); + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') + DropKpiTableStructureResult copyWith(void Function(DropKpiTableStructureResult) updates) => super.copyWith((message) => updates(message as DropKpiTableStructureResult)) as DropKpiTableStructureResult; + + @$core.override + $pb.BuilderInfo get info_ => _i; + + @$core.pragma('dart2js:noInline') + static DropKpiTableStructureResult create() => DropKpiTableStructureResult._(); + @$core.override + DropKpiTableStructureResult createEmptyInstance() => create(); + static $pb.PbList createRepeated() => $pb.PbList(); + @$core.pragma('dart2js:noInline') + static DropKpiTableStructureResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor(create); + static DropKpiTableStructureResult? _defaultInstance; +} + class GetKpiEntitiesRequest extends $pb.GeneratedMessage { factory GetKpiEntitiesRequest({ $core.String? rscID, diff --git a/lib/kpi.pbgrpc.dart b/lib/kpi.pbgrpc.dart index c1d2488..7be6ff0 100644 --- a/lib/kpi.pbgrpc.dart +++ b/lib/kpi.pbgrpc.dart @@ -44,6 +44,10 @@ class KpiServiceClient extends $grpc.Client { return $createUnaryCall(_$updateKpiTableStructure, request, options: options); } + $grpc.ResponseFuture<$0.DropKpiTableStructureResult> dropKpiTableStructure($0.DropKpiTableStructureRequest request, {$grpc.CallOptions? options,}) { + return $createUnaryCall(_$dropKpiTableStructure, request, options: options); + } + $grpc.ResponseFuture<$0.GetKpiEntitiesResult> getKpiEntities($0.GetKpiEntitiesRequest request, {$grpc.CallOptions? options,}) { return $createUnaryCall(_$getKpiEntities, request, options: options); } @@ -78,6 +82,10 @@ class KpiServiceClient extends $grpc.Client { '/api.KpiService/UpdateKpiTableStructure', ($0.UpdateKpiTableStructureRequest value) => value.writeToBuffer(), $0.UpdateKpiTableStructureResult.fromBuffer); + static final _$dropKpiTableStructure = $grpc.ClientMethod<$0.DropKpiTableStructureRequest, $0.DropKpiTableStructureResult>( + '/api.KpiService/DropKpiTableStructure', + ($0.DropKpiTableStructureRequest value) => value.writeToBuffer(), + $0.DropKpiTableStructureResult.fromBuffer); static final _$getKpiEntities = $grpc.ClientMethod<$0.GetKpiEntitiesRequest, $0.GetKpiEntitiesResult>( '/api.KpiService/GetKpiEntities', ($0.GetKpiEntitiesRequest value) => value.writeToBuffer(), @@ -126,6 +134,13 @@ abstract class KpiServiceBase extends $grpc.Service { false, ($core.List<$core.int> value) => $0.UpdateKpiTableStructureRequest.fromBuffer(value), ($0.UpdateKpiTableStructureResult value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DropKpiTableStructureRequest, $0.DropKpiTableStructureResult>( + 'DropKpiTableStructure', + dropKpiTableStructure_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DropKpiTableStructureRequest.fromBuffer(value), + ($0.DropKpiTableStructureResult value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$0.GetKpiEntitiesRequest, $0.GetKpiEntitiesResult>( 'GetKpiEntities', getKpiEntities_Pre, @@ -181,6 +196,12 @@ abstract class KpiServiceBase extends $grpc.Service { $async.Future<$0.UpdateKpiTableStructureResult> updateKpiTableStructure($grpc.ServiceCall call, $0.UpdateKpiTableStructureRequest request); + $async.Future<$0.DropKpiTableStructureResult> dropKpiTableStructure_Pre($grpc.ServiceCall $call, $async.Future<$0.DropKpiTableStructureRequest> $request) async { + return dropKpiTableStructure($call, await $request); + } + + $async.Future<$0.DropKpiTableStructureResult> dropKpiTableStructure($grpc.ServiceCall call, $0.DropKpiTableStructureRequest request); + $async.Future<$0.GetKpiEntitiesResult> getKpiEntities_Pre($grpc.ServiceCall $call, $async.Future<$0.GetKpiEntitiesRequest> $request) async { return getKpiEntities($call, await $request); } diff --git a/lib/kpi.pbjson.dart b/lib/kpi.pbjson.dart index aecc43a..85bc1ac 100644 --- a/lib/kpi.pbjson.dart +++ b/lib/kpi.pbjson.dart @@ -123,6 +123,7 @@ const GetKpiTableStructureRequest$json = { '2': [ {'1': 'RscID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'RscID'}, {'1': 'Domain', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Domain'}, + {'1': 'Entity', '3': 3, '4': 1, '5': 14, '6': '.api.EntityType', '8': {}, '10': 'Entity'}, ], '7': {}, }; @@ -131,7 +132,8 @@ const GetKpiTableStructureRequest$json = { final $typed_data.Uint8List getKpiTableStructureRequestDescriptor = $convert.base64Decode( 'ChtHZXRLcGlUYWJsZVN0cnVjdHVyZVJlcXVlc3QSHQoFUnNjSUQYASABKAlCB/pCBHICEAFSBV' 'JzY0lEEjwKBkRvbWFpbhgCIAEoCUIkkkEHOgV0cmFkZfpCF3IVUgV0cmFkZVIGY29sbGFiUgRj' - 'b3JlUgZEb21haW46FpJBEwoR0gEFUnNjSUTSAQZEb21haW4='); + 'b3JlUgZEb21haW4SMQoGRW50aXR5GAMgASgOMg8uYXBpLkVudGl0eVR5cGVCCPpCBYIBAhABUg' + 'ZFbnRpdHk6FpJBEwoR0gEFUnNjSUTSAQZEb21haW4='); @$core.Deprecated('Use getKpiTableStructureResultDescriptor instead') const GetKpiTableStructureResult$json = { @@ -151,6 +153,7 @@ const UpdateKpiTableStructureRequest$json = { '2': [ {'1': 'RscID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'RscID'}, {'1': 'Domain', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Domain'}, + {'1': 'Entity', '3': 3, '4': 1, '5': 14, '6': '.api.EntityType', '8': {}, '10': 'Entity'}, ], '7': {}, }; @@ -159,7 +162,8 @@ const UpdateKpiTableStructureRequest$json = { final $typed_data.Uint8List updateKpiTableStructureRequestDescriptor = $convert.base64Decode( 'Ch5VcGRhdGVLcGlUYWJsZVN0cnVjdHVyZVJlcXVlc3QSHQoFUnNjSUQYASABKAlCB/pCBHICEA' 'FSBVJzY0lEEjwKBkRvbWFpbhgCIAEoCUIkkkEHOgV0cmFkZfpCF3IVUgV0cmFkZVIGY29sbGFi' - 'UgRjb3JlUgZEb21haW46IJJBHQob0gEFUnNjSUTSAQdSc2NUeXBl0gEGRG9tYWlu'); + 'UgRjb3JlUgZEb21haW4SMQoGRW50aXR5GAMgASgOMg8uYXBpLkVudGl0eVR5cGVCCPpCBYIBAh' + 'ABUgZFbnRpdHk6IJJBHQob0gEFUnNjSUTSAQdSc2NUeXBl0gEGRG9tYWlu'); @$core.Deprecated('Use updateKpiTableStructureResultDescriptor instead') const UpdateKpiTableStructureResult$json = { @@ -170,6 +174,33 @@ const UpdateKpiTableStructureResult$json = { final $typed_data.Uint8List updateKpiTableStructureResultDescriptor = $convert.base64Decode( 'Ch1VcGRhdGVLcGlUYWJsZVN0cnVjdHVyZVJlc3VsdA=='); +@$core.Deprecated('Use dropKpiTableStructureRequestDescriptor instead') +const DropKpiTableStructureRequest$json = { + '1': 'DropKpiTableStructureRequest', + '2': [ + {'1': 'RscID', '3': 1, '4': 1, '5': 9, '8': {}, '10': 'RscID'}, + {'1': 'Domain', '3': 2, '4': 1, '5': 9, '8': {}, '10': 'Domain'}, + {'1': 'Entity', '3': 3, '4': 1, '5': 14, '6': '.api.EntityType', '8': {}, '10': 'Entity'}, + ], + '7': {}, +}; + +/// Descriptor for `DropKpiTableStructureRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dropKpiTableStructureRequestDescriptor = $convert.base64Decode( + 'ChxEcm9wS3BpVGFibGVTdHJ1Y3R1cmVSZXF1ZXN0Eh0KBVJzY0lEGAEgASgJQgf6QgRyAhABUg' + 'VSc2NJRBI8CgZEb21haW4YAiABKAlCJJJBBzoFdHJhZGX6QhdyFVIFdHJhZGVSBmNvbGxhYlIE' + 'Y29yZVIGRG9tYWluEjEKBkVudGl0eRgDIAEoDjIPLmFwaS5FbnRpdHlUeXBlQgj6QgWCAQIQAV' + 'IGRW50aXR5OiCSQR0KG9IBBVJzY0lE0gEHUnNjVHlwZdIBBkRvbWFpbg=='); + +@$core.Deprecated('Use dropKpiTableStructureResultDescriptor instead') +const DropKpiTableStructureResult$json = { + '1': 'DropKpiTableStructureResult', +}; + +/// Descriptor for `DropKpiTableStructureResult`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List dropKpiTableStructureResultDescriptor = $convert.base64Decode( + 'ChtEcm9wS3BpVGFibGVTdHJ1Y3R1cmVSZXN1bHQ='); + @$core.Deprecated('Use getKpiEntitiesRequestDescriptor instead') const GetKpiEntitiesRequest$json = { '1': 'GetKpiEntitiesRequest', diff --git a/pubspec.yaml b/pubspec.yaml index db7f03d..139a5f9 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.13.0-SNAPSHOT-260409095225 +version: 1.13.0-SNAPSHOT-260413083350 homepage: '' publish_to: '' repository: ''