// This is a generated file - do not edit.
//
// Generated from appointmentInput.proto.

// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

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 'appointmentInput.pb.dart' as $0;

export 'appointmentInput.pb.dart';

///
/// API-server services
@$pb.GrpcServiceName('api.AppointmentInputAPI')
class AppointmentInputAPIClient extends $grpc.Client {
  /// The hostname for this service.
  static const $core.String defaultHost = '';

  /// OAuth scopes needed for the client.
  static const $core.List<$core.String> oauthScopes = [
    '',
  ];

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

  $grpc.ResponseFuture<$0.AppointmentCreatedResponse> created($0.AppointmentCreatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$created, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentCanceledResponse> canceled($0.AppointmentCanceledRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$canceled, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentDeletedResponse> deleted($0.AppointmentDeletedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$deleted, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentSlotUpdatedResponse> slotUpdated($0.AppointmentSlotUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$slotUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentCommissionsUpdatedResponse> commissionsUpdated($0.AppointmentCommissionsUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$commissionsUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentReasonUpdatedResponse> reasonUpdated($0.AppointmentReasonUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$reasonUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentCarrierInformationUpdatedResponse> carrierInformationUpdated($0.AppointmentCarrierInformationUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$carrierInformationUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentCarrierExpectedResponse> carrierExpected($0.AppointmentCarrierExpectedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$carrierExpected, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentAllocationErrorResponse> allocationError($0.AppointmentAllocationErrorRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$allocationError, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentAllocationConfirmedResponse> allocationConfirmed($0.AppointmentAllocationConfirmedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$allocationConfirmed, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentCarrierArrivedResponse> carrierArrived($0.AppointmentCarrierArrivedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$carrierArrived, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentLoadingStartedResponse> loadingStarted($0.AppointmentLoadingStartedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$loadingStarted, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentLoadingCompletedResponse> loadingCompleted($0.AppointmentLoadingCompletedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$loadingCompleted, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentUnloadingStartedResponse> unloadingStarted($0.AppointmentUnloadingStartedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$unloadingStarted, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentUnloadingCompletedResponse> unloadingCompleted($0.AppointmentUnloadingCompletedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$unloadingCompleted, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentCarrierDepartedResponse> carrierDeparted($0.AppointmentCarrierDepartedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$carrierDeparted, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentMetaDataUpdatedResponse> metaDataUpdated($0.AppointmentMetaDataUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$metaDataUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentAttachmentAddedResponse> attachmentAdded($0.AppointmentAttachmentAddedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$attachmentAdded, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentAttachmentRemovedResponse> attachmentRemoved($0.AppointmentAttachmentRemovedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$attachmentRemoved, request, options: options);
  }

  @$core.Deprecated('This method is deprecated')
  $grpc.ResponseFuture<$0.AppointmentEmailsAddedResponse> emailsAdded($0.AppointmentEmailsAddedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$emailsAdded, request, options: options);
  }

  @$core.Deprecated('This method is deprecated')
  $grpc.ResponseFuture<$0.AppointmentEmailsRemovedResponse> emailsRemoved($0.AppointmentEmailsRemovedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$emailsRemoved, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentAttendeesAddedResponse> attendeesAdded($0.AppointmentAttendeesAddedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$attendeesAdded, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentAttendeesRemovedResponse> attendeesRemoved($0.AppointmentAttendeesRemovedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$attendeesRemoved, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentSanitisedResponse> sanitised($0.AppointmentSanitisedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$sanitised, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentCustomFieldsUpdatedResponse> customFieldsUpdated($0.AppointmentCustomFieldsUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$customFieldsUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.AppointmentRedetectedResponse> redetected($0.AppointmentRedetectedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$redetected, request, options: options);
  }

    // method descriptors

  static final _$created = $grpc.ClientMethod<$0.AppointmentCreatedRequest, $0.AppointmentCreatedResponse>(
      '/api.AppointmentInputAPI/Created',
      ($0.AppointmentCreatedRequest value) => value.writeToBuffer(),
      $0.AppointmentCreatedResponse.fromBuffer);
  static final _$canceled = $grpc.ClientMethod<$0.AppointmentCanceledRequest, $0.AppointmentCanceledResponse>(
      '/api.AppointmentInputAPI/Canceled',
      ($0.AppointmentCanceledRequest value) => value.writeToBuffer(),
      $0.AppointmentCanceledResponse.fromBuffer);
  static final _$deleted = $grpc.ClientMethod<$0.AppointmentDeletedRequest, $0.AppointmentDeletedResponse>(
      '/api.AppointmentInputAPI/Deleted',
      ($0.AppointmentDeletedRequest value) => value.writeToBuffer(),
      $0.AppointmentDeletedResponse.fromBuffer);
  static final _$slotUpdated = $grpc.ClientMethod<$0.AppointmentSlotUpdatedRequest, $0.AppointmentSlotUpdatedResponse>(
      '/api.AppointmentInputAPI/SlotUpdated',
      ($0.AppointmentSlotUpdatedRequest value) => value.writeToBuffer(),
      $0.AppointmentSlotUpdatedResponse.fromBuffer);
  static final _$commissionsUpdated = $grpc.ClientMethod<$0.AppointmentCommissionsUpdatedRequest, $0.AppointmentCommissionsUpdatedResponse>(
      '/api.AppointmentInputAPI/CommissionsUpdated',
      ($0.AppointmentCommissionsUpdatedRequest value) => value.writeToBuffer(),
      $0.AppointmentCommissionsUpdatedResponse.fromBuffer);
  static final _$reasonUpdated = $grpc.ClientMethod<$0.AppointmentReasonUpdatedRequest, $0.AppointmentReasonUpdatedResponse>(
      '/api.AppointmentInputAPI/ReasonUpdated',
      ($0.AppointmentReasonUpdatedRequest value) => value.writeToBuffer(),
      $0.AppointmentReasonUpdatedResponse.fromBuffer);
  static final _$carrierInformationUpdated = $grpc.ClientMethod<$0.AppointmentCarrierInformationUpdatedRequest, $0.AppointmentCarrierInformationUpdatedResponse>(
      '/api.AppointmentInputAPI/CarrierInformationUpdated',
      ($0.AppointmentCarrierInformationUpdatedRequest value) => value.writeToBuffer(),
      $0.AppointmentCarrierInformationUpdatedResponse.fromBuffer);
  static final _$carrierExpected = $grpc.ClientMethod<$0.AppointmentCarrierExpectedRequest, $0.AppointmentCarrierExpectedResponse>(
      '/api.AppointmentInputAPI/CarrierExpected',
      ($0.AppointmentCarrierExpectedRequest value) => value.writeToBuffer(),
      $0.AppointmentCarrierExpectedResponse.fromBuffer);
  static final _$allocationError = $grpc.ClientMethod<$0.AppointmentAllocationErrorRequest, $0.AppointmentAllocationErrorResponse>(
      '/api.AppointmentInputAPI/AllocationError',
      ($0.AppointmentAllocationErrorRequest value) => value.writeToBuffer(),
      $0.AppointmentAllocationErrorResponse.fromBuffer);
  static final _$allocationConfirmed = $grpc.ClientMethod<$0.AppointmentAllocationConfirmedRequest, $0.AppointmentAllocationConfirmedResponse>(
      '/api.AppointmentInputAPI/AllocationConfirmed',
      ($0.AppointmentAllocationConfirmedRequest value) => value.writeToBuffer(),
      $0.AppointmentAllocationConfirmedResponse.fromBuffer);
  static final _$carrierArrived = $grpc.ClientMethod<$0.AppointmentCarrierArrivedRequest, $0.AppointmentCarrierArrivedResponse>(
      '/api.AppointmentInputAPI/CarrierArrived',
      ($0.AppointmentCarrierArrivedRequest value) => value.writeToBuffer(),
      $0.AppointmentCarrierArrivedResponse.fromBuffer);
  static final _$loadingStarted = $grpc.ClientMethod<$0.AppointmentLoadingStartedRequest, $0.AppointmentLoadingStartedResponse>(
      '/api.AppointmentInputAPI/LoadingStarted',
      ($0.AppointmentLoadingStartedRequest value) => value.writeToBuffer(),
      $0.AppointmentLoadingStartedResponse.fromBuffer);
  static final _$loadingCompleted = $grpc.ClientMethod<$0.AppointmentLoadingCompletedRequest, $0.AppointmentLoadingCompletedResponse>(
      '/api.AppointmentInputAPI/LoadingCompleted',
      ($0.AppointmentLoadingCompletedRequest value) => value.writeToBuffer(),
      $0.AppointmentLoadingCompletedResponse.fromBuffer);
  static final _$unloadingStarted = $grpc.ClientMethod<$0.AppointmentUnloadingStartedRequest, $0.AppointmentUnloadingStartedResponse>(
      '/api.AppointmentInputAPI/UnloadingStarted',
      ($0.AppointmentUnloadingStartedRequest value) => value.writeToBuffer(),
      $0.AppointmentUnloadingStartedResponse.fromBuffer);
  static final _$unloadingCompleted = $grpc.ClientMethod<$0.AppointmentUnloadingCompletedRequest, $0.AppointmentUnloadingCompletedResponse>(
      '/api.AppointmentInputAPI/UnloadingCompleted',
      ($0.AppointmentUnloadingCompletedRequest value) => value.writeToBuffer(),
      $0.AppointmentUnloadingCompletedResponse.fromBuffer);
  static final _$carrierDeparted = $grpc.ClientMethod<$0.AppointmentCarrierDepartedRequest, $0.AppointmentCarrierDepartedResponse>(
      '/api.AppointmentInputAPI/CarrierDeparted',
      ($0.AppointmentCarrierDepartedRequest value) => value.writeToBuffer(),
      $0.AppointmentCarrierDepartedResponse.fromBuffer);
  static final _$metaDataUpdated = $grpc.ClientMethod<$0.AppointmentMetaDataUpdatedRequest, $0.AppointmentMetaDataUpdatedResponse>(
      '/api.AppointmentInputAPI/MetaDataUpdated',
      ($0.AppointmentMetaDataUpdatedRequest value) => value.writeToBuffer(),
      $0.AppointmentMetaDataUpdatedResponse.fromBuffer);
  static final _$attachmentAdded = $grpc.ClientMethod<$0.AppointmentAttachmentAddedRequest, $0.AppointmentAttachmentAddedResponse>(
      '/api.AppointmentInputAPI/AttachmentAdded',
      ($0.AppointmentAttachmentAddedRequest value) => value.writeToBuffer(),
      $0.AppointmentAttachmentAddedResponse.fromBuffer);
  static final _$attachmentRemoved = $grpc.ClientMethod<$0.AppointmentAttachmentRemovedRequest, $0.AppointmentAttachmentRemovedResponse>(
      '/api.AppointmentInputAPI/AttachmentRemoved',
      ($0.AppointmentAttachmentRemovedRequest value) => value.writeToBuffer(),
      $0.AppointmentAttachmentRemovedResponse.fromBuffer);
  static final _$emailsAdded = $grpc.ClientMethod<$0.AppointmentEmailsAddedRequest, $0.AppointmentEmailsAddedResponse>(
      '/api.AppointmentInputAPI/EmailsAdded',
      ($0.AppointmentEmailsAddedRequest value) => value.writeToBuffer(),
      $0.AppointmentEmailsAddedResponse.fromBuffer);
  static final _$emailsRemoved = $grpc.ClientMethod<$0.AppointmentEmailsRemovedRequest, $0.AppointmentEmailsRemovedResponse>(
      '/api.AppointmentInputAPI/EmailsRemoved',
      ($0.AppointmentEmailsRemovedRequest value) => value.writeToBuffer(),
      $0.AppointmentEmailsRemovedResponse.fromBuffer);
  static final _$attendeesAdded = $grpc.ClientMethod<$0.AppointmentAttendeesAddedRequest, $0.AppointmentAttendeesAddedResponse>(
      '/api.AppointmentInputAPI/AttendeesAdded',
      ($0.AppointmentAttendeesAddedRequest value) => value.writeToBuffer(),
      $0.AppointmentAttendeesAddedResponse.fromBuffer);
  static final _$attendeesRemoved = $grpc.ClientMethod<$0.AppointmentAttendeesRemovedRequest, $0.AppointmentAttendeesRemovedResponse>(
      '/api.AppointmentInputAPI/AttendeesRemoved',
      ($0.AppointmentAttendeesRemovedRequest value) => value.writeToBuffer(),
      $0.AppointmentAttendeesRemovedResponse.fromBuffer);
  static final _$sanitised = $grpc.ClientMethod<$0.AppointmentSanitisedRequest, $0.AppointmentSanitisedResponse>(
      '/api.AppointmentInputAPI/Sanitised',
      ($0.AppointmentSanitisedRequest value) => value.writeToBuffer(),
      $0.AppointmentSanitisedResponse.fromBuffer);
  static final _$customFieldsUpdated = $grpc.ClientMethod<$0.AppointmentCustomFieldsUpdatedRequest, $0.AppointmentCustomFieldsUpdatedResponse>(
      '/api.AppointmentInputAPI/CustomFieldsUpdated',
      ($0.AppointmentCustomFieldsUpdatedRequest value) => value.writeToBuffer(),
      $0.AppointmentCustomFieldsUpdatedResponse.fromBuffer);
  static final _$redetected = $grpc.ClientMethod<$0.AppointmentRedetectedRequest, $0.AppointmentRedetectedResponse>(
      '/api.AppointmentInputAPI/Redetected',
      ($0.AppointmentRedetectedRequest value) => value.writeToBuffer(),
      $0.AppointmentRedetectedResponse.fromBuffer);
}

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

  AppointmentInputAPIServiceBase() {
    $addMethod($grpc.ServiceMethod<$0.AppointmentCreatedRequest, $0.AppointmentCreatedResponse>(
        'Created',
        created_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentCreatedRequest.fromBuffer(value),
        ($0.AppointmentCreatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentCanceledRequest, $0.AppointmentCanceledResponse>(
        'Canceled',
        canceled_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentCanceledRequest.fromBuffer(value),
        ($0.AppointmentCanceledResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentDeletedRequest, $0.AppointmentDeletedResponse>(
        'Deleted',
        deleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentDeletedRequest.fromBuffer(value),
        ($0.AppointmentDeletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentSlotUpdatedRequest, $0.AppointmentSlotUpdatedResponse>(
        'SlotUpdated',
        slotUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentSlotUpdatedRequest.fromBuffer(value),
        ($0.AppointmentSlotUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentCommissionsUpdatedRequest, $0.AppointmentCommissionsUpdatedResponse>(
        'CommissionsUpdated',
        commissionsUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentCommissionsUpdatedRequest.fromBuffer(value),
        ($0.AppointmentCommissionsUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentReasonUpdatedRequest, $0.AppointmentReasonUpdatedResponse>(
        'ReasonUpdated',
        reasonUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentReasonUpdatedRequest.fromBuffer(value),
        ($0.AppointmentReasonUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentCarrierInformationUpdatedRequest, $0.AppointmentCarrierInformationUpdatedResponse>(
        'CarrierInformationUpdated',
        carrierInformationUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentCarrierInformationUpdatedRequest.fromBuffer(value),
        ($0.AppointmentCarrierInformationUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentCarrierExpectedRequest, $0.AppointmentCarrierExpectedResponse>(
        'CarrierExpected',
        carrierExpected_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentCarrierExpectedRequest.fromBuffer(value),
        ($0.AppointmentCarrierExpectedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentAllocationErrorRequest, $0.AppointmentAllocationErrorResponse>(
        'AllocationError',
        allocationError_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentAllocationErrorRequest.fromBuffer(value),
        ($0.AppointmentAllocationErrorResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentAllocationConfirmedRequest, $0.AppointmentAllocationConfirmedResponse>(
        'AllocationConfirmed',
        allocationConfirmed_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentAllocationConfirmedRequest.fromBuffer(value),
        ($0.AppointmentAllocationConfirmedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentCarrierArrivedRequest, $0.AppointmentCarrierArrivedResponse>(
        'CarrierArrived',
        carrierArrived_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentCarrierArrivedRequest.fromBuffer(value),
        ($0.AppointmentCarrierArrivedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentLoadingStartedRequest, $0.AppointmentLoadingStartedResponse>(
        'LoadingStarted',
        loadingStarted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentLoadingStartedRequest.fromBuffer(value),
        ($0.AppointmentLoadingStartedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentLoadingCompletedRequest, $0.AppointmentLoadingCompletedResponse>(
        'LoadingCompleted',
        loadingCompleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentLoadingCompletedRequest.fromBuffer(value),
        ($0.AppointmentLoadingCompletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentUnloadingStartedRequest, $0.AppointmentUnloadingStartedResponse>(
        'UnloadingStarted',
        unloadingStarted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentUnloadingStartedRequest.fromBuffer(value),
        ($0.AppointmentUnloadingStartedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentUnloadingCompletedRequest, $0.AppointmentUnloadingCompletedResponse>(
        'UnloadingCompleted',
        unloadingCompleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentUnloadingCompletedRequest.fromBuffer(value),
        ($0.AppointmentUnloadingCompletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentCarrierDepartedRequest, $0.AppointmentCarrierDepartedResponse>(
        'CarrierDeparted',
        carrierDeparted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentCarrierDepartedRequest.fromBuffer(value),
        ($0.AppointmentCarrierDepartedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentMetaDataUpdatedRequest, $0.AppointmentMetaDataUpdatedResponse>(
        'MetaDataUpdated',
        metaDataUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentMetaDataUpdatedRequest.fromBuffer(value),
        ($0.AppointmentMetaDataUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentAttachmentAddedRequest, $0.AppointmentAttachmentAddedResponse>(
        'AttachmentAdded',
        attachmentAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentAttachmentAddedRequest.fromBuffer(value),
        ($0.AppointmentAttachmentAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentAttachmentRemovedRequest, $0.AppointmentAttachmentRemovedResponse>(
        'AttachmentRemoved',
        attachmentRemoved_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentAttachmentRemovedRequest.fromBuffer(value),
        ($0.AppointmentAttachmentRemovedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentEmailsAddedRequest, $0.AppointmentEmailsAddedResponse>(
        'EmailsAdded',
        emailsAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentEmailsAddedRequest.fromBuffer(value),
        ($0.AppointmentEmailsAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentEmailsRemovedRequest, $0.AppointmentEmailsRemovedResponse>(
        'EmailsRemoved',
        emailsRemoved_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentEmailsRemovedRequest.fromBuffer(value),
        ($0.AppointmentEmailsRemovedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentAttendeesAddedRequest, $0.AppointmentAttendeesAddedResponse>(
        'AttendeesAdded',
        attendeesAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentAttendeesAddedRequest.fromBuffer(value),
        ($0.AppointmentAttendeesAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentAttendeesRemovedRequest, $0.AppointmentAttendeesRemovedResponse>(
        'AttendeesRemoved',
        attendeesRemoved_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentAttendeesRemovedRequest.fromBuffer(value),
        ($0.AppointmentAttendeesRemovedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentSanitisedRequest, $0.AppointmentSanitisedResponse>(
        'Sanitised',
        sanitised_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentSanitisedRequest.fromBuffer(value),
        ($0.AppointmentSanitisedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentCustomFieldsUpdatedRequest, $0.AppointmentCustomFieldsUpdatedResponse>(
        'CustomFieldsUpdated',
        customFieldsUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentCustomFieldsUpdatedRequest.fromBuffer(value),
        ($0.AppointmentCustomFieldsUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.AppointmentRedetectedRequest, $0.AppointmentRedetectedResponse>(
        'Redetected',
        redetected_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.AppointmentRedetectedRequest.fromBuffer(value),
        ($0.AppointmentRedetectedResponse value) => value.writeToBuffer()));
  }

  $async.Future<$0.AppointmentCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCreatedRequest> $request) async {
    return created($call, await $request);
  }

  $async.Future<$0.AppointmentCreatedResponse> created($grpc.ServiceCall call, $0.AppointmentCreatedRequest request);

  $async.Future<$0.AppointmentCanceledResponse> canceled_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCanceledRequest> $request) async {
    return canceled($call, await $request);
  }

  $async.Future<$0.AppointmentCanceledResponse> canceled($grpc.ServiceCall call, $0.AppointmentCanceledRequest request);

  $async.Future<$0.AppointmentDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentDeletedRequest> $request) async {
    return deleted($call, await $request);
  }

  $async.Future<$0.AppointmentDeletedResponse> deleted($grpc.ServiceCall call, $0.AppointmentDeletedRequest request);

  $async.Future<$0.AppointmentSlotUpdatedResponse> slotUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentSlotUpdatedRequest> $request) async {
    return slotUpdated($call, await $request);
  }

  $async.Future<$0.AppointmentSlotUpdatedResponse> slotUpdated($grpc.ServiceCall call, $0.AppointmentSlotUpdatedRequest request);

  $async.Future<$0.AppointmentCommissionsUpdatedResponse> commissionsUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCommissionsUpdatedRequest> $request) async {
    return commissionsUpdated($call, await $request);
  }

  $async.Future<$0.AppointmentCommissionsUpdatedResponse> commissionsUpdated($grpc.ServiceCall call, $0.AppointmentCommissionsUpdatedRequest request);

  $async.Future<$0.AppointmentReasonUpdatedResponse> reasonUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentReasonUpdatedRequest> $request) async {
    return reasonUpdated($call, await $request);
  }

  $async.Future<$0.AppointmentReasonUpdatedResponse> reasonUpdated($grpc.ServiceCall call, $0.AppointmentReasonUpdatedRequest request);

  $async.Future<$0.AppointmentCarrierInformationUpdatedResponse> carrierInformationUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCarrierInformationUpdatedRequest> $request) async {
    return carrierInformationUpdated($call, await $request);
  }

  $async.Future<$0.AppointmentCarrierInformationUpdatedResponse> carrierInformationUpdated($grpc.ServiceCall call, $0.AppointmentCarrierInformationUpdatedRequest request);

  $async.Future<$0.AppointmentCarrierExpectedResponse> carrierExpected_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCarrierExpectedRequest> $request) async {
    return carrierExpected($call, await $request);
  }

  $async.Future<$0.AppointmentCarrierExpectedResponse> carrierExpected($grpc.ServiceCall call, $0.AppointmentCarrierExpectedRequest request);

  $async.Future<$0.AppointmentAllocationErrorResponse> allocationError_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentAllocationErrorRequest> $request) async {
    return allocationError($call, await $request);
  }

  $async.Future<$0.AppointmentAllocationErrorResponse> allocationError($grpc.ServiceCall call, $0.AppointmentAllocationErrorRequest request);

  $async.Future<$0.AppointmentAllocationConfirmedResponse> allocationConfirmed_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentAllocationConfirmedRequest> $request) async {
    return allocationConfirmed($call, await $request);
  }

  $async.Future<$0.AppointmentAllocationConfirmedResponse> allocationConfirmed($grpc.ServiceCall call, $0.AppointmentAllocationConfirmedRequest request);

  $async.Future<$0.AppointmentCarrierArrivedResponse> carrierArrived_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCarrierArrivedRequest> $request) async {
    return carrierArrived($call, await $request);
  }

  $async.Future<$0.AppointmentCarrierArrivedResponse> carrierArrived($grpc.ServiceCall call, $0.AppointmentCarrierArrivedRequest request);

  $async.Future<$0.AppointmentLoadingStartedResponse> loadingStarted_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentLoadingStartedRequest> $request) async {
    return loadingStarted($call, await $request);
  }

  $async.Future<$0.AppointmentLoadingStartedResponse> loadingStarted($grpc.ServiceCall call, $0.AppointmentLoadingStartedRequest request);

  $async.Future<$0.AppointmentLoadingCompletedResponse> loadingCompleted_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentLoadingCompletedRequest> $request) async {
    return loadingCompleted($call, await $request);
  }

  $async.Future<$0.AppointmentLoadingCompletedResponse> loadingCompleted($grpc.ServiceCall call, $0.AppointmentLoadingCompletedRequest request);

  $async.Future<$0.AppointmentUnloadingStartedResponse> unloadingStarted_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentUnloadingStartedRequest> $request) async {
    return unloadingStarted($call, await $request);
  }

  $async.Future<$0.AppointmentUnloadingStartedResponse> unloadingStarted($grpc.ServiceCall call, $0.AppointmentUnloadingStartedRequest request);

  $async.Future<$0.AppointmentUnloadingCompletedResponse> unloadingCompleted_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentUnloadingCompletedRequest> $request) async {
    return unloadingCompleted($call, await $request);
  }

  $async.Future<$0.AppointmentUnloadingCompletedResponse> unloadingCompleted($grpc.ServiceCall call, $0.AppointmentUnloadingCompletedRequest request);

  $async.Future<$0.AppointmentCarrierDepartedResponse> carrierDeparted_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCarrierDepartedRequest> $request) async {
    return carrierDeparted($call, await $request);
  }

  $async.Future<$0.AppointmentCarrierDepartedResponse> carrierDeparted($grpc.ServiceCall call, $0.AppointmentCarrierDepartedRequest request);

  $async.Future<$0.AppointmentMetaDataUpdatedResponse> metaDataUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentMetaDataUpdatedRequest> $request) async {
    return metaDataUpdated($call, await $request);
  }

  $async.Future<$0.AppointmentMetaDataUpdatedResponse> metaDataUpdated($grpc.ServiceCall call, $0.AppointmentMetaDataUpdatedRequest request);

  $async.Future<$0.AppointmentAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentAttachmentAddedRequest> $request) async {
    return attachmentAdded($call, await $request);
  }

  $async.Future<$0.AppointmentAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $0.AppointmentAttachmentAddedRequest request);

  $async.Future<$0.AppointmentAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentAttachmentRemovedRequest> $request) async {
    return attachmentRemoved($call, await $request);
  }

  $async.Future<$0.AppointmentAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $0.AppointmentAttachmentRemovedRequest request);

  $async.Future<$0.AppointmentEmailsAddedResponse> emailsAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentEmailsAddedRequest> $request) async {
    return emailsAdded($call, await $request);
  }

  $async.Future<$0.AppointmentEmailsAddedResponse> emailsAdded($grpc.ServiceCall call, $0.AppointmentEmailsAddedRequest request);

  $async.Future<$0.AppointmentEmailsRemovedResponse> emailsRemoved_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentEmailsRemovedRequest> $request) async {
    return emailsRemoved($call, await $request);
  }

  $async.Future<$0.AppointmentEmailsRemovedResponse> emailsRemoved($grpc.ServiceCall call, $0.AppointmentEmailsRemovedRequest request);

  $async.Future<$0.AppointmentAttendeesAddedResponse> attendeesAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentAttendeesAddedRequest> $request) async {
    return attendeesAdded($call, await $request);
  }

  $async.Future<$0.AppointmentAttendeesAddedResponse> attendeesAdded($grpc.ServiceCall call, $0.AppointmentAttendeesAddedRequest request);

  $async.Future<$0.AppointmentAttendeesRemovedResponse> attendeesRemoved_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentAttendeesRemovedRequest> $request) async {
    return attendeesRemoved($call, await $request);
  }

  $async.Future<$0.AppointmentAttendeesRemovedResponse> attendeesRemoved($grpc.ServiceCall call, $0.AppointmentAttendeesRemovedRequest request);

  $async.Future<$0.AppointmentSanitisedResponse> sanitised_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentSanitisedRequest> $request) async {
    return sanitised($call, await $request);
  }

  $async.Future<$0.AppointmentSanitisedResponse> sanitised($grpc.ServiceCall call, $0.AppointmentSanitisedRequest request);

  $async.Future<$0.AppointmentCustomFieldsUpdatedResponse> customFieldsUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentCustomFieldsUpdatedRequest> $request) async {
    return customFieldsUpdated($call, await $request);
  }

  $async.Future<$0.AppointmentCustomFieldsUpdatedResponse> customFieldsUpdated($grpc.ServiceCall call, $0.AppointmentCustomFieldsUpdatedRequest request);

  $async.Future<$0.AppointmentRedetectedResponse> redetected_Pre($grpc.ServiceCall $call, $async.Future<$0.AppointmentRedetectedRequest> $request) async {
    return redetected($call, await $request);
  }

  $async.Future<$0.AppointmentRedetectedResponse> redetected($grpc.ServiceCall call, $0.AppointmentRedetectedRequest request);

}
