// @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 { ExtractProjectResult } from "./viz-view"; import type { ExtractProjectRequest } from "./viz-view"; import type { ListProjectViewResult } from "./viz-view"; import type { ListProjectViewRequest } from "./viz-view"; import type { DeleteProjectViewResult } from "./viz-view"; import type { DeleteProjectViewRequest } from "./viz-view"; import type { UpdateProjectViewResult } from "./viz-view"; import type { UpdateProjectViewRequest } from "./viz-view"; import type { CreateProjectViewResult } from "./viz-view"; import type { CreateProjectViewRequest } from "./viz-view"; import type { GetProjectViewResult } from "./viz-view"; import type { GetProjectViewRequest } 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 rpc: GetProject */ getProject(input: GetProjectViewRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: CreateProject */ createProject(input: CreateProjectViewRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdateProject */ updateProject(input: UpdateProjectViewRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteProject */ deleteProject(input: DeleteProjectViewRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListProject */ listProject(input: ListProjectViewRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ExtractProject */ extractProject(input: ExtractProjectRequest, 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); } /** * @generated from protobuf rpc: GetProject */ getProject(input: GetProjectViewRequest, options?: RpcOptions): UnaryCall { const method = this.methods[7], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: CreateProject */ createProject(input: CreateProjectViewRequest, options?: RpcOptions): UnaryCall { const method = this.methods[8], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: UpdateProject */ updateProject(input: UpdateProjectViewRequest, options?: RpcOptions): UnaryCall { const method = this.methods[9], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: DeleteProject */ deleteProject(input: DeleteProjectViewRequest, options?: RpcOptions): UnaryCall { const method = this.methods[10], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ListProject */ listProject(input: ListProjectViewRequest, options?: RpcOptions): UnaryCall { const method = this.methods[11], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } /** * @generated from protobuf rpc: ExtractProject */ extractProject(input: ExtractProjectRequest, options?: RpcOptions): UnaryCall { const method = this.methods[12], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }