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

export 'partnerApp.pb.dart';

@$pb.GrpcServiceName('api.PartnerAppService')
class PartnerAppServiceClient extends $grpc.Client {
  static final _$create = $grpc.ClientMethod<$44.CreatePartnerAppRequest, $44.CreatePartnerAppResult>(
      '/api.PartnerAppService/Create',
      ($44.CreatePartnerAppRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $44.CreatePartnerAppResult.fromBuffer(value));
  static final _$update = $grpc.ClientMethod<$44.UpdatePartnerAppRequest, $44.UpdatePartnerAppResult>(
      '/api.PartnerAppService/Update',
      ($44.UpdatePartnerAppRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $44.UpdatePartnerAppResult.fromBuffer(value));
  static final _$delete = $grpc.ClientMethod<$44.DeletePartnerAppRequest, $44.DeletePartnerAppResult>(
      '/api.PartnerAppService/Delete',
      ($44.DeletePartnerAppRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $44.DeletePartnerAppResult.fromBuffer(value));
  static final _$get = $grpc.ClientMethod<$44.GetPartnerAppRequest, $44.GetPartnerAppResult>(
      '/api.PartnerAppService/Get',
      ($44.GetPartnerAppRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $44.GetPartnerAppResult.fromBuffer(value));
  static final _$list = $grpc.ClientMethod<$44.ListPartnerAppsRequest, $44.ListPartnerAppsResult>(
      '/api.PartnerAppService/List',
      ($44.ListPartnerAppsRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $44.ListPartnerAppsResult.fromBuffer(value));
  static final _$deletePartnerAppInDB = $grpc.ClientMethod<$44.DeletePartnerAppInDBRequest, $44.DeletePartnerAppInDBResult>(
      '/api.PartnerAppService/DeletePartnerAppInDB',
      ($44.DeletePartnerAppInDBRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $44.DeletePartnerAppInDBResult.fromBuffer(value));
  static final _$renew = $grpc.ClientMethod<$44.RenewPartnerAppRequest, $44.RenewPartnerAppResult>(
      '/api.PartnerAppService/Renew',
      ($44.RenewPartnerAppRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $44.RenewPartnerAppResult.fromBuffer(value));

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

  $grpc.ResponseFuture<$44.CreatePartnerAppResult> create($44.CreatePartnerAppRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$create, request, options: options);
  }

  $grpc.ResponseFuture<$44.UpdatePartnerAppResult> update($44.UpdatePartnerAppRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$update, request, options: options);
  }

  $grpc.ResponseFuture<$44.DeletePartnerAppResult> delete($44.DeletePartnerAppRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$delete, request, options: options);
  }

  $grpc.ResponseFuture<$44.GetPartnerAppResult> get($44.GetPartnerAppRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$get, request, options: options);
  }

  $grpc.ResponseFuture<$44.ListPartnerAppsResult> list($44.ListPartnerAppsRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$list, request, options: options);
  }

  $grpc.ResponseFuture<$44.DeletePartnerAppInDBResult> deletePartnerAppInDB($44.DeletePartnerAppInDBRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deletePartnerAppInDB, request, options: options);
  }

  $grpc.ResponseFuture<$44.RenewPartnerAppResult> renew($44.RenewPartnerAppRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$renew, request, options: options);
  }
}

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

  PartnerAppServiceBase() {
    $addMethod($grpc.ServiceMethod<$44.CreatePartnerAppRequest, $44.CreatePartnerAppResult>(
        'Create',
        create_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $44.CreatePartnerAppRequest.fromBuffer(value),
        ($44.CreatePartnerAppResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$44.UpdatePartnerAppRequest, $44.UpdatePartnerAppResult>(
        'Update',
        update_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $44.UpdatePartnerAppRequest.fromBuffer(value),
        ($44.UpdatePartnerAppResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$44.DeletePartnerAppRequest, $44.DeletePartnerAppResult>(
        'Delete',
        delete_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $44.DeletePartnerAppRequest.fromBuffer(value),
        ($44.DeletePartnerAppResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$44.GetPartnerAppRequest, $44.GetPartnerAppResult>(
        'Get',
        get_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $44.GetPartnerAppRequest.fromBuffer(value),
        ($44.GetPartnerAppResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$44.ListPartnerAppsRequest, $44.ListPartnerAppsResult>(
        'List',
        list_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $44.ListPartnerAppsRequest.fromBuffer(value),
        ($44.ListPartnerAppsResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$44.DeletePartnerAppInDBRequest, $44.DeletePartnerAppInDBResult>(
        'DeletePartnerAppInDB',
        deletePartnerAppInDB_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $44.DeletePartnerAppInDBRequest.fromBuffer(value),
        ($44.DeletePartnerAppInDBResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$44.RenewPartnerAppRequest, $44.RenewPartnerAppResult>(
        'Renew',
        renew_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $44.RenewPartnerAppRequest.fromBuffer(value),
        ($44.RenewPartnerAppResult value) => value.writeToBuffer()));
  }

  $async.Future<$44.CreatePartnerAppResult> create_Pre($grpc.ServiceCall $call, $async.Future<$44.CreatePartnerAppRequest> $request) async {
    return create($call, await $request);
  }

  $async.Future<$44.UpdatePartnerAppResult> update_Pre($grpc.ServiceCall $call, $async.Future<$44.UpdatePartnerAppRequest> $request) async {
    return update($call, await $request);
  }

  $async.Future<$44.DeletePartnerAppResult> delete_Pre($grpc.ServiceCall $call, $async.Future<$44.DeletePartnerAppRequest> $request) async {
    return delete($call, await $request);
  }

  $async.Future<$44.GetPartnerAppResult> get_Pre($grpc.ServiceCall $call, $async.Future<$44.GetPartnerAppRequest> $request) async {
    return get($call, await $request);
  }

  $async.Future<$44.ListPartnerAppsResult> list_Pre($grpc.ServiceCall $call, $async.Future<$44.ListPartnerAppsRequest> $request) async {
    return list($call, await $request);
  }

  $async.Future<$44.DeletePartnerAppInDBResult> deletePartnerAppInDB_Pre($grpc.ServiceCall $call, $async.Future<$44.DeletePartnerAppInDBRequest> $request) async {
    return deletePartnerAppInDB($call, await $request);
  }

  $async.Future<$44.RenewPartnerAppResult> renew_Pre($grpc.ServiceCall $call, $async.Future<$44.RenewPartnerAppRequest> $request) async {
    return renew($call, await $request);
  }

  $async.Future<$44.CreatePartnerAppResult> create($grpc.ServiceCall call, $44.CreatePartnerAppRequest request);
  $async.Future<$44.UpdatePartnerAppResult> update($grpc.ServiceCall call, $44.UpdatePartnerAppRequest request);
  $async.Future<$44.DeletePartnerAppResult> delete($grpc.ServiceCall call, $44.DeletePartnerAppRequest request);
  $async.Future<$44.GetPartnerAppResult> get($grpc.ServiceCall call, $44.GetPartnerAppRequest request);
  $async.Future<$44.ListPartnerAppsResult> list($grpc.ServiceCall call, $44.ListPartnerAppsRequest request);
  $async.Future<$44.DeletePartnerAppInDBResult> deletePartnerAppInDB($grpc.ServiceCall call, $44.DeletePartnerAppInDBRequest request);
  $async.Future<$44.RenewPartnerAppResult> renew($grpc.ServiceCall call, $44.RenewPartnerAppRequest request);
}
