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

export 'orderInput.pb.dart';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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