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

export 'orderInput.pb.dart';

@$pb.GrpcServiceName('api.OrderInputAPI')
class OrderInputAPIClient extends $grpc.Client {
  static final _$created = $grpc.ClientMethod<$37.OrderCreatedRequest, $37.OrderCreatedResponse>(
      '/api.OrderInputAPI/Created',
      ($37.OrderCreatedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderCreatedResponse.fromBuffer(value));
  static final _$executionflowDetected = $grpc.ClientMethod<$37.OrderExecutionflowDetectedRequest, $37.OrderExecutionflowDetectedResponse>(
      '/api.OrderInputAPI/ExecutionflowDetected',
      ($37.OrderExecutionflowDetectedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderExecutionflowDetectedResponse.fromBuffer(value));
  static final _$cancelled = $grpc.ClientMethod<$37.OrderCancelledRequest, $37.OrderCancelledResponse>(
      '/api.OrderInputAPI/Cancelled',
      ($37.OrderCancelledRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderCancelledResponse.fromBuffer(value));
  static final _$anonymised = $grpc.ClientMethod<$37.OrderAnonymisedRequest, $37.OrderAnonymisedResponse>(
      '/api.OrderInputAPI/Anonymised',
      ($37.OrderAnonymisedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderAnonymisedResponse.fromBuffer(value));
  static final _$shipperAssigned = $grpc.ClientMethod<$37.OrderShipperAssignedRequest, $37.OrderShipperAssignedResponse>(
      '/api.OrderInputAPI/ShipperAssigned',
      ($37.OrderShipperAssignedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderShipperAssignedResponse.fromBuffer(value));
  static final _$partiallyCompleted = $grpc.ClientMethod<$37.OrderPartiallyCompletedRequest, $37.OrderPartiallyCompletedResponse>(
      '/api.OrderInputAPI/PartiallyCompleted',
      ($37.OrderPartiallyCompletedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderPartiallyCompletedResponse.fromBuffer(value));
  static final _$requestedDeliveryDateDefined = $grpc.ClientMethod<$37.OrderRequestedDeliveryDateDefinedRequest, $37.OrderRequestedDeliveryDateDefinedResponse>(
      '/api.OrderInputAPI/RequestedDeliveryDateDefined',
      ($37.OrderRequestedDeliveryDateDefinedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderRequestedDeliveryDateDefinedResponse.fromBuffer(value));
  static final _$executionflowETAUpdated = $grpc.ClientMethod<$37.OrderExecutionflowETAUpdatedRequest, $37.OrderExecutionflowETAUpdatedResponse>(
      '/api.OrderInputAPI/ExecutionflowETAUpdated',
      ($37.OrderExecutionflowETAUpdatedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderExecutionflowETAUpdatedResponse.fromBuffer(value));
  static final _$completed = $grpc.ClientMethod<$37.OrderCompletedRequest, $37.OrderCompletedResponse>(
      '/api.OrderInputAPI/Completed',
      ($37.OrderCompletedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderCompletedResponse.fromBuffer(value));
  static final _$executionflowUpdated = $grpc.ClientMethod<$37.OrderExecutionflowUpdatedRequest, $37.OrderExecutionflowUpdatedResponse>(
      '/api.OrderInputAPI/ExecutionflowUpdated',
      ($37.OrderExecutionflowUpdatedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderExecutionflowUpdatedResponse.fromBuffer(value));
  static final _$metaDataUpdated = $grpc.ClientMethod<$37.OrderMetaDataUpdatedRequest, $37.OrderMetaDataUpdatedResponse>(
      '/api.OrderInputAPI/MetaDataUpdated',
      ($37.OrderMetaDataUpdatedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderMetaDataUpdatedResponse.fromBuffer(value));
  static final _$carrierUpdated = $grpc.ClientMethod<$37.OrderCarrierUpdatedRequest, $37.OrderCarrierUpdatedResponse>(
      '/api.OrderInputAPI/CarrierUpdated',
      ($37.OrderCarrierUpdatedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderCarrierUpdatedResponse.fromBuffer(value));
  static final _$attachmentAdded = $grpc.ClientMethod<$37.OrderAttachmentAddedRequest, $37.OrderAttachmentAddedResponse>(
      '/api.OrderInputAPI/AttachmentAdded',
      ($37.OrderAttachmentAddedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderAttachmentAddedResponse.fromBuffer(value));
  static final _$attachmentRemoved = $grpc.ClientMethod<$37.OrderAttachmentRemovedRequest, $37.OrderAttachmentRemovedResponse>(
      '/api.OrderInputAPI/AttachmentRemoved',
      ($37.OrderAttachmentRemovedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderAttachmentRemovedResponse.fromBuffer(value));
  static final _$claimAdded = $grpc.ClientMethod<$37.OrderClaimAddedRequest, $37.OrderClaimAddedResponse>(
      '/api.OrderInputAPI/ClaimAdded',
      ($37.OrderClaimAddedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderClaimAddedResponse.fromBuffer(value));
  static final _$deleted = $grpc.ClientMethod<$37.OrderDeletedRequest, $37.OrderDeletedResponse>(
      '/api.OrderInputAPI/Deleted',
      ($37.OrderDeletedRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $37.OrderDeletedResponse.fromBuffer(value));

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

  $grpc.ResponseFuture<$37.OrderCreatedResponse> created($37.OrderCreatedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$created, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderExecutionflowDetectedResponse> executionflowDetected($37.OrderExecutionflowDetectedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$executionflowDetected, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderCancelledResponse> cancelled($37.OrderCancelledRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$cancelled, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderAnonymisedResponse> anonymised($37.OrderAnonymisedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$anonymised, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderShipperAssignedResponse> shipperAssigned($37.OrderShipperAssignedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$shipperAssigned, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderPartiallyCompletedResponse> partiallyCompleted($37.OrderPartiallyCompletedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$partiallyCompleted, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderRequestedDeliveryDateDefinedResponse> requestedDeliveryDateDefined($37.OrderRequestedDeliveryDateDefinedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$requestedDeliveryDateDefined, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderExecutionflowETAUpdatedResponse> executionflowETAUpdated($37.OrderExecutionflowETAUpdatedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$executionflowETAUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderCompletedResponse> completed($37.OrderCompletedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$completed, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderExecutionflowUpdatedResponse> executionflowUpdated($37.OrderExecutionflowUpdatedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$executionflowUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderMetaDataUpdatedResponse> metaDataUpdated($37.OrderMetaDataUpdatedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$metaDataUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderCarrierUpdatedResponse> carrierUpdated($37.OrderCarrierUpdatedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$carrierUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderAttachmentAddedResponse> attachmentAdded($37.OrderAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$attachmentAdded, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderAttachmentRemovedResponse> attachmentRemoved($37.OrderAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$attachmentRemoved, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderClaimAddedResponse> claimAdded($37.OrderClaimAddedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$claimAdded, request, options: options);
  }

  $grpc.ResponseFuture<$37.OrderDeletedResponse> deleted($37.OrderDeletedRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleted, request, options: options);
  }
}

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

  OrderInputAPIServiceBase() {
    $addMethod($grpc.ServiceMethod<$37.OrderCreatedRequest, $37.OrderCreatedResponse>(
        'Created',
        created_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderCreatedRequest.fromBuffer(value),
        ($37.OrderCreatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderExecutionflowDetectedRequest, $37.OrderExecutionflowDetectedResponse>(
        'ExecutionflowDetected',
        executionflowDetected_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderExecutionflowDetectedRequest.fromBuffer(value),
        ($37.OrderExecutionflowDetectedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderCancelledRequest, $37.OrderCancelledResponse>(
        'Cancelled',
        cancelled_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderCancelledRequest.fromBuffer(value),
        ($37.OrderCancelledResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderAnonymisedRequest, $37.OrderAnonymisedResponse>(
        'Anonymised',
        anonymised_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderAnonymisedRequest.fromBuffer(value),
        ($37.OrderAnonymisedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderShipperAssignedRequest, $37.OrderShipperAssignedResponse>(
        'ShipperAssigned',
        shipperAssigned_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderShipperAssignedRequest.fromBuffer(value),
        ($37.OrderShipperAssignedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderPartiallyCompletedRequest, $37.OrderPartiallyCompletedResponse>(
        'PartiallyCompleted',
        partiallyCompleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderPartiallyCompletedRequest.fromBuffer(value),
        ($37.OrderPartiallyCompletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderRequestedDeliveryDateDefinedRequest, $37.OrderRequestedDeliveryDateDefinedResponse>(
        'RequestedDeliveryDateDefined',
        requestedDeliveryDateDefined_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderRequestedDeliveryDateDefinedRequest.fromBuffer(value),
        ($37.OrderRequestedDeliveryDateDefinedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderExecutionflowETAUpdatedRequest, $37.OrderExecutionflowETAUpdatedResponse>(
        'ExecutionflowETAUpdated',
        executionflowETAUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderExecutionflowETAUpdatedRequest.fromBuffer(value),
        ($37.OrderExecutionflowETAUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderCompletedRequest, $37.OrderCompletedResponse>(
        'Completed',
        completed_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderCompletedRequest.fromBuffer(value),
        ($37.OrderCompletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderExecutionflowUpdatedRequest, $37.OrderExecutionflowUpdatedResponse>(
        'ExecutionflowUpdated',
        executionflowUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderExecutionflowUpdatedRequest.fromBuffer(value),
        ($37.OrderExecutionflowUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderMetaDataUpdatedRequest, $37.OrderMetaDataUpdatedResponse>(
        'MetaDataUpdated',
        metaDataUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderMetaDataUpdatedRequest.fromBuffer(value),
        ($37.OrderMetaDataUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderCarrierUpdatedRequest, $37.OrderCarrierUpdatedResponse>(
        'CarrierUpdated',
        carrierUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderCarrierUpdatedRequest.fromBuffer(value),
        ($37.OrderCarrierUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderAttachmentAddedRequest, $37.OrderAttachmentAddedResponse>(
        'AttachmentAdded',
        attachmentAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderAttachmentAddedRequest.fromBuffer(value),
        ($37.OrderAttachmentAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderAttachmentRemovedRequest, $37.OrderAttachmentRemovedResponse>(
        'AttachmentRemoved',
        attachmentRemoved_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderAttachmentRemovedRequest.fromBuffer(value),
        ($37.OrderAttachmentRemovedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderClaimAddedRequest, $37.OrderClaimAddedResponse>(
        'ClaimAdded',
        claimAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderClaimAddedRequest.fromBuffer(value),
        ($37.OrderClaimAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$37.OrderDeletedRequest, $37.OrderDeletedResponse>(
        'Deleted',
        deleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $37.OrderDeletedRequest.fromBuffer(value),
        ($37.OrderDeletedResponse value) => value.writeToBuffer()));
  }

  $async.Future<$37.OrderCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderCreatedRequest> $request) async {
    return created($call, await $request);
  }

  $async.Future<$37.OrderExecutionflowDetectedResponse> executionflowDetected_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderExecutionflowDetectedRequest> $request) async {
    return executionflowDetected($call, await $request);
  }

  $async.Future<$37.OrderCancelledResponse> cancelled_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderCancelledRequest> $request) async {
    return cancelled($call, await $request);
  }

  $async.Future<$37.OrderAnonymisedResponse> anonymised_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderAnonymisedRequest> $request) async {
    return anonymised($call, await $request);
  }

  $async.Future<$37.OrderShipperAssignedResponse> shipperAssigned_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderShipperAssignedRequest> $request) async {
    return shipperAssigned($call, await $request);
  }

  $async.Future<$37.OrderPartiallyCompletedResponse> partiallyCompleted_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderPartiallyCompletedRequest> $request) async {
    return partiallyCompleted($call, await $request);
  }

  $async.Future<$37.OrderRequestedDeliveryDateDefinedResponse> requestedDeliveryDateDefined_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderRequestedDeliveryDateDefinedRequest> $request) async {
    return requestedDeliveryDateDefined($call, await $request);
  }

  $async.Future<$37.OrderExecutionflowETAUpdatedResponse> executionflowETAUpdated_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderExecutionflowETAUpdatedRequest> $request) async {
    return executionflowETAUpdated($call, await $request);
  }

  $async.Future<$37.OrderCompletedResponse> completed_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderCompletedRequest> $request) async {
    return completed($call, await $request);
  }

  $async.Future<$37.OrderExecutionflowUpdatedResponse> executionflowUpdated_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderExecutionflowUpdatedRequest> $request) async {
    return executionflowUpdated($call, await $request);
  }

  $async.Future<$37.OrderMetaDataUpdatedResponse> metaDataUpdated_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderMetaDataUpdatedRequest> $request) async {
    return metaDataUpdated($call, await $request);
  }

  $async.Future<$37.OrderCarrierUpdatedResponse> carrierUpdated_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderCarrierUpdatedRequest> $request) async {
    return carrierUpdated($call, await $request);
  }

  $async.Future<$37.OrderAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderAttachmentAddedRequest> $request) async {
    return attachmentAdded($call, await $request);
  }

  $async.Future<$37.OrderAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderAttachmentRemovedRequest> $request) async {
    return attachmentRemoved($call, await $request);
  }

  $async.Future<$37.OrderClaimAddedResponse> claimAdded_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderClaimAddedRequest> $request) async {
    return claimAdded($call, await $request);
  }

  $async.Future<$37.OrderDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$37.OrderDeletedRequest> $request) async {
    return deleted($call, await $request);
  }

  $async.Future<$37.OrderCreatedResponse> created($grpc.ServiceCall call, $37.OrderCreatedRequest request);
  $async.Future<$37.OrderExecutionflowDetectedResponse> executionflowDetected($grpc.ServiceCall call, $37.OrderExecutionflowDetectedRequest request);
  $async.Future<$37.OrderCancelledResponse> cancelled($grpc.ServiceCall call, $37.OrderCancelledRequest request);
  $async.Future<$37.OrderAnonymisedResponse> anonymised($grpc.ServiceCall call, $37.OrderAnonymisedRequest request);
  $async.Future<$37.OrderShipperAssignedResponse> shipperAssigned($grpc.ServiceCall call, $37.OrderShipperAssignedRequest request);
  $async.Future<$37.OrderPartiallyCompletedResponse> partiallyCompleted($grpc.ServiceCall call, $37.OrderPartiallyCompletedRequest request);
  $async.Future<$37.OrderRequestedDeliveryDateDefinedResponse> requestedDeliveryDateDefined($grpc.ServiceCall call, $37.OrderRequestedDeliveryDateDefinedRequest request);
  $async.Future<$37.OrderExecutionflowETAUpdatedResponse> executionflowETAUpdated($grpc.ServiceCall call, $37.OrderExecutionflowETAUpdatedRequest request);
  $async.Future<$37.OrderCompletedResponse> completed($grpc.ServiceCall call, $37.OrderCompletedRequest request);
  $async.Future<$37.OrderExecutionflowUpdatedResponse> executionflowUpdated($grpc.ServiceCall call, $37.OrderExecutionflowUpdatedRequest request);
  $async.Future<$37.OrderMetaDataUpdatedResponse> metaDataUpdated($grpc.ServiceCall call, $37.OrderMetaDataUpdatedRequest request);
  $async.Future<$37.OrderCarrierUpdatedResponse> carrierUpdated($grpc.ServiceCall call, $37.OrderCarrierUpdatedRequest request);
  $async.Future<$37.OrderAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $37.OrderAttachmentAddedRequest request);
  $async.Future<$37.OrderAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $37.OrderAttachmentRemovedRequest request);
  $async.Future<$37.OrderClaimAddedResponse> claimAdded($grpc.ServiceCall call, $37.OrderClaimAddedRequest request);
  $async.Future<$37.OrderDeletedResponse> deleted($grpc.ServiceCall call, $37.OrderDeletedRequest request);
}
