Files
dart-core-sdk/lib/trackingInput.pbgrpc.dart
2025-04-01 09:54:53 +00:00

221 lines
12 KiB
Dart

//
// Generated code. Do not modify.
// source: trackingInput.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 'trackingInput.pb.dart' as $27;
export 'trackingInput.pb.dart';
@$pb.GrpcServiceName('api.TrackingInputAPI')
class TrackingInputAPIClient extends $grpc.Client {
static final _$notified = $grpc.ClientMethod<$27.TrackingNotifiedRequest, $27.TrackingNotifiedResponse>(
'/api.TrackingInputAPI/Notified',
($27.TrackingNotifiedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $27.TrackingNotifiedResponse.fromBuffer(value));
static final _$eTAUpdated = $grpc.ClientMethod<$27.TrackingETAUpdatedRequest, $27.TrackingETAUpdatedResponse>(
'/api.TrackingInputAPI/ETAUpdated',
($27.TrackingETAUpdatedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $27.TrackingETAUpdatedResponse.fromBuffer(value));
static final _$dispatched = $grpc.ClientMethod<$27.TrackingDispatchedRequest, $27.TrackingDispatchedResponse>(
'/api.TrackingInputAPI/Dispatched',
($27.TrackingDispatchedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $27.TrackingDispatchedResponse.fromBuffer(value));
static final _$hULabeled = $grpc.ClientMethod<$27.TrackingHULabeledRequest, $27.TrackingHULabeledResponse>(
'/api.TrackingInputAPI/HULabeled',
($27.TrackingHULabeledRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $27.TrackingHULabeledResponse.fromBuffer(value));
static final _$switched = $grpc.ClientMethod<$27.TrackingSwitchedRequest, $27.TrackingSwitchedResponse>(
'/api.TrackingInputAPI/Switched',
($27.TrackingSwitchedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $27.TrackingSwitchedResponse.fromBuffer(value));
static final _$attachmentAdded = $grpc.ClientMethod<$27.TrackingAttachmentAddedRequest, $27.TrackingAttachmentAddedResponse>(
'/api.TrackingInputAPI/AttachmentAdded',
($27.TrackingAttachmentAddedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $27.TrackingAttachmentAddedResponse.fromBuffer(value));
static final _$attachmentRemoved = $grpc.ClientMethod<$27.TrackingAttachmentRemovedRequest, $27.TrackingAttachmentRemovedResponse>(
'/api.TrackingInputAPI/AttachmentRemoved',
($27.TrackingAttachmentRemovedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $27.TrackingAttachmentRemovedResponse.fromBuffer(value));
static final _$deleted = $grpc.ClientMethod<$27.TrackingDeletedRequest, $27.TrackingDeletedResponse>(
'/api.TrackingInputAPI/Deleted',
($27.TrackingDeletedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $27.TrackingDeletedResponse.fromBuffer(value));
static final _$uRLUpdated = $grpc.ClientMethod<$27.TrackingURLUpdatedRequest, $27.TrackingURLUpdatedResponse>(
'/api.TrackingInputAPI/URLUpdated',
($27.TrackingURLUpdatedRequest value) => value.writeToBuffer(),
($core.List<$core.int> value) => $27.TrackingURLUpdatedResponse.fromBuffer(value));
TrackingInputAPIClient($grpc.ClientChannel channel,
{$grpc.CallOptions? options,
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
: super(channel, options: options,
interceptors: interceptors);
$grpc.ResponseFuture<$27.TrackingNotifiedResponse> notified($27.TrackingNotifiedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$notified, request, options: options);
}
$grpc.ResponseFuture<$27.TrackingETAUpdatedResponse> eTAUpdated($27.TrackingETAUpdatedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$eTAUpdated, request, options: options);
}
@$core.Deprecated('This method is deprecated')
$grpc.ResponseFuture<$27.TrackingDispatchedResponse> dispatched($27.TrackingDispatchedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$dispatched, request, options: options);
}
$grpc.ResponseFuture<$27.TrackingHULabeledResponse> hULabeled($27.TrackingHULabeledRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$hULabeled, request, options: options);
}
$grpc.ResponseFuture<$27.TrackingSwitchedResponse> switched($27.TrackingSwitchedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$switched, request, options: options);
}
$grpc.ResponseFuture<$27.TrackingAttachmentAddedResponse> attachmentAdded($27.TrackingAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$attachmentAdded, request, options: options);
}
$grpc.ResponseFuture<$27.TrackingAttachmentRemovedResponse> attachmentRemoved($27.TrackingAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$attachmentRemoved, request, options: options);
}
$grpc.ResponseFuture<$27.TrackingDeletedResponse> deleted($27.TrackingDeletedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$deleted, request, options: options);
}
$grpc.ResponseFuture<$27.TrackingURLUpdatedResponse> uRLUpdated($27.TrackingURLUpdatedRequest request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$uRLUpdated, request, options: options);
}
}
@$pb.GrpcServiceName('api.TrackingInputAPI')
abstract class TrackingInputAPIServiceBase extends $grpc.Service {
$core.String get $name => 'api.TrackingInputAPI';
TrackingInputAPIServiceBase() {
$addMethod($grpc.ServiceMethod<$27.TrackingNotifiedRequest, $27.TrackingNotifiedResponse>(
'Notified',
notified_Pre,
false,
false,
($core.List<$core.int> value) => $27.TrackingNotifiedRequest.fromBuffer(value),
($27.TrackingNotifiedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$27.TrackingETAUpdatedRequest, $27.TrackingETAUpdatedResponse>(
'ETAUpdated',
eTAUpdated_Pre,
false,
false,
($core.List<$core.int> value) => $27.TrackingETAUpdatedRequest.fromBuffer(value),
($27.TrackingETAUpdatedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$27.TrackingDispatchedRequest, $27.TrackingDispatchedResponse>(
'Dispatched',
dispatched_Pre,
false,
false,
($core.List<$core.int> value) => $27.TrackingDispatchedRequest.fromBuffer(value),
($27.TrackingDispatchedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$27.TrackingHULabeledRequest, $27.TrackingHULabeledResponse>(
'HULabeled',
hULabeled_Pre,
false,
false,
($core.List<$core.int> value) => $27.TrackingHULabeledRequest.fromBuffer(value),
($27.TrackingHULabeledResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$27.TrackingSwitchedRequest, $27.TrackingSwitchedResponse>(
'Switched',
switched_Pre,
false,
false,
($core.List<$core.int> value) => $27.TrackingSwitchedRequest.fromBuffer(value),
($27.TrackingSwitchedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$27.TrackingAttachmentAddedRequest, $27.TrackingAttachmentAddedResponse>(
'AttachmentAdded',
attachmentAdded_Pre,
false,
false,
($core.List<$core.int> value) => $27.TrackingAttachmentAddedRequest.fromBuffer(value),
($27.TrackingAttachmentAddedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$27.TrackingAttachmentRemovedRequest, $27.TrackingAttachmentRemovedResponse>(
'AttachmentRemoved',
attachmentRemoved_Pre,
false,
false,
($core.List<$core.int> value) => $27.TrackingAttachmentRemovedRequest.fromBuffer(value),
($27.TrackingAttachmentRemovedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$27.TrackingDeletedRequest, $27.TrackingDeletedResponse>(
'Deleted',
deleted_Pre,
false,
false,
($core.List<$core.int> value) => $27.TrackingDeletedRequest.fromBuffer(value),
($27.TrackingDeletedResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$27.TrackingURLUpdatedRequest, $27.TrackingURLUpdatedResponse>(
'URLUpdated',
uRLUpdated_Pre,
false,
false,
($core.List<$core.int> value) => $27.TrackingURLUpdatedRequest.fromBuffer(value),
($27.TrackingURLUpdatedResponse value) => value.writeToBuffer()));
}
$async.Future<$27.TrackingNotifiedResponse> notified_Pre($grpc.ServiceCall $call, $async.Future<$27.TrackingNotifiedRequest> $request) async {
return notified($call, await $request);
}
$async.Future<$27.TrackingETAUpdatedResponse> eTAUpdated_Pre($grpc.ServiceCall $call, $async.Future<$27.TrackingETAUpdatedRequest> $request) async {
return eTAUpdated($call, await $request);
}
$async.Future<$27.TrackingDispatchedResponse> dispatched_Pre($grpc.ServiceCall $call, $async.Future<$27.TrackingDispatchedRequest> $request) async {
return dispatched($call, await $request);
}
$async.Future<$27.TrackingHULabeledResponse> hULabeled_Pre($grpc.ServiceCall $call, $async.Future<$27.TrackingHULabeledRequest> $request) async {
return hULabeled($call, await $request);
}
$async.Future<$27.TrackingSwitchedResponse> switched_Pre($grpc.ServiceCall $call, $async.Future<$27.TrackingSwitchedRequest> $request) async {
return switched($call, await $request);
}
$async.Future<$27.TrackingAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$27.TrackingAttachmentAddedRequest> $request) async {
return attachmentAdded($call, await $request);
}
$async.Future<$27.TrackingAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$27.TrackingAttachmentRemovedRequest> $request) async {
return attachmentRemoved($call, await $request);
}
$async.Future<$27.TrackingDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$27.TrackingDeletedRequest> $request) async {
return deleted($call, await $request);
}
$async.Future<$27.TrackingURLUpdatedResponse> uRLUpdated_Pre($grpc.ServiceCall $call, $async.Future<$27.TrackingURLUpdatedRequest> $request) async {
return uRLUpdated($call, await $request);
}
$async.Future<$27.TrackingNotifiedResponse> notified($grpc.ServiceCall call, $27.TrackingNotifiedRequest request);
$async.Future<$27.TrackingETAUpdatedResponse> eTAUpdated($grpc.ServiceCall call, $27.TrackingETAUpdatedRequest request);
$async.Future<$27.TrackingDispatchedResponse> dispatched($grpc.ServiceCall call, $27.TrackingDispatchedRequest request);
$async.Future<$27.TrackingHULabeledResponse> hULabeled($grpc.ServiceCall call, $27.TrackingHULabeledRequest request);
$async.Future<$27.TrackingSwitchedResponse> switched($grpc.ServiceCall call, $27.TrackingSwitchedRequest request);
$async.Future<$27.TrackingAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $27.TrackingAttachmentAddedRequest request);
$async.Future<$27.TrackingAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $27.TrackingAttachmentRemovedRequest request);
$async.Future<$27.TrackingDeletedResponse> deleted($grpc.ServiceCall call, $27.TrackingDeletedRequest request);
$async.Future<$27.TrackingURLUpdatedResponse> uRLUpdated($grpc.ServiceCall call, $27.TrackingURLUpdatedRequest request);
}