// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name // @generated from protobuf file "viz-user-settings.proto" (package "vizapi", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { UserSettingsService } from "./viz-user-settings"; import type { ListUserSettingsResult } from "./viz-user-settings"; import type { ListUserSettingsRequest } from "./viz-user-settings"; import type { DeleteUserSettingResult } from "./viz-user-settings"; import type { DeleteUserSettingRequest } from "./viz-user-settings"; import type { PutUserSettingResult } from "./viz-user-settings"; import type { PutUserSettingRequest } from "./viz-user-settings"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { GetUserSettingResult } from "./viz-user-settings"; import type { GetUserSettingRequest } from "./viz-user-settings"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service vizapi.UserSettingsService */ export interface IUserSettingsServiceClient { /** * @generated from protobuf rpc: Get */ get(input: GetUserSettingRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Put */ put(input: PutUserSettingRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeleteUserSettingRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List */ list(input: ListUserSettingsRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service vizapi.UserSettingsService */ export class UserSettingsServiceClient implements IUserSettingsServiceClient, ServiceInfo { typeName = UserSettingsService.typeName; methods = UserSettingsService.methods; options = UserSettingsService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Get */ get(input: GetUserSettingRequest, 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: Put */ put(input: PutUserSettingRequest, 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: Delete */ delete(input: DeleteUserSettingRequest, 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: List */ list(input: ListUserSettingsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[3], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }