UNPKG

@yandex-cloud/nodejs-sdk

Version:
870 lines 89.9 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); exports.Postgresqlhostconfig161c = exports.postgresqlhostconfig161c_XmlOptionToJSON = exports.postgresqlhostconfig161c_XmlOptionFromJSON = exports.Postgresqlhostconfig161c_XmlOption = exports.postgresqlhostconfig161c_XmlBinaryToJSON = exports.postgresqlhostconfig161c_XmlBinaryFromJSON = exports.Postgresqlhostconfig161c_XmlBinary = exports.postgresqlhostconfig161c_TransactionIsolationToJSON = exports.postgresqlhostconfig161c_TransactionIsolationFromJSON = exports.Postgresqlhostconfig161c_TransactionIsolation = exports.postgresqlhostconfig161c_LogStatementToJSON = exports.postgresqlhostconfig161c_LogStatementFromJSON = exports.Postgresqlhostconfig161c_LogStatement = exports.postgresqlhostconfig161c_LogLevelToJSON = exports.postgresqlhostconfig161c_LogLevelFromJSON = exports.Postgresqlhostconfig161c_LogLevel = exports.postgresqlhostconfig161c_LogErrorVerbosityToJSON = exports.postgresqlhostconfig161c_LogErrorVerbosityFromJSON = exports.Postgresqlhostconfig161c_LogErrorVerbosity = exports.postgresqlhostconfig161c_ForceParallelModeToJSON = exports.postgresqlhostconfig161c_ForceParallelModeFromJSON = exports.Postgresqlhostconfig161c_ForceParallelMode = exports.postgresqlhostconfig161c_DebugParallelQueryToJSON = exports.postgresqlhostconfig161c_DebugParallelQueryFromJSON = exports.Postgresqlhostconfig161c_DebugParallelQuery = exports.postgresqlhostconfig161c_ConstraintExclusionToJSON = exports.postgresqlhostconfig161c_ConstraintExclusionFromJSON = exports.Postgresqlhostconfig161c_ConstraintExclusion = exports.postgresqlhostconfig161c_ByteaOutputToJSON = exports.postgresqlhostconfig161c_ByteaOutputFromJSON = exports.Postgresqlhostconfig161c_ByteaOutput = exports.postgresqlhostconfig161c_BackslashQuoteToJSON = exports.postgresqlhostconfig161c_BackslashQuoteFromJSON = exports.Postgresqlhostconfig161c_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 Postgresqlhostconfig161c_BackslashQuote; (function (Postgresqlhostconfig161c_BackslashQuote) { Postgresqlhostconfig161c_BackslashQuote[Postgresqlhostconfig161c_BackslashQuote["BACKSLASH_QUOTE_UNSPECIFIED"] = 0] = "BACKSLASH_QUOTE_UNSPECIFIED"; Postgresqlhostconfig161c_BackslashQuote[Postgresqlhostconfig161c_BackslashQuote["BACKSLASH_QUOTE"] = 1] = "BACKSLASH_QUOTE"; Postgresqlhostconfig161c_BackslashQuote[Postgresqlhostconfig161c_BackslashQuote["BACKSLASH_QUOTE_ON"] = 2] = "BACKSLASH_QUOTE_ON"; Postgresqlhostconfig161c_BackslashQuote[Postgresqlhostconfig161c_BackslashQuote["BACKSLASH_QUOTE_OFF"] = 3] = "BACKSLASH_QUOTE_OFF"; Postgresqlhostconfig161c_BackslashQuote[Postgresqlhostconfig161c_BackslashQuote["BACKSLASH_QUOTE_SAFE_ENCODING"] = 4] = "BACKSLASH_QUOTE_SAFE_ENCODING"; Postgresqlhostconfig161c_BackslashQuote[Postgresqlhostconfig161c_BackslashQuote["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(Postgresqlhostconfig161c_BackslashQuote = exports.Postgresqlhostconfig161c_BackslashQuote || (exports.Postgresqlhostconfig161c_BackslashQuote = {})); function postgresqlhostconfig161c_BackslashQuoteFromJSON(object) { switch (object) { case 0: case "BACKSLASH_QUOTE_UNSPECIFIED": return Postgresqlhostconfig161c_BackslashQuote.BACKSLASH_QUOTE_UNSPECIFIED; case 1: case "BACKSLASH_QUOTE": return Postgresqlhostconfig161c_BackslashQuote.BACKSLASH_QUOTE; case 2: case "BACKSLASH_QUOTE_ON": return Postgresqlhostconfig161c_BackslashQuote.BACKSLASH_QUOTE_ON; case 3: case "BACKSLASH_QUOTE_OFF": return Postgresqlhostconfig161c_BackslashQuote.BACKSLASH_QUOTE_OFF; case 4: case "BACKSLASH_QUOTE_SAFE_ENCODING": return Postgresqlhostconfig161c_BackslashQuote.BACKSLASH_QUOTE_SAFE_ENCODING; case -1: case "UNRECOGNIZED": default: return Postgresqlhostconfig161c_BackslashQuote.UNRECOGNIZED; } } exports.postgresqlhostconfig161c_BackslashQuoteFromJSON = postgresqlhostconfig161c_BackslashQuoteFromJSON; function postgresqlhostconfig161c_BackslashQuoteToJSON(object) { switch (object) { case Postgresqlhostconfig161c_BackslashQuote.BACKSLASH_QUOTE_UNSPECIFIED: return "BACKSLASH_QUOTE_UNSPECIFIED"; case Postgresqlhostconfig161c_BackslashQuote.BACKSLASH_QUOTE: return "BACKSLASH_QUOTE"; case Postgresqlhostconfig161c_BackslashQuote.BACKSLASH_QUOTE_ON: return "BACKSLASH_QUOTE_ON"; case Postgresqlhostconfig161c_BackslashQuote.BACKSLASH_QUOTE_OFF: return "BACKSLASH_QUOTE_OFF"; case Postgresqlhostconfig161c_BackslashQuote.BACKSLASH_QUOTE_SAFE_ENCODING: return "BACKSLASH_QUOTE_SAFE_ENCODING"; default: return "UNKNOWN"; } } exports.postgresqlhostconfig161c_BackslashQuoteToJSON = postgresqlhostconfig161c_BackslashQuoteToJSON; var Postgresqlhostconfig161c_ByteaOutput; (function (Postgresqlhostconfig161c_ByteaOutput) { Postgresqlhostconfig161c_ByteaOutput[Postgresqlhostconfig161c_ByteaOutput["BYTEA_OUTPUT_UNSPECIFIED"] = 0] = "BYTEA_OUTPUT_UNSPECIFIED"; Postgresqlhostconfig161c_ByteaOutput[Postgresqlhostconfig161c_ByteaOutput["BYTEA_OUTPUT_HEX"] = 1] = "BYTEA_OUTPUT_HEX"; Postgresqlhostconfig161c_ByteaOutput[Postgresqlhostconfig161c_ByteaOutput["BYTEA_OUTPUT_ESCAPED"] = 2] = "BYTEA_OUTPUT_ESCAPED"; Postgresqlhostconfig161c_ByteaOutput[Postgresqlhostconfig161c_ByteaOutput["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(Postgresqlhostconfig161c_ByteaOutput = exports.Postgresqlhostconfig161c_ByteaOutput || (exports.Postgresqlhostconfig161c_ByteaOutput = {})); function postgresqlhostconfig161c_ByteaOutputFromJSON(object) { switch (object) { case 0: case "BYTEA_OUTPUT_UNSPECIFIED": return Postgresqlhostconfig161c_ByteaOutput.BYTEA_OUTPUT_UNSPECIFIED; case 1: case "BYTEA_OUTPUT_HEX": return Postgresqlhostconfig161c_ByteaOutput.BYTEA_OUTPUT_HEX; case 2: case "BYTEA_OUTPUT_ESCAPED": return Postgresqlhostconfig161c_ByteaOutput.BYTEA_OUTPUT_ESCAPED; case -1: case "UNRECOGNIZED": default: return Postgresqlhostconfig161c_ByteaOutput.UNRECOGNIZED; } } exports.postgresqlhostconfig161c_ByteaOutputFromJSON = postgresqlhostconfig161c_ByteaOutputFromJSON; function postgresqlhostconfig161c_ByteaOutputToJSON(object) { switch (object) { case Postgresqlhostconfig161c_ByteaOutput.BYTEA_OUTPUT_UNSPECIFIED: return "BYTEA_OUTPUT_UNSPECIFIED"; case Postgresqlhostconfig161c_ByteaOutput.BYTEA_OUTPUT_HEX: return "BYTEA_OUTPUT_HEX"; case Postgresqlhostconfig161c_ByteaOutput.BYTEA_OUTPUT_ESCAPED: return "BYTEA_OUTPUT_ESCAPED"; default: return "UNKNOWN"; } } exports.postgresqlhostconfig161c_ByteaOutputToJSON = postgresqlhostconfig161c_ByteaOutputToJSON; var Postgresqlhostconfig161c_ConstraintExclusion; (function (Postgresqlhostconfig161c_ConstraintExclusion) { Postgresqlhostconfig161c_ConstraintExclusion[Postgresqlhostconfig161c_ConstraintExclusion["CONSTRAINT_EXCLUSION_UNSPECIFIED"] = 0] = "CONSTRAINT_EXCLUSION_UNSPECIFIED"; Postgresqlhostconfig161c_ConstraintExclusion[Postgresqlhostconfig161c_ConstraintExclusion["CONSTRAINT_EXCLUSION_ON"] = 1] = "CONSTRAINT_EXCLUSION_ON"; Postgresqlhostconfig161c_ConstraintExclusion[Postgresqlhostconfig161c_ConstraintExclusion["CONSTRAINT_EXCLUSION_OFF"] = 2] = "CONSTRAINT_EXCLUSION_OFF"; Postgresqlhostconfig161c_ConstraintExclusion[Postgresqlhostconfig161c_ConstraintExclusion["CONSTRAINT_EXCLUSION_PARTITION"] = 3] = "CONSTRAINT_EXCLUSION_PARTITION"; Postgresqlhostconfig161c_ConstraintExclusion[Postgresqlhostconfig161c_ConstraintExclusion["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(Postgresqlhostconfig161c_ConstraintExclusion = exports.Postgresqlhostconfig161c_ConstraintExclusion || (exports.Postgresqlhostconfig161c_ConstraintExclusion = {})); function postgresqlhostconfig161c_ConstraintExclusionFromJSON(object) { switch (object) { case 0: case "CONSTRAINT_EXCLUSION_UNSPECIFIED": return Postgresqlhostconfig161c_ConstraintExclusion.CONSTRAINT_EXCLUSION_UNSPECIFIED; case 1: case "CONSTRAINT_EXCLUSION_ON": return Postgresqlhostconfig161c_ConstraintExclusion.CONSTRAINT_EXCLUSION_ON; case 2: case "CONSTRAINT_EXCLUSION_OFF": return Postgresqlhostconfig161c_ConstraintExclusion.CONSTRAINT_EXCLUSION_OFF; case 3: case "CONSTRAINT_EXCLUSION_PARTITION": return Postgresqlhostconfig161c_ConstraintExclusion.CONSTRAINT_EXCLUSION_PARTITION; case -1: case "UNRECOGNIZED": default: return Postgresqlhostconfig161c_ConstraintExclusion.UNRECOGNIZED; } } exports.postgresqlhostconfig161c_ConstraintExclusionFromJSON = postgresqlhostconfig161c_ConstraintExclusionFromJSON; function postgresqlhostconfig161c_ConstraintExclusionToJSON(object) { switch (object) { case Postgresqlhostconfig161c_ConstraintExclusion.CONSTRAINT_EXCLUSION_UNSPECIFIED: return "CONSTRAINT_EXCLUSION_UNSPECIFIED"; case Postgresqlhostconfig161c_ConstraintExclusion.CONSTRAINT_EXCLUSION_ON: return "CONSTRAINT_EXCLUSION_ON"; case Postgresqlhostconfig161c_ConstraintExclusion.CONSTRAINT_EXCLUSION_OFF: return "CONSTRAINT_EXCLUSION_OFF"; case Postgresqlhostconfig161c_ConstraintExclusion.CONSTRAINT_EXCLUSION_PARTITION: return "CONSTRAINT_EXCLUSION_PARTITION"; default: return "UNKNOWN"; } } exports.postgresqlhostconfig161c_ConstraintExclusionToJSON = postgresqlhostconfig161c_ConstraintExclusionToJSON; var Postgresqlhostconfig161c_DebugParallelQuery; (function (Postgresqlhostconfig161c_DebugParallelQuery) { Postgresqlhostconfig161c_DebugParallelQuery[Postgresqlhostconfig161c_DebugParallelQuery["DEBUG_PARALLEL_QUERY_UNSPECIFIED"] = 0] = "DEBUG_PARALLEL_QUERY_UNSPECIFIED"; Postgresqlhostconfig161c_DebugParallelQuery[Postgresqlhostconfig161c_DebugParallelQuery["DEBUG_PARALLEL_QUERY_ON"] = 1] = "DEBUG_PARALLEL_QUERY_ON"; Postgresqlhostconfig161c_DebugParallelQuery[Postgresqlhostconfig161c_DebugParallelQuery["DEBUG_PARALLEL_QUERY_OFF"] = 2] = "DEBUG_PARALLEL_QUERY_OFF"; Postgresqlhostconfig161c_DebugParallelQuery[Postgresqlhostconfig161c_DebugParallelQuery["DEBUG_PARALLEL_QUERY_REGRESS"] = 3] = "DEBUG_PARALLEL_QUERY_REGRESS"; Postgresqlhostconfig161c_DebugParallelQuery[Postgresqlhostconfig161c_DebugParallelQuery["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(Postgresqlhostconfig161c_DebugParallelQuery = exports.Postgresqlhostconfig161c_DebugParallelQuery || (exports.Postgresqlhostconfig161c_DebugParallelQuery = {})); function postgresqlhostconfig161c_DebugParallelQueryFromJSON(object) { switch (object) { case 0: case "DEBUG_PARALLEL_QUERY_UNSPECIFIED": return Postgresqlhostconfig161c_DebugParallelQuery.DEBUG_PARALLEL_QUERY_UNSPECIFIED; case 1: case "DEBUG_PARALLEL_QUERY_ON": return Postgresqlhostconfig161c_DebugParallelQuery.DEBUG_PARALLEL_QUERY_ON; case 2: case "DEBUG_PARALLEL_QUERY_OFF": return Postgresqlhostconfig161c_DebugParallelQuery.DEBUG_PARALLEL_QUERY_OFF; case 3: case "DEBUG_PARALLEL_QUERY_REGRESS": return Postgresqlhostconfig161c_DebugParallelQuery.DEBUG_PARALLEL_QUERY_REGRESS; case -1: case "UNRECOGNIZED": default: return Postgresqlhostconfig161c_DebugParallelQuery.UNRECOGNIZED; } } exports.postgresqlhostconfig161c_DebugParallelQueryFromJSON = postgresqlhostconfig161c_DebugParallelQueryFromJSON; function postgresqlhostconfig161c_DebugParallelQueryToJSON(object) { switch (object) { case Postgresqlhostconfig161c_DebugParallelQuery.DEBUG_PARALLEL_QUERY_UNSPECIFIED: return "DEBUG_PARALLEL_QUERY_UNSPECIFIED"; case Postgresqlhostconfig161c_DebugParallelQuery.DEBUG_PARALLEL_QUERY_ON: return "DEBUG_PARALLEL_QUERY_ON"; case Postgresqlhostconfig161c_DebugParallelQuery.DEBUG_PARALLEL_QUERY_OFF: return "DEBUG_PARALLEL_QUERY_OFF"; case Postgresqlhostconfig161c_DebugParallelQuery.DEBUG_PARALLEL_QUERY_REGRESS: return "DEBUG_PARALLEL_QUERY_REGRESS"; default: return "UNKNOWN"; } } exports.postgresqlhostconfig161c_DebugParallelQueryToJSON = postgresqlhostconfig161c_DebugParallelQueryToJSON; var Postgresqlhostconfig161c_ForceParallelMode; (function (Postgresqlhostconfig161c_ForceParallelMode) { Postgresqlhostconfig161c_ForceParallelMode[Postgresqlhostconfig161c_ForceParallelMode["FORCE_PARALLEL_MODE_UNSPECIFIED"] = 0] = "FORCE_PARALLEL_MODE_UNSPECIFIED"; Postgresqlhostconfig161c_ForceParallelMode[Postgresqlhostconfig161c_ForceParallelMode["FORCE_PARALLEL_MODE_ON"] = 1] = "FORCE_PARALLEL_MODE_ON"; Postgresqlhostconfig161c_ForceParallelMode[Postgresqlhostconfig161c_ForceParallelMode["FORCE_PARALLEL_MODE_OFF"] = 2] = "FORCE_PARALLEL_MODE_OFF"; Postgresqlhostconfig161c_ForceParallelMode[Postgresqlhostconfig161c_ForceParallelMode["FORCE_PARALLEL_MODE_REGRESS"] = 3] = "FORCE_PARALLEL_MODE_REGRESS"; Postgresqlhostconfig161c_ForceParallelMode[Postgresqlhostconfig161c_ForceParallelMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(Postgresqlhostconfig161c_ForceParallelMode = exports.Postgresqlhostconfig161c_ForceParallelMode || (exports.Postgresqlhostconfig161c_ForceParallelMode = {})); function postgresqlhostconfig161c_ForceParallelModeFromJSON(object) { switch (object) { case 0: case "FORCE_PARALLEL_MODE_UNSPECIFIED": return Postgresqlhostconfig161c_ForceParallelMode.FORCE_PARALLEL_MODE_UNSPECIFIED; case 1: case "FORCE_PARALLEL_MODE_ON": return Postgresqlhostconfig161c_ForceParallelMode.FORCE_PARALLEL_MODE_ON; case 2: case "FORCE_PARALLEL_MODE_OFF": return Postgresqlhostconfig161c_ForceParallelMode.FORCE_PARALLEL_MODE_OFF; case 3: case "FORCE_PARALLEL_MODE_REGRESS": return Postgresqlhostconfig161c_ForceParallelMode.FORCE_PARALLEL_MODE_REGRESS; case -1: case "UNRECOGNIZED": default: return Postgresqlhostconfig161c_ForceParallelMode.UNRECOGNIZED; } } exports.postgresqlhostconfig161c_ForceParallelModeFromJSON = postgresqlhostconfig161c_ForceParallelModeFromJSON; function postgresqlhostconfig161c_ForceParallelModeToJSON(object) { switch (object) { case Postgresqlhostconfig161c_ForceParallelMode.FORCE_PARALLEL_MODE_UNSPECIFIED: return "FORCE_PARALLEL_MODE_UNSPECIFIED"; case Postgresqlhostconfig161c_ForceParallelMode.FORCE_PARALLEL_MODE_ON: return "FORCE_PARALLEL_MODE_ON"; case Postgresqlhostconfig161c_ForceParallelMode.FORCE_PARALLEL_MODE_OFF: return "FORCE_PARALLEL_MODE_OFF"; case Postgresqlhostconfig161c_ForceParallelMode.FORCE_PARALLEL_MODE_REGRESS: return "FORCE_PARALLEL_MODE_REGRESS"; default: return "UNKNOWN"; } } exports.postgresqlhostconfig161c_ForceParallelModeToJSON = postgresqlhostconfig161c_ForceParallelModeToJSON; var Postgresqlhostconfig161c_LogErrorVerbosity; (function (Postgresqlhostconfig161c_LogErrorVerbosity) { Postgresqlhostconfig161c_LogErrorVerbosity[Postgresqlhostconfig161c_LogErrorVerbosity["LOG_ERROR_VERBOSITY_UNSPECIFIED"] = 0] = "LOG_ERROR_VERBOSITY_UNSPECIFIED"; Postgresqlhostconfig161c_LogErrorVerbosity[Postgresqlhostconfig161c_LogErrorVerbosity["LOG_ERROR_VERBOSITY_TERSE"] = 1] = "LOG_ERROR_VERBOSITY_TERSE"; Postgresqlhostconfig161c_LogErrorVerbosity[Postgresqlhostconfig161c_LogErrorVerbosity["LOG_ERROR_VERBOSITY_DEFAULT"] = 2] = "LOG_ERROR_VERBOSITY_DEFAULT"; Postgresqlhostconfig161c_LogErrorVerbosity[Postgresqlhostconfig161c_LogErrorVerbosity["LOG_ERROR_VERBOSITY_VERBOSE"] = 3] = "LOG_ERROR_VERBOSITY_VERBOSE"; Postgresqlhostconfig161c_LogErrorVerbosity[Postgresqlhostconfig161c_LogErrorVerbosity["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(Postgresqlhostconfig161c_LogErrorVerbosity = exports.Postgresqlhostconfig161c_LogErrorVerbosity || (exports.Postgresqlhostconfig161c_LogErrorVerbosity = {})); function postgresqlhostconfig161c_LogErrorVerbosityFromJSON(object) { switch (object) { case 0: case "LOG_ERROR_VERBOSITY_UNSPECIFIED": return Postgresqlhostconfig161c_LogErrorVerbosity.LOG_ERROR_VERBOSITY_UNSPECIFIED; case 1: case "LOG_ERROR_VERBOSITY_TERSE": return Postgresqlhostconfig161c_LogErrorVerbosity.LOG_ERROR_VERBOSITY_TERSE; case 2: case "LOG_ERROR_VERBOSITY_DEFAULT": return Postgresqlhostconfig161c_LogErrorVerbosity.LOG_ERROR_VERBOSITY_DEFAULT; case 3: case "LOG_ERROR_VERBOSITY_VERBOSE": return Postgresqlhostconfig161c_LogErrorVerbosity.LOG_ERROR_VERBOSITY_VERBOSE; case -1: case "UNRECOGNIZED": default: return Postgresqlhostconfig161c_LogErrorVerbosity.UNRECOGNIZED; } } exports.postgresqlhostconfig161c_LogErrorVerbosityFromJSON = postgresqlhostconfig161c_LogErrorVerbosityFromJSON; function postgresqlhostconfig161c_LogErrorVerbosityToJSON(object) { switch (object) { case Postgresqlhostconfig161c_LogErrorVerbosity.LOG_ERROR_VERBOSITY_UNSPECIFIED: return "LOG_ERROR_VERBOSITY_UNSPECIFIED"; case Postgresqlhostconfig161c_LogErrorVerbosity.LOG_ERROR_VERBOSITY_TERSE: return "LOG_ERROR_VERBOSITY_TERSE"; case Postgresqlhostconfig161c_LogErrorVerbosity.LOG_ERROR_VERBOSITY_DEFAULT: return "LOG_ERROR_VERBOSITY_DEFAULT"; case Postgresqlhostconfig161c_LogErrorVerbosity.LOG_ERROR_VERBOSITY_VERBOSE: return "LOG_ERROR_VERBOSITY_VERBOSE"; default: return "UNKNOWN"; } } exports.postgresqlhostconfig161c_LogErrorVerbosityToJSON = postgresqlhostconfig161c_LogErrorVerbosityToJSON; var Postgresqlhostconfig161c_LogLevel; (function (Postgresqlhostconfig161c_LogLevel) { Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["LOG_LEVEL_UNSPECIFIED"] = 0] = "LOG_LEVEL_UNSPECIFIED"; Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["LOG_LEVEL_DEBUG5"] = 1] = "LOG_LEVEL_DEBUG5"; Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["LOG_LEVEL_DEBUG4"] = 2] = "LOG_LEVEL_DEBUG4"; Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["LOG_LEVEL_DEBUG3"] = 3] = "LOG_LEVEL_DEBUG3"; Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["LOG_LEVEL_DEBUG2"] = 4] = "LOG_LEVEL_DEBUG2"; Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["LOG_LEVEL_DEBUG1"] = 5] = "LOG_LEVEL_DEBUG1"; Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["LOG_LEVEL_INFO"] = 12] = "LOG_LEVEL_INFO"; Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["LOG_LEVEL_LOG"] = 6] = "LOG_LEVEL_LOG"; Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["LOG_LEVEL_NOTICE"] = 7] = "LOG_LEVEL_NOTICE"; Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["LOG_LEVEL_WARNING"] = 8] = "LOG_LEVEL_WARNING"; Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["LOG_LEVEL_ERROR"] = 9] = "LOG_LEVEL_ERROR"; Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["LOG_LEVEL_FATAL"] = 10] = "LOG_LEVEL_FATAL"; Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["LOG_LEVEL_PANIC"] = 11] = "LOG_LEVEL_PANIC"; Postgresqlhostconfig161c_LogLevel[Postgresqlhostconfig161c_LogLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(Postgresqlhostconfig161c_LogLevel = exports.Postgresqlhostconfig161c_LogLevel || (exports.Postgresqlhostconfig161c_LogLevel = {})); function postgresqlhostconfig161c_LogLevelFromJSON(object) { switch (object) { case 0: case "LOG_LEVEL_UNSPECIFIED": return Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_UNSPECIFIED; case 1: case "LOG_LEVEL_DEBUG5": return Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_DEBUG5; case 2: case "LOG_LEVEL_DEBUG4": return Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_DEBUG4; case 3: case "LOG_LEVEL_DEBUG3": return Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_DEBUG3; case 4: case "LOG_LEVEL_DEBUG2": return Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_DEBUG2; case 5: case "LOG_LEVEL_DEBUG1": return Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_DEBUG1; case 12: case "LOG_LEVEL_INFO": return Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_INFO; case 6: case "LOG_LEVEL_LOG": return Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_LOG; case 7: case "LOG_LEVEL_NOTICE": return Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_NOTICE; case 8: case "LOG_LEVEL_WARNING": return Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_WARNING; case 9: case "LOG_LEVEL_ERROR": return Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_ERROR; case 10: case "LOG_LEVEL_FATAL": return Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_FATAL; case 11: case "LOG_LEVEL_PANIC": return Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_PANIC; case -1: case "UNRECOGNIZED": default: return Postgresqlhostconfig161c_LogLevel.UNRECOGNIZED; } } exports.postgresqlhostconfig161c_LogLevelFromJSON = postgresqlhostconfig161c_LogLevelFromJSON; function postgresqlhostconfig161c_LogLevelToJSON(object) { switch (object) { case Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_UNSPECIFIED: return "LOG_LEVEL_UNSPECIFIED"; case Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_DEBUG5: return "LOG_LEVEL_DEBUG5"; case Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_DEBUG4: return "LOG_LEVEL_DEBUG4"; case Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_DEBUG3: return "LOG_LEVEL_DEBUG3"; case Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_DEBUG2: return "LOG_LEVEL_DEBUG2"; case Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_DEBUG1: return "LOG_LEVEL_DEBUG1"; case Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_INFO: return "LOG_LEVEL_INFO"; case Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_LOG: return "LOG_LEVEL_LOG"; case Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_NOTICE: return "LOG_LEVEL_NOTICE"; case Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_WARNING: return "LOG_LEVEL_WARNING"; case Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_ERROR: return "LOG_LEVEL_ERROR"; case Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_FATAL: return "LOG_LEVEL_FATAL"; case Postgresqlhostconfig161c_LogLevel.LOG_LEVEL_PANIC: return "LOG_LEVEL_PANIC"; default: return "UNKNOWN"; } } exports.postgresqlhostconfig161c_LogLevelToJSON = postgresqlhostconfig161c_LogLevelToJSON; var Postgresqlhostconfig161c_LogStatement; (function (Postgresqlhostconfig161c_LogStatement) { Postgresqlhostconfig161c_LogStatement[Postgresqlhostconfig161c_LogStatement["LOG_STATEMENT_UNSPECIFIED"] = 0] = "LOG_STATEMENT_UNSPECIFIED"; Postgresqlhostconfig161c_LogStatement[Postgresqlhostconfig161c_LogStatement["LOG_STATEMENT_NONE"] = 1] = "LOG_STATEMENT_NONE"; Postgresqlhostconfig161c_LogStatement[Postgresqlhostconfig161c_LogStatement["LOG_STATEMENT_DDL"] = 2] = "LOG_STATEMENT_DDL"; Postgresqlhostconfig161c_LogStatement[Postgresqlhostconfig161c_LogStatement["LOG_STATEMENT_MOD"] = 3] = "LOG_STATEMENT_MOD"; Postgresqlhostconfig161c_LogStatement[Postgresqlhostconfig161c_LogStatement["LOG_STATEMENT_ALL"] = 4] = "LOG_STATEMENT_ALL"; Postgresqlhostconfig161c_LogStatement[Postgresqlhostconfig161c_LogStatement["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(Postgresqlhostconfig161c_LogStatement = exports.Postgresqlhostconfig161c_LogStatement || (exports.Postgresqlhostconfig161c_LogStatement = {})); function postgresqlhostconfig161c_LogStatementFromJSON(object) { switch (object) { case 0: case "LOG_STATEMENT_UNSPECIFIED": return Postgresqlhostconfig161c_LogStatement.LOG_STATEMENT_UNSPECIFIED; case 1: case "LOG_STATEMENT_NONE": return Postgresqlhostconfig161c_LogStatement.LOG_STATEMENT_NONE; case 2: case "LOG_STATEMENT_DDL": return Postgresqlhostconfig161c_LogStatement.LOG_STATEMENT_DDL; case 3: case "LOG_STATEMENT_MOD": return Postgresqlhostconfig161c_LogStatement.LOG_STATEMENT_MOD; case 4: case "LOG_STATEMENT_ALL": return Postgresqlhostconfig161c_LogStatement.LOG_STATEMENT_ALL; case -1: case "UNRECOGNIZED": default: return Postgresqlhostconfig161c_LogStatement.UNRECOGNIZED; } } exports.postgresqlhostconfig161c_LogStatementFromJSON = postgresqlhostconfig161c_LogStatementFromJSON; function postgresqlhostconfig161c_LogStatementToJSON(object) { switch (object) { case Postgresqlhostconfig161c_LogStatement.LOG_STATEMENT_UNSPECIFIED: return "LOG_STATEMENT_UNSPECIFIED"; case Postgresqlhostconfig161c_LogStatement.LOG_STATEMENT_NONE: return "LOG_STATEMENT_NONE"; case Postgresqlhostconfig161c_LogStatement.LOG_STATEMENT_DDL: return "LOG_STATEMENT_DDL"; case Postgresqlhostconfig161c_LogStatement.LOG_STATEMENT_MOD: return "LOG_STATEMENT_MOD"; case Postgresqlhostconfig161c_LogStatement.LOG_STATEMENT_ALL: return "LOG_STATEMENT_ALL"; default: return "UNKNOWN"; } } exports.postgresqlhostconfig161c_LogStatementToJSON = postgresqlhostconfig161c_LogStatementToJSON; var Postgresqlhostconfig161c_TransactionIsolation; (function (Postgresqlhostconfig161c_TransactionIsolation) { Postgresqlhostconfig161c_TransactionIsolation[Postgresqlhostconfig161c_TransactionIsolation["TRANSACTION_ISOLATION_UNSPECIFIED"] = 0] = "TRANSACTION_ISOLATION_UNSPECIFIED"; Postgresqlhostconfig161c_TransactionIsolation[Postgresqlhostconfig161c_TransactionIsolation["TRANSACTION_ISOLATION_READ_UNCOMMITTED"] = 1] = "TRANSACTION_ISOLATION_READ_UNCOMMITTED"; Postgresqlhostconfig161c_TransactionIsolation[Postgresqlhostconfig161c_TransactionIsolation["TRANSACTION_ISOLATION_READ_COMMITTED"] = 2] = "TRANSACTION_ISOLATION_READ_COMMITTED"; Postgresqlhostconfig161c_TransactionIsolation[Postgresqlhostconfig161c_TransactionIsolation["TRANSACTION_ISOLATION_REPEATABLE_READ"] = 3] = "TRANSACTION_ISOLATION_REPEATABLE_READ"; Postgresqlhostconfig161c_TransactionIsolation[Postgresqlhostconfig161c_TransactionIsolation["TRANSACTION_ISOLATION_SERIALIZABLE"] = 4] = "TRANSACTION_ISOLATION_SERIALIZABLE"; Postgresqlhostconfig161c_TransactionIsolation[Postgresqlhostconfig161c_TransactionIsolation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(Postgresqlhostconfig161c_TransactionIsolation = exports.Postgresqlhostconfig161c_TransactionIsolation || (exports.Postgresqlhostconfig161c_TransactionIsolation = {})); function postgresqlhostconfig161c_TransactionIsolationFromJSON(object) { switch (object) { case 0: case "TRANSACTION_ISOLATION_UNSPECIFIED": return Postgresqlhostconfig161c_TransactionIsolation.TRANSACTION_ISOLATION_UNSPECIFIED; case 1: case "TRANSACTION_ISOLATION_READ_UNCOMMITTED": return Postgresqlhostconfig161c_TransactionIsolation.TRANSACTION_ISOLATION_READ_UNCOMMITTED; case 2: case "TRANSACTION_ISOLATION_READ_COMMITTED": return Postgresqlhostconfig161c_TransactionIsolation.TRANSACTION_ISOLATION_READ_COMMITTED; case 3: case "TRANSACTION_ISOLATION_REPEATABLE_READ": return Postgresqlhostconfig161c_TransactionIsolation.TRANSACTION_ISOLATION_REPEATABLE_READ; case 4: case "TRANSACTION_ISOLATION_SERIALIZABLE": return Postgresqlhostconfig161c_TransactionIsolation.TRANSACTION_ISOLATION_SERIALIZABLE; case -1: case "UNRECOGNIZED": default: return Postgresqlhostconfig161c_TransactionIsolation.UNRECOGNIZED; } } exports.postgresqlhostconfig161c_TransactionIsolationFromJSON = postgresqlhostconfig161c_TransactionIsolationFromJSON; function postgresqlhostconfig161c_TransactionIsolationToJSON(object) { switch (object) { case Postgresqlhostconfig161c_TransactionIsolation.TRANSACTION_ISOLATION_UNSPECIFIED: return "TRANSACTION_ISOLATION_UNSPECIFIED"; case Postgresqlhostconfig161c_TransactionIsolation.TRANSACTION_ISOLATION_READ_UNCOMMITTED: return "TRANSACTION_ISOLATION_READ_UNCOMMITTED"; case Postgresqlhostconfig161c_TransactionIsolation.TRANSACTION_ISOLATION_READ_COMMITTED: return "TRANSACTION_ISOLATION_READ_COMMITTED"; case Postgresqlhostconfig161c_TransactionIsolation.TRANSACTION_ISOLATION_REPEATABLE_READ: return "TRANSACTION_ISOLATION_REPEATABLE_READ"; case Postgresqlhostconfig161c_TransactionIsolation.TRANSACTION_ISOLATION_SERIALIZABLE: return "TRANSACTION_ISOLATION_SERIALIZABLE"; default: return "UNKNOWN"; } } exports.postgresqlhostconfig161c_TransactionIsolationToJSON = postgresqlhostconfig161c_TransactionIsolationToJSON; var Postgresqlhostconfig161c_XmlBinary; (function (Postgresqlhostconfig161c_XmlBinary) { Postgresqlhostconfig161c_XmlBinary[Postgresqlhostconfig161c_XmlBinary["XML_BINARY_UNSPECIFIED"] = 0] = "XML_BINARY_UNSPECIFIED"; Postgresqlhostconfig161c_XmlBinary[Postgresqlhostconfig161c_XmlBinary["XML_BINARY_BASE64"] = 1] = "XML_BINARY_BASE64"; Postgresqlhostconfig161c_XmlBinary[Postgresqlhostconfig161c_XmlBinary["XML_BINARY_HEX"] = 2] = "XML_BINARY_HEX"; Postgresqlhostconfig161c_XmlBinary[Postgresqlhostconfig161c_XmlBinary["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(Postgresqlhostconfig161c_XmlBinary = exports.Postgresqlhostconfig161c_XmlBinary || (exports.Postgresqlhostconfig161c_XmlBinary = {})); function postgresqlhostconfig161c_XmlBinaryFromJSON(object) { switch (object) { case 0: case "XML_BINARY_UNSPECIFIED": return Postgresqlhostconfig161c_XmlBinary.XML_BINARY_UNSPECIFIED; case 1: case "XML_BINARY_BASE64": return Postgresqlhostconfig161c_XmlBinary.XML_BINARY_BASE64; case 2: case "XML_BINARY_HEX": return Postgresqlhostconfig161c_XmlBinary.XML_BINARY_HEX; case -1: case "UNRECOGNIZED": default: return Postgresqlhostconfig161c_XmlBinary.UNRECOGNIZED; } } exports.postgresqlhostconfig161c_XmlBinaryFromJSON = postgresqlhostconfig161c_XmlBinaryFromJSON; function postgresqlhostconfig161c_XmlBinaryToJSON(object) { switch (object) { case Postgresqlhostconfig161c_XmlBinary.XML_BINARY_UNSPECIFIED: return "XML_BINARY_UNSPECIFIED"; case Postgresqlhostconfig161c_XmlBinary.XML_BINARY_BASE64: return "XML_BINARY_BASE64"; case Postgresqlhostconfig161c_XmlBinary.XML_BINARY_HEX: return "XML_BINARY_HEX"; default: return "UNKNOWN"; } } exports.postgresqlhostconfig161c_XmlBinaryToJSON = postgresqlhostconfig161c_XmlBinaryToJSON; var Postgresqlhostconfig161c_XmlOption; (function (Postgresqlhostconfig161c_XmlOption) { Postgresqlhostconfig161c_XmlOption[Postgresqlhostconfig161c_XmlOption["XML_OPTION_UNSPECIFIED"] = 0] = "XML_OPTION_UNSPECIFIED"; Postgresqlhostconfig161c_XmlOption[Postgresqlhostconfig161c_XmlOption["XML_OPTION_DOCUMENT"] = 1] = "XML_OPTION_DOCUMENT"; Postgresqlhostconfig161c_XmlOption[Postgresqlhostconfig161c_XmlOption["XML_OPTION_CONTENT"] = 2] = "XML_OPTION_CONTENT"; Postgresqlhostconfig161c_XmlOption[Postgresqlhostconfig161c_XmlOption["UNRECOGNIZED"] = -1] = "UNRECOGNIZED"; })(Postgresqlhostconfig161c_XmlOption = exports.Postgresqlhostconfig161c_XmlOption || (exports.Postgresqlhostconfig161c_XmlOption = {})); function postgresqlhostconfig161c_XmlOptionFromJSON(object) { switch (object) { case 0: case "XML_OPTION_UNSPECIFIED": return Postgresqlhostconfig161c_XmlOption.XML_OPTION_UNSPECIFIED; case 1: case "XML_OPTION_DOCUMENT": return Postgresqlhostconfig161c_XmlOption.XML_OPTION_DOCUMENT; case 2: case "XML_OPTION_CONTENT": return Postgresqlhostconfig161c_XmlOption.XML_OPTION_CONTENT; case -1: case "UNRECOGNIZED": default: return Postgresqlhostconfig161c_XmlOption.UNRECOGNIZED; } } exports.postgresqlhostconfig161c_XmlOptionFromJSON = postgresqlhostconfig161c_XmlOptionFromJSON; function postgresqlhostconfig161c_XmlOptionToJSON(object) { switch (object) { case Postgresqlhostconfig161c_XmlOption.XML_OPTION_UNSPECIFIED: return "XML_OPTION_UNSPECIFIED"; case Postgresqlhostconfig161c_XmlOption.XML_OPTION_DOCUMENT: return "XML_OPTION_DOCUMENT"; case Postgresqlhostconfig161c_XmlOption.XML_OPTION_CONTENT: return "XML_OPTION_CONTENT"; default: return "UNKNOWN"; } } exports.postgresqlhostconfig161c_XmlOptionToJSON = postgresqlhostconfig161c_XmlOptionToJSON; const basePostgresqlhostconfig161c = { $type: "yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig16_1C", constraintExclusion: 0, debugParallelQuery: 0, clientMinMessages: 0, logMinMessages: 0, logMinErrorStatement: 0, logErrorVerbosity: 0, logStatement: 0, searchPath: "", defaultTransactionIsolation: 0, byteaOutput: 0, xmlbinary: 0, xmloption: 0, backslashQuote: 0, timezone: "", }; exports.Postgresqlhostconfig161c = { $type: "yandex.cloud.mdb.postgresql.v1.config.PostgresqlHostConfig16_1C", 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.debugParallelQuery !== 0) { writer.uint32(104).int32(message.debugParallelQuery); } 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.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({}, basePostgresqlhostconfig161c); 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; br