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