You've already forked dart-core-sdk
122 lines
5.5 KiB
Dart
122 lines
5.5 KiB
Dart
//
|
|
// Generated code. Do not modify.
|
|
// source: executionflowQuery.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 'clickhouse.pb.dart' as $40;
|
|
import 'executionflowQuery.pb.dart' as $49;
|
|
import 'shared.pb.dart' as $35;
|
|
|
|
export 'executionflowQuery.pb.dart';
|
|
|
|
@$pb.GrpcServiceName('api.ExecutionflowQuery')
|
|
class ExecutionflowQueryClient extends $grpc.Client {
|
|
static final _$getByIds = $grpc.ClientMethod<$49.ExecutionflowByIdQuery, $49.ExecutionflowByIdResult>(
|
|
'/api.ExecutionflowQuery/GetByIds',
|
|
($49.ExecutionflowByIdQuery value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $49.ExecutionflowByIdResult.fromBuffer(value));
|
|
static final _$getKPIData = $grpc.ClientMethod<$40.GetKPIDataQuery, $40.GetKPIDataResult>(
|
|
'/api.ExecutionflowQuery/GetKPIData',
|
|
($40.GetKPIDataQuery value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $40.GetKPIDataResult.fromBuffer(value));
|
|
static final _$countLines = $grpc.ClientMethod<$35.CountLinesQuery, $35.CountLinesResult>(
|
|
'/api.ExecutionflowQuery/CountLines',
|
|
($35.CountLinesQuery value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $35.CountLinesResult.fromBuffer(value));
|
|
static final _$find = $grpc.ClientMethod<$49.ExecutionflowByFilterQuery, $49.ExecutionflowByFilterResult>(
|
|
'/api.ExecutionflowQuery/Find',
|
|
($49.ExecutionflowByFilterQuery value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $49.ExecutionflowByFilterResult.fromBuffer(value));
|
|
|
|
ExecutionflowQueryClient($grpc.ClientChannel channel,
|
|
{$grpc.CallOptions? options,
|
|
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
|
|
: super(channel, options: options,
|
|
interceptors: interceptors);
|
|
|
|
$grpc.ResponseFuture<$49.ExecutionflowByIdResult> getByIds($49.ExecutionflowByIdQuery request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$getByIds, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$40.GetKPIDataResult> getKPIData($40.GetKPIDataQuery request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$getKPIData, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$35.CountLinesResult> countLines($35.CountLinesQuery request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$countLines, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$49.ExecutionflowByFilterResult> find($49.ExecutionflowByFilterQuery request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$find, request, options: options);
|
|
}
|
|
}
|
|
|
|
@$pb.GrpcServiceName('api.ExecutionflowQuery')
|
|
abstract class ExecutionflowQueryServiceBase extends $grpc.Service {
|
|
$core.String get $name => 'api.ExecutionflowQuery';
|
|
|
|
ExecutionflowQueryServiceBase() {
|
|
$addMethod($grpc.ServiceMethod<$49.ExecutionflowByIdQuery, $49.ExecutionflowByIdResult>(
|
|
'GetByIds',
|
|
getByIds_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $49.ExecutionflowByIdQuery.fromBuffer(value),
|
|
($49.ExecutionflowByIdResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$40.GetKPIDataQuery, $40.GetKPIDataResult>(
|
|
'GetKPIData',
|
|
getKPIData_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $40.GetKPIDataQuery.fromBuffer(value),
|
|
($40.GetKPIDataResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$35.CountLinesQuery, $35.CountLinesResult>(
|
|
'CountLines',
|
|
countLines_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $35.CountLinesQuery.fromBuffer(value),
|
|
($35.CountLinesResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$49.ExecutionflowByFilterQuery, $49.ExecutionflowByFilterResult>(
|
|
'Find',
|
|
find_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $49.ExecutionflowByFilterQuery.fromBuffer(value),
|
|
($49.ExecutionflowByFilterResult value) => value.writeToBuffer()));
|
|
}
|
|
|
|
$async.Future<$49.ExecutionflowByIdResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$49.ExecutionflowByIdQuery> $request) async {
|
|
return getByIds($call, await $request);
|
|
}
|
|
|
|
$async.Future<$40.GetKPIDataResult> getKPIData_Pre($grpc.ServiceCall $call, $async.Future<$40.GetKPIDataQuery> $request) async {
|
|
return getKPIData($call, await $request);
|
|
}
|
|
|
|
$async.Future<$35.CountLinesResult> countLines_Pre($grpc.ServiceCall $call, $async.Future<$35.CountLinesQuery> $request) async {
|
|
return countLines($call, await $request);
|
|
}
|
|
|
|
$async.Future<$49.ExecutionflowByFilterResult> find_Pre($grpc.ServiceCall $call, $async.Future<$49.ExecutionflowByFilterQuery> $request) async {
|
|
return find($call, await $request);
|
|
}
|
|
|
|
$async.Future<$49.ExecutionflowByIdResult> getByIds($grpc.ServiceCall call, $49.ExecutionflowByIdQuery request);
|
|
$async.Future<$40.GetKPIDataResult> getKPIData($grpc.ServiceCall call, $40.GetKPIDataQuery request);
|
|
$async.Future<$35.CountLinesResult> countLines($grpc.ServiceCall call, $35.CountLinesQuery request);
|
|
$async.Future<$49.ExecutionflowByFilterResult> find($grpc.ServiceCall call, $49.ExecutionflowByFilterQuery request);
|
|
}
|