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