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

export 'partnerApp.pb.dart';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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