Files
dart-core-sdk/lib/kpi.pbgrpc.dart
ci core model 7c1d15e966 Release 1.10.5
2025-05-16 12:41:43 +00:00

196 lines
9.7 KiB
Dart

//
// Generated code. Do not modify.
// source: kpi.proto
//
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
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 'kpi.pb.dart' as $28;
export 'kpi.pb.dart';
@$pb.GrpcServiceName('api.KpiService')
class KpiServiceClient extends $grpc.Client {
static final _$getKpis = $grpc.ClientMethod<$28.GetKpisRequest, $28.GetKpisResult>(
'/api.KpiService/GetKpis',
($28.GetKpisRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $28.GetKpisResult.fromBuffer(value));
static final _$getKpiTableStructure = $grpc.ClientMethod<$28.GetKpiTableStructureRequest, $28.GetKpiTableStructureResult>(
'/api.KpiService/GetKpiTableStructure',
($28.GetKpiTableStructureRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $28.GetKpiTableStructureResult.fromBuffer(value));
static final _$updateKpiTableStructure = $grpc.ClientMethod<$28.UpdateKpiTableStructureRequest, $28.UpdateKpiTableStructureResult>(
'/api.KpiService/UpdateKpiTableStructure',
($28.UpdateKpiTableStructureRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $28.UpdateKpiTableStructureResult.fromBuffer(value));
static final _$getKpiEntities = $grpc.ClientMethod<$28.GetKpiEntitiesRequest, $28.GetKpiEntitiesResult>(
'/api.KpiService/GetKpiEntities',
($28.GetKpiEntitiesRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $28.GetKpiEntitiesResult.fromBuffer(value));
static final _$clearKpiEntity = $grpc.ClientMethod<$28.ClearKpiEntityRequest, $28.ClearKpiEntityResult>(
'/api.KpiService/ClearKpiEntity',
($28.ClearKpiEntityRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $28.ClearKpiEntityResult.fromBuffer(value));
static final _$createMV = $grpc.ClientMethod<$28.CreateMVRequest, $28.CreateMVResult>(
'/api.KpiService/CreateMV',
($28.CreateMVRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $28.CreateMVResult.fromBuffer(value));
static final _$dropMV = $grpc.ClientMethod<$28.DropMVRequest, $28.DropMVResult>(
'/api.KpiService/DropMV',
($28.DropMVRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $28.DropMVResult.fromBuffer(value));
static final _$populateMV = $grpc.ClientMethod<$28.PopulateMVRequest, $28.PopulateMVResult>(
'/api.KpiService/PopulateMV',
($28.PopulateMVRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $28.PopulateMVResult.fromBuffer(value));
KpiServiceClient(super.channel, {super.options, super.interceptors});
$grpc.ResponseFuture<$28.GetKpisResult> getKpis($28.GetKpisRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$getKpis, request, options: options);
}
$grpc.ResponseFuture<$28.GetKpiTableStructureResult> getKpiTableStructure($28.GetKpiTableStructureRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$getKpiTableStructure, request, options: options);
}
$grpc.ResponseFuture<$28.UpdateKpiTableStructureResult> updateKpiTableStructure($28.UpdateKpiTableStructureRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$updateKpiTableStructure, request, options: options);
}
$grpc.ResponseFuture<$28.GetKpiEntitiesResult> getKpiEntities($28.GetKpiEntitiesRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$getKpiEntities, request, options: options);
}
$grpc.ResponseFuture<$28.ClearKpiEntityResult> clearKpiEntity($28.ClearKpiEntityRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$clearKpiEntity, request, options: options);
}
$grpc.ResponseFuture<$28.CreateMVResult> createMV($28.CreateMVRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$createMV, request, options: options);
}
$grpc.ResponseFuture<$28.DropMVResult> dropMV($28.DropMVRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$dropMV, request, options: options);
}
$grpc.ResponseFuture<$28.PopulateMVResult> populateMV($28.PopulateMVRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$populateMV, request, options: options);
}
}
@$pb.GrpcServiceName('api.KpiService')
abstract class KpiServiceBase extends $grpc.Service {
$core.String get $name => 'api.KpiService';
KpiServiceBase() {
$addMethod($grpc.ServiceMethod<$28.GetKpisRequest, $28.GetKpisResult>(
'GetKpis',
getKpis_Pre,
false,
false,
($core.List<$core.int> value) => $28.GetKpisRequest.fromBuffer(value),
($28.GetKpisResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$28.GetKpiTableStructureRequest, $28.GetKpiTableStructureResult>(
'GetKpiTableStructure',
getKpiTableStructure_Pre,
false,
false,
($core.List<$core.int> value) => $28.GetKpiTableStructureRequest.fromBuffer(value),
($28.GetKpiTableStructureResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$28.UpdateKpiTableStructureRequest, $28.UpdateKpiTableStructureResult>(
'UpdateKpiTableStructure',
updateKpiTableStructure_Pre,
false,
false,
($core.List<$core.int> value) => $28.UpdateKpiTableStructureRequest.fromBuffer(value),
($28.UpdateKpiTableStructureResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$28.GetKpiEntitiesRequest, $28.GetKpiEntitiesResult>(
'GetKpiEntities',
getKpiEntities_Pre,
false,
false,
($core.List<$core.int> value) => $28.GetKpiEntitiesRequest.fromBuffer(value),
($28.GetKpiEntitiesResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$28.ClearKpiEntityRequest, $28.ClearKpiEntityResult>(
'ClearKpiEntity',
clearKpiEntity_Pre,
false,
false,
($core.List<$core.int> value) => $28.ClearKpiEntityRequest.fromBuffer(value),
($28.ClearKpiEntityResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$28.CreateMVRequest, $28.CreateMVResult>(
'CreateMV',
createMV_Pre,
false,
false,
($core.List<$core.int> value) => $28.CreateMVRequest.fromBuffer(value),
($28.CreateMVResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$28.DropMVRequest, $28.DropMVResult>(
'DropMV',
dropMV_Pre,
false,
false,
($core.List<$core.int> value) => $28.DropMVRequest.fromBuffer(value),
($28.DropMVResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$28.PopulateMVRequest, $28.PopulateMVResult>(
'PopulateMV',
populateMV_Pre,
false,
false,
($core.List<$core.int> value) => $28.PopulateMVRequest.fromBuffer(value),
($28.PopulateMVResult value) => value.writeToBuffer()));
}
$async.Future<$28.GetKpisResult> getKpis_Pre($grpc.ServiceCall $call, $async.Future<$28.GetKpisRequest> $request) async {
return getKpis($call, await $request);
}
$async.Future<$28.GetKpiTableStructureResult> getKpiTableStructure_Pre($grpc.ServiceCall $call, $async.Future<$28.GetKpiTableStructureRequest> $request) async {
return getKpiTableStructure($call, await $request);
}
$async.Future<$28.UpdateKpiTableStructureResult> updateKpiTableStructure_Pre($grpc.ServiceCall $call, $async.Future<$28.UpdateKpiTableStructureRequest> $request) async {
return updateKpiTableStructure($call, await $request);
}
$async.Future<$28.GetKpiEntitiesResult> getKpiEntities_Pre($grpc.ServiceCall $call, $async.Future<$28.GetKpiEntitiesRequest> $request) async {
return getKpiEntities($call, await $request);
}
$async.Future<$28.ClearKpiEntityResult> clearKpiEntity_Pre($grpc.ServiceCall $call, $async.Future<$28.ClearKpiEntityRequest> $request) async {
return clearKpiEntity($call, await $request);
}
$async.Future<$28.CreateMVResult> createMV_Pre($grpc.ServiceCall $call, $async.Future<$28.CreateMVRequest> $request) async {
return createMV($call, await $request);
}
$async.Future<$28.DropMVResult> dropMV_Pre($grpc.ServiceCall $call, $async.Future<$28.DropMVRequest> $request) async {
return dropMV($call, await $request);
}
$async.Future<$28.PopulateMVResult> populateMV_Pre($grpc.ServiceCall $call, $async.Future<$28.PopulateMVRequest> $request) async {
return populateMV($call, await $request);
}
$async.Future<$28.GetKpisResult> getKpis($grpc.ServiceCall call, $28.GetKpisRequest request);
$async.Future<$28.GetKpiTableStructureResult> getKpiTableStructure($grpc.ServiceCall call, $28.GetKpiTableStructureRequest request);
$async.Future<$28.UpdateKpiTableStructureResult> updateKpiTableStructure($grpc.ServiceCall call, $28.UpdateKpiTableStructureRequest request);
$async.Future<$28.GetKpiEntitiesResult> getKpiEntities($grpc.ServiceCall call, $28.GetKpiEntitiesRequest request);
$async.Future<$28.ClearKpiEntityResult> clearKpiEntity($grpc.ServiceCall call, $28.ClearKpiEntityRequest request);
$async.Future<$28.CreateMVResult> createMV($grpc.ServiceCall call, $28.CreateMVRequest request);
$async.Future<$28.DropMVResult> dropMV($grpc.ServiceCall call, $28.DropMVRequest request);
$async.Future<$28.PopulateMVResult> populateMV($grpc.ServiceCall call, $28.PopulateMVRequest request);
}