// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "handlingunitQuery.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { HandlingunitQuery } from "./handlingunitQuery"; import type { CountLinesResult } from "./shared"; import type { CountLinesQuery } from "./shared"; import type { ExtractResult } from "./shared"; import type { ExtractQuery } from "./shared"; import type { GetKPIDataResult } from "./clickhouse"; import type { GetKPIDataQuery } from "./clickhouse"; import type { ElementByMatchResult } from "./shared"; import type { ElementByMatchQuery } from "./shared"; import type { HandlingunitByMatchResult } from "./handlingunitQuery"; import type { HandlingunitByMatchQuery } from "./handlingunitQuery"; import type { HandlingunitByFilterResult } from "./handlingunitQuery"; import type { HandlingunitByFilterQuery } from "./handlingunitQuery"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { HandlingunitByIdResult } from "./handlingunitQuery"; import type { HandlingunitByIdQuery } from "./handlingunitQuery"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.HandlingunitQuery */ export interface IHandlingunitQueryClient { /** * @generated from protobuf rpc: GetByIds */ getByIds(input: HandlingunitByIdQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Find */ find(input: HandlingunitByFilterQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: FindTracked */ findTracked(input: HandlingunitByFilterQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: FindMatchingFieldValues */ findMatchingFieldValues(input: HandlingunitByMatchQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: FindMatchingFieldElements */ findMatchingFieldElements(input: ElementByMatchQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetKPIData */ getKPIData(input: GetKPIDataQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Extract */ extract(input: ExtractQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CountLines */ countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.HandlingunitQuery */ export class HandlingunitQueryClient implements IHandlingunitQueryClient, ServiceInfo { typeName = HandlingunitQuery.typeName; methods = HandlingunitQuery.methods; options = HandlingunitQuery.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: GetByIds */ getByIds(input: HandlingunitByIdQuery, options?: RpcOptions): UnaryCall { const method = this.methods[0], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Find */ find(input: HandlingunitByFilterQuery, options?: RpcOptions): UnaryCall { const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: FindTracked */ findTracked(input: HandlingunitByFilterQuery, options?: RpcOptions): UnaryCall { const method = this.methods[2], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: FindMatchingFieldValues */ findMatchingFieldValues(input: HandlingunitByMatchQuery, options?: RpcOptions): UnaryCall { const method = this.methods[3], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: FindMatchingFieldElements */ findMatchingFieldElements(input: ElementByMatchQuery, options?: RpcOptions): UnaryCall { const method = this.methods[4], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: GetKPIData */ getKPIData(input: GetKPIDataQuery, options?: RpcOptions): UnaryCall { const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: Extract */ extract(input: ExtractQuery, options?: RpcOptions): UnaryCall { const method = this.methods[6], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: CountLines */ countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall { const method = this.methods[7], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }