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

export 'partnerInput.pb.dart';

@$pb.GrpcServiceName('api.PartnerInputAPI')
class PartnerInputAPIClient extends $grpc.Client {
  static final _$created = $grpc.ClientMethod<$43.PartnerCreatedRequest, $43.PartnerCreatedResponse>(
      '/api.PartnerInputAPI/Created',
      ($43.PartnerCreatedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $43.PartnerCreatedResponse.fromBuffer(value));
  static final _$deleted = $grpc.ClientMethod<$43.PartnerDeletedRequest, $43.PartnerDeletedResponse>(
      '/api.PartnerInputAPI/Deleted',
      ($43.PartnerDeletedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $43.PartnerDeletedResponse.fromBuffer(value));
  static final _$attachmentAdded = $grpc.ClientMethod<$43.PartnerAttachmentAddedRequest, $43.PartnerAttachmentAddedResponse>(
      '/api.PartnerInputAPI/AttachmentAdded',
      ($43.PartnerAttachmentAddedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $43.PartnerAttachmentAddedResponse.fromBuffer(value));
  static final _$attachmentRemoved = $grpc.ClientMethod<$43.PartnerAttachmentRemovedRequest, $43.PartnerAttachmentRemovedResponse>(
      '/api.PartnerInputAPI/AttachmentRemoved',
      ($43.PartnerAttachmentRemovedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $43.PartnerAttachmentRemovedResponse.fromBuffer(value));

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

  $grpc.ResponseFuture<$43.PartnerCreatedResponse> created($43.PartnerCreatedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$created, request, options: options);
  }

  $grpc.ResponseFuture<$43.PartnerDeletedResponse> deleted($43.PartnerDeletedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleted, request, options: options);
  }

  $grpc.ResponseFuture<$43.PartnerAttachmentAddedResponse> attachmentAdded($43.PartnerAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$attachmentAdded, request, options: options);
  }

  $grpc.ResponseFuture<$43.PartnerAttachmentRemovedResponse> attachmentRemoved($43.PartnerAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$attachmentRemoved, request, options: options);
  }
}

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

  PartnerInputAPIServiceBase() {
    $addMethod($grpc.ServiceMethod<$43.PartnerCreatedRequest, $43.PartnerCreatedResponse>(
        'Created',
        created_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $43.PartnerCreatedRequest.fromBuffer(value),
        ($43.PartnerCreatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$43.PartnerDeletedRequest, $43.PartnerDeletedResponse>(
        'Deleted',
        deleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $43.PartnerDeletedRequest.fromBuffer(value),
        ($43.PartnerDeletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$43.PartnerAttachmentAddedRequest, $43.PartnerAttachmentAddedResponse>(
        'AttachmentAdded',
        attachmentAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $43.PartnerAttachmentAddedRequest.fromBuffer(value),
        ($43.PartnerAttachmentAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$43.PartnerAttachmentRemovedRequest, $43.PartnerAttachmentRemovedResponse>(
        'AttachmentRemoved',
        attachmentRemoved_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $43.PartnerAttachmentRemovedRequest.fromBuffer(value),
        ($43.PartnerAttachmentRemovedResponse value) => value.writeToBuffer()));
  }

  $async.Future<$43.PartnerCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$43.PartnerCreatedRequest> $request) async {
    return created($call, await $request);
  }

  $async.Future<$43.PartnerDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$43.PartnerDeletedRequest> $request) async {
    return deleted($call, await $request);
  }

  $async.Future<$43.PartnerAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$43.PartnerAttachmentAddedRequest> $request) async {
    return attachmentAdded($call, await $request);
  }

  $async.Future<$43.PartnerAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$43.PartnerAttachmentRemovedRequest> $request) async {
    return attachmentRemoved($call, await $request);
  }

  $async.Future<$43.PartnerCreatedResponse> created($grpc.ServiceCall call, $43.PartnerCreatedRequest request);
  $async.Future<$43.PartnerDeletedResponse> deleted($grpc.ServiceCall call, $43.PartnerDeletedRequest request);
  $async.Future<$43.PartnerAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $43.PartnerAttachmentAddedRequest request);
  $async.Future<$43.PartnerAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $43.PartnerAttachmentRemovedRequest request);
}
