// This is a generated file - do not edit.
//
// Generated from claimQuery.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 'claimQuery.pb.dart' as $0;
import 'clickhouse.pb.dart' as $2;
import 'shared.pb.dart' as $1;

export 'claimQuery.pb.dart';

@$pb.GrpcServiceName('api.ClaimQuery')
class ClaimQueryClient 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 = [
    '',
  ];

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

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

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

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

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

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

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

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

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

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

    // method descriptors

  static final _$getByIds = $grpc.ClientMethod<$0.ClaimByIdQuery, $0.ClaimByIdResult>(
      '/api.ClaimQuery/GetByIds',
      ($0.ClaimByIdQuery value) => value.writeToBuffer(),
      $0.ClaimByIdResult.fromBuffer);
  static final _$find = $grpc.ClientMethod<$0.ClaimByFilterQuery, $0.ClaimByFilterResult>(
      '/api.ClaimQuery/Find',
      ($0.ClaimByFilterQuery value) => value.writeToBuffer(),
      $0.ClaimByFilterResult.fromBuffer);
  static final _$findMatchingFieldValues = $grpc.ClientMethod<$0.ClaimByMatchQuery, $0.ClaimByMatchResult>(
      '/api.ClaimQuery/FindMatchingFieldValues',
      ($0.ClaimByMatchQuery value) => value.writeToBuffer(),
      $0.ClaimByMatchResult.fromBuffer);
  static final _$findMatchingFieldElements = $grpc.ClientMethod<$1.ElementByMatchQuery, $1.ElementByMatchResult>(
      '/api.ClaimQuery/FindMatchingFieldElements',
      ($1.ElementByMatchQuery value) => value.writeToBuffer(),
      $1.ElementByMatchResult.fromBuffer);
  static final _$extract = $grpc.ClientMethod<$1.ExtractQuery, $1.ExtractResult>(
      '/api.ClaimQuery/Extract',
      ($1.ExtractQuery value) => value.writeToBuffer(),
      $1.ExtractResult.fromBuffer);
  static final _$getKPIData = $grpc.ClientMethod<$2.GetKPIDataQuery, $2.GetKPIDataResult>(
      '/api.ClaimQuery/GetKPIData',
      ($2.GetKPIDataQuery value) => value.writeToBuffer(),
      $2.GetKPIDataResult.fromBuffer);
  static final _$getRoom = $grpc.ClientMethod<$0.ClaimGetRoomQuery, $0.ClaimGetRoomResult>(
      '/api.ClaimQuery/GetRoom',
      ($0.ClaimGetRoomQuery value) => value.writeToBuffer(),
      $0.ClaimGetRoomResult.fromBuffer);
  static final _$countLines = $grpc.ClientMethod<$1.CountLinesQuery, $1.CountLinesResult>(
      '/api.ClaimQuery/CountLines',
      ($1.CountLinesQuery value) => value.writeToBuffer(),
      $1.CountLinesResult.fromBuffer);
  static final _$getAvailableContacts = $grpc.ClientMethod<$0.ClaimGetAvailableContactsQuery, $0.ClaimGetAvailableContactsResult>(
      '/api.ClaimQuery/GetAvailableContacts',
      ($0.ClaimGetAvailableContactsQuery value) => value.writeToBuffer(),
      $0.ClaimGetAvailableContactsResult.fromBuffer);
}

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

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

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

  $async.Future<$0.ClaimByIdResult> getByIds($grpc.ServiceCall call, $0.ClaimByIdQuery request);

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

  $async.Future<$0.ClaimByFilterResult> find($grpc.ServiceCall call, $0.ClaimByFilterQuery request);

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

  $async.Future<$0.ClaimByMatchResult> findMatchingFieldValues($grpc.ServiceCall call, $0.ClaimByMatchQuery request);

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

  $async.Future<$1.ElementByMatchResult> findMatchingFieldElements($grpc.ServiceCall call, $1.ElementByMatchQuery request);

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

  $async.Future<$1.ExtractResult> extract($grpc.ServiceCall call, $1.ExtractQuery request);

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

  $async.Future<$2.GetKPIDataResult> getKPIData($grpc.ServiceCall call, $2.GetKPIDataQuery request);

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

  $async.Future<$0.ClaimGetRoomResult> getRoom($grpc.ServiceCall call, $0.ClaimGetRoomQuery request);

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

  $async.Future<$1.CountLinesResult> countLines($grpc.ServiceCall call, $1.CountLinesQuery request);

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

  $async.Future<$0.ClaimGetAvailableContactsResult> getAvailableContacts($grpc.ServiceCall call, $0.ClaimGetAvailableContactsQuery request);

}
