You've already forked dart-core-sdk
Latest generation
This commit is contained in:
199
lib/trackingInput.pbgrpc.dart
Normal file
199
lib/trackingInput.pbgrpc.dart
Normal file
@@ -0,0 +1,199 @@
|
||||
//
|
||||
// Generated code. Do not modify.
|
||||
// source: trackingInput.proto
|
||||
//
|
||||
// @dart = 2.12
|
||||
|
||||
// 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 $26;
|
||||
|
||||
export 'trackingInput.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.TrackingInputAPI')
|
||||
class TrackingInputAPIClient extends $grpc.Client {
|
||||
static final _$notified = $grpc.ClientMethod<$26.TrackingNotifiedRequest, $26.TrackingNotifiedResponse>(
|
||||
'/api.TrackingInputAPI/Notified',
|
||||
($26.TrackingNotifiedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $26.TrackingNotifiedResponse.fromBuffer(value));
|
||||
static final _$eTAUpdated = $grpc.ClientMethod<$26.TrackingETAUpdatedRequest, $26.TrackingETAUpdatedResponse>(
|
||||
'/api.TrackingInputAPI/ETAUpdated',
|
||||
($26.TrackingETAUpdatedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $26.TrackingETAUpdatedResponse.fromBuffer(value));
|
||||
static final _$dispatched = $grpc.ClientMethod<$26.TrackingDispatchedRequest, $26.TrackingDispatchedResponse>(
|
||||
'/api.TrackingInputAPI/Dispatched',
|
||||
($26.TrackingDispatchedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $26.TrackingDispatchedResponse.fromBuffer(value));
|
||||
static final _$hULabeled = $grpc.ClientMethod<$26.TrackingHULabeledRequest, $26.TrackingHULabeledResponse>(
|
||||
'/api.TrackingInputAPI/HULabeled',
|
||||
($26.TrackingHULabeledRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $26.TrackingHULabeledResponse.fromBuffer(value));
|
||||
static final _$switched = $grpc.ClientMethod<$26.TrackingSwitchedRequest, $26.TrackingSwitchedResponse>(
|
||||
'/api.TrackingInputAPI/Switched',
|
||||
($26.TrackingSwitchedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $26.TrackingSwitchedResponse.fromBuffer(value));
|
||||
static final _$attachmentAdded = $grpc.ClientMethod<$26.TrackingAttachmentAddedRequest, $26.TrackingAttachmentAddedResponse>(
|
||||
'/api.TrackingInputAPI/AttachmentAdded',
|
||||
($26.TrackingAttachmentAddedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $26.TrackingAttachmentAddedResponse.fromBuffer(value));
|
||||
static final _$attachmentRemoved = $grpc.ClientMethod<$26.TrackingAttachmentRemovedRequest, $26.TrackingAttachmentRemovedResponse>(
|
||||
'/api.TrackingInputAPI/AttachmentRemoved',
|
||||
($26.TrackingAttachmentRemovedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $26.TrackingAttachmentRemovedResponse.fromBuffer(value));
|
||||
static final _$deleted = $grpc.ClientMethod<$26.TrackingDeletedRequest, $26.TrackingDeletedResponse>(
|
||||
'/api.TrackingInputAPI/Deleted',
|
||||
($26.TrackingDeletedRequest value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $26.TrackingDeletedResponse.fromBuffer(value));
|
||||
|
||||
TrackingInputAPIClient($grpc.ClientChannel channel,
|
||||
{$grpc.CallOptions? options,
|
||||
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
|
||||
: super(channel, options: options,
|
||||
interceptors: interceptors);
|
||||
|
||||
$grpc.ResponseFuture<$26.TrackingNotifiedResponse> notified($26.TrackingNotifiedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$notified, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$26.TrackingETAUpdatedResponse> eTAUpdated($26.TrackingETAUpdatedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$eTAUpdated, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$26.TrackingDispatchedResponse> dispatched($26.TrackingDispatchedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$dispatched, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$26.TrackingHULabeledResponse> hULabeled($26.TrackingHULabeledRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$hULabeled, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$26.TrackingSwitchedResponse> switched($26.TrackingSwitchedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$switched, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$26.TrackingAttachmentAddedResponse> attachmentAdded($26.TrackingAttachmentAddedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$attachmentAdded, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$26.TrackingAttachmentRemovedResponse> attachmentRemoved($26.TrackingAttachmentRemovedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$attachmentRemoved, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$26.TrackingDeletedResponse> deleted($26.TrackingDeletedRequest request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$deleted, request, options: options);
|
||||
}
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('api.TrackingInputAPI')
|
||||
abstract class TrackingInputAPIServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'api.TrackingInputAPI';
|
||||
|
||||
TrackingInputAPIServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$26.TrackingNotifiedRequest, $26.TrackingNotifiedResponse>(
|
||||
'Notified',
|
||||
notified_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $26.TrackingNotifiedRequest.fromBuffer(value),
|
||||
($26.TrackingNotifiedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$26.TrackingETAUpdatedRequest, $26.TrackingETAUpdatedResponse>(
|
||||
'ETAUpdated',
|
||||
eTAUpdated_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $26.TrackingETAUpdatedRequest.fromBuffer(value),
|
||||
($26.TrackingETAUpdatedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$26.TrackingDispatchedRequest, $26.TrackingDispatchedResponse>(
|
||||
'Dispatched',
|
||||
dispatched_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $26.TrackingDispatchedRequest.fromBuffer(value),
|
||||
($26.TrackingDispatchedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$26.TrackingHULabeledRequest, $26.TrackingHULabeledResponse>(
|
||||
'HULabeled',
|
||||
hULabeled_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $26.TrackingHULabeledRequest.fromBuffer(value),
|
||||
($26.TrackingHULabeledResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$26.TrackingSwitchedRequest, $26.TrackingSwitchedResponse>(
|
||||
'Switched',
|
||||
switched_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $26.TrackingSwitchedRequest.fromBuffer(value),
|
||||
($26.TrackingSwitchedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$26.TrackingAttachmentAddedRequest, $26.TrackingAttachmentAddedResponse>(
|
||||
'AttachmentAdded',
|
||||
attachmentAdded_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $26.TrackingAttachmentAddedRequest.fromBuffer(value),
|
||||
($26.TrackingAttachmentAddedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$26.TrackingAttachmentRemovedRequest, $26.TrackingAttachmentRemovedResponse>(
|
||||
'AttachmentRemoved',
|
||||
attachmentRemoved_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $26.TrackingAttachmentRemovedRequest.fromBuffer(value),
|
||||
($26.TrackingAttachmentRemovedResponse value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$26.TrackingDeletedRequest, $26.TrackingDeletedResponse>(
|
||||
'Deleted',
|
||||
deleted_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $26.TrackingDeletedRequest.fromBuffer(value),
|
||||
($26.TrackingDeletedResponse value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$26.TrackingNotifiedResponse> notified_Pre($grpc.ServiceCall call, $async.Future<$26.TrackingNotifiedRequest> request) async {
|
||||
return notified(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$26.TrackingETAUpdatedResponse> eTAUpdated_Pre($grpc.ServiceCall call, $async.Future<$26.TrackingETAUpdatedRequest> request) async {
|
||||
return eTAUpdated(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$26.TrackingDispatchedResponse> dispatched_Pre($grpc.ServiceCall call, $async.Future<$26.TrackingDispatchedRequest> request) async {
|
||||
return dispatched(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$26.TrackingHULabeledResponse> hULabeled_Pre($grpc.ServiceCall call, $async.Future<$26.TrackingHULabeledRequest> request) async {
|
||||
return hULabeled(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$26.TrackingSwitchedResponse> switched_Pre($grpc.ServiceCall call, $async.Future<$26.TrackingSwitchedRequest> request) async {
|
||||
return switched(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$26.TrackingAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall call, $async.Future<$26.TrackingAttachmentAddedRequest> request) async {
|
||||
return attachmentAdded(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$26.TrackingAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall call, $async.Future<$26.TrackingAttachmentRemovedRequest> request) async {
|
||||
return attachmentRemoved(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$26.TrackingDeletedResponse> deleted_Pre($grpc.ServiceCall call, $async.Future<$26.TrackingDeletedRequest> request) async {
|
||||
return deleted(call, await request);
|
||||
}
|
||||
|
||||
$async.Future<$26.TrackingNotifiedResponse> notified($grpc.ServiceCall call, $26.TrackingNotifiedRequest request);
|
||||
$async.Future<$26.TrackingETAUpdatedResponse> eTAUpdated($grpc.ServiceCall call, $26.TrackingETAUpdatedRequest request);
|
||||
$async.Future<$26.TrackingDispatchedResponse> dispatched($grpc.ServiceCall call, $26.TrackingDispatchedRequest request);
|
||||
$async.Future<$26.TrackingHULabeledResponse> hULabeled($grpc.ServiceCall call, $26.TrackingHULabeledRequest request);
|
||||
$async.Future<$26.TrackingSwitchedResponse> switched($grpc.ServiceCall call, $26.TrackingSwitchedRequest request);
|
||||
$async.Future<$26.TrackingAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $26.TrackingAttachmentAddedRequest request);
|
||||
$async.Future<$26.TrackingAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $26.TrackingAttachmentRemovedRequest request);
|
||||
$async.Future<$26.TrackingDeletedResponse> deleted($grpc.ServiceCall call, $26.TrackingDeletedRequest request);
|
||||
}
|
||||
Reference in New Issue
Block a user