// // Generated code. Do not modify. // source: handlingunitInput.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 'handlingunitInput.pb.dart' as $50; export 'handlingunitInput.pb.dart'; @$pb.GrpcServiceName('api.HandlingunitInputAPI') class HandlingunitInputAPIClient extends $grpc.Client { static final _$goodsPrepared = $grpc.ClientMethod<$50.HandlingunitGoodsPreparedRequest, $50.HandlingunitGoodsPreparedResponse>( '/api.HandlingunitInputAPI/GoodsPrepared', ($50.HandlingunitGoodsPreparedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitGoodsPreparedResponse.fromBuffer(value)); static final _$goodsReceived = $grpc.ClientMethod<$50.HandlingunitGoodsReceivedRequest, $50.HandlingunitGoodsReceivedResponse>( '/api.HandlingunitInputAPI/GoodsReceived', ($50.HandlingunitGoodsReceivedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitGoodsReceivedResponse.fromBuffer(value)); static final _$hUsAdded = $grpc.ClientMethod<$50.HandlingunitHUsAddedRequest, $50.HandlingunitHUsAddedResponse>( '/api.HandlingunitInputAPI/HUsAdded', ($50.HandlingunitHUsAddedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitHUsAddedResponse.fromBuffer(value)); static final _$trackingUpdated = $grpc.ClientMethod<$50.HandlingunitTrackingUpdatedRequest, $50.HandlingunitTrackingUpdatedResponse>( '/api.HandlingunitInputAPI/TrackingUpdated', ($50.HandlingunitTrackingUpdatedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitTrackingUpdatedResponse.fromBuffer(value)); static final _$trackingETAUpdated = $grpc.ClientMethod<$50.HandlingunitTrackingETAUpdatedRequest, $50.HandlingunitTrackingETAUpdatedResponse>( '/api.HandlingunitInputAPI/TrackingETAUpdated', ($50.HandlingunitTrackingETAUpdatedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitTrackingETAUpdatedResponse.fromBuffer(value)); static final _$eTAUpdated = $grpc.ClientMethod<$50.HandlingunitETAUpdatedRequest, $50.HandlingunitETAUpdatedResponse>( '/api.HandlingunitInputAPI/ETAUpdated', ($50.HandlingunitETAUpdatedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitETAUpdatedResponse.fromBuffer(value)); static final _$dispatched = $grpc.ClientMethod<$50.HandlingunitDispatchedRequest, $50.HandlingunitDispatchedResponse>( '/api.HandlingunitInputAPI/Dispatched', ($50.HandlingunitDispatchedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitDispatchedResponse.fromBuffer(value)); static final _$attachmentAdded = $grpc.ClientMethod<$50.HandlingunitAttachmentAddedRequest, $50.HandlingunitAttachmentAddedResponse>( '/api.HandlingunitInputAPI/AttachmentAdded', ($50.HandlingunitAttachmentAddedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitAttachmentAddedResponse.fromBuffer(value)); static final _$attachmentRemoved = $grpc.ClientMethod<$50.HandlingunitAttachmentRemovedRequest, $50.HandlingunitAttachmentRemovedResponse>( '/api.HandlingunitInputAPI/AttachmentRemoved', ($50.HandlingunitAttachmentRemovedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitAttachmentRemovedResponse.fromBuffer(value)); static final _$metaDataUpdated = $grpc.ClientMethod<$50.HandlingunitMetaDataUpdatedRequest, $50.HandlingunitMetaDataUpdatedResponse>( '/api.HandlingunitInputAPI/MetaDataUpdated', ($50.HandlingunitMetaDataUpdatedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitMetaDataUpdatedResponse.fromBuffer(value)); static final _$parentHUUpdated = $grpc.ClientMethod<$50.HandlingunitParentHUUpdatedRequest, $50.HandlingunitParentHUUpdatedResponse>( '/api.HandlingunitInputAPI/ParentHUUpdated', ($50.HandlingunitParentHUUpdatedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitParentHUUpdatedResponse.fromBuffer(value)); static final _$claimAdded = $grpc.ClientMethod<$50.HandlingunitClaimAddedRequest, $50.HandlingunitClaimAddedResponse>( '/api.HandlingunitInputAPI/ClaimAdded', ($50.HandlingunitClaimAddedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitClaimAddedResponse.fromBuffer(value)); static final _$readyToBeCollected = $grpc.ClientMethod<$50.HandlingunitReadyToBeCollectedRequest, $50.HandlingunitReadyToBeCollectedResponse>( '/api.HandlingunitInputAPI/ReadyToBeCollected', ($50.HandlingunitReadyToBeCollectedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitReadyToBeCollectedResponse.fromBuffer(value)); static final _$deleted = $grpc.ClientMethod<$50.HandlingunitDeletedRequest, $50.HandlingunitDeletedResponse>( '/api.HandlingunitInputAPI/Deleted', ($50.HandlingunitDeletedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $50.HandlingunitDeletedResponse.fromBuffer(value)); HandlingunitInputAPIClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, $core.Iterable<$grpc.ClientInterceptor>? interceptors}) : super(channel, options: options, interceptors: interceptors); $grpc.ResponseFuture<$50.HandlingunitGoodsPreparedResponse> goodsPrepared($50.HandlingunitGoodsPreparedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$goodsPrepared, request, options: options); } $grpc.ResponseFuture<$50.HandlingunitGoodsReceivedResponse> goodsReceived($50.HandlingunitGoodsReceivedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$goodsReceived, request, options: options); } $grpc.ResponseFuture<$50.HandlingunitHUsAddedResponse> hUsAdded($50.HandlingunitHUsAddedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$hUsAdded, request, options: options); } $grpc.ResponseFuture<$50.HandlingunitTrackingUpdatedResponse> trackingUpdated($50.HandlingunitTrackingUpdatedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$trackingUpdated, request, options: options); } $grpc.ResponseFuture<$50.HandlingunitTrackingETAUpdatedResponse> trackingETAUpdated($50.HandlingunitTrackingETAUpdatedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$trackingETAUpdated, request, options: options); } $grpc.ResponseFuture<$50.HandlingunitETAUpdatedResponse> eTAUpdated($50.HandlingunitETAUpdatedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$eTAUpdated, request, options: options); } $grpc.ResponseFuture<$50.HandlingunitDispatchedResponse> dispatched($50.HandlingunitDispatchedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$dispatched, request, options: options); } $grpc.ResponseFuture<$50.HandlingunitAttachmentAddedResponse> attachmentAdded($50.HandlingunitAttachmentAddedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$attachmentAdded, request, options: options); } $grpc.ResponseFuture<$50.HandlingunitAttachmentRemovedResponse> attachmentRemoved($50.HandlingunitAttachmentRemovedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$attachmentRemoved, request, options: options); } $grpc.ResponseFuture<$50.HandlingunitMetaDataUpdatedResponse> metaDataUpdated($50.HandlingunitMetaDataUpdatedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$metaDataUpdated, request, options: options); } $grpc.ResponseFuture<$50.HandlingunitParentHUUpdatedResponse> parentHUUpdated($50.HandlingunitParentHUUpdatedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$parentHUUpdated, request, options: options); } $grpc.ResponseFuture<$50.HandlingunitClaimAddedResponse> claimAdded($50.HandlingunitClaimAddedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$claimAdded, request, options: options); } $grpc.ResponseFuture<$50.HandlingunitReadyToBeCollectedResponse> readyToBeCollected($50.HandlingunitReadyToBeCollectedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$readyToBeCollected, request, options: options); } $grpc.ResponseFuture<$50.HandlingunitDeletedResponse> deleted($50.HandlingunitDeletedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$deleted, request, options: options); } } @$pb.GrpcServiceName('api.HandlingunitInputAPI') abstract class HandlingunitInputAPIServiceBase extends $grpc.Service { $core.String get $name => 'api.HandlingunitInputAPI'; HandlingunitInputAPIServiceBase() { $addMethod($grpc.ServiceMethod<$50.HandlingunitGoodsPreparedRequest, $50.HandlingunitGoodsPreparedResponse>( 'GoodsPrepared', goodsPrepared_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitGoodsPreparedRequest.fromBuffer(value), ($50.HandlingunitGoodsPreparedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$50.HandlingunitGoodsReceivedRequest, $50.HandlingunitGoodsReceivedResponse>( 'GoodsReceived', goodsReceived_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitGoodsReceivedRequest.fromBuffer(value), ($50.HandlingunitGoodsReceivedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$50.HandlingunitHUsAddedRequest, $50.HandlingunitHUsAddedResponse>( 'HUsAdded', hUsAdded_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitHUsAddedRequest.fromBuffer(value), ($50.HandlingunitHUsAddedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$50.HandlingunitTrackingUpdatedRequest, $50.HandlingunitTrackingUpdatedResponse>( 'TrackingUpdated', trackingUpdated_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitTrackingUpdatedRequest.fromBuffer(value), ($50.HandlingunitTrackingUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$50.HandlingunitTrackingETAUpdatedRequest, $50.HandlingunitTrackingETAUpdatedResponse>( 'TrackingETAUpdated', trackingETAUpdated_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitTrackingETAUpdatedRequest.fromBuffer(value), ($50.HandlingunitTrackingETAUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$50.HandlingunitETAUpdatedRequest, $50.HandlingunitETAUpdatedResponse>( 'ETAUpdated', eTAUpdated_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitETAUpdatedRequest.fromBuffer(value), ($50.HandlingunitETAUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$50.HandlingunitDispatchedRequest, $50.HandlingunitDispatchedResponse>( 'Dispatched', dispatched_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitDispatchedRequest.fromBuffer(value), ($50.HandlingunitDispatchedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$50.HandlingunitAttachmentAddedRequest, $50.HandlingunitAttachmentAddedResponse>( 'AttachmentAdded', attachmentAdded_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitAttachmentAddedRequest.fromBuffer(value), ($50.HandlingunitAttachmentAddedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$50.HandlingunitAttachmentRemovedRequest, $50.HandlingunitAttachmentRemovedResponse>( 'AttachmentRemoved', attachmentRemoved_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitAttachmentRemovedRequest.fromBuffer(value), ($50.HandlingunitAttachmentRemovedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$50.HandlingunitMetaDataUpdatedRequest, $50.HandlingunitMetaDataUpdatedResponse>( 'MetaDataUpdated', metaDataUpdated_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitMetaDataUpdatedRequest.fromBuffer(value), ($50.HandlingunitMetaDataUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$50.HandlingunitParentHUUpdatedRequest, $50.HandlingunitParentHUUpdatedResponse>( 'ParentHUUpdated', parentHUUpdated_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitParentHUUpdatedRequest.fromBuffer(value), ($50.HandlingunitParentHUUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$50.HandlingunitClaimAddedRequest, $50.HandlingunitClaimAddedResponse>( 'ClaimAdded', claimAdded_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitClaimAddedRequest.fromBuffer(value), ($50.HandlingunitClaimAddedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$50.HandlingunitReadyToBeCollectedRequest, $50.HandlingunitReadyToBeCollectedResponse>( 'ReadyToBeCollected', readyToBeCollected_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitReadyToBeCollectedRequest.fromBuffer(value), ($50.HandlingunitReadyToBeCollectedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$50.HandlingunitDeletedRequest, $50.HandlingunitDeletedResponse>( 'Deleted', deleted_Pre, false, false, ($core.List<$core.int> value) => $50.HandlingunitDeletedRequest.fromBuffer(value), ($50.HandlingunitDeletedResponse value) => value.writeToBuffer())); } $async.Future<$50.HandlingunitGoodsPreparedResponse> goodsPrepared_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitGoodsPreparedRequest> $request) async { return goodsPrepared($call, await $request); } $async.Future<$50.HandlingunitGoodsReceivedResponse> goodsReceived_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitGoodsReceivedRequest> $request) async { return goodsReceived($call, await $request); } $async.Future<$50.HandlingunitHUsAddedResponse> hUsAdded_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitHUsAddedRequest> $request) async { return hUsAdded($call, await $request); } $async.Future<$50.HandlingunitTrackingUpdatedResponse> trackingUpdated_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitTrackingUpdatedRequest> $request) async { return trackingUpdated($call, await $request); } $async.Future<$50.HandlingunitTrackingETAUpdatedResponse> trackingETAUpdated_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitTrackingETAUpdatedRequest> $request) async { return trackingETAUpdated($call, await $request); } $async.Future<$50.HandlingunitETAUpdatedResponse> eTAUpdated_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitETAUpdatedRequest> $request) async { return eTAUpdated($call, await $request); } $async.Future<$50.HandlingunitDispatchedResponse> dispatched_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitDispatchedRequest> $request) async { return dispatched($call, await $request); } $async.Future<$50.HandlingunitAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitAttachmentAddedRequest> $request) async { return attachmentAdded($call, await $request); } $async.Future<$50.HandlingunitAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitAttachmentRemovedRequest> $request) async { return attachmentRemoved($call, await $request); } $async.Future<$50.HandlingunitMetaDataUpdatedResponse> metaDataUpdated_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitMetaDataUpdatedRequest> $request) async { return metaDataUpdated($call, await $request); } $async.Future<$50.HandlingunitParentHUUpdatedResponse> parentHUUpdated_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitParentHUUpdatedRequest> $request) async { return parentHUUpdated($call, await $request); } $async.Future<$50.HandlingunitClaimAddedResponse> claimAdded_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitClaimAddedRequest> $request) async { return claimAdded($call, await $request); } $async.Future<$50.HandlingunitReadyToBeCollectedResponse> readyToBeCollected_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitReadyToBeCollectedRequest> $request) async { return readyToBeCollected($call, await $request); } $async.Future<$50.HandlingunitDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$50.HandlingunitDeletedRequest> $request) async { return deleted($call, await $request); } $async.Future<$50.HandlingunitGoodsPreparedResponse> goodsPrepared($grpc.ServiceCall call, $50.HandlingunitGoodsPreparedRequest request); $async.Future<$50.HandlingunitGoodsReceivedResponse> goodsReceived($grpc.ServiceCall call, $50.HandlingunitGoodsReceivedRequest request); $async.Future<$50.HandlingunitHUsAddedResponse> hUsAdded($grpc.ServiceCall call, $50.HandlingunitHUsAddedRequest request); $async.Future<$50.HandlingunitTrackingUpdatedResponse> trackingUpdated($grpc.ServiceCall call, $50.HandlingunitTrackingUpdatedRequest request); $async.Future<$50.HandlingunitTrackingETAUpdatedResponse> trackingETAUpdated($grpc.ServiceCall call, $50.HandlingunitTrackingETAUpdatedRequest request); $async.Future<$50.HandlingunitETAUpdatedResponse> eTAUpdated($grpc.ServiceCall call, $50.HandlingunitETAUpdatedRequest request); $async.Future<$50.HandlingunitDispatchedResponse> dispatched($grpc.ServiceCall call, $50.HandlingunitDispatchedRequest request); $async.Future<$50.HandlingunitAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $50.HandlingunitAttachmentAddedRequest request); $async.Future<$50.HandlingunitAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $50.HandlingunitAttachmentRemovedRequest request); $async.Future<$50.HandlingunitMetaDataUpdatedResponse> metaDataUpdated($grpc.ServiceCall call, $50.HandlingunitMetaDataUpdatedRequest request); $async.Future<$50.HandlingunitParentHUUpdatedResponse> parentHUUpdated($grpc.ServiceCall call, $50.HandlingunitParentHUUpdatedRequest request); $async.Future<$50.HandlingunitClaimAddedResponse> claimAdded($grpc.ServiceCall call, $50.HandlingunitClaimAddedRequest request); $async.Future<$50.HandlingunitReadyToBeCollectedResponse> readyToBeCollected($grpc.ServiceCall call, $50.HandlingunitReadyToBeCollectedRequest request); $async.Future<$50.HandlingunitDeletedResponse> deleted($grpc.ServiceCall call, $50.HandlingunitDeletedRequest request); }