// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "connectionSettings.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { ConnectionSettingsService } from "./connectionSettings"; import type { DeleteConnectionSettingsResult } from "./connectionSettings"; import type { DeleteConnectionSettingsRequest } from "./connectionSettings"; import type { PutConnectionSettingsResult } from "./connectionSettings"; import type { PutConnectionSettingsRequest } from "./connectionSettings"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { GetConnectionSettingsResult } from "./connectionSettings"; import type { GetConnectionSettingsRequest } from "./connectionSettings"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.ConnectionSettingsService */ export interface IConnectionSettingsServiceClient { /** * @generated from protobuf rpc: Get */ get(input: GetConnectionSettingsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Put */ put(input: PutConnectionSettingsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeleteConnectionSettingsRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.ConnectionSettingsService */ export class ConnectionSettingsServiceClient implements IConnectionSettingsServiceClient, ServiceInfo { typeName = ConnectionSettingsService.typeName; methods = ConnectionSettingsService.methods; options = ConnectionSettingsService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Get */ get(input: GetConnectionSettingsRequest, 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: PutConnectionSettingsRequest, 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: DeleteConnectionSettingsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[2], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }