//
//  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 $46;
import 'clickhouse.pb.dart' as $31;
import 'shared.pb.dart' as $29;

export 'claimQuery.pb.dart';

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

  ClaimQueryClient($grpc.ClientChannel channel,
      {$grpc.CallOptions? options,
      $core.Iterable<$grpc.ClientInterceptor>? interceptors})
      : super(channel, options: options,
        interceptors: interceptors);

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

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

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

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

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

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

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

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

  $grpc.ResponseFuture<$46.ClaimGetAvailableContactsResult> getAvailableContacts($46.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<$46.ClaimByIdQuery, $46.ClaimByIdResult>(
        'GetByIds',
        getByIds_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $46.ClaimByIdQuery.fromBuffer(value),
        ($46.ClaimByIdResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$46.ClaimByFilterQuery, $46.ClaimByFilterResult>(
        'Find',
        find_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $46.ClaimByFilterQuery.fromBuffer(value),
        ($46.ClaimByFilterResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$46.ClaimByMatchQuery, $46.ClaimByMatchResult>(
        'FindMatchingFieldValues',
        findMatchingFieldValues_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $46.ClaimByMatchQuery.fromBuffer(value),
        ($46.ClaimByMatchResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$29.ElementByMatchQuery, $29.ElementByMatchResult>(
        'FindMatchingFieldElements',
        findMatchingFieldElements_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $29.ElementByMatchQuery.fromBuffer(value),
        ($29.ElementByMatchResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$29.ExtractQuery, $29.ExtractResult>(
        'Extract',
        extract_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $29.ExtractQuery.fromBuffer(value),
        ($29.ExtractResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$31.GetKPIDataQuery, $31.GetKPIDataResult>(
        'GetKPIData',
        getKPIData_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $31.GetKPIDataQuery.fromBuffer(value),
        ($31.GetKPIDataResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$46.ClaimGetRoomQuery, $46.ClaimGetRoomResult>(
        'GetRoom',
        getRoom_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $46.ClaimGetRoomQuery.fromBuffer(value),
        ($46.ClaimGetRoomResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$29.CountLinesQuery, $29.CountLinesResult>(
        'CountLines',
        countLines_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $29.CountLinesQuery.fromBuffer(value),
        ($29.CountLinesResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$46.ClaimGetAvailableContactsQuery, $46.ClaimGetAvailableContactsResult>(
        'GetAvailableContacts',
        getAvailableContacts_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $46.ClaimGetAvailableContactsQuery.fromBuffer(value),
        ($46.ClaimGetAvailableContactsResult value) => value.writeToBuffer()));
  }

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

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

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

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

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

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

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

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

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

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