// // 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 $47; export 'partnerInput.pb.dart'; @$pb.GrpcServiceName('api.PartnerInputAPI') class PartnerInputAPIClient extends $grpc.Client { static final _$created = $grpc.ClientMethod<$47.PartnerCreatedRequest, $47.PartnerCreatedResponse>( '/api.PartnerInputAPI/Created', ($47.PartnerCreatedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $47.PartnerCreatedResponse.fromBuffer(value)); static final _$deleted = $grpc.ClientMethod<$47.PartnerDeletedRequest, $47.PartnerDeletedResponse>( '/api.PartnerInputAPI/Deleted', ($47.PartnerDeletedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $47.PartnerDeletedResponse.fromBuffer(value)); static final _$attachmentAdded = $grpc.ClientMethod<$47.PartnerAttachmentAddedRequest, $47.PartnerAttachmentAddedResponse>( '/api.PartnerInputAPI/AttachmentAdded', ($47.PartnerAttachmentAddedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $47.PartnerAttachmentAddedResponse.fromBuffer(value)); static final _$attachmentRemoved = $grpc.ClientMethod<$47.PartnerAttachmentRemovedRequest, $47.PartnerAttachmentRemovedResponse>( '/api.PartnerInputAPI/AttachmentRemoved', ($47.PartnerAttachmentRemovedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $47.PartnerAttachmentRemovedResponse.fromBuffer(value)); PartnerInputAPIClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, $core.Iterable<$grpc.ClientInterceptor>? interceptors}) : super(channel, options: options, interceptors: interceptors); $grpc.ResponseFuture<$47.PartnerCreatedResponse> created($47.PartnerCreatedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$created, request, options: options); } $grpc.ResponseFuture<$47.PartnerDeletedResponse> deleted($47.PartnerDeletedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleted, request, options: options); } $grpc.ResponseFuture<$47.PartnerAttachmentAddedResponse> attachmentAdded($47.PartnerAttachmentAddedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$attachmentAdded, request, options: options); } $grpc.ResponseFuture<$47.PartnerAttachmentRemovedResponse> attachmentRemoved($47.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<$47.PartnerCreatedRequest, $47.PartnerCreatedResponse>( 'Created', created_Pre, false, false, ($core.List<$core.int> value) => $47.PartnerCreatedRequest.fromBuffer(value), ($47.PartnerCreatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$47.PartnerDeletedRequest, $47.PartnerDeletedResponse>( 'Deleted', deleted_Pre, false, false, ($core.List<$core.int> value) => $47.PartnerDeletedRequest.fromBuffer(value), ($47.PartnerDeletedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$47.PartnerAttachmentAddedRequest, $47.PartnerAttachmentAddedResponse>( 'AttachmentAdded', attachmentAdded_Pre, false, false, ($core.List<$core.int> value) => $47.PartnerAttachmentAddedRequest.fromBuffer(value), ($47.PartnerAttachmentAddedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$47.PartnerAttachmentRemovedRequest, $47.PartnerAttachmentRemovedResponse>( 'AttachmentRemoved', attachmentRemoved_Pre, false, false, ($core.List<$core.int> value) => $47.PartnerAttachmentRemovedRequest.fromBuffer(value), ($47.PartnerAttachmentRemovedResponse value) => value.writeToBuffer())); } $async.Future<$47.PartnerCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$47.PartnerCreatedRequest> $request) async { return created($call, await $request); } $async.Future<$47.PartnerDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$47.PartnerDeletedRequest> $request) async { return deleted($call, await $request); } $async.Future<$47.PartnerAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$47.PartnerAttachmentAddedRequest> $request) async { return attachmentAdded($call, await $request); } $async.Future<$47.PartnerAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$47.PartnerAttachmentRemovedRequest> $request) async { return attachmentRemoved($call, await $request); } $async.Future<$47.PartnerCreatedResponse> created($grpc.ServiceCall call, $47.PartnerCreatedRequest request); $async.Future<$47.PartnerDeletedResponse> deleted($grpc.ServiceCall call, $47.PartnerDeletedRequest request); $async.Future<$47.PartnerAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $47.PartnerAttachmentAddedRequest request); $async.Future<$47.PartnerAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $47.PartnerAttachmentRemovedRequest request); }