// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "kpi.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { KpiService } from "./kpi"; import type { PopulateMVResult } from "./kpi"; import type { PopulateMVRequest } from "./kpi"; import type { DropMVResult } from "./kpi"; import type { DropMVRequest } from "./kpi"; import type { CreateMVResult } from "./kpi"; import type { CreateMVRequest } from "./kpi"; import type { ClearKpiEntityResult } from "./kpi"; import type { ClearKpiEntityRequest } from "./kpi"; import type { GetKpiEntitiesResult } from "./kpi"; import type { GetKpiEntitiesRequest } from "./kpi"; import type { UpdateKpiTableStructureResult } from "./kpi"; import type { UpdateKpiTableStructureRequest } from "./kpi"; import type { GetKpiTableStructureResult } from "./kpi"; import type { GetKpiTableStructureRequest } from "./kpi"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { GetKpisResult } from "./kpi"; import type { GetKpisRequest } from "./kpi"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.KpiService */ export interface IKpiServiceClient { /** * @generated from protobuf rpc: GetKpis */ getKpis(input: GetKpisRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetKpiTableStructure */ getKpiTableStructure(input: GetKpiTableStructureRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdateKpiTableStructure */ updateKpiTableStructure(input: UpdateKpiTableStructureRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetKpiEntities */ getKpiEntities(input: GetKpiEntitiesRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ClearKpiEntity */ clearKpiEntity(input: ClearKpiEntityRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CreateMV */ createMV(input: CreateMVRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DropMV */ dropMV(input: DropMVRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: PopulateMV */ populateMV(input: PopulateMVRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.KpiService */ export class KpiServiceClient implements IKpiServiceClient, ServiceInfo { typeName = KpiService.typeName; methods = KpiService.methods; options = KpiService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: GetKpis */ getKpis(input: GetKpisRequest, 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: GetKpiTableStructure */ getKpiTableStructure(input: GetKpiTableStructureRequest, 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: UpdateKpiTableStructure */ updateKpiTableStructure(input: UpdateKpiTableStructureRequest, 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: GetKpiEntities */ getKpiEntities(input: GetKpiEntitiesRequest, 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: ClearKpiEntity */ clearKpiEntity(input: ClearKpiEntityRequest, 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: CreateMV */ createMV(input: CreateMVRequest, 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: DropMV */ dropMV(input: DropMVRequest, 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: PopulateMV */ populateMV(input: PopulateMVRequest, options?: RpcOptions): UnaryCall { const method = this.methods[7], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }