// @generated by protobuf-ts 2.9.6 // @generated from protobuf file "orderQuery.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { OrderQuery } from "./orderQuery"; import type { CountLinesResult } from "./shared"; import type { CountLinesQuery } from "./shared"; import type { ExtractResult } from "./shared"; import type { ExtractQuery } from "./shared"; import type { ElementByMatchResult } from "./shared"; import type { ElementByMatchQuery } from "./shared"; import type { OrderByMatchResult } from "./orderQuery"; import type { OrderByMatchQuery } from "./orderQuery"; import type { OrderByFilterResult } from "./orderQuery"; import type { OrderByFilterQuery } from "./orderQuery"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { OrderByIdResult } from "./orderQuery"; import type { OrderByIdQuery } from "./orderQuery"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.OrderQuery */ export interface IOrderQueryClient { /** * @generated from protobuf rpc: GetByIds(api.OrderByIdQuery) returns (api.OrderByIdResult); */ getByIds(input: OrderByIdQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Find(api.OrderByFilterQuery) returns (api.OrderByFilterResult); */ find(input: OrderByFilterQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: FindMatchingFieldValues(api.OrderByMatchQuery) returns (api.OrderByMatchResult); */ findMatchingFieldValues(input: OrderByMatchQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: FindMatchingFieldElements(api.ElementByMatchQuery) returns (api.ElementByMatchResult); */ findMatchingFieldElements(input: ElementByMatchQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Extract(api.ExtractQuery) returns (api.ExtractResult); */ extract(input: ExtractQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CountLines(api.CountLinesQuery) returns (api.CountLinesResult); */ countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.OrderQuery */ export class OrderQueryClient implements IOrderQueryClient, ServiceInfo { typeName = OrderQuery.typeName; methods = OrderQuery.methods; options = OrderQuery.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: GetByIds(api.OrderByIdQuery) returns (api.OrderByIdResult); */ getByIds(input: OrderByIdQuery, 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(api.OrderByFilterQuery) returns (api.OrderByFilterResult); */ find(input: OrderByFilterQuery, 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: FindMatchingFieldValues(api.OrderByMatchQuery) returns (api.OrderByMatchResult); */ findMatchingFieldValues(input: OrderByMatchQuery, 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: FindMatchingFieldElements(api.ElementByMatchQuery) returns (api.ElementByMatchResult); */ findMatchingFieldElements(input: ElementByMatchQuery, 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: Extract(api.ExtractQuery) returns (api.ExtractResult); */ extract(input: ExtractQuery, 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: CountLines(api.CountLinesQuery) returns (api.CountLinesResult); */ countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall { const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }