Files
dart-core-sdk/lib/executionflowQuery.pbgrpc.dart
2025-06-26 08:23:24 +00:00

133 lines
5.4 KiB
Dart

// This is a generated file - do not edit.
//
// Generated from executionflowQuery.proto.
// @dart = 3.3
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names
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 $1;
import 'executionflowQuery.pb.dart' as $0;
import 'shared.pb.dart' as $2;
export 'executionflowQuery.pb.dart';
@$pb.GrpcServiceName('api.ExecutionflowQuery')
class ExecutionflowQueryClient extends $grpc.Client {
/// The hostname for this service.
static const $core.String defaultHost = '';
/// OAuth scopes needed for the client.
static const $core.List<$core.String> oauthScopes = [
'',
];
ExecutionflowQueryClient(super.channel, {super.options, super.interceptors});
$grpc.ResponseFuture<$0.ExecutionflowByIdResult> getByIds($0.ExecutionflowByIdQuery request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$getByIds, request, options: options);
}
$grpc.ResponseFuture<$1.GetKPIDataResult> getKPIData($1.GetKPIDataQuery request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$getKPIData, request, options: options);
}
$grpc.ResponseFuture<$2.CountLinesResult> countLines($2.CountLinesQuery request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$countLines, request, options: options);
}
$grpc.ResponseFuture<$0.ExecutionflowByFilterResult> find($0.ExecutionflowByFilterQuery request, {$grpc.CallOptions? options,}) {
return $createUnaryCall(_$find, request, options: options);
}
// method descriptors
static final _$getByIds = $grpc.ClientMethod<$0.ExecutionflowByIdQuery, $0.ExecutionflowByIdResult>(
'/api.ExecutionflowQuery/GetByIds',
($0.ExecutionflowByIdQuery value) => value.writeToBuffer(),
$0.ExecutionflowByIdResult.fromBuffer);
static final _$getKPIData = $grpc.ClientMethod<$1.GetKPIDataQuery, $1.GetKPIDataResult>(
'/api.ExecutionflowQuery/GetKPIData',
($1.GetKPIDataQuery value) => value.writeToBuffer(),
$1.GetKPIDataResult.fromBuffer);
static final _$countLines = $grpc.ClientMethod<$2.CountLinesQuery, $2.CountLinesResult>(
'/api.ExecutionflowQuery/CountLines',
($2.CountLinesQuery value) => value.writeToBuffer(),
$2.CountLinesResult.fromBuffer);
static final _$find = $grpc.ClientMethod<$0.ExecutionflowByFilterQuery, $0.ExecutionflowByFilterResult>(
'/api.ExecutionflowQuery/Find',
($0.ExecutionflowByFilterQuery value) => value.writeToBuffer(),
$0.ExecutionflowByFilterResult.fromBuffer);
}
@$pb.GrpcServiceName('api.ExecutionflowQuery')
abstract class ExecutionflowQueryServiceBase extends $grpc.Service {
$core.String get $name => 'api.ExecutionflowQuery';
ExecutionflowQueryServiceBase() {
$addMethod($grpc.ServiceMethod<$0.ExecutionflowByIdQuery, $0.ExecutionflowByIdResult>(
'GetByIds',
getByIds_Pre,
false,
false,
($core.List<$core.int> value) => $0.ExecutionflowByIdQuery.fromBuffer(value),
($0.ExecutionflowByIdResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.GetKPIDataQuery, $1.GetKPIDataResult>(
'GetKPIData',
getKPIData_Pre,
false,
false,
($core.List<$core.int> value) => $1.GetKPIDataQuery.fromBuffer(value),
($1.GetKPIDataResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$2.CountLinesQuery, $2.CountLinesResult>(
'CountLines',
countLines_Pre,
false,
false,
($core.List<$core.int> value) => $2.CountLinesQuery.fromBuffer(value),
($2.CountLinesResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ExecutionflowByFilterQuery, $0.ExecutionflowByFilterResult>(
'Find',
find_Pre,
false,
false,
($core.List<$core.int> value) => $0.ExecutionflowByFilterQuery.fromBuffer(value),
($0.ExecutionflowByFilterResult value) => value.writeToBuffer()));
}
$async.Future<$0.ExecutionflowByIdResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$0.ExecutionflowByIdQuery> $request) async {
return getByIds($call, await $request);
}
$async.Future<$0.ExecutionflowByIdResult> getByIds($grpc.ServiceCall call, $0.ExecutionflowByIdQuery request);
$async.Future<$1.GetKPIDataResult> getKPIData_Pre($grpc.ServiceCall $call, $async.Future<$1.GetKPIDataQuery> $request) async {
return getKPIData($call, await $request);
}
$async.Future<$1.GetKPIDataResult> getKPIData($grpc.ServiceCall call, $1.GetKPIDataQuery request);
$async.Future<$2.CountLinesResult> countLines_Pre($grpc.ServiceCall $call, $async.Future<$2.CountLinesQuery> $request) async {
return countLines($call, await $request);
}
$async.Future<$2.CountLinesResult> countLines($grpc.ServiceCall call, $2.CountLinesQuery request);
$async.Future<$0.ExecutionflowByFilterResult> find_Pre($grpc.ServiceCall $call, $async.Future<$0.ExecutionflowByFilterQuery> $request) async {
return find($call, await $request);
}
$async.Future<$0.ExecutionflowByFilterResult> find($grpc.ServiceCall call, $0.ExecutionflowByFilterQuery request);
}