// @generated by protobuf-ts 2.9.6 // @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(api.CreateConnectionRequest) returns (api.CreateConnectionResult); */ create(input: CreateConnectionRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete(api.DeleteConnectionRequest) returns (api.DeleteConnectionResult); */ delete(input: DeleteConnectionRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List(api.ListConnectionsRequest) returns (api.ListConnectionsResult); */ list(input: ListConnectionsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetDetails(api.GetDetailsConnectionsRequest) returns (api.GetDetailsConnectionsResult); */ getDetails(input: GetDetailsConnectionsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: GetStartDetails(api.GetStartDetailsConnectionsRequest) returns (api.GetStartDetailsConnectionsResult); */ getStartDetails(input: GetStartDetailsConnectionsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: SetRunDetails(api.SetRunDetailsConnectionsRequest) returns (api.SetRunDetailsConnectionsResult); */ setRunDetails(input: SetRunDetailsConnectionsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: RenewConnectionSA(api.RenewConnectionSARequest) returns (api.RenewConnectionSAResult); */ renewConnectionSA(input: RenewConnectionSARequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: DeleteConnectionInDB(api.DeleteConnectionInDBRequest) returns (api.DeleteConnectionInDBResult); */ deleteConnectionInDB(input: DeleteConnectionInDBRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: IsConnectionExist(api.IsConnectionExistRequest) returns (api.IsConnectionExistResult); */ 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(api.CreateConnectionRequest) returns (api.CreateConnectionResult); */ 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(api.DeleteConnectionRequest) returns (api.DeleteConnectionResult); */ 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(api.ListConnectionsRequest) returns (api.ListConnectionsResult); */ 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(api.GetDetailsConnectionsRequest) returns (api.GetDetailsConnectionsResult); */ 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(api.GetStartDetailsConnectionsRequest) returns (api.GetStartDetailsConnectionsResult); */ 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(api.SetRunDetailsConnectionsRequest) returns (api.SetRunDetailsConnectionsResult); */ 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(api.RenewConnectionSARequest) returns (api.RenewConnectionSAResult); */ 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(api.DeleteConnectionInDBRequest) returns (api.DeleteConnectionInDBResult); */ 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(api.IsConnectionExistRequest) returns (api.IsConnectionExistResult); */ isConnectionExist(input: IsConnectionExistRequest, options?: RpcOptions): UnaryCall { const method = this.methods[8], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }