// @generated by protobuf-ts 2.9.6
// @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(api.GetConnectionSettingsRequest) returns (api.GetConnectionSettingsResult);
     */
    get(input: GetConnectionSettingsRequest, options?: RpcOptions): UnaryCall<GetConnectionSettingsRequest, GetConnectionSettingsResult>;
    /**
     * @generated from protobuf rpc: Put(api.PutConnectionSettingsRequest) returns (api.PutConnectionSettingsResult);
     */
    put(input: PutConnectionSettingsRequest, options?: RpcOptions): UnaryCall<PutConnectionSettingsRequest, PutConnectionSettingsResult>;
    /**
     * @generated from protobuf rpc: Delete(api.DeleteConnectionSettingsRequest) returns (api.DeleteConnectionSettingsResult);
     */
    delete(input: DeleteConnectionSettingsRequest, options?: RpcOptions): UnaryCall<DeleteConnectionSettingsRequest, DeleteConnectionSettingsResult>;
}
/**
 * @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(api.GetConnectionSettingsRequest) returns (api.GetConnectionSettingsResult);
     */
    get(input: GetConnectionSettingsRequest, options?: RpcOptions): UnaryCall<GetConnectionSettingsRequest, GetConnectionSettingsResult> {
        const method = this.methods[0], opt = this._transport.mergeOptions(options);
        return stackIntercept<GetConnectionSettingsRequest, GetConnectionSettingsResult>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: Put(api.PutConnectionSettingsRequest) returns (api.PutConnectionSettingsResult);
     */
    put(input: PutConnectionSettingsRequest, options?: RpcOptions): UnaryCall<PutConnectionSettingsRequest, PutConnectionSettingsResult> {
        const method = this.methods[1], opt = this._transport.mergeOptions(options);
        return stackIntercept<PutConnectionSettingsRequest, PutConnectionSettingsResult>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: Delete(api.DeleteConnectionSettingsRequest) returns (api.DeleteConnectionSettingsResult);
     */
    delete(input: DeleteConnectionSettingsRequest, options?: RpcOptions): UnaryCall<DeleteConnectionSettingsRequest, DeleteConnectionSettingsResult> {
        const method = this.methods[2], opt = this._transport.mergeOptions(options);
        return stackIntercept<DeleteConnectionSettingsRequest, DeleteConnectionSettingsResult>("unary", this._transport, method, opt, input);
    }
}
