//
//  Generated code. Do not modify.
//  source: claimQuery.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 'claimQuery.pb.dart' as $12;
import 'clickhouse.pb.dart' as $13;
import 'shared.pb.dart' as $3;

export 'claimQuery.pb.dart';

@$pb.GrpcServiceName('api.ClaimQuery')
class ClaimQueryClient extends $grpc.Client {
  static final _$getByIds = $grpc.ClientMethod<$12.ClaimByIdQuery, $12.ClaimByIdResult>(
      '/api.ClaimQuery/GetByIds',
      ($12.ClaimByIdQuery value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.ClaimByIdResult.fromBuffer(value));
  static final _$find = $grpc.ClientMethod<$12.ClaimByFilterQuery, $12.ClaimByFilterResult>(
      '/api.ClaimQuery/Find',
      ($12.ClaimByFilterQuery value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.ClaimByFilterResult.fromBuffer(value));
  static final _$findMatchingFieldValues = $grpc.ClientMethod<$12.ClaimByMatchQuery, $12.ClaimByMatchResult>(
      '/api.ClaimQuery/FindMatchingFieldValues',
      ($12.ClaimByMatchQuery value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.ClaimByMatchResult.fromBuffer(value));
  static final _$findMatchingFieldElements = $grpc.ClientMethod<$3.ElementByMatchQuery, $3.ElementByMatchResult>(
      '/api.ClaimQuery/FindMatchingFieldElements',
      ($3.ElementByMatchQuery value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $3.ElementByMatchResult.fromBuffer(value));
  static final _$extract = $grpc.ClientMethod<$3.ExtractQuery, $3.ExtractResult>(
      '/api.ClaimQuery/Extract',
      ($3.ExtractQuery value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $3.ExtractResult.fromBuffer(value));
  static final _$getKPIData = $grpc.ClientMethod<$13.GetKPIDataQuery, $13.GetKPIDataResult>(
      '/api.ClaimQuery/GetKPIData',
      ($13.GetKPIDataQuery value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $13.GetKPIDataResult.fromBuffer(value));
  static final _$getRoom = $grpc.ClientMethod<$12.ClaimGetRoomQuery, $12.ClaimGetRoomResult>(
      '/api.ClaimQuery/GetRoom',
      ($12.ClaimGetRoomQuery value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.ClaimGetRoomResult.fromBuffer(value));
  static final _$countLines = $grpc.ClientMethod<$3.CountLinesQuery, $3.CountLinesResult>(
      '/api.ClaimQuery/CountLines',
      ($3.CountLinesQuery value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $3.CountLinesResult.fromBuffer(value));
  static final _$getAvailableContacts = $grpc.ClientMethod<$12.ClaimGetAvailableContactsQuery, $12.ClaimGetAvailableContactsResult>(
      '/api.ClaimQuery/GetAvailableContacts',
      ($12.ClaimGetAvailableContactsQuery value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.ClaimGetAvailableContactsResult.fromBuffer(value));

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

  $grpc.ResponseFuture<$12.ClaimByIdResult> getByIds($12.ClaimByIdQuery request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$getByIds, request, options: options);
  }

  $grpc.ResponseFuture<$12.ClaimByFilterResult> find($12.ClaimByFilterQuery request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$find, request, options: options);
  }

  $grpc.ResponseFuture<$12.ClaimByMatchResult> findMatchingFieldValues($12.ClaimByMatchQuery request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$findMatchingFieldValues, request, options: options);
  }

  $grpc.ResponseFuture<$3.ElementByMatchResult> findMatchingFieldElements($3.ElementByMatchQuery request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$findMatchingFieldElements, request, options: options);
  }

  $grpc.ResponseFuture<$3.ExtractResult> extract($3.ExtractQuery request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$extract, request, options: options);
  }

  $grpc.ResponseFuture<$13.GetKPIDataResult> getKPIData($13.GetKPIDataQuery request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$getKPIData, request, options: options);
  }

  $grpc.ResponseFuture<$12.ClaimGetRoomResult> getRoom($12.ClaimGetRoomQuery request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$getRoom, request, options: options);
  }

  $grpc.ResponseFuture<$3.CountLinesResult> countLines($3.CountLinesQuery request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$countLines, request, options: options);
  }

  $grpc.ResponseFuture<$12.ClaimGetAvailableContactsResult> getAvailableContacts($12.ClaimGetAvailableContactsQuery request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$getAvailableContacts, request, options: options);
  }
}

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

  ClaimQueryServiceBase() {
    $addMethod($grpc.ServiceMethod<$12.ClaimByIdQuery, $12.ClaimByIdResult>(
        'GetByIds',
        getByIds_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.ClaimByIdQuery.fromBuffer(value),
        ($12.ClaimByIdResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.ClaimByFilterQuery, $12.ClaimByFilterResult>(
        'Find',
        find_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.ClaimByFilterQuery.fromBuffer(value),
        ($12.ClaimByFilterResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.ClaimByMatchQuery, $12.ClaimByMatchResult>(
        'FindMatchingFieldValues',
        findMatchingFieldValues_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.ClaimByMatchQuery.fromBuffer(value),
        ($12.ClaimByMatchResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$3.ElementByMatchQuery, $3.ElementByMatchResult>(
        'FindMatchingFieldElements',
        findMatchingFieldElements_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $3.ElementByMatchQuery.fromBuffer(value),
        ($3.ElementByMatchResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$3.ExtractQuery, $3.ExtractResult>(
        'Extract',
        extract_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $3.ExtractQuery.fromBuffer(value),
        ($3.ExtractResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$13.GetKPIDataQuery, $13.GetKPIDataResult>(
        'GetKPIData',
        getKPIData_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $13.GetKPIDataQuery.fromBuffer(value),
        ($13.GetKPIDataResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.ClaimGetRoomQuery, $12.ClaimGetRoomResult>(
        'GetRoom',
        getRoom_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.ClaimGetRoomQuery.fromBuffer(value),
        ($12.ClaimGetRoomResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$3.CountLinesQuery, $3.CountLinesResult>(
        'CountLines',
        countLines_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $3.CountLinesQuery.fromBuffer(value),
        ($3.CountLinesResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.ClaimGetAvailableContactsQuery, $12.ClaimGetAvailableContactsResult>(
        'GetAvailableContacts',
        getAvailableContacts_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.ClaimGetAvailableContactsQuery.fromBuffer(value),
        ($12.ClaimGetAvailableContactsResult value) => value.writeToBuffer()));
  }

  $async.Future<$12.ClaimByIdResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$12.ClaimByIdQuery> $request) async {
    return getByIds($call, await $request);
  }

  $async.Future<$12.ClaimByFilterResult> find_Pre($grpc.ServiceCall $call, $async.Future<$12.ClaimByFilterQuery> $request) async {
    return find($call, await $request);
  }

  $async.Future<$12.ClaimByMatchResult> findMatchingFieldValues_Pre($grpc.ServiceCall $call, $async.Future<$12.ClaimByMatchQuery> $request) async {
    return findMatchingFieldValues($call, await $request);
  }

  $async.Future<$3.ElementByMatchResult> findMatchingFieldElements_Pre($grpc.ServiceCall $call, $async.Future<$3.ElementByMatchQuery> $request) async {
    return findMatchingFieldElements($call, await $request);
  }

  $async.Future<$3.ExtractResult> extract_Pre($grpc.ServiceCall $call, $async.Future<$3.ExtractQuery> $request) async {
    return extract($call, await $request);
  }

  $async.Future<$13.GetKPIDataResult> getKPIData_Pre($grpc.ServiceCall $call, $async.Future<$13.GetKPIDataQuery> $request) async {
    return getKPIData($call, await $request);
  }

  $async.Future<$12.ClaimGetRoomResult> getRoom_Pre($grpc.ServiceCall $call, $async.Future<$12.ClaimGetRoomQuery> $request) async {
    return getRoom($call, await $request);
  }

  $async.Future<$3.CountLinesResult> countLines_Pre($grpc.ServiceCall $call, $async.Future<$3.CountLinesQuery> $request) async {
    return countLines($call, await $request);
  }

  $async.Future<$12.ClaimGetAvailableContactsResult> getAvailableContacts_Pre($grpc.ServiceCall $call, $async.Future<$12.ClaimGetAvailableContactsQuery> $request) async {
    return getAvailableContacts($call, await $request);
  }

  $async.Future<$12.ClaimByIdResult> getByIds($grpc.ServiceCall call, $12.ClaimByIdQuery request);
  $async.Future<$12.ClaimByFilterResult> find($grpc.ServiceCall call, $12.ClaimByFilterQuery request);
  $async.Future<$12.ClaimByMatchResult> findMatchingFieldValues($grpc.ServiceCall call, $12.ClaimByMatchQuery request);
  $async.Future<$3.ElementByMatchResult> findMatchingFieldElements($grpc.ServiceCall call, $3.ElementByMatchQuery request);
  $async.Future<$3.ExtractResult> extract($grpc.ServiceCall call, $3.ExtractQuery request);
  $async.Future<$13.GetKPIDataResult> getKPIData($grpc.ServiceCall call, $13.GetKPIDataQuery request);
  $async.Future<$12.ClaimGetRoomResult> getRoom($grpc.ServiceCall call, $12.ClaimGetRoomQuery request);
  $async.Future<$3.CountLinesResult> countLines($grpc.ServiceCall call, $3.CountLinesQuery request);
  $async.Future<$12.ClaimGetAvailableContactsResult> getAvailableContacts($grpc.ServiceCall call, $12.ClaimGetAvailableContactsQuery request);
}
