// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name // @generated from protobuf file "viz-view.proto" (package "vizapi", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { ViewService } from "./viz-view"; import type { ExtractResult } from "./viz-view"; import type { ExtractRequest } from "./viz-view"; import type { DeleteViewsForProjectResult } from "./viz-view"; import type { DeleteViewsForProjectRequest } from "./viz-view"; import type { ListViewResult } from "./viz-view"; import type { ListViewRequest } from "./viz-view"; import type { DeleteViewResult } from "./viz-view"; import type { DeleteViewRequest } from "./viz-view"; import type { UpdateViewResult } from "./viz-view"; import type { UpdateViewRequest } from "./viz-view"; import type { CreateViewResult } from "./viz-view"; import type { CreateViewRequest } from "./viz-view"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { GetViewResult } from "./viz-view"; import type { GetViewRequest } from "./viz-view"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service vizapi.ViewService */ export interface IViewServiceClient { /** * @generated from protobuf rpc: Get */ get(input: GetViewRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Create */ create(input: CreateViewRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Update */ update(input: UpdateViewRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeleteViewRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List */ list(input: ListViewRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteViewsForProject */ deleteViewsForProject(input: DeleteViewsForProjectRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Extract */ extract(input: ExtractRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service vizapi.ViewService */ export class ViewServiceClient implements IViewServiceClient, ServiceInfo { typeName = ViewService.typeName; methods = ViewService.methods; options = ViewService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Get */ get(input: GetViewRequest, 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: Create */ create(input: CreateViewRequest, 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: Update */ update(input: UpdateViewRequest, 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: Delete */ delete(input: DeleteViewRequest, 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: List */ list(input: ListViewRequest, 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: DeleteViewsForProject */ deleteViewsForProject(input: DeleteViewsForProjectRequest, 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: ExtractRequest, options?: RpcOptions): UnaryCall { const method = this.methods[6], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }