// // Generated code. Do not modify. // source: appointmentInput.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 'appointmentInput.pb.dart' as $63; export 'appointmentInput.pb.dart'; @$pb.GrpcServiceName('api.AppointmentInputAPI') class AppointmentInputAPIClient extends $grpc.Client { static final _$created = $grpc.ClientMethod<$63.AppointmentCreatedRequest, $63.AppointmentCreatedResponse>( '/api.AppointmentInputAPI/Created', ($63.AppointmentCreatedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $63.AppointmentCreatedResponse.fromBuffer(value)); static final _$canceled = $grpc.ClientMethod<$63.AppointmentCanceledRequest, $63.AppointmentCanceledResponse>( '/api.AppointmentInputAPI/Canceled', ($63.AppointmentCanceledRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $63.AppointmentCanceledResponse.fromBuffer(value)); static final _$carrierInformationUpdated = $grpc.ClientMethod<$63.AppointmentCarrierInformationUpdatedRequest, $63.AppointmentCarrierInformationUpdatedResponse>( '/api.AppointmentInputAPI/CarrierInformationUpdated', ($63.AppointmentCarrierInformationUpdatedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $63.AppointmentCarrierInformationUpdatedResponse.fromBuffer(value)); static final _$carrierExpected = $grpc.ClientMethod<$63.AppointmentCarrierExpectedRequest, $63.AppointmentCarrierExpectedResponse>( '/api.AppointmentInputAPI/CarrierExpected', ($63.AppointmentCarrierExpectedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $63.AppointmentCarrierExpectedResponse.fromBuffer(value)); static final _$carrierArrived = $grpc.ClientMethod<$63.AppointmentCarrierArrivedRequest, $63.AppointmentCarrierArrivedResponse>( '/api.AppointmentInputAPI/CarrierArrived', ($63.AppointmentCarrierArrivedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $63.AppointmentCarrierArrivedResponse.fromBuffer(value)); static final _$expeditionStarted = $grpc.ClientMethod<$63.AppointmentExpeditionStartedRequest, $63.AppointmentExpeditionStartedResponse>( '/api.AppointmentInputAPI/ExpeditionStarted', ($63.AppointmentExpeditionStartedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $63.AppointmentExpeditionStartedResponse.fromBuffer(value)); static final _$expeditionLoaded = $grpc.ClientMethod<$63.AppointmentExpeditionLoadedRequest, $63.AppointmentExpeditionLoadedResponse>( '/api.AppointmentInputAPI/ExpeditionLoaded', ($63.AppointmentExpeditionLoadedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $63.AppointmentExpeditionLoadedResponse.fromBuffer(value)); static final _$receptionStarted = $grpc.ClientMethod<$63.AppointmentReceptionStartedRequest, $63.AppointmentReceptionStartedResponse>( '/api.AppointmentInputAPI/ReceptionStarted', ($63.AppointmentReceptionStartedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $63.AppointmentReceptionStartedResponse.fromBuffer(value)); static final _$receptionUnloaded = $grpc.ClientMethod<$63.AppointmentReceptionUnloadedRequest, $63.AppointmentReceptionUnloadedResponse>( '/api.AppointmentInputAPI/ReceptionUnloaded', ($63.AppointmentReceptionUnloadedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $63.AppointmentReceptionUnloadedResponse.fromBuffer(value)); static final _$carrierDeparted = $grpc.ClientMethod<$63.AppointmentCarrierDepartedRequest, $63.AppointmentCarrierDepartedResponse>( '/api.AppointmentInputAPI/CarrierDeparted', ($63.AppointmentCarrierDepartedRequest value) => value.writeToBuffer(), ($core.List<$core.int> value) => $63.AppointmentCarrierDepartedResponse.fromBuffer(value)); AppointmentInputAPIClient($grpc.ClientChannel channel, {$grpc.CallOptions? options, $core.Iterable<$grpc.ClientInterceptor>? interceptors}) : super(channel, options: options, interceptors: interceptors); $grpc.ResponseFuture<$63.AppointmentCreatedResponse> created($63.AppointmentCreatedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$created, request, options: options); } $grpc.ResponseFuture<$63.AppointmentCanceledResponse> canceled($63.AppointmentCanceledRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$canceled, request, options: options); } $grpc.ResponseFuture<$63.AppointmentCarrierInformationUpdatedResponse> carrierInformationUpdated($63.AppointmentCarrierInformationUpdatedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$carrierInformationUpdated, request, options: options); } $grpc.ResponseFuture<$63.AppointmentCarrierExpectedResponse> carrierExpected($63.AppointmentCarrierExpectedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$carrierExpected, request, options: options); } $grpc.ResponseFuture<$63.AppointmentCarrierArrivedResponse> carrierArrived($63.AppointmentCarrierArrivedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$carrierArrived, request, options: options); } $grpc.ResponseFuture<$63.AppointmentExpeditionStartedResponse> expeditionStarted($63.AppointmentExpeditionStartedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$expeditionStarted, request, options: options); } $grpc.ResponseFuture<$63.AppointmentExpeditionLoadedResponse> expeditionLoaded($63.AppointmentExpeditionLoadedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$expeditionLoaded, request, options: options); } $grpc.ResponseFuture<$63.AppointmentReceptionStartedResponse> receptionStarted($63.AppointmentReceptionStartedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$receptionStarted, request, options: options); } $grpc.ResponseFuture<$63.AppointmentReceptionUnloadedResponse> receptionUnloaded($63.AppointmentReceptionUnloadedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$receptionUnloaded, request, options: options); } $grpc.ResponseFuture<$63.AppointmentCarrierDepartedResponse> carrierDeparted($63.AppointmentCarrierDepartedRequest request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$carrierDeparted, request, options: options); } } @$pb.GrpcServiceName('api.AppointmentInputAPI') abstract class AppointmentInputAPIServiceBase extends $grpc.Service { $core.String get $name => 'api.AppointmentInputAPI'; AppointmentInputAPIServiceBase() { $addMethod($grpc.ServiceMethod<$63.AppointmentCreatedRequest, $63.AppointmentCreatedResponse>( 'Created', created_Pre, false, false, ($core.List<$core.int> value) => $63.AppointmentCreatedRequest.fromBuffer(value), ($63.AppointmentCreatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$63.AppointmentCanceledRequest, $63.AppointmentCanceledResponse>( 'Canceled', canceled_Pre, false, false, ($core.List<$core.int> value) => $63.AppointmentCanceledRequest.fromBuffer(value), ($63.AppointmentCanceledResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$63.AppointmentCarrierInformationUpdatedRequest, $63.AppointmentCarrierInformationUpdatedResponse>( 'CarrierInformationUpdated', carrierInformationUpdated_Pre, false, false, ($core.List<$core.int> value) => $63.AppointmentCarrierInformationUpdatedRequest.fromBuffer(value), ($63.AppointmentCarrierInformationUpdatedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$63.AppointmentCarrierExpectedRequest, $63.AppointmentCarrierExpectedResponse>( 'CarrierExpected', carrierExpected_Pre, false, false, ($core.List<$core.int> value) => $63.AppointmentCarrierExpectedRequest.fromBuffer(value), ($63.AppointmentCarrierExpectedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$63.AppointmentCarrierArrivedRequest, $63.AppointmentCarrierArrivedResponse>( 'CarrierArrived', carrierArrived_Pre, false, false, ($core.List<$core.int> value) => $63.AppointmentCarrierArrivedRequest.fromBuffer(value), ($63.AppointmentCarrierArrivedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$63.AppointmentExpeditionStartedRequest, $63.AppointmentExpeditionStartedResponse>( 'ExpeditionStarted', expeditionStarted_Pre, false, false, ($core.List<$core.int> value) => $63.AppointmentExpeditionStartedRequest.fromBuffer(value), ($63.AppointmentExpeditionStartedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$63.AppointmentExpeditionLoadedRequest, $63.AppointmentExpeditionLoadedResponse>( 'ExpeditionLoaded', expeditionLoaded_Pre, false, false, ($core.List<$core.int> value) => $63.AppointmentExpeditionLoadedRequest.fromBuffer(value), ($63.AppointmentExpeditionLoadedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$63.AppointmentReceptionStartedRequest, $63.AppointmentReceptionStartedResponse>( 'ReceptionStarted', receptionStarted_Pre, false, false, ($core.List<$core.int> value) => $63.AppointmentReceptionStartedRequest.fromBuffer(value), ($63.AppointmentReceptionStartedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$63.AppointmentReceptionUnloadedRequest, $63.AppointmentReceptionUnloadedResponse>( 'ReceptionUnloaded', receptionUnloaded_Pre, false, false, ($core.List<$core.int> value) => $63.AppointmentReceptionUnloadedRequest.fromBuffer(value), ($63.AppointmentReceptionUnloadedResponse value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$63.AppointmentCarrierDepartedRequest, $63.AppointmentCarrierDepartedResponse>( 'CarrierDeparted', carrierDeparted_Pre, false, false, ($core.List<$core.int> value) => $63.AppointmentCarrierDepartedRequest.fromBuffer(value), ($63.AppointmentCarrierDepartedResponse value) => value.writeToBuffer())); } $async.Future<$63.AppointmentCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$63.AppointmentCreatedRequest> $request) async { return created($call, await $request); } $async.Future<$63.AppointmentCanceledResponse> canceled_Pre($grpc.ServiceCall $call, $async.Future<$63.AppointmentCanceledRequest> $request) async { return canceled($call, await $request); } $async.Future<$63.AppointmentCarrierInformationUpdatedResponse> carrierInformationUpdated_Pre($grpc.ServiceCall $call, $async.Future<$63.AppointmentCarrierInformationUpdatedRequest> $request) async { return carrierInformationUpdated($call, await $request); } $async.Future<$63.AppointmentCarrierExpectedResponse> carrierExpected_Pre($grpc.ServiceCall $call, $async.Future<$63.AppointmentCarrierExpectedRequest> $request) async { return carrierExpected($call, await $request); } $async.Future<$63.AppointmentCarrierArrivedResponse> carrierArrived_Pre($grpc.ServiceCall $call, $async.Future<$63.AppointmentCarrierArrivedRequest> $request) async { return carrierArrived($call, await $request); } $async.Future<$63.AppointmentExpeditionStartedResponse> expeditionStarted_Pre($grpc.ServiceCall $call, $async.Future<$63.AppointmentExpeditionStartedRequest> $request) async { return expeditionStarted($call, await $request); } $async.Future<$63.AppointmentExpeditionLoadedResponse> expeditionLoaded_Pre($grpc.ServiceCall $call, $async.Future<$63.AppointmentExpeditionLoadedRequest> $request) async { return expeditionLoaded($call, await $request); } $async.Future<$63.AppointmentReceptionStartedResponse> receptionStarted_Pre($grpc.ServiceCall $call, $async.Future<$63.AppointmentReceptionStartedRequest> $request) async { return receptionStarted($call, await $request); } $async.Future<$63.AppointmentReceptionUnloadedResponse> receptionUnloaded_Pre($grpc.ServiceCall $call, $async.Future<$63.AppointmentReceptionUnloadedRequest> $request) async { return receptionUnloaded($call, await $request); } $async.Future<$63.AppointmentCarrierDepartedResponse> carrierDeparted_Pre($grpc.ServiceCall $call, $async.Future<$63.AppointmentCarrierDepartedRequest> $request) async { return carrierDeparted($call, await $request); } $async.Future<$63.AppointmentCreatedResponse> created($grpc.ServiceCall call, $63.AppointmentCreatedRequest request); $async.Future<$63.AppointmentCanceledResponse> canceled($grpc.ServiceCall call, $63.AppointmentCanceledRequest request); $async.Future<$63.AppointmentCarrierInformationUpdatedResponse> carrierInformationUpdated($grpc.ServiceCall call, $63.AppointmentCarrierInformationUpdatedRequest request); $async.Future<$63.AppointmentCarrierExpectedResponse> carrierExpected($grpc.ServiceCall call, $63.AppointmentCarrierExpectedRequest request); $async.Future<$63.AppointmentCarrierArrivedResponse> carrierArrived($grpc.ServiceCall call, $63.AppointmentCarrierArrivedRequest request); $async.Future<$63.AppointmentExpeditionStartedResponse> expeditionStarted($grpc.ServiceCall call, $63.AppointmentExpeditionStartedRequest request); $async.Future<$63.AppointmentExpeditionLoadedResponse> expeditionLoaded($grpc.ServiceCall call, $63.AppointmentExpeditionLoadedRequest request); $async.Future<$63.AppointmentReceptionStartedResponse> receptionStarted($grpc.ServiceCall call, $63.AppointmentReceptionStartedRequest request); $async.Future<$63.AppointmentReceptionUnloadedResponse> receptionUnloaded($grpc.ServiceCall call, $63.AppointmentReceptionUnloadedRequest request); $async.Future<$63.AppointmentCarrierDepartedResponse> carrierDeparted($grpc.ServiceCall call, $63.AppointmentCarrierDepartedRequest request); }