You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -15,21 +15,21 @@ import 'dart:core' as $core;
|
||||
import 'package:grpc/service_api.dart' as $grpc;
|
||||
import 'package:protobuf/protobuf.dart' as $pb;
|
||||
|
||||
import 'shared.pb.dart' as $34;
|
||||
import 'trackingQuery.pb.dart' as $47;
|
||||
import 'shared.pb.dart' as $35;
|
||||
import 'trackingQuery.pb.dart' as $50;
|
||||
|
||||
export 'trackingQuery.pb.dart';
|
||||
|
||||
@$pb.GrpcServiceName('api.TrackingQuery')
|
||||
class TrackingQueryClient extends $grpc.Client {
|
||||
static final _$getByIds = $grpc.ClientMethod<$47.TrackingByIdQuery, $47.TrackingByIdResult>(
|
||||
static final _$getByIds = $grpc.ClientMethod<$50.TrackingByIdQuery, $50.TrackingByIdResult>(
|
||||
'/api.TrackingQuery/GetByIds',
|
||||
($47.TrackingByIdQuery value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $47.TrackingByIdResult.fromBuffer(value));
|
||||
static final _$countLines = $grpc.ClientMethod<$34.CountLinesQuery, $34.CountLinesResult>(
|
||||
($50.TrackingByIdQuery value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $50.TrackingByIdResult.fromBuffer(value));
|
||||
static final _$countLines = $grpc.ClientMethod<$35.CountLinesQuery, $35.CountLinesResult>(
|
||||
'/api.TrackingQuery/CountLines',
|
||||
($34.CountLinesQuery value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $34.CountLinesResult.fromBuffer(value));
|
||||
($35.CountLinesQuery value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $35.CountLinesResult.fromBuffer(value));
|
||||
|
||||
TrackingQueryClient($grpc.ClientChannel channel,
|
||||
{$grpc.CallOptions? options,
|
||||
@@ -37,11 +37,11 @@ class TrackingQueryClient extends $grpc.Client {
|
||||
: super(channel, options: options,
|
||||
interceptors: interceptors);
|
||||
|
||||
$grpc.ResponseFuture<$47.TrackingByIdResult> getByIds($47.TrackingByIdQuery request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$50.TrackingByIdResult> getByIds($50.TrackingByIdQuery request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$getByIds, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$34.CountLinesResult> countLines($34.CountLinesQuery request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$35.CountLinesResult> countLines($35.CountLinesQuery request, {$grpc.CallOptions? options}) {
|
||||
return $createUnaryCall(_$countLines, request, options: options);
|
||||
}
|
||||
}
|
||||
@@ -51,30 +51,30 @@ abstract class TrackingQueryServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'api.TrackingQuery';
|
||||
|
||||
TrackingQueryServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$47.TrackingByIdQuery, $47.TrackingByIdResult>(
|
||||
$addMethod($grpc.ServiceMethod<$50.TrackingByIdQuery, $50.TrackingByIdResult>(
|
||||
'GetByIds',
|
||||
getByIds_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $47.TrackingByIdQuery.fromBuffer(value),
|
||||
($47.TrackingByIdResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$34.CountLinesQuery, $34.CountLinesResult>(
|
||||
($core.List<$core.int> value) => $50.TrackingByIdQuery.fromBuffer(value),
|
||||
($50.TrackingByIdResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$35.CountLinesQuery, $35.CountLinesResult>(
|
||||
'CountLines',
|
||||
countLines_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $34.CountLinesQuery.fromBuffer(value),
|
||||
($34.CountLinesResult value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $35.CountLinesQuery.fromBuffer(value),
|
||||
($35.CountLinesResult value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$47.TrackingByIdResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$47.TrackingByIdQuery> $request) async {
|
||||
$async.Future<$50.TrackingByIdResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$50.TrackingByIdQuery> $request) async {
|
||||
return getByIds($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$34.CountLinesResult> countLines_Pre($grpc.ServiceCall $call, $async.Future<$34.CountLinesQuery> $request) async {
|
||||
$async.Future<$35.CountLinesResult> countLines_Pre($grpc.ServiceCall $call, $async.Future<$35.CountLinesQuery> $request) async {
|
||||
return countLines($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$47.TrackingByIdResult> getByIds($grpc.ServiceCall call, $47.TrackingByIdQuery request);
|
||||
$async.Future<$34.CountLinesResult> countLines($grpc.ServiceCall call, $34.CountLinesQuery request);
|
||||
$async.Future<$50.TrackingByIdResult> getByIds($grpc.ServiceCall call, $50.TrackingByIdQuery request);
|
||||
$async.Future<$35.CountLinesResult> countLines($grpc.ServiceCall call, $35.CountLinesQuery request);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user