//
//  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 $51;

export 'accounts.pb.dart';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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