//
//  Generated code. Do not modify.
//  source: accounts.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 'accounts.pb.dart' as $0;

export 'accounts.pb.dart';

@$pb.GrpcServiceName('api.Accounts')
class AccountsClient extends $grpc.Client {
  static final _$createAccount = $grpc.ClientMethod<$0.CreateAccountRequest, $0.CreateAccountResult>(
      '/api.Accounts/CreateAccount',
      ($0.CreateAccountRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $0.CreateAccountResult.fromBuffer(value));
  static final _$getAccount = $grpc.ClientMethod<$0.GetAccountRequest, $0.GetAccountResult>(
      '/api.Accounts/GetAccount',
      ($0.GetAccountRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $0.GetAccountResult.fromBuffer(value));
  static final _$listAccounts = $grpc.ClientMethod<$0.ListAccountsRequest, $0.ListAccountsResult>(
      '/api.Accounts/ListAccounts',
      ($0.ListAccountsRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $0.ListAccountsResult.fromBuffer(value));
  static final _$editAccount = $grpc.ClientMethod<$0.EditAccountRequest, $0.EditAccountResult>(
      '/api.Accounts/EditAccount',
      ($0.EditAccountRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $0.EditAccountResult.fromBuffer(value));
  static final _$deleteAccount = $grpc.ClientMethod<$0.DeleteAccountRequest, $0.DeleteAccountResult>(
      '/api.Accounts/DeleteAccount',
      ($0.DeleteAccountRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $0.DeleteAccountResult.fromBuffer(value));
  static final _$pushAccounts = $grpc.ClientMethod<$0.PushAccountsRequest, $0.PushAccountsResult>(
      '/api.Accounts/PushAccounts',
      ($0.PushAccountsRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $0.PushAccountsResult.fromBuffer(value));
  static final _$addExport = $grpc.ClientMethod<$0.AddExportRequest, $0.AddExportResult>(
      '/api.Accounts/AddExport',
      ($0.AddExportRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $0.AddExportResult.fromBuffer(value));
  static final _$addImport = $grpc.ClientMethod<$0.AddImportRequest, $0.AddImportResult>(
      '/api.Accounts/AddImport',
      ($0.AddImportRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $0.AddImportResult.fromBuffer(value));
  static final _$deleteExport = $grpc.ClientMethod<$0.DeleteExportRequest, $0.DeleteExportResult>(
      '/api.Accounts/DeleteExport',
      ($0.DeleteExportRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $0.DeleteExportResult.fromBuffer(value));
  static final _$deleteImport = $grpc.ClientMethod<$0.DeleteImportRequest, $0.DeleteImportResult>(
      '/api.Accounts/DeleteImport',
      ($0.DeleteImportRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $0.DeleteImportResult.fromBuffer(value));

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

  $grpc.ResponseFuture<$0.CreateAccountResult> createAccount($0.CreateAccountRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$createAccount, request, options: options);
  }

  $grpc.ResponseFuture<$0.GetAccountResult> getAccount($0.GetAccountRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$getAccount, request, options: options);
  }

  $grpc.ResponseFuture<$0.ListAccountsResult> listAccounts($0.ListAccountsRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$listAccounts, request, options: options);
  }

  $grpc.ResponseFuture<$0.EditAccountResult> editAccount($0.EditAccountRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$editAccount, request, options: options);
  }

  $grpc.ResponseFuture<$0.DeleteAccountResult> deleteAccount($0.DeleteAccountRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleteAccount, request, options: options);
  }

  $grpc.ResponseFuture<$0.PushAccountsResult> pushAccounts($0.PushAccountsRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$pushAccounts, request, options: options);
  }

  $grpc.ResponseFuture<$0.AddExportResult> addExport($0.AddExportRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$addExport, request, options: options);
  }

  $grpc.ResponseFuture<$0.AddImportResult> addImport($0.AddImportRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$addImport, request, options: options);
  }

  $grpc.ResponseFuture<$0.DeleteExportResult> deleteExport($0.DeleteExportRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleteExport, request, options: options);
  }

  $grpc.ResponseFuture<$0.DeleteImportResult> deleteImport($0.DeleteImportRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleteImport, request, options: options);
  }
}

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

  AccountsServiceBase() {
    $addMethod($grpc.ServiceMethod<$0.CreateAccountRequest, $0.CreateAccountResult>(
        'CreateAccount',
        createAccount_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.CreateAccountRequest.fromBuffer(value),
        ($0.CreateAccountResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.GetAccountRequest, $0.GetAccountResult>(
        'GetAccount',
        getAccount_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.GetAccountRequest.fromBuffer(value),
        ($0.GetAccountResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ListAccountsRequest, $0.ListAccountsResult>(
        'ListAccounts',
        listAccounts_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ListAccountsRequest.fromBuffer(value),
        ($0.ListAccountsResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.EditAccountRequest, $0.EditAccountResult>(
        'EditAccount',
        editAccount_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.EditAccountRequest.fromBuffer(value),
        ($0.EditAccountResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.DeleteAccountRequest, $0.DeleteAccountResult>(
        'DeleteAccount',
        deleteAccount_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.DeleteAccountRequest.fromBuffer(value),
        ($0.DeleteAccountResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.PushAccountsRequest, $0.PushAccountsResult>(
        'PushAccounts',
        pushAccounts_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.PushAccountsRequest.fromBuffer(value),
        ($0.PushAccountsResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AddExportRequest, $0.AddExportResult>(
        'AddExport',
        addExport_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AddExportRequest.fromBuffer(value),
        ($0.AddExportResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AddImportRequest, $0.AddImportResult>(
        'AddImport',
        addImport_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AddImportRequest.fromBuffer(value),
        ($0.AddImportResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.DeleteExportRequest, $0.DeleteExportResult>(
        'DeleteExport',
        deleteExport_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.DeleteExportRequest.fromBuffer(value),
        ($0.DeleteExportResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.DeleteImportRequest, $0.DeleteImportResult>(
        'DeleteImport',
        deleteImport_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.DeleteImportRequest.fromBuffer(value),
        ($0.DeleteImportResult value) => value.writeToBuffer()));
  }

  $async.Future<$0.CreateAccountResult> createAccount_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateAccountRequest> $request) async {
    return createAccount($call, await $request);
  }

  $async.Future<$0.GetAccountResult> getAccount_Pre($grpc.ServiceCall $call, $async.Future<$0.GetAccountRequest> $request) async {
    return getAccount($call, await $request);
  }

  $async.Future<$0.ListAccountsResult> listAccounts_Pre($grpc.ServiceCall $call, $async.Future<$0.ListAccountsRequest> $request) async {
    return listAccounts($call, await $request);
  }

  $async.Future<$0.EditAccountResult> editAccount_Pre($grpc.ServiceCall $call, $async.Future<$0.EditAccountRequest> $request) async {
    return editAccount($call, await $request);
  }

  $async.Future<$0.DeleteAccountResult> deleteAccount_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteAccountRequest> $request) async {
    return deleteAccount($call, await $request);
  }

  $async.Future<$0.PushAccountsResult> pushAccounts_Pre($grpc.ServiceCall $call, $async.Future<$0.PushAccountsRequest> $request) async {
    return pushAccounts($call, await $request);
  }

  $async.Future<$0.AddExportResult> addExport_Pre($grpc.ServiceCall $call, $async.Future<$0.AddExportRequest> $request) async {
    return addExport($call, await $request);
  }

  $async.Future<$0.AddImportResult> addImport_Pre($grpc.ServiceCall $call, $async.Future<$0.AddImportRequest> $request) async {
    return addImport($call, await $request);
  }

  $async.Future<$0.DeleteExportResult> deleteExport_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteExportRequest> $request) async {
    return deleteExport($call, await $request);
  }

  $async.Future<$0.DeleteImportResult> deleteImport_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteImportRequest> $request) async {
    return deleteImport($call, await $request);
  }

  $async.Future<$0.CreateAccountResult> createAccount($grpc.ServiceCall call, $0.CreateAccountRequest request);
  $async.Future<$0.GetAccountResult> getAccount($grpc.ServiceCall call, $0.GetAccountRequest request);
  $async.Future<$0.ListAccountsResult> listAccounts($grpc.ServiceCall call, $0.ListAccountsRequest request);
  $async.Future<$0.EditAccountResult> editAccount($grpc.ServiceCall call, $0.EditAccountRequest request);
  $async.Future<$0.DeleteAccountResult> deleteAccount($grpc.ServiceCall call, $0.DeleteAccountRequest request);
  $async.Future<$0.PushAccountsResult> pushAccounts($grpc.ServiceCall call, $0.PushAccountsRequest request);
  $async.Future<$0.AddExportResult> addExport($grpc.ServiceCall call, $0.AddExportRequest request);
  $async.Future<$0.AddImportResult> addImport($grpc.ServiceCall call, $0.AddImportRequest request);
  $async.Future<$0.DeleteExportResult> deleteExport($grpc.ServiceCall call, $0.DeleteExportRequest request);
  $async.Future<$0.DeleteImportResult> deleteImport($grpc.ServiceCall call, $0.DeleteImportRequest request);
}
