Files
dart-core-sdk/lib/handlingunitQuery.pbgrpc.dart
2025-06-02 13:25:01 +00:00

207 lines
10 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
// 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 $9;
import 'handlingunitQuery.pb.dart' as $27;
import 'shared.pb.dart' as $3;
export 'handlingunitQuery.pb.dart';
@$pb.GrpcServiceName('api.HandlingunitQuery')
class HandlingunitQueryClient 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 = [
'',
];
static final _$getByIds = $grpc.ClientMethod<$27.HandlingunitByIdQuery, $27.HandlingunitByIdResult>(
'/api.HandlingunitQuery/GetByIds',
($27.HandlingunitByIdQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $27.HandlingunitByIdResult.fromBuffer(value));
static final _$find = $grpc.ClientMethod<$27.HandlingunitByFilterQuery, $27.HandlingunitByFilterResult>(
'/api.HandlingunitQuery/Find',
($27.HandlingunitByFilterQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $27.HandlingunitByFilterResult.fromBuffer(value));
static final _$findTracked = $grpc.ClientMethod<$27.HandlingunitByFilterQuery, $27.HandlingunitByFilterResult>(
'/api.HandlingunitQuery/FindTracked',
($27.HandlingunitByFilterQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $27.HandlingunitByFilterResult.fromBuffer(value));
static final _$findMatchingFieldValues = $grpc.ClientMethod<$27.HandlingunitByMatchQuery, $27.HandlingunitByMatchResult>(
'/api.HandlingunitQuery/FindMatchingFieldValues',
($27.HandlingunitByMatchQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $27.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<$9.GetKPIDataQuery, $9.GetKPIDataResult>(
'/api.HandlingunitQuery/GetKPIData',
($9.GetKPIDataQuery value) => value.writeToBuffer(),
($core.List<$core.int> value) => $9.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<$27.HandlingunitByIdResult> getByIds($27.HandlingunitByIdQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$getByIds, request, options: options);
}
$grpc.ResponseFuture<$27.HandlingunitByFilterResult> find($27.HandlingunitByFilterQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$find, request, options: options);
}
$grpc.ResponseFuture<$27.HandlingunitByFilterResult> findTracked($27.HandlingunitByFilterQuery request, {$grpc.CallOptions? options}) {
return $createUnaryCall(_$findTracked, request, options: options);
}
$grpc.ResponseFuture<$27.HandlingunitByMatchResult> findMatchingFieldValues($27.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<$9.GetKPIDataResult> getKPIData($9.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<$27.HandlingunitByIdQuery, $27.HandlingunitByIdResult>(
'GetByIds',
getByIds_Pre,
false,
false,
($core.List<$core.int> value) => $27.HandlingunitByIdQuery.fromBuffer(value),
($27.HandlingunitByIdResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$27.HandlingunitByFilterQuery, $27.HandlingunitByFilterResult>(
'Find',
find_Pre,
false,
false,
($core.List<$core.int> value) => $27.HandlingunitByFilterQuery.fromBuffer(value),
($27.HandlingunitByFilterResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$27.HandlingunitByFilterQuery, $27.HandlingunitByFilterResult>(
'FindTracked',
findTracked_Pre,
false,
false,
($core.List<$core.int> value) => $27.HandlingunitByFilterQuery.fromBuffer(value),
($27.HandlingunitByFilterResult value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$27.HandlingunitByMatchQuery, $27.HandlingunitByMatchResult>(
'FindMatchingFieldValues',
findMatchingFieldValues_Pre,
false,
false,
($core.List<$core.int> value) => $27.HandlingunitByMatchQuery.fromBuffer(value),
($27.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<$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.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<$27.HandlingunitByIdResult> getByIds_Pre($grpc.ServiceCall $call, $async.Future<$27.HandlingunitByIdQuery> $request) async {
return getByIds($call, await $request);
}
$async.Future<$27.HandlingunitByFilterResult> find_Pre($grpc.ServiceCall $call, $async.Future<$27.HandlingunitByFilterQuery> $request) async {
return find($call, await $request);
}
$async.Future<$27.HandlingunitByFilterResult> findTracked_Pre($grpc.ServiceCall $call, $async.Future<$27.HandlingunitByFilterQuery> $request) async {
return findTracked($call, await $request);
}
$async.Future<$27.HandlingunitByMatchResult> findMatchingFieldValues_Pre($grpc.ServiceCall $call, $async.Future<$27.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<$9.GetKPIDataResult> getKPIData_Pre($grpc.ServiceCall $call, $async.Future<$9.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<$27.HandlingunitByIdResult> getByIds($grpc.ServiceCall call, $27.HandlingunitByIdQuery request);
$async.Future<$27.HandlingunitByFilterResult> find($grpc.ServiceCall call, $27.HandlingunitByFilterQuery request);
$async.Future<$27.HandlingunitByFilterResult> findTracked($grpc.ServiceCall call, $27.HandlingunitByFilterQuery request);
$async.Future<$27.HandlingunitByMatchResult> findMatchingFieldValues($grpc.ServiceCall call, $27.HandlingunitByMatchQuery request);
$async.Future<$3.ElementByMatchResult> findMatchingFieldElements($grpc.ServiceCall call, $3.ElementByMatchQuery request);
$async.Future<$9.GetKPIDataResult> getKPIData($grpc.ServiceCall call, $9.GetKPIDataQuery request);
$async.Future<$3.ExtractResult> extract($grpc.ServiceCall call, $3.ExtractQuery request);
$async.Future<$3.CountLinesResult> countLines($grpc.ServiceCall call, $3.CountLinesQuery request);
}