UNPKG

@yandex-cloud/nodejs-sdk

Version:
906 lines (905 loc) 86.8 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.PostgresqlHostConfig11 = exports.postgresqlHostConfig11_XmlOptionToJSON = exports.postgresqlHostConfig11_XmlOptionFromJSON = exports.PostgresqlHostConfig11_XmlOption = exports.postgresqlHostConfig11_XmlBinaryToJSON = exports.postgresqlHostConfig11_XmlBinaryFromJSON = exports.PostgresqlHostConfig11_XmlBinary = exports.postgresqlHostConfig11_TransactionIsolationToJSON = exports.postgresqlHostConfig11_TransactionIsolationFromJSON = exports.PostgresqlHostConfig11_TransactionIsolation = exports.postgresqlHostConfig11_LogStatementToJSON = exports.postgresqlHostConfig11_LogStatementFromJSON = exports.PostgresqlHostConfig11_LogStatement = exports.postgresqlHostConfig11_LogLevelToJSON = exports.postgresqlHostConfig11_LogLevelFromJSON = exports.PostgresqlHostConfig11_LogLevel = exports.postgresqlHostConfig11_LogErrorVerbosityToJSON = exports.postgresqlHostConfig11_LogErrorVerbosityFromJSON = exports.PostgresqlHostConfig11_LogErrorVerbosity = exports.postgresqlHostConfig11_ForceParallelModeToJSON = exports.postgresqlHostConfig11_ForceParallelModeFromJSON = exports.PostgresqlHostConfig11_ForceParallelMode = exports.postgresqlHostConfig11_ConstraintExclusionToJSON = exports.postgresqlHostConfig11_ConstraintExclusionFromJSON = exports.PostgresqlHostConfig11_ConstraintExclusion = exports.postgresqlHostConfig11_ByteaOutputToJSON = exports.postgresqlHostConfig11_ByteaOutputFromJSON = exports.PostgresqlHostConfig11_ByteaOutput = exports.postgresqlHostConfig11_BackslashQuoteToJSON = exports.postgresqlHostConfig11_BackslashQuoteFromJSON = exports.PostgresqlHostConfig11_BackslashQuote = exports.protobufPackage = void 0; /* eslint-disable */ const typeRegistry_1 = require("../../../../../../typeRegistry"); const long_1 = __importDefault(require("long")); const minimal_1 = __importDefault(require("protobufjs/minimal")); const wrappers_1 = require("../../../../../../google/protobuf/wrappers"); exports.protobufPackage = "yandex.cloud.mdb.postgresql.v1.config"; var PostgresqlHostConfig11_BackslashQuote; (function (PostgresqlHostConfig11_BackslashQuote) { PostgresqlHostConfig11_BackslashQuote[PostgresqlHostConfig11_BackslashQuote["BACKSLASH_QUOTE_UNSPECIFIED"] = 0] = "BACKSLASH_QUOTE_UNSPECIFIED"; PostgresqlHostConfig11_BackslashQuote[PostgresqlHostConfig11_BackslashQuote["BACKSLASH_QUOTE"] = 1] = "BACKSLASH_QUOTE"; PostgresqlHostConfig11_BackslashQuote[PostgresqlHostConfig11_BackslashQuote["BACKSLASH_QUOTE_ON"] = 2] = "BACKSLASH_QUOTE_ON"; PostgresqlHostConfig11_BackslashQuote[PostgresqlHostConfig11_BackslashQuote["BACKSLASH_QUOTE_OFF"] = 3] = "BACKSLASH_QUOTE_OFF"; PostgresqlHostConfig11_BackslashQuote[PostgresqlHostConfig11_BackslashQuote["BACKSLASH_QUOTE_SAFE_ENCODING"] = 4] = "BACKSLASH_QUOTE_SAFE_ENCODING"; PostgresqlHostConfig11_BackslashQuote[PostgresqlHostConfig11_BackslashQuote["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(PostgresqlHostConfig11_BackslashQuote = exports.PostgresqlHostConfig11_BackslashQuote || (exports.PostgresqlHostConfig11_BackslashQuote = {})); function postgresqlHostConfig11_BackslashQuoteFromJSON(object) { switch (object) { case 0: case "BACKSLASH_QUOTE_UNSPECIFIED": return PostgresqlHostConfig11_BackslashQuote.BACKSLASH_QUOTE_UNSPECIFIED; case 1: case "BACKSLASH_QUOTE": return PostgresqlHostConfig11_BackslashQuote.BACKSLASH_QUOTE; case 2: case "BACKSLASH_QUOTE_ON": return PostgresqlHostConfig11_BackslashQuote.BACKSLASH_QUOTE_ON; case 3: case "BACKSLASH_QUOTE_OFF": return PostgresqlHostConfig11_BackslashQuote.BACKSLASH_QUOTE_OFF; case 4: case "BACKSLASH_QUOTE_SAFE_ENCODING": return PostgresqlHostConfig11_BackslashQuote.BACKSLASH_QUOTE_SAFE_ENCODING; case -1: case "UNRECOGNIZED": default: return PostgresqlHostConfig11_BackslashQuote.UNRECOGNIZED; } } exports.postgresqlHostConfig11_BackslashQuoteFromJSON = postgresqlHostConfig11_BackslashQuoteFromJSON; function postgresqlHostConfig11_BackslashQuoteToJSON(object) { switch (object) { case PostgresqlHostConfig11_BackslashQuote.BACKSLASH_QUOTE_UNSPECIFIED: return "BACKSLASH_QUOTE_UNSPECIFIED"; case PostgresqlHostConfig11_BackslashQuote.BACKSLASH_QUOTE: return "BACKSLASH_QUOTE"; case PostgresqlHostConfig11_BackslashQuote.BACKSLASH_QUOTE_ON: return "BACKSLASH_QUOTE_ON"; case PostgresqlHostConfig11_BackslashQuote.BACKSLASH_QUOTE_OFF: return "BACKSLASH_QUOTE_OFF"; case PostgresqlHostConfig11_BackslashQuote.BACKSLASH_QUOTE_SAFE_ENCODING: return "BACKSLASH_QUOTE_SAFE_ENCODING"; default: return "UNKNOWN"; } } exports.postgresqlHostConfig11_BackslashQuoteToJSON = postgresqlHostConfig11_BackslashQuoteToJSON; var PostgresqlHostConfig11_ByteaOutput; (function (PostgresqlHostConfig11_ByteaOutput) { PostgresqlHostConfig11_ByteaOutput[PostgresqlHostConfig11_ByteaOutput["BYTEA_OUTPUT_UNSPECIFIED"] = 0] = "BYTEA_OUTPUT_UNSPECIFIED"; PostgresqlHostConfig11_ByteaOutput[PostgresqlHostConfig11_ByteaOutput["BYTEA_OUTPUT_HEX"] = 1] = "BYTEA_OUTPUT_HEX"; PostgresqlHostConfig11_ByteaOutput[PostgresqlHostConfig11_ByteaOutput["BYTEA_OUTPUT_ESCAPED"] = 2] = "BYTEA_OUTPUT_ESCAPED"; PostgresqlHostConfig11_ByteaOutput[PostgresqlHostConfig11_ByteaOutput["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(PostgresqlHostConfig11_ByteaOutput = exports.PostgresqlHostConfig11_ByteaOutput || (exports.PostgresqlHostConfig11_ByteaOutput = {})); function postgresqlHostConfig11_ByteaOutputFromJSON(object) { switch (object) { case 0: case "BYTEA_OUTPUT_UNSPECIFIED": return PostgresqlHostConfig11_ByteaOutput.BYTEA_OUTPUT_UNSPECIFIED; case 1: case "BYTEA_OUTPUT_HEX": return PostgresqlHostConfig11_ByteaOutput.BYTEA_OUTPUT_HEX; case 2: case "BYTEA_OUTPUT_ESCAPED": return PostgresqlHostConfig11_ByteaOutput.BYTEA_OUTPUT_ESCAPED; case -1: case "UNRECOGNIZED": default: return PostgresqlHostConfig11_ByteaOutput.UNRECOGNIZED; } } exports.postgresqlHostConfig11_ByteaOutputFromJSON = postgresqlHostConfig11_ByteaOutputFromJSON; function postgresqlHostConfig11_ByteaOutputToJSON(object) { switch (object) { case PostgresqlHostConfig11_ByteaOutput.BYTEA_OUTPUT_UNSPECIFIED: return "BYTEA_OUTPUT_UNSPECIFIED"; case PostgresqlHostConfig11_ByteaOutput.BYTEA_OUTPUT_HEX: return "BYTEA_OUTPUT_HEX"; case PostgresqlHostConfig11_ByteaOutput.BYTEA_OUTPUT_ESCAPED: return "BYTEA_OUTPUT_ESCAPED"; default: return "UNKNOWN"; } } exports.postgresqlHostConfig11_ByteaOutputToJSON = postgresqlHostConfig11_ByteaOutputToJSON; var PostgresqlHostConfig11_ConstraintExclusion; (function (PostgresqlHostConfig11_ConstraintExclusion) { PostgresqlHostConfig11_ConstraintExclusion[PostgresqlHostConfig11_ConstraintExclusion["CONSTRAINT_EXCLUSION_UNSPECIFIED"] = 0] = "CONSTRAINT_EXCLUSION_UNSPECIFIED"; PostgresqlHostConfig11_ConstraintExclusion[PostgresqlHostConfig11_ConstraintExclusion["CONSTRAINT_EXCLUSION_ON"] = 1] = "CONSTRAINT_EXCLUSION_ON"; PostgresqlHostConfig11_ConstraintExclusion[PostgresqlHostConfig11_ConstraintExclusion["CONSTRAINT_EXCLUSION_OFF"] = 2] = "CONSTRAINT_EXCLUSION_OFF"; PostgresqlHostConfig11_ConstraintExclusion[PostgresqlHostConfig11_ConstraintExclusion["CONSTRAINT_EXCLUSION_PARTITION"] = 3] = "CONSTRAINT_EXCLUSION_PARTITION"; PostgresqlHostConfig11_ConstraintExclusion[PostgresqlHostConfig11_ConstraintExclusion["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(PostgresqlHostConfig11_ConstraintExclusion = exports.PostgresqlHostConfig11_ConstraintExclusion || (exports.PostgresqlHostConfig11_ConstraintExclusion = {})); function postgresqlHostConfig11_ConstraintExclusionFromJSON(object) { switch (object) { case 0: case "CONSTRAINT_EXCLUSION_UNSPECIFIED": return PostgresqlHostConfig11_ConstraintExclusion.CONSTRAINT_EXCLUSION_UNSPECIFIED; case 1: case "CONSTRAINT_EXCLUSION_ON": return PostgresqlHostConfig11_ConstraintExclusion.CONSTRAINT_EXCLUSION_ON; case 2: case "CONSTRAINT_EXCLUSION_OFF": return PostgresqlHostConfig11_ConstraintExclusion.CONSTRAINT_EXCLUSION_OFF; case 3: case "CONSTRAINT_EXCLUSION_PARTITION": return PostgresqlHostConfig11_ConstraintExclusion.CONSTRAINT_EXCLUSION_PARTITION; case -1: case "UNRECOGNIZED": default: return PostgresqlHostConfig11_ConstraintExclusion.UNRECOGNIZED; } } exports.postgresqlHostConfig11_ConstraintExclusionFromJSON = postgresqlHostConfig11_ConstraintExclusionFromJSON; function postgresqlHostConfig11_ConstraintExclusionToJSON(object) { switch (object) { case PostgresqlHostConfig11_ConstraintExclusion.CONSTRAINT_EXCLUSION_UNSPECIFIED: return "CONSTRAINT_EXCLUSION_UNSPECIFIED"; case PostgresqlHostConfig11_ConstraintExclusion.CONSTRAINT_EXCLUSION_ON: return "CONSTRAINT_EXCLUSION_ON"; case PostgresqlHostConfig11_ConstraintExclusion.CONSTRAINT_EXCLUSION_OFF: return "CONSTRAINT_EXCLUSION_OFF"; case PostgresqlHostConfig11_ConstraintExclusion.CONSTRAINT_EXCLUSION_PARTITION: return "CONSTRAINT_EXCLUSION_PARTITION"; default: return "UNKNOWN"; } } exports.postgresqlHostConfig11_ConstraintExclusionToJSON = postgresqlHostConfig11_ConstraintExclusionToJSON; var PostgresqlHostConfig11_ForceParallelMode; (function (PostgresqlHostConfig11_ForceParallelMode) { PostgresqlHostConfig11_ForceParallelMode[PostgresqlHostConfig11_ForceParallelMode["FORCE_PARALLEL_MODE_UNSPECIFIED"] = 0] = "FORCE_PARALLEL_MODE_UNSPECIFIED"; PostgresqlHostConfig11_ForceParallelMode[PostgresqlHostConfig11_ForceParallelMode["FORCE_PARALLEL_MODE_ON"] = 1] = "FORCE_PARALLEL_MODE_ON"; PostgresqlHostConfig11_ForceParallelMode[PostgresqlHostConfig11_ForceParallelMode["FORCE_PARALLEL_MODE_OFF"] = 2] = "FORCE_PARALLEL_MODE_OFF"; PostgresqlHostConfig11_ForceParallelMode[PostgresqlHostConfig11_ForceParallelMode["FORCE_PARALLEL_MODE_REGRESS"] = 3] = "FORCE_PARALLEL_MODE_REGRESS"; PostgresqlHostConfig11_ForceParallelMode[PostgresqlHostConfig11_ForceParallelMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(PostgresqlHostConfig11_ForceParallelMode = exports.PostgresqlHostConfig11_ForceParallelMode || (exports.PostgresqlHostConfig11_ForceParallelMode = {})); function postgresqlHostConfig11_ForceParallelModeFromJSON(object) { switch (object) { case 0: case "FORCE_PARALLEL_MODE_UNSPECIFIED": return PostgresqlHostConfig11_ForceParallelMode.FORCE_PARALLEL_MODE_UNSPECIFIED; case 1: case "FORCE_PARALLEL_MODE_ON": return PostgresqlHostConfig11_ForceParallelMode.FORCE_PARALLEL_MODE_ON; case 2: case "FORCE_PARALLEL_MODE_OFF": return PostgresqlHostConfig11_ForceParallelMode.FORCE_PARALLEL_MODE_OFF; case 3: case "FORCE_PARALLEL_MODE_REGRESS": return PostgresqlHostConfig11_ForceParallelMode.FORCE_PARALLEL_MODE_REGRESS; case -1: case "UNRECOGNIZED": default: return PostgresqlHostConfig11_ForceParallelMode.UNRECOGNIZED; } } exports.postgresqlHostConfig11_ForceParallelModeFromJSON = postgresqlHostConfig11_ForceParallelModeFromJSON; function postgresqlHostConfig11_ForceParallelModeToJSON(object) { switch (object) { case PostgresqlHostConfig11_ForceParallelMode.FORCE_PARALLEL_MODE_UNSPECIFIED: return "FORCE_PARALLEL_MODE_UNSPECIFIED"; case PostgresqlHostConfig11_ForceParallelMode.FORCE_PARALLEL_MODE_ON: return "FORCE_PARALLEL_MODE_ON"; case PostgresqlHostConfig11_ForceParallelMode.FORCE_PARALLEL_MODE_OFF: return "FORCE_PARALLEL_MODE_OFF"; case PostgresqlHostConfig11_ForceParallelMode.FORCE_PARALLEL_MODE_REGRESS: return "FORCE_PARALLEL_MODE_REGRESS"; default: return "UNKNOWN"; } } exports.postgresqlHostConfig11_ForceParallelModeToJSON = postgresqlHostConfig11_ForceParallelModeToJSON; var PostgresqlHostConfig11_LogErrorVerbosity; (function (PostgresqlHostConfig11_LogErrorVerbosity) { PostgresqlHostConfig11_LogErrorVerbosity[PostgresqlHostConfig11_LogErrorVerbosity["LOG_ERROR_VERBOSITY_UNSPECIFIED"] = 0] = "LOG_ERROR_VERBOSITY_UNSPECIFIED"; PostgresqlHostConfig11_LogErrorVerbosity[PostgresqlHostConfig11_LogErrorVerbosity["LOG_ERROR_VERBOSITY_TERSE"] = 1] = "LOG_ERROR_VERBOSITY_TERSE"; PostgresqlHostConfig11_LogErrorVerbosity[PostgresqlHostConfig11_LogErrorVerbosity["LOG_ERROR_VERBOSITY_DEFAULT"] = 2] = "LOG_ERROR_VERBOSITY_DEFAULT"; PostgresqlHostConfig11_LogErrorVerbosity[PostgresqlHostConfig11_LogErrorVerbosity["LOG_ERROR_VERBOSITY_VERBOSE"] = 3] = "LOG_ERROR_VERBOSITY_VERBOSE"; PostgresqlHostConfig11_LogErrorVerbosity[PostgresqlHostConfig11_LogErrorVerbosity["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(PostgresqlHostConfig11_LogErrorVerbosity = exports.PostgresqlHostConfig11_LogErrorVerbosity || (exports.PostgresqlHostConfig11_LogErrorVerbosity = {})); function postgresqlHostConfig11_LogErrorVerbosityFromJSON(object) { switch (object) { case 0: case "LOG_ERROR_VERBOSITY_UNSPECIFIED": return PostgresqlHostConfig11_LogErrorVerbosity.LOG_ERROR_VERBOSITY_UNSPECIFIED; case 1: case "LOG_ERROR_VERBOSITY_TERSE": return PostgresqlHostConfig11_LogErrorVerbosity.LOG_ERROR_VERBOSITY_TERSE; case 2: case "LOG_ERROR_VERBOSITY_DEFAULT": return PostgresqlHostConfig11_LogErrorVerbosity.LOG_ERROR_VERBOSITY_DEFAULT; case 3: case "LOG_ERROR_VERBOSITY_VERBOSE": return PostgresqlHostConfig11_LogErrorVerbosity.LOG_ERROR_VERBOSITY_VERBOSE; case -1: case "UNRECOGNIZED": default: return PostgresqlHostConfig11_LogErrorVerbosity.UNRECOGNIZED; } } exports.postgresqlHostConfig11_LogErrorVerbosityFromJSON = postgresqlHostConfig11_LogErrorVerbosityFromJSON; function postgresqlHostConfig11_LogErrorVerbosityToJSON(object) { switch (object) { case PostgresqlHostConfig11_LogErrorVerbosity.LOG_ERROR_VERBOSITY_UNSPECIFIED: return "LOG_ERROR_VERBOSITY_UNSPECIFIED"; case PostgresqlHostConfig11_LogErrorVerbosity.LOG_ERROR_VERBOSITY_TERSE: return "LOG_ERROR_VERBOSITY_TERSE"; case PostgresqlHostConfig11_LogErrorVerbosity.LOG_ERROR_VERBOSITY_DEFAULT: return "LOG_ERROR_VERBOSITY_DEFAULT"; case PostgresqlHostConfig11_LogErrorVerbosity.LOG_ERROR_VERBOSITY_VERBOSE: return "LOG_ERROR_VERBOSITY_VERBOSE"; default: return "UNKNOWN"; } } exports.postgresqlHostConfig11_LogErrorVerbosityToJSON = postgresqlHostConfig11_LogErrorVerbosityToJSON; var PostgresqlHostConfig11_LogLevel; (function (PostgresqlHostConfig11_LogLevel) { PostgresqlHostConfig11_LogLevel[PostgresqlHostConfig11_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED"; PostgresqlHostConfig11_LogLevel[PostgresqlHostConfig11_LogLevel["LOG_LEVEL_DEBUG5"] = 1] = "LOG_LEVEL_DEBUG5"; PostgresqlHostConfig11_LogLevel[PostgresqlHostConfig11_LogLevel["LOG_LEVEL_DEBUG4"] = 2] = "LOG_LEVEL_DEBUG4"; PostgresqlHostConfig11_LogLevel[PostgresqlHostConfig11_LogLevel["LOG_LEVEL_DEBUG3"] = 3] = "LOG_LEVEL_DEBUG3"; PostgresqlHostConfig11_LogLevel[PostgresqlHostConfig11_LogLevel["LOG_LEVEL_DEBUG2"] = 4] = "LOG_LEVEL_DEBUG2"; PostgresqlHostConfig11_LogLevel[PostgresqlHostConfig11_LogLevel["LOG_LEVEL_DEBUG1"] = 5] = "LOG_LEVEL_DEBUG1"; PostgresqlHostConfig11_LogLevel[PostgresqlHostConfig11_LogLevel["LOG_LEVEL_LOG"] = 6] = "LOG_LEVEL_LOG"; PostgresqlHostConfig11_LogLevel[PostgresqlHostConfig11_LogLevel["LOG_LEVEL_NOTICE"] = 7] = "LOG_LEVEL_NOTICE"; PostgresqlHostConfig11_LogLevel[PostgresqlHostConfig11_LogLevel["LOG_LEVEL_WARNING"] = 8] = "LOG_LEVEL_WARNING"; PostgresqlHostConfig11_LogLevel[PostgresqlHostConfig11_LogLevel["LOG_LEVEL_ERROR"] = 9] = "LOG_LEVEL_ERROR"; PostgresqlHostConfig11_LogLevel[PostgresqlHostConfig11_LogLevel["LOG_LEVEL_FATAL"] = 10] = "LOG_LEVEL_FATAL"; PostgresqlHostConfig11_LogLevel[PostgresqlHostConfig11_LogLevel["LOG_LEVEL_PANIC"] = 11] = "LOG_LEVEL_PANIC"; PostgresqlHostConfig11_LogLevel[PostgresqlHostConfig11_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(PostgresqlHostConfig11_LogLevel = exports.PostgresqlHostConfig11_LogLevel || (exports.PostgresqlHostConfig11_LogLevel = {})); function postgresqlHostConfig11_LogLevelFromJSON(object) { switch (object) { case 0: case "LOG_LEVEL_UNSPECIFIED": return PostgresqlHostConfig11_LogLevel.LOG_LEVEL_UNSPECIFIED; case 1: case "LOG_LEVEL_DEBUG5": return PostgresqlHostConfig11_LogLevel.LOG_LEVEL_DEBUG5; case 2: case "LOG_LEVEL_DEBUG4": return PostgresqlHostConfig11_LogLevel.LOG_LEVEL_DEBUG4; case 3: case "LOG_LEVEL_DEBUG3": return PostgresqlHostConfig11_LogLevel.LOG_LEVEL_DEBUG3; case 4: case "LOG_LEVEL_DEBUG2": return PostgresqlHostConfig11_LogLevel.LOG_LEVEL_DEBUG2; case 5: case "LOG_LEVEL_DEBUG1": return PostgresqlHostConfig11_LogLevel.LOG_LEVEL_DEBUG1; case 6: case "LOG_LEVEL_LOG": return PostgresqlHostConfig11_LogLevel.LOG_LEVEL_LOG; case 7: case "LOG_LEVEL_NOTICE": return PostgresqlHostConfig11_LogLevel.LOG_LEVEL_NOTICE; case 8: case "LOG_LEVEL_WARNING": return PostgresqlHostConfig11_LogLevel.LOG_LEVEL_WARNING; case 9: case "LOG_LEVEL_ERROR": return PostgresqlHostConfig11_LogLevel.LOG_LEVEL_ERROR; case 10: case "LOG_LEVEL_FATAL": return PostgresqlHostConfig11_LogLevel.LOG_LEVEL_FATAL; case 11: case "LOG_LEVEL_PANIC": return PostgresqlHostConfig11_LogLevel.LOG_LEVEL_PANIC; case -1: case "UNRECOGNIZED": default: return PostgresqlHostConfig11_LogLevel.UNRECOGNIZED; } } exports.postgresqlHostConfig11_LogLevelFromJSON = postgresqlHostConfig11_LogLevelFromJSON; function postgresqlHostConfig11_LogLevelToJSON(object) { switch (object) { case PostgresqlHostConfig11_LogLevel.LOG_LEVEL_UNSPECIFIED: return "LOG_LEVEL_UNSPECIFIED"; case PostgresqlHostConfig11_LogLevel.LOG_LEVEL_DEBUG5: return "LOG_LEVEL_DEBUG5"; case PostgresqlHostConfig11_LogLevel.LOG_LEVEL_DEBUG4: return "LOG_LEVEL_DEBUG4"; case PostgresqlHostConfig11_LogLevel.LOG_LEVEL_DEBUG3: return "LOG_LEVEL_DEBUG3"; case PostgresqlHostConfig11_LogLevel.LOG_LEVEL_DEBUG2: return "LOG_LEVEL_DEBUG2"; case PostgresqlHostConfig11_LogLevel.LOG_LEVEL_DEBUG1: return "LOG_LEVEL_DEBUG1"; case PostgresqlHostConfig11_LogLevel.LOG_LEVEL_LOG: return "LOG_LEVEL_LOG"; case PostgresqlHostConfig11_LogLevel.LOG_LEVEL_NOTICE: return "LOG_LEVEL_NOTICE"; case PostgresqlHostConfig11_LogLevel.LOG_LEVEL_WARNING: return "LOG_LEVEL_WARNING"; case PostgresqlHostConfig11_LogLevel.LOG_LEVEL_ERROR: return "LOG_LEVEL_ERROR"; case PostgresqlHostConfig11_LogLevel.LOG_LEVEL_FATAL: return "LOG_LEVEL_FATAL"; case PostgresqlHostConfig11_LogLevel.LOG_LEVEL_PANIC: return "LOG_LEVEL_PANIC"; default: return "UNKNOWN"; } } exports.postgresqlHostConfig11_LogLevelToJSON = postgresqlHostConfig11_LogLevelToJSON; var PostgresqlHostConfig11_LogStatement; (function (PostgresqlHostConfig11_LogStatement) { PostgresqlHostConfig11_LogStatement[PostgresqlHostConfig11_LogStatement["LOG_STATEMENT_UNSPECIFIED"] = 0] = "LOG_STATEMENT_UNSPECIFIED"; PostgresqlHostConfig11_LogStatement[PostgresqlHostConfig11_LogStatement["LOG_STATEMENT_NONE"] = 1] = "LOG_STATEMENT_NONE"; PostgresqlHostConfig11_LogStatement[PostgresqlHostConfig11_LogStatement["LOG_STATEMENT_DDL"] = 2] = "LOG_STATEMENT_DDL"; PostgresqlHostConfig11_LogStatement[PostgresqlHostConfig11_LogStatement["LOG_STATEMENT_MOD"] = 3] = "LOG_STATEMENT_MOD"; PostgresqlHostConfig11_LogStatement[PostgresqlHostConfig11_LogStatement["LOG_STATEMENT_ALL"] = 4] = "LOG_STATEMENT_ALL"; PostgresqlHostConfig11_LogStatement[PostgresqlHostConfig11_LogStatement["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(PostgresqlHostConfig11_LogStatement = exports.PostgresqlHostConfig11_LogStatement || (exports.PostgresqlHostConfig11_LogStatement = {})); function postgresqlHostConfig11_LogStatementFromJSON(object) { switch (object) { case 0: case "LOG_STATEMENT_UNSPECIFIED": return PostgresqlHostConfig11_LogStatement.LOG_STATEMENT_UNSPECIFIED; case 1: case "LOG_STATEMENT_NONE": return PostgresqlHostConfig11_LogStatement.LOG_STATEMENT_NONE; case 2: case "LOG_STATEMENT_DDL": return PostgresqlHostConfig11_LogStatement.LOG_STATEMENT_DDL; case 3: case "LOG_STATEMENT_MOD": return PostgresqlHostConfig11_LogStatement.LOG_STATEMENT_MOD; case 4: case "LOG_STATEMENT_ALL": return PostgresqlHostConfig11_LogStatement.LOG_STATEMENT_ALL; case -1: case "UNRECOGNIZED": default: return PostgresqlHostConfig11_LogStatement.UNRECOGNIZED; } } exports.postgresqlHostConfig11_LogStatementFromJSON = postgresqlHostConfig11_LogStatementFromJSON; function postgresqlHostConfig11_LogStatementToJSON(object) { switch (object) { case PostgresqlHostConfig11_LogStatement.LOG_STATEMENT_UNSPECIFIED: return "LOG_STATEMENT_UNSPECIFIED"; case PostgresqlHostConfig11_LogStatement.LOG_STATEMENT_NONE: return "LOG_STATEMENT_NONE"; case PostgresqlHostConfig11_LogStatement.LOG_STATEMENT_DDL: return "LOG_STATEMENT_DDL"; case PostgresqlHostConfig11_LogStatement.LOG_STATEMENT_MOD: return "LOG_STATEMENT_MOD"; case PostgresqlHostConfig11_LogStatement.LOG_STATEMENT_ALL: return "LOG_STATEMENT_ALL"; default: return "UNKNOWN"; } } exports.postgresqlHostConfig11_LogStatementToJSON = postgresqlHostConfig11_LogStatementToJSON; var PostgresqlHostConfig11_TransactionIsolation; (function (PostgresqlHostConfig11_TransactionIsolation) { PostgresqlHostConfig11_TransactionIsolation[PostgresqlHostConfig11_TransactionIsolation["TRANSACTION_ISOLATION_UNSPECIFIED"] = 0] = "TRANSACTION_ISOLATION_UNSPECIFIED"; PostgresqlHostConfig11_TransactionIsolation[PostgresqlHostConfig11_TransactionIsolation["TRANSACTION_ISOLATION_READ_UNCOMMITTED"] = 1] = "TRANSACTION_ISOLATION_READ_UNCOMMITTED"; PostgresqlHostConfig11_TransactionIsolation[PostgresqlHostConfig11_TransactionIsolation["TRANSACTION_ISOLATION_READ_COMMITTED"] = 2] = "TRANSACTION_ISOLATION_READ_COMMITTED"; PostgresqlHostConfig11_TransactionIsolation[PostgresqlHostConfig11_TransactionIsolation["TRANSACTION_ISOLATION_REPEATABLE_READ"] = 3] = "TRANSACTION_ISOLATION_REPEATABLE_READ"; PostgresqlHostConfig11_TransactionIsolation[PostgresqlHostConfig11_TransactionIsolation["TRANSACTION_ISOLATION_SERIALIZABLE"] = 4] = "TRANSACTION_ISOLATION_SERIALIZABLE"; PostgresqlHostConfig11_TransactionIsolation[PostgresqlHostConfig11_TransactionIsolation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(PostgresqlHostConfig11_TransactionIsolation = exports.PostgresqlHostConfig11_TransactionIsolation || (exports.PostgresqlHostConfig11_TransactionIsolation = {})); function postgresqlHostConfig11_TransactionIsolationFromJSON(object) { switch (object) { case 0: case "TRANSACTION_ISOLATION_UNSPECIFIED": return PostgresqlHostConfig11_TransactionIsolation.TRANSACTION_ISOLATION_UNSPECIFIED; case 1: case "TRANSACTION_ISOLATION_READ_UNCOMMITTED": return PostgresqlHostConfig11_TransactionIsolation.TRANSACTION_ISOLATION_READ_UNCOMMITTED; case 2: case "TRANSACTION_ISOLATION_READ_COMMITTED": return PostgresqlHostConfig11_TransactionIsolation.TRANSACTION_ISOLATION_READ_COMMITTED; case 3: case "TRANSACTION_ISOLATION_REPEATABLE_READ": return PostgresqlHostConfig11_TransactionIsolation.TRANSACTION_ISOLATION_REPEATABLE_READ; case 4: case "TRANSACTION_ISOLATION_SERIALIZABLE": return PostgresqlHostConfig11_TransactionIsolation.TRANSACTION_ISOLATION_SERIALIZABLE; case -1: case "UNRECOGNIZED": default: return PostgresqlHostConfig11_TransactionIsolation.UNRECOGNIZED; } } exports.postgresqlHostConfig11_TransactionIsolationFromJSON = postgresqlHostConfig11_TransactionIsolationFromJSON; function postgresqlHostConfig11_TransactionIsolationToJSON(object) { switch (object) { case PostgresqlHostConfig11_TransactionIsolation.TRANSACTION_ISOLATION_UNSPECIFIED: return "TRANSACTION_ISOLATION_UNSPECIFIED"; case PostgresqlHostConfig11_TransactionIsolation.TRANSACTION_ISOLATION_READ_UNCOMMITTED: return "TRANSACTION_ISOLATION_READ_UNCOMMITTED"; case PostgresqlHostConfig11_TransactionIsolation.TRANSACTION_ISOLATION_READ_COMMITTED: return "TRANSACTION_ISOLATION_READ_COMMITTED"; case PostgresqlHostConfig11_TransactionIsolation.TRANSACTION_ISOLATION_REPEATABLE_READ: return "TRANSACTION_ISOLATION_REPEATABLE_READ"; case PostgresqlHostConfig11_TransactionIsolation.TRANSACTION_ISOLATION_SERIALIZABLE: return "TRANSACTION_ISOLATION_SERIALIZABLE"; default: return "UNKNOWN"; } } exports.postgresqlHostConfig11_TransactionIsolationToJSON = postgresqlHostConfig11_TransactionIsolationToJSON; var PostgresqlHostConfig11_XmlBinary; (function (PostgresqlHostConfig11_XmlBinary) { PostgresqlHostConfig11_XmlBinary[PostgresqlHostConfig11_XmlBinary["XML_BINARY_UNSPECIFIED"] = 0] = "XML_BINARY_UNSPECIFIED"; PostgresqlHostConfig11_XmlBinary[PostgresqlHostConfig11_XmlBinary["XML_BINARY_BASE64"] = 1] = "XML_BINARY_BASE64"; PostgresqlHostConfig11_XmlBinary[PostgresqlHostConfig11_XmlBinary["XML_BINARY_HEX"] = 2] = "XML_BINARY_HEX"; PostgresqlHostConfig11_XmlBinary[PostgresqlHostConfig11_XmlBinary["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(PostgresqlHostConfig11_XmlBinary = exports.PostgresqlHostConfig11_XmlBinary || (exports.PostgresqlHostConfig11_XmlBinary = {})); function postgresqlHostConfig11_XmlBinaryFromJSON(object) { switch (object) { case 0: case "XML_BINARY_UNSPECIFIED": return PostgresqlHostConfig11_XmlBinary.XML_BINARY_UNSPECIFIED; case 1: case "XML_BINARY_BASE64": return PostgresqlHostConfig11_XmlBinary.XML_BINARY_BASE64; case 2: case "XML_BINARY_HEX": return PostgresqlHostConfig11_XmlBinary.XML_BINARY_HEX; case -1: case "UNRECOGNIZED": default: return PostgresqlHostConfig11_XmlBinary.UNRECOGNIZED; } } exports.postgresqlHostConfig11_XmlBinaryFromJSON = postgresqlHostConfig11_XmlBinaryFromJSON; function postgresqlHostConfig11_XmlBinaryToJSON(object) { switch (object) { case PostgresqlHostConfig11_XmlBinary.XML_BINARY_UNSPECIFIED: return "XML_BINARY_UNSPECIFIED"; case PostgresqlHostConfig11_XmlBinary.XML_BINARY_BASE64: return "XML_BINARY_BASE64"; case PostgresqlHostConfig11_XmlBinary.XML_BINARY_HEX: return "XML_BINARY_HEX"; default: return "UNKNOWN"; } } exports.postgresqlHostConfig11_XmlBinaryToJSON = postgresqlHostConfig11_XmlBinaryToJSON; var PostgresqlHostConfig11_XmlOption; (function (PostgresqlHostConfig11_XmlOption) { PostgresqlHostConfig11_XmlOption[PostgresqlHostConfig11_XmlOption["XML_OPTION_UNSPECIFIED"] = 0] = "XML_OPTION_UNSPECIFIED"; PostgresqlHostConfig11_XmlOption[PostgresqlHostConfig11_XmlOption["XML_OPTION_DOCUMENT"] = 1] = "XML_OPTION_DOCUMENT"; PostgresqlHostConfig11_XmlOption[PostgresqlHostConfig11_XmlOption["XML_OPTION_CONTENT"] = 2] = "XML_OPTION_CONTENT"; PostgresqlHostConfig11_XmlOption[PostgresqlHostConfig11_XmlOption["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(PostgresqlHostConfig11_XmlOption = exports.PostgresqlHostConfig11_XmlOption || (exports.PostgresqlHostConfig11_XmlOption = {})); function postgresqlHostConfig11_XmlOptionFromJSON(object) { switch (object) { case 0: case "XML_OPTION_UNSPECIFIED": return PostgresqlHostConfig11_XmlOption.XML_OPTION_UNSPECIFIED; case 1: case "XML_OPTION_DOCUMENT": return PostgresqlHostConfig11_XmlOption.XML_OPTION_DOCUMENT; case 2: case "XML_OPTION_CONTENT": return PostgresqlHostConfig11_XmlOption.XML_OPTION_CONTENT; case -1: case "UNRECOGNIZED": default: return PostgresqlHostConfig11_XmlOption.UNRECOGNIZED; } } exports.postgresqlHostConfig11_XmlOptionFromJSON = postgresqlHostConfig11_XmlOptionFromJSON; function postgresqlHostConfig11_XmlOptionToJSON(object) { switch (object) { case PostgresqlHostConfig11_XmlOption.XML_OPTION_UNSPECIFIED: return "XML_OPTION_UNSPECIFIED"; case PostgresqlHostConfig11_XmlOption.XML_OPTION_DOCUMENT: return "XML_OPTION_DOCUMENT"; case PostgresqlHostConfig11_XmlOption.XML_OPTION_CONTENT: return "XML_OPTION_CONTENT"; default: return "UNKNOWN"; } } exports.postgresqlHostConfig11_XmlOptionToJSON = postgresqlHostConfig11_XmlOptionToJSON; const basePostgresqlHostConfig11 = { $type: "yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig11", constraintExclusion: 0, forceParallelMode: 0, clientMinMessages: 0, logMinMessages: 0, logMinErrorStatement: 0, logErrorVerbosity: 0, logStatement: 0, searchPath: "", defaultTransactionIsolation: 0, byteaOutput: 0, xmlbinary: 0, xmloption: 0, backslashQuote: 0, timezone: "", }; exports.PostgresqlHostConfig11 = { $type: "yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig11", encode(message, writer = minimal_1.default.Writer.create()) { if (message.recoveryMinApplyDelay !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.recoveryMinApplyDelay, }, writer.uint32(10).fork()).ldelim(); } if (message.sharedBuffers !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.sharedBuffers }, writer.uint32(18).fork()).ldelim(); } if (message.tempBuffers !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.tempBuffers }, writer.uint32(26).fork()).ldelim(); } if (message.workMem !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.workMem }, writer.uint32(34).fork()).ldelim(); } if (message.tempFileLimit !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.tempFileLimit }, writer.uint32(42).fork()).ldelim(); } if (message.backendFlushAfter !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.backendFlushAfter, }, writer.uint32(50).fork()).ldelim(); } if (message.oldSnapshotThreshold !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.oldSnapshotThreshold, }, writer.uint32(58).fork()).ldelim(); } if (message.maxStandbyStreamingDelay !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.maxStandbyStreamingDelay, }, writer.uint32(66).fork()).ldelim(); } if (message.constraintExclusion !== 0) { writer.uint32(72).int32(message.constraintExclusion); } if (message.cursorTupleFraction !== undefined) { wrappers_1.DoubleValue.encode({ $type: "google.protobuf.DoubleValue", value: message.cursorTupleFraction, }, writer.uint32(82).fork()).ldelim(); } if (message.fromCollapseLimit !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.fromCollapseLimit, }, writer.uint32(90).fork()).ldelim(); } if (message.joinCollapseLimit !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.joinCollapseLimit, }, writer.uint32(98).fork()).ldelim(); } if (message.forceParallelMode !== 0) { writer.uint32(104).int32(message.forceParallelMode); } if (message.clientMinMessages !== 0) { writer.uint32(112).int32(message.clientMinMessages); } if (message.logMinMessages !== 0) { writer.uint32(120).int32(message.logMinMessages); } if (message.logMinErrorStatement !== 0) { writer.uint32(128).int32(message.logMinErrorStatement); } if (message.logMinDurationStatement !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.logMinDurationStatement, }, writer.uint32(138).fork()).ldelim(); } if (message.logCheckpoints !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.logCheckpoints }, writer.uint32(146).fork()).ldelim(); } if (message.logConnections !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.logConnections }, writer.uint32(154).fork()).ldelim(); } if (message.logDisconnections !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.logDisconnections, }, writer.uint32(162).fork()).ldelim(); } if (message.logDuration !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.logDuration }, writer.uint32(170).fork()).ldelim(); } if (message.logErrorVerbosity !== 0) { writer.uint32(176).int32(message.logErrorVerbosity); } if (message.logLockWaits !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.logLockWaits }, writer.uint32(186).fork()).ldelim(); } if (message.logStatement !== 0) { writer.uint32(192).int32(message.logStatement); } if (message.logTempFiles !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.logTempFiles }, writer.uint32(202).fork()).ldelim(); } if (message.searchPath !== "") { writer.uint32(210).string(message.searchPath); } if (message.rowSecurity !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.rowSecurity }, writer.uint32(218).fork()).ldelim(); } if (message.defaultTransactionIsolation !== 0) { writer.uint32(224).int32(message.defaultTransactionIsolation); } if (message.statementTimeout !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.statementTimeout, }, writer.uint32(234).fork()).ldelim(); } if (message.lockTimeout !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.lockTimeout }, writer.uint32(242).fork()).ldelim(); } if (message.idleInTransactionSessionTimeout !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.idleInTransactionSessionTimeout, }, writer.uint32(250).fork()).ldelim(); } if (message.byteaOutput !== 0) { writer.uint32(256).int32(message.byteaOutput); } if (message.xmlbinary !== 0) { writer.uint32(264).int32(message.xmlbinary); } if (message.xmloption !== 0) { writer.uint32(272).int32(message.xmloption); } if (message.ginPendingListLimit !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.ginPendingListLimit, }, writer.uint32(282).fork()).ldelim(); } if (message.deadlockTimeout !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.deadlockTimeout, }, writer.uint32(290).fork()).ldelim(); } if (message.maxLocksPerTransaction !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.maxLocksPerTransaction, }, writer.uint32(298).fork()).ldelim(); } if (message.maxPredLocksPerTransaction !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.maxPredLocksPerTransaction, }, writer.uint32(306).fork()).ldelim(); } if (message.arrayNulls !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.arrayNulls }, writer.uint32(314).fork()).ldelim(); } if (message.backslashQuote !== 0) { writer.uint32(320).int32(message.backslashQuote); } if (message.defaultWithOids !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.defaultWithOids }, writer.uint32(330).fork()).ldelim(); } if (message.escapeStringWarning !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.escapeStringWarning, }, writer.uint32(338).fork()).ldelim(); } if (message.loCompatPrivileges !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.loCompatPrivileges, }, writer.uint32(346).fork()).ldelim(); } if (message.operatorPrecedenceWarning !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.operatorPrecedenceWarning, }, writer.uint32(354).fork()).ldelim(); } if (message.quoteAllIdentifiers !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.quoteAllIdentifiers, }, writer.uint32(362).fork()).ldelim(); } if (message.standardConformingStrings !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.standardConformingStrings, }, writer.uint32(370).fork()).ldelim(); } if (message.synchronizeSeqscans !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.synchronizeSeqscans, }, writer.uint32(378).fork()).ldelim(); } if (message.transformNullEquals !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.transformNullEquals, }, writer.uint32(386).fork()).ldelim(); } if (message.exitOnError !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.exitOnError }, writer.uint32(394).fork()).ldelim(); } if (message.seqPageCost !== undefined) { wrappers_1.DoubleValue.encode({ $type: "google.protobuf.DoubleValue", value: message.seqPageCost }, writer.uint32(402).fork()).ldelim(); } if (message.randomPageCost !== undefined) { wrappers_1.DoubleValue.encode({ $type: "google.protobuf.DoubleValue", value: message.randomPageCost, }, writer.uint32(410).fork()).ldelim(); } if (message.enableBitmapscan !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.enableBitmapscan, }, writer.uint32(434).fork()).ldelim(); } if (message.enableHashagg !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.enableHashagg }, writer.uint32(442).fork()).ldelim(); } if (message.enableHashjoin !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.enableHashjoin }, writer.uint32(450).fork()).ldelim(); } if (message.enableIndexscan !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.enableIndexscan }, writer.uint32(458).fork()).ldelim(); } if (message.enableIndexonlyscan !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.enableIndexonlyscan, }, writer.uint32(466).fork()).ldelim(); } if (message.enableMaterial !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.enableMaterial }, writer.uint32(474).fork()).ldelim(); } if (message.enableMergejoin !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.enableMergejoin }, writer.uint32(482).fork()).ldelim(); } if (message.enableNestloop !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.enableNestloop }, writer.uint32(490).fork()).ldelim(); } if (message.enableSeqscan !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.enableSeqscan }, writer.uint32(498).fork()).ldelim(); } if (message.enableSort !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.enableSort }, writer.uint32(506).fork()).ldelim(); } if (message.enableTidscan !== undefined) { wrappers_1.BoolValue.encode({ $type: "google.protobuf.BoolValue", value: message.enableTidscan }, writer.uint32(514).fork()).ldelim(); } if (message.maxParallelWorkers !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.maxParallelWorkers, }, writer.uint32(522).fork()).ldelim(); } if (message.maxParallelWorkersPerGather !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.maxParallelWorkersPerGather, }, writer.uint32(530).fork()).ldelim(); } if (message.timezone !== "") { writer.uint32(538).string(message.timezone); } if (message.effectiveIoConcurrency !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.effectiveIoConcurrency, }, writer.uint32(546).fork()).ldelim(); } if (message.effectiveCacheSize !== undefined) { wrappers_1.Int64Value.encode({ $type: "google.protobuf.Int64Value", value: message.effectiveCacheSize, }, writer.uint32(554).fork()).ldelim(); } return writer; }, decode(input, length) { const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input); let end = length === undefined ? reader.len : reader.pos + length; const message = Object.assign({}, basePostgresqlHostConfig11); while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { case 1: message.recoveryMinApplyDelay = wrappers_1.Int64Value.decode(reader, reader.uint32()).value; break; case 2: message.sharedBuffers = wrappers_1.Int64Value.decode(reader, reader.uint32()).value; break; case 3: message.tempBuffers = wrappers_1.Int64Value.decode(reader, reader.uint32()).value; break; case 4: message.workMem = wrappers_1.Int64Value.decode(reader, reader.uint32()).value; break; case 5: message.tempFileLimit = wrappers_1.Int64Value.decode(reader, reader.uint32()).value; break; case 6: message.backendFlushAfter = wrappers_1.Int64Value.decode(reader, reader.uint32()).value; break; case 7: message.oldSnapshotThreshold = wrappers_1.Int64Value.decode(reader, reader.uint32()).value; break; case 8: message.maxStandbyStreamingDelay = wrappers_1.Int64Value.decode(reader, reader.uint32()).value; break; case 9: message.constraintExclusion = reader.int32(); break; case 10: message.cursorTupleFraction = wrappers_1.DoubleValue.decode(reader, reader.uint32()).value; break; case 11: message.fromCollapseLimit = wrappers_1.Int64Value.decode(reader, reader.uint32()).value; break; case 12: message.joinCollapseLimit = wrappers_1.Int64Value.decode(reader, reader.uint32()).value; break; case 13: message.forceParallelMode = reader.int32(); break; case 14: message.clientMinMessages = reader.int32(); break; case 15: message.logMinMessages = reader.int32(); break; case 16: message.logMinErrorStatement = reader.int32(); break; case 17: message.logMinDurationStatement = wrappers_1.Int64Value.decode(reader, reader.uint32()).value; break; case 18: message.logCheckpoints = wrappers_1.BoolValue.decode(reader, reader.uint32()).value; break; case 19: message.logConnections = wrappers_1.BoolValue.decode(reader, reader.uint32()).value; break; case 20: message.logDisconnections = wrappers_1.BoolValue.decode(reader, reader.uint32()).value; break; case 21: message.logDuration = wrappers_1.BoolValue.decode(reader, reader.uint32()).value; break; case 22: message.logErrorVerbosity = reader.int32(); break; case 23: message.logLockWaits = wrappers_1.BoolValue.decode(reader, reader.uint32()).value; break; case 24: message.logStatement = reader.int32(); break; case 25: message.logTempFiles = wrappers_1.Int64Value.decode(reader, reader.uint32()).value; break; case 26: message.searchPath = reader.string(); break; case 27: message.rowSecurity = wrappers_1.BoolValue.decode(reader, reader.uint32()).value; break; case 28: message.defaultTransactionIsolation = reader.int32(); break; case 29: message.statementTimeout = wrappers_1.Int64Value.decode(reader, reader.uint32()).value; break; case 30: