// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name // @generated from protobuf file "counter.proto" (package "vizapi", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { ProjectCountersService } from "./counter"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { NextCounterResult } from "./counter"; import type { NextProjectCounterRequest } from "./counter"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service vizapi.ProjectCountersService */ export interface IProjectCountersServiceClient { /** * @generated from protobuf rpc: Next */ next(input: NextProjectCounterRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service vizapi.ProjectCountersService */ export class ProjectCountersServiceClient implements IProjectCountersServiceClient, ServiceInfo { typeName = ProjectCountersService.typeName; methods = ProjectCountersService.methods; options = ProjectCountersService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Next */ next(input: NextProjectCounterRequest, options?: RpcOptions): UnaryCall { const method = this.methods[0], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }