"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
var identity_provider_config_service_client_exports = {};
__export(identity_provider_config_service_client_exports, {
  IdentityProviderConfigServiceClient: () => IdentityProviderConfigServiceClient
});
module.exports = __toCommonJS(identity_provider_config_service_client_exports);
var import_identity_provider_config_service = require("./identity_provider_config_service.cjs");
var import_runtime_rpc = require("@protobuf-ts/runtime-rpc");
class IdentityProviderConfigServiceClient {
  constructor(_transport) {
    this._transport = _transport;
    __publicField(this, "typeName", import_identity_provider_config_service.IdentityProviderConfigService.typeName);
    __publicField(this, "methods", import_identity_provider_config_service.IdentityProviderConfigService.methods);
    __publicField(this, "options", import_identity_provider_config_service.IdentityProviderConfigService.options);
  }
  /**
   * Create a new identity provider configuration.
   * The request will fail if the maximum allowed number of separate configurations is reached.
   *
   * @generated from protobuf rpc: CreateIdentityProviderConfig
   */
  createIdentityProviderConfig(input, options) {
    const method = this.methods[0], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * Get the identity provider configuration data by id.
   *
   * @generated from protobuf rpc: GetIdentityProviderConfig
   */
  getIdentityProviderConfig(input, options) {
    const method = this.methods[1], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * Update selected modifiable attribute of an identity provider config resource described
   * by the ``IdentityProviderConfig`` message.
   *
   * @generated from protobuf rpc: UpdateIdentityProviderConfig
   */
  updateIdentityProviderConfig(input, options) {
    const method = this.methods[2], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * List all existing identity provider configurations.
   *
   * @generated from protobuf rpc: ListIdentityProviderConfigs
   */
  listIdentityProviderConfigs(input, options) {
    const method = this.methods[3], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
  /**
   * Delete an existing identity provider configuration.
   *
   * @generated from protobuf rpc: DeleteIdentityProviderConfig
   */
  deleteIdentityProviderConfig(input, options) {
    const method = this.methods[4], opt = this._transport.mergeOptions(options);
    return (0, import_runtime_rpc.stackIntercept)("unary", this._transport, method, opt, input);
  }
}
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  IdentityProviderConfigServiceClient
});
//# sourceMappingURL=identity_provider_config_service.client.cjs.map