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