// // 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 $9; import 'executionflowQuery.pb.dart' as $23; import 'shared.pb.dart' as $3; export 'executionflowQuery.pb.dart'; @$pb.GrpcServiceName('api.ExecutionflowQuery') class ExecutionflowQueryClient extends $grpc.Client { static final _$getByIds = $grpc.ClientMethod<$23.ExecutionflowByIdQuery, $23.ExecutionflowByIdResult>( '/api.ExecutionflowQuery/GetByIds', ($23.ExecutionflowByIdQuery value) => value.writeToBuffer(), ($core.List<$core.int> value) => $23.ExecutionflowByIdResult.fromBuffer(value)); static final _$getKPIData = $grpc.ClientMethod<$9.GetKPIDataQuery, $9.GetKPIDataResult>( '/api.ExecutionflowQuery/GetKPIData', ($9.GetKPIDataQuery value) => value.writeToBuffer(), ($core.List<$core.int> value) => $9.GetKPIDataResult.fromBuffer(value)); static final _$countLines = $grpc.ClientMethod<$3.CountLinesQuery, $3.CountLinesResult>( '/api.ExecutionflowQuery/CountLines', ($3.CountLinesQuery value) => value.writeToBuffer(), ($core.List<$core.int> value) => $3.CountLinesResult.fromBuffer(value)); static final _$find = $grpc.ClientMethod<$23.ExecutionflowByFilterQuery, $23.ExecutionflowByFilterResult>( '/api.ExecutionflowQuery/Find', ($23.ExecutionflowByFilterQuery value) => value.writeToBuffer(), ($core.List<$core.int> value) => $23.ExecutionflowByFilterResult.fromBuffer(value)); ExecutionflowQueryClient(super.channel, {super.options, super.interceptors}); $grpc.ResponseFuture<$23.ExecutionflowByIdResult> getByIds($23.ExecutionflowByIdQuery request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getByIds, request, options: options); } $grpc.ResponseFuture<$9.GetKPIDataResult> getKPIData($9.GetKPIDataQuery request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$getKPIData, request, options: options); } $grpc.ResponseFuture<$3.CountLinesResult> countLines($3.CountLinesQuery request, {$grpc.CallOptions? options}) { return $createUnaryCall(_$countLines, request, options: options); } $grpc.ResponseFuture<$23.ExecutionflowByFilterResult> find($23.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<$23.ExecutionflowByIdQuery, $23.ExecutionflowByIdResult>( 'GetByIds', getByIds_Pre, false, false, ($core.List<$core.int> value) => $23.ExecutionflowByIdQuery.fromBuffer(value), ($23.ExecutionflowByIdResult value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$9.GetKPIDataQuery, $9.GetKPIDataResult>( 'GetKPIData', getKPIData_Pre, false, false, ($core.List<$core.int> value) => $9.GetKPIDataQuery.fromBuffer(value), ($9.GetKPIDataResult value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$3.CountLinesQuery, $3.CountLinesResult>( 'CountLines', countLines_Pre, false, false, ($core.List<$core.int> value) => $3.CountLinesQuery.fromBuffer(value), ($3.CountLinesResult value) => value.writeToBuffer())); $addMethod($grpc.ServiceMethod<$23.ExecutionflowByFilterQuery, $23.ExecutionflowByFilterResult>( 'Find', find_Pre, false, false, ($core.List<$core.int> value) => $23.ExecutionflowByFilterQuery.fromBuffer(value), ($23.ExecutionflowByFilterResult value) => value.writeToBuffer())); } $async.Future<$23.ExecutionflowByIdResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$23.ExecutionflowByIdQuery> $request) async { return getByIds($call, await $request); } $async.Future<$9.GetKPIDataResult> getKPIData_Pre($grpc.ServiceCall $call, $async.Future<$9.GetKPIDataQuery> $request) async { return getKPIData($call, await $request); } $async.Future<$3.CountLinesResult> countLines_Pre($grpc.ServiceCall $call, $async.Future<$3.CountLinesQuery> $request) async { return countLines($call, await $request); } $async.Future<$23.ExecutionflowByFilterResult> find_Pre($grpc.ServiceCall $call, $async.Future<$23.ExecutionflowByFilterQuery> $request) async { return find($call, await $request); } $async.Future<$23.ExecutionflowByIdResult> getByIds($grpc.ServiceCall call, $23.ExecutionflowByIdQuery request); $async.Future<$9.GetKPIDataResult> getKPIData($grpc.ServiceCall call, $9.GetKPIDataQuery request); $async.Future<$3.CountLinesResult> countLines($grpc.ServiceCall call, $3.CountLinesQuery request); $async.Future<$23.ExecutionflowByFilterResult> find($grpc.ServiceCall call, $23.ExecutionflowByFilterQuery request); }