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