// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name // @generated from protobuf file "viz-default-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 { DefaultViewService } from "./viz-default-view"; import type { UpdatePlatformDefaultViewResult } from "./viz-default-view"; import type { UpdatePlatformDefaultViewRequest } from "./viz-default-view"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { CreatePlatformDefaultViewResult } from "./viz-default-view"; import type { CreatePlatformDefaultViewRequest } from "./viz-default-view"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service vizapi.DefaultViewService */ export interface IDefaultViewServiceClient { /** * @generated from protobuf rpc: CreatePlatform */ createPlatform(input: CreatePlatformDefaultViewRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: UpdatePlatform */ updatePlatform(input: UpdatePlatformDefaultViewRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service vizapi.DefaultViewService */ export class DefaultViewServiceClient implements IDefaultViewServiceClient, ServiceInfo { typeName = DefaultViewService.typeName; methods = DefaultViewService.methods; options = DefaultViewService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: CreatePlatform */ createPlatform(input: CreatePlatformDefaultViewRequest, 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: UpdatePlatform */ updatePlatform(input: UpdatePlatformDefaultViewRequest, options?: RpcOptions): UnaryCall { const method = this.methods[1], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }