diff --git a/package-lock.json b/package-lock.json index 984c4bd09..a9b4fc258 100644 --- a/package-lock.json +++ b/package-lock.json @@ -819,12 +819,13 @@ } }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.23.0.tgz", - "integrity": "sha512-3sG8Zwa5fMcA9bgqB8AfWPQ+HFke6uD3h1s3RIwUNK8EG7a4buxvuFTs3j1IMs2NXAk9F30C/FF4vxRgQCcmoQ==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.24.0.tgz", + "integrity": "sha512-WtKdFM7ls47zkKHFVzMz8opM7LkcsIp9amDUBIAWirg70RM71WRSjdILPsY5Uv1D42ZpUfaPILDlfactHgsRkw==", "cpu": [ "ppc64" ], + "license": "MIT", "optional": true, "os": [ "aix" @@ -834,12 +835,13 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.23.0.tgz", - "integrity": "sha512-+KuOHTKKyIKgEEqKbGTK8W7mPp+hKinbMBeEnNzjJGyFcWsfrXjSTNluJHCY1RqhxFurdD8uNXQDei7qDlR6+g==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.24.0.tgz", + "integrity": "sha512-arAtTPo76fJ/ICkXWetLCc9EwEHKaeya4vMrReVlEIUCAUncH7M4bhMQ+M9Vf+FFOZJdTNMXNBrWwW+OXWpSew==", "cpu": [ "arm" ], + "license": "MIT", "optional": true, "os": [ "android" @@ -849,12 +851,13 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.23.0.tgz", - "integrity": "sha512-EuHFUYkAVfU4qBdyivULuu03FhJO4IJN9PGuABGrFy4vUuzk91P2d+npxHcFdpUnfYKy0PuV+n6bKIpHOB3prQ==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.24.0.tgz", + "integrity": "sha512-Vsm497xFM7tTIPYK9bNTYJyF/lsP590Qc1WxJdlB6ljCbdZKU9SY8i7+Iin4kyhV/KV5J2rOKsBQbB77Ab7L/w==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "android" @@ -864,12 +867,13 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.23.0.tgz", - "integrity": "sha512-WRrmKidLoKDl56LsbBMhzTTBxrsVwTKdNbKDalbEZr0tcsBgCLbEtoNthOW6PX942YiYq8HzEnb4yWQMLQuipQ==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.24.0.tgz", + "integrity": "sha512-t8GrvnFkiIY7pa7mMgJd7p8p8qqYIz1NYiAoKc75Zyv73L3DZW++oYMSHPRarcotTKuSs6m3hTOa5CKHaS02TQ==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "android" @@ -879,12 +883,13 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.23.0.tgz", - "integrity": "sha512-YLntie/IdS31H54Ogdn+v50NuoWF5BDkEUFpiOChVa9UnKpftgwzZRrI4J132ETIi+D8n6xh9IviFV3eXdxfow==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.24.0.tgz", + "integrity": "sha512-CKyDpRbK1hXwv79soeTJNHb5EiG6ct3efd/FTPdzOWdbZZfGhpbcqIpiD0+vwmpu0wTIL97ZRPZu8vUt46nBSw==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "darwin" @@ -894,12 +899,13 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.23.0.tgz", - "integrity": "sha512-IMQ6eme4AfznElesHUPDZ+teuGwoRmVuuixu7sv92ZkdQcPbsNHzutd+rAfaBKo8YK3IrBEi9SLLKWJdEvJniQ==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.24.0.tgz", + "integrity": "sha512-rgtz6flkVkh58od4PwTRqxbKH9cOjaXCMZgWD905JOzjFKW+7EiUObfd/Kav+A6Gyud6WZk9w+xu6QLytdi2OA==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "darwin" @@ -909,12 +915,13 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.23.0.tgz", - "integrity": "sha512-0muYWCng5vqaxobq6LB3YNtevDFSAZGlgtLoAc81PjUfiFz36n4KMpwhtAd4he8ToSI3TGyuhyx5xmiWNYZFyw==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.0.tgz", + "integrity": "sha512-6Mtdq5nHggwfDNLAHkPlyLBpE5L6hwsuXZX8XNmHno9JuL2+bg2BX5tRkwjyfn6sKbxZTq68suOjgWqCicvPXA==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "freebsd" @@ -924,12 +931,13 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.23.0.tgz", - "integrity": "sha512-XKDVu8IsD0/q3foBzsXGt/KjD/yTKBCIwOHE1XwiXmrRwrX6Hbnd5Eqn/WvDekddK21tfszBSrE/WMaZh+1buQ==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.24.0.tgz", + "integrity": "sha512-D3H+xh3/zphoX8ck4S2RxKR6gHlHDXXzOf6f/9dbFt/NRBDIE33+cVa49Kil4WUjxMGW0ZIYBYtaGCa2+OsQwQ==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "freebsd" @@ -939,12 +947,13 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.23.0.tgz", - "integrity": "sha512-SEELSTEtOFu5LPykzA395Mc+54RMg1EUgXP+iw2SJ72+ooMwVsgfuwXo5Fn0wXNgWZsTVHwY2cg4Vi/bOD88qw==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.24.0.tgz", + "integrity": "sha512-gJKIi2IjRo5G6Glxb8d3DzYXlxdEj2NlkixPsqePSZMhLudqPhtZ4BUrpIuTjJYXxvF9njql+vRjB2oaC9XpBw==", "cpu": [ "arm" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -954,12 +963,13 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.23.0.tgz", - "integrity": "sha512-j1t5iG8jE7BhonbsEg5d9qOYcVZv/Rv6tghaXM/Ug9xahM0nX/H2gfu6X6z11QRTMT6+aywOMA8TDkhPo8aCGw==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.24.0.tgz", + "integrity": "sha512-TDijPXTOeE3eaMkRYpcy3LarIg13dS9wWHRdwYRnzlwlA370rNdZqbcp0WTyyV/k2zSxfko52+C7jU5F9Tfj1g==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -969,12 +979,13 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.23.0.tgz", - "integrity": "sha512-P7O5Tkh2NbgIm2R6x1zGJJsnacDzTFcRWZyTTMgFdVit6E98LTxO+v8LCCLWRvPrjdzXHx9FEOA8oAZPyApWUA==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.24.0.tgz", + "integrity": "sha512-K40ip1LAcA0byL05TbCQ4yJ4swvnbzHscRmUilrmP9Am7//0UjPreh4lpYzvThT2Quw66MhjG//20mrufm40mA==", "cpu": [ "ia32" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -984,12 +995,13 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.23.0.tgz", - "integrity": "sha512-InQwepswq6urikQiIC/kkx412fqUZudBO4SYKu0N+tGhXRWUqAx+Q+341tFV6QdBifpjYgUndV1hhMq3WeJi7A==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.24.0.tgz", + "integrity": "sha512-0mswrYP/9ai+CU0BzBfPMZ8RVm3RGAN/lmOMgW4aFUSOQBjA31UP8Mr6DDhWSuMwj7jaWOT0p0WoZ6jeHhrD7g==", "cpu": [ "loong64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -999,12 +1011,13 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.23.0.tgz", - "integrity": "sha512-J9rflLtqdYrxHv2FqXE2i1ELgNjT+JFURt/uDMoPQLcjWQA5wDKgQA4t/dTqGa88ZVECKaD0TctwsUfHbVoi4w==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.24.0.tgz", + "integrity": "sha512-hIKvXm0/3w/5+RDtCJeXqMZGkI2s4oMUGj3/jM0QzhgIASWrGO5/RlzAzm5nNh/awHE0A19h/CvHQe6FaBNrRA==", "cpu": [ "mips64el" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -1014,12 +1027,13 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.23.0.tgz", - "integrity": "sha512-cShCXtEOVc5GxU0fM+dsFD10qZ5UpcQ8AM22bYj0u/yaAykWnqXJDpd77ublcX6vdDsWLuweeuSNZk4yUxZwtw==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.24.0.tgz", + "integrity": "sha512-HcZh5BNq0aC52UoocJxaKORfFODWXZxtBaaZNuN3PUX3MoDsChsZqopzi5UupRhPHSEHotoiptqikjN/B77mYQ==", "cpu": [ "ppc64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -1029,12 +1043,13 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.23.0.tgz", - "integrity": "sha512-HEtaN7Y5UB4tZPeQmgz/UhzoEyYftbMXrBCUjINGjh3uil+rB/QzzpMshz3cNUxqXN7Vr93zzVtpIDL99t9aRw==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.24.0.tgz", + "integrity": "sha512-bEh7dMn/h3QxeR2KTy1DUszQjUrIHPZKyO6aN1X4BCnhfYhuQqedHaa5MxSQA/06j3GpiIlFGSsy1c7Gf9padw==", "cpu": [ "riscv64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -1044,12 +1059,13 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.23.0.tgz", - "integrity": "sha512-WDi3+NVAuyjg/Wxi+o5KPqRbZY0QhI9TjrEEm+8dmpY9Xir8+HE/HNx2JoLckhKbFopW0RdO2D72w8trZOV+Wg==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.24.0.tgz", + "integrity": "sha512-ZcQ6+qRkw1UcZGPyrCiHHkmBaj9SiCD8Oqd556HldP+QlpUIe2Wgn3ehQGVoPOvZvtHm8HPx+bH20c9pvbkX3g==", "cpu": [ "s390x" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -1059,12 +1075,13 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.23.0.tgz", - "integrity": "sha512-a3pMQhUEJkITgAw6e0bWA+F+vFtCciMjW/LPtoj99MhVt+Mfb6bbL9hu2wmTZgNd994qTAEw+U/r6k3qHWWaOQ==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.24.0.tgz", + "integrity": "sha512-vbutsFqQ+foy3wSSbmjBXXIJ6PL3scghJoM8zCL142cGaZKAdCZHyf+Bpu/MmX9zT9Q0zFBVKb36Ma5Fzfa8xA==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "linux" @@ -1074,12 +1091,13 @@ } }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.23.0.tgz", - "integrity": "sha512-cRK+YDem7lFTs2Q5nEv/HHc4LnrfBCbH5+JHu6wm2eP+d8OZNoSMYgPZJq78vqQ9g+9+nMuIsAO7skzphRXHyw==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.24.0.tgz", + "integrity": "sha512-hjQ0R/ulkO8fCYFsG0FZoH+pWgTTDreqpqY7UnQntnaKv95uP5iW3+dChxnx7C3trQQU40S+OgWhUVwCjVFLvg==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "netbsd" @@ -1089,12 +1107,13 @@ } }, "node_modules/@esbuild/openbsd-arm64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.23.0.tgz", - "integrity": "sha512-suXjq53gERueVWu0OKxzWqk7NxiUWSUlrxoZK7usiF50C6ipColGR5qie2496iKGYNLhDZkPxBI3erbnYkU0rQ==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.0.tgz", + "integrity": "sha512-MD9uzzkPQbYehwcN583yx3Tu5M8EIoTD+tUgKF982WYL9Pf5rKy9ltgD0eUgs8pvKnmizxjXZyLt0z6DC3rRXg==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "openbsd" @@ -1104,12 +1123,13 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.23.0.tgz", - "integrity": "sha512-6p3nHpby0DM/v15IFKMjAaayFhqnXV52aEmv1whZHX56pdkK+MEaLoQWj+H42ssFarP1PcomVhbsR4pkz09qBg==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.24.0.tgz", + "integrity": "sha512-4ir0aY1NGUhIC1hdoCzr1+5b43mw99uNwVzhIq1OY3QcEwPDO3B7WNXBzaKY5Nsf1+N11i1eOfFcq+D/gOS15Q==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "openbsd" @@ -1119,12 +1139,13 @@ } }, "node_modules/@esbuild/sunos-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.23.0.tgz", - "integrity": "sha512-BFelBGfrBwk6LVrmFzCq1u1dZbG4zy/Kp93w2+y83Q5UGYF1d8sCzeLI9NXjKyujjBBniQa8R8PzLFAUrSM9OA==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.24.0.tgz", + "integrity": "sha512-jVzdzsbM5xrotH+W5f1s+JtUy1UWgjU0Cf4wMvffTB8m6wP5/kx0KiaLHlbJO+dMgtxKV8RQ/JvtlFcdZ1zCPA==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "sunos" @@ -1134,12 +1155,13 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.23.0.tgz", - "integrity": "sha512-lY6AC8p4Cnb7xYHuIxQ6iYPe6MfO2CC43XXKo9nBXDb35krYt7KGhQnOkRGar5psxYkircpCqfbNDB4uJbS2jQ==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.24.0.tgz", + "integrity": "sha512-iKc8GAslzRpBytO2/aN3d2yb2z8XTVfNV0PjGlCxKo5SgWmNXx82I/Q3aG1tFfS+A2igVCY97TJ8tnYwpUWLCA==", "cpu": [ "arm64" ], + "license": "MIT", "optional": true, "os": [ "win32" @@ -1149,12 +1171,13 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.23.0.tgz", - "integrity": "sha512-7L1bHlOTcO4ByvI7OXVI5pNN6HSu6pUQq9yodga8izeuB1KcT2UkHaH6118QJwopExPn0rMHIseCTx1CRo/uNA==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.24.0.tgz", + "integrity": "sha512-vQW36KZolfIudCcTnaTpmLQ24Ha1RjygBo39/aLkM2kmjkWmZGEJ5Gn9l5/7tzXA42QGIoWbICfg6KLLkIw6yw==", "cpu": [ "ia32" ], + "license": "MIT", "optional": true, "os": [ "win32" @@ -1164,12 +1187,13 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.23.0.tgz", - "integrity": "sha512-Arm+WgUFLUATuoxCJcahGuk6Yj9Pzxd6l11Zb/2aAuv5kWWvvfhLFo2fni4uSK5vzlUdCGZ/BdV5tH8klj8p8g==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.24.0.tgz", + "integrity": "sha512-7IAFPrjSQIJrGsK6flwg7NFmwBoSTyF3rl7If0hNUFQU4ilTsEPL6GuMuU9BfIWVVGuRnuIidkSMC+c0Otu8IA==", "cpu": [ "x64" ], + "license": "MIT", "optional": true, "os": [ "win32" @@ -4072,10 +4096,11 @@ } }, "node_modules/esbuild": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.0.tgz", - "integrity": "sha512-1lvV17H2bMYda/WaFb2jLPeHU3zml2k4/yagNMG8Q/YtfMjCwEUZa2eXXMgZTVSL5q1n4H7sQ0X6CdJDqqeCFA==", + "version": "0.24.0", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.24.0.tgz", + "integrity": "sha512-FuLPevChGDshgSicjisSooU0cemp/sGXR841D5LHMB7mTVOmsEHcAxaH3irL53+8YDIeVNQEySh4DaYU/iuPqQ==", "hasInstallScript": true, + "license": "MIT", "bin": { "esbuild": "bin/esbuild" }, @@ -4083,30 +4108,30 @@ "node": ">=18" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.23.0", - "@esbuild/android-arm": "0.23.0", - "@esbuild/android-arm64": "0.23.0", - "@esbuild/android-x64": "0.23.0", - "@esbuild/darwin-arm64": "0.23.0", - "@esbuild/darwin-x64": "0.23.0", - "@esbuild/freebsd-arm64": "0.23.0", - "@esbuild/freebsd-x64": "0.23.0", - "@esbuild/linux-arm": "0.23.0", - "@esbuild/linux-arm64": "0.23.0", - "@esbuild/linux-ia32": "0.23.0", - "@esbuild/linux-loong64": "0.23.0", - "@esbuild/linux-mips64el": "0.23.0", - "@esbuild/linux-ppc64": "0.23.0", - "@esbuild/linux-riscv64": "0.23.0", - "@esbuild/linux-s390x": "0.23.0", - "@esbuild/linux-x64": "0.23.0", - "@esbuild/netbsd-x64": "0.23.0", - "@esbuild/openbsd-arm64": "0.23.0", - "@esbuild/openbsd-x64": "0.23.0", - "@esbuild/sunos-x64": "0.23.0", - "@esbuild/win32-arm64": "0.23.0", - "@esbuild/win32-ia32": "0.23.0", - "@esbuild/win32-x64": "0.23.0" + "@esbuild/aix-ppc64": "0.24.0", + "@esbuild/android-arm": "0.24.0", + "@esbuild/android-arm64": "0.24.0", + "@esbuild/android-x64": "0.24.0", + "@esbuild/darwin-arm64": "0.24.0", + "@esbuild/darwin-x64": "0.24.0", + "@esbuild/freebsd-arm64": "0.24.0", + "@esbuild/freebsd-x64": "0.24.0", + "@esbuild/linux-arm": "0.24.0", + "@esbuild/linux-arm64": "0.24.0", + "@esbuild/linux-ia32": "0.24.0", + "@esbuild/linux-loong64": "0.24.0", + "@esbuild/linux-mips64el": "0.24.0", + "@esbuild/linux-ppc64": "0.24.0", + "@esbuild/linux-riscv64": "0.24.0", + "@esbuild/linux-s390x": "0.24.0", + "@esbuild/linux-x64": "0.24.0", + "@esbuild/netbsd-x64": "0.24.0", + "@esbuild/openbsd-arm64": "0.24.0", + "@esbuild/openbsd-x64": "0.24.0", + "@esbuild/sunos-x64": "0.24.0", + "@esbuild/win32-arm64": "0.24.0", + "@esbuild/win32-ia32": "0.24.0", + "@esbuild/win32-x64": "0.24.0" } }, "node_modules/escalade": { @@ -5016,9 +5041,10 @@ } }, "node_modules/google-protobuf": { - "version": "3.21.2", - "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.21.2.tgz", - "integrity": "sha512-3MSOYFO5U9mPGikIYCzK0SaThypfGgS6bHqrUGXG3DPHCrb+txNqeEcns1W0lkGfk0rCyNXm7xB9rMxnCiZOoA==" + "version": "3.21.4", + "resolved": "https://registry.npmjs.org/google-protobuf/-/google-protobuf-3.21.4.tgz", + "integrity": "sha512-MnG7N936zcKTco4Jd2PX2U96Kf9PxygAPKBug+74LHzmHXmceN16MmRcdgZv+DGef/S9YvQAfRsNCn4cjf9yyQ==", + "license": "(BSD-3-Clause AND Apache-2.0)" }, "node_modules/gopd": { "version": "1.0.1", @@ -8716,6 +8742,429 @@ "fsevents": "~2.3.3" } }, + "node_modules/tsx/node_modules/@esbuild/aix-ppc64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.23.1.tgz", + "integrity": "sha512-6VhYk1diRqrhBAqpJEdjASR/+WVRtfjpqKuNw11cLiaWpAT/Uu+nokB+UJnevzy/P9C/ty6AOe0dwueMrGh/iQ==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/android-arm": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.23.1.tgz", + "integrity": "sha512-uz6/tEy2IFm9RYOyvKl88zdzZfwEfKZmnX9Cj1BHjeSGNuGLuMD1kR8y5bteYmwqKm1tj8m4cb/aKEorr6fHWQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/android-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.23.1.tgz", + "integrity": "sha512-xw50ipykXcLstLeWH7WRdQuysJqejuAGPd30vd1i5zSyKK3WE+ijzHmLKxdiCMtH1pHz78rOg0BKSYOSB/2Khw==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/android-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.23.1.tgz", + "integrity": "sha512-nlN9B69St9BwUoB+jkyU090bru8L0NA3yFvAd7k8dNsVH8bi9a8cUAUSEcEEgTp2z3dbEDGJGfP6VUnkQnlReg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/darwin-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.23.1.tgz", + "integrity": "sha512-YsS2e3Wtgnw7Wq53XXBLcV6JhRsEq8hkfg91ESVadIrzr9wO6jJDMZnCQbHm1Guc5t/CdDiFSSfWP58FNuvT3Q==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/darwin-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.23.1.tgz", + "integrity": "sha512-aClqdgTDVPSEGgoCS8QDG37Gu8yc9lTHNAQlsztQ6ENetKEO//b8y31MMu2ZaPbn4kVsIABzVLXYLhCGekGDqw==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/freebsd-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.23.1.tgz", + "integrity": "sha512-h1k6yS8/pN/NHlMl5+v4XPfikhJulk4G+tKGFIOwURBSFzE8bixw1ebjluLOjfwtLqY0kewfjLSrO6tN2MgIhA==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/freebsd-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.23.1.tgz", + "integrity": "sha512-lK1eJeyk1ZX8UklqFd/3A60UuZ/6UVfGT2LuGo3Wp4/z7eRTRYY+0xOu2kpClP+vMTi9wKOfXi2vjUpO1Ro76g==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/linux-arm": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.23.1.tgz", + "integrity": "sha512-CXXkzgn+dXAPs3WBwE+Kvnrf4WECwBdfjfeYHpMeVxWE0EceB6vhWGShs6wi0IYEqMSIzdOF1XjQ/Mkm5d7ZdQ==", + "cpu": [ + "arm" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/linux-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.23.1.tgz", + "integrity": "sha512-/93bf2yxencYDnItMYV/v116zff6UyTjo4EtEQjUBeGiVpMmffDNUyD9UN2zV+V3LRV3/on4xdZ26NKzn6754g==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/linux-ia32": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.23.1.tgz", + "integrity": "sha512-VTN4EuOHwXEkXzX5nTvVY4s7E/Krz7COC8xkftbbKRYAl96vPiUssGkeMELQMOnLOJ8k3BY1+ZY52tttZnHcXQ==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/linux-loong64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.23.1.tgz", + "integrity": "sha512-Vx09LzEoBa5zDnieH8LSMRToj7ir/Jeq0Gu6qJ/1GcBq9GkfoEAoXvLiW1U9J1qE/Y/Oyaq33w5p2ZWrNNHNEw==", + "cpu": [ + "loong64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/linux-mips64el": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.23.1.tgz", + "integrity": "sha512-nrFzzMQ7W4WRLNUOU5dlWAqa6yVeI0P78WKGUo7lg2HShq/yx+UYkeNSE0SSfSure0SqgnsxPvmAUu/vu0E+3Q==", + "cpu": [ + "mips64el" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/linux-ppc64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.23.1.tgz", + "integrity": "sha512-dKN8fgVqd0vUIjxuJI6P/9SSSe/mB9rvA98CSH2sJnlZ/OCZWO1DJvxj8jvKTfYUdGfcq2dDxoKaC6bHuTlgcw==", + "cpu": [ + "ppc64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/linux-riscv64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.23.1.tgz", + "integrity": "sha512-5AV4Pzp80fhHL83JM6LoA6pTQVWgB1HovMBsLQ9OZWLDqVY8MVobBXNSmAJi//Csh6tcY7e7Lny2Hg1tElMjIA==", + "cpu": [ + "riscv64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/linux-s390x": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.23.1.tgz", + "integrity": "sha512-9ygs73tuFCe6f6m/Tb+9LtYxWR4c9yg7zjt2cYkjDbDpV/xVn+68cQxMXCjUpYwEkze2RcU/rMnfIXNRFmSoDw==", + "cpu": [ + "s390x" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/linux-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.23.1.tgz", + "integrity": "sha512-EV6+ovTsEXCPAp58g2dD68LxoP/wK5pRvgy0J/HxPGB009omFPv3Yet0HiaqvrIrgPTBuC6wCH1LTOY91EO5hQ==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/netbsd-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.23.1.tgz", + "integrity": "sha512-aevEkCNu7KlPRpYLjwmdcuNz6bDFiE7Z8XC4CPqExjTvrHugh28QzUXVOZtiYghciKUacNktqxdpymplil1beA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/openbsd-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.23.1.tgz", + "integrity": "sha512-3x37szhLexNA4bXhLrCC/LImN/YtWis6WXr1VESlfVtVeoFJBRINPJ3f0a/6LV8zpikqoUg4hyXw0sFBt5Cr+Q==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/openbsd-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.23.1.tgz", + "integrity": "sha512-aY2gMmKmPhxfU+0EdnN+XNtGbjfQgwZj43k8G3fyrDM/UdZww6xrWxmDkuz2eCZchqVeABjV5BpildOrUbBTqA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/sunos-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.23.1.tgz", + "integrity": "sha512-RBRT2gqEl0IKQABT4XTj78tpk9v7ehp+mazn2HbUeZl1YMdaGAQqhapjGTCe7uw7y0frDi4gS0uHzhvpFuI1sA==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/win32-arm64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.23.1.tgz", + "integrity": "sha512-4O+gPR5rEBe2FpKOVyiJ7wNDPA8nGzDuJ6gN4okSA1gEOYZ67N8JPk58tkWtdtPeLz7lBnY6I5L3jdsr3S+A6A==", + "cpu": [ + "arm64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/win32-ia32": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.23.1.tgz", + "integrity": "sha512-BcaL0Vn6QwCwre3Y717nVHZbAa4UBEigzFm6VdsVdT/MbZ38xoj1X9HPkZhbmaBGUD1W8vxAfffbDe8bA6AKnQ==", + "cpu": [ + "ia32" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/@esbuild/win32-x64": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.23.1.tgz", + "integrity": "sha512-BHpFFeslkWrXWyUPnbKm+xYYVYruCinGcftSBaa8zoF9hZO4BcSCFUvHVTtzpIY6YzUnYtuEhZ+C9iEXjxnasg==", + "cpu": [ + "x64" + ], + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=18" + } + }, + "node_modules/tsx/node_modules/esbuild": { + "version": "0.23.1", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.23.1.tgz", + "integrity": "sha512-VVNz/9Sa0bs5SELtn3f7qhJCDPCF5oMEl5cO9/SSinpE9hbPVvxbd572HH5AKiP7WD8INO53GgfDDhRjkylHEg==", + "hasInstallScript": true, + "license": "MIT", + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=18" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.23.1", + "@esbuild/android-arm": "0.23.1", + "@esbuild/android-arm64": "0.23.1", + "@esbuild/android-x64": "0.23.1", + "@esbuild/darwin-arm64": "0.23.1", + "@esbuild/darwin-x64": "0.23.1", + "@esbuild/freebsd-arm64": "0.23.1", + "@esbuild/freebsd-x64": "0.23.1", + "@esbuild/linux-arm": "0.23.1", + "@esbuild/linux-arm64": "0.23.1", + "@esbuild/linux-ia32": "0.23.1", + "@esbuild/linux-loong64": "0.23.1", + "@esbuild/linux-mips64el": "0.23.1", + "@esbuild/linux-ppc64": "0.23.1", + "@esbuild/linux-riscv64": "0.23.1", + "@esbuild/linux-s390x": "0.23.1", + "@esbuild/linux-x64": "0.23.1", + "@esbuild/netbsd-x64": "0.23.1", + "@esbuild/openbsd-arm64": "0.23.1", + "@esbuild/openbsd-x64": "0.23.1", + "@esbuild/sunos-x64": "0.23.1", + "@esbuild/win32-arm64": "0.23.1", + "@esbuild/win32-ia32": "0.23.1", + "@esbuild/win32-x64": "0.23.1" + } + }, "node_modules/tty-browserify": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.1.tgz", @@ -9304,8 +9753,8 @@ "@bufbuild/protoplugin": "2.2.2", "@types/brotli": "^1.3.4", "brotli": "^1.3.3", - "esbuild": "^0.23.0", - "google-protobuf": "3.21.2" + "esbuild": "^0.24.0", + "google-protobuf": "3.21.4" } }, "packages/protobuf": { diff --git a/packages/bundle-size/README.md b/packages/bundle-size/README.md index cf7b4101b..9cad90471 100644 --- a/packages/bundle-size/README.md +++ b/packages/bundle-size/README.md @@ -16,16 +16,16 @@ usually do. We repeat this for an increasing number of files. | code generator | files | bundle size | minified | compressed | | ------------------- | ----: | ----------: | --------: | ---------: | -| Protobuf-ES | 1 | 126,179 b | 65,684 b | 15,268 b | -| Protobuf-ES | 4 | 128,368 b | 67,192 b | 15,925 b | -| Protobuf-ES | 8 | 131,130 b | 68,963 b | 16,458 b | -| Protobuf-ES | 16 | 141,580 b | 76,944 b | 18,756 b | -| Protobuf-ES | 32 | 169,371 b | 98,962 b | 24,290 b | -| protobuf-javascript | 1 | 334,193 b | 255,820 b | 42,481 b | -| protobuf-javascript | 4 | 360,861 b | 271,092 b | 43,912 b | -| protobuf-javascript | 8 | 382,904 b | 283,409 b | 45,038 b | -| protobuf-javascript | 16 | 542,945 b | 378,100 b | 52,204 b | -| protobuf-javascript | 32 | 1,235,469 b | 819,610 b | 78,780 b | +| Protobuf-ES | 1 | 126,585 b | 65,684 b | 15,268 b | +| Protobuf-ES | 4 | 128,774 b | 67,192 b | 15,925 b | +| Protobuf-ES | 8 | 131,536 b | 68,963 b | 16,458 b | +| Protobuf-ES | 16 | 141,986 b | 76,944 b | 18,756 b | +| Protobuf-ES | 32 | 169,777 b | 98,962 b | 24,290 b | +| protobuf-javascript | 1 | 104,048 b | 70,318 b | 15,474 b | +| protobuf-javascript | 4 | 130,537 b | 85,670 b | 16,986 b | +| protobuf-javascript | 8 | 152,429 b | 98,042 b | 18,111 b | +| protobuf-javascript | 16 | 311,454 b | 192,881 b | 25,504 b | +| protobuf-javascript | 32 | 1,070,891 b | 679,746 b | 54,963 b | diff --git a/packages/bundle-size/buf.gen.yaml b/packages/bundle-size/buf.gen.yaml index 632635711..54f52ce85 100644 --- a/packages/bundle-size/buf.gen.yaml +++ b/packages/bundle-size/buf.gen.yaml @@ -6,7 +6,7 @@ plugins: - local: protoc-gen-es opt: target=ts out: src/gen/protobuf-es - - remote: buf.build/protocolbuffers/js:v3.21.2 + - remote: buf.build/protocolbuffers/js:v3.21.4 out: src/gen/google-protobuf opt: import_style=commonjs - local: ["tsx", "./src/protoc-gen-entrypoints.ts"] diff --git a/packages/bundle-size/chart.svg b/packages/bundle-size/chart.svg index 7aa6ce2ff..e0100e1fc 100644 --- a/packages/bundle-size/chart.svg +++ b/packages/bundle-size/chart.svg @@ -53,14 +53,14 @@ Protobuf-ES 23.72 KiB for 32 files - + protobuf-javascript -protobuf-javascript 41.49 KiB for 1 files -protobuf-javascript 42.88 KiB for 4 files -protobuf-javascript 43.98 KiB for 8 files -protobuf-javascript 50.98 KiB for 16 files -protobuf-javascript 76.93 KiB for 32 files +protobuf-javascript 15.11 KiB for 1 files +protobuf-javascript 16.59 KiB for 4 files +protobuf-javascript 17.69 KiB for 8 files +protobuf-javascript 24.91 KiB for 16 files +protobuf-javascript 53.67 KiB for 32 files diff --git a/packages/bundle-size/package.json b/packages/bundle-size/package.json index 59d678917..af877dd75 100644 --- a/packages/bundle-size/package.json +++ b/packages/bundle-size/package.json @@ -16,7 +16,7 @@ "@bufbuild/protoc-gen-es": "2.2.2", "@types/brotli": "^1.3.4", "brotli": "^1.3.3", - "esbuild": "^0.23.0", - "google-protobuf": "3.21.2" + "esbuild": "^0.24.0", + "google-protobuf": "3.21.4" } } diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/client_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/client_pb.js index d47396952..23a169267 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/client_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/client_pb.js @@ -372,8 +372,8 @@ proto.google.api.CommonLanguageSettings.prototype.toObject = function(opt_includ */ proto.google.api.CommonLanguageSettings.toObject = function(includeInstance, msg) { var f, obj = { - referenceDocsUri: jspb.Message.getFieldWithDefault(msg, 1, ""), - destinationsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f +referenceDocsUri: jspb.Message.getFieldWithDefault(msg, 1, ""), +destinationsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -553,17 +553,17 @@ proto.google.api.ClientLibrarySettings.prototype.toObject = function(opt_include */ proto.google.api.ClientLibrarySettings.toObject = function(includeInstance, msg) { var f, obj = { - version: jspb.Message.getFieldWithDefault(msg, 1, ""), - launchStage: jspb.Message.getFieldWithDefault(msg, 2, 0), - restNumericEnums: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - javaSettings: (f = msg.getJavaSettings()) && proto.google.api.JavaSettings.toObject(includeInstance, f), - cppSettings: (f = msg.getCppSettings()) && proto.google.api.CppSettings.toObject(includeInstance, f), - phpSettings: (f = msg.getPhpSettings()) && proto.google.api.PhpSettings.toObject(includeInstance, f), - pythonSettings: (f = msg.getPythonSettings()) && proto.google.api.PythonSettings.toObject(includeInstance, f), - nodeSettings: (f = msg.getNodeSettings()) && proto.google.api.NodeSettings.toObject(includeInstance, f), - dotnetSettings: (f = msg.getDotnetSettings()) && proto.google.api.DotnetSettings.toObject(includeInstance, f), - rubySettings: (f = msg.getRubySettings()) && proto.google.api.RubySettings.toObject(includeInstance, f), - goSettings: (f = msg.getGoSettings()) && proto.google.api.GoSettings.toObject(includeInstance, f) +version: jspb.Message.getFieldWithDefault(msg, 1, ""), +launchStage: jspb.Message.getFieldWithDefault(msg, 2, 0), +restNumericEnums: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +javaSettings: (f = msg.getJavaSettings()) && proto.google.api.JavaSettings.toObject(includeInstance, f), +cppSettings: (f = msg.getCppSettings()) && proto.google.api.CppSettings.toObject(includeInstance, f), +phpSettings: (f = msg.getPhpSettings()) && proto.google.api.PhpSettings.toObject(includeInstance, f), +pythonSettings: (f = msg.getPythonSettings()) && proto.google.api.PythonSettings.toObject(includeInstance, f), +nodeSettings: (f = msg.getNodeSettings()) && proto.google.api.NodeSettings.toObject(includeInstance, f), +dotnetSettings: (f = msg.getDotnetSettings()) && proto.google.api.DotnetSettings.toObject(includeInstance, f), +rubySettings: (f = msg.getRubySettings()) && proto.google.api.RubySettings.toObject(includeInstance, f), +goSettings: (f = msg.getGoSettings()) && proto.google.api.GoSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -1158,19 +1158,19 @@ proto.google.api.Publishing.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.Publishing.toObject = function(includeInstance, msg) { var f, obj = { - methodSettingsList: jspb.Message.toObjectList(msg.getMethodSettingsList(), +methodSettingsList: jspb.Message.toObjectList(msg.getMethodSettingsList(), proto.google.api.MethodSettings.toObject, includeInstance), - newIssueUri: jspb.Message.getFieldWithDefault(msg, 101, ""), - documentationUri: jspb.Message.getFieldWithDefault(msg, 102, ""), - apiShortName: jspb.Message.getFieldWithDefault(msg, 103, ""), - githubLabel: jspb.Message.getFieldWithDefault(msg, 104, ""), - codeownerGithubTeamsList: (f = jspb.Message.getRepeatedField(msg, 105)) == null ? undefined : f, - docTagPrefix: jspb.Message.getFieldWithDefault(msg, 106, ""), - organization: jspb.Message.getFieldWithDefault(msg, 107, 0), - librarySettingsList: jspb.Message.toObjectList(msg.getLibrarySettingsList(), +newIssueUri: jspb.Message.getFieldWithDefault(msg, 101, ""), +documentationUri: jspb.Message.getFieldWithDefault(msg, 102, ""), +apiShortName: jspb.Message.getFieldWithDefault(msg, 103, ""), +githubLabel: jspb.Message.getFieldWithDefault(msg, 104, ""), +codeownerGithubTeamsList: (f = jspb.Message.getRepeatedField(msg, 105)) == null ? undefined : f, +docTagPrefix: jspb.Message.getFieldWithDefault(msg, 106, ""), +organization: jspb.Message.getFieldWithDefault(msg, 107, 0), +librarySettingsList: jspb.Message.toObjectList(msg.getLibrarySettingsList(), proto.google.api.ClientLibrarySettings.toObject, includeInstance), - protoReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 110, ""), - restReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 111, "") +protoReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 110, ""), +restReferenceDocumentationUri: jspb.Message.getFieldWithDefault(msg, 111, "") }; if (includeInstance) { @@ -1653,9 +1653,9 @@ proto.google.api.JavaSettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.JavaSettings.toObject = function(includeInstance, msg) { var f, obj = { - libraryPackage: jspb.Message.getFieldWithDefault(msg, 1, ""), - serviceClassNamesMap: (f = msg.getServiceClassNamesMap()) ? f.toObject(includeInstance, undefined) : [], - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) +libraryPackage: jspb.Message.getFieldWithDefault(msg, 1, ""), +serviceClassNamesMap: (f = msg.getServiceClassNamesMap()) ? f.toObject(includeInstance, undefined) : [], +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -1868,7 +1868,7 @@ proto.google.api.CppSettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.CppSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -2019,7 +2019,7 @@ proto.google.api.PhpSettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.PhpSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -2170,7 +2170,7 @@ proto.google.api.PythonSettings.prototype.toObject = function(opt_includeInstanc */ proto.google.api.PythonSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -2321,7 +2321,7 @@ proto.google.api.NodeSettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.NodeSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -2479,12 +2479,12 @@ proto.google.api.DotnetSettings.prototype.toObject = function(opt_includeInstanc */ proto.google.api.DotnetSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f), - renamedServicesMap: (f = msg.getRenamedServicesMap()) ? f.toObject(includeInstance, undefined) : [], - renamedResourcesMap: (f = msg.getRenamedResourcesMap()) ? f.toObject(includeInstance, undefined) : [], - ignoredResourcesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, - forcedNamespaceAliasesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, - handwrittenSignaturesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f), +renamedServicesMap: (f = msg.getRenamedServicesMap()) ? f.toObject(includeInstance, undefined) : [], +renamedResourcesMap: (f = msg.getRenamedResourcesMap()) ? f.toObject(includeInstance, undefined) : [], +ignoredResourcesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f, +forcedNamespaceAliasesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f, +handwrittenSignaturesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f }; if (includeInstance) { @@ -2845,7 +2845,7 @@ proto.google.api.RubySettings.prototype.toObject = function(opt_includeInstance) */ proto.google.api.RubySettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -2996,7 +2996,7 @@ proto.google.api.GoSettings.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.GoSettings.toObject = function(includeInstance, msg) { var f, obj = { - common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) +common: (f = msg.getCommon()) && proto.google.api.CommonLanguageSettings.toObject(includeInstance, f) }; if (includeInstance) { @@ -3154,9 +3154,9 @@ proto.google.api.MethodSettings.prototype.toObject = function(opt_includeInstanc */ proto.google.api.MethodSettings.toObject = function(includeInstance, msg) { var f, obj = { - selector: jspb.Message.getFieldWithDefault(msg, 1, ""), - longRunning: (f = msg.getLongRunning()) && proto.google.api.MethodSettings.LongRunning.toObject(includeInstance, f), - autoPopulatedFieldsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f +selector: jspb.Message.getFieldWithDefault(msg, 1, ""), +longRunning: (f = msg.getLongRunning()) && proto.google.api.MethodSettings.LongRunning.toObject(includeInstance, f), +autoPopulatedFieldsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f }; if (includeInstance) { @@ -3292,10 +3292,10 @@ proto.google.api.MethodSettings.LongRunning.prototype.toObject = function(opt_in */ proto.google.api.MethodSettings.LongRunning.toObject = function(includeInstance, msg) { var f, obj = { - initialPollDelay: (f = msg.getInitialPollDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), - pollDelayMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - maxPollDelay: (f = msg.getMaxPollDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), - totalPollTimeout: (f = msg.getTotalPollTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +initialPollDelay: (f = msg.getInitialPollDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), +pollDelayMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +maxPollDelay: (f = msg.getMaxPollDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), +totalPollTimeout: (f = msg.getTotalPollTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/checked_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/checked_pb.js index 7d4806558..587e34915 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/checked_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/checked_pb.js @@ -319,11 +319,11 @@ proto.google.api.expr.v1alpha1.CheckedExpr.prototype.toObject = function(opt_inc */ proto.google.api.expr.v1alpha1.CheckedExpr.toObject = function(includeInstance, msg) { var f, obj = { - referenceMapMap: (f = msg.getReferenceMapMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Reference.toObject) : [], - typeMapMap: (f = msg.getTypeMapMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Type.toObject) : [], - sourceInfo: (f = msg.getSourceInfo()) && google_api_expr_v1alpha1_syntax_pb.SourceInfo.toObject(includeInstance, f), - exprVersion: jspb.Message.getFieldWithDefault(msg, 6, ""), - expr: (f = msg.getExpr()) && google_api_expr_v1alpha1_syntax_pb.Expr.toObject(includeInstance, f) +referenceMapMap: (f = msg.getReferenceMapMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Reference.toObject) : [], +typeMapMap: (f = msg.getTypeMapMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Type.toObject) : [], +sourceInfo: (f = msg.getSourceInfo()) && google_api_expr_v1alpha1_syntax_pb.SourceInfo.toObject(includeInstance, f), +exprVersion: jspb.Message.getFieldWithDefault(msg, 6, ""), +expr: (f = msg.getExpr()) && google_api_expr_v1alpha1_syntax_pb.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -656,19 +656,19 @@ proto.google.api.expr.v1alpha1.Type.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1alpha1.Type.toObject = function(includeInstance, msg) { var f, obj = { - dyn: (f = msg.getDyn()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f), - pb_null: jspb.Message.getFieldWithDefault(msg, 2, 0), - primitive: jspb.Message.getFieldWithDefault(msg, 3, 0), - wrapper: jspb.Message.getFieldWithDefault(msg, 4, 0), - wellKnown: jspb.Message.getFieldWithDefault(msg, 5, 0), - listType: (f = msg.getListType()) && proto.google.api.expr.v1alpha1.Type.ListType.toObject(includeInstance, f), - mapType: (f = msg.getMapType()) && proto.google.api.expr.v1alpha1.Type.MapType.toObject(includeInstance, f), - pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1alpha1.Type.FunctionType.toObject(includeInstance, f), - messageType: jspb.Message.getFieldWithDefault(msg, 9, ""), - typeParam: jspb.Message.getFieldWithDefault(msg, 10, ""), - type: (f = msg.getType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), - error: (f = msg.getError()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f), - abstractType: (f = msg.getAbstractType()) && proto.google.api.expr.v1alpha1.Type.AbstractType.toObject(includeInstance, f) +dyn: (f = msg.getDyn()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f), +pb_null: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +primitive: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +wrapper: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +wellKnown: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, +listType: (f = msg.getListType()) && proto.google.api.expr.v1alpha1.Type.ListType.toObject(includeInstance, f), +mapType: (f = msg.getMapType()) && proto.google.api.expr.v1alpha1.Type.MapType.toObject(includeInstance, f), +pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1alpha1.Type.FunctionType.toObject(includeInstance, f), +messageType: (f = jspb.Message.getField(msg, 9)) == null ? undefined : f, +typeParam: (f = jspb.Message.getField(msg, 10)) == null ? undefined : f, +type: (f = msg.getType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), +error: (f = msg.getError()) && google_protobuf_empty_pb.Empty.toObject(includeInstance, f), +abstractType: (f = msg.getAbstractType()) && proto.google.api.expr.v1alpha1.Type.AbstractType.toObject(includeInstance, f) }; if (includeInstance) { @@ -949,7 +949,7 @@ proto.google.api.expr.v1alpha1.Type.ListType.prototype.toObject = function(opt_i */ proto.google.api.expr.v1alpha1.Type.ListType.toObject = function(includeInstance, msg) { var f, obj = { - elemType: (f = msg.getElemType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f) +elemType: (f = msg.getElemType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f) }; if (includeInstance) { @@ -1100,8 +1100,8 @@ proto.google.api.expr.v1alpha1.Type.MapType.prototype.toObject = function(opt_in */ proto.google.api.expr.v1alpha1.Type.MapType.toObject = function(includeInstance, msg) { var f, obj = { - keyType: (f = msg.getKeyType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), - valueType: (f = msg.getValueType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f) +keyType: (f = msg.getKeyType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), +valueType: (f = msg.getValueType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f) }; if (includeInstance) { @@ -1309,8 +1309,8 @@ proto.google.api.expr.v1alpha1.Type.FunctionType.prototype.toObject = function(o */ proto.google.api.expr.v1alpha1.Type.FunctionType.toObject = function(includeInstance, msg) { var f, obj = { - resultType: (f = msg.getResultType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), - argTypesList: jspb.Message.toObjectList(msg.getArgTypesList(), +resultType: (f = msg.getResultType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), +argTypesList: jspb.Message.toObjectList(msg.getArgTypesList(), proto.google.api.expr.v1alpha1.Type.toObject, includeInstance) }; @@ -1520,8 +1520,8 @@ proto.google.api.expr.v1alpha1.Type.AbstractType.prototype.toObject = function(o */ proto.google.api.expr.v1alpha1.Type.AbstractType.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - parameterTypesList: jspb.Message.toObjectList(msg.getParameterTypesList(), +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +parameterTypesList: jspb.Message.toObjectList(msg.getParameterTypesList(), proto.google.api.expr.v1alpha1.Type.toObject, includeInstance) }; @@ -2204,9 +2204,9 @@ proto.google.api.expr.v1alpha1.Decl.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1alpha1.Decl.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - ident: (f = msg.getIdent()) && proto.google.api.expr.v1alpha1.Decl.IdentDecl.toObject(includeInstance, f), - pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1alpha1.Decl.FunctionDecl.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +ident: (f = msg.getIdent()) && proto.google.api.expr.v1alpha1.Decl.IdentDecl.toObject(includeInstance, f), +pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1alpha1.Decl.FunctionDecl.toObject(includeInstance, f) }; if (includeInstance) { @@ -2344,9 +2344,9 @@ proto.google.api.expr.v1alpha1.Decl.IdentDecl.prototype.toObject = function(opt_ */ proto.google.api.expr.v1alpha1.Decl.IdentDecl.toObject = function(includeInstance, msg) { var f, obj = { - type: (f = msg.getType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), - value: (f = msg.getValue()) && google_api_expr_v1alpha1_syntax_pb.Constant.toObject(includeInstance, f), - doc: jspb.Message.getFieldWithDefault(msg, 3, "") +type: (f = msg.getType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), +value: (f = msg.getValue()) && google_api_expr_v1alpha1_syntax_pb.Constant.toObject(includeInstance, f), +doc: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -2583,7 +2583,7 @@ proto.google.api.expr.v1alpha1.Decl.FunctionDecl.prototype.toObject = function(o */ proto.google.api.expr.v1alpha1.Decl.FunctionDecl.toObject = function(includeInstance, msg) { var f, obj = { - overloadsList: jspb.Message.toObjectList(msg.getOverloadsList(), +overloadsList: jspb.Message.toObjectList(msg.getOverloadsList(), proto.google.api.expr.v1alpha1.Decl.FunctionDecl.Overload.toObject, includeInstance) }; @@ -2705,13 +2705,13 @@ proto.google.api.expr.v1alpha1.Decl.FunctionDecl.Overload.prototype.toObject = f */ proto.google.api.expr.v1alpha1.Decl.FunctionDecl.Overload.toObject = function(includeInstance, msg) { var f, obj = { - overloadId: jspb.Message.getFieldWithDefault(msg, 1, ""), - paramsList: jspb.Message.toObjectList(msg.getParamsList(), +overloadId: jspb.Message.getFieldWithDefault(msg, 1, ""), +paramsList: jspb.Message.toObjectList(msg.getParamsList(), proto.google.api.expr.v1alpha1.Type.toObject, includeInstance), - typeParamsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - resultType: (f = msg.getResultType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), - isInstanceFunction: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), - doc: jspb.Message.getFieldWithDefault(msg, 6, "") +typeParamsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, +resultType: (f = msg.getResultType()) && proto.google.api.expr.v1alpha1.Type.toObject(includeInstance, f), +isInstanceFunction: jspb.Message.getBooleanFieldWithDefault(msg, 5, false), +doc: jspb.Message.getFieldWithDefault(msg, 6, "") }; if (includeInstance) { @@ -3185,9 +3185,9 @@ proto.google.api.expr.v1alpha1.Reference.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.Reference.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - overloadIdList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - value: (f = msg.getValue()) && google_api_expr_v1alpha1_syntax_pb.Constant.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +overloadIdList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, +value: (f = msg.getValue()) && google_api_expr_v1alpha1_syntax_pb.Constant.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/eval_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/eval_pb.js index 8d5bcb854..6487bbdd8 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/eval_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/eval_pb.js @@ -189,9 +189,9 @@ proto.google.api.expr.v1alpha1.EvalState.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.EvalState.toObject = function(includeInstance, msg) { var f, obj = { - valuesList: jspb.Message.toObjectList(msg.getValuesList(), +valuesList: jspb.Message.toObjectList(msg.getValuesList(), proto.google.api.expr.v1alpha1.ExprValue.toObject, includeInstance), - resultsList: jspb.Message.toObjectList(msg.getResultsList(), +resultsList: jspb.Message.toObjectList(msg.getResultsList(), proto.google.api.expr.v1alpha1.EvalState.Result.toObject, includeInstance) }; @@ -319,8 +319,8 @@ proto.google.api.expr.v1alpha1.EvalState.Result.prototype.toObject = function(op */ proto.google.api.expr.v1alpha1.EvalState.Result.toObject = function(includeInstance, msg) { var f, obj = { - expr: jspb.Message.getFieldWithDefault(msg, 1, 0), - value: jspb.Message.getFieldWithDefault(msg, 2, 0) +expr: jspb.Message.getFieldWithDefault(msg, 1, 0), +value: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -582,9 +582,9 @@ proto.google.api.expr.v1alpha1.ExprValue.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.ExprValue.toObject = function(includeInstance, msg) { var f, obj = { - value: (f = msg.getValue()) && google_api_expr_v1alpha1_value_pb.Value.toObject(includeInstance, f), - error: (f = msg.getError()) && proto.google.api.expr.v1alpha1.ErrorSet.toObject(includeInstance, f), - unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1alpha1.UnknownSet.toObject(includeInstance, f) +value: (f = msg.getValue()) && google_api_expr_v1alpha1_value_pb.Value.toObject(includeInstance, f), +error: (f = msg.getError()) && proto.google.api.expr.v1alpha1.ErrorSet.toObject(includeInstance, f), +unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1alpha1.UnknownSet.toObject(includeInstance, f) }; if (includeInstance) { @@ -842,7 +842,7 @@ proto.google.api.expr.v1alpha1.ErrorSet.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1alpha1.ErrorSet.toObject = function(includeInstance, msg) { var f, obj = { - errorsList: jspb.Message.toObjectList(msg.getErrorsList(), +errorsList: jspb.Message.toObjectList(msg.getErrorsList(), google_rpc_status_pb.Status.toObject, includeInstance) }; @@ -1002,7 +1002,7 @@ proto.google.api.expr.v1alpha1.UnknownSet.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1alpha1.UnknownSet.toObject = function(includeInstance, msg) { var f, obj = { - exprsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f +exprsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/explain_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/explain_pb.js index 8869304cb..d303b8f8f 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/explain_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/explain_pb.js @@ -120,9 +120,9 @@ proto.google.api.expr.v1alpha1.Explain.prototype.toObject = function(opt_include */ proto.google.api.expr.v1alpha1.Explain.toObject = function(includeInstance, msg) { var f, obj = { - valuesList: jspb.Message.toObjectList(msg.getValuesList(), +valuesList: jspb.Message.toObjectList(msg.getValuesList(), google_api_expr_v1alpha1_value_pb.Value.toObject, includeInstance), - exprStepsList: jspb.Message.toObjectList(msg.getExprStepsList(), +exprStepsList: jspb.Message.toObjectList(msg.getExprStepsList(), proto.google.api.expr.v1alpha1.Explain.ExprStep.toObject, includeInstance) }; @@ -250,8 +250,8 @@ proto.google.api.expr.v1alpha1.Explain.ExprStep.prototype.toObject = function(op */ proto.google.api.expr.v1alpha1.Explain.ExprStep.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, 0), - valueIndex: jspb.Message.getFieldWithDefault(msg, 2, 0) +id: jspb.Message.getFieldWithDefault(msg, 1, 0), +valueIndex: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/syntax_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/syntax_pb.js index f0465408b..afb44e04e 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/syntax_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/syntax_pb.js @@ -385,8 +385,8 @@ proto.google.api.expr.v1alpha1.ParsedExpr.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1alpha1.ParsedExpr.toObject = function(includeInstance, msg) { var f, obj = { - expr: (f = msg.getExpr()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - sourceInfo: (f = msg.getSourceInfo()) && proto.google.api.expr.v1alpha1.SourceInfo.toObject(includeInstance, f) +expr: (f = msg.getExpr()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +sourceInfo: (f = msg.getSourceInfo()) && proto.google.api.expr.v1alpha1.SourceInfo.toObject(includeInstance, f) }; if (includeInstance) { @@ -618,14 +618,14 @@ proto.google.api.expr.v1alpha1.Expr.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1alpha1.Expr.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 2, 0), - constExpr: (f = msg.getConstExpr()) && proto.google.api.expr.v1alpha1.Constant.toObject(includeInstance, f), - identExpr: (f = msg.getIdentExpr()) && proto.google.api.expr.v1alpha1.Expr.Ident.toObject(includeInstance, f), - selectExpr: (f = msg.getSelectExpr()) && proto.google.api.expr.v1alpha1.Expr.Select.toObject(includeInstance, f), - callExpr: (f = msg.getCallExpr()) && proto.google.api.expr.v1alpha1.Expr.Call.toObject(includeInstance, f), - listExpr: (f = msg.getListExpr()) && proto.google.api.expr.v1alpha1.Expr.CreateList.toObject(includeInstance, f), - structExpr: (f = msg.getStructExpr()) && proto.google.api.expr.v1alpha1.Expr.CreateStruct.toObject(includeInstance, f), - comprehensionExpr: (f = msg.getComprehensionExpr()) && proto.google.api.expr.v1alpha1.Expr.Comprehension.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 2, 0), +constExpr: (f = msg.getConstExpr()) && proto.google.api.expr.v1alpha1.Constant.toObject(includeInstance, f), +identExpr: (f = msg.getIdentExpr()) && proto.google.api.expr.v1alpha1.Expr.Ident.toObject(includeInstance, f), +selectExpr: (f = msg.getSelectExpr()) && proto.google.api.expr.v1alpha1.Expr.Select.toObject(includeInstance, f), +callExpr: (f = msg.getCallExpr()) && proto.google.api.expr.v1alpha1.Expr.Call.toObject(includeInstance, f), +listExpr: (f = msg.getListExpr()) && proto.google.api.expr.v1alpha1.Expr.CreateList.toObject(includeInstance, f), +structExpr: (f = msg.getStructExpr()) && proto.google.api.expr.v1alpha1.Expr.CreateStruct.toObject(includeInstance, f), +comprehensionExpr: (f = msg.getComprehensionExpr()) && proto.google.api.expr.v1alpha1.Expr.Comprehension.toObject(includeInstance, f) }; if (includeInstance) { @@ -828,7 +828,7 @@ proto.google.api.expr.v1alpha1.Expr.Ident.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1alpha1.Expr.Ident.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -958,9 +958,9 @@ proto.google.api.expr.v1alpha1.Expr.Select.prototype.toObject = function(opt_inc */ proto.google.api.expr.v1alpha1.Expr.Select.toObject = function(includeInstance, msg) { var f, obj = { - operand: (f = msg.getOperand()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - field: jspb.Message.getFieldWithDefault(msg, 2, ""), - testOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +operand: (f = msg.getOperand()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +field: jspb.Message.getFieldWithDefault(msg, 2, ""), +testOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -1176,9 +1176,9 @@ proto.google.api.expr.v1alpha1.Expr.Call.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.Expr.Call.toObject = function(includeInstance, msg) { var f, obj = { - target: (f = msg.getTarget()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - pb_function: jspb.Message.getFieldWithDefault(msg, 2, ""), - argsList: jspb.Message.toObjectList(msg.getArgsList(), +target: (f = msg.getTarget()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +pb_function: jspb.Message.getFieldWithDefault(msg, 2, ""), +argsList: jspb.Message.toObjectList(msg.getArgsList(), proto.google.api.expr.v1alpha1.Expr.toObject, includeInstance) }; @@ -1417,9 +1417,9 @@ proto.google.api.expr.v1alpha1.Expr.CreateList.prototype.toObject = function(opt */ proto.google.api.expr.v1alpha1.Expr.CreateList.toObject = function(includeInstance, msg) { var f, obj = { - elementsList: jspb.Message.toObjectList(msg.getElementsList(), +elementsList: jspb.Message.toObjectList(msg.getElementsList(), proto.google.api.expr.v1alpha1.Expr.toObject, includeInstance), - optionalIndicesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f +optionalIndicesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f }; if (includeInstance) { @@ -1628,8 +1628,8 @@ proto.google.api.expr.v1alpha1.Expr.CreateStruct.prototype.toObject = function(o */ proto.google.api.expr.v1alpha1.Expr.CreateStruct.toObject = function(includeInstance, msg) { var f, obj = { - messageName: jspb.Message.getFieldWithDefault(msg, 1, ""), - entriesList: jspb.Message.toObjectList(msg.getEntriesList(), +messageName: jspb.Message.getFieldWithDefault(msg, 1, ""), +entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto.google.api.expr.v1alpha1.Expr.CreateStruct.Entry.toObject, includeInstance) }; @@ -1781,11 +1781,11 @@ proto.google.api.expr.v1alpha1.Expr.CreateStruct.Entry.prototype.toObject = func */ proto.google.api.expr.v1alpha1.Expr.CreateStruct.Entry.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, 0), - fieldKey: jspb.Message.getFieldWithDefault(msg, 2, ""), - mapKey: (f = msg.getMapKey()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - optionalEntry: jspb.Message.getBooleanFieldWithDefault(msg, 5, false) +id: jspb.Message.getFieldWithDefault(msg, 1, 0), +fieldKey: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +mapKey: (f = msg.getMapKey()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +optionalEntry: jspb.Message.getBooleanFieldWithDefault(msg, 5, false) }; if (includeInstance) { @@ -2147,13 +2147,13 @@ proto.google.api.expr.v1alpha1.Expr.Comprehension.prototype.toObject = function( */ proto.google.api.expr.v1alpha1.Expr.Comprehension.toObject = function(includeInstance, msg) { var f, obj = { - iterVar: jspb.Message.getFieldWithDefault(msg, 1, ""), - iterRange: (f = msg.getIterRange()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - accuVar: jspb.Message.getFieldWithDefault(msg, 3, ""), - accuInit: (f = msg.getAccuInit()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - loopCondition: (f = msg.getLoopCondition()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - loopStep: (f = msg.getLoopStep()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), - result: (f = msg.getResult()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f) +iterVar: jspb.Message.getFieldWithDefault(msg, 1, ""), +iterRange: (f = msg.getIterRange()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +accuVar: jspb.Message.getFieldWithDefault(msg, 3, ""), +accuInit: (f = msg.getAccuInit()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +loopCondition: (f = msg.getLoopCondition()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +loopStep: (f = msg.getLoopStep()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f), +result: (f = msg.getResult()) && proto.google.api.expr.v1alpha1.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -2872,15 +2872,15 @@ proto.google.api.expr.v1alpha1.Constant.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1alpha1.Constant.toObject = function(includeInstance, msg) { var f, obj = { - nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), - boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), - uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), - doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), - bytesValue: msg.getBytesValue_asB64(), - durationValue: (f = msg.getDurationValue()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), - timestampValue: (f = msg.getTimestampValue()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, +boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, +int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, +stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, +bytesValue: msg.getBytesValue_asB64(), +durationValue: (f = msg.getDurationValue()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), +timestampValue: (f = msg.getTimestampValue()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { @@ -3441,12 +3441,12 @@ proto.google.api.expr.v1alpha1.SourceInfo.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1alpha1.SourceInfo.toObject = function(includeInstance, msg) { var f, obj = { - syntaxVersion: jspb.Message.getFieldWithDefault(msg, 1, ""), - location: jspb.Message.getFieldWithDefault(msg, 2, ""), - lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [], - macroCallsMap: (f = msg.getMacroCallsMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Expr.toObject) : [], - extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), +syntaxVersion: jspb.Message.getFieldWithDefault(msg, 1, ""), +location: jspb.Message.getFieldWithDefault(msg, 2, ""), +lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, +positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [], +macroCallsMap: (f = msg.getMacroCallsMap()) ? f.toObject(includeInstance, proto.google.api.expr.v1alpha1.Expr.toObject) : [], +extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), proto.google.api.expr.v1alpha1.SourceInfo.Extension.toObject, includeInstance) }; @@ -3623,9 +3623,9 @@ proto.google.api.expr.v1alpha1.SourceInfo.Extension.prototype.toObject = functio */ proto.google.api.expr.v1alpha1.SourceInfo.Extension.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - affectedComponentsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - version: (f = msg.getVersion()) && proto.google.api.expr.v1alpha1.SourceInfo.Extension.Version.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +affectedComponentsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +version: (f = msg.getVersion()) && proto.google.api.expr.v1alpha1.SourceInfo.Extension.Version.toObject(includeInstance, f) }; if (includeInstance) { @@ -3773,8 +3773,8 @@ proto.google.api.expr.v1alpha1.SourceInfo.Extension.Version.prototype.toObject = */ proto.google.api.expr.v1alpha1.SourceInfo.Extension.Version.toObject = function(includeInstance, msg) { var f, obj = { - major: jspb.Message.getFieldWithDefault(msg, 1, 0), - minor: jspb.Message.getFieldWithDefault(msg, 2, 0) +major: jspb.Message.getFieldWithDefault(msg, 1, 0), +minor: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -4182,10 +4182,10 @@ proto.google.api.expr.v1alpha1.SourcePosition.prototype.toObject = function(opt_ */ proto.google.api.expr.v1alpha1.SourcePosition.toObject = function(includeInstance, msg) { var f, obj = { - location: jspb.Message.getFieldWithDefault(msg, 1, ""), - offset: jspb.Message.getFieldWithDefault(msg, 2, 0), - line: jspb.Message.getFieldWithDefault(msg, 3, 0), - column: jspb.Message.getFieldWithDefault(msg, 4, 0) +location: jspb.Message.getFieldWithDefault(msg, 1, ""), +offset: jspb.Message.getFieldWithDefault(msg, 2, 0), +line: jspb.Message.getFieldWithDefault(msg, 3, 0), +column: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/value_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/value_pb.js index 4375ffc6b..2d350c552 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/value_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1alpha1/value_pb.js @@ -218,18 +218,18 @@ proto.google.api.expr.v1alpha1.Value.prototype.toObject = function(opt_includeIn */ proto.google.api.expr.v1alpha1.Value.toObject = function(includeInstance, msg) { var f, obj = { - nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), - boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), - uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), - doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), - bytesValue: msg.getBytesValue_asB64(), - enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1alpha1.EnumValue.toObject(includeInstance, f), - objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), - mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1alpha1.MapValue.toObject(includeInstance, f), - listValue: (f = msg.getListValue()) && proto.google.api.expr.v1alpha1.ListValue.toObject(includeInstance, f), - typeValue: jspb.Message.getFieldWithDefault(msg, 15, "") +nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, +boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, +int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, +stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, +bytesValue: msg.getBytesValue_asB64(), +enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1alpha1.EnumValue.toObject(includeInstance, f), +objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), +mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1alpha1.MapValue.toObject(includeInstance, f), +listValue: (f = msg.getListValue()) && proto.google.api.expr.v1alpha1.ListValue.toObject(includeInstance, f), +typeValue: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f }; if (includeInstance) { @@ -930,8 +930,8 @@ proto.google.api.expr.v1alpha1.EnumValue.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.EnumValue.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - value: jspb.Message.getFieldWithDefault(msg, 2, 0) +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +value: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -1097,7 +1097,7 @@ proto.google.api.expr.v1alpha1.ListValue.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1alpha1.ListValue.toObject = function(includeInstance, msg) { var f, obj = { - valuesList: jspb.Message.toObjectList(msg.getValuesList(), +valuesList: jspb.Message.toObjectList(msg.getValuesList(), proto.google.api.expr.v1alpha1.Value.toObject, includeInstance) }; @@ -1257,7 +1257,7 @@ proto.google.api.expr.v1alpha1.MapValue.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1alpha1.MapValue.toObject = function(includeInstance, msg) { var f, obj = { - entriesList: jspb.Message.toObjectList(msg.getEntriesList(), +entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto.google.api.expr.v1alpha1.MapValue.Entry.toObject, includeInstance) }; @@ -1372,8 +1372,8 @@ proto.google.api.expr.v1alpha1.MapValue.Entry.prototype.toObject = function(opt_ */ proto.google.api.expr.v1alpha1.MapValue.Entry.toObject = function(includeInstance, msg) { var f, obj = { - key: (f = msg.getKey()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f), - value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f) +key: (f = msg.getKey()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f), +value: (f = msg.getValue()) && proto.google.api.expr.v1alpha1.Value.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/decl_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/decl_pb.js index e13c0473f..26894e67d 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/decl_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/decl_pb.js @@ -184,11 +184,11 @@ proto.google.api.expr.v1beta1.Decl.prototype.toObject = function(opt_includeInst */ proto.google.api.expr.v1beta1.Decl.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, 0), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - doc: jspb.Message.getFieldWithDefault(msg, 3, ""), - ident: (f = msg.getIdent()) && proto.google.api.expr.v1beta1.IdentDecl.toObject(includeInstance, f), - pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1beta1.FunctionDecl.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, 0), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +doc: jspb.Message.getFieldWithDefault(msg, 3, ""), +ident: (f = msg.getIdent()) && proto.google.api.expr.v1beta1.IdentDecl.toObject(includeInstance, f), +pb_function: (f = msg.getFunction()) && proto.google.api.expr.v1beta1.FunctionDecl.toObject(includeInstance, f) }; if (includeInstance) { @@ -483,9 +483,9 @@ proto.google.api.expr.v1beta1.DeclType.prototype.toObject = function(opt_include */ proto.google.api.expr.v1beta1.DeclType.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, 0), - type: jspb.Message.getFieldWithDefault(msg, 2, ""), - typeParamsList: jspb.Message.toObjectList(msg.getTypeParamsList(), +id: jspb.Message.getFieldWithDefault(msg, 1, 0), +type: jspb.Message.getFieldWithDefault(msg, 2, ""), +typeParamsList: jspb.Message.toObjectList(msg.getTypeParamsList(), proto.google.api.expr.v1beta1.DeclType.toObject, includeInstance) }; @@ -696,8 +696,8 @@ proto.google.api.expr.v1beta1.IdentDecl.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.IdentDecl.toObject = function(includeInstance, msg) { var f, obj = { - type: (f = msg.getType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), - value: (f = msg.getValue()) && google_api_expr_v1beta1_expr_pb.Expr.toObject(includeInstance, f) +type: (f = msg.getType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), +value: (f = msg.getValue()) && google_api_expr_v1beta1_expr_pb.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -905,10 +905,10 @@ proto.google.api.expr.v1beta1.FunctionDecl.prototype.toObject = function(opt_inc */ proto.google.api.expr.v1beta1.FunctionDecl.toObject = function(includeInstance, msg) { var f, obj = { - argsList: jspb.Message.toObjectList(msg.getArgsList(), +argsList: jspb.Message.toObjectList(msg.getArgsList(), proto.google.api.expr.v1beta1.IdentDecl.toObject, includeInstance), - returnType: (f = msg.getReturnType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), - receiverFunction: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +returnType: (f = msg.getReturnType()) && proto.google.api.expr.v1beta1.DeclType.toObject(includeInstance, f), +receiverFunction: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/eval_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/eval_pb.js index 3853bd0d5..2034805a0 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/eval_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/eval_pb.js @@ -211,9 +211,9 @@ proto.google.api.expr.v1beta1.EvalState.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.EvalState.toObject = function(includeInstance, msg) { var f, obj = { - valuesList: jspb.Message.toObjectList(msg.getValuesList(), +valuesList: jspb.Message.toObjectList(msg.getValuesList(), proto.google.api.expr.v1beta1.ExprValue.toObject, includeInstance), - resultsList: jspb.Message.toObjectList(msg.getResultsList(), +resultsList: jspb.Message.toObjectList(msg.getResultsList(), proto.google.api.expr.v1beta1.EvalState.Result.toObject, includeInstance) }; @@ -341,8 +341,8 @@ proto.google.api.expr.v1beta1.EvalState.Result.prototype.toObject = function(opt */ proto.google.api.expr.v1beta1.EvalState.Result.toObject = function(includeInstance, msg) { var f, obj = { - expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.IdRef.toObject(includeInstance, f), - value: jspb.Message.getFieldWithDefault(msg, 2, 0) +expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.IdRef.toObject(includeInstance, f), +value: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -625,9 +625,9 @@ proto.google.api.expr.v1beta1.ExprValue.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.ExprValue.toObject = function(includeInstance, msg) { var f, obj = { - value: (f = msg.getValue()) && google_api_expr_v1beta1_value_pb.Value.toObject(includeInstance, f), - error: (f = msg.getError()) && proto.google.api.expr.v1beta1.ErrorSet.toObject(includeInstance, f), - unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1beta1.UnknownSet.toObject(includeInstance, f) +value: (f = msg.getValue()) && google_api_expr_v1beta1_value_pb.Value.toObject(includeInstance, f), +error: (f = msg.getError()) && proto.google.api.expr.v1beta1.ErrorSet.toObject(includeInstance, f), +unknown: (f = msg.getUnknown()) && proto.google.api.expr.v1beta1.UnknownSet.toObject(includeInstance, f) }; if (includeInstance) { @@ -885,7 +885,7 @@ proto.google.api.expr.v1beta1.ErrorSet.prototype.toObject = function(opt_include */ proto.google.api.expr.v1beta1.ErrorSet.toObject = function(includeInstance, msg) { var f, obj = { - errorsList: jspb.Message.toObjectList(msg.getErrorsList(), +errorsList: jspb.Message.toObjectList(msg.getErrorsList(), google_rpc_status_pb.Status.toObject, includeInstance) }; @@ -1045,7 +1045,7 @@ proto.google.api.expr.v1beta1.UnknownSet.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1beta1.UnknownSet.toObject = function(includeInstance, msg) { var f, obj = { - exprsList: jspb.Message.toObjectList(msg.getExprsList(), +exprsList: jspb.Message.toObjectList(msg.getExprsList(), proto.google.api.expr.v1beta1.IdRef.toObject, includeInstance) }; @@ -1198,7 +1198,7 @@ proto.google.api.expr.v1beta1.IdRef.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1beta1.IdRef.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, 0) +id: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/expr_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/expr_pb.js index e0af33ea8..4b68e3940 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/expr_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/expr_pb.js @@ -294,9 +294,9 @@ proto.google.api.expr.v1beta1.ParsedExpr.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1beta1.ParsedExpr.toObject = function(includeInstance, msg) { var f, obj = { - expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - sourceInfo: (f = msg.getSourceInfo()) && google_api_expr_v1beta1_source_pb.SourceInfo.toObject(includeInstance, f), - syntaxVersion: jspb.Message.getFieldWithDefault(msg, 4, "") +expr: (f = msg.getExpr()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +sourceInfo: (f = msg.getSourceInfo()) && google_api_expr_v1beta1_source_pb.SourceInfo.toObject(includeInstance, f), +syntaxVersion: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -557,14 +557,14 @@ proto.google.api.expr.v1beta1.Expr.prototype.toObject = function(opt_includeInst */ proto.google.api.expr.v1beta1.Expr.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 2, 0), - literalExpr: (f = msg.getLiteralExpr()) && proto.google.api.expr.v1beta1.Literal.toObject(includeInstance, f), - identExpr: (f = msg.getIdentExpr()) && proto.google.api.expr.v1beta1.Expr.Ident.toObject(includeInstance, f), - selectExpr: (f = msg.getSelectExpr()) && proto.google.api.expr.v1beta1.Expr.Select.toObject(includeInstance, f), - callExpr: (f = msg.getCallExpr()) && proto.google.api.expr.v1beta1.Expr.Call.toObject(includeInstance, f), - listExpr: (f = msg.getListExpr()) && proto.google.api.expr.v1beta1.Expr.CreateList.toObject(includeInstance, f), - structExpr: (f = msg.getStructExpr()) && proto.google.api.expr.v1beta1.Expr.CreateStruct.toObject(includeInstance, f), - comprehensionExpr: (f = msg.getComprehensionExpr()) && proto.google.api.expr.v1beta1.Expr.Comprehension.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 2, 0), +literalExpr: (f = msg.getLiteralExpr()) && proto.google.api.expr.v1beta1.Literal.toObject(includeInstance, f), +identExpr: (f = msg.getIdentExpr()) && proto.google.api.expr.v1beta1.Expr.Ident.toObject(includeInstance, f), +selectExpr: (f = msg.getSelectExpr()) && proto.google.api.expr.v1beta1.Expr.Select.toObject(includeInstance, f), +callExpr: (f = msg.getCallExpr()) && proto.google.api.expr.v1beta1.Expr.Call.toObject(includeInstance, f), +listExpr: (f = msg.getListExpr()) && proto.google.api.expr.v1beta1.Expr.CreateList.toObject(includeInstance, f), +structExpr: (f = msg.getStructExpr()) && proto.google.api.expr.v1beta1.Expr.CreateStruct.toObject(includeInstance, f), +comprehensionExpr: (f = msg.getComprehensionExpr()) && proto.google.api.expr.v1beta1.Expr.Comprehension.toObject(includeInstance, f) }; if (includeInstance) { @@ -767,7 +767,7 @@ proto.google.api.expr.v1beta1.Expr.Ident.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1beta1.Expr.Ident.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -897,9 +897,9 @@ proto.google.api.expr.v1beta1.Expr.Select.prototype.toObject = function(opt_incl */ proto.google.api.expr.v1beta1.Expr.Select.toObject = function(includeInstance, msg) { var f, obj = { - operand: (f = msg.getOperand()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - field: jspb.Message.getFieldWithDefault(msg, 2, ""), - testOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) +operand: (f = msg.getOperand()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +field: jspb.Message.getFieldWithDefault(msg, 2, ""), +testOnly: jspb.Message.getBooleanFieldWithDefault(msg, 3, false) }; if (includeInstance) { @@ -1115,9 +1115,9 @@ proto.google.api.expr.v1beta1.Expr.Call.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.Expr.Call.toObject = function(includeInstance, msg) { var f, obj = { - target: (f = msg.getTarget()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - pb_function: jspb.Message.getFieldWithDefault(msg, 2, ""), - argsList: jspb.Message.toObjectList(msg.getArgsList(), +target: (f = msg.getTarget()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +pb_function: jspb.Message.getFieldWithDefault(msg, 2, ""), +argsList: jspb.Message.toObjectList(msg.getArgsList(), proto.google.api.expr.v1beta1.Expr.toObject, includeInstance) }; @@ -1356,7 +1356,7 @@ proto.google.api.expr.v1beta1.Expr.CreateList.prototype.toObject = function(opt_ */ proto.google.api.expr.v1beta1.Expr.CreateList.toObject = function(includeInstance, msg) { var f, obj = { - elementsList: jspb.Message.toObjectList(msg.getElementsList(), +elementsList: jspb.Message.toObjectList(msg.getElementsList(), proto.google.api.expr.v1beta1.Expr.toObject, includeInstance) }; @@ -1516,8 +1516,8 @@ proto.google.api.expr.v1beta1.Expr.CreateStruct.prototype.toObject = function(op */ proto.google.api.expr.v1beta1.Expr.CreateStruct.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - entriesList: jspb.Message.toObjectList(msg.getEntriesList(), +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto.google.api.expr.v1beta1.Expr.CreateStruct.Entry.toObject, includeInstance) }; @@ -1669,10 +1669,10 @@ proto.google.api.expr.v1beta1.Expr.CreateStruct.Entry.prototype.toObject = funct */ proto.google.api.expr.v1beta1.Expr.CreateStruct.Entry.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, 0), - fieldKey: jspb.Message.getFieldWithDefault(msg, 2, ""), - mapKey: (f = msg.getMapKey()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, 0), +fieldKey: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +mapKey: (f = msg.getMapKey()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -2005,13 +2005,13 @@ proto.google.api.expr.v1beta1.Expr.Comprehension.prototype.toObject = function(o */ proto.google.api.expr.v1beta1.Expr.Comprehension.toObject = function(includeInstance, msg) { var f, obj = { - iterVar: jspb.Message.getFieldWithDefault(msg, 1, ""), - iterRange: (f = msg.getIterRange()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - accuVar: jspb.Message.getFieldWithDefault(msg, 3, ""), - accuInit: (f = msg.getAccuInit()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - loopCondition: (f = msg.getLoopCondition()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - loopStep: (f = msg.getLoopStep()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), - result: (f = msg.getResult()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f) +iterVar: jspb.Message.getFieldWithDefault(msg, 1, ""), +iterRange: (f = msg.getIterRange()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +accuVar: jspb.Message.getFieldWithDefault(msg, 3, ""), +accuInit: (f = msg.getAccuInit()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +loopCondition: (f = msg.getLoopCondition()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +loopStep: (f = msg.getLoopStep()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f), +result: (f = msg.getResult()) && proto.google.api.expr.v1beta1.Expr.toObject(includeInstance, f) }; if (includeInstance) { @@ -2728,13 +2728,13 @@ proto.google.api.expr.v1beta1.Literal.prototype.toObject = function(opt_includeI */ proto.google.api.expr.v1beta1.Literal.toObject = function(includeInstance, msg) { var f, obj = { - nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), - boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), - uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), - doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), - bytesValue: msg.getBytesValue_asB64() +nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, +boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, +int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, +stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, +bytesValue: msg.getBytesValue_asB64() }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/source_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/source_pb.js index 77e9daae4..fe3087d27 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/source_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/source_pb.js @@ -118,9 +118,9 @@ proto.google.api.expr.v1beta1.SourceInfo.prototype.toObject = function(opt_inclu */ proto.google.api.expr.v1beta1.SourceInfo.toObject = function(includeInstance, msg) { var f, obj = { - location: jspb.Message.getFieldWithDefault(msg, 2, ""), - lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, - positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [] +location: jspb.Message.getFieldWithDefault(msg, 2, ""), +lineOffsetsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f, +positionsMap: (f = msg.getPositionsMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -333,10 +333,10 @@ proto.google.api.expr.v1beta1.SourcePosition.prototype.toObject = function(opt_i */ proto.google.api.expr.v1beta1.SourcePosition.toObject = function(includeInstance, msg) { var f, obj = { - location: jspb.Message.getFieldWithDefault(msg, 1, ""), - offset: jspb.Message.getFieldWithDefault(msg, 2, 0), - line: jspb.Message.getFieldWithDefault(msg, 3, 0), - column: jspb.Message.getFieldWithDefault(msg, 4, 0) +location: jspb.Message.getFieldWithDefault(msg, 1, ""), +offset: jspb.Message.getFieldWithDefault(msg, 2, 0), +line: jspb.Message.getFieldWithDefault(msg, 3, 0), +column: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/value_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/value_pb.js index 9efc8fbdb..983622234 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/value_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/expr/v1beta1/value_pb.js @@ -218,18 +218,18 @@ proto.google.api.expr.v1beta1.Value.prototype.toObject = function(opt_includeIns */ proto.google.api.expr.v1beta1.Value.toObject = function(includeInstance, msg) { var f, obj = { - nullValue: jspb.Message.getFieldWithDefault(msg, 1, 0), - boolValue: jspb.Message.getBooleanFieldWithDefault(msg, 2, false), - int64Value: jspb.Message.getFieldWithDefault(msg, 3, 0), - uint64Value: jspb.Message.getFieldWithDefault(msg, 4, 0), - doubleValue: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0), - stringValue: jspb.Message.getFieldWithDefault(msg, 6, ""), - bytesValue: msg.getBytesValue_asB64(), - enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1beta1.EnumValue.toObject(includeInstance, f), - objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), - mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1beta1.MapValue.toObject(includeInstance, f), - listValue: (f = msg.getListValue()) && proto.google.api.expr.v1beta1.ListValue.toObject(includeInstance, f), - typeValue: jspb.Message.getFieldWithDefault(msg, 15, "") +nullValue: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, +boolValue: (f = jspb.Message.getBooleanField(msg, 2)) == null ? undefined : f, +int64Value: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +uint64Value: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +doubleValue: (f = jspb.Message.getOptionalFloatingPointField(msg, 5)) == null ? undefined : f, +stringValue: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, +bytesValue: msg.getBytesValue_asB64(), +enumValue: (f = msg.getEnumValue()) && proto.google.api.expr.v1beta1.EnumValue.toObject(includeInstance, f), +objectValue: (f = msg.getObjectValue()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), +mapValue: (f = msg.getMapValue()) && proto.google.api.expr.v1beta1.MapValue.toObject(includeInstance, f), +listValue: (f = msg.getListValue()) && proto.google.api.expr.v1beta1.ListValue.toObject(includeInstance, f), +typeValue: (f = jspb.Message.getField(msg, 15)) == null ? undefined : f }; if (includeInstance) { @@ -930,8 +930,8 @@ proto.google.api.expr.v1beta1.EnumValue.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.EnumValue.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - value: jspb.Message.getFieldWithDefault(msg, 2, 0) +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +value: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { @@ -1097,7 +1097,7 @@ proto.google.api.expr.v1beta1.ListValue.prototype.toObject = function(opt_includ */ proto.google.api.expr.v1beta1.ListValue.toObject = function(includeInstance, msg) { var f, obj = { - valuesList: jspb.Message.toObjectList(msg.getValuesList(), +valuesList: jspb.Message.toObjectList(msg.getValuesList(), proto.google.api.expr.v1beta1.Value.toObject, includeInstance) }; @@ -1257,7 +1257,7 @@ proto.google.api.expr.v1beta1.MapValue.prototype.toObject = function(opt_include */ proto.google.api.expr.v1beta1.MapValue.toObject = function(includeInstance, msg) { var f, obj = { - entriesList: jspb.Message.toObjectList(msg.getEntriesList(), +entriesList: jspb.Message.toObjectList(msg.getEntriesList(), proto.google.api.expr.v1beta1.MapValue.Entry.toObject, includeInstance) }; @@ -1372,8 +1372,8 @@ proto.google.api.expr.v1beta1.MapValue.Entry.prototype.toObject = function(opt_i */ proto.google.api.expr.v1beta1.MapValue.Entry.toObject = function(includeInstance, msg) { var f, obj = { - key: (f = msg.getKey()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f), - value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f) +key: (f = msg.getKey()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f), +value: (f = msg.getValue()) && proto.google.api.expr.v1beta1.Value.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/field_info_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/field_info_pb.js index c69711938..5df5acf33 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/field_info_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/field_info_pb.js @@ -93,7 +93,7 @@ proto.google.api.FieldInfo.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.FieldInfo.toObject = function(includeInstance, msg) { var f, obj = { - format: jspb.Message.getFieldWithDefault(msg, 1, 0) +format: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/http_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/http_pb.js index bc1d8e3f9..b4da04e2a 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/http_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/http_pb.js @@ -141,9 +141,9 @@ proto.google.api.Http.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.Http.toObject = function(includeInstance, msg) { var f, obj = { - rulesList: jspb.Message.toObjectList(msg.getRulesList(), +rulesList: jspb.Message.toObjectList(msg.getRulesList(), proto.google.api.HttpRule.toObject, includeInstance), - fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { @@ -361,16 +361,16 @@ proto.google.api.HttpRule.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.HttpRule.toObject = function(includeInstance, msg) { var f, obj = { - selector: jspb.Message.getFieldWithDefault(msg, 1, ""), - get: jspb.Message.getFieldWithDefault(msg, 2, ""), - put: jspb.Message.getFieldWithDefault(msg, 3, ""), - post: jspb.Message.getFieldWithDefault(msg, 4, ""), - pb_delete: jspb.Message.getFieldWithDefault(msg, 5, ""), - patch: jspb.Message.getFieldWithDefault(msg, 6, ""), - custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), - body: jspb.Message.getFieldWithDefault(msg, 7, ""), - responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), - additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), +selector: jspb.Message.getFieldWithDefault(msg, 1, ""), +get: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, +put: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, +post: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, +pb_delete: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, +patch: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, +custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), +body: jspb.Message.getFieldWithDefault(msg, 7, ""), +responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), +additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), proto.google.api.HttpRule.toObject, includeInstance) }; @@ -895,8 +895,8 @@ proto.google.api.CustomHttpPattern.prototype.toObject = function(opt_includeInst */ proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { var f, obj = { - kind: jspb.Message.getFieldWithDefault(msg, 1, ""), - path: jspb.Message.getFieldWithDefault(msg, 2, "") +kind: jspb.Message.getFieldWithDefault(msg, 1, ""), +path: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/httpbody_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/httpbody_pb.js index 17b77637b..5a4904c43 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/httpbody_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/httpbody_pb.js @@ -98,9 +98,9 @@ proto.google.api.HttpBody.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.HttpBody.toObject = function(includeInstance, msg) { var f, obj = { - contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), - data: msg.getData_asB64(), - extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), +contentType: jspb.Message.getFieldWithDefault(msg, 1, ""), +data: msg.getData_asB64(), +extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), google_protobuf_any_pb.Any.toObject, includeInstance) }; diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/resource_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/resource_pb.js index 26fed5684..ea6e8db83 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/resource_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/resource_pb.js @@ -125,13 +125,13 @@ proto.google.api.ResourceDescriptor.prototype.toObject = function(opt_includeIns */ proto.google.api.ResourceDescriptor.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - patternList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - nameField: jspb.Message.getFieldWithDefault(msg, 3, ""), - history: jspb.Message.getFieldWithDefault(msg, 4, 0), - plural: jspb.Message.getFieldWithDefault(msg, 5, ""), - singular: jspb.Message.getFieldWithDefault(msg, 6, ""), - styleList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +patternList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +nameField: jspb.Message.getFieldWithDefault(msg, 3, ""), +history: jspb.Message.getFieldWithDefault(msg, 4, 0), +plural: jspb.Message.getFieldWithDefault(msg, 5, ""), +singular: jspb.Message.getFieldWithDefault(msg, 6, ""), +styleList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f }; if (includeInstance) { @@ -492,8 +492,8 @@ proto.google.api.ResourceReference.prototype.toObject = function(opt_includeInst */ proto.google.api.ResourceReference.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - childType: jspb.Message.getFieldWithDefault(msg, 2, "") +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +childType: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/api/visibility_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/api/visibility_pb.js index 20fe4e2bc..c1b036578 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/api/visibility_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/api/visibility_pb.js @@ -126,7 +126,7 @@ proto.google.api.Visibility.prototype.toObject = function(opt_includeInstance) { */ proto.google.api.Visibility.toObject = function(includeInstance, msg) { var f, obj = { - rulesList: jspb.Message.toObjectList(msg.getRulesList(), +rulesList: jspb.Message.toObjectList(msg.getRulesList(), proto.google.api.VisibilityRule.toObject, includeInstance) }; @@ -279,8 +279,8 @@ proto.google.api.VisibilityRule.prototype.toObject = function(opt_includeInstanc */ proto.google.api.VisibilityRule.toObject = function(includeInstance, msg) { var f, obj = { - selector: jspb.Message.getFieldWithDefault(msg, 1, ""), - restriction: jspb.Message.getFieldWithDefault(msg, 2, "") +selector: jspb.Message.getFieldWithDefault(msg, 1, ""), +restriction: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/bytestream/bytestream_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/bytestream/bytestream_pb.js index 14eb67f09..3cb338605 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/bytestream/bytestream_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/bytestream/bytestream_pb.js @@ -199,9 +199,9 @@ proto.google.bytestream.ReadRequest.prototype.toObject = function(opt_includeIns */ proto.google.bytestream.ReadRequest.toObject = function(includeInstance, msg) { var f, obj = { - resourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), - readOffset: jspb.Message.getFieldWithDefault(msg, 2, 0), - readLimit: jspb.Message.getFieldWithDefault(msg, 3, 0) +resourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), +readOffset: jspb.Message.getFieldWithDefault(msg, 2, 0), +readLimit: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { @@ -389,7 +389,7 @@ proto.google.bytestream.ReadResponse.prototype.toObject = function(opt_includeIn */ proto.google.bytestream.ReadResponse.toObject = function(includeInstance, msg) { var f, obj = { - data: msg.getData_asB64() +data: msg.getData_asB64() }; if (includeInstance) { @@ -543,10 +543,10 @@ proto.google.bytestream.WriteRequest.prototype.toObject = function(opt_includeIn */ proto.google.bytestream.WriteRequest.toObject = function(includeInstance, msg) { var f, obj = { - resourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), - writeOffset: jspb.Message.getFieldWithDefault(msg, 2, 0), - finishWrite: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - data: msg.getData_asB64() +resourceName: jspb.Message.getFieldWithDefault(msg, 1, ""), +writeOffset: jspb.Message.getFieldWithDefault(msg, 2, 0), +finishWrite: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +data: msg.getData_asB64() }; if (includeInstance) { @@ -787,7 +787,7 @@ proto.google.bytestream.WriteResponse.prototype.toObject = function(opt_includeI */ proto.google.bytestream.WriteResponse.toObject = function(includeInstance, msg) { var f, obj = { - committedSize: jspb.Message.getFieldWithDefault(msg, 1, 0) +committedSize: jspb.Message.getFieldWithDefault(msg, 1, 0) }; if (includeInstance) { @@ -917,7 +917,7 @@ proto.google.bytestream.QueryWriteStatusRequest.prototype.toObject = function(op */ proto.google.bytestream.QueryWriteStatusRequest.toObject = function(includeInstance, msg) { var f, obj = { - resourceName: jspb.Message.getFieldWithDefault(msg, 1, "") +resourceName: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1047,8 +1047,8 @@ proto.google.bytestream.QueryWriteStatusResponse.prototype.toObject = function(o */ proto.google.bytestream.QueryWriteStatusResponse.toObject = function(includeInstance, msg) { var f, obj = { - committedSize: jspb.Message.getFieldWithDefault(msg, 1, 0), - complete: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) +committedSize: jspb.Message.getFieldWithDefault(msg, 1, 0), +complete: jspb.Message.getBooleanFieldWithDefault(msg, 2, false) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/geo/type/viewport_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/geo/type/viewport_pb.js index 4f5644074..1489b34f5 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/geo/type/viewport_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/geo/type/viewport_pb.js @@ -91,8 +91,8 @@ proto.google.geo.type.Viewport.prototype.toObject = function(opt_includeInstance */ proto.google.geo.type.Viewport.toObject = function(includeInstance, msg) { var f, obj = { - low: (f = msg.getLow()) && google_type_latlng_pb.LatLng.toObject(includeInstance, f), - high: (f = msg.getHigh()) && google_type_latlng_pb.LatLng.toObject(includeInstance, f) +low: (f = msg.getLow()) && google_type_latlng_pb.LatLng.toObject(includeInstance, f), +high: (f = msg.getHigh()) && google_type_latlng_pb.LatLng.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/longrunning/operations_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/longrunning/operations_pb.js index 04a3d5505..3249cd8f7 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/longrunning/operations_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/longrunning/operations_pb.js @@ -285,11 +285,11 @@ proto.google.longrunning.Operation.prototype.toObject = function(opt_includeInst */ proto.google.longrunning.Operation.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - metadata: (f = msg.getMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), - done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), - error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f), - response: (f = msg.getResponse()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +metadata: (f = msg.getMetadata()) && google_protobuf_any_pb.Any.toObject(includeInstance, f), +done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false), +error: (f = msg.getError()) && google_rpc_status_pb.Status.toObject(includeInstance, f), +response: (f = msg.getResponse()) && google_protobuf_any_pb.Any.toObject(includeInstance, f) }; if (includeInstance) { @@ -598,7 +598,7 @@ proto.google.longrunning.GetOperationRequest.prototype.toObject = function(opt_i */ proto.google.longrunning.GetOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -728,10 +728,10 @@ proto.google.longrunning.ListOperationsRequest.prototype.toObject = function(opt */ proto.google.longrunning.ListOperationsRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 4, ""), - filter: jspb.Message.getFieldWithDefault(msg, 1, ""), - pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0), - pageToken: jspb.Message.getFieldWithDefault(msg, 3, "") +name: jspb.Message.getFieldWithDefault(msg, 4, ""), +filter: jspb.Message.getFieldWithDefault(msg, 1, ""), +pageSize: jspb.Message.getFieldWithDefault(msg, 2, 0), +pageToken: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -955,9 +955,9 @@ proto.google.longrunning.ListOperationsResponse.prototype.toObject = function(op */ proto.google.longrunning.ListOperationsResponse.toObject = function(includeInstance, msg) { var f, obj = { - operationsList: jspb.Message.toObjectList(msg.getOperationsList(), +operationsList: jspb.Message.toObjectList(msg.getOperationsList(), proto.google.longrunning.Operation.toObject, includeInstance), - nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") +nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1138,7 +1138,7 @@ proto.google.longrunning.CancelOperationRequest.prototype.toObject = function(op */ proto.google.longrunning.CancelOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1268,7 +1268,7 @@ proto.google.longrunning.DeleteOperationRequest.prototype.toObject = function(op */ proto.google.longrunning.DeleteOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, "") +name: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { @@ -1398,8 +1398,8 @@ proto.google.longrunning.WaitOperationRequest.prototype.toObject = function(opt_ */ proto.google.longrunning.WaitOperationRequest.toObject = function(includeInstance, msg) { var f, obj = { - name: jspb.Message.getFieldWithDefault(msg, 1, ""), - timeout: (f = msg.getTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +name: jspb.Message.getFieldWithDefault(msg, 1, ""), +timeout: (f = msg.getTimeout()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -1579,8 +1579,8 @@ proto.google.longrunning.OperationInfo.prototype.toObject = function(opt_include */ proto.google.longrunning.OperationInfo.toObject = function(includeInstance, msg) { var f, obj = { - responseType: jspb.Message.getFieldWithDefault(msg, 1, ""), - metadataType: jspb.Message.getFieldWithDefault(msg, 2, "") +responseType: jspb.Message.getFieldWithDefault(msg, 1, ""), +metadataType: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/rpc/context/attribute_context_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/rpc/context/attribute_context_pb.js index 48773c000..b8459aa56 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/rpc/context/attribute_context_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/rpc/context/attribute_context_pb.js @@ -236,14 +236,14 @@ proto.google.rpc.context.AttributeContext.prototype.toObject = function(opt_incl */ proto.google.rpc.context.AttributeContext.toObject = function(includeInstance, msg) { var f, obj = { - origin: (f = msg.getOrigin()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), - source: (f = msg.getSource()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), - destination: (f = msg.getDestination()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), - request: (f = msg.getRequest()) && proto.google.rpc.context.AttributeContext.Request.toObject(includeInstance, f), - response: (f = msg.getResponse()) && proto.google.rpc.context.AttributeContext.Response.toObject(includeInstance, f), - resource: (f = msg.getResource()) && proto.google.rpc.context.AttributeContext.Resource.toObject(includeInstance, f), - api: (f = msg.getApi()) && proto.google.rpc.context.AttributeContext.Api.toObject(includeInstance, f), - extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), +origin: (f = msg.getOrigin()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), +source: (f = msg.getSource()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), +destination: (f = msg.getDestination()) && proto.google.rpc.context.AttributeContext.Peer.toObject(includeInstance, f), +request: (f = msg.getRequest()) && proto.google.rpc.context.AttributeContext.Request.toObject(includeInstance, f), +response: (f = msg.getResponse()) && proto.google.rpc.context.AttributeContext.Response.toObject(includeInstance, f), +resource: (f = msg.getResource()) && proto.google.rpc.context.AttributeContext.Resource.toObject(includeInstance, f), +api: (f = msg.getApi()) && proto.google.rpc.context.AttributeContext.Api.toObject(includeInstance, f), +extensionsList: jspb.Message.toObjectList(msg.getExtensionsList(), google_protobuf_any_pb.Any.toObject, includeInstance) }; @@ -449,11 +449,11 @@ proto.google.rpc.context.AttributeContext.Peer.prototype.toObject = function(opt */ proto.google.rpc.context.AttributeContext.Peer.toObject = function(includeInstance, msg) { var f, obj = { - ip: jspb.Message.getFieldWithDefault(msg, 1, ""), - port: jspb.Message.getFieldWithDefault(msg, 2, 0), - labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [], - principal: jspb.Message.getFieldWithDefault(msg, 7, ""), - regionCode: jspb.Message.getFieldWithDefault(msg, 8, "") +ip: jspb.Message.getFieldWithDefault(msg, 1, ""), +port: jspb.Message.getFieldWithDefault(msg, 2, 0), +labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [], +principal: jspb.Message.getFieldWithDefault(msg, 7, ""), +regionCode: jspb.Message.getFieldWithDefault(msg, 8, "") }; if (includeInstance) { @@ -703,10 +703,10 @@ proto.google.rpc.context.AttributeContext.Api.prototype.toObject = function(opt_ */ proto.google.rpc.context.AttributeContext.Api.toObject = function(includeInstance, msg) { var f, obj = { - service: jspb.Message.getFieldWithDefault(msg, 1, ""), - operation: jspb.Message.getFieldWithDefault(msg, 2, ""), - protocol: jspb.Message.getFieldWithDefault(msg, 3, ""), - version: jspb.Message.getFieldWithDefault(msg, 4, "") +service: jspb.Message.getFieldWithDefault(msg, 1, ""), +operation: jspb.Message.getFieldWithDefault(msg, 2, ""), +protocol: jspb.Message.getFieldWithDefault(msg, 3, ""), +version: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -930,11 +930,11 @@ proto.google.rpc.context.AttributeContext.Auth.prototype.toObject = function(opt */ proto.google.rpc.context.AttributeContext.Auth.toObject = function(includeInstance, msg) { var f, obj = { - principal: jspb.Message.getFieldWithDefault(msg, 1, ""), - audiencesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, - presenter: jspb.Message.getFieldWithDefault(msg, 3, ""), - claims: (f = msg.getClaims()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), - accessLevelsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f +principal: jspb.Message.getFieldWithDefault(msg, 1, ""), +audiencesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f, +presenter: jspb.Message.getFieldWithDefault(msg, 3, ""), +claims: (f = msg.getClaims()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f), +accessLevelsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f }; if (includeInstance) { @@ -1239,18 +1239,18 @@ proto.google.rpc.context.AttributeContext.Request.prototype.toObject = function( */ proto.google.rpc.context.AttributeContext.Request.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - method: jspb.Message.getFieldWithDefault(msg, 2, ""), - headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [], - path: jspb.Message.getFieldWithDefault(msg, 4, ""), - host: jspb.Message.getFieldWithDefault(msg, 5, ""), - scheme: jspb.Message.getFieldWithDefault(msg, 6, ""), - query: jspb.Message.getFieldWithDefault(msg, 7, ""), - time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - size: jspb.Message.getFieldWithDefault(msg, 10, 0), - protocol: jspb.Message.getFieldWithDefault(msg, 11, ""), - reason: jspb.Message.getFieldWithDefault(msg, 12, ""), - auth: (f = msg.getAuth()) && proto.google.rpc.context.AttributeContext.Auth.toObject(includeInstance, f) +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +method: jspb.Message.getFieldWithDefault(msg, 2, ""), +headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [], +path: jspb.Message.getFieldWithDefault(msg, 4, ""), +host: jspb.Message.getFieldWithDefault(msg, 5, ""), +scheme: jspb.Message.getFieldWithDefault(msg, 6, ""), +query: jspb.Message.getFieldWithDefault(msg, 7, ""), +time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +size: jspb.Message.getFieldWithDefault(msg, 10, 0), +protocol: jspb.Message.getFieldWithDefault(msg, 11, ""), +reason: jspb.Message.getFieldWithDefault(msg, 12, ""), +auth: (f = msg.getAuth()) && proto.google.rpc.context.AttributeContext.Auth.toObject(includeInstance, f) }; if (includeInstance) { @@ -1745,11 +1745,11 @@ proto.google.rpc.context.AttributeContext.Response.prototype.toObject = function */ proto.google.rpc.context.AttributeContext.Response.toObject = function(includeInstance, msg) { var f, obj = { - code: jspb.Message.getFieldWithDefault(msg, 1, 0), - size: jspb.Message.getFieldWithDefault(msg, 2, 0), - headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [], - time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - backendLatency: (f = msg.getBackendLatency()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +code: jspb.Message.getFieldWithDefault(msg, 1, 0), +size: jspb.Message.getFieldWithDefault(msg, 2, 0), +headersMap: (f = msg.getHeadersMap()) ? f.toObject(includeInstance, undefined) : [], +time: (f = msg.getTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +backendLatency: (f = msg.getBackendLatency()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -2041,18 +2041,18 @@ proto.google.rpc.context.AttributeContext.Resource.prototype.toObject = function */ proto.google.rpc.context.AttributeContext.Resource.toObject = function(includeInstance, msg) { var f, obj = { - service: jspb.Message.getFieldWithDefault(msg, 1, ""), - name: jspb.Message.getFieldWithDefault(msg, 2, ""), - type: jspb.Message.getFieldWithDefault(msg, 3, ""), - labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [], - uid: jspb.Message.getFieldWithDefault(msg, 5, ""), - annotationsMap: (f = msg.getAnnotationsMap()) ? f.toObject(includeInstance, undefined) : [], - displayName: jspb.Message.getFieldWithDefault(msg, 7, ""), - createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - deleteTime: (f = msg.getDeleteTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - etag: jspb.Message.getFieldWithDefault(msg, 11, ""), - location: jspb.Message.getFieldWithDefault(msg, 12, "") +service: jspb.Message.getFieldWithDefault(msg, 1, ""), +name: jspb.Message.getFieldWithDefault(msg, 2, ""), +type: jspb.Message.getFieldWithDefault(msg, 3, ""), +labelsMap: (f = msg.getLabelsMap()) ? f.toObject(includeInstance, undefined) : [], +uid: jspb.Message.getFieldWithDefault(msg, 5, ""), +annotationsMap: (f = msg.getAnnotationsMap()) ? f.toObject(includeInstance, undefined) : [], +displayName: jspb.Message.getFieldWithDefault(msg, 7, ""), +createTime: (f = msg.getCreateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +updateTime: (f = msg.getUpdateTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +deleteTime: (f = msg.getDeleteTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +etag: jspb.Message.getFieldWithDefault(msg, 11, ""), +location: jspb.Message.getFieldWithDefault(msg, 12, "") }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/rpc/error_details_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/rpc/error_details_pb.js index f42ce4fb7..87a944043 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/rpc/error_details_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/rpc/error_details_pb.js @@ -377,9 +377,9 @@ proto.google.rpc.ErrorInfo.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.ErrorInfo.toObject = function(includeInstance, msg) { var f, obj = { - reason: jspb.Message.getFieldWithDefault(msg, 1, ""), - domain: jspb.Message.getFieldWithDefault(msg, 2, ""), - metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] +reason: jspb.Message.getFieldWithDefault(msg, 1, ""), +domain: jspb.Message.getFieldWithDefault(msg, 2, ""), +metadataMap: (f = msg.getMetadataMap()) ? f.toObject(includeInstance, undefined) : [] }; if (includeInstance) { @@ -571,7 +571,7 @@ proto.google.rpc.RetryInfo.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.RetryInfo.toObject = function(includeInstance, msg) { var f, obj = { - retryDelay: (f = msg.getRetryDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) +retryDelay: (f = msg.getRetryDelay()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f) }; if (includeInstance) { @@ -729,8 +729,8 @@ proto.google.rpc.DebugInfo.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.DebugInfo.toObject = function(includeInstance, msg) { var f, obj = { - stackEntriesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, - detail: jspb.Message.getFieldWithDefault(msg, 2, "") +stackEntriesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f, +detail: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -915,7 +915,7 @@ proto.google.rpc.QuotaFailure.prototype.toObject = function(opt_includeInstance) */ proto.google.rpc.QuotaFailure.toObject = function(includeInstance, msg) { var f, obj = { - violationsList: jspb.Message.toObjectList(msg.getViolationsList(), +violationsList: jspb.Message.toObjectList(msg.getViolationsList(), proto.google.rpc.QuotaFailure.Violation.toObject, includeInstance) }; @@ -1030,8 +1030,8 @@ proto.google.rpc.QuotaFailure.Violation.prototype.toObject = function(opt_includ */ proto.google.rpc.QuotaFailure.Violation.toObject = function(includeInstance, msg) { var f, obj = { - subject: jspb.Message.getFieldWithDefault(msg, 1, ""), - description: jspb.Message.getFieldWithDefault(msg, 2, "") +subject: jspb.Message.getFieldWithDefault(msg, 1, ""), +description: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1235,7 +1235,7 @@ proto.google.rpc.PreconditionFailure.prototype.toObject = function(opt_includeIn */ proto.google.rpc.PreconditionFailure.toObject = function(includeInstance, msg) { var f, obj = { - violationsList: jspb.Message.toObjectList(msg.getViolationsList(), +violationsList: jspb.Message.toObjectList(msg.getViolationsList(), proto.google.rpc.PreconditionFailure.Violation.toObject, includeInstance) }; @@ -1350,9 +1350,9 @@ proto.google.rpc.PreconditionFailure.Violation.prototype.toObject = function(opt */ proto.google.rpc.PreconditionFailure.Violation.toObject = function(includeInstance, msg) { var f, obj = { - type: jspb.Message.getFieldWithDefault(msg, 1, ""), - subject: jspb.Message.getFieldWithDefault(msg, 2, ""), - description: jspb.Message.getFieldWithDefault(msg, 3, "") +type: jspb.Message.getFieldWithDefault(msg, 1, ""), +subject: jspb.Message.getFieldWithDefault(msg, 2, ""), +description: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -1585,7 +1585,7 @@ proto.google.rpc.BadRequest.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.BadRequest.toObject = function(includeInstance, msg) { var f, obj = { - fieldViolationsList: jspb.Message.toObjectList(msg.getFieldViolationsList(), +fieldViolationsList: jspb.Message.toObjectList(msg.getFieldViolationsList(), proto.google.rpc.BadRequest.FieldViolation.toObject, includeInstance) }; @@ -1700,8 +1700,8 @@ proto.google.rpc.BadRequest.FieldViolation.prototype.toObject = function(opt_inc */ proto.google.rpc.BadRequest.FieldViolation.toObject = function(includeInstance, msg) { var f, obj = { - field: jspb.Message.getFieldWithDefault(msg, 1, ""), - description: jspb.Message.getFieldWithDefault(msg, 2, "") +field: jspb.Message.getFieldWithDefault(msg, 1, ""), +description: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -1898,8 +1898,8 @@ proto.google.rpc.RequestInfo.prototype.toObject = function(opt_includeInstance) */ proto.google.rpc.RequestInfo.toObject = function(includeInstance, msg) { var f, obj = { - requestId: jspb.Message.getFieldWithDefault(msg, 1, ""), - servingData: jspb.Message.getFieldWithDefault(msg, 2, "") +requestId: jspb.Message.getFieldWithDefault(msg, 1, ""), +servingData: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -2058,10 +2058,10 @@ proto.google.rpc.ResourceInfo.prototype.toObject = function(opt_includeInstance) */ proto.google.rpc.ResourceInfo.toObject = function(includeInstance, msg) { var f, obj = { - resourceType: jspb.Message.getFieldWithDefault(msg, 1, ""), - resourceName: jspb.Message.getFieldWithDefault(msg, 2, ""), - owner: jspb.Message.getFieldWithDefault(msg, 3, ""), - description: jspb.Message.getFieldWithDefault(msg, 4, "") +resourceType: jspb.Message.getFieldWithDefault(msg, 1, ""), +resourceName: jspb.Message.getFieldWithDefault(msg, 2, ""), +owner: jspb.Message.getFieldWithDefault(msg, 3, ""), +description: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { @@ -2285,7 +2285,7 @@ proto.google.rpc.Help.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.Help.toObject = function(includeInstance, msg) { var f, obj = { - linksList: jspb.Message.toObjectList(msg.getLinksList(), +linksList: jspb.Message.toObjectList(msg.getLinksList(), proto.google.rpc.Help.Link.toObject, includeInstance) }; @@ -2400,8 +2400,8 @@ proto.google.rpc.Help.Link.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.Help.Link.toObject = function(includeInstance, msg) { var f, obj = { - description: jspb.Message.getFieldWithDefault(msg, 1, ""), - url: jspb.Message.getFieldWithDefault(msg, 2, "") +description: jspb.Message.getFieldWithDefault(msg, 1, ""), +url: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { @@ -2598,8 +2598,8 @@ proto.google.rpc.LocalizedMessage.prototype.toObject = function(opt_includeInsta */ proto.google.rpc.LocalizedMessage.toObject = function(includeInstance, msg) { var f, obj = { - locale: jspb.Message.getFieldWithDefault(msg, 1, ""), - message: jspb.Message.getFieldWithDefault(msg, 2, "") +locale: jspb.Message.getFieldWithDefault(msg, 1, ""), +message: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/rpc/status_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/rpc/status_pb.js index 0dbbf326c..b5c506d1e 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/rpc/status_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/rpc/status_pb.js @@ -98,9 +98,9 @@ proto.google.rpc.Status.prototype.toObject = function(opt_includeInstance) { */ proto.google.rpc.Status.toObject = function(includeInstance, msg) { var f, obj = { - code: jspb.Message.getFieldWithDefault(msg, 1, 0), - message: jspb.Message.getFieldWithDefault(msg, 2, ""), - detailsList: jspb.Message.toObjectList(msg.getDetailsList(), +code: jspb.Message.getFieldWithDefault(msg, 1, 0), +message: jspb.Message.getFieldWithDefault(msg, 2, ""), +detailsList: jspb.Message.toObjectList(msg.getDetailsList(), google_protobuf_any_pb.Any.toObject, includeInstance) }; diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/color_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/color_pb.js index 8ce07ade1..68f17db69 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/color_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/color_pb.js @@ -91,10 +91,10 @@ proto.google.type.Color.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Color.toObject = function(includeInstance, msg) { var f, obj = { - red: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - green: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - blue: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - alpha: (f = msg.getAlpha()) && google_protobuf_wrappers_pb.FloatValue.toObject(includeInstance, f) +red: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +green: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +blue: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +alpha: (f = msg.getAlpha()) && google_protobuf_wrappers_pb.FloatValue.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/date_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/date_pb.js index bfbc1ecf9..4e50150e6 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/date_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/date_pb.js @@ -89,9 +89,9 @@ proto.google.type.Date.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Date.toObject = function(includeInstance, msg) { var f, obj = { - year: jspb.Message.getFieldWithDefault(msg, 1, 0), - month: jspb.Message.getFieldWithDefault(msg, 2, 0), - day: jspb.Message.getFieldWithDefault(msg, 3, 0) +year: jspb.Message.getFieldWithDefault(msg, 1, 0), +month: jspb.Message.getFieldWithDefault(msg, 2, 0), +day: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/datetime_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/datetime_pb.js index 880c59b46..e675440be 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/datetime_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/datetime_pb.js @@ -140,15 +140,15 @@ proto.google.type.DateTime.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.DateTime.toObject = function(includeInstance, msg) { var f, obj = { - year: jspb.Message.getFieldWithDefault(msg, 1, 0), - month: jspb.Message.getFieldWithDefault(msg, 2, 0), - day: jspb.Message.getFieldWithDefault(msg, 3, 0), - hours: jspb.Message.getFieldWithDefault(msg, 4, 0), - minutes: jspb.Message.getFieldWithDefault(msg, 5, 0), - seconds: jspb.Message.getFieldWithDefault(msg, 6, 0), - nanos: jspb.Message.getFieldWithDefault(msg, 7, 0), - utcOffset: (f = msg.getUtcOffset()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), - timeZone: (f = msg.getTimeZone()) && proto.google.type.TimeZone.toObject(includeInstance, f) +year: jspb.Message.getFieldWithDefault(msg, 1, 0), +month: jspb.Message.getFieldWithDefault(msg, 2, 0), +day: jspb.Message.getFieldWithDefault(msg, 3, 0), +hours: jspb.Message.getFieldWithDefault(msg, 4, 0), +minutes: jspb.Message.getFieldWithDefault(msg, 5, 0), +seconds: jspb.Message.getFieldWithDefault(msg, 6, 0), +nanos: jspb.Message.getFieldWithDefault(msg, 7, 0), +utcOffset: (f = msg.getUtcOffset()) && google_protobuf_duration_pb.Duration.toObject(includeInstance, f), +timeZone: (f = msg.getTimeZone()) && proto.google.type.TimeZone.toObject(includeInstance, f) }; if (includeInstance) { @@ -552,8 +552,8 @@ proto.google.type.TimeZone.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.TimeZone.toObject = function(includeInstance, msg) { var f, obj = { - id: jspb.Message.getFieldWithDefault(msg, 1, ""), - version: jspb.Message.getFieldWithDefault(msg, 2, "") +id: jspb.Message.getFieldWithDefault(msg, 1, ""), +version: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/decimal_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/decimal_pb.js index 858dc41d9..eaa37d69d 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/decimal_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/decimal_pb.js @@ -89,7 +89,7 @@ proto.google.type.Decimal.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Decimal.toObject = function(includeInstance, msg) { var f, obj = { - value: jspb.Message.getFieldWithDefault(msg, 1, "") +value: jspb.Message.getFieldWithDefault(msg, 1, "") }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/expr_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/expr_pb.js index aed460edf..c9de4cf47 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/expr_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/expr_pb.js @@ -89,10 +89,10 @@ proto.google.type.Expr.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Expr.toObject = function(includeInstance, msg) { var f, obj = { - expression: jspb.Message.getFieldWithDefault(msg, 1, ""), - title: jspb.Message.getFieldWithDefault(msg, 2, ""), - description: jspb.Message.getFieldWithDefault(msg, 3, ""), - location: jspb.Message.getFieldWithDefault(msg, 4, "") +expression: jspb.Message.getFieldWithDefault(msg, 1, ""), +title: jspb.Message.getFieldWithDefault(msg, 2, ""), +description: jspb.Message.getFieldWithDefault(msg, 3, ""), +location: jspb.Message.getFieldWithDefault(msg, 4, "") }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/fraction_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/fraction_pb.js index a79c7f80f..e661ea20f 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/fraction_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/fraction_pb.js @@ -89,8 +89,8 @@ proto.google.type.Fraction.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Fraction.toObject = function(includeInstance, msg) { var f, obj = { - numerator: jspb.Message.getFieldWithDefault(msg, 1, 0), - denominator: jspb.Message.getFieldWithDefault(msg, 2, 0) +numerator: jspb.Message.getFieldWithDefault(msg, 1, 0), +denominator: jspb.Message.getFieldWithDefault(msg, 2, 0) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/interval_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/interval_pb.js index b3a2198c0..2dcf384df 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/interval_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/interval_pb.js @@ -91,8 +91,8 @@ proto.google.type.Interval.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Interval.toObject = function(includeInstance, msg) { var f, obj = { - startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), - endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) +startTime: (f = msg.getStartTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f), +endTime: (f = msg.getEndTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/latlng_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/latlng_pb.js index 84303e356..ea66f4404 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/latlng_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/latlng_pb.js @@ -89,8 +89,8 @@ proto.google.type.LatLng.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.LatLng.toObject = function(includeInstance, msg) { var f, obj = { - latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) +latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/localized_text_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/localized_text_pb.js index 599d7657f..4afe738b7 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/localized_text_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/localized_text_pb.js @@ -89,8 +89,8 @@ proto.google.type.LocalizedText.prototype.toObject = function(opt_includeInstanc */ proto.google.type.LocalizedText.toObject = function(includeInstance, msg) { var f, obj = { - text: jspb.Message.getFieldWithDefault(msg, 1, ""), - languageCode: jspb.Message.getFieldWithDefault(msg, 2, "") +text: jspb.Message.getFieldWithDefault(msg, 1, ""), +languageCode: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/money_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/money_pb.js index 2d50f093d..7808ba87d 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/money_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/money_pb.js @@ -89,9 +89,9 @@ proto.google.type.Money.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.Money.toObject = function(includeInstance, msg) { var f, obj = { - currencyCode: jspb.Message.getFieldWithDefault(msg, 1, ""), - units: jspb.Message.getFieldWithDefault(msg, 2, 0), - nanos: jspb.Message.getFieldWithDefault(msg, 3, 0) +currencyCode: jspb.Message.getFieldWithDefault(msg, 1, ""), +units: jspb.Message.getFieldWithDefault(msg, 2, 0), +nanos: jspb.Message.getFieldWithDefault(msg, 3, 0) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/phone_number_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/phone_number_pb.js index 3b633944f..b817024f3 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/phone_number_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/phone_number_pb.js @@ -138,9 +138,9 @@ proto.google.type.PhoneNumber.prototype.toObject = function(opt_includeInstance) */ proto.google.type.PhoneNumber.toObject = function(includeInstance, msg) { var f, obj = { - e164Number: jspb.Message.getFieldWithDefault(msg, 1, ""), - shortCode: (f = msg.getShortCode()) && proto.google.type.PhoneNumber.ShortCode.toObject(includeInstance, f), - extension: jspb.Message.getFieldWithDefault(msg, 3, "") +e164Number: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f, +shortCode: (f = msg.getShortCode()) && proto.google.type.PhoneNumber.ShortCode.toObject(includeInstance, f), +extension: jspb.Message.getFieldWithDefault(msg, 3, "") }; if (includeInstance) { @@ -276,8 +276,8 @@ proto.google.type.PhoneNumber.ShortCode.prototype.toObject = function(opt_includ */ proto.google.type.PhoneNumber.ShortCode.toObject = function(includeInstance, msg) { var f, obj = { - regionCode: jspb.Message.getFieldWithDefault(msg, 1, ""), - number: jspb.Message.getFieldWithDefault(msg, 2, "") +regionCode: jspb.Message.getFieldWithDefault(msg, 1, ""), +number: jspb.Message.getFieldWithDefault(msg, 2, "") }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/postal_address_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/postal_address_pb.js index 06ce7780a..2e75e2f90 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/postal_address_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/postal_address_pb.js @@ -96,17 +96,17 @@ proto.google.type.PostalAddress.prototype.toObject = function(opt_includeInstanc */ proto.google.type.PostalAddress.toObject = function(includeInstance, msg) { var f, obj = { - revision: jspb.Message.getFieldWithDefault(msg, 1, 0), - regionCode: jspb.Message.getFieldWithDefault(msg, 2, ""), - languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""), - postalCode: jspb.Message.getFieldWithDefault(msg, 4, ""), - sortingCode: jspb.Message.getFieldWithDefault(msg, 5, ""), - administrativeArea: jspb.Message.getFieldWithDefault(msg, 6, ""), - locality: jspb.Message.getFieldWithDefault(msg, 7, ""), - sublocality: jspb.Message.getFieldWithDefault(msg, 8, ""), - addressLinesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f, - recipientsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, - organization: jspb.Message.getFieldWithDefault(msg, 11, "") +revision: jspb.Message.getFieldWithDefault(msg, 1, 0), +regionCode: jspb.Message.getFieldWithDefault(msg, 2, ""), +languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""), +postalCode: jspb.Message.getFieldWithDefault(msg, 4, ""), +sortingCode: jspb.Message.getFieldWithDefault(msg, 5, ""), +administrativeArea: jspb.Message.getFieldWithDefault(msg, 6, ""), +locality: jspb.Message.getFieldWithDefault(msg, 7, ""), +sublocality: jspb.Message.getFieldWithDefault(msg, 8, ""), +addressLinesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f, +recipientsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f, +organization: jspb.Message.getFieldWithDefault(msg, 11, "") }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/quaternion_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/quaternion_pb.js index 113fd5067..74e1b605c 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/quaternion_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/quaternion_pb.js @@ -89,10 +89,10 @@ proto.google.type.Quaternion.prototype.toObject = function(opt_includeInstance) */ proto.google.type.Quaternion.toObject = function(includeInstance, msg) { var f, obj = { - x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), - y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), - z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), - w: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) +x: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), +y: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0), +z: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0), +w: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0) }; if (includeInstance) { diff --git a/packages/bundle-size/src/gen/google-protobuf/google/type/timeofday_pb.js b/packages/bundle-size/src/gen/google-protobuf/google/type/timeofday_pb.js index 3ed865c3b..d171fce64 100644 --- a/packages/bundle-size/src/gen/google-protobuf/google/type/timeofday_pb.js +++ b/packages/bundle-size/src/gen/google-protobuf/google/type/timeofday_pb.js @@ -89,10 +89,10 @@ proto.google.type.TimeOfDay.prototype.toObject = function(opt_includeInstance) { */ proto.google.type.TimeOfDay.toObject = function(includeInstance, msg) { var f, obj = { - hours: jspb.Message.getFieldWithDefault(msg, 1, 0), - minutes: jspb.Message.getFieldWithDefault(msg, 2, 0), - seconds: jspb.Message.getFieldWithDefault(msg, 3, 0), - nanos: jspb.Message.getFieldWithDefault(msg, 4, 0) +hours: jspb.Message.getFieldWithDefault(msg, 1, 0), +minutes: jspb.Message.getFieldWithDefault(msg, 2, 0), +seconds: jspb.Message.getFieldWithDefault(msg, 3, 0), +nanos: jspb.Message.getFieldWithDefault(msg, 4, 0) }; if (includeInstance) { diff --git a/packages/protobuf-example/turbo.json b/packages/protobuf-example/turbo.json new file mode 100644 index 000000000..76077283c --- /dev/null +++ b/packages/protobuf-example/turbo.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://turbo.build/schema.json", + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["^build", "generate"], + "outputs": [] + } + } +} diff --git a/packages/protoplugin-example/turbo.json b/packages/protoplugin-example/turbo.json new file mode 100644 index 000000000..76077283c --- /dev/null +++ b/packages/protoplugin-example/turbo.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://turbo.build/schema.json", + "extends": ["//"], + "tasks": { + "build": { + "dependsOn": ["^build", "generate"], + "outputs": [] + } + } +}