// @generated by protobuf-ts 2.10.0 with parameter use_proto_field_name // @generated from protobuf file "trackingQuery.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { TrackingQuery } from "./trackingQuery"; import type { CountLinesResult } from "./shared"; import type { CountLinesQuery } from "./shared"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { TrackingByIdResult } from "./trackingQuery"; import type { TrackingByIdQuery } from "./trackingQuery"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.TrackingQuery */ export interface ITrackingQueryClient { /** * @generated from protobuf rpc: GetByIds(api.TrackingByIdQuery) returns (api.TrackingByIdResult); */ getByIds(input: TrackingByIdQuery, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CountLines(api.CountLinesQuery) returns (api.CountLinesResult); */ countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.TrackingQuery */ export class TrackingQueryClient implements ITrackingQueryClient, ServiceInfo { typeName = TrackingQuery.typeName; methods = TrackingQuery.methods; options = TrackingQuery.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: GetByIds(api.TrackingByIdQuery) returns (api.TrackingByIdResult); */ getByIds(input: TrackingByIdQuery, 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: CountLines(api.CountLinesQuery) returns (api.CountLinesResult); */ countLines(input: CountLinesQuery, options?: RpcOptions): UnaryCall { const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }