Files
dart-core-sdk/lib/appointmentInput.pbgrpc.dart
2025-06-02 13:25:01 +00:00

247 lines
14 KiB
Dart

//
// 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
// 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 $7;
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 = [
'',
];
static final _$created = $grpc.ClientMethod<$7.AppointmentCreatedRequest, $7.AppointmentCreatedResponse>(
'/api.AppointmentInputAPI/Created',
($7.AppointmentCreatedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $7.AppointmentCreatedResponse.fromBuffer(value));
static final _$canceled = $grpc.ClientMethod<$7.AppointmentCanceledRequest, $7.AppointmentCanceledResponse>(
'/api.AppointmentInputAPI/Canceled',
($7.AppointmentCanceledRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $7.AppointmentCanceledResponse.fromBuffer(value));
static final _$carrierInformationUpdated = $grpc.ClientMethod<$7.AppointmentCarrierInformationUpdatedRequest, $7.AppointmentCarrierInformationUpdatedResponse>(
'/api.AppointmentInputAPI/CarrierInformationUpdated',
($7.AppointmentCarrierInformationUpdatedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $7.AppointmentCarrierInformationUpdatedResponse.fromBuffer(value));
static final _$carrierExpected = $grpc.ClientMethod<$7.AppointmentCarrierExpectedRequest, $7.AppointmentCarrierExpectedResponse>(
'/api.AppointmentInputAPI/CarrierExpected',
($7.AppointmentCarrierExpectedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $7.AppointmentCarrierExpectedResponse.fromBuffer(value));
static final _$carrierArrived = $grpc.ClientMethod<$7.AppointmentCarrierArrivedRequest, $7.AppointmentCarrierArrivedResponse>(
'/api.AppointmentInputAPI/CarrierArrived',
($7.AppointmentCarrierArrivedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $7.AppointmentCarrierArrivedResponse.fromBuffer(value));
static final _$expeditionStarted = $grpc.ClientMethod<$7.AppointmentExpeditionStartedRequest, $7.AppointmentExpeditionStartedResponse>(
'/api.AppointmentInputAPI/ExpeditionStarted',
($7.AppointmentExpeditionStartedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $7.AppointmentExpeditionStartedResponse.fromBuffer(value));
static final _$expeditionLoaded = $grpc.ClientMethod<$7.AppointmentExpeditionLoadedRequest, $7.AppointmentExpeditionLoadedResponse>(
'/api.AppointmentInputAPI/ExpeditionLoaded',
($7.AppointmentExpeditionLoadedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $7.AppointmentExpeditionLoadedResponse.fromBuffer(value));
static final _$receptionStarted = $grpc.ClientMethod<$7.AppointmentReceptionStartedRequest, $7.AppointmentReceptionStartedResponse>(
'/api.AppointmentInputAPI/ReceptionStarted',
($7.AppointmentReceptionStartedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $7.AppointmentReceptionStartedResponse.fromBuffer(value));
static final _$receptionUnloaded = $grpc.ClientMethod<$7.AppointmentReceptionUnloadedRequest, $7.AppointmentReceptionUnloadedResponse>(
'/api.AppointmentInputAPI/ReceptionUnloaded',
($7.AppointmentReceptionUnloadedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $7.AppointmentReceptionUnloadedResponse.fromBuffer(value));
static final _$carrierDeparted = $grpc.ClientMethod<$7.AppointmentCarrierDepartedRequest, $7.AppointmentCarrierDepartedResponse>(
'/api.AppointmentInputAPI/CarrierDeparted',
($7.AppointmentCarrierDepartedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $7.AppointmentCarrierDepartedResponse.fromBuffer(value));
AppointmentInputAPIClient(super.channel, {super.options, super.interceptors});
$grpc.ResponseFuture<$7.AppointmentCreatedResponse> created($7.AppointmentCreatedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$created, request, options: options);
}
$grpc.ResponseFuture<$7.AppointmentCanceledResponse> canceled($7.AppointmentCanceledRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$canceled, request, options: options);
}
$grpc.ResponseFuture<$7.AppointmentCarrierInformationUpdatedResponse> carrierInformationUpdated($7.AppointmentCarrierInformationUpdatedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$carrierInformationUpdated, request, options: options);
}
$grpc.ResponseFuture<$7.AppointmentCarrierExpectedResponse> carrierExpected($7.AppointmentCarrierExpectedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$carrierExpected, request, options: options);
}
$grpc.ResponseFuture<$7.AppointmentCarrierArrivedResponse> carrierArrived($7.AppointmentCarrierArrivedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$carrierArrived, request, options: options);
}
$grpc.ResponseFuture<$7.AppointmentExpeditionStartedResponse> expeditionStarted($7.AppointmentExpeditionStartedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$expeditionStarted, request, options: options);
}
$grpc.ResponseFuture<$7.AppointmentExpeditionLoadedResponse> expeditionLoaded($7.AppointmentExpeditionLoadedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$expeditionLoaded, request, options: options);
}
$grpc.ResponseFuture<$7.AppointmentReceptionStartedResponse> receptionStarted($7.AppointmentReceptionStartedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$receptionStarted, request, options: options);
}
$grpc.ResponseFuture<$7.AppointmentReceptionUnloadedResponse> receptionUnloaded($7.AppointmentReceptionUnloadedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$receptionUnloaded, request, options: options);
}
$grpc.ResponseFuture<$7.AppointmentCarrierDepartedResponse> carrierDeparted($7.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<$7.AppointmentCreatedRequest, $7.AppointmentCreatedResponse>(
'Created',
created_Pre,
false,
false,
($core.List<$core.int> value) => $7.AppointmentCreatedRequest.fromBuffer(value),
($7.AppointmentCreatedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.AppointmentCanceledRequest, $7.AppointmentCanceledResponse>(
'Canceled',
canceled_Pre,
false,
false,
($core.List<$core.int> value) => $7.AppointmentCanceledRequest.fromBuffer(value),
($7.AppointmentCanceledResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.AppointmentCarrierInformationUpdatedRequest, $7.AppointmentCarrierInformationUpdatedResponse>(
'CarrierInformationUpdated',
carrierInformationUpdated_Pre,
false,
false,
($core.List<$core.int> value) => $7.AppointmentCarrierInformationUpdatedRequest.fromBuffer(value),
($7.AppointmentCarrierInformationUpdatedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.AppointmentCarrierExpectedRequest, $7.AppointmentCarrierExpectedResponse>(
'CarrierExpected',
carrierExpected_Pre,
false,
false,
($core.List<$core.int> value) => $7.AppointmentCarrierExpectedRequest.fromBuffer(value),
($7.AppointmentCarrierExpectedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.AppointmentCarrierArrivedRequest, $7.AppointmentCarrierArrivedResponse>(
'CarrierArrived',
carrierArrived_Pre,
false,
false,
($core.List<$core.int> value) => $7.AppointmentCarrierArrivedRequest.fromBuffer(value),
($7.AppointmentCarrierArrivedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.AppointmentExpeditionStartedRequest, $7.AppointmentExpeditionStartedResponse>(
'ExpeditionStarted',
expeditionStarted_Pre,
false,
false,
($core.List<$core.int> value) => $7.AppointmentExpeditionStartedRequest.fromBuffer(value),
($7.AppointmentExpeditionStartedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.AppointmentExpeditionLoadedRequest, $7.AppointmentExpeditionLoadedResponse>(
'ExpeditionLoaded',
expeditionLoaded_Pre,
false,
false,
($core.List<$core.int> value) => $7.AppointmentExpeditionLoadedRequest.fromBuffer(value),
($7.AppointmentExpeditionLoadedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.AppointmentReceptionStartedRequest, $7.AppointmentReceptionStartedResponse>(
'ReceptionStarted',
receptionStarted_Pre,
false,
false,
($core.List<$core.int> value) => $7.AppointmentReceptionStartedRequest.fromBuffer(value),
($7.AppointmentReceptionStartedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.AppointmentReceptionUnloadedRequest, $7.AppointmentReceptionUnloadedResponse>(
'ReceptionUnloaded',
receptionUnloaded_Pre,
false,
false,
($core.List<$core.int> value) => $7.AppointmentReceptionUnloadedRequest.fromBuffer(value),
($7.AppointmentReceptionUnloadedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$7.AppointmentCarrierDepartedRequest, $7.AppointmentCarrierDepartedResponse>(
'CarrierDeparted',
carrierDeparted_Pre,
false,
false,
($core.List<$core.int> value) => $7.AppointmentCarrierDepartedRequest.fromBuffer(value),
($7.AppointmentCarrierDepartedResponse value) => value.writeToBuffer()));
}
$async.Future<$7.AppointmentCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$7.AppointmentCreatedRequest> $request) async {
return created($call, await $request);
}
$async.Future<$7.AppointmentCanceledResponse> canceled_Pre($grpc.ServiceCall $call, $async.Future<$7.AppointmentCanceledRequest> $request) async {
return canceled($call, await $request);
}
$async.Future<$7.AppointmentCarrierInformationUpdatedResponse> carrierInformationUpdated_Pre($grpc.ServiceCall $call, $async.Future<$7.AppointmentCarrierInformationUpdatedRequest> $request) async {
return carrierInformationUpdated($call, await $request);
}
$async.Future<$7.AppointmentCarrierExpectedResponse> carrierExpected_Pre($grpc.ServiceCall $call, $async.Future<$7.AppointmentCarrierExpectedRequest> $request) async {
return carrierExpected($call, await $request);
}
$async.Future<$7.AppointmentCarrierArrivedResponse> carrierArrived_Pre($grpc.ServiceCall $call, $async.Future<$7.AppointmentCarrierArrivedRequest> $request) async {
return carrierArrived($call, await $request);
}
$async.Future<$7.AppointmentExpeditionStartedResponse> expeditionStarted_Pre($grpc.ServiceCall $call, $async.Future<$7.AppointmentExpeditionStartedRequest> $request) async {
return expeditionStarted($call, await $request);
}
$async.Future<$7.AppointmentExpeditionLoadedResponse> expeditionLoaded_Pre($grpc.ServiceCall $call, $async.Future<$7.AppointmentExpeditionLoadedRequest> $request) async {
return expeditionLoaded($call, await $request);
}
$async.Future<$7.AppointmentReceptionStartedResponse> receptionStarted_Pre($grpc.ServiceCall $call, $async.Future<$7.AppointmentReceptionStartedRequest> $request) async {
return receptionStarted($call, await $request);
}
$async.Future<$7.AppointmentReceptionUnloadedResponse> receptionUnloaded_Pre($grpc.ServiceCall $call, $async.Future<$7.AppointmentReceptionUnloadedRequest> $request) async {
return receptionUnloaded($call, await $request);
}
$async.Future<$7.AppointmentCarrierDepartedResponse> carrierDeparted_Pre($grpc.ServiceCall $call, $async.Future<$7.AppointmentCarrierDepartedRequest> $request) async {
return carrierDeparted($call, await $request);
}
$async.Future<$7.AppointmentCreatedResponse> created($grpc.ServiceCall call, $7.AppointmentCreatedRequest request);
$async.Future<$7.AppointmentCanceledResponse> canceled($grpc.ServiceCall call, $7.AppointmentCanceledRequest request);
$async.Future<$7.AppointmentCarrierInformationUpdatedResponse> carrierInformationUpdated($grpc.ServiceCall call, $7.AppointmentCarrierInformationUpdatedRequest request);
$async.Future<$7.AppointmentCarrierExpectedResponse> carrierExpected($grpc.ServiceCall call, $7.AppointmentCarrierExpectedRequest request);
$async.Future<$7.AppointmentCarrierArrivedResponse> carrierArrived($grpc.ServiceCall call, $7.AppointmentCarrierArrivedRequest request);
$async.Future<$7.AppointmentExpeditionStartedResponse> expeditionStarted($grpc.ServiceCall call, $7.AppointmentExpeditionStartedRequest request);
$async.Future<$7.AppointmentExpeditionLoadedResponse> expeditionLoaded($grpc.ServiceCall call, $7.AppointmentExpeditionLoadedRequest request);
$async.Future<$7.AppointmentReceptionStartedResponse> receptionStarted($grpc.ServiceCall call, $7.AppointmentReceptionStartedRequest request);
$async.Future<$7.AppointmentReceptionUnloadedResponse> receptionUnloaded($grpc.ServiceCall call, $7.AppointmentReceptionUnloadedRequest request);
$async.Future<$7.AppointmentCarrierDepartedResponse> carrierDeparted($grpc.ServiceCall call, $7.AppointmentCarrierDepartedRequest request);
}