// @generated by protobuf-ts 2.11.1 with parameter use_proto_field_name,keep_enum_prefix // @generated from protobuf file "idp.proto" (package "api", syntax proto3) // tslint:disable import type { RpcTransport } from "@protobuf-ts/runtime-rpc"; import type { ServiceInfo } from "@protobuf-ts/runtime-rpc"; import { IDPService } from "./idp"; import type { ListIDPResult } from "./idp"; import type { ListIDPRequest } from "./idp"; import type { DeleteIDPResult } from "./idp"; import type { DeleteIDPRequest } from "./idp"; import type { UpdateIDPResult } from "./idp"; import type { UpdateIDPRequest } from "./idp"; import type { CreateIDPResult } from "./idp"; import type { CreateIDPRequest } from "./idp"; import { stackIntercept } from "@protobuf-ts/runtime-rpc"; import type { GetIDPResult } from "./idp"; import type { GetIDPRequest } from "./idp"; import type { UnaryCall } from "@protobuf-ts/runtime-rpc"; import type { RpcOptions } from "@protobuf-ts/runtime-rpc"; /** * @generated from protobuf service api.IDPService */ export interface IIDPServiceClient { /** * @generated from protobuf rpc: Get */ get(input: GetIDPRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Create */ create(input: CreateIDPRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Update */ update(input: UpdateIDPRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: Delete */ delete(input: DeleteIDPRequest, options?: RpcOptions): UnaryCall; /** * @generated from protobuf rpc: List */ list(input: ListIDPRequest, options?: RpcOptions): UnaryCall; } /** * @generated from protobuf service api.IDPService */ export class IDPServiceClient implements IIDPServiceClient, ServiceInfo { typeName = IDPService.typeName; methods = IDPService.methods; options = IDPService.options; constructor(private readonly _transport: RpcTransport) { } /** * @generated from protobuf rpc: Get */ get(input: GetIDPRequest, 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: Create */ create(input: CreateIDPRequest, 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: Update */ update(input: UpdateIDPRequest, 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: Delete */ delete(input: DeleteIDPRequest, 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: ListIDPRequest, options?: RpcOptions): UnaryCall { const method = this.methods[4], opt = this._transport.mergeOptions(options); return stackIntercept("unary", this._transport, method, opt, input); } }