Files
dart-core-sdk/lib/handlingunitQuery.pbgrpc.dart
ci core model 1c1f8cc138 Release 1.10.6
2025-05-19 13:38:48 +00:00

198 lines
9.9 KiB
Dart

//
// Generated code. Do not modify.
// source: handlingunitQuery.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 $13;
import 'handlingunitQuery.pb.dart' as $24;
import 'shared.pb.dart' as $3;
export 'handlingunitQuery.pb.dart';
@$pb.GrpcServiceName('api.HandlingunitQuery')
class HandlingunitQueryClient extends $grpc.Client {
static final _$getByIds = $grpc.ClientMethod<$24.HandlingunitByIdQuery, $24.HandlingunitByIdResult>(
'/api.HandlingunitQuery/GetByIds',
($24.HandlingunitByIdQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $24.HandlingunitByIdResult.fromBuffer(value));
static final _$find = $grpc.ClientMethod<$24.HandlingunitByFilterQuery, $24.HandlingunitByFilterResult>(
'/api.HandlingunitQuery/Find',
($24.HandlingunitByFilterQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $24.HandlingunitByFilterResult.fromBuffer(value));
static final _$findTracked = $grpc.ClientMethod<$24.HandlingunitByFilterQuery, $24.HandlingunitByFilterResult>(
'/api.HandlingunitQuery/FindTracked',
($24.HandlingunitByFilterQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $24.HandlingunitByFilterResult.fromBuffer(value));
static final _$findMatchingFieldValues = $grpc.ClientMethod<$24.HandlingunitByMatchQuery, $24.HandlingunitByMatchResult>(
'/api.HandlingunitQuery/FindMatchingFieldValues',
($24.HandlingunitByMatchQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $24.HandlingunitByMatchResult.fromBuffer(value));
static final _$findMatchingFieldElements = $grpc.ClientMethod<$3.ElementByMatchQuery, $3.ElementByMatchResult>(
'/api.HandlingunitQuery/FindMatchingFieldElements',
($3.ElementByMatchQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $3.ElementByMatchResult.fromBuffer(value));
static final _$getKPIData = $grpc.ClientMethod<$13.GetKPIDataQuery, $13.GetKPIDataResult>(
'/api.HandlingunitQuery/GetKPIData',
($13.GetKPIDataQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $13.GetKPIDataResult.fromBuffer(value));
static final _$extract = $grpc.ClientMethod<$3.ExtractQuery, $3.ExtractResult>(
'/api.HandlingunitQuery/Extract',
($3.ExtractQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $3.ExtractResult.fromBuffer(value));
static final _$countLines = $grpc.ClientMethod<$3.CountLinesQuery, $3.CountLinesResult>(
'/api.HandlingunitQuery/CountLines',
($3.CountLinesQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $3.CountLinesResult.fromBuffer(value));
HandlingunitQueryClient(super.channel, {super.options, super.interceptors});
$grpc.ResponseFuture<$24.HandlingunitByIdResult> getByIds($24.HandlingunitByIdQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$getByIds, request, options: options);
}
$grpc.ResponseFuture<$24.HandlingunitByFilterResult> find($24.HandlingunitByFilterQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$find, request, options: options);
}
$grpc.ResponseFuture<$24.HandlingunitByFilterResult> findTracked($24.HandlingunitByFilterQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$findTracked, request, options: options);
}
$grpc.ResponseFuture<$24.HandlingunitByMatchResult> findMatchingFieldValues($24.HandlingunitByMatchQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$findMatchingFieldValues, request, options: options);
}
$grpc.ResponseFuture<$3.ElementByMatchResult> findMatchingFieldElements($3.ElementByMatchQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$findMatchingFieldElements, request, options: options);
}
$grpc.ResponseFuture<$13.GetKPIDataResult> getKPIData($13.GetKPIDataQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$getKPIData, request, options: options);
}
$grpc.ResponseFuture<$3.ExtractResult> extract($3.ExtractQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$extract, request, options: options);
}
$grpc.ResponseFuture<$3.CountLinesResult> countLines($3.CountLinesQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$countLines, request, options: options);
}
}
@$pb.GrpcServiceName('api.HandlingunitQuery')
abstract class HandlingunitQueryServiceBase extends $grpc.Service {
$core.String get $name => 'api.HandlingunitQuery';
HandlingunitQueryServiceBase() {
$addMethod($grpc.ServiceMethod<$24.HandlingunitByIdQuery, $24.HandlingunitByIdResult>(
'GetByIds',
getByIds_Pre,
false,
false,
($core.List<$core.int> value) => $24.HandlingunitByIdQuery.fromBuffer(value),
($24.HandlingunitByIdResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$24.HandlingunitByFilterQuery, $24.HandlingunitByFilterResult>(
'Find',
find_Pre,
false,
false,
($core.List<$core.int> value) => $24.HandlingunitByFilterQuery.fromBuffer(value),
($24.HandlingunitByFilterResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$24.HandlingunitByFilterQuery, $24.HandlingunitByFilterResult>(
'FindTracked',
findTracked_Pre,
false,
false,
($core.List<$core.int> value) => $24.HandlingunitByFilterQuery.fromBuffer(value),
($24.HandlingunitByFilterResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$24.HandlingunitByMatchQuery, $24.HandlingunitByMatchResult>(
'FindMatchingFieldValues',
findMatchingFieldValues_Pre,
false,
false,
($core.List<$core.int> value) => $24.HandlingunitByMatchQuery.fromBuffer(value),
($24.HandlingunitByMatchResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.ElementByMatchQuery, $3.ElementByMatchResult>(
'FindMatchingFieldElements',
findMatchingFieldElements_Pre,
false,
false,
($core.List<$core.int> value) => $3.ElementByMatchQuery.fromBuffer(value),
($3.ElementByMatchResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$13.GetKPIDataQuery, $13.GetKPIDataResult>(
'GetKPIData',
getKPIData_Pre,
false,
false,
($core.List<$core.int> value) => $13.GetKPIDataQuery.fromBuffer(value),
($13.GetKPIDataResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$3.ExtractQuery, $3.ExtractResult>(
'Extract',
extract_Pre,
false,
false,
($core.List<$core.int> value) => $3.ExtractQuery.fromBuffer(value),
($3.ExtractResult 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()));
}
$async.Future<$24.HandlingunitByIdResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$24.HandlingunitByIdQuery> $request) async {
return getByIds($call, await $request);
}
$async.Future<$24.HandlingunitByFilterResult> find_Pre($grpc.ServiceCall $call, $async.Future<$24.HandlingunitByFilterQuery> $request) async {
return find($call, await $request);
}
$async.Future<$24.HandlingunitByFilterResult> findTracked_Pre($grpc.ServiceCall $call, $async.Future<$24.HandlingunitByFilterQuery> $request) async {
return findTracked($call, await $request);
}
$async.Future<$24.HandlingunitByMatchResult> findMatchingFieldValues_Pre($grpc.ServiceCall $call, $async.Future<$24.HandlingunitByMatchQuery> $request) async {
return findMatchingFieldValues($call, await $request);
}
$async.Future<$3.ElementByMatchResult> findMatchingFieldElements_Pre($grpc.ServiceCall $call, $async.Future<$3.ElementByMatchQuery> $request) async {
return findMatchingFieldElements($call, await $request);
}
$async.Future<$13.GetKPIDataResult> getKPIData_Pre($grpc.ServiceCall $call, $async.Future<$13.GetKPIDataQuery> $request) async {
return getKPIData($call, await $request);
}
$async.Future<$3.ExtractResult> extract_Pre($grpc.ServiceCall $call, $async.Future<$3.ExtractQuery> $request) async {
return extract($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<$24.HandlingunitByIdResult> getByIds($grpc.ServiceCall call, $24.HandlingunitByIdQuery request);
$async.Future<$24.HandlingunitByFilterResult> find($grpc.ServiceCall call, $24.HandlingunitByFilterQuery request);
$async.Future<$24.HandlingunitByFilterResult> findTracked($grpc.ServiceCall call, $24.HandlingunitByFilterQuery request);
$async.Future<$24.HandlingunitByMatchResult> findMatchingFieldValues($grpc.ServiceCall call, $24.HandlingunitByMatchQuery request);
$async.Future<$3.ElementByMatchResult> findMatchingFieldElements($grpc.ServiceCall call, $3.ElementByMatchQuery request);
$async.Future<$13.GetKPIDataResult> getKPIData($grpc.ServiceCall call, $13.GetKPIDataQuery request);
$async.Future<$3.ExtractResult> extract($grpc.ServiceCall call, $3.ExtractQuery request);
$async.Future<$3.CountLinesResult> countLines($grpc.ServiceCall call, $3.CountLinesQuery request);
}