diff --git a/.release-please-manifest.json b/.release-please-manifest.json
index 0e99ee71f92..d3e11461d6f 100644
--- a/.release-please-manifest.json
+++ b/.release-please-manifest.json
@@ -24,6 +24,7 @@
"packages/google-cloud-deploy": "2.2.2",
"packages/google-cloud-dialogflow": "5.3.0",
"packages/google-cloud-discoveryengine": "0.2.0",
+ "packages/google-cloud-gaming": "3.1.3",
"packages/google-cloud-functions": "2.2.3",
"packages/google-cloud-documentai": "6.1.0",
"packages/google-cloud-gkeconnect-gateway": "2.0.5",
diff --git a/packages/google-cloud-gaming/.OwlBot.yaml b/packages/google-cloud-gaming/.OwlBot.yaml
new file mode 100644
index 00000000000..4dfe8e32dd9
--- /dev/null
+++ b/packages/google-cloud-gaming/.OwlBot.yaml
@@ -0,0 +1,24 @@
+# Copyright 2021 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+deep-remove-regex:
+ - /owl-bot-staging
+
+deep-copy-regex:
+ - source: /google/cloud/gaming/(v.*)/.*-nodejs
+ dest: /owl-bot-staging/google-cloud-gaming/$1
+
+begin-after-commit-hash: fb91803ccef5d7c695139b22788b309e2197856b
+
diff --git a/packages/google-cloud-gaming/.eslintignore b/packages/google-cloud-gaming/.eslintignore
new file mode 100644
index 00000000000..ea5b04aebe6
--- /dev/null
+++ b/packages/google-cloud-gaming/.eslintignore
@@ -0,0 +1,7 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
+samples/generated/
diff --git a/packages/google-cloud-gaming/.eslintrc.json b/packages/google-cloud-gaming/.eslintrc.json
new file mode 100644
index 00000000000..78215349546
--- /dev/null
+++ b/packages/google-cloud-gaming/.eslintrc.json
@@ -0,0 +1,3 @@
+{
+ "extends": "./node_modules/gts"
+}
diff --git a/packages/google-cloud-gaming/.gitattributes b/packages/google-cloud-gaming/.gitattributes
new file mode 100644
index 00000000000..33739cb74e4
--- /dev/null
+++ b/packages/google-cloud-gaming/.gitattributes
@@ -0,0 +1,4 @@
+*.ts text eol=lf
+*.js text eol=lf
+protos/* linguist-generated
+**/api-extractor.json linguist-language=JSON-with-Comments
diff --git a/packages/google-cloud-gaming/.gitignore b/packages/google-cloud-gaming/.gitignore
new file mode 100644
index 00000000000..5d32b23782f
--- /dev/null
+++ b/packages/google-cloud-gaming/.gitignore
@@ -0,0 +1,14 @@
+**/*.log
+**/node_modules
+.coverage
+coverage
+.nyc_output
+docs/
+out/
+build/
+system-test/secrets.js
+system-test/*key.json
+*.lock
+.DS_Store
+package-lock.json
+__pycache__
diff --git a/packages/google-cloud-gaming/.jsdoc.js b/packages/google-cloud-gaming/.jsdoc.js
new file mode 100644
index 00000000000..649bdebb185
--- /dev/null
+++ b/packages/google-cloud-gaming/.jsdoc.js
@@ -0,0 +1,55 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+// ** This file is automatically generated by gapic-generator-typescript. **
+// ** https://github.com/googleapis/gapic-generator-typescript **
+// ** All changes to this file may be overwritten. **
+
+'use strict';
+
+module.exports = {
+ opts: {
+ readme: './README.md',
+ package: './package.json',
+ template: './node_modules/jsdoc-fresh',
+ recurse: true,
+ verbose: true,
+ destination: './docs/'
+ },
+ plugins: [
+ 'plugins/markdown',
+ 'jsdoc-region-tag'
+ ],
+ source: {
+ excludePattern: '(^|\\/|\\\\)[._]',
+ include: [
+ 'build/src',
+ 'protos'
+ ],
+ includePattern: '\\.js$'
+ },
+ templates: {
+ copyright: 'Copyright 2022 Google LLC',
+ includeDate: false,
+ sourceFiles: false,
+ systemName: '@google-cloud/game-servers',
+ theme: 'lumen',
+ default: {
+ outputSourceFiles: false
+ }
+ },
+ markdown: {
+ idInHeadings: true
+ }
+};
diff --git a/packages/google-cloud-gaming/.mocharc.js b/packages/google-cloud-gaming/.mocharc.js
new file mode 100644
index 00000000000..cdb7b752160
--- /dev/null
+++ b/packages/google-cloud-gaming/.mocharc.js
@@ -0,0 +1,29 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+const config = {
+ "enable-source-maps": true,
+ "throw-deprecation": true,
+ "timeout": 10000,
+ "recursive": true
+}
+if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
+ delete config['throw-deprecation'];
+}
+if (process.env.MOCHA_REPORTER) {
+ config.reporter = process.env.MOCHA_REPORTER;
+}
+if (process.env.MOCHA_REPORTER_OUTPUT) {
+ config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`;
+}
+module.exports = config
diff --git a/packages/google-cloud-gaming/.mocharc.json b/packages/google-cloud-gaming/.mocharc.json
new file mode 100644
index 00000000000..670c5e2c24b
--- /dev/null
+++ b/packages/google-cloud-gaming/.mocharc.json
@@ -0,0 +1,5 @@
+{
+ "enable-source-maps": true,
+ "throw-deprecation": true,
+ "timeout": 10000
+}
diff --git a/packages/google-cloud-gaming/.nycrc b/packages/google-cloud-gaming/.nycrc
new file mode 100644
index 00000000000..b18d5472b62
--- /dev/null
+++ b/packages/google-cloud-gaming/.nycrc
@@ -0,0 +1,24 @@
+{
+ "report-dir": "./.coverage",
+ "reporter": ["text", "lcov"],
+ "exclude": [
+ "**/*-test",
+ "**/.coverage",
+ "**/apis",
+ "**/benchmark",
+ "**/conformance",
+ "**/docs",
+ "**/samples",
+ "**/scripts",
+ "**/protos",
+ "**/test",
+ "**/*.d.ts",
+ ".jsdoc.js",
+ "**/.jsdoc.js",
+ "karma.conf.js",
+ "webpack-tests.config.js",
+ "webpack.config.js"
+ ],
+ "exclude-after-remap": false,
+ "all": true
+}
diff --git a/packages/google-cloud-gaming/.prettierignore b/packages/google-cloud-gaming/.prettierignore
new file mode 100644
index 00000000000..9340ad9b86d
--- /dev/null
+++ b/packages/google-cloud-gaming/.prettierignore
@@ -0,0 +1,6 @@
+**/node_modules
+**/coverage
+test/fixtures
+build/
+docs/
+protos/
diff --git a/packages/google-cloud-gaming/.prettierrc.js b/packages/google-cloud-gaming/.prettierrc.js
new file mode 100644
index 00000000000..d546a4ad546
--- /dev/null
+++ b/packages/google-cloud-gaming/.prettierrc.js
@@ -0,0 +1,17 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+module.exports = {
+ ...require('gts/.prettierrc.json')
+}
diff --git a/packages/google-cloud-gaming/.repo-metadata.json b/packages/google-cloud-gaming/.repo-metadata.json
new file mode 100644
index 00000000000..24c6b837c8e
--- /dev/null
+++ b/packages/google-cloud-gaming/.repo-metadata.json
@@ -0,0 +1,16 @@
+{
+ "client_documentation": "https://cloud.google.com/nodejs/docs/reference/game-servers/latest",
+ "product_documentation": "https://cloud.google.com/game-servers/",
+ "name": "game-servers",
+ "requires_billing": true,
+ "release_level": "stable",
+ "language": "nodejs",
+ "api_id": "gameservices.googleapis.com",
+ "distribution_name": "@google-cloud/game-servers",
+ "repo": "googleapis/google-cloud-node",
+ "issue_tracker": "",
+ "name_pretty": "Google Cloud Game Servers",
+ "default_version": "v1",
+ "api_shortname": "gameservices",
+ "library_type": "GAPIC_AUTO"
+}
diff --git a/packages/google-cloud-gaming/CHANGELOG.md b/packages/google-cloud-gaming/CHANGELOG.md
new file mode 100644
index 00000000000..5429a5f7f5a
--- /dev/null
+++ b/packages/google-cloud-gaming/CHANGELOG.md
@@ -0,0 +1,199 @@
+# Changelog
+
+## [3.1.3](https://github.com/googleapis/nodejs-game-servers/compare/v3.1.2...v3.1.3) (2022-11-10)
+
+
+### Bug Fixes
+
+* **deps:** Use google-gax v3.5.2 ([#349](https://github.com/googleapis/nodejs-game-servers/issues/349)) ([879eea3](https://github.com/googleapis/nodejs-game-servers/commit/879eea37422f58286d3e39e27f5c1b2f6aa4ae9c))
+* Regenerated protos JS and TS definitions ([#353](https://github.com/googleapis/nodejs-game-servers/issues/353)) ([21535e1](https://github.com/googleapis/nodejs-game-servers/commit/21535e16d9dc28888514414117e463271383a971))
+
+## [3.1.2](https://github.com/googleapis/nodejs-game-servers/compare/v3.1.1...v3.1.2) (2022-09-22)
+
+
+### Bug Fixes
+
+* Preserve default values in x-goog-request-params header ([#313](https://github.com/googleapis/nodejs-game-servers/issues/313)) ([8f345d7](https://github.com/googleapis/nodejs-game-servers/commit/8f345d7c91748fbea14862ebb250e0c84e3f8dda))
+
+## [3.1.1](https://github.com/googleapis/nodejs-game-servers/compare/v3.1.0...v3.1.1) (2022-09-01)
+
+
+### Bug Fixes
+
+* Allow passing gax instance to client constructor ([#310](https://github.com/googleapis/nodejs-game-servers/issues/310)) ([49f18a8](https://github.com/googleapis/nodejs-game-servers/commit/49f18a8372e8ad2ec6bea1561ade77fc793918ba))
+* Better support for fallback mode ([#305](https://github.com/googleapis/nodejs-game-servers/issues/305)) ([d8a5d01](https://github.com/googleapis/nodejs-game-servers/commit/d8a5d01053a90d8839aafcffa4ed28f7a02050fa))
+* Change import long to require ([#306](https://github.com/googleapis/nodejs-game-servers/issues/306)) ([ecb3015](https://github.com/googleapis/nodejs-game-servers/commit/ecb3015e40ba2c7e7dedc0f48327c55230923f7a))
+* Do not import the whole google-gax from proto JS ([#1553](https://github.com/googleapis/nodejs-game-servers/issues/1553)) ([#309](https://github.com/googleapis/nodejs-game-servers/issues/309)) ([47eb79c](https://github.com/googleapis/nodejs-game-servers/commit/47eb79c061bd658c0a6530f16364bc36993372b8))
+* Remove pip install statements ([#1546](https://github.com/googleapis/nodejs-game-servers/issues/1546)) ([#308](https://github.com/googleapis/nodejs-game-servers/issues/308)) ([40cf668](https://github.com/googleapis/nodejs-game-servers/commit/40cf668dd38423b254e889a3fa17fe546b7da66e))
+
+## [3.1.0](https://github.com/googleapis/nodejs-game-servers/compare/v3.0.0...v3.1.0) (2022-07-05)
+
+
+### Features
+
+* support regapic LRO ([7ddd5e7](https://github.com/googleapis/nodejs-game-servers/commit/7ddd5e7b31d99e2f26970b930beef8b317415ada))
+
+## [3.0.0](https://github.com/googleapis/nodejs-game-servers/compare/v2.5.0...v3.0.0) (2022-05-17)
+
+
+### ⚠ BREAKING CHANGES
+
+* update library to use Node 12 (#266)
+
+### Build System
+
+* update library to use Node 12 ([#266](https://github.com/googleapis/nodejs-game-servers/issues/266)) ([0ad7047](https://github.com/googleapis/nodejs-game-servers/commit/0ad7047cf2f815ed6dc99fe9b15c8f14ecbfdb42))
+
+## [2.5.0](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.4.0...v2.5.0) (2021-08-28)
+
+
+### Features
+
+* support version reporting API ([#213](https://www.github.com/googleapis/nodejs-game-servers/issues/213)) ([478048a](https://www.github.com/googleapis/nodejs-game-servers/commit/478048a0ace56d35afaf637cd1c08dc28e39acc3))
+
+## [2.4.0](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.3.8...v2.4.0) (2021-08-23)
+
+
+### Features
+
+* turns on self-signed JWT feature flag ([#209](https://www.github.com/googleapis/nodejs-game-servers/issues/209)) ([014ae7b](https://www.github.com/googleapis/nodejs-game-servers/commit/014ae7b9453372b89fcaffffeabde508650aaec6))
+
+### [2.3.8](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.3.7...v2.3.8) (2021-08-17)
+
+
+### Bug Fixes
+
+* **build:** migrate to using main branch ([#206](https://www.github.com/googleapis/nodejs-game-servers/issues/206)) ([04998bf](https://www.github.com/googleapis/nodejs-game-servers/commit/04998bf4f24613792beb12fff9d1a14da795b74b))
+* **deps:** google-gax v2.24.1 ([#208](https://www.github.com/googleapis/nodejs-game-servers/issues/208)) ([8462da4](https://www.github.com/googleapis/nodejs-game-servers/commit/8462da415e3df130356f70e34f97698628f48b2b))
+
+### [2.3.7](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.3.6...v2.3.7) (2021-07-16)
+
+
+### Bug Fixes
+
+* Updating WORKSPACE files to use the newest version of the Typescript generator. ([#198](https://www.github.com/googleapis/nodejs-game-servers/issues/198)) ([17d6e3f](https://www.github.com/googleapis/nodejs-game-servers/commit/17d6e3f6ff5d7f116572290a9d05cbcd69be0871))
+
+### [2.3.6](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.3.5...v2.3.6) (2021-07-12)
+
+
+### Bug Fixes
+
+* **deps:** google-gax v2.17.1 ([#196](https://www.github.com/googleapis/nodejs-game-servers/issues/196)) ([5a65e3f](https://www.github.com/googleapis/nodejs-game-servers/commit/5a65e3f4398667b2aba2295088c1cc0e2ecf0a8c))
+
+### [2.3.5](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.3.4...v2.3.5) (2021-06-29)
+
+
+### Bug Fixes
+
+* **deps:** google-gax v2.17.0 with mTLS ([#192](https://www.github.com/googleapis/nodejs-game-servers/issues/192)) ([4d37a74](https://www.github.com/googleapis/nodejs-game-servers/commit/4d37a7497ebe77cbfabc5e2bb0ea925e7ac138bb))
+
+### [2.3.4](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.3.3...v2.3.4) (2021-06-22)
+
+
+### Bug Fixes
+
+* make request optional in all cases ([#186](https://www.github.com/googleapis/nodejs-game-servers/issues/186)) ([99424ec](https://www.github.com/googleapis/nodejs-game-servers/commit/99424ecd0f87341bd4814cdbe092d2820c9a78d7))
+
+### [2.3.3](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.3.2...v2.3.3) (2021-06-10)
+
+
+### Bug Fixes
+
+* GoogleAdsError missing using generator version after 1.3.0 ([#175](https://www.github.com/googleapis/nodejs-game-servers/issues/175)) ([a0df035](https://www.github.com/googleapis/nodejs-game-servers/commit/a0df03530d0dc438c8c4318854fbcfa8d7752f8d))
+
+### [2.3.2](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.3.1...v2.3.2) (2021-05-24)
+
+
+### Bug Fixes
+
+* use require() to load JSON protos ([#164](https://www.github.com/googleapis/nodejs-game-servers/issues/164)) ([b77e1e5](https://www.github.com/googleapis/nodejs-game-servers/commit/b77e1e5f7fc9396cdb30d4f1bfac370dd85800b8))
+
+### [2.3.1](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.3.0...v2.3.1) (2021-05-20)
+
+
+### Bug Fixes
+
+* **deps:** require google-gax v2.12.0 ([#162](https://www.github.com/googleapis/nodejs-game-servers/issues/162)) ([546c13d](https://www.github.com/googleapis/nodejs-game-servers/commit/546c13d64abedafd055fad9c118d58750f0f9f25))
+
+## [2.3.0](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.2.0...v2.3.0) (2021-03-01)
+
+
+### Features
+
+* **docs:** update release level to ga ([#147](https://www.github.com/googleapis/nodejs-game-servers/issues/147)) ([0449362](https://www.github.com/googleapis/nodejs-game-servers/commit/0449362aeeead608517e76390813ed7a9c1962c5))
+
+## [2.2.0](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.1.2...v2.2.0) (2021-01-09)
+
+
+### Features
+
+* adds style enumeration ([#142](https://www.github.com/googleapis/nodejs-game-servers/issues/142)) ([59f7332](https://www.github.com/googleapis/nodejs-game-servers/commit/59f7332fee754b11e8a395d19013cc78351e5659))
+
+### [2.1.2](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.1.1...v2.1.2) (2020-11-25)
+
+
+### Bug Fixes
+
+* **browser:** check for fetch on window ([#136](https://www.github.com/googleapis/nodejs-game-servers/issues/136)) ([3c28ff7](https://www.github.com/googleapis/nodejs-game-servers/commit/3c28ff7c610caf58df0dfbd4b3acd2954ae7f019))
+
+### [2.1.1](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.1.0...v2.1.1) (2020-11-07)
+
+
+### Bug Fixes
+
+* do not modify options object, use defaultScopes ([#132](https://www.github.com/googleapis/nodejs-game-servers/issues/132)) ([72124ab](https://www.github.com/googleapis/nodejs-game-servers/commit/72124ab09070efc4555b157bce6cf547dc623bdb))
+
+## [2.1.0](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.0.2...v2.1.0) (2020-08-05)
+
+
+### Features
+
+* v1 API surface ([#109](https://www.github.com/googleapis/nodejs-game-servers/issues/109)) ([f22a3f8](https://www.github.com/googleapis/nodejs-game-servers/commit/f22a3f8e8d19761c9a001f8c521c99449ce88922))
+
+### [2.0.2](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.0.1...v2.0.2) (2020-07-09)
+
+
+### Bug Fixes
+
+* correct return type of delete operations ([#79](https://www.github.com/googleapis/nodejs-game-servers/issues/79)) ([e946632](https://www.github.com/googleapis/nodejs-game-servers/commit/e9466329399c62c0f6f49a713f68ecf8ef96213b))
+
+### [2.0.1](https://www.github.com/googleapis/nodejs-game-servers/compare/v2.0.0...v2.0.1) (2020-06-15)
+
+
+### Bug Fixes
+
+* proper fallback option handling ([#74](https://www.github.com/googleapis/nodejs-game-servers/issues/74)) ([75a2648](https://www.github.com/googleapis/nodejs-game-servers/commit/75a2648469520772a7e8e3c1477176574f537fb0))
+
+## [2.0.0](https://www.github.com/googleapis/nodejs-game-servers/compare/v1.1.0...v2.0.0) (2020-06-04)
+
+
+### ⚠ BREAKING CHANGES
+
+* The library now supports Node.js v10+. The last version to support Node.js v8 is tagged legacy-8 on NPM.
+
+### Features
+
+* adds CRUD samples, tests for GS clusters ([#24](https://www.github.com/googleapis/nodejs-game-servers/issues/24)) ([943304f](https://www.github.com/googleapis/nodejs-game-servers/commit/943304f1ec235a6b81ee8bf1d33374cd92ef256e))
+* check status of long running operation by its name ([#65](https://www.github.com/googleapis/nodejs-game-servers/issues/65)) ([3900875](https://www.github.com/googleapis/nodejs-game-servers/commit/39008750a6024b0893bee88f39f2a6ad9fc87889))
+* drop node8 support ([#37](https://www.github.com/googleapis/nodejs-game-servers/issues/37)) ([7a9a6d6](https://www.github.com/googleapis/nodejs-game-servers/commit/7a9a6d664c39e11760b86e8adabdad8900292bba))
+* new pagination methods ([#62](https://www.github.com/googleapis/nodejs-game-servers/issues/62)) ([0fcdde7](https://www.github.com/googleapis/nodejs-game-servers/commit/0fcdde74c362abc66118a6df79c4fb4071f3dc14))
+
+
+### Bug Fixes
+
+* export explicit version from protos.js ([#43](https://www.github.com/googleapis/nodejs-game-servers/issues/43)) ([d9c09c7](https://www.github.com/googleapis/nodejs-game-servers/commit/d9c09c724ddd9810abfd01143adb4f280546c40c))
+* remove eslint, update gax, fix generated protos, run the generator ([#47](https://www.github.com/googleapis/nodejs-game-servers/issues/47)) ([c75bb2d](https://www.github.com/googleapis/nodejs-game-servers/commit/c75bb2de6ef48c26d5d90892a906b45dcf91755c))
+
+## [1.1.0](https://www.github.com/googleapis/nodejs-game-servers/compare/v1.0.0...v1.1.0) (2020-03-03)
+
+
+### Features
+
+* adds CRUD samples for GS realms ([#21](https://www.github.com/googleapis/nodejs-game-servers/issues/21)) ([b1bf3e4](https://www.github.com/googleapis/nodejs-game-servers/commit/b1bf3e4a846839919e275664eceaba72db3d5eaf))
+
+## 1.0.0 (2020-03-01)
+
+
+### Features
+
+* updates package.json files and quickstart ([d5eb2ff](https://www.github.com/googleapis/nodejs-game-servers/commit/d5eb2ff0ed12cebc268d07a7b0b249049cc9452c))
diff --git a/packages/google-cloud-gaming/CODE_OF_CONDUCT.md b/packages/google-cloud-gaming/CODE_OF_CONDUCT.md
new file mode 100644
index 00000000000..2add2547a81
--- /dev/null
+++ b/packages/google-cloud-gaming/CODE_OF_CONDUCT.md
@@ -0,0 +1,94 @@
+
+# Code of Conduct
+
+## Our Pledge
+
+In the interest of fostering an open and welcoming environment, we as
+contributors and maintainers pledge to making participation in our project and
+our community a harassment-free experience for everyone, regardless of age, body
+size, disability, ethnicity, gender identity and expression, level of
+experience, education, socio-economic status, nationality, personal appearance,
+race, religion, or sexual identity and orientation.
+
+## Our Standards
+
+Examples of behavior that contributes to creating a positive environment
+include:
+
+* Using welcoming and inclusive language
+* Being respectful of differing viewpoints and experiences
+* Gracefully accepting constructive criticism
+* Focusing on what is best for the community
+* Showing empathy towards other community members
+
+Examples of unacceptable behavior by participants include:
+
+* The use of sexualized language or imagery and unwelcome sexual attention or
+ advances
+* Trolling, insulting/derogatory comments, and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as a physical or electronic
+ address, without explicit permission
+* Other conduct which could reasonably be considered inappropriate in a
+ professional setting
+
+## Our Responsibilities
+
+Project maintainers are responsible for clarifying the standards of acceptable
+behavior and are expected to take appropriate and fair corrective action in
+response to any instances of unacceptable behavior.
+
+Project maintainers have the right and responsibility to remove, edit, or reject
+comments, commits, code, wiki edits, issues, and other contributions that are
+not aligned to this Code of Conduct, or to ban temporarily or permanently any
+contributor for other behaviors that they deem inappropriate, threatening,
+offensive, or harmful.
+
+## Scope
+
+This Code of Conduct applies both within project spaces and in public spaces
+when an individual is representing the project or its community. Examples of
+representing a project or community include using an official project e-mail
+address, posting via an official social media account, or acting as an appointed
+representative at an online or offline event. Representation of a project may be
+further defined and clarified by project maintainers.
+
+This Code of Conduct also applies outside the project spaces when the Project
+Steward has a reasonable belief that an individual's behavior may have a
+negative impact on the project or its community.
+
+## Conflict Resolution
+
+We do not believe that all conflict is bad; healthy debate and disagreement
+often yield positive results. However, it is never okay to be disrespectful or
+to engage in behavior that violates the project’s code of conduct.
+
+If you see someone violating the code of conduct, you are encouraged to address
+the behavior directly with those involved. Many issues can be resolved quickly
+and easily, and this gives people more control over the outcome of their
+dispute. If you are unable to resolve the matter for any reason, or if the
+behavior is threatening or harassing, report it. We are dedicated to providing
+an environment where participants feel welcome and safe.
+
+Reports should be directed to *googleapis-stewards@google.com*, the
+Project Steward(s) for *Google Cloud Client Libraries*. It is the Project Steward’s duty to
+receive and address reported violations of the code of conduct. They will then
+work with a committee consisting of representatives from the Open Source
+Programs Office and the Google Open Source Strategy team. If for any reason you
+are uncomfortable reaching out to the Project Steward, please email
+opensource@google.com.
+
+We will investigate every complaint, but you may not receive a direct response.
+We will use our discretion in determining when and how to follow up on reported
+incidents, which may range from not taking action to permanent expulsion from
+the project and project-sponsored spaces. We will notify the accused of the
+report and provide them an opportunity to discuss it before any action is taken.
+The identity of the reporter will be omitted from the details of the report
+supplied to the accused. In potentially harmful situations, such as ongoing
+harassment or threats to anyone's safety, we may take action without notice.
+
+## Attribution
+
+This Code of Conduct is adapted from the Contributor Covenant, version 1.4,
+available at
+https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
\ No newline at end of file
diff --git a/packages/google-cloud-gaming/CONTRIBUTING.md b/packages/google-cloud-gaming/CONTRIBUTING.md
new file mode 100644
index 00000000000..fd7794bb0d7
--- /dev/null
+++ b/packages/google-cloud-gaming/CONTRIBUTING.md
@@ -0,0 +1,76 @@
+# How to become a contributor and submit your own code
+
+**Table of contents**
+
+* [Contributor License Agreements](#contributor-license-agreements)
+* [Contributing a patch](#contributing-a-patch)
+* [Running the tests](#running-the-tests)
+* [Releasing the library](#releasing-the-library)
+
+## Contributor License Agreements
+
+We'd love to accept your sample apps and patches! Before we can take them, we
+have to jump a couple of legal hurdles.
+
+Please fill out either the individual or corporate Contributor License Agreement
+(CLA).
+
+ * If you are an individual writing original source code and you're sure you
+ own the intellectual property, then you'll need to sign an [individual CLA](https://developers.google.com/open-source/cla/individual).
+ * If you work for a company that wants to allow you to contribute your work,
+ then you'll need to sign a [corporate CLA](https://developers.google.com/open-source/cla/corporate).
+
+Follow either of the two links above to access the appropriate CLA and
+instructions for how to sign and return it. Once we receive it, we'll be able to
+accept your pull requests.
+
+## Contributing A Patch
+
+1. Submit an issue describing your proposed change to the repo in question.
+1. The repo owner will respond to your issue promptly.
+1. If your proposed change is accepted, and you haven't already done so, sign a
+ Contributor License Agreement (see details above).
+1. Fork the desired repo, develop and test your code changes.
+1. Ensure that your code adheres to the existing style in the code to which
+ you are contributing.
+1. Ensure that your code has an appropriate set of tests which all pass.
+1. Title your pull request following [Conventional Commits](https://www.conventionalcommits.org/) styling.
+1. Submit a pull request.
+
+### Before you begin
+
+1. [Select or create a Cloud Platform project][projects].
+1. [Enable billing for your project][billing].
+1. [Enable the Google Cloud Game Servers API][enable_api].
+1. [Set up authentication with a service account][auth] so you can access the
+ API from your local workstation.
+
+
+## Running the tests
+
+1. [Prepare your environment for Node.js setup][setup].
+
+1. Install dependencies:
+
+ npm install
+
+1. Run the tests:
+
+ # Run unit tests.
+ npm test
+
+ # Run sample integration tests.
+ npm run samples-test
+
+ # Run all system tests.
+ npm run system-test
+
+1. Lint (and maybe fix) any changes:
+
+ npm run fix
+
+[setup]: https://cloud.google.com/nodejs/docs/setup
+[projects]: https://console.cloud.google.com/project
+[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
+[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=gameservices.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
\ No newline at end of file
diff --git a/packages/google-cloud-gaming/LICENSE b/packages/google-cloud-gaming/LICENSE
new file mode 100644
index 00000000000..d6456956733
--- /dev/null
+++ b/packages/google-cloud-gaming/LICENSE
@@ -0,0 +1,202 @@
+
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+ END OF TERMS AND CONDITIONS
+
+ APPENDIX: How to apply the Apache License to your work.
+
+ To apply the Apache License to your work, attach the following
+ boilerplate notice, with the fields enclosed by brackets "[]"
+ replaced with your own identifying information. (Don't include
+ the brackets!) The text should be enclosed in the appropriate
+ comment syntax for the file format. We also recommend that a
+ file or class name and description of purpose be included on the
+ same "printed page" as the copyright notice for easier
+ identification within third-party archives.
+
+ Copyright [yyyy] [name of copyright owner]
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
diff --git a/packages/google-cloud-gaming/README.md b/packages/google-cloud-gaming/README.md
new file mode 100644
index 00000000000..bb919327535
--- /dev/null
+++ b/packages/google-cloud-gaming/README.md
@@ -0,0 +1,228 @@
+[//]: # "This README.md file is auto-generated, all changes to this file will be lost."
+[//]: # "To regenerate it, use `python -m synthtool`."
+
+
+# [Google Cloud Game Servers: Node.js Client](https://github.com/googleapis/google-cloud-node)
+
+[![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
+[![npm version](https://img.shields.io/npm/v/@google-cloud/game-servers.svg)](https://www.npmjs.org/package/@google-cloud/game-servers)
+
+
+
+
+Game service client for Node.js
+
+
+A comprehensive list of changes in each version may be found in
+[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-gaming/CHANGELOG.md).
+
+* [Google Cloud Game Servers Node.js Client API Reference][client-docs]
+* [Google Cloud Game Servers Documentation][product-docs]
+* [github.com/googleapis/google-cloud-node/packages/google-cloud-gaming](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-gaming)
+
+Read more about the client libraries for Cloud APIs, including the older
+Google APIs Client Libraries, in [Client Libraries Explained][explained].
+
+[explained]: https://cloud.google.com/apis/docs/client-libraries-explained
+
+**Table of contents:**
+
+
+* [Quickstart](#quickstart)
+ * [Before you begin](#before-you-begin)
+ * [Installing the client library](#installing-the-client-library)
+ * [Using the client library](#using-the-client-library)
+* [Samples](#samples)
+* [Versioning](#versioning)
+* [Contributing](#contributing)
+* [License](#license)
+
+## Quickstart
+
+### Before you begin
+
+1. [Select or create a Cloud Platform project][projects].
+1. [Enable billing for your project][billing].
+1. [Enable the Google Cloud Game Servers API][enable_api].
+1. [Set up authentication with a service account][auth] so you can access the
+ API from your local workstation.
+
+### Installing the client library
+
+```bash
+npm install @google-cloud/game-servers
+```
+
+
+### Using the client library
+
+```javascript
+const {RealmsServiceClient} = require('@google-cloud/game-servers');
+
+async function quickstart() {
+ const client = new RealmsServiceClient();
+
+ // TODO(developer): uncomment the following section, and add values
+ // const projectId = 'YOUR_PROJECT_ID';
+ // const location = 'us-central1;
+ // const realmId = 'DESIRED_REALM_ID';
+
+ const request = {
+ parent: `projects/${projectId}/locations/${location}`,
+ realmId,
+ realm: {
+ // Must use a valid support time zone.
+ // See https://cloud.google.com/dataprep/docs/html/Supported-Time-Zone-Values_66194188
+ timeZone: 'US/Pacific',
+ description: 'My Game Server realm',
+ },
+ };
+
+ const [operation] = await client.createRealm(request);
+ const results = await operation.promise();
+ const [realm] = results;
+
+ console.log('Realm created:');
+
+ console.log(`\tRealm name: ${realm.name}`);
+ console.log(`\tRealm description: ${realm.description}`);
+ console.log(`\tRealm time zone: ${realm.timeZone}`);
+}
+quickstart();
+
+```
+
+
+
+## Samples
+
+Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
+
+| Sample | Source Code | Try it |
+| --------------------------- | --------------------------------- | ------ |
+| Game_server_clusters_service.create_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.create_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.create_game_server_cluster.js,samples/README.md) |
+| Game_server_clusters_service.delete_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.delete_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.delete_game_server_cluster.js,samples/README.md) |
+| Game_server_clusters_service.get_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.get_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.get_game_server_cluster.js,samples/README.md) |
+| Game_server_clusters_service.list_game_server_clusters | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.list_game_server_clusters.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.list_game_server_clusters.js,samples/README.md) |
+| Game_server_clusters_service.preview_create_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.preview_create_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.preview_create_game_server_cluster.js,samples/README.md) |
+| Game_server_clusters_service.preview_delete_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.preview_delete_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.preview_delete_game_server_cluster.js,samples/README.md) |
+| Game_server_clusters_service.preview_update_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.preview_update_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.preview_update_game_server_cluster.js,samples/README.md) |
+| Game_server_clusters_service.update_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.update_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_clusters_service.update_game_server_cluster.js,samples/README.md) |
+| Game_server_configs_service.create_game_server_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_configs_service.create_game_server_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_configs_service.create_game_server_config.js,samples/README.md) |
+| Game_server_configs_service.delete_game_server_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_configs_service.delete_game_server_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_configs_service.delete_game_server_config.js,samples/README.md) |
+| Game_server_configs_service.get_game_server_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_configs_service.get_game_server_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_configs_service.get_game_server_config.js,samples/README.md) |
+| Game_server_configs_service.list_game_server_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_configs_service.list_game_server_configs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_configs_service.list_game_server_configs.js,samples/README.md) |
+| Game_server_deployments_service.create_game_server_deployment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.create_game_server_deployment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.create_game_server_deployment.js,samples/README.md) |
+| Game_server_deployments_service.delete_game_server_deployment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.delete_game_server_deployment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.delete_game_server_deployment.js,samples/README.md) |
+| Game_server_deployments_service.fetch_deployment_state | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.fetch_deployment_state.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.fetch_deployment_state.js,samples/README.md) |
+| Game_server_deployments_service.get_game_server_deployment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.get_game_server_deployment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.get_game_server_deployment.js,samples/README.md) |
+| Game_server_deployments_service.get_game_server_deployment_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.get_game_server_deployment_rollout.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.get_game_server_deployment_rollout.js,samples/README.md) |
+| Game_server_deployments_service.list_game_server_deployments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.list_game_server_deployments.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.list_game_server_deployments.js,samples/README.md) |
+| Game_server_deployments_service.preview_game_server_deployment_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.preview_game_server_deployment_rollout.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.preview_game_server_deployment_rollout.js,samples/README.md) |
+| Game_server_deployments_service.update_game_server_deployment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.update_game_server_deployment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.update_game_server_deployment.js,samples/README.md) |
+| Game_server_deployments_service.update_game_server_deployment_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.update_game_server_deployment_rollout.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/game_server_deployments_service.update_game_server_deployment_rollout.js,samples/README.md) |
+| Realms_service.create_realm | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/realms_service.create_realm.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/realms_service.create_realm.js,samples/README.md) |
+| Realms_service.delete_realm | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/realms_service.delete_realm.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/realms_service.delete_realm.js,samples/README.md) |
+| Realms_service.get_realm | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/realms_service.get_realm.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/realms_service.get_realm.js,samples/README.md) |
+| Realms_service.list_realms | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/realms_service.list_realms.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/realms_service.list_realms.js,samples/README.md) |
+| Realms_service.preview_realm_update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/realms_service.preview_realm_update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/realms_service.preview_realm_update.js,samples/README.md) |
+| Realms_service.update_realm | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1/realms_service.update_realm.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1/realms_service.update_realm.js,samples/README.md) |
+| Game_server_clusters_service.create_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.create_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.create_game_server_cluster.js,samples/README.md) |
+| Game_server_clusters_service.delete_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.delete_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.delete_game_server_cluster.js,samples/README.md) |
+| Game_server_clusters_service.get_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.get_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.get_game_server_cluster.js,samples/README.md) |
+| Game_server_clusters_service.list_game_server_clusters | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.list_game_server_clusters.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.list_game_server_clusters.js,samples/README.md) |
+| Game_server_clusters_service.preview_create_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.preview_create_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.preview_create_game_server_cluster.js,samples/README.md) |
+| Game_server_clusters_service.preview_delete_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.preview_delete_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.preview_delete_game_server_cluster.js,samples/README.md) |
+| Game_server_clusters_service.preview_update_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.preview_update_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.preview_update_game_server_cluster.js,samples/README.md) |
+| Game_server_clusters_service.update_game_server_cluster | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.update_game_server_cluster.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_clusters_service.update_game_server_cluster.js,samples/README.md) |
+| Game_server_configs_service.create_game_server_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_configs_service.create_game_server_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_configs_service.create_game_server_config.js,samples/README.md) |
+| Game_server_configs_service.delete_game_server_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_configs_service.delete_game_server_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_configs_service.delete_game_server_config.js,samples/README.md) |
+| Game_server_configs_service.get_game_server_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_configs_service.get_game_server_config.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_configs_service.get_game_server_config.js,samples/README.md) |
+| Game_server_configs_service.list_game_server_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_configs_service.list_game_server_configs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_configs_service.list_game_server_configs.js,samples/README.md) |
+| Game_server_deployments_service.create_game_server_deployment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.create_game_server_deployment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.create_game_server_deployment.js,samples/README.md) |
+| Game_server_deployments_service.delete_game_server_deployment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.delete_game_server_deployment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.delete_game_server_deployment.js,samples/README.md) |
+| Game_server_deployments_service.fetch_deployment_state | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.fetch_deployment_state.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.fetch_deployment_state.js,samples/README.md) |
+| Game_server_deployments_service.get_game_server_deployment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.get_game_server_deployment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.get_game_server_deployment.js,samples/README.md) |
+| Game_server_deployments_service.get_game_server_deployment_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.get_game_server_deployment_rollout.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.get_game_server_deployment_rollout.js,samples/README.md) |
+| Game_server_deployments_service.list_game_server_deployments | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.list_game_server_deployments.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.list_game_server_deployments.js,samples/README.md) |
+| Game_server_deployments_service.preview_game_server_deployment_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.preview_game_server_deployment_rollout.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.preview_game_server_deployment_rollout.js,samples/README.md) |
+| Game_server_deployments_service.update_game_server_deployment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.update_game_server_deployment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.update_game_server_deployment.js,samples/README.md) |
+| Game_server_deployments_service.update_game_server_deployment_rollout | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.update_game_server_deployment_rollout.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/game_server_deployments_service.update_game_server_deployment_rollout.js,samples/README.md) |
+| Realms_service.create_realm | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/realms_service.create_realm.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/realms_service.create_realm.js,samples/README.md) |
+| Realms_service.delete_realm | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/realms_service.delete_realm.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/realms_service.delete_realm.js,samples/README.md) |
+| Realms_service.get_realm | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/realms_service.get_realm.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/realms_service.get_realm.js,samples/README.md) |
+| Realms_service.list_realms | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/realms_service.list_realms.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/realms_service.list_realms.js,samples/README.md) |
+| Realms_service.preview_realm_update | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/realms_service.preview_realm_update.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/realms_service.preview_realm_update.js,samples/README.md) |
+| Realms_service.update_realm | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/generated/v1beta/realms_service.update_realm.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/generated/v1beta/realms_service.update_realm.js,samples/README.md) |
+| Create Game Server Realm | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/quickstart.js,samples/README.md) |
+| Quickstart.test | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-gaming/samples/test/quickstart.test.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-gaming/samples/test/quickstart.test.js,samples/README.md) |
+
+
+
+The [Google Cloud Game Servers Node.js Client API Reference][client-docs] documentation
+also contains samples.
+
+## Supported Node.js Versions
+
+Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
+Libraries are compatible with all current _active_ and _maintenance_ versions of
+Node.js.
+If you are using an end-of-life version of Node.js, we recommend that you update
+as soon as possible to an actively supported LTS version.
+
+Google's client libraries support legacy versions of Node.js runtimes on a
+best-efforts basis with the following warnings:
+
+* Legacy versions are not tested in continuous integration.
+* Some security patches and features cannot be backported.
+* Dependencies cannot be kept up-to-date.
+
+Client libraries targeting some end-of-life versions of Node.js are available, and
+can be installed through npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
+The dist-tags follow the naming convention `legacy-(version)`.
+For example, `npm install @google-cloud/game-servers@legacy-8` installs client libraries
+for versions compatible with Node.js 8.
+
+## Versioning
+
+This library follows [Semantic Versioning](http://semver.org/).
+
+
+
+This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways
+unless absolutely necessary (e.g. because of critical security issues) or with
+an extensive deprecation period. Issues and requests against **stable** libraries
+are addressed with the highest priority.
+
+
+
+
+
+
+More Information: [Google Cloud Platform Launch Stages][launch_stages]
+
+[launch_stages]: https://cloud.google.com/terms/launch-stages
+
+## Contributing
+
+Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md).
+
+Please note that this `README.md`, the `samples/README.md`,
+and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
+are generated from a central template. To edit one of these files, make an edit
+to its templates in
+[directory](https://github.com/googleapis/synthtool).
+
+## License
+
+Apache Version 2.0
+
+See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)
+
+[client-docs]: https://cloud.google.com/nodejs/docs/reference/game-servers/latest
+[product-docs]: https://cloud.google.com/game-servers/
+[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
+[projects]: https://console.cloud.google.com/project
+[billing]: https://support.google.com/cloud/answer/6293499#enable-billing
+[enable_api]: https://console.cloud.google.com/flows/enableapi?apiid=gameservices.googleapis.com
+[auth]: https://cloud.google.com/docs/authentication/getting-started
diff --git a/packages/google-cloud-gaming/linkinator.config.json b/packages/google-cloud-gaming/linkinator.config.json
new file mode 100644
index 00000000000..befd23c8633
--- /dev/null
+++ b/packages/google-cloud-gaming/linkinator.config.json
@@ -0,0 +1,16 @@
+{
+ "recurse": true,
+ "skip": [
+ "https://codecov.io/gh/googleapis/",
+ "www.googleapis.com",
+ "img.shields.io",
+ "https://console.cloud.google.com/cloudshell",
+ "https://support.google.com"
+ ],
+ "silent": true,
+ "concurrency": 5,
+ "retry": true,
+ "retryErrors": true,
+ "retryErrorsCount": 5,
+ "retryErrorsJitter": 3000
+}
diff --git a/packages/google-cloud-gaming/owlbot.py b/packages/google-cloud-gaming/owlbot.py
new file mode 100644
index 00000000000..da779f13ebf
--- /dev/null
+++ b/packages/google-cloud-gaming/owlbot.py
@@ -0,0 +1,18 @@
+# Copyright 2020 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+"""This script is used to synthesize generated parts of this library."""
+import synthtool.languages.node_mono_repo as node
+
+node.owlbot_main(relative_dir="packages/google-cloud-gaming",staging_excludes=['package.json', 'README.md'], templates_excludes=['.github/CODEOWNERS'])
+
diff --git a/packages/google-cloud-gaming/package.json b/packages/google-cloud-gaming/package.json
new file mode 100644
index 00000000000..43c6d42442a
--- /dev/null
+++ b/packages/google-cloud-gaming/package.json
@@ -0,0 +1,59 @@
+{
+ "name": "@google-cloud/game-servers",
+ "version": "3.1.3",
+ "description": "Game service client for Node.js",
+ "repository": {
+ "type": "git",
+ "directory": "packages/google-cloud-gaming",
+ "url": "https://github.com/googleapis/google-cloud-node.git"
+ },
+ "license": "Apache-2.0",
+ "author": "Google LLC",
+ "files": [
+ "build/src",
+ "build/protos"
+ ],
+ "main": "build/src/index.js",
+ "scripts": {
+ "clean": "gts clean",
+ "compile": "tsc -p . && cp -r protos build/",
+ "compile-protos": "compileProtos src",
+ "docs": "jsdoc -c .jsdoc.js",
+ "docs-test": "linkinator docs",
+ "fix": "gts fix",
+ "lint": "gts check",
+ "predocs-test": "npm run docs",
+ "prepare": "npm run compile-protos && npm run compile",
+ "system-test": "npm run compile && c8 mocha build/system-test",
+ "samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
+ "test": "c8 mocha build/test",
+ "prelint": "cd samples; npm link ../; npm install",
+ "precompile": "gts clean"
+ },
+ "dependencies": {
+ "google-gax": "^3.5.2"
+ },
+ "devDependencies": {
+ "@types/mocha": "^9.0.0",
+ "@types/node": "^18.0.0",
+ "@types/sinon": "^10.0.0",
+ "c8": "^7.0.0",
+ "gts": "^3.1.0",
+ "jsdoc": "^4.0.0",
+ "jsdoc-fresh": "^2.0.0",
+ "jsdoc-region-tag": "^2.0.0",
+ "linkinator": "^4.0.0",
+ "mocha": "^9.2.2",
+ "null-loader": "^4.0.0",
+ "pack-n-play": "^1.0.0-2",
+ "sinon": "^14.0.0",
+ "ts-loader": "^9.0.0",
+ "typescript": "^4.6.4",
+ "webpack": "^5.0.0",
+ "webpack-cli": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ },
+ "homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-gaming"
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/common.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/common.proto
new file mode 100644
index 00000000000..843042671ff
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/common.proto
@@ -0,0 +1,238 @@
+// Copyright 2021 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1;
+
+import "google/api/field_behavior.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1;gaming";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1";
+
+// Represents the metadata of the long-running operation.
+message OperationMetadata {
+ // Output only. The time the operation was created.
+ google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time the operation finished running.
+ google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Server-defined resource path for the target of the operation.
+ string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Name of the verb executed by the operation.
+ string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Human-readable status of the operation, if any.
+ string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Identifies whether the user has requested cancellation
+ // of the operation. Operations that have successfully been cancelled
+ // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
+ // corresponding to `Code.CANCELLED`.
+ bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. API version used to start the operation.
+ string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. List of Locations that could not be reached.
+ repeated string unreachable = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Operation status for Game Services API operations. Operation status is in
+ // the form of key-value pairs where keys are resource IDs and the values show
+ // the status of the operation. In case of failures, the value includes an
+ // error code and error message.
+ map operation_status = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+message OperationStatus {
+ enum ErrorCode {
+ ERROR_CODE_UNSPECIFIED = 0;
+
+ INTERNAL_ERROR = 1;
+
+ PERMISSION_DENIED = 2;
+
+ CLUSTER_CONNECTION = 3;
+ }
+
+ // Output only. Whether the operation is done or still in progress.
+ bool done = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The error code in case of failures.
+ ErrorCode error_code = 2;
+
+ // The human-readable error message.
+ string error_message = 3;
+}
+
+// The label selector, used to group labels on the resources.
+message LabelSelector {
+ // Resource labels for this selector.
+ map labels = 1;
+}
+
+// The realm selector, used to match realm resources.
+message RealmSelector {
+ // List of realms to match.
+ repeated string realms = 1;
+}
+
+// The schedule of a recurring or one time event. The event's time span is
+// specified by start_time and end_time. If the scheduled event's timespan is
+// larger than the cron_spec + cron_job_duration, the event will be recurring.
+// If only cron_spec + cron_job_duration are specified, the event is effective
+// starting at the local time specified by cron_spec, and is recurring.
+//
+// ```
+// start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time
+// cron job: cron spec start time + duration
+// ```
+message Schedule {
+ // The start time of the event.
+ google.protobuf.Timestamp start_time = 1;
+
+ // The end time of the event.
+ google.protobuf.Timestamp end_time = 2;
+
+ // The duration for the cron job event. The duration of the event is effective
+ // after the cron job's start time.
+ google.protobuf.Duration cron_job_duration = 3;
+
+ // The cron definition of the scheduled event. See
+ // https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as
+ // defined by the realm.
+ string cron_spec = 4;
+}
+
+// Encapsulates Agones fleet spec and Agones autoscaler spec sources.
+message SpecSource {
+ // The game server config resource. Uses the form:
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.
+ string game_server_config_name = 1;
+
+ // The name of the Agones leet config or Agones scaling config used to derive
+ // the Agones fleet or Agones autoscaler spec.
+ string name = 2;
+}
+
+// Details about the Agones resources.
+message TargetDetails {
+ // Details of the target Agones fleet.
+ message TargetFleetDetails {
+ // Target Agones fleet specification.
+ message TargetFleet {
+ // The name of the Agones fleet.
+ string name = 1;
+
+ // Encapsulates the source of the Agones fleet spec.
+ // The Agones fleet spec source.
+ SpecSource spec_source = 2;
+ }
+
+ // Target Agones autoscaler policy reference.
+ message TargetFleetAutoscaler {
+ // The name of the Agones autoscaler.
+ string name = 1;
+
+ // Encapsulates the source of the Agones fleet spec.
+ // Details about the Agones autoscaler spec.
+ SpecSource spec_source = 2;
+ }
+
+ // Reference to target Agones fleet.
+ TargetFleet fleet = 1;
+
+ // Reference to target Agones fleet autoscaling policy.
+ TargetFleetAutoscaler autoscaler = 2;
+ }
+
+ // The game server cluster name. Uses the form:
+ // `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
+ string game_server_cluster_name = 1;
+
+ // The game server deployment name. Uses the form:
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`.
+ string game_server_deployment_name = 2;
+
+ // Agones fleet details for game server clusters and game server deployments.
+ repeated TargetFleetDetails fleet_details = 3;
+}
+
+// Encapsulates the Target state.
+message TargetState {
+ // Details about Agones fleets.
+ repeated TargetDetails details = 1;
+}
+
+// Details of the deployed Agones fleet.
+message DeployedFleetDetails {
+ // Agones fleet specification and details.
+ message DeployedFleet {
+ // DeployedFleetStatus has details about the Agones fleets such as how many
+ // are running, how many allocated, and so on.
+ message DeployedFleetStatus {
+ // The number of GameServer replicas in the READY state in this fleet.
+ int64 ready_replicas = 1;
+
+ // The number of GameServer replicas in the ALLOCATED state in this fleet.
+ int64 allocated_replicas = 2;
+
+ // The number of GameServer replicas in the RESERVED state in this fleet.
+ // Reserved instances won't be deleted on scale down, but won't cause
+ // an autoscaler to scale up.
+ int64 reserved_replicas = 3;
+
+ // The total number of current GameServer replicas in this fleet.
+ int64 replicas = 4;
+ }
+
+ // The name of the Agones fleet.
+ string fleet = 1;
+
+ // The fleet spec retrieved from the Agones fleet.
+ string fleet_spec = 2;
+
+ // The source spec that is used to create the Agones fleet.
+ // The GameServerConfig resource may no longer exist in the system.
+ SpecSource spec_source = 3;
+
+ // The current status of the Agones fleet.
+ // Includes count of game servers in various states.
+ DeployedFleetStatus status = 5;
+ }
+
+ // Details about the Agones autoscaler.
+ message DeployedFleetAutoscaler {
+ // The name of the Agones autoscaler.
+ string autoscaler = 1;
+
+ // The source spec that is used to create the autoscaler.
+ // The GameServerConfig resource may no longer exist in the system.
+ SpecSource spec_source = 4;
+
+ // The autoscaler spec retrieved from Agones.
+ string fleet_autoscaler_spec = 3;
+ }
+
+ // Information about the Agones fleet.
+ DeployedFleet deployed_fleet = 1;
+
+ // Information about the Agones autoscaler for that fleet.
+ DeployedFleetAutoscaler deployed_autoscaler = 2;
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_clusters.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_clusters.proto
new file mode 100644
index 00000000000..02fbc0f890b
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_clusters.proto
@@ -0,0 +1,371 @@
+// Copyright 2021 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/gaming/v1/common.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1;gaming";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1";
+
+// A view for GameServerCluster objects.
+enum GameServerClusterView {
+ // The default / unset value.
+ // The API will default to the BASIC view.
+ GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED = 0;
+
+ // Include basic information of a GameServerCluster resource and omit
+ // `cluster_state`. This is the default value (for ListGameServerClusters,
+ // GetGameServerCluster and PreviewCreateGameServerCluster).
+ BASIC = 1;
+
+ // Include everything.
+ FULL = 2;
+}
+
+// Request message for GameServerClustersService.ListGameServerClusters.
+message ListGameServerClustersRequest {
+ // Required. The parent resource name, in the following form:
+ // "projects/{project}/locations/{location}/realms/{realm}".
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerCluster"
+ }
+ ];
+
+ // Optional. The maximum number of items to return. If unspecified, the server
+ // will pick an appropriate default. The server may return fewer items than
+ // requested. A caller should only rely on response's
+ // [next_page_token][google.cloud.gaming.v1.ListGameServerClustersResponse.next_page_token] to
+ // determine if there are more GameServerClusters left to be queried.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The next_page_token value returned from a previous List request, if any.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The filter to apply to list results.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Specifies the ordering of results following syntax at
+ // https://cloud.google.com/apis/design/design_patterns#sorting_order.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. View for the returned GameServerCluster objects. When `FULL` is
+ // specified, the `cluster_state` field is also returned in the
+ // GameServerCluster object, which includes the state of the referenced
+ // Kubernetes cluster such as versions and provider info. The default/unset
+ // value is GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does
+ // not return the `cluster_state` field.
+ GameServerClusterView view = 6 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for GameServerClustersService.ListGameServerClusters.
+message ListGameServerClustersResponse {
+ // The list of game server clusters.
+ repeated GameServerCluster game_server_clusters = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+
+ // List of locations that could not be reached.
+ repeated string unreachable = 4;
+}
+
+// Request message for GameServerClustersService.GetGameServerCluster.
+message GetGameServerClusterRequest {
+ // Required. The name of the game server cluster to retrieve, in the following form:
+ // `projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerCluster"
+ }
+ ];
+
+ // Optional. View for the returned GameServerCluster objects. When `FULL` is
+ // specified, the `cluster_state` field is also returned in the
+ // GameServerCluster object, which includes the state of the referenced
+ // Kubernetes cluster such as versions and provider info. The default/unset
+ // value is GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED, same as BASIC, which does
+ // not return the `cluster_state` field.
+ GameServerClusterView view = 6 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Request message for GameServerClustersService.CreateGameServerCluster.
+message CreateGameServerClusterRequest {
+ // Required. The parent resource name, in the following form:
+ // `projects/{project}/locations/{location}/realms/{realm-id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerCluster"
+ }
+ ];
+
+ // Required. The ID of the game server cluster resource to be created.
+ string game_server_cluster_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The game server cluster resource to be created.
+ GameServerCluster game_server_cluster = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for GameServerClustersService.PreviewCreateGameServerCluster.
+message PreviewCreateGameServerClusterRequest {
+ // Required. The parent resource name, in the following form:
+ // `projects/{project}/locations/{location}/realms/{realm}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerCluster"
+ }
+ ];
+
+ // Required. The ID of the game server cluster resource to be created.
+ string game_server_cluster_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The game server cluster resource to be created.
+ GameServerCluster game_server_cluster = 3 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The target timestamp to compute the preview.
+ google.protobuf.Timestamp preview_time = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. This field is deprecated, preview will always return
+ // KubernetesClusterState.
+ GameServerClusterView view = 6 [
+ deprecated = true,
+ (google.api.field_behavior) = OPTIONAL
+ ];
+}
+
+// Response message for
+// GameServerClustersService.PreviewCreateGameServerCluster.
+message PreviewCreateGameServerClusterResponse {
+ // The ETag of the game server cluster.
+ string etag = 2;
+
+ // The target state.
+ TargetState target_state = 3;
+
+ // Output only. The state of the Kubernetes cluster in preview, this will be available if
+ // 'view' is set to `FULL` in the relevant List/Get/Preview request.
+ KubernetesClusterState cluster_state = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// Request message for GameServerClustersService.DeleteGameServerCluster.
+message DeleteGameServerClusterRequest {
+ // Required. The name of the game server cluster to delete, in the following form:
+ // `projects/{project}/locations/{location}/gameServerClusters/{cluster}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerCluster"
+ }
+ ];
+}
+
+// Request message for GameServerClustersService.PreviewDeleteGameServerCluster.
+message PreviewDeleteGameServerClusterRequest {
+ // Required. The name of the game server cluster to delete, in the following form:
+ // `projects/{project}/locations/{location}/gameServerClusters/{cluster}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerCluster"
+ }
+ ];
+
+ // Optional. The target timestamp to compute the preview.
+ google.protobuf.Timestamp preview_time = 2 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for
+// GameServerClustersService.PreviewDeleteGameServerCluster.
+message PreviewDeleteGameServerClusterResponse {
+ // The ETag of the game server cluster.
+ string etag = 2;
+
+ // The target state.
+ TargetState target_state = 3;
+}
+
+// Request message for GameServerClustersService.UpdateGameServerCluster.
+message UpdateGameServerClusterRequest {
+ // Required. The game server cluster to be updated.
+ // Only fields specified in update_mask are updated.
+ GameServerCluster game_server_cluster = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Mask of fields to update. At least one path must be supplied in
+ // this field. For the `FieldMask` definition, see
+ // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for GameServerClustersService.UpdateGameServerCluster.
+message PreviewUpdateGameServerClusterRequest {
+ // Required. The game server cluster to be updated.
+ // Only fields specified in update_mask are updated.
+ GameServerCluster game_server_cluster = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Mask of fields to update. At least one path must be supplied in
+ // this field. For the `FieldMask` definition, see
+ // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The target timestamp to compute the preview.
+ google.protobuf.Timestamp preview_time = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for GameServerClustersService.PreviewUpdateGameServerCluster
+message PreviewUpdateGameServerClusterResponse {
+ // The ETag of the game server cluster.
+ string etag = 2;
+
+ // The target state.
+ TargetState target_state = 3;
+}
+
+// The game server cluster connection information.
+message GameServerClusterConnectionInfo {
+ // The location of the Kubernetes cluster.
+ oneof cluster_reference {
+ // Reference to the GKE cluster where the game servers are installed.
+ GkeClusterReference gke_cluster_reference = 7;
+ }
+
+ // Namespace designated on the game server cluster where the Agones game
+ // server instances will be created. Existence of the namespace will be
+ // validated during creation.
+ string namespace = 5;
+}
+
+// A reference to a GKE cluster.
+message GkeClusterReference {
+ // The full or partial name of a GKE cluster, using one of the following
+ // forms:
+ // * `projects/{project}/locations/{location}/clusters/{cluster}`
+ // * `locations/{location}/clusters/{cluster}`
+ // * `{cluster}`
+ // If project and location are not specified, the project and location of the
+ // GameServerCluster resource are used to generate the full name of the
+ // GKE cluster.
+ string cluster = 1;
+}
+
+// A game server cluster resource.
+message GameServerCluster {
+ option (google.api.resource) = {
+ type: "gameservices.googleapis.com/GameServerCluster"
+ pattern: "projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}"
+ };
+
+ // Required. The resource name of the game server cluster, in the following form:
+ // `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
+ // For example,
+ // `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
+ string name = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. The creation time.
+ google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last-modified time.
+ google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The labels associated with this game server cluster. Each label is a
+ // key-value pair.
+ map labels = 4;
+
+ // The game server cluster connection information. This information is used to
+ // manage game server clusters.
+ GameServerClusterConnectionInfo connection_info = 5;
+
+ // ETag of the resource.
+ string etag = 6;
+
+ // Human readable description of the cluster.
+ string description = 7;
+
+ // Output only. The state of the Kubernetes cluster, this will be available if
+ // 'view' is set to `FULL` in the relevant List/Get/Preview request.
+ KubernetesClusterState cluster_state = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+// The state of the Kubernetes cluster.
+message KubernetesClusterState {
+ // The state of the installed versions of Agones/Kubernetes. See also
+ // https://cloud.google.com/game-servers/docs/versions-and-upgrades.
+ enum InstallationState {
+ // The default value. This value is used if the state is omitted.
+ INSTALLATION_STATE_UNSPECIFIED = 0;
+
+ // The combination of Agones and Kubernetes versions is supported by Google
+ // Cloud Game Servers.
+ AGONES_KUBERNETES_VERSION_SUPPORTED = 1;
+
+ // The installed version of Agones is not supported by Google Cloud Game
+ // Servers.
+ AGONES_VERSION_UNSUPPORTED = 2;
+
+ // The installed version of Agones is supported by Google Cloud Game
+ // Servers, but the installed version of Kubernetes is not recommended or
+ // supported by the version of Agones.
+ AGONES_KUBERNETES_VERSION_UNSUPPORTED = 3;
+
+ // The installed version of Agones is not recognized because the Agones
+ // controller's image name does not have a version string reported as
+ // {major}.{minor}(.{patch}).
+ AGONES_VERSION_UNRECOGNIZED = 4;
+
+ // The server version of Kubernetes cluster is not recognized because the
+ // API server didn't return parsable version info on path/version.
+ KUBERNETES_VERSION_UNRECOGNIZED = 5;
+
+ // Failed to read or verify the version of Agones or Kubernetes. See
+ // version_installed_error_message for details.
+ VERSION_VERIFICATION_FAILED = 6;
+
+ // Agones is not installed.
+ AGONES_NOT_INSTALLED = 7;
+ }
+
+ // Output only. The version of Agones currently installed in the registered Kubernetes
+ // cluster.
+ string agones_version_installed = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The version of Kubernetes that is currently used in the registered
+ // Kubernetes cluster (as detected by the Cloud Game Servers service).
+ string kubernetes_version_installed = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The state for the installed versions of Agones/Kubernetes.
+ InstallationState installation_state = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The detailed error message for the installed versions of Agones/Kubernetes.
+ string version_installed_error_message = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The cloud provider type reported by the first node's providerID in the list
+ // of nodes on the Kubernetes endpoint. On Kubernetes platforms that support
+ // zero-node clusters (like GKE-on-GCP), the provider type will be empty.
+ string provider = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The version of Agones that is targeted to be installed in the cluster.
+ string agones_version_targeted = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_clusters_service.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_clusters_service.proto
new file mode 100644
index 00000000000..db7a0f28f08
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_clusters_service.proto
@@ -0,0 +1,111 @@
+// Copyright 2021 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/cloud/gaming/v1/game_server_clusters.proto";
+import "google/longrunning/operations.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1;gaming";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1";
+
+// The game server cluster maps to Kubernetes clusters running Agones and is
+// used to manage fleets within clusters.
+service GameServerClustersService {
+ option (google.api.default_host) = "gameservices.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists game server clusters in a given project and location.
+ rpc ListGameServerClusters(ListGameServerClustersRequest) returns (ListGameServerClustersResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single game server cluster.
+ rpc GetGameServerCluster(GetGameServerClusterRequest) returns (GameServerCluster) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new game server cluster in a given project and location.
+ rpc CreateGameServerCluster(CreateGameServerClusterRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters"
+ body: "game_server_cluster"
+ };
+ option (google.api.method_signature) = "parent,game_server_cluster,game_server_cluster_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "GameServerCluster"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Previews creation of a new game server cluster in a given project and
+ // location.
+ rpc PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest) returns (PreviewCreateGameServerClusterResponse) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/realms/*}/gameServerClusters:previewCreate"
+ body: "game_server_cluster"
+ };
+ }
+
+ // Deletes a single game server cluster.
+ rpc DeleteGameServerCluster(DeleteGameServerClusterRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Previews deletion of a single game server cluster.
+ rpc PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest) returns (PreviewDeleteGameServerClusterResponse) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewDelete"
+ };
+ }
+
+ // Patches a single game server cluster.
+ rpc UpdateGameServerCluster(UpdateGameServerClusterRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}"
+ body: "game_server_cluster"
+ };
+ option (google.api.method_signature) = "game_server_cluster,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "GameServerCluster"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Previews updating a GameServerCluster.
+ rpc PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest) returns (PreviewUpdateGameServerClusterResponse) {
+ option (google.api.http) = {
+ patch: "/v1/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewUpdate"
+ body: "game_server_cluster"
+ };
+ }
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_configs.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_configs.proto
new file mode 100644
index 00000000000..c9848654e85
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_configs.proto
@@ -0,0 +1,172 @@
+// Copyright 2021 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/gaming/v1/common.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1;gaming";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1";
+
+// Request message for GameServerConfigsService.ListGameServerConfigs.
+message ListGameServerConfigsRequest {
+ // Required. The parent resource name, in the following form:
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/*`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerConfig"
+ }
+ ];
+
+ // Optional. The maximum number of items to return. If unspecified, server
+ // will pick an appropriate default. Server may return fewer items than
+ // requested. A caller should only rely on response's
+ // [next_page_token][google.cloud.gaming.v1.ListGameServerConfigsResponse.next_page_token] to
+ // determine if there are more GameServerConfigs left to be queried.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The next_page_token value returned from a previous list request, if any.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The filter to apply to list results.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Specifies the ordering of results following syntax at
+ // https://cloud.google.com/apis/design/design_patterns#sorting_order.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for GameServerConfigsService.ListGameServerConfigs.
+message ListGameServerConfigsResponse {
+ // The list of game server configs.
+ repeated GameServerConfig game_server_configs = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+
+ // List of locations that could not be reached.
+ repeated string unreachable = 4;
+}
+
+// Request message for GameServerConfigsService.GetGameServerConfig.
+message GetGameServerConfigRequest {
+ // Required. The name of the game server config to retrieve, in the following form:
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerConfig"
+ }
+ ];
+}
+
+// Request message for GameServerConfigsService.CreateGameServerConfig.
+message CreateGameServerConfigRequest {
+ // Required. The parent resource name, in the following form:
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerConfig"
+ }
+ ];
+
+ // Required. The ID of the game server config resource to be created.
+ string config_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The game server config resource to be created.
+ GameServerConfig game_server_config = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for GameServerConfigsService.DeleteGameServerConfig.
+message DeleteGameServerConfigRequest {
+ // Required. The name of the game server config to delete, in the following form:
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerConfig"
+ }
+ ];
+}
+
+// Autoscaling config for an Agones fleet.
+message ScalingConfig {
+ // Required. The name of the Scaling Config
+ string name = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Agones fleet autoscaler spec. Example spec:
+ // https://agones.dev/site/docs/reference/fleetautoscaler/
+ string fleet_autoscaler_spec = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Labels used to identify the game server clusters to which this Agones
+ // scaling config applies. A game server cluster is subject to this Agones
+ // scaling config if its labels match any of the selector entries.
+ repeated LabelSelector selectors = 4;
+
+ // The schedules to which this Scaling Config applies.
+ repeated Schedule schedules = 5;
+}
+
+// Fleet configs for Agones.
+message FleetConfig {
+ // Agones fleet spec. Example spec:
+ // `https://agones.dev/site/docs/reference/fleet/`.
+ string fleet_spec = 1;
+
+ // The name of the FleetConfig.
+ string name = 2;
+}
+
+// A game server config resource.
+message GameServerConfig {
+ option (google.api.resource) = {
+ type: "gameservices.googleapis.com/GameServerConfig"
+ pattern: "projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}"
+ };
+
+ // The resource name of the game server config, in the following form:
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
+ // For example,
+ // `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`.
+ string name = 1;
+
+ // Output only. The creation time.
+ google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last-modified time.
+ google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The labels associated with this game server config. Each label is a
+ // key-value pair.
+ map labels = 4;
+
+ // FleetConfig contains a list of Agones fleet specs. Only one FleetConfig
+ // is allowed.
+ repeated FleetConfig fleet_configs = 5;
+
+ // The autoscaling settings.
+ repeated ScalingConfig scaling_configs = 6;
+
+ // The description of the game server config.
+ string description = 7;
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_configs_service.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_configs_service.proto
new file mode 100644
index 00000000000..c151d6032fa
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_configs_service.proto
@@ -0,0 +1,77 @@
+// Copyright 2021 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/cloud/gaming/v1/game_server_configs.proto";
+import "google/longrunning/operations.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1;gaming";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1";
+
+// The game server config configures the game servers in an Agones fleet.
+service GameServerConfigsService {
+ option (google.api.default_host) = "gameservices.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists game server configs in a given project, location, and game server
+ // deployment.
+ rpc ListGameServerConfigs(ListGameServerConfigsRequest) returns (ListGameServerConfigsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*/gameServerDeployments/*}/configs"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single game server config.
+ rpc GetGameServerConfig(GetGameServerConfigRequest) returns (GameServerConfig) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new game server config in a given project, location, and game
+ // server deployment. Game server configs are immutable, and are not applied
+ // until referenced in the game server deployment rollout resource.
+ rpc CreateGameServerConfig(CreateGameServerConfigRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*/gameServerDeployments/*}/configs"
+ body: "game_server_config"
+ };
+ option (google.api.method_signature) = "parent,game_server_config";
+ option (google.longrunning.operation_info) = {
+ response_type: "GameServerConfig"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Deletes a single game server config. The deletion will fail if the game
+ // server config is referenced in a game server deployment rollout.
+ rpc DeleteGameServerConfig(DeleteGameServerConfigRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_deployments.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_deployments.proto
new file mode 100644
index 00000000000..3c01717dd9b
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_deployments.proto
@@ -0,0 +1,286 @@
+// Copyright 2021 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/gaming/v1/common.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1;gaming";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1";
+
+// Request message for GameServerDeploymentsService.ListGameServerDeployments.
+message ListGameServerDeploymentsRequest {
+ // Required. The parent resource name, in the following form:
+ // `projects/{project}/locations/{location}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerDeployment"
+ }
+ ];
+
+ // Optional. The maximum number of items to return. If unspecified, the server
+ // will pick an appropriate default. The server may return fewer items than
+ // requested. A caller should only rely on response's
+ // [next_page_token][google.cloud.gaming.v1.ListGameServerDeploymentsResponse.next_page_token] to
+ // determine if there are more GameServerDeployments left to be queried.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The next_page_token value returned from a previous List request,
+ // if any.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The filter to apply to list results.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Specifies the ordering of results following syntax at
+ // https://cloud.google.com/apis/design/design_patterns#sorting_order.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for GameServerDeploymentsService.ListGameServerDeployments.
+message ListGameServerDeploymentsResponse {
+ // The list of game server deployments.
+ repeated GameServerDeployment game_server_deployments = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+
+ // List of locations that could not be reached.
+ repeated string unreachable = 4;
+}
+
+// Request message for GameServerDeploymentsService.GetGameServerDeployment.
+message GetGameServerDeploymentRequest {
+ // Required. The name of the game server delpoyment to retrieve, in the following form:
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerDeployment"
+ }
+ ];
+}
+
+// Request message for
+// GameServerDeploymentsService.GetGameServerDeploymentRollout.
+message GetGameServerDeploymentRolloutRequest {
+ // Required. The name of the game server delpoyment to retrieve, in the following form:
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerDeployment"
+ }
+ ];
+}
+
+// Request message for GameServerDeploymentsService.CreateGameServerDeployment.
+message CreateGameServerDeploymentRequest {
+ // Required. The parent resource name, in the following form:
+ // `projects/{project}/locations/{location}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerDeployment"
+ }
+ ];
+
+ // Required. The ID of the game server delpoyment resource to be created.
+ string deployment_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The game server delpoyment resource to be created.
+ GameServerDeployment game_server_deployment = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for GameServerDeploymentsService.DeleteGameServerDeployment.
+message DeleteGameServerDeploymentRequest {
+ // Required. The name of the game server delpoyment to delete, in the following form:
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerDeployment"
+ }
+ ];
+}
+
+// Request message for GameServerDeploymentsService.UpdateGameServerDeployment.
+// Only allows updates for labels.
+message UpdateGameServerDeploymentRequest {
+ // Required. The game server delpoyment to be updated.
+ // Only fields specified in update_mask are updated.
+ GameServerDeployment game_server_deployment = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Mask of fields to update. At least one path must be supplied in
+ // this field. For the `FieldMask` definition, see
+ // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// GameServerDeploymentsService.UpdateGameServerRolloutDeployment.
+message UpdateGameServerDeploymentRolloutRequest {
+ // Required. The game server delpoyment rollout to be updated.
+ // Only fields specified in update_mask are updated.
+ GameServerDeploymentRollout rollout = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Mask of fields to update. At least one path must be supplied in
+ // this field. For the `FieldMask` definition, see
+ // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for GameServerDeploymentsService.FetchDeploymentState.
+message FetchDeploymentStateRequest {
+ // Required. The name of the game server delpoyment, in the following form:
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
+ string name = 1 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Response message for GameServerDeploymentsService.FetchDeploymentState.
+message FetchDeploymentStateResponse {
+ // The game server cluster changes made by the game server deployment.
+ message DeployedClusterState {
+ // The name of the cluster.
+ string cluster = 1;
+
+ // The details about the Agones fleets and autoscalers created in the
+ // game server cluster.
+ repeated DeployedFleetDetails fleet_details = 2;
+ }
+
+ // The state of the game server deployment in each game server cluster.
+ repeated DeployedClusterState cluster_state = 1;
+
+ // List of locations that could not be reached.
+ repeated string unavailable = 2;
+}
+
+// A game server deployment resource.
+message GameServerDeployment {
+ option (google.api.resource) = {
+ type: "gameservices.googleapis.com/GameServerDeployment"
+ pattern: "projects/{project}/locations/{location}/gameServerDeployments/{deployment}"
+ };
+
+ // The resource name of the game server deployment, in the following form:
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
+ // For example,
+ // `projects/my-project/locations/global/gameServerDeployments/my-deployment`.
+ string name = 1;
+
+ // Output only. The creation time.
+ google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last-modified time.
+ google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The labels associated with this game server deployment. Each label is a
+ // key-value pair.
+ map labels = 4;
+
+ // ETag of the resource.
+ string etag = 7;
+
+ // Human readable description of the game server delpoyment.
+ string description = 8;
+}
+
+// A game server config override.
+message GameServerConfigOverride {
+ // Selector chooses the game server config targets.
+ oneof selector {
+ // Selector for choosing applicable realms.
+ RealmSelector realms_selector = 1;
+ }
+
+ // Selects the game server config and how it should be applied.
+ oneof change {
+ // The game server config for this override.
+ string config_version = 100;
+ }
+}
+
+// The game server deployment rollout which represents the desired rollout
+// state.
+message GameServerDeploymentRollout {
+ option (google.api.resource) = {
+ type: "gameservices.googleapis.com/GameServerDeploymentRollout"
+ pattern: "projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout"
+ };
+
+ // The resource name of the game server deployment rollout, in the following
+ // form:
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`.
+ // For example,
+ // `projects/my-project/locations/global/gameServerDeployments/my-deployment/rollout`.
+ string name = 1;
+
+ // Output only. The creation time.
+ google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last-modified time.
+ google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The default game server config is applied to all realms unless overridden
+ // in the rollout. For example,
+ // `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`.
+ string default_game_server_config = 4;
+
+ // Contains the game server config rollout overrides. Overrides are processed
+ // in the order they are listed. Once a match is found for a realm, the rest
+ // of the list is not processed.
+ repeated GameServerConfigOverride game_server_config_overrides = 5;
+
+ // ETag of the resource.
+ string etag = 6;
+}
+
+// Request message for PreviewGameServerDeploymentRollout.
+message PreviewGameServerDeploymentRolloutRequest {
+ // Required. The game server deployment rollout to be updated.
+ // Only fields specified in update_mask are updated.
+ GameServerDeploymentRollout rollout = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Mask of fields to update. At least one path must be supplied in
+ // this field. For the `FieldMask` definition, see
+ // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The target timestamp to compute the preview. Defaults to the immediately
+ // after the proposed rollout completes.
+ google.protobuf.Timestamp preview_time = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for PreviewGameServerDeploymentRollout.
+// This has details about the Agones fleet and autoscaler to be actuated.
+message PreviewGameServerDeploymentRolloutResponse {
+ // Locations that could not be reached on this request.
+ repeated string unavailable = 2;
+
+ // ETag of the game server deployment.
+ string etag = 3;
+
+ // The target state.
+ TargetState target_state = 4;
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_deployments_service.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_deployments_service.proto
new file mode 100644
index 00000000000..a82d259e83f
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/game_server_deployments_service.proto
@@ -0,0 +1,132 @@
+// Copyright 2021 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/cloud/gaming/v1/game_server_deployments.proto";
+import "google/longrunning/operations.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1;gaming";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1";
+
+// The game server deployment is used to control the deployment of Agones
+// fleets.
+service GameServerDeploymentsService {
+ option (google.api.default_host) = "gameservices.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists game server deployments in a given project and location.
+ rpc ListGameServerDeployments(ListGameServerDeploymentsRequest) returns (ListGameServerDeploymentsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*}/gameServerDeployments"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single game server deployment.
+ rpc GetGameServerDeployment(GetGameServerDeploymentRequest) returns (GameServerDeployment) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/gameServerDeployments/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new game server deployment in a given project and location.
+ rpc CreateGameServerDeployment(CreateGameServerDeploymentRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/gameServerDeployments"
+ body: "game_server_deployment"
+ };
+ option (google.api.method_signature) = "parent,game_server_deployment";
+ option (google.longrunning.operation_info) = {
+ response_type: "GameServerDeployment"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Deletes a single game server deployment.
+ rpc DeleteGameServerDeployment(DeleteGameServerDeploymentRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/gameServerDeployments/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Patches a game server deployment.
+ rpc UpdateGameServerDeployment(UpdateGameServerDeploymentRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1/{game_server_deployment.name=projects/*/locations/*/gameServerDeployments/*}"
+ body: "game_server_deployment"
+ };
+ option (google.api.method_signature) = "game_server_deployment,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "GameServerDeployment"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Gets details a single game server deployment rollout.
+ rpc GetGameServerDeploymentRollout(GetGameServerDeploymentRolloutRequest) returns (GameServerDeploymentRollout) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/gameServerDeployments/*}/rollout"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Patches a single game server deployment rollout.
+ // The method will not return an error if the update does not affect any
+ // existing realms. For example - if the default_game_server_config is changed
+ // but all existing realms use the override, that is valid. Similarly, if a
+ // non existing realm is explicitly called out in game_server_config_overrides
+ // field, that will also not result in an error.
+ rpc UpdateGameServerDeploymentRollout(UpdateGameServerDeploymentRolloutRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout"
+ body: "rollout"
+ };
+ option (google.api.method_signature) = "rollout,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "GameServerDeployment"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Previews the game server deployment rollout. This API does not mutate the
+ // rollout resource.
+ rpc PreviewGameServerDeploymentRollout(PreviewGameServerDeploymentRolloutRequest) returns (PreviewGameServerDeploymentRolloutResponse) {
+ option (google.api.http) = {
+ patch: "/v1/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout:preview"
+ body: "rollout"
+ };
+ }
+
+ // Retrieves information about the current state of the game server
+ // deployment. Gathers all the Agones fleets and Agones autoscalers,
+ // including fleets running an older version of the game server deployment.
+ rpc FetchDeploymentState(FetchDeploymentStateRequest) returns (FetchDeploymentStateResponse) {
+ option (google.api.http) = {
+ post: "/v1/{name=projects/*/locations/*/gameServerDeployments/*}:fetchDeploymentState"
+ body: "*"
+ };
+ }
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/realms.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/realms.proto
new file mode 100644
index 00000000000..007071a9063
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/realms.proto
@@ -0,0 +1,181 @@
+// Copyright 2021 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/gaming/v1/common.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1;gaming";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1";
+
+// Request message for RealmsService.ListRealms.
+message ListRealmsRequest {
+ // Required. The parent resource name, in the following form:
+ // `projects/{project}/locations/{location}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/Realm"
+ }
+ ];
+
+ // Optional. The maximum number of items to return. If unspecified, server
+ // will pick an appropriate default. Server may return fewer items than
+ // requested. A caller should only rely on response's
+ // [next_page_token][google.cloud.gaming.v1.ListRealmsResponse.next_page_token] to
+ // determine if there are more realms left to be queried.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The next_page_token value returned from a previous List request,
+ // if any.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The filter to apply to list results.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Specifies the ordering of results following syntax at
+ // https://cloud.google.com/apis/design/design_patterns#sorting_order.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for RealmsService.ListRealms.
+message ListRealmsResponse {
+ // The list of realms.
+ repeated Realm realms = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+
+ // List of locations that could not be reached.
+ repeated string unreachable = 3;
+}
+
+// Request message for RealmsService.GetRealm.
+message GetRealmRequest {
+ // Required. The name of the realm to retrieve, in the following form:
+ // `projects/{project}/locations/{location}/realms/{realm}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/Realm"
+ }
+ ];
+}
+
+// Request message for RealmsService.CreateRealm.
+message CreateRealmRequest {
+ // Required. The parent resource name, in the following form:
+ // `projects/{project}/locations/{location}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/Realm"
+ }
+ ];
+
+ // Required. The ID of the realm resource to be created.
+ string realm_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The realm resource to be created.
+ Realm realm = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for RealmsService.DeleteRealm.
+message DeleteRealmRequest {
+ // Required. The name of the realm to delete, in the following form:
+ // `projects/{project}/locations/{location}/realms/{realm}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/Realm"
+ }
+ ];
+}
+
+// Request message for RealmsService.UpdateRealm.
+message UpdateRealmRequest {
+ // Required. The realm to be updated.
+ // Only fields specified in update_mask are updated.
+ Realm realm = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The update mask applies to the resource. For the `FieldMask`
+ // definition, see
+ // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for RealmsService.PreviewRealmUpdate.
+message PreviewRealmUpdateRequest {
+ // Required. The realm to be updated.
+ // Only fields specified in update_mask are updated.
+ Realm realm = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The update mask applies to the resource. For the `FieldMask`
+ // definition, see
+ // https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The target timestamp to compute the preview.
+ google.protobuf.Timestamp preview_time = 3 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for RealmsService.PreviewRealmUpdate.
+message PreviewRealmUpdateResponse {
+ // ETag of the realm.
+ string etag = 2;
+
+ // The target state.
+ TargetState target_state = 3;
+}
+
+// A realm resource.
+message Realm {
+ option (google.api.resource) = {
+ type: "gameservices.googleapis.com/Realm"
+ pattern: "projects/{project}/locations/{location}/realms/{realm}"
+ };
+
+ // The resource name of the realm, in the following form:
+ // `projects/{project}/locations/{location}/realms/{realm}`. For
+ // example, `projects/my-project/locations/{location}/realms/my-realm`.
+ string name = 1;
+
+ // Output only. The creation time.
+ google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last-modified time.
+ google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The labels associated with this realm. Each label is a key-value pair.
+ map labels = 4;
+
+ // Required. Time zone where all policies targeting this realm are evaluated. The value
+ // of this field must be from the IANA time zone database:
+ // https://www.iana.org/time-zones.
+ string time_zone = 6 [(google.api.field_behavior) = REQUIRED];
+
+ // ETag of the resource.
+ string etag = 7;
+
+ // Human readable description of the realm.
+ string description = 8;
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/realms_service.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/realms_service.proto
new file mode 100644
index 00000000000..018850d71d5
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1/realms_service.proto
@@ -0,0 +1,95 @@
+// Copyright 2021 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/cloud/gaming/v1/realms.proto";
+import "google/longrunning/operations.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1;gaming";
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1";
+
+// A realm is a grouping of game server clusters that are considered
+// interchangeable.
+service RealmsService {
+ option (google.api.default_host) = "gameservices.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists realms in a given project and location.
+ rpc ListRealms(ListRealmsRequest) returns (ListRealmsResponse) {
+ option (google.api.http) = {
+ get: "/v1/{parent=projects/*/locations/*}/realms"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single realm.
+ rpc GetRealm(GetRealmRequest) returns (Realm) {
+ option (google.api.http) = {
+ get: "/v1/{name=projects/*/locations/*/realms/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new realm in a given project and location.
+ rpc CreateRealm(CreateRealmRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*/locations/*}/realms"
+ body: "realm"
+ };
+ option (google.api.method_signature) = "parent,realm,realm_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "Realm"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Deletes a single realm.
+ rpc DeleteRealm(DeleteRealmRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1/{name=projects/*/locations/*/realms/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Patches a single realm.
+ rpc UpdateRealm(UpdateRealmRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1/{realm.name=projects/*/locations/*/realms/*}"
+ body: "realm"
+ };
+ option (google.api.method_signature) = "realm,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "Realm"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Previews patches to a single realm.
+ rpc PreviewRealmUpdate(PreviewRealmUpdateRequest) returns (PreviewRealmUpdateResponse) {
+ option (google.api.http) = {
+ patch: "/v1/{realm.name=projects/*/locations/*/realms/*}:previewUpdate"
+ body: "realm"
+ };
+ }
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/common.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/common.proto
new file mode 100644
index 00000000000..4059404fcc2
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/common.proto
@@ -0,0 +1,242 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1beta;
+
+import "google/api/field_behavior.proto";
+import "google/protobuf/duration.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming";
+
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1beta";
+
+// Represents the metadata of the long-running operation.
+message OperationMetadata {
+ // Output only. The time the operation was created.
+ google.protobuf.Timestamp create_time = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The time the operation finished running.
+ google.protobuf.Timestamp end_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Server-defined resource path for the target of the operation.
+ string target = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Name of the verb executed by the operation.
+ string verb = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Human-readable status of the operation, if any.
+ string status_message = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Identifies whether the user has requested cancellation
+ // of the operation. Operations that have successfully been cancelled
+ // have [Operation.error][] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
+ // corresponding to `Code.CANCELLED`.
+ bool requested_cancellation = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. API version used to start the operation.
+ string api_version = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. List of Locations that could not be reached.
+ repeated string unreachable = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. Operation status for Game Services API operations. Operation status is in
+ // the form of key-value pairs where keys are resource IDs and the values show
+ // the status of the operation. In case of failures, the value includes an
+ // error code and error message.
+ map operation_status = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
+}
+
+message OperationStatus {
+ enum ErrorCode {
+ ERROR_CODE_UNSPECIFIED = 0;
+
+ INTERNAL_ERROR = 1;
+
+ PERMISSION_DENIED = 2;
+
+ CLUSTER_CONNECTION = 3;
+ }
+
+ // Output only. Whether the operation is done or still in progress.
+ bool done = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The error code in case of failures.
+ ErrorCode error_code = 2;
+
+ // The human-readable error message.
+ string error_message = 3;
+}
+
+// The label selector, used to group labels on the resources.
+message LabelSelector {
+ // Resource labels for this selector.
+ map labels = 1;
+}
+
+// The realm selector, used to match realm resources.
+message RealmSelector {
+ // List of realms to match.
+ repeated string realms = 1;
+}
+
+// The schedule of a recurring or one time event. The event's time span is
+// specified by start_time and end_time. If the scheduled event's timespan is
+// larger than the cron_spec + cron_job_duration, the event will be recurring.
+// If only cron_spec + cron_job_duration are specified, the event is effective
+// starting at the local time specified by cron_spec, and is recurring.
+//
+// ```
+// start_time|-------[cron job]-------[cron job]-------[cron job]---|end_time
+// cron job: cron spec start time + duration
+// ```
+message Schedule {
+ // The start time of the event.
+ google.protobuf.Timestamp start_time = 1;
+
+ // The end time of the event.
+ google.protobuf.Timestamp end_time = 2;
+
+ // The duration for the cron job event. The duration of the event is effective
+ // after the cron job's start time.
+ google.protobuf.Duration cron_job_duration = 3;
+
+ // The cron definition of the scheduled event. See
+ // https://en.wikipedia.org/wiki/Cron. Cron spec specifies the local time as
+ // defined by the realm.
+ string cron_spec = 4;
+}
+
+// Encapsulates Agones fleet spec and Agones autoscaler spec sources.
+message SpecSource {
+ // The game server config resource. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}/configs/{config_id}`.
+ string game_server_config_name = 1;
+
+ // The name of the Agones leet config or Agones scaling config used to derive
+ // the Agones fleet or Agones autoscaler spec.
+ string name = 2;
+}
+
+// Details about the Agones resources.
+message TargetDetails {
+ // Details of the target Agones fleet.
+ message TargetFleetDetails {
+ // Target Agones fleet specification.
+ message TargetFleet {
+ // The name of the Agones fleet.
+ string name = 1;
+
+ // Encapsulates the source of the Agones fleet spec.
+ // The Agones fleet spec source.
+ SpecSource spec_source = 2;
+ }
+
+ // Target Agones autoscaler policy reference.
+ message TargetFleetAutoscaler {
+ // The name of the Agones autoscaler.
+ string name = 1;
+
+ // Encapsulates the source of the Agones fleet spec.
+ // Details about the Agones autoscaler spec.
+ SpecSource spec_source = 2;
+ }
+
+ // Reference to target Agones fleet.
+ TargetFleet fleet = 1;
+
+ // Reference to target Agones fleet autoscaling policy.
+ TargetFleetAutoscaler autoscaler = 2;
+ }
+
+ // The game server cluster name. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
+ string game_server_cluster_name = 1;
+
+ // The game server deployment name. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment_id}`.
+ string game_server_deployment_name = 2;
+
+ // Agones fleet details for game server clusters and game server deployments.
+ repeated TargetFleetDetails fleet_details = 3;
+}
+
+// Encapsulates the Target state.
+message TargetState {
+ // Details about Agones fleets.
+ repeated TargetDetails details = 1;
+}
+
+// Details of the deployed Agones fleet.
+message DeployedFleetDetails {
+ // Agones fleet specification and details.
+ message DeployedFleet {
+ // DeployedFleetStatus has details about the Agones fleets such as how many
+ // are running, how many allocated, and so on.
+ message DeployedFleetStatus {
+ // The number of GameServer replicas in the READY state in this fleet.
+ int64 ready_replicas = 1;
+
+ // The number of GameServer replicas in the ALLOCATED state in this fleet.
+ int64 allocated_replicas = 2;
+
+ // The number of GameServer replicas in the RESERVED state in this fleet.
+ // Reserved instances won't be deleted on scale down, but won't cause
+ // an autoscaler to scale up.
+ int64 reserved_replicas = 3;
+
+ // The total number of current GameServer replicas in this fleet.
+ int64 replicas = 4;
+ }
+
+ // The name of the Agones fleet.
+ string fleet = 1;
+
+ // The fleet spec retrieved from the Agones fleet.
+ string fleet_spec = 2;
+
+ // The source spec that is used to create the Agones fleet.
+ // The GameServerConfig resource may no longer exist in the system.
+ SpecSource spec_source = 3;
+
+ // The current status of the Agones fleet.
+ // Includes count of game servers in various states.
+ DeployedFleetStatus status = 5;
+ }
+
+ // Details about the Agones autoscaler.
+ message DeployedFleetAutoscaler {
+ // The name of the Agones autoscaler.
+ string autoscaler = 1;
+
+ // The source spec that is used to create the autoscaler.
+ // The GameServerConfig resource may no longer exist in the system.
+ SpecSource spec_source = 4;
+
+ // The autoscaler spec retrieved from Agones.
+ string fleet_autoscaler_spec = 3;
+ }
+
+ // Information about the Agones fleet.
+ DeployedFleet deployed_fleet = 1;
+
+ // Information about the Agones autoscaler for that fleet.
+ DeployedFleetAutoscaler deployed_autoscaler = 2;
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_clusters.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_clusters.proto
new file mode 100644
index 00000000000..0a91a635d80
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_clusters.proto
@@ -0,0 +1,287 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1beta;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/gaming/v1beta/common.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming";
+
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1beta";
+option php_namespace = "Google\\Cloud\\Gaming\\V1beta";
+
+// Request message for GameServerClustersService.ListGameServerClusters.
+message ListGameServerClustersRequest {
+ // Required. The parent resource name. Uses the form:
+ // "projects/{project}/locations/{location}/realms/{realm}".
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerCluster"
+ }
+ ];
+
+ // Optional. The maximum number of items to return. If unspecified, the
+ // server will pick an appropriate default. The server may return fewer items
+ // than requested. A caller should only rely on response's
+ // [next_page_token][google.cloud.gaming.v1beta.ListGameServerClustersResponse.next_page_token]
+ // to determine if there are more GameServerClusters left to be queried.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The next_page_token value returned from a previous List request,
+ // if any.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The filter to apply to list results.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Specifies the ordering of results following syntax at
+ // https://cloud.google.com/apis/design/design_patterns#sorting_order.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for GameServerClustersService.ListGameServerClusters.
+message ListGameServerClustersResponse {
+ // The list of game server clusters.
+ repeated GameServerCluster game_server_clusters = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+
+ // List of locations that could not be reached.
+ repeated string unreachable = 4;
+}
+
+// Request message for GameServerClustersService.GetGameServerCluster.
+message GetGameServerClusterRequest {
+ // Required. The name of the game server cluster to retrieve. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/realms/{realm-id}/gameServerClusters/{cluster}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerCluster"
+ }
+ ];
+}
+
+// Request message for GameServerClustersService.CreateGameServerCluster.
+message CreateGameServerClusterRequest {
+ // Required. The parent resource name. Uses the form:
+ // `projects/{project}/locations/{location}/realms/{realm-id}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerCluster"
+ }
+ ];
+
+ // Required. The ID of the game server cluster resource to be created.
+ string game_server_cluster_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The game server cluster resource to be created.
+ GameServerCluster game_server_cluster = 3
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for GameServerClustersService.PreviewCreateGameServerCluster.
+message PreviewCreateGameServerClusterRequest {
+ // Required. The parent resource name. Uses the form:
+ // `projects/{project}/locations/{location}/realms/{realm}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerCluster"
+ }
+ ];
+
+ // Required. The ID of the game server cluster resource to be created.
+ string game_server_cluster_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The game server cluster resource to be created.
+ GameServerCluster game_server_cluster = 3
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The target timestamp to compute the preview.
+ google.protobuf.Timestamp preview_time = 4
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for
+// GameServerClustersService.PreviewCreateGameServerCluster.
+message PreviewCreateGameServerClusterResponse {
+ // The ETag of the game server cluster.
+ string etag = 2;
+
+ // The target state.
+ TargetState target_state = 3;
+}
+
+// Request message for GameServerClustersService.DeleteGameServerCluster.
+message DeleteGameServerClusterRequest {
+ // Required. The name of the game server cluster to delete. Uses the form:
+ // `projects/{project}/locations/{location}/gameServerClusters/{cluster}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerCluster"
+ }
+ ];
+}
+
+// Request message for GameServerClustersService.PreviewDeleteGameServerCluster.
+message PreviewDeleteGameServerClusterRequest {
+ // Required. The name of the game server cluster to delete. Uses the form:
+ // `projects/{project}/locations/{location}/gameServerClusters/{cluster}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerCluster"
+ }
+ ];
+
+ // Optional. The target timestamp to compute the preview.
+ google.protobuf.Timestamp preview_time = 2
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for
+// GameServerClustersService.PreviewDeleteGameServerCluster.
+message PreviewDeleteGameServerClusterResponse {
+ // The ETag of the game server cluster.
+ string etag = 2;
+
+ // The target state.
+ TargetState target_state = 3;
+}
+
+// Request message for GameServerClustersService.UpdateGameServerCluster.
+message UpdateGameServerClusterRequest {
+ // Required. The game server cluster to be updated.
+ // Only fields specified in update_mask are updated.
+ GameServerCluster game_server_cluster = 1
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Mask of fields to update. At least one path must be supplied in
+ // this field. For the `FieldMask` definition, see
+ //
+ // https:
+ // //developers.google.com/protocol-buffers
+ // // /docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for GameServerClustersService.UpdateGameServerCluster.
+message PreviewUpdateGameServerClusterRequest {
+ // Required. The game server cluster to be updated.
+ // Only fields specified in update_mask are updated.
+ GameServerCluster game_server_cluster = 1
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Mask of fields to update. At least one path must be supplied in
+ // this field. For the `FieldMask` definition, see
+ //
+ // https:
+ // //developers.google.com/protocol-buffers
+ // // /docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The target timestamp to compute the preview.
+ google.protobuf.Timestamp preview_time = 3
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for GameServerClustersService.PreviewUpdateGameServerCluster
+message PreviewUpdateGameServerClusterResponse {
+ // The ETag of the game server cluster.
+ string etag = 2;
+
+ // The target state.
+ TargetState target_state = 3;
+}
+
+// The game server cluster connection information.
+message GameServerClusterConnectionInfo {
+ // The location of the Kubernetes cluster.
+ oneof cluster_reference {
+ // Reference to the GKE cluster where the game servers are installed.
+ GkeClusterReference gke_cluster_reference = 7;
+ }
+
+ // Namespace designated on the game server cluster where the Agones game
+ // server instances will be created. Existence of the namespace will be
+ // validated during creation.
+ string namespace = 5;
+}
+
+// A reference to a GKE cluster.
+message GkeClusterReference {
+ // The full or partial name of a GKE cluster, using one of the following
+ // forms:
+ // * `projects/{project}/locations/{location}/clusters/{cluster}`
+ // * `locations/{location}/clusters/{cluster}`
+ // * `{cluster}`
+ // If project and location are not specified, the project and location of the
+ // GameServerCluster resource are used to generate the full name of the
+ // GKE cluster.
+ string cluster = 1;
+}
+
+// A game server cluster resource.
+message GameServerCluster {
+ option (google.api.resource) = {
+ type: "gameservices.googleapis.com/GameServerCluster"
+ pattern: "projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}"
+ };
+
+ // Required. The resource name of the game server cluster. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/realms/{realm}/gameServerClusters/{cluster}`.
+ // For example,
+ //
+ // `projects/my-project/locations/{location}/realms/zanzibar/gameServerClusters/my-onprem-cluster`.
+ string name = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Output only. The creation time.
+ google.protobuf.Timestamp create_time = 2
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last-modified time.
+ google.protobuf.Timestamp update_time = 3
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The labels associated with this game server cluster. Each label is a
+ // key-value pair.
+ map labels = 4;
+
+ // The game server cluster connection information. This information is used to
+ // manage game server clusters.
+ GameServerClusterConnectionInfo connection_info = 5;
+
+ // ETag of the resource.
+ string etag = 6;
+
+ // Human readable description of the cluster.
+ string description = 7;
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_clusters_service.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_clusters_service.proto
new file mode 100644
index 00000000000..18b374b694d
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_clusters_service.proto
@@ -0,0 +1,123 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1beta;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/cloud/gaming/v1beta/game_server_clusters.proto";
+import "google/longrunning/operations.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming";
+
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1beta";
+option php_namespace = "Google\\Cloud\\Gaming\\V1beta";
+
+// The game server cluster maps to Kubernetes clusters running Agones and is
+// used to manage fleets within clusters.
+service GameServerClustersService {
+ option (google.api.default_host) = "gameservices.googleapis.com";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists game server clusters in a given project and location.
+ rpc ListGameServerClusters(ListGameServerClustersRequest)
+ returns (ListGameServerClustersResponse) {
+ option (google.api.http) = {
+ get: "/v1beta/{parent=projects/*/locations/*/realms/*}/gameServerClusters"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single game server cluster.
+ rpc GetGameServerCluster(GetGameServerClusterRequest)
+ returns (GameServerCluster) {
+ option (google.api.http) = {
+ get: "/v1beta/{name=projects/*/locations/*/realms/*/gameServerClusters/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new game server cluster in a given project and location.
+ rpc CreateGameServerCluster(CreateGameServerClusterRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1beta/{parent=projects/*/locations/*/realms/*}/gameServerClusters"
+ body: "game_server_cluster"
+ };
+ option (google.api.method_signature) =
+ "parent,game_server_cluster,game_server_cluster_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "GameServerCluster"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Previews creation of a new game server cluster in a given project and
+ // location.
+ rpc PreviewCreateGameServerCluster(PreviewCreateGameServerClusterRequest)
+ returns (PreviewCreateGameServerClusterResponse) {
+ option (google.api.http) = {
+ post: "/v1beta/{parent=projects/*/locations/*/realms/*}/gameServerClusters:previewCreate"
+ body: "game_server_cluster"
+ };
+ }
+
+ // Deletes a single game server cluster.
+ rpc DeleteGameServerCluster(DeleteGameServerClusterRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1beta/{name=projects/*/locations/*/realms/*/gameServerClusters/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Previews deletion of a single game server cluster.
+ rpc PreviewDeleteGameServerCluster(PreviewDeleteGameServerClusterRequest)
+ returns (PreviewDeleteGameServerClusterResponse) {
+ option (google.api.http) = {
+ delete: "/v1beta/{name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewDelete"
+ };
+ }
+
+ // Patches a single game server cluster.
+ rpc UpdateGameServerCluster(UpdateGameServerClusterRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1beta/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}"
+ body: "game_server_cluster"
+ };
+ option (google.api.method_signature) = "game_server_cluster,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "GameServerCluster"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Previews updating a GameServerCluster.
+ rpc PreviewUpdateGameServerCluster(PreviewUpdateGameServerClusterRequest)
+ returns (PreviewUpdateGameServerClusterResponse) {
+ option (google.api.http) = {
+ patch: "/v1beta/{game_server_cluster.name=projects/*/locations/*/realms/*/gameServerClusters/*}:previewUpdate"
+ body: "game_server_cluster"
+ };
+ }
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_configs.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_configs.proto
new file mode 100644
index 00000000000..1ffc0c816ef
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_configs.proto
@@ -0,0 +1,184 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1beta;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/gaming/v1beta/common.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming";
+
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1beta";
+option php_namespace = "Google\\Cloud\\Gaming\\V1beta";
+
+// Request message for GameServerConfigsService.ListGameServerConfigs.
+message ListGameServerConfigsRequest {
+ // Required. The parent resource name. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/*`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerConfig"
+ }
+ ];
+
+ // Optional. The maximum number of items to return. If unspecified, server
+ // will pick an appropriate default. Server may return fewer items than
+ // requested. A caller should only rely on response's
+ // [next_page_token][google.cloud.gaming.v1beta.ListGameServerConfigsResponse.next_page_token]
+ // to determine if there are more GameServerConfigs left to be queried.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The next_page_token value returned from a previous list request,
+ // if any.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The filter to apply to list results.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Specifies the ordering of results following syntax at
+ // https://cloud.google.com/apis/design/design_patterns#sorting_order.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for GameServerConfigsService.ListGameServerConfigs.
+message ListGameServerConfigsResponse {
+ // The list of game server configs.
+ repeated GameServerConfig game_server_configs = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+
+ // List of locations that could not be reached.
+ repeated string unreachable = 4;
+}
+
+// Request message for GameServerConfigsService.GetGameServerConfig.
+message GetGameServerConfigRequest {
+ // Required. The name of the game server config to retrieve. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerConfig"
+ }
+ ];
+}
+
+// Request message for GameServerConfigsService.CreateGameServerConfig.
+message CreateGameServerConfigRequest {
+ // Required. The parent resource name. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerConfig"
+ }
+ ];
+
+ // Required. The ID of the game server config resource to be created.
+ string config_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The game server config resource to be created.
+ GameServerConfig game_server_config = 3
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for GameServerConfigsService.DeleteGameServerConfig.
+message DeleteGameServerConfigRequest {
+ // Required. The name of the game server config to delete. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerConfig"
+ }
+ ];
+}
+
+// Autoscaling config for an Agones fleet.
+message ScalingConfig {
+ // Required. The name of the Scaling Config
+ string name = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Agones fleet autoscaler spec. Example spec:
+ // https://agones.dev/site/docs/reference/fleetautoscaler/
+ string fleet_autoscaler_spec = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Labels used to identify the game server clusters to which this Agones
+ // scaling config applies. A game server cluster is subject to this Agones
+ // scaling config if its labels match any of the selector entries.
+ repeated LabelSelector selectors = 4;
+
+ // The schedules to which this Scaling Config applies.
+ repeated Schedule schedules = 5;
+}
+
+// Fleet configs for Agones.
+message FleetConfig {
+ // Agones fleet spec. Example spec:
+ // `https://agones.dev/site/docs/reference/fleet/`.
+ string fleet_spec = 1;
+
+ // The name of the FleetConfig.
+ string name = 2;
+}
+
+// A game server config resource.
+message GameServerConfig {
+ option (google.api.resource) = {
+ type: "gameservices.googleapis.com/GameServerConfig"
+ pattern: "projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}"
+ };
+
+ // The resource name of the game server config. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/configs/{config}`.
+ // For example,
+ //
+ // `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`.
+ string name = 1;
+
+ // Output only. The creation time.
+ google.protobuf.Timestamp create_time = 2
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last-modified time.
+ google.protobuf.Timestamp update_time = 3
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The labels associated with this game server config. Each label is a
+ // key-value pair.
+ map labels = 4;
+
+ // FleetConfig contains a list of Agones fleet specs. Only one FleetConfig
+ // is allowed.
+ repeated FleetConfig fleet_configs = 5;
+
+ // The autoscaling settings.
+ repeated ScalingConfig scaling_configs = 6;
+
+ // The description of the game server config.
+ string description = 7;
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_configs_service.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_configs_service.proto
new file mode 100644
index 00000000000..20a2c888eec
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_configs_service.proto
@@ -0,0 +1,84 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1beta;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/cloud/gaming/v1beta/game_server_configs.proto";
+import "google/longrunning/operations.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming";
+
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1beta";
+option php_namespace = "Google\\Cloud\\Gaming\\V1beta";
+
+// The game server config configures the game servers in an Agones fleet.
+service GameServerConfigsService {
+ option (google.api.default_host) = "gameservices.googleapis.com";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists game server configs in a given project, location, and game server
+ // deployment.
+ rpc ListGameServerConfigs(ListGameServerConfigsRequest)
+ returns (ListGameServerConfigsResponse) {
+ option (google.api.http) = {
+ get: "/v1beta/{parent=projects/*/locations/*/gameServerDeployments/*}/configs"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single game server config.
+ rpc GetGameServerConfig(GetGameServerConfigRequest)
+ returns (GameServerConfig) {
+ option (google.api.http) = {
+ get: "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new game server config in a given project, location, and game
+ // server deployment. Game server configs are immutable, and are not applied
+ // until referenced in the game server deployment rollout resource.
+ rpc CreateGameServerConfig(CreateGameServerConfigRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1beta/{parent=projects/*/locations/*/gameServerDeployments/*}/configs"
+ body: "game_server_config"
+ };
+ option (google.api.method_signature) = "parent,game_server_config";
+ option (google.longrunning.operation_info) = {
+ response_type: "GameServerConfig"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Deletes a single game server config. The deletion will fail if the game
+ // server config is referenced in a game server deployment rollout.
+ rpc DeleteGameServerConfig(DeleteGameServerConfigRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*/configs/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_deployments.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_deployments.proto
new file mode 100644
index 00000000000..01e8fef934a
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_deployments.proto
@@ -0,0 +1,319 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1beta;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/gaming/v1beta/common.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming";
+
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1beta";
+option php_namespace = "Google\\Cloud\\Gaming\\V1beta";
+
+// Request message for GameServerDeploymentsService.ListGameServerDeployments.
+message ListGameServerDeploymentsRequest {
+ // Required. The parent resource name. Uses the form:
+ // `projects/{project}/locations/{location}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerDeployment"
+ }
+ ];
+
+ // Optional. The maximum number of items to return. If unspecified, the
+ // server will pick an appropriate default. The server may return fewer items
+ // than requested. A caller should only rely on response's
+ // [next_page_token][google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse.next_page_token]
+ // to determine if there are more GameServerDeployments left to be queried.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The next_page_token value returned from a previous List request,
+ // if any.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The filter to apply to list results.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Specifies the ordering of results following syntax at
+ // https://cloud.google.com/apis/design/design_patterns#sorting_order.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for GameServerDeploymentsService.ListGameServerDeployments.
+message ListGameServerDeploymentsResponse {
+ // The list of game server deployments.
+ repeated GameServerDeployment game_server_deployments = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+
+ // List of locations that could not be reached.
+ repeated string unreachable = 4;
+}
+
+// Request message for GameServerDeploymentsService.GetGameServerDeployment.
+message GetGameServerDeploymentRequest {
+ // Required. The name of the game server delpoyment to retrieve. Uses the
+ // form:
+ //
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerDeployment"
+ }
+ ];
+}
+
+// Request message for
+// GameServerDeploymentsService.GetGameServerDeploymentRollout.
+message GetGameServerDeploymentRolloutRequest {
+ // Required. The name of the game server delpoyment to retrieve. Uses the
+ // form:
+ //
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerDeployment"
+ }
+ ];
+}
+
+// Request message for GameServerDeploymentsService.CreateGameServerDeployment.
+message CreateGameServerDeploymentRequest {
+ // Required. The parent resource name. Uses the form:
+ // `projects/{project}/locations/{location}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/GameServerDeployment"
+ }
+ ];
+
+ // Required. The ID of the game server delpoyment resource to be created.
+ string deployment_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The game server delpoyment resource to be created.
+ GameServerDeployment game_server_deployment = 3
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for GameServerDeploymentsService.DeleteGameServerDeployment.
+message DeleteGameServerDeploymentRequest {
+ // Required. The name of the game server delpoyment to delete. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/GameServerDeployment"
+ }
+ ];
+}
+
+// Request message for GameServerDeploymentsService.UpdateGameServerDeployment.
+// Only allows updates for labels.
+message UpdateGameServerDeploymentRequest {
+ // Required. The game server delpoyment to be updated.
+ // Only fields specified in update_mask are updated.
+ GameServerDeployment game_server_deployment = 1
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Mask of fields to update. At least one path must be supplied in
+ // this field. For the `FieldMask` definition, see
+ //
+ // https:
+ // //developers.google.com/protocol-buffers
+ // // /docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for
+// GameServerDeploymentsService.UpdateGameServerRolloutDeployment.
+message UpdateGameServerDeploymentRolloutRequest {
+ // Required. The game server delpoyment rollout to be updated.
+ // Only fields specified in update_mask are updated.
+ GameServerDeploymentRollout rollout = 1
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Required. Mask of fields to update. At least one path must be supplied in
+ // this field. For the `FieldMask` definition, see
+ //
+ // https:
+ // //developers.google.com/protocol-buffers
+ // // /docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for GameServerDeploymentsService.FetchDeploymentState.
+message FetchDeploymentStateRequest {
+ // Required. The name of the game server delpoyment. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
+ string name = 1 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Response message for GameServerDeploymentsService.FetchDeploymentState.
+message FetchDeploymentStateResponse {
+ // The game server cluster changes made by the game server deployment.
+ message DeployedClusterState {
+ // The name of the cluster.
+ string cluster = 1;
+
+ // The details about the Agones fleets and autoscalers created in the
+ // game server cluster.
+ repeated DeployedFleetDetails fleet_details = 2;
+ }
+
+ // The state of the game server deployment in each game server cluster.
+ repeated DeployedClusterState cluster_state = 1;
+
+ // List of locations that could not be reached.
+ repeated string unavailable = 2;
+}
+
+// A game server deployment resource.
+message GameServerDeployment {
+ option (google.api.resource) = {
+ type: "gameservices.googleapis.com/GameServerDeployment"
+ pattern: "projects/{project}/locations/{location}/gameServerDeployments/{deployment}"
+ };
+
+ // The resource name of the game server deployment. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}`.
+ // For example,
+ //
+ // `projects/my-project/locations/{location}/gameServerDeployments/my-deployment`.
+ string name = 1;
+
+ // Output only. The creation time.
+ google.protobuf.Timestamp create_time = 2
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last-modified time.
+ google.protobuf.Timestamp update_time = 3
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The labels associated with this game server deployment. Each label is a
+ // key-value pair.
+ map labels = 4;
+
+ // ETag of the resource.
+ string etag = 7;
+
+ // Human readable description of the game server delpoyment.
+ string description = 8;
+}
+
+// A game server config override.
+message GameServerConfigOverride {
+ // Selector chooses the game server config targets.
+ oneof selector {
+ // Selector for choosing applicable realms.
+ RealmSelector realms_selector = 1;
+ }
+
+ // Selects the game server config and how it should be applied.
+ oneof change {
+ // The game server config for this override.
+ string config_version = 100;
+ }
+}
+
+// The game server deployment rollout which represents the desired rollout
+// state.
+message GameServerDeploymentRollout {
+ option (google.api.resource) = {
+ type: "gameservices.googleapis.com/GameServerDeploymentRollout"
+ pattern: "projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout"
+ };
+
+ // The resource name of the game server deployment rollout. Uses the form:
+ //
+ // `projects/{project}/locations/{location}/gameServerDeployments/{deployment}/rollout`.
+ // For example,
+ //
+ // `projects/my-project/locations/{location}/gameServerDeployments/my-deployment/rollout`.
+ string name = 1;
+
+ // Output only. The creation time.
+ google.protobuf.Timestamp create_time = 2
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last-modified time.
+ google.protobuf.Timestamp update_time = 3
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The default game server config is applied to all realms unless overridden
+ // in the rollout. For example,
+ //
+ // `projects/my-project/locations/global/gameServerDeployments/my-game/configs/my-config`.
+ string default_game_server_config = 4;
+
+ // Contains the game server config rollout overrides. Overrides are processed
+ // in the order they are listed. Once a match is found for a realm, the rest
+ // of the list is not processed.
+ repeated GameServerConfigOverride game_server_config_overrides = 5;
+
+ // ETag of the resource.
+ string etag = 6;
+}
+
+// Request message for PreviewGameServerDeploymentRollout.
+message PreviewGameServerDeploymentRolloutRequest {
+ // Required. The game server deployment rollout to be updated.
+ // Only fields specified in update_mask are updated.
+ GameServerDeploymentRollout rollout = 1
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. Mask of fields to update. At least one path must be supplied in
+ // this field. For the `FieldMask` definition, see
+ //
+ // https:
+ // //developers.google.com/protocol-buffers
+ // // /docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2
+ [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The target timestamp to compute the preview. Defaults to the
+ // immediately after the proposed rollout completes.
+ google.protobuf.Timestamp preview_time = 3
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for PreviewGameServerDeploymentRollout.
+// This has details about the Agones fleet and autoscaler to be actuated.
+message PreviewGameServerDeploymentRolloutResponse {
+ // Locations that could not be reached on this request.
+ repeated string unavailable = 2;
+
+ // ETag of the game server deployment.
+ string etag = 3;
+
+ // The target state.
+ TargetState target_state = 4;
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_deployments_service.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_deployments_service.proto
new file mode 100644
index 00000000000..0b3503f46ca
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/game_server_deployments_service.proto
@@ -0,0 +1,146 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1beta;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/cloud/gaming/v1beta/game_server_deployments.proto";
+import "google/longrunning/operations.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming";
+
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1beta";
+option php_namespace = "Google\\Cloud\\Gaming\\V1beta";
+
+// The game server deployment is used to control the deployment of Agones
+// fleets.
+service GameServerDeploymentsService {
+ option (google.api.default_host) = "gameservices.googleapis.com";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists game server deployments in a given project and location.
+ rpc ListGameServerDeployments(ListGameServerDeploymentsRequest)
+ returns (ListGameServerDeploymentsResponse) {
+ option (google.api.http) = {
+ get: "/v1beta/{parent=projects/*/locations/*}/gameServerDeployments"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single game server deployment.
+ rpc GetGameServerDeployment(GetGameServerDeploymentRequest)
+ returns (GameServerDeployment) {
+ option (google.api.http) = {
+ get: "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new game server deployment in a given project and location.
+ rpc CreateGameServerDeployment(CreateGameServerDeploymentRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1beta/{parent=projects/*/locations/*}/gameServerDeployments"
+ body: "game_server_deployment"
+ };
+ option (google.api.method_signature) = "parent,game_server_deployment";
+ option (google.longrunning.operation_info) = {
+ response_type: "GameServerDeployment"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Deletes a single game server deployment.
+ rpc DeleteGameServerDeployment(DeleteGameServerDeploymentRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Patches a game server deployment.
+ rpc UpdateGameServerDeployment(UpdateGameServerDeploymentRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1beta/{game_server_deployment.name=projects/*/locations/*/gameServerDeployments/*}"
+ body: "game_server_deployment"
+ };
+ option (google.api.method_signature) = "game_server_deployment,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "GameServerDeployment"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Gets details a single game server deployment rollout.
+ rpc GetGameServerDeploymentRollout(GetGameServerDeploymentRolloutRequest)
+ returns (GameServerDeploymentRollout) {
+ option (google.api.http) = {
+ get: "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}/rollout"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Patches a single game server deployment rollout.
+ // The method will not return an error if the update does not affect any
+ // existing realms. For example - if the default_game_server_config is changed
+ // but all existing realms use the override, that is valid. Similarly, if a
+ // non existing realm is explicitly called out in game_server_config_overrides
+ // field, that will also not result in an error.
+ rpc UpdateGameServerDeploymentRollout(
+ UpdateGameServerDeploymentRolloutRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1beta/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout"
+ body: "rollout"
+ };
+ option (google.api.method_signature) = "rollout,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "GameServerDeployment"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Previews the game server deployment rollout. This API does not mutate the
+ // rollout resource.
+ rpc PreviewGameServerDeploymentRollout(
+ PreviewGameServerDeploymentRolloutRequest)
+ returns (PreviewGameServerDeploymentRolloutResponse) {
+ option (google.api.http) = {
+ patch: "/v1beta/{rollout.name=projects/*/locations/*/gameServerDeployments/*}/rollout:preview"
+ body: "rollout"
+ };
+ }
+
+ // Retrieves information about the current state of the game server
+ // deployment. Gathers all the Agones fleets and Agones autoscalers,
+ // including fleets running an older version of the game server deployment.
+ rpc FetchDeploymentState(FetchDeploymentStateRequest)
+ returns (FetchDeploymentStateResponse) {
+ option (google.api.http) = {
+ post: "/v1beta/{name=projects/*/locations/*/gameServerDeployments/*}:fetchDeploymentState"
+ body: "*"
+ };
+ }
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/realms.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/realms.proto
new file mode 100644
index 00000000000..e80bae0a9f4
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/realms.proto
@@ -0,0 +1,194 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1beta;
+
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
+import "google/cloud/gaming/v1beta/common.proto";
+import "google/protobuf/field_mask.proto";
+import "google/protobuf/timestamp.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming";
+
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1beta";
+option php_namespace = "Google\\Cloud\\Gaming\\V1beta";
+
+// Request message for RealmsService.ListRealms.
+message ListRealmsRequest {
+ // Required. The parent resource name. Uses the form:
+ // `projects/{project}/locations/{location}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/Realm"
+ }
+ ];
+
+ // Optional. The maximum number of items to return. If unspecified, server
+ // will pick an appropriate default. Server may return fewer items than
+ // requested. A caller should only rely on response's
+ // [next_page_token][google.cloud.gaming.v1beta.ListRealmsResponse.next_page_token]
+ // to determine if there are more realms left to be queried.
+ int32 page_size = 2 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The next_page_token value returned from a previous List request,
+ // if any.
+ string page_token = 3 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. The filter to apply to list results.
+ string filter = 4 [(google.api.field_behavior) = OPTIONAL];
+
+ // Optional. Specifies the ordering of results following syntax at
+ // https://cloud.google.com/apis/design/design_patterns#sorting_order.
+ string order_by = 5 [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for RealmsService.ListRealms.
+message ListRealmsResponse {
+ // The list of realms.
+ repeated Realm realms = 1;
+
+ // Token to retrieve the next page of results, or empty if there are no more
+ // results in the list.
+ string next_page_token = 2;
+
+ // List of locations that could not be reached.
+ repeated string unreachable = 3;
+}
+
+// Request message for RealmsService.GetRealm.
+message GetRealmRequest {
+ // Required. The name of the realm to retrieve. Uses the form:
+ // `projects/{project}/locations/{location}/realms/{realm}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/Realm"
+ }
+ ];
+}
+
+// Request message for RealmsService.CreateRealm.
+message CreateRealmRequest {
+ // Required. The parent resource name. Uses the form:
+ // `projects/{project}/locations/{location}`.
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "gameservices.googleapis.com/Realm"
+ }
+ ];
+
+ // Required. The ID of the realm resource to be created.
+ string realm_id = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The realm resource to be created.
+ Realm realm = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for RealmsService.DeleteRealm.
+message DeleteRealmRequest {
+ // Required. The name of the realm to delete. Uses the form:
+ // `projects/{project}/locations/{location}/realms/{realm}`.
+ string name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "gameservices.googleapis.com/Realm"
+ }
+ ];
+}
+
+// Request message for RealmsService.UpdateRealm.
+message UpdateRealmRequest {
+ // Required. The realm to be updated.
+ // Only fields specified in update_mask are updated.
+ Realm realm = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The update mask applies to the resource. For the `FieldMask`
+ // definition, see
+ //
+ // https:
+ // //developers.google.com/protocol-buffers
+ // // /docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2
+ [(google.api.field_behavior) = REQUIRED];
+}
+
+// Request message for RealmsService.PreviewRealmUpdate.
+message PreviewRealmUpdateRequest {
+ // Required. The realm to be updated.
+ // Only fields specified in update_mask are updated.
+ Realm realm = 1 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The update mask applies to the resource. For the `FieldMask`
+ // definition, see
+ //
+ // https:
+ // //developers.google.com/protocol-buffers
+ // // /docs/reference/google.protobuf#fieldmask
+ google.protobuf.FieldMask update_mask = 2
+ [(google.api.field_behavior) = REQUIRED];
+
+ // Optional. The target timestamp to compute the preview.
+ google.protobuf.Timestamp preview_time = 3
+ [(google.api.field_behavior) = OPTIONAL];
+}
+
+// Response message for RealmsService.PreviewRealmUpdate.
+message PreviewRealmUpdateResponse {
+ // ETag of the realm.
+ string etag = 2;
+
+ // The target state.
+ TargetState target_state = 3;
+}
+
+// A realm resource.
+message Realm {
+ option (google.api.resource) = {
+ type: "gameservices.googleapis.com/Realm"
+ pattern: "projects/{project}/locations/{location}/realms/{realm}"
+ };
+
+ // The resource name of the realm. Uses the form:
+ // `projects/{project}/locations/{location}/realms/{realm}`. For
+ // example, `projects/my-project/locations/{location}/realms/my-realm`.
+ string name = 1;
+
+ // Output only. The creation time.
+ google.protobuf.Timestamp create_time = 2
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // Output only. The last-modified time.
+ google.protobuf.Timestamp update_time = 3
+ [(google.api.field_behavior) = OUTPUT_ONLY];
+
+ // The labels associated with this realm. Each label is a key-value pair.
+ map labels = 4;
+
+ // Required. Time zone where all policies targeting this realm are evaluated.
+ // The value of this field must be from the IANA time zone database:
+ // https://www.iana.org/time-zones.
+ string time_zone = 6 [(google.api.field_behavior) = REQUIRED];
+
+ // ETag of the resource.
+ string etag = 7;
+
+ // Human readable description of the realm.
+ string description = 8;
+}
diff --git a/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/realms_service.proto b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/realms_service.proto
new file mode 100644
index 00000000000..eb6cca9312f
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/google/cloud/gaming/v1beta/realms_service.proto
@@ -0,0 +1,99 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+syntax = "proto3";
+
+package google.cloud.gaming.v1beta;
+
+import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/cloud/gaming/v1beta/realms.proto";
+import "google/longrunning/operations.proto";
+
+option go_package = "google.golang.org/genproto/googleapis/cloud/gaming/v1beta;gaming";
+
+option java_multiple_files = true;
+option java_package = "com.google.cloud.gaming.v1beta";
+option php_namespace = "Google\\Cloud\\Gaming\\V1beta";
+
+// A realm is a grouping of game server clusters that are considered
+// interchangeable.
+service RealmsService {
+ option (google.api.default_host) = "gameservices.googleapis.com";
+ option (google.api.oauth_scopes) =
+ "https://www.googleapis.com/auth/cloud-platform";
+
+ // Lists realms in a given project and location.
+ rpc ListRealms(ListRealmsRequest) returns (ListRealmsResponse) {
+ option (google.api.http) = {
+ get: "/v1beta/{parent=projects/*/locations/*}/realms"
+ };
+ option (google.api.method_signature) = "parent";
+ }
+
+ // Gets details of a single realm.
+ rpc GetRealm(GetRealmRequest) returns (Realm) {
+ option (google.api.http) = {
+ get: "/v1beta/{name=projects/*/locations/*/realms/*}"
+ };
+ option (google.api.method_signature) = "name";
+ }
+
+ // Creates a new realm in a given project and location.
+ rpc CreateRealm(CreateRealmRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1beta/{parent=projects/*/locations/*}/realms"
+ body: "realm"
+ };
+ option (google.api.method_signature) = "parent,realm,realm_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "Realm"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Deletes a single realm.
+ rpc DeleteRealm(DeleteRealmRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ delete: "/v1beta/{name=projects/*/locations/*/realms/*}"
+ };
+ option (google.api.method_signature) = "name";
+ option (google.longrunning.operation_info) = {
+ response_type: "google.protobuf.Empty"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Patches a single realm.
+ rpc UpdateRealm(UpdateRealmRequest) returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ patch: "/v1beta/{realm.name=projects/*/locations/*/realms/*}"
+ body: "realm"
+ };
+ option (google.api.method_signature) = "realm,update_mask";
+ option (google.longrunning.operation_info) = {
+ response_type: "Realm"
+ metadata_type: "OperationMetadata"
+ };
+ }
+
+ // Previews patches to a single realm.
+ rpc PreviewRealmUpdate(PreviewRealmUpdateRequest)
+ returns (PreviewRealmUpdateResponse) {
+ option (google.api.http) = {
+ patch: "/v1beta/{realm.name=projects/*/locations/*/realms/*}:previewUpdate"
+ body: "realm"
+ };
+ }
+}
diff --git a/packages/google-cloud-gaming/protos/protos.d.ts b/packages/google-cloud-gaming/protos/protos.d.ts
new file mode 100644
index 00000000000..33c855a872c
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/protos.d.ts
@@ -0,0 +1,20784 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+import type {protobuf as $protobuf} from "google-gax";
+import Long = require("long");
+/** Namespace google. */
+export namespace google {
+
+ /** Namespace cloud. */
+ namespace cloud {
+
+ /** Namespace gaming. */
+ namespace gaming {
+
+ /** Namespace v1. */
+ namespace v1 {
+
+ /** Properties of an OperationMetadata. */
+ interface IOperationMetadata {
+
+ /** OperationMetadata createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata target */
+ target?: (string|null);
+
+ /** OperationMetadata verb */
+ verb?: (string|null);
+
+ /** OperationMetadata statusMessage */
+ statusMessage?: (string|null);
+
+ /** OperationMetadata requestedCancellation */
+ requestedCancellation?: (boolean|null);
+
+ /** OperationMetadata apiVersion */
+ apiVersion?: (string|null);
+
+ /** OperationMetadata unreachable */
+ unreachable?: (string[]|null);
+
+ /** OperationMetadata operationStatus */
+ operationStatus?: ({ [k: string]: google.cloud.gaming.v1.IOperationStatus }|null);
+ }
+
+ /** Represents an OperationMetadata. */
+ class OperationMetadata implements IOperationMetadata {
+
+ /**
+ * Constructs a new OperationMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IOperationMetadata);
+
+ /** OperationMetadata createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata target. */
+ public target: string;
+
+ /** OperationMetadata verb. */
+ public verb: string;
+
+ /** OperationMetadata statusMessage. */
+ public statusMessage: string;
+
+ /** OperationMetadata requestedCancellation. */
+ public requestedCancellation: boolean;
+
+ /** OperationMetadata apiVersion. */
+ public apiVersion: string;
+
+ /** OperationMetadata unreachable. */
+ public unreachable: string[];
+
+ /** OperationMetadata operationStatus. */
+ public operationStatus: { [k: string]: google.cloud.gaming.v1.IOperationStatus };
+
+ /**
+ * Creates a new OperationMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OperationMetadata instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IOperationMetadata): google.cloud.gaming.v1.OperationMetadata;
+
+ /**
+ * Encodes the specified OperationMetadata message. Does not implicitly {@link google.cloud.gaming.v1.OperationMetadata.verify|verify} messages.
+ * @param message OperationMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OperationMetadata message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.OperationMetadata.verify|verify} messages.
+ * @param message OperationMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OperationMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.OperationMetadata;
+
+ /**
+ * Decodes an OperationMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.OperationMetadata;
+
+ /**
+ * Verifies an OperationMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OperationMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OperationMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.OperationMetadata;
+
+ /**
+ * Creates a plain object from an OperationMetadata message. Also converts values to other types if specified.
+ * @param message OperationMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.OperationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OperationMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OperationMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OperationStatus. */
+ interface IOperationStatus {
+
+ /** OperationStatus done */
+ done?: (boolean|null);
+
+ /** OperationStatus errorCode */
+ errorCode?: (google.cloud.gaming.v1.OperationStatus.ErrorCode|keyof typeof google.cloud.gaming.v1.OperationStatus.ErrorCode|null);
+
+ /** OperationStatus errorMessage */
+ errorMessage?: (string|null);
+ }
+
+ /** Represents an OperationStatus. */
+ class OperationStatus implements IOperationStatus {
+
+ /**
+ * Constructs a new OperationStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IOperationStatus);
+
+ /** OperationStatus done. */
+ public done: boolean;
+
+ /** OperationStatus errorCode. */
+ public errorCode: (google.cloud.gaming.v1.OperationStatus.ErrorCode|keyof typeof google.cloud.gaming.v1.OperationStatus.ErrorCode);
+
+ /** OperationStatus errorMessage. */
+ public errorMessage: string;
+
+ /**
+ * Creates a new OperationStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OperationStatus instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IOperationStatus): google.cloud.gaming.v1.OperationStatus;
+
+ /**
+ * Encodes the specified OperationStatus message. Does not implicitly {@link google.cloud.gaming.v1.OperationStatus.verify|verify} messages.
+ * @param message OperationStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IOperationStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OperationStatus message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.OperationStatus.verify|verify} messages.
+ * @param message OperationStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IOperationStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OperationStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OperationStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.OperationStatus;
+
+ /**
+ * Decodes an OperationStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OperationStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.OperationStatus;
+
+ /**
+ * Verifies an OperationStatus message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OperationStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OperationStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.OperationStatus;
+
+ /**
+ * Creates a plain object from an OperationStatus message. Also converts values to other types if specified.
+ * @param message OperationStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.OperationStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OperationStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OperationStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace OperationStatus {
+
+ /** ErrorCode enum. */
+ enum ErrorCode {
+ ERROR_CODE_UNSPECIFIED = 0,
+ INTERNAL_ERROR = 1,
+ PERMISSION_DENIED = 2,
+ CLUSTER_CONNECTION = 3
+ }
+ }
+
+ /** Properties of a LabelSelector. */
+ interface ILabelSelector {
+
+ /** LabelSelector labels */
+ labels?: ({ [k: string]: string }|null);
+ }
+
+ /** Represents a LabelSelector. */
+ class LabelSelector implements ILabelSelector {
+
+ /**
+ * Constructs a new LabelSelector.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.ILabelSelector);
+
+ /** LabelSelector labels. */
+ public labels: { [k: string]: string };
+
+ /**
+ * Creates a new LabelSelector instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LabelSelector instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.ILabelSelector): google.cloud.gaming.v1.LabelSelector;
+
+ /**
+ * Encodes the specified LabelSelector message. Does not implicitly {@link google.cloud.gaming.v1.LabelSelector.verify|verify} messages.
+ * @param message LabelSelector message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.ILabelSelector, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LabelSelector message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.LabelSelector.verify|verify} messages.
+ * @param message LabelSelector message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.ILabelSelector, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LabelSelector message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LabelSelector
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.LabelSelector;
+
+ /**
+ * Decodes a LabelSelector message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LabelSelector
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.LabelSelector;
+
+ /**
+ * Verifies a LabelSelector message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LabelSelector message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LabelSelector
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.LabelSelector;
+
+ /**
+ * Creates a plain object from a LabelSelector message. Also converts values to other types if specified.
+ * @param message LabelSelector
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.LabelSelector, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LabelSelector to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LabelSelector
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RealmSelector. */
+ interface IRealmSelector {
+
+ /** RealmSelector realms */
+ realms?: (string[]|null);
+ }
+
+ /** Represents a RealmSelector. */
+ class RealmSelector implements IRealmSelector {
+
+ /**
+ * Constructs a new RealmSelector.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IRealmSelector);
+
+ /** RealmSelector realms. */
+ public realms: string[];
+
+ /**
+ * Creates a new RealmSelector instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RealmSelector instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IRealmSelector): google.cloud.gaming.v1.RealmSelector;
+
+ /**
+ * Encodes the specified RealmSelector message. Does not implicitly {@link google.cloud.gaming.v1.RealmSelector.verify|verify} messages.
+ * @param message RealmSelector message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IRealmSelector, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RealmSelector message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.RealmSelector.verify|verify} messages.
+ * @param message RealmSelector message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IRealmSelector, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RealmSelector message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RealmSelector
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.RealmSelector;
+
+ /**
+ * Decodes a RealmSelector message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RealmSelector
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.RealmSelector;
+
+ /**
+ * Verifies a RealmSelector message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RealmSelector message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RealmSelector
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.RealmSelector;
+
+ /**
+ * Creates a plain object from a RealmSelector message. Also converts values to other types if specified.
+ * @param message RealmSelector
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.RealmSelector, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RealmSelector to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RealmSelector
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Schedule. */
+ interface ISchedule {
+
+ /** Schedule startTime */
+ startTime?: (google.protobuf.ITimestamp|null);
+
+ /** Schedule endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** Schedule cronJobDuration */
+ cronJobDuration?: (google.protobuf.IDuration|null);
+
+ /** Schedule cronSpec */
+ cronSpec?: (string|null);
+ }
+
+ /** Represents a Schedule. */
+ class Schedule implements ISchedule {
+
+ /**
+ * Constructs a new Schedule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.ISchedule);
+
+ /** Schedule startTime. */
+ public startTime?: (google.protobuf.ITimestamp|null);
+
+ /** Schedule endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** Schedule cronJobDuration. */
+ public cronJobDuration?: (google.protobuf.IDuration|null);
+
+ /** Schedule cronSpec. */
+ public cronSpec: string;
+
+ /**
+ * Creates a new Schedule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Schedule instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.ISchedule): google.cloud.gaming.v1.Schedule;
+
+ /**
+ * Encodes the specified Schedule message. Does not implicitly {@link google.cloud.gaming.v1.Schedule.verify|verify} messages.
+ * @param message Schedule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.ISchedule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Schedule message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.Schedule.verify|verify} messages.
+ * @param message Schedule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.ISchedule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Schedule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Schedule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.Schedule;
+
+ /**
+ * Decodes a Schedule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Schedule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.Schedule;
+
+ /**
+ * Verifies a Schedule message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Schedule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Schedule
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.Schedule;
+
+ /**
+ * Creates a plain object from a Schedule message. Also converts values to other types if specified.
+ * @param message Schedule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.Schedule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Schedule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Schedule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SpecSource. */
+ interface ISpecSource {
+
+ /** SpecSource gameServerConfigName */
+ gameServerConfigName?: (string|null);
+
+ /** SpecSource name */
+ name?: (string|null);
+ }
+
+ /** Represents a SpecSource. */
+ class SpecSource implements ISpecSource {
+
+ /**
+ * Constructs a new SpecSource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.ISpecSource);
+
+ /** SpecSource gameServerConfigName. */
+ public gameServerConfigName: string;
+
+ /** SpecSource name. */
+ public name: string;
+
+ /**
+ * Creates a new SpecSource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SpecSource instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.ISpecSource): google.cloud.gaming.v1.SpecSource;
+
+ /**
+ * Encodes the specified SpecSource message. Does not implicitly {@link google.cloud.gaming.v1.SpecSource.verify|verify} messages.
+ * @param message SpecSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.ISpecSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SpecSource message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.SpecSource.verify|verify} messages.
+ * @param message SpecSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.ISpecSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SpecSource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SpecSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.SpecSource;
+
+ /**
+ * Decodes a SpecSource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SpecSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.SpecSource;
+
+ /**
+ * Verifies a SpecSource message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SpecSource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SpecSource
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.SpecSource;
+
+ /**
+ * Creates a plain object from a SpecSource message. Also converts values to other types if specified.
+ * @param message SpecSource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.SpecSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SpecSource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SpecSource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TargetDetails. */
+ interface ITargetDetails {
+
+ /** TargetDetails gameServerClusterName */
+ gameServerClusterName?: (string|null);
+
+ /** TargetDetails gameServerDeploymentName */
+ gameServerDeploymentName?: (string|null);
+
+ /** TargetDetails fleetDetails */
+ fleetDetails?: (google.cloud.gaming.v1.TargetDetails.ITargetFleetDetails[]|null);
+ }
+
+ /** Represents a TargetDetails. */
+ class TargetDetails implements ITargetDetails {
+
+ /**
+ * Constructs a new TargetDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.ITargetDetails);
+
+ /** TargetDetails gameServerClusterName. */
+ public gameServerClusterName: string;
+
+ /** TargetDetails gameServerDeploymentName. */
+ public gameServerDeploymentName: string;
+
+ /** TargetDetails fleetDetails. */
+ public fleetDetails: google.cloud.gaming.v1.TargetDetails.ITargetFleetDetails[];
+
+ /**
+ * Creates a new TargetDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetDetails instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.ITargetDetails): google.cloud.gaming.v1.TargetDetails;
+
+ /**
+ * Encodes the specified TargetDetails message. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.verify|verify} messages.
+ * @param message TargetDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.ITargetDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetDetails message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.verify|verify} messages.
+ * @param message TargetDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.ITargetDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.TargetDetails;
+
+ /**
+ * Decodes a TargetDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.TargetDetails;
+
+ /**
+ * Verifies a TargetDetails message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TargetDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.TargetDetails;
+
+ /**
+ * Creates a plain object from a TargetDetails message. Also converts values to other types if specified.
+ * @param message TargetDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.TargetDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TargetDetails {
+
+ /** Properties of a TargetFleetDetails. */
+ interface ITargetFleetDetails {
+
+ /** TargetFleetDetails fleet */
+ fleet?: (google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleet|null);
+
+ /** TargetFleetDetails autoscaler */
+ autoscaler?: (google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler|null);
+ }
+
+ /** Represents a TargetFleetDetails. */
+ class TargetFleetDetails implements ITargetFleetDetails {
+
+ /**
+ * Constructs a new TargetFleetDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.TargetDetails.ITargetFleetDetails);
+
+ /** TargetFleetDetails fleet. */
+ public fleet?: (google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleet|null);
+
+ /** TargetFleetDetails autoscaler. */
+ public autoscaler?: (google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler|null);
+
+ /**
+ * Creates a new TargetFleetDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetFleetDetails instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.TargetDetails.ITargetFleetDetails): google.cloud.gaming.v1.TargetDetails.TargetFleetDetails;
+
+ /**
+ * Encodes the specified TargetFleetDetails message. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.verify|verify} messages.
+ * @param message TargetFleetDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.TargetDetails.ITargetFleetDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetFleetDetails message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.verify|verify} messages.
+ * @param message TargetFleetDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.TargetDetails.ITargetFleetDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetFleetDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetFleetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.TargetDetails.TargetFleetDetails;
+
+ /**
+ * Decodes a TargetFleetDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetFleetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.TargetDetails.TargetFleetDetails;
+
+ /**
+ * Verifies a TargetFleetDetails message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TargetFleetDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetFleetDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.TargetDetails.TargetFleetDetails;
+
+ /**
+ * Creates a plain object from a TargetFleetDetails message. Also converts values to other types if specified.
+ * @param message TargetFleetDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.TargetDetails.TargetFleetDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetFleetDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetFleetDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TargetFleetDetails {
+
+ /** Properties of a TargetFleet. */
+ interface ITargetFleet {
+
+ /** TargetFleet name */
+ name?: (string|null);
+
+ /** TargetFleet specSource */
+ specSource?: (google.cloud.gaming.v1.ISpecSource|null);
+ }
+
+ /** Represents a TargetFleet. */
+ class TargetFleet implements ITargetFleet {
+
+ /**
+ * Constructs a new TargetFleet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleet);
+
+ /** TargetFleet name. */
+ public name: string;
+
+ /** TargetFleet specSource. */
+ public specSource?: (google.cloud.gaming.v1.ISpecSource|null);
+
+ /**
+ * Creates a new TargetFleet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetFleet instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleet): google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet;
+
+ /**
+ * Encodes the specified TargetFleet message. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet.verify|verify} messages.
+ * @param message TargetFleet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetFleet message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet.verify|verify} messages.
+ * @param message TargetFleet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetFleet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetFleet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet;
+
+ /**
+ * Decodes a TargetFleet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetFleet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet;
+
+ /**
+ * Verifies a TargetFleet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TargetFleet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetFleet
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet;
+
+ /**
+ * Creates a plain object from a TargetFleet message. Also converts values to other types if specified.
+ * @param message TargetFleet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetFleet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetFleet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TargetFleetAutoscaler. */
+ interface ITargetFleetAutoscaler {
+
+ /** TargetFleetAutoscaler name */
+ name?: (string|null);
+
+ /** TargetFleetAutoscaler specSource */
+ specSource?: (google.cloud.gaming.v1.ISpecSource|null);
+ }
+
+ /** Represents a TargetFleetAutoscaler. */
+ class TargetFleetAutoscaler implements ITargetFleetAutoscaler {
+
+ /**
+ * Constructs a new TargetFleetAutoscaler.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler);
+
+ /** TargetFleetAutoscaler name. */
+ public name: string;
+
+ /** TargetFleetAutoscaler specSource. */
+ public specSource?: (google.cloud.gaming.v1.ISpecSource|null);
+
+ /**
+ * Creates a new TargetFleetAutoscaler instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetFleetAutoscaler instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler): google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler;
+
+ /**
+ * Encodes the specified TargetFleetAutoscaler message. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler.verify|verify} messages.
+ * @param message TargetFleetAutoscaler message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetFleetAutoscaler message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler.verify|verify} messages.
+ * @param message TargetFleetAutoscaler message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetFleetAutoscaler message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetFleetAutoscaler
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler;
+
+ /**
+ * Decodes a TargetFleetAutoscaler message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetFleetAutoscaler
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler;
+
+ /**
+ * Verifies a TargetFleetAutoscaler message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TargetFleetAutoscaler message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetFleetAutoscaler
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler;
+
+ /**
+ * Creates a plain object from a TargetFleetAutoscaler message. Also converts values to other types if specified.
+ * @param message TargetFleetAutoscaler
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetFleetAutoscaler to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetFleetAutoscaler
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Properties of a TargetState. */
+ interface ITargetState {
+
+ /** TargetState details */
+ details?: (google.cloud.gaming.v1.ITargetDetails[]|null);
+ }
+
+ /** Represents a TargetState. */
+ class TargetState implements ITargetState {
+
+ /**
+ * Constructs a new TargetState.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.ITargetState);
+
+ /** TargetState details. */
+ public details: google.cloud.gaming.v1.ITargetDetails[];
+
+ /**
+ * Creates a new TargetState instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetState instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.ITargetState): google.cloud.gaming.v1.TargetState;
+
+ /**
+ * Encodes the specified TargetState message. Does not implicitly {@link google.cloud.gaming.v1.TargetState.verify|verify} messages.
+ * @param message TargetState message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.ITargetState, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetState message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.TargetState.verify|verify} messages.
+ * @param message TargetState message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.ITargetState, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetState message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.TargetState;
+
+ /**
+ * Decodes a TargetState message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.TargetState;
+
+ /**
+ * Verifies a TargetState message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TargetState message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetState
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.TargetState;
+
+ /**
+ * Creates a plain object from a TargetState message. Also converts values to other types if specified.
+ * @param message TargetState
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.TargetState, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetState to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetState
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeployedFleetDetails. */
+ interface IDeployedFleetDetails {
+
+ /** DeployedFleetDetails deployedFleet */
+ deployedFleet?: (google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleet|null);
+
+ /** DeployedFleetDetails deployedAutoscaler */
+ deployedAutoscaler?: (google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleetAutoscaler|null);
+ }
+
+ /** Represents a DeployedFleetDetails. */
+ class DeployedFleetDetails implements IDeployedFleetDetails {
+
+ /**
+ * Constructs a new DeployedFleetDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IDeployedFleetDetails);
+
+ /** DeployedFleetDetails deployedFleet. */
+ public deployedFleet?: (google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleet|null);
+
+ /** DeployedFleetDetails deployedAutoscaler. */
+ public deployedAutoscaler?: (google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleetAutoscaler|null);
+
+ /**
+ * Creates a new DeployedFleetDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployedFleetDetails instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IDeployedFleetDetails): google.cloud.gaming.v1.DeployedFleetDetails;
+
+ /**
+ * Encodes the specified DeployedFleetDetails message. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.verify|verify} messages.
+ * @param message DeployedFleetDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IDeployedFleetDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployedFleetDetails message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.verify|verify} messages.
+ * @param message DeployedFleetDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IDeployedFleetDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployedFleetDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployedFleetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.DeployedFleetDetails;
+
+ /**
+ * Decodes a DeployedFleetDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployedFleetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.DeployedFleetDetails;
+
+ /**
+ * Verifies a DeployedFleetDetails message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeployedFleetDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployedFleetDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.DeployedFleetDetails;
+
+ /**
+ * Creates a plain object from a DeployedFleetDetails message. Also converts values to other types if specified.
+ * @param message DeployedFleetDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.DeployedFleetDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployedFleetDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployedFleetDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DeployedFleetDetails {
+
+ /** Properties of a DeployedFleet. */
+ interface IDeployedFleet {
+
+ /** DeployedFleet fleet */
+ fleet?: (string|null);
+
+ /** DeployedFleet fleetSpec */
+ fleetSpec?: (string|null);
+
+ /** DeployedFleet specSource */
+ specSource?: (google.cloud.gaming.v1.ISpecSource|null);
+
+ /** DeployedFleet status */
+ status?: (google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus|null);
+ }
+
+ /** Represents a DeployedFleet. */
+ class DeployedFleet implements IDeployedFleet {
+
+ /**
+ * Constructs a new DeployedFleet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleet);
+
+ /** DeployedFleet fleet. */
+ public fleet: string;
+
+ /** DeployedFleet fleetSpec. */
+ public fleetSpec: string;
+
+ /** DeployedFleet specSource. */
+ public specSource?: (google.cloud.gaming.v1.ISpecSource|null);
+
+ /** DeployedFleet status. */
+ public status?: (google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus|null);
+
+ /**
+ * Creates a new DeployedFleet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployedFleet instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleet): google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet;
+
+ /**
+ * Encodes the specified DeployedFleet message. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.verify|verify} messages.
+ * @param message DeployedFleet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployedFleet message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.verify|verify} messages.
+ * @param message DeployedFleet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployedFleet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployedFleet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet;
+
+ /**
+ * Decodes a DeployedFleet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployedFleet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet;
+
+ /**
+ * Verifies a DeployedFleet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeployedFleet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployedFleet
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet;
+
+ /**
+ * Creates a plain object from a DeployedFleet message. Also converts values to other types if specified.
+ * @param message DeployedFleet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployedFleet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployedFleet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DeployedFleet {
+
+ /** Properties of a DeployedFleetStatus. */
+ interface IDeployedFleetStatus {
+
+ /** DeployedFleetStatus readyReplicas */
+ readyReplicas?: (number|Long|string|null);
+
+ /** DeployedFleetStatus allocatedReplicas */
+ allocatedReplicas?: (number|Long|string|null);
+
+ /** DeployedFleetStatus reservedReplicas */
+ reservedReplicas?: (number|Long|string|null);
+
+ /** DeployedFleetStatus replicas */
+ replicas?: (number|Long|string|null);
+ }
+
+ /** Represents a DeployedFleetStatus. */
+ class DeployedFleetStatus implements IDeployedFleetStatus {
+
+ /**
+ * Constructs a new DeployedFleetStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus);
+
+ /** DeployedFleetStatus readyReplicas. */
+ public readyReplicas: (number|Long|string);
+
+ /** DeployedFleetStatus allocatedReplicas. */
+ public allocatedReplicas: (number|Long|string);
+
+ /** DeployedFleetStatus reservedReplicas. */
+ public reservedReplicas: (number|Long|string);
+
+ /** DeployedFleetStatus replicas. */
+ public replicas: (number|Long|string);
+
+ /**
+ * Creates a new DeployedFleetStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployedFleetStatus instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus): google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus;
+
+ /**
+ * Encodes the specified DeployedFleetStatus message. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus.verify|verify} messages.
+ * @param message DeployedFleetStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployedFleetStatus message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus.verify|verify} messages.
+ * @param message DeployedFleetStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployedFleetStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployedFleetStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus;
+
+ /**
+ * Decodes a DeployedFleetStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployedFleetStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus;
+
+ /**
+ * Verifies a DeployedFleetStatus message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeployedFleetStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployedFleetStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus;
+
+ /**
+ * Creates a plain object from a DeployedFleetStatus message. Also converts values to other types if specified.
+ * @param message DeployedFleetStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployedFleetStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployedFleetStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a DeployedFleetAutoscaler. */
+ interface IDeployedFleetAutoscaler {
+
+ /** DeployedFleetAutoscaler autoscaler */
+ autoscaler?: (string|null);
+
+ /** DeployedFleetAutoscaler specSource */
+ specSource?: (google.cloud.gaming.v1.ISpecSource|null);
+
+ /** DeployedFleetAutoscaler fleetAutoscalerSpec */
+ fleetAutoscalerSpec?: (string|null);
+ }
+
+ /** Represents a DeployedFleetAutoscaler. */
+ class DeployedFleetAutoscaler implements IDeployedFleetAutoscaler {
+
+ /**
+ * Constructs a new DeployedFleetAutoscaler.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleetAutoscaler);
+
+ /** DeployedFleetAutoscaler autoscaler. */
+ public autoscaler: string;
+
+ /** DeployedFleetAutoscaler specSource. */
+ public specSource?: (google.cloud.gaming.v1.ISpecSource|null);
+
+ /** DeployedFleetAutoscaler fleetAutoscalerSpec. */
+ public fleetAutoscalerSpec: string;
+
+ /**
+ * Creates a new DeployedFleetAutoscaler instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployedFleetAutoscaler instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleetAutoscaler): google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler;
+
+ /**
+ * Encodes the specified DeployedFleetAutoscaler message. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler.verify|verify} messages.
+ * @param message DeployedFleetAutoscaler message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleetAutoscaler, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployedFleetAutoscaler message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler.verify|verify} messages.
+ * @param message DeployedFleetAutoscaler message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleetAutoscaler, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployedFleetAutoscaler message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployedFleetAutoscaler
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler;
+
+ /**
+ * Decodes a DeployedFleetAutoscaler message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployedFleetAutoscaler
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler;
+
+ /**
+ * Verifies a DeployedFleetAutoscaler message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeployedFleetAutoscaler message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployedFleetAutoscaler
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler;
+
+ /**
+ * Creates a plain object from a DeployedFleetAutoscaler message. Also converts values to other types if specified.
+ * @param message DeployedFleetAutoscaler
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployedFleetAutoscaler to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployedFleetAutoscaler
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** GameServerClusterView enum. */
+ enum GameServerClusterView {
+ GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED = 0,
+ BASIC = 1,
+ FULL = 2
+ }
+
+ /** Properties of a ListGameServerClustersRequest. */
+ interface IListGameServerClustersRequest {
+
+ /** ListGameServerClustersRequest parent */
+ parent?: (string|null);
+
+ /** ListGameServerClustersRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListGameServerClustersRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListGameServerClustersRequest filter */
+ filter?: (string|null);
+
+ /** ListGameServerClustersRequest orderBy */
+ orderBy?: (string|null);
+
+ /** ListGameServerClustersRequest view */
+ view?: (google.cloud.gaming.v1.GameServerClusterView|keyof typeof google.cloud.gaming.v1.GameServerClusterView|null);
+ }
+
+ /** Represents a ListGameServerClustersRequest. */
+ class ListGameServerClustersRequest implements IListGameServerClustersRequest {
+
+ /**
+ * Constructs a new ListGameServerClustersRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IListGameServerClustersRequest);
+
+ /** ListGameServerClustersRequest parent. */
+ public parent: string;
+
+ /** ListGameServerClustersRequest pageSize. */
+ public pageSize: number;
+
+ /** ListGameServerClustersRequest pageToken. */
+ public pageToken: string;
+
+ /** ListGameServerClustersRequest filter. */
+ public filter: string;
+
+ /** ListGameServerClustersRequest orderBy. */
+ public orderBy: string;
+
+ /** ListGameServerClustersRequest view. */
+ public view: (google.cloud.gaming.v1.GameServerClusterView|keyof typeof google.cloud.gaming.v1.GameServerClusterView);
+
+ /**
+ * Creates a new ListGameServerClustersRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListGameServerClustersRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IListGameServerClustersRequest): google.cloud.gaming.v1.ListGameServerClustersRequest;
+
+ /**
+ * Encodes the specified ListGameServerClustersRequest message. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerClustersRequest.verify|verify} messages.
+ * @param message ListGameServerClustersRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IListGameServerClustersRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListGameServerClustersRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerClustersRequest.verify|verify} messages.
+ * @param message ListGameServerClustersRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IListGameServerClustersRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListGameServerClustersRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListGameServerClustersRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.ListGameServerClustersRequest;
+
+ /**
+ * Decodes a ListGameServerClustersRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListGameServerClustersRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.ListGameServerClustersRequest;
+
+ /**
+ * Verifies a ListGameServerClustersRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListGameServerClustersRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListGameServerClustersRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.ListGameServerClustersRequest;
+
+ /**
+ * Creates a plain object from a ListGameServerClustersRequest message. Also converts values to other types if specified.
+ * @param message ListGameServerClustersRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.ListGameServerClustersRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListGameServerClustersRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListGameServerClustersRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListGameServerClustersResponse. */
+ interface IListGameServerClustersResponse {
+
+ /** ListGameServerClustersResponse gameServerClusters */
+ gameServerClusters?: (google.cloud.gaming.v1.IGameServerCluster[]|null);
+
+ /** ListGameServerClustersResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListGameServerClustersResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListGameServerClustersResponse. */
+ class ListGameServerClustersResponse implements IListGameServerClustersResponse {
+
+ /**
+ * Constructs a new ListGameServerClustersResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IListGameServerClustersResponse);
+
+ /** ListGameServerClustersResponse gameServerClusters. */
+ public gameServerClusters: google.cloud.gaming.v1.IGameServerCluster[];
+
+ /** ListGameServerClustersResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListGameServerClustersResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListGameServerClustersResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListGameServerClustersResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IListGameServerClustersResponse): google.cloud.gaming.v1.ListGameServerClustersResponse;
+
+ /**
+ * Encodes the specified ListGameServerClustersResponse message. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerClustersResponse.verify|verify} messages.
+ * @param message ListGameServerClustersResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IListGameServerClustersResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListGameServerClustersResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerClustersResponse.verify|verify} messages.
+ * @param message ListGameServerClustersResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IListGameServerClustersResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListGameServerClustersResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListGameServerClustersResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.ListGameServerClustersResponse;
+
+ /**
+ * Decodes a ListGameServerClustersResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListGameServerClustersResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.ListGameServerClustersResponse;
+
+ /**
+ * Verifies a ListGameServerClustersResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListGameServerClustersResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListGameServerClustersResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.ListGameServerClustersResponse;
+
+ /**
+ * Creates a plain object from a ListGameServerClustersResponse message. Also converts values to other types if specified.
+ * @param message ListGameServerClustersResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.ListGameServerClustersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListGameServerClustersResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListGameServerClustersResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetGameServerClusterRequest. */
+ interface IGetGameServerClusterRequest {
+
+ /** GetGameServerClusterRequest name */
+ name?: (string|null);
+
+ /** GetGameServerClusterRequest view */
+ view?: (google.cloud.gaming.v1.GameServerClusterView|keyof typeof google.cloud.gaming.v1.GameServerClusterView|null);
+ }
+
+ /** Represents a GetGameServerClusterRequest. */
+ class GetGameServerClusterRequest implements IGetGameServerClusterRequest {
+
+ /**
+ * Constructs a new GetGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IGetGameServerClusterRequest);
+
+ /** GetGameServerClusterRequest name. */
+ public name: string;
+
+ /** GetGameServerClusterRequest view. */
+ public view: (google.cloud.gaming.v1.GameServerClusterView|keyof typeof google.cloud.gaming.v1.GameServerClusterView);
+
+ /**
+ * Creates a new GetGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IGetGameServerClusterRequest): google.cloud.gaming.v1.GetGameServerClusterRequest;
+
+ /**
+ * Encodes the specified GetGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.GetGameServerClusterRequest.verify|verify} messages.
+ * @param message GetGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IGetGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GetGameServerClusterRequest.verify|verify} messages.
+ * @param message GetGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IGetGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.GetGameServerClusterRequest;
+
+ /**
+ * Decodes a GetGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.GetGameServerClusterRequest;
+
+ /**
+ * Verifies a GetGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.GetGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from a GetGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message GetGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.GetGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateGameServerClusterRequest. */
+ interface ICreateGameServerClusterRequest {
+
+ /** CreateGameServerClusterRequest parent */
+ parent?: (string|null);
+
+ /** CreateGameServerClusterRequest gameServerClusterId */
+ gameServerClusterId?: (string|null);
+
+ /** CreateGameServerClusterRequest gameServerCluster */
+ gameServerCluster?: (google.cloud.gaming.v1.IGameServerCluster|null);
+ }
+
+ /** Represents a CreateGameServerClusterRequest. */
+ class CreateGameServerClusterRequest implements ICreateGameServerClusterRequest {
+
+ /**
+ * Constructs a new CreateGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.ICreateGameServerClusterRequest);
+
+ /** CreateGameServerClusterRequest parent. */
+ public parent: string;
+
+ /** CreateGameServerClusterRequest gameServerClusterId. */
+ public gameServerClusterId: string;
+
+ /** CreateGameServerClusterRequest gameServerCluster. */
+ public gameServerCluster?: (google.cloud.gaming.v1.IGameServerCluster|null);
+
+ /**
+ * Creates a new CreateGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.ICreateGameServerClusterRequest): google.cloud.gaming.v1.CreateGameServerClusterRequest;
+
+ /**
+ * Encodes the specified CreateGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.CreateGameServerClusterRequest.verify|verify} messages.
+ * @param message CreateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.ICreateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.CreateGameServerClusterRequest.verify|verify} messages.
+ * @param message CreateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.ICreateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.CreateGameServerClusterRequest;
+
+ /**
+ * Decodes a CreateGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.CreateGameServerClusterRequest;
+
+ /**
+ * Verifies a CreateGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.CreateGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from a CreateGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message CreateGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.CreateGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewCreateGameServerClusterRequest. */
+ interface IPreviewCreateGameServerClusterRequest {
+
+ /** PreviewCreateGameServerClusterRequest parent */
+ parent?: (string|null);
+
+ /** PreviewCreateGameServerClusterRequest gameServerClusterId */
+ gameServerClusterId?: (string|null);
+
+ /** PreviewCreateGameServerClusterRequest gameServerCluster */
+ gameServerCluster?: (google.cloud.gaming.v1.IGameServerCluster|null);
+
+ /** PreviewCreateGameServerClusterRequest previewTime */
+ previewTime?: (google.protobuf.ITimestamp|null);
+
+ /** PreviewCreateGameServerClusterRequest view */
+ view?: (google.cloud.gaming.v1.GameServerClusterView|keyof typeof google.cloud.gaming.v1.GameServerClusterView|null);
+ }
+
+ /** Represents a PreviewCreateGameServerClusterRequest. */
+ class PreviewCreateGameServerClusterRequest implements IPreviewCreateGameServerClusterRequest {
+
+ /**
+ * Constructs a new PreviewCreateGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest);
+
+ /** PreviewCreateGameServerClusterRequest parent. */
+ public parent: string;
+
+ /** PreviewCreateGameServerClusterRequest gameServerClusterId. */
+ public gameServerClusterId: string;
+
+ /** PreviewCreateGameServerClusterRequest gameServerCluster. */
+ public gameServerCluster?: (google.cloud.gaming.v1.IGameServerCluster|null);
+
+ /** PreviewCreateGameServerClusterRequest previewTime. */
+ public previewTime?: (google.protobuf.ITimestamp|null);
+
+ /** PreviewCreateGameServerClusterRequest view. */
+ public view: (google.cloud.gaming.v1.GameServerClusterView|keyof typeof google.cloud.gaming.v1.GameServerClusterView);
+
+ /**
+ * Creates a new PreviewCreateGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewCreateGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest): google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest;
+
+ /**
+ * Encodes the specified PreviewCreateGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest.verify|verify} messages.
+ * @param message PreviewCreateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewCreateGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest.verify|verify} messages.
+ * @param message PreviewCreateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewCreateGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewCreateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest;
+
+ /**
+ * Decodes a PreviewCreateGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewCreateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest;
+
+ /**
+ * Verifies a PreviewCreateGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewCreateGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewCreateGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from a PreviewCreateGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message PreviewCreateGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewCreateGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewCreateGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewCreateGameServerClusterResponse. */
+ interface IPreviewCreateGameServerClusterResponse {
+
+ /** PreviewCreateGameServerClusterResponse etag */
+ etag?: (string|null);
+
+ /** PreviewCreateGameServerClusterResponse targetState */
+ targetState?: (google.cloud.gaming.v1.ITargetState|null);
+
+ /** PreviewCreateGameServerClusterResponse clusterState */
+ clusterState?: (google.cloud.gaming.v1.IKubernetesClusterState|null);
+ }
+
+ /** Represents a PreviewCreateGameServerClusterResponse. */
+ class PreviewCreateGameServerClusterResponse implements IPreviewCreateGameServerClusterResponse {
+
+ /**
+ * Constructs a new PreviewCreateGameServerClusterResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IPreviewCreateGameServerClusterResponse);
+
+ /** PreviewCreateGameServerClusterResponse etag. */
+ public etag: string;
+
+ /** PreviewCreateGameServerClusterResponse targetState. */
+ public targetState?: (google.cloud.gaming.v1.ITargetState|null);
+
+ /** PreviewCreateGameServerClusterResponse clusterState. */
+ public clusterState?: (google.cloud.gaming.v1.IKubernetesClusterState|null);
+
+ /**
+ * Creates a new PreviewCreateGameServerClusterResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewCreateGameServerClusterResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IPreviewCreateGameServerClusterResponse): google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse;
+
+ /**
+ * Encodes the specified PreviewCreateGameServerClusterResponse message. Does not implicitly {@link google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse.verify|verify} messages.
+ * @param message PreviewCreateGameServerClusterResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IPreviewCreateGameServerClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewCreateGameServerClusterResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse.verify|verify} messages.
+ * @param message PreviewCreateGameServerClusterResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IPreviewCreateGameServerClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewCreateGameServerClusterResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewCreateGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse;
+
+ /**
+ * Decodes a PreviewCreateGameServerClusterResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewCreateGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse;
+
+ /**
+ * Verifies a PreviewCreateGameServerClusterResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewCreateGameServerClusterResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewCreateGameServerClusterResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse;
+
+ /**
+ * Creates a plain object from a PreviewCreateGameServerClusterResponse message. Also converts values to other types if specified.
+ * @param message PreviewCreateGameServerClusterResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewCreateGameServerClusterResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewCreateGameServerClusterResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteGameServerClusterRequest. */
+ interface IDeleteGameServerClusterRequest {
+
+ /** DeleteGameServerClusterRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteGameServerClusterRequest. */
+ class DeleteGameServerClusterRequest implements IDeleteGameServerClusterRequest {
+
+ /**
+ * Constructs a new DeleteGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IDeleteGameServerClusterRequest);
+
+ /** DeleteGameServerClusterRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IDeleteGameServerClusterRequest): google.cloud.gaming.v1.DeleteGameServerClusterRequest;
+
+ /**
+ * Encodes the specified DeleteGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.DeleteGameServerClusterRequest.verify|verify} messages.
+ * @param message DeleteGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IDeleteGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeleteGameServerClusterRequest.verify|verify} messages.
+ * @param message DeleteGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IDeleteGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.DeleteGameServerClusterRequest;
+
+ /**
+ * Decodes a DeleteGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.DeleteGameServerClusterRequest;
+
+ /**
+ * Verifies a DeleteGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.DeleteGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from a DeleteGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message DeleteGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.DeleteGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewDeleteGameServerClusterRequest. */
+ interface IPreviewDeleteGameServerClusterRequest {
+
+ /** PreviewDeleteGameServerClusterRequest name */
+ name?: (string|null);
+
+ /** PreviewDeleteGameServerClusterRequest previewTime */
+ previewTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a PreviewDeleteGameServerClusterRequest. */
+ class PreviewDeleteGameServerClusterRequest implements IPreviewDeleteGameServerClusterRequest {
+
+ /**
+ * Constructs a new PreviewDeleteGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest);
+
+ /** PreviewDeleteGameServerClusterRequest name. */
+ public name: string;
+
+ /** PreviewDeleteGameServerClusterRequest previewTime. */
+ public previewTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new PreviewDeleteGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewDeleteGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest): google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest;
+
+ /**
+ * Encodes the specified PreviewDeleteGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest.verify|verify} messages.
+ * @param message PreviewDeleteGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewDeleteGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest.verify|verify} messages.
+ * @param message PreviewDeleteGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewDeleteGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewDeleteGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest;
+
+ /**
+ * Decodes a PreviewDeleteGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewDeleteGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest;
+
+ /**
+ * Verifies a PreviewDeleteGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewDeleteGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewDeleteGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from a PreviewDeleteGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message PreviewDeleteGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewDeleteGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewDeleteGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewDeleteGameServerClusterResponse. */
+ interface IPreviewDeleteGameServerClusterResponse {
+
+ /** PreviewDeleteGameServerClusterResponse etag */
+ etag?: (string|null);
+
+ /** PreviewDeleteGameServerClusterResponse targetState */
+ targetState?: (google.cloud.gaming.v1.ITargetState|null);
+ }
+
+ /** Represents a PreviewDeleteGameServerClusterResponse. */
+ class PreviewDeleteGameServerClusterResponse implements IPreviewDeleteGameServerClusterResponse {
+
+ /**
+ * Constructs a new PreviewDeleteGameServerClusterResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IPreviewDeleteGameServerClusterResponse);
+
+ /** PreviewDeleteGameServerClusterResponse etag. */
+ public etag: string;
+
+ /** PreviewDeleteGameServerClusterResponse targetState. */
+ public targetState?: (google.cloud.gaming.v1.ITargetState|null);
+
+ /**
+ * Creates a new PreviewDeleteGameServerClusterResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewDeleteGameServerClusterResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IPreviewDeleteGameServerClusterResponse): google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse;
+
+ /**
+ * Encodes the specified PreviewDeleteGameServerClusterResponse message. Does not implicitly {@link google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse.verify|verify} messages.
+ * @param message PreviewDeleteGameServerClusterResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IPreviewDeleteGameServerClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewDeleteGameServerClusterResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse.verify|verify} messages.
+ * @param message PreviewDeleteGameServerClusterResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IPreviewDeleteGameServerClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewDeleteGameServerClusterResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewDeleteGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse;
+
+ /**
+ * Decodes a PreviewDeleteGameServerClusterResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewDeleteGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse;
+
+ /**
+ * Verifies a PreviewDeleteGameServerClusterResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewDeleteGameServerClusterResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewDeleteGameServerClusterResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse;
+
+ /**
+ * Creates a plain object from a PreviewDeleteGameServerClusterResponse message. Also converts values to other types if specified.
+ * @param message PreviewDeleteGameServerClusterResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewDeleteGameServerClusterResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewDeleteGameServerClusterResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateGameServerClusterRequest. */
+ interface IUpdateGameServerClusterRequest {
+
+ /** UpdateGameServerClusterRequest gameServerCluster */
+ gameServerCluster?: (google.cloud.gaming.v1.IGameServerCluster|null);
+
+ /** UpdateGameServerClusterRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateGameServerClusterRequest. */
+ class UpdateGameServerClusterRequest implements IUpdateGameServerClusterRequest {
+
+ /**
+ * Constructs a new UpdateGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IUpdateGameServerClusterRequest);
+
+ /** UpdateGameServerClusterRequest gameServerCluster. */
+ public gameServerCluster?: (google.cloud.gaming.v1.IGameServerCluster|null);
+
+ /** UpdateGameServerClusterRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IUpdateGameServerClusterRequest): google.cloud.gaming.v1.UpdateGameServerClusterRequest;
+
+ /**
+ * Encodes the specified UpdateGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.UpdateGameServerClusterRequest.verify|verify} messages.
+ * @param message UpdateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IUpdateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.UpdateGameServerClusterRequest.verify|verify} messages.
+ * @param message UpdateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IUpdateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.UpdateGameServerClusterRequest;
+
+ /**
+ * Decodes an UpdateGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.UpdateGameServerClusterRequest;
+
+ /**
+ * Verifies an UpdateGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UpdateGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.UpdateGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from an UpdateGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message UpdateGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.UpdateGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewUpdateGameServerClusterRequest. */
+ interface IPreviewUpdateGameServerClusterRequest {
+
+ /** PreviewUpdateGameServerClusterRequest gameServerCluster */
+ gameServerCluster?: (google.cloud.gaming.v1.IGameServerCluster|null);
+
+ /** PreviewUpdateGameServerClusterRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** PreviewUpdateGameServerClusterRequest previewTime */
+ previewTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a PreviewUpdateGameServerClusterRequest. */
+ class PreviewUpdateGameServerClusterRequest implements IPreviewUpdateGameServerClusterRequest {
+
+ /**
+ * Constructs a new PreviewUpdateGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest);
+
+ /** PreviewUpdateGameServerClusterRequest gameServerCluster. */
+ public gameServerCluster?: (google.cloud.gaming.v1.IGameServerCluster|null);
+
+ /** PreviewUpdateGameServerClusterRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** PreviewUpdateGameServerClusterRequest previewTime. */
+ public previewTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new PreviewUpdateGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewUpdateGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest): google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest;
+
+ /**
+ * Encodes the specified PreviewUpdateGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest.verify|verify} messages.
+ * @param message PreviewUpdateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewUpdateGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest.verify|verify} messages.
+ * @param message PreviewUpdateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewUpdateGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewUpdateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest;
+
+ /**
+ * Decodes a PreviewUpdateGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewUpdateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest;
+
+ /**
+ * Verifies a PreviewUpdateGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewUpdateGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewUpdateGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from a PreviewUpdateGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message PreviewUpdateGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewUpdateGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewUpdateGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewUpdateGameServerClusterResponse. */
+ interface IPreviewUpdateGameServerClusterResponse {
+
+ /** PreviewUpdateGameServerClusterResponse etag */
+ etag?: (string|null);
+
+ /** PreviewUpdateGameServerClusterResponse targetState */
+ targetState?: (google.cloud.gaming.v1.ITargetState|null);
+ }
+
+ /** Represents a PreviewUpdateGameServerClusterResponse. */
+ class PreviewUpdateGameServerClusterResponse implements IPreviewUpdateGameServerClusterResponse {
+
+ /**
+ * Constructs a new PreviewUpdateGameServerClusterResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IPreviewUpdateGameServerClusterResponse);
+
+ /** PreviewUpdateGameServerClusterResponse etag. */
+ public etag: string;
+
+ /** PreviewUpdateGameServerClusterResponse targetState. */
+ public targetState?: (google.cloud.gaming.v1.ITargetState|null);
+
+ /**
+ * Creates a new PreviewUpdateGameServerClusterResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewUpdateGameServerClusterResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IPreviewUpdateGameServerClusterResponse): google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse;
+
+ /**
+ * Encodes the specified PreviewUpdateGameServerClusterResponse message. Does not implicitly {@link google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse.verify|verify} messages.
+ * @param message PreviewUpdateGameServerClusterResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IPreviewUpdateGameServerClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewUpdateGameServerClusterResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse.verify|verify} messages.
+ * @param message PreviewUpdateGameServerClusterResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IPreviewUpdateGameServerClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewUpdateGameServerClusterResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewUpdateGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse;
+
+ /**
+ * Decodes a PreviewUpdateGameServerClusterResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewUpdateGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse;
+
+ /**
+ * Verifies a PreviewUpdateGameServerClusterResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewUpdateGameServerClusterResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewUpdateGameServerClusterResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse;
+
+ /**
+ * Creates a plain object from a PreviewUpdateGameServerClusterResponse message. Also converts values to other types if specified.
+ * @param message PreviewUpdateGameServerClusterResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewUpdateGameServerClusterResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewUpdateGameServerClusterResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GameServerClusterConnectionInfo. */
+ interface IGameServerClusterConnectionInfo {
+
+ /** GameServerClusterConnectionInfo gkeClusterReference */
+ gkeClusterReference?: (google.cloud.gaming.v1.IGkeClusterReference|null);
+
+ /** GameServerClusterConnectionInfo namespace */
+ namespace?: (string|null);
+ }
+
+ /** Represents a GameServerClusterConnectionInfo. */
+ class GameServerClusterConnectionInfo implements IGameServerClusterConnectionInfo {
+
+ /**
+ * Constructs a new GameServerClusterConnectionInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IGameServerClusterConnectionInfo);
+
+ /** GameServerClusterConnectionInfo gkeClusterReference. */
+ public gkeClusterReference?: (google.cloud.gaming.v1.IGkeClusterReference|null);
+
+ /** GameServerClusterConnectionInfo namespace. */
+ public namespace: string;
+
+ /** GameServerClusterConnectionInfo clusterReference. */
+ public clusterReference?: "gkeClusterReference";
+
+ /**
+ * Creates a new GameServerClusterConnectionInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GameServerClusterConnectionInfo instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IGameServerClusterConnectionInfo): google.cloud.gaming.v1.GameServerClusterConnectionInfo;
+
+ /**
+ * Encodes the specified GameServerClusterConnectionInfo message. Does not implicitly {@link google.cloud.gaming.v1.GameServerClusterConnectionInfo.verify|verify} messages.
+ * @param message GameServerClusterConnectionInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IGameServerClusterConnectionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GameServerClusterConnectionInfo message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GameServerClusterConnectionInfo.verify|verify} messages.
+ * @param message GameServerClusterConnectionInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IGameServerClusterConnectionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GameServerClusterConnectionInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GameServerClusterConnectionInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.GameServerClusterConnectionInfo;
+
+ /**
+ * Decodes a GameServerClusterConnectionInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GameServerClusterConnectionInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.GameServerClusterConnectionInfo;
+
+ /**
+ * Verifies a GameServerClusterConnectionInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GameServerClusterConnectionInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GameServerClusterConnectionInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.GameServerClusterConnectionInfo;
+
+ /**
+ * Creates a plain object from a GameServerClusterConnectionInfo message. Also converts values to other types if specified.
+ * @param message GameServerClusterConnectionInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.GameServerClusterConnectionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GameServerClusterConnectionInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GameServerClusterConnectionInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GkeClusterReference. */
+ interface IGkeClusterReference {
+
+ /** GkeClusterReference cluster */
+ cluster?: (string|null);
+ }
+
+ /** Represents a GkeClusterReference. */
+ class GkeClusterReference implements IGkeClusterReference {
+
+ /**
+ * Constructs a new GkeClusterReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IGkeClusterReference);
+
+ /** GkeClusterReference cluster. */
+ public cluster: string;
+
+ /**
+ * Creates a new GkeClusterReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GkeClusterReference instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IGkeClusterReference): google.cloud.gaming.v1.GkeClusterReference;
+
+ /**
+ * Encodes the specified GkeClusterReference message. Does not implicitly {@link google.cloud.gaming.v1.GkeClusterReference.verify|verify} messages.
+ * @param message GkeClusterReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IGkeClusterReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GkeClusterReference message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GkeClusterReference.verify|verify} messages.
+ * @param message GkeClusterReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IGkeClusterReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GkeClusterReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GkeClusterReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.GkeClusterReference;
+
+ /**
+ * Decodes a GkeClusterReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GkeClusterReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.GkeClusterReference;
+
+ /**
+ * Verifies a GkeClusterReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GkeClusterReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GkeClusterReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.GkeClusterReference;
+
+ /**
+ * Creates a plain object from a GkeClusterReference message. Also converts values to other types if specified.
+ * @param message GkeClusterReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.GkeClusterReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GkeClusterReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GkeClusterReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GameServerCluster. */
+ interface IGameServerCluster {
+
+ /** GameServerCluster name */
+ name?: (string|null);
+
+ /** GameServerCluster createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerCluster updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerCluster labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** GameServerCluster connectionInfo */
+ connectionInfo?: (google.cloud.gaming.v1.IGameServerClusterConnectionInfo|null);
+
+ /** GameServerCluster etag */
+ etag?: (string|null);
+
+ /** GameServerCluster description */
+ description?: (string|null);
+
+ /** GameServerCluster clusterState */
+ clusterState?: (google.cloud.gaming.v1.IKubernetesClusterState|null);
+ }
+
+ /** Represents a GameServerCluster. */
+ class GameServerCluster implements IGameServerCluster {
+
+ /**
+ * Constructs a new GameServerCluster.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IGameServerCluster);
+
+ /** GameServerCluster name. */
+ public name: string;
+
+ /** GameServerCluster createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerCluster updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerCluster labels. */
+ public labels: { [k: string]: string };
+
+ /** GameServerCluster connectionInfo. */
+ public connectionInfo?: (google.cloud.gaming.v1.IGameServerClusterConnectionInfo|null);
+
+ /** GameServerCluster etag. */
+ public etag: string;
+
+ /** GameServerCluster description. */
+ public description: string;
+
+ /** GameServerCluster clusterState. */
+ public clusterState?: (google.cloud.gaming.v1.IKubernetesClusterState|null);
+
+ /**
+ * Creates a new GameServerCluster instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GameServerCluster instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IGameServerCluster): google.cloud.gaming.v1.GameServerCluster;
+
+ /**
+ * Encodes the specified GameServerCluster message. Does not implicitly {@link google.cloud.gaming.v1.GameServerCluster.verify|verify} messages.
+ * @param message GameServerCluster message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IGameServerCluster, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GameServerCluster message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GameServerCluster.verify|verify} messages.
+ * @param message GameServerCluster message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IGameServerCluster, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GameServerCluster message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GameServerCluster
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.GameServerCluster;
+
+ /**
+ * Decodes a GameServerCluster message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GameServerCluster
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.GameServerCluster;
+
+ /**
+ * Verifies a GameServerCluster message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GameServerCluster message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GameServerCluster
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.GameServerCluster;
+
+ /**
+ * Creates a plain object from a GameServerCluster message. Also converts values to other types if specified.
+ * @param message GameServerCluster
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.GameServerCluster, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GameServerCluster to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GameServerCluster
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a KubernetesClusterState. */
+ interface IKubernetesClusterState {
+
+ /** KubernetesClusterState agonesVersionInstalled */
+ agonesVersionInstalled?: (string|null);
+
+ /** KubernetesClusterState kubernetesVersionInstalled */
+ kubernetesVersionInstalled?: (string|null);
+
+ /** KubernetesClusterState installationState */
+ installationState?: (google.cloud.gaming.v1.KubernetesClusterState.InstallationState|keyof typeof google.cloud.gaming.v1.KubernetesClusterState.InstallationState|null);
+
+ /** KubernetesClusterState versionInstalledErrorMessage */
+ versionInstalledErrorMessage?: (string|null);
+
+ /** KubernetesClusterState provider */
+ provider?: (string|null);
+
+ /** KubernetesClusterState agonesVersionTargeted */
+ agonesVersionTargeted?: (string|null);
+ }
+
+ /** Represents a KubernetesClusterState. */
+ class KubernetesClusterState implements IKubernetesClusterState {
+
+ /**
+ * Constructs a new KubernetesClusterState.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IKubernetesClusterState);
+
+ /** KubernetesClusterState agonesVersionInstalled. */
+ public agonesVersionInstalled: string;
+
+ /** KubernetesClusterState kubernetesVersionInstalled. */
+ public kubernetesVersionInstalled: string;
+
+ /** KubernetesClusterState installationState. */
+ public installationState: (google.cloud.gaming.v1.KubernetesClusterState.InstallationState|keyof typeof google.cloud.gaming.v1.KubernetesClusterState.InstallationState);
+
+ /** KubernetesClusterState versionInstalledErrorMessage. */
+ public versionInstalledErrorMessage: string;
+
+ /** KubernetesClusterState provider. */
+ public provider: string;
+
+ /** KubernetesClusterState agonesVersionTargeted. */
+ public agonesVersionTargeted: string;
+
+ /**
+ * Creates a new KubernetesClusterState instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns KubernetesClusterState instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IKubernetesClusterState): google.cloud.gaming.v1.KubernetesClusterState;
+
+ /**
+ * Encodes the specified KubernetesClusterState message. Does not implicitly {@link google.cloud.gaming.v1.KubernetesClusterState.verify|verify} messages.
+ * @param message KubernetesClusterState message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IKubernetesClusterState, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified KubernetesClusterState message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.KubernetesClusterState.verify|verify} messages.
+ * @param message KubernetesClusterState message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IKubernetesClusterState, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a KubernetesClusterState message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns KubernetesClusterState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.KubernetesClusterState;
+
+ /**
+ * Decodes a KubernetesClusterState message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns KubernetesClusterState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.KubernetesClusterState;
+
+ /**
+ * Verifies a KubernetesClusterState message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a KubernetesClusterState message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns KubernetesClusterState
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.KubernetesClusterState;
+
+ /**
+ * Creates a plain object from a KubernetesClusterState message. Also converts values to other types if specified.
+ * @param message KubernetesClusterState
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.KubernetesClusterState, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this KubernetesClusterState to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for KubernetesClusterState
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace KubernetesClusterState {
+
+ /** InstallationState enum. */
+ enum InstallationState {
+ INSTALLATION_STATE_UNSPECIFIED = 0,
+ AGONES_KUBERNETES_VERSION_SUPPORTED = 1,
+ AGONES_VERSION_UNSUPPORTED = 2,
+ AGONES_KUBERNETES_VERSION_UNSUPPORTED = 3,
+ AGONES_VERSION_UNRECOGNIZED = 4,
+ KUBERNETES_VERSION_UNRECOGNIZED = 5,
+ VERSION_VERIFICATION_FAILED = 6,
+ AGONES_NOT_INSTALLED = 7
+ }
+ }
+
+ /** Represents a GameServerClustersService */
+ class GameServerClustersService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new GameServerClustersService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new GameServerClustersService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GameServerClustersService;
+
+ /**
+ * Calls ListGameServerClusters.
+ * @param request ListGameServerClustersRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListGameServerClustersResponse
+ */
+ public listGameServerClusters(request: google.cloud.gaming.v1.IListGameServerClustersRequest, callback: google.cloud.gaming.v1.GameServerClustersService.ListGameServerClustersCallback): void;
+
+ /**
+ * Calls ListGameServerClusters.
+ * @param request ListGameServerClustersRequest message or plain object
+ * @returns Promise
+ */
+ public listGameServerClusters(request: google.cloud.gaming.v1.IListGameServerClustersRequest): Promise;
+
+ /**
+ * Calls GetGameServerCluster.
+ * @param request GetGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and GameServerCluster
+ */
+ public getGameServerCluster(request: google.cloud.gaming.v1.IGetGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.GetGameServerClusterCallback): void;
+
+ /**
+ * Calls GetGameServerCluster.
+ * @param request GetGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public getGameServerCluster(request: google.cloud.gaming.v1.IGetGameServerClusterRequest): Promise;
+
+ /**
+ * Calls CreateGameServerCluster.
+ * @param request CreateGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createGameServerCluster(request: google.cloud.gaming.v1.ICreateGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.CreateGameServerClusterCallback): void;
+
+ /**
+ * Calls CreateGameServerCluster.
+ * @param request CreateGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public createGameServerCluster(request: google.cloud.gaming.v1.ICreateGameServerClusterRequest): Promise;
+
+ /**
+ * Calls PreviewCreateGameServerCluster.
+ * @param request PreviewCreateGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PreviewCreateGameServerClusterResponse
+ */
+ public previewCreateGameServerCluster(request: google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.PreviewCreateGameServerClusterCallback): void;
+
+ /**
+ * Calls PreviewCreateGameServerCluster.
+ * @param request PreviewCreateGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public previewCreateGameServerCluster(request: google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest): Promise;
+
+ /**
+ * Calls DeleteGameServerCluster.
+ * @param request DeleteGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteGameServerCluster(request: google.cloud.gaming.v1.IDeleteGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.DeleteGameServerClusterCallback): void;
+
+ /**
+ * Calls DeleteGameServerCluster.
+ * @param request DeleteGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public deleteGameServerCluster(request: google.cloud.gaming.v1.IDeleteGameServerClusterRequest): Promise;
+
+ /**
+ * Calls PreviewDeleteGameServerCluster.
+ * @param request PreviewDeleteGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PreviewDeleteGameServerClusterResponse
+ */
+ public previewDeleteGameServerCluster(request: google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.PreviewDeleteGameServerClusterCallback): void;
+
+ /**
+ * Calls PreviewDeleteGameServerCluster.
+ * @param request PreviewDeleteGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public previewDeleteGameServerCluster(request: google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest): Promise;
+
+ /**
+ * Calls UpdateGameServerCluster.
+ * @param request UpdateGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateGameServerCluster(request: google.cloud.gaming.v1.IUpdateGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.UpdateGameServerClusterCallback): void;
+
+ /**
+ * Calls UpdateGameServerCluster.
+ * @param request UpdateGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public updateGameServerCluster(request: google.cloud.gaming.v1.IUpdateGameServerClusterRequest): Promise;
+
+ /**
+ * Calls PreviewUpdateGameServerCluster.
+ * @param request PreviewUpdateGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PreviewUpdateGameServerClusterResponse
+ */
+ public previewUpdateGameServerCluster(request: google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest, callback: google.cloud.gaming.v1.GameServerClustersService.PreviewUpdateGameServerClusterCallback): void;
+
+ /**
+ * Calls PreviewUpdateGameServerCluster.
+ * @param request PreviewUpdateGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public previewUpdateGameServerCluster(request: google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest): Promise;
+ }
+
+ namespace GameServerClustersService {
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|listGameServerClusters}.
+ * @param error Error, if any
+ * @param [response] ListGameServerClustersResponse
+ */
+ type ListGameServerClustersCallback = (error: (Error|null), response?: google.cloud.gaming.v1.ListGameServerClustersResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|getGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] GameServerCluster
+ */
+ type GetGameServerClusterCallback = (error: (Error|null), response?: google.cloud.gaming.v1.GameServerCluster) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|createGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateGameServerClusterCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|previewCreateGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] PreviewCreateGameServerClusterResponse
+ */
+ type PreviewCreateGameServerClusterCallback = (error: (Error|null), response?: google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|deleteGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteGameServerClusterCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|previewDeleteGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] PreviewDeleteGameServerClusterResponse
+ */
+ type PreviewDeleteGameServerClusterCallback = (error: (Error|null), response?: google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|updateGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateGameServerClusterCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|previewUpdateGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] PreviewUpdateGameServerClusterResponse
+ */
+ type PreviewUpdateGameServerClusterCallback = (error: (Error|null), response?: google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse) => void;
+ }
+
+ /** Properties of a ListGameServerConfigsRequest. */
+ interface IListGameServerConfigsRequest {
+
+ /** ListGameServerConfigsRequest parent */
+ parent?: (string|null);
+
+ /** ListGameServerConfigsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListGameServerConfigsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListGameServerConfigsRequest filter */
+ filter?: (string|null);
+
+ /** ListGameServerConfigsRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListGameServerConfigsRequest. */
+ class ListGameServerConfigsRequest implements IListGameServerConfigsRequest {
+
+ /**
+ * Constructs a new ListGameServerConfigsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IListGameServerConfigsRequest);
+
+ /** ListGameServerConfigsRequest parent. */
+ public parent: string;
+
+ /** ListGameServerConfigsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListGameServerConfigsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListGameServerConfigsRequest filter. */
+ public filter: string;
+
+ /** ListGameServerConfigsRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListGameServerConfigsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListGameServerConfigsRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IListGameServerConfigsRequest): google.cloud.gaming.v1.ListGameServerConfigsRequest;
+
+ /**
+ * Encodes the specified ListGameServerConfigsRequest message. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerConfigsRequest.verify|verify} messages.
+ * @param message ListGameServerConfigsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IListGameServerConfigsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListGameServerConfigsRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerConfigsRequest.verify|verify} messages.
+ * @param message ListGameServerConfigsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IListGameServerConfigsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListGameServerConfigsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListGameServerConfigsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.ListGameServerConfigsRequest;
+
+ /**
+ * Decodes a ListGameServerConfigsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListGameServerConfigsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.ListGameServerConfigsRequest;
+
+ /**
+ * Verifies a ListGameServerConfigsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListGameServerConfigsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListGameServerConfigsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.ListGameServerConfigsRequest;
+
+ /**
+ * Creates a plain object from a ListGameServerConfigsRequest message. Also converts values to other types if specified.
+ * @param message ListGameServerConfigsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.ListGameServerConfigsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListGameServerConfigsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListGameServerConfigsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListGameServerConfigsResponse. */
+ interface IListGameServerConfigsResponse {
+
+ /** ListGameServerConfigsResponse gameServerConfigs */
+ gameServerConfigs?: (google.cloud.gaming.v1.IGameServerConfig[]|null);
+
+ /** ListGameServerConfigsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListGameServerConfigsResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListGameServerConfigsResponse. */
+ class ListGameServerConfigsResponse implements IListGameServerConfigsResponse {
+
+ /**
+ * Constructs a new ListGameServerConfigsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IListGameServerConfigsResponse);
+
+ /** ListGameServerConfigsResponse gameServerConfigs. */
+ public gameServerConfigs: google.cloud.gaming.v1.IGameServerConfig[];
+
+ /** ListGameServerConfigsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListGameServerConfigsResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListGameServerConfigsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListGameServerConfigsResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IListGameServerConfigsResponse): google.cloud.gaming.v1.ListGameServerConfigsResponse;
+
+ /**
+ * Encodes the specified ListGameServerConfigsResponse message. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerConfigsResponse.verify|verify} messages.
+ * @param message ListGameServerConfigsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IListGameServerConfigsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListGameServerConfigsResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerConfigsResponse.verify|verify} messages.
+ * @param message ListGameServerConfigsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IListGameServerConfigsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListGameServerConfigsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListGameServerConfigsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.ListGameServerConfigsResponse;
+
+ /**
+ * Decodes a ListGameServerConfigsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListGameServerConfigsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.ListGameServerConfigsResponse;
+
+ /**
+ * Verifies a ListGameServerConfigsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListGameServerConfigsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListGameServerConfigsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.ListGameServerConfigsResponse;
+
+ /**
+ * Creates a plain object from a ListGameServerConfigsResponse message. Also converts values to other types if specified.
+ * @param message ListGameServerConfigsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.ListGameServerConfigsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListGameServerConfigsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListGameServerConfigsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetGameServerConfigRequest. */
+ interface IGetGameServerConfigRequest {
+
+ /** GetGameServerConfigRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetGameServerConfigRequest. */
+ class GetGameServerConfigRequest implements IGetGameServerConfigRequest {
+
+ /**
+ * Constructs a new GetGameServerConfigRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IGetGameServerConfigRequest);
+
+ /** GetGameServerConfigRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetGameServerConfigRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetGameServerConfigRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IGetGameServerConfigRequest): google.cloud.gaming.v1.GetGameServerConfigRequest;
+
+ /**
+ * Encodes the specified GetGameServerConfigRequest message. Does not implicitly {@link google.cloud.gaming.v1.GetGameServerConfigRequest.verify|verify} messages.
+ * @param message GetGameServerConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IGetGameServerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetGameServerConfigRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GetGameServerConfigRequest.verify|verify} messages.
+ * @param message GetGameServerConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IGetGameServerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetGameServerConfigRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.GetGameServerConfigRequest;
+
+ /**
+ * Decodes a GetGameServerConfigRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.GetGameServerConfigRequest;
+
+ /**
+ * Verifies a GetGameServerConfigRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetGameServerConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetGameServerConfigRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.GetGameServerConfigRequest;
+
+ /**
+ * Creates a plain object from a GetGameServerConfigRequest message. Also converts values to other types if specified.
+ * @param message GetGameServerConfigRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.GetGameServerConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetGameServerConfigRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetGameServerConfigRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateGameServerConfigRequest. */
+ interface ICreateGameServerConfigRequest {
+
+ /** CreateGameServerConfigRequest parent */
+ parent?: (string|null);
+
+ /** CreateGameServerConfigRequest configId */
+ configId?: (string|null);
+
+ /** CreateGameServerConfigRequest gameServerConfig */
+ gameServerConfig?: (google.cloud.gaming.v1.IGameServerConfig|null);
+ }
+
+ /** Represents a CreateGameServerConfigRequest. */
+ class CreateGameServerConfigRequest implements ICreateGameServerConfigRequest {
+
+ /**
+ * Constructs a new CreateGameServerConfigRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.ICreateGameServerConfigRequest);
+
+ /** CreateGameServerConfigRequest parent. */
+ public parent: string;
+
+ /** CreateGameServerConfigRequest configId. */
+ public configId: string;
+
+ /** CreateGameServerConfigRequest gameServerConfig. */
+ public gameServerConfig?: (google.cloud.gaming.v1.IGameServerConfig|null);
+
+ /**
+ * Creates a new CreateGameServerConfigRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateGameServerConfigRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.ICreateGameServerConfigRequest): google.cloud.gaming.v1.CreateGameServerConfigRequest;
+
+ /**
+ * Encodes the specified CreateGameServerConfigRequest message. Does not implicitly {@link google.cloud.gaming.v1.CreateGameServerConfigRequest.verify|verify} messages.
+ * @param message CreateGameServerConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.ICreateGameServerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateGameServerConfigRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.CreateGameServerConfigRequest.verify|verify} messages.
+ * @param message CreateGameServerConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.ICreateGameServerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateGameServerConfigRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.CreateGameServerConfigRequest;
+
+ /**
+ * Decodes a CreateGameServerConfigRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.CreateGameServerConfigRequest;
+
+ /**
+ * Verifies a CreateGameServerConfigRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateGameServerConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateGameServerConfigRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.CreateGameServerConfigRequest;
+
+ /**
+ * Creates a plain object from a CreateGameServerConfigRequest message. Also converts values to other types if specified.
+ * @param message CreateGameServerConfigRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.CreateGameServerConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateGameServerConfigRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateGameServerConfigRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteGameServerConfigRequest. */
+ interface IDeleteGameServerConfigRequest {
+
+ /** DeleteGameServerConfigRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteGameServerConfigRequest. */
+ class DeleteGameServerConfigRequest implements IDeleteGameServerConfigRequest {
+
+ /**
+ * Constructs a new DeleteGameServerConfigRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IDeleteGameServerConfigRequest);
+
+ /** DeleteGameServerConfigRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteGameServerConfigRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteGameServerConfigRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IDeleteGameServerConfigRequest): google.cloud.gaming.v1.DeleteGameServerConfigRequest;
+
+ /**
+ * Encodes the specified DeleteGameServerConfigRequest message. Does not implicitly {@link google.cloud.gaming.v1.DeleteGameServerConfigRequest.verify|verify} messages.
+ * @param message DeleteGameServerConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IDeleteGameServerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteGameServerConfigRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeleteGameServerConfigRequest.verify|verify} messages.
+ * @param message DeleteGameServerConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IDeleteGameServerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteGameServerConfigRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.DeleteGameServerConfigRequest;
+
+ /**
+ * Decodes a DeleteGameServerConfigRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.DeleteGameServerConfigRequest;
+
+ /**
+ * Verifies a DeleteGameServerConfigRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteGameServerConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteGameServerConfigRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.DeleteGameServerConfigRequest;
+
+ /**
+ * Creates a plain object from a DeleteGameServerConfigRequest message. Also converts values to other types if specified.
+ * @param message DeleteGameServerConfigRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.DeleteGameServerConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteGameServerConfigRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteGameServerConfigRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ScalingConfig. */
+ interface IScalingConfig {
+
+ /** ScalingConfig name */
+ name?: (string|null);
+
+ /** ScalingConfig fleetAutoscalerSpec */
+ fleetAutoscalerSpec?: (string|null);
+
+ /** ScalingConfig selectors */
+ selectors?: (google.cloud.gaming.v1.ILabelSelector[]|null);
+
+ /** ScalingConfig schedules */
+ schedules?: (google.cloud.gaming.v1.ISchedule[]|null);
+ }
+
+ /** Represents a ScalingConfig. */
+ class ScalingConfig implements IScalingConfig {
+
+ /**
+ * Constructs a new ScalingConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IScalingConfig);
+
+ /** ScalingConfig name. */
+ public name: string;
+
+ /** ScalingConfig fleetAutoscalerSpec. */
+ public fleetAutoscalerSpec: string;
+
+ /** ScalingConfig selectors. */
+ public selectors: google.cloud.gaming.v1.ILabelSelector[];
+
+ /** ScalingConfig schedules. */
+ public schedules: google.cloud.gaming.v1.ISchedule[];
+
+ /**
+ * Creates a new ScalingConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ScalingConfig instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IScalingConfig): google.cloud.gaming.v1.ScalingConfig;
+
+ /**
+ * Encodes the specified ScalingConfig message. Does not implicitly {@link google.cloud.gaming.v1.ScalingConfig.verify|verify} messages.
+ * @param message ScalingConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IScalingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ScalingConfig message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ScalingConfig.verify|verify} messages.
+ * @param message ScalingConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IScalingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ScalingConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ScalingConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.ScalingConfig;
+
+ /**
+ * Decodes a ScalingConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ScalingConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.ScalingConfig;
+
+ /**
+ * Verifies a ScalingConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ScalingConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ScalingConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.ScalingConfig;
+
+ /**
+ * Creates a plain object from a ScalingConfig message. Also converts values to other types if specified.
+ * @param message ScalingConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.ScalingConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ScalingConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ScalingConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FleetConfig. */
+ interface IFleetConfig {
+
+ /** FleetConfig fleetSpec */
+ fleetSpec?: (string|null);
+
+ /** FleetConfig name */
+ name?: (string|null);
+ }
+
+ /** Represents a FleetConfig. */
+ class FleetConfig implements IFleetConfig {
+
+ /**
+ * Constructs a new FleetConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IFleetConfig);
+
+ /** FleetConfig fleetSpec. */
+ public fleetSpec: string;
+
+ /** FleetConfig name. */
+ public name: string;
+
+ /**
+ * Creates a new FleetConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FleetConfig instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IFleetConfig): google.cloud.gaming.v1.FleetConfig;
+
+ /**
+ * Encodes the specified FleetConfig message. Does not implicitly {@link google.cloud.gaming.v1.FleetConfig.verify|verify} messages.
+ * @param message FleetConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IFleetConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FleetConfig message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.FleetConfig.verify|verify} messages.
+ * @param message FleetConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IFleetConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FleetConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FleetConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.FleetConfig;
+
+ /**
+ * Decodes a FleetConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FleetConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.FleetConfig;
+
+ /**
+ * Verifies a FleetConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FleetConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FleetConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.FleetConfig;
+
+ /**
+ * Creates a plain object from a FleetConfig message. Also converts values to other types if specified.
+ * @param message FleetConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.FleetConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FleetConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FleetConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GameServerConfig. */
+ interface IGameServerConfig {
+
+ /** GameServerConfig name */
+ name?: (string|null);
+
+ /** GameServerConfig createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerConfig updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerConfig labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** GameServerConfig fleetConfigs */
+ fleetConfigs?: (google.cloud.gaming.v1.IFleetConfig[]|null);
+
+ /** GameServerConfig scalingConfigs */
+ scalingConfigs?: (google.cloud.gaming.v1.IScalingConfig[]|null);
+
+ /** GameServerConfig description */
+ description?: (string|null);
+ }
+
+ /** Represents a GameServerConfig. */
+ class GameServerConfig implements IGameServerConfig {
+
+ /**
+ * Constructs a new GameServerConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IGameServerConfig);
+
+ /** GameServerConfig name. */
+ public name: string;
+
+ /** GameServerConfig createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerConfig updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerConfig labels. */
+ public labels: { [k: string]: string };
+
+ /** GameServerConfig fleetConfigs. */
+ public fleetConfigs: google.cloud.gaming.v1.IFleetConfig[];
+
+ /** GameServerConfig scalingConfigs. */
+ public scalingConfigs: google.cloud.gaming.v1.IScalingConfig[];
+
+ /** GameServerConfig description. */
+ public description: string;
+
+ /**
+ * Creates a new GameServerConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GameServerConfig instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IGameServerConfig): google.cloud.gaming.v1.GameServerConfig;
+
+ /**
+ * Encodes the specified GameServerConfig message. Does not implicitly {@link google.cloud.gaming.v1.GameServerConfig.verify|verify} messages.
+ * @param message GameServerConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IGameServerConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GameServerConfig message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GameServerConfig.verify|verify} messages.
+ * @param message GameServerConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IGameServerConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GameServerConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GameServerConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.GameServerConfig;
+
+ /**
+ * Decodes a GameServerConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GameServerConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.GameServerConfig;
+
+ /**
+ * Verifies a GameServerConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GameServerConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GameServerConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.GameServerConfig;
+
+ /**
+ * Creates a plain object from a GameServerConfig message. Also converts values to other types if specified.
+ * @param message GameServerConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.GameServerConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GameServerConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GameServerConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a GameServerConfigsService */
+ class GameServerConfigsService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new GameServerConfigsService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new GameServerConfigsService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GameServerConfigsService;
+
+ /**
+ * Calls ListGameServerConfigs.
+ * @param request ListGameServerConfigsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListGameServerConfigsResponse
+ */
+ public listGameServerConfigs(request: google.cloud.gaming.v1.IListGameServerConfigsRequest, callback: google.cloud.gaming.v1.GameServerConfigsService.ListGameServerConfigsCallback): void;
+
+ /**
+ * Calls ListGameServerConfigs.
+ * @param request ListGameServerConfigsRequest message or plain object
+ * @returns Promise
+ */
+ public listGameServerConfigs(request: google.cloud.gaming.v1.IListGameServerConfigsRequest): Promise;
+
+ /**
+ * Calls GetGameServerConfig.
+ * @param request GetGameServerConfigRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and GameServerConfig
+ */
+ public getGameServerConfig(request: google.cloud.gaming.v1.IGetGameServerConfigRequest, callback: google.cloud.gaming.v1.GameServerConfigsService.GetGameServerConfigCallback): void;
+
+ /**
+ * Calls GetGameServerConfig.
+ * @param request GetGameServerConfigRequest message or plain object
+ * @returns Promise
+ */
+ public getGameServerConfig(request: google.cloud.gaming.v1.IGetGameServerConfigRequest): Promise;
+
+ /**
+ * Calls CreateGameServerConfig.
+ * @param request CreateGameServerConfigRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createGameServerConfig(request: google.cloud.gaming.v1.ICreateGameServerConfigRequest, callback: google.cloud.gaming.v1.GameServerConfigsService.CreateGameServerConfigCallback): void;
+
+ /**
+ * Calls CreateGameServerConfig.
+ * @param request CreateGameServerConfigRequest message or plain object
+ * @returns Promise
+ */
+ public createGameServerConfig(request: google.cloud.gaming.v1.ICreateGameServerConfigRequest): Promise;
+
+ /**
+ * Calls DeleteGameServerConfig.
+ * @param request DeleteGameServerConfigRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteGameServerConfig(request: google.cloud.gaming.v1.IDeleteGameServerConfigRequest, callback: google.cloud.gaming.v1.GameServerConfigsService.DeleteGameServerConfigCallback): void;
+
+ /**
+ * Calls DeleteGameServerConfig.
+ * @param request DeleteGameServerConfigRequest message or plain object
+ * @returns Promise
+ */
+ public deleteGameServerConfig(request: google.cloud.gaming.v1.IDeleteGameServerConfigRequest): Promise;
+ }
+
+ namespace GameServerConfigsService {
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerConfigsService|listGameServerConfigs}.
+ * @param error Error, if any
+ * @param [response] ListGameServerConfigsResponse
+ */
+ type ListGameServerConfigsCallback = (error: (Error|null), response?: google.cloud.gaming.v1.ListGameServerConfigsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerConfigsService|getGameServerConfig}.
+ * @param error Error, if any
+ * @param [response] GameServerConfig
+ */
+ type GetGameServerConfigCallback = (error: (Error|null), response?: google.cloud.gaming.v1.GameServerConfig) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerConfigsService|createGameServerConfig}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateGameServerConfigCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerConfigsService|deleteGameServerConfig}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteGameServerConfigCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+ }
+
+ /** Properties of a ListGameServerDeploymentsRequest. */
+ interface IListGameServerDeploymentsRequest {
+
+ /** ListGameServerDeploymentsRequest parent */
+ parent?: (string|null);
+
+ /** ListGameServerDeploymentsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListGameServerDeploymentsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListGameServerDeploymentsRequest filter */
+ filter?: (string|null);
+
+ /** ListGameServerDeploymentsRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListGameServerDeploymentsRequest. */
+ class ListGameServerDeploymentsRequest implements IListGameServerDeploymentsRequest {
+
+ /**
+ * Constructs a new ListGameServerDeploymentsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IListGameServerDeploymentsRequest);
+
+ /** ListGameServerDeploymentsRequest parent. */
+ public parent: string;
+
+ /** ListGameServerDeploymentsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListGameServerDeploymentsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListGameServerDeploymentsRequest filter. */
+ public filter: string;
+
+ /** ListGameServerDeploymentsRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListGameServerDeploymentsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListGameServerDeploymentsRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IListGameServerDeploymentsRequest): google.cloud.gaming.v1.ListGameServerDeploymentsRequest;
+
+ /**
+ * Encodes the specified ListGameServerDeploymentsRequest message. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerDeploymentsRequest.verify|verify} messages.
+ * @param message ListGameServerDeploymentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IListGameServerDeploymentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListGameServerDeploymentsRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerDeploymentsRequest.verify|verify} messages.
+ * @param message ListGameServerDeploymentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IListGameServerDeploymentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListGameServerDeploymentsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListGameServerDeploymentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.ListGameServerDeploymentsRequest;
+
+ /**
+ * Decodes a ListGameServerDeploymentsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListGameServerDeploymentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.ListGameServerDeploymentsRequest;
+
+ /**
+ * Verifies a ListGameServerDeploymentsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListGameServerDeploymentsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListGameServerDeploymentsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.ListGameServerDeploymentsRequest;
+
+ /**
+ * Creates a plain object from a ListGameServerDeploymentsRequest message. Also converts values to other types if specified.
+ * @param message ListGameServerDeploymentsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.ListGameServerDeploymentsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListGameServerDeploymentsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListGameServerDeploymentsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListGameServerDeploymentsResponse. */
+ interface IListGameServerDeploymentsResponse {
+
+ /** ListGameServerDeploymentsResponse gameServerDeployments */
+ gameServerDeployments?: (google.cloud.gaming.v1.IGameServerDeployment[]|null);
+
+ /** ListGameServerDeploymentsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListGameServerDeploymentsResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListGameServerDeploymentsResponse. */
+ class ListGameServerDeploymentsResponse implements IListGameServerDeploymentsResponse {
+
+ /**
+ * Constructs a new ListGameServerDeploymentsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IListGameServerDeploymentsResponse);
+
+ /** ListGameServerDeploymentsResponse gameServerDeployments. */
+ public gameServerDeployments: google.cloud.gaming.v1.IGameServerDeployment[];
+
+ /** ListGameServerDeploymentsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListGameServerDeploymentsResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListGameServerDeploymentsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListGameServerDeploymentsResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IListGameServerDeploymentsResponse): google.cloud.gaming.v1.ListGameServerDeploymentsResponse;
+
+ /**
+ * Encodes the specified ListGameServerDeploymentsResponse message. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerDeploymentsResponse.verify|verify} messages.
+ * @param message ListGameServerDeploymentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IListGameServerDeploymentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListGameServerDeploymentsResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerDeploymentsResponse.verify|verify} messages.
+ * @param message ListGameServerDeploymentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IListGameServerDeploymentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListGameServerDeploymentsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListGameServerDeploymentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.ListGameServerDeploymentsResponse;
+
+ /**
+ * Decodes a ListGameServerDeploymentsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListGameServerDeploymentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.ListGameServerDeploymentsResponse;
+
+ /**
+ * Verifies a ListGameServerDeploymentsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListGameServerDeploymentsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListGameServerDeploymentsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.ListGameServerDeploymentsResponse;
+
+ /**
+ * Creates a plain object from a ListGameServerDeploymentsResponse message. Also converts values to other types if specified.
+ * @param message ListGameServerDeploymentsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.ListGameServerDeploymentsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListGameServerDeploymentsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListGameServerDeploymentsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetGameServerDeploymentRequest. */
+ interface IGetGameServerDeploymentRequest {
+
+ /** GetGameServerDeploymentRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetGameServerDeploymentRequest. */
+ class GetGameServerDeploymentRequest implements IGetGameServerDeploymentRequest {
+
+ /**
+ * Constructs a new GetGameServerDeploymentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IGetGameServerDeploymentRequest);
+
+ /** GetGameServerDeploymentRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetGameServerDeploymentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetGameServerDeploymentRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IGetGameServerDeploymentRequest): google.cloud.gaming.v1.GetGameServerDeploymentRequest;
+
+ /**
+ * Encodes the specified GetGameServerDeploymentRequest message. Does not implicitly {@link google.cloud.gaming.v1.GetGameServerDeploymentRequest.verify|verify} messages.
+ * @param message GetGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IGetGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetGameServerDeploymentRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GetGameServerDeploymentRequest.verify|verify} messages.
+ * @param message GetGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IGetGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetGameServerDeploymentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.GetGameServerDeploymentRequest;
+
+ /**
+ * Decodes a GetGameServerDeploymentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.GetGameServerDeploymentRequest;
+
+ /**
+ * Verifies a GetGameServerDeploymentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetGameServerDeploymentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetGameServerDeploymentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.GetGameServerDeploymentRequest;
+
+ /**
+ * Creates a plain object from a GetGameServerDeploymentRequest message. Also converts values to other types if specified.
+ * @param message GetGameServerDeploymentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.GetGameServerDeploymentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetGameServerDeploymentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetGameServerDeploymentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetGameServerDeploymentRolloutRequest. */
+ interface IGetGameServerDeploymentRolloutRequest {
+
+ /** GetGameServerDeploymentRolloutRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetGameServerDeploymentRolloutRequest. */
+ class GetGameServerDeploymentRolloutRequest implements IGetGameServerDeploymentRolloutRequest {
+
+ /**
+ * Constructs a new GetGameServerDeploymentRolloutRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IGetGameServerDeploymentRolloutRequest);
+
+ /** GetGameServerDeploymentRolloutRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetGameServerDeploymentRolloutRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetGameServerDeploymentRolloutRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IGetGameServerDeploymentRolloutRequest): google.cloud.gaming.v1.GetGameServerDeploymentRolloutRequest;
+
+ /**
+ * Encodes the specified GetGameServerDeploymentRolloutRequest message. Does not implicitly {@link google.cloud.gaming.v1.GetGameServerDeploymentRolloutRequest.verify|verify} messages.
+ * @param message GetGameServerDeploymentRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IGetGameServerDeploymentRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetGameServerDeploymentRolloutRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GetGameServerDeploymentRolloutRequest.verify|verify} messages.
+ * @param message GetGameServerDeploymentRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IGetGameServerDeploymentRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetGameServerDeploymentRolloutRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetGameServerDeploymentRolloutRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.GetGameServerDeploymentRolloutRequest;
+
+ /**
+ * Decodes a GetGameServerDeploymentRolloutRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetGameServerDeploymentRolloutRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.GetGameServerDeploymentRolloutRequest;
+
+ /**
+ * Verifies a GetGameServerDeploymentRolloutRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetGameServerDeploymentRolloutRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetGameServerDeploymentRolloutRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.GetGameServerDeploymentRolloutRequest;
+
+ /**
+ * Creates a plain object from a GetGameServerDeploymentRolloutRequest message. Also converts values to other types if specified.
+ * @param message GetGameServerDeploymentRolloutRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.GetGameServerDeploymentRolloutRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetGameServerDeploymentRolloutRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetGameServerDeploymentRolloutRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateGameServerDeploymentRequest. */
+ interface ICreateGameServerDeploymentRequest {
+
+ /** CreateGameServerDeploymentRequest parent */
+ parent?: (string|null);
+
+ /** CreateGameServerDeploymentRequest deploymentId */
+ deploymentId?: (string|null);
+
+ /** CreateGameServerDeploymentRequest gameServerDeployment */
+ gameServerDeployment?: (google.cloud.gaming.v1.IGameServerDeployment|null);
+ }
+
+ /** Represents a CreateGameServerDeploymentRequest. */
+ class CreateGameServerDeploymentRequest implements ICreateGameServerDeploymentRequest {
+
+ /**
+ * Constructs a new CreateGameServerDeploymentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.ICreateGameServerDeploymentRequest);
+
+ /** CreateGameServerDeploymentRequest parent. */
+ public parent: string;
+
+ /** CreateGameServerDeploymentRequest deploymentId. */
+ public deploymentId: string;
+
+ /** CreateGameServerDeploymentRequest gameServerDeployment. */
+ public gameServerDeployment?: (google.cloud.gaming.v1.IGameServerDeployment|null);
+
+ /**
+ * Creates a new CreateGameServerDeploymentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateGameServerDeploymentRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.ICreateGameServerDeploymentRequest): google.cloud.gaming.v1.CreateGameServerDeploymentRequest;
+
+ /**
+ * Encodes the specified CreateGameServerDeploymentRequest message. Does not implicitly {@link google.cloud.gaming.v1.CreateGameServerDeploymentRequest.verify|verify} messages.
+ * @param message CreateGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.ICreateGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateGameServerDeploymentRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.CreateGameServerDeploymentRequest.verify|verify} messages.
+ * @param message CreateGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.ICreateGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateGameServerDeploymentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.CreateGameServerDeploymentRequest;
+
+ /**
+ * Decodes a CreateGameServerDeploymentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.CreateGameServerDeploymentRequest;
+
+ /**
+ * Verifies a CreateGameServerDeploymentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateGameServerDeploymentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateGameServerDeploymentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.CreateGameServerDeploymentRequest;
+
+ /**
+ * Creates a plain object from a CreateGameServerDeploymentRequest message. Also converts values to other types if specified.
+ * @param message CreateGameServerDeploymentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.CreateGameServerDeploymentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateGameServerDeploymentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateGameServerDeploymentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteGameServerDeploymentRequest. */
+ interface IDeleteGameServerDeploymentRequest {
+
+ /** DeleteGameServerDeploymentRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteGameServerDeploymentRequest. */
+ class DeleteGameServerDeploymentRequest implements IDeleteGameServerDeploymentRequest {
+
+ /**
+ * Constructs a new DeleteGameServerDeploymentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IDeleteGameServerDeploymentRequest);
+
+ /** DeleteGameServerDeploymentRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteGameServerDeploymentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteGameServerDeploymentRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IDeleteGameServerDeploymentRequest): google.cloud.gaming.v1.DeleteGameServerDeploymentRequest;
+
+ /**
+ * Encodes the specified DeleteGameServerDeploymentRequest message. Does not implicitly {@link google.cloud.gaming.v1.DeleteGameServerDeploymentRequest.verify|verify} messages.
+ * @param message DeleteGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IDeleteGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteGameServerDeploymentRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeleteGameServerDeploymentRequest.verify|verify} messages.
+ * @param message DeleteGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IDeleteGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteGameServerDeploymentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.DeleteGameServerDeploymentRequest;
+
+ /**
+ * Decodes a DeleteGameServerDeploymentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.DeleteGameServerDeploymentRequest;
+
+ /**
+ * Verifies a DeleteGameServerDeploymentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteGameServerDeploymentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteGameServerDeploymentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.DeleteGameServerDeploymentRequest;
+
+ /**
+ * Creates a plain object from a DeleteGameServerDeploymentRequest message. Also converts values to other types if specified.
+ * @param message DeleteGameServerDeploymentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.DeleteGameServerDeploymentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteGameServerDeploymentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteGameServerDeploymentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateGameServerDeploymentRequest. */
+ interface IUpdateGameServerDeploymentRequest {
+
+ /** UpdateGameServerDeploymentRequest gameServerDeployment */
+ gameServerDeployment?: (google.cloud.gaming.v1.IGameServerDeployment|null);
+
+ /** UpdateGameServerDeploymentRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateGameServerDeploymentRequest. */
+ class UpdateGameServerDeploymentRequest implements IUpdateGameServerDeploymentRequest {
+
+ /**
+ * Constructs a new UpdateGameServerDeploymentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IUpdateGameServerDeploymentRequest);
+
+ /** UpdateGameServerDeploymentRequest gameServerDeployment. */
+ public gameServerDeployment?: (google.cloud.gaming.v1.IGameServerDeployment|null);
+
+ /** UpdateGameServerDeploymentRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateGameServerDeploymentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateGameServerDeploymentRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IUpdateGameServerDeploymentRequest): google.cloud.gaming.v1.UpdateGameServerDeploymentRequest;
+
+ /**
+ * Encodes the specified UpdateGameServerDeploymentRequest message. Does not implicitly {@link google.cloud.gaming.v1.UpdateGameServerDeploymentRequest.verify|verify} messages.
+ * @param message UpdateGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IUpdateGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateGameServerDeploymentRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.UpdateGameServerDeploymentRequest.verify|verify} messages.
+ * @param message UpdateGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IUpdateGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateGameServerDeploymentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.UpdateGameServerDeploymentRequest;
+
+ /**
+ * Decodes an UpdateGameServerDeploymentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.UpdateGameServerDeploymentRequest;
+
+ /**
+ * Verifies an UpdateGameServerDeploymentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UpdateGameServerDeploymentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateGameServerDeploymentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.UpdateGameServerDeploymentRequest;
+
+ /**
+ * Creates a plain object from an UpdateGameServerDeploymentRequest message. Also converts values to other types if specified.
+ * @param message UpdateGameServerDeploymentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.UpdateGameServerDeploymentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateGameServerDeploymentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateGameServerDeploymentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateGameServerDeploymentRolloutRequest. */
+ interface IUpdateGameServerDeploymentRolloutRequest {
+
+ /** UpdateGameServerDeploymentRolloutRequest rollout */
+ rollout?: (google.cloud.gaming.v1.IGameServerDeploymentRollout|null);
+
+ /** UpdateGameServerDeploymentRolloutRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateGameServerDeploymentRolloutRequest. */
+ class UpdateGameServerDeploymentRolloutRequest implements IUpdateGameServerDeploymentRolloutRequest {
+
+ /**
+ * Constructs a new UpdateGameServerDeploymentRolloutRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IUpdateGameServerDeploymentRolloutRequest);
+
+ /** UpdateGameServerDeploymentRolloutRequest rollout. */
+ public rollout?: (google.cloud.gaming.v1.IGameServerDeploymentRollout|null);
+
+ /** UpdateGameServerDeploymentRolloutRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateGameServerDeploymentRolloutRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateGameServerDeploymentRolloutRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IUpdateGameServerDeploymentRolloutRequest): google.cloud.gaming.v1.UpdateGameServerDeploymentRolloutRequest;
+
+ /**
+ * Encodes the specified UpdateGameServerDeploymentRolloutRequest message. Does not implicitly {@link google.cloud.gaming.v1.UpdateGameServerDeploymentRolloutRequest.verify|verify} messages.
+ * @param message UpdateGameServerDeploymentRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IUpdateGameServerDeploymentRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateGameServerDeploymentRolloutRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.UpdateGameServerDeploymentRolloutRequest.verify|verify} messages.
+ * @param message UpdateGameServerDeploymentRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IUpdateGameServerDeploymentRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateGameServerDeploymentRolloutRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateGameServerDeploymentRolloutRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.UpdateGameServerDeploymentRolloutRequest;
+
+ /**
+ * Decodes an UpdateGameServerDeploymentRolloutRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateGameServerDeploymentRolloutRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.UpdateGameServerDeploymentRolloutRequest;
+
+ /**
+ * Verifies an UpdateGameServerDeploymentRolloutRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UpdateGameServerDeploymentRolloutRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateGameServerDeploymentRolloutRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.UpdateGameServerDeploymentRolloutRequest;
+
+ /**
+ * Creates a plain object from an UpdateGameServerDeploymentRolloutRequest message. Also converts values to other types if specified.
+ * @param message UpdateGameServerDeploymentRolloutRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.UpdateGameServerDeploymentRolloutRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateGameServerDeploymentRolloutRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateGameServerDeploymentRolloutRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FetchDeploymentStateRequest. */
+ interface IFetchDeploymentStateRequest {
+
+ /** FetchDeploymentStateRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a FetchDeploymentStateRequest. */
+ class FetchDeploymentStateRequest implements IFetchDeploymentStateRequest {
+
+ /**
+ * Constructs a new FetchDeploymentStateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IFetchDeploymentStateRequest);
+
+ /** FetchDeploymentStateRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new FetchDeploymentStateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FetchDeploymentStateRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IFetchDeploymentStateRequest): google.cloud.gaming.v1.FetchDeploymentStateRequest;
+
+ /**
+ * Encodes the specified FetchDeploymentStateRequest message. Does not implicitly {@link google.cloud.gaming.v1.FetchDeploymentStateRequest.verify|verify} messages.
+ * @param message FetchDeploymentStateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IFetchDeploymentStateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FetchDeploymentStateRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.FetchDeploymentStateRequest.verify|verify} messages.
+ * @param message FetchDeploymentStateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IFetchDeploymentStateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FetchDeploymentStateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FetchDeploymentStateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.FetchDeploymentStateRequest;
+
+ /**
+ * Decodes a FetchDeploymentStateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FetchDeploymentStateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.FetchDeploymentStateRequest;
+
+ /**
+ * Verifies a FetchDeploymentStateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FetchDeploymentStateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FetchDeploymentStateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.FetchDeploymentStateRequest;
+
+ /**
+ * Creates a plain object from a FetchDeploymentStateRequest message. Also converts values to other types if specified.
+ * @param message FetchDeploymentStateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.FetchDeploymentStateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FetchDeploymentStateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FetchDeploymentStateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FetchDeploymentStateResponse. */
+ interface IFetchDeploymentStateResponse {
+
+ /** FetchDeploymentStateResponse clusterState */
+ clusterState?: (google.cloud.gaming.v1.FetchDeploymentStateResponse.IDeployedClusterState[]|null);
+
+ /** FetchDeploymentStateResponse unavailable */
+ unavailable?: (string[]|null);
+ }
+
+ /** Represents a FetchDeploymentStateResponse. */
+ class FetchDeploymentStateResponse implements IFetchDeploymentStateResponse {
+
+ /**
+ * Constructs a new FetchDeploymentStateResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IFetchDeploymentStateResponse);
+
+ /** FetchDeploymentStateResponse clusterState. */
+ public clusterState: google.cloud.gaming.v1.FetchDeploymentStateResponse.IDeployedClusterState[];
+
+ /** FetchDeploymentStateResponse unavailable. */
+ public unavailable: string[];
+
+ /**
+ * Creates a new FetchDeploymentStateResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FetchDeploymentStateResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IFetchDeploymentStateResponse): google.cloud.gaming.v1.FetchDeploymentStateResponse;
+
+ /**
+ * Encodes the specified FetchDeploymentStateResponse message. Does not implicitly {@link google.cloud.gaming.v1.FetchDeploymentStateResponse.verify|verify} messages.
+ * @param message FetchDeploymentStateResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IFetchDeploymentStateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FetchDeploymentStateResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.FetchDeploymentStateResponse.verify|verify} messages.
+ * @param message FetchDeploymentStateResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IFetchDeploymentStateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FetchDeploymentStateResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FetchDeploymentStateResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.FetchDeploymentStateResponse;
+
+ /**
+ * Decodes a FetchDeploymentStateResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FetchDeploymentStateResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.FetchDeploymentStateResponse;
+
+ /**
+ * Verifies a FetchDeploymentStateResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FetchDeploymentStateResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FetchDeploymentStateResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.FetchDeploymentStateResponse;
+
+ /**
+ * Creates a plain object from a FetchDeploymentStateResponse message. Also converts values to other types if specified.
+ * @param message FetchDeploymentStateResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.FetchDeploymentStateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FetchDeploymentStateResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FetchDeploymentStateResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FetchDeploymentStateResponse {
+
+ /** Properties of a DeployedClusterState. */
+ interface IDeployedClusterState {
+
+ /** DeployedClusterState cluster */
+ cluster?: (string|null);
+
+ /** DeployedClusterState fleetDetails */
+ fleetDetails?: (google.cloud.gaming.v1.IDeployedFleetDetails[]|null);
+ }
+
+ /** Represents a DeployedClusterState. */
+ class DeployedClusterState implements IDeployedClusterState {
+
+ /**
+ * Constructs a new DeployedClusterState.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.FetchDeploymentStateResponse.IDeployedClusterState);
+
+ /** DeployedClusterState cluster. */
+ public cluster: string;
+
+ /** DeployedClusterState fleetDetails. */
+ public fleetDetails: google.cloud.gaming.v1.IDeployedFleetDetails[];
+
+ /**
+ * Creates a new DeployedClusterState instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployedClusterState instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.FetchDeploymentStateResponse.IDeployedClusterState): google.cloud.gaming.v1.FetchDeploymentStateResponse.DeployedClusterState;
+
+ /**
+ * Encodes the specified DeployedClusterState message. Does not implicitly {@link google.cloud.gaming.v1.FetchDeploymentStateResponse.DeployedClusterState.verify|verify} messages.
+ * @param message DeployedClusterState message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.FetchDeploymentStateResponse.IDeployedClusterState, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployedClusterState message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.FetchDeploymentStateResponse.DeployedClusterState.verify|verify} messages.
+ * @param message DeployedClusterState message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.FetchDeploymentStateResponse.IDeployedClusterState, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployedClusterState message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployedClusterState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.FetchDeploymentStateResponse.DeployedClusterState;
+
+ /**
+ * Decodes a DeployedClusterState message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployedClusterState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.FetchDeploymentStateResponse.DeployedClusterState;
+
+ /**
+ * Verifies a DeployedClusterState message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeployedClusterState message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployedClusterState
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.FetchDeploymentStateResponse.DeployedClusterState;
+
+ /**
+ * Creates a plain object from a DeployedClusterState message. Also converts values to other types if specified.
+ * @param message DeployedClusterState
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.FetchDeploymentStateResponse.DeployedClusterState, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployedClusterState to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployedClusterState
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a GameServerDeployment. */
+ interface IGameServerDeployment {
+
+ /** GameServerDeployment name */
+ name?: (string|null);
+
+ /** GameServerDeployment createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeployment updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeployment labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** GameServerDeployment etag */
+ etag?: (string|null);
+
+ /** GameServerDeployment description */
+ description?: (string|null);
+ }
+
+ /** Represents a GameServerDeployment. */
+ class GameServerDeployment implements IGameServerDeployment {
+
+ /**
+ * Constructs a new GameServerDeployment.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IGameServerDeployment);
+
+ /** GameServerDeployment name. */
+ public name: string;
+
+ /** GameServerDeployment createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeployment updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeployment labels. */
+ public labels: { [k: string]: string };
+
+ /** GameServerDeployment etag. */
+ public etag: string;
+
+ /** GameServerDeployment description. */
+ public description: string;
+
+ /**
+ * Creates a new GameServerDeployment instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GameServerDeployment instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IGameServerDeployment): google.cloud.gaming.v1.GameServerDeployment;
+
+ /**
+ * Encodes the specified GameServerDeployment message. Does not implicitly {@link google.cloud.gaming.v1.GameServerDeployment.verify|verify} messages.
+ * @param message GameServerDeployment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IGameServerDeployment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GameServerDeployment message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GameServerDeployment.verify|verify} messages.
+ * @param message GameServerDeployment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IGameServerDeployment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GameServerDeployment message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GameServerDeployment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.GameServerDeployment;
+
+ /**
+ * Decodes a GameServerDeployment message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GameServerDeployment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.GameServerDeployment;
+
+ /**
+ * Verifies a GameServerDeployment message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GameServerDeployment message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GameServerDeployment
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.GameServerDeployment;
+
+ /**
+ * Creates a plain object from a GameServerDeployment message. Also converts values to other types if specified.
+ * @param message GameServerDeployment
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.GameServerDeployment, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GameServerDeployment to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GameServerDeployment
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GameServerConfigOverride. */
+ interface IGameServerConfigOverride {
+
+ /** GameServerConfigOverride realmsSelector */
+ realmsSelector?: (google.cloud.gaming.v1.IRealmSelector|null);
+
+ /** GameServerConfigOverride configVersion */
+ configVersion?: (string|null);
+ }
+
+ /** Represents a GameServerConfigOverride. */
+ class GameServerConfigOverride implements IGameServerConfigOverride {
+
+ /**
+ * Constructs a new GameServerConfigOverride.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IGameServerConfigOverride);
+
+ /** GameServerConfigOverride realmsSelector. */
+ public realmsSelector?: (google.cloud.gaming.v1.IRealmSelector|null);
+
+ /** GameServerConfigOverride configVersion. */
+ public configVersion?: (string|null);
+
+ /** GameServerConfigOverride selector. */
+ public selector?: "realmsSelector";
+
+ /** GameServerConfigOverride change. */
+ public change?: "configVersion";
+
+ /**
+ * Creates a new GameServerConfigOverride instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GameServerConfigOverride instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IGameServerConfigOverride): google.cloud.gaming.v1.GameServerConfigOverride;
+
+ /**
+ * Encodes the specified GameServerConfigOverride message. Does not implicitly {@link google.cloud.gaming.v1.GameServerConfigOverride.verify|verify} messages.
+ * @param message GameServerConfigOverride message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IGameServerConfigOverride, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GameServerConfigOverride message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GameServerConfigOverride.verify|verify} messages.
+ * @param message GameServerConfigOverride message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IGameServerConfigOverride, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GameServerConfigOverride message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GameServerConfigOverride
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.GameServerConfigOverride;
+
+ /**
+ * Decodes a GameServerConfigOverride message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GameServerConfigOverride
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.GameServerConfigOverride;
+
+ /**
+ * Verifies a GameServerConfigOverride message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GameServerConfigOverride message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GameServerConfigOverride
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.GameServerConfigOverride;
+
+ /**
+ * Creates a plain object from a GameServerConfigOverride message. Also converts values to other types if specified.
+ * @param message GameServerConfigOverride
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.GameServerConfigOverride, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GameServerConfigOverride to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GameServerConfigOverride
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GameServerDeploymentRollout. */
+ interface IGameServerDeploymentRollout {
+
+ /** GameServerDeploymentRollout name */
+ name?: (string|null);
+
+ /** GameServerDeploymentRollout createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeploymentRollout updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeploymentRollout defaultGameServerConfig */
+ defaultGameServerConfig?: (string|null);
+
+ /** GameServerDeploymentRollout gameServerConfigOverrides */
+ gameServerConfigOverrides?: (google.cloud.gaming.v1.IGameServerConfigOverride[]|null);
+
+ /** GameServerDeploymentRollout etag */
+ etag?: (string|null);
+ }
+
+ /** Represents a GameServerDeploymentRollout. */
+ class GameServerDeploymentRollout implements IGameServerDeploymentRollout {
+
+ /**
+ * Constructs a new GameServerDeploymentRollout.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IGameServerDeploymentRollout);
+
+ /** GameServerDeploymentRollout name. */
+ public name: string;
+
+ /** GameServerDeploymentRollout createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeploymentRollout updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeploymentRollout defaultGameServerConfig. */
+ public defaultGameServerConfig: string;
+
+ /** GameServerDeploymentRollout gameServerConfigOverrides. */
+ public gameServerConfigOverrides: google.cloud.gaming.v1.IGameServerConfigOverride[];
+
+ /** GameServerDeploymentRollout etag. */
+ public etag: string;
+
+ /**
+ * Creates a new GameServerDeploymentRollout instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GameServerDeploymentRollout instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IGameServerDeploymentRollout): google.cloud.gaming.v1.GameServerDeploymentRollout;
+
+ /**
+ * Encodes the specified GameServerDeploymentRollout message. Does not implicitly {@link google.cloud.gaming.v1.GameServerDeploymentRollout.verify|verify} messages.
+ * @param message GameServerDeploymentRollout message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IGameServerDeploymentRollout, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GameServerDeploymentRollout message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GameServerDeploymentRollout.verify|verify} messages.
+ * @param message GameServerDeploymentRollout message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IGameServerDeploymentRollout, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GameServerDeploymentRollout message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GameServerDeploymentRollout
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.GameServerDeploymentRollout;
+
+ /**
+ * Decodes a GameServerDeploymentRollout message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GameServerDeploymentRollout
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.GameServerDeploymentRollout;
+
+ /**
+ * Verifies a GameServerDeploymentRollout message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GameServerDeploymentRollout message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GameServerDeploymentRollout
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.GameServerDeploymentRollout;
+
+ /**
+ * Creates a plain object from a GameServerDeploymentRollout message. Also converts values to other types if specified.
+ * @param message GameServerDeploymentRollout
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.GameServerDeploymentRollout, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GameServerDeploymentRollout to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GameServerDeploymentRollout
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewGameServerDeploymentRolloutRequest. */
+ interface IPreviewGameServerDeploymentRolloutRequest {
+
+ /** PreviewGameServerDeploymentRolloutRequest rollout */
+ rollout?: (google.cloud.gaming.v1.IGameServerDeploymentRollout|null);
+
+ /** PreviewGameServerDeploymentRolloutRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** PreviewGameServerDeploymentRolloutRequest previewTime */
+ previewTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a PreviewGameServerDeploymentRolloutRequest. */
+ class PreviewGameServerDeploymentRolloutRequest implements IPreviewGameServerDeploymentRolloutRequest {
+
+ /**
+ * Constructs a new PreviewGameServerDeploymentRolloutRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutRequest);
+
+ /** PreviewGameServerDeploymentRolloutRequest rollout. */
+ public rollout?: (google.cloud.gaming.v1.IGameServerDeploymentRollout|null);
+
+ /** PreviewGameServerDeploymentRolloutRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** PreviewGameServerDeploymentRolloutRequest previewTime. */
+ public previewTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new PreviewGameServerDeploymentRolloutRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewGameServerDeploymentRolloutRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutRequest): google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutRequest;
+
+ /**
+ * Encodes the specified PreviewGameServerDeploymentRolloutRequest message. Does not implicitly {@link google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutRequest.verify|verify} messages.
+ * @param message PreviewGameServerDeploymentRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewGameServerDeploymentRolloutRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutRequest.verify|verify} messages.
+ * @param message PreviewGameServerDeploymentRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewGameServerDeploymentRolloutRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewGameServerDeploymentRolloutRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutRequest;
+
+ /**
+ * Decodes a PreviewGameServerDeploymentRolloutRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewGameServerDeploymentRolloutRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutRequest;
+
+ /**
+ * Verifies a PreviewGameServerDeploymentRolloutRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewGameServerDeploymentRolloutRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewGameServerDeploymentRolloutRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutRequest;
+
+ /**
+ * Creates a plain object from a PreviewGameServerDeploymentRolloutRequest message. Also converts values to other types if specified.
+ * @param message PreviewGameServerDeploymentRolloutRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewGameServerDeploymentRolloutRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewGameServerDeploymentRolloutRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewGameServerDeploymentRolloutResponse. */
+ interface IPreviewGameServerDeploymentRolloutResponse {
+
+ /** PreviewGameServerDeploymentRolloutResponse unavailable */
+ unavailable?: (string[]|null);
+
+ /** PreviewGameServerDeploymentRolloutResponse etag */
+ etag?: (string|null);
+
+ /** PreviewGameServerDeploymentRolloutResponse targetState */
+ targetState?: (google.cloud.gaming.v1.ITargetState|null);
+ }
+
+ /** Represents a PreviewGameServerDeploymentRolloutResponse. */
+ class PreviewGameServerDeploymentRolloutResponse implements IPreviewGameServerDeploymentRolloutResponse {
+
+ /**
+ * Constructs a new PreviewGameServerDeploymentRolloutResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutResponse);
+
+ /** PreviewGameServerDeploymentRolloutResponse unavailable. */
+ public unavailable: string[];
+
+ /** PreviewGameServerDeploymentRolloutResponse etag. */
+ public etag: string;
+
+ /** PreviewGameServerDeploymentRolloutResponse targetState. */
+ public targetState?: (google.cloud.gaming.v1.ITargetState|null);
+
+ /**
+ * Creates a new PreviewGameServerDeploymentRolloutResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewGameServerDeploymentRolloutResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutResponse): google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse;
+
+ /**
+ * Encodes the specified PreviewGameServerDeploymentRolloutResponse message. Does not implicitly {@link google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse.verify|verify} messages.
+ * @param message PreviewGameServerDeploymentRolloutResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewGameServerDeploymentRolloutResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse.verify|verify} messages.
+ * @param message PreviewGameServerDeploymentRolloutResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewGameServerDeploymentRolloutResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewGameServerDeploymentRolloutResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse;
+
+ /**
+ * Decodes a PreviewGameServerDeploymentRolloutResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewGameServerDeploymentRolloutResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse;
+
+ /**
+ * Verifies a PreviewGameServerDeploymentRolloutResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewGameServerDeploymentRolloutResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewGameServerDeploymentRolloutResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse;
+
+ /**
+ * Creates a plain object from a PreviewGameServerDeploymentRolloutResponse message. Also converts values to other types if specified.
+ * @param message PreviewGameServerDeploymentRolloutResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewGameServerDeploymentRolloutResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewGameServerDeploymentRolloutResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a GameServerDeploymentsService */
+ class GameServerDeploymentsService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new GameServerDeploymentsService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new GameServerDeploymentsService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GameServerDeploymentsService;
+
+ /**
+ * Calls ListGameServerDeployments.
+ * @param request ListGameServerDeploymentsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListGameServerDeploymentsResponse
+ */
+ public listGameServerDeployments(request: google.cloud.gaming.v1.IListGameServerDeploymentsRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.ListGameServerDeploymentsCallback): void;
+
+ /**
+ * Calls ListGameServerDeployments.
+ * @param request ListGameServerDeploymentsRequest message or plain object
+ * @returns Promise
+ */
+ public listGameServerDeployments(request: google.cloud.gaming.v1.IListGameServerDeploymentsRequest): Promise;
+
+ /**
+ * Calls GetGameServerDeployment.
+ * @param request GetGameServerDeploymentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and GameServerDeployment
+ */
+ public getGameServerDeployment(request: google.cloud.gaming.v1.IGetGameServerDeploymentRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeploymentCallback): void;
+
+ /**
+ * Calls GetGameServerDeployment.
+ * @param request GetGameServerDeploymentRequest message or plain object
+ * @returns Promise
+ */
+ public getGameServerDeployment(request: google.cloud.gaming.v1.IGetGameServerDeploymentRequest): Promise;
+
+ /**
+ * Calls CreateGameServerDeployment.
+ * @param request CreateGameServerDeploymentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createGameServerDeployment(request: google.cloud.gaming.v1.ICreateGameServerDeploymentRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.CreateGameServerDeploymentCallback): void;
+
+ /**
+ * Calls CreateGameServerDeployment.
+ * @param request CreateGameServerDeploymentRequest message or plain object
+ * @returns Promise
+ */
+ public createGameServerDeployment(request: google.cloud.gaming.v1.ICreateGameServerDeploymentRequest): Promise;
+
+ /**
+ * Calls DeleteGameServerDeployment.
+ * @param request DeleteGameServerDeploymentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteGameServerDeployment(request: google.cloud.gaming.v1.IDeleteGameServerDeploymentRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.DeleteGameServerDeploymentCallback): void;
+
+ /**
+ * Calls DeleteGameServerDeployment.
+ * @param request DeleteGameServerDeploymentRequest message or plain object
+ * @returns Promise
+ */
+ public deleteGameServerDeployment(request: google.cloud.gaming.v1.IDeleteGameServerDeploymentRequest): Promise;
+
+ /**
+ * Calls UpdateGameServerDeployment.
+ * @param request UpdateGameServerDeploymentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateGameServerDeployment(request: google.cloud.gaming.v1.IUpdateGameServerDeploymentRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeploymentCallback): void;
+
+ /**
+ * Calls UpdateGameServerDeployment.
+ * @param request UpdateGameServerDeploymentRequest message or plain object
+ * @returns Promise
+ */
+ public updateGameServerDeployment(request: google.cloud.gaming.v1.IUpdateGameServerDeploymentRequest): Promise;
+
+ /**
+ * Calls GetGameServerDeploymentRollout.
+ * @param request GetGameServerDeploymentRolloutRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and GameServerDeploymentRollout
+ */
+ public getGameServerDeploymentRollout(request: google.cloud.gaming.v1.IGetGameServerDeploymentRolloutRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.GetGameServerDeploymentRolloutCallback): void;
+
+ /**
+ * Calls GetGameServerDeploymentRollout.
+ * @param request GetGameServerDeploymentRolloutRequest message or plain object
+ * @returns Promise
+ */
+ public getGameServerDeploymentRollout(request: google.cloud.gaming.v1.IGetGameServerDeploymentRolloutRequest): Promise;
+
+ /**
+ * Calls UpdateGameServerDeploymentRollout.
+ * @param request UpdateGameServerDeploymentRolloutRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateGameServerDeploymentRollout(request: google.cloud.gaming.v1.IUpdateGameServerDeploymentRolloutRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.UpdateGameServerDeploymentRolloutCallback): void;
+
+ /**
+ * Calls UpdateGameServerDeploymentRollout.
+ * @param request UpdateGameServerDeploymentRolloutRequest message or plain object
+ * @returns Promise
+ */
+ public updateGameServerDeploymentRollout(request: google.cloud.gaming.v1.IUpdateGameServerDeploymentRolloutRequest): Promise;
+
+ /**
+ * Calls PreviewGameServerDeploymentRollout.
+ * @param request PreviewGameServerDeploymentRolloutRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PreviewGameServerDeploymentRolloutResponse
+ */
+ public previewGameServerDeploymentRollout(request: google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.PreviewGameServerDeploymentRolloutCallback): void;
+
+ /**
+ * Calls PreviewGameServerDeploymentRollout.
+ * @param request PreviewGameServerDeploymentRolloutRequest message or plain object
+ * @returns Promise
+ */
+ public previewGameServerDeploymentRollout(request: google.cloud.gaming.v1.IPreviewGameServerDeploymentRolloutRequest): Promise;
+
+ /**
+ * Calls FetchDeploymentState.
+ * @param request FetchDeploymentStateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and FetchDeploymentStateResponse
+ */
+ public fetchDeploymentState(request: google.cloud.gaming.v1.IFetchDeploymentStateRequest, callback: google.cloud.gaming.v1.GameServerDeploymentsService.FetchDeploymentStateCallback): void;
+
+ /**
+ * Calls FetchDeploymentState.
+ * @param request FetchDeploymentStateRequest message or plain object
+ * @returns Promise
+ */
+ public fetchDeploymentState(request: google.cloud.gaming.v1.IFetchDeploymentStateRequest): Promise;
+ }
+
+ namespace GameServerDeploymentsService {
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerDeploymentsService|listGameServerDeployments}.
+ * @param error Error, if any
+ * @param [response] ListGameServerDeploymentsResponse
+ */
+ type ListGameServerDeploymentsCallback = (error: (Error|null), response?: google.cloud.gaming.v1.ListGameServerDeploymentsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerDeploymentsService|getGameServerDeployment}.
+ * @param error Error, if any
+ * @param [response] GameServerDeployment
+ */
+ type GetGameServerDeploymentCallback = (error: (Error|null), response?: google.cloud.gaming.v1.GameServerDeployment) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerDeploymentsService|createGameServerDeployment}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateGameServerDeploymentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerDeploymentsService|deleteGameServerDeployment}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteGameServerDeploymentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerDeploymentsService|updateGameServerDeployment}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateGameServerDeploymentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerDeploymentsService|getGameServerDeploymentRollout}.
+ * @param error Error, if any
+ * @param [response] GameServerDeploymentRollout
+ */
+ type GetGameServerDeploymentRolloutCallback = (error: (Error|null), response?: google.cloud.gaming.v1.GameServerDeploymentRollout) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerDeploymentsService|updateGameServerDeploymentRollout}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateGameServerDeploymentRolloutCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerDeploymentsService|previewGameServerDeploymentRollout}.
+ * @param error Error, if any
+ * @param [response] PreviewGameServerDeploymentRolloutResponse
+ */
+ type PreviewGameServerDeploymentRolloutCallback = (error: (Error|null), response?: google.cloud.gaming.v1.PreviewGameServerDeploymentRolloutResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerDeploymentsService|fetchDeploymentState}.
+ * @param error Error, if any
+ * @param [response] FetchDeploymentStateResponse
+ */
+ type FetchDeploymentStateCallback = (error: (Error|null), response?: google.cloud.gaming.v1.FetchDeploymentStateResponse) => void;
+ }
+
+ /** Properties of a ListRealmsRequest. */
+ interface IListRealmsRequest {
+
+ /** ListRealmsRequest parent */
+ parent?: (string|null);
+
+ /** ListRealmsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListRealmsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListRealmsRequest filter */
+ filter?: (string|null);
+
+ /** ListRealmsRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListRealmsRequest. */
+ class ListRealmsRequest implements IListRealmsRequest {
+
+ /**
+ * Constructs a new ListRealmsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IListRealmsRequest);
+
+ /** ListRealmsRequest parent. */
+ public parent: string;
+
+ /** ListRealmsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListRealmsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListRealmsRequest filter. */
+ public filter: string;
+
+ /** ListRealmsRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListRealmsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListRealmsRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IListRealmsRequest): google.cloud.gaming.v1.ListRealmsRequest;
+
+ /**
+ * Encodes the specified ListRealmsRequest message. Does not implicitly {@link google.cloud.gaming.v1.ListRealmsRequest.verify|verify} messages.
+ * @param message ListRealmsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IListRealmsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListRealmsRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ListRealmsRequest.verify|verify} messages.
+ * @param message ListRealmsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IListRealmsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListRealmsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListRealmsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.ListRealmsRequest;
+
+ /**
+ * Decodes a ListRealmsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListRealmsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.ListRealmsRequest;
+
+ /**
+ * Verifies a ListRealmsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListRealmsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListRealmsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.ListRealmsRequest;
+
+ /**
+ * Creates a plain object from a ListRealmsRequest message. Also converts values to other types if specified.
+ * @param message ListRealmsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.ListRealmsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListRealmsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListRealmsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListRealmsResponse. */
+ interface IListRealmsResponse {
+
+ /** ListRealmsResponse realms */
+ realms?: (google.cloud.gaming.v1.IRealm[]|null);
+
+ /** ListRealmsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListRealmsResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListRealmsResponse. */
+ class ListRealmsResponse implements IListRealmsResponse {
+
+ /**
+ * Constructs a new ListRealmsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IListRealmsResponse);
+
+ /** ListRealmsResponse realms. */
+ public realms: google.cloud.gaming.v1.IRealm[];
+
+ /** ListRealmsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListRealmsResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListRealmsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListRealmsResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IListRealmsResponse): google.cloud.gaming.v1.ListRealmsResponse;
+
+ /**
+ * Encodes the specified ListRealmsResponse message. Does not implicitly {@link google.cloud.gaming.v1.ListRealmsResponse.verify|verify} messages.
+ * @param message ListRealmsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IListRealmsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListRealmsResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ListRealmsResponse.verify|verify} messages.
+ * @param message ListRealmsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IListRealmsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListRealmsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListRealmsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.ListRealmsResponse;
+
+ /**
+ * Decodes a ListRealmsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListRealmsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.ListRealmsResponse;
+
+ /**
+ * Verifies a ListRealmsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListRealmsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListRealmsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.ListRealmsResponse;
+
+ /**
+ * Creates a plain object from a ListRealmsResponse message. Also converts values to other types if specified.
+ * @param message ListRealmsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.ListRealmsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListRealmsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListRealmsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetRealmRequest. */
+ interface IGetRealmRequest {
+
+ /** GetRealmRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetRealmRequest. */
+ class GetRealmRequest implements IGetRealmRequest {
+
+ /**
+ * Constructs a new GetRealmRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IGetRealmRequest);
+
+ /** GetRealmRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetRealmRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetRealmRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IGetRealmRequest): google.cloud.gaming.v1.GetRealmRequest;
+
+ /**
+ * Encodes the specified GetRealmRequest message. Does not implicitly {@link google.cloud.gaming.v1.GetRealmRequest.verify|verify} messages.
+ * @param message GetRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IGetRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetRealmRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GetRealmRequest.verify|verify} messages.
+ * @param message GetRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IGetRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetRealmRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.GetRealmRequest;
+
+ /**
+ * Decodes a GetRealmRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.GetRealmRequest;
+
+ /**
+ * Verifies a GetRealmRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetRealmRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetRealmRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.GetRealmRequest;
+
+ /**
+ * Creates a plain object from a GetRealmRequest message. Also converts values to other types if specified.
+ * @param message GetRealmRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.GetRealmRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetRealmRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetRealmRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateRealmRequest. */
+ interface ICreateRealmRequest {
+
+ /** CreateRealmRequest parent */
+ parent?: (string|null);
+
+ /** CreateRealmRequest realmId */
+ realmId?: (string|null);
+
+ /** CreateRealmRequest realm */
+ realm?: (google.cloud.gaming.v1.IRealm|null);
+ }
+
+ /** Represents a CreateRealmRequest. */
+ class CreateRealmRequest implements ICreateRealmRequest {
+
+ /**
+ * Constructs a new CreateRealmRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.ICreateRealmRequest);
+
+ /** CreateRealmRequest parent. */
+ public parent: string;
+
+ /** CreateRealmRequest realmId. */
+ public realmId: string;
+
+ /** CreateRealmRequest realm. */
+ public realm?: (google.cloud.gaming.v1.IRealm|null);
+
+ /**
+ * Creates a new CreateRealmRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateRealmRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.ICreateRealmRequest): google.cloud.gaming.v1.CreateRealmRequest;
+
+ /**
+ * Encodes the specified CreateRealmRequest message. Does not implicitly {@link google.cloud.gaming.v1.CreateRealmRequest.verify|verify} messages.
+ * @param message CreateRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.ICreateRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateRealmRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.CreateRealmRequest.verify|verify} messages.
+ * @param message CreateRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.ICreateRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateRealmRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.CreateRealmRequest;
+
+ /**
+ * Decodes a CreateRealmRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.CreateRealmRequest;
+
+ /**
+ * Verifies a CreateRealmRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateRealmRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateRealmRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.CreateRealmRequest;
+
+ /**
+ * Creates a plain object from a CreateRealmRequest message. Also converts values to other types if specified.
+ * @param message CreateRealmRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.CreateRealmRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateRealmRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateRealmRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteRealmRequest. */
+ interface IDeleteRealmRequest {
+
+ /** DeleteRealmRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteRealmRequest. */
+ class DeleteRealmRequest implements IDeleteRealmRequest {
+
+ /**
+ * Constructs a new DeleteRealmRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IDeleteRealmRequest);
+
+ /** DeleteRealmRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteRealmRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteRealmRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IDeleteRealmRequest): google.cloud.gaming.v1.DeleteRealmRequest;
+
+ /**
+ * Encodes the specified DeleteRealmRequest message. Does not implicitly {@link google.cloud.gaming.v1.DeleteRealmRequest.verify|verify} messages.
+ * @param message DeleteRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IDeleteRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteRealmRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeleteRealmRequest.verify|verify} messages.
+ * @param message DeleteRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IDeleteRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteRealmRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.DeleteRealmRequest;
+
+ /**
+ * Decodes a DeleteRealmRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.DeleteRealmRequest;
+
+ /**
+ * Verifies a DeleteRealmRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteRealmRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteRealmRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.DeleteRealmRequest;
+
+ /**
+ * Creates a plain object from a DeleteRealmRequest message. Also converts values to other types if specified.
+ * @param message DeleteRealmRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.DeleteRealmRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteRealmRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteRealmRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateRealmRequest. */
+ interface IUpdateRealmRequest {
+
+ /** UpdateRealmRequest realm */
+ realm?: (google.cloud.gaming.v1.IRealm|null);
+
+ /** UpdateRealmRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateRealmRequest. */
+ class UpdateRealmRequest implements IUpdateRealmRequest {
+
+ /**
+ * Constructs a new UpdateRealmRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IUpdateRealmRequest);
+
+ /** UpdateRealmRequest realm. */
+ public realm?: (google.cloud.gaming.v1.IRealm|null);
+
+ /** UpdateRealmRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateRealmRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateRealmRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IUpdateRealmRequest): google.cloud.gaming.v1.UpdateRealmRequest;
+
+ /**
+ * Encodes the specified UpdateRealmRequest message. Does not implicitly {@link google.cloud.gaming.v1.UpdateRealmRequest.verify|verify} messages.
+ * @param message UpdateRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IUpdateRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateRealmRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.UpdateRealmRequest.verify|verify} messages.
+ * @param message UpdateRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IUpdateRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateRealmRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.UpdateRealmRequest;
+
+ /**
+ * Decodes an UpdateRealmRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.UpdateRealmRequest;
+
+ /**
+ * Verifies an UpdateRealmRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UpdateRealmRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateRealmRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.UpdateRealmRequest;
+
+ /**
+ * Creates a plain object from an UpdateRealmRequest message. Also converts values to other types if specified.
+ * @param message UpdateRealmRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.UpdateRealmRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateRealmRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateRealmRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewRealmUpdateRequest. */
+ interface IPreviewRealmUpdateRequest {
+
+ /** PreviewRealmUpdateRequest realm */
+ realm?: (google.cloud.gaming.v1.IRealm|null);
+
+ /** PreviewRealmUpdateRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** PreviewRealmUpdateRequest previewTime */
+ previewTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a PreviewRealmUpdateRequest. */
+ class PreviewRealmUpdateRequest implements IPreviewRealmUpdateRequest {
+
+ /**
+ * Constructs a new PreviewRealmUpdateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IPreviewRealmUpdateRequest);
+
+ /** PreviewRealmUpdateRequest realm. */
+ public realm?: (google.cloud.gaming.v1.IRealm|null);
+
+ /** PreviewRealmUpdateRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** PreviewRealmUpdateRequest previewTime. */
+ public previewTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new PreviewRealmUpdateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewRealmUpdateRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IPreviewRealmUpdateRequest): google.cloud.gaming.v1.PreviewRealmUpdateRequest;
+
+ /**
+ * Encodes the specified PreviewRealmUpdateRequest message. Does not implicitly {@link google.cloud.gaming.v1.PreviewRealmUpdateRequest.verify|verify} messages.
+ * @param message PreviewRealmUpdateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IPreviewRealmUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewRealmUpdateRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewRealmUpdateRequest.verify|verify} messages.
+ * @param message PreviewRealmUpdateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IPreviewRealmUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewRealmUpdateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewRealmUpdateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.PreviewRealmUpdateRequest;
+
+ /**
+ * Decodes a PreviewRealmUpdateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewRealmUpdateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.PreviewRealmUpdateRequest;
+
+ /**
+ * Verifies a PreviewRealmUpdateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewRealmUpdateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewRealmUpdateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.PreviewRealmUpdateRequest;
+
+ /**
+ * Creates a plain object from a PreviewRealmUpdateRequest message. Also converts values to other types if specified.
+ * @param message PreviewRealmUpdateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.PreviewRealmUpdateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewRealmUpdateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewRealmUpdateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewRealmUpdateResponse. */
+ interface IPreviewRealmUpdateResponse {
+
+ /** PreviewRealmUpdateResponse etag */
+ etag?: (string|null);
+
+ /** PreviewRealmUpdateResponse targetState */
+ targetState?: (google.cloud.gaming.v1.ITargetState|null);
+ }
+
+ /** Represents a PreviewRealmUpdateResponse. */
+ class PreviewRealmUpdateResponse implements IPreviewRealmUpdateResponse {
+
+ /**
+ * Constructs a new PreviewRealmUpdateResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IPreviewRealmUpdateResponse);
+
+ /** PreviewRealmUpdateResponse etag. */
+ public etag: string;
+
+ /** PreviewRealmUpdateResponse targetState. */
+ public targetState?: (google.cloud.gaming.v1.ITargetState|null);
+
+ /**
+ * Creates a new PreviewRealmUpdateResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewRealmUpdateResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IPreviewRealmUpdateResponse): google.cloud.gaming.v1.PreviewRealmUpdateResponse;
+
+ /**
+ * Encodes the specified PreviewRealmUpdateResponse message. Does not implicitly {@link google.cloud.gaming.v1.PreviewRealmUpdateResponse.verify|verify} messages.
+ * @param message PreviewRealmUpdateResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IPreviewRealmUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewRealmUpdateResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewRealmUpdateResponse.verify|verify} messages.
+ * @param message PreviewRealmUpdateResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IPreviewRealmUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewRealmUpdateResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewRealmUpdateResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.PreviewRealmUpdateResponse;
+
+ /**
+ * Decodes a PreviewRealmUpdateResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewRealmUpdateResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.PreviewRealmUpdateResponse;
+
+ /**
+ * Verifies a PreviewRealmUpdateResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewRealmUpdateResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewRealmUpdateResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.PreviewRealmUpdateResponse;
+
+ /**
+ * Creates a plain object from a PreviewRealmUpdateResponse message. Also converts values to other types if specified.
+ * @param message PreviewRealmUpdateResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.PreviewRealmUpdateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewRealmUpdateResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewRealmUpdateResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Realm. */
+ interface IRealm {
+
+ /** Realm name */
+ name?: (string|null);
+
+ /** Realm createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Realm updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Realm labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Realm timeZone */
+ timeZone?: (string|null);
+
+ /** Realm etag */
+ etag?: (string|null);
+
+ /** Realm description */
+ description?: (string|null);
+ }
+
+ /** Represents a Realm. */
+ class Realm implements IRealm {
+
+ /**
+ * Constructs a new Realm.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1.IRealm);
+
+ /** Realm name. */
+ public name: string;
+
+ /** Realm createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Realm updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Realm labels. */
+ public labels: { [k: string]: string };
+
+ /** Realm timeZone. */
+ public timeZone: string;
+
+ /** Realm etag. */
+ public etag: string;
+
+ /** Realm description. */
+ public description: string;
+
+ /**
+ * Creates a new Realm instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Realm instance
+ */
+ public static create(properties?: google.cloud.gaming.v1.IRealm): google.cloud.gaming.v1.Realm;
+
+ /**
+ * Encodes the specified Realm message. Does not implicitly {@link google.cloud.gaming.v1.Realm.verify|verify} messages.
+ * @param message Realm message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1.IRealm, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Realm message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.Realm.verify|verify} messages.
+ * @param message Realm message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1.IRealm, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Realm message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Realm
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1.Realm;
+
+ /**
+ * Decodes a Realm message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Realm
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1.Realm;
+
+ /**
+ * Verifies a Realm message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Realm message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Realm
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1.Realm;
+
+ /**
+ * Creates a plain object from a Realm message. Also converts values to other types if specified.
+ * @param message Realm
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1.Realm, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Realm to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Realm
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a RealmsService */
+ class RealmsService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new RealmsService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new RealmsService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): RealmsService;
+
+ /**
+ * Calls ListRealms.
+ * @param request ListRealmsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListRealmsResponse
+ */
+ public listRealms(request: google.cloud.gaming.v1.IListRealmsRequest, callback: google.cloud.gaming.v1.RealmsService.ListRealmsCallback): void;
+
+ /**
+ * Calls ListRealms.
+ * @param request ListRealmsRequest message or plain object
+ * @returns Promise
+ */
+ public listRealms(request: google.cloud.gaming.v1.IListRealmsRequest): Promise;
+
+ /**
+ * Calls GetRealm.
+ * @param request GetRealmRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Realm
+ */
+ public getRealm(request: google.cloud.gaming.v1.IGetRealmRequest, callback: google.cloud.gaming.v1.RealmsService.GetRealmCallback): void;
+
+ /**
+ * Calls GetRealm.
+ * @param request GetRealmRequest message or plain object
+ * @returns Promise
+ */
+ public getRealm(request: google.cloud.gaming.v1.IGetRealmRequest): Promise;
+
+ /**
+ * Calls CreateRealm.
+ * @param request CreateRealmRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createRealm(request: google.cloud.gaming.v1.ICreateRealmRequest, callback: google.cloud.gaming.v1.RealmsService.CreateRealmCallback): void;
+
+ /**
+ * Calls CreateRealm.
+ * @param request CreateRealmRequest message or plain object
+ * @returns Promise
+ */
+ public createRealm(request: google.cloud.gaming.v1.ICreateRealmRequest): Promise;
+
+ /**
+ * Calls DeleteRealm.
+ * @param request DeleteRealmRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteRealm(request: google.cloud.gaming.v1.IDeleteRealmRequest, callback: google.cloud.gaming.v1.RealmsService.DeleteRealmCallback): void;
+
+ /**
+ * Calls DeleteRealm.
+ * @param request DeleteRealmRequest message or plain object
+ * @returns Promise
+ */
+ public deleteRealm(request: google.cloud.gaming.v1.IDeleteRealmRequest): Promise;
+
+ /**
+ * Calls UpdateRealm.
+ * @param request UpdateRealmRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateRealm(request: google.cloud.gaming.v1.IUpdateRealmRequest, callback: google.cloud.gaming.v1.RealmsService.UpdateRealmCallback): void;
+
+ /**
+ * Calls UpdateRealm.
+ * @param request UpdateRealmRequest message or plain object
+ * @returns Promise
+ */
+ public updateRealm(request: google.cloud.gaming.v1.IUpdateRealmRequest): Promise;
+
+ /**
+ * Calls PreviewRealmUpdate.
+ * @param request PreviewRealmUpdateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PreviewRealmUpdateResponse
+ */
+ public previewRealmUpdate(request: google.cloud.gaming.v1.IPreviewRealmUpdateRequest, callback: google.cloud.gaming.v1.RealmsService.PreviewRealmUpdateCallback): void;
+
+ /**
+ * Calls PreviewRealmUpdate.
+ * @param request PreviewRealmUpdateRequest message or plain object
+ * @returns Promise
+ */
+ public previewRealmUpdate(request: google.cloud.gaming.v1.IPreviewRealmUpdateRequest): Promise;
+ }
+
+ namespace RealmsService {
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.RealmsService|listRealms}.
+ * @param error Error, if any
+ * @param [response] ListRealmsResponse
+ */
+ type ListRealmsCallback = (error: (Error|null), response?: google.cloud.gaming.v1.ListRealmsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.RealmsService|getRealm}.
+ * @param error Error, if any
+ * @param [response] Realm
+ */
+ type GetRealmCallback = (error: (Error|null), response?: google.cloud.gaming.v1.Realm) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.RealmsService|createRealm}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateRealmCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.RealmsService|deleteRealm}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteRealmCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.RealmsService|updateRealm}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateRealmCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.RealmsService|previewRealmUpdate}.
+ * @param error Error, if any
+ * @param [response] PreviewRealmUpdateResponse
+ */
+ type PreviewRealmUpdateCallback = (error: (Error|null), response?: google.cloud.gaming.v1.PreviewRealmUpdateResponse) => void;
+ }
+ }
+
+ /** Namespace v1beta. */
+ namespace v1beta {
+
+ /** Properties of an OperationMetadata. */
+ interface IOperationMetadata {
+
+ /** OperationMetadata createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata target */
+ target?: (string|null);
+
+ /** OperationMetadata verb */
+ verb?: (string|null);
+
+ /** OperationMetadata statusMessage */
+ statusMessage?: (string|null);
+
+ /** OperationMetadata requestedCancellation */
+ requestedCancellation?: (boolean|null);
+
+ /** OperationMetadata apiVersion */
+ apiVersion?: (string|null);
+
+ /** OperationMetadata unreachable */
+ unreachable?: (string[]|null);
+
+ /** OperationMetadata operationStatus */
+ operationStatus?: ({ [k: string]: google.cloud.gaming.v1beta.IOperationStatus }|null);
+ }
+
+ /** Represents an OperationMetadata. */
+ class OperationMetadata implements IOperationMetadata {
+
+ /**
+ * Constructs a new OperationMetadata.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IOperationMetadata);
+
+ /** OperationMetadata createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** OperationMetadata target. */
+ public target: string;
+
+ /** OperationMetadata verb. */
+ public verb: string;
+
+ /** OperationMetadata statusMessage. */
+ public statusMessage: string;
+
+ /** OperationMetadata requestedCancellation. */
+ public requestedCancellation: boolean;
+
+ /** OperationMetadata apiVersion. */
+ public apiVersion: string;
+
+ /** OperationMetadata unreachable. */
+ public unreachable: string[];
+
+ /** OperationMetadata operationStatus. */
+ public operationStatus: { [k: string]: google.cloud.gaming.v1beta.IOperationStatus };
+
+ /**
+ * Creates a new OperationMetadata instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OperationMetadata instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IOperationMetadata): google.cloud.gaming.v1beta.OperationMetadata;
+
+ /**
+ * Encodes the specified OperationMetadata message. Does not implicitly {@link google.cloud.gaming.v1beta.OperationMetadata.verify|verify} messages.
+ * @param message OperationMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OperationMetadata message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.OperationMetadata.verify|verify} messages.
+ * @param message OperationMetadata message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OperationMetadata message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.OperationMetadata;
+
+ /**
+ * Decodes an OperationMetadata message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.OperationMetadata;
+
+ /**
+ * Verifies an OperationMetadata message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OperationMetadata message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OperationMetadata
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.OperationMetadata;
+
+ /**
+ * Creates a plain object from an OperationMetadata message. Also converts values to other types if specified.
+ * @param message OperationMetadata
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.OperationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OperationMetadata to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OperationMetadata
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OperationStatus. */
+ interface IOperationStatus {
+
+ /** OperationStatus done */
+ done?: (boolean|null);
+
+ /** OperationStatus errorCode */
+ errorCode?: (google.cloud.gaming.v1beta.OperationStatus.ErrorCode|keyof typeof google.cloud.gaming.v1beta.OperationStatus.ErrorCode|null);
+
+ /** OperationStatus errorMessage */
+ errorMessage?: (string|null);
+ }
+
+ /** Represents an OperationStatus. */
+ class OperationStatus implements IOperationStatus {
+
+ /**
+ * Constructs a new OperationStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IOperationStatus);
+
+ /** OperationStatus done. */
+ public done: boolean;
+
+ /** OperationStatus errorCode. */
+ public errorCode: (google.cloud.gaming.v1beta.OperationStatus.ErrorCode|keyof typeof google.cloud.gaming.v1beta.OperationStatus.ErrorCode);
+
+ /** OperationStatus errorMessage. */
+ public errorMessage: string;
+
+ /**
+ * Creates a new OperationStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OperationStatus instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IOperationStatus): google.cloud.gaming.v1beta.OperationStatus;
+
+ /**
+ * Encodes the specified OperationStatus message. Does not implicitly {@link google.cloud.gaming.v1beta.OperationStatus.verify|verify} messages.
+ * @param message OperationStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IOperationStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OperationStatus message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.OperationStatus.verify|verify} messages.
+ * @param message OperationStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IOperationStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OperationStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OperationStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.OperationStatus;
+
+ /**
+ * Decodes an OperationStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OperationStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.OperationStatus;
+
+ /**
+ * Verifies an OperationStatus message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OperationStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OperationStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.OperationStatus;
+
+ /**
+ * Creates a plain object from an OperationStatus message. Also converts values to other types if specified.
+ * @param message OperationStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.OperationStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OperationStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OperationStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace OperationStatus {
+
+ /** ErrorCode enum. */
+ enum ErrorCode {
+ ERROR_CODE_UNSPECIFIED = 0,
+ INTERNAL_ERROR = 1,
+ PERMISSION_DENIED = 2,
+ CLUSTER_CONNECTION = 3
+ }
+ }
+
+ /** Properties of a LabelSelector. */
+ interface ILabelSelector {
+
+ /** LabelSelector labels */
+ labels?: ({ [k: string]: string }|null);
+ }
+
+ /** Represents a LabelSelector. */
+ class LabelSelector implements ILabelSelector {
+
+ /**
+ * Constructs a new LabelSelector.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.ILabelSelector);
+
+ /** LabelSelector labels. */
+ public labels: { [k: string]: string };
+
+ /**
+ * Creates a new LabelSelector instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns LabelSelector instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.ILabelSelector): google.cloud.gaming.v1beta.LabelSelector;
+
+ /**
+ * Encodes the specified LabelSelector message. Does not implicitly {@link google.cloud.gaming.v1beta.LabelSelector.verify|verify} messages.
+ * @param message LabelSelector message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.ILabelSelector, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified LabelSelector message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.LabelSelector.verify|verify} messages.
+ * @param message LabelSelector message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.ILabelSelector, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a LabelSelector message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns LabelSelector
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.LabelSelector;
+
+ /**
+ * Decodes a LabelSelector message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns LabelSelector
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.LabelSelector;
+
+ /**
+ * Verifies a LabelSelector message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a LabelSelector message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns LabelSelector
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.LabelSelector;
+
+ /**
+ * Creates a plain object from a LabelSelector message. Also converts values to other types if specified.
+ * @param message LabelSelector
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.LabelSelector, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this LabelSelector to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for LabelSelector
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a RealmSelector. */
+ interface IRealmSelector {
+
+ /** RealmSelector realms */
+ realms?: (string[]|null);
+ }
+
+ /** Represents a RealmSelector. */
+ class RealmSelector implements IRealmSelector {
+
+ /**
+ * Constructs a new RealmSelector.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IRealmSelector);
+
+ /** RealmSelector realms. */
+ public realms: string[];
+
+ /**
+ * Creates a new RealmSelector instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns RealmSelector instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IRealmSelector): google.cloud.gaming.v1beta.RealmSelector;
+
+ /**
+ * Encodes the specified RealmSelector message. Does not implicitly {@link google.cloud.gaming.v1beta.RealmSelector.verify|verify} messages.
+ * @param message RealmSelector message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IRealmSelector, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified RealmSelector message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.RealmSelector.verify|verify} messages.
+ * @param message RealmSelector message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IRealmSelector, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a RealmSelector message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns RealmSelector
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.RealmSelector;
+
+ /**
+ * Decodes a RealmSelector message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns RealmSelector
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.RealmSelector;
+
+ /**
+ * Verifies a RealmSelector message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a RealmSelector message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns RealmSelector
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.RealmSelector;
+
+ /**
+ * Creates a plain object from a RealmSelector message. Also converts values to other types if specified.
+ * @param message RealmSelector
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.RealmSelector, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this RealmSelector to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for RealmSelector
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Schedule. */
+ interface ISchedule {
+
+ /** Schedule startTime */
+ startTime?: (google.protobuf.ITimestamp|null);
+
+ /** Schedule endTime */
+ endTime?: (google.protobuf.ITimestamp|null);
+
+ /** Schedule cronJobDuration */
+ cronJobDuration?: (google.protobuf.IDuration|null);
+
+ /** Schedule cronSpec */
+ cronSpec?: (string|null);
+ }
+
+ /** Represents a Schedule. */
+ class Schedule implements ISchedule {
+
+ /**
+ * Constructs a new Schedule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.ISchedule);
+
+ /** Schedule startTime. */
+ public startTime?: (google.protobuf.ITimestamp|null);
+
+ /** Schedule endTime. */
+ public endTime?: (google.protobuf.ITimestamp|null);
+
+ /** Schedule cronJobDuration. */
+ public cronJobDuration?: (google.protobuf.IDuration|null);
+
+ /** Schedule cronSpec. */
+ public cronSpec: string;
+
+ /**
+ * Creates a new Schedule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Schedule instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.ISchedule): google.cloud.gaming.v1beta.Schedule;
+
+ /**
+ * Encodes the specified Schedule message. Does not implicitly {@link google.cloud.gaming.v1beta.Schedule.verify|verify} messages.
+ * @param message Schedule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.ISchedule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Schedule message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.Schedule.verify|verify} messages.
+ * @param message Schedule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.ISchedule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Schedule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Schedule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.Schedule;
+
+ /**
+ * Decodes a Schedule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Schedule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.Schedule;
+
+ /**
+ * Verifies a Schedule message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Schedule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Schedule
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.Schedule;
+
+ /**
+ * Creates a plain object from a Schedule message. Also converts values to other types if specified.
+ * @param message Schedule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.Schedule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Schedule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Schedule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a SpecSource. */
+ interface ISpecSource {
+
+ /** SpecSource gameServerConfigName */
+ gameServerConfigName?: (string|null);
+
+ /** SpecSource name */
+ name?: (string|null);
+ }
+
+ /** Represents a SpecSource. */
+ class SpecSource implements ISpecSource {
+
+ /**
+ * Constructs a new SpecSource.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.ISpecSource);
+
+ /** SpecSource gameServerConfigName. */
+ public gameServerConfigName: string;
+
+ /** SpecSource name. */
+ public name: string;
+
+ /**
+ * Creates a new SpecSource instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SpecSource instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.ISpecSource): google.cloud.gaming.v1beta.SpecSource;
+
+ /**
+ * Encodes the specified SpecSource message. Does not implicitly {@link google.cloud.gaming.v1beta.SpecSource.verify|verify} messages.
+ * @param message SpecSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.ISpecSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SpecSource message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.SpecSource.verify|verify} messages.
+ * @param message SpecSource message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.ISpecSource, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SpecSource message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SpecSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.SpecSource;
+
+ /**
+ * Decodes a SpecSource message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SpecSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.SpecSource;
+
+ /**
+ * Verifies a SpecSource message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SpecSource message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SpecSource
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.SpecSource;
+
+ /**
+ * Creates a plain object from a SpecSource message. Also converts values to other types if specified.
+ * @param message SpecSource
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.SpecSource, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SpecSource to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SpecSource
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TargetDetails. */
+ interface ITargetDetails {
+
+ /** TargetDetails gameServerClusterName */
+ gameServerClusterName?: (string|null);
+
+ /** TargetDetails gameServerDeploymentName */
+ gameServerDeploymentName?: (string|null);
+
+ /** TargetDetails fleetDetails */
+ fleetDetails?: (google.cloud.gaming.v1beta.TargetDetails.ITargetFleetDetails[]|null);
+ }
+
+ /** Represents a TargetDetails. */
+ class TargetDetails implements ITargetDetails {
+
+ /**
+ * Constructs a new TargetDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.ITargetDetails);
+
+ /** TargetDetails gameServerClusterName. */
+ public gameServerClusterName: string;
+
+ /** TargetDetails gameServerDeploymentName. */
+ public gameServerDeploymentName: string;
+
+ /** TargetDetails fleetDetails. */
+ public fleetDetails: google.cloud.gaming.v1beta.TargetDetails.ITargetFleetDetails[];
+
+ /**
+ * Creates a new TargetDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetDetails instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.ITargetDetails): google.cloud.gaming.v1beta.TargetDetails;
+
+ /**
+ * Encodes the specified TargetDetails message. Does not implicitly {@link google.cloud.gaming.v1beta.TargetDetails.verify|verify} messages.
+ * @param message TargetDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.ITargetDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetDetails message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.TargetDetails.verify|verify} messages.
+ * @param message TargetDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.ITargetDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.TargetDetails;
+
+ /**
+ * Decodes a TargetDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.TargetDetails;
+
+ /**
+ * Verifies a TargetDetails message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TargetDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.TargetDetails;
+
+ /**
+ * Creates a plain object from a TargetDetails message. Also converts values to other types if specified.
+ * @param message TargetDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.TargetDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TargetDetails {
+
+ /** Properties of a TargetFleetDetails. */
+ interface ITargetFleetDetails {
+
+ /** TargetFleetDetails fleet */
+ fleet?: (google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.ITargetFleet|null);
+
+ /** TargetFleetDetails autoscaler */
+ autoscaler?: (google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler|null);
+ }
+
+ /** Represents a TargetFleetDetails. */
+ class TargetFleetDetails implements ITargetFleetDetails {
+
+ /**
+ * Constructs a new TargetFleetDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.TargetDetails.ITargetFleetDetails);
+
+ /** TargetFleetDetails fleet. */
+ public fleet?: (google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.ITargetFleet|null);
+
+ /** TargetFleetDetails autoscaler. */
+ public autoscaler?: (google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler|null);
+
+ /**
+ * Creates a new TargetFleetDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetFleetDetails instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.TargetDetails.ITargetFleetDetails): google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails;
+
+ /**
+ * Encodes the specified TargetFleetDetails message. Does not implicitly {@link google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.verify|verify} messages.
+ * @param message TargetFleetDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.TargetDetails.ITargetFleetDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetFleetDetails message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.verify|verify} messages.
+ * @param message TargetFleetDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.TargetDetails.ITargetFleetDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetFleetDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetFleetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails;
+
+ /**
+ * Decodes a TargetFleetDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetFleetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails;
+
+ /**
+ * Verifies a TargetFleetDetails message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TargetFleetDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetFleetDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails;
+
+ /**
+ * Creates a plain object from a TargetFleetDetails message. Also converts values to other types if specified.
+ * @param message TargetFleetDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetFleetDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetFleetDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace TargetFleetDetails {
+
+ /** Properties of a TargetFleet. */
+ interface ITargetFleet {
+
+ /** TargetFleet name */
+ name?: (string|null);
+
+ /** TargetFleet specSource */
+ specSource?: (google.cloud.gaming.v1beta.ISpecSource|null);
+ }
+
+ /** Represents a TargetFleet. */
+ class TargetFleet implements ITargetFleet {
+
+ /**
+ * Constructs a new TargetFleet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.ITargetFleet);
+
+ /** TargetFleet name. */
+ public name: string;
+
+ /** TargetFleet specSource. */
+ public specSource?: (google.cloud.gaming.v1beta.ISpecSource|null);
+
+ /**
+ * Creates a new TargetFleet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetFleet instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.ITargetFleet): google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleet;
+
+ /**
+ * Encodes the specified TargetFleet message. Does not implicitly {@link google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleet.verify|verify} messages.
+ * @param message TargetFleet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.ITargetFleet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetFleet message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleet.verify|verify} messages.
+ * @param message TargetFleet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.ITargetFleet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetFleet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetFleet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleet;
+
+ /**
+ * Decodes a TargetFleet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetFleet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleet;
+
+ /**
+ * Verifies a TargetFleet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TargetFleet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetFleet
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleet;
+
+ /**
+ * Creates a plain object from a TargetFleet message. Also converts values to other types if specified.
+ * @param message TargetFleet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetFleet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetFleet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a TargetFleetAutoscaler. */
+ interface ITargetFleetAutoscaler {
+
+ /** TargetFleetAutoscaler name */
+ name?: (string|null);
+
+ /** TargetFleetAutoscaler specSource */
+ specSource?: (google.cloud.gaming.v1beta.ISpecSource|null);
+ }
+
+ /** Represents a TargetFleetAutoscaler. */
+ class TargetFleetAutoscaler implements ITargetFleetAutoscaler {
+
+ /**
+ * Constructs a new TargetFleetAutoscaler.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler);
+
+ /** TargetFleetAutoscaler name. */
+ public name: string;
+
+ /** TargetFleetAutoscaler specSource. */
+ public specSource?: (google.cloud.gaming.v1beta.ISpecSource|null);
+
+ /**
+ * Creates a new TargetFleetAutoscaler instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetFleetAutoscaler instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler): google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler;
+
+ /**
+ * Encodes the specified TargetFleetAutoscaler message. Does not implicitly {@link google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler.verify|verify} messages.
+ * @param message TargetFleetAutoscaler message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetFleetAutoscaler message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler.verify|verify} messages.
+ * @param message TargetFleetAutoscaler message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetFleetAutoscaler message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetFleetAutoscaler
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler;
+
+ /**
+ * Decodes a TargetFleetAutoscaler message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetFleetAutoscaler
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler;
+
+ /**
+ * Verifies a TargetFleetAutoscaler message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TargetFleetAutoscaler message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetFleetAutoscaler
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler;
+
+ /**
+ * Creates a plain object from a TargetFleetAutoscaler message. Also converts values to other types if specified.
+ * @param message TargetFleetAutoscaler
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetFleetAutoscaler to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetFleetAutoscaler
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+ }
+
+ /** Properties of a TargetState. */
+ interface ITargetState {
+
+ /** TargetState details */
+ details?: (google.cloud.gaming.v1beta.ITargetDetails[]|null);
+ }
+
+ /** Represents a TargetState. */
+ class TargetState implements ITargetState {
+
+ /**
+ * Constructs a new TargetState.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.ITargetState);
+
+ /** TargetState details. */
+ public details: google.cloud.gaming.v1beta.ITargetDetails[];
+
+ /**
+ * Creates a new TargetState instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns TargetState instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.ITargetState): google.cloud.gaming.v1beta.TargetState;
+
+ /**
+ * Encodes the specified TargetState message. Does not implicitly {@link google.cloud.gaming.v1beta.TargetState.verify|verify} messages.
+ * @param message TargetState message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.ITargetState, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified TargetState message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.TargetState.verify|verify} messages.
+ * @param message TargetState message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.ITargetState, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a TargetState message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns TargetState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.TargetState;
+
+ /**
+ * Decodes a TargetState message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns TargetState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.TargetState;
+
+ /**
+ * Verifies a TargetState message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a TargetState message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns TargetState
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.TargetState;
+
+ /**
+ * Creates a plain object from a TargetState message. Also converts values to other types if specified.
+ * @param message TargetState
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.TargetState, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this TargetState to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for TargetState
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeployedFleetDetails. */
+ interface IDeployedFleetDetails {
+
+ /** DeployedFleetDetails deployedFleet */
+ deployedFleet?: (google.cloud.gaming.v1beta.DeployedFleetDetails.IDeployedFleet|null);
+
+ /** DeployedFleetDetails deployedAutoscaler */
+ deployedAutoscaler?: (google.cloud.gaming.v1beta.DeployedFleetDetails.IDeployedFleetAutoscaler|null);
+ }
+
+ /** Represents a DeployedFleetDetails. */
+ class DeployedFleetDetails implements IDeployedFleetDetails {
+
+ /**
+ * Constructs a new DeployedFleetDetails.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IDeployedFleetDetails);
+
+ /** DeployedFleetDetails deployedFleet. */
+ public deployedFleet?: (google.cloud.gaming.v1beta.DeployedFleetDetails.IDeployedFleet|null);
+
+ /** DeployedFleetDetails deployedAutoscaler. */
+ public deployedAutoscaler?: (google.cloud.gaming.v1beta.DeployedFleetDetails.IDeployedFleetAutoscaler|null);
+
+ /**
+ * Creates a new DeployedFleetDetails instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployedFleetDetails instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IDeployedFleetDetails): google.cloud.gaming.v1beta.DeployedFleetDetails;
+
+ /**
+ * Encodes the specified DeployedFleetDetails message. Does not implicitly {@link google.cloud.gaming.v1beta.DeployedFleetDetails.verify|verify} messages.
+ * @param message DeployedFleetDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IDeployedFleetDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployedFleetDetails message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.DeployedFleetDetails.verify|verify} messages.
+ * @param message DeployedFleetDetails message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IDeployedFleetDetails, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployedFleetDetails message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployedFleetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.DeployedFleetDetails;
+
+ /**
+ * Decodes a DeployedFleetDetails message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployedFleetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.DeployedFleetDetails;
+
+ /**
+ * Verifies a DeployedFleetDetails message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeployedFleetDetails message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployedFleetDetails
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.DeployedFleetDetails;
+
+ /**
+ * Creates a plain object from a DeployedFleetDetails message. Also converts values to other types if specified.
+ * @param message DeployedFleetDetails
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.DeployedFleetDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployedFleetDetails to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployedFleetDetails
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DeployedFleetDetails {
+
+ /** Properties of a DeployedFleet. */
+ interface IDeployedFleet {
+
+ /** DeployedFleet fleet */
+ fleet?: (string|null);
+
+ /** DeployedFleet fleetSpec */
+ fleetSpec?: (string|null);
+
+ /** DeployedFleet specSource */
+ specSource?: (google.cloud.gaming.v1beta.ISpecSource|null);
+
+ /** DeployedFleet status */
+ status?: (google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus|null);
+ }
+
+ /** Represents a DeployedFleet. */
+ class DeployedFleet implements IDeployedFleet {
+
+ /**
+ * Constructs a new DeployedFleet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.DeployedFleetDetails.IDeployedFleet);
+
+ /** DeployedFleet fleet. */
+ public fleet: string;
+
+ /** DeployedFleet fleetSpec. */
+ public fleetSpec: string;
+
+ /** DeployedFleet specSource. */
+ public specSource?: (google.cloud.gaming.v1beta.ISpecSource|null);
+
+ /** DeployedFleet status. */
+ public status?: (google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus|null);
+
+ /**
+ * Creates a new DeployedFleet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployedFleet instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.DeployedFleetDetails.IDeployedFleet): google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet;
+
+ /**
+ * Encodes the specified DeployedFleet message. Does not implicitly {@link google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.verify|verify} messages.
+ * @param message DeployedFleet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.DeployedFleetDetails.IDeployedFleet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployedFleet message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.verify|verify} messages.
+ * @param message DeployedFleet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.DeployedFleetDetails.IDeployedFleet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployedFleet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployedFleet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet;
+
+ /**
+ * Decodes a DeployedFleet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployedFleet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet;
+
+ /**
+ * Verifies a DeployedFleet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeployedFleet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployedFleet
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet;
+
+ /**
+ * Creates a plain object from a DeployedFleet message. Also converts values to other types if specified.
+ * @param message DeployedFleet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployedFleet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployedFleet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DeployedFleet {
+
+ /** Properties of a DeployedFleetStatus. */
+ interface IDeployedFleetStatus {
+
+ /** DeployedFleetStatus readyReplicas */
+ readyReplicas?: (number|Long|string|null);
+
+ /** DeployedFleetStatus allocatedReplicas */
+ allocatedReplicas?: (number|Long|string|null);
+
+ /** DeployedFleetStatus reservedReplicas */
+ reservedReplicas?: (number|Long|string|null);
+
+ /** DeployedFleetStatus replicas */
+ replicas?: (number|Long|string|null);
+ }
+
+ /** Represents a DeployedFleetStatus. */
+ class DeployedFleetStatus implements IDeployedFleetStatus {
+
+ /**
+ * Constructs a new DeployedFleetStatus.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus);
+
+ /** DeployedFleetStatus readyReplicas. */
+ public readyReplicas: (number|Long|string);
+
+ /** DeployedFleetStatus allocatedReplicas. */
+ public allocatedReplicas: (number|Long|string);
+
+ /** DeployedFleetStatus reservedReplicas. */
+ public reservedReplicas: (number|Long|string);
+
+ /** DeployedFleetStatus replicas. */
+ public replicas: (number|Long|string);
+
+ /**
+ * Creates a new DeployedFleetStatus instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployedFleetStatus instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus): google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus;
+
+ /**
+ * Encodes the specified DeployedFleetStatus message. Does not implicitly {@link google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus.verify|verify} messages.
+ * @param message DeployedFleetStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployedFleetStatus message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus.verify|verify} messages.
+ * @param message DeployedFleetStatus message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployedFleetStatus message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployedFleetStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus;
+
+ /**
+ * Decodes a DeployedFleetStatus message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployedFleetStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus;
+
+ /**
+ * Verifies a DeployedFleetStatus message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeployedFleetStatus message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployedFleetStatus
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus;
+
+ /**
+ * Creates a plain object from a DeployedFleetStatus message. Also converts values to other types if specified.
+ * @param message DeployedFleetStatus
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployedFleetStatus to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployedFleetStatus
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a DeployedFleetAutoscaler. */
+ interface IDeployedFleetAutoscaler {
+
+ /** DeployedFleetAutoscaler autoscaler */
+ autoscaler?: (string|null);
+
+ /** DeployedFleetAutoscaler specSource */
+ specSource?: (google.cloud.gaming.v1beta.ISpecSource|null);
+
+ /** DeployedFleetAutoscaler fleetAutoscalerSpec */
+ fleetAutoscalerSpec?: (string|null);
+ }
+
+ /** Represents a DeployedFleetAutoscaler. */
+ class DeployedFleetAutoscaler implements IDeployedFleetAutoscaler {
+
+ /**
+ * Constructs a new DeployedFleetAutoscaler.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.DeployedFleetDetails.IDeployedFleetAutoscaler);
+
+ /** DeployedFleetAutoscaler autoscaler. */
+ public autoscaler: string;
+
+ /** DeployedFleetAutoscaler specSource. */
+ public specSource?: (google.cloud.gaming.v1beta.ISpecSource|null);
+
+ /** DeployedFleetAutoscaler fleetAutoscalerSpec. */
+ public fleetAutoscalerSpec: string;
+
+ /**
+ * Creates a new DeployedFleetAutoscaler instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployedFleetAutoscaler instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.DeployedFleetDetails.IDeployedFleetAutoscaler): google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleetAutoscaler;
+
+ /**
+ * Encodes the specified DeployedFleetAutoscaler message. Does not implicitly {@link google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleetAutoscaler.verify|verify} messages.
+ * @param message DeployedFleetAutoscaler message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.DeployedFleetDetails.IDeployedFleetAutoscaler, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployedFleetAutoscaler message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleetAutoscaler.verify|verify} messages.
+ * @param message DeployedFleetAutoscaler message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.DeployedFleetDetails.IDeployedFleetAutoscaler, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployedFleetAutoscaler message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployedFleetAutoscaler
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleetAutoscaler;
+
+ /**
+ * Decodes a DeployedFleetAutoscaler message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployedFleetAutoscaler
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleetAutoscaler;
+
+ /**
+ * Verifies a DeployedFleetAutoscaler message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeployedFleetAutoscaler message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployedFleetAutoscaler
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleetAutoscaler;
+
+ /**
+ * Creates a plain object from a DeployedFleetAutoscaler message. Also converts values to other types if specified.
+ * @param message DeployedFleetAutoscaler
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.DeployedFleetDetails.DeployedFleetAutoscaler, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployedFleetAutoscaler to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployedFleetAutoscaler
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a ListGameServerClustersRequest. */
+ interface IListGameServerClustersRequest {
+
+ /** ListGameServerClustersRequest parent */
+ parent?: (string|null);
+
+ /** ListGameServerClustersRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListGameServerClustersRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListGameServerClustersRequest filter */
+ filter?: (string|null);
+
+ /** ListGameServerClustersRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListGameServerClustersRequest. */
+ class ListGameServerClustersRequest implements IListGameServerClustersRequest {
+
+ /**
+ * Constructs a new ListGameServerClustersRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IListGameServerClustersRequest);
+
+ /** ListGameServerClustersRequest parent. */
+ public parent: string;
+
+ /** ListGameServerClustersRequest pageSize. */
+ public pageSize: number;
+
+ /** ListGameServerClustersRequest pageToken. */
+ public pageToken: string;
+
+ /** ListGameServerClustersRequest filter. */
+ public filter: string;
+
+ /** ListGameServerClustersRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListGameServerClustersRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListGameServerClustersRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IListGameServerClustersRequest): google.cloud.gaming.v1beta.ListGameServerClustersRequest;
+
+ /**
+ * Encodes the specified ListGameServerClustersRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.ListGameServerClustersRequest.verify|verify} messages.
+ * @param message ListGameServerClustersRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IListGameServerClustersRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListGameServerClustersRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.ListGameServerClustersRequest.verify|verify} messages.
+ * @param message ListGameServerClustersRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IListGameServerClustersRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListGameServerClustersRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListGameServerClustersRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.ListGameServerClustersRequest;
+
+ /**
+ * Decodes a ListGameServerClustersRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListGameServerClustersRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.ListGameServerClustersRequest;
+
+ /**
+ * Verifies a ListGameServerClustersRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListGameServerClustersRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListGameServerClustersRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.ListGameServerClustersRequest;
+
+ /**
+ * Creates a plain object from a ListGameServerClustersRequest message. Also converts values to other types if specified.
+ * @param message ListGameServerClustersRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.ListGameServerClustersRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListGameServerClustersRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListGameServerClustersRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListGameServerClustersResponse. */
+ interface IListGameServerClustersResponse {
+
+ /** ListGameServerClustersResponse gameServerClusters */
+ gameServerClusters?: (google.cloud.gaming.v1beta.IGameServerCluster[]|null);
+
+ /** ListGameServerClustersResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListGameServerClustersResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListGameServerClustersResponse. */
+ class ListGameServerClustersResponse implements IListGameServerClustersResponse {
+
+ /**
+ * Constructs a new ListGameServerClustersResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IListGameServerClustersResponse);
+
+ /** ListGameServerClustersResponse gameServerClusters. */
+ public gameServerClusters: google.cloud.gaming.v1beta.IGameServerCluster[];
+
+ /** ListGameServerClustersResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListGameServerClustersResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListGameServerClustersResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListGameServerClustersResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IListGameServerClustersResponse): google.cloud.gaming.v1beta.ListGameServerClustersResponse;
+
+ /**
+ * Encodes the specified ListGameServerClustersResponse message. Does not implicitly {@link google.cloud.gaming.v1beta.ListGameServerClustersResponse.verify|verify} messages.
+ * @param message ListGameServerClustersResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IListGameServerClustersResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListGameServerClustersResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.ListGameServerClustersResponse.verify|verify} messages.
+ * @param message ListGameServerClustersResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IListGameServerClustersResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListGameServerClustersResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListGameServerClustersResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.ListGameServerClustersResponse;
+
+ /**
+ * Decodes a ListGameServerClustersResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListGameServerClustersResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.ListGameServerClustersResponse;
+
+ /**
+ * Verifies a ListGameServerClustersResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListGameServerClustersResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListGameServerClustersResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.ListGameServerClustersResponse;
+
+ /**
+ * Creates a plain object from a ListGameServerClustersResponse message. Also converts values to other types if specified.
+ * @param message ListGameServerClustersResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.ListGameServerClustersResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListGameServerClustersResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListGameServerClustersResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetGameServerClusterRequest. */
+ interface IGetGameServerClusterRequest {
+
+ /** GetGameServerClusterRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetGameServerClusterRequest. */
+ class GetGameServerClusterRequest implements IGetGameServerClusterRequest {
+
+ /**
+ * Constructs a new GetGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IGetGameServerClusterRequest);
+
+ /** GetGameServerClusterRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IGetGameServerClusterRequest): google.cloud.gaming.v1beta.GetGameServerClusterRequest;
+
+ /**
+ * Encodes the specified GetGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.GetGameServerClusterRequest.verify|verify} messages.
+ * @param message GetGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IGetGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.GetGameServerClusterRequest.verify|verify} messages.
+ * @param message GetGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IGetGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.GetGameServerClusterRequest;
+
+ /**
+ * Decodes a GetGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.GetGameServerClusterRequest;
+
+ /**
+ * Verifies a GetGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.GetGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from a GetGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message GetGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.GetGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateGameServerClusterRequest. */
+ interface ICreateGameServerClusterRequest {
+
+ /** CreateGameServerClusterRequest parent */
+ parent?: (string|null);
+
+ /** CreateGameServerClusterRequest gameServerClusterId */
+ gameServerClusterId?: (string|null);
+
+ /** CreateGameServerClusterRequest gameServerCluster */
+ gameServerCluster?: (google.cloud.gaming.v1beta.IGameServerCluster|null);
+ }
+
+ /** Represents a CreateGameServerClusterRequest. */
+ class CreateGameServerClusterRequest implements ICreateGameServerClusterRequest {
+
+ /**
+ * Constructs a new CreateGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.ICreateGameServerClusterRequest);
+
+ /** CreateGameServerClusterRequest parent. */
+ public parent: string;
+
+ /** CreateGameServerClusterRequest gameServerClusterId. */
+ public gameServerClusterId: string;
+
+ /** CreateGameServerClusterRequest gameServerCluster. */
+ public gameServerCluster?: (google.cloud.gaming.v1beta.IGameServerCluster|null);
+
+ /**
+ * Creates a new CreateGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.ICreateGameServerClusterRequest): google.cloud.gaming.v1beta.CreateGameServerClusterRequest;
+
+ /**
+ * Encodes the specified CreateGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.CreateGameServerClusterRequest.verify|verify} messages.
+ * @param message CreateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.ICreateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.CreateGameServerClusterRequest.verify|verify} messages.
+ * @param message CreateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.ICreateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.CreateGameServerClusterRequest;
+
+ /**
+ * Decodes a CreateGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.CreateGameServerClusterRequest;
+
+ /**
+ * Verifies a CreateGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.CreateGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from a CreateGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message CreateGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.CreateGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewCreateGameServerClusterRequest. */
+ interface IPreviewCreateGameServerClusterRequest {
+
+ /** PreviewCreateGameServerClusterRequest parent */
+ parent?: (string|null);
+
+ /** PreviewCreateGameServerClusterRequest gameServerClusterId */
+ gameServerClusterId?: (string|null);
+
+ /** PreviewCreateGameServerClusterRequest gameServerCluster */
+ gameServerCluster?: (google.cloud.gaming.v1beta.IGameServerCluster|null);
+
+ /** PreviewCreateGameServerClusterRequest previewTime */
+ previewTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a PreviewCreateGameServerClusterRequest. */
+ class PreviewCreateGameServerClusterRequest implements IPreviewCreateGameServerClusterRequest {
+
+ /**
+ * Constructs a new PreviewCreateGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IPreviewCreateGameServerClusterRequest);
+
+ /** PreviewCreateGameServerClusterRequest parent. */
+ public parent: string;
+
+ /** PreviewCreateGameServerClusterRequest gameServerClusterId. */
+ public gameServerClusterId: string;
+
+ /** PreviewCreateGameServerClusterRequest gameServerCluster. */
+ public gameServerCluster?: (google.cloud.gaming.v1beta.IGameServerCluster|null);
+
+ /** PreviewCreateGameServerClusterRequest previewTime. */
+ public previewTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new PreviewCreateGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewCreateGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IPreviewCreateGameServerClusterRequest): google.cloud.gaming.v1beta.PreviewCreateGameServerClusterRequest;
+
+ /**
+ * Encodes the specified PreviewCreateGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewCreateGameServerClusterRequest.verify|verify} messages.
+ * @param message PreviewCreateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IPreviewCreateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewCreateGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewCreateGameServerClusterRequest.verify|verify} messages.
+ * @param message PreviewCreateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IPreviewCreateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewCreateGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewCreateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.PreviewCreateGameServerClusterRequest;
+
+ /**
+ * Decodes a PreviewCreateGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewCreateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.PreviewCreateGameServerClusterRequest;
+
+ /**
+ * Verifies a PreviewCreateGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewCreateGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewCreateGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.PreviewCreateGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from a PreviewCreateGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message PreviewCreateGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.PreviewCreateGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewCreateGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewCreateGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewCreateGameServerClusterResponse. */
+ interface IPreviewCreateGameServerClusterResponse {
+
+ /** PreviewCreateGameServerClusterResponse etag */
+ etag?: (string|null);
+
+ /** PreviewCreateGameServerClusterResponse targetState */
+ targetState?: (google.cloud.gaming.v1beta.ITargetState|null);
+ }
+
+ /** Represents a PreviewCreateGameServerClusterResponse. */
+ class PreviewCreateGameServerClusterResponse implements IPreviewCreateGameServerClusterResponse {
+
+ /**
+ * Constructs a new PreviewCreateGameServerClusterResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IPreviewCreateGameServerClusterResponse);
+
+ /** PreviewCreateGameServerClusterResponse etag. */
+ public etag: string;
+
+ /** PreviewCreateGameServerClusterResponse targetState. */
+ public targetState?: (google.cloud.gaming.v1beta.ITargetState|null);
+
+ /**
+ * Creates a new PreviewCreateGameServerClusterResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewCreateGameServerClusterResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IPreviewCreateGameServerClusterResponse): google.cloud.gaming.v1beta.PreviewCreateGameServerClusterResponse;
+
+ /**
+ * Encodes the specified PreviewCreateGameServerClusterResponse message. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewCreateGameServerClusterResponse.verify|verify} messages.
+ * @param message PreviewCreateGameServerClusterResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IPreviewCreateGameServerClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewCreateGameServerClusterResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewCreateGameServerClusterResponse.verify|verify} messages.
+ * @param message PreviewCreateGameServerClusterResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IPreviewCreateGameServerClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewCreateGameServerClusterResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewCreateGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.PreviewCreateGameServerClusterResponse;
+
+ /**
+ * Decodes a PreviewCreateGameServerClusterResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewCreateGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.PreviewCreateGameServerClusterResponse;
+
+ /**
+ * Verifies a PreviewCreateGameServerClusterResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewCreateGameServerClusterResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewCreateGameServerClusterResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.PreviewCreateGameServerClusterResponse;
+
+ /**
+ * Creates a plain object from a PreviewCreateGameServerClusterResponse message. Also converts values to other types if specified.
+ * @param message PreviewCreateGameServerClusterResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.PreviewCreateGameServerClusterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewCreateGameServerClusterResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewCreateGameServerClusterResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteGameServerClusterRequest. */
+ interface IDeleteGameServerClusterRequest {
+
+ /** DeleteGameServerClusterRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteGameServerClusterRequest. */
+ class DeleteGameServerClusterRequest implements IDeleteGameServerClusterRequest {
+
+ /**
+ * Constructs a new DeleteGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IDeleteGameServerClusterRequest);
+
+ /** DeleteGameServerClusterRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IDeleteGameServerClusterRequest): google.cloud.gaming.v1beta.DeleteGameServerClusterRequest;
+
+ /**
+ * Encodes the specified DeleteGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.DeleteGameServerClusterRequest.verify|verify} messages.
+ * @param message DeleteGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IDeleteGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.DeleteGameServerClusterRequest.verify|verify} messages.
+ * @param message DeleteGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IDeleteGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.DeleteGameServerClusterRequest;
+
+ /**
+ * Decodes a DeleteGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.DeleteGameServerClusterRequest;
+
+ /**
+ * Verifies a DeleteGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.DeleteGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from a DeleteGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message DeleteGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.DeleteGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewDeleteGameServerClusterRequest. */
+ interface IPreviewDeleteGameServerClusterRequest {
+
+ /** PreviewDeleteGameServerClusterRequest name */
+ name?: (string|null);
+
+ /** PreviewDeleteGameServerClusterRequest previewTime */
+ previewTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a PreviewDeleteGameServerClusterRequest. */
+ class PreviewDeleteGameServerClusterRequest implements IPreviewDeleteGameServerClusterRequest {
+
+ /**
+ * Constructs a new PreviewDeleteGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IPreviewDeleteGameServerClusterRequest);
+
+ /** PreviewDeleteGameServerClusterRequest name. */
+ public name: string;
+
+ /** PreviewDeleteGameServerClusterRequest previewTime. */
+ public previewTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new PreviewDeleteGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewDeleteGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IPreviewDeleteGameServerClusterRequest): google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterRequest;
+
+ /**
+ * Encodes the specified PreviewDeleteGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterRequest.verify|verify} messages.
+ * @param message PreviewDeleteGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IPreviewDeleteGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewDeleteGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterRequest.verify|verify} messages.
+ * @param message PreviewDeleteGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IPreviewDeleteGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewDeleteGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewDeleteGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterRequest;
+
+ /**
+ * Decodes a PreviewDeleteGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewDeleteGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterRequest;
+
+ /**
+ * Verifies a PreviewDeleteGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewDeleteGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewDeleteGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from a PreviewDeleteGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message PreviewDeleteGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewDeleteGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewDeleteGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewDeleteGameServerClusterResponse. */
+ interface IPreviewDeleteGameServerClusterResponse {
+
+ /** PreviewDeleteGameServerClusterResponse etag */
+ etag?: (string|null);
+
+ /** PreviewDeleteGameServerClusterResponse targetState */
+ targetState?: (google.cloud.gaming.v1beta.ITargetState|null);
+ }
+
+ /** Represents a PreviewDeleteGameServerClusterResponse. */
+ class PreviewDeleteGameServerClusterResponse implements IPreviewDeleteGameServerClusterResponse {
+
+ /**
+ * Constructs a new PreviewDeleteGameServerClusterResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IPreviewDeleteGameServerClusterResponse);
+
+ /** PreviewDeleteGameServerClusterResponse etag. */
+ public etag: string;
+
+ /** PreviewDeleteGameServerClusterResponse targetState. */
+ public targetState?: (google.cloud.gaming.v1beta.ITargetState|null);
+
+ /**
+ * Creates a new PreviewDeleteGameServerClusterResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewDeleteGameServerClusterResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IPreviewDeleteGameServerClusterResponse): google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterResponse;
+
+ /**
+ * Encodes the specified PreviewDeleteGameServerClusterResponse message. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterResponse.verify|verify} messages.
+ * @param message PreviewDeleteGameServerClusterResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IPreviewDeleteGameServerClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewDeleteGameServerClusterResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterResponse.verify|verify} messages.
+ * @param message PreviewDeleteGameServerClusterResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IPreviewDeleteGameServerClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewDeleteGameServerClusterResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewDeleteGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterResponse;
+
+ /**
+ * Decodes a PreviewDeleteGameServerClusterResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewDeleteGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterResponse;
+
+ /**
+ * Verifies a PreviewDeleteGameServerClusterResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewDeleteGameServerClusterResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewDeleteGameServerClusterResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterResponse;
+
+ /**
+ * Creates a plain object from a PreviewDeleteGameServerClusterResponse message. Also converts values to other types if specified.
+ * @param message PreviewDeleteGameServerClusterResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewDeleteGameServerClusterResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewDeleteGameServerClusterResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateGameServerClusterRequest. */
+ interface IUpdateGameServerClusterRequest {
+
+ /** UpdateGameServerClusterRequest gameServerCluster */
+ gameServerCluster?: (google.cloud.gaming.v1beta.IGameServerCluster|null);
+
+ /** UpdateGameServerClusterRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateGameServerClusterRequest. */
+ class UpdateGameServerClusterRequest implements IUpdateGameServerClusterRequest {
+
+ /**
+ * Constructs a new UpdateGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IUpdateGameServerClusterRequest);
+
+ /** UpdateGameServerClusterRequest gameServerCluster. */
+ public gameServerCluster?: (google.cloud.gaming.v1beta.IGameServerCluster|null);
+
+ /** UpdateGameServerClusterRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IUpdateGameServerClusterRequest): google.cloud.gaming.v1beta.UpdateGameServerClusterRequest;
+
+ /**
+ * Encodes the specified UpdateGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.UpdateGameServerClusterRequest.verify|verify} messages.
+ * @param message UpdateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IUpdateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.UpdateGameServerClusterRequest.verify|verify} messages.
+ * @param message UpdateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IUpdateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.UpdateGameServerClusterRequest;
+
+ /**
+ * Decodes an UpdateGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.UpdateGameServerClusterRequest;
+
+ /**
+ * Verifies an UpdateGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UpdateGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.UpdateGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from an UpdateGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message UpdateGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.UpdateGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewUpdateGameServerClusterRequest. */
+ interface IPreviewUpdateGameServerClusterRequest {
+
+ /** PreviewUpdateGameServerClusterRequest gameServerCluster */
+ gameServerCluster?: (google.cloud.gaming.v1beta.IGameServerCluster|null);
+
+ /** PreviewUpdateGameServerClusterRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** PreviewUpdateGameServerClusterRequest previewTime */
+ previewTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a PreviewUpdateGameServerClusterRequest. */
+ class PreviewUpdateGameServerClusterRequest implements IPreviewUpdateGameServerClusterRequest {
+
+ /**
+ * Constructs a new PreviewUpdateGameServerClusterRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IPreviewUpdateGameServerClusterRequest);
+
+ /** PreviewUpdateGameServerClusterRequest gameServerCluster. */
+ public gameServerCluster?: (google.cloud.gaming.v1beta.IGameServerCluster|null);
+
+ /** PreviewUpdateGameServerClusterRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** PreviewUpdateGameServerClusterRequest previewTime. */
+ public previewTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new PreviewUpdateGameServerClusterRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewUpdateGameServerClusterRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IPreviewUpdateGameServerClusterRequest): google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterRequest;
+
+ /**
+ * Encodes the specified PreviewUpdateGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterRequest.verify|verify} messages.
+ * @param message PreviewUpdateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IPreviewUpdateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewUpdateGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterRequest.verify|verify} messages.
+ * @param message PreviewUpdateGameServerClusterRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IPreviewUpdateGameServerClusterRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewUpdateGameServerClusterRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewUpdateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterRequest;
+
+ /**
+ * Decodes a PreviewUpdateGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewUpdateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterRequest;
+
+ /**
+ * Verifies a PreviewUpdateGameServerClusterRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewUpdateGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewUpdateGameServerClusterRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterRequest;
+
+ /**
+ * Creates a plain object from a PreviewUpdateGameServerClusterRequest message. Also converts values to other types if specified.
+ * @param message PreviewUpdateGameServerClusterRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewUpdateGameServerClusterRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewUpdateGameServerClusterRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewUpdateGameServerClusterResponse. */
+ interface IPreviewUpdateGameServerClusterResponse {
+
+ /** PreviewUpdateGameServerClusterResponse etag */
+ etag?: (string|null);
+
+ /** PreviewUpdateGameServerClusterResponse targetState */
+ targetState?: (google.cloud.gaming.v1beta.ITargetState|null);
+ }
+
+ /** Represents a PreviewUpdateGameServerClusterResponse. */
+ class PreviewUpdateGameServerClusterResponse implements IPreviewUpdateGameServerClusterResponse {
+
+ /**
+ * Constructs a new PreviewUpdateGameServerClusterResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IPreviewUpdateGameServerClusterResponse);
+
+ /** PreviewUpdateGameServerClusterResponse etag. */
+ public etag: string;
+
+ /** PreviewUpdateGameServerClusterResponse targetState. */
+ public targetState?: (google.cloud.gaming.v1beta.ITargetState|null);
+
+ /**
+ * Creates a new PreviewUpdateGameServerClusterResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewUpdateGameServerClusterResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IPreviewUpdateGameServerClusterResponse): google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterResponse;
+
+ /**
+ * Encodes the specified PreviewUpdateGameServerClusterResponse message. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterResponse.verify|verify} messages.
+ * @param message PreviewUpdateGameServerClusterResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IPreviewUpdateGameServerClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewUpdateGameServerClusterResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterResponse.verify|verify} messages.
+ * @param message PreviewUpdateGameServerClusterResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IPreviewUpdateGameServerClusterResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewUpdateGameServerClusterResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewUpdateGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterResponse;
+
+ /**
+ * Decodes a PreviewUpdateGameServerClusterResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewUpdateGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterResponse;
+
+ /**
+ * Verifies a PreviewUpdateGameServerClusterResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewUpdateGameServerClusterResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewUpdateGameServerClusterResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterResponse;
+
+ /**
+ * Creates a plain object from a PreviewUpdateGameServerClusterResponse message. Also converts values to other types if specified.
+ * @param message PreviewUpdateGameServerClusterResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewUpdateGameServerClusterResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewUpdateGameServerClusterResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GameServerClusterConnectionInfo. */
+ interface IGameServerClusterConnectionInfo {
+
+ /** GameServerClusterConnectionInfo gkeClusterReference */
+ gkeClusterReference?: (google.cloud.gaming.v1beta.IGkeClusterReference|null);
+
+ /** GameServerClusterConnectionInfo namespace */
+ namespace?: (string|null);
+ }
+
+ /** Represents a GameServerClusterConnectionInfo. */
+ class GameServerClusterConnectionInfo implements IGameServerClusterConnectionInfo {
+
+ /**
+ * Constructs a new GameServerClusterConnectionInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IGameServerClusterConnectionInfo);
+
+ /** GameServerClusterConnectionInfo gkeClusterReference. */
+ public gkeClusterReference?: (google.cloud.gaming.v1beta.IGkeClusterReference|null);
+
+ /** GameServerClusterConnectionInfo namespace. */
+ public namespace: string;
+
+ /** GameServerClusterConnectionInfo clusterReference. */
+ public clusterReference?: "gkeClusterReference";
+
+ /**
+ * Creates a new GameServerClusterConnectionInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GameServerClusterConnectionInfo instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IGameServerClusterConnectionInfo): google.cloud.gaming.v1beta.GameServerClusterConnectionInfo;
+
+ /**
+ * Encodes the specified GameServerClusterConnectionInfo message. Does not implicitly {@link google.cloud.gaming.v1beta.GameServerClusterConnectionInfo.verify|verify} messages.
+ * @param message GameServerClusterConnectionInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IGameServerClusterConnectionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GameServerClusterConnectionInfo message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.GameServerClusterConnectionInfo.verify|verify} messages.
+ * @param message GameServerClusterConnectionInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IGameServerClusterConnectionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GameServerClusterConnectionInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GameServerClusterConnectionInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.GameServerClusterConnectionInfo;
+
+ /**
+ * Decodes a GameServerClusterConnectionInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GameServerClusterConnectionInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.GameServerClusterConnectionInfo;
+
+ /**
+ * Verifies a GameServerClusterConnectionInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GameServerClusterConnectionInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GameServerClusterConnectionInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.GameServerClusterConnectionInfo;
+
+ /**
+ * Creates a plain object from a GameServerClusterConnectionInfo message. Also converts values to other types if specified.
+ * @param message GameServerClusterConnectionInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.GameServerClusterConnectionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GameServerClusterConnectionInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GameServerClusterConnectionInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GkeClusterReference. */
+ interface IGkeClusterReference {
+
+ /** GkeClusterReference cluster */
+ cluster?: (string|null);
+ }
+
+ /** Represents a GkeClusterReference. */
+ class GkeClusterReference implements IGkeClusterReference {
+
+ /**
+ * Constructs a new GkeClusterReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IGkeClusterReference);
+
+ /** GkeClusterReference cluster. */
+ public cluster: string;
+
+ /**
+ * Creates a new GkeClusterReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GkeClusterReference instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IGkeClusterReference): google.cloud.gaming.v1beta.GkeClusterReference;
+
+ /**
+ * Encodes the specified GkeClusterReference message. Does not implicitly {@link google.cloud.gaming.v1beta.GkeClusterReference.verify|verify} messages.
+ * @param message GkeClusterReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IGkeClusterReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GkeClusterReference message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.GkeClusterReference.verify|verify} messages.
+ * @param message GkeClusterReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IGkeClusterReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GkeClusterReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GkeClusterReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.GkeClusterReference;
+
+ /**
+ * Decodes a GkeClusterReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GkeClusterReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.GkeClusterReference;
+
+ /**
+ * Verifies a GkeClusterReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GkeClusterReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GkeClusterReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.GkeClusterReference;
+
+ /**
+ * Creates a plain object from a GkeClusterReference message. Also converts values to other types if specified.
+ * @param message GkeClusterReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.GkeClusterReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GkeClusterReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GkeClusterReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GameServerCluster. */
+ interface IGameServerCluster {
+
+ /** GameServerCluster name */
+ name?: (string|null);
+
+ /** GameServerCluster createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerCluster updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerCluster labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** GameServerCluster connectionInfo */
+ connectionInfo?: (google.cloud.gaming.v1beta.IGameServerClusterConnectionInfo|null);
+
+ /** GameServerCluster etag */
+ etag?: (string|null);
+
+ /** GameServerCluster description */
+ description?: (string|null);
+ }
+
+ /** Represents a GameServerCluster. */
+ class GameServerCluster implements IGameServerCluster {
+
+ /**
+ * Constructs a new GameServerCluster.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IGameServerCluster);
+
+ /** GameServerCluster name. */
+ public name: string;
+
+ /** GameServerCluster createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerCluster updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerCluster labels. */
+ public labels: { [k: string]: string };
+
+ /** GameServerCluster connectionInfo. */
+ public connectionInfo?: (google.cloud.gaming.v1beta.IGameServerClusterConnectionInfo|null);
+
+ /** GameServerCluster etag. */
+ public etag: string;
+
+ /** GameServerCluster description. */
+ public description: string;
+
+ /**
+ * Creates a new GameServerCluster instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GameServerCluster instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IGameServerCluster): google.cloud.gaming.v1beta.GameServerCluster;
+
+ /**
+ * Encodes the specified GameServerCluster message. Does not implicitly {@link google.cloud.gaming.v1beta.GameServerCluster.verify|verify} messages.
+ * @param message GameServerCluster message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IGameServerCluster, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GameServerCluster message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.GameServerCluster.verify|verify} messages.
+ * @param message GameServerCluster message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IGameServerCluster, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GameServerCluster message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GameServerCluster
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.GameServerCluster;
+
+ /**
+ * Decodes a GameServerCluster message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GameServerCluster
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.GameServerCluster;
+
+ /**
+ * Verifies a GameServerCluster message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GameServerCluster message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GameServerCluster
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.GameServerCluster;
+
+ /**
+ * Creates a plain object from a GameServerCluster message. Also converts values to other types if specified.
+ * @param message GameServerCluster
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.GameServerCluster, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GameServerCluster to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GameServerCluster
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a GameServerClustersService */
+ class GameServerClustersService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new GameServerClustersService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new GameServerClustersService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GameServerClustersService;
+
+ /**
+ * Calls ListGameServerClusters.
+ * @param request ListGameServerClustersRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListGameServerClustersResponse
+ */
+ public listGameServerClusters(request: google.cloud.gaming.v1beta.IListGameServerClustersRequest, callback: google.cloud.gaming.v1beta.GameServerClustersService.ListGameServerClustersCallback): void;
+
+ /**
+ * Calls ListGameServerClusters.
+ * @param request ListGameServerClustersRequest message or plain object
+ * @returns Promise
+ */
+ public listGameServerClusters(request: google.cloud.gaming.v1beta.IListGameServerClustersRequest): Promise;
+
+ /**
+ * Calls GetGameServerCluster.
+ * @param request GetGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and GameServerCluster
+ */
+ public getGameServerCluster(request: google.cloud.gaming.v1beta.IGetGameServerClusterRequest, callback: google.cloud.gaming.v1beta.GameServerClustersService.GetGameServerClusterCallback): void;
+
+ /**
+ * Calls GetGameServerCluster.
+ * @param request GetGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public getGameServerCluster(request: google.cloud.gaming.v1beta.IGetGameServerClusterRequest): Promise;
+
+ /**
+ * Calls CreateGameServerCluster.
+ * @param request CreateGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createGameServerCluster(request: google.cloud.gaming.v1beta.ICreateGameServerClusterRequest, callback: google.cloud.gaming.v1beta.GameServerClustersService.CreateGameServerClusterCallback): void;
+
+ /**
+ * Calls CreateGameServerCluster.
+ * @param request CreateGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public createGameServerCluster(request: google.cloud.gaming.v1beta.ICreateGameServerClusterRequest): Promise;
+
+ /**
+ * Calls PreviewCreateGameServerCluster.
+ * @param request PreviewCreateGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PreviewCreateGameServerClusterResponse
+ */
+ public previewCreateGameServerCluster(request: google.cloud.gaming.v1beta.IPreviewCreateGameServerClusterRequest, callback: google.cloud.gaming.v1beta.GameServerClustersService.PreviewCreateGameServerClusterCallback): void;
+
+ /**
+ * Calls PreviewCreateGameServerCluster.
+ * @param request PreviewCreateGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public previewCreateGameServerCluster(request: google.cloud.gaming.v1beta.IPreviewCreateGameServerClusterRequest): Promise;
+
+ /**
+ * Calls DeleteGameServerCluster.
+ * @param request DeleteGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteGameServerCluster(request: google.cloud.gaming.v1beta.IDeleteGameServerClusterRequest, callback: google.cloud.gaming.v1beta.GameServerClustersService.DeleteGameServerClusterCallback): void;
+
+ /**
+ * Calls DeleteGameServerCluster.
+ * @param request DeleteGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public deleteGameServerCluster(request: google.cloud.gaming.v1beta.IDeleteGameServerClusterRequest): Promise;
+
+ /**
+ * Calls PreviewDeleteGameServerCluster.
+ * @param request PreviewDeleteGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PreviewDeleteGameServerClusterResponse
+ */
+ public previewDeleteGameServerCluster(request: google.cloud.gaming.v1beta.IPreviewDeleteGameServerClusterRequest, callback: google.cloud.gaming.v1beta.GameServerClustersService.PreviewDeleteGameServerClusterCallback): void;
+
+ /**
+ * Calls PreviewDeleteGameServerCluster.
+ * @param request PreviewDeleteGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public previewDeleteGameServerCluster(request: google.cloud.gaming.v1beta.IPreviewDeleteGameServerClusterRequest): Promise;
+
+ /**
+ * Calls UpdateGameServerCluster.
+ * @param request UpdateGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateGameServerCluster(request: google.cloud.gaming.v1beta.IUpdateGameServerClusterRequest, callback: google.cloud.gaming.v1beta.GameServerClustersService.UpdateGameServerClusterCallback): void;
+
+ /**
+ * Calls UpdateGameServerCluster.
+ * @param request UpdateGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public updateGameServerCluster(request: google.cloud.gaming.v1beta.IUpdateGameServerClusterRequest): Promise;
+
+ /**
+ * Calls PreviewUpdateGameServerCluster.
+ * @param request PreviewUpdateGameServerClusterRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PreviewUpdateGameServerClusterResponse
+ */
+ public previewUpdateGameServerCluster(request: google.cloud.gaming.v1beta.IPreviewUpdateGameServerClusterRequest, callback: google.cloud.gaming.v1beta.GameServerClustersService.PreviewUpdateGameServerClusterCallback): void;
+
+ /**
+ * Calls PreviewUpdateGameServerCluster.
+ * @param request PreviewUpdateGameServerClusterRequest message or plain object
+ * @returns Promise
+ */
+ public previewUpdateGameServerCluster(request: google.cloud.gaming.v1beta.IPreviewUpdateGameServerClusterRequest): Promise;
+ }
+
+ namespace GameServerClustersService {
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerClustersService|listGameServerClusters}.
+ * @param error Error, if any
+ * @param [response] ListGameServerClustersResponse
+ */
+ type ListGameServerClustersCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.ListGameServerClustersResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerClustersService|getGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] GameServerCluster
+ */
+ type GetGameServerClusterCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.GameServerCluster) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerClustersService|createGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateGameServerClusterCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerClustersService|previewCreateGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] PreviewCreateGameServerClusterResponse
+ */
+ type PreviewCreateGameServerClusterCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.PreviewCreateGameServerClusterResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerClustersService|deleteGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteGameServerClusterCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerClustersService|previewDeleteGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] PreviewDeleteGameServerClusterResponse
+ */
+ type PreviewDeleteGameServerClusterCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.PreviewDeleteGameServerClusterResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerClustersService|updateGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateGameServerClusterCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerClustersService|previewUpdateGameServerCluster}.
+ * @param error Error, if any
+ * @param [response] PreviewUpdateGameServerClusterResponse
+ */
+ type PreviewUpdateGameServerClusterCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.PreviewUpdateGameServerClusterResponse) => void;
+ }
+
+ /** Properties of a ListGameServerConfigsRequest. */
+ interface IListGameServerConfigsRequest {
+
+ /** ListGameServerConfigsRequest parent */
+ parent?: (string|null);
+
+ /** ListGameServerConfigsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListGameServerConfigsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListGameServerConfigsRequest filter */
+ filter?: (string|null);
+
+ /** ListGameServerConfigsRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListGameServerConfigsRequest. */
+ class ListGameServerConfigsRequest implements IListGameServerConfigsRequest {
+
+ /**
+ * Constructs a new ListGameServerConfigsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IListGameServerConfigsRequest);
+
+ /** ListGameServerConfigsRequest parent. */
+ public parent: string;
+
+ /** ListGameServerConfigsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListGameServerConfigsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListGameServerConfigsRequest filter. */
+ public filter: string;
+
+ /** ListGameServerConfigsRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListGameServerConfigsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListGameServerConfigsRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IListGameServerConfigsRequest): google.cloud.gaming.v1beta.ListGameServerConfigsRequest;
+
+ /**
+ * Encodes the specified ListGameServerConfigsRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.ListGameServerConfigsRequest.verify|verify} messages.
+ * @param message ListGameServerConfigsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IListGameServerConfigsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListGameServerConfigsRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.ListGameServerConfigsRequest.verify|verify} messages.
+ * @param message ListGameServerConfigsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IListGameServerConfigsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListGameServerConfigsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListGameServerConfigsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.ListGameServerConfigsRequest;
+
+ /**
+ * Decodes a ListGameServerConfigsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListGameServerConfigsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.ListGameServerConfigsRequest;
+
+ /**
+ * Verifies a ListGameServerConfigsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListGameServerConfigsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListGameServerConfigsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.ListGameServerConfigsRequest;
+
+ /**
+ * Creates a plain object from a ListGameServerConfigsRequest message. Also converts values to other types if specified.
+ * @param message ListGameServerConfigsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.ListGameServerConfigsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListGameServerConfigsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListGameServerConfigsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListGameServerConfigsResponse. */
+ interface IListGameServerConfigsResponse {
+
+ /** ListGameServerConfigsResponse gameServerConfigs */
+ gameServerConfigs?: (google.cloud.gaming.v1beta.IGameServerConfig[]|null);
+
+ /** ListGameServerConfigsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListGameServerConfigsResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListGameServerConfigsResponse. */
+ class ListGameServerConfigsResponse implements IListGameServerConfigsResponse {
+
+ /**
+ * Constructs a new ListGameServerConfigsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IListGameServerConfigsResponse);
+
+ /** ListGameServerConfigsResponse gameServerConfigs. */
+ public gameServerConfigs: google.cloud.gaming.v1beta.IGameServerConfig[];
+
+ /** ListGameServerConfigsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListGameServerConfigsResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListGameServerConfigsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListGameServerConfigsResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IListGameServerConfigsResponse): google.cloud.gaming.v1beta.ListGameServerConfigsResponse;
+
+ /**
+ * Encodes the specified ListGameServerConfigsResponse message. Does not implicitly {@link google.cloud.gaming.v1beta.ListGameServerConfigsResponse.verify|verify} messages.
+ * @param message ListGameServerConfigsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IListGameServerConfigsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListGameServerConfigsResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.ListGameServerConfigsResponse.verify|verify} messages.
+ * @param message ListGameServerConfigsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IListGameServerConfigsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListGameServerConfigsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListGameServerConfigsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.ListGameServerConfigsResponse;
+
+ /**
+ * Decodes a ListGameServerConfigsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListGameServerConfigsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.ListGameServerConfigsResponse;
+
+ /**
+ * Verifies a ListGameServerConfigsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListGameServerConfigsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListGameServerConfigsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.ListGameServerConfigsResponse;
+
+ /**
+ * Creates a plain object from a ListGameServerConfigsResponse message. Also converts values to other types if specified.
+ * @param message ListGameServerConfigsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.ListGameServerConfigsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListGameServerConfigsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListGameServerConfigsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetGameServerConfigRequest. */
+ interface IGetGameServerConfigRequest {
+
+ /** GetGameServerConfigRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetGameServerConfigRequest. */
+ class GetGameServerConfigRequest implements IGetGameServerConfigRequest {
+
+ /**
+ * Constructs a new GetGameServerConfigRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IGetGameServerConfigRequest);
+
+ /** GetGameServerConfigRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetGameServerConfigRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetGameServerConfigRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IGetGameServerConfigRequest): google.cloud.gaming.v1beta.GetGameServerConfigRequest;
+
+ /**
+ * Encodes the specified GetGameServerConfigRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.GetGameServerConfigRequest.verify|verify} messages.
+ * @param message GetGameServerConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IGetGameServerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetGameServerConfigRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.GetGameServerConfigRequest.verify|verify} messages.
+ * @param message GetGameServerConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IGetGameServerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetGameServerConfigRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.GetGameServerConfigRequest;
+
+ /**
+ * Decodes a GetGameServerConfigRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.GetGameServerConfigRequest;
+
+ /**
+ * Verifies a GetGameServerConfigRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetGameServerConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetGameServerConfigRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.GetGameServerConfigRequest;
+
+ /**
+ * Creates a plain object from a GetGameServerConfigRequest message. Also converts values to other types if specified.
+ * @param message GetGameServerConfigRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.GetGameServerConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetGameServerConfigRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetGameServerConfigRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateGameServerConfigRequest. */
+ interface ICreateGameServerConfigRequest {
+
+ /** CreateGameServerConfigRequest parent */
+ parent?: (string|null);
+
+ /** CreateGameServerConfigRequest configId */
+ configId?: (string|null);
+
+ /** CreateGameServerConfigRequest gameServerConfig */
+ gameServerConfig?: (google.cloud.gaming.v1beta.IGameServerConfig|null);
+ }
+
+ /** Represents a CreateGameServerConfigRequest. */
+ class CreateGameServerConfigRequest implements ICreateGameServerConfigRequest {
+
+ /**
+ * Constructs a new CreateGameServerConfigRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.ICreateGameServerConfigRequest);
+
+ /** CreateGameServerConfigRequest parent. */
+ public parent: string;
+
+ /** CreateGameServerConfigRequest configId. */
+ public configId: string;
+
+ /** CreateGameServerConfigRequest gameServerConfig. */
+ public gameServerConfig?: (google.cloud.gaming.v1beta.IGameServerConfig|null);
+
+ /**
+ * Creates a new CreateGameServerConfigRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateGameServerConfigRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.ICreateGameServerConfigRequest): google.cloud.gaming.v1beta.CreateGameServerConfigRequest;
+
+ /**
+ * Encodes the specified CreateGameServerConfigRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.CreateGameServerConfigRequest.verify|verify} messages.
+ * @param message CreateGameServerConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.ICreateGameServerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateGameServerConfigRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.CreateGameServerConfigRequest.verify|verify} messages.
+ * @param message CreateGameServerConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.ICreateGameServerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateGameServerConfigRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.CreateGameServerConfigRequest;
+
+ /**
+ * Decodes a CreateGameServerConfigRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.CreateGameServerConfigRequest;
+
+ /**
+ * Verifies a CreateGameServerConfigRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateGameServerConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateGameServerConfigRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.CreateGameServerConfigRequest;
+
+ /**
+ * Creates a plain object from a CreateGameServerConfigRequest message. Also converts values to other types if specified.
+ * @param message CreateGameServerConfigRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.CreateGameServerConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateGameServerConfigRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateGameServerConfigRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteGameServerConfigRequest. */
+ interface IDeleteGameServerConfigRequest {
+
+ /** DeleteGameServerConfigRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteGameServerConfigRequest. */
+ class DeleteGameServerConfigRequest implements IDeleteGameServerConfigRequest {
+
+ /**
+ * Constructs a new DeleteGameServerConfigRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IDeleteGameServerConfigRequest);
+
+ /** DeleteGameServerConfigRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteGameServerConfigRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteGameServerConfigRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IDeleteGameServerConfigRequest): google.cloud.gaming.v1beta.DeleteGameServerConfigRequest;
+
+ /**
+ * Encodes the specified DeleteGameServerConfigRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.DeleteGameServerConfigRequest.verify|verify} messages.
+ * @param message DeleteGameServerConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IDeleteGameServerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteGameServerConfigRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.DeleteGameServerConfigRequest.verify|verify} messages.
+ * @param message DeleteGameServerConfigRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IDeleteGameServerConfigRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteGameServerConfigRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.DeleteGameServerConfigRequest;
+
+ /**
+ * Decodes a DeleteGameServerConfigRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.DeleteGameServerConfigRequest;
+
+ /**
+ * Verifies a DeleteGameServerConfigRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteGameServerConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteGameServerConfigRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.DeleteGameServerConfigRequest;
+
+ /**
+ * Creates a plain object from a DeleteGameServerConfigRequest message. Also converts values to other types if specified.
+ * @param message DeleteGameServerConfigRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.DeleteGameServerConfigRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteGameServerConfigRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteGameServerConfigRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ScalingConfig. */
+ interface IScalingConfig {
+
+ /** ScalingConfig name */
+ name?: (string|null);
+
+ /** ScalingConfig fleetAutoscalerSpec */
+ fleetAutoscalerSpec?: (string|null);
+
+ /** ScalingConfig selectors */
+ selectors?: (google.cloud.gaming.v1beta.ILabelSelector[]|null);
+
+ /** ScalingConfig schedules */
+ schedules?: (google.cloud.gaming.v1beta.ISchedule[]|null);
+ }
+
+ /** Represents a ScalingConfig. */
+ class ScalingConfig implements IScalingConfig {
+
+ /**
+ * Constructs a new ScalingConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IScalingConfig);
+
+ /** ScalingConfig name. */
+ public name: string;
+
+ /** ScalingConfig fleetAutoscalerSpec. */
+ public fleetAutoscalerSpec: string;
+
+ /** ScalingConfig selectors. */
+ public selectors: google.cloud.gaming.v1beta.ILabelSelector[];
+
+ /** ScalingConfig schedules. */
+ public schedules: google.cloud.gaming.v1beta.ISchedule[];
+
+ /**
+ * Creates a new ScalingConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ScalingConfig instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IScalingConfig): google.cloud.gaming.v1beta.ScalingConfig;
+
+ /**
+ * Encodes the specified ScalingConfig message. Does not implicitly {@link google.cloud.gaming.v1beta.ScalingConfig.verify|verify} messages.
+ * @param message ScalingConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IScalingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ScalingConfig message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.ScalingConfig.verify|verify} messages.
+ * @param message ScalingConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IScalingConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ScalingConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ScalingConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.ScalingConfig;
+
+ /**
+ * Decodes a ScalingConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ScalingConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.ScalingConfig;
+
+ /**
+ * Verifies a ScalingConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ScalingConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ScalingConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.ScalingConfig;
+
+ /**
+ * Creates a plain object from a ScalingConfig message. Also converts values to other types if specified.
+ * @param message ScalingConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.ScalingConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ScalingConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ScalingConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FleetConfig. */
+ interface IFleetConfig {
+
+ /** FleetConfig fleetSpec */
+ fleetSpec?: (string|null);
+
+ /** FleetConfig name */
+ name?: (string|null);
+ }
+
+ /** Represents a FleetConfig. */
+ class FleetConfig implements IFleetConfig {
+
+ /**
+ * Constructs a new FleetConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IFleetConfig);
+
+ /** FleetConfig fleetSpec. */
+ public fleetSpec: string;
+
+ /** FleetConfig name. */
+ public name: string;
+
+ /**
+ * Creates a new FleetConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FleetConfig instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IFleetConfig): google.cloud.gaming.v1beta.FleetConfig;
+
+ /**
+ * Encodes the specified FleetConfig message. Does not implicitly {@link google.cloud.gaming.v1beta.FleetConfig.verify|verify} messages.
+ * @param message FleetConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IFleetConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FleetConfig message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.FleetConfig.verify|verify} messages.
+ * @param message FleetConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IFleetConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FleetConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FleetConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.FleetConfig;
+
+ /**
+ * Decodes a FleetConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FleetConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.FleetConfig;
+
+ /**
+ * Verifies a FleetConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FleetConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FleetConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.FleetConfig;
+
+ /**
+ * Creates a plain object from a FleetConfig message. Also converts values to other types if specified.
+ * @param message FleetConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.FleetConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FleetConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FleetConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GameServerConfig. */
+ interface IGameServerConfig {
+
+ /** GameServerConfig name */
+ name?: (string|null);
+
+ /** GameServerConfig createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerConfig updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerConfig labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** GameServerConfig fleetConfigs */
+ fleetConfigs?: (google.cloud.gaming.v1beta.IFleetConfig[]|null);
+
+ /** GameServerConfig scalingConfigs */
+ scalingConfigs?: (google.cloud.gaming.v1beta.IScalingConfig[]|null);
+
+ /** GameServerConfig description */
+ description?: (string|null);
+ }
+
+ /** Represents a GameServerConfig. */
+ class GameServerConfig implements IGameServerConfig {
+
+ /**
+ * Constructs a new GameServerConfig.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IGameServerConfig);
+
+ /** GameServerConfig name. */
+ public name: string;
+
+ /** GameServerConfig createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerConfig updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerConfig labels. */
+ public labels: { [k: string]: string };
+
+ /** GameServerConfig fleetConfigs. */
+ public fleetConfigs: google.cloud.gaming.v1beta.IFleetConfig[];
+
+ /** GameServerConfig scalingConfigs. */
+ public scalingConfigs: google.cloud.gaming.v1beta.IScalingConfig[];
+
+ /** GameServerConfig description. */
+ public description: string;
+
+ /**
+ * Creates a new GameServerConfig instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GameServerConfig instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IGameServerConfig): google.cloud.gaming.v1beta.GameServerConfig;
+
+ /**
+ * Encodes the specified GameServerConfig message. Does not implicitly {@link google.cloud.gaming.v1beta.GameServerConfig.verify|verify} messages.
+ * @param message GameServerConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IGameServerConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GameServerConfig message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.GameServerConfig.verify|verify} messages.
+ * @param message GameServerConfig message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IGameServerConfig, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GameServerConfig message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GameServerConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.GameServerConfig;
+
+ /**
+ * Decodes a GameServerConfig message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GameServerConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.GameServerConfig;
+
+ /**
+ * Verifies a GameServerConfig message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GameServerConfig message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GameServerConfig
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.GameServerConfig;
+
+ /**
+ * Creates a plain object from a GameServerConfig message. Also converts values to other types if specified.
+ * @param message GameServerConfig
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.GameServerConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GameServerConfig to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GameServerConfig
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a GameServerConfigsService */
+ class GameServerConfigsService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new GameServerConfigsService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new GameServerConfigsService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GameServerConfigsService;
+
+ /**
+ * Calls ListGameServerConfigs.
+ * @param request ListGameServerConfigsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListGameServerConfigsResponse
+ */
+ public listGameServerConfigs(request: google.cloud.gaming.v1beta.IListGameServerConfigsRequest, callback: google.cloud.gaming.v1beta.GameServerConfigsService.ListGameServerConfigsCallback): void;
+
+ /**
+ * Calls ListGameServerConfigs.
+ * @param request ListGameServerConfigsRequest message or plain object
+ * @returns Promise
+ */
+ public listGameServerConfigs(request: google.cloud.gaming.v1beta.IListGameServerConfigsRequest): Promise;
+
+ /**
+ * Calls GetGameServerConfig.
+ * @param request GetGameServerConfigRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and GameServerConfig
+ */
+ public getGameServerConfig(request: google.cloud.gaming.v1beta.IGetGameServerConfigRequest, callback: google.cloud.gaming.v1beta.GameServerConfigsService.GetGameServerConfigCallback): void;
+
+ /**
+ * Calls GetGameServerConfig.
+ * @param request GetGameServerConfigRequest message or plain object
+ * @returns Promise
+ */
+ public getGameServerConfig(request: google.cloud.gaming.v1beta.IGetGameServerConfigRequest): Promise;
+
+ /**
+ * Calls CreateGameServerConfig.
+ * @param request CreateGameServerConfigRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createGameServerConfig(request: google.cloud.gaming.v1beta.ICreateGameServerConfigRequest, callback: google.cloud.gaming.v1beta.GameServerConfigsService.CreateGameServerConfigCallback): void;
+
+ /**
+ * Calls CreateGameServerConfig.
+ * @param request CreateGameServerConfigRequest message or plain object
+ * @returns Promise
+ */
+ public createGameServerConfig(request: google.cloud.gaming.v1beta.ICreateGameServerConfigRequest): Promise;
+
+ /**
+ * Calls DeleteGameServerConfig.
+ * @param request DeleteGameServerConfigRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteGameServerConfig(request: google.cloud.gaming.v1beta.IDeleteGameServerConfigRequest, callback: google.cloud.gaming.v1beta.GameServerConfigsService.DeleteGameServerConfigCallback): void;
+
+ /**
+ * Calls DeleteGameServerConfig.
+ * @param request DeleteGameServerConfigRequest message or plain object
+ * @returns Promise
+ */
+ public deleteGameServerConfig(request: google.cloud.gaming.v1beta.IDeleteGameServerConfigRequest): Promise;
+ }
+
+ namespace GameServerConfigsService {
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerConfigsService|listGameServerConfigs}.
+ * @param error Error, if any
+ * @param [response] ListGameServerConfigsResponse
+ */
+ type ListGameServerConfigsCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.ListGameServerConfigsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerConfigsService|getGameServerConfig}.
+ * @param error Error, if any
+ * @param [response] GameServerConfig
+ */
+ type GetGameServerConfigCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.GameServerConfig) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerConfigsService|createGameServerConfig}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateGameServerConfigCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerConfigsService|deleteGameServerConfig}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteGameServerConfigCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+ }
+
+ /** Properties of a ListGameServerDeploymentsRequest. */
+ interface IListGameServerDeploymentsRequest {
+
+ /** ListGameServerDeploymentsRequest parent */
+ parent?: (string|null);
+
+ /** ListGameServerDeploymentsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListGameServerDeploymentsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListGameServerDeploymentsRequest filter */
+ filter?: (string|null);
+
+ /** ListGameServerDeploymentsRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListGameServerDeploymentsRequest. */
+ class ListGameServerDeploymentsRequest implements IListGameServerDeploymentsRequest {
+
+ /**
+ * Constructs a new ListGameServerDeploymentsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IListGameServerDeploymentsRequest);
+
+ /** ListGameServerDeploymentsRequest parent. */
+ public parent: string;
+
+ /** ListGameServerDeploymentsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListGameServerDeploymentsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListGameServerDeploymentsRequest filter. */
+ public filter: string;
+
+ /** ListGameServerDeploymentsRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListGameServerDeploymentsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListGameServerDeploymentsRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IListGameServerDeploymentsRequest): google.cloud.gaming.v1beta.ListGameServerDeploymentsRequest;
+
+ /**
+ * Encodes the specified ListGameServerDeploymentsRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.ListGameServerDeploymentsRequest.verify|verify} messages.
+ * @param message ListGameServerDeploymentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IListGameServerDeploymentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListGameServerDeploymentsRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.ListGameServerDeploymentsRequest.verify|verify} messages.
+ * @param message ListGameServerDeploymentsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IListGameServerDeploymentsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListGameServerDeploymentsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListGameServerDeploymentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.ListGameServerDeploymentsRequest;
+
+ /**
+ * Decodes a ListGameServerDeploymentsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListGameServerDeploymentsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.ListGameServerDeploymentsRequest;
+
+ /**
+ * Verifies a ListGameServerDeploymentsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListGameServerDeploymentsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListGameServerDeploymentsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.ListGameServerDeploymentsRequest;
+
+ /**
+ * Creates a plain object from a ListGameServerDeploymentsRequest message. Also converts values to other types if specified.
+ * @param message ListGameServerDeploymentsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.ListGameServerDeploymentsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListGameServerDeploymentsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListGameServerDeploymentsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListGameServerDeploymentsResponse. */
+ interface IListGameServerDeploymentsResponse {
+
+ /** ListGameServerDeploymentsResponse gameServerDeployments */
+ gameServerDeployments?: (google.cloud.gaming.v1beta.IGameServerDeployment[]|null);
+
+ /** ListGameServerDeploymentsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListGameServerDeploymentsResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListGameServerDeploymentsResponse. */
+ class ListGameServerDeploymentsResponse implements IListGameServerDeploymentsResponse {
+
+ /**
+ * Constructs a new ListGameServerDeploymentsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IListGameServerDeploymentsResponse);
+
+ /** ListGameServerDeploymentsResponse gameServerDeployments. */
+ public gameServerDeployments: google.cloud.gaming.v1beta.IGameServerDeployment[];
+
+ /** ListGameServerDeploymentsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListGameServerDeploymentsResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListGameServerDeploymentsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListGameServerDeploymentsResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IListGameServerDeploymentsResponse): google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse;
+
+ /**
+ * Encodes the specified ListGameServerDeploymentsResponse message. Does not implicitly {@link google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse.verify|verify} messages.
+ * @param message ListGameServerDeploymentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IListGameServerDeploymentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListGameServerDeploymentsResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse.verify|verify} messages.
+ * @param message ListGameServerDeploymentsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IListGameServerDeploymentsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListGameServerDeploymentsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListGameServerDeploymentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse;
+
+ /**
+ * Decodes a ListGameServerDeploymentsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListGameServerDeploymentsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse;
+
+ /**
+ * Verifies a ListGameServerDeploymentsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListGameServerDeploymentsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListGameServerDeploymentsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse;
+
+ /**
+ * Creates a plain object from a ListGameServerDeploymentsResponse message. Also converts values to other types if specified.
+ * @param message ListGameServerDeploymentsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListGameServerDeploymentsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListGameServerDeploymentsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetGameServerDeploymentRequest. */
+ interface IGetGameServerDeploymentRequest {
+
+ /** GetGameServerDeploymentRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetGameServerDeploymentRequest. */
+ class GetGameServerDeploymentRequest implements IGetGameServerDeploymentRequest {
+
+ /**
+ * Constructs a new GetGameServerDeploymentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IGetGameServerDeploymentRequest);
+
+ /** GetGameServerDeploymentRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetGameServerDeploymentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetGameServerDeploymentRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IGetGameServerDeploymentRequest): google.cloud.gaming.v1beta.GetGameServerDeploymentRequest;
+
+ /**
+ * Encodes the specified GetGameServerDeploymentRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.GetGameServerDeploymentRequest.verify|verify} messages.
+ * @param message GetGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IGetGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetGameServerDeploymentRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.GetGameServerDeploymentRequest.verify|verify} messages.
+ * @param message GetGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IGetGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetGameServerDeploymentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.GetGameServerDeploymentRequest;
+
+ /**
+ * Decodes a GetGameServerDeploymentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.GetGameServerDeploymentRequest;
+
+ /**
+ * Verifies a GetGameServerDeploymentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetGameServerDeploymentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetGameServerDeploymentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.GetGameServerDeploymentRequest;
+
+ /**
+ * Creates a plain object from a GetGameServerDeploymentRequest message. Also converts values to other types if specified.
+ * @param message GetGameServerDeploymentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.GetGameServerDeploymentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetGameServerDeploymentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetGameServerDeploymentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetGameServerDeploymentRolloutRequest. */
+ interface IGetGameServerDeploymentRolloutRequest {
+
+ /** GetGameServerDeploymentRolloutRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetGameServerDeploymentRolloutRequest. */
+ class GetGameServerDeploymentRolloutRequest implements IGetGameServerDeploymentRolloutRequest {
+
+ /**
+ * Constructs a new GetGameServerDeploymentRolloutRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IGetGameServerDeploymentRolloutRequest);
+
+ /** GetGameServerDeploymentRolloutRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetGameServerDeploymentRolloutRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetGameServerDeploymentRolloutRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IGetGameServerDeploymentRolloutRequest): google.cloud.gaming.v1beta.GetGameServerDeploymentRolloutRequest;
+
+ /**
+ * Encodes the specified GetGameServerDeploymentRolloutRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.GetGameServerDeploymentRolloutRequest.verify|verify} messages.
+ * @param message GetGameServerDeploymentRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IGetGameServerDeploymentRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetGameServerDeploymentRolloutRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.GetGameServerDeploymentRolloutRequest.verify|verify} messages.
+ * @param message GetGameServerDeploymentRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IGetGameServerDeploymentRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetGameServerDeploymentRolloutRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetGameServerDeploymentRolloutRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.GetGameServerDeploymentRolloutRequest;
+
+ /**
+ * Decodes a GetGameServerDeploymentRolloutRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetGameServerDeploymentRolloutRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.GetGameServerDeploymentRolloutRequest;
+
+ /**
+ * Verifies a GetGameServerDeploymentRolloutRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetGameServerDeploymentRolloutRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetGameServerDeploymentRolloutRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.GetGameServerDeploymentRolloutRequest;
+
+ /**
+ * Creates a plain object from a GetGameServerDeploymentRolloutRequest message. Also converts values to other types if specified.
+ * @param message GetGameServerDeploymentRolloutRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.GetGameServerDeploymentRolloutRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetGameServerDeploymentRolloutRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetGameServerDeploymentRolloutRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateGameServerDeploymentRequest. */
+ interface ICreateGameServerDeploymentRequest {
+
+ /** CreateGameServerDeploymentRequest parent */
+ parent?: (string|null);
+
+ /** CreateGameServerDeploymentRequest deploymentId */
+ deploymentId?: (string|null);
+
+ /** CreateGameServerDeploymentRequest gameServerDeployment */
+ gameServerDeployment?: (google.cloud.gaming.v1beta.IGameServerDeployment|null);
+ }
+
+ /** Represents a CreateGameServerDeploymentRequest. */
+ class CreateGameServerDeploymentRequest implements ICreateGameServerDeploymentRequest {
+
+ /**
+ * Constructs a new CreateGameServerDeploymentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.ICreateGameServerDeploymentRequest);
+
+ /** CreateGameServerDeploymentRequest parent. */
+ public parent: string;
+
+ /** CreateGameServerDeploymentRequest deploymentId. */
+ public deploymentId: string;
+
+ /** CreateGameServerDeploymentRequest gameServerDeployment. */
+ public gameServerDeployment?: (google.cloud.gaming.v1beta.IGameServerDeployment|null);
+
+ /**
+ * Creates a new CreateGameServerDeploymentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateGameServerDeploymentRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.ICreateGameServerDeploymentRequest): google.cloud.gaming.v1beta.CreateGameServerDeploymentRequest;
+
+ /**
+ * Encodes the specified CreateGameServerDeploymentRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.CreateGameServerDeploymentRequest.verify|verify} messages.
+ * @param message CreateGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.ICreateGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateGameServerDeploymentRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.CreateGameServerDeploymentRequest.verify|verify} messages.
+ * @param message CreateGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.ICreateGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateGameServerDeploymentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.CreateGameServerDeploymentRequest;
+
+ /**
+ * Decodes a CreateGameServerDeploymentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.CreateGameServerDeploymentRequest;
+
+ /**
+ * Verifies a CreateGameServerDeploymentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateGameServerDeploymentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateGameServerDeploymentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.CreateGameServerDeploymentRequest;
+
+ /**
+ * Creates a plain object from a CreateGameServerDeploymentRequest message. Also converts values to other types if specified.
+ * @param message CreateGameServerDeploymentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.CreateGameServerDeploymentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateGameServerDeploymentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateGameServerDeploymentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteGameServerDeploymentRequest. */
+ interface IDeleteGameServerDeploymentRequest {
+
+ /** DeleteGameServerDeploymentRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteGameServerDeploymentRequest. */
+ class DeleteGameServerDeploymentRequest implements IDeleteGameServerDeploymentRequest {
+
+ /**
+ * Constructs a new DeleteGameServerDeploymentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IDeleteGameServerDeploymentRequest);
+
+ /** DeleteGameServerDeploymentRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteGameServerDeploymentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteGameServerDeploymentRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IDeleteGameServerDeploymentRequest): google.cloud.gaming.v1beta.DeleteGameServerDeploymentRequest;
+
+ /**
+ * Encodes the specified DeleteGameServerDeploymentRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.DeleteGameServerDeploymentRequest.verify|verify} messages.
+ * @param message DeleteGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IDeleteGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteGameServerDeploymentRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.DeleteGameServerDeploymentRequest.verify|verify} messages.
+ * @param message DeleteGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IDeleteGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteGameServerDeploymentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.DeleteGameServerDeploymentRequest;
+
+ /**
+ * Decodes a DeleteGameServerDeploymentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.DeleteGameServerDeploymentRequest;
+
+ /**
+ * Verifies a DeleteGameServerDeploymentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteGameServerDeploymentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteGameServerDeploymentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.DeleteGameServerDeploymentRequest;
+
+ /**
+ * Creates a plain object from a DeleteGameServerDeploymentRequest message. Also converts values to other types if specified.
+ * @param message DeleteGameServerDeploymentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.DeleteGameServerDeploymentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteGameServerDeploymentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteGameServerDeploymentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateGameServerDeploymentRequest. */
+ interface IUpdateGameServerDeploymentRequest {
+
+ /** UpdateGameServerDeploymentRequest gameServerDeployment */
+ gameServerDeployment?: (google.cloud.gaming.v1beta.IGameServerDeployment|null);
+
+ /** UpdateGameServerDeploymentRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateGameServerDeploymentRequest. */
+ class UpdateGameServerDeploymentRequest implements IUpdateGameServerDeploymentRequest {
+
+ /**
+ * Constructs a new UpdateGameServerDeploymentRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IUpdateGameServerDeploymentRequest);
+
+ /** UpdateGameServerDeploymentRequest gameServerDeployment. */
+ public gameServerDeployment?: (google.cloud.gaming.v1beta.IGameServerDeployment|null);
+
+ /** UpdateGameServerDeploymentRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateGameServerDeploymentRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateGameServerDeploymentRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IUpdateGameServerDeploymentRequest): google.cloud.gaming.v1beta.UpdateGameServerDeploymentRequest;
+
+ /**
+ * Encodes the specified UpdateGameServerDeploymentRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.UpdateGameServerDeploymentRequest.verify|verify} messages.
+ * @param message UpdateGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IUpdateGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateGameServerDeploymentRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.UpdateGameServerDeploymentRequest.verify|verify} messages.
+ * @param message UpdateGameServerDeploymentRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IUpdateGameServerDeploymentRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateGameServerDeploymentRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.UpdateGameServerDeploymentRequest;
+
+ /**
+ * Decodes an UpdateGameServerDeploymentRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateGameServerDeploymentRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.UpdateGameServerDeploymentRequest;
+
+ /**
+ * Verifies an UpdateGameServerDeploymentRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UpdateGameServerDeploymentRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateGameServerDeploymentRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.UpdateGameServerDeploymentRequest;
+
+ /**
+ * Creates a plain object from an UpdateGameServerDeploymentRequest message. Also converts values to other types if specified.
+ * @param message UpdateGameServerDeploymentRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.UpdateGameServerDeploymentRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateGameServerDeploymentRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateGameServerDeploymentRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateGameServerDeploymentRolloutRequest. */
+ interface IUpdateGameServerDeploymentRolloutRequest {
+
+ /** UpdateGameServerDeploymentRolloutRequest rollout */
+ rollout?: (google.cloud.gaming.v1beta.IGameServerDeploymentRollout|null);
+
+ /** UpdateGameServerDeploymentRolloutRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateGameServerDeploymentRolloutRequest. */
+ class UpdateGameServerDeploymentRolloutRequest implements IUpdateGameServerDeploymentRolloutRequest {
+
+ /**
+ * Constructs a new UpdateGameServerDeploymentRolloutRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IUpdateGameServerDeploymentRolloutRequest);
+
+ /** UpdateGameServerDeploymentRolloutRequest rollout. */
+ public rollout?: (google.cloud.gaming.v1beta.IGameServerDeploymentRollout|null);
+
+ /** UpdateGameServerDeploymentRolloutRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateGameServerDeploymentRolloutRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateGameServerDeploymentRolloutRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IUpdateGameServerDeploymentRolloutRequest): google.cloud.gaming.v1beta.UpdateGameServerDeploymentRolloutRequest;
+
+ /**
+ * Encodes the specified UpdateGameServerDeploymentRolloutRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.UpdateGameServerDeploymentRolloutRequest.verify|verify} messages.
+ * @param message UpdateGameServerDeploymentRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IUpdateGameServerDeploymentRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateGameServerDeploymentRolloutRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.UpdateGameServerDeploymentRolloutRequest.verify|verify} messages.
+ * @param message UpdateGameServerDeploymentRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IUpdateGameServerDeploymentRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateGameServerDeploymentRolloutRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateGameServerDeploymentRolloutRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.UpdateGameServerDeploymentRolloutRequest;
+
+ /**
+ * Decodes an UpdateGameServerDeploymentRolloutRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateGameServerDeploymentRolloutRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.UpdateGameServerDeploymentRolloutRequest;
+
+ /**
+ * Verifies an UpdateGameServerDeploymentRolloutRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UpdateGameServerDeploymentRolloutRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateGameServerDeploymentRolloutRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.UpdateGameServerDeploymentRolloutRequest;
+
+ /**
+ * Creates a plain object from an UpdateGameServerDeploymentRolloutRequest message. Also converts values to other types if specified.
+ * @param message UpdateGameServerDeploymentRolloutRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.UpdateGameServerDeploymentRolloutRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateGameServerDeploymentRolloutRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateGameServerDeploymentRolloutRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FetchDeploymentStateRequest. */
+ interface IFetchDeploymentStateRequest {
+
+ /** FetchDeploymentStateRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a FetchDeploymentStateRequest. */
+ class FetchDeploymentStateRequest implements IFetchDeploymentStateRequest {
+
+ /**
+ * Constructs a new FetchDeploymentStateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IFetchDeploymentStateRequest);
+
+ /** FetchDeploymentStateRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new FetchDeploymentStateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FetchDeploymentStateRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IFetchDeploymentStateRequest): google.cloud.gaming.v1beta.FetchDeploymentStateRequest;
+
+ /**
+ * Encodes the specified FetchDeploymentStateRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.FetchDeploymentStateRequest.verify|verify} messages.
+ * @param message FetchDeploymentStateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IFetchDeploymentStateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FetchDeploymentStateRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.FetchDeploymentStateRequest.verify|verify} messages.
+ * @param message FetchDeploymentStateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IFetchDeploymentStateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FetchDeploymentStateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FetchDeploymentStateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.FetchDeploymentStateRequest;
+
+ /**
+ * Decodes a FetchDeploymentStateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FetchDeploymentStateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.FetchDeploymentStateRequest;
+
+ /**
+ * Verifies a FetchDeploymentStateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FetchDeploymentStateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FetchDeploymentStateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.FetchDeploymentStateRequest;
+
+ /**
+ * Creates a plain object from a FetchDeploymentStateRequest message. Also converts values to other types if specified.
+ * @param message FetchDeploymentStateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.FetchDeploymentStateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FetchDeploymentStateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FetchDeploymentStateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FetchDeploymentStateResponse. */
+ interface IFetchDeploymentStateResponse {
+
+ /** FetchDeploymentStateResponse clusterState */
+ clusterState?: (google.cloud.gaming.v1beta.FetchDeploymentStateResponse.IDeployedClusterState[]|null);
+
+ /** FetchDeploymentStateResponse unavailable */
+ unavailable?: (string[]|null);
+ }
+
+ /** Represents a FetchDeploymentStateResponse. */
+ class FetchDeploymentStateResponse implements IFetchDeploymentStateResponse {
+
+ /**
+ * Constructs a new FetchDeploymentStateResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IFetchDeploymentStateResponse);
+
+ /** FetchDeploymentStateResponse clusterState. */
+ public clusterState: google.cloud.gaming.v1beta.FetchDeploymentStateResponse.IDeployedClusterState[];
+
+ /** FetchDeploymentStateResponse unavailable. */
+ public unavailable: string[];
+
+ /**
+ * Creates a new FetchDeploymentStateResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FetchDeploymentStateResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IFetchDeploymentStateResponse): google.cloud.gaming.v1beta.FetchDeploymentStateResponse;
+
+ /**
+ * Encodes the specified FetchDeploymentStateResponse message. Does not implicitly {@link google.cloud.gaming.v1beta.FetchDeploymentStateResponse.verify|verify} messages.
+ * @param message FetchDeploymentStateResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IFetchDeploymentStateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FetchDeploymentStateResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.FetchDeploymentStateResponse.verify|verify} messages.
+ * @param message FetchDeploymentStateResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IFetchDeploymentStateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FetchDeploymentStateResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FetchDeploymentStateResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.FetchDeploymentStateResponse;
+
+ /**
+ * Decodes a FetchDeploymentStateResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FetchDeploymentStateResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.FetchDeploymentStateResponse;
+
+ /**
+ * Verifies a FetchDeploymentStateResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FetchDeploymentStateResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FetchDeploymentStateResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.FetchDeploymentStateResponse;
+
+ /**
+ * Creates a plain object from a FetchDeploymentStateResponse message. Also converts values to other types if specified.
+ * @param message FetchDeploymentStateResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.FetchDeploymentStateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FetchDeploymentStateResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FetchDeploymentStateResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FetchDeploymentStateResponse {
+
+ /** Properties of a DeployedClusterState. */
+ interface IDeployedClusterState {
+
+ /** DeployedClusterState cluster */
+ cluster?: (string|null);
+
+ /** DeployedClusterState fleetDetails */
+ fleetDetails?: (google.cloud.gaming.v1beta.IDeployedFleetDetails[]|null);
+ }
+
+ /** Represents a DeployedClusterState. */
+ class DeployedClusterState implements IDeployedClusterState {
+
+ /**
+ * Constructs a new DeployedClusterState.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.FetchDeploymentStateResponse.IDeployedClusterState);
+
+ /** DeployedClusterState cluster. */
+ public cluster: string;
+
+ /** DeployedClusterState fleetDetails. */
+ public fleetDetails: google.cloud.gaming.v1beta.IDeployedFleetDetails[];
+
+ /**
+ * Creates a new DeployedClusterState instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeployedClusterState instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.FetchDeploymentStateResponse.IDeployedClusterState): google.cloud.gaming.v1beta.FetchDeploymentStateResponse.DeployedClusterState;
+
+ /**
+ * Encodes the specified DeployedClusterState message. Does not implicitly {@link google.cloud.gaming.v1beta.FetchDeploymentStateResponse.DeployedClusterState.verify|verify} messages.
+ * @param message DeployedClusterState message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.FetchDeploymentStateResponse.IDeployedClusterState, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeployedClusterState message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.FetchDeploymentStateResponse.DeployedClusterState.verify|verify} messages.
+ * @param message DeployedClusterState message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.FetchDeploymentStateResponse.IDeployedClusterState, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeployedClusterState message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeployedClusterState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.FetchDeploymentStateResponse.DeployedClusterState;
+
+ /**
+ * Decodes a DeployedClusterState message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeployedClusterState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.FetchDeploymentStateResponse.DeployedClusterState;
+
+ /**
+ * Verifies a DeployedClusterState message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeployedClusterState message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeployedClusterState
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.FetchDeploymentStateResponse.DeployedClusterState;
+
+ /**
+ * Creates a plain object from a DeployedClusterState message. Also converts values to other types if specified.
+ * @param message DeployedClusterState
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.FetchDeploymentStateResponse.DeployedClusterState, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeployedClusterState to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeployedClusterState
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a GameServerDeployment. */
+ interface IGameServerDeployment {
+
+ /** GameServerDeployment name */
+ name?: (string|null);
+
+ /** GameServerDeployment createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeployment updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeployment labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** GameServerDeployment etag */
+ etag?: (string|null);
+
+ /** GameServerDeployment description */
+ description?: (string|null);
+ }
+
+ /** Represents a GameServerDeployment. */
+ class GameServerDeployment implements IGameServerDeployment {
+
+ /**
+ * Constructs a new GameServerDeployment.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IGameServerDeployment);
+
+ /** GameServerDeployment name. */
+ public name: string;
+
+ /** GameServerDeployment createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeployment updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeployment labels. */
+ public labels: { [k: string]: string };
+
+ /** GameServerDeployment etag. */
+ public etag: string;
+
+ /** GameServerDeployment description. */
+ public description: string;
+
+ /**
+ * Creates a new GameServerDeployment instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GameServerDeployment instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IGameServerDeployment): google.cloud.gaming.v1beta.GameServerDeployment;
+
+ /**
+ * Encodes the specified GameServerDeployment message. Does not implicitly {@link google.cloud.gaming.v1beta.GameServerDeployment.verify|verify} messages.
+ * @param message GameServerDeployment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IGameServerDeployment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GameServerDeployment message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.GameServerDeployment.verify|verify} messages.
+ * @param message GameServerDeployment message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IGameServerDeployment, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GameServerDeployment message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GameServerDeployment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.GameServerDeployment;
+
+ /**
+ * Decodes a GameServerDeployment message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GameServerDeployment
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.GameServerDeployment;
+
+ /**
+ * Verifies a GameServerDeployment message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GameServerDeployment message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GameServerDeployment
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.GameServerDeployment;
+
+ /**
+ * Creates a plain object from a GameServerDeployment message. Also converts values to other types if specified.
+ * @param message GameServerDeployment
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.GameServerDeployment, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GameServerDeployment to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GameServerDeployment
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GameServerConfigOverride. */
+ interface IGameServerConfigOverride {
+
+ /** GameServerConfigOverride realmsSelector */
+ realmsSelector?: (google.cloud.gaming.v1beta.IRealmSelector|null);
+
+ /** GameServerConfigOverride configVersion */
+ configVersion?: (string|null);
+ }
+
+ /** Represents a GameServerConfigOverride. */
+ class GameServerConfigOverride implements IGameServerConfigOverride {
+
+ /**
+ * Constructs a new GameServerConfigOverride.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IGameServerConfigOverride);
+
+ /** GameServerConfigOverride realmsSelector. */
+ public realmsSelector?: (google.cloud.gaming.v1beta.IRealmSelector|null);
+
+ /** GameServerConfigOverride configVersion. */
+ public configVersion?: (string|null);
+
+ /** GameServerConfigOverride selector. */
+ public selector?: "realmsSelector";
+
+ /** GameServerConfigOverride change. */
+ public change?: "configVersion";
+
+ /**
+ * Creates a new GameServerConfigOverride instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GameServerConfigOverride instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IGameServerConfigOverride): google.cloud.gaming.v1beta.GameServerConfigOverride;
+
+ /**
+ * Encodes the specified GameServerConfigOverride message. Does not implicitly {@link google.cloud.gaming.v1beta.GameServerConfigOverride.verify|verify} messages.
+ * @param message GameServerConfigOverride message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IGameServerConfigOverride, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GameServerConfigOverride message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.GameServerConfigOverride.verify|verify} messages.
+ * @param message GameServerConfigOverride message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IGameServerConfigOverride, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GameServerConfigOverride message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GameServerConfigOverride
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.GameServerConfigOverride;
+
+ /**
+ * Decodes a GameServerConfigOverride message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GameServerConfigOverride
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.GameServerConfigOverride;
+
+ /**
+ * Verifies a GameServerConfigOverride message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GameServerConfigOverride message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GameServerConfigOverride
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.GameServerConfigOverride;
+
+ /**
+ * Creates a plain object from a GameServerConfigOverride message. Also converts values to other types if specified.
+ * @param message GameServerConfigOverride
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.GameServerConfigOverride, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GameServerConfigOverride to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GameServerConfigOverride
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GameServerDeploymentRollout. */
+ interface IGameServerDeploymentRollout {
+
+ /** GameServerDeploymentRollout name */
+ name?: (string|null);
+
+ /** GameServerDeploymentRollout createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeploymentRollout updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeploymentRollout defaultGameServerConfig */
+ defaultGameServerConfig?: (string|null);
+
+ /** GameServerDeploymentRollout gameServerConfigOverrides */
+ gameServerConfigOverrides?: (google.cloud.gaming.v1beta.IGameServerConfigOverride[]|null);
+
+ /** GameServerDeploymentRollout etag */
+ etag?: (string|null);
+ }
+
+ /** Represents a GameServerDeploymentRollout. */
+ class GameServerDeploymentRollout implements IGameServerDeploymentRollout {
+
+ /**
+ * Constructs a new GameServerDeploymentRollout.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IGameServerDeploymentRollout);
+
+ /** GameServerDeploymentRollout name. */
+ public name: string;
+
+ /** GameServerDeploymentRollout createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeploymentRollout updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** GameServerDeploymentRollout defaultGameServerConfig. */
+ public defaultGameServerConfig: string;
+
+ /** GameServerDeploymentRollout gameServerConfigOverrides. */
+ public gameServerConfigOverrides: google.cloud.gaming.v1beta.IGameServerConfigOverride[];
+
+ /** GameServerDeploymentRollout etag. */
+ public etag: string;
+
+ /**
+ * Creates a new GameServerDeploymentRollout instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GameServerDeploymentRollout instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IGameServerDeploymentRollout): google.cloud.gaming.v1beta.GameServerDeploymentRollout;
+
+ /**
+ * Encodes the specified GameServerDeploymentRollout message. Does not implicitly {@link google.cloud.gaming.v1beta.GameServerDeploymentRollout.verify|verify} messages.
+ * @param message GameServerDeploymentRollout message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IGameServerDeploymentRollout, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GameServerDeploymentRollout message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.GameServerDeploymentRollout.verify|verify} messages.
+ * @param message GameServerDeploymentRollout message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IGameServerDeploymentRollout, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GameServerDeploymentRollout message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GameServerDeploymentRollout
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.GameServerDeploymentRollout;
+
+ /**
+ * Decodes a GameServerDeploymentRollout message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GameServerDeploymentRollout
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.GameServerDeploymentRollout;
+
+ /**
+ * Verifies a GameServerDeploymentRollout message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GameServerDeploymentRollout message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GameServerDeploymentRollout
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.GameServerDeploymentRollout;
+
+ /**
+ * Creates a plain object from a GameServerDeploymentRollout message. Also converts values to other types if specified.
+ * @param message GameServerDeploymentRollout
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.GameServerDeploymentRollout, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GameServerDeploymentRollout to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GameServerDeploymentRollout
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewGameServerDeploymentRolloutRequest. */
+ interface IPreviewGameServerDeploymentRolloutRequest {
+
+ /** PreviewGameServerDeploymentRolloutRequest rollout */
+ rollout?: (google.cloud.gaming.v1beta.IGameServerDeploymentRollout|null);
+
+ /** PreviewGameServerDeploymentRolloutRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** PreviewGameServerDeploymentRolloutRequest previewTime */
+ previewTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a PreviewGameServerDeploymentRolloutRequest. */
+ class PreviewGameServerDeploymentRolloutRequest implements IPreviewGameServerDeploymentRolloutRequest {
+
+ /**
+ * Constructs a new PreviewGameServerDeploymentRolloutRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IPreviewGameServerDeploymentRolloutRequest);
+
+ /** PreviewGameServerDeploymentRolloutRequest rollout. */
+ public rollout?: (google.cloud.gaming.v1beta.IGameServerDeploymentRollout|null);
+
+ /** PreviewGameServerDeploymentRolloutRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** PreviewGameServerDeploymentRolloutRequest previewTime. */
+ public previewTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new PreviewGameServerDeploymentRolloutRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewGameServerDeploymentRolloutRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IPreviewGameServerDeploymentRolloutRequest): google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutRequest;
+
+ /**
+ * Encodes the specified PreviewGameServerDeploymentRolloutRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutRequest.verify|verify} messages.
+ * @param message PreviewGameServerDeploymentRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IPreviewGameServerDeploymentRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewGameServerDeploymentRolloutRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutRequest.verify|verify} messages.
+ * @param message PreviewGameServerDeploymentRolloutRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IPreviewGameServerDeploymentRolloutRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewGameServerDeploymentRolloutRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewGameServerDeploymentRolloutRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutRequest;
+
+ /**
+ * Decodes a PreviewGameServerDeploymentRolloutRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewGameServerDeploymentRolloutRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutRequest;
+
+ /**
+ * Verifies a PreviewGameServerDeploymentRolloutRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewGameServerDeploymentRolloutRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewGameServerDeploymentRolloutRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutRequest;
+
+ /**
+ * Creates a plain object from a PreviewGameServerDeploymentRolloutRequest message. Also converts values to other types if specified.
+ * @param message PreviewGameServerDeploymentRolloutRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewGameServerDeploymentRolloutRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewGameServerDeploymentRolloutRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewGameServerDeploymentRolloutResponse. */
+ interface IPreviewGameServerDeploymentRolloutResponse {
+
+ /** PreviewGameServerDeploymentRolloutResponse unavailable */
+ unavailable?: (string[]|null);
+
+ /** PreviewGameServerDeploymentRolloutResponse etag */
+ etag?: (string|null);
+
+ /** PreviewGameServerDeploymentRolloutResponse targetState */
+ targetState?: (google.cloud.gaming.v1beta.ITargetState|null);
+ }
+
+ /** Represents a PreviewGameServerDeploymentRolloutResponse. */
+ class PreviewGameServerDeploymentRolloutResponse implements IPreviewGameServerDeploymentRolloutResponse {
+
+ /**
+ * Constructs a new PreviewGameServerDeploymentRolloutResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IPreviewGameServerDeploymentRolloutResponse);
+
+ /** PreviewGameServerDeploymentRolloutResponse unavailable. */
+ public unavailable: string[];
+
+ /** PreviewGameServerDeploymentRolloutResponse etag. */
+ public etag: string;
+
+ /** PreviewGameServerDeploymentRolloutResponse targetState. */
+ public targetState?: (google.cloud.gaming.v1beta.ITargetState|null);
+
+ /**
+ * Creates a new PreviewGameServerDeploymentRolloutResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewGameServerDeploymentRolloutResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IPreviewGameServerDeploymentRolloutResponse): google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutResponse;
+
+ /**
+ * Encodes the specified PreviewGameServerDeploymentRolloutResponse message. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutResponse.verify|verify} messages.
+ * @param message PreviewGameServerDeploymentRolloutResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IPreviewGameServerDeploymentRolloutResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewGameServerDeploymentRolloutResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutResponse.verify|verify} messages.
+ * @param message PreviewGameServerDeploymentRolloutResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IPreviewGameServerDeploymentRolloutResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewGameServerDeploymentRolloutResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewGameServerDeploymentRolloutResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutResponse;
+
+ /**
+ * Decodes a PreviewGameServerDeploymentRolloutResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewGameServerDeploymentRolloutResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutResponse;
+
+ /**
+ * Verifies a PreviewGameServerDeploymentRolloutResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewGameServerDeploymentRolloutResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewGameServerDeploymentRolloutResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutResponse;
+
+ /**
+ * Creates a plain object from a PreviewGameServerDeploymentRolloutResponse message. Also converts values to other types if specified.
+ * @param message PreviewGameServerDeploymentRolloutResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewGameServerDeploymentRolloutResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewGameServerDeploymentRolloutResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a GameServerDeploymentsService */
+ class GameServerDeploymentsService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new GameServerDeploymentsService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new GameServerDeploymentsService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GameServerDeploymentsService;
+
+ /**
+ * Calls ListGameServerDeployments.
+ * @param request ListGameServerDeploymentsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListGameServerDeploymentsResponse
+ */
+ public listGameServerDeployments(request: google.cloud.gaming.v1beta.IListGameServerDeploymentsRequest, callback: google.cloud.gaming.v1beta.GameServerDeploymentsService.ListGameServerDeploymentsCallback): void;
+
+ /**
+ * Calls ListGameServerDeployments.
+ * @param request ListGameServerDeploymentsRequest message or plain object
+ * @returns Promise
+ */
+ public listGameServerDeployments(request: google.cloud.gaming.v1beta.IListGameServerDeploymentsRequest): Promise;
+
+ /**
+ * Calls GetGameServerDeployment.
+ * @param request GetGameServerDeploymentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and GameServerDeployment
+ */
+ public getGameServerDeployment(request: google.cloud.gaming.v1beta.IGetGameServerDeploymentRequest, callback: google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeploymentCallback): void;
+
+ /**
+ * Calls GetGameServerDeployment.
+ * @param request GetGameServerDeploymentRequest message or plain object
+ * @returns Promise
+ */
+ public getGameServerDeployment(request: google.cloud.gaming.v1beta.IGetGameServerDeploymentRequest): Promise;
+
+ /**
+ * Calls CreateGameServerDeployment.
+ * @param request CreateGameServerDeploymentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createGameServerDeployment(request: google.cloud.gaming.v1beta.ICreateGameServerDeploymentRequest, callback: google.cloud.gaming.v1beta.GameServerDeploymentsService.CreateGameServerDeploymentCallback): void;
+
+ /**
+ * Calls CreateGameServerDeployment.
+ * @param request CreateGameServerDeploymentRequest message or plain object
+ * @returns Promise
+ */
+ public createGameServerDeployment(request: google.cloud.gaming.v1beta.ICreateGameServerDeploymentRequest): Promise;
+
+ /**
+ * Calls DeleteGameServerDeployment.
+ * @param request DeleteGameServerDeploymentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteGameServerDeployment(request: google.cloud.gaming.v1beta.IDeleteGameServerDeploymentRequest, callback: google.cloud.gaming.v1beta.GameServerDeploymentsService.DeleteGameServerDeploymentCallback): void;
+
+ /**
+ * Calls DeleteGameServerDeployment.
+ * @param request DeleteGameServerDeploymentRequest message or plain object
+ * @returns Promise
+ */
+ public deleteGameServerDeployment(request: google.cloud.gaming.v1beta.IDeleteGameServerDeploymentRequest): Promise;
+
+ /**
+ * Calls UpdateGameServerDeployment.
+ * @param request UpdateGameServerDeploymentRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateGameServerDeployment(request: google.cloud.gaming.v1beta.IUpdateGameServerDeploymentRequest, callback: google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeploymentCallback): void;
+
+ /**
+ * Calls UpdateGameServerDeployment.
+ * @param request UpdateGameServerDeploymentRequest message or plain object
+ * @returns Promise
+ */
+ public updateGameServerDeployment(request: google.cloud.gaming.v1beta.IUpdateGameServerDeploymentRequest): Promise;
+
+ /**
+ * Calls GetGameServerDeploymentRollout.
+ * @param request GetGameServerDeploymentRolloutRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and GameServerDeploymentRollout
+ */
+ public getGameServerDeploymentRollout(request: google.cloud.gaming.v1beta.IGetGameServerDeploymentRolloutRequest, callback: google.cloud.gaming.v1beta.GameServerDeploymentsService.GetGameServerDeploymentRolloutCallback): void;
+
+ /**
+ * Calls GetGameServerDeploymentRollout.
+ * @param request GetGameServerDeploymentRolloutRequest message or plain object
+ * @returns Promise
+ */
+ public getGameServerDeploymentRollout(request: google.cloud.gaming.v1beta.IGetGameServerDeploymentRolloutRequest): Promise;
+
+ /**
+ * Calls UpdateGameServerDeploymentRollout.
+ * @param request UpdateGameServerDeploymentRolloutRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateGameServerDeploymentRollout(request: google.cloud.gaming.v1beta.IUpdateGameServerDeploymentRolloutRequest, callback: google.cloud.gaming.v1beta.GameServerDeploymentsService.UpdateGameServerDeploymentRolloutCallback): void;
+
+ /**
+ * Calls UpdateGameServerDeploymentRollout.
+ * @param request UpdateGameServerDeploymentRolloutRequest message or plain object
+ * @returns Promise
+ */
+ public updateGameServerDeploymentRollout(request: google.cloud.gaming.v1beta.IUpdateGameServerDeploymentRolloutRequest): Promise;
+
+ /**
+ * Calls PreviewGameServerDeploymentRollout.
+ * @param request PreviewGameServerDeploymentRolloutRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PreviewGameServerDeploymentRolloutResponse
+ */
+ public previewGameServerDeploymentRollout(request: google.cloud.gaming.v1beta.IPreviewGameServerDeploymentRolloutRequest, callback: google.cloud.gaming.v1beta.GameServerDeploymentsService.PreviewGameServerDeploymentRolloutCallback): void;
+
+ /**
+ * Calls PreviewGameServerDeploymentRollout.
+ * @param request PreviewGameServerDeploymentRolloutRequest message or plain object
+ * @returns Promise
+ */
+ public previewGameServerDeploymentRollout(request: google.cloud.gaming.v1beta.IPreviewGameServerDeploymentRolloutRequest): Promise;
+
+ /**
+ * Calls FetchDeploymentState.
+ * @param request FetchDeploymentStateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and FetchDeploymentStateResponse
+ */
+ public fetchDeploymentState(request: google.cloud.gaming.v1beta.IFetchDeploymentStateRequest, callback: google.cloud.gaming.v1beta.GameServerDeploymentsService.FetchDeploymentStateCallback): void;
+
+ /**
+ * Calls FetchDeploymentState.
+ * @param request FetchDeploymentStateRequest message or plain object
+ * @returns Promise
+ */
+ public fetchDeploymentState(request: google.cloud.gaming.v1beta.IFetchDeploymentStateRequest): Promise;
+ }
+
+ namespace GameServerDeploymentsService {
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerDeploymentsService|listGameServerDeployments}.
+ * @param error Error, if any
+ * @param [response] ListGameServerDeploymentsResponse
+ */
+ type ListGameServerDeploymentsCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.ListGameServerDeploymentsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerDeploymentsService|getGameServerDeployment}.
+ * @param error Error, if any
+ * @param [response] GameServerDeployment
+ */
+ type GetGameServerDeploymentCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.GameServerDeployment) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerDeploymentsService|createGameServerDeployment}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateGameServerDeploymentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerDeploymentsService|deleteGameServerDeployment}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteGameServerDeploymentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerDeploymentsService|updateGameServerDeployment}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateGameServerDeploymentCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerDeploymentsService|getGameServerDeploymentRollout}.
+ * @param error Error, if any
+ * @param [response] GameServerDeploymentRollout
+ */
+ type GetGameServerDeploymentRolloutCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.GameServerDeploymentRollout) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerDeploymentsService|updateGameServerDeploymentRollout}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateGameServerDeploymentRolloutCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerDeploymentsService|previewGameServerDeploymentRollout}.
+ * @param error Error, if any
+ * @param [response] PreviewGameServerDeploymentRolloutResponse
+ */
+ type PreviewGameServerDeploymentRolloutCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.PreviewGameServerDeploymentRolloutResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.GameServerDeploymentsService|fetchDeploymentState}.
+ * @param error Error, if any
+ * @param [response] FetchDeploymentStateResponse
+ */
+ type FetchDeploymentStateCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.FetchDeploymentStateResponse) => void;
+ }
+
+ /** Properties of a ListRealmsRequest. */
+ interface IListRealmsRequest {
+
+ /** ListRealmsRequest parent */
+ parent?: (string|null);
+
+ /** ListRealmsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListRealmsRequest pageToken */
+ pageToken?: (string|null);
+
+ /** ListRealmsRequest filter */
+ filter?: (string|null);
+
+ /** ListRealmsRequest orderBy */
+ orderBy?: (string|null);
+ }
+
+ /** Represents a ListRealmsRequest. */
+ class ListRealmsRequest implements IListRealmsRequest {
+
+ /**
+ * Constructs a new ListRealmsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IListRealmsRequest);
+
+ /** ListRealmsRequest parent. */
+ public parent: string;
+
+ /** ListRealmsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListRealmsRequest pageToken. */
+ public pageToken: string;
+
+ /** ListRealmsRequest filter. */
+ public filter: string;
+
+ /** ListRealmsRequest orderBy. */
+ public orderBy: string;
+
+ /**
+ * Creates a new ListRealmsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListRealmsRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IListRealmsRequest): google.cloud.gaming.v1beta.ListRealmsRequest;
+
+ /**
+ * Encodes the specified ListRealmsRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.ListRealmsRequest.verify|verify} messages.
+ * @param message ListRealmsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IListRealmsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListRealmsRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.ListRealmsRequest.verify|verify} messages.
+ * @param message ListRealmsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IListRealmsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListRealmsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListRealmsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.ListRealmsRequest;
+
+ /**
+ * Decodes a ListRealmsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListRealmsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.ListRealmsRequest;
+
+ /**
+ * Verifies a ListRealmsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListRealmsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListRealmsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.ListRealmsRequest;
+
+ /**
+ * Creates a plain object from a ListRealmsRequest message. Also converts values to other types if specified.
+ * @param message ListRealmsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.ListRealmsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListRealmsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListRealmsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListRealmsResponse. */
+ interface IListRealmsResponse {
+
+ /** ListRealmsResponse realms */
+ realms?: (google.cloud.gaming.v1beta.IRealm[]|null);
+
+ /** ListRealmsResponse nextPageToken */
+ nextPageToken?: (string|null);
+
+ /** ListRealmsResponse unreachable */
+ unreachable?: (string[]|null);
+ }
+
+ /** Represents a ListRealmsResponse. */
+ class ListRealmsResponse implements IListRealmsResponse {
+
+ /**
+ * Constructs a new ListRealmsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IListRealmsResponse);
+
+ /** ListRealmsResponse realms. */
+ public realms: google.cloud.gaming.v1beta.IRealm[];
+
+ /** ListRealmsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /** ListRealmsResponse unreachable. */
+ public unreachable: string[];
+
+ /**
+ * Creates a new ListRealmsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListRealmsResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IListRealmsResponse): google.cloud.gaming.v1beta.ListRealmsResponse;
+
+ /**
+ * Encodes the specified ListRealmsResponse message. Does not implicitly {@link google.cloud.gaming.v1beta.ListRealmsResponse.verify|verify} messages.
+ * @param message ListRealmsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IListRealmsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListRealmsResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.ListRealmsResponse.verify|verify} messages.
+ * @param message ListRealmsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IListRealmsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListRealmsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListRealmsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.ListRealmsResponse;
+
+ /**
+ * Decodes a ListRealmsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListRealmsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.ListRealmsResponse;
+
+ /**
+ * Verifies a ListRealmsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListRealmsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListRealmsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.ListRealmsResponse;
+
+ /**
+ * Creates a plain object from a ListRealmsResponse message. Also converts values to other types if specified.
+ * @param message ListRealmsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.ListRealmsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListRealmsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListRealmsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetRealmRequest. */
+ interface IGetRealmRequest {
+
+ /** GetRealmRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetRealmRequest. */
+ class GetRealmRequest implements IGetRealmRequest {
+
+ /**
+ * Constructs a new GetRealmRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IGetRealmRequest);
+
+ /** GetRealmRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetRealmRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetRealmRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IGetRealmRequest): google.cloud.gaming.v1beta.GetRealmRequest;
+
+ /**
+ * Encodes the specified GetRealmRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.GetRealmRequest.verify|verify} messages.
+ * @param message GetRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IGetRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetRealmRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.GetRealmRequest.verify|verify} messages.
+ * @param message GetRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IGetRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetRealmRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.GetRealmRequest;
+
+ /**
+ * Decodes a GetRealmRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.GetRealmRequest;
+
+ /**
+ * Verifies a GetRealmRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetRealmRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetRealmRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.GetRealmRequest;
+
+ /**
+ * Creates a plain object from a GetRealmRequest message. Also converts values to other types if specified.
+ * @param message GetRealmRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.GetRealmRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetRealmRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetRealmRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CreateRealmRequest. */
+ interface ICreateRealmRequest {
+
+ /** CreateRealmRequest parent */
+ parent?: (string|null);
+
+ /** CreateRealmRequest realmId */
+ realmId?: (string|null);
+
+ /** CreateRealmRequest realm */
+ realm?: (google.cloud.gaming.v1beta.IRealm|null);
+ }
+
+ /** Represents a CreateRealmRequest. */
+ class CreateRealmRequest implements ICreateRealmRequest {
+
+ /**
+ * Constructs a new CreateRealmRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.ICreateRealmRequest);
+
+ /** CreateRealmRequest parent. */
+ public parent: string;
+
+ /** CreateRealmRequest realmId. */
+ public realmId: string;
+
+ /** CreateRealmRequest realm. */
+ public realm?: (google.cloud.gaming.v1beta.IRealm|null);
+
+ /**
+ * Creates a new CreateRealmRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CreateRealmRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.ICreateRealmRequest): google.cloud.gaming.v1beta.CreateRealmRequest;
+
+ /**
+ * Encodes the specified CreateRealmRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.CreateRealmRequest.verify|verify} messages.
+ * @param message CreateRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.ICreateRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CreateRealmRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.CreateRealmRequest.verify|verify} messages.
+ * @param message CreateRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.ICreateRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CreateRealmRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CreateRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.CreateRealmRequest;
+
+ /**
+ * Decodes a CreateRealmRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CreateRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.CreateRealmRequest;
+
+ /**
+ * Verifies a CreateRealmRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CreateRealmRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CreateRealmRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.CreateRealmRequest;
+
+ /**
+ * Creates a plain object from a CreateRealmRequest message. Also converts values to other types if specified.
+ * @param message CreateRealmRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.CreateRealmRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CreateRealmRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CreateRealmRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteRealmRequest. */
+ interface IDeleteRealmRequest {
+
+ /** DeleteRealmRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteRealmRequest. */
+ class DeleteRealmRequest implements IDeleteRealmRequest {
+
+ /**
+ * Constructs a new DeleteRealmRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IDeleteRealmRequest);
+
+ /** DeleteRealmRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteRealmRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteRealmRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IDeleteRealmRequest): google.cloud.gaming.v1beta.DeleteRealmRequest;
+
+ /**
+ * Encodes the specified DeleteRealmRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.DeleteRealmRequest.verify|verify} messages.
+ * @param message DeleteRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IDeleteRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteRealmRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.DeleteRealmRequest.verify|verify} messages.
+ * @param message DeleteRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IDeleteRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteRealmRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.DeleteRealmRequest;
+
+ /**
+ * Decodes a DeleteRealmRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.DeleteRealmRequest;
+
+ /**
+ * Verifies a DeleteRealmRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteRealmRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteRealmRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.DeleteRealmRequest;
+
+ /**
+ * Creates a plain object from a DeleteRealmRequest message. Also converts values to other types if specified.
+ * @param message DeleteRealmRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.DeleteRealmRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteRealmRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteRealmRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an UpdateRealmRequest. */
+ interface IUpdateRealmRequest {
+
+ /** UpdateRealmRequest realm */
+ realm?: (google.cloud.gaming.v1beta.IRealm|null);
+
+ /** UpdateRealmRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+ }
+
+ /** Represents an UpdateRealmRequest. */
+ class UpdateRealmRequest implements IUpdateRealmRequest {
+
+ /**
+ * Constructs a new UpdateRealmRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IUpdateRealmRequest);
+
+ /** UpdateRealmRequest realm. */
+ public realm?: (google.cloud.gaming.v1beta.IRealm|null);
+
+ /** UpdateRealmRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /**
+ * Creates a new UpdateRealmRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UpdateRealmRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IUpdateRealmRequest): google.cloud.gaming.v1beta.UpdateRealmRequest;
+
+ /**
+ * Encodes the specified UpdateRealmRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.UpdateRealmRequest.verify|verify} messages.
+ * @param message UpdateRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IUpdateRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UpdateRealmRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.UpdateRealmRequest.verify|verify} messages.
+ * @param message UpdateRealmRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IUpdateRealmRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UpdateRealmRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UpdateRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.UpdateRealmRequest;
+
+ /**
+ * Decodes an UpdateRealmRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UpdateRealmRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.UpdateRealmRequest;
+
+ /**
+ * Verifies an UpdateRealmRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UpdateRealmRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UpdateRealmRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.UpdateRealmRequest;
+
+ /**
+ * Creates a plain object from an UpdateRealmRequest message. Also converts values to other types if specified.
+ * @param message UpdateRealmRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.UpdateRealmRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UpdateRealmRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UpdateRealmRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewRealmUpdateRequest. */
+ interface IPreviewRealmUpdateRequest {
+
+ /** PreviewRealmUpdateRequest realm */
+ realm?: (google.cloud.gaming.v1beta.IRealm|null);
+
+ /** PreviewRealmUpdateRequest updateMask */
+ updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** PreviewRealmUpdateRequest previewTime */
+ previewTime?: (google.protobuf.ITimestamp|null);
+ }
+
+ /** Represents a PreviewRealmUpdateRequest. */
+ class PreviewRealmUpdateRequest implements IPreviewRealmUpdateRequest {
+
+ /**
+ * Constructs a new PreviewRealmUpdateRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IPreviewRealmUpdateRequest);
+
+ /** PreviewRealmUpdateRequest realm. */
+ public realm?: (google.cloud.gaming.v1beta.IRealm|null);
+
+ /** PreviewRealmUpdateRequest updateMask. */
+ public updateMask?: (google.protobuf.IFieldMask|null);
+
+ /** PreviewRealmUpdateRequest previewTime. */
+ public previewTime?: (google.protobuf.ITimestamp|null);
+
+ /**
+ * Creates a new PreviewRealmUpdateRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewRealmUpdateRequest instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IPreviewRealmUpdateRequest): google.cloud.gaming.v1beta.PreviewRealmUpdateRequest;
+
+ /**
+ * Encodes the specified PreviewRealmUpdateRequest message. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewRealmUpdateRequest.verify|verify} messages.
+ * @param message PreviewRealmUpdateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IPreviewRealmUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewRealmUpdateRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewRealmUpdateRequest.verify|verify} messages.
+ * @param message PreviewRealmUpdateRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IPreviewRealmUpdateRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewRealmUpdateRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewRealmUpdateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.PreviewRealmUpdateRequest;
+
+ /**
+ * Decodes a PreviewRealmUpdateRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewRealmUpdateRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.PreviewRealmUpdateRequest;
+
+ /**
+ * Verifies a PreviewRealmUpdateRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewRealmUpdateRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewRealmUpdateRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.PreviewRealmUpdateRequest;
+
+ /**
+ * Creates a plain object from a PreviewRealmUpdateRequest message. Also converts values to other types if specified.
+ * @param message PreviewRealmUpdateRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.PreviewRealmUpdateRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewRealmUpdateRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewRealmUpdateRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a PreviewRealmUpdateResponse. */
+ interface IPreviewRealmUpdateResponse {
+
+ /** PreviewRealmUpdateResponse etag */
+ etag?: (string|null);
+
+ /** PreviewRealmUpdateResponse targetState */
+ targetState?: (google.cloud.gaming.v1beta.ITargetState|null);
+ }
+
+ /** Represents a PreviewRealmUpdateResponse. */
+ class PreviewRealmUpdateResponse implements IPreviewRealmUpdateResponse {
+
+ /**
+ * Constructs a new PreviewRealmUpdateResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IPreviewRealmUpdateResponse);
+
+ /** PreviewRealmUpdateResponse etag. */
+ public etag: string;
+
+ /** PreviewRealmUpdateResponse targetState. */
+ public targetState?: (google.cloud.gaming.v1beta.ITargetState|null);
+
+ /**
+ * Creates a new PreviewRealmUpdateResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns PreviewRealmUpdateResponse instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IPreviewRealmUpdateResponse): google.cloud.gaming.v1beta.PreviewRealmUpdateResponse;
+
+ /**
+ * Encodes the specified PreviewRealmUpdateResponse message. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewRealmUpdateResponse.verify|verify} messages.
+ * @param message PreviewRealmUpdateResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IPreviewRealmUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified PreviewRealmUpdateResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.PreviewRealmUpdateResponse.verify|verify} messages.
+ * @param message PreviewRealmUpdateResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IPreviewRealmUpdateResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a PreviewRealmUpdateResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns PreviewRealmUpdateResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.PreviewRealmUpdateResponse;
+
+ /**
+ * Decodes a PreviewRealmUpdateResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns PreviewRealmUpdateResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.PreviewRealmUpdateResponse;
+
+ /**
+ * Verifies a PreviewRealmUpdateResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a PreviewRealmUpdateResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns PreviewRealmUpdateResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.PreviewRealmUpdateResponse;
+
+ /**
+ * Creates a plain object from a PreviewRealmUpdateResponse message. Also converts values to other types if specified.
+ * @param message PreviewRealmUpdateResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.PreviewRealmUpdateResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this PreviewRealmUpdateResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for PreviewRealmUpdateResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Realm. */
+ interface IRealm {
+
+ /** Realm name */
+ name?: (string|null);
+
+ /** Realm createTime */
+ createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Realm updateTime */
+ updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Realm labels */
+ labels?: ({ [k: string]: string }|null);
+
+ /** Realm timeZone */
+ timeZone?: (string|null);
+
+ /** Realm etag */
+ etag?: (string|null);
+
+ /** Realm description */
+ description?: (string|null);
+ }
+
+ /** Represents a Realm. */
+ class Realm implements IRealm {
+
+ /**
+ * Constructs a new Realm.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.cloud.gaming.v1beta.IRealm);
+
+ /** Realm name. */
+ public name: string;
+
+ /** Realm createTime. */
+ public createTime?: (google.protobuf.ITimestamp|null);
+
+ /** Realm updateTime. */
+ public updateTime?: (google.protobuf.ITimestamp|null);
+
+ /** Realm labels. */
+ public labels: { [k: string]: string };
+
+ /** Realm timeZone. */
+ public timeZone: string;
+
+ /** Realm etag. */
+ public etag: string;
+
+ /** Realm description. */
+ public description: string;
+
+ /**
+ * Creates a new Realm instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Realm instance
+ */
+ public static create(properties?: google.cloud.gaming.v1beta.IRealm): google.cloud.gaming.v1beta.Realm;
+
+ /**
+ * Encodes the specified Realm message. Does not implicitly {@link google.cloud.gaming.v1beta.Realm.verify|verify} messages.
+ * @param message Realm message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.cloud.gaming.v1beta.IRealm, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Realm message, length delimited. Does not implicitly {@link google.cloud.gaming.v1beta.Realm.verify|verify} messages.
+ * @param message Realm message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.cloud.gaming.v1beta.IRealm, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Realm message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Realm
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.gaming.v1beta.Realm;
+
+ /**
+ * Decodes a Realm message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Realm
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.gaming.v1beta.Realm;
+
+ /**
+ * Verifies a Realm message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Realm message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Realm
+ */
+ public static fromObject(object: { [k: string]: any }): google.cloud.gaming.v1beta.Realm;
+
+ /**
+ * Creates a plain object from a Realm message. Also converts values to other types if specified.
+ * @param message Realm
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.cloud.gaming.v1beta.Realm, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Realm to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Realm
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Represents a RealmsService */
+ class RealmsService extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new RealmsService service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new RealmsService service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): RealmsService;
+
+ /**
+ * Calls ListRealms.
+ * @param request ListRealmsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListRealmsResponse
+ */
+ public listRealms(request: google.cloud.gaming.v1beta.IListRealmsRequest, callback: google.cloud.gaming.v1beta.RealmsService.ListRealmsCallback): void;
+
+ /**
+ * Calls ListRealms.
+ * @param request ListRealmsRequest message or plain object
+ * @returns Promise
+ */
+ public listRealms(request: google.cloud.gaming.v1beta.IListRealmsRequest): Promise;
+
+ /**
+ * Calls GetRealm.
+ * @param request GetRealmRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Realm
+ */
+ public getRealm(request: google.cloud.gaming.v1beta.IGetRealmRequest, callback: google.cloud.gaming.v1beta.RealmsService.GetRealmCallback): void;
+
+ /**
+ * Calls GetRealm.
+ * @param request GetRealmRequest message or plain object
+ * @returns Promise
+ */
+ public getRealm(request: google.cloud.gaming.v1beta.IGetRealmRequest): Promise;
+
+ /**
+ * Calls CreateRealm.
+ * @param request CreateRealmRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public createRealm(request: google.cloud.gaming.v1beta.ICreateRealmRequest, callback: google.cloud.gaming.v1beta.RealmsService.CreateRealmCallback): void;
+
+ /**
+ * Calls CreateRealm.
+ * @param request CreateRealmRequest message or plain object
+ * @returns Promise
+ */
+ public createRealm(request: google.cloud.gaming.v1beta.ICreateRealmRequest): Promise;
+
+ /**
+ * Calls DeleteRealm.
+ * @param request DeleteRealmRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public deleteRealm(request: google.cloud.gaming.v1beta.IDeleteRealmRequest, callback: google.cloud.gaming.v1beta.RealmsService.DeleteRealmCallback): void;
+
+ /**
+ * Calls DeleteRealm.
+ * @param request DeleteRealmRequest message or plain object
+ * @returns Promise
+ */
+ public deleteRealm(request: google.cloud.gaming.v1beta.IDeleteRealmRequest): Promise;
+
+ /**
+ * Calls UpdateRealm.
+ * @param request UpdateRealmRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public updateRealm(request: google.cloud.gaming.v1beta.IUpdateRealmRequest, callback: google.cloud.gaming.v1beta.RealmsService.UpdateRealmCallback): void;
+
+ /**
+ * Calls UpdateRealm.
+ * @param request UpdateRealmRequest message or plain object
+ * @returns Promise
+ */
+ public updateRealm(request: google.cloud.gaming.v1beta.IUpdateRealmRequest): Promise;
+
+ /**
+ * Calls PreviewRealmUpdate.
+ * @param request PreviewRealmUpdateRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and PreviewRealmUpdateResponse
+ */
+ public previewRealmUpdate(request: google.cloud.gaming.v1beta.IPreviewRealmUpdateRequest, callback: google.cloud.gaming.v1beta.RealmsService.PreviewRealmUpdateCallback): void;
+
+ /**
+ * Calls PreviewRealmUpdate.
+ * @param request PreviewRealmUpdateRequest message or plain object
+ * @returns Promise
+ */
+ public previewRealmUpdate(request: google.cloud.gaming.v1beta.IPreviewRealmUpdateRequest): Promise;
+ }
+
+ namespace RealmsService {
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.RealmsService|listRealms}.
+ * @param error Error, if any
+ * @param [response] ListRealmsResponse
+ */
+ type ListRealmsCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.ListRealmsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.RealmsService|getRealm}.
+ * @param error Error, if any
+ * @param [response] Realm
+ */
+ type GetRealmCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.Realm) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.RealmsService|createRealm}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type CreateRealmCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.RealmsService|deleteRealm}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type DeleteRealmCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.RealmsService|updateRealm}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type UpdateRealmCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1beta.RealmsService|previewRealmUpdate}.
+ * @param error Error, if any
+ * @param [response] PreviewRealmUpdateResponse
+ */
+ type PreviewRealmUpdateCallback = (error: (Error|null), response?: google.cloud.gaming.v1beta.PreviewRealmUpdateResponse) => void;
+ }
+ }
+ }
+ }
+
+ /** Namespace api. */
+ namespace api {
+
+ /** FieldBehavior enum. */
+ enum FieldBehavior {
+ FIELD_BEHAVIOR_UNSPECIFIED = 0,
+ OPTIONAL = 1,
+ REQUIRED = 2,
+ OUTPUT_ONLY = 3,
+ INPUT_ONLY = 4,
+ IMMUTABLE = 5,
+ UNORDERED_LIST = 6,
+ NON_EMPTY_DEFAULT = 7
+ }
+
+ /** Properties of a ResourceDescriptor. */
+ interface IResourceDescriptor {
+
+ /** ResourceDescriptor type */
+ type?: (string|null);
+
+ /** ResourceDescriptor pattern */
+ pattern?: (string[]|null);
+
+ /** ResourceDescriptor nameField */
+ nameField?: (string|null);
+
+ /** ResourceDescriptor history */
+ history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
+
+ /** ResourceDescriptor plural */
+ plural?: (string|null);
+
+ /** ResourceDescriptor singular */
+ singular?: (string|null);
+
+ /** ResourceDescriptor style */
+ style?: (google.api.ResourceDescriptor.Style[]|null);
+ }
+
+ /** Represents a ResourceDescriptor. */
+ class ResourceDescriptor implements IResourceDescriptor {
+
+ /**
+ * Constructs a new ResourceDescriptor.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceDescriptor);
+
+ /** ResourceDescriptor type. */
+ public type: string;
+
+ /** ResourceDescriptor pattern. */
+ public pattern: string[];
+
+ /** ResourceDescriptor nameField. */
+ public nameField: string;
+
+ /** ResourceDescriptor history. */
+ public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
+
+ /** ResourceDescriptor plural. */
+ public plural: string;
+
+ /** ResourceDescriptor singular. */
+ public singular: string;
+
+ /** ResourceDescriptor style. */
+ public style: google.api.ResourceDescriptor.Style[];
+
+ /**
+ * Creates a new ResourceDescriptor instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceDescriptor instance
+ */
+ public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
+
+ /**
+ * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
+ * @param message ResourceDescriptor message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
+
+ /**
+ * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceDescriptor
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
+
+ /**
+ * Verifies a ResourceDescriptor message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceDescriptor
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
+
+ /**
+ * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
+ * @param message ResourceDescriptor
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceDescriptor to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceDescriptor
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace ResourceDescriptor {
+
+ /** History enum. */
+ enum History {
+ HISTORY_UNSPECIFIED = 0,
+ ORIGINALLY_SINGLE_PATTERN = 1,
+ FUTURE_MULTI_PATTERN = 2
+ }
+
+ /** Style enum. */
+ enum Style {
+ STYLE_UNSPECIFIED = 0,
+ DECLARATIVE_FRIENDLY = 1
+ }
+ }
+
+ /** Properties of a ResourceReference. */
+ interface IResourceReference {
+
+ /** ResourceReference type */
+ type?: (string|null);
+
+ /** ResourceReference childType */
+ childType?: (string|null);
+ }
+
+ /** Represents a ResourceReference. */
+ class ResourceReference implements IResourceReference {
+
+ /**
+ * Constructs a new ResourceReference.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IResourceReference);
+
+ /** ResourceReference type. */
+ public type: string;
+
+ /** ResourceReference childType. */
+ public childType: string;
+
+ /**
+ * Creates a new ResourceReference instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ResourceReference instance
+ */
+ public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
+
+ /**
+ * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
+ * @param message ResourceReference message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
+
+ /**
+ * Decodes a ResourceReference message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ResourceReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
+
+ /**
+ * Verifies a ResourceReference message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ResourceReference
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
+
+ /**
+ * Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
+ * @param message ResourceReference
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ResourceReference to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ResourceReference
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Http. */
+ interface IHttp {
+
+ /** Http rules */
+ rules?: (google.api.IHttpRule[]|null);
+
+ /** Http fullyDecodeReservedExpansion */
+ fullyDecodeReservedExpansion?: (boolean|null);
+ }
+
+ /** Represents a Http. */
+ class Http implements IHttp {
+
+ /**
+ * Constructs a new Http.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttp);
+
+ /** Http rules. */
+ public rules: google.api.IHttpRule[];
+
+ /** Http fullyDecodeReservedExpansion. */
+ public fullyDecodeReservedExpansion: boolean;
+
+ /**
+ * Creates a new Http instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Http instance
+ */
+ public static create(properties?: google.api.IHttp): google.api.Http;
+
+ /**
+ * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
+ * @param message Http message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Http
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
+
+ /**
+ * Decodes a Http message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Http
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
+
+ /**
+ * Verifies a Http message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Http message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Http
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.Http;
+
+ /**
+ * Creates a plain object from a Http message. Also converts values to other types if specified.
+ * @param message Http
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Http to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Http
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a HttpRule. */
+ interface IHttpRule {
+
+ /** HttpRule selector */
+ selector?: (string|null);
+
+ /** HttpRule get */
+ get?: (string|null);
+
+ /** HttpRule put */
+ put?: (string|null);
+
+ /** HttpRule post */
+ post?: (string|null);
+
+ /** HttpRule delete */
+ "delete"?: (string|null);
+
+ /** HttpRule patch */
+ patch?: (string|null);
+
+ /** HttpRule custom */
+ custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body */
+ body?: (string|null);
+
+ /** HttpRule responseBody */
+ responseBody?: (string|null);
+
+ /** HttpRule additionalBindings */
+ additionalBindings?: (google.api.IHttpRule[]|null);
+ }
+
+ /** Represents a HttpRule. */
+ class HttpRule implements IHttpRule {
+
+ /**
+ * Constructs a new HttpRule.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.IHttpRule);
+
+ /** HttpRule selector. */
+ public selector: string;
+
+ /** HttpRule get. */
+ public get?: (string|null);
+
+ /** HttpRule put. */
+ public put?: (string|null);
+
+ /** HttpRule post. */
+ public post?: (string|null);
+
+ /** HttpRule delete. */
+ public delete?: (string|null);
+
+ /** HttpRule patch. */
+ public patch?: (string|null);
+
+ /** HttpRule custom. */
+ public custom?: (google.api.ICustomHttpPattern|null);
+
+ /** HttpRule body. */
+ public body: string;
+
+ /** HttpRule responseBody. */
+ public responseBody: string;
+
+ /** HttpRule additionalBindings. */
+ public additionalBindings: google.api.IHttpRule[];
+
+ /** HttpRule pattern. */
+ public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
+
+ /**
+ * Creates a new HttpRule instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns HttpRule instance
+ */
+ public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
+
+ /**
+ * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
+ * @param message HttpRule message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns HttpRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
+
+ /**
+ * Decodes a HttpRule message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns HttpRule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
+
+ /**
+ * Verifies a HttpRule message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns HttpRule
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
+
+ /**
+ * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
+ * @param message HttpRule
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this HttpRule to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for HttpRule
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CustomHttpPattern. */
+ interface ICustomHttpPattern {
+
+ /** CustomHttpPattern kind */
+ kind?: (string|null);
+
+ /** CustomHttpPattern path */
+ path?: (string|null);
+ }
+
+ /** Represents a CustomHttpPattern. */
+ class CustomHttpPattern implements ICustomHttpPattern {
+
+ /**
+ * Constructs a new CustomHttpPattern.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.api.ICustomHttpPattern);
+
+ /** CustomHttpPattern kind. */
+ public kind: string;
+
+ /** CustomHttpPattern path. */
+ public path: string;
+
+ /**
+ * Creates a new CustomHttpPattern instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CustomHttpPattern instance
+ */
+ public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
+
+ /**
+ * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
+ * @param message CustomHttpPattern message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CustomHttpPattern
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
+
+ /**
+ * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CustomHttpPattern
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
+
+ /**
+ * Verifies a CustomHttpPattern message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CustomHttpPattern
+ */
+ public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
+
+ /**
+ * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
+ * @param message CustomHttpPattern
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CustomHttpPattern to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CustomHttpPattern
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace protobuf. */
+ namespace protobuf {
+
+ /** Properties of a FileDescriptorSet. */
+ interface IFileDescriptorSet {
+
+ /** FileDescriptorSet file */
+ file?: (google.protobuf.IFileDescriptorProto[]|null);
+ }
+
+ /** Represents a FileDescriptorSet. */
+ class FileDescriptorSet implements IFileDescriptorSet {
+
+ /**
+ * Constructs a new FileDescriptorSet.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorSet);
+
+ /** FileDescriptorSet file. */
+ public file: google.protobuf.IFileDescriptorProto[];
+
+ /**
+ * Creates a new FileDescriptorSet instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorSet instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
+ * @param message FileDescriptorSet message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorSet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Verifies a FileDescriptorSet message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorSet
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
+
+ /**
+ * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
+ * @param message FileDescriptorSet
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorSet to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorSet
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileDescriptorProto. */
+ interface IFileDescriptorProto {
+
+ /** FileDescriptorProto name */
+ name?: (string|null);
+
+ /** FileDescriptorProto package */
+ "package"?: (string|null);
+
+ /** FileDescriptorProto dependency */
+ dependency?: (string[]|null);
+
+ /** FileDescriptorProto publicDependency */
+ publicDependency?: (number[]|null);
+
+ /** FileDescriptorProto weakDependency */
+ weakDependency?: (number[]|null);
+
+ /** FileDescriptorProto messageType */
+ messageType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** FileDescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** FileDescriptorProto service */
+ service?: (google.protobuf.IServiceDescriptorProto[]|null);
+
+ /** FileDescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** FileDescriptorProto options */
+ options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo */
+ sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax */
+ syntax?: (string|null);
+
+ /** FileDescriptorProto edition */
+ edition?: (string|null);
+ }
+
+ /** Represents a FileDescriptorProto. */
+ class FileDescriptorProto implements IFileDescriptorProto {
+
+ /**
+ * Constructs a new FileDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileDescriptorProto);
+
+ /** FileDescriptorProto name. */
+ public name: string;
+
+ /** FileDescriptorProto package. */
+ public package: string;
+
+ /** FileDescriptorProto dependency. */
+ public dependency: string[];
+
+ /** FileDescriptorProto publicDependency. */
+ public publicDependency: number[];
+
+ /** FileDescriptorProto weakDependency. */
+ public weakDependency: number[];
+
+ /** FileDescriptorProto messageType. */
+ public messageType: google.protobuf.IDescriptorProto[];
+
+ /** FileDescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** FileDescriptorProto service. */
+ public service: google.protobuf.IServiceDescriptorProto[];
+
+ /** FileDescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** FileDescriptorProto options. */
+ public options?: (google.protobuf.IFileOptions|null);
+
+ /** FileDescriptorProto sourceCodeInfo. */
+ public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
+
+ /** FileDescriptorProto syntax. */
+ public syntax: string;
+
+ /** FileDescriptorProto edition. */
+ public edition: string;
+
+ /**
+ * Creates a new FileDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
+ * @param message FileDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Verifies a FileDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
+
+ /**
+ * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
+ * @param message FileDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DescriptorProto. */
+ interface IDescriptorProto {
+
+ /** DescriptorProto name */
+ name?: (string|null);
+
+ /** DescriptorProto field */
+ field?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto extension */
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
+
+ /** DescriptorProto nestedType */
+ nestedType?: (google.protobuf.IDescriptorProto[]|null);
+
+ /** DescriptorProto enumType */
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
+
+ /** DescriptorProto extensionRange */
+ extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
+
+ /** DescriptorProto oneofDecl */
+ oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
+
+ /** DescriptorProto options */
+ options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
+
+ /** DescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents a DescriptorProto. */
+ class DescriptorProto implements IDescriptorProto {
+
+ /**
+ * Constructs a new DescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IDescriptorProto);
+
+ /** DescriptorProto name. */
+ public name: string;
+
+ /** DescriptorProto field. */
+ public field: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto extension. */
+ public extension: google.protobuf.IFieldDescriptorProto[];
+
+ /** DescriptorProto nestedType. */
+ public nestedType: google.protobuf.IDescriptorProto[];
+
+ /** DescriptorProto enumType. */
+ public enumType: google.protobuf.IEnumDescriptorProto[];
+
+ /** DescriptorProto extensionRange. */
+ public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
+
+ /** DescriptorProto oneofDecl. */
+ public oneofDecl: google.protobuf.IOneofDescriptorProto[];
+
+ /** DescriptorProto options. */
+ public options?: (google.protobuf.IMessageOptions|null);
+
+ /** DescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
+
+ /** DescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new DescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
+
+ /**
+ * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
+ * @param message DescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
+
+ /**
+ * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
+
+ /**
+ * Verifies a DescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
+
+ /**
+ * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
+ * @param message DescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace DescriptorProto {
+
+ /** Properties of an ExtensionRange. */
+ interface IExtensionRange {
+
+ /** ExtensionRange start */
+ start?: (number|null);
+
+ /** ExtensionRange end */
+ end?: (number|null);
+
+ /** ExtensionRange options */
+ options?: (google.protobuf.IExtensionRangeOptions|null);
+ }
+
+ /** Represents an ExtensionRange. */
+ class ExtensionRange implements IExtensionRange {
+
+ /**
+ * Constructs a new ExtensionRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
+
+ /** ExtensionRange start. */
+ public start: number;
+
+ /** ExtensionRange end. */
+ public end: number;
+
+ /** ExtensionRange options. */
+ public options?: (google.protobuf.IExtensionRangeOptions|null);
+
+ /**
+ * Creates a new ExtensionRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
+ * @param message ExtensionRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Verifies an ExtensionRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
+
+ /**
+ * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
+ * @param message ExtensionRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ReservedRange. */
+ interface IReservedRange {
+
+ /** ReservedRange start */
+ start?: (number|null);
+
+ /** ReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents a ReservedRange. */
+ class ReservedRange implements IReservedRange {
+
+ /**
+ * Constructs a new ReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
+
+ /** ReservedRange start. */
+ public start: number;
+
+ /** ReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new ReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ReservedRange instance
+ */
+ public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
+ * @param message ReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Verifies a ReservedRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
+
+ /**
+ * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
+ * @param message ReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an ExtensionRangeOptions. */
+ interface IExtensionRangeOptions {
+
+ /** ExtensionRangeOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an ExtensionRangeOptions. */
+ class ExtensionRangeOptions implements IExtensionRangeOptions {
+
+ /**
+ * Constructs a new ExtensionRangeOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IExtensionRangeOptions);
+
+ /** ExtensionRangeOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new ExtensionRangeOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ExtensionRangeOptions instance
+ */
+ public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
+ * @param message ExtensionRangeOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ExtensionRangeOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Verifies an ExtensionRangeOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ExtensionRangeOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
+
+ /**
+ * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
+ * @param message ExtensionRangeOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ExtensionRangeOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ExtensionRangeOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldDescriptorProto. */
+ interface IFieldDescriptorProto {
+
+ /** FieldDescriptorProto name */
+ name?: (string|null);
+
+ /** FieldDescriptorProto number */
+ number?: (number|null);
+
+ /** FieldDescriptorProto label */
+ label?: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label|null);
+
+ /** FieldDescriptorProto type */
+ type?: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type|null);
+
+ /** FieldDescriptorProto typeName */
+ typeName?: (string|null);
+
+ /** FieldDescriptorProto extendee */
+ extendee?: (string|null);
+
+ /** FieldDescriptorProto defaultValue */
+ defaultValue?: (string|null);
+
+ /** FieldDescriptorProto oneofIndex */
+ oneofIndex?: (number|null);
+
+ /** FieldDescriptorProto jsonName */
+ jsonName?: (string|null);
+
+ /** FieldDescriptorProto options */
+ options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional */
+ proto3Optional?: (boolean|null);
+ }
+
+ /** Represents a FieldDescriptorProto. */
+ class FieldDescriptorProto implements IFieldDescriptorProto {
+
+ /**
+ * Constructs a new FieldDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldDescriptorProto);
+
+ /** FieldDescriptorProto name. */
+ public name: string;
+
+ /** FieldDescriptorProto number. */
+ public number: number;
+
+ /** FieldDescriptorProto label. */
+ public label: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label);
+
+ /** FieldDescriptorProto type. */
+ public type: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type);
+
+ /** FieldDescriptorProto typeName. */
+ public typeName: string;
+
+ /** FieldDescriptorProto extendee. */
+ public extendee: string;
+
+ /** FieldDescriptorProto defaultValue. */
+ public defaultValue: string;
+
+ /** FieldDescriptorProto oneofIndex. */
+ public oneofIndex: number;
+
+ /** FieldDescriptorProto jsonName. */
+ public jsonName: string;
+
+ /** FieldDescriptorProto options. */
+ public options?: (google.protobuf.IFieldOptions|null);
+
+ /** FieldDescriptorProto proto3Optional. */
+ public proto3Optional: boolean;
+
+ /**
+ * Creates a new FieldDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
+ * @param message FieldDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Verifies a FieldDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
+
+ /**
+ * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
+ * @param message FieldDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldDescriptorProto {
+
+ /** Type enum. */
+ enum Type {
+ TYPE_DOUBLE = 1,
+ TYPE_FLOAT = 2,
+ TYPE_INT64 = 3,
+ TYPE_UINT64 = 4,
+ TYPE_INT32 = 5,
+ TYPE_FIXED64 = 6,
+ TYPE_FIXED32 = 7,
+ TYPE_BOOL = 8,
+ TYPE_STRING = 9,
+ TYPE_GROUP = 10,
+ TYPE_MESSAGE = 11,
+ TYPE_BYTES = 12,
+ TYPE_UINT32 = 13,
+ TYPE_ENUM = 14,
+ TYPE_SFIXED32 = 15,
+ TYPE_SFIXED64 = 16,
+ TYPE_SINT32 = 17,
+ TYPE_SINT64 = 18
+ }
+
+ /** Label enum. */
+ enum Label {
+ LABEL_OPTIONAL = 1,
+ LABEL_REQUIRED = 2,
+ LABEL_REPEATED = 3
+ }
+ }
+
+ /** Properties of an OneofDescriptorProto. */
+ interface IOneofDescriptorProto {
+
+ /** OneofDescriptorProto name */
+ name?: (string|null);
+
+ /** OneofDescriptorProto options */
+ options?: (google.protobuf.IOneofOptions|null);
+ }
+
+ /** Represents an OneofDescriptorProto. */
+ class OneofDescriptorProto implements IOneofDescriptorProto {
+
+ /**
+ * Constructs a new OneofDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofDescriptorProto);
+
+ /** OneofDescriptorProto name. */
+ public name: string;
+
+ /** OneofDescriptorProto options. */
+ public options?: (google.protobuf.IOneofOptions|null);
+
+ /**
+ * Creates a new OneofDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
+ * @param message OneofDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Verifies an OneofDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
+
+ /**
+ * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
+ * @param message OneofDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumDescriptorProto. */
+ interface IEnumDescriptorProto {
+
+ /** EnumDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumDescriptorProto value */
+ value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
+
+ /** EnumDescriptorProto options */
+ options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange */
+ reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
+
+ /** EnumDescriptorProto reservedName */
+ reservedName?: (string[]|null);
+ }
+
+ /** Represents an EnumDescriptorProto. */
+ class EnumDescriptorProto implements IEnumDescriptorProto {
+
+ /**
+ * Constructs a new EnumDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumDescriptorProto);
+
+ /** EnumDescriptorProto name. */
+ public name: string;
+
+ /** EnumDescriptorProto value. */
+ public value: google.protobuf.IEnumValueDescriptorProto[];
+
+ /** EnumDescriptorProto options. */
+ public options?: (google.protobuf.IEnumOptions|null);
+
+ /** EnumDescriptorProto reservedRange. */
+ public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
+
+ /** EnumDescriptorProto reservedName. */
+ public reservedName: string[];
+
+ /**
+ * Creates a new EnumDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
+ * @param message EnumDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Verifies an EnumDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace EnumDescriptorProto {
+
+ /** Properties of an EnumReservedRange. */
+ interface IEnumReservedRange {
+
+ /** EnumReservedRange start */
+ start?: (number|null);
+
+ /** EnumReservedRange end */
+ end?: (number|null);
+ }
+
+ /** Represents an EnumReservedRange. */
+ class EnumReservedRange implements IEnumReservedRange {
+
+ /**
+ * Constructs a new EnumReservedRange.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
+
+ /** EnumReservedRange start. */
+ public start: number;
+
+ /** EnumReservedRange end. */
+ public end: number;
+
+ /**
+ * Creates a new EnumReservedRange instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumReservedRange instance
+ */
+ public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
+ * @param message EnumReservedRange message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumReservedRange
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Verifies an EnumReservedRange message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumReservedRange
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
+
+ /**
+ * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
+ * @param message EnumReservedRange
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumReservedRange to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumReservedRange
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of an EnumValueDescriptorProto. */
+ interface IEnumValueDescriptorProto {
+
+ /** EnumValueDescriptorProto name */
+ name?: (string|null);
+
+ /** EnumValueDescriptorProto number */
+ number?: (number|null);
+
+ /** EnumValueDescriptorProto options */
+ options?: (google.protobuf.IEnumValueOptions|null);
+ }
+
+ /** Represents an EnumValueDescriptorProto. */
+ class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
+
+ /**
+ * Constructs a new EnumValueDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
+
+ /** EnumValueDescriptorProto name. */
+ public name: string;
+
+ /** EnumValueDescriptorProto number. */
+ public number: number;
+
+ /** EnumValueDescriptorProto options. */
+ public options?: (google.protobuf.IEnumValueOptions|null);
+
+ /**
+ * Creates a new EnumValueDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
+ * @param message EnumValueDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Verifies an EnumValueDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
+
+ /**
+ * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
+ * @param message EnumValueDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceDescriptorProto. */
+ interface IServiceDescriptorProto {
+
+ /** ServiceDescriptorProto name */
+ name?: (string|null);
+
+ /** ServiceDescriptorProto method */
+ method?: (google.protobuf.IMethodDescriptorProto[]|null);
+
+ /** ServiceDescriptorProto options */
+ options?: (google.protobuf.IServiceOptions|null);
+ }
+
+ /** Represents a ServiceDescriptorProto. */
+ class ServiceDescriptorProto implements IServiceDescriptorProto {
+
+ /**
+ * Constructs a new ServiceDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceDescriptorProto);
+
+ /** ServiceDescriptorProto name. */
+ public name: string;
+
+ /** ServiceDescriptorProto method. */
+ public method: google.protobuf.IMethodDescriptorProto[];
+
+ /** ServiceDescriptorProto options. */
+ public options?: (google.protobuf.IServiceOptions|null);
+
+ /**
+ * Creates a new ServiceDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
+ * @param message ServiceDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Verifies a ServiceDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
+
+ /**
+ * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
+ * @param message ServiceDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodDescriptorProto. */
+ interface IMethodDescriptorProto {
+
+ /** MethodDescriptorProto name */
+ name?: (string|null);
+
+ /** MethodDescriptorProto inputType */
+ inputType?: (string|null);
+
+ /** MethodDescriptorProto outputType */
+ outputType?: (string|null);
+
+ /** MethodDescriptorProto options */
+ options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming */
+ clientStreaming?: (boolean|null);
+
+ /** MethodDescriptorProto serverStreaming */
+ serverStreaming?: (boolean|null);
+ }
+
+ /** Represents a MethodDescriptorProto. */
+ class MethodDescriptorProto implements IMethodDescriptorProto {
+
+ /**
+ * Constructs a new MethodDescriptorProto.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMethodDescriptorProto);
+
+ /** MethodDescriptorProto name. */
+ public name: string;
+
+ /** MethodDescriptorProto inputType. */
+ public inputType: string;
+
+ /** MethodDescriptorProto outputType. */
+ public outputType: string;
+
+ /** MethodDescriptorProto options. */
+ public options?: (google.protobuf.IMethodOptions|null);
+
+ /** MethodDescriptorProto clientStreaming. */
+ public clientStreaming: boolean;
+
+ /** MethodDescriptorProto serverStreaming. */
+ public serverStreaming: boolean;
+
+ /**
+ * Creates a new MethodDescriptorProto instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodDescriptorProto instance
+ */
+ public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
+ * @param message MethodDescriptorProto message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodDescriptorProto
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Verifies a MethodDescriptorProto message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodDescriptorProto
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
+
+ /**
+ * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
+ * @param message MethodDescriptorProto
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodDescriptorProto to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodDescriptorProto
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FileOptions. */
+ interface IFileOptions {
+
+ /** FileOptions javaPackage */
+ javaPackage?: (string|null);
+
+ /** FileOptions javaOuterClassname */
+ javaOuterClassname?: (string|null);
+
+ /** FileOptions javaMultipleFiles */
+ javaMultipleFiles?: (boolean|null);
+
+ /** FileOptions javaGenerateEqualsAndHash */
+ javaGenerateEqualsAndHash?: (boolean|null);
+
+ /** FileOptions javaStringCheckUtf8 */
+ javaStringCheckUtf8?: (boolean|null);
+
+ /** FileOptions optimizeFor */
+ optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode|null);
+
+ /** FileOptions goPackage */
+ goPackage?: (string|null);
+
+ /** FileOptions ccGenericServices */
+ ccGenericServices?: (boolean|null);
+
+ /** FileOptions javaGenericServices */
+ javaGenericServices?: (boolean|null);
+
+ /** FileOptions pyGenericServices */
+ pyGenericServices?: (boolean|null);
+
+ /** FileOptions phpGenericServices */
+ phpGenericServices?: (boolean|null);
+
+ /** FileOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FileOptions ccEnableArenas */
+ ccEnableArenas?: (boolean|null);
+
+ /** FileOptions objcClassPrefix */
+ objcClassPrefix?: (string|null);
+
+ /** FileOptions csharpNamespace */
+ csharpNamespace?: (string|null);
+
+ /** FileOptions swiftPrefix */
+ swiftPrefix?: (string|null);
+
+ /** FileOptions phpClassPrefix */
+ phpClassPrefix?: (string|null);
+
+ /** FileOptions phpNamespace */
+ phpNamespace?: (string|null);
+
+ /** FileOptions phpMetadataNamespace */
+ phpMetadataNamespace?: (string|null);
+
+ /** FileOptions rubyPackage */
+ rubyPackage?: (string|null);
+
+ /** FileOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FileOptions .google.api.resourceDefinition */
+ ".google.api.resourceDefinition"?: (google.api.IResourceDescriptor[]|null);
+ }
+
+ /** Represents a FileOptions. */
+ class FileOptions implements IFileOptions {
+
+ /**
+ * Constructs a new FileOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFileOptions);
+
+ /** FileOptions javaPackage. */
+ public javaPackage: string;
+
+ /** FileOptions javaOuterClassname. */
+ public javaOuterClassname: string;
+
+ /** FileOptions javaMultipleFiles. */
+ public javaMultipleFiles: boolean;
+
+ /** FileOptions javaGenerateEqualsAndHash. */
+ public javaGenerateEqualsAndHash: boolean;
+
+ /** FileOptions javaStringCheckUtf8. */
+ public javaStringCheckUtf8: boolean;
+
+ /** FileOptions optimizeFor. */
+ public optimizeFor: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode);
+
+ /** FileOptions goPackage. */
+ public goPackage: string;
+
+ /** FileOptions ccGenericServices. */
+ public ccGenericServices: boolean;
+
+ /** FileOptions javaGenericServices. */
+ public javaGenericServices: boolean;
+
+ /** FileOptions pyGenericServices. */
+ public pyGenericServices: boolean;
+
+ /** FileOptions phpGenericServices. */
+ public phpGenericServices: boolean;
+
+ /** FileOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FileOptions ccEnableArenas. */
+ public ccEnableArenas: boolean;
+
+ /** FileOptions objcClassPrefix. */
+ public objcClassPrefix: string;
+
+ /** FileOptions csharpNamespace. */
+ public csharpNamespace: string;
+
+ /** FileOptions swiftPrefix. */
+ public swiftPrefix: string;
+
+ /** FileOptions phpClassPrefix. */
+ public phpClassPrefix: string;
+
+ /** FileOptions phpNamespace. */
+ public phpNamespace: string;
+
+ /** FileOptions phpMetadataNamespace. */
+ public phpMetadataNamespace: string;
+
+ /** FileOptions rubyPackage. */
+ public rubyPackage: string;
+
+ /** FileOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FileOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FileOptions instance
+ */
+ public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
+
+ /**
+ * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
+ * @param message FileOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
+
+ /**
+ * Decodes a FileOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FileOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
+
+ /**
+ * Verifies a FileOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FileOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
+
+ /**
+ * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
+ * @param message FileOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FileOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FileOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FileOptions {
+
+ /** OptimizeMode enum. */
+ enum OptimizeMode {
+ SPEED = 1,
+ CODE_SIZE = 2,
+ LITE_RUNTIME = 3
+ }
+ }
+
+ /** Properties of a MessageOptions. */
+ interface IMessageOptions {
+
+ /** MessageOptions messageSetWireFormat */
+ messageSetWireFormat?: (boolean|null);
+
+ /** MessageOptions noStandardDescriptorAccessor */
+ noStandardDescriptorAccessor?: (boolean|null);
+
+ /** MessageOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MessageOptions mapEntry */
+ mapEntry?: (boolean|null);
+
+ /** MessageOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MessageOptions .google.api.resource */
+ ".google.api.resource"?: (google.api.IResourceDescriptor|null);
+ }
+
+ /** Represents a MessageOptions. */
+ class MessageOptions implements IMessageOptions {
+
+ /**
+ * Constructs a new MessageOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMessageOptions);
+
+ /** MessageOptions messageSetWireFormat. */
+ public messageSetWireFormat: boolean;
+
+ /** MessageOptions noStandardDescriptorAccessor. */
+ public noStandardDescriptorAccessor: boolean;
+
+ /** MessageOptions deprecated. */
+ public deprecated: boolean;
+
+ /** MessageOptions mapEntry. */
+ public mapEntry: boolean;
+
+ /** MessageOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new MessageOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MessageOptions instance
+ */
+ public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
+
+ /**
+ * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
+ * @param message MessageOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
+
+ /**
+ * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MessageOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
+
+ /**
+ * Verifies a MessageOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MessageOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
+
+ /**
+ * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
+ * @param message MessageOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MessageOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MessageOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldOptions. */
+ interface IFieldOptions {
+
+ /** FieldOptions ctype */
+ ctype?: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType|null);
+
+ /** FieldOptions packed */
+ packed?: (boolean|null);
+
+ /** FieldOptions jstype */
+ jstype?: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType|null);
+
+ /** FieldOptions lazy */
+ lazy?: (boolean|null);
+
+ /** FieldOptions unverifiedLazy */
+ unverifiedLazy?: (boolean|null);
+
+ /** FieldOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** FieldOptions weak */
+ weak?: (boolean|null);
+
+ /** FieldOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** FieldOptions .google.api.fieldBehavior */
+ ".google.api.fieldBehavior"?: (google.api.FieldBehavior[]|null);
+
+ /** FieldOptions .google.api.resourceReference */
+ ".google.api.resourceReference"?: (google.api.IResourceReference|null);
+ }
+
+ /** Represents a FieldOptions. */
+ class FieldOptions implements IFieldOptions {
+
+ /**
+ * Constructs a new FieldOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldOptions);
+
+ /** FieldOptions ctype. */
+ public ctype: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType);
+
+ /** FieldOptions packed. */
+ public packed: boolean;
+
+ /** FieldOptions jstype. */
+ public jstype: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType);
+
+ /** FieldOptions lazy. */
+ public lazy: boolean;
+
+ /** FieldOptions unverifiedLazy. */
+ public unverifiedLazy: boolean;
+
+ /** FieldOptions deprecated. */
+ public deprecated: boolean;
+
+ /** FieldOptions weak. */
+ public weak: boolean;
+
+ /** FieldOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new FieldOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldOptions instance
+ */
+ public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
+
+ /**
+ * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
+ * @param message FieldOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
+
+ /**
+ * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
+
+ /**
+ * Verifies a FieldOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
+
+ /**
+ * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
+ * @param message FieldOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace FieldOptions {
+
+ /** CType enum. */
+ enum CType {
+ STRING = 0,
+ CORD = 1,
+ STRING_PIECE = 2
+ }
+
+ /** JSType enum. */
+ enum JSType {
+ JS_NORMAL = 0,
+ JS_STRING = 1,
+ JS_NUMBER = 2
+ }
+ }
+
+ /** Properties of an OneofOptions. */
+ interface IOneofOptions {
+
+ /** OneofOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an OneofOptions. */
+ class OneofOptions implements IOneofOptions {
+
+ /**
+ * Constructs a new OneofOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IOneofOptions);
+
+ /** OneofOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new OneofOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OneofOptions instance
+ */
+ public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
+
+ /**
+ * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
+ * @param message OneofOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
+
+ /**
+ * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OneofOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
+
+ /**
+ * Verifies an OneofOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OneofOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
+
+ /**
+ * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
+ * @param message OneofOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OneofOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OneofOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumOptions. */
+ interface IEnumOptions {
+
+ /** EnumOptions allowAlias */
+ allowAlias?: (boolean|null);
+
+ /** EnumOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumOptions. */
+ class EnumOptions implements IEnumOptions {
+
+ /**
+ * Constructs a new EnumOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumOptions);
+
+ /** EnumOptions allowAlias. */
+ public allowAlias: boolean;
+
+ /** EnumOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
+
+ /**
+ * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
+ * @param message EnumOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
+
+ /**
+ * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
+
+ /**
+ * Verifies an EnumOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
+
+ /**
+ * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
+ * @param message EnumOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an EnumValueOptions. */
+ interface IEnumValueOptions {
+
+ /** EnumValueOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** EnumValueOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+ }
+
+ /** Represents an EnumValueOptions. */
+ class EnumValueOptions implements IEnumValueOptions {
+
+ /**
+ * Constructs a new EnumValueOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEnumValueOptions);
+
+ /** EnumValueOptions deprecated. */
+ public deprecated: boolean;
+
+ /** EnumValueOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new EnumValueOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns EnumValueOptions instance
+ */
+ public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
+
+ /**
+ * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
+ * @param message EnumValueOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
+
+ /**
+ * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns EnumValueOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
+
+ /**
+ * Verifies an EnumValueOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns EnumValueOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
+
+ /**
+ * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
+ * @param message EnumValueOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this EnumValueOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for EnumValueOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ServiceOptions. */
+ interface IServiceOptions {
+
+ /** ServiceOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** ServiceOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** ServiceOptions .google.api.defaultHost */
+ ".google.api.defaultHost"?: (string|null);
+
+ /** ServiceOptions .google.api.oauthScopes */
+ ".google.api.oauthScopes"?: (string|null);
+ }
+
+ /** Represents a ServiceOptions. */
+ class ServiceOptions implements IServiceOptions {
+
+ /**
+ * Constructs a new ServiceOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IServiceOptions);
+
+ /** ServiceOptions deprecated. */
+ public deprecated: boolean;
+
+ /** ServiceOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new ServiceOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ServiceOptions instance
+ */
+ public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
+
+ /**
+ * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
+ * @param message ServiceOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
+
+ /**
+ * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ServiceOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
+
+ /**
+ * Verifies a ServiceOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ServiceOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
+
+ /**
+ * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
+ * @param message ServiceOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ServiceOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ServiceOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a MethodOptions. */
+ interface IMethodOptions {
+
+ /** MethodOptions deprecated */
+ deprecated?: (boolean|null);
+
+ /** MethodOptions idempotencyLevel */
+ idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null);
+
+ /** MethodOptions uninterpretedOption */
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
+
+ /** MethodOptions .google.api.http */
+ ".google.api.http"?: (google.api.IHttpRule|null);
+
+ /** MethodOptions .google.api.methodSignature */
+ ".google.api.methodSignature"?: (string[]|null);
+
+ /** MethodOptions .google.longrunning.operationInfo */
+ ".google.longrunning.operationInfo"?: (google.longrunning.IOperationInfo|null);
+ }
+
+ /** Represents a MethodOptions. */
+ class MethodOptions implements IMethodOptions {
+
+ /**
+ * Constructs a new MethodOptions.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IMethodOptions);
+
+ /** MethodOptions deprecated. */
+ public deprecated: boolean;
+
+ /** MethodOptions idempotencyLevel. */
+ public idempotencyLevel: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel);
+
+ /** MethodOptions uninterpretedOption. */
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
+
+ /**
+ * Creates a new MethodOptions instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns MethodOptions instance
+ */
+ public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
+
+ /**
+ * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @param message MethodOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
+ * @param message MethodOptions message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns MethodOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
+
+ /**
+ * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns MethodOptions
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
+
+ /**
+ * Verifies a MethodOptions message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns MethodOptions
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
+
+ /**
+ * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
+ * @param message MethodOptions
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this MethodOptions to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for MethodOptions
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace MethodOptions {
+
+ /** IdempotencyLevel enum. */
+ enum IdempotencyLevel {
+ IDEMPOTENCY_UNKNOWN = 0,
+ NO_SIDE_EFFECTS = 1,
+ IDEMPOTENT = 2
+ }
+ }
+
+ /** Properties of an UninterpretedOption. */
+ interface IUninterpretedOption {
+
+ /** UninterpretedOption name */
+ name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
+
+ /** UninterpretedOption identifierValue */
+ identifierValue?: (string|null);
+
+ /** UninterpretedOption positiveIntValue */
+ positiveIntValue?: (number|Long|string|null);
+
+ /** UninterpretedOption negativeIntValue */
+ negativeIntValue?: (number|Long|string|null);
+
+ /** UninterpretedOption doubleValue */
+ doubleValue?: (number|null);
+
+ /** UninterpretedOption stringValue */
+ stringValue?: (Uint8Array|string|null);
+
+ /** UninterpretedOption aggregateValue */
+ aggregateValue?: (string|null);
+ }
+
+ /** Represents an UninterpretedOption. */
+ class UninterpretedOption implements IUninterpretedOption {
+
+ /**
+ * Constructs a new UninterpretedOption.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IUninterpretedOption);
+
+ /** UninterpretedOption name. */
+ public name: google.protobuf.UninterpretedOption.INamePart[];
+
+ /** UninterpretedOption identifierValue. */
+ public identifierValue: string;
+
+ /** UninterpretedOption positiveIntValue. */
+ public positiveIntValue: (number|Long|string);
+
+ /** UninterpretedOption negativeIntValue. */
+ public negativeIntValue: (number|Long|string);
+
+ /** UninterpretedOption doubleValue. */
+ public doubleValue: number;
+
+ /** UninterpretedOption stringValue. */
+ public stringValue: (Uint8Array|string);
+
+ /** UninterpretedOption aggregateValue. */
+ public aggregateValue: string;
+
+ /**
+ * Creates a new UninterpretedOption instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns UninterpretedOption instance
+ */
+ public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
+
+ /**
+ * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @param message UninterpretedOption message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
+ * @param message UninterpretedOption message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns UninterpretedOption
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
+
+ /**
+ * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns UninterpretedOption
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
+
+ /**
+ * Verifies an UninterpretedOption message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns UninterpretedOption
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
+
+ /**
+ * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
+ * @param message UninterpretedOption
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this UninterpretedOption to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for UninterpretedOption
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace UninterpretedOption {
+
+ /** Properties of a NamePart. */
+ interface INamePart {
+
+ /** NamePart namePart */
+ namePart: string;
+
+ /** NamePart isExtension */
+ isExtension: boolean;
+ }
+
+ /** Represents a NamePart. */
+ class NamePart implements INamePart {
+
+ /**
+ * Constructs a new NamePart.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
+
+ /** NamePart namePart. */
+ public namePart: string;
+
+ /** NamePart isExtension. */
+ public isExtension: boolean;
+
+ /**
+ * Creates a new NamePart instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns NamePart instance
+ */
+ public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @param message NamePart message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
+ * @param message NamePart message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns NamePart
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Decodes a NamePart message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns NamePart
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Verifies a NamePart message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns NamePart
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
+
+ /**
+ * Creates a plain object from a NamePart message. Also converts values to other types if specified.
+ * @param message NamePart
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this NamePart to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for NamePart
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a SourceCodeInfo. */
+ interface ISourceCodeInfo {
+
+ /** SourceCodeInfo location */
+ location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
+ }
+
+ /** Represents a SourceCodeInfo. */
+ class SourceCodeInfo implements ISourceCodeInfo {
+
+ /**
+ * Constructs a new SourceCodeInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ISourceCodeInfo);
+
+ /** SourceCodeInfo location. */
+ public location: google.protobuf.SourceCodeInfo.ILocation[];
+
+ /**
+ * Creates a new SourceCodeInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns SourceCodeInfo instance
+ */
+ public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @param message SourceCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
+ * @param message SourceCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns SourceCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns SourceCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Verifies a SourceCodeInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns SourceCodeInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
+
+ /**
+ * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
+ * @param message SourceCodeInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this SourceCodeInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for SourceCodeInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace SourceCodeInfo {
+
+ /** Properties of a Location. */
+ interface ILocation {
+
+ /** Location path */
+ path?: (number[]|null);
+
+ /** Location span */
+ span?: (number[]|null);
+
+ /** Location leadingComments */
+ leadingComments?: (string|null);
+
+ /** Location trailingComments */
+ trailingComments?: (string|null);
+
+ /** Location leadingDetachedComments */
+ leadingDetachedComments?: (string[]|null);
+ }
+
+ /** Represents a Location. */
+ class Location implements ILocation {
+
+ /**
+ * Constructs a new Location.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
+
+ /** Location path. */
+ public path: number[];
+
+ /** Location span. */
+ public span: number[];
+
+ /** Location leadingComments. */
+ public leadingComments: string;
+
+ /** Location trailingComments. */
+ public trailingComments: string;
+
+ /** Location leadingDetachedComments. */
+ public leadingDetachedComments: string[];
+
+ /**
+ * Creates a new Location instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Location instance
+ */
+ public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @param message Location message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
+ * @param message Location message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Location message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Decodes a Location message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Location
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Verifies a Location message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Location message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Location
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
+
+ /**
+ * Creates a plain object from a Location message. Also converts values to other types if specified.
+ * @param message Location
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Location to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Location
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Properties of a GeneratedCodeInfo. */
+ interface IGeneratedCodeInfo {
+
+ /** GeneratedCodeInfo annotation */
+ annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
+ }
+
+ /** Represents a GeneratedCodeInfo. */
+ class GeneratedCodeInfo implements IGeneratedCodeInfo {
+
+ /**
+ * Constructs a new GeneratedCodeInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IGeneratedCodeInfo);
+
+ /** GeneratedCodeInfo annotation. */
+ public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
+
+ /**
+ * Creates a new GeneratedCodeInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GeneratedCodeInfo instance
+ */
+ public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @param message GeneratedCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
+ * @param message GeneratedCodeInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GeneratedCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GeneratedCodeInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Verifies a GeneratedCodeInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GeneratedCodeInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
+
+ /**
+ * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
+ * @param message GeneratedCodeInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GeneratedCodeInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GeneratedCodeInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace GeneratedCodeInfo {
+
+ /** Properties of an Annotation. */
+ interface IAnnotation {
+
+ /** Annotation path */
+ path?: (number[]|null);
+
+ /** Annotation sourceFile */
+ sourceFile?: (string|null);
+
+ /** Annotation begin */
+ begin?: (number|null);
+
+ /** Annotation end */
+ end?: (number|null);
+
+ /** Annotation semantic */
+ semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null);
+ }
+
+ /** Represents an Annotation. */
+ class Annotation implements IAnnotation {
+
+ /**
+ * Constructs a new Annotation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
+
+ /** Annotation path. */
+ public path: number[];
+
+ /** Annotation sourceFile. */
+ public sourceFile: string;
+
+ /** Annotation begin. */
+ public begin: number;
+
+ /** Annotation end. */
+ public end: number;
+
+ /** Annotation semantic. */
+ public semantic: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic);
+
+ /**
+ * Creates a new Annotation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Annotation instance
+ */
+ public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @param message Annotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
+ * @param message Annotation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Annotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Decodes an Annotation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Annotation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Verifies an Annotation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Annotation
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
+
+ /**
+ * Creates a plain object from an Annotation message. Also converts values to other types if specified.
+ * @param message Annotation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Annotation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Annotation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ namespace Annotation {
+
+ /** Semantic enum. */
+ enum Semantic {
+ NONE = 0,
+ SET = 1,
+ ALIAS = 2
+ }
+ }
+ }
+
+ /** Properties of a Duration. */
+ interface IDuration {
+
+ /** Duration seconds */
+ seconds?: (number|Long|string|null);
+
+ /** Duration nanos */
+ nanos?: (number|null);
+ }
+
+ /** Represents a Duration. */
+ class Duration implements IDuration {
+
+ /**
+ * Constructs a new Duration.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IDuration);
+
+ /** Duration seconds. */
+ public seconds: (number|Long|string);
+
+ /** Duration nanos. */
+ public nanos: number;
+
+ /**
+ * Creates a new Duration instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Duration instance
+ */
+ public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
+
+ /**
+ * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
+ * @param message Duration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
+ * @param message Duration message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Duration message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Duration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration;
+
+ /**
+ * Decodes a Duration message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Duration
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration;
+
+ /**
+ * Verifies a Duration message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Duration message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Duration
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
+
+ /**
+ * Creates a plain object from a Duration message. Also converts values to other types if specified.
+ * @param message Duration
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Duration to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Duration
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a Timestamp. */
+ interface ITimestamp {
+
+ /** Timestamp seconds */
+ seconds?: (number|Long|string|null);
+
+ /** Timestamp nanos */
+ nanos?: (number|null);
+ }
+
+ /** Represents a Timestamp. */
+ class Timestamp implements ITimestamp {
+
+ /**
+ * Constructs a new Timestamp.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.ITimestamp);
+
+ /** Timestamp seconds. */
+ public seconds: (number|Long|string);
+
+ /** Timestamp nanos. */
+ public nanos: number;
+
+ /**
+ * Creates a new Timestamp instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Timestamp instance
+ */
+ public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
+
+ /**
+ * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @param message Timestamp message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
+ * @param message Timestamp message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Timestamp
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
+
+ /**
+ * Decodes a Timestamp message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Timestamp
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
+
+ /**
+ * Verifies a Timestamp message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Timestamp
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
+
+ /**
+ * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
+ * @param message Timestamp
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Timestamp to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Timestamp
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a FieldMask. */
+ interface IFieldMask {
+
+ /** FieldMask paths */
+ paths?: (string[]|null);
+ }
+
+ /** Represents a FieldMask. */
+ class FieldMask implements IFieldMask {
+
+ /**
+ * Constructs a new FieldMask.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IFieldMask);
+
+ /** FieldMask paths. */
+ public paths: string[];
+
+ /**
+ * Creates a new FieldMask instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns FieldMask instance
+ */
+ public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
+
+ /**
+ * Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
+ * @param message FieldMask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
+ * @param message FieldMask message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a FieldMask message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns FieldMask
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask;
+
+ /**
+ * Decodes a FieldMask message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns FieldMask
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask;
+
+ /**
+ * Verifies a FieldMask message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns FieldMask
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
+
+ /**
+ * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
+ * @param message FieldMask
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this FieldMask to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for FieldMask
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Any. */
+ interface IAny {
+
+ /** Any type_url */
+ type_url?: (string|null);
+
+ /** Any value */
+ value?: (Uint8Array|string|null);
+ }
+
+ /** Represents an Any. */
+ class Any implements IAny {
+
+ /**
+ * Constructs a new Any.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IAny);
+
+ /** Any type_url. */
+ public type_url: string;
+
+ /** Any value. */
+ public value: (Uint8Array|string);
+
+ /**
+ * Creates a new Any instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Any instance
+ */
+ public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
+
+ /**
+ * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
+ * @param message Any message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
+ * @param message Any message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Any message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Any
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
+
+ /**
+ * Decodes an Any message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Any
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
+
+ /**
+ * Verifies an Any message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Any message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Any
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
+
+ /**
+ * Creates a plain object from an Any message. Also converts values to other types if specified.
+ * @param message Any
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Any to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Any
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an Empty. */
+ interface IEmpty {
+ }
+
+ /** Represents an Empty. */
+ class Empty implements IEmpty {
+
+ /**
+ * Constructs a new Empty.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.protobuf.IEmpty);
+
+ /**
+ * Creates a new Empty instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Empty instance
+ */
+ public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty;
+
+ /**
+ * Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
+ * @param message Empty message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
+ * @param message Empty message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Empty message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Empty
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty;
+
+ /**
+ * Decodes an Empty message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Empty
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty;
+
+ /**
+ * Verifies an Empty message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Empty message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Empty
+ */
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Empty;
+
+ /**
+ * Creates a plain object from an Empty message. Also converts values to other types if specified.
+ * @param message Empty
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Empty to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Empty
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace longrunning. */
+ namespace longrunning {
+
+ /** Represents an Operations */
+ class Operations extends $protobuf.rpc.Service {
+
+ /**
+ * Constructs a new Operations service.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ */
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
+
+ /**
+ * Creates new Operations service using the specified rpc implementation.
+ * @param rpcImpl RPC implementation
+ * @param [requestDelimited=false] Whether requests are length-delimited
+ * @param [responseDelimited=false] Whether responses are length-delimited
+ * @returns RPC service. Useful where requests and/or responses are streamed.
+ */
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Operations;
+
+ /**
+ * Calls ListOperations.
+ * @param request ListOperationsRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and ListOperationsResponse
+ */
+ public listOperations(request: google.longrunning.IListOperationsRequest, callback: google.longrunning.Operations.ListOperationsCallback): void;
+
+ /**
+ * Calls ListOperations.
+ * @param request ListOperationsRequest message or plain object
+ * @returns Promise
+ */
+ public listOperations(request: google.longrunning.IListOperationsRequest): Promise;
+
+ /**
+ * Calls GetOperation.
+ * @param request GetOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public getOperation(request: google.longrunning.IGetOperationRequest, callback: google.longrunning.Operations.GetOperationCallback): void;
+
+ /**
+ * Calls GetOperation.
+ * @param request GetOperationRequest message or plain object
+ * @returns Promise
+ */
+ public getOperation(request: google.longrunning.IGetOperationRequest): Promise;
+
+ /**
+ * Calls DeleteOperation.
+ * @param request DeleteOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public deleteOperation(request: google.longrunning.IDeleteOperationRequest, callback: google.longrunning.Operations.DeleteOperationCallback): void;
+
+ /**
+ * Calls DeleteOperation.
+ * @param request DeleteOperationRequest message or plain object
+ * @returns Promise
+ */
+ public deleteOperation(request: google.longrunning.IDeleteOperationRequest): Promise;
+
+ /**
+ * Calls CancelOperation.
+ * @param request CancelOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Empty
+ */
+ public cancelOperation(request: google.longrunning.ICancelOperationRequest, callback: google.longrunning.Operations.CancelOperationCallback): void;
+
+ /**
+ * Calls CancelOperation.
+ * @param request CancelOperationRequest message or plain object
+ * @returns Promise
+ */
+ public cancelOperation(request: google.longrunning.ICancelOperationRequest): Promise;
+
+ /**
+ * Calls WaitOperation.
+ * @param request WaitOperationRequest message or plain object
+ * @param callback Node-style callback called with the error, if any, and Operation
+ */
+ public waitOperation(request: google.longrunning.IWaitOperationRequest, callback: google.longrunning.Operations.WaitOperationCallback): void;
+
+ /**
+ * Calls WaitOperation.
+ * @param request WaitOperationRequest message or plain object
+ * @returns Promise
+ */
+ public waitOperation(request: google.longrunning.IWaitOperationRequest): Promise;
+ }
+
+ namespace Operations {
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|listOperations}.
+ * @param error Error, if any
+ * @param [response] ListOperationsResponse
+ */
+ type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|getOperation}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|deleteOperation}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|cancelOperation}.
+ * @param error Error, if any
+ * @param [response] Empty
+ */
+ type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
+
+ /**
+ * Callback as used by {@link google.longrunning.Operations|waitOperation}.
+ * @param error Error, if any
+ * @param [response] Operation
+ */
+ type WaitOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
+ }
+
+ /** Properties of an Operation. */
+ interface IOperation {
+
+ /** Operation name */
+ name?: (string|null);
+
+ /** Operation metadata */
+ metadata?: (google.protobuf.IAny|null);
+
+ /** Operation done */
+ done?: (boolean|null);
+
+ /** Operation error */
+ error?: (google.rpc.IStatus|null);
+
+ /** Operation response */
+ response?: (google.protobuf.IAny|null);
+ }
+
+ /** Represents an Operation. */
+ class Operation implements IOperation {
+
+ /**
+ * Constructs a new Operation.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IOperation);
+
+ /** Operation name. */
+ public name: string;
+
+ /** Operation metadata. */
+ public metadata?: (google.protobuf.IAny|null);
+
+ /** Operation done. */
+ public done: boolean;
+
+ /** Operation error. */
+ public error?: (google.rpc.IStatus|null);
+
+ /** Operation response. */
+ public response?: (google.protobuf.IAny|null);
+
+ /** Operation result. */
+ public result?: ("error"|"response");
+
+ /**
+ * Creates a new Operation instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Operation instance
+ */
+ public static create(properties?: google.longrunning.IOperation): google.longrunning.Operation;
+
+ /**
+ * Encodes the specified Operation message. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
+ * @param message Operation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Operation message, length delimited. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
+ * @param message Operation message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an Operation message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Operation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.Operation;
+
+ /**
+ * Decodes an Operation message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Operation
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.Operation;
+
+ /**
+ * Verifies an Operation message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an Operation message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Operation
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.Operation;
+
+ /**
+ * Creates a plain object from an Operation message. Also converts values to other types if specified.
+ * @param message Operation
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Operation to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Operation
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a GetOperationRequest. */
+ interface IGetOperationRequest {
+
+ /** GetOperationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a GetOperationRequest. */
+ class GetOperationRequest implements IGetOperationRequest {
+
+ /**
+ * Constructs a new GetOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IGetOperationRequest);
+
+ /** GetOperationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new GetOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns GetOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.IGetOperationRequest): google.longrunning.GetOperationRequest;
+
+ /**
+ * Encodes the specified GetOperationRequest message. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
+ * @param message GetOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified GetOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
+ * @param message GetOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a GetOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns GetOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.GetOperationRequest;
+
+ /**
+ * Decodes a GetOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns GetOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.GetOperationRequest;
+
+ /**
+ * Verifies a GetOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a GetOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns GetOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.GetOperationRequest;
+
+ /**
+ * Creates a plain object from a GetOperationRequest message. Also converts values to other types if specified.
+ * @param message GetOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.GetOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this GetOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for GetOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListOperationsRequest. */
+ interface IListOperationsRequest {
+
+ /** ListOperationsRequest name */
+ name?: (string|null);
+
+ /** ListOperationsRequest filter */
+ filter?: (string|null);
+
+ /** ListOperationsRequest pageSize */
+ pageSize?: (number|null);
+
+ /** ListOperationsRequest pageToken */
+ pageToken?: (string|null);
+ }
+
+ /** Represents a ListOperationsRequest. */
+ class ListOperationsRequest implements IListOperationsRequest {
+
+ /**
+ * Constructs a new ListOperationsRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IListOperationsRequest);
+
+ /** ListOperationsRequest name. */
+ public name: string;
+
+ /** ListOperationsRequest filter. */
+ public filter: string;
+
+ /** ListOperationsRequest pageSize. */
+ public pageSize: number;
+
+ /** ListOperationsRequest pageToken. */
+ public pageToken: string;
+
+ /**
+ * Creates a new ListOperationsRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListOperationsRequest instance
+ */
+ public static create(properties?: google.longrunning.IListOperationsRequest): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Encodes the specified ListOperationsRequest message. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
+ * @param message ListOperationsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListOperationsRequest message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
+ * @param message ListOperationsRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListOperationsRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListOperationsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Decodes a ListOperationsRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListOperationsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Verifies a ListOperationsRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListOperationsRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListOperationsRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsRequest;
+
+ /**
+ * Creates a plain object from a ListOperationsRequest message. Also converts values to other types if specified.
+ * @param message ListOperationsRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.ListOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListOperationsRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListOperationsRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a ListOperationsResponse. */
+ interface IListOperationsResponse {
+
+ /** ListOperationsResponse operations */
+ operations?: (google.longrunning.IOperation[]|null);
+
+ /** ListOperationsResponse nextPageToken */
+ nextPageToken?: (string|null);
+ }
+
+ /** Represents a ListOperationsResponse. */
+ class ListOperationsResponse implements IListOperationsResponse {
+
+ /**
+ * Constructs a new ListOperationsResponse.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IListOperationsResponse);
+
+ /** ListOperationsResponse operations. */
+ public operations: google.longrunning.IOperation[];
+
+ /** ListOperationsResponse nextPageToken. */
+ public nextPageToken: string;
+
+ /**
+ * Creates a new ListOperationsResponse instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns ListOperationsResponse instance
+ */
+ public static create(properties?: google.longrunning.IListOperationsResponse): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Encodes the specified ListOperationsResponse message. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
+ * @param message ListOperationsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified ListOperationsResponse message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
+ * @param message ListOperationsResponse message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a ListOperationsResponse message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns ListOperationsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Decodes a ListOperationsResponse message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns ListOperationsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Verifies a ListOperationsResponse message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a ListOperationsResponse message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns ListOperationsResponse
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsResponse;
+
+ /**
+ * Creates a plain object from a ListOperationsResponse message. Also converts values to other types if specified.
+ * @param message ListOperationsResponse
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.ListOperationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this ListOperationsResponse to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for ListOperationsResponse
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a CancelOperationRequest. */
+ interface ICancelOperationRequest {
+
+ /** CancelOperationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a CancelOperationRequest. */
+ class CancelOperationRequest implements ICancelOperationRequest {
+
+ /**
+ * Constructs a new CancelOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.ICancelOperationRequest);
+
+ /** CancelOperationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new CancelOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns CancelOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.ICancelOperationRequest): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Encodes the specified CancelOperationRequest message. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
+ * @param message CancelOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified CancelOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
+ * @param message CancelOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a CancelOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns CancelOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Decodes a CancelOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns CancelOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Verifies a CancelOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a CancelOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns CancelOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.CancelOperationRequest;
+
+ /**
+ * Creates a plain object from a CancelOperationRequest message. Also converts values to other types if specified.
+ * @param message CancelOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.CancelOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this CancelOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for CancelOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a DeleteOperationRequest. */
+ interface IDeleteOperationRequest {
+
+ /** DeleteOperationRequest name */
+ name?: (string|null);
+ }
+
+ /** Represents a DeleteOperationRequest. */
+ class DeleteOperationRequest implements IDeleteOperationRequest {
+
+ /**
+ * Constructs a new DeleteOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IDeleteOperationRequest);
+
+ /** DeleteOperationRequest name. */
+ public name: string;
+
+ /**
+ * Creates a new DeleteOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns DeleteOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.IDeleteOperationRequest): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Encodes the specified DeleteOperationRequest message. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
+ * @param message DeleteOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified DeleteOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
+ * @param message DeleteOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a DeleteOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns DeleteOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Decodes a DeleteOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns DeleteOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Verifies a DeleteOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a DeleteOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns DeleteOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.DeleteOperationRequest;
+
+ /**
+ * Creates a plain object from a DeleteOperationRequest message. Also converts values to other types if specified.
+ * @param message DeleteOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.DeleteOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this DeleteOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for DeleteOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of a WaitOperationRequest. */
+ interface IWaitOperationRequest {
+
+ /** WaitOperationRequest name */
+ name?: (string|null);
+
+ /** WaitOperationRequest timeout */
+ timeout?: (google.protobuf.IDuration|null);
+ }
+
+ /** Represents a WaitOperationRequest. */
+ class WaitOperationRequest implements IWaitOperationRequest {
+
+ /**
+ * Constructs a new WaitOperationRequest.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IWaitOperationRequest);
+
+ /** WaitOperationRequest name. */
+ public name: string;
+
+ /** WaitOperationRequest timeout. */
+ public timeout?: (google.protobuf.IDuration|null);
+
+ /**
+ * Creates a new WaitOperationRequest instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns WaitOperationRequest instance
+ */
+ public static create(properties?: google.longrunning.IWaitOperationRequest): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Encodes the specified WaitOperationRequest message. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
+ * @param message WaitOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified WaitOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
+ * @param message WaitOperationRequest message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a WaitOperationRequest message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns WaitOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Decodes a WaitOperationRequest message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns WaitOperationRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Verifies a WaitOperationRequest message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a WaitOperationRequest message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns WaitOperationRequest
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.WaitOperationRequest;
+
+ /**
+ * Creates a plain object from a WaitOperationRequest message. Also converts values to other types if specified.
+ * @param message WaitOperationRequest
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.WaitOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this WaitOperationRequest to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for WaitOperationRequest
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+
+ /** Properties of an OperationInfo. */
+ interface IOperationInfo {
+
+ /** OperationInfo responseType */
+ responseType?: (string|null);
+
+ /** OperationInfo metadataType */
+ metadataType?: (string|null);
+ }
+
+ /** Represents an OperationInfo. */
+ class OperationInfo implements IOperationInfo {
+
+ /**
+ * Constructs a new OperationInfo.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.longrunning.IOperationInfo);
+
+ /** OperationInfo responseType. */
+ public responseType: string;
+
+ /** OperationInfo metadataType. */
+ public metadataType: string;
+
+ /**
+ * Creates a new OperationInfo instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns OperationInfo instance
+ */
+ public static create(properties?: google.longrunning.IOperationInfo): google.longrunning.OperationInfo;
+
+ /**
+ * Encodes the specified OperationInfo message. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
+ * @param message OperationInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified OperationInfo message, length delimited. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
+ * @param message OperationInfo message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes an OperationInfo message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns OperationInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.OperationInfo;
+
+ /**
+ * Decodes an OperationInfo message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns OperationInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.OperationInfo;
+
+ /**
+ * Verifies an OperationInfo message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates an OperationInfo message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns OperationInfo
+ */
+ public static fromObject(object: { [k: string]: any }): google.longrunning.OperationInfo;
+
+ /**
+ * Creates a plain object from an OperationInfo message. Also converts values to other types if specified.
+ * @param message OperationInfo
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.longrunning.OperationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this OperationInfo to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for OperationInfo
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+
+ /** Namespace rpc. */
+ namespace rpc {
+
+ /** Properties of a Status. */
+ interface IStatus {
+
+ /** Status code */
+ code?: (number|null);
+
+ /** Status message */
+ message?: (string|null);
+
+ /** Status details */
+ details?: (google.protobuf.IAny[]|null);
+ }
+
+ /** Represents a Status. */
+ class Status implements IStatus {
+
+ /**
+ * Constructs a new Status.
+ * @param [properties] Properties to set
+ */
+ constructor(properties?: google.rpc.IStatus);
+
+ /** Status code. */
+ public code: number;
+
+ /** Status message. */
+ public message: string;
+
+ /** Status details. */
+ public details: google.protobuf.IAny[];
+
+ /**
+ * Creates a new Status instance using the specified properties.
+ * @param [properties] Properties to set
+ * @returns Status instance
+ */
+ public static create(properties?: google.rpc.IStatus): google.rpc.Status;
+
+ /**
+ * Encodes the specified Status message. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
+ * @param message Status message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
+ * @param message Status message or plain object to encode
+ * @param [writer] Writer to encode to
+ * @returns Writer
+ */
+ public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
+
+ /**
+ * Decodes a Status message from the specified reader or buffer.
+ * @param reader Reader or buffer to decode from
+ * @param [length] Message length if known beforehand
+ * @returns Status
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.rpc.Status;
+
+ /**
+ * Decodes a Status message from the specified reader or buffer, length delimited.
+ * @param reader Reader or buffer to decode from
+ * @returns Status
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.rpc.Status;
+
+ /**
+ * Verifies a Status message.
+ * @param message Plain object to verify
+ * @returns `null` if valid, otherwise the reason why it is not
+ */
+ public static verify(message: { [k: string]: any }): (string|null);
+
+ /**
+ * Creates a Status message from a plain object. Also converts values to their respective internal types.
+ * @param object Plain object
+ * @returns Status
+ */
+ public static fromObject(object: { [k: string]: any }): google.rpc.Status;
+
+ /**
+ * Creates a plain object from a Status message. Also converts values to other types if specified.
+ * @param message Status
+ * @param [options] Conversion options
+ * @returns Plain object
+ */
+ public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
+
+ /**
+ * Converts this Status to JSON.
+ * @returns JSON object
+ */
+ public toJSON(): { [k: string]: any };
+
+ /**
+ * Gets the default type url for Status
+ * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns The default type url
+ */
+ public static getTypeUrl(typeUrlPrefix?: string): string;
+ }
+ }
+}
diff --git a/packages/google-cloud-gaming/protos/protos.js b/packages/google-cloud-gaming/protos/protos.js
new file mode 100644
index 00000000000..acd1081dece
--- /dev/null
+++ b/packages/google-cloud-gaming/protos/protos.js
@@ -0,0 +1,50548 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
+(function(global, factory) { /* global define, require, module */
+
+ /* AMD */ if (typeof define === 'function' && define.amd)
+ define(["protobufjs/minimal"], factory);
+
+ /* CommonJS */ else if (typeof require === 'function' && typeof module === 'object' && module && module.exports)
+ module.exports = factory(require("google-gax/build/src/protobuf").protobufMinimal);
+
+})(this, function($protobuf) {
+ "use strict";
+
+ // Common aliases
+ var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
+
+ // Exported root namespace
+ var $root = $protobuf.roots._google_cloud_game_servers_protos || ($protobuf.roots._google_cloud_game_servers_protos = {});
+
+ $root.google = (function() {
+
+ /**
+ * Namespace google.
+ * @exports google
+ * @namespace
+ */
+ var google = {};
+
+ google.cloud = (function() {
+
+ /**
+ * Namespace cloud.
+ * @memberof google
+ * @namespace
+ */
+ var cloud = {};
+
+ cloud.gaming = (function() {
+
+ /**
+ * Namespace gaming.
+ * @memberof google.cloud
+ * @namespace
+ */
+ var gaming = {};
+
+ gaming.v1 = (function() {
+
+ /**
+ * Namespace v1.
+ * @memberof google.cloud.gaming
+ * @namespace
+ */
+ var v1 = {};
+
+ v1.OperationMetadata = (function() {
+
+ /**
+ * Properties of an OperationMetadata.
+ * @memberof google.cloud.gaming.v1
+ * @interface IOperationMetadata
+ * @property {google.protobuf.ITimestamp|null} [createTime] OperationMetadata createTime
+ * @property {google.protobuf.ITimestamp|null} [endTime] OperationMetadata endTime
+ * @property {string|null} [target] OperationMetadata target
+ * @property {string|null} [verb] OperationMetadata verb
+ * @property {string|null} [statusMessage] OperationMetadata statusMessage
+ * @property {boolean|null} [requestedCancellation] OperationMetadata requestedCancellation
+ * @property {string|null} [apiVersion] OperationMetadata apiVersion
+ * @property {Array.|null} [unreachable] OperationMetadata unreachable
+ * @property {Object.|null} [operationStatus] OperationMetadata operationStatus
+ */
+
+ /**
+ * Constructs a new OperationMetadata.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents an OperationMetadata.
+ * @implements IOperationMetadata
+ * @constructor
+ * @param {google.cloud.gaming.v1.IOperationMetadata=} [properties] Properties to set
+ */
+ function OperationMetadata(properties) {
+ this.unreachable = [];
+ this.operationStatus = {};
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * OperationMetadata createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @instance
+ */
+ OperationMetadata.prototype.createTime = null;
+
+ /**
+ * OperationMetadata endTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} endTime
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @instance
+ */
+ OperationMetadata.prototype.endTime = null;
+
+ /**
+ * OperationMetadata target.
+ * @member {string} target
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @instance
+ */
+ OperationMetadata.prototype.target = "";
+
+ /**
+ * OperationMetadata verb.
+ * @member {string} verb
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @instance
+ */
+ OperationMetadata.prototype.verb = "";
+
+ /**
+ * OperationMetadata statusMessage.
+ * @member {string} statusMessage
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @instance
+ */
+ OperationMetadata.prototype.statusMessage = "";
+
+ /**
+ * OperationMetadata requestedCancellation.
+ * @member {boolean} requestedCancellation
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @instance
+ */
+ OperationMetadata.prototype.requestedCancellation = false;
+
+ /**
+ * OperationMetadata apiVersion.
+ * @member {string} apiVersion
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @instance
+ */
+ OperationMetadata.prototype.apiVersion = "";
+
+ /**
+ * OperationMetadata unreachable.
+ * @member {Array.} unreachable
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @instance
+ */
+ OperationMetadata.prototype.unreachable = $util.emptyArray;
+
+ /**
+ * OperationMetadata operationStatus.
+ * @member {Object.} operationStatus
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @instance
+ */
+ OperationMetadata.prototype.operationStatus = $util.emptyObject;
+
+ /**
+ * Creates a new OperationMetadata instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @static
+ * @param {google.cloud.gaming.v1.IOperationMetadata=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.OperationMetadata} OperationMetadata instance
+ */
+ OperationMetadata.create = function create(properties) {
+ return new OperationMetadata(properties);
+ };
+
+ /**
+ * Encodes the specified OperationMetadata message. Does not implicitly {@link google.cloud.gaming.v1.OperationMetadata.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @static
+ * @param {google.cloud.gaming.v1.IOperationMetadata} message OperationMetadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OperationMetadata.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.endTime != null && Object.hasOwnProperty.call(message, "endTime"))
+ $root.google.protobuf.Timestamp.encode(message.endTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.target != null && Object.hasOwnProperty.call(message, "target"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.target);
+ if (message.verb != null && Object.hasOwnProperty.call(message, "verb"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.verb);
+ if (message.statusMessage != null && Object.hasOwnProperty.call(message, "statusMessage"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.statusMessage);
+ if (message.requestedCancellation != null && Object.hasOwnProperty.call(message, "requestedCancellation"))
+ writer.uint32(/* id 6, wireType 0 =*/48).bool(message.requestedCancellation);
+ if (message.apiVersion != null && Object.hasOwnProperty.call(message, "apiVersion"))
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.apiVersion);
+ if (message.unreachable != null && message.unreachable.length)
+ for (var i = 0; i < message.unreachable.length; ++i)
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.unreachable[i]);
+ if (message.operationStatus != null && Object.hasOwnProperty.call(message, "operationStatus"))
+ for (var keys = Object.keys(message.operationStatus), i = 0; i < keys.length; ++i) {
+ writer.uint32(/* id 9, wireType 2 =*/74).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
+ $root.google.cloud.gaming.v1.OperationStatus.encode(message.operationStatus[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
+ }
+ return writer;
+ };
+
+ /**
+ * Encodes the specified OperationMetadata message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.OperationMetadata.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @static
+ * @param {google.cloud.gaming.v1.IOperationMetadata} message OperationMetadata message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OperationMetadata.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an OperationMetadata message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.OperationMetadata} OperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OperationMetadata.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.OperationMetadata(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.target = reader.string();
+ break;
+ }
+ case 4: {
+ message.verb = reader.string();
+ break;
+ }
+ case 5: {
+ message.statusMessage = reader.string();
+ break;
+ }
+ case 6: {
+ message.requestedCancellation = reader.bool();
+ break;
+ }
+ case 7: {
+ message.apiVersion = reader.string();
+ break;
+ }
+ case 8: {
+ if (!(message.unreachable && message.unreachable.length))
+ message.unreachable = [];
+ message.unreachable.push(reader.string());
+ break;
+ }
+ case 9: {
+ if (message.operationStatus === $util.emptyObject)
+ message.operationStatus = {};
+ var end2 = reader.uint32() + reader.pos;
+ key = "";
+ value = null;
+ while (reader.pos < end2) {
+ var tag2 = reader.uint32();
+ switch (tag2 >>> 3) {
+ case 1:
+ key = reader.string();
+ break;
+ case 2:
+ value = $root.google.cloud.gaming.v1.OperationStatus.decode(reader, reader.uint32());
+ break;
+ default:
+ reader.skipType(tag2 & 7);
+ break;
+ }
+ }
+ message.operationStatus[key] = value;
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an OperationMetadata message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.OperationMetadata} OperationMetadata
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OperationMetadata.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an OperationMetadata message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ OperationMetadata.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.endTime != null && message.hasOwnProperty("endTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.endTime);
+ if (error)
+ return "endTime." + error;
+ }
+ if (message.target != null && message.hasOwnProperty("target"))
+ if (!$util.isString(message.target))
+ return "target: string expected";
+ if (message.verb != null && message.hasOwnProperty("verb"))
+ if (!$util.isString(message.verb))
+ return "verb: string expected";
+ if (message.statusMessage != null && message.hasOwnProperty("statusMessage"))
+ if (!$util.isString(message.statusMessage))
+ return "statusMessage: string expected";
+ if (message.requestedCancellation != null && message.hasOwnProperty("requestedCancellation"))
+ if (typeof message.requestedCancellation !== "boolean")
+ return "requestedCancellation: boolean expected";
+ if (message.apiVersion != null && message.hasOwnProperty("apiVersion"))
+ if (!$util.isString(message.apiVersion))
+ return "apiVersion: string expected";
+ if (message.unreachable != null && message.hasOwnProperty("unreachable")) {
+ if (!Array.isArray(message.unreachable))
+ return "unreachable: array expected";
+ for (var i = 0; i < message.unreachable.length; ++i)
+ if (!$util.isString(message.unreachable[i]))
+ return "unreachable: string[] expected";
+ }
+ if (message.operationStatus != null && message.hasOwnProperty("operationStatus")) {
+ if (!$util.isObject(message.operationStatus))
+ return "operationStatus: object expected";
+ var key = Object.keys(message.operationStatus);
+ for (var i = 0; i < key.length; ++i) {
+ var error = $root.google.cloud.gaming.v1.OperationStatus.verify(message.operationStatus[key[i]]);
+ if (error)
+ return "operationStatus." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates an OperationMetadata message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.OperationMetadata} OperationMetadata
+ */
+ OperationMetadata.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.OperationMetadata)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.OperationMetadata();
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.gaming.v1.OperationMetadata.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ if (object.endTime != null) {
+ if (typeof object.endTime !== "object")
+ throw TypeError(".google.cloud.gaming.v1.OperationMetadata.endTime: object expected");
+ message.endTime = $root.google.protobuf.Timestamp.fromObject(object.endTime);
+ }
+ if (object.target != null)
+ message.target = String(object.target);
+ if (object.verb != null)
+ message.verb = String(object.verb);
+ if (object.statusMessage != null)
+ message.statusMessage = String(object.statusMessage);
+ if (object.requestedCancellation != null)
+ message.requestedCancellation = Boolean(object.requestedCancellation);
+ if (object.apiVersion != null)
+ message.apiVersion = String(object.apiVersion);
+ if (object.unreachable) {
+ if (!Array.isArray(object.unreachable))
+ throw TypeError(".google.cloud.gaming.v1.OperationMetadata.unreachable: array expected");
+ message.unreachable = [];
+ for (var i = 0; i < object.unreachable.length; ++i)
+ message.unreachable[i] = String(object.unreachable[i]);
+ }
+ if (object.operationStatus) {
+ if (typeof object.operationStatus !== "object")
+ throw TypeError(".google.cloud.gaming.v1.OperationMetadata.operationStatus: object expected");
+ message.operationStatus = {};
+ for (var keys = Object.keys(object.operationStatus), i = 0; i < keys.length; ++i) {
+ if (typeof object.operationStatus[keys[i]] !== "object")
+ throw TypeError(".google.cloud.gaming.v1.OperationMetadata.operationStatus: object expected");
+ message.operationStatus[keys[i]] = $root.google.cloud.gaming.v1.OperationStatus.fromObject(object.operationStatus[keys[i]]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an OperationMetadata message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @static
+ * @param {google.cloud.gaming.v1.OperationMetadata} message OperationMetadata
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ OperationMetadata.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.unreachable = [];
+ if (options.objects || options.defaults)
+ object.operationStatus = {};
+ if (options.defaults) {
+ object.createTime = null;
+ object.endTime = null;
+ object.target = "";
+ object.verb = "";
+ object.statusMessage = "";
+ object.requestedCancellation = false;
+ object.apiVersion = "";
+ }
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.endTime != null && message.hasOwnProperty("endTime"))
+ object.endTime = $root.google.protobuf.Timestamp.toObject(message.endTime, options);
+ if (message.target != null && message.hasOwnProperty("target"))
+ object.target = message.target;
+ if (message.verb != null && message.hasOwnProperty("verb"))
+ object.verb = message.verb;
+ if (message.statusMessage != null && message.hasOwnProperty("statusMessage"))
+ object.statusMessage = message.statusMessage;
+ if (message.requestedCancellation != null && message.hasOwnProperty("requestedCancellation"))
+ object.requestedCancellation = message.requestedCancellation;
+ if (message.apiVersion != null && message.hasOwnProperty("apiVersion"))
+ object.apiVersion = message.apiVersion;
+ if (message.unreachable && message.unreachable.length) {
+ object.unreachable = [];
+ for (var j = 0; j < message.unreachable.length; ++j)
+ object.unreachable[j] = message.unreachable[j];
+ }
+ var keys2;
+ if (message.operationStatus && (keys2 = Object.keys(message.operationStatus)).length) {
+ object.operationStatus = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.operationStatus[keys2[j]] = $root.google.cloud.gaming.v1.OperationStatus.toObject(message.operationStatus[keys2[j]], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this OperationMetadata to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ OperationMetadata.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for OperationMetadata
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.OperationMetadata
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ OperationMetadata.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.OperationMetadata";
+ };
+
+ return OperationMetadata;
+ })();
+
+ v1.OperationStatus = (function() {
+
+ /**
+ * Properties of an OperationStatus.
+ * @memberof google.cloud.gaming.v1
+ * @interface IOperationStatus
+ * @property {boolean|null} [done] OperationStatus done
+ * @property {google.cloud.gaming.v1.OperationStatus.ErrorCode|null} [errorCode] OperationStatus errorCode
+ * @property {string|null} [errorMessage] OperationStatus errorMessage
+ */
+
+ /**
+ * Constructs a new OperationStatus.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents an OperationStatus.
+ * @implements IOperationStatus
+ * @constructor
+ * @param {google.cloud.gaming.v1.IOperationStatus=} [properties] Properties to set
+ */
+ function OperationStatus(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * OperationStatus done.
+ * @member {boolean} done
+ * @memberof google.cloud.gaming.v1.OperationStatus
+ * @instance
+ */
+ OperationStatus.prototype.done = false;
+
+ /**
+ * OperationStatus errorCode.
+ * @member {google.cloud.gaming.v1.OperationStatus.ErrorCode} errorCode
+ * @memberof google.cloud.gaming.v1.OperationStatus
+ * @instance
+ */
+ OperationStatus.prototype.errorCode = 0;
+
+ /**
+ * OperationStatus errorMessage.
+ * @member {string} errorMessage
+ * @memberof google.cloud.gaming.v1.OperationStatus
+ * @instance
+ */
+ OperationStatus.prototype.errorMessage = "";
+
+ /**
+ * Creates a new OperationStatus instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.OperationStatus
+ * @static
+ * @param {google.cloud.gaming.v1.IOperationStatus=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.OperationStatus} OperationStatus instance
+ */
+ OperationStatus.create = function create(properties) {
+ return new OperationStatus(properties);
+ };
+
+ /**
+ * Encodes the specified OperationStatus message. Does not implicitly {@link google.cloud.gaming.v1.OperationStatus.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.OperationStatus
+ * @static
+ * @param {google.cloud.gaming.v1.IOperationStatus} message OperationStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OperationStatus.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.done != null && Object.hasOwnProperty.call(message, "done"))
+ writer.uint32(/* id 1, wireType 0 =*/8).bool(message.done);
+ if (message.errorCode != null && Object.hasOwnProperty.call(message, "errorCode"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.errorCode);
+ if (message.errorMessage != null && Object.hasOwnProperty.call(message, "errorMessage"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.errorMessage);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified OperationStatus message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.OperationStatus.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.OperationStatus
+ * @static
+ * @param {google.cloud.gaming.v1.IOperationStatus} message OperationStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ OperationStatus.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an OperationStatus message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.OperationStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.OperationStatus} OperationStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OperationStatus.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.OperationStatus();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.done = reader.bool();
+ break;
+ }
+ case 2: {
+ message.errorCode = reader.int32();
+ break;
+ }
+ case 3: {
+ message.errorMessage = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an OperationStatus message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.OperationStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.OperationStatus} OperationStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ OperationStatus.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an OperationStatus message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.OperationStatus
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ OperationStatus.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.done != null && message.hasOwnProperty("done"))
+ if (typeof message.done !== "boolean")
+ return "done: boolean expected";
+ if (message.errorCode != null && message.hasOwnProperty("errorCode"))
+ switch (message.errorCode) {
+ default:
+ return "errorCode: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ break;
+ }
+ if (message.errorMessage != null && message.hasOwnProperty("errorMessage"))
+ if (!$util.isString(message.errorMessage))
+ return "errorMessage: string expected";
+ return null;
+ };
+
+ /**
+ * Creates an OperationStatus message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.OperationStatus
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.OperationStatus} OperationStatus
+ */
+ OperationStatus.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.OperationStatus)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.OperationStatus();
+ if (object.done != null)
+ message.done = Boolean(object.done);
+ switch (object.errorCode) {
+ default:
+ if (typeof object.errorCode === "number") {
+ message.errorCode = object.errorCode;
+ break;
+ }
+ break;
+ case "ERROR_CODE_UNSPECIFIED":
+ case 0:
+ message.errorCode = 0;
+ break;
+ case "INTERNAL_ERROR":
+ case 1:
+ message.errorCode = 1;
+ break;
+ case "PERMISSION_DENIED":
+ case 2:
+ message.errorCode = 2;
+ break;
+ case "CLUSTER_CONNECTION":
+ case 3:
+ message.errorCode = 3;
+ break;
+ }
+ if (object.errorMessage != null)
+ message.errorMessage = String(object.errorMessage);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an OperationStatus message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.OperationStatus
+ * @static
+ * @param {google.cloud.gaming.v1.OperationStatus} message OperationStatus
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ OperationStatus.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.done = false;
+ object.errorCode = options.enums === String ? "ERROR_CODE_UNSPECIFIED" : 0;
+ object.errorMessage = "";
+ }
+ if (message.done != null && message.hasOwnProperty("done"))
+ object.done = message.done;
+ if (message.errorCode != null && message.hasOwnProperty("errorCode"))
+ object.errorCode = options.enums === String ? $root.google.cloud.gaming.v1.OperationStatus.ErrorCode[message.errorCode] === undefined ? message.errorCode : $root.google.cloud.gaming.v1.OperationStatus.ErrorCode[message.errorCode] : message.errorCode;
+ if (message.errorMessage != null && message.hasOwnProperty("errorMessage"))
+ object.errorMessage = message.errorMessage;
+ return object;
+ };
+
+ /**
+ * Converts this OperationStatus to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.OperationStatus
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ OperationStatus.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for OperationStatus
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.OperationStatus
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ OperationStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.OperationStatus";
+ };
+
+ /**
+ * ErrorCode enum.
+ * @name google.cloud.gaming.v1.OperationStatus.ErrorCode
+ * @enum {number}
+ * @property {number} ERROR_CODE_UNSPECIFIED=0 ERROR_CODE_UNSPECIFIED value
+ * @property {number} INTERNAL_ERROR=1 INTERNAL_ERROR value
+ * @property {number} PERMISSION_DENIED=2 PERMISSION_DENIED value
+ * @property {number} CLUSTER_CONNECTION=3 CLUSTER_CONNECTION value
+ */
+ OperationStatus.ErrorCode = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "ERROR_CODE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "INTERNAL_ERROR"] = 1;
+ values[valuesById[2] = "PERMISSION_DENIED"] = 2;
+ values[valuesById[3] = "CLUSTER_CONNECTION"] = 3;
+ return values;
+ })();
+
+ return OperationStatus;
+ })();
+
+ v1.LabelSelector = (function() {
+
+ /**
+ * Properties of a LabelSelector.
+ * @memberof google.cloud.gaming.v1
+ * @interface ILabelSelector
+ * @property {Object.|null} [labels] LabelSelector labels
+ */
+
+ /**
+ * Constructs a new LabelSelector.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a LabelSelector.
+ * @implements ILabelSelector
+ * @constructor
+ * @param {google.cloud.gaming.v1.ILabelSelector=} [properties] Properties to set
+ */
+ function LabelSelector(properties) {
+ this.labels = {};
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * LabelSelector labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.gaming.v1.LabelSelector
+ * @instance
+ */
+ LabelSelector.prototype.labels = $util.emptyObject;
+
+ /**
+ * Creates a new LabelSelector instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.LabelSelector
+ * @static
+ * @param {google.cloud.gaming.v1.ILabelSelector=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.LabelSelector} LabelSelector instance
+ */
+ LabelSelector.create = function create(properties) {
+ return new LabelSelector(properties);
+ };
+
+ /**
+ * Encodes the specified LabelSelector message. Does not implicitly {@link google.cloud.gaming.v1.LabelSelector.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.LabelSelector
+ * @static
+ * @param {google.cloud.gaming.v1.ILabelSelector} message LabelSelector message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ LabelSelector.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.labels != null && Object.hasOwnProperty.call(message, "labels"))
+ for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified LabelSelector message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.LabelSelector.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.LabelSelector
+ * @static
+ * @param {google.cloud.gaming.v1.ILabelSelector} message LabelSelector message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ LabelSelector.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a LabelSelector message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.LabelSelector
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.LabelSelector} LabelSelector
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ LabelSelector.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.LabelSelector(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (message.labels === $util.emptyObject)
+ message.labels = {};
+ var end2 = reader.uint32() + reader.pos;
+ key = "";
+ value = "";
+ while (reader.pos < end2) {
+ var tag2 = reader.uint32();
+ switch (tag2 >>> 3) {
+ case 1:
+ key = reader.string();
+ break;
+ case 2:
+ value = reader.string();
+ break;
+ default:
+ reader.skipType(tag2 & 7);
+ break;
+ }
+ }
+ message.labels[key] = value;
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a LabelSelector message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.LabelSelector
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.LabelSelector} LabelSelector
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ LabelSelector.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a LabelSelector message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.LabelSelector
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ LabelSelector.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.labels != null && message.hasOwnProperty("labels")) {
+ if (!$util.isObject(message.labels))
+ return "labels: object expected";
+ var key = Object.keys(message.labels);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.labels[key[i]]))
+ return "labels: string{k:string} expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a LabelSelector message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.LabelSelector
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.LabelSelector} LabelSelector
+ */
+ LabelSelector.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.LabelSelector)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.LabelSelector();
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.gaming.v1.LabelSelector.labels: object expected");
+ message.labels = {};
+ for (var keys = Object.keys(object.labels), i = 0; i < keys.length; ++i)
+ message.labels[keys[i]] = String(object.labels[keys[i]]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a LabelSelector message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.LabelSelector
+ * @static
+ * @param {google.cloud.gaming.v1.LabelSelector} message LabelSelector
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ LabelSelector.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults)
+ object.labels = {};
+ var keys2;
+ if (message.labels && (keys2 = Object.keys(message.labels)).length) {
+ object.labels = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.labels[keys2[j]] = message.labels[keys2[j]];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this LabelSelector to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.LabelSelector
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ LabelSelector.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for LabelSelector
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.LabelSelector
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ LabelSelector.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.LabelSelector";
+ };
+
+ return LabelSelector;
+ })();
+
+ v1.RealmSelector = (function() {
+
+ /**
+ * Properties of a RealmSelector.
+ * @memberof google.cloud.gaming.v1
+ * @interface IRealmSelector
+ * @property {Array.|null} [realms] RealmSelector realms
+ */
+
+ /**
+ * Constructs a new RealmSelector.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a RealmSelector.
+ * @implements IRealmSelector
+ * @constructor
+ * @param {google.cloud.gaming.v1.IRealmSelector=} [properties] Properties to set
+ */
+ function RealmSelector(properties) {
+ this.realms = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * RealmSelector realms.
+ * @member {Array.} realms
+ * @memberof google.cloud.gaming.v1.RealmSelector
+ * @instance
+ */
+ RealmSelector.prototype.realms = $util.emptyArray;
+
+ /**
+ * Creates a new RealmSelector instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.RealmSelector
+ * @static
+ * @param {google.cloud.gaming.v1.IRealmSelector=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.RealmSelector} RealmSelector instance
+ */
+ RealmSelector.create = function create(properties) {
+ return new RealmSelector(properties);
+ };
+
+ /**
+ * Encodes the specified RealmSelector message. Does not implicitly {@link google.cloud.gaming.v1.RealmSelector.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.RealmSelector
+ * @static
+ * @param {google.cloud.gaming.v1.IRealmSelector} message RealmSelector message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ RealmSelector.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.realms != null && message.realms.length)
+ for (var i = 0; i < message.realms.length; ++i)
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.realms[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified RealmSelector message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.RealmSelector.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.RealmSelector
+ * @static
+ * @param {google.cloud.gaming.v1.IRealmSelector} message RealmSelector message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ RealmSelector.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a RealmSelector message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.RealmSelector
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.RealmSelector} RealmSelector
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ RealmSelector.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.RealmSelector();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.realms && message.realms.length))
+ message.realms = [];
+ message.realms.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a RealmSelector message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.RealmSelector
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.RealmSelector} RealmSelector
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ RealmSelector.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a RealmSelector message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.RealmSelector
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ RealmSelector.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.realms != null && message.hasOwnProperty("realms")) {
+ if (!Array.isArray(message.realms))
+ return "realms: array expected";
+ for (var i = 0; i < message.realms.length; ++i)
+ if (!$util.isString(message.realms[i]))
+ return "realms: string[] expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a RealmSelector message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.RealmSelector
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.RealmSelector} RealmSelector
+ */
+ RealmSelector.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.RealmSelector)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.RealmSelector();
+ if (object.realms) {
+ if (!Array.isArray(object.realms))
+ throw TypeError(".google.cloud.gaming.v1.RealmSelector.realms: array expected");
+ message.realms = [];
+ for (var i = 0; i < object.realms.length; ++i)
+ message.realms[i] = String(object.realms[i]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a RealmSelector message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.RealmSelector
+ * @static
+ * @param {google.cloud.gaming.v1.RealmSelector} message RealmSelector
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ RealmSelector.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.realms = [];
+ if (message.realms && message.realms.length) {
+ object.realms = [];
+ for (var j = 0; j < message.realms.length; ++j)
+ object.realms[j] = message.realms[j];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this RealmSelector to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.RealmSelector
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ RealmSelector.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for RealmSelector
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.RealmSelector
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ RealmSelector.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.RealmSelector";
+ };
+
+ return RealmSelector;
+ })();
+
+ v1.Schedule = (function() {
+
+ /**
+ * Properties of a Schedule.
+ * @memberof google.cloud.gaming.v1
+ * @interface ISchedule
+ * @property {google.protobuf.ITimestamp|null} [startTime] Schedule startTime
+ * @property {google.protobuf.ITimestamp|null} [endTime] Schedule endTime
+ * @property {google.protobuf.IDuration|null} [cronJobDuration] Schedule cronJobDuration
+ * @property {string|null} [cronSpec] Schedule cronSpec
+ */
+
+ /**
+ * Constructs a new Schedule.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a Schedule.
+ * @implements ISchedule
+ * @constructor
+ * @param {google.cloud.gaming.v1.ISchedule=} [properties] Properties to set
+ */
+ function Schedule(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * Schedule startTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} startTime
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @instance
+ */
+ Schedule.prototype.startTime = null;
+
+ /**
+ * Schedule endTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} endTime
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @instance
+ */
+ Schedule.prototype.endTime = null;
+
+ /**
+ * Schedule cronJobDuration.
+ * @member {google.protobuf.IDuration|null|undefined} cronJobDuration
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @instance
+ */
+ Schedule.prototype.cronJobDuration = null;
+
+ /**
+ * Schedule cronSpec.
+ * @member {string} cronSpec
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @instance
+ */
+ Schedule.prototype.cronSpec = "";
+
+ /**
+ * Creates a new Schedule instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @static
+ * @param {google.cloud.gaming.v1.ISchedule=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.Schedule} Schedule instance
+ */
+ Schedule.create = function create(properties) {
+ return new Schedule(properties);
+ };
+
+ /**
+ * Encodes the specified Schedule message. Does not implicitly {@link google.cloud.gaming.v1.Schedule.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @static
+ * @param {google.cloud.gaming.v1.ISchedule} message Schedule message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Schedule.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.startTime != null && Object.hasOwnProperty.call(message, "startTime"))
+ $root.google.protobuf.Timestamp.encode(message.startTime, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.endTime != null && Object.hasOwnProperty.call(message, "endTime"))
+ $root.google.protobuf.Timestamp.encode(message.endTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.cronJobDuration != null && Object.hasOwnProperty.call(message, "cronJobDuration"))
+ $root.google.protobuf.Duration.encode(message.cronJobDuration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.cronSpec != null && Object.hasOwnProperty.call(message, "cronSpec"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.cronSpec);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified Schedule message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.Schedule.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @static
+ * @param {google.cloud.gaming.v1.ISchedule} message Schedule message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ Schedule.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a Schedule message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.Schedule} Schedule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Schedule.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.Schedule();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.startTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.endTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.cronJobDuration = $root.google.protobuf.Duration.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.cronSpec = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a Schedule message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.Schedule} Schedule
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ Schedule.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a Schedule message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ Schedule.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.startTime != null && message.hasOwnProperty("startTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.startTime);
+ if (error)
+ return "startTime." + error;
+ }
+ if (message.endTime != null && message.hasOwnProperty("endTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.endTime);
+ if (error)
+ return "endTime." + error;
+ }
+ if (message.cronJobDuration != null && message.hasOwnProperty("cronJobDuration")) {
+ var error = $root.google.protobuf.Duration.verify(message.cronJobDuration);
+ if (error)
+ return "cronJobDuration." + error;
+ }
+ if (message.cronSpec != null && message.hasOwnProperty("cronSpec"))
+ if (!$util.isString(message.cronSpec))
+ return "cronSpec: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a Schedule message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.Schedule} Schedule
+ */
+ Schedule.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.Schedule)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.Schedule();
+ if (object.startTime != null) {
+ if (typeof object.startTime !== "object")
+ throw TypeError(".google.cloud.gaming.v1.Schedule.startTime: object expected");
+ message.startTime = $root.google.protobuf.Timestamp.fromObject(object.startTime);
+ }
+ if (object.endTime != null) {
+ if (typeof object.endTime !== "object")
+ throw TypeError(".google.cloud.gaming.v1.Schedule.endTime: object expected");
+ message.endTime = $root.google.protobuf.Timestamp.fromObject(object.endTime);
+ }
+ if (object.cronJobDuration != null) {
+ if (typeof object.cronJobDuration !== "object")
+ throw TypeError(".google.cloud.gaming.v1.Schedule.cronJobDuration: object expected");
+ message.cronJobDuration = $root.google.protobuf.Duration.fromObject(object.cronJobDuration);
+ }
+ if (object.cronSpec != null)
+ message.cronSpec = String(object.cronSpec);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a Schedule message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @static
+ * @param {google.cloud.gaming.v1.Schedule} message Schedule
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ Schedule.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.startTime = null;
+ object.endTime = null;
+ object.cronJobDuration = null;
+ object.cronSpec = "";
+ }
+ if (message.startTime != null && message.hasOwnProperty("startTime"))
+ object.startTime = $root.google.protobuf.Timestamp.toObject(message.startTime, options);
+ if (message.endTime != null && message.hasOwnProperty("endTime"))
+ object.endTime = $root.google.protobuf.Timestamp.toObject(message.endTime, options);
+ if (message.cronJobDuration != null && message.hasOwnProperty("cronJobDuration"))
+ object.cronJobDuration = $root.google.protobuf.Duration.toObject(message.cronJobDuration, options);
+ if (message.cronSpec != null && message.hasOwnProperty("cronSpec"))
+ object.cronSpec = message.cronSpec;
+ return object;
+ };
+
+ /**
+ * Converts this Schedule to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ Schedule.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for Schedule
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.Schedule
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ Schedule.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.Schedule";
+ };
+
+ return Schedule;
+ })();
+
+ v1.SpecSource = (function() {
+
+ /**
+ * Properties of a SpecSource.
+ * @memberof google.cloud.gaming.v1
+ * @interface ISpecSource
+ * @property {string|null} [gameServerConfigName] SpecSource gameServerConfigName
+ * @property {string|null} [name] SpecSource name
+ */
+
+ /**
+ * Constructs a new SpecSource.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a SpecSource.
+ * @implements ISpecSource
+ * @constructor
+ * @param {google.cloud.gaming.v1.ISpecSource=} [properties] Properties to set
+ */
+ function SpecSource(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * SpecSource gameServerConfigName.
+ * @member {string} gameServerConfigName
+ * @memberof google.cloud.gaming.v1.SpecSource
+ * @instance
+ */
+ SpecSource.prototype.gameServerConfigName = "";
+
+ /**
+ * SpecSource name.
+ * @member {string} name
+ * @memberof google.cloud.gaming.v1.SpecSource
+ * @instance
+ */
+ SpecSource.prototype.name = "";
+
+ /**
+ * Creates a new SpecSource instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.SpecSource
+ * @static
+ * @param {google.cloud.gaming.v1.ISpecSource=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.SpecSource} SpecSource instance
+ */
+ SpecSource.create = function create(properties) {
+ return new SpecSource(properties);
+ };
+
+ /**
+ * Encodes the specified SpecSource message. Does not implicitly {@link google.cloud.gaming.v1.SpecSource.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.SpecSource
+ * @static
+ * @param {google.cloud.gaming.v1.ISpecSource} message SpecSource message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SpecSource.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.gameServerConfigName != null && Object.hasOwnProperty.call(message, "gameServerConfigName"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.gameServerConfigName);
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified SpecSource message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.SpecSource.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.SpecSource
+ * @static
+ * @param {google.cloud.gaming.v1.ISpecSource} message SpecSource message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ SpecSource.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a SpecSource message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.SpecSource
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.SpecSource} SpecSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SpecSource.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.SpecSource();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.gameServerConfigName = reader.string();
+ break;
+ }
+ case 2: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a SpecSource message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.SpecSource
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.SpecSource} SpecSource
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ SpecSource.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a SpecSource message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.SpecSource
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ SpecSource.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.gameServerConfigName != null && message.hasOwnProperty("gameServerConfigName"))
+ if (!$util.isString(message.gameServerConfigName))
+ return "gameServerConfigName: string expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a SpecSource message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.SpecSource
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.SpecSource} SpecSource
+ */
+ SpecSource.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.SpecSource)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.SpecSource();
+ if (object.gameServerConfigName != null)
+ message.gameServerConfigName = String(object.gameServerConfigName);
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a SpecSource message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.SpecSource
+ * @static
+ * @param {google.cloud.gaming.v1.SpecSource} message SpecSource
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ SpecSource.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.gameServerConfigName = "";
+ object.name = "";
+ }
+ if (message.gameServerConfigName != null && message.hasOwnProperty("gameServerConfigName"))
+ object.gameServerConfigName = message.gameServerConfigName;
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this SpecSource to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.SpecSource
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ SpecSource.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for SpecSource
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.SpecSource
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ SpecSource.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.SpecSource";
+ };
+
+ return SpecSource;
+ })();
+
+ v1.TargetDetails = (function() {
+
+ /**
+ * Properties of a TargetDetails.
+ * @memberof google.cloud.gaming.v1
+ * @interface ITargetDetails
+ * @property {string|null} [gameServerClusterName] TargetDetails gameServerClusterName
+ * @property {string|null} [gameServerDeploymentName] TargetDetails gameServerDeploymentName
+ * @property {Array.|null} [fleetDetails] TargetDetails fleetDetails
+ */
+
+ /**
+ * Constructs a new TargetDetails.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a TargetDetails.
+ * @implements ITargetDetails
+ * @constructor
+ * @param {google.cloud.gaming.v1.ITargetDetails=} [properties] Properties to set
+ */
+ function TargetDetails(properties) {
+ this.fleetDetails = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * TargetDetails gameServerClusterName.
+ * @member {string} gameServerClusterName
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @instance
+ */
+ TargetDetails.prototype.gameServerClusterName = "";
+
+ /**
+ * TargetDetails gameServerDeploymentName.
+ * @member {string} gameServerDeploymentName
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @instance
+ */
+ TargetDetails.prototype.gameServerDeploymentName = "";
+
+ /**
+ * TargetDetails fleetDetails.
+ * @member {Array.} fleetDetails
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @instance
+ */
+ TargetDetails.prototype.fleetDetails = $util.emptyArray;
+
+ /**
+ * Creates a new TargetDetails instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @static
+ * @param {google.cloud.gaming.v1.ITargetDetails=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.TargetDetails} TargetDetails instance
+ */
+ TargetDetails.create = function create(properties) {
+ return new TargetDetails(properties);
+ };
+
+ /**
+ * Encodes the specified TargetDetails message. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @static
+ * @param {google.cloud.gaming.v1.ITargetDetails} message TargetDetails message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetDetails.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.gameServerClusterName != null && Object.hasOwnProperty.call(message, "gameServerClusterName"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.gameServerClusterName);
+ if (message.gameServerDeploymentName != null && Object.hasOwnProperty.call(message, "gameServerDeploymentName"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.gameServerDeploymentName);
+ if (message.fleetDetails != null && message.fleetDetails.length)
+ for (var i = 0; i < message.fleetDetails.length; ++i)
+ $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.encode(message.fleetDetails[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified TargetDetails message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @static
+ * @param {google.cloud.gaming.v1.ITargetDetails} message TargetDetails message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetDetails.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a TargetDetails message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.TargetDetails} TargetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetDetails.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.TargetDetails();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.gameServerClusterName = reader.string();
+ break;
+ }
+ case 2: {
+ message.gameServerDeploymentName = reader.string();
+ break;
+ }
+ case 3: {
+ if (!(message.fleetDetails && message.fleetDetails.length))
+ message.fleetDetails = [];
+ message.fleetDetails.push($root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a TargetDetails message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.TargetDetails} TargetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetDetails.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a TargetDetails message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ TargetDetails.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.gameServerClusterName != null && message.hasOwnProperty("gameServerClusterName"))
+ if (!$util.isString(message.gameServerClusterName))
+ return "gameServerClusterName: string expected";
+ if (message.gameServerDeploymentName != null && message.hasOwnProperty("gameServerDeploymentName"))
+ if (!$util.isString(message.gameServerDeploymentName))
+ return "gameServerDeploymentName: string expected";
+ if (message.fleetDetails != null && message.hasOwnProperty("fleetDetails")) {
+ if (!Array.isArray(message.fleetDetails))
+ return "fleetDetails: array expected";
+ for (var i = 0; i < message.fleetDetails.length; ++i) {
+ var error = $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.verify(message.fleetDetails[i]);
+ if (error)
+ return "fleetDetails." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a TargetDetails message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.TargetDetails} TargetDetails
+ */
+ TargetDetails.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.TargetDetails)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.TargetDetails();
+ if (object.gameServerClusterName != null)
+ message.gameServerClusterName = String(object.gameServerClusterName);
+ if (object.gameServerDeploymentName != null)
+ message.gameServerDeploymentName = String(object.gameServerDeploymentName);
+ if (object.fleetDetails) {
+ if (!Array.isArray(object.fleetDetails))
+ throw TypeError(".google.cloud.gaming.v1.TargetDetails.fleetDetails: array expected");
+ message.fleetDetails = [];
+ for (var i = 0; i < object.fleetDetails.length; ++i) {
+ if (typeof object.fleetDetails[i] !== "object")
+ throw TypeError(".google.cloud.gaming.v1.TargetDetails.fleetDetails: object expected");
+ message.fleetDetails[i] = $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.fromObject(object.fleetDetails[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a TargetDetails message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @static
+ * @param {google.cloud.gaming.v1.TargetDetails} message TargetDetails
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ TargetDetails.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.fleetDetails = [];
+ if (options.defaults) {
+ object.gameServerClusterName = "";
+ object.gameServerDeploymentName = "";
+ }
+ if (message.gameServerClusterName != null && message.hasOwnProperty("gameServerClusterName"))
+ object.gameServerClusterName = message.gameServerClusterName;
+ if (message.gameServerDeploymentName != null && message.hasOwnProperty("gameServerDeploymentName"))
+ object.gameServerDeploymentName = message.gameServerDeploymentName;
+ if (message.fleetDetails && message.fleetDetails.length) {
+ object.fleetDetails = [];
+ for (var j = 0; j < message.fleetDetails.length; ++j)
+ object.fleetDetails[j] = $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.toObject(message.fleetDetails[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this TargetDetails to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ TargetDetails.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for TargetDetails
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ TargetDetails.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.TargetDetails";
+ };
+
+ TargetDetails.TargetFleetDetails = (function() {
+
+ /**
+ * Properties of a TargetFleetDetails.
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @interface ITargetFleetDetails
+ * @property {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleet|null} [fleet] TargetFleetDetails fleet
+ * @property {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler|null} [autoscaler] TargetFleetDetails autoscaler
+ */
+
+ /**
+ * Constructs a new TargetFleetDetails.
+ * @memberof google.cloud.gaming.v1.TargetDetails
+ * @classdesc Represents a TargetFleetDetails.
+ * @implements ITargetFleetDetails
+ * @constructor
+ * @param {google.cloud.gaming.v1.TargetDetails.ITargetFleetDetails=} [properties] Properties to set
+ */
+ function TargetFleetDetails(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * TargetFleetDetails fleet.
+ * @member {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleet|null|undefined} fleet
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @instance
+ */
+ TargetFleetDetails.prototype.fleet = null;
+
+ /**
+ * TargetFleetDetails autoscaler.
+ * @member {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler|null|undefined} autoscaler
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @instance
+ */
+ TargetFleetDetails.prototype.autoscaler = null;
+
+ /**
+ * Creates a new TargetFleetDetails instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @static
+ * @param {google.cloud.gaming.v1.TargetDetails.ITargetFleetDetails=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails} TargetFleetDetails instance
+ */
+ TargetFleetDetails.create = function create(properties) {
+ return new TargetFleetDetails(properties);
+ };
+
+ /**
+ * Encodes the specified TargetFleetDetails message. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @static
+ * @param {google.cloud.gaming.v1.TargetDetails.ITargetFleetDetails} message TargetFleetDetails message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetFleetDetails.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.fleet != null && Object.hasOwnProperty.call(message, "fleet"))
+ $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet.encode(message.fleet, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.autoscaler != null && Object.hasOwnProperty.call(message, "autoscaler"))
+ $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler.encode(message.autoscaler, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified TargetFleetDetails message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @static
+ * @param {google.cloud.gaming.v1.TargetDetails.ITargetFleetDetails} message TargetFleetDetails message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetFleetDetails.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a TargetFleetDetails message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails} TargetFleetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetFleetDetails.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.fleet = $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.autoscaler = $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a TargetFleetDetails message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails} TargetFleetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetFleetDetails.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a TargetFleetDetails message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ TargetFleetDetails.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.fleet != null && message.hasOwnProperty("fleet")) {
+ var error = $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet.verify(message.fleet);
+ if (error)
+ return "fleet." + error;
+ }
+ if (message.autoscaler != null && message.hasOwnProperty("autoscaler")) {
+ var error = $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler.verify(message.autoscaler);
+ if (error)
+ return "autoscaler." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a TargetFleetDetails message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails} TargetFleetDetails
+ */
+ TargetFleetDetails.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails();
+ if (object.fleet != null) {
+ if (typeof object.fleet !== "object")
+ throw TypeError(".google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.fleet: object expected");
+ message.fleet = $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet.fromObject(object.fleet);
+ }
+ if (object.autoscaler != null) {
+ if (typeof object.autoscaler !== "object")
+ throw TypeError(".google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.autoscaler: object expected");
+ message.autoscaler = $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler.fromObject(object.autoscaler);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a TargetFleetDetails message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @static
+ * @param {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails} message TargetFleetDetails
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ TargetFleetDetails.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.fleet = null;
+ object.autoscaler = null;
+ }
+ if (message.fleet != null && message.hasOwnProperty("fleet"))
+ object.fleet = $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet.toObject(message.fleet, options);
+ if (message.autoscaler != null && message.hasOwnProperty("autoscaler"))
+ object.autoscaler = $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler.toObject(message.autoscaler, options);
+ return object;
+ };
+
+ /**
+ * Converts this TargetFleetDetails to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ TargetFleetDetails.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for TargetFleetDetails
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ TargetFleetDetails.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.TargetDetails.TargetFleetDetails";
+ };
+
+ TargetFleetDetails.TargetFleet = (function() {
+
+ /**
+ * Properties of a TargetFleet.
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @interface ITargetFleet
+ * @property {string|null} [name] TargetFleet name
+ * @property {google.cloud.gaming.v1.ISpecSource|null} [specSource] TargetFleet specSource
+ */
+
+ /**
+ * Constructs a new TargetFleet.
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @classdesc Represents a TargetFleet.
+ * @implements ITargetFleet
+ * @constructor
+ * @param {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleet=} [properties] Properties to set
+ */
+ function TargetFleet(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * TargetFleet name.
+ * @member {string} name
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet
+ * @instance
+ */
+ TargetFleet.prototype.name = "";
+
+ /**
+ * TargetFleet specSource.
+ * @member {google.cloud.gaming.v1.ISpecSource|null|undefined} specSource
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet
+ * @instance
+ */
+ TargetFleet.prototype.specSource = null;
+
+ /**
+ * Creates a new TargetFleet instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet
+ * @static
+ * @param {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleet=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet} TargetFleet instance
+ */
+ TargetFleet.create = function create(properties) {
+ return new TargetFleet(properties);
+ };
+
+ /**
+ * Encodes the specified TargetFleet message. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet
+ * @static
+ * @param {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleet} message TargetFleet message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetFleet.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.specSource != null && Object.hasOwnProperty.call(message, "specSource"))
+ $root.google.cloud.gaming.v1.SpecSource.encode(message.specSource, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified TargetFleet message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet
+ * @static
+ * @param {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleet} message TargetFleet message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetFleet.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a TargetFleet message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet} TargetFleet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetFleet.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.specSource = $root.google.cloud.gaming.v1.SpecSource.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a TargetFleet message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet} TargetFleet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetFleet.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a TargetFleet message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ TargetFleet.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.specSource != null && message.hasOwnProperty("specSource")) {
+ var error = $root.google.cloud.gaming.v1.SpecSource.verify(message.specSource);
+ if (error)
+ return "specSource." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a TargetFleet message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet} TargetFleet
+ */
+ TargetFleet.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.specSource != null) {
+ if (typeof object.specSource !== "object")
+ throw TypeError(".google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet.specSource: object expected");
+ message.specSource = $root.google.cloud.gaming.v1.SpecSource.fromObject(object.specSource);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a TargetFleet message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet
+ * @static
+ * @param {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet} message TargetFleet
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ TargetFleet.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.specSource = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.specSource != null && message.hasOwnProperty("specSource"))
+ object.specSource = $root.google.cloud.gaming.v1.SpecSource.toObject(message.specSource, options);
+ return object;
+ };
+
+ /**
+ * Converts this TargetFleet to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ TargetFleet.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for TargetFleet
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ TargetFleet.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleet";
+ };
+
+ return TargetFleet;
+ })();
+
+ TargetFleetDetails.TargetFleetAutoscaler = (function() {
+
+ /**
+ * Properties of a TargetFleetAutoscaler.
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @interface ITargetFleetAutoscaler
+ * @property {string|null} [name] TargetFleetAutoscaler name
+ * @property {google.cloud.gaming.v1.ISpecSource|null} [specSource] TargetFleetAutoscaler specSource
+ */
+
+ /**
+ * Constructs a new TargetFleetAutoscaler.
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails
+ * @classdesc Represents a TargetFleetAutoscaler.
+ * @implements ITargetFleetAutoscaler
+ * @constructor
+ * @param {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler=} [properties] Properties to set
+ */
+ function TargetFleetAutoscaler(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * TargetFleetAutoscaler name.
+ * @member {string} name
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler
+ * @instance
+ */
+ TargetFleetAutoscaler.prototype.name = "";
+
+ /**
+ * TargetFleetAutoscaler specSource.
+ * @member {google.cloud.gaming.v1.ISpecSource|null|undefined} specSource
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler
+ * @instance
+ */
+ TargetFleetAutoscaler.prototype.specSource = null;
+
+ /**
+ * Creates a new TargetFleetAutoscaler instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler
+ * @static
+ * @param {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler} TargetFleetAutoscaler instance
+ */
+ TargetFleetAutoscaler.create = function create(properties) {
+ return new TargetFleetAutoscaler(properties);
+ };
+
+ /**
+ * Encodes the specified TargetFleetAutoscaler message. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler
+ * @static
+ * @param {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler} message TargetFleetAutoscaler message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetFleetAutoscaler.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.specSource != null && Object.hasOwnProperty.call(message, "specSource"))
+ $root.google.cloud.gaming.v1.SpecSource.encode(message.specSource, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified TargetFleetAutoscaler message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler
+ * @static
+ * @param {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.ITargetFleetAutoscaler} message TargetFleetAutoscaler message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetFleetAutoscaler.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a TargetFleetAutoscaler message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler} TargetFleetAutoscaler
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetFleetAutoscaler.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.specSource = $root.google.cloud.gaming.v1.SpecSource.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a TargetFleetAutoscaler message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler} TargetFleetAutoscaler
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetFleetAutoscaler.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a TargetFleetAutoscaler message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ TargetFleetAutoscaler.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.specSource != null && message.hasOwnProperty("specSource")) {
+ var error = $root.google.cloud.gaming.v1.SpecSource.verify(message.specSource);
+ if (error)
+ return "specSource." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a TargetFleetAutoscaler message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler} TargetFleetAutoscaler
+ */
+ TargetFleetAutoscaler.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.specSource != null) {
+ if (typeof object.specSource !== "object")
+ throw TypeError(".google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler.specSource: object expected");
+ message.specSource = $root.google.cloud.gaming.v1.SpecSource.fromObject(object.specSource);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a TargetFleetAutoscaler message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler
+ * @static
+ * @param {google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler} message TargetFleetAutoscaler
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ TargetFleetAutoscaler.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.specSource = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.specSource != null && message.hasOwnProperty("specSource"))
+ object.specSource = $root.google.cloud.gaming.v1.SpecSource.toObject(message.specSource, options);
+ return object;
+ };
+
+ /**
+ * Converts this TargetFleetAutoscaler to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ TargetFleetAutoscaler.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for TargetFleetAutoscaler
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ TargetFleetAutoscaler.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.TargetDetails.TargetFleetDetails.TargetFleetAutoscaler";
+ };
+
+ return TargetFleetAutoscaler;
+ })();
+
+ return TargetFleetDetails;
+ })();
+
+ return TargetDetails;
+ })();
+
+ v1.TargetState = (function() {
+
+ /**
+ * Properties of a TargetState.
+ * @memberof google.cloud.gaming.v1
+ * @interface ITargetState
+ * @property {Array.|null} [details] TargetState details
+ */
+
+ /**
+ * Constructs a new TargetState.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a TargetState.
+ * @implements ITargetState
+ * @constructor
+ * @param {google.cloud.gaming.v1.ITargetState=} [properties] Properties to set
+ */
+ function TargetState(properties) {
+ this.details = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * TargetState details.
+ * @member {Array.} details
+ * @memberof google.cloud.gaming.v1.TargetState
+ * @instance
+ */
+ TargetState.prototype.details = $util.emptyArray;
+
+ /**
+ * Creates a new TargetState instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.TargetState
+ * @static
+ * @param {google.cloud.gaming.v1.ITargetState=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.TargetState} TargetState instance
+ */
+ TargetState.create = function create(properties) {
+ return new TargetState(properties);
+ };
+
+ /**
+ * Encodes the specified TargetState message. Does not implicitly {@link google.cloud.gaming.v1.TargetState.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.TargetState
+ * @static
+ * @param {google.cloud.gaming.v1.ITargetState} message TargetState message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetState.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.details != null && message.details.length)
+ for (var i = 0; i < message.details.length; ++i)
+ $root.google.cloud.gaming.v1.TargetDetails.encode(message.details[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified TargetState message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.TargetState.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.TargetState
+ * @static
+ * @param {google.cloud.gaming.v1.ITargetState} message TargetState message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ TargetState.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a TargetState message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.TargetState
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.TargetState} TargetState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetState.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.TargetState();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.details && message.details.length))
+ message.details = [];
+ message.details.push($root.google.cloud.gaming.v1.TargetDetails.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a TargetState message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.TargetState
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.TargetState} TargetState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ TargetState.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a TargetState message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.TargetState
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ TargetState.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.details != null && message.hasOwnProperty("details")) {
+ if (!Array.isArray(message.details))
+ return "details: array expected";
+ for (var i = 0; i < message.details.length; ++i) {
+ var error = $root.google.cloud.gaming.v1.TargetDetails.verify(message.details[i]);
+ if (error)
+ return "details." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a TargetState message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.TargetState
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.TargetState} TargetState
+ */
+ TargetState.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.TargetState)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.TargetState();
+ if (object.details) {
+ if (!Array.isArray(object.details))
+ throw TypeError(".google.cloud.gaming.v1.TargetState.details: array expected");
+ message.details = [];
+ for (var i = 0; i < object.details.length; ++i) {
+ if (typeof object.details[i] !== "object")
+ throw TypeError(".google.cloud.gaming.v1.TargetState.details: object expected");
+ message.details[i] = $root.google.cloud.gaming.v1.TargetDetails.fromObject(object.details[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a TargetState message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.TargetState
+ * @static
+ * @param {google.cloud.gaming.v1.TargetState} message TargetState
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ TargetState.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults)
+ object.details = [];
+ if (message.details && message.details.length) {
+ object.details = [];
+ for (var j = 0; j < message.details.length; ++j)
+ object.details[j] = $root.google.cloud.gaming.v1.TargetDetails.toObject(message.details[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this TargetState to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.TargetState
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ TargetState.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for TargetState
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.TargetState
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ TargetState.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.TargetState";
+ };
+
+ return TargetState;
+ })();
+
+ v1.DeployedFleetDetails = (function() {
+
+ /**
+ * Properties of a DeployedFleetDetails.
+ * @memberof google.cloud.gaming.v1
+ * @interface IDeployedFleetDetails
+ * @property {google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleet|null} [deployedFleet] DeployedFleetDetails deployedFleet
+ * @property {google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleetAutoscaler|null} [deployedAutoscaler] DeployedFleetDetails deployedAutoscaler
+ */
+
+ /**
+ * Constructs a new DeployedFleetDetails.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a DeployedFleetDetails.
+ * @implements IDeployedFleetDetails
+ * @constructor
+ * @param {google.cloud.gaming.v1.IDeployedFleetDetails=} [properties] Properties to set
+ */
+ function DeployedFleetDetails(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * DeployedFleetDetails deployedFleet.
+ * @member {google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleet|null|undefined} deployedFleet
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @instance
+ */
+ DeployedFleetDetails.prototype.deployedFleet = null;
+
+ /**
+ * DeployedFleetDetails deployedAutoscaler.
+ * @member {google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleetAutoscaler|null|undefined} deployedAutoscaler
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @instance
+ */
+ DeployedFleetDetails.prototype.deployedAutoscaler = null;
+
+ /**
+ * Creates a new DeployedFleetDetails instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @static
+ * @param {google.cloud.gaming.v1.IDeployedFleetDetails=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails} DeployedFleetDetails instance
+ */
+ DeployedFleetDetails.create = function create(properties) {
+ return new DeployedFleetDetails(properties);
+ };
+
+ /**
+ * Encodes the specified DeployedFleetDetails message. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @static
+ * @param {google.cloud.gaming.v1.IDeployedFleetDetails} message DeployedFleetDetails message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployedFleetDetails.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.deployedFleet != null && Object.hasOwnProperty.call(message, "deployedFleet"))
+ $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.encode(message.deployedFleet, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.deployedAutoscaler != null && Object.hasOwnProperty.call(message, "deployedAutoscaler"))
+ $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler.encode(message.deployedAutoscaler, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeployedFleetDetails message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @static
+ * @param {google.cloud.gaming.v1.IDeployedFleetDetails} message DeployedFleetDetails message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployedFleetDetails.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeployedFleetDetails message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails} DeployedFleetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployedFleetDetails.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.DeployedFleetDetails();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.deployedFleet = $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.deployedAutoscaler = $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeployedFleetDetails message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails} DeployedFleetDetails
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployedFleetDetails.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeployedFleetDetails message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeployedFleetDetails.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.deployedFleet != null && message.hasOwnProperty("deployedFleet")) {
+ var error = $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.verify(message.deployedFleet);
+ if (error)
+ return "deployedFleet." + error;
+ }
+ if (message.deployedAutoscaler != null && message.hasOwnProperty("deployedAutoscaler")) {
+ var error = $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler.verify(message.deployedAutoscaler);
+ if (error)
+ return "deployedAutoscaler." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DeployedFleetDetails message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails} DeployedFleetDetails
+ */
+ DeployedFleetDetails.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.DeployedFleetDetails)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.DeployedFleetDetails();
+ if (object.deployedFleet != null) {
+ if (typeof object.deployedFleet !== "object")
+ throw TypeError(".google.cloud.gaming.v1.DeployedFleetDetails.deployedFleet: object expected");
+ message.deployedFleet = $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.fromObject(object.deployedFleet);
+ }
+ if (object.deployedAutoscaler != null) {
+ if (typeof object.deployedAutoscaler !== "object")
+ throw TypeError(".google.cloud.gaming.v1.DeployedFleetDetails.deployedAutoscaler: object expected");
+ message.deployedAutoscaler = $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler.fromObject(object.deployedAutoscaler);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeployedFleetDetails message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @static
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails} message DeployedFleetDetails
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeployedFleetDetails.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.deployedFleet = null;
+ object.deployedAutoscaler = null;
+ }
+ if (message.deployedFleet != null && message.hasOwnProperty("deployedFleet"))
+ object.deployedFleet = $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.toObject(message.deployedFleet, options);
+ if (message.deployedAutoscaler != null && message.hasOwnProperty("deployedAutoscaler"))
+ object.deployedAutoscaler = $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler.toObject(message.deployedAutoscaler, options);
+ return object;
+ };
+
+ /**
+ * Converts this DeployedFleetDetails to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeployedFleetDetails.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeployedFleetDetails
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeployedFleetDetails.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.DeployedFleetDetails";
+ };
+
+ DeployedFleetDetails.DeployedFleet = (function() {
+
+ /**
+ * Properties of a DeployedFleet.
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @interface IDeployedFleet
+ * @property {string|null} [fleet] DeployedFleet fleet
+ * @property {string|null} [fleetSpec] DeployedFleet fleetSpec
+ * @property {google.cloud.gaming.v1.ISpecSource|null} [specSource] DeployedFleet specSource
+ * @property {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus|null} [status] DeployedFleet status
+ */
+
+ /**
+ * Constructs a new DeployedFleet.
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @classdesc Represents a DeployedFleet.
+ * @implements IDeployedFleet
+ * @constructor
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleet=} [properties] Properties to set
+ */
+ function DeployedFleet(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * DeployedFleet fleet.
+ * @member {string} fleet
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @instance
+ */
+ DeployedFleet.prototype.fleet = "";
+
+ /**
+ * DeployedFleet fleetSpec.
+ * @member {string} fleetSpec
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @instance
+ */
+ DeployedFleet.prototype.fleetSpec = "";
+
+ /**
+ * DeployedFleet specSource.
+ * @member {google.cloud.gaming.v1.ISpecSource|null|undefined} specSource
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @instance
+ */
+ DeployedFleet.prototype.specSource = null;
+
+ /**
+ * DeployedFleet status.
+ * @member {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus|null|undefined} status
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @instance
+ */
+ DeployedFleet.prototype.status = null;
+
+ /**
+ * Creates a new DeployedFleet instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @static
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleet=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet} DeployedFleet instance
+ */
+ DeployedFleet.create = function create(properties) {
+ return new DeployedFleet(properties);
+ };
+
+ /**
+ * Encodes the specified DeployedFleet message. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @static
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleet} message DeployedFleet message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployedFleet.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.fleet != null && Object.hasOwnProperty.call(message, "fleet"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.fleet);
+ if (message.fleetSpec != null && Object.hasOwnProperty.call(message, "fleetSpec"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.fleetSpec);
+ if (message.specSource != null && Object.hasOwnProperty.call(message, "specSource"))
+ $root.google.cloud.gaming.v1.SpecSource.encode(message.specSource, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.status != null && Object.hasOwnProperty.call(message, "status"))
+ $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus.encode(message.status, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeployedFleet message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @static
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleet} message DeployedFleet message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployedFleet.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeployedFleet message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet} DeployedFleet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployedFleet.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.fleet = reader.string();
+ break;
+ }
+ case 2: {
+ message.fleetSpec = reader.string();
+ break;
+ }
+ case 3: {
+ message.specSource = $root.google.cloud.gaming.v1.SpecSource.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.status = $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeployedFleet message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet} DeployedFleet
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployedFleet.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeployedFleet message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeployedFleet.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.fleet != null && message.hasOwnProperty("fleet"))
+ if (!$util.isString(message.fleet))
+ return "fleet: string expected";
+ if (message.fleetSpec != null && message.hasOwnProperty("fleetSpec"))
+ if (!$util.isString(message.fleetSpec))
+ return "fleetSpec: string expected";
+ if (message.specSource != null && message.hasOwnProperty("specSource")) {
+ var error = $root.google.cloud.gaming.v1.SpecSource.verify(message.specSource);
+ if (error)
+ return "specSource." + error;
+ }
+ if (message.status != null && message.hasOwnProperty("status")) {
+ var error = $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus.verify(message.status);
+ if (error)
+ return "status." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a DeployedFleet message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet} DeployedFleet
+ */
+ DeployedFleet.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet();
+ if (object.fleet != null)
+ message.fleet = String(object.fleet);
+ if (object.fleetSpec != null)
+ message.fleetSpec = String(object.fleetSpec);
+ if (object.specSource != null) {
+ if (typeof object.specSource !== "object")
+ throw TypeError(".google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.specSource: object expected");
+ message.specSource = $root.google.cloud.gaming.v1.SpecSource.fromObject(object.specSource);
+ }
+ if (object.status != null) {
+ if (typeof object.status !== "object")
+ throw TypeError(".google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.status: object expected");
+ message.status = $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus.fromObject(object.status);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeployedFleet message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @static
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet} message DeployedFleet
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeployedFleet.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.fleet = "";
+ object.fleetSpec = "";
+ object.specSource = null;
+ object.status = null;
+ }
+ if (message.fleet != null && message.hasOwnProperty("fleet"))
+ object.fleet = message.fleet;
+ if (message.fleetSpec != null && message.hasOwnProperty("fleetSpec"))
+ object.fleetSpec = message.fleetSpec;
+ if (message.specSource != null && message.hasOwnProperty("specSource"))
+ object.specSource = $root.google.cloud.gaming.v1.SpecSource.toObject(message.specSource, options);
+ if (message.status != null && message.hasOwnProperty("status"))
+ object.status = $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus.toObject(message.status, options);
+ return object;
+ };
+
+ /**
+ * Converts this DeployedFleet to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeployedFleet.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeployedFleet
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeployedFleet.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet";
+ };
+
+ DeployedFleet.DeployedFleetStatus = (function() {
+
+ /**
+ * Properties of a DeployedFleetStatus.
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @interface IDeployedFleetStatus
+ * @property {number|Long|null} [readyReplicas] DeployedFleetStatus readyReplicas
+ * @property {number|Long|null} [allocatedReplicas] DeployedFleetStatus allocatedReplicas
+ * @property {number|Long|null} [reservedReplicas] DeployedFleetStatus reservedReplicas
+ * @property {number|Long|null} [replicas] DeployedFleetStatus replicas
+ */
+
+ /**
+ * Constructs a new DeployedFleetStatus.
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet
+ * @classdesc Represents a DeployedFleetStatus.
+ * @implements IDeployedFleetStatus
+ * @constructor
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus=} [properties] Properties to set
+ */
+ function DeployedFleetStatus(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * DeployedFleetStatus readyReplicas.
+ * @member {number|Long} readyReplicas
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @instance
+ */
+ DeployedFleetStatus.prototype.readyReplicas = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * DeployedFleetStatus allocatedReplicas.
+ * @member {number|Long} allocatedReplicas
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @instance
+ */
+ DeployedFleetStatus.prototype.allocatedReplicas = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * DeployedFleetStatus reservedReplicas.
+ * @member {number|Long} reservedReplicas
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @instance
+ */
+ DeployedFleetStatus.prototype.reservedReplicas = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * DeployedFleetStatus replicas.
+ * @member {number|Long} replicas
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @instance
+ */
+ DeployedFleetStatus.prototype.replicas = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
+
+ /**
+ * Creates a new DeployedFleetStatus instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @static
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus} DeployedFleetStatus instance
+ */
+ DeployedFleetStatus.create = function create(properties) {
+ return new DeployedFleetStatus(properties);
+ };
+
+ /**
+ * Encodes the specified DeployedFleetStatus message. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @static
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus} message DeployedFleetStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployedFleetStatus.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.readyReplicas != null && Object.hasOwnProperty.call(message, "readyReplicas"))
+ writer.uint32(/* id 1, wireType 0 =*/8).int64(message.readyReplicas);
+ if (message.allocatedReplicas != null && Object.hasOwnProperty.call(message, "allocatedReplicas"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int64(message.allocatedReplicas);
+ if (message.reservedReplicas != null && Object.hasOwnProperty.call(message, "reservedReplicas"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int64(message.reservedReplicas);
+ if (message.replicas != null && Object.hasOwnProperty.call(message, "replicas"))
+ writer.uint32(/* id 4, wireType 0 =*/32).int64(message.replicas);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeployedFleetStatus message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @static
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.IDeployedFleetStatus} message DeployedFleetStatus message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployedFleetStatus.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeployedFleetStatus message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus} DeployedFleetStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployedFleetStatus.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.readyReplicas = reader.int64();
+ break;
+ }
+ case 2: {
+ message.allocatedReplicas = reader.int64();
+ break;
+ }
+ case 3: {
+ message.reservedReplicas = reader.int64();
+ break;
+ }
+ case 4: {
+ message.replicas = reader.int64();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeployedFleetStatus message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus} DeployedFleetStatus
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployedFleetStatus.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeployedFleetStatus message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeployedFleetStatus.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.readyReplicas != null && message.hasOwnProperty("readyReplicas"))
+ if (!$util.isInteger(message.readyReplicas) && !(message.readyReplicas && $util.isInteger(message.readyReplicas.low) && $util.isInteger(message.readyReplicas.high)))
+ return "readyReplicas: integer|Long expected";
+ if (message.allocatedReplicas != null && message.hasOwnProperty("allocatedReplicas"))
+ if (!$util.isInteger(message.allocatedReplicas) && !(message.allocatedReplicas && $util.isInteger(message.allocatedReplicas.low) && $util.isInteger(message.allocatedReplicas.high)))
+ return "allocatedReplicas: integer|Long expected";
+ if (message.reservedReplicas != null && message.hasOwnProperty("reservedReplicas"))
+ if (!$util.isInteger(message.reservedReplicas) && !(message.reservedReplicas && $util.isInteger(message.reservedReplicas.low) && $util.isInteger(message.reservedReplicas.high)))
+ return "reservedReplicas: integer|Long expected";
+ if (message.replicas != null && message.hasOwnProperty("replicas"))
+ if (!$util.isInteger(message.replicas) && !(message.replicas && $util.isInteger(message.replicas.low) && $util.isInteger(message.replicas.high)))
+ return "replicas: integer|Long expected";
+ return null;
+ };
+
+ /**
+ * Creates a DeployedFleetStatus message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus} DeployedFleetStatus
+ */
+ DeployedFleetStatus.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus();
+ if (object.readyReplicas != null)
+ if ($util.Long)
+ (message.readyReplicas = $util.Long.fromValue(object.readyReplicas)).unsigned = false;
+ else if (typeof object.readyReplicas === "string")
+ message.readyReplicas = parseInt(object.readyReplicas, 10);
+ else if (typeof object.readyReplicas === "number")
+ message.readyReplicas = object.readyReplicas;
+ else if (typeof object.readyReplicas === "object")
+ message.readyReplicas = new $util.LongBits(object.readyReplicas.low >>> 0, object.readyReplicas.high >>> 0).toNumber();
+ if (object.allocatedReplicas != null)
+ if ($util.Long)
+ (message.allocatedReplicas = $util.Long.fromValue(object.allocatedReplicas)).unsigned = false;
+ else if (typeof object.allocatedReplicas === "string")
+ message.allocatedReplicas = parseInt(object.allocatedReplicas, 10);
+ else if (typeof object.allocatedReplicas === "number")
+ message.allocatedReplicas = object.allocatedReplicas;
+ else if (typeof object.allocatedReplicas === "object")
+ message.allocatedReplicas = new $util.LongBits(object.allocatedReplicas.low >>> 0, object.allocatedReplicas.high >>> 0).toNumber();
+ if (object.reservedReplicas != null)
+ if ($util.Long)
+ (message.reservedReplicas = $util.Long.fromValue(object.reservedReplicas)).unsigned = false;
+ else if (typeof object.reservedReplicas === "string")
+ message.reservedReplicas = parseInt(object.reservedReplicas, 10);
+ else if (typeof object.reservedReplicas === "number")
+ message.reservedReplicas = object.reservedReplicas;
+ else if (typeof object.reservedReplicas === "object")
+ message.reservedReplicas = new $util.LongBits(object.reservedReplicas.low >>> 0, object.reservedReplicas.high >>> 0).toNumber();
+ if (object.replicas != null)
+ if ($util.Long)
+ (message.replicas = $util.Long.fromValue(object.replicas)).unsigned = false;
+ else if (typeof object.replicas === "string")
+ message.replicas = parseInt(object.replicas, 10);
+ else if (typeof object.replicas === "number")
+ message.replicas = object.replicas;
+ else if (typeof object.replicas === "object")
+ message.replicas = new $util.LongBits(object.replicas.low >>> 0, object.replicas.high >>> 0).toNumber();
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeployedFleetStatus message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @static
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus} message DeployedFleetStatus
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeployedFleetStatus.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ if ($util.Long) {
+ var long = new $util.Long(0, 0, false);
+ object.readyReplicas = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.readyReplicas = options.longs === String ? "0" : 0;
+ if ($util.Long) {
+ var long = new $util.Long(0, 0, false);
+ object.allocatedReplicas = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.allocatedReplicas = options.longs === String ? "0" : 0;
+ if ($util.Long) {
+ var long = new $util.Long(0, 0, false);
+ object.reservedReplicas = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.reservedReplicas = options.longs === String ? "0" : 0;
+ if ($util.Long) {
+ var long = new $util.Long(0, 0, false);
+ object.replicas = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
+ } else
+ object.replicas = options.longs === String ? "0" : 0;
+ }
+ if (message.readyReplicas != null && message.hasOwnProperty("readyReplicas"))
+ if (typeof message.readyReplicas === "number")
+ object.readyReplicas = options.longs === String ? String(message.readyReplicas) : message.readyReplicas;
+ else
+ object.readyReplicas = options.longs === String ? $util.Long.prototype.toString.call(message.readyReplicas) : options.longs === Number ? new $util.LongBits(message.readyReplicas.low >>> 0, message.readyReplicas.high >>> 0).toNumber() : message.readyReplicas;
+ if (message.allocatedReplicas != null && message.hasOwnProperty("allocatedReplicas"))
+ if (typeof message.allocatedReplicas === "number")
+ object.allocatedReplicas = options.longs === String ? String(message.allocatedReplicas) : message.allocatedReplicas;
+ else
+ object.allocatedReplicas = options.longs === String ? $util.Long.prototype.toString.call(message.allocatedReplicas) : options.longs === Number ? new $util.LongBits(message.allocatedReplicas.low >>> 0, message.allocatedReplicas.high >>> 0).toNumber() : message.allocatedReplicas;
+ if (message.reservedReplicas != null && message.hasOwnProperty("reservedReplicas"))
+ if (typeof message.reservedReplicas === "number")
+ object.reservedReplicas = options.longs === String ? String(message.reservedReplicas) : message.reservedReplicas;
+ else
+ object.reservedReplicas = options.longs === String ? $util.Long.prototype.toString.call(message.reservedReplicas) : options.longs === Number ? new $util.LongBits(message.reservedReplicas.low >>> 0, message.reservedReplicas.high >>> 0).toNumber() : message.reservedReplicas;
+ if (message.replicas != null && message.hasOwnProperty("replicas"))
+ if (typeof message.replicas === "number")
+ object.replicas = options.longs === String ? String(message.replicas) : message.replicas;
+ else
+ object.replicas = options.longs === String ? $util.Long.prototype.toString.call(message.replicas) : options.longs === Number ? new $util.LongBits(message.replicas.low >>> 0, message.replicas.high >>> 0).toNumber() : message.replicas;
+ return object;
+ };
+
+ /**
+ * Converts this DeployedFleetStatus to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeployedFleetStatus.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeployedFleetStatus
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeployedFleetStatus.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleet.DeployedFleetStatus";
+ };
+
+ return DeployedFleetStatus;
+ })();
+
+ return DeployedFleet;
+ })();
+
+ DeployedFleetDetails.DeployedFleetAutoscaler = (function() {
+
+ /**
+ * Properties of a DeployedFleetAutoscaler.
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @interface IDeployedFleetAutoscaler
+ * @property {string|null} [autoscaler] DeployedFleetAutoscaler autoscaler
+ * @property {google.cloud.gaming.v1.ISpecSource|null} [specSource] DeployedFleetAutoscaler specSource
+ * @property {string|null} [fleetAutoscalerSpec] DeployedFleetAutoscaler fleetAutoscalerSpec
+ */
+
+ /**
+ * Constructs a new DeployedFleetAutoscaler.
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails
+ * @classdesc Represents a DeployedFleetAutoscaler.
+ * @implements IDeployedFleetAutoscaler
+ * @constructor
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleetAutoscaler=} [properties] Properties to set
+ */
+ function DeployedFleetAutoscaler(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * DeployedFleetAutoscaler autoscaler.
+ * @member {string} autoscaler
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
+ * @instance
+ */
+ DeployedFleetAutoscaler.prototype.autoscaler = "";
+
+ /**
+ * DeployedFleetAutoscaler specSource.
+ * @member {google.cloud.gaming.v1.ISpecSource|null|undefined} specSource
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
+ * @instance
+ */
+ DeployedFleetAutoscaler.prototype.specSource = null;
+
+ /**
+ * DeployedFleetAutoscaler fleetAutoscalerSpec.
+ * @member {string} fleetAutoscalerSpec
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
+ * @instance
+ */
+ DeployedFleetAutoscaler.prototype.fleetAutoscalerSpec = "";
+
+ /**
+ * Creates a new DeployedFleetAutoscaler instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
+ * @static
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleetAutoscaler=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler} DeployedFleetAutoscaler instance
+ */
+ DeployedFleetAutoscaler.create = function create(properties) {
+ return new DeployedFleetAutoscaler(properties);
+ };
+
+ /**
+ * Encodes the specified DeployedFleetAutoscaler message. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
+ * @static
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleetAutoscaler} message DeployedFleetAutoscaler message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployedFleetAutoscaler.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.autoscaler != null && Object.hasOwnProperty.call(message, "autoscaler"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.autoscaler);
+ if (message.fleetAutoscalerSpec != null && Object.hasOwnProperty.call(message, "fleetAutoscalerSpec"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.fleetAutoscalerSpec);
+ if (message.specSource != null && Object.hasOwnProperty.call(message, "specSource"))
+ $root.google.cloud.gaming.v1.SpecSource.encode(message.specSource, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeployedFleetAutoscaler message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
+ * @static
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.IDeployedFleetAutoscaler} message DeployedFleetAutoscaler message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeployedFleetAutoscaler.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeployedFleetAutoscaler message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler} DeployedFleetAutoscaler
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployedFleetAutoscaler.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.autoscaler = reader.string();
+ break;
+ }
+ case 4: {
+ message.specSource = $root.google.cloud.gaming.v1.SpecSource.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.fleetAutoscalerSpec = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeployedFleetAutoscaler message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler} DeployedFleetAutoscaler
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeployedFleetAutoscaler.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeployedFleetAutoscaler message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeployedFleetAutoscaler.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.autoscaler != null && message.hasOwnProperty("autoscaler"))
+ if (!$util.isString(message.autoscaler))
+ return "autoscaler: string expected";
+ if (message.specSource != null && message.hasOwnProperty("specSource")) {
+ var error = $root.google.cloud.gaming.v1.SpecSource.verify(message.specSource);
+ if (error)
+ return "specSource." + error;
+ }
+ if (message.fleetAutoscalerSpec != null && message.hasOwnProperty("fleetAutoscalerSpec"))
+ if (!$util.isString(message.fleetAutoscalerSpec))
+ return "fleetAutoscalerSpec: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a DeployedFleetAutoscaler message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler} DeployedFleetAutoscaler
+ */
+ DeployedFleetAutoscaler.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler();
+ if (object.autoscaler != null)
+ message.autoscaler = String(object.autoscaler);
+ if (object.specSource != null) {
+ if (typeof object.specSource !== "object")
+ throw TypeError(".google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler.specSource: object expected");
+ message.specSource = $root.google.cloud.gaming.v1.SpecSource.fromObject(object.specSource);
+ }
+ if (object.fleetAutoscalerSpec != null)
+ message.fleetAutoscalerSpec = String(object.fleetAutoscalerSpec);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeployedFleetAutoscaler message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
+ * @static
+ * @param {google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler} message DeployedFleetAutoscaler
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeployedFleetAutoscaler.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.autoscaler = "";
+ object.fleetAutoscalerSpec = "";
+ object.specSource = null;
+ }
+ if (message.autoscaler != null && message.hasOwnProperty("autoscaler"))
+ object.autoscaler = message.autoscaler;
+ if (message.fleetAutoscalerSpec != null && message.hasOwnProperty("fleetAutoscalerSpec"))
+ object.fleetAutoscalerSpec = message.fleetAutoscalerSpec;
+ if (message.specSource != null && message.hasOwnProperty("specSource"))
+ object.specSource = $root.google.cloud.gaming.v1.SpecSource.toObject(message.specSource, options);
+ return object;
+ };
+
+ /**
+ * Converts this DeployedFleetAutoscaler to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeployedFleetAutoscaler.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeployedFleetAutoscaler
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeployedFleetAutoscaler.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.DeployedFleetDetails.DeployedFleetAutoscaler";
+ };
+
+ return DeployedFleetAutoscaler;
+ })();
+
+ return DeployedFleetDetails;
+ })();
+
+ /**
+ * GameServerClusterView enum.
+ * @name google.cloud.gaming.v1.GameServerClusterView
+ * @enum {number}
+ * @property {number} GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED=0 GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED value
+ * @property {number} BASIC=1 BASIC value
+ * @property {number} FULL=2 FULL value
+ */
+ v1.GameServerClusterView = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "BASIC"] = 1;
+ values[valuesById[2] = "FULL"] = 2;
+ return values;
+ })();
+
+ v1.ListGameServerClustersRequest = (function() {
+
+ /**
+ * Properties of a ListGameServerClustersRequest.
+ * @memberof google.cloud.gaming.v1
+ * @interface IListGameServerClustersRequest
+ * @property {string|null} [parent] ListGameServerClustersRequest parent
+ * @property {number|null} [pageSize] ListGameServerClustersRequest pageSize
+ * @property {string|null} [pageToken] ListGameServerClustersRequest pageToken
+ * @property {string|null} [filter] ListGameServerClustersRequest filter
+ * @property {string|null} [orderBy] ListGameServerClustersRequest orderBy
+ * @property {google.cloud.gaming.v1.GameServerClusterView|null} [view] ListGameServerClustersRequest view
+ */
+
+ /**
+ * Constructs a new ListGameServerClustersRequest.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a ListGameServerClustersRequest.
+ * @implements IListGameServerClustersRequest
+ * @constructor
+ * @param {google.cloud.gaming.v1.IListGameServerClustersRequest=} [properties] Properties to set
+ */
+ function ListGameServerClustersRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * ListGameServerClustersRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @instance
+ */
+ ListGameServerClustersRequest.prototype.parent = "";
+
+ /**
+ * ListGameServerClustersRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @instance
+ */
+ ListGameServerClustersRequest.prototype.pageSize = 0;
+
+ /**
+ * ListGameServerClustersRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @instance
+ */
+ ListGameServerClustersRequest.prototype.pageToken = "";
+
+ /**
+ * ListGameServerClustersRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @instance
+ */
+ ListGameServerClustersRequest.prototype.filter = "";
+
+ /**
+ * ListGameServerClustersRequest orderBy.
+ * @member {string} orderBy
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @instance
+ */
+ ListGameServerClustersRequest.prototype.orderBy = "";
+
+ /**
+ * ListGameServerClustersRequest view.
+ * @member {google.cloud.gaming.v1.GameServerClusterView} view
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @instance
+ */
+ ListGameServerClustersRequest.prototype.view = 0;
+
+ /**
+ * Creates a new ListGameServerClustersRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IListGameServerClustersRequest=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.ListGameServerClustersRequest} ListGameServerClustersRequest instance
+ */
+ ListGameServerClustersRequest.create = function create(properties) {
+ return new ListGameServerClustersRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListGameServerClustersRequest message. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerClustersRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IListGameServerClustersRequest} message ListGameServerClustersRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListGameServerClustersRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
+ if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.filter);
+ if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.orderBy);
+ if (message.view != null && Object.hasOwnProperty.call(message, "view"))
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.view);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListGameServerClustersRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerClustersRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IListGameServerClustersRequest} message ListGameServerClustersRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListGameServerClustersRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListGameServerClustersRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.ListGameServerClustersRequest} ListGameServerClustersRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListGameServerClustersRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.ListGameServerClustersRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.pageSize = reader.int32();
+ break;
+ }
+ case 3: {
+ message.pageToken = reader.string();
+ break;
+ }
+ case 4: {
+ message.filter = reader.string();
+ break;
+ }
+ case 5: {
+ message.orderBy = reader.string();
+ break;
+ }
+ case 6: {
+ message.view = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListGameServerClustersRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.ListGameServerClustersRequest} ListGameServerClustersRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListGameServerClustersRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListGameServerClustersRequest message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListGameServerClustersRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ if (!$util.isInteger(message.pageSize))
+ return "pageSize: integer expected";
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ if (!$util.isString(message.pageToken))
+ return "pageToken: string expected";
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ if (!$util.isString(message.filter))
+ return "filter: string expected";
+ if (message.orderBy != null && message.hasOwnProperty("orderBy"))
+ if (!$util.isString(message.orderBy))
+ return "orderBy: string expected";
+ if (message.view != null && message.hasOwnProperty("view"))
+ switch (message.view) {
+ default:
+ return "view: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ListGameServerClustersRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.ListGameServerClustersRequest} ListGameServerClustersRequest
+ */
+ ListGameServerClustersRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.ListGameServerClustersRequest)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.ListGameServerClustersRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.pageSize != null)
+ message.pageSize = object.pageSize | 0;
+ if (object.pageToken != null)
+ message.pageToken = String(object.pageToken);
+ if (object.filter != null)
+ message.filter = String(object.filter);
+ if (object.orderBy != null)
+ message.orderBy = String(object.orderBy);
+ switch (object.view) {
+ default:
+ if (typeof object.view === "number") {
+ message.view = object.view;
+ break;
+ }
+ break;
+ case "GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED":
+ case 0:
+ message.view = 0;
+ break;
+ case "BASIC":
+ case 1:
+ message.view = 1;
+ break;
+ case "FULL":
+ case 2:
+ message.view = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListGameServerClustersRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @static
+ * @param {google.cloud.gaming.v1.ListGameServerClustersRequest} message ListGameServerClustersRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListGameServerClustersRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.pageSize = 0;
+ object.pageToken = "";
+ object.filter = "";
+ object.orderBy = "";
+ object.view = options.enums === String ? "GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED" : 0;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ object.pageSize = message.pageSize;
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ object.pageToken = message.pageToken;
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ object.filter = message.filter;
+ if (message.orderBy != null && message.hasOwnProperty("orderBy"))
+ object.orderBy = message.orderBy;
+ if (message.view != null && message.hasOwnProperty("view"))
+ object.view = options.enums === String ? $root.google.cloud.gaming.v1.GameServerClusterView[message.view] === undefined ? message.view : $root.google.cloud.gaming.v1.GameServerClusterView[message.view] : message.view;
+ return object;
+ };
+
+ /**
+ * Converts this ListGameServerClustersRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListGameServerClustersRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListGameServerClustersRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListGameServerClustersRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.ListGameServerClustersRequest";
+ };
+
+ return ListGameServerClustersRequest;
+ })();
+
+ v1.ListGameServerClustersResponse = (function() {
+
+ /**
+ * Properties of a ListGameServerClustersResponse.
+ * @memberof google.cloud.gaming.v1
+ * @interface IListGameServerClustersResponse
+ * @property {Array.|null} [gameServerClusters] ListGameServerClustersResponse gameServerClusters
+ * @property {string|null} [nextPageToken] ListGameServerClustersResponse nextPageToken
+ * @property {Array.|null} [unreachable] ListGameServerClustersResponse unreachable
+ */
+
+ /**
+ * Constructs a new ListGameServerClustersResponse.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a ListGameServerClustersResponse.
+ * @implements IListGameServerClustersResponse
+ * @constructor
+ * @param {google.cloud.gaming.v1.IListGameServerClustersResponse=} [properties] Properties to set
+ */
+ function ListGameServerClustersResponse(properties) {
+ this.gameServerClusters = [];
+ this.unreachable = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * ListGameServerClustersResponse gameServerClusters.
+ * @member {Array.} gameServerClusters
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersResponse
+ * @instance
+ */
+ ListGameServerClustersResponse.prototype.gameServerClusters = $util.emptyArray;
+
+ /**
+ * ListGameServerClustersResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersResponse
+ * @instance
+ */
+ ListGameServerClustersResponse.prototype.nextPageToken = "";
+
+ /**
+ * ListGameServerClustersResponse unreachable.
+ * @member {Array.} unreachable
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersResponse
+ * @instance
+ */
+ ListGameServerClustersResponse.prototype.unreachable = $util.emptyArray;
+
+ /**
+ * Creates a new ListGameServerClustersResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IListGameServerClustersResponse=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.ListGameServerClustersResponse} ListGameServerClustersResponse instance
+ */
+ ListGameServerClustersResponse.create = function create(properties) {
+ return new ListGameServerClustersResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListGameServerClustersResponse message. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerClustersResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IListGameServerClustersResponse} message ListGameServerClustersResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListGameServerClustersResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.gameServerClusters != null && message.gameServerClusters.length)
+ for (var i = 0; i < message.gameServerClusters.length; ++i)
+ $root.google.cloud.gaming.v1.GameServerCluster.encode(message.gameServerClusters[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
+ if (message.unreachable != null && message.unreachable.length)
+ for (var i = 0; i < message.unreachable.length; ++i)
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.unreachable[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListGameServerClustersResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerClustersResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IListGameServerClustersResponse} message ListGameServerClustersResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListGameServerClustersResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListGameServerClustersResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.ListGameServerClustersResponse} ListGameServerClustersResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListGameServerClustersResponse.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.ListGameServerClustersResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.gameServerClusters && message.gameServerClusters.length))
+ message.gameServerClusters = [];
+ message.gameServerClusters.push($root.google.cloud.gaming.v1.GameServerCluster.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ case 4: {
+ if (!(message.unreachable && message.unreachable.length))
+ message.unreachable = [];
+ message.unreachable.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListGameServerClustersResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.ListGameServerClustersResponse} ListGameServerClustersResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListGameServerClustersResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListGameServerClustersResponse message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListGameServerClustersResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.gameServerClusters != null && message.hasOwnProperty("gameServerClusters")) {
+ if (!Array.isArray(message.gameServerClusters))
+ return "gameServerClusters: array expected";
+ for (var i = 0; i < message.gameServerClusters.length; ++i) {
+ var error = $root.google.cloud.gaming.v1.GameServerCluster.verify(message.gameServerClusters[i]);
+ if (error)
+ return "gameServerClusters." + error;
+ }
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ if (!$util.isString(message.nextPageToken))
+ return "nextPageToken: string expected";
+ if (message.unreachable != null && message.hasOwnProperty("unreachable")) {
+ if (!Array.isArray(message.unreachable))
+ return "unreachable: array expected";
+ for (var i = 0; i < message.unreachable.length; ++i)
+ if (!$util.isString(message.unreachable[i]))
+ return "unreachable: string[] expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ListGameServerClustersResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.ListGameServerClustersResponse} ListGameServerClustersResponse
+ */
+ ListGameServerClustersResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.ListGameServerClustersResponse)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.ListGameServerClustersResponse();
+ if (object.gameServerClusters) {
+ if (!Array.isArray(object.gameServerClusters))
+ throw TypeError(".google.cloud.gaming.v1.ListGameServerClustersResponse.gameServerClusters: array expected");
+ message.gameServerClusters = [];
+ for (var i = 0; i < object.gameServerClusters.length; ++i) {
+ if (typeof object.gameServerClusters[i] !== "object")
+ throw TypeError(".google.cloud.gaming.v1.ListGameServerClustersResponse.gameServerClusters: object expected");
+ message.gameServerClusters[i] = $root.google.cloud.gaming.v1.GameServerCluster.fromObject(object.gameServerClusters[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ if (object.unreachable) {
+ if (!Array.isArray(object.unreachable))
+ throw TypeError(".google.cloud.gaming.v1.ListGameServerClustersResponse.unreachable: array expected");
+ message.unreachable = [];
+ for (var i = 0; i < object.unreachable.length; ++i)
+ message.unreachable[i] = String(object.unreachable[i]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListGameServerClustersResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersResponse
+ * @static
+ * @param {google.cloud.gaming.v1.ListGameServerClustersResponse} message ListGameServerClustersResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListGameServerClustersResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.gameServerClusters = [];
+ object.unreachable = [];
+ }
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.gameServerClusters && message.gameServerClusters.length) {
+ object.gameServerClusters = [];
+ for (var j = 0; j < message.gameServerClusters.length; ++j)
+ object.gameServerClusters[j] = $root.google.cloud.gaming.v1.GameServerCluster.toObject(message.gameServerClusters[j], options);
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ object.nextPageToken = message.nextPageToken;
+ if (message.unreachable && message.unreachable.length) {
+ object.unreachable = [];
+ for (var j = 0; j < message.unreachable.length; ++j)
+ object.unreachable[j] = message.unreachable[j];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ListGameServerClustersResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListGameServerClustersResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListGameServerClustersResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.ListGameServerClustersResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListGameServerClustersResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.ListGameServerClustersResponse";
+ };
+
+ return ListGameServerClustersResponse;
+ })();
+
+ v1.GetGameServerClusterRequest = (function() {
+
+ /**
+ * Properties of a GetGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @interface IGetGameServerClusterRequest
+ * @property {string|null} [name] GetGameServerClusterRequest name
+ * @property {google.cloud.gaming.v1.GameServerClusterView|null} [view] GetGameServerClusterRequest view
+ */
+
+ /**
+ * Constructs a new GetGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a GetGameServerClusterRequest.
+ * @implements IGetGameServerClusterRequest
+ * @constructor
+ * @param {google.cloud.gaming.v1.IGetGameServerClusterRequest=} [properties] Properties to set
+ */
+ function GetGameServerClusterRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * GetGameServerClusterRequest name.
+ * @member {string} name
+ * @memberof google.cloud.gaming.v1.GetGameServerClusterRequest
+ * @instance
+ */
+ GetGameServerClusterRequest.prototype.name = "";
+
+ /**
+ * GetGameServerClusterRequest view.
+ * @member {google.cloud.gaming.v1.GameServerClusterView} view
+ * @memberof google.cloud.gaming.v1.GetGameServerClusterRequest
+ * @instance
+ */
+ GetGameServerClusterRequest.prototype.view = 0;
+
+ /**
+ * Creates a new GetGameServerClusterRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.GetGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IGetGameServerClusterRequest=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.GetGameServerClusterRequest} GetGameServerClusterRequest instance
+ */
+ GetGameServerClusterRequest.create = function create(properties) {
+ return new GetGameServerClusterRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.GetGameServerClusterRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.GetGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IGetGameServerClusterRequest} message GetGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetGameServerClusterRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.view != null && Object.hasOwnProperty.call(message, "view"))
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.view);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GetGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GetGameServerClusterRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.GetGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IGetGameServerClusterRequest} message GetGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetGameServerClusterRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetGameServerClusterRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.GetGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.GetGameServerClusterRequest} GetGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetGameServerClusterRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.GetGameServerClusterRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 6: {
+ message.view = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GetGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.GetGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.GetGameServerClusterRequest} GetGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetGameServerClusterRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetGameServerClusterRequest message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.GetGameServerClusterRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetGameServerClusterRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.view != null && message.hasOwnProperty("view"))
+ switch (message.view) {
+ default:
+ return "view: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a GetGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.GetGameServerClusterRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.GetGameServerClusterRequest} GetGameServerClusterRequest
+ */
+ GetGameServerClusterRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.GetGameServerClusterRequest)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.GetGameServerClusterRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ switch (object.view) {
+ default:
+ if (typeof object.view === "number") {
+ message.view = object.view;
+ break;
+ }
+ break;
+ case "GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED":
+ case 0:
+ message.view = 0;
+ break;
+ case "BASIC":
+ case 1:
+ message.view = 1;
+ break;
+ case "FULL":
+ case 2:
+ message.view = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetGameServerClusterRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.GetGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.GetGameServerClusterRequest} message GetGameServerClusterRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetGameServerClusterRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.view = options.enums === String ? "GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED" : 0;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.view != null && message.hasOwnProperty("view"))
+ object.view = options.enums === String ? $root.google.cloud.gaming.v1.GameServerClusterView[message.view] === undefined ? message.view : $root.google.cloud.gaming.v1.GameServerClusterView[message.view] : message.view;
+ return object;
+ };
+
+ /**
+ * Converts this GetGameServerClusterRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.GetGameServerClusterRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetGameServerClusterRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GetGameServerClusterRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.GetGameServerClusterRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GetGameServerClusterRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.GetGameServerClusterRequest";
+ };
+
+ return GetGameServerClusterRequest;
+ })();
+
+ v1.CreateGameServerClusterRequest = (function() {
+
+ /**
+ * Properties of a CreateGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @interface ICreateGameServerClusterRequest
+ * @property {string|null} [parent] CreateGameServerClusterRequest parent
+ * @property {string|null} [gameServerClusterId] CreateGameServerClusterRequest gameServerClusterId
+ * @property {google.cloud.gaming.v1.IGameServerCluster|null} [gameServerCluster] CreateGameServerClusterRequest gameServerCluster
+ */
+
+ /**
+ * Constructs a new CreateGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a CreateGameServerClusterRequest.
+ * @implements ICreateGameServerClusterRequest
+ * @constructor
+ * @param {google.cloud.gaming.v1.ICreateGameServerClusterRequest=} [properties] Properties to set
+ */
+ function CreateGameServerClusterRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * CreateGameServerClusterRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.gaming.v1.CreateGameServerClusterRequest
+ * @instance
+ */
+ CreateGameServerClusterRequest.prototype.parent = "";
+
+ /**
+ * CreateGameServerClusterRequest gameServerClusterId.
+ * @member {string} gameServerClusterId
+ * @memberof google.cloud.gaming.v1.CreateGameServerClusterRequest
+ * @instance
+ */
+ CreateGameServerClusterRequest.prototype.gameServerClusterId = "";
+
+ /**
+ * CreateGameServerClusterRequest gameServerCluster.
+ * @member {google.cloud.gaming.v1.IGameServerCluster|null|undefined} gameServerCluster
+ * @memberof google.cloud.gaming.v1.CreateGameServerClusterRequest
+ * @instance
+ */
+ CreateGameServerClusterRequest.prototype.gameServerCluster = null;
+
+ /**
+ * Creates a new CreateGameServerClusterRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.CreateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.ICreateGameServerClusterRequest=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.CreateGameServerClusterRequest} CreateGameServerClusterRequest instance
+ */
+ CreateGameServerClusterRequest.create = function create(properties) {
+ return new CreateGameServerClusterRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.CreateGameServerClusterRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.CreateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.ICreateGameServerClusterRequest} message CreateGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateGameServerClusterRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.gameServerClusterId != null && Object.hasOwnProperty.call(message, "gameServerClusterId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.gameServerClusterId);
+ if (message.gameServerCluster != null && Object.hasOwnProperty.call(message, "gameServerCluster"))
+ $root.google.cloud.gaming.v1.GameServerCluster.encode(message.gameServerCluster, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.CreateGameServerClusterRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.CreateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.ICreateGameServerClusterRequest} message CreateGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateGameServerClusterRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateGameServerClusterRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.CreateGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.CreateGameServerClusterRequest} CreateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateGameServerClusterRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.CreateGameServerClusterRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.gameServerClusterId = reader.string();
+ break;
+ }
+ case 3: {
+ message.gameServerCluster = $root.google.cloud.gaming.v1.GameServerCluster.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.CreateGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.CreateGameServerClusterRequest} CreateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateGameServerClusterRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateGameServerClusterRequest message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.CreateGameServerClusterRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateGameServerClusterRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.gameServerClusterId != null && message.hasOwnProperty("gameServerClusterId"))
+ if (!$util.isString(message.gameServerClusterId))
+ return "gameServerClusterId: string expected";
+ if (message.gameServerCluster != null && message.hasOwnProperty("gameServerCluster")) {
+ var error = $root.google.cloud.gaming.v1.GameServerCluster.verify(message.gameServerCluster);
+ if (error)
+ return "gameServerCluster." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a CreateGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.CreateGameServerClusterRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.CreateGameServerClusterRequest} CreateGameServerClusterRequest
+ */
+ CreateGameServerClusterRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.CreateGameServerClusterRequest)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.CreateGameServerClusterRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.gameServerClusterId != null)
+ message.gameServerClusterId = String(object.gameServerClusterId);
+ if (object.gameServerCluster != null) {
+ if (typeof object.gameServerCluster !== "object")
+ throw TypeError(".google.cloud.gaming.v1.CreateGameServerClusterRequest.gameServerCluster: object expected");
+ message.gameServerCluster = $root.google.cloud.gaming.v1.GameServerCluster.fromObject(object.gameServerCluster);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateGameServerClusterRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.CreateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.CreateGameServerClusterRequest} message CreateGameServerClusterRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateGameServerClusterRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.gameServerClusterId = "";
+ object.gameServerCluster = null;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.gameServerClusterId != null && message.hasOwnProperty("gameServerClusterId"))
+ object.gameServerClusterId = message.gameServerClusterId;
+ if (message.gameServerCluster != null && message.hasOwnProperty("gameServerCluster"))
+ object.gameServerCluster = $root.google.cloud.gaming.v1.GameServerCluster.toObject(message.gameServerCluster, options);
+ return object;
+ };
+
+ /**
+ * Converts this CreateGameServerClusterRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.CreateGameServerClusterRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateGameServerClusterRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateGameServerClusterRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.CreateGameServerClusterRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateGameServerClusterRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.CreateGameServerClusterRequest";
+ };
+
+ return CreateGameServerClusterRequest;
+ })();
+
+ v1.PreviewCreateGameServerClusterRequest = (function() {
+
+ /**
+ * Properties of a PreviewCreateGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @interface IPreviewCreateGameServerClusterRequest
+ * @property {string|null} [parent] PreviewCreateGameServerClusterRequest parent
+ * @property {string|null} [gameServerClusterId] PreviewCreateGameServerClusterRequest gameServerClusterId
+ * @property {google.cloud.gaming.v1.IGameServerCluster|null} [gameServerCluster] PreviewCreateGameServerClusterRequest gameServerCluster
+ * @property {google.protobuf.ITimestamp|null} [previewTime] PreviewCreateGameServerClusterRequest previewTime
+ * @property {google.cloud.gaming.v1.GameServerClusterView|null} [view] PreviewCreateGameServerClusterRequest view
+ */
+
+ /**
+ * Constructs a new PreviewCreateGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a PreviewCreateGameServerClusterRequest.
+ * @implements IPreviewCreateGameServerClusterRequest
+ * @constructor
+ * @param {google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest=} [properties] Properties to set
+ */
+ function PreviewCreateGameServerClusterRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * PreviewCreateGameServerClusterRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @instance
+ */
+ PreviewCreateGameServerClusterRequest.prototype.parent = "";
+
+ /**
+ * PreviewCreateGameServerClusterRequest gameServerClusterId.
+ * @member {string} gameServerClusterId
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @instance
+ */
+ PreviewCreateGameServerClusterRequest.prototype.gameServerClusterId = "";
+
+ /**
+ * PreviewCreateGameServerClusterRequest gameServerCluster.
+ * @member {google.cloud.gaming.v1.IGameServerCluster|null|undefined} gameServerCluster
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @instance
+ */
+ PreviewCreateGameServerClusterRequest.prototype.gameServerCluster = null;
+
+ /**
+ * PreviewCreateGameServerClusterRequest previewTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} previewTime
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @instance
+ */
+ PreviewCreateGameServerClusterRequest.prototype.previewTime = null;
+
+ /**
+ * PreviewCreateGameServerClusterRequest view.
+ * @member {google.cloud.gaming.v1.GameServerClusterView} view
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @instance
+ */
+ PreviewCreateGameServerClusterRequest.prototype.view = 0;
+
+ /**
+ * Creates a new PreviewCreateGameServerClusterRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest} PreviewCreateGameServerClusterRequest instance
+ */
+ PreviewCreateGameServerClusterRequest.create = function create(properties) {
+ return new PreviewCreateGameServerClusterRequest(properties);
+ };
+
+ /**
+ * Encodes the specified PreviewCreateGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest} message PreviewCreateGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PreviewCreateGameServerClusterRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.gameServerClusterId != null && Object.hasOwnProperty.call(message, "gameServerClusterId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.gameServerClusterId);
+ if (message.gameServerCluster != null && Object.hasOwnProperty.call(message, "gameServerCluster"))
+ $root.google.cloud.gaming.v1.GameServerCluster.encode(message.gameServerCluster, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.previewTime != null && Object.hasOwnProperty.call(message, "previewTime"))
+ $root.google.protobuf.Timestamp.encode(message.previewTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.view != null && Object.hasOwnProperty.call(message, "view"))
+ writer.uint32(/* id 6, wireType 0 =*/48).int32(message.view);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PreviewCreateGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest} message PreviewCreateGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PreviewCreateGameServerClusterRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PreviewCreateGameServerClusterRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest} PreviewCreateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PreviewCreateGameServerClusterRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.gameServerClusterId = reader.string();
+ break;
+ }
+ case 3: {
+ message.gameServerCluster = $root.google.cloud.gaming.v1.GameServerCluster.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.previewTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 6: {
+ message.view = reader.int32();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PreviewCreateGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest} PreviewCreateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PreviewCreateGameServerClusterRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PreviewCreateGameServerClusterRequest message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PreviewCreateGameServerClusterRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.gameServerClusterId != null && message.hasOwnProperty("gameServerClusterId"))
+ if (!$util.isString(message.gameServerClusterId))
+ return "gameServerClusterId: string expected";
+ if (message.gameServerCluster != null && message.hasOwnProperty("gameServerCluster")) {
+ var error = $root.google.cloud.gaming.v1.GameServerCluster.verify(message.gameServerCluster);
+ if (error)
+ return "gameServerCluster." + error;
+ }
+ if (message.previewTime != null && message.hasOwnProperty("previewTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.previewTime);
+ if (error)
+ return "previewTime." + error;
+ }
+ if (message.view != null && message.hasOwnProperty("view"))
+ switch (message.view) {
+ default:
+ return "view: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ break;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a PreviewCreateGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest} PreviewCreateGameServerClusterRequest
+ */
+ PreviewCreateGameServerClusterRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.gameServerClusterId != null)
+ message.gameServerClusterId = String(object.gameServerClusterId);
+ if (object.gameServerCluster != null) {
+ if (typeof object.gameServerCluster !== "object")
+ throw TypeError(".google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest.gameServerCluster: object expected");
+ message.gameServerCluster = $root.google.cloud.gaming.v1.GameServerCluster.fromObject(object.gameServerCluster);
+ }
+ if (object.previewTime != null) {
+ if (typeof object.previewTime !== "object")
+ throw TypeError(".google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest.previewTime: object expected");
+ message.previewTime = $root.google.protobuf.Timestamp.fromObject(object.previewTime);
+ }
+ switch (object.view) {
+ default:
+ if (typeof object.view === "number") {
+ message.view = object.view;
+ break;
+ }
+ break;
+ case "GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED":
+ case 0:
+ message.view = 0;
+ break;
+ case "BASIC":
+ case 1:
+ message.view = 1;
+ break;
+ case "FULL":
+ case 2:
+ message.view = 2;
+ break;
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PreviewCreateGameServerClusterRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest} message PreviewCreateGameServerClusterRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PreviewCreateGameServerClusterRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.gameServerClusterId = "";
+ object.gameServerCluster = null;
+ object.previewTime = null;
+ object.view = options.enums === String ? "GAME_SERVER_CLUSTER_VIEW_UNSPECIFIED" : 0;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.gameServerClusterId != null && message.hasOwnProperty("gameServerClusterId"))
+ object.gameServerClusterId = message.gameServerClusterId;
+ if (message.gameServerCluster != null && message.hasOwnProperty("gameServerCluster"))
+ object.gameServerCluster = $root.google.cloud.gaming.v1.GameServerCluster.toObject(message.gameServerCluster, options);
+ if (message.previewTime != null && message.hasOwnProperty("previewTime"))
+ object.previewTime = $root.google.protobuf.Timestamp.toObject(message.previewTime, options);
+ if (message.view != null && message.hasOwnProperty("view"))
+ object.view = options.enums === String ? $root.google.cloud.gaming.v1.GameServerClusterView[message.view] === undefined ? message.view : $root.google.cloud.gaming.v1.GameServerClusterView[message.view] : message.view;
+ return object;
+ };
+
+ /**
+ * Converts this PreviewCreateGameServerClusterRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PreviewCreateGameServerClusterRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PreviewCreateGameServerClusterRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PreviewCreateGameServerClusterRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest";
+ };
+
+ return PreviewCreateGameServerClusterRequest;
+ })();
+
+ v1.PreviewCreateGameServerClusterResponse = (function() {
+
+ /**
+ * Properties of a PreviewCreateGameServerClusterResponse.
+ * @memberof google.cloud.gaming.v1
+ * @interface IPreviewCreateGameServerClusterResponse
+ * @property {string|null} [etag] PreviewCreateGameServerClusterResponse etag
+ * @property {google.cloud.gaming.v1.ITargetState|null} [targetState] PreviewCreateGameServerClusterResponse targetState
+ * @property {google.cloud.gaming.v1.IKubernetesClusterState|null} [clusterState] PreviewCreateGameServerClusterResponse clusterState
+ */
+
+ /**
+ * Constructs a new PreviewCreateGameServerClusterResponse.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a PreviewCreateGameServerClusterResponse.
+ * @implements IPreviewCreateGameServerClusterResponse
+ * @constructor
+ * @param {google.cloud.gaming.v1.IPreviewCreateGameServerClusterResponse=} [properties] Properties to set
+ */
+ function PreviewCreateGameServerClusterResponse(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * PreviewCreateGameServerClusterResponse etag.
+ * @member {string} etag
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse
+ * @instance
+ */
+ PreviewCreateGameServerClusterResponse.prototype.etag = "";
+
+ /**
+ * PreviewCreateGameServerClusterResponse targetState.
+ * @member {google.cloud.gaming.v1.ITargetState|null|undefined} targetState
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse
+ * @instance
+ */
+ PreviewCreateGameServerClusterResponse.prototype.targetState = null;
+
+ /**
+ * PreviewCreateGameServerClusterResponse clusterState.
+ * @member {google.cloud.gaming.v1.IKubernetesClusterState|null|undefined} clusterState
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse
+ * @instance
+ */
+ PreviewCreateGameServerClusterResponse.prototype.clusterState = null;
+
+ /**
+ * Creates a new PreviewCreateGameServerClusterResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewCreateGameServerClusterResponse=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse} PreviewCreateGameServerClusterResponse instance
+ */
+ PreviewCreateGameServerClusterResponse.create = function create(properties) {
+ return new PreviewCreateGameServerClusterResponse(properties);
+ };
+
+ /**
+ * Encodes the specified PreviewCreateGameServerClusterResponse message. Does not implicitly {@link google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewCreateGameServerClusterResponse} message PreviewCreateGameServerClusterResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PreviewCreateGameServerClusterResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.etag != null && Object.hasOwnProperty.call(message, "etag"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.etag);
+ if (message.targetState != null && Object.hasOwnProperty.call(message, "targetState"))
+ $root.google.cloud.gaming.v1.TargetState.encode(message.targetState, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.clusterState != null && Object.hasOwnProperty.call(message, "clusterState"))
+ $root.google.cloud.gaming.v1.KubernetesClusterState.encode(message.clusterState, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PreviewCreateGameServerClusterResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewCreateGameServerClusterResponse} message PreviewCreateGameServerClusterResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PreviewCreateGameServerClusterResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PreviewCreateGameServerClusterResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse} PreviewCreateGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PreviewCreateGameServerClusterResponse.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 2: {
+ message.etag = reader.string();
+ break;
+ }
+ case 3: {
+ message.targetState = $root.google.cloud.gaming.v1.TargetState.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ message.clusterState = $root.google.cloud.gaming.v1.KubernetesClusterState.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PreviewCreateGameServerClusterResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse} PreviewCreateGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PreviewCreateGameServerClusterResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PreviewCreateGameServerClusterResponse message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PreviewCreateGameServerClusterResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ if (!$util.isString(message.etag))
+ return "etag: string expected";
+ if (message.targetState != null && message.hasOwnProperty("targetState")) {
+ var error = $root.google.cloud.gaming.v1.TargetState.verify(message.targetState);
+ if (error)
+ return "targetState." + error;
+ }
+ if (message.clusterState != null && message.hasOwnProperty("clusterState")) {
+ var error = $root.google.cloud.gaming.v1.KubernetesClusterState.verify(message.clusterState);
+ if (error)
+ return "clusterState." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a PreviewCreateGameServerClusterResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse} PreviewCreateGameServerClusterResponse
+ */
+ PreviewCreateGameServerClusterResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse();
+ if (object.etag != null)
+ message.etag = String(object.etag);
+ if (object.targetState != null) {
+ if (typeof object.targetState !== "object")
+ throw TypeError(".google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse.targetState: object expected");
+ message.targetState = $root.google.cloud.gaming.v1.TargetState.fromObject(object.targetState);
+ }
+ if (object.clusterState != null) {
+ if (typeof object.clusterState !== "object")
+ throw TypeError(".google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse.clusterState: object expected");
+ message.clusterState = $root.google.cloud.gaming.v1.KubernetesClusterState.fromObject(object.clusterState);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PreviewCreateGameServerClusterResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse
+ * @static
+ * @param {google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse} message PreviewCreateGameServerClusterResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PreviewCreateGameServerClusterResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.etag = "";
+ object.targetState = null;
+ object.clusterState = null;
+ }
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ object.etag = message.etag;
+ if (message.targetState != null && message.hasOwnProperty("targetState"))
+ object.targetState = $root.google.cloud.gaming.v1.TargetState.toObject(message.targetState, options);
+ if (message.clusterState != null && message.hasOwnProperty("clusterState"))
+ object.clusterState = $root.google.cloud.gaming.v1.KubernetesClusterState.toObject(message.clusterState, options);
+ return object;
+ };
+
+ /**
+ * Converts this PreviewCreateGameServerClusterResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PreviewCreateGameServerClusterResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PreviewCreateGameServerClusterResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PreviewCreateGameServerClusterResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse";
+ };
+
+ return PreviewCreateGameServerClusterResponse;
+ })();
+
+ v1.DeleteGameServerClusterRequest = (function() {
+
+ /**
+ * Properties of a DeleteGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @interface IDeleteGameServerClusterRequest
+ * @property {string|null} [name] DeleteGameServerClusterRequest name
+ */
+
+ /**
+ * Constructs a new DeleteGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a DeleteGameServerClusterRequest.
+ * @implements IDeleteGameServerClusterRequest
+ * @constructor
+ * @param {google.cloud.gaming.v1.IDeleteGameServerClusterRequest=} [properties] Properties to set
+ */
+ function DeleteGameServerClusterRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * DeleteGameServerClusterRequest name.
+ * @member {string} name
+ * @memberof google.cloud.gaming.v1.DeleteGameServerClusterRequest
+ * @instance
+ */
+ DeleteGameServerClusterRequest.prototype.name = "";
+
+ /**
+ * Creates a new DeleteGameServerClusterRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.DeleteGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IDeleteGameServerClusterRequest=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.DeleteGameServerClusterRequest} DeleteGameServerClusterRequest instance
+ */
+ DeleteGameServerClusterRequest.create = function create(properties) {
+ return new DeleteGameServerClusterRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.DeleteGameServerClusterRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.DeleteGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IDeleteGameServerClusterRequest} message DeleteGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteGameServerClusterRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeleteGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeleteGameServerClusterRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.DeleteGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IDeleteGameServerClusterRequest} message DeleteGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteGameServerClusterRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeleteGameServerClusterRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.DeleteGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.DeleteGameServerClusterRequest} DeleteGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteGameServerClusterRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.DeleteGameServerClusterRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeleteGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.DeleteGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.DeleteGameServerClusterRequest} DeleteGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteGameServerClusterRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeleteGameServerClusterRequest message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.DeleteGameServerClusterRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeleteGameServerClusterRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a DeleteGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.DeleteGameServerClusterRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.DeleteGameServerClusterRequest} DeleteGameServerClusterRequest
+ */
+ DeleteGameServerClusterRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.DeleteGameServerClusterRequest)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.DeleteGameServerClusterRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeleteGameServerClusterRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.DeleteGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.DeleteGameServerClusterRequest} message DeleteGameServerClusterRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeleteGameServerClusterRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this DeleteGameServerClusterRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.DeleteGameServerClusterRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeleteGameServerClusterRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeleteGameServerClusterRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.DeleteGameServerClusterRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeleteGameServerClusterRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.DeleteGameServerClusterRequest";
+ };
+
+ return DeleteGameServerClusterRequest;
+ })();
+
+ v1.PreviewDeleteGameServerClusterRequest = (function() {
+
+ /**
+ * Properties of a PreviewDeleteGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @interface IPreviewDeleteGameServerClusterRequest
+ * @property {string|null} [name] PreviewDeleteGameServerClusterRequest name
+ * @property {google.protobuf.ITimestamp|null} [previewTime] PreviewDeleteGameServerClusterRequest previewTime
+ */
+
+ /**
+ * Constructs a new PreviewDeleteGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a PreviewDeleteGameServerClusterRequest.
+ * @implements IPreviewDeleteGameServerClusterRequest
+ * @constructor
+ * @param {google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest=} [properties] Properties to set
+ */
+ function PreviewDeleteGameServerClusterRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * PreviewDeleteGameServerClusterRequest name.
+ * @member {string} name
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest
+ * @instance
+ */
+ PreviewDeleteGameServerClusterRequest.prototype.name = "";
+
+ /**
+ * PreviewDeleteGameServerClusterRequest previewTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} previewTime
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest
+ * @instance
+ */
+ PreviewDeleteGameServerClusterRequest.prototype.previewTime = null;
+
+ /**
+ * Creates a new PreviewDeleteGameServerClusterRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest} PreviewDeleteGameServerClusterRequest instance
+ */
+ PreviewDeleteGameServerClusterRequest.create = function create(properties) {
+ return new PreviewDeleteGameServerClusterRequest(properties);
+ };
+
+ /**
+ * Encodes the specified PreviewDeleteGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest} message PreviewDeleteGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PreviewDeleteGameServerClusterRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.previewTime != null && Object.hasOwnProperty.call(message, "previewTime"))
+ $root.google.protobuf.Timestamp.encode(message.previewTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PreviewDeleteGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest} message PreviewDeleteGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PreviewDeleteGameServerClusterRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PreviewDeleteGameServerClusterRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest} PreviewDeleteGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PreviewDeleteGameServerClusterRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.previewTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PreviewDeleteGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest} PreviewDeleteGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PreviewDeleteGameServerClusterRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PreviewDeleteGameServerClusterRequest message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PreviewDeleteGameServerClusterRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.previewTime != null && message.hasOwnProperty("previewTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.previewTime);
+ if (error)
+ return "previewTime." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a PreviewDeleteGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest} PreviewDeleteGameServerClusterRequest
+ */
+ PreviewDeleteGameServerClusterRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.previewTime != null) {
+ if (typeof object.previewTime !== "object")
+ throw TypeError(".google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest.previewTime: object expected");
+ message.previewTime = $root.google.protobuf.Timestamp.fromObject(object.previewTime);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PreviewDeleteGameServerClusterRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest} message PreviewDeleteGameServerClusterRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PreviewDeleteGameServerClusterRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.name = "";
+ object.previewTime = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.previewTime != null && message.hasOwnProperty("previewTime"))
+ object.previewTime = $root.google.protobuf.Timestamp.toObject(message.previewTime, options);
+ return object;
+ };
+
+ /**
+ * Converts this PreviewDeleteGameServerClusterRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PreviewDeleteGameServerClusterRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PreviewDeleteGameServerClusterRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PreviewDeleteGameServerClusterRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest";
+ };
+
+ return PreviewDeleteGameServerClusterRequest;
+ })();
+
+ v1.PreviewDeleteGameServerClusterResponse = (function() {
+
+ /**
+ * Properties of a PreviewDeleteGameServerClusterResponse.
+ * @memberof google.cloud.gaming.v1
+ * @interface IPreviewDeleteGameServerClusterResponse
+ * @property {string|null} [etag] PreviewDeleteGameServerClusterResponse etag
+ * @property {google.cloud.gaming.v1.ITargetState|null} [targetState] PreviewDeleteGameServerClusterResponse targetState
+ */
+
+ /**
+ * Constructs a new PreviewDeleteGameServerClusterResponse.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a PreviewDeleteGameServerClusterResponse.
+ * @implements IPreviewDeleteGameServerClusterResponse
+ * @constructor
+ * @param {google.cloud.gaming.v1.IPreviewDeleteGameServerClusterResponse=} [properties] Properties to set
+ */
+ function PreviewDeleteGameServerClusterResponse(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * PreviewDeleteGameServerClusterResponse etag.
+ * @member {string} etag
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse
+ * @instance
+ */
+ PreviewDeleteGameServerClusterResponse.prototype.etag = "";
+
+ /**
+ * PreviewDeleteGameServerClusterResponse targetState.
+ * @member {google.cloud.gaming.v1.ITargetState|null|undefined} targetState
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse
+ * @instance
+ */
+ PreviewDeleteGameServerClusterResponse.prototype.targetState = null;
+
+ /**
+ * Creates a new PreviewDeleteGameServerClusterResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewDeleteGameServerClusterResponse=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse} PreviewDeleteGameServerClusterResponse instance
+ */
+ PreviewDeleteGameServerClusterResponse.create = function create(properties) {
+ return new PreviewDeleteGameServerClusterResponse(properties);
+ };
+
+ /**
+ * Encodes the specified PreviewDeleteGameServerClusterResponse message. Does not implicitly {@link google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewDeleteGameServerClusterResponse} message PreviewDeleteGameServerClusterResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PreviewDeleteGameServerClusterResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.etag != null && Object.hasOwnProperty.call(message, "etag"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.etag);
+ if (message.targetState != null && Object.hasOwnProperty.call(message, "targetState"))
+ $root.google.cloud.gaming.v1.TargetState.encode(message.targetState, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PreviewDeleteGameServerClusterResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewDeleteGameServerClusterResponse} message PreviewDeleteGameServerClusterResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PreviewDeleteGameServerClusterResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PreviewDeleteGameServerClusterResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse} PreviewDeleteGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PreviewDeleteGameServerClusterResponse.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 2: {
+ message.etag = reader.string();
+ break;
+ }
+ case 3: {
+ message.targetState = $root.google.cloud.gaming.v1.TargetState.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PreviewDeleteGameServerClusterResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse} PreviewDeleteGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PreviewDeleteGameServerClusterResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PreviewDeleteGameServerClusterResponse message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PreviewDeleteGameServerClusterResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ if (!$util.isString(message.etag))
+ return "etag: string expected";
+ if (message.targetState != null && message.hasOwnProperty("targetState")) {
+ var error = $root.google.cloud.gaming.v1.TargetState.verify(message.targetState);
+ if (error)
+ return "targetState." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a PreviewDeleteGameServerClusterResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse} PreviewDeleteGameServerClusterResponse
+ */
+ PreviewDeleteGameServerClusterResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse();
+ if (object.etag != null)
+ message.etag = String(object.etag);
+ if (object.targetState != null) {
+ if (typeof object.targetState !== "object")
+ throw TypeError(".google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse.targetState: object expected");
+ message.targetState = $root.google.cloud.gaming.v1.TargetState.fromObject(object.targetState);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PreviewDeleteGameServerClusterResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse
+ * @static
+ * @param {google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse} message PreviewDeleteGameServerClusterResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PreviewDeleteGameServerClusterResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.etag = "";
+ object.targetState = null;
+ }
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ object.etag = message.etag;
+ if (message.targetState != null && message.hasOwnProperty("targetState"))
+ object.targetState = $root.google.cloud.gaming.v1.TargetState.toObject(message.targetState, options);
+ return object;
+ };
+
+ /**
+ * Converts this PreviewDeleteGameServerClusterResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PreviewDeleteGameServerClusterResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PreviewDeleteGameServerClusterResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PreviewDeleteGameServerClusterResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse";
+ };
+
+ return PreviewDeleteGameServerClusterResponse;
+ })();
+
+ v1.UpdateGameServerClusterRequest = (function() {
+
+ /**
+ * Properties of an UpdateGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @interface IUpdateGameServerClusterRequest
+ * @property {google.cloud.gaming.v1.IGameServerCluster|null} [gameServerCluster] UpdateGameServerClusterRequest gameServerCluster
+ * @property {google.protobuf.IFieldMask|null} [updateMask] UpdateGameServerClusterRequest updateMask
+ */
+
+ /**
+ * Constructs a new UpdateGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents an UpdateGameServerClusterRequest.
+ * @implements IUpdateGameServerClusterRequest
+ * @constructor
+ * @param {google.cloud.gaming.v1.IUpdateGameServerClusterRequest=} [properties] Properties to set
+ */
+ function UpdateGameServerClusterRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * UpdateGameServerClusterRequest gameServerCluster.
+ * @member {google.cloud.gaming.v1.IGameServerCluster|null|undefined} gameServerCluster
+ * @memberof google.cloud.gaming.v1.UpdateGameServerClusterRequest
+ * @instance
+ */
+ UpdateGameServerClusterRequest.prototype.gameServerCluster = null;
+
+ /**
+ * UpdateGameServerClusterRequest updateMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} updateMask
+ * @memberof google.cloud.gaming.v1.UpdateGameServerClusterRequest
+ * @instance
+ */
+ UpdateGameServerClusterRequest.prototype.updateMask = null;
+
+ /**
+ * Creates a new UpdateGameServerClusterRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.UpdateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IUpdateGameServerClusterRequest=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.UpdateGameServerClusterRequest} UpdateGameServerClusterRequest instance
+ */
+ UpdateGameServerClusterRequest.create = function create(properties) {
+ return new UpdateGameServerClusterRequest(properties);
+ };
+
+ /**
+ * Encodes the specified UpdateGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.UpdateGameServerClusterRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.UpdateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IUpdateGameServerClusterRequest} message UpdateGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateGameServerClusterRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.gameServerCluster != null && Object.hasOwnProperty.call(message, "gameServerCluster"))
+ $root.google.cloud.gaming.v1.GameServerCluster.encode(message.gameServerCluster, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.updateMask != null && Object.hasOwnProperty.call(message, "updateMask"))
+ $root.google.protobuf.FieldMask.encode(message.updateMask, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified UpdateGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.UpdateGameServerClusterRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.UpdateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IUpdateGameServerClusterRequest} message UpdateGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ UpdateGameServerClusterRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes an UpdateGameServerClusterRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.UpdateGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.UpdateGameServerClusterRequest} UpdateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateGameServerClusterRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.UpdateGameServerClusterRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.gameServerCluster = $root.google.cloud.gaming.v1.GameServerCluster.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes an UpdateGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.UpdateGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.UpdateGameServerClusterRequest} UpdateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ UpdateGameServerClusterRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies an UpdateGameServerClusterRequest message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.UpdateGameServerClusterRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ UpdateGameServerClusterRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.gameServerCluster != null && message.hasOwnProperty("gameServerCluster")) {
+ var error = $root.google.cloud.gaming.v1.GameServerCluster.verify(message.gameServerCluster);
+ if (error)
+ return "gameServerCluster." + error;
+ }
+ if (message.updateMask != null && message.hasOwnProperty("updateMask")) {
+ var error = $root.google.protobuf.FieldMask.verify(message.updateMask);
+ if (error)
+ return "updateMask." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates an UpdateGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.UpdateGameServerClusterRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.UpdateGameServerClusterRequest} UpdateGameServerClusterRequest
+ */
+ UpdateGameServerClusterRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.UpdateGameServerClusterRequest)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.UpdateGameServerClusterRequest();
+ if (object.gameServerCluster != null) {
+ if (typeof object.gameServerCluster !== "object")
+ throw TypeError(".google.cloud.gaming.v1.UpdateGameServerClusterRequest.gameServerCluster: object expected");
+ message.gameServerCluster = $root.google.cloud.gaming.v1.GameServerCluster.fromObject(object.gameServerCluster);
+ }
+ if (object.updateMask != null) {
+ if (typeof object.updateMask !== "object")
+ throw TypeError(".google.cloud.gaming.v1.UpdateGameServerClusterRequest.updateMask: object expected");
+ message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from an UpdateGameServerClusterRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.UpdateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.UpdateGameServerClusterRequest} message UpdateGameServerClusterRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ UpdateGameServerClusterRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.gameServerCluster = null;
+ object.updateMask = null;
+ }
+ if (message.gameServerCluster != null && message.hasOwnProperty("gameServerCluster"))
+ object.gameServerCluster = $root.google.cloud.gaming.v1.GameServerCluster.toObject(message.gameServerCluster, options);
+ if (message.updateMask != null && message.hasOwnProperty("updateMask"))
+ object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options);
+ return object;
+ };
+
+ /**
+ * Converts this UpdateGameServerClusterRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.UpdateGameServerClusterRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ UpdateGameServerClusterRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for UpdateGameServerClusterRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.UpdateGameServerClusterRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ UpdateGameServerClusterRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.UpdateGameServerClusterRequest";
+ };
+
+ return UpdateGameServerClusterRequest;
+ })();
+
+ v1.PreviewUpdateGameServerClusterRequest = (function() {
+
+ /**
+ * Properties of a PreviewUpdateGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @interface IPreviewUpdateGameServerClusterRequest
+ * @property {google.cloud.gaming.v1.IGameServerCluster|null} [gameServerCluster] PreviewUpdateGameServerClusterRequest gameServerCluster
+ * @property {google.protobuf.IFieldMask|null} [updateMask] PreviewUpdateGameServerClusterRequest updateMask
+ * @property {google.protobuf.ITimestamp|null} [previewTime] PreviewUpdateGameServerClusterRequest previewTime
+ */
+
+ /**
+ * Constructs a new PreviewUpdateGameServerClusterRequest.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a PreviewUpdateGameServerClusterRequest.
+ * @implements IPreviewUpdateGameServerClusterRequest
+ * @constructor
+ * @param {google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest=} [properties] Properties to set
+ */
+ function PreviewUpdateGameServerClusterRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * PreviewUpdateGameServerClusterRequest gameServerCluster.
+ * @member {google.cloud.gaming.v1.IGameServerCluster|null|undefined} gameServerCluster
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest
+ * @instance
+ */
+ PreviewUpdateGameServerClusterRequest.prototype.gameServerCluster = null;
+
+ /**
+ * PreviewUpdateGameServerClusterRequest updateMask.
+ * @member {google.protobuf.IFieldMask|null|undefined} updateMask
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest
+ * @instance
+ */
+ PreviewUpdateGameServerClusterRequest.prototype.updateMask = null;
+
+ /**
+ * PreviewUpdateGameServerClusterRequest previewTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} previewTime
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest
+ * @instance
+ */
+ PreviewUpdateGameServerClusterRequest.prototype.previewTime = null;
+
+ /**
+ * Creates a new PreviewUpdateGameServerClusterRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest} PreviewUpdateGameServerClusterRequest instance
+ */
+ PreviewUpdateGameServerClusterRequest.create = function create(properties) {
+ return new PreviewUpdateGameServerClusterRequest(properties);
+ };
+
+ /**
+ * Encodes the specified PreviewUpdateGameServerClusterRequest message. Does not implicitly {@link google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest} message PreviewUpdateGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PreviewUpdateGameServerClusterRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.gameServerCluster != null && Object.hasOwnProperty.call(message, "gameServerCluster"))
+ $root.google.cloud.gaming.v1.GameServerCluster.encode(message.gameServerCluster, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.updateMask != null && Object.hasOwnProperty.call(message, "updateMask"))
+ $root.google.protobuf.FieldMask.encode(message.updateMask, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.previewTime != null && Object.hasOwnProperty.call(message, "previewTime"))
+ $root.google.protobuf.Timestamp.encode(message.previewTime, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PreviewUpdateGameServerClusterRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest} message PreviewUpdateGameServerClusterRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PreviewUpdateGameServerClusterRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PreviewUpdateGameServerClusterRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest} PreviewUpdateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PreviewUpdateGameServerClusterRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.gameServerCluster = $root.google.cloud.gaming.v1.GameServerCluster.decode(reader, reader.uint32());
+ break;
+ }
+ case 2: {
+ message.updateMask = $root.google.protobuf.FieldMask.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.previewTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PreviewUpdateGameServerClusterRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest} PreviewUpdateGameServerClusterRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PreviewUpdateGameServerClusterRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PreviewUpdateGameServerClusterRequest message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PreviewUpdateGameServerClusterRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.gameServerCluster != null && message.hasOwnProperty("gameServerCluster")) {
+ var error = $root.google.cloud.gaming.v1.GameServerCluster.verify(message.gameServerCluster);
+ if (error)
+ return "gameServerCluster." + error;
+ }
+ if (message.updateMask != null && message.hasOwnProperty("updateMask")) {
+ var error = $root.google.protobuf.FieldMask.verify(message.updateMask);
+ if (error)
+ return "updateMask." + error;
+ }
+ if (message.previewTime != null && message.hasOwnProperty("previewTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.previewTime);
+ if (error)
+ return "previewTime." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a PreviewUpdateGameServerClusterRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest} PreviewUpdateGameServerClusterRequest
+ */
+ PreviewUpdateGameServerClusterRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest();
+ if (object.gameServerCluster != null) {
+ if (typeof object.gameServerCluster !== "object")
+ throw TypeError(".google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest.gameServerCluster: object expected");
+ message.gameServerCluster = $root.google.cloud.gaming.v1.GameServerCluster.fromObject(object.gameServerCluster);
+ }
+ if (object.updateMask != null) {
+ if (typeof object.updateMask !== "object")
+ throw TypeError(".google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest.updateMask: object expected");
+ message.updateMask = $root.google.protobuf.FieldMask.fromObject(object.updateMask);
+ }
+ if (object.previewTime != null) {
+ if (typeof object.previewTime !== "object")
+ throw TypeError(".google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest.previewTime: object expected");
+ message.previewTime = $root.google.protobuf.Timestamp.fromObject(object.previewTime);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PreviewUpdateGameServerClusterRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest
+ * @static
+ * @param {google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest} message PreviewUpdateGameServerClusterRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PreviewUpdateGameServerClusterRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.gameServerCluster = null;
+ object.updateMask = null;
+ object.previewTime = null;
+ }
+ if (message.gameServerCluster != null && message.hasOwnProperty("gameServerCluster"))
+ object.gameServerCluster = $root.google.cloud.gaming.v1.GameServerCluster.toObject(message.gameServerCluster, options);
+ if (message.updateMask != null && message.hasOwnProperty("updateMask"))
+ object.updateMask = $root.google.protobuf.FieldMask.toObject(message.updateMask, options);
+ if (message.previewTime != null && message.hasOwnProperty("previewTime"))
+ object.previewTime = $root.google.protobuf.Timestamp.toObject(message.previewTime, options);
+ return object;
+ };
+
+ /**
+ * Converts this PreviewUpdateGameServerClusterRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PreviewUpdateGameServerClusterRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PreviewUpdateGameServerClusterRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PreviewUpdateGameServerClusterRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest";
+ };
+
+ return PreviewUpdateGameServerClusterRequest;
+ })();
+
+ v1.PreviewUpdateGameServerClusterResponse = (function() {
+
+ /**
+ * Properties of a PreviewUpdateGameServerClusterResponse.
+ * @memberof google.cloud.gaming.v1
+ * @interface IPreviewUpdateGameServerClusterResponse
+ * @property {string|null} [etag] PreviewUpdateGameServerClusterResponse etag
+ * @property {google.cloud.gaming.v1.ITargetState|null} [targetState] PreviewUpdateGameServerClusterResponse targetState
+ */
+
+ /**
+ * Constructs a new PreviewUpdateGameServerClusterResponse.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a PreviewUpdateGameServerClusterResponse.
+ * @implements IPreviewUpdateGameServerClusterResponse
+ * @constructor
+ * @param {google.cloud.gaming.v1.IPreviewUpdateGameServerClusterResponse=} [properties] Properties to set
+ */
+ function PreviewUpdateGameServerClusterResponse(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * PreviewUpdateGameServerClusterResponse etag.
+ * @member {string} etag
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse
+ * @instance
+ */
+ PreviewUpdateGameServerClusterResponse.prototype.etag = "";
+
+ /**
+ * PreviewUpdateGameServerClusterResponse targetState.
+ * @member {google.cloud.gaming.v1.ITargetState|null|undefined} targetState
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse
+ * @instance
+ */
+ PreviewUpdateGameServerClusterResponse.prototype.targetState = null;
+
+ /**
+ * Creates a new PreviewUpdateGameServerClusterResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewUpdateGameServerClusterResponse=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse} PreviewUpdateGameServerClusterResponse instance
+ */
+ PreviewUpdateGameServerClusterResponse.create = function create(properties) {
+ return new PreviewUpdateGameServerClusterResponse(properties);
+ };
+
+ /**
+ * Encodes the specified PreviewUpdateGameServerClusterResponse message. Does not implicitly {@link google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewUpdateGameServerClusterResponse} message PreviewUpdateGameServerClusterResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PreviewUpdateGameServerClusterResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.etag != null && Object.hasOwnProperty.call(message, "etag"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.etag);
+ if (message.targetState != null && Object.hasOwnProperty.call(message, "targetState"))
+ $root.google.cloud.gaming.v1.TargetState.encode(message.targetState, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified PreviewUpdateGameServerClusterResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IPreviewUpdateGameServerClusterResponse} message PreviewUpdateGameServerClusterResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ PreviewUpdateGameServerClusterResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a PreviewUpdateGameServerClusterResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse} PreviewUpdateGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PreviewUpdateGameServerClusterResponse.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 2: {
+ message.etag = reader.string();
+ break;
+ }
+ case 3: {
+ message.targetState = $root.google.cloud.gaming.v1.TargetState.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a PreviewUpdateGameServerClusterResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse} PreviewUpdateGameServerClusterResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ PreviewUpdateGameServerClusterResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a PreviewUpdateGameServerClusterResponse message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ PreviewUpdateGameServerClusterResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ if (!$util.isString(message.etag))
+ return "etag: string expected";
+ if (message.targetState != null && message.hasOwnProperty("targetState")) {
+ var error = $root.google.cloud.gaming.v1.TargetState.verify(message.targetState);
+ if (error)
+ return "targetState." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a PreviewUpdateGameServerClusterResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse} PreviewUpdateGameServerClusterResponse
+ */
+ PreviewUpdateGameServerClusterResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse();
+ if (object.etag != null)
+ message.etag = String(object.etag);
+ if (object.targetState != null) {
+ if (typeof object.targetState !== "object")
+ throw TypeError(".google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse.targetState: object expected");
+ message.targetState = $root.google.cloud.gaming.v1.TargetState.fromObject(object.targetState);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a PreviewUpdateGameServerClusterResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse
+ * @static
+ * @param {google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse} message PreviewUpdateGameServerClusterResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ PreviewUpdateGameServerClusterResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.etag = "";
+ object.targetState = null;
+ }
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ object.etag = message.etag;
+ if (message.targetState != null && message.hasOwnProperty("targetState"))
+ object.targetState = $root.google.cloud.gaming.v1.TargetState.toObject(message.targetState, options);
+ return object;
+ };
+
+ /**
+ * Converts this PreviewUpdateGameServerClusterResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ PreviewUpdateGameServerClusterResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for PreviewUpdateGameServerClusterResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ PreviewUpdateGameServerClusterResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse";
+ };
+
+ return PreviewUpdateGameServerClusterResponse;
+ })();
+
+ v1.GameServerClusterConnectionInfo = (function() {
+
+ /**
+ * Properties of a GameServerClusterConnectionInfo.
+ * @memberof google.cloud.gaming.v1
+ * @interface IGameServerClusterConnectionInfo
+ * @property {google.cloud.gaming.v1.IGkeClusterReference|null} [gkeClusterReference] GameServerClusterConnectionInfo gkeClusterReference
+ * @property {string|null} [namespace] GameServerClusterConnectionInfo namespace
+ */
+
+ /**
+ * Constructs a new GameServerClusterConnectionInfo.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a GameServerClusterConnectionInfo.
+ * @implements IGameServerClusterConnectionInfo
+ * @constructor
+ * @param {google.cloud.gaming.v1.IGameServerClusterConnectionInfo=} [properties] Properties to set
+ */
+ function GameServerClusterConnectionInfo(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * GameServerClusterConnectionInfo gkeClusterReference.
+ * @member {google.cloud.gaming.v1.IGkeClusterReference|null|undefined} gkeClusterReference
+ * @memberof google.cloud.gaming.v1.GameServerClusterConnectionInfo
+ * @instance
+ */
+ GameServerClusterConnectionInfo.prototype.gkeClusterReference = null;
+
+ /**
+ * GameServerClusterConnectionInfo namespace.
+ * @member {string} namespace
+ * @memberof google.cloud.gaming.v1.GameServerClusterConnectionInfo
+ * @instance
+ */
+ GameServerClusterConnectionInfo.prototype.namespace = "";
+
+ // OneOf field names bound to virtual getters and setters
+ var $oneOfFields;
+
+ /**
+ * GameServerClusterConnectionInfo clusterReference.
+ * @member {"gkeClusterReference"|undefined} clusterReference
+ * @memberof google.cloud.gaming.v1.GameServerClusterConnectionInfo
+ * @instance
+ */
+ Object.defineProperty(GameServerClusterConnectionInfo.prototype, "clusterReference", {
+ get: $util.oneOfGetter($oneOfFields = ["gkeClusterReference"]),
+ set: $util.oneOfSetter($oneOfFields)
+ });
+
+ /**
+ * Creates a new GameServerClusterConnectionInfo instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.GameServerClusterConnectionInfo
+ * @static
+ * @param {google.cloud.gaming.v1.IGameServerClusterConnectionInfo=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.GameServerClusterConnectionInfo} GameServerClusterConnectionInfo instance
+ */
+ GameServerClusterConnectionInfo.create = function create(properties) {
+ return new GameServerClusterConnectionInfo(properties);
+ };
+
+ /**
+ * Encodes the specified GameServerClusterConnectionInfo message. Does not implicitly {@link google.cloud.gaming.v1.GameServerClusterConnectionInfo.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.GameServerClusterConnectionInfo
+ * @static
+ * @param {google.cloud.gaming.v1.IGameServerClusterConnectionInfo} message GameServerClusterConnectionInfo message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GameServerClusterConnectionInfo.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.namespace != null && Object.hasOwnProperty.call(message, "namespace"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.namespace);
+ if (message.gkeClusterReference != null && Object.hasOwnProperty.call(message, "gkeClusterReference"))
+ $root.google.cloud.gaming.v1.GkeClusterReference.encode(message.gkeClusterReference, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GameServerClusterConnectionInfo message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GameServerClusterConnectionInfo.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.GameServerClusterConnectionInfo
+ * @static
+ * @param {google.cloud.gaming.v1.IGameServerClusterConnectionInfo} message GameServerClusterConnectionInfo message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GameServerClusterConnectionInfo.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GameServerClusterConnectionInfo message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.GameServerClusterConnectionInfo
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.GameServerClusterConnectionInfo} GameServerClusterConnectionInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GameServerClusterConnectionInfo.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.GameServerClusterConnectionInfo();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 7: {
+ message.gkeClusterReference = $root.google.cloud.gaming.v1.GkeClusterReference.decode(reader, reader.uint32());
+ break;
+ }
+ case 5: {
+ message.namespace = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GameServerClusterConnectionInfo message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.GameServerClusterConnectionInfo
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.GameServerClusterConnectionInfo} GameServerClusterConnectionInfo
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GameServerClusterConnectionInfo.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GameServerClusterConnectionInfo message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.GameServerClusterConnectionInfo
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GameServerClusterConnectionInfo.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ var properties = {};
+ if (message.gkeClusterReference != null && message.hasOwnProperty("gkeClusterReference")) {
+ properties.clusterReference = 1;
+ {
+ var error = $root.google.cloud.gaming.v1.GkeClusterReference.verify(message.gkeClusterReference);
+ if (error)
+ return "gkeClusterReference." + error;
+ }
+ }
+ if (message.namespace != null && message.hasOwnProperty("namespace"))
+ if (!$util.isString(message.namespace))
+ return "namespace: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a GameServerClusterConnectionInfo message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.GameServerClusterConnectionInfo
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.GameServerClusterConnectionInfo} GameServerClusterConnectionInfo
+ */
+ GameServerClusterConnectionInfo.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.GameServerClusterConnectionInfo)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.GameServerClusterConnectionInfo();
+ if (object.gkeClusterReference != null) {
+ if (typeof object.gkeClusterReference !== "object")
+ throw TypeError(".google.cloud.gaming.v1.GameServerClusterConnectionInfo.gkeClusterReference: object expected");
+ message.gkeClusterReference = $root.google.cloud.gaming.v1.GkeClusterReference.fromObject(object.gkeClusterReference);
+ }
+ if (object.namespace != null)
+ message.namespace = String(object.namespace);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GameServerClusterConnectionInfo message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.GameServerClusterConnectionInfo
+ * @static
+ * @param {google.cloud.gaming.v1.GameServerClusterConnectionInfo} message GameServerClusterConnectionInfo
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GameServerClusterConnectionInfo.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.namespace = "";
+ if (message.namespace != null && message.hasOwnProperty("namespace"))
+ object.namespace = message.namespace;
+ if (message.gkeClusterReference != null && message.hasOwnProperty("gkeClusterReference")) {
+ object.gkeClusterReference = $root.google.cloud.gaming.v1.GkeClusterReference.toObject(message.gkeClusterReference, options);
+ if (options.oneofs)
+ object.clusterReference = "gkeClusterReference";
+ }
+ return object;
+ };
+
+ /**
+ * Converts this GameServerClusterConnectionInfo to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.GameServerClusterConnectionInfo
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GameServerClusterConnectionInfo.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GameServerClusterConnectionInfo
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.GameServerClusterConnectionInfo
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GameServerClusterConnectionInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.GameServerClusterConnectionInfo";
+ };
+
+ return GameServerClusterConnectionInfo;
+ })();
+
+ v1.GkeClusterReference = (function() {
+
+ /**
+ * Properties of a GkeClusterReference.
+ * @memberof google.cloud.gaming.v1
+ * @interface IGkeClusterReference
+ * @property {string|null} [cluster] GkeClusterReference cluster
+ */
+
+ /**
+ * Constructs a new GkeClusterReference.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a GkeClusterReference.
+ * @implements IGkeClusterReference
+ * @constructor
+ * @param {google.cloud.gaming.v1.IGkeClusterReference=} [properties] Properties to set
+ */
+ function GkeClusterReference(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * GkeClusterReference cluster.
+ * @member {string} cluster
+ * @memberof google.cloud.gaming.v1.GkeClusterReference
+ * @instance
+ */
+ GkeClusterReference.prototype.cluster = "";
+
+ /**
+ * Creates a new GkeClusterReference instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.GkeClusterReference
+ * @static
+ * @param {google.cloud.gaming.v1.IGkeClusterReference=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.GkeClusterReference} GkeClusterReference instance
+ */
+ GkeClusterReference.create = function create(properties) {
+ return new GkeClusterReference(properties);
+ };
+
+ /**
+ * Encodes the specified GkeClusterReference message. Does not implicitly {@link google.cloud.gaming.v1.GkeClusterReference.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.GkeClusterReference
+ * @static
+ * @param {google.cloud.gaming.v1.IGkeClusterReference} message GkeClusterReference message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GkeClusterReference.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.cluster != null && Object.hasOwnProperty.call(message, "cluster"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.cluster);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GkeClusterReference message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GkeClusterReference.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.GkeClusterReference
+ * @static
+ * @param {google.cloud.gaming.v1.IGkeClusterReference} message GkeClusterReference message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GkeClusterReference.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GkeClusterReference message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.GkeClusterReference
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.GkeClusterReference} GkeClusterReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GkeClusterReference.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.GkeClusterReference();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.cluster = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GkeClusterReference message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.GkeClusterReference
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.GkeClusterReference} GkeClusterReference
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GkeClusterReference.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GkeClusterReference message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.GkeClusterReference
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GkeClusterReference.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.cluster != null && message.hasOwnProperty("cluster"))
+ if (!$util.isString(message.cluster))
+ return "cluster: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a GkeClusterReference message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.GkeClusterReference
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.GkeClusterReference} GkeClusterReference
+ */
+ GkeClusterReference.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.GkeClusterReference)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.GkeClusterReference();
+ if (object.cluster != null)
+ message.cluster = String(object.cluster);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GkeClusterReference message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.GkeClusterReference
+ * @static
+ * @param {google.cloud.gaming.v1.GkeClusterReference} message GkeClusterReference
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GkeClusterReference.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.cluster = "";
+ if (message.cluster != null && message.hasOwnProperty("cluster"))
+ object.cluster = message.cluster;
+ return object;
+ };
+
+ /**
+ * Converts this GkeClusterReference to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.GkeClusterReference
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GkeClusterReference.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GkeClusterReference
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.GkeClusterReference
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GkeClusterReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.GkeClusterReference";
+ };
+
+ return GkeClusterReference;
+ })();
+
+ v1.GameServerCluster = (function() {
+
+ /**
+ * Properties of a GameServerCluster.
+ * @memberof google.cloud.gaming.v1
+ * @interface IGameServerCluster
+ * @property {string|null} [name] GameServerCluster name
+ * @property {google.protobuf.ITimestamp|null} [createTime] GameServerCluster createTime
+ * @property {google.protobuf.ITimestamp|null} [updateTime] GameServerCluster updateTime
+ * @property {Object.|null} [labels] GameServerCluster labels
+ * @property {google.cloud.gaming.v1.IGameServerClusterConnectionInfo|null} [connectionInfo] GameServerCluster connectionInfo
+ * @property {string|null} [etag] GameServerCluster etag
+ * @property {string|null} [description] GameServerCluster description
+ * @property {google.cloud.gaming.v1.IKubernetesClusterState|null} [clusterState] GameServerCluster clusterState
+ */
+
+ /**
+ * Constructs a new GameServerCluster.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a GameServerCluster.
+ * @implements IGameServerCluster
+ * @constructor
+ * @param {google.cloud.gaming.v1.IGameServerCluster=} [properties] Properties to set
+ */
+ function GameServerCluster(properties) {
+ this.labels = {};
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * GameServerCluster name.
+ * @member {string} name
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @instance
+ */
+ GameServerCluster.prototype.name = "";
+
+ /**
+ * GameServerCluster createTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} createTime
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @instance
+ */
+ GameServerCluster.prototype.createTime = null;
+
+ /**
+ * GameServerCluster updateTime.
+ * @member {google.protobuf.ITimestamp|null|undefined} updateTime
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @instance
+ */
+ GameServerCluster.prototype.updateTime = null;
+
+ /**
+ * GameServerCluster labels.
+ * @member {Object.} labels
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @instance
+ */
+ GameServerCluster.prototype.labels = $util.emptyObject;
+
+ /**
+ * GameServerCluster connectionInfo.
+ * @member {google.cloud.gaming.v1.IGameServerClusterConnectionInfo|null|undefined} connectionInfo
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @instance
+ */
+ GameServerCluster.prototype.connectionInfo = null;
+
+ /**
+ * GameServerCluster etag.
+ * @member {string} etag
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @instance
+ */
+ GameServerCluster.prototype.etag = "";
+
+ /**
+ * GameServerCluster description.
+ * @member {string} description
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @instance
+ */
+ GameServerCluster.prototype.description = "";
+
+ /**
+ * GameServerCluster clusterState.
+ * @member {google.cloud.gaming.v1.IKubernetesClusterState|null|undefined} clusterState
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @instance
+ */
+ GameServerCluster.prototype.clusterState = null;
+
+ /**
+ * Creates a new GameServerCluster instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @static
+ * @param {google.cloud.gaming.v1.IGameServerCluster=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.GameServerCluster} GameServerCluster instance
+ */
+ GameServerCluster.create = function create(properties) {
+ return new GameServerCluster(properties);
+ };
+
+ /**
+ * Encodes the specified GameServerCluster message. Does not implicitly {@link google.cloud.gaming.v1.GameServerCluster.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @static
+ * @param {google.cloud.gaming.v1.IGameServerCluster} message GameServerCluster message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GameServerCluster.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.createTime != null && Object.hasOwnProperty.call(message, "createTime"))
+ $root.google.protobuf.Timestamp.encode(message.createTime, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
+ if (message.updateTime != null && Object.hasOwnProperty.call(message, "updateTime"))
+ $root.google.protobuf.Timestamp.encode(message.updateTime, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ if (message.labels != null && Object.hasOwnProperty.call(message, "labels"))
+ for (var keys = Object.keys(message.labels), i = 0; i < keys.length; ++i)
+ writer.uint32(/* id 4, wireType 2 =*/34).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.labels[keys[i]]).ldelim();
+ if (message.connectionInfo != null && Object.hasOwnProperty.call(message, "connectionInfo"))
+ $root.google.cloud.gaming.v1.GameServerClusterConnectionInfo.encode(message.connectionInfo, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ if (message.etag != null && Object.hasOwnProperty.call(message, "etag"))
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.etag);
+ if (message.description != null && Object.hasOwnProperty.call(message, "description"))
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.description);
+ if (message.clusterState != null && Object.hasOwnProperty.call(message, "clusterState"))
+ $root.google.cloud.gaming.v1.KubernetesClusterState.encode(message.clusterState, writer.uint32(/* id 11, wireType 2 =*/90).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GameServerCluster message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GameServerCluster.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @static
+ * @param {google.cloud.gaming.v1.IGameServerCluster} message GameServerCluster message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GameServerCluster.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GameServerCluster message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.GameServerCluster} GameServerCluster
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GameServerCluster.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.GameServerCluster(), key, value;
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.createTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 3: {
+ message.updateTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32());
+ break;
+ }
+ case 4: {
+ if (message.labels === $util.emptyObject)
+ message.labels = {};
+ var end2 = reader.uint32() + reader.pos;
+ key = "";
+ value = "";
+ while (reader.pos < end2) {
+ var tag2 = reader.uint32();
+ switch (tag2 >>> 3) {
+ case 1:
+ key = reader.string();
+ break;
+ case 2:
+ value = reader.string();
+ break;
+ default:
+ reader.skipType(tag2 & 7);
+ break;
+ }
+ }
+ message.labels[key] = value;
+ break;
+ }
+ case 5: {
+ message.connectionInfo = $root.google.cloud.gaming.v1.GameServerClusterConnectionInfo.decode(reader, reader.uint32());
+ break;
+ }
+ case 6: {
+ message.etag = reader.string();
+ break;
+ }
+ case 7: {
+ message.description = reader.string();
+ break;
+ }
+ case 11: {
+ message.clusterState = $root.google.cloud.gaming.v1.KubernetesClusterState.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GameServerCluster message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.GameServerCluster} GameServerCluster
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GameServerCluster.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GameServerCluster message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GameServerCluster.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.createTime != null && message.hasOwnProperty("createTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.createTime);
+ if (error)
+ return "createTime." + error;
+ }
+ if (message.updateTime != null && message.hasOwnProperty("updateTime")) {
+ var error = $root.google.protobuf.Timestamp.verify(message.updateTime);
+ if (error)
+ return "updateTime." + error;
+ }
+ if (message.labels != null && message.hasOwnProperty("labels")) {
+ if (!$util.isObject(message.labels))
+ return "labels: object expected";
+ var key = Object.keys(message.labels);
+ for (var i = 0; i < key.length; ++i)
+ if (!$util.isString(message.labels[key[i]]))
+ return "labels: string{k:string} expected";
+ }
+ if (message.connectionInfo != null && message.hasOwnProperty("connectionInfo")) {
+ var error = $root.google.cloud.gaming.v1.GameServerClusterConnectionInfo.verify(message.connectionInfo);
+ if (error)
+ return "connectionInfo." + error;
+ }
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ if (!$util.isString(message.etag))
+ return "etag: string expected";
+ if (message.description != null && message.hasOwnProperty("description"))
+ if (!$util.isString(message.description))
+ return "description: string expected";
+ if (message.clusterState != null && message.hasOwnProperty("clusterState")) {
+ var error = $root.google.cloud.gaming.v1.KubernetesClusterState.verify(message.clusterState);
+ if (error)
+ return "clusterState." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a GameServerCluster message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.GameServerCluster} GameServerCluster
+ */
+ GameServerCluster.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.GameServerCluster)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.GameServerCluster();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.createTime != null) {
+ if (typeof object.createTime !== "object")
+ throw TypeError(".google.cloud.gaming.v1.GameServerCluster.createTime: object expected");
+ message.createTime = $root.google.protobuf.Timestamp.fromObject(object.createTime);
+ }
+ if (object.updateTime != null) {
+ if (typeof object.updateTime !== "object")
+ throw TypeError(".google.cloud.gaming.v1.GameServerCluster.updateTime: object expected");
+ message.updateTime = $root.google.protobuf.Timestamp.fromObject(object.updateTime);
+ }
+ if (object.labels) {
+ if (typeof object.labels !== "object")
+ throw TypeError(".google.cloud.gaming.v1.GameServerCluster.labels: object expected");
+ message.labels = {};
+ for (var keys = Object.keys(object.labels), i = 0; i < keys.length; ++i)
+ message.labels[keys[i]] = String(object.labels[keys[i]]);
+ }
+ if (object.connectionInfo != null) {
+ if (typeof object.connectionInfo !== "object")
+ throw TypeError(".google.cloud.gaming.v1.GameServerCluster.connectionInfo: object expected");
+ message.connectionInfo = $root.google.cloud.gaming.v1.GameServerClusterConnectionInfo.fromObject(object.connectionInfo);
+ }
+ if (object.etag != null)
+ message.etag = String(object.etag);
+ if (object.description != null)
+ message.description = String(object.description);
+ if (object.clusterState != null) {
+ if (typeof object.clusterState !== "object")
+ throw TypeError(".google.cloud.gaming.v1.GameServerCluster.clusterState: object expected");
+ message.clusterState = $root.google.cloud.gaming.v1.KubernetesClusterState.fromObject(object.clusterState);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GameServerCluster message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @static
+ * @param {google.cloud.gaming.v1.GameServerCluster} message GameServerCluster
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GameServerCluster.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.objects || options.defaults)
+ object.labels = {};
+ if (options.defaults) {
+ object.name = "";
+ object.createTime = null;
+ object.updateTime = null;
+ object.connectionInfo = null;
+ object.etag = "";
+ object.description = "";
+ object.clusterState = null;
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.createTime != null && message.hasOwnProperty("createTime"))
+ object.createTime = $root.google.protobuf.Timestamp.toObject(message.createTime, options);
+ if (message.updateTime != null && message.hasOwnProperty("updateTime"))
+ object.updateTime = $root.google.protobuf.Timestamp.toObject(message.updateTime, options);
+ var keys2;
+ if (message.labels && (keys2 = Object.keys(message.labels)).length) {
+ object.labels = {};
+ for (var j = 0; j < keys2.length; ++j)
+ object.labels[keys2[j]] = message.labels[keys2[j]];
+ }
+ if (message.connectionInfo != null && message.hasOwnProperty("connectionInfo"))
+ object.connectionInfo = $root.google.cloud.gaming.v1.GameServerClusterConnectionInfo.toObject(message.connectionInfo, options);
+ if (message.etag != null && message.hasOwnProperty("etag"))
+ object.etag = message.etag;
+ if (message.description != null && message.hasOwnProperty("description"))
+ object.description = message.description;
+ if (message.clusterState != null && message.hasOwnProperty("clusterState"))
+ object.clusterState = $root.google.cloud.gaming.v1.KubernetesClusterState.toObject(message.clusterState, options);
+ return object;
+ };
+
+ /**
+ * Converts this GameServerCluster to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GameServerCluster.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GameServerCluster
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.GameServerCluster
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GameServerCluster.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.GameServerCluster";
+ };
+
+ return GameServerCluster;
+ })();
+
+ v1.KubernetesClusterState = (function() {
+
+ /**
+ * Properties of a KubernetesClusterState.
+ * @memberof google.cloud.gaming.v1
+ * @interface IKubernetesClusterState
+ * @property {string|null} [agonesVersionInstalled] KubernetesClusterState agonesVersionInstalled
+ * @property {string|null} [kubernetesVersionInstalled] KubernetesClusterState kubernetesVersionInstalled
+ * @property {google.cloud.gaming.v1.KubernetesClusterState.InstallationState|null} [installationState] KubernetesClusterState installationState
+ * @property {string|null} [versionInstalledErrorMessage] KubernetesClusterState versionInstalledErrorMessage
+ * @property {string|null} [provider] KubernetesClusterState provider
+ * @property {string|null} [agonesVersionTargeted] KubernetesClusterState agonesVersionTargeted
+ */
+
+ /**
+ * Constructs a new KubernetesClusterState.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a KubernetesClusterState.
+ * @implements IKubernetesClusterState
+ * @constructor
+ * @param {google.cloud.gaming.v1.IKubernetesClusterState=} [properties] Properties to set
+ */
+ function KubernetesClusterState(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * KubernetesClusterState agonesVersionInstalled.
+ * @member {string} agonesVersionInstalled
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @instance
+ */
+ KubernetesClusterState.prototype.agonesVersionInstalled = "";
+
+ /**
+ * KubernetesClusterState kubernetesVersionInstalled.
+ * @member {string} kubernetesVersionInstalled
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @instance
+ */
+ KubernetesClusterState.prototype.kubernetesVersionInstalled = "";
+
+ /**
+ * KubernetesClusterState installationState.
+ * @member {google.cloud.gaming.v1.KubernetesClusterState.InstallationState} installationState
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @instance
+ */
+ KubernetesClusterState.prototype.installationState = 0;
+
+ /**
+ * KubernetesClusterState versionInstalledErrorMessage.
+ * @member {string} versionInstalledErrorMessage
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @instance
+ */
+ KubernetesClusterState.prototype.versionInstalledErrorMessage = "";
+
+ /**
+ * KubernetesClusterState provider.
+ * @member {string} provider
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @instance
+ */
+ KubernetesClusterState.prototype.provider = "";
+
+ /**
+ * KubernetesClusterState agonesVersionTargeted.
+ * @member {string} agonesVersionTargeted
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @instance
+ */
+ KubernetesClusterState.prototype.agonesVersionTargeted = "";
+
+ /**
+ * Creates a new KubernetesClusterState instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @static
+ * @param {google.cloud.gaming.v1.IKubernetesClusterState=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.KubernetesClusterState} KubernetesClusterState instance
+ */
+ KubernetesClusterState.create = function create(properties) {
+ return new KubernetesClusterState(properties);
+ };
+
+ /**
+ * Encodes the specified KubernetesClusterState message. Does not implicitly {@link google.cloud.gaming.v1.KubernetesClusterState.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @static
+ * @param {google.cloud.gaming.v1.IKubernetesClusterState} message KubernetesClusterState message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ KubernetesClusterState.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.agonesVersionInstalled != null && Object.hasOwnProperty.call(message, "agonesVersionInstalled"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.agonesVersionInstalled);
+ if (message.kubernetesVersionInstalled != null && Object.hasOwnProperty.call(message, "kubernetesVersionInstalled"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.kubernetesVersionInstalled);
+ if (message.installationState != null && Object.hasOwnProperty.call(message, "installationState"))
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.installationState);
+ if (message.versionInstalledErrorMessage != null && Object.hasOwnProperty.call(message, "versionInstalledErrorMessage"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.versionInstalledErrorMessage);
+ if (message.provider != null && Object.hasOwnProperty.call(message, "provider"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.provider);
+ if (message.agonesVersionTargeted != null && Object.hasOwnProperty.call(message, "agonesVersionTargeted"))
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.agonesVersionTargeted);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified KubernetesClusterState message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.KubernetesClusterState.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @static
+ * @param {google.cloud.gaming.v1.IKubernetesClusterState} message KubernetesClusterState message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ KubernetesClusterState.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a KubernetesClusterState message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.KubernetesClusterState} KubernetesClusterState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ KubernetesClusterState.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.KubernetesClusterState();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.agonesVersionInstalled = reader.string();
+ break;
+ }
+ case 2: {
+ message.kubernetesVersionInstalled = reader.string();
+ break;
+ }
+ case 3: {
+ message.installationState = reader.int32();
+ break;
+ }
+ case 4: {
+ message.versionInstalledErrorMessage = reader.string();
+ break;
+ }
+ case 5: {
+ message.provider = reader.string();
+ break;
+ }
+ case 6: {
+ message.agonesVersionTargeted = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a KubernetesClusterState message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.KubernetesClusterState} KubernetesClusterState
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ KubernetesClusterState.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a KubernetesClusterState message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ KubernetesClusterState.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.agonesVersionInstalled != null && message.hasOwnProperty("agonesVersionInstalled"))
+ if (!$util.isString(message.agonesVersionInstalled))
+ return "agonesVersionInstalled: string expected";
+ if (message.kubernetesVersionInstalled != null && message.hasOwnProperty("kubernetesVersionInstalled"))
+ if (!$util.isString(message.kubernetesVersionInstalled))
+ return "kubernetesVersionInstalled: string expected";
+ if (message.installationState != null && message.hasOwnProperty("installationState"))
+ switch (message.installationState) {
+ default:
+ return "installationState: enum value expected";
+ case 0:
+ case 1:
+ case 2:
+ case 3:
+ case 4:
+ case 5:
+ case 6:
+ case 7:
+ break;
+ }
+ if (message.versionInstalledErrorMessage != null && message.hasOwnProperty("versionInstalledErrorMessage"))
+ if (!$util.isString(message.versionInstalledErrorMessage))
+ return "versionInstalledErrorMessage: string expected";
+ if (message.provider != null && message.hasOwnProperty("provider"))
+ if (!$util.isString(message.provider))
+ return "provider: string expected";
+ if (message.agonesVersionTargeted != null && message.hasOwnProperty("agonesVersionTargeted"))
+ if (!$util.isString(message.agonesVersionTargeted))
+ return "agonesVersionTargeted: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a KubernetesClusterState message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.KubernetesClusterState} KubernetesClusterState
+ */
+ KubernetesClusterState.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.KubernetesClusterState)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.KubernetesClusterState();
+ if (object.agonesVersionInstalled != null)
+ message.agonesVersionInstalled = String(object.agonesVersionInstalled);
+ if (object.kubernetesVersionInstalled != null)
+ message.kubernetesVersionInstalled = String(object.kubernetesVersionInstalled);
+ switch (object.installationState) {
+ default:
+ if (typeof object.installationState === "number") {
+ message.installationState = object.installationState;
+ break;
+ }
+ break;
+ case "INSTALLATION_STATE_UNSPECIFIED":
+ case 0:
+ message.installationState = 0;
+ break;
+ case "AGONES_KUBERNETES_VERSION_SUPPORTED":
+ case 1:
+ message.installationState = 1;
+ break;
+ case "AGONES_VERSION_UNSUPPORTED":
+ case 2:
+ message.installationState = 2;
+ break;
+ case "AGONES_KUBERNETES_VERSION_UNSUPPORTED":
+ case 3:
+ message.installationState = 3;
+ break;
+ case "AGONES_VERSION_UNRECOGNIZED":
+ case 4:
+ message.installationState = 4;
+ break;
+ case "KUBERNETES_VERSION_UNRECOGNIZED":
+ case 5:
+ message.installationState = 5;
+ break;
+ case "VERSION_VERIFICATION_FAILED":
+ case 6:
+ message.installationState = 6;
+ break;
+ case "AGONES_NOT_INSTALLED":
+ case 7:
+ message.installationState = 7;
+ break;
+ }
+ if (object.versionInstalledErrorMessage != null)
+ message.versionInstalledErrorMessage = String(object.versionInstalledErrorMessage);
+ if (object.provider != null)
+ message.provider = String(object.provider);
+ if (object.agonesVersionTargeted != null)
+ message.agonesVersionTargeted = String(object.agonesVersionTargeted);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a KubernetesClusterState message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @static
+ * @param {google.cloud.gaming.v1.KubernetesClusterState} message KubernetesClusterState
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ KubernetesClusterState.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.agonesVersionInstalled = "";
+ object.kubernetesVersionInstalled = "";
+ object.installationState = options.enums === String ? "INSTALLATION_STATE_UNSPECIFIED" : 0;
+ object.versionInstalledErrorMessage = "";
+ object.provider = "";
+ object.agonesVersionTargeted = "";
+ }
+ if (message.agonesVersionInstalled != null && message.hasOwnProperty("agonesVersionInstalled"))
+ object.agonesVersionInstalled = message.agonesVersionInstalled;
+ if (message.kubernetesVersionInstalled != null && message.hasOwnProperty("kubernetesVersionInstalled"))
+ object.kubernetesVersionInstalled = message.kubernetesVersionInstalled;
+ if (message.installationState != null && message.hasOwnProperty("installationState"))
+ object.installationState = options.enums === String ? $root.google.cloud.gaming.v1.KubernetesClusterState.InstallationState[message.installationState] === undefined ? message.installationState : $root.google.cloud.gaming.v1.KubernetesClusterState.InstallationState[message.installationState] : message.installationState;
+ if (message.versionInstalledErrorMessage != null && message.hasOwnProperty("versionInstalledErrorMessage"))
+ object.versionInstalledErrorMessage = message.versionInstalledErrorMessage;
+ if (message.provider != null && message.hasOwnProperty("provider"))
+ object.provider = message.provider;
+ if (message.agonesVersionTargeted != null && message.hasOwnProperty("agonesVersionTargeted"))
+ object.agonesVersionTargeted = message.agonesVersionTargeted;
+ return object;
+ };
+
+ /**
+ * Converts this KubernetesClusterState to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ KubernetesClusterState.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for KubernetesClusterState
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.KubernetesClusterState
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ KubernetesClusterState.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.KubernetesClusterState";
+ };
+
+ /**
+ * InstallationState enum.
+ * @name google.cloud.gaming.v1.KubernetesClusterState.InstallationState
+ * @enum {number}
+ * @property {number} INSTALLATION_STATE_UNSPECIFIED=0 INSTALLATION_STATE_UNSPECIFIED value
+ * @property {number} AGONES_KUBERNETES_VERSION_SUPPORTED=1 AGONES_KUBERNETES_VERSION_SUPPORTED value
+ * @property {number} AGONES_VERSION_UNSUPPORTED=2 AGONES_VERSION_UNSUPPORTED value
+ * @property {number} AGONES_KUBERNETES_VERSION_UNSUPPORTED=3 AGONES_KUBERNETES_VERSION_UNSUPPORTED value
+ * @property {number} AGONES_VERSION_UNRECOGNIZED=4 AGONES_VERSION_UNRECOGNIZED value
+ * @property {number} KUBERNETES_VERSION_UNRECOGNIZED=5 KUBERNETES_VERSION_UNRECOGNIZED value
+ * @property {number} VERSION_VERIFICATION_FAILED=6 VERSION_VERIFICATION_FAILED value
+ * @property {number} AGONES_NOT_INSTALLED=7 AGONES_NOT_INSTALLED value
+ */
+ KubernetesClusterState.InstallationState = (function() {
+ var valuesById = {}, values = Object.create(valuesById);
+ values[valuesById[0] = "INSTALLATION_STATE_UNSPECIFIED"] = 0;
+ values[valuesById[1] = "AGONES_KUBERNETES_VERSION_SUPPORTED"] = 1;
+ values[valuesById[2] = "AGONES_VERSION_UNSUPPORTED"] = 2;
+ values[valuesById[3] = "AGONES_KUBERNETES_VERSION_UNSUPPORTED"] = 3;
+ values[valuesById[4] = "AGONES_VERSION_UNRECOGNIZED"] = 4;
+ values[valuesById[5] = "KUBERNETES_VERSION_UNRECOGNIZED"] = 5;
+ values[valuesById[6] = "VERSION_VERIFICATION_FAILED"] = 6;
+ values[valuesById[7] = "AGONES_NOT_INSTALLED"] = 7;
+ return values;
+ })();
+
+ return KubernetesClusterState;
+ })();
+
+ v1.GameServerClustersService = (function() {
+
+ /**
+ * Constructs a new GameServerClustersService service.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a GameServerClustersService
+ * @extends $protobuf.rpc.Service
+ * @constructor
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
+ */
+ function GameServerClustersService(rpcImpl, requestDelimited, responseDelimited) {
+ $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited);
+ }
+
+ (GameServerClustersService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = GameServerClustersService;
+
+ /**
+ * Creates new GameServerClustersService service using the specified rpc implementation.
+ * @function create
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @static
+ * @param {$protobuf.RPCImpl} rpcImpl RPC implementation
+ * @param {boolean} [requestDelimited=false] Whether requests are length-delimited
+ * @param {boolean} [responseDelimited=false] Whether responses are length-delimited
+ * @returns {GameServerClustersService} RPC service. Useful where requests and/or responses are streamed.
+ */
+ GameServerClustersService.create = function create(rpcImpl, requestDelimited, responseDelimited) {
+ return new this(rpcImpl, requestDelimited, responseDelimited);
+ };
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|listGameServerClusters}.
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @typedef ListGameServerClustersCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.gaming.v1.ListGameServerClustersResponse} [response] ListGameServerClustersResponse
+ */
+
+ /**
+ * Calls ListGameServerClusters.
+ * @function listGameServerClusters
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IListGameServerClustersRequest} request ListGameServerClustersRequest message or plain object
+ * @param {google.cloud.gaming.v1.GameServerClustersService.ListGameServerClustersCallback} callback Node-style callback called with the error, if any, and ListGameServerClustersResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(GameServerClustersService.prototype.listGameServerClusters = function listGameServerClusters(request, callback) {
+ return this.rpcCall(listGameServerClusters, $root.google.cloud.gaming.v1.ListGameServerClustersRequest, $root.google.cloud.gaming.v1.ListGameServerClustersResponse, request, callback);
+ }, "name", { value: "ListGameServerClusters" });
+
+ /**
+ * Calls ListGameServerClusters.
+ * @function listGameServerClusters
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IListGameServerClustersRequest} request ListGameServerClustersRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|getGameServerCluster}.
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @typedef GetGameServerClusterCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.gaming.v1.GameServerCluster} [response] GameServerCluster
+ */
+
+ /**
+ * Calls GetGameServerCluster.
+ * @function getGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IGetGameServerClusterRequest} request GetGameServerClusterRequest message or plain object
+ * @param {google.cloud.gaming.v1.GameServerClustersService.GetGameServerClusterCallback} callback Node-style callback called with the error, if any, and GameServerCluster
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(GameServerClustersService.prototype.getGameServerCluster = function getGameServerCluster(request, callback) {
+ return this.rpcCall(getGameServerCluster, $root.google.cloud.gaming.v1.GetGameServerClusterRequest, $root.google.cloud.gaming.v1.GameServerCluster, request, callback);
+ }, "name", { value: "GetGameServerCluster" });
+
+ /**
+ * Calls GetGameServerCluster.
+ * @function getGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IGetGameServerClusterRequest} request GetGameServerClusterRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|createGameServerCluster}.
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @typedef CreateGameServerClusterCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls CreateGameServerCluster.
+ * @function createGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.ICreateGameServerClusterRequest} request CreateGameServerClusterRequest message or plain object
+ * @param {google.cloud.gaming.v1.GameServerClustersService.CreateGameServerClusterCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(GameServerClustersService.prototype.createGameServerCluster = function createGameServerCluster(request, callback) {
+ return this.rpcCall(createGameServerCluster, $root.google.cloud.gaming.v1.CreateGameServerClusterRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "CreateGameServerCluster" });
+
+ /**
+ * Calls CreateGameServerCluster.
+ * @function createGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.ICreateGameServerClusterRequest} request CreateGameServerClusterRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|previewCreateGameServerCluster}.
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @typedef PreviewCreateGameServerClusterCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse} [response] PreviewCreateGameServerClusterResponse
+ */
+
+ /**
+ * Calls PreviewCreateGameServerCluster.
+ * @function previewCreateGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest} request PreviewCreateGameServerClusterRequest message or plain object
+ * @param {google.cloud.gaming.v1.GameServerClustersService.PreviewCreateGameServerClusterCallback} callback Node-style callback called with the error, if any, and PreviewCreateGameServerClusterResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(GameServerClustersService.prototype.previewCreateGameServerCluster = function previewCreateGameServerCluster(request, callback) {
+ return this.rpcCall(previewCreateGameServerCluster, $root.google.cloud.gaming.v1.PreviewCreateGameServerClusterRequest, $root.google.cloud.gaming.v1.PreviewCreateGameServerClusterResponse, request, callback);
+ }, "name", { value: "PreviewCreateGameServerCluster" });
+
+ /**
+ * Calls PreviewCreateGameServerCluster.
+ * @function previewCreateGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IPreviewCreateGameServerClusterRequest} request PreviewCreateGameServerClusterRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|deleteGameServerCluster}.
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @typedef DeleteGameServerClusterCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls DeleteGameServerCluster.
+ * @function deleteGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IDeleteGameServerClusterRequest} request DeleteGameServerClusterRequest message or plain object
+ * @param {google.cloud.gaming.v1.GameServerClustersService.DeleteGameServerClusterCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(GameServerClustersService.prototype.deleteGameServerCluster = function deleteGameServerCluster(request, callback) {
+ return this.rpcCall(deleteGameServerCluster, $root.google.cloud.gaming.v1.DeleteGameServerClusterRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "DeleteGameServerCluster" });
+
+ /**
+ * Calls DeleteGameServerCluster.
+ * @function deleteGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IDeleteGameServerClusterRequest} request DeleteGameServerClusterRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|previewDeleteGameServerCluster}.
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @typedef PreviewDeleteGameServerClusterCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse} [response] PreviewDeleteGameServerClusterResponse
+ */
+
+ /**
+ * Calls PreviewDeleteGameServerCluster.
+ * @function previewDeleteGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest} request PreviewDeleteGameServerClusterRequest message or plain object
+ * @param {google.cloud.gaming.v1.GameServerClustersService.PreviewDeleteGameServerClusterCallback} callback Node-style callback called with the error, if any, and PreviewDeleteGameServerClusterResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(GameServerClustersService.prototype.previewDeleteGameServerCluster = function previewDeleteGameServerCluster(request, callback) {
+ return this.rpcCall(previewDeleteGameServerCluster, $root.google.cloud.gaming.v1.PreviewDeleteGameServerClusterRequest, $root.google.cloud.gaming.v1.PreviewDeleteGameServerClusterResponse, request, callback);
+ }, "name", { value: "PreviewDeleteGameServerCluster" });
+
+ /**
+ * Calls PreviewDeleteGameServerCluster.
+ * @function previewDeleteGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IPreviewDeleteGameServerClusterRequest} request PreviewDeleteGameServerClusterRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|updateGameServerCluster}.
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @typedef UpdateGameServerClusterCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.longrunning.Operation} [response] Operation
+ */
+
+ /**
+ * Calls UpdateGameServerCluster.
+ * @function updateGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IUpdateGameServerClusterRequest} request UpdateGameServerClusterRequest message or plain object
+ * @param {google.cloud.gaming.v1.GameServerClustersService.UpdateGameServerClusterCallback} callback Node-style callback called with the error, if any, and Operation
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(GameServerClustersService.prototype.updateGameServerCluster = function updateGameServerCluster(request, callback) {
+ return this.rpcCall(updateGameServerCluster, $root.google.cloud.gaming.v1.UpdateGameServerClusterRequest, $root.google.longrunning.Operation, request, callback);
+ }, "name", { value: "UpdateGameServerCluster" });
+
+ /**
+ * Calls UpdateGameServerCluster.
+ * @function updateGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IUpdateGameServerClusterRequest} request UpdateGameServerClusterRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ /**
+ * Callback as used by {@link google.cloud.gaming.v1.GameServerClustersService|previewUpdateGameServerCluster}.
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @typedef PreviewUpdateGameServerClusterCallback
+ * @type {function}
+ * @param {Error|null} error Error, if any
+ * @param {google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse} [response] PreviewUpdateGameServerClusterResponse
+ */
+
+ /**
+ * Calls PreviewUpdateGameServerCluster.
+ * @function previewUpdateGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest} request PreviewUpdateGameServerClusterRequest message or plain object
+ * @param {google.cloud.gaming.v1.GameServerClustersService.PreviewUpdateGameServerClusterCallback} callback Node-style callback called with the error, if any, and PreviewUpdateGameServerClusterResponse
+ * @returns {undefined}
+ * @variation 1
+ */
+ Object.defineProperty(GameServerClustersService.prototype.previewUpdateGameServerCluster = function previewUpdateGameServerCluster(request, callback) {
+ return this.rpcCall(previewUpdateGameServerCluster, $root.google.cloud.gaming.v1.PreviewUpdateGameServerClusterRequest, $root.google.cloud.gaming.v1.PreviewUpdateGameServerClusterResponse, request, callback);
+ }, "name", { value: "PreviewUpdateGameServerCluster" });
+
+ /**
+ * Calls PreviewUpdateGameServerCluster.
+ * @function previewUpdateGameServerCluster
+ * @memberof google.cloud.gaming.v1.GameServerClustersService
+ * @instance
+ * @param {google.cloud.gaming.v1.IPreviewUpdateGameServerClusterRequest} request PreviewUpdateGameServerClusterRequest message or plain object
+ * @returns {Promise} Promise
+ * @variation 2
+ */
+
+ return GameServerClustersService;
+ })();
+
+ v1.ListGameServerConfigsRequest = (function() {
+
+ /**
+ * Properties of a ListGameServerConfigsRequest.
+ * @memberof google.cloud.gaming.v1
+ * @interface IListGameServerConfigsRequest
+ * @property {string|null} [parent] ListGameServerConfigsRequest parent
+ * @property {number|null} [pageSize] ListGameServerConfigsRequest pageSize
+ * @property {string|null} [pageToken] ListGameServerConfigsRequest pageToken
+ * @property {string|null} [filter] ListGameServerConfigsRequest filter
+ * @property {string|null} [orderBy] ListGameServerConfigsRequest orderBy
+ */
+
+ /**
+ * Constructs a new ListGameServerConfigsRequest.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a ListGameServerConfigsRequest.
+ * @implements IListGameServerConfigsRequest
+ * @constructor
+ * @param {google.cloud.gaming.v1.IListGameServerConfigsRequest=} [properties] Properties to set
+ */
+ function ListGameServerConfigsRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * ListGameServerConfigsRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @instance
+ */
+ ListGameServerConfigsRequest.prototype.parent = "";
+
+ /**
+ * ListGameServerConfigsRequest pageSize.
+ * @member {number} pageSize
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @instance
+ */
+ ListGameServerConfigsRequest.prototype.pageSize = 0;
+
+ /**
+ * ListGameServerConfigsRequest pageToken.
+ * @member {string} pageToken
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @instance
+ */
+ ListGameServerConfigsRequest.prototype.pageToken = "";
+
+ /**
+ * ListGameServerConfigsRequest filter.
+ * @member {string} filter
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @instance
+ */
+ ListGameServerConfigsRequest.prototype.filter = "";
+
+ /**
+ * ListGameServerConfigsRequest orderBy.
+ * @member {string} orderBy
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @instance
+ */
+ ListGameServerConfigsRequest.prototype.orderBy = "";
+
+ /**
+ * Creates a new ListGameServerConfigsRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IListGameServerConfigsRequest=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.ListGameServerConfigsRequest} ListGameServerConfigsRequest instance
+ */
+ ListGameServerConfigsRequest.create = function create(properties) {
+ return new ListGameServerConfigsRequest(properties);
+ };
+
+ /**
+ * Encodes the specified ListGameServerConfigsRequest message. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerConfigsRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IListGameServerConfigsRequest} message ListGameServerConfigsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListGameServerConfigsRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.pageSize != null && Object.hasOwnProperty.call(message, "pageSize"))
+ writer.uint32(/* id 2, wireType 0 =*/16).int32(message.pageSize);
+ if (message.pageToken != null && Object.hasOwnProperty.call(message, "pageToken"))
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.pageToken);
+ if (message.filter != null && Object.hasOwnProperty.call(message, "filter"))
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.filter);
+ if (message.orderBy != null && Object.hasOwnProperty.call(message, "orderBy"))
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.orderBy);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListGameServerConfigsRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerConfigsRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IListGameServerConfigsRequest} message ListGameServerConfigsRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListGameServerConfigsRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListGameServerConfigsRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.ListGameServerConfigsRequest} ListGameServerConfigsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListGameServerConfigsRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.ListGameServerConfigsRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.pageSize = reader.int32();
+ break;
+ }
+ case 3: {
+ message.pageToken = reader.string();
+ break;
+ }
+ case 4: {
+ message.filter = reader.string();
+ break;
+ }
+ case 5: {
+ message.orderBy = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListGameServerConfigsRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.ListGameServerConfigsRequest} ListGameServerConfigsRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListGameServerConfigsRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListGameServerConfigsRequest message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListGameServerConfigsRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ if (!$util.isInteger(message.pageSize))
+ return "pageSize: integer expected";
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ if (!$util.isString(message.pageToken))
+ return "pageToken: string expected";
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ if (!$util.isString(message.filter))
+ return "filter: string expected";
+ if (message.orderBy != null && message.hasOwnProperty("orderBy"))
+ if (!$util.isString(message.orderBy))
+ return "orderBy: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a ListGameServerConfigsRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.ListGameServerConfigsRequest} ListGameServerConfigsRequest
+ */
+ ListGameServerConfigsRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.ListGameServerConfigsRequest)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.ListGameServerConfigsRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.pageSize != null)
+ message.pageSize = object.pageSize | 0;
+ if (object.pageToken != null)
+ message.pageToken = String(object.pageToken);
+ if (object.filter != null)
+ message.filter = String(object.filter);
+ if (object.orderBy != null)
+ message.orderBy = String(object.orderBy);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListGameServerConfigsRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @static
+ * @param {google.cloud.gaming.v1.ListGameServerConfigsRequest} message ListGameServerConfigsRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListGameServerConfigsRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.pageSize = 0;
+ object.pageToken = "";
+ object.filter = "";
+ object.orderBy = "";
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.pageSize != null && message.hasOwnProperty("pageSize"))
+ object.pageSize = message.pageSize;
+ if (message.pageToken != null && message.hasOwnProperty("pageToken"))
+ object.pageToken = message.pageToken;
+ if (message.filter != null && message.hasOwnProperty("filter"))
+ object.filter = message.filter;
+ if (message.orderBy != null && message.hasOwnProperty("orderBy"))
+ object.orderBy = message.orderBy;
+ return object;
+ };
+
+ /**
+ * Converts this ListGameServerConfigsRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListGameServerConfigsRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListGameServerConfigsRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListGameServerConfigsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.ListGameServerConfigsRequest";
+ };
+
+ return ListGameServerConfigsRequest;
+ })();
+
+ v1.ListGameServerConfigsResponse = (function() {
+
+ /**
+ * Properties of a ListGameServerConfigsResponse.
+ * @memberof google.cloud.gaming.v1
+ * @interface IListGameServerConfigsResponse
+ * @property {Array.|null} [gameServerConfigs] ListGameServerConfigsResponse gameServerConfigs
+ * @property {string|null} [nextPageToken] ListGameServerConfigsResponse nextPageToken
+ * @property {Array.|null} [unreachable] ListGameServerConfigsResponse unreachable
+ */
+
+ /**
+ * Constructs a new ListGameServerConfigsResponse.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a ListGameServerConfigsResponse.
+ * @implements IListGameServerConfigsResponse
+ * @constructor
+ * @param {google.cloud.gaming.v1.IListGameServerConfigsResponse=} [properties] Properties to set
+ */
+ function ListGameServerConfigsResponse(properties) {
+ this.gameServerConfigs = [];
+ this.unreachable = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * ListGameServerConfigsResponse gameServerConfigs.
+ * @member {Array.} gameServerConfigs
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsResponse
+ * @instance
+ */
+ ListGameServerConfigsResponse.prototype.gameServerConfigs = $util.emptyArray;
+
+ /**
+ * ListGameServerConfigsResponse nextPageToken.
+ * @member {string} nextPageToken
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsResponse
+ * @instance
+ */
+ ListGameServerConfigsResponse.prototype.nextPageToken = "";
+
+ /**
+ * ListGameServerConfigsResponse unreachable.
+ * @member {Array.} unreachable
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsResponse
+ * @instance
+ */
+ ListGameServerConfigsResponse.prototype.unreachable = $util.emptyArray;
+
+ /**
+ * Creates a new ListGameServerConfigsResponse instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IListGameServerConfigsResponse=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.ListGameServerConfigsResponse} ListGameServerConfigsResponse instance
+ */
+ ListGameServerConfigsResponse.create = function create(properties) {
+ return new ListGameServerConfigsResponse(properties);
+ };
+
+ /**
+ * Encodes the specified ListGameServerConfigsResponse message. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerConfigsResponse.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IListGameServerConfigsResponse} message ListGameServerConfigsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListGameServerConfigsResponse.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.gameServerConfigs != null && message.gameServerConfigs.length)
+ for (var i = 0; i < message.gameServerConfigs.length; ++i)
+ $root.google.cloud.gaming.v1.GameServerConfig.encode(message.gameServerConfigs[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
+ if (message.nextPageToken != null && Object.hasOwnProperty.call(message, "nextPageToken"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.nextPageToken);
+ if (message.unreachable != null && message.unreachable.length)
+ for (var i = 0; i < message.unreachable.length; ++i)
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.unreachable[i]);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ListGameServerConfigsResponse message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ListGameServerConfigsResponse.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsResponse
+ * @static
+ * @param {google.cloud.gaming.v1.IListGameServerConfigsResponse} message ListGameServerConfigsResponse message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ListGameServerConfigsResponse.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ListGameServerConfigsResponse message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.ListGameServerConfigsResponse} ListGameServerConfigsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListGameServerConfigsResponse.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.ListGameServerConfigsResponse();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ if (!(message.gameServerConfigs && message.gameServerConfigs.length))
+ message.gameServerConfigs = [];
+ message.gameServerConfigs.push($root.google.cloud.gaming.v1.GameServerConfig.decode(reader, reader.uint32()));
+ break;
+ }
+ case 2: {
+ message.nextPageToken = reader.string();
+ break;
+ }
+ case 4: {
+ if (!(message.unreachable && message.unreachable.length))
+ message.unreachable = [];
+ message.unreachable.push(reader.string());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ListGameServerConfigsResponse message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsResponse
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.ListGameServerConfigsResponse} ListGameServerConfigsResponse
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ListGameServerConfigsResponse.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ListGameServerConfigsResponse message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsResponse
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ListGameServerConfigsResponse.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.gameServerConfigs != null && message.hasOwnProperty("gameServerConfigs")) {
+ if (!Array.isArray(message.gameServerConfigs))
+ return "gameServerConfigs: array expected";
+ for (var i = 0; i < message.gameServerConfigs.length; ++i) {
+ var error = $root.google.cloud.gaming.v1.GameServerConfig.verify(message.gameServerConfigs[i]);
+ if (error)
+ return "gameServerConfigs." + error;
+ }
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ if (!$util.isString(message.nextPageToken))
+ return "nextPageToken: string expected";
+ if (message.unreachable != null && message.hasOwnProperty("unreachable")) {
+ if (!Array.isArray(message.unreachable))
+ return "unreachable: array expected";
+ for (var i = 0; i < message.unreachable.length; ++i)
+ if (!$util.isString(message.unreachable[i]))
+ return "unreachable: string[] expected";
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ListGameServerConfigsResponse message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsResponse
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.ListGameServerConfigsResponse} ListGameServerConfigsResponse
+ */
+ ListGameServerConfigsResponse.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.ListGameServerConfigsResponse)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.ListGameServerConfigsResponse();
+ if (object.gameServerConfigs) {
+ if (!Array.isArray(object.gameServerConfigs))
+ throw TypeError(".google.cloud.gaming.v1.ListGameServerConfigsResponse.gameServerConfigs: array expected");
+ message.gameServerConfigs = [];
+ for (var i = 0; i < object.gameServerConfigs.length; ++i) {
+ if (typeof object.gameServerConfigs[i] !== "object")
+ throw TypeError(".google.cloud.gaming.v1.ListGameServerConfigsResponse.gameServerConfigs: object expected");
+ message.gameServerConfigs[i] = $root.google.cloud.gaming.v1.GameServerConfig.fromObject(object.gameServerConfigs[i]);
+ }
+ }
+ if (object.nextPageToken != null)
+ message.nextPageToken = String(object.nextPageToken);
+ if (object.unreachable) {
+ if (!Array.isArray(object.unreachable))
+ throw TypeError(".google.cloud.gaming.v1.ListGameServerConfigsResponse.unreachable: array expected");
+ message.unreachable = [];
+ for (var i = 0; i < object.unreachable.length; ++i)
+ message.unreachable[i] = String(object.unreachable[i]);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ListGameServerConfigsResponse message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsResponse
+ * @static
+ * @param {google.cloud.gaming.v1.ListGameServerConfigsResponse} message ListGameServerConfigsResponse
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ListGameServerConfigsResponse.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.gameServerConfigs = [];
+ object.unreachable = [];
+ }
+ if (options.defaults)
+ object.nextPageToken = "";
+ if (message.gameServerConfigs && message.gameServerConfigs.length) {
+ object.gameServerConfigs = [];
+ for (var j = 0; j < message.gameServerConfigs.length; ++j)
+ object.gameServerConfigs[j] = $root.google.cloud.gaming.v1.GameServerConfig.toObject(message.gameServerConfigs[j], options);
+ }
+ if (message.nextPageToken != null && message.hasOwnProperty("nextPageToken"))
+ object.nextPageToken = message.nextPageToken;
+ if (message.unreachable && message.unreachable.length) {
+ object.unreachable = [];
+ for (var j = 0; j < message.unreachable.length; ++j)
+ object.unreachable[j] = message.unreachable[j];
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ListGameServerConfigsResponse to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsResponse
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ListGameServerConfigsResponse.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ListGameServerConfigsResponse
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.ListGameServerConfigsResponse
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ListGameServerConfigsResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.ListGameServerConfigsResponse";
+ };
+
+ return ListGameServerConfigsResponse;
+ })();
+
+ v1.GetGameServerConfigRequest = (function() {
+
+ /**
+ * Properties of a GetGameServerConfigRequest.
+ * @memberof google.cloud.gaming.v1
+ * @interface IGetGameServerConfigRequest
+ * @property {string|null} [name] GetGameServerConfigRequest name
+ */
+
+ /**
+ * Constructs a new GetGameServerConfigRequest.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a GetGameServerConfigRequest.
+ * @implements IGetGameServerConfigRequest
+ * @constructor
+ * @param {google.cloud.gaming.v1.IGetGameServerConfigRequest=} [properties] Properties to set
+ */
+ function GetGameServerConfigRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * GetGameServerConfigRequest name.
+ * @member {string} name
+ * @memberof google.cloud.gaming.v1.GetGameServerConfigRequest
+ * @instance
+ */
+ GetGameServerConfigRequest.prototype.name = "";
+
+ /**
+ * Creates a new GetGameServerConfigRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.GetGameServerConfigRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IGetGameServerConfigRequest=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.GetGameServerConfigRequest} GetGameServerConfigRequest instance
+ */
+ GetGameServerConfigRequest.create = function create(properties) {
+ return new GetGameServerConfigRequest(properties);
+ };
+
+ /**
+ * Encodes the specified GetGameServerConfigRequest message. Does not implicitly {@link google.cloud.gaming.v1.GetGameServerConfigRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.GetGameServerConfigRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IGetGameServerConfigRequest} message GetGameServerConfigRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetGameServerConfigRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified GetGameServerConfigRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.GetGameServerConfigRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.GetGameServerConfigRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IGetGameServerConfigRequest} message GetGameServerConfigRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ GetGameServerConfigRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a GetGameServerConfigRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.GetGameServerConfigRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.GetGameServerConfigRequest} GetGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetGameServerConfigRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.GetGameServerConfigRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a GetGameServerConfigRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.GetGameServerConfigRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.GetGameServerConfigRequest} GetGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ GetGameServerConfigRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a GetGameServerConfigRequest message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.GetGameServerConfigRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ GetGameServerConfigRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a GetGameServerConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.GetGameServerConfigRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.GetGameServerConfigRequest} GetGameServerConfigRequest
+ */
+ GetGameServerConfigRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.GetGameServerConfigRequest)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.GetGameServerConfigRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a GetGameServerConfigRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.GetGameServerConfigRequest
+ * @static
+ * @param {google.cloud.gaming.v1.GetGameServerConfigRequest} message GetGameServerConfigRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ GetGameServerConfigRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this GetGameServerConfigRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.GetGameServerConfigRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ GetGameServerConfigRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for GetGameServerConfigRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.GetGameServerConfigRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ GetGameServerConfigRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.GetGameServerConfigRequest";
+ };
+
+ return GetGameServerConfigRequest;
+ })();
+
+ v1.CreateGameServerConfigRequest = (function() {
+
+ /**
+ * Properties of a CreateGameServerConfigRequest.
+ * @memberof google.cloud.gaming.v1
+ * @interface ICreateGameServerConfigRequest
+ * @property {string|null} [parent] CreateGameServerConfigRequest parent
+ * @property {string|null} [configId] CreateGameServerConfigRequest configId
+ * @property {google.cloud.gaming.v1.IGameServerConfig|null} [gameServerConfig] CreateGameServerConfigRequest gameServerConfig
+ */
+
+ /**
+ * Constructs a new CreateGameServerConfigRequest.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a CreateGameServerConfigRequest.
+ * @implements ICreateGameServerConfigRequest
+ * @constructor
+ * @param {google.cloud.gaming.v1.ICreateGameServerConfigRequest=} [properties] Properties to set
+ */
+ function CreateGameServerConfigRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * CreateGameServerConfigRequest parent.
+ * @member {string} parent
+ * @memberof google.cloud.gaming.v1.CreateGameServerConfigRequest
+ * @instance
+ */
+ CreateGameServerConfigRequest.prototype.parent = "";
+
+ /**
+ * CreateGameServerConfigRequest configId.
+ * @member {string} configId
+ * @memberof google.cloud.gaming.v1.CreateGameServerConfigRequest
+ * @instance
+ */
+ CreateGameServerConfigRequest.prototype.configId = "";
+
+ /**
+ * CreateGameServerConfigRequest gameServerConfig.
+ * @member {google.cloud.gaming.v1.IGameServerConfig|null|undefined} gameServerConfig
+ * @memberof google.cloud.gaming.v1.CreateGameServerConfigRequest
+ * @instance
+ */
+ CreateGameServerConfigRequest.prototype.gameServerConfig = null;
+
+ /**
+ * Creates a new CreateGameServerConfigRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.CreateGameServerConfigRequest
+ * @static
+ * @param {google.cloud.gaming.v1.ICreateGameServerConfigRequest=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.CreateGameServerConfigRequest} CreateGameServerConfigRequest instance
+ */
+ CreateGameServerConfigRequest.create = function create(properties) {
+ return new CreateGameServerConfigRequest(properties);
+ };
+
+ /**
+ * Encodes the specified CreateGameServerConfigRequest message. Does not implicitly {@link google.cloud.gaming.v1.CreateGameServerConfigRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.CreateGameServerConfigRequest
+ * @static
+ * @param {google.cloud.gaming.v1.ICreateGameServerConfigRequest} message CreateGameServerConfigRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateGameServerConfigRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.parent != null && Object.hasOwnProperty.call(message, "parent"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.parent);
+ if (message.configId != null && Object.hasOwnProperty.call(message, "configId"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.configId);
+ if (message.gameServerConfig != null && Object.hasOwnProperty.call(message, "gameServerConfig"))
+ $root.google.cloud.gaming.v1.GameServerConfig.encode(message.gameServerConfig, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified CreateGameServerConfigRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.CreateGameServerConfigRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.CreateGameServerConfigRequest
+ * @static
+ * @param {google.cloud.gaming.v1.ICreateGameServerConfigRequest} message CreateGameServerConfigRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ CreateGameServerConfigRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a CreateGameServerConfigRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.CreateGameServerConfigRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.CreateGameServerConfigRequest} CreateGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateGameServerConfigRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.CreateGameServerConfigRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.parent = reader.string();
+ break;
+ }
+ case 2: {
+ message.configId = reader.string();
+ break;
+ }
+ case 3: {
+ message.gameServerConfig = $root.google.cloud.gaming.v1.GameServerConfig.decode(reader, reader.uint32());
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a CreateGameServerConfigRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.CreateGameServerConfigRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.CreateGameServerConfigRequest} CreateGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ CreateGameServerConfigRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a CreateGameServerConfigRequest message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.CreateGameServerConfigRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ CreateGameServerConfigRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ if (!$util.isString(message.parent))
+ return "parent: string expected";
+ if (message.configId != null && message.hasOwnProperty("configId"))
+ if (!$util.isString(message.configId))
+ return "configId: string expected";
+ if (message.gameServerConfig != null && message.hasOwnProperty("gameServerConfig")) {
+ var error = $root.google.cloud.gaming.v1.GameServerConfig.verify(message.gameServerConfig);
+ if (error)
+ return "gameServerConfig." + error;
+ }
+ return null;
+ };
+
+ /**
+ * Creates a CreateGameServerConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.CreateGameServerConfigRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.CreateGameServerConfigRequest} CreateGameServerConfigRequest
+ */
+ CreateGameServerConfigRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.CreateGameServerConfigRequest)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.CreateGameServerConfigRequest();
+ if (object.parent != null)
+ message.parent = String(object.parent);
+ if (object.configId != null)
+ message.configId = String(object.configId);
+ if (object.gameServerConfig != null) {
+ if (typeof object.gameServerConfig !== "object")
+ throw TypeError(".google.cloud.gaming.v1.CreateGameServerConfigRequest.gameServerConfig: object expected");
+ message.gameServerConfig = $root.google.cloud.gaming.v1.GameServerConfig.fromObject(object.gameServerConfig);
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a CreateGameServerConfigRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.CreateGameServerConfigRequest
+ * @static
+ * @param {google.cloud.gaming.v1.CreateGameServerConfigRequest} message CreateGameServerConfigRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ CreateGameServerConfigRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults) {
+ object.parent = "";
+ object.configId = "";
+ object.gameServerConfig = null;
+ }
+ if (message.parent != null && message.hasOwnProperty("parent"))
+ object.parent = message.parent;
+ if (message.configId != null && message.hasOwnProperty("configId"))
+ object.configId = message.configId;
+ if (message.gameServerConfig != null && message.hasOwnProperty("gameServerConfig"))
+ object.gameServerConfig = $root.google.cloud.gaming.v1.GameServerConfig.toObject(message.gameServerConfig, options);
+ return object;
+ };
+
+ /**
+ * Converts this CreateGameServerConfigRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.CreateGameServerConfigRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ CreateGameServerConfigRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for CreateGameServerConfigRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.CreateGameServerConfigRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ CreateGameServerConfigRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.CreateGameServerConfigRequest";
+ };
+
+ return CreateGameServerConfigRequest;
+ })();
+
+ v1.DeleteGameServerConfigRequest = (function() {
+
+ /**
+ * Properties of a DeleteGameServerConfigRequest.
+ * @memberof google.cloud.gaming.v1
+ * @interface IDeleteGameServerConfigRequest
+ * @property {string|null} [name] DeleteGameServerConfigRequest name
+ */
+
+ /**
+ * Constructs a new DeleteGameServerConfigRequest.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a DeleteGameServerConfigRequest.
+ * @implements IDeleteGameServerConfigRequest
+ * @constructor
+ * @param {google.cloud.gaming.v1.IDeleteGameServerConfigRequest=} [properties] Properties to set
+ */
+ function DeleteGameServerConfigRequest(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * DeleteGameServerConfigRequest name.
+ * @member {string} name
+ * @memberof google.cloud.gaming.v1.DeleteGameServerConfigRequest
+ * @instance
+ */
+ DeleteGameServerConfigRequest.prototype.name = "";
+
+ /**
+ * Creates a new DeleteGameServerConfigRequest instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.DeleteGameServerConfigRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IDeleteGameServerConfigRequest=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.DeleteGameServerConfigRequest} DeleteGameServerConfigRequest instance
+ */
+ DeleteGameServerConfigRequest.create = function create(properties) {
+ return new DeleteGameServerConfigRequest(properties);
+ };
+
+ /**
+ * Encodes the specified DeleteGameServerConfigRequest message. Does not implicitly {@link google.cloud.gaming.v1.DeleteGameServerConfigRequest.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.DeleteGameServerConfigRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IDeleteGameServerConfigRequest} message DeleteGameServerConfigRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteGameServerConfigRequest.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified DeleteGameServerConfigRequest message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.DeleteGameServerConfigRequest.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.DeleteGameServerConfigRequest
+ * @static
+ * @param {google.cloud.gaming.v1.IDeleteGameServerConfigRequest} message DeleteGameServerConfigRequest message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ DeleteGameServerConfigRequest.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a DeleteGameServerConfigRequest message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.DeleteGameServerConfigRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.DeleteGameServerConfigRequest} DeleteGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteGameServerConfigRequest.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.DeleteGameServerConfigRequest();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a DeleteGameServerConfigRequest message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.DeleteGameServerConfigRequest
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.DeleteGameServerConfigRequest} DeleteGameServerConfigRequest
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ DeleteGameServerConfigRequest.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a DeleteGameServerConfigRequest message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.DeleteGameServerConfigRequest
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ DeleteGameServerConfigRequest.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a DeleteGameServerConfigRequest message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.DeleteGameServerConfigRequest
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.DeleteGameServerConfigRequest} DeleteGameServerConfigRequest
+ */
+ DeleteGameServerConfigRequest.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.DeleteGameServerConfigRequest)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.DeleteGameServerConfigRequest();
+ if (object.name != null)
+ message.name = String(object.name);
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a DeleteGameServerConfigRequest message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.DeleteGameServerConfigRequest
+ * @static
+ * @param {google.cloud.gaming.v1.DeleteGameServerConfigRequest} message DeleteGameServerConfigRequest
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ DeleteGameServerConfigRequest.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.defaults)
+ object.name = "";
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ return object;
+ };
+
+ /**
+ * Converts this DeleteGameServerConfigRequest to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.DeleteGameServerConfigRequest
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ DeleteGameServerConfigRequest.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for DeleteGameServerConfigRequest
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.DeleteGameServerConfigRequest
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ DeleteGameServerConfigRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.DeleteGameServerConfigRequest";
+ };
+
+ return DeleteGameServerConfigRequest;
+ })();
+
+ v1.ScalingConfig = (function() {
+
+ /**
+ * Properties of a ScalingConfig.
+ * @memberof google.cloud.gaming.v1
+ * @interface IScalingConfig
+ * @property {string|null} [name] ScalingConfig name
+ * @property {string|null} [fleetAutoscalerSpec] ScalingConfig fleetAutoscalerSpec
+ * @property {Array.|null} [selectors] ScalingConfig selectors
+ * @property {Array.|null} [schedules] ScalingConfig schedules
+ */
+
+ /**
+ * Constructs a new ScalingConfig.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a ScalingConfig.
+ * @implements IScalingConfig
+ * @constructor
+ * @param {google.cloud.gaming.v1.IScalingConfig=} [properties] Properties to set
+ */
+ function ScalingConfig(properties) {
+ this.selectors = [];
+ this.schedules = [];
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * ScalingConfig name.
+ * @member {string} name
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @instance
+ */
+ ScalingConfig.prototype.name = "";
+
+ /**
+ * ScalingConfig fleetAutoscalerSpec.
+ * @member {string} fleetAutoscalerSpec
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @instance
+ */
+ ScalingConfig.prototype.fleetAutoscalerSpec = "";
+
+ /**
+ * ScalingConfig selectors.
+ * @member {Array.} selectors
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @instance
+ */
+ ScalingConfig.prototype.selectors = $util.emptyArray;
+
+ /**
+ * ScalingConfig schedules.
+ * @member {Array.} schedules
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @instance
+ */
+ ScalingConfig.prototype.schedules = $util.emptyArray;
+
+ /**
+ * Creates a new ScalingConfig instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @static
+ * @param {google.cloud.gaming.v1.IScalingConfig=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.ScalingConfig} ScalingConfig instance
+ */
+ ScalingConfig.create = function create(properties) {
+ return new ScalingConfig(properties);
+ };
+
+ /**
+ * Encodes the specified ScalingConfig message. Does not implicitly {@link google.cloud.gaming.v1.ScalingConfig.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @static
+ * @param {google.cloud.gaming.v1.IScalingConfig} message ScalingConfig message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ScalingConfig.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
+ if (message.fleetAutoscalerSpec != null && Object.hasOwnProperty.call(message, "fleetAutoscalerSpec"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.fleetAutoscalerSpec);
+ if (message.selectors != null && message.selectors.length)
+ for (var i = 0; i < message.selectors.length; ++i)
+ $root.google.cloud.gaming.v1.LabelSelector.encode(message.selectors[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
+ if (message.schedules != null && message.schedules.length)
+ for (var i = 0; i < message.schedules.length; ++i)
+ $root.google.cloud.gaming.v1.Schedule.encode(message.schedules[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
+ return writer;
+ };
+
+ /**
+ * Encodes the specified ScalingConfig message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.ScalingConfig.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @static
+ * @param {google.cloud.gaming.v1.IScalingConfig} message ScalingConfig message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ ScalingConfig.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a ScalingConfig message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.ScalingConfig} ScalingConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ScalingConfig.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.ScalingConfig();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.name = reader.string();
+ break;
+ }
+ case 2: {
+ message.fleetAutoscalerSpec = reader.string();
+ break;
+ }
+ case 4: {
+ if (!(message.selectors && message.selectors.length))
+ message.selectors = [];
+ message.selectors.push($root.google.cloud.gaming.v1.LabelSelector.decode(reader, reader.uint32()));
+ break;
+ }
+ case 5: {
+ if (!(message.schedules && message.schedules.length))
+ message.schedules = [];
+ message.schedules.push($root.google.cloud.gaming.v1.Schedule.decode(reader, reader.uint32()));
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a ScalingConfig message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.ScalingConfig} ScalingConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ ScalingConfig.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a ScalingConfig message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ ScalingConfig.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ if (message.fleetAutoscalerSpec != null && message.hasOwnProperty("fleetAutoscalerSpec"))
+ if (!$util.isString(message.fleetAutoscalerSpec))
+ return "fleetAutoscalerSpec: string expected";
+ if (message.selectors != null && message.hasOwnProperty("selectors")) {
+ if (!Array.isArray(message.selectors))
+ return "selectors: array expected";
+ for (var i = 0; i < message.selectors.length; ++i) {
+ var error = $root.google.cloud.gaming.v1.LabelSelector.verify(message.selectors[i]);
+ if (error)
+ return "selectors." + error;
+ }
+ }
+ if (message.schedules != null && message.hasOwnProperty("schedules")) {
+ if (!Array.isArray(message.schedules))
+ return "schedules: array expected";
+ for (var i = 0; i < message.schedules.length; ++i) {
+ var error = $root.google.cloud.gaming.v1.Schedule.verify(message.schedules[i]);
+ if (error)
+ return "schedules." + error;
+ }
+ }
+ return null;
+ };
+
+ /**
+ * Creates a ScalingConfig message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @static
+ * @param {Object.} object Plain object
+ * @returns {google.cloud.gaming.v1.ScalingConfig} ScalingConfig
+ */
+ ScalingConfig.fromObject = function fromObject(object) {
+ if (object instanceof $root.google.cloud.gaming.v1.ScalingConfig)
+ return object;
+ var message = new $root.google.cloud.gaming.v1.ScalingConfig();
+ if (object.name != null)
+ message.name = String(object.name);
+ if (object.fleetAutoscalerSpec != null)
+ message.fleetAutoscalerSpec = String(object.fleetAutoscalerSpec);
+ if (object.selectors) {
+ if (!Array.isArray(object.selectors))
+ throw TypeError(".google.cloud.gaming.v1.ScalingConfig.selectors: array expected");
+ message.selectors = [];
+ for (var i = 0; i < object.selectors.length; ++i) {
+ if (typeof object.selectors[i] !== "object")
+ throw TypeError(".google.cloud.gaming.v1.ScalingConfig.selectors: object expected");
+ message.selectors[i] = $root.google.cloud.gaming.v1.LabelSelector.fromObject(object.selectors[i]);
+ }
+ }
+ if (object.schedules) {
+ if (!Array.isArray(object.schedules))
+ throw TypeError(".google.cloud.gaming.v1.ScalingConfig.schedules: array expected");
+ message.schedules = [];
+ for (var i = 0; i < object.schedules.length; ++i) {
+ if (typeof object.schedules[i] !== "object")
+ throw TypeError(".google.cloud.gaming.v1.ScalingConfig.schedules: object expected");
+ message.schedules[i] = $root.google.cloud.gaming.v1.Schedule.fromObject(object.schedules[i]);
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Creates a plain object from a ScalingConfig message. Also converts values to other types if specified.
+ * @function toObject
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @static
+ * @param {google.cloud.gaming.v1.ScalingConfig} message ScalingConfig
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
+ * @returns {Object.} Plain object
+ */
+ ScalingConfig.toObject = function toObject(message, options) {
+ if (!options)
+ options = {};
+ var object = {};
+ if (options.arrays || options.defaults) {
+ object.selectors = [];
+ object.schedules = [];
+ }
+ if (options.defaults) {
+ object.name = "";
+ object.fleetAutoscalerSpec = "";
+ }
+ if (message.name != null && message.hasOwnProperty("name"))
+ object.name = message.name;
+ if (message.fleetAutoscalerSpec != null && message.hasOwnProperty("fleetAutoscalerSpec"))
+ object.fleetAutoscalerSpec = message.fleetAutoscalerSpec;
+ if (message.selectors && message.selectors.length) {
+ object.selectors = [];
+ for (var j = 0; j < message.selectors.length; ++j)
+ object.selectors[j] = $root.google.cloud.gaming.v1.LabelSelector.toObject(message.selectors[j], options);
+ }
+ if (message.schedules && message.schedules.length) {
+ object.schedules = [];
+ for (var j = 0; j < message.schedules.length; ++j)
+ object.schedules[j] = $root.google.cloud.gaming.v1.Schedule.toObject(message.schedules[j], options);
+ }
+ return object;
+ };
+
+ /**
+ * Converts this ScalingConfig to JSON.
+ * @function toJSON
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @instance
+ * @returns {Object.} JSON object
+ */
+ ScalingConfig.prototype.toJSON = function toJSON() {
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
+ };
+
+ /**
+ * Gets the default type url for ScalingConfig
+ * @function getTypeUrl
+ * @memberof google.cloud.gaming.v1.ScalingConfig
+ * @static
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
+ * @returns {string} The default type url
+ */
+ ScalingConfig.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
+ if (typeUrlPrefix === undefined) {
+ typeUrlPrefix = "type.googleapis.com";
+ }
+ return typeUrlPrefix + "/google.cloud.gaming.v1.ScalingConfig";
+ };
+
+ return ScalingConfig;
+ })();
+
+ v1.FleetConfig = (function() {
+
+ /**
+ * Properties of a FleetConfig.
+ * @memberof google.cloud.gaming.v1
+ * @interface IFleetConfig
+ * @property {string|null} [fleetSpec] FleetConfig fleetSpec
+ * @property {string|null} [name] FleetConfig name
+ */
+
+ /**
+ * Constructs a new FleetConfig.
+ * @memberof google.cloud.gaming.v1
+ * @classdesc Represents a FleetConfig.
+ * @implements IFleetConfig
+ * @constructor
+ * @param {google.cloud.gaming.v1.IFleetConfig=} [properties] Properties to set
+ */
+ function FleetConfig(properties) {
+ if (properties)
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
+ if (properties[keys[i]] != null)
+ this[keys[i]] = properties[keys[i]];
+ }
+
+ /**
+ * FleetConfig fleetSpec.
+ * @member {string} fleetSpec
+ * @memberof google.cloud.gaming.v1.FleetConfig
+ * @instance
+ */
+ FleetConfig.prototype.fleetSpec = "";
+
+ /**
+ * FleetConfig name.
+ * @member {string} name
+ * @memberof google.cloud.gaming.v1.FleetConfig
+ * @instance
+ */
+ FleetConfig.prototype.name = "";
+
+ /**
+ * Creates a new FleetConfig instance using the specified properties.
+ * @function create
+ * @memberof google.cloud.gaming.v1.FleetConfig
+ * @static
+ * @param {google.cloud.gaming.v1.IFleetConfig=} [properties] Properties to set
+ * @returns {google.cloud.gaming.v1.FleetConfig} FleetConfig instance
+ */
+ FleetConfig.create = function create(properties) {
+ return new FleetConfig(properties);
+ };
+
+ /**
+ * Encodes the specified FleetConfig message. Does not implicitly {@link google.cloud.gaming.v1.FleetConfig.verify|verify} messages.
+ * @function encode
+ * @memberof google.cloud.gaming.v1.FleetConfig
+ * @static
+ * @param {google.cloud.gaming.v1.IFleetConfig} message FleetConfig message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FleetConfig.encode = function encode(message, writer) {
+ if (!writer)
+ writer = $Writer.create();
+ if (message.fleetSpec != null && Object.hasOwnProperty.call(message, "fleetSpec"))
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.fleetSpec);
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.name);
+ return writer;
+ };
+
+ /**
+ * Encodes the specified FleetConfig message, length delimited. Does not implicitly {@link google.cloud.gaming.v1.FleetConfig.verify|verify} messages.
+ * @function encodeDelimited
+ * @memberof google.cloud.gaming.v1.FleetConfig
+ * @static
+ * @param {google.cloud.gaming.v1.IFleetConfig} message FleetConfig message or plain object to encode
+ * @param {$protobuf.Writer} [writer] Writer to encode to
+ * @returns {$protobuf.Writer} Writer
+ */
+ FleetConfig.encodeDelimited = function encodeDelimited(message, writer) {
+ return this.encode(message, writer).ldelim();
+ };
+
+ /**
+ * Decodes a FleetConfig message from the specified reader or buffer.
+ * @function decode
+ * @memberof google.cloud.gaming.v1.FleetConfig
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @param {number} [length] Message length if known beforehand
+ * @returns {google.cloud.gaming.v1.FleetConfig} FleetConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FleetConfig.decode = function decode(reader, length) {
+ if (!(reader instanceof $Reader))
+ reader = $Reader.create(reader);
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.gaming.v1.FleetConfig();
+ while (reader.pos < end) {
+ var tag = reader.uint32();
+ switch (tag >>> 3) {
+ case 1: {
+ message.fleetSpec = reader.string();
+ break;
+ }
+ case 2: {
+ message.name = reader.string();
+ break;
+ }
+ default:
+ reader.skipType(tag & 7);
+ break;
+ }
+ }
+ return message;
+ };
+
+ /**
+ * Decodes a FleetConfig message from the specified reader or buffer, length delimited.
+ * @function decodeDelimited
+ * @memberof google.cloud.gaming.v1.FleetConfig
+ * @static
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
+ * @returns {google.cloud.gaming.v1.FleetConfig} FleetConfig
+ * @throws {Error} If the payload is not a reader or valid buffer
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
+ */
+ FleetConfig.decodeDelimited = function decodeDelimited(reader) {
+ if (!(reader instanceof $Reader))
+ reader = new $Reader(reader);
+ return this.decode(reader, reader.uint32());
+ };
+
+ /**
+ * Verifies a FleetConfig message.
+ * @function verify
+ * @memberof google.cloud.gaming.v1.FleetConfig
+ * @static
+ * @param {Object.} message Plain object to verify
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
+ */
+ FleetConfig.verify = function verify(message) {
+ if (typeof message !== "object" || message === null)
+ return "object expected";
+ if (message.fleetSpec != null && message.hasOwnProperty("fleetSpec"))
+ if (!$util.isString(message.fleetSpec))
+ return "fleetSpec: string expected";
+ if (message.name != null && message.hasOwnProperty("name"))
+ if (!$util.isString(message.name))
+ return "name: string expected";
+ return null;
+ };
+
+ /**
+ * Creates a FleetConfig message from a plain object. Also converts values to their respective internal types.
+ * @function fromObject
+ * @memberof google.cloud.gaming.v1.FleetConfig
+ * @static
+ * @param {Object.