// @generated by protobuf-ts 2.9.6
// @generated from protobuf file "adaptiveCard.proto" (package "api", syntax proto3)
// tslint:disable
import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
import { AdaptiveCardService } from "./adaptiveCard";
import type { DeleteAdaptiveCardResult } from "./adaptiveCard";
import type { DeleteAdaptiveCardRequest } from "./adaptiveCard";
import type { UpdateAdaptiveCardResult } from "./adaptiveCard";
import type { UpdateAdaptiveCardRequest } from "./adaptiveCard";
import type { CreateAdaptiveCardResult } from "./adaptiveCard";
import type { CreateAdaptiveCardRequest } from "./adaptiveCard";
import type { ListAdaptiveCardResult } from "./adaptiveCard";
import type { ListAdaptiveCardRequest } from "./adaptiveCard";
import { stackIntercept } from "@protobuf-ts/runtime-rpc";
import type { GetAdaptiveCardResult } from "./adaptiveCard";
import type { GetAdaptiveCardRequest } from "./adaptiveCard";
import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
/**
 * @generated from protobuf service api.AdaptiveCardService
 */
export interface IAdaptiveCardServiceClient {
    /**
     * @generated from protobuf rpc: Get(api.GetAdaptiveCardRequest) returns (api.GetAdaptiveCardResult);
     */
    get(input: GetAdaptiveCardRequest, options?: RpcOptions): UnaryCall<GetAdaptiveCardRequest, GetAdaptiveCardResult>;
    /**
     * @generated from protobuf rpc: List(api.ListAdaptiveCardRequest) returns (api.ListAdaptiveCardResult);
     */
    list(input: ListAdaptiveCardRequest, options?: RpcOptions): UnaryCall<ListAdaptiveCardRequest, ListAdaptiveCardResult>;
    /**
     * @generated from protobuf rpc: Create(api.CreateAdaptiveCardRequest) returns (api.CreateAdaptiveCardResult);
     */
    create(input: CreateAdaptiveCardRequest, options?: RpcOptions): UnaryCall<CreateAdaptiveCardRequest, CreateAdaptiveCardResult>;
    /**
     * @generated from protobuf rpc: Update(api.UpdateAdaptiveCardRequest) returns (api.UpdateAdaptiveCardResult);
     */
    update(input: UpdateAdaptiveCardRequest, options?: RpcOptions): UnaryCall<UpdateAdaptiveCardRequest, UpdateAdaptiveCardResult>;
    /**
     * @generated from protobuf rpc: Delete(api.DeleteAdaptiveCardRequest) returns (api.DeleteAdaptiveCardResult);
     */
    delete(input: DeleteAdaptiveCardRequest, options?: RpcOptions): UnaryCall<DeleteAdaptiveCardRequest, DeleteAdaptiveCardResult>;
}
/**
 * @generated from protobuf service api.AdaptiveCardService
 */
export class AdaptiveCardServiceClient implements IAdaptiveCardServiceClient, ServiceInfo {
    typeName = AdaptiveCardService.typeName;
    methods = AdaptiveCardService.methods;
    options = AdaptiveCardService.options;
    constructor(private readonly _transport: RpcTransport) {
    }
    /**
     * @generated from protobuf rpc: Get(api.GetAdaptiveCardRequest) returns (api.GetAdaptiveCardResult);
     */
    get(input: GetAdaptiveCardRequest, options?: RpcOptions): UnaryCall<GetAdaptiveCardRequest, GetAdaptiveCardResult> {
        const method = this.methods[0], opt = this._transport.mergeOptions(options);
        return stackIntercept<GetAdaptiveCardRequest, GetAdaptiveCardResult>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: List(api.ListAdaptiveCardRequest) returns (api.ListAdaptiveCardResult);
     */
    list(input: ListAdaptiveCardRequest, options?: RpcOptions): UnaryCall<ListAdaptiveCardRequest, ListAdaptiveCardResult> {
        const method = this.methods[1], opt = this._transport.mergeOptions(options);
        return stackIntercept<ListAdaptiveCardRequest, ListAdaptiveCardResult>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: Create(api.CreateAdaptiveCardRequest) returns (api.CreateAdaptiveCardResult);
     */
    create(input: CreateAdaptiveCardRequest, options?: RpcOptions): UnaryCall<CreateAdaptiveCardRequest, CreateAdaptiveCardResult> {
        const method = this.methods[2], opt = this._transport.mergeOptions(options);
        return stackIntercept<CreateAdaptiveCardRequest, CreateAdaptiveCardResult>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: Update(api.UpdateAdaptiveCardRequest) returns (api.UpdateAdaptiveCardResult);
     */
    update(input: UpdateAdaptiveCardRequest, options?: RpcOptions): UnaryCall<UpdateAdaptiveCardRequest, UpdateAdaptiveCardResult> {
        const method = this.methods[3], opt = this._transport.mergeOptions(options);
        return stackIntercept<UpdateAdaptiveCardRequest, UpdateAdaptiveCardResult>("unary", this._transport, method, opt, input);
    }
    /**
     * @generated from protobuf rpc: Delete(api.DeleteAdaptiveCardRequest) returns (api.DeleteAdaptiveCardResult);
     */
    delete(input: DeleteAdaptiveCardRequest, options?: RpcOptions): UnaryCall<DeleteAdaptiveCardRequest, DeleteAdaptiveCardResult> {
        const method = this.methods[4], opt = this._transport.mergeOptions(options);
        return stackIntercept<DeleteAdaptiveCardRequest, DeleteAdaptiveCardResult>("unary", this._transport, method, opt, input);
    }
}
