// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "connector.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { ConnectorService } from "./connector"; import type { ListAvailableConnectorsResult } from "./connector"; import type { ListAvailableConnectorsRequest } from "./connector"; import type { ListConnectorsResult } from "./connector"; import type { ListConnectorsRequest } from "./connector"; import type { GetConnectorResult } from "./connector"; import type { GetConnectorRequest } from "./connector"; import type { DeleteConnectorResult } from "./connector"; import type { DeleteConnectorRequest } from "./connector"; import type { UpdateConnectorResult } from "./connector"; import type { UpdateConnectorRequest } from "./connector"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { CreateConnectorResult } from "./connector"; import type { CreateConnectorRequest } from "./connector"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.ConnectorService */ export interface IConnectorServiceClient { /** * @generated from protobuf rpc: Create */ create(input: CreateConnectorRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Update */ update(input: UpdateConnectorRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeleteConnectorRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Get */ get(input: GetConnectorRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List */ list(input: ListConnectorsRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: ListAvailable */ listAvailable(input: ListAvailableConnectorsRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.ConnectorService */ export class ConnectorServiceClient implements IConnectorServiceClient, ServiceInfo { typeName = ConnectorService.typeName; methods = ConnectorService.methods; options = ConnectorService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Create */ create(input: CreateConnectorRequest, 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: Update */ update(input: UpdateConnectorRequest, 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: DeleteConnectorRequest, 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: Get */ get(input: GetConnectorRequest, 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: List */ list(input: ListConnectorsRequest, 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: ListAvailable */ listAvailable(input: ListAvailableConnectorsRequest, options?: RpcOptions): UnaryCall { const method = this.methods[5], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }