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