// This is a generated file - do not edit.
//
// Generated from kpi.proto.

// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

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 $0;

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 = [
    '',
  ];

  KpiServiceClient(super.channel, {super.options, super.interceptors});

  $grpc.ResponseFuture<$0.GetKpisResult> getKpis($0.GetKpisRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$getKpis, request, options: options);
  }

  $grpc.ResponseFuture<$0.GetKpiTableStructureResult> getKpiTableStructure($0.GetKpiTableStructureRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$getKpiTableStructure, request, options: options);
  }

  $grpc.ResponseFuture<$0.UpdateKpiTableStructureResult> updateKpiTableStructure($0.UpdateKpiTableStructureRequest request, {$grpc.CallOptions? options,}) {
    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);
  }

  $grpc.ResponseFuture<$0.ClearKpiEntityResult> clearKpiEntity($0.ClearKpiEntityRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$clearKpiEntity, request, options: options);
  }

  $grpc.ResponseFuture<$0.CreateMVResult> createMV($0.CreateMVRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$createMV, request, options: options);
  }

  $grpc.ResponseFuture<$0.DropMVResult> dropMV($0.DropMVRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$dropMV, request, options: options);
  }

  $grpc.ResponseFuture<$0.PopulateMVResult> populateMV($0.PopulateMVRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$populateMV, request, options: options);
  }

    // method descriptors

  static final _$getKpis = $grpc.ClientMethod<$0.GetKpisRequest, $0.GetKpisResult>(
      '/api.KpiService/GetKpis',
      ($0.GetKpisRequest value) => value.writeToBuffer(),
      $0.GetKpisResult.fromBuffer);
  static final _$getKpiTableStructure = $grpc.ClientMethod<$0.GetKpiTableStructureRequest, $0.GetKpiTableStructureResult>(
      '/api.KpiService/GetKpiTableStructure',
      ($0.GetKpiTableStructureRequest value) => value.writeToBuffer(),
      $0.GetKpiTableStructureResult.fromBuffer);
  static final _$updateKpiTableStructure = $grpc.ClientMethod<$0.UpdateKpiTableStructureRequest, $0.UpdateKpiTableStructureResult>(
      '/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(),
      $0.GetKpiEntitiesResult.fromBuffer);
  static final _$clearKpiEntity = $grpc.ClientMethod<$0.ClearKpiEntityRequest, $0.ClearKpiEntityResult>(
      '/api.KpiService/ClearKpiEntity',
      ($0.ClearKpiEntityRequest value) => value.writeToBuffer(),
      $0.ClearKpiEntityResult.fromBuffer);
  static final _$createMV = $grpc.ClientMethod<$0.CreateMVRequest, $0.CreateMVResult>(
      '/api.KpiService/CreateMV',
      ($0.CreateMVRequest value) => value.writeToBuffer(),
      $0.CreateMVResult.fromBuffer);
  static final _$dropMV = $grpc.ClientMethod<$0.DropMVRequest, $0.DropMVResult>(
      '/api.KpiService/DropMV',
      ($0.DropMVRequest value) => value.writeToBuffer(),
      $0.DropMVResult.fromBuffer);
  static final _$populateMV = $grpc.ClientMethod<$0.PopulateMVRequest, $0.PopulateMVResult>(
      '/api.KpiService/PopulateMV',
      ($0.PopulateMVRequest value) => value.writeToBuffer(),
      $0.PopulateMVResult.fromBuffer);
}

@$pb.GrpcServiceName('api.KpiService')
abstract class KpiServiceBase extends $grpc.Service {
  $core.String get $name => 'api.KpiService';

  KpiServiceBase() {
    $addMethod($grpc.ServiceMethod<$0.GetKpisRequest, $0.GetKpisResult>(
        'GetKpis',
        getKpis_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.GetKpisRequest.fromBuffer(value),
        ($0.GetKpisResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.GetKpiTableStructureRequest, $0.GetKpiTableStructureResult>(
        'GetKpiTableStructure',
        getKpiTableStructure_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.GetKpiTableStructureRequest.fromBuffer(value),
        ($0.GetKpiTableStructureResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.UpdateKpiTableStructureRequest, $0.UpdateKpiTableStructureResult>(
        'UpdateKpiTableStructure',
        updateKpiTableStructure_Pre,
        false,
        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,
        false,
        false,
        ($core.List<$core.int> value) => $0.GetKpiEntitiesRequest.fromBuffer(value),
        ($0.GetKpiEntitiesResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ClearKpiEntityRequest, $0.ClearKpiEntityResult>(
        'ClearKpiEntity',
        clearKpiEntity_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ClearKpiEntityRequest.fromBuffer(value),
        ($0.ClearKpiEntityResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.CreateMVRequest, $0.CreateMVResult>(
        'CreateMV',
        createMV_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.CreateMVRequest.fromBuffer(value),
        ($0.CreateMVResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.DropMVRequest, $0.DropMVResult>(
        'DropMV',
        dropMV_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.DropMVRequest.fromBuffer(value),
        ($0.DropMVResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.PopulateMVRequest, $0.PopulateMVResult>(
        'PopulateMV',
        populateMV_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.PopulateMVRequest.fromBuffer(value),
        ($0.PopulateMVResult value) => value.writeToBuffer()));
  }

  $async.Future<$0.GetKpisResult> getKpis_Pre($grpc.ServiceCall $call, $async.Future<$0.GetKpisRequest> $request) async {
    return getKpis($call, await $request);
  }

  $async.Future<$0.GetKpisResult> getKpis($grpc.ServiceCall call, $0.GetKpisRequest request);

  $async.Future<$0.GetKpiTableStructureResult> getKpiTableStructure_Pre($grpc.ServiceCall $call, $async.Future<$0.GetKpiTableStructureRequest> $request) async {
    return getKpiTableStructure($call, await $request);
  }

  $async.Future<$0.GetKpiTableStructureResult> getKpiTableStructure($grpc.ServiceCall call, $0.GetKpiTableStructureRequest request);

  $async.Future<$0.UpdateKpiTableStructureResult> updateKpiTableStructure_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateKpiTableStructureRequest> $request) async {
    return updateKpiTableStructure($call, await $request);
  }

  $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);
  }

  $async.Future<$0.GetKpiEntitiesResult> getKpiEntities($grpc.ServiceCall call, $0.GetKpiEntitiesRequest request);

  $async.Future<$0.ClearKpiEntityResult> clearKpiEntity_Pre($grpc.ServiceCall $call, $async.Future<$0.ClearKpiEntityRequest> $request) async {
    return clearKpiEntity($call, await $request);
  }

  $async.Future<$0.ClearKpiEntityResult> clearKpiEntity($grpc.ServiceCall call, $0.ClearKpiEntityRequest request);

  $async.Future<$0.CreateMVResult> createMV_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateMVRequest> $request) async {
    return createMV($call, await $request);
  }

  $async.Future<$0.CreateMVResult> createMV($grpc.ServiceCall call, $0.CreateMVRequest request);

  $async.Future<$0.DropMVResult> dropMV_Pre($grpc.ServiceCall $call, $async.Future<$0.DropMVRequest> $request) async {
    return dropMV($call, await $request);
  }

  $async.Future<$0.DropMVResult> dropMV($grpc.ServiceCall call, $0.DropMVRequest request);

  $async.Future<$0.PopulateMVResult> populateMV_Pre($grpc.ServiceCall $call, $async.Future<$0.PopulateMVRequest> $request) async {
    return populateMV($call, await $request);
  }

  $async.Future<$0.PopulateMVResult> populateMV($grpc.ServiceCall call, $0.PopulateMVRequest request);

}
