// // 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 $57; export 'kpi.pb.dart'; @$pb.GrpcServiceName('api.KpiService') class KpiServiceClient extends $grpc.Client { static final _$getKpis = $grpc.ClientMethod<$57.GetKpisRequest, $57.GetKpisResult>( '/api.KpiService/GetKpis', ($57.GetKpisRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $57.GetKpisResult.fromBuffer(value)); static final _$getKpiTableStructure = $grpc.ClientMethod<$57.GetKpiTableStructureRequest, $57.GetKpiTableStructureResult>( '/api.KpiService/GetKpiTableStructure', ($57.GetKpiTableStructureRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $57.GetKpiTableStructureResult.fromBuffer(value)); static final _$updateKpiTableStructure = $grpc.ClientMethod<$57.UpdateKpiTableStructureRequest, $57.UpdateKpiTableStructureResult>( '/api.KpiService/UpdateKpiTableStructure', ($57.UpdateKpiTableStructureRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $57.UpdateKpiTableStructureResult.fromBuffer(value)); static final _$getKpiEntities = $grpc.ClientMethod<$57.GetKpiEntitiesRequest, $57.GetKpiEntitiesResult>( '/api.KpiService/GetKpiEntities', ($57.GetKpiEntitiesRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $57.GetKpiEntitiesResult.fromBuffer(value)); static final _$clearKpiEntity = $grpc.ClientMethod<$57.ClearKpiEntityRequest, $57.ClearKpiEntityResult>( '/api.KpiService/ClearKpiEntity', ($57.ClearKpiEntityRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $57.ClearKpiEntityResult.fromBuffer(value)); static final _$createMV = $grpc.ClientMethod<$57.CreateMVRequest, $57.CreateMVResult>( '/api.KpiService/CreateMV', ($57.CreateMVRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $57.CreateMVResult.fromBuffer(value)); static final _$dropMV = $grpc.ClientMethod<$57.DropMVRequest, $57.DropMVResult>( '/api.KpiService/DropMV', ($57.DropMVRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $57.DropMVResult.fromBuffer(value)); static final _$populateMV = $grpc.ClientMethod<$57.PopulateMVRequest, $57.PopulateMVResult>( '/api.KpiService/PopulateMV', ($57.PopulateMVRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $57.PopulateMVResult.fromBuffer(value)); KpiServiceClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, $core.Iterable<$grpc.ClientInterceptor>? interceptors}) : super(channel, options: options, interceptors: interceptors); $grpc.ResponseFuture<$57.GetKpisResult> getKpis($57.GetKpisRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getKpis, request, options: options); } $grpc.ResponseFuture<$57.GetKpiTableStructureResult> getKpiTableStructure($57.GetKpiTableStructureRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getKpiTableStructure, request, options: options); } $grpc.ResponseFuture<$57.UpdateKpiTableStructureResult> updateKpiTableStructure($57.UpdateKpiTableStructureRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$updateKpiTableStructure, request, options: options); } $grpc.ResponseFuture<$57.GetKpiEntitiesResult> getKpiEntities($57.GetKpiEntitiesRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getKpiEntities, request, options: options); } $grpc.ResponseFuture<$57.ClearKpiEntityResult> clearKpiEntity($57.ClearKpiEntityRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$clearKpiEntity, request, options: options); } $grpc.ResponseFuture<$57.CreateMVResult> createMV($57.CreateMVRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$createMV, request, options: options); } $grpc.ResponseFuture<$57.DropMVResult> dropMV($57.DropMVRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$dropMV, request, options: options); } $grpc.ResponseFuture<$57.PopulateMVResult> populateMV($57.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<$57.GetKpisRequest, $57.GetKpisResult>( 'GetKpis', getKpis_Pre, false, false, ($core.List<$core.int> value) => $57.GetKpisRequest.fromBuffer(value), ($57.GetKpisResult value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$57.GetKpiTableStructureRequest, $57.GetKpiTableStructureResult>( 'GetKpiTableStructure', getKpiTableStructure_Pre, false, false, ($core.List<$core.int> value) => $57.GetKpiTableStructureRequest.fromBuffer(value), ($57.GetKpiTableStructureResult value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$57.UpdateKpiTableStructureRequest, $57.UpdateKpiTableStructureResult>( 'UpdateKpiTableStructure', updateKpiTableStructure_Pre, false, false, ($core.List<$core.int> value) => $57.UpdateKpiTableStructureRequest.fromBuffer(value), ($57.UpdateKpiTableStructureResult value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$57.GetKpiEntitiesRequest, $57.GetKpiEntitiesResult>( 'GetKpiEntities', getKpiEntities_Pre, false, false, ($core.List<$core.int> value) => $57.GetKpiEntitiesRequest.fromBuffer(value), ($57.GetKpiEntitiesResult value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$57.ClearKpiEntityRequest, $57.ClearKpiEntityResult>( 'ClearKpiEntity', clearKpiEntity_Pre, false, false, ($core.List<$core.int> value) => $57.ClearKpiEntityRequest.fromBuffer(value), ($57.ClearKpiEntityResult value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$57.CreateMVRequest, $57.CreateMVResult>( 'CreateMV', createMV_Pre, false, false, ($core.List<$core.int> value) => $57.CreateMVRequest.fromBuffer(value), ($57.CreateMVResult value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$57.DropMVRequest, $57.DropMVResult>( 'DropMV', dropMV_Pre, false, false, ($core.List<$core.int> value) => $57.DropMVRequest.fromBuffer(value), ($57.DropMVResult value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$57.PopulateMVRequest, $57.PopulateMVResult>( 'PopulateMV', populateMV_Pre, false, false, ($core.List<$core.int> value) => $57.PopulateMVRequest.fromBuffer(value), ($57.PopulateMVResult value) => value.writeToBuffer())); } $async.Future<$57.GetKpisResult> getKpis_Pre($grpc.ServiceCall $call, $async.Future<$57.GetKpisRequest> $request) async { return getKpis($call, await $request); } $async.Future<$57.GetKpiTableStructureResult> getKpiTableStructure_Pre($grpc.ServiceCall $call, $async.Future<$57.GetKpiTableStructureRequest> $request) async { return getKpiTableStructure($call, await $request); } $async.Future<$57.UpdateKpiTableStructureResult> updateKpiTableStructure_Pre($grpc.ServiceCall $call, $async.Future<$57.UpdateKpiTableStructureRequest> $request) async { return updateKpiTableStructure($call, await $request); } $async.Future<$57.GetKpiEntitiesResult> getKpiEntities_Pre($grpc.ServiceCall $call, $async.Future<$57.GetKpiEntitiesRequest> $request) async { return getKpiEntities($call, await $request); } $async.Future<$57.ClearKpiEntityResult> clearKpiEntity_Pre($grpc.ServiceCall $call, $async.Future<$57.ClearKpiEntityRequest> $request) async { return clearKpiEntity($call, await $request); } $async.Future<$57.CreateMVResult> createMV_Pre($grpc.ServiceCall $call, $async.Future<$57.CreateMVRequest> $request) async { return createMV($call, await $request); } $async.Future<$57.DropMVResult> dropMV_Pre($grpc.ServiceCall $call, $async.Future<$57.DropMVRequest> $request) async { return dropMV($call, await $request); } $async.Future<$57.PopulateMVResult> populateMV_Pre($grpc.ServiceCall $call, $async.Future<$57.PopulateMVRequest> $request) async { return populateMV($call, await $request); } $async.Future<$57.GetKpisResult> getKpis($grpc.ServiceCall call, $57.GetKpisRequest request); $async.Future<$57.GetKpiTableStructureResult> getKpiTableStructure($grpc.ServiceCall call, $57.GetKpiTableStructureRequest request); $async.Future<$57.UpdateKpiTableStructureResult> updateKpiTableStructure($grpc.ServiceCall call, $57.UpdateKpiTableStructureRequest request); $async.Future<$57.GetKpiEntitiesResult> getKpiEntities($grpc.ServiceCall call, $57.GetKpiEntitiesRequest request); $async.Future<$57.ClearKpiEntityResult> clearKpiEntity($grpc.ServiceCall call, $57.ClearKpiEntityRequest request); $async.Future<$57.CreateMVResult> createMV($grpc.ServiceCall call, $57.CreateMVRequest request); $async.Future<$57.DropMVResult> dropMV($grpc.ServiceCall call, $57.DropMVRequest request); $async.Future<$57.PopulateMVResult> populateMV($grpc.ServiceCall call, $57.PopulateMVRequest request); }