You've already forked dart-core-sdk
Latest generation
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// This is a generated file - do not edit.
|
||||
//
|
||||
// Generated code. Do not modify.
|
||||
// source: trackingQuery.proto
|
||||
//
|
||||
// Generated from trackingQuery.proto.
|
||||
|
||||
// @dart = 3.3
|
||||
|
||||
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
|
||||
@@ -16,8 +16,8 @@ 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 $3;
|
||||
import 'trackingQuery.pb.dart' as $62;
|
||||
import 'shared.pb.dart' as $1;
|
||||
import 'trackingQuery.pb.dart' as $0;
|
||||
|
||||
export 'trackingQuery.pb.dart';
|
||||
|
||||
@@ -31,24 +31,26 @@ class TrackingQueryClient extends $grpc.Client {
|
||||
'',
|
||||
];
|
||||
|
||||
static final _$getByIds = $grpc.ClientMethod<$62.TrackingByIdQuery, $62.TrackingByIdResult>(
|
||||
'/api.TrackingQuery/GetByIds',
|
||||
($62.TrackingByIdQuery value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $62.TrackingByIdResult.fromBuffer(value));
|
||||
static final _$countLines = $grpc.ClientMethod<$3.CountLinesQuery, $3.CountLinesResult>(
|
||||
'/api.TrackingQuery/CountLines',
|
||||
($3.CountLinesQuery value) => value.writeToBuffer(),
|
||||
($core.List<$core.int> value) => $3.CountLinesResult.fromBuffer(value));
|
||||
|
||||
TrackingQueryClient(super.channel, {super.options, super.interceptors});
|
||||
|
||||
$grpc.ResponseFuture<$62.TrackingByIdResult> getByIds($62.TrackingByIdQuery request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$0.TrackingByIdResult> getByIds($0.TrackingByIdQuery request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$getByIds, request, options: options);
|
||||
}
|
||||
|
||||
$grpc.ResponseFuture<$3.CountLinesResult> countLines($3.CountLinesQuery request, {$grpc.CallOptions? options}) {
|
||||
$grpc.ResponseFuture<$1.CountLinesResult> countLines($1.CountLinesQuery request, {$grpc.CallOptions? options,}) {
|
||||
return $createUnaryCall(_$countLines, request, options: options);
|
||||
}
|
||||
|
||||
// method descriptors
|
||||
|
||||
static final _$getByIds = $grpc.ClientMethod<$0.TrackingByIdQuery, $0.TrackingByIdResult>(
|
||||
'/api.TrackingQuery/GetByIds',
|
||||
($0.TrackingByIdQuery value) => value.writeToBuffer(),
|
||||
$0.TrackingByIdResult.fromBuffer);
|
||||
static final _$countLines = $grpc.ClientMethod<$1.CountLinesQuery, $1.CountLinesResult>(
|
||||
'/api.TrackingQuery/CountLines',
|
||||
($1.CountLinesQuery value) => value.writeToBuffer(),
|
||||
$1.CountLinesResult.fromBuffer);
|
||||
}
|
||||
|
||||
@$pb.GrpcServiceName('api.TrackingQuery')
|
||||
@@ -56,30 +58,32 @@ abstract class TrackingQueryServiceBase extends $grpc.Service {
|
||||
$core.String get $name => 'api.TrackingQuery';
|
||||
|
||||
TrackingQueryServiceBase() {
|
||||
$addMethod($grpc.ServiceMethod<$62.TrackingByIdQuery, $62.TrackingByIdResult>(
|
||||
$addMethod($grpc.ServiceMethod<$0.TrackingByIdQuery, $0.TrackingByIdResult>(
|
||||
'GetByIds',
|
||||
getByIds_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $62.TrackingByIdQuery.fromBuffer(value),
|
||||
($62.TrackingByIdResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$3.CountLinesQuery, $3.CountLinesResult>(
|
||||
($core.List<$core.int> value) => $0.TrackingByIdQuery.fromBuffer(value),
|
||||
($0.TrackingByIdResult value) => value.writeToBuffer()));
|
||||
$addMethod($grpc.ServiceMethod<$1.CountLinesQuery, $1.CountLinesResult>(
|
||||
'CountLines',
|
||||
countLines_Pre,
|
||||
false,
|
||||
false,
|
||||
($core.List<$core.int> value) => $3.CountLinesQuery.fromBuffer(value),
|
||||
($3.CountLinesResult value) => value.writeToBuffer()));
|
||||
($core.List<$core.int> value) => $1.CountLinesQuery.fromBuffer(value),
|
||||
($1.CountLinesResult value) => value.writeToBuffer()));
|
||||
}
|
||||
|
||||
$async.Future<$62.TrackingByIdResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$62.TrackingByIdQuery> $request) async {
|
||||
$async.Future<$0.TrackingByIdResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$0.TrackingByIdQuery> $request) async {
|
||||
return getByIds($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$3.CountLinesResult> countLines_Pre($grpc.ServiceCall $call, $async.Future<$3.CountLinesQuery> $request) async {
|
||||
$async.Future<$0.TrackingByIdResult> getByIds($grpc.ServiceCall call, $0.TrackingByIdQuery request);
|
||||
|
||||
$async.Future<$1.CountLinesResult> countLines_Pre($grpc.ServiceCall $call, $async.Future<$1.CountLinesQuery> $request) async {
|
||||
return countLines($call, await $request);
|
||||
}
|
||||
|
||||
$async.Future<$62.TrackingByIdResult> getByIds($grpc.ServiceCall call, $62.TrackingByIdQuery request);
|
||||
$async.Future<$3.CountLinesResult> countLines($grpc.ServiceCall call, $3.CountLinesQuery request);
|
||||
$async.Future<$1.CountLinesResult> countLines($grpc.ServiceCall call, $1.CountLinesQuery request);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user