// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "connection.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { ConnectionService } from "./connection"; import type { IsConnectionExistResult } from "./connection"; import type { IsConnectionExistRequest } from "./connection"; import type { DeleteConnectionInDBResult } from "./connection"; import type { DeleteConnectionInDBRequest } from "./connection"; import type { RenewConnectionSAResult } from "./connection"; import type { RenewConnectionSARequest } from "./connection"; import type { SetRunDetailsConnectionsResult } from "./connection"; import type { SetRunDetailsConnectionsRequest } from "./connection"; import type { GetStartDetailsConnectionsResult } from "./connection"; import type { GetStartDetailsConnectionsRequest } from "./connection"; import type { GetDetailsConnectionsResult } from "./connection"; import type { GetDetailsConnectionsRequest } from "./connection"; import type { ListConnectionsResult } from "./connection"; import type { ListConnectionsRequest } from "./connection"; import type { DeleteConnectionResult } from "./connection"; import type { DeleteConnectionRequest } from "./connection"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { CreateConnectionResult } from "./connection"; import type { CreateConnectionRequest } from "./connection"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.ConnectionService */ export interface IConnectionServiceClient { /** * @generated from protobuf rpc: Create */ create(input: CreateConnectionRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeleteConnectionRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List */ list(input: ListConnectionsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetDetails */ getDetails(input: GetDetailsConnectionsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetStartDetails */ getStartDetails(input: GetStartDetailsConnectionsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetRunDetails */ setRunDetails(input: SetRunDetailsConnectionsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: RenewConnectionSA */ renewConnectionSA(input: RenewConnectionSARequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteConnectionInDB */ deleteConnectionInDB(input: DeleteConnectionInDBRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: IsConnectionExist */ isConnectionExist(input: IsConnectionExistRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.ConnectionService */ export class ConnectionServiceClient implements IConnectionServiceClient, ServiceInfo { typeName = ConnectionService.typeName; methods = ConnectionService.methods; options = ConnectionService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Create */ create(input: CreateConnectionRequest, 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: Delete */ delete(input: DeleteConnectionRequest, 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: List */ list(input: ListConnectionsRequest, 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: GetDetails */ getDetails(input: GetDetailsConnectionsRequest, 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: GetStartDetails */ getStartDetails(input: GetStartDetailsConnectionsRequest, 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: SetRunDetails */ setRunDetails(input: SetRunDetailsConnectionsRequest, 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: RenewConnectionSA */ renewConnectionSA(input: RenewConnectionSARequest, 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: DeleteConnectionInDB */ deleteConnectionInDB(input: DeleteConnectionInDBRequest, 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: IsConnectionExist */ isConnectionExist(input: IsConnectionExistRequest, options?: RpcOptions): UnaryCall { const method = this.methods[8], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }