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

export 'partnerInput.pb.dart';

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

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

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

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

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

  $grpc.ResponseFuture<$45.PartnerAttachmentRemovedResponse> attachmentRemoved($45.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<$45.PartnerCreatedRequest, $45.PartnerCreatedResponse>(
        'Created',
        created_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $45.PartnerCreatedRequest.fromBuffer(value),
        ($45.PartnerCreatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$45.PartnerDeletedRequest, $45.PartnerDeletedResponse>(
        'Deleted',
        deleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $45.PartnerDeletedRequest.fromBuffer(value),
        ($45.PartnerDeletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$45.PartnerAttachmentAddedRequest, $45.PartnerAttachmentAddedResponse>(
        'AttachmentAdded',
        attachmentAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $45.PartnerAttachmentAddedRequest.fromBuffer(value),
        ($45.PartnerAttachmentAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$45.PartnerAttachmentRemovedRequest, $45.PartnerAttachmentRemovedResponse>(
        'AttachmentRemoved',
        attachmentRemoved_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $45.PartnerAttachmentRemovedRequest.fromBuffer(value),
        ($45.PartnerAttachmentRemovedResponse value) => value.writeToBuffer()));
  }

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

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

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

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

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